; LLVM IR from venumb/ZSPACE :: cpp/depends/alglib/cpp/tests/test_c.ll (Z12copyfunctestbPN11alglib_impl8ae_stateE)

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

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

@.str.155 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.156 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.157 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.158 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.159 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.160 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.161 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.162 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.163 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.164 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.165 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.166 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.167 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.168 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.169 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.170 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.171 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.172 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.173 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.174 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.175 = external hidden unnamed_addr constant [35 x i8], align 1

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

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

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

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

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

declare noundef zeroext i1 @_ZN11alglib_impl9ae_fp_neqEdd(double noundef, double noundef) #1

declare i32 @printf(ptr noundef, ...) #1

declare void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef) #1

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

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

declare noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef) #1

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

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

declare noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef, ptr noundef) #1

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_Z12copyfunctestbPN11alglib_impl8ae_stateE(i1 noundef zeroext %0, ptr noundef %1) #4 {
  %3 = alloca i1, align 1
  %4 = alloca i8, align 1
  %5 = alloca ptr, align 8
  %6 = alloca %"struct.alglib_impl::ae_frame", align 8
  %7 = alloca %"struct.alglib_impl::sparsematrix", align 8
  %8 = alloca %"struct.alglib_impl::sparsematrix", align 8
  %9 = alloca i64, align 8
  %10 = alloca i64, 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 double, align 8
  %17 = alloca double, align 8
  %18 = alloca %"struct.alglib_impl::ae_matrix", align 8
  %19 = alloca %"struct.alglib_impl::ae_vector", align 8
  %20 = alloca %"struct.alglib_impl::ae_vector", align 8
  %21 = alloca %"struct.alglib_impl::ae_vector", align 8
  %22 = alloca %"struct.alglib_impl::ae_vector", align 8
  %23 = alloca %"struct.alglib_impl::ae_vector", align 8
  %24 = alloca %"struct.alglib_impl::ae_vector", align 8
  %25 = alloca %"struct.alglib_impl::ae_vector", 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_vector", align 8
  %29 = alloca %"struct.alglib_impl::ae_vector", align 8
  %30 = alloca %"struct.alglib_impl::ae_vector", align 8
  %31 = alloca double, align 8
  %32 = alloca double, align 8
  %33 = alloca double, align 8
  %34 = alloca i8, align 1
  %35 = alloca i32, align 4
  %36 = zext i1 %0 to i8
  store i8 %36, ptr %4, align 1, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 32, ptr %6) #5
  call void @llvm.lifetime.start.p0(i64 368, ptr %7) #5
  call void @llvm.lifetime.start.p0(i64 368, ptr %8) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #5
  call void @llvm.lifetime.start.p0(i64 80, ptr %18) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr %19) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr %20) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr %21) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr %22) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr %23) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr %24) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr %25) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr %26) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr %27) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr %28) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr %29) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr %30) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %34) #5
  %37 = load ptr, ptr %5, align 8, !tbaa !9
  call void @_ZN11alglib_impl13ae_frame_makeEPNS_8ae_stateEPNS_8ae_frameE(ptr noundef %37, ptr noundef %6)
  call void @llvm.memset.p0.i64(ptr align 8 %7, i8 0, i64 368, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %8, i8 0, i64 368, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %18, i8 0, i64 80, 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 %20, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %21, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %22, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %23, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %24, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %25, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %26, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %27, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %28, i8 0, i64 64, 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 %30, i8 0, i64 64, i1 false)
  %38 = load ptr, ptr %5, align 8, !tbaa !9
  call void @_ZN11alglib_impl18_sparsematrix_initEPvPNS_8ae_stateEb(ptr noundef %7, ptr noundef %38, i1 noundef zeroext true)
  %39 = load ptr, ptr %5, align 8, !tbaa !9
  call void @_ZN11alglib_impl18_sparsematrix_initEPvPNS_8ae_stateEb(ptr noundef %8, ptr noundef %39, i1 noundef zeroext true)
  %40 = load ptr, ptr %5, align 8, !tbaa !9
  call void @_ZN11alglib_impl14ae_matrix_initEPNS_9ae_matrixElllPNS_8ae_stateEb(ptr noundef %18, i64 noundef 0, i64 noundef 0, i64 noundef 3, ptr noundef %40, i1 noundef zeroext true)
  %41 = load ptr, ptr %5, align 8, !tbaa !9
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef %19, i64 noundef 0, i64 noundef 3, ptr noundef %41, i1 noundef zeroext true)
  %42 = load ptr, ptr %5, align 8, !tbaa !9
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef %20, i64 noundef 0, i64 noundef 3, ptr noundef %42, i1 noundef zeroext true)
  %43 = load ptr, ptr %5, align 8, !tbaa !9
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef %21, i64 noundef 0, i64 noundef 3, ptr noundef %43, i1 noundef zeroext true)
  %44 = load ptr, ptr %5, align 8, !tbaa !9
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef %22, i64 noundef 0, i64 noundef 3, ptr noundef %44, i1 noundef zeroext true)
  %45 = load ptr, ptr %5, align 8, !tbaa !9
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef %23, i64 noundef 0, i64 noundef 3, ptr noundef %45, i1 noundef zeroext true)
  %46 = load ptr, ptr %5, align 8, !tbaa !9
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef %24, i64 noundef 0, i64 noundef 3, ptr noundef %46, i1 noundef zeroext true)
  %47 = load ptr, ptr %5, align 8, !tbaa !9
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef %25, i64 noundef 0, i64 noundef 3, ptr noundef %47, i1 noundef zeroext true)
  %48 = load ptr, ptr %5, align 8, !tbaa !9
  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 %5, align 8, !tbaa !9
  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 %5, align 8, !tbaa !9
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef %28, i64 noundef 0, i64 noundef 3, ptr noundef %50, i1 noundef zeroext true)
  %51 = load ptr, ptr %5, align 8, !tbaa !9
  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 %5, align 8, !tbaa !9
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef %30, i64 noundef 0, i64 noundef 3, ptr noundef %52, i1 noundef zeroext true)
  store double 5.000000e-13, ptr %31, align 8, !tbaa !11
  store i64 30, ptr %9, align 8, !tbaa !13
  store i64 30, ptr %10, align 8, !tbaa !13
  store double -1.000000e+01, ptr %16, align 8, !tbaa !11
  store double 1.000000e+01, ptr %17, align 8, !tbaa !11
  store i64 1, ptr %12, align 8, !tbaa !13
  br label %53

53:                                               ; preds = %894, %2
  %54 = load i64, ptr %12, align 8, !tbaa !13
  %55 = load i64, ptr %10, align 8, !tbaa !13
  %56 = sub nsw i64 %55, 1
  %57 = icmp sle i64 %54, %56
  br i1 %57, label %58, label %897

58:                                               ; preds = %53
  store i64 1, ptr %13, align 8, !tbaa !13
  br label %59

59:                                               ; preds = %890, %58
  %60 = load i64, ptr %13, align 8, !tbaa !13
  %61 = load i64, ptr %9, align 8, !tbaa !13
  %62 = sub nsw i64 %61, 1
  %63 = icmp sle i64 %60, %62
  br i1 %63, label %64, label %893

64:                                               ; preds = %59
  store i64 0, ptr %11, align 8, !tbaa !13
  br label %65

65:                                               ; preds = %886, %64
  %66 = load i64, ptr %11, align 8, !tbaa !13
  %67 = icmp sle i64 %66, 1
  br i1 %67, label %68, label %889

68:                                               ; preds = %65
  %69 = load i64, ptr %12, align 8, !tbaa !13
  %70 = load i64, ptr %13, align 8, !tbaa !13
  %71 = load i64, ptr %11, align 8, !tbaa !13
  %72 = load ptr, ptr %5, align 8, !tbaa !9
  call void @_ZL27testsparseunit_createrandomllllllPN11alglib_impl9ae_matrixEPNS_12sparsematrixEPNS_8ae_stateE(i64 noundef %69, i64 noundef %70, i64 noundef -1, i64 noundef %71, i64 noundef -1, i64 noundef -1, ptr noundef %18, ptr noundef %7, ptr noundef %72)
  %73 = load ptr, ptr %5, align 8, !tbaa !9
  call void @_ZN11alglib_impl10sparsecopyEPNS_12sparsematrixES1_PNS_8ae_stateE(ptr noundef %7, ptr noundef %8, ptr noundef %73)
  %74 = load i64, ptr %12, align 8, !tbaa !13
  %75 = load ptr, ptr %5, align 8, !tbaa !9
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %21, i64 noundef %74, ptr noundef %75)
  %76 = load i64, ptr %13, align 8, !tbaa !13
  %77 = load ptr, ptr %5, align 8, !tbaa !9
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %22, i64 noundef %76, ptr noundef %77)
  store i64 0, ptr %14, align 8, !tbaa !13
  br label %78

78:                                               ; preds = %88, %68
  %79 = load i64, ptr %14, align 8, !tbaa !13
  %80 = load i64, ptr %12, align 8, !tbaa !13
  %81 = sub nsw i64 %80, 1
  %82 = icmp sle i64 %79, %81
  br i1 %82, label %83, label %91

83:                                               ; preds = %78
  %84 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %21, i32 0, i32 4
  %85 = load ptr, ptr %84, align 8, !tbaa !15
  %86 = load i64, ptr %14, align 8, !tbaa !13
  %87 = getelementptr inbounds double, ptr %85, i64 %86
  store double 0.000000e+00, ptr %87, align 8, !tbaa !11
  br label %88

88:                                               ; preds = %83
  %89 = load i64, ptr %14, align 8, !tbaa !13
  %90 = add nsw i64 %89, 1
  store i64 %90, ptr %14, align 8, !tbaa !13
  br label %78, !llvm.loop !16

91:                                               ; preds = %78
  store i64 0, ptr %14, align 8, !tbaa !13
  br label %92

92:                                               ; preds = %102, %91
  %93 = load i64, ptr %14, align 8, !tbaa !13
  %94 = load i64, ptr %13, align 8, !tbaa !13
  %95 = sub nsw i64 %94, 1
  %96 = icmp sle i64 %93, %95
  br i1 %96, label %97, label %105

97:                                               ; preds = %92
  %98 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %22, i32 0, i32 4
  %99 = load ptr, ptr %98, align 8, !tbaa !15
  %100 = load i64, ptr %14, align 8, !tbaa !13
  %101 = getelementptr inbounds double, ptr %99, i64 %100
  store double 0.000000e+00, ptr %101, align 8, !tbaa !11
  br label %102

102:                                              ; preds = %97
  %103 = load i64, ptr %14, align 8, !tbaa !13
  %104 = add nsw i64 %103, 1
  store i64 %104, ptr %14, align 8, !tbaa !13
  br label %92, !llvm.loop !18

105:                                              ; preds = %92
  %106 = load i64, ptr %13, align 8, !tbaa !13
  %107 = load ptr, ptr %5, align 8, !tbaa !9
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %19, i64 noundef %106, ptr noundef %107)
  %108 = load i64, ptr %12, align 8, !tbaa !13
  %109 = load ptr, ptr %5, align 8, !tbaa !9
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %20, i64 noundef %108, ptr noundef %109)
  store i64 0, ptr %14, align 8, !tbaa !13
  br label %110

110:                                              ; preds = %127, %105
  %111 = load i64, ptr %14, align 8, !tbaa !13
  %112 = load i64, ptr %13, align 8, !tbaa !13
  %113 = sub nsw i64 %112, 1
  %114 = icmp sle i64 %111, %113
  br i1 %114, label %115, label %130

115:                                              ; preds = %110
  %116 = load double, ptr %17, align 8, !tbaa !11
  %117 = load double, ptr %16, align 8, !tbaa !11
  %118 = fsub double %116, %117
  %119 = load ptr, ptr %5, align 8, !tbaa !9
  %120 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %119)
  %121 = load double, ptr %16, align 8, !tbaa !11
  %122 = call double @llvm.fmuladd.f64(double %118, double %120, double %121)
  %123 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %19, i32 0, i32 4
  %124 = load ptr, ptr %123, align 8, !tbaa !15
  %125 = load i64, ptr %14, align 8, !tbaa !13
  %126 = getelementptr inbounds double, ptr %124, i64 %125
  store double %122, ptr %126, align 8, !tbaa !11
  br label %127

127:                                              ; preds = %115
  %128 = load i64, ptr %14, align 8, !tbaa !13
  %129 = add nsw i64 %128, 1
  store i64 %129, ptr %14, align 8, !tbaa !13
  br label %110, !llvm.loop !19

130:                                              ; preds = %110
  store i64 0, ptr %14, align 8, !tbaa !13
  br label %131

131:                                              ; preds = %148, %130
  %132 = load i64, ptr %14, align 8, !tbaa !13
  %133 = load i64, ptr %12, align 8, !tbaa !13
  %134 = sub nsw i64 %133, 1
  %135 = icmp sle i64 %132, %134
  br i1 %135, label %136, label %151

136:                                              ; preds = %131
  %137 = load double, ptr %17, align 8, !tbaa !11
  %138 = load double, ptr %16, align 8, !tbaa !11
  %139 = fsub double %137, %138
  %140 = load ptr, ptr %5, align 8, !tbaa !9
  %141 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %140)
  %142 = load double, ptr %16, align 8, !tbaa !11
  %143 = call double @llvm.fmuladd.f64(double %139, double %141, double %142)
  %144 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %20, i32 0, i32 4
  %145 = load ptr, ptr %144, align 8, !tbaa !15
  %146 = load i64, ptr %14, align 8, !tbaa !13
  %147 = getelementptr inbounds double, ptr %145, i64 %146
  store double %143, ptr %147, align 8, !tbaa !11
  br label %148

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

151:                                              ; preds = %131
  %152 = load i64, ptr %12, align 8, !tbaa !13
  %153 = load i64, ptr %13, align 8, !tbaa !13
  %154 = icmp ne i64 %152, %153
  br i1 %154, label %155, label %457

155:                                              ; preds = %151
  store i64 0, ptr %14, align 8, !tbaa !13
  br label %156

156:                                              ; preds = %218, %155
  %157 = load i64, ptr %14, align 8, !tbaa !13
  %158 = load i64, ptr %12, align 8, !tbaa !13
  %159 = sub nsw i64 %158, 1
  %160 = icmp sle i64 %157, %159
  br i1 %160, label %161, label %221

161:                                              ; preds = %156
  store i64 0, ptr %15, align 8, !tbaa !13
  br label %162

162:                                              ; preds = %214, %161
  %163 = load i64, ptr %15, align 8, !tbaa !13
  %164 = load i64, ptr %13, align 8, !tbaa !13
  %165 = sub nsw i64 %164, 1
  %166 = icmp sle i64 %163, %165
  br i1 %166, label %167, label %217

167:                                              ; preds = %162
  %168 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %21, i32 0, i32 4
  %169 = load ptr, ptr %168, align 8, !tbaa !15
  %170 = load i64, ptr %14, align 8, !tbaa !13
  %171 = getelementptr inbounds double, ptr %169, i64 %170
  %172 = load double, ptr %171, align 8, !tbaa !11
  %173 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %18, i32 0, i32 6
  %174 = load ptr, ptr %173, align 8, !tbaa !15
  %175 = load i64, ptr %14, align 8, !tbaa !13
  %176 = getelementptr inbounds ptr, ptr %174, i64 %175
  %177 = load ptr, ptr %176, align 8, !tbaa !9
  %178 = load i64, ptr %15, align 8, !tbaa !13
  %179 = getelementptr inbounds double, ptr %177, i64 %178
  %180 = load double, ptr %179, align 8, !tbaa !11
  %181 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %19, i32 0, i32 4
  %182 = load ptr, ptr %181, align 8, !tbaa !15
  %183 = load i64, ptr %15, align 8, !tbaa !13
  %184 = getelementptr inbounds double, ptr %182, i64 %183
  %185 = load double, ptr %184, align 8, !tbaa !11
  %186 = call double @llvm.fmuladd.f64(double %180, double %185, double %172)
  %187 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %21, i32 0, i32 4
  %188 = load ptr, ptr %187, align 8, !tbaa !15
  %189 = load i64, ptr %14, align 8, !tbaa !13
  %190 = getelementptr inbounds double, ptr %188, i64 %189
  store double %186, ptr %190, align 8, !tbaa !11
  %191 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %22, i32 0, i32 4
  %192 = load ptr, ptr %191, align 8, !tbaa !15
  %193 = load i64, ptr %15, align 8, !tbaa !13
  %194 = getelementptr inbounds double, ptr %192, i64 %193
  %195 = load double, ptr %194, align 8, !tbaa !11
  %196 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %18, i32 0, i32 6
  %197 = load ptr, ptr %196, align 8, !tbaa !15
  %198 = load i64, ptr %14, align 8, !tbaa !13
  %199 = getelementptr inbounds ptr, ptr %197, i64 %198
  %200 = load ptr, ptr %199, align 8, !tbaa !9
  %201 = load i64, ptr %15, align 8, !tbaa !13
  %202 = getelementptr inbounds double, ptr %200, i64 %201
  %203 = load double, ptr %202, align 8, !tbaa !11
  %204 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %20, i32 0, i32 4
  %205 = load ptr, ptr %204, align 8, !tbaa !15
  %206 = load i64, ptr %14, align 8, !tbaa !13
  %207 = getelementptr inbounds double, ptr %205, i64 %206
  %208 = load double, ptr %207, align 8, !tbaa !11
  %209 = call double @llvm.fmuladd.f64(double %203, double %208, double %195)
  %210 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %22, i32 0, i32 4
  %211 = load ptr, ptr %210, align 8, !tbaa !15
  %212 = load i64, ptr %15, align 8, !tbaa !13
  %213 = getelementptr inbounds double, ptr %211, i64 %212
  store double %209, ptr %213, align 8, !tbaa !11
  br label %214

214:                                              ; preds = %167
  %215 = load i64, ptr %15, align 8, !tbaa !13
  %216 = add nsw i64 %215, 1
  store i64 %216, ptr %15, align 8, !tbaa !13
  br label %162, !llvm.loop !21

217:                                              ; preds = %162
  br label %218

218:                                              ; preds = %217
  %219 = load i64, ptr %14, align 8, !tbaa !13
  %220 = add nsw i64 %219, 1
  store i64 %220, ptr %14, align 8, !tbaa !13
  br label %156, !llvm.loop !22

221:                                              ; preds = %156
  %222 = load ptr, ptr %5, align 8, !tbaa !9
  call void @_ZN11alglib_impl8sparsemvEPNS_12sparsematrixEPNS_9ae_vectorES3_PNS_8ae_stateE(ptr noundef %7, ptr noundef %19, ptr noundef %23, ptr noundef %222)
  %223 = load ptr, ptr %5, align 8, !tbaa !9
  call void @_ZN11alglib_impl9sparsemtvEPNS_12sparsematrixEPNS_9ae_vectorES3_PNS_8ae_stateE(ptr noundef %7, ptr noundef %20, ptr noundef %24, ptr noundef %223)
  %224 = load ptr, ptr %5, align 8, !tbaa !9
  call void @_ZN11alglib_impl8sparsemvEPNS_12sparsematrixEPNS_9ae_vectorES3_PNS_8ae_stateE(ptr noundef %8, ptr noundef %19, ptr noundef %27, ptr noundef %224)
  %225 = load ptr, ptr %5, align 8, !tbaa !9
  call void @_ZN11alglib_impl9sparsemtvEPNS_12sparsematrixEPNS_9ae_vectorES3_PNS_8ae_stateE(ptr noundef %8, ptr noundef %20, ptr noundef %28, ptr noundef %225)
  store i64 0, ptr %14, align 8, !tbaa !13
  br label %226

226:                                              ; preds = %310, %221
  %227 = load i64, ptr %14, align 8, !tbaa !13
  %228 = load i64, ptr %12, align 8, !tbaa !13
  %229 = sub nsw i64 %228, 1
  %230 = icmp sle i64 %227, %229
  br i1 %230, label %231, label %313

231:                                              ; preds = %226
  %232 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %23, i32 0, i32 4
  %233 = load ptr, ptr %232, align 8, !tbaa !15
  %234 = load i64, ptr %14, align 8, !tbaa !13
  %235 = getelementptr inbounds double, ptr %233, i64 %234
  %236 = load double, ptr %235, align 8, !tbaa !11
  %237 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %21, i32 0, i32 4
  %238 = load ptr, ptr %237, align 8, !tbaa !15
  %239 = load i64, ptr %14, align 8, !tbaa !13
  %240 = getelementptr inbounds double, ptr %238, i64 %239
  %241 = load double, ptr %240, align 8, !tbaa !11
  %242 = fsub double %236, %241
  %243 = load ptr, ptr %5, align 8, !tbaa !9
  %244 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %242, ptr noundef %243)
  %245 = load double, ptr %31, align 8, !tbaa !11
  %246 = call noundef zeroext i1 @_ZN11alglib_impl16ae_fp_greater_eqEdd(double noundef %244, double noundef %245)
  br i1 %246, label %276, label %247

247:                                              ; preds = %231
  %248 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %27, i32 0, i32 4
  %249 = load ptr, ptr %248, align 8, !tbaa !15
  %250 = load i64, ptr %14, align 8, !tbaa !13
  %251 = getelementptr inbounds double, ptr %249, i64 %250
  %252 = load double, ptr %251, align 8, !tbaa !11
  %253 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %21, i32 0, i32 4
  %254 = load ptr, ptr %253, align 8, !tbaa !15
  %255 = load i64, ptr %14, align 8, !tbaa !13
  %256 = getelementptr inbounds double, ptr %254, i64 %255
  %257 = load double, ptr %256, align 8, !tbaa !11
  %258 = fsub double %252, %257
  %259 = load ptr, ptr %5, align 8, !tbaa !9
  %260 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %258, ptr noundef %259)
  %261 = load double, ptr %31, align 8, !tbaa !11
  %262 = call noundef zeroext i1 @_ZN11alglib_impl16ae_fp_greater_eqEdd(double noundef %260, double noundef %261)
  br i1 %262, label %276, label %263

263:                                              ; preds = %247
  %264 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %27, i32 0, i32 4
  %265 = load ptr, ptr %264, align 8, !tbaa !15
  %266 = load i64, ptr %14, align 8, !tbaa !13
  %267 = getelementptr inbounds double, ptr %265, i64 %266
  %268 = load double, ptr %267, align 8, !tbaa !11
  %269 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %23, i32 0, i32 4
  %270 = load ptr, ptr %269, align 8, !tbaa !15
  %271 = load i64, ptr %14, align 8, !tbaa !13
  %272 = getelementptr inbounds double, ptr %270, i64 %271
  %273 = load double, ptr %272, align 8, !tbaa !11
  %274 = fsub double %268, %273
  %275 = call noundef zeroext i1 @_ZN11alglib_impl9ae_fp_neqEdd(double noundef %274, double noundef 0.000000e+00)
  br i1 %275, label %276, label %309

276:                                              ; preds = %263, %247, %231
  %277 = load i8, ptr %4, align 1, !tbaa !5, !range !23, !noundef !24
  %278 = trunc i8 %277 to i1
  br i1 %278, label %305, label %279

279:                                              ; preds = %276
  %280 = call i32 (ptr, ...) @printf(ptr noundef @.str.159)
  %281 = load i64, ptr %14, align 8, !tbaa !13
  %282 = trunc i64 %281 to i32
  %283 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %23, i32 0, i32 4
  %284 = load ptr, ptr %283, align 8, !tbaa !15
  %285 = load i64, ptr %14, align 8, !tbaa !13
  %286 = getelementptr inbounds double, ptr %284, i64 %285
  %287 = load double, ptr %286, align 8, !tbaa !11
  %288 = load i64, ptr %14, align 8, !tbaa !13
  %289 = trunc i64 %288 to i32
  %290 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %21, i32 0, i32 4
  %291 = load ptr, ptr %290, align 8, !tbaa !15
  %292 = load i64, ptr %14, align 8, !tbaa !13
  %293 = getelementptr inbounds double, ptr %291, i64 %292
  %294 = load double, ptr %293, align 8, !tbaa !11
  %295 = call i32 (ptr, ...) @printf(ptr noundef @.str.160, i32 noundef %282, double noundef %287, i32 noundef %289, double noundef %294)
  %296 = load i64, ptr %14, align 8, !tbaa !13
  %297 = trunc i64 %296 to i32
  %298 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %27, i32 0, i32 4
  %299 = load ptr, ptr %298, align 8, !tbaa !15
  %300 = load i64, ptr %14, align 8, !tbaa !13
  %301 = getelementptr inbounds double, ptr %299, i64 %300
  %302 = load double, ptr %301, align 8, !tbaa !11
  %303 = call i32 (ptr, ...) @printf(ptr noundef @.str.161, i32 noundef %297, double noundef %302)
  %304 = call i32 (ptr, ...) @printf(ptr noundef @.str.157)
  br label %305

305:                                              ; preds = %279, %276
  store i8 1, ptr %34, align 1, !tbaa !5
  %306 = load ptr, ptr %5, align 8, !tbaa !9
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %306)
  %307 = load i8, ptr %34, align 1, !tbaa !5, !range !23, !noundef !24
  %308 = trunc i8 %307 to i1
  store i1 %308, ptr %3, align 1
  store i32 1, ptr %35, align 4
  br label %906

309:                                              ; preds = %263
  br label %310

310:                                              ; preds = %309
  %311 = load i64, ptr %14, align 8, !tbaa !13
  %312 = add nsw i64 %311, 1
  store i64 %312, ptr %14, align 8, !tbaa !13
  br label %226, !llvm.loop !25

313:                                              ; preds = %226
  store i64 0, ptr %14, align 8, !tbaa !13
  br label %314

314:                                              ; preds = %398, %313
  %315 = load i64, ptr %14, align 8, !tbaa !13
  %316 = load i64, ptr %13, align 8, !tbaa !13
  %317 = sub nsw i64 %316, 1
  %318 = icmp sle i64 %315, %317
  br i1 %318, label %319, label %401

319:                                              ; preds = %314
  %320 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %24, i32 0, i32 4
  %321 = load ptr, ptr %320, align 8, !tbaa !15
  %322 = load i64, ptr %14, align 8, !tbaa !13
  %323 = getelementptr inbounds double, ptr %321, i64 %322
  %324 = load double, ptr %323, align 8, !tbaa !11
  %325 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %22, i32 0, i32 4
  %326 = load ptr, ptr %325, align 8, !tbaa !15
  %327 = load i64, ptr %14, align 8, !tbaa !13
  %328 = getelementptr inbounds double, ptr %326, i64 %327
  %329 = load double, ptr %328, align 8, !tbaa !11
  %330 = fsub double %324, %329
  %331 = load ptr, ptr %5, align 8, !tbaa !9
  %332 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %330, ptr noundef %331)
  %333 = load double, ptr %31, align 8, !tbaa !11
  %334 = call noundef zeroext i1 @_ZN11alglib_impl16ae_fp_greater_eqEdd(double noundef %332, double noundef %333)
  br i1 %334, label %364, label %335

335:                                              ; preds = %319
  %336 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %28, i32 0, i32 4
  %337 = load ptr, ptr %336, align 8, !tbaa !15
  %338 = load i64, ptr %14, align 8, !tbaa !13
  %339 = getelementptr inbounds double, ptr %337, i64 %338
  %340 = load double, ptr %339, align 8, !tbaa !11
  %341 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %22, i32 0, i32 4
  %342 = load ptr, ptr %341, align 8, !tbaa !15
  %343 = load i64, ptr %14, align 8, !tbaa !13
  %344 = getelementptr inbounds double, ptr %342, i64 %343
  %345 = load double, ptr %344, align 8, !tbaa !11
  %346 = fsub double %340, %345
  %347 = load ptr, ptr %5, align 8, !tbaa !9
  %348 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %346, ptr noundef %347)
  %349 = load double, ptr %31, align 8, !tbaa !11
  %350 = call noundef zeroext i1 @_ZN11alglib_impl16ae_fp_greater_eqEdd(double noundef %348, double noundef %349)
  br i1 %350, label %364, label %351

351:                                              ; preds = %335
  %352 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %28, i32 0, i32 4
  %353 = load ptr, ptr %352, align 8, !tbaa !15
  %354 = load i64, ptr %14, align 8, !tbaa !13
  %355 = getelementptr inbounds double, ptr %353, i64 %354
  %356 = load double, ptr %355, align 8, !tbaa !11
  %357 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %24, i32 0, i32 4
  %358 = load ptr, ptr %357, align 8, !tbaa !15
  %359 = load i64, ptr %14, align 8, !tbaa !13
  %360 = getelementptr inbounds double, ptr %358, i64 %359
  %361 = load double, ptr %360, align 8, !tbaa !11
  %362 = fsub double %356, %361
  %363 = call noundef zeroext i1 @_ZN11alglib_impl9ae_fp_neqEdd(double noundef %362, double noundef 0.000000e+00)
  br i1 %363, label %364, label %397

364:                                              ; preds = %351, %335, %319
  %365 = load i8, ptr %4, align 1, !tbaa !5, !range !23, !noundef !24
  %366 = trunc i8 %365 to i1
  br i1 %366, label %393, label %367

367:                                              ; preds = %364
  %368 = call i32 (ptr, ...) @printf(ptr noundef @.str.162)
  %369 = load i64, ptr %14, align 8, !tbaa !13
  %370 = trunc i64 %369 to i32
  %371 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %24, i32 0, i32 4
  %372 = load ptr, ptr %371, align 8, !tbaa !15
  %373 = load i64, ptr %14, align 8, !tbaa !13
  %374 = getelementptr inbounds double, ptr %372, i64 %373
  %375 = load double, ptr %374, align 8, !tbaa !11
  %376 = load i64, ptr %14, align 8, !tbaa !13
  %377 = trunc i64 %376 to i32
  %378 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %22, i32 0, i32 4
  %379 = load ptr, ptr %378, align 8, !tbaa !15
  %380 = load i64, ptr %14, align 8, !tbaa !13
  %381 = getelementptr inbounds double, ptr %379, i64 %380
  %382 = load double, ptr %381, align 8, !tbaa !11
  %383 = call i32 (ptr, ...) @printf(ptr noundef @.str.163, i32 noundef %370, double noundef %375, i32 noundef %377, double noundef %382)
  %384 = load i64, ptr %14, align 8, !tbaa !13
  %385 = trunc i64 %384 to i32
  %386 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %28, i32 0, i32 4
  %387 = load ptr, ptr %386, align 8, !tbaa !15
  %388 = load i64, ptr %14, align 8, !tbaa !13
  %389 = getelementptr inbounds double, ptr %387, i64 %388
  %390 = load double, ptr %389, align 8, !tbaa !11
  %391 = call i32 (ptr, ...) @printf(ptr noundef @.str.164, i32 noundef %385, double noundef %390)
  %392 = call i32 (ptr, ...) @printf(ptr noundef @.str.157)
  br label %393

393:                                              ; preds = %367, %364
  store i8 1, ptr %34, align 1, !tbaa !5
  %394 = load ptr, ptr %5, align 8, !tbaa !9
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %394)
  %395 = load i8, ptr %34, align 1, !tbaa !5, !range !23, !noundef !24
  %396 = trunc i8 %395 to i1
  store i1 %396, ptr %3, align 1
  store i32 1, ptr %35, align 4
  br label %906

397:                                              ; preds = %351
  br label %398

398:                                              ; preds = %397
  %399 = load i64, ptr %14, align 8, !tbaa !13
  %400 = add nsw i64 %399, 1
  store i64 %400, ptr %14, align 8, !tbaa !13
  br label %314, !llvm.loop !26

401:                                              ; preds = %314
  %402 = load ptr, ptr %5, align 8, !tbaa !9
  call void @_ZN11alglib_impl10sparsecopyEPNS_12sparsematrixES1_PNS_8ae_stateE(ptr noundef %7, ptr noundef %8, ptr noundef %402)
  store i64 0, ptr %14, align 8, !tbaa !13
  br label %403

403:                                              ; preds = %453, %401
  %404 = load i64, ptr %14, align 8, !tbaa !13
  %405 = load i64, ptr %12, align 8, !tbaa !13
  %406 = sub nsw i64 %405, 1
  %407 = icmp sle i64 %404, %406
  br i1 %407, label %408, label %456

408:                                              ; preds = %403
  store i64 0, ptr %15, align 8, !tbaa !13
  br label %409

409:                                              ; preds = %449, %408
  %410 = load i64, ptr %15, align 8, !tbaa !13
  %411 = load i64, ptr %13, align 8, !tbaa !13
  %412 = sub nsw i64 %411, 1
  %413 = icmp sle i64 %410, %412
  br i1 %413, label %414, label %452

414:                                              ; preds = %409
  %415 = load i64, ptr %14, align 8, !tbaa !13
  %416 = load i64, ptr %15, align 8, !tbaa !13
  %417 = load ptr, ptr %5, align 8, !tbaa !9
  %418 = call noundef double @_ZN11alglib_impl9sparsegetEPNS_12sparsematrixEllPNS_8ae_stateE(ptr noundef %7, i64 noundef %415, i64 noundef %416, ptr noundef %417)
  store double %418, ptr %32, align 8, !tbaa !11
  %419 = load i64, ptr %14, align 8, !tbaa !13
  %420 = load i64, ptr %15, align 8, !tbaa !13
  %421 = load ptr, ptr %5, align 8, !tbaa !9
  %422 = call noundef double @_ZN11alglib_impl9sparsegetEPNS_12sparsematrixEllPNS_8ae_stateE(ptr noundef %8, i64 noundef %419, i64 noundef %420, ptr noundef %421)
  store double %422, ptr %33, align 8, !tbaa !11
  %423 = load double, ptr %32, align 8, !tbaa !11
  %424 = load double, ptr %33, align 8, !tbaa !11
  %425 = call noundef zeroext i1 @_ZN11alglib_impl9ae_fp_neqEdd(double noundef %423, double noundef %424)
  br i1 %425, label %426, label %448

426:                                              ; preds = %414
  %427 = load i8, ptr %4, align 1, !tbaa !5, !range !23, !noundef !24
  %428 = trunc i8 %427 to i1
  br i1 %428, label %444, label %429

429:                                              ; preds = %426
  %430 = call i32 (ptr, ...) @printf(ptr noundef @.str.165)
  %431 = load i64, ptr %14, align 8, !tbaa !13
  %432 = trunc i64 %431 to i32
  %433 = load i64, ptr %15, align 8, !tbaa !13
  %434 = trunc i64 %433 to i32
  %435 = load double, ptr %32, align 8, !tbaa !11
  %436 = call i32 (ptr, ...) @printf(ptr noundef @.str.155, i32 noundef %432, i32 noundef %434, double noundef %435)
  %437 = load i64, ptr %14, align 8, !tbaa !13
  %438 = trunc i64 %437 to i32
  %439 = load i64, ptr %15, align 8, !tbaa !13
  %440 = trunc i64 %439 to i32
  %441 = load double, ptr %33, align 8, !tbaa !11
  %442 = call i32 (ptr, ...) @printf(ptr noundef @.str.156, i32 noundef %438, i32 noundef %440, double noundef %441)
  %443 = call i32 (ptr, ...) @printf(ptr noundef @.str.157)
  br label %444

444:                                              ; preds = %429, %426
  store i8 1, ptr %34, align 1, !tbaa !5
  %445 = load ptr, ptr %5, align 8, !tbaa !9
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %445)
  %446 = load i8, ptr %34, align 1, !tbaa !5, !range !23, !noundef !24
  %447 = trunc i8 %446 to i1
  store i1 %447, ptr %3, align 1
  store i32 1, ptr %35, align 4
  br label %906

448:                                              ; preds = %414
  br label %449

449:                                              ; preds = %448
  %450 = load i64, ptr %15, align 8, !tbaa !13
  %451 = add nsw i64 %450, 1
  store i64 %451, ptr %15, align 8, !tbaa !13
  br label %409, !llvm.loop !27

452:                                              ; preds = %409
  br label %453

453:                                              ; preds = %452
  %454 = load i64, ptr %14, align 8, !tbaa !13
  %455 = add nsw i64 %454, 1
  store i64 %455, ptr %14, align 8, !tbaa !13
  br label %403, !llvm.loop !28

456:                                              ; preds = %403
  br label %885

457:                                              ; preds = %151
  store i64 0, ptr %14, align 8, !tbaa !13
  br label %458

458:                                              ; preds = %520, %457
  %459 = load i64, ptr %14, align 8, !tbaa !13
  %460 = load i64, ptr %12, align 8, !tbaa !13
  %461 = sub nsw i64 %460, 1
  %462 = icmp sle i64 %459, %461
  br i1 %462, label %463, label %523

463:                                              ; preds = %458
  store i64 0, ptr %15, align 8, !tbaa !13
  br label %464

464:                                              ; preds = %516, %463
  %465 = load i64, ptr %15, align 8, !tbaa !13
  %466 = load i64, ptr %13, align 8, !tbaa !13
  %467 = sub nsw i64 %466, 1
  %468 = icmp sle i64 %465, %467
  br i1 %468, label %469, label %519

469:                                              ; preds = %464
  %470 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %21, i32 0, i32 4
  %471 = load ptr, ptr %470, align 8, !tbaa !15
  %472 = load i64, ptr %14, align 8, !tbaa !13
  %473 = getelementptr inbounds double, ptr %471, i64 %472
  %474 = load double, ptr %473, align 8, !tbaa !11
  %475 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %18, i32 0, i32 6
  %476 = load ptr, ptr %475, align 8, !tbaa !15
  %477 = load i64, ptr %14, align 8, !tbaa !13
  %478 = getelementptr inbounds ptr, ptr %476, i64 %477
  %479 = load ptr, ptr %478, align 8, !tbaa !9
  %480 = load i64, ptr %15, align 8, !tbaa !13
  %481 = getelementptr inbounds double, ptr %479, i64 %480
  %482 = load double, ptr %481, align 8, !tbaa !11
  %483 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %19, i32 0, i32 4
  %484 = load ptr, ptr %483, align 8, !tbaa !15
  %485 = load i64, ptr %15, align 8, !tbaa !13
  %486 = getelementptr inbounds double, ptr %484, i64 %485
  %487 = load double, ptr %486, align 8, !tbaa !11
  %488 = call double @llvm.fmuladd.f64(double %482, double %487, double %474)
  %489 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %21, i32 0, i32 4
  %490 = load ptr, ptr %489, align 8, !tbaa !15
  %491 = load i64, ptr %14, align 8, !tbaa !13
  %492 = getelementptr inbounds double, ptr %490, i64 %491
  store double %488, ptr %492, align 8, !tbaa !11
  %493 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %22, i32 0, i32 4
  %494 = load ptr, ptr %493, align 8, !tbaa !15
  %495 = load i64, ptr %15, align 8, !tbaa !13
  %496 = getelementptr inbounds double, ptr %494, i64 %495
  %497 = load double, ptr %496, align 8, !tbaa !11
  %498 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %18, i32 0, i32 6
  %499 = load ptr, ptr %498, align 8, !tbaa !15
  %500 = load i64, ptr %14, align 8, !tbaa !13
  %501 = getelementptr inbounds ptr, ptr %499, i64 %500
  %502 = load ptr, ptr %501, align 8, !tbaa !9
  %503 = load i64, ptr %15, align 8, !tbaa !13
  %504 = getelementptr inbounds double, ptr %502, i64 %503
  %505 = load double, ptr %504, align 8, !tbaa !11
  %506 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %19, i32 0, i32 4
  %507 = load ptr, ptr %506, align 8, !tbaa !15
  %508 = load i64, ptr %14, align 8, !tbaa !13
  %509 = getelementptr inbounds double, ptr %507, i64 %508
  %510 = load double, ptr %509, align 8, !tbaa !11
  %511 = call double @llvm.fmuladd.f64(double %505, double %510, double %497)
  %512 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %22, i32 0, i32 4
  %513 = load ptr, ptr %512, align 8, !tbaa !15
  %514 = load i64, ptr %15, align 8, !tbaa !13
  %515 = getelementptr inbounds double, ptr %513, i64 %514
  store double %511, ptr %515, align 8, !tbaa !11
  br label %516

516:                                              ; preds = %469
  %517 = load i64, ptr %15, align 8, !tbaa !13
  %518 = add nsw i64 %517, 1
  store i64 %518, ptr %15, align 8, !tbaa !13
  br label %464, !llvm.loop !29

519:                                              ; preds = %464
  br label %520

520:                                              ; preds = %519
  %521 = load i64, ptr %14, align 8, !tbaa !13
  %522 = add nsw i64 %521, 1
  store i64 %522, ptr %14, align 8, !tbaa !13
  br label %458, !llvm.loop !30

523:                                              ; preds = %458
  %524 = load ptr, ptr %5, align 8, !tbaa !9
  call void @_ZN11alglib_impl8sparsemvEPNS_12sparsematrixEPNS_9ae_vectorES3_PNS_8ae_stateE(ptr noundef %7, ptr noundef %19, ptr noundef %23, ptr noundef %524)
  %525 = load ptr, ptr %5, align 8, !tbaa !9
  call void @_ZN11alglib_impl9sparsemtvEPNS_12sparsematrixEPNS_9ae_vectorES3_PNS_8ae_stateE(ptr noundef %7, ptr noundef %19, ptr noundef %24, ptr noundef %525)
  %526 = load ptr, ptr %5, align 8, !tbaa !9
  call void @_ZN11alglib_impl9sparsemv2EPNS_12sparsematrixEPNS_9ae_vectorES3_S3_PNS_8ae_stateE(ptr noundef %7, ptr noundef %19, ptr noundef %25, ptr noundef %26, ptr noundef %526)
  %527 = load ptr, ptr %5, align 8, !tbaa !9
  call void @_ZN11alglib_impl8sparsemvEPNS_12sparsematrixEPNS_9ae_vectorES3_PNS_8ae_stateE(ptr noundef %8, ptr noundef %19, ptr noundef %27, ptr noundef %527)
  %528 = load ptr, ptr %5, align 8, !tbaa !9
  call void @_ZN11alglib_impl9sparsemtvEPNS_12sparsematrixEPNS_9ae_vectorES3_PNS_8ae_stateE(ptr noundef %8, ptr noundef %19, ptr noundef %28, ptr noundef %528)
  %529 = load ptr, ptr %5, align 8, !tbaa !9
  call void @_ZN11alglib_impl9sparsemv2EPNS_12sparsematrixEPNS_9ae_vectorES3_S3_PNS_8ae_stateE(ptr noundef %8, ptr noundef %19, ptr noundef %29, ptr noundef %30, ptr noundef %529)
  store i64 0, ptr %14, align 8, !tbaa !13
  br label %530

530:                                              ; preds = %682, %523
  %531 = load i64, ptr %14, align 8, !tbaa !13
  %532 = load i64, ptr %12, align 8, !tbaa !13
  %533 = sub nsw i64 %532, 1
  %534 = icmp sle i64 %531, %533
  br i1 %534, label %535, label %685

535:                                              ; preds = %530
  %536 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %25, i32 0, i32 4
  %537 = load ptr, ptr %536, align 8, !tbaa !15
  %538 = load i64, ptr %14, align 8, !tbaa !13
  %539 = getelementptr inbounds double, ptr %537, i64 %538
  %540 = load double, ptr %539, align 8, !tbaa !11
  %541 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %21, i32 0, i32 4
  %542 = load ptr, ptr %541, align 8, !tbaa !15
  %543 = load i64, ptr %14, align 8, !tbaa !13
  %544 = getelementptr inbounds double, ptr %542, i64 %543
  %545 = load double, ptr %544, align 8, !tbaa !11
  %546 = fsub double %540, %545
  %547 = load ptr, ptr %5, align 8, !tbaa !9
  %548 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %546, ptr noundef %547)
  %549 = load double, ptr %31, align 8, !tbaa !11
  %550 = call noundef zeroext i1 @_ZN11alglib_impl16ae_fp_greater_eqEdd(double noundef %548, double noundef %549)
  br i1 %550, label %625, label %551

551:                                              ; preds = %535
  %552 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %26, i32 0, i32 4
  %553 = load ptr, ptr %552, align 8, !tbaa !15
  %554 = load i64, ptr %14, align 8, !tbaa !13
  %555 = getelementptr inbounds double, ptr %553, i64 %554
  %556 = load double, ptr %555, align 8, !tbaa !11
  %557 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %22, i32 0, i32 4
  %558 = load ptr, ptr %557, align 8, !tbaa !15
  %559 = load i64, ptr %14, align 8, !tbaa !13
  %560 = getelementptr inbounds double, ptr %558, i64 %559
  %561 = load double, ptr %560, align 8, !tbaa !11
  %562 = fsub double %556, %561
  %563 = load ptr, ptr %5, align 8, !tbaa !9
  %564 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %562, ptr noundef %563)
  %565 = load double, ptr %31, align 8, !tbaa !11
  %566 = call noundef zeroext i1 @_ZN11alglib_impl16ae_fp_greater_eqEdd(double noundef %564, double noundef %565)
  br i1 %566, label %625, label %567

567:                                              ; preds = %551
  %568 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %29, i32 0, i32 4
  %569 = load ptr, ptr %568, align 8, !tbaa !15
  %570 = load i64, ptr %14, align 8, !tbaa !13
  %571 = getelementptr inbounds double, ptr %569, i64 %570
  %572 = load double, ptr %571, align 8, !tbaa !11
  %573 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %21, i32 0, i32 4
  %574 = load ptr, ptr %573, align 8, !tbaa !15
  %575 = load i64, ptr %14, align 8, !tbaa !13
  %576 = getelementptr inbounds double, ptr %574, i64 %575
  %577 = load double, ptr %576, align 8, !tbaa !11
  %578 = fsub double %572, %577
  %579 = load ptr, ptr %5, align 8, !tbaa !9
  %580 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %578, ptr noundef %579)
  %581 = load double, ptr %31, align 8, !tbaa !11
  %582 = call noundef zeroext i1 @_ZN11alglib_impl16ae_fp_greater_eqEdd(double noundef %580, double noundef %581)
  br i1 %582, label %625, label %583

583:                                              ; preds = %567
  %584 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %30, i32 0, i32 4
  %585 = load ptr, ptr %584, align 8, !tbaa !15
  %586 = load i64, ptr %14, align 8, !tbaa !13
  %587 = getelementptr inbounds double, ptr %585, i64 %586
  %588 = load double, ptr %587, align 8, !tbaa !11
  %589 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %22, i32 0, i32 4
  %590 = load ptr, ptr %589, align 8, !tbaa !15
  %591 = load i64, ptr %14, align 8, !tbaa !13
  %592 = getelementptr inbounds double, ptr %590, i64 %591
  %593 = load double, ptr %592, align 8, !tbaa !11
  %594 = fsub double %588, %593
  %595 = load ptr, ptr %5, align 8, !tbaa !9
  %596 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %594, ptr noundef %595)
  %597 = load double, ptr %31, align 8, !tbaa !11
  %598 = call noundef zeroext i1 @_ZN11alglib_impl16ae_fp_greater_eqEdd(double noundef %596, double noundef %597)
  br i1 %598, label %625, label %599

599:                                              ; preds = %583
  %600 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %29, i32 0, i32 4
  %601 = load ptr, ptr %600, align 8, !tbaa !15
  %602 = load i64, ptr %14, align 8, !tbaa !13
  %603 = getelementptr inbounds double, ptr %601, i64 %602
  %604 = load double, ptr %603, align 8, !tbaa !11
  %605 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %25, i32 0, i32 4
  %606 = load ptr, ptr %605, align 8, !tbaa !15
  %607 = load i64, ptr %14, align 8, !tbaa !13
  %608 = getelementptr inbounds double, ptr %606, i64 %607
  %609 = load double, ptr %608, align 8, !tbaa !11
  %610 = fsub double %604, %609
  %611 = call noundef zeroext i1 @_ZN11alglib_impl9ae_fp_neqEdd(double noundef %610, double noundef 0.000000e+00)
  br i1 %611, label %625, label %612

612:                                              ; preds = %599
  %613 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %30, i32 0, i32 4
  %614 = load ptr, ptr %613, align 8, !tbaa !15
  %615 = load i64, ptr %14, align 8, !tbaa !13
  %616 = getelementptr inbounds double, ptr %614, i64 %615
  %617 = load double, ptr %616, align 8, !tbaa !11
  %618 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %26, i32 0, i32 4
  %619 = load ptr, ptr %618, align 8, !tbaa !15
  %620 = load i64, ptr %14, align 8, !tbaa !13
  %621 = getelementptr inbounds double, ptr %619, i64 %620
  %622 = load double, ptr %621, align 8, !tbaa !11
  %623 = fsub double %617, %622
  %624 = call noundef zeroext i1 @_ZN11alglib_impl9ae_fp_neqEdd(double noundef %623, double noundef 0.000000e+00)
  br i1 %624, label %625, label %681

625:                                              ; preds = %612, %599, %583, %567, %551, %535
  %626 = load i8, ptr %4, align 1, !tbaa !5, !range !23, !noundef !24
  %627 = trunc i8 %626 to i1
  br i1 %627, label %677, label %628

628:                                              ; preds = %625
  %629 = call i32 (ptr, ...) @printf(ptr noundef @.str.166)
  %630 = load i64, ptr %14, align 8, !tbaa !13
  %631 = trunc i64 %630 to i32
  %632 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %25, i32 0, i32 4
  %633 = load ptr, ptr %632, align 8, !tbaa !15
  %634 = load i64, ptr %14, align 8, !tbaa !13
  %635 = getelementptr inbounds double, ptr %633, i64 %634
  %636 = load double, ptr %635, align 8, !tbaa !11
  %637 = load i64, ptr %14, align 8, !tbaa !13
  %638 = trunc i64 %637 to i32
  %639 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %21, i32 0, i32 4
  %640 = load ptr, ptr %639, align 8, !tbaa !15
  %641 = load i64, ptr %14, align 8, !tbaa !13
  %642 = getelementptr inbounds double, ptr %640, i64 %641
  %643 = load double, ptr %642, align 8, !tbaa !11
  %644 = call i32 (ptr, ...) @printf(ptr noundef @.str.167, i32 noundef %631, double noundef %636, i32 noundef %638, double noundef %643)
  %645 = load i64, ptr %14, align 8, !tbaa !13
  %646 = trunc i64 %645 to i32
  %647 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %26, i32 0, i32 4
  %648 = load ptr, ptr %647, align 8, !tbaa !15
  %649 = load i64, ptr %14, align 8, !tbaa !13
  %650 = getelementptr inbounds double, ptr %648, i64 %649
  %651 = load double, ptr %650, align 8, !tbaa !11
  %652 = load i64, ptr %14, align 8, !tbaa !13
  %653 = trunc i64 %652 to i32
  %654 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %22, i32 0, i32 4
  %655 = load ptr, ptr %654, align 8, !tbaa !15
  %656 = load i64, ptr %14, align 8, !tbaa !13
  %657 = getelementptr inbounds double, ptr %655, i64 %656
  %658 = load double, ptr %657, align 8, !tbaa !11
  %659 = call i32 (ptr, ...) @printf(ptr noundef @.str.168, i32 noundef %646, double noundef %651, i32 noundef %653, double noundef %658)
  %660 = load i64, ptr %14, align 8, !tbaa !13
  %661 = trunc i64 %660 to i32
  %662 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %29, i32 0, i32 4
  %663 = load ptr, ptr %662, align 8, !tbaa !15
  %664 = load i64, ptr %14, align 8, !tbaa !13
  %665 = getelementptr inbounds double, ptr %663, i64 %664
  %666 = load double, ptr %665, align 8, !tbaa !11
  %667 = call i32 (ptr, ...) @printf(ptr noundef @.str.169, i32 noundef %661, double noundef %666)
  %668 = load i64, ptr %14, align 8, !tbaa !13
  %669 = trunc i64 %668 to i32
  %670 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %30, i32 0, i32 4
  %671 = load ptr, ptr %670, align 8, !tbaa !15
  %672 = load i64, ptr %14, align 8, !tbaa !13
  %673 = getelementptr inbounds double, ptr %671, i64 %672
  %674 = load double, ptr %673, align 8, !tbaa !11
  %675 = call i32 (ptr, ...) @printf(ptr noundef @.str.170, i32 noundef %669, double noundef %674)
  %676 = call i32 (ptr, ...) @printf(ptr noundef @.str.157)
  br label %677

677:                                              ; preds = %628, %625
  store i8 1, ptr %34, align 1, !tbaa !5
  %678 = load ptr, ptr %5, align 8, !tbaa !9
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %678)
  %679 = load i8, ptr %34, align 1, !tbaa !5, !range !23, !noundef !24
  %680 = trunc i8 %679 to i1
  store i1 %680, ptr %3, align 1
  store i32 1, ptr %35, align 4
  br label %906

681:                                              ; preds = %612
  br label %682

682:                                              ; preds = %681
  %683 = load i64, ptr %14, align 8, !tbaa !13
  %684 = add nsw i64 %683, 1
  store i64 %684, ptr %14, align 8, !tbaa !13
  br label %530, !llvm.loop !31

685:                                              ; preds = %530
  store i64 0, ptr %14, align 8, !tbaa !13
  br label %686

686:                                              ; preds = %826, %685
  %687 = load i64, ptr %14, align 8, !tbaa !13
  %688 = load i64, ptr %12, align 8, !tbaa !13
  %689 = sub nsw i64 %688, 1
  %690 = icmp sle i64 %687, %689
  br i1 %690, label %691, label %829

691:                                              ; preds = %686
  %692 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %25, i32 0, i32 4
  %693 = load ptr, ptr %692, align 8, !tbaa !15
  %694 = load i64, ptr %14, align 8, !tbaa !13
  %695 = getelementptr inbounds double, ptr %693, i64 %694
  %696 = load double, ptr %695, align 8, !tbaa !11
  %697 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %23, i32 0, i32 4
  %698 = load ptr, ptr %697, align 8, !tbaa !15
  %699 = load i64, ptr %14, align 8, !tbaa !13
  %700 = getelementptr inbounds double, ptr %698, i64 %699
  %701 = load double, ptr %700, align 8, !tbaa !11
  %702 = fsub double %696, %701
  %703 = load ptr, ptr %5, align 8, !tbaa !9
  %704 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %702, ptr noundef %703)
  %705 = load double, ptr %31, align 8, !tbaa !11
  %706 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %704, double noundef %705)
  br i1 %706, label %755, label %707

707:                                              ; preds = %691
  %708 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %26, i32 0, i32 4
  %709 = load ptr, ptr %708, align 8, !tbaa !15
  %710 = load i64, ptr %14, align 8, !tbaa !13
  %711 = getelementptr inbounds double, ptr %709, i64 %710
  %712 = load double, ptr %711, align 8, !tbaa !11
  %713 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %24, i32 0, i32 4
  %714 = load ptr, ptr %713, align 8, !tbaa !15
  %715 = load i64, ptr %14, align 8, !tbaa !13
  %716 = getelementptr inbounds double, ptr %714, i64 %715
  %717 = load double, ptr %716, align 8, !tbaa !11
  %718 = fsub double %712, %717
  %719 = load ptr, ptr %5, align 8, !tbaa !9
  %720 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %718, ptr noundef %719)
  %721 = load double, ptr %31, align 8, !tbaa !11
  %722 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %720, double noundef %721)
  br i1 %722, label %755, label %723

723:                                              ; preds = %707
  %724 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %29, i32 0, i32 4
  %725 = load ptr, ptr %724, align 8, !tbaa !15
  %726 = load i64, ptr %14, align 8, !tbaa !13
  %727 = getelementptr inbounds double, ptr %725, i64 %726
  %728 = load double, ptr %727, align 8, !tbaa !11
  %729 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %27, i32 0, i32 4
  %730 = load ptr, ptr %729, align 8, !tbaa !15
  %731 = load i64, ptr %14, align 8, !tbaa !13
  %732 = getelementptr inbounds double, ptr %730, i64 %731
  %733 = load double, ptr %732, align 8, !tbaa !11
  %734 = fsub double %728, %733
  %735 = load ptr, ptr %5, align 8, !tbaa !9
  %736 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %734, ptr noundef %735)
  %737 = load double, ptr %31, align 8, !tbaa !11
  %738 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %736, double noundef %737)
  br i1 %738, label %755, label %739

739:                                              ; preds = %723
  %740 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %30, i32 0, i32 4
  %741 = load ptr, ptr %740, align 8, !tbaa !15
  %742 = load i64, ptr %14, align 8, !tbaa !13
  %743 = getelementptr inbounds double, ptr %741, i64 %742
  %744 = load double, ptr %743, align 8, !tbaa !11
  %745 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %28, i32 0, i32 4
  %746 = load ptr, ptr %745, align 8, !tbaa !15
  %747 = load i64, ptr %14, align 8, !tbaa !13
  %748 = getelementptr inbounds double, ptr %746, i64 %747
  %749 = load double, ptr %748, align 8, !tbaa !11
  %750 = fsub double %744, %749
  %751 = load ptr, ptr %5, align 8, !tbaa !9
  %752 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %750, ptr noundef %751)
  %753 = load double, ptr %31, align 8, !tbaa !11
  %754 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %752, double noundef %753)
  br i1 %754, label %755, label %825

755:                                              ; preds = %739, %723, %707, %691
  %756 = load i8, ptr %4, align 1, !tbaa !5, !range !23, !noundef !24
  %757 = trunc i8 %756 to i1
  br i1 %757, label %821, label %758

758:                                              ; preds = %755
  %759 = call i32 (ptr, ...) @printf(ptr noundef @.str.171)
  %760 = load i64, ptr %14, align 8, !tbaa !13
  %761 = trunc i64 %760 to i32
  %762 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %25, i32 0, i32 4
  %763 = load ptr, ptr %762, align 8, !tbaa !15
  %764 = load i64, ptr %14, align 8, !tbaa !13
  %765 = getelementptr inbounds double, ptr %763, i64 %764
  %766 = load double, ptr %765, align 8, !tbaa !11
  %767 = load i64, ptr %14, align 8, !tbaa !13
  %768 = trunc i64 %767 to i32
  %769 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %23, i32 0, i32 4
  %770 = load ptr, ptr %769, align 8, !tbaa !15
  %771 = load i64, ptr %14, align 8, !tbaa !13
  %772 = getelementptr inbounds double, ptr %770, i64 %771
  %773 = load double, ptr %772, align 8, !tbaa !11
  %774 = call i32 (ptr, ...) @printf(ptr noundef @.str.172, i32 noundef %761, double noundef %766, i32 noundef %768, double noundef %773)
  %775 = load i64, ptr %14, align 8, !tbaa !13
  %776 = trunc i64 %775 to i32
  %777 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %26, i32 0, i32 4
  %778 = load ptr, ptr %777, align 8, !tbaa !15
  %779 = load i64, ptr %14, align 8, !tbaa !13
  %780 = getelementptr inbounds double, ptr %778, i64 %779
  %781 = load double, ptr %780, align 8, !tbaa !11
  %782 = load i64, ptr %14, align 8, !tbaa !13
  %783 = trunc i64 %782 to i32
  %784 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %24, i32 0, i32 4
  %785 = load ptr, ptr %784, align 8, !tbaa !15
  %786 = load i64, ptr %14, align 8, !tbaa !13
  %787 = getelementptr inbounds double, ptr %785, i64 %786
  %788 = load double, ptr %787, align 8, !tbaa !11
  %789 = call i32 (ptr, ...) @printf(ptr noundef @.str.173, i32 noundef %776, double noundef %781, i32 noundef %783, double noundef %788)
  %790 = load i64, ptr %14, align 8, !tbaa !13
  %791 = trunc i64 %790 to i32
  %792 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %29, i32 0, i32 4
  %793 = load ptr, ptr %792, align 8, !tbaa !15
  %794 = load i64, ptr %14, align 8, !tbaa !13
  %795 = getelementptr inbounds double, ptr %793, i64 %794
  %796 = load double, ptr %795, align 8, !tbaa !11
  %797 = load i64, ptr %14, align 8, !tbaa !13
  %798 = trunc i64 %797 to i32
  %799 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %27, i32 0, i32 4
  %800 = load ptr, ptr %799, align 8, !tbaa !15
  %801 = load i64, ptr %14, align 8, !tbaa !13
  %802 = getelementptr inbounds double, ptr %800, i64 %801
  %803 = load double, ptr %802, align 8, !tbaa !11
  %804 = call i32 (ptr, ...) @printf(ptr noundef @.str.174, i32 noundef %791, double noundef %796, i32 noundef %798, double noundef %803)
  %805 = load i64, ptr %14, align 8, !tbaa !13
  %806 = trunc i64 %805 to i32
  %807 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %30, i32 0, i32 4
  %808 = load ptr, ptr %807, align 8, !tbaa !15
  %809 = load i64, ptr %14, align 8, !tbaa !13
  %810 = getelementptr inbounds double, ptr %808, i64 %809
  %811 = load double, ptr %810, align 8, !tbaa !11
  %812 = load i64, ptr %14, align 8, !tbaa !13
  %813 = trunc i64 %812 to i32
  %814 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %28, i32 0, i32 4
  %815 = load ptr, ptr %814, align 8, !tbaa !15
  %816 = load i64, ptr %14, align 8, !tbaa !13
  %817 = getelementptr inbounds double, ptr %815, i64 %816
  %818 = load double, ptr %817, align 8, !tbaa !11
  %819 = call i32 (ptr, ...) @printf(ptr noundef @.str.175, i32 noundef %806, double noundef %811, i32 noundef %813, double noundef %818)
  %820 = call i32 (ptr, ...) @printf(ptr noundef @.str.157)
  br label %821

821:                                              ; preds = %758, %755
  store i8 1, ptr %34, align 1, !tbaa !5
  %822 = load ptr, ptr %5, align 8, !tbaa !9
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %822)
  %823 = load i8, ptr %34, align 1, !tbaa !5, !range !23, !noundef !24
  %824 = trunc i8 %823 to i1
  store i1 %824, ptr %3, align 1
  store i32 1, ptr %35, align 4
  br label %906

825:                                              ; preds = %739
  br label %826

826:                                              ; preds = %825
  %827 = load i64, ptr %14, align 8, !tbaa !13
  %828 = add nsw i64 %827, 1
  store i64 %828, ptr %14, align 8, !tbaa !13
  br label %686, !llvm.loop !32

829:                                              ; preds = %686
  %830 = load ptr, ptr %5, align 8, !tbaa !9
  call void @_ZN11alglib_impl10sparsecopyEPNS_12sparsematrixES1_PNS_8ae_stateE(ptr noundef %7, ptr noundef %8, ptr noundef %830)
  store i64 0, ptr %14, align 8, !tbaa !13
  br label %831

831:                                              ; preds = %881, %829
  %832 = load i64, ptr %14, align 8, !tbaa !13
  %833 = load i64, ptr %12, align 8, !tbaa !13
  %834 = sub nsw i64 %833, 1
  %835 = icmp sle i64 %832, %834
  br i1 %835, label %836, label %884

836:                                              ; preds = %831
  store i64 0, ptr %15, align 8, !tbaa !13
  br label %837

837:                                              ; preds = %877, %836
  %838 = load i64, ptr %15, align 8, !tbaa !13
  %839 = load i64, ptr %13, align 8, !tbaa !13
  %840 = sub nsw i64 %839, 1
  %841 = icmp sle i64 %838, %840
  br i1 %841, label %842, label %880

842:                                              ; preds = %837
  %843 = load i64, ptr %14, align 8, !tbaa !13
  %844 = load i64, ptr %15, align 8, !tbaa !13
  %845 = load ptr, ptr %5, align 8, !tbaa !9
  %846 = call noundef double @_ZN11alglib_impl9sparsegetEPNS_12sparsematrixEllPNS_8ae_stateE(ptr noundef %7, i64 noundef %843, i64 noundef %844, ptr noundef %845)
  store double %846, ptr %32, align 8, !tbaa !11
  %847 = load i64, ptr %14, align 8, !tbaa !13
  %848 = load i64, ptr %15, align 8, !tbaa !13
  %849 = load ptr, ptr %5, align 8, !tbaa !9
  %850 = call noundef double @_ZN11alglib_impl9sparsegetEPNS_12sparsematrixEllPNS_8ae_stateE(ptr noundef %8, i64 noundef %847, i64 noundef %848, ptr noundef %849)
  store double %850, ptr %33, align 8, !tbaa !11
  %851 = load double, ptr %32, align 8, !tbaa !11
  %852 = load double, ptr %33, align 8, !tbaa !11
  %853 = call noundef zeroext i1 @_ZN11alglib_impl9ae_fp_neqEdd(double noundef %851, double noundef %852)
  br i1 %853, label %854, label %876

854:                                              ; preds = %842
  %855 = load i8, ptr %4, align 1, !tbaa !5, !range !23, !noundef !24
  %856 = trunc i8 %855 to i1
  br i1 %856, label %872, label %857

857:                                              ; preds = %854
  %858 = call i32 (ptr, ...) @printf(ptr noundef @.str.165)
  %859 = load i64, ptr %14, align 8, !tbaa !13
  %860 = trunc i64 %859 to i32
  %861 = load i64, ptr %15, align 8, !tbaa !13
  %862 = trunc i64 %861 to i32
  %863 = load double, ptr %32, align 8, !tbaa !11
  %864 = call i32 (ptr, ...) @printf(ptr noundef @.str.155, i32 noundef %860, i32 noundef %862, double noundef %863)
  %865 = load i64, ptr %14, align 8, !tbaa !13
  %866 = trunc i64 %865 to i32
  %867 = load i64, ptr %15, align 8, !tbaa !13
  %868 = trunc i64 %867 to i32
  %869 = load double, ptr %33, align 8, !tbaa !11
  %870 = call i32 (ptr, ...) @printf(ptr noundef @.str.156, i32 noundef %866, i32 noundef %868, double noundef %869)
  %871 = call i32 (ptr, ...) @printf(ptr noundef @.str.157)
  br label %872

872:                                              ; preds = %857, %854
  store i8 1, ptr %34, align 1, !tbaa !5
  %873 = load ptr, ptr %5, align 8, !tbaa !9
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %873)
  %874 = load i8, ptr %34, align 1, !tbaa !5, !range !23, !noundef !24
  %875 = trunc i8 %874 to i1
  store i1 %875, ptr %3, align 1
  store i32 1, ptr %35, align 4
  br label %906

876:                                              ; preds = %842
  br label %877

877:                                              ; preds = %876
  %878 = load i64, ptr %15, align 8, !tbaa !13
  %879 = add nsw i64 %878, 1
  store i64 %879, ptr %15, align 8, !tbaa !13
  br label %837, !llvm.loop !33

880:                                              ; preds = %837
  br label %881

881:                                              ; preds = %880
  %882 = load i64, ptr %14, align 8, !tbaa !13
  %883 = add nsw i64 %882, 1
  store i64 %883, ptr %14, align 8, !tbaa !13
  br label %831, !llvm.loop !34

884:                                              ; preds = %831
  br label %885

885:                                              ; preds = %884, %456
  br label %886

886:                                              ; preds = %885
  %887 = load i64, ptr %11, align 8, !tbaa !13
  %888 = add nsw i64 %887, 1
  store i64 %888, ptr %11, align 8, !tbaa !13
  br label %65, !llvm.loop !35

889:                                              ; preds = %65
  br label %890

890:                                              ; preds = %889
  %891 = load i64, ptr %13, align 8, !tbaa !13
  %892 = add nsw i64 %891, 1
  store i64 %892, ptr %13, align 8, !tbaa !13
  br label %59, !llvm.loop !36

893:                                              ; preds = %59
  br label %894

894:                                              ; preds = %893
  %895 = load i64, ptr %12, align 8, !tbaa !13
  %896 = add nsw i64 %895, 1
  store i64 %896, ptr %12, align 8, !tbaa !13
  br label %53, !llvm.loop !37

897:                                              ; preds = %53
  %898 = load i8, ptr %4, align 1, !tbaa !5, !range !23, !noundef !24
  %899 = trunc i8 %898 to i1
  br i1 %899, label %902, label %900

900:                                              ; preds = %897
  %901 = call i32 (ptr, ...) @printf(ptr noundef @.str.158)
  br label %902

902:                                              ; preds = %900, %897
  store i8 0, ptr %34, align 1, !tbaa !5
  %903 = load ptr, ptr %5, align 8, !tbaa !9
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %903)
  %904 = load i8, ptr %34, align 1, !tbaa !5, !range !23, !noundef !24
  %905 = trunc i8 %904 to i1
  store i1 %905, ptr %3, align 1
  store i32 1, ptr %35, align 4
  br label %906

906:                                              ; preds = %902, %872, %821, %677, %444, %393, %305
  call void @llvm.lifetime.end.p0(i64 1, ptr %34) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %30) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %29) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %28) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %27) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %26) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %25) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %24) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %23) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %22) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %21) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 80, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 368, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 368, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %6) #5
  %907 = load i1, ptr %3, align 1
  ret i1 %907
}

declare void @_ZN11alglib_impl18_sparsematrix_initEPvPNS_8ae_stateEb(ptr noundef, ptr noundef, i1 noundef zeroext) #1

declare void @_ZN11alglib_impl10sparsecopyEPNS_12sparsematrixES1_PNS_8ae_stateE(ptr noundef, ptr noundef, ptr noundef) #1

declare noundef double @_ZN11alglib_impl9sparsegetEPNS_12sparsematrixEllPNS_8ae_stateE(ptr noundef, i64 noundef, i64 noundef, ptr noundef) #1

declare void @_ZN11alglib_impl8sparsemvEPNS_12sparsematrixEPNS_9ae_vectorES3_PNS_8ae_stateE(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1

declare void @_ZN11alglib_impl9sparsemtvEPNS_12sparsematrixEPNS_9ae_vectorES3_PNS_8ae_stateE(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1

declare void @_ZN11alglib_impl9sparsemv2EPNS_12sparsematrixEPNS_9ae_vectorES3_S3_PNS_8ae_stateE(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1

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

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

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

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


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

@.str.155 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.156 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.157 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.158 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.159 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.160 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.161 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.162 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.163 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.164 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.165 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.166 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.167 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.168 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.169 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.170 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.171 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.172 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.173 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.174 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.175 = external hidden unnamed_addr constant [35 x i8], align 1

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

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

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

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

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

declare noundef zeroext i1 @_ZN11alglib_impl9ae_fp_neqEdd(double noundef, double noundef) local_unnamed_addr #1

; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #3

declare void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef) local_unnamed_addr #1

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

declare 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 #1

declare noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef) local_unnamed_addr #1

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

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

declare noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef, ptr noundef) local_unnamed_addr #1

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_Z12copyfunctestbPN11alglib_impl8ae_stateE(i1 noundef zeroext %0, ptr noundef %1) local_unnamed_addr #5 {
  %3 = alloca %"struct.alglib_impl::ae_frame", align 8
  %4 = alloca %"struct.alglib_impl::sparsematrix", align 8
  %5 = alloca %"struct.alglib_impl::sparsematrix", align 8
  %6 = alloca %"struct.alglib_impl::ae_matrix", 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 %"struct.alglib_impl::ae_vector", align 8
  %12 = alloca %"struct.alglib_impl::ae_vector", align 8
  %13 = alloca %"struct.alglib_impl::ae_vector", align 8
  %14 = alloca %"struct.alglib_impl::ae_vector", align 8
  %15 = alloca %"struct.alglib_impl::ae_vector", align 8
  %16 = alloca %"struct.alglib_impl::ae_vector", align 8
  %17 = alloca %"struct.alglib_impl::ae_vector", align 8
  %18 = alloca %"struct.alglib_impl::ae_vector", align 8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #6
  call void @llvm.lifetime.start.p0(i64 368, ptr nonnull %4) #6
  call void @llvm.lifetime.start.p0(i64 368, ptr nonnull %5) #6
  call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %6) #6
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %7) #6
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %8) #6
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %9) #6
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %10) #6
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %11) #6
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %12) #6
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %13) #6
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %14) #6
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %15) #6
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %16) #6
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %17) #6
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %18) #6
  call void @_ZN11alglib_impl13ae_frame_makeEPNS_8ae_stateEPNS_8ae_frameE(ptr noundef %1, ptr noundef nonnull %3)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(368) %4, i8 0, i64 368, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(368) %5, i8 0, i64 368, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(80) %6, i8 0, i64 80, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %7, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %8, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %9, i8 0, i64 64, i1 false)
  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(64) %14, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %15, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %16, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %17, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %18, i8 0, i64 64, i1 false)
  call void @_ZN11alglib_impl18_sparsematrix_initEPvPNS_8ae_stateEb(ptr noundef nonnull %4, ptr noundef %1, i1 noundef zeroext true)
  call void @_ZN11alglib_impl18_sparsematrix_initEPvPNS_8ae_stateEb(ptr noundef nonnull %5, ptr noundef %1, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_matrix_initEPNS_9ae_matrixElllPNS_8ae_stateEb(ptr noundef nonnull %6, i64 noundef 0, i64 noundef 0, i64 noundef 3, 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)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %8, i64 noundef 0, i64 noundef 3, ptr noundef %1, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %9, i64 noundef 0, i64 noundef 3, ptr noundef %1, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %10, i64 noundef 0, i64 noundef 3, ptr noundef %1, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %11, i64 noundef 0, i64 noundef 3, ptr noundef %1, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %12, i64 noundef 0, i64 noundef 3, ptr noundef %1, 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 %1, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %14, i64 noundef 0, i64 noundef 3, ptr noundef %1, 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 %1, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %16, i64 noundef 0, i64 noundef 3, ptr noundef %1, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %17, i64 noundef 0, i64 noundef 3, ptr noundef %1, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %18, i64 noundef 0, i64 noundef 3, ptr noundef %1, i1 noundef zeroext true)
  %19 = getelementptr inbounds i8, ptr %9, i64 56
  %20 = getelementptr inbounds i8, ptr %10, i64 56
  %21 = getelementptr inbounds i8, ptr %7, i64 56
  %22 = getelementptr inbounds i8, ptr %8, i64 56
  %23 = getelementptr inbounds i8, ptr %6, i64 72
  %24 = getelementptr inbounds i8, ptr %11, i64 56
  %25 = getelementptr inbounds i8, ptr %15, i64 56
  %26 = getelementptr inbounds i8, ptr %12, i64 56
  %27 = getelementptr inbounds i8, ptr %16, i64 56
  %28 = getelementptr inbounds i8, ptr %13, i64 56
  %29 = getelementptr inbounds i8, ptr %14, i64 56
  %30 = getelementptr inbounds i8, ptr %17, i64 56
  %31 = getelementptr inbounds i8, ptr %18, i64 56
  br label %.preheader312

.preheader312:                                    ; preds = %2, %421
  %indvar = phi i64 [ 0, %2 ], [ %indvar.next, %421 ]
  %32 = phi i1 [ true, %2 ], [ %423, %421 ]
  %.0277357 = phi i64 [ 1, %2 ], [ %422, %421 ]
  %xtraiter = and i64 %.0277357, 3
  %33 = icmp ult i64 %indvar, 3
  %unroll_iter = and i64 %.0277357, 9223372036854775804
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br label %.preheader311

.preheader311:                                    ; preds = %.preheader312, %419
  %indvar471 = phi i64 [ 0, %.preheader312 ], [ %indvar.next472, %419 ]
  %.0283356 = phi i64 [ 1, %.preheader312 ], [ %420, %419 ]
  %.not = icmp eq i64 %.0277357, %.0283356
  %xtraiter473 = and i64 %.0283356, 3
  %34 = icmp ult i64 %indvar471, 3
  %unroll_iter476 = and i64 %.0283356, 9223372036854775804
  %lcmp.mod475.not = icmp eq i64 %xtraiter473, 0
  br label %35

35:                                               ; preds = %.preheader311, %.loopexit
  %36 = phi i1 [ true, %.preheader311 ], [ false, %.loopexit ]
  %.0276355 = phi i64 [ 0, %.preheader311 ], [ 1, %.loopexit ]
  call void @_ZL27testsparseunit_createrandomllllllPN11alglib_impl9ae_matrixEPNS_12sparsematrixEPNS_8ae_stateE(i64 noundef %.0277357, i64 noundef %.0283356, i64 noundef -1, i64 noundef %.0276355, i64 noundef -1, i64 noundef -1, ptr noundef nonnull %6, ptr noundef nonnull %4, ptr noundef %1)
  call void @_ZN11alglib_impl10sparsecopyEPNS_12sparsematrixES1_PNS_8ae_stateE(ptr noundef nonnull %4, ptr noundef nonnull %5, ptr noundef %1)
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %9, i64 noundef %.0277357, ptr noundef %1)
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %10, i64 noundef %.0283356, ptr noundef %1)
  br i1 %33, label %.preheader310.preheader.unr-lcssa, label %.new

.new:                                             ; preds = %35, %.new
  %.0279339 = phi i64 [ %48, %.new ], [ 0, %35 ]
  %niter = phi i64 [ %niter.next.3, %.new ], [ 0, %35 ]
  %37 = load ptr, ptr %19, align 8, !tbaa !5
  %38 = getelementptr inbounds double, ptr %37, i64 %.0279339
  store double 0.000000e+00, ptr %38, align 8, !tbaa !8
  %39 = or disjoint i64 %.0279339, 1
  %40 = load ptr, ptr %19, align 8, !tbaa !5
  %41 = getelementptr inbounds double, ptr %40, i64 %39
  store double 0.000000e+00, ptr %41, align 8, !tbaa !8
  %42 = or disjoint i64 %.0279339, 2
  %43 = load ptr, ptr %19, align 8, !tbaa !5
  %44 = getelementptr inbounds double, ptr %43, i64 %42
  store double 0.000000e+00, ptr %44, align 8, !tbaa !8
  %45 = or disjoint i64 %.0279339, 3
  %46 = load ptr, ptr %19, align 8, !tbaa !5
  %47 = getelementptr inbounds double, ptr %46, i64 %45
  store double 0.000000e+00, ptr %47, align 8, !tbaa !8
  %48 = add nuw nsw i64 %.0279339, 4
  %niter.next.3 = add i64 %niter, 4
  %niter.ncmp.3 = icmp eq i64 %niter.next.3, %unroll_iter
  br i1 %niter.ncmp.3, label %.preheader310.preheader.unr-lcssa, label %.new, !llvm.loop !10

.preheader310.preheader.unr-lcssa:                ; preds = %.new, %35
  %.0279339.unr = phi i64 [ 0, %35 ], [ %48, %.new ]
  br i1 %lcmp.mod.not, label %.preheader310.preheader, label %.epil.preheader

.epil.preheader:                                  ; preds = %.preheader310.preheader.unr-lcssa, %.epil.preheader
  %.0279339.epil = phi i64 [ %51, %.epil.preheader ], [ %.0279339.unr, %.preheader310.preheader.unr-lcssa ]
  %epil.iter = phi i64 [ %epil.iter.next, %.epil.preheader ], [ 0, %.preheader310.preheader.unr-lcssa ]
  %49 = load ptr, ptr %19, align 8, !tbaa !5
  %50 = getelementptr inbounds double, ptr %49, i64 %.0279339.epil
  store double 0.000000e+00, ptr %50, align 8, !tbaa !8
  %51 = add nuw nsw i64 %.0279339.epil, 1
  %epil.iter.next = add i64 %epil.iter, 1
  %epil.iter.cmp.not = icmp eq i64 %epil.iter.next, %xtraiter
  br i1 %epil.iter.cmp.not, label %.preheader310.preheader, label %.epil.preheader, !llvm.loop !12

.preheader310.preheader:                          ; preds = %.epil.preheader, %.preheader310.preheader.unr-lcssa
  br i1 %34, label %.unr-lcssa, label %.preheader310

.preheader310:                                    ; preds = %.preheader310.preheader, %.preheader310
  %.1280340 = phi i64 [ %63, %.preheader310 ], [ 0, %.preheader310.preheader ]
  %niter477 = phi i64 [ %niter477.next.3, %.preheader310 ], [ 0, %.preheader310.preheader ]
  %52 = load ptr, ptr %20, align 8, !tbaa !5
  %53 = getelementptr inbounds double, ptr %52, i64 %.1280340
  store double 0.000000e+00, ptr %53, align 8, !tbaa !8
  %54 = or disjoint i64 %.1280340, 1
  %55 = load ptr, ptr %20, align 8, !tbaa !5
  %56 = getelementptr inbounds double, ptr %55, i64 %54
  store double 0.000000e+00, ptr %56, align 8, !tbaa !8
  %57 = or disjoint i64 %.1280340, 2
  %58 = load ptr, ptr %20, align 8, !tbaa !5
  %59 = getelementptr inbounds double, ptr %58, i64 %57
  store double 0.000000e+00, ptr %59, align 8, !tbaa !8
  %60 = or disjoint i64 %.1280340, 3
  %61 = load ptr, ptr %20, align 8, !tbaa !5
  %62 = getelementptr inbounds double, ptr %61, i64 %60
  store double 0.000000e+00, ptr %62, align 8, !tbaa !8
  %63 = add nuw nsw i64 %.1280340, 4
  %niter477.next.3 = add i64 %niter477, 4
  %niter477.ncmp.3 = icmp eq i64 %niter477.next.3, %unroll_iter476
  br i1 %niter477.ncmp.3, label %.unr-lcssa, label %.preheader310, !llvm.loop !14

.unr-lcssa:                                       ; preds = %.preheader310, %.preheader310.preheader
  %.1280340.unr = phi i64 [ 0, %.preheader310.preheader ], [ %63, %.preheader310 ]
  br i1 %lcmp.mod475.not, label %.epilog-lcssa, label %.preheader310.epil

.preheader310.epil:                               ; preds = %.unr-lcssa, %.preheader310.epil
  %.1280340.epil = phi i64 [ %66, %.preheader310.epil ], [ %.1280340.unr, %.unr-lcssa ]
  %epil.iter474 = phi i64 [ %epil.iter474.next, %.preheader310.epil ], [ 0, %.unr-lcssa ]
  %64 = load ptr, ptr %20, align 8, !tbaa !5
  %65 = getelementptr inbounds double, ptr %64, i64 %.1280340.epil
  store double 0.000000e+00, ptr %65, align 8, !tbaa !8
  %66 = add nuw nsw i64 %.1280340.epil, 1
  %epil.iter474.next = add i64 %epil.iter474, 1
  %epil.iter474.cmp.not = icmp eq i64 %epil.iter474.next, %xtraiter473
  br i1 %epil.iter474.cmp.not, label %.epilog-lcssa, label %.preheader310.epil, !llvm.loop !15

.epilog-lcssa:                                    ; preds = %.preheader310.epil, %.unr-lcssa
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %7, i64 noundef %.0283356, ptr noundef %1)
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %8, i64 noundef %.0277357, ptr noundef %1)
  br label %67

67:                                               ; preds = %.epilog-lcssa, %67
  %.2281341 = phi i64 [ 0, %.epilog-lcssa ], [ %72, %67 ]
  %68 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %1)
  %69 = call double @llvm.fmuladd.f64(double %68, double 2.000000e+01, double -1.000000e+01)
  %70 = load ptr, ptr %21, align 8, !tbaa !5
  %71 = getelementptr inbounds double, ptr %70, i64 %.2281341
  store double %69, ptr %71, align 8, !tbaa !8
  %72 = add nuw nsw i64 %.2281341, 1
  %exitcond383.not = icmp eq i64 %72, %.0283356
  br i1 %exitcond383.not, label %.preheader309, label %67, !llvm.loop !16

.preheader309:                                    ; preds = %67, %.preheader309
  %.3282342 = phi i64 [ %77, %.preheader309 ], [ 0, %67 ]
  %73 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %1)
  %74 = call double @llvm.fmuladd.f64(double %73, double 2.000000e+01, double -1.000000e+01)
  %75 = load ptr, ptr %22, align 8, !tbaa !5
  %76 = getelementptr inbounds double, ptr %75, i64 %.3282342
  store double %74, ptr %76, align 8, !tbaa !8
  %77 = add nuw nsw i64 %.3282342, 1
  %exitcond384.not = icmp eq i64 %77, %.0277357
  br i1 %exitcond384.not, label %78, label %.preheader309, !llvm.loop !17

78:                                               ; preds = %.preheader309
  br i1 %.not, label %.preheader301, label %.preheader303

.preheader303:                                    ; preds = %78, %105
  %.4344 = phi i64 [ %106, %105 ], [ 0, %78 ]
  br label %79

79:                                               ; preds = %.preheader303, %79
  %.0278343 = phi i64 [ 0, %.preheader303 ], [ %104, %79 ]
  %80 = load ptr, ptr %19, align 8, !tbaa !5
  %81 = getelementptr inbounds double, ptr %80, i64 %.4344
  %82 = load double, ptr %81, align 8, !tbaa !8
  %83 = load ptr, ptr %23, align 8, !tbaa !5
  %84 = getelementptr inbounds ptr, ptr %83, i64 %.4344
  %85 = load ptr, ptr %84, align 8, !tbaa !18
  %86 = getelementptr inbounds double, ptr %85, i64 %.0278343
  %87 = load double, ptr %86, align 8, !tbaa !8
  %88 = load ptr, ptr %21, align 8, !tbaa !5
  %89 = getelementptr inbounds double, ptr %88, i64 %.0278343
  %90 = load double, ptr %89, align 8, !tbaa !8
  %91 = call double @llvm.fmuladd.f64(double %87, double %90, double %82)
  store double %91, ptr %81, align 8, !tbaa !8
  %92 = load ptr, ptr %20, align 8, !tbaa !5
  %93 = getelementptr inbounds double, ptr %92, i64 %.0278343
  %94 = load double, ptr %93, align 8, !tbaa !8
  %95 = load ptr, ptr %23, align 8, !tbaa !5
  %96 = getelementptr inbounds ptr, ptr %95, i64 %.4344
  %97 = load ptr, ptr %96, align 8, !tbaa !18
  %98 = getelementptr inbounds double, ptr %97, i64 %.0278343
  %99 = load double, ptr %98, align 8, !tbaa !8
  %100 = load ptr, ptr %22, align 8, !tbaa !5
  %101 = getelementptr inbounds double, ptr %100, i64 %.4344
  %102 = load double, ptr %101, align 8, !tbaa !8
  %103 = call double @llvm.fmuladd.f64(double %99, double %102, double %94)
  store double %103, ptr %93, align 8, !tbaa !8
  %104 = add nuw nsw i64 %.0278343, 1
  %exitcond385.not = icmp eq i64 %104, %.0283356
  br i1 %exitcond385.not, label %105, label %79, !llvm.loop !20

105:                                              ; preds = %79
  %106 = add nuw nsw i64 %.4344, 1
  %exitcond386.not = icmp eq i64 %106, %.0277357
  br i1 %exitcond386.not, label %107, label %.preheader303, !llvm.loop !21

107:                                              ; preds = %105
  call void @_ZN11alglib_impl8sparsemvEPNS_12sparsematrixEPNS_9ae_vectorES3_PNS_8ae_stateE(ptr noundef nonnull %4, ptr noundef nonnull %7, ptr noundef nonnull %11, ptr noundef %1)
  call void @_ZN11alglib_impl9sparsemtvEPNS_12sparsematrixEPNS_9ae_vectorES3_PNS_8ae_stateE(ptr noundef nonnull %4, ptr noundef nonnull %8, ptr noundef nonnull %12, ptr noundef %1)
  call void @_ZN11alglib_impl8sparsemvEPNS_12sparsematrixEPNS_9ae_vectorES3_PNS_8ae_stateE(ptr noundef nonnull %5, ptr noundef nonnull %7, ptr noundef nonnull %15, ptr noundef %1)
  call void @_ZN11alglib_impl9sparsemtvEPNS_12sparsematrixEPNS_9ae_vectorES3_PNS_8ae_stateE(ptr noundef nonnull %5, ptr noundef nonnull %8, ptr noundef nonnull %16, ptr noundef %1)
  br label %108

108:                                              ; preds = %107, %152
  %.5345 = phi i64 [ 0, %107 ], [ %153, %152 ]
  %109 = load ptr, ptr %24, align 8, !tbaa !5
  %110 = getelementptr inbounds double, ptr %109, i64 %.5345
  %111 = load double, ptr %110, align 8, !tbaa !8
  %112 = load ptr, ptr %19, align 8, !tbaa !5
  %113 = getelementptr inbounds double, ptr %112, i64 %.5345
  %114 = load double, ptr %113, align 8, !tbaa !8
  %115 = fsub double %111, %114
  %116 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %115, ptr noundef %1)
  %117 = call noundef zeroext i1 @_ZN11alglib_impl16ae_fp_greater_eqEdd(double noundef %116, double noundef 5.000000e-13)
  br i1 %117, label %137, label %118

118:                                              ; preds = %108
  %119 = load ptr, ptr %25, align 8, !tbaa !5
  %120 = getelementptr inbounds double, ptr %119, i64 %.5345
  %121 = load double, ptr %120, align 8, !tbaa !8
  %122 = load ptr, ptr %19, align 8, !tbaa !5
  %123 = getelementptr inbounds double, ptr %122, i64 %.5345
  %124 = load double, ptr %123, align 8, !tbaa !8
  %125 = fsub double %121, %124
  %126 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %125, ptr noundef %1)
  %127 = call noundef zeroext i1 @_ZN11alglib_impl16ae_fp_greater_eqEdd(double noundef %126, double noundef 5.000000e-13)
  br i1 %127, label %137, label %128

128:                                              ; preds = %118
  %129 = load ptr, ptr %25, align 8, !tbaa !5
  %130 = getelementptr inbounds double, ptr %129, i64 %.5345
  %131 = load double, ptr %130, align 8, !tbaa !8
  %132 = load ptr, ptr %24, align 8, !tbaa !5
  %133 = getelementptr inbounds double, ptr %132, i64 %.5345
  %134 = load double, ptr %133, align 8, !tbaa !8
  %135 = fsub double %131, %134
  %136 = call noundef zeroext i1 @_ZN11alglib_impl9ae_fp_neqEdd(double noundef %135, double noundef 0.000000e+00)
  br i1 %136, label %137, label %152

137:                                              ; preds = %128, %118, %108
  br i1 %0, label %426, label %138

138:                                              ; preds = %137
  %139 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.159)
  %140 = trunc i64 %.5345 to i32
  %141 = load ptr, ptr %24, align 8, !tbaa !5
  %142 = getelementptr inbounds double, ptr %141, i64 %.5345
  %143 = load double, ptr %142, align 8, !tbaa !8
  %144 = load ptr, ptr %19, align 8, !tbaa !5
  %145 = getelementptr inbounds double, ptr %144, i64 %.5345
  %146 = load double, ptr %145, align 8, !tbaa !8
  %147 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.160, i32 noundef %140, double noundef %143, i32 noundef %140, double noundef %146)
  %148 = load ptr, ptr %25, align 8, !tbaa !5
  %149 = getelementptr inbounds double, ptr %148, i64 %.5345
  %150 = load double, ptr %149, align 8, !tbaa !8
  %151 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.161, i32 noundef %140, double noundef %150)
  br label %.sink.split

152:                                              ; preds = %128
  %153 = add nuw nsw i64 %.5345, 1
  %exitcond387.not = icmp eq i64 %153, %.0277357
  br i1 %exitcond387.not, label %.preheader307, label %108, !llvm.loop !22

.preheader307:                                    ; preds = %152, %197
  %.6346 = phi i64 [ %198, %197 ], [ 0, %152 ]
  %154 = load ptr, ptr %26, align 8, !tbaa !5
  %155 = getelementptr inbounds double, ptr %154, i64 %.6346
  %156 = load double, ptr %155, align 8, !tbaa !8
  %157 = load ptr, ptr %20, align 8, !tbaa !5
  %158 = getelementptr inbounds double, ptr %157, i64 %.6346
  %159 = load double, ptr %158, align 8, !tbaa !8
  %160 = fsub double %156, %159
  %161 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %160, ptr noundef %1)
  %162 = call noundef zeroext i1 @_ZN11alglib_impl16ae_fp_greater_eqEdd(double noundef %161, double noundef 5.000000e-13)
  br i1 %162, label %182, label %163

163:                                              ; preds = %.preheader307
  %164 = load ptr, ptr %27, align 8, !tbaa !5
  %165 = getelementptr inbounds double, ptr %164, i64 %.6346
  %166 = load double, ptr %165, align 8, !tbaa !8
  %167 = load ptr, ptr %20, align 8, !tbaa !5
  %168 = getelementptr inbounds double, ptr %167, i64 %.6346
  %169 = load double, ptr %168, align 8, !tbaa !8
  %170 = fsub double %166, %169
  %171 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %170, ptr noundef %1)
  %172 = call noundef zeroext i1 @_ZN11alglib_impl16ae_fp_greater_eqEdd(double noundef %171, double noundef 5.000000e-13)
  br i1 %172, label %182, label %173

173:                                              ; preds = %163
  %174 = load ptr, ptr %27, align 8, !tbaa !5
  %175 = getelementptr inbounds double, ptr %174, i64 %.6346
  %176 = load double, ptr %175, align 8, !tbaa !8
  %177 = load ptr, ptr %26, align 8, !tbaa !5
  %178 = getelementptr inbounds double, ptr %177, i64 %.6346
  %179 = load double, ptr %178, align 8, !tbaa !8
  %180 = fsub double %176, %179
  %181 = call noundef zeroext i1 @_ZN11alglib_impl9ae_fp_neqEdd(double noundef %180, double noundef 0.000000e+00)
  br i1 %181, label %182, label %197

182:                                              ; preds = %173, %163, %.preheader307
  br i1 %0, label %426, label %183

183:                                              ; preds = %182
  %184 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.162)
  %185 = trunc i64 %.6346 to i32
  %186 = load ptr, ptr %26, align 8, !tbaa !5
  %187 = getelementptr inbounds double, ptr %186, i64 %.6346
  %188 = load double, ptr %187, align 8, !tbaa !8
  %189 = load ptr, ptr %20, align 8, !tbaa !5
  %190 = getelementptr inbounds double, ptr %189, i64 %.6346
  %191 = load double, ptr %190, align 8, !tbaa !8
  %192 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.163, i32 noundef %185, double noundef %188, i32 noundef %185, double noundef %191)
  %193 = load ptr, ptr %27, align 8, !tbaa !5
  %194 = getelementptr inbounds double, ptr %193, i64 %.6346
  %195 = load double, ptr %194, align 8, !tbaa !8
  %196 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.164, i32 noundef %185, double noundef %195)
  br label %.sink.split

197:                                              ; preds = %173
  %198 = add nuw nsw i64 %.6346, 1
  %exitcond388.not = icmp eq i64 %198, %.0283356
  br i1 %exitcond388.not, label %199, label %.preheader307, !llvm.loop !23

199:                                              ; preds = %197
  call void @_ZN11alglib_impl10sparsecopyEPNS_12sparsematrixES1_PNS_8ae_stateE(ptr noundef nonnull %4, ptr noundef nonnull %5, ptr noundef %1)
  br label %.preheader302

.preheader302:                                    ; preds = %199, %213
  %.7348 = phi i64 [ 0, %199 ], [ %214, %213 ]
  br label %200

200:                                              ; preds = %.preheader302, %211
  %.1347 = phi i64 [ 0, %.preheader302 ], [ %212, %211 ]
  %201 = call noundef double @_ZN11alglib_impl9sparsegetEPNS_12sparsematrixEllPNS_8ae_stateE(ptr noundef nonnull %4, i64 noundef %.7348, i64 noundef %.1347, ptr noundef %1)
  %202 = call noundef double @_ZN11alglib_impl9sparsegetEPNS_12sparsematrixEllPNS_8ae_stateE(ptr noundef nonnull %5, i64 noundef %.7348, i64 noundef %.1347, ptr noundef %1)
  %203 = call noundef zeroext i1 @_ZN11alglib_impl9ae_fp_neqEdd(double noundef %201, double noundef %202)
  br i1 %203, label %204, label %211

204:                                              ; preds = %200
  br i1 %0, label %426, label %205

205:                                              ; preds = %204
  %206 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.165)
  %207 = trunc i64 %.7348 to i32
  %208 = trunc i64 %.1347 to i32
  %209 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.155, i32 noundef %207, i32 noundef %208, double noundef %201)
  %210 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.156, i32 noundef %207, i32 noundef %208, double noundef %202)
  br label %.sink.split

211:                                              ; preds = %200
  %212 = add nuw nsw i64 %.1347, 1
  %exitcond389.not = icmp eq i64 %212, %.0283356
  br i1 %exitcond389.not, label %213, label %200, !llvm.loop !24

213:                                              ; preds = %211
  %214 = add nuw nsw i64 %.7348, 1
  %exitcond390.not = icmp eq i64 %214, %.0277357
  br i1 %exitcond390.not, label %.loopexit, label %.preheader302, !llvm.loop !25

.preheader301:                                    ; preds = %78, %241
  %.8350 = phi i64 [ %242, %241 ], [ 0, %78 ]
  br label %215

215:                                              ; preds = %.preheader301, %215
  %.2349 = phi i64 [ 0, %.preheader301 ], [ %240, %215 ]
  %216 = load ptr, ptr %19, align 8, !tbaa !5
  %217 = getelementptr inbounds double, ptr %216, i64 %.8350
  %218 = load double, ptr %217, align 8, !tbaa !8
  %219 = load ptr, ptr %23, align 8, !tbaa !5
  %220 = getelementptr inbounds ptr, ptr %219, i64 %.8350
  %221 = load ptr, ptr %220, align 8, !tbaa !18
  %222 = getelementptr inbounds double, ptr %221, i64 %.2349
  %223 = load double, ptr %222, align 8, !tbaa !8
  %224 = load ptr, ptr %21, align 8, !tbaa !5
  %225 = getelementptr inbounds double, ptr %224, i64 %.2349
  %226 = load double, ptr %225, align 8, !tbaa !8
  %227 = call double @llvm.fmuladd.f64(double %223, double %226, double %218)
  store double %227, ptr %217, align 8, !tbaa !8
  %228 = load ptr, ptr %20, align 8, !tbaa !5
  %229 = getelementptr inbounds double, ptr %228, i64 %.2349
  %230 = load double, ptr %229, align 8, !tbaa !8
  %231 = load ptr, ptr %23, align 8, !tbaa !5
  %232 = getelementptr inbounds ptr, ptr %231, i64 %.8350
  %233 = load ptr, ptr %232, align 8, !tbaa !18
  %234 = getelementptr inbounds double, ptr %233, i64 %.2349
  %235 = load double, ptr %234, align 8, !tbaa !8
  %236 = load ptr, ptr %21, align 8, !tbaa !5
  %237 = getelementptr inbounds double, ptr %236, i64 %.8350
  %238 = load double, ptr %237, align 8, !tbaa !8
  %239 = call double @llvm.fmuladd.f64(double %235, double %238, double %230)
  store double %239, ptr %229, align 8, !tbaa !8
  %240 = add nuw nsw i64 %.2349, 1
  %exitcond391.not = icmp eq i64 %240, %.0277357
  br i1 %exitcond391.not, label %241, label %215, !llvm.loop !26

241:                                              ; preds = %215
  %242 = add nuw nsw i64 %.8350, 1
  %exitcond392.not = icmp eq i64 %242, %.0277357
  br i1 %exitcond392.not, label %243, label %.preheader301, !llvm.loop !27

243:                                              ; preds = %241
  call void @_ZN11alglib_impl8sparsemvEPNS_12sparsematrixEPNS_9ae_vectorES3_PNS_8ae_stateE(ptr noundef nonnull %4, ptr noundef nonnull %7, ptr noundef nonnull %11, ptr noundef %1)
  call void @_ZN11alglib_impl9sparsemtvEPNS_12sparsematrixEPNS_9ae_vectorES3_PNS_8ae_stateE(ptr noundef nonnull %4, ptr noundef nonnull %7, ptr noundef nonnull %12, ptr noundef %1)
  call void @_ZN11alglib_impl9sparsemv2EPNS_12sparsematrixEPNS_9ae_vectorES3_S3_PNS_8ae_stateE(ptr noundef nonnull %4, ptr noundef nonnull %7, ptr noundef nonnull %13, ptr noundef nonnull %14, ptr noundef %1)
  call void @_ZN11alglib_impl8sparsemvEPNS_12sparsematrixEPNS_9ae_vectorES3_PNS_8ae_stateE(ptr noundef nonnull %5, ptr noundef nonnull %7, ptr noundef nonnull %15, ptr noundef %1)
  call void @_ZN11alglib_impl9sparsemtvEPNS_12sparsematrixEPNS_9ae_vectorES3_PNS_8ae_stateE(ptr noundef nonnull %5, ptr noundef nonnull %7, ptr noundef nonnull %16, ptr noundef %1)
  call void @_ZN11alglib_impl9sparsemv2EPNS_12sparsematrixEPNS_9ae_vectorES3_S3_PNS_8ae_stateE(ptr noundef nonnull %5, ptr noundef nonnull %7, ptr noundef nonnull %17, ptr noundef nonnull %18, ptr noundef %1)
  br label %244

244:                                              ; preds = %243, %328
  %.9351 = phi i64 [ 0, %243 ], [ %329, %328 ]
  %245 = load ptr, ptr %28, align 8, !tbaa !5
  %246 = getelementptr inbounds double, ptr %245, i64 %.9351
  %247 = load double, ptr %246, align 8, !tbaa !8
  %248 = load ptr, ptr %19, align 8, !tbaa !5
  %249 = getelementptr inbounds double, ptr %248, i64 %.9351
  %250 = load double, ptr %249, align 8, !tbaa !8
  %251 = fsub double %247, %250
  %252 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %251, ptr noundef %1)
  %253 = call noundef zeroext i1 @_ZN11alglib_impl16ae_fp_greater_eqEdd(double noundef %252, double noundef 5.000000e-13)
  br i1 %253, label %302, label %254

254:                                              ; preds = %244
  %255 = load ptr, ptr %29, align 8, !tbaa !5
  %256 = getelementptr inbounds double, ptr %255, i64 %.9351
  %257 = load double, ptr %256, align 8, !tbaa !8
  %258 = load ptr, ptr %20, align 8, !tbaa !5
  %259 = getelementptr inbounds double, ptr %258, i64 %.9351
  %260 = load double, ptr %259, align 8, !tbaa !8
  %261 = fsub double %257, %260
  %262 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %261, ptr noundef %1)
  %263 = call noundef zeroext i1 @_ZN11alglib_impl16ae_fp_greater_eqEdd(double noundef %262, double noundef 5.000000e-13)
  br i1 %263, label %302, label %264

264:                                              ; preds = %254
  %265 = load ptr, ptr %30, align 8, !tbaa !5
  %266 = getelementptr inbounds double, ptr %265, i64 %.9351
  %267 = load double, ptr %266, align 8, !tbaa !8
  %268 = load ptr, ptr %19, align 8, !tbaa !5
  %269 = getelementptr inbounds double, ptr %268, i64 %.9351
  %270 = load double, ptr %269, align 8, !tbaa !8
  %271 = fsub double %267, %270
  %272 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %271, ptr noundef %1)
  %273 = call noundef zeroext i1 @_ZN11alglib_impl16ae_fp_greater_eqEdd(double noundef %272, double noundef 5.000000e-13)
  br i1 %273, label %302, label %274

274:                                              ; preds = %264
  %275 = load ptr, ptr %31, align 8, !tbaa !5
  %276 = getelementptr inbounds double, ptr %275, i64 %.9351
  %277 = load double, ptr %276, align 8, !tbaa !8
  %278 = load ptr, ptr %20, align 8, !tbaa !5
  %279 = getelementptr inbounds double, ptr %278, i64 %.9351
  %280 = load double, ptr %279, align 8, !tbaa !8
  %281 = fsub double %277, %280
  %282 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %281, ptr noundef %1)
  %283 = call noundef zeroext i1 @_ZN11alglib_impl16ae_fp_greater_eqEdd(double noundef %282, double noundef 5.000000e-13)
  br i1 %283, label %302, label %284

284:                                              ; preds = %274
  %285 = load ptr, ptr %30, align 8, !tbaa !5
  %286 = getelementptr inbounds double, ptr %285, i64 %.9351
  %287 = load double, ptr %286, align 8, !tbaa !8
  %288 = load ptr, ptr %28, align 8, !tbaa !5
  %289 = getelementptr inbounds double, ptr %288, i64 %.9351
  %290 = load double, ptr %289, align 8, !tbaa !8
  %291 = fsub double %287, %290
  %292 = call noundef zeroext i1 @_ZN11alglib_impl9ae_fp_neqEdd(double noundef %291, double noundef 0.000000e+00)
  br i1 %292, label %302, label %293

293:                                              ; preds = %284
  %294 = load ptr, ptr %31, align 8, !tbaa !5
  %295 = getelementptr inbounds double, ptr %294, i64 %.9351
  %296 = load double, ptr %295, align 8, !tbaa !8
  %297 = load ptr, ptr %29, align 8, !tbaa !5
  %298 = getelementptr inbounds double, ptr %297, i64 %.9351
  %299 = load double, ptr %298, align 8, !tbaa !8
  %300 = fsub double %296, %299
  %301 = call noundef zeroext i1 @_ZN11alglib_impl9ae_fp_neqEdd(double noundef %300, double noundef 0.000000e+00)
  br i1 %301, label %302, label %328

302:                                              ; preds = %293, %284, %274, %264, %254, %244
  br i1 %0, label %426, label %303

303:                                              ; preds = %302
  %304 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.166)
  %305 = trunc i64 %.9351 to i32
  %306 = load ptr, ptr %28, align 8, !tbaa !5
  %307 = getelementptr inbounds double, ptr %306, i64 %.9351
  %308 = load double, ptr %307, align 8, !tbaa !8
  %309 = load ptr, ptr %19, align 8, !tbaa !5
  %310 = getelementptr inbounds double, ptr %309, i64 %.9351
  %311 = load double, ptr %310, align 8, !tbaa !8
  %312 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.167, i32 noundef %305, double noundef %308, i32 noundef %305, double noundef %311)
  %313 = load ptr, ptr %29, align 8, !tbaa !5
  %314 = getelementptr inbounds double, ptr %313, i64 %.9351
  %315 = load double, ptr %314, align 8, !tbaa !8
  %316 = load ptr, ptr %20, align 8, !tbaa !5
  %317 = getelementptr inbounds double, ptr %316, i64 %.9351
  %318 = load double, ptr %317, align 8, !tbaa !8
  %319 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.168, i32 noundef %305, double noundef %315, i32 noundef %305, double noundef %318)
  %320 = load ptr, ptr %30, align 8, !tbaa !5
  %321 = getelementptr inbounds double, ptr %320, i64 %.9351
  %322 = load double, ptr %321, align 8, !tbaa !8
  %323 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.169, i32 noundef %305, double noundef %322)
  %324 = load ptr, ptr %31, align 8, !tbaa !5
  %325 = getelementptr inbounds double, ptr %324, i64 %.9351
  %326 = load double, ptr %325, align 8, !tbaa !8
  %327 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.170, i32 noundef %305, double noundef %326)
  br label %.sink.split

328:                                              ; preds = %293
  %329 = add nuw nsw i64 %.9351, 1
  %exitcond393.not = icmp eq i64 %329, %.0277357
  br i1 %exitcond393.not, label %.preheader304, label %244, !llvm.loop !28

.preheader304:                                    ; preds = %328, %401
  %.10352 = phi i64 [ %402, %401 ], [ 0, %328 ]
  %330 = load ptr, ptr %28, align 8, !tbaa !5
  %331 = getelementptr inbounds double, ptr %330, i64 %.10352
  %332 = load double, ptr %331, align 8, !tbaa !8
  %333 = load ptr, ptr %24, align 8, !tbaa !5
  %334 = getelementptr inbounds double, ptr %333, i64 %.10352
  %335 = load double, ptr %334, align 8, !tbaa !8
  %336 = fsub double %332, %335
  %337 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %336, ptr noundef %1)
  %338 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %337, double noundef 5.000000e-13)
  br i1 %338, label %369, label %339

339:                                              ; preds = %.preheader304
  %340 = load ptr, ptr %29, align 8, !tbaa !5
  %341 = getelementptr inbounds double, ptr %340, i64 %.10352
  %342 = load double, ptr %341, align 8, !tbaa !8
  %343 = load ptr, ptr %26, align 8, !tbaa !5
  %344 = getelementptr inbounds double, ptr %343, i64 %.10352
  %345 = load double, ptr %344, align 8, !tbaa !8
  %346 = fsub double %342, %345
  %347 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %346, ptr noundef %1)
  %348 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %347, double noundef 5.000000e-13)
  br i1 %348, label %369, label %349

349:                                              ; preds = %339
  %350 = load ptr, ptr %30, align 8, !tbaa !5
  %351 = getelementptr inbounds double, ptr %350, i64 %.10352
  %352 = load double, ptr %351, align 8, !tbaa !8
  %353 = load ptr, ptr %25, align 8, !tbaa !5
  %354 = getelementptr inbounds double, ptr %353, i64 %.10352
  %355 = load double, ptr %354, align 8, !tbaa !8
  %356 = fsub double %352, %355
  %357 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %356, ptr noundef %1)
  %358 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %357, double noundef 5.000000e-13)
  br i1 %358, label %369, label %359

359:                                              ; preds = %349
  %360 = load ptr, ptr %31, align 8, !tbaa !5
  %361 = getelementptr inbounds double, ptr %360, i64 %.10352
  %362 = load double, ptr %361, align 8, !tbaa !8
  %363 = load ptr, ptr %27, align 8, !tbaa !5
  %364 = getelementptr inbounds double, ptr %363, i64 %.10352
  %365 = load double, ptr %364, align 8, !tbaa !8
  %366 = fsub double %362, %365
  %367 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %366, ptr noundef %1)
  %368 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %367, double noundef 5.000000e-13)
  br i1 %368, label %369, label %401

369:                                              ; preds = %359, %349, %339, %.preheader304
  br i1 %0, label %426, label %370

370:                                              ; preds = %369
  %371 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.171)
  %372 = trunc i64 %.10352 to i32
  %373 = load ptr, ptr %28, align 8, !tbaa !5
  %374 = getelementptr inbounds double, ptr %373, i64 %.10352
  %375 = load double, ptr %374, align 8, !tbaa !8
  %376 = load ptr, ptr %24, align 8, !tbaa !5
  %377 = getelementptr inbounds double, ptr %376, i64 %.10352
  %378 = load double, ptr %377, align 8, !tbaa !8
  %379 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.172, i32 noundef %372, double noundef %375, i32 noundef %372, double noundef %378)
  %380 = load ptr, ptr %29, align 8, !tbaa !5
  %381 = getelementptr inbounds double, ptr %380, i64 %.10352
  %382 = load double, ptr %381, align 8, !tbaa !8
  %383 = load ptr, ptr %26, align 8, !tbaa !5
  %384 = getelementptr inbounds double, ptr %383, i64 %.10352
  %385 = load double, ptr %384, align 8, !tbaa !8
  %386 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.173, i32 noundef %372, double noundef %382, i32 noundef %372, double noundef %385)
  %387 = load ptr, ptr %30, align 8, !tbaa !5
  %388 = getelementptr inbounds double, ptr %387, i64 %.10352
  %389 = load double, ptr %388, align 8, !tbaa !8
  %390 = load ptr, ptr %25, align 8, !tbaa !5
  %391 = getelementptr inbounds double, ptr %390, i64 %.10352
  %392 = load double, ptr %391, align 8, !tbaa !8
  %393 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.174, i32 noundef %372, double noundef %389, i32 noundef %372, double noundef %392)
  %394 = load ptr, ptr %31, align 8, !tbaa !5
  %395 = getelementptr inbounds double, ptr %394, i64 %.10352
  %396 = load double, ptr %395, align 8, !tbaa !8
  %397 = load ptr, ptr %27, align 8, !tbaa !5
  %398 = getelementptr inbounds double, ptr %397, i64 %.10352
  %399 = load double, ptr %398, align 8, !tbaa !8
  %400 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.175, i32 noundef %372, double noundef %396, i32 noundef %372, double noundef %399)
  br label %.sink.split

401:                                              ; preds = %359
  %402 = add nuw nsw i64 %.10352, 1
  %exitcond394.not = icmp eq i64 %402, %.0277357
  br i1 %exitcond394.not, label %403, label %.preheader304, !llvm.loop !29

403:                                              ; preds = %401
  call void @_ZN11alglib_impl10sparsecopyEPNS_12sparsematrixES1_PNS_8ae_stateE(ptr noundef nonnull %4, ptr noundef nonnull %5, ptr noundef %1)
  br label %.preheader

.preheader:                                       ; preds = %403, %417
  %.11354 = phi i64 [ 0, %403 ], [ %418, %417 ]
  br label %404

404:                                              ; preds = %.preheader, %415
  %.3353 = phi i64 [ 0, %.preheader ], [ %416, %415 ]
  %405 = call noundef double @_ZN11alglib_impl9sparsegetEPNS_12sparsematrixEllPNS_8ae_stateE(ptr noundef nonnull %4, i64 noundef %.11354, i64 noundef %.3353, ptr noundef %1)
  %406 = call noundef double @_ZN11alglib_impl9sparsegetEPNS_12sparsematrixEllPNS_8ae_stateE(ptr noundef nonnull %5, i64 noundef %.11354, i64 noundef %.3353, ptr noundef %1)
  %407 = call noundef zeroext i1 @_ZN11alglib_impl9ae_fp_neqEdd(double noundef %405, double noundef %406)
  br i1 %407, label %408, label %415

408:                                              ; preds = %404
  br i1 %0, label %426, label %409

409:                                              ; preds = %408
  %410 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.165)
  %411 = trunc i64 %.11354 to i32
  %412 = trunc i64 %.3353 to i32
  %413 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.155, i32 noundef %411, i32 noundef %412, double noundef %405)
  %414 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.156, i32 noundef %411, i32 noundef %412, double noundef %406)
  br label %.sink.split

415:                                              ; preds = %404
  %416 = add nuw nsw i64 %.3353, 1
  %exitcond395.not = icmp eq i64 %416, %.0277357
  br i1 %exitcond395.not, label %417, label %404, !llvm.loop !30

417:                                              ; preds = %415
  %418 = add nuw nsw i64 %.11354, 1
  %exitcond396.not = icmp eq i64 %418, %.0277357
  br i1 %exitcond396.not, label %.loopexit, label %.preheader, !llvm.loop !31

.loopexit:                                        ; preds = %213, %417
  br i1 %36, label %35, label %419, !llvm.loop !32

419:                                              ; preds = %.loopexit
  %420 = add nuw nsw i64 %.0283356, 1
  %exitcond397.not = icmp eq i64 %420, 30
  %indvar.next472 = add i64 %indvar471, 1
  br i1 %exitcond397.not, label %421, label %.preheader311, !llvm.loop !33

421:                                              ; preds = %419
  %422 = add nuw nsw i64 %.0277357, 1
  %423 = icmp ult i64 %.0277357, 29
  %exitcond398.not = icmp eq i64 %422, 30
  %indvar.next = add i64 %indvar, 1
  br i1 %exitcond398.not, label %424, label %.preheader312, !llvm.loop !34

424:                                              ; preds = %421
  br i1 %0, label %426, label %.sink.split

.sink.split:                                      ; preds = %424, %138, %183, %205, %303, %370, %409
  %.str.158.sink = phi ptr [ @.str.157, %409 ], [ @.str.157, %370 ], [ @.str.157, %303 ], [ @.str.157, %205 ], [ @.str.157, %183 ], [ @.str.157, %138 ], [ @.str.158, %424 ]
  %.ph = phi i1 [ %32, %409 ], [ %32, %370 ], [ %32, %303 ], [ %32, %205 ], [ %32, %183 ], [ %32, %138 ], [ %423, %424 ]
  %425 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %.str.158.sink)
  br label %426

426:                                              ; preds = %.sink.split, %424, %408, %369, %302, %204, %182, %137
  %427 = phi i1 [ %32, %137 ], [ %32, %182 ], [ %32, %204 ], [ %32, %302 ], [ %32, %369 ], [ %32, %408 ], [ %423, %424 ], [ %.ph, %.sink.split ]
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %1)
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %18) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %17) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %16) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %15) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %14) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %13) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %12) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %11) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %10) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %9) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %8) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %7) #6
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %6) #6
  call void @llvm.lifetime.end.p0(i64 368, ptr nonnull %5) #6
  call void @llvm.lifetime.end.p0(i64 368, ptr nonnull %4) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #6
  ret i1 %427
}

declare void @_ZN11alglib_impl18_sparsematrix_initEPvPNS_8ae_stateEb(ptr noundef, ptr noundef, i1 noundef zeroext) local_unnamed_addr #1

declare void @_ZN11alglib_impl10sparsecopyEPNS_12sparsematrixES1_PNS_8ae_stateE(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

declare noundef double @_ZN11alglib_impl9sparsegetEPNS_12sparsematrixEllPNS_8ae_stateE(ptr noundef, i64 noundef, i64 noundef, ptr noundef) local_unnamed_addr #1

declare void @_ZN11alglib_impl8sparsemvEPNS_12sparsematrixEPNS_9ae_vectorES3_PNS_8ae_stateE(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

declare void @_ZN11alglib_impl9sparsemtvEPNS_12sparsematrixEPNS_9ae_vectorES3_PNS_8ae_stateE(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

declare void @_ZN11alglib_impl9sparsemv2EPNS_12sparsematrixEPNS_9ae_vectorES3_S3_PNS_8ae_stateE(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

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

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

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

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


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