; LLVM IR from venumb/ZSPACE :: cpp/depends/alglib/cpp/tests/test_c.ll (Z7skstestPN11alglib_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 }
%"struct.alglib_impl::hqrndstate" = type { i64, i64, i64 }

@.str.8 = external hidden unnamed_addr constant [87 x i8], align 1
@.str.51 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.52 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.53 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.54 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.55 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.56 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.57 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.58 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.59 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.60 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.61 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.62 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.63 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.64 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.65 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.66 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.67 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.68 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.69 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.70 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.71 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.72 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.73 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.74 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.75 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.76 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.77 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.78 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.79 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.80 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.81 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.82 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.83 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.84 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.85 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.86 = external hidden unnamed_addr constant [22 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 i64 @_ZN11alglib_impl8ae_roundEdPNS_8ae_stateE(double noundef, ptr noundef) #1

declare noundef zeroext i1 @_ZN11alglib_impl9ae_fp_neqEdd(double noundef, double 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 void @_ZN11alglib_impl20ae_matrix_set_lengthEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef, i64 noundef, i64 noundef, ptr noundef) #1

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

declare noundef i64 @_ZN11alglib_impl13hqrnduniformiEPNS_10hqrndstateElPNS_8ae_stateE(ptr noundef, i64 noundef, ptr noundef) #1

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_Z7skstestPN11alglib_impl8ae_stateE(ptr noundef %0) #3 {
  %2 = alloca ptr, align 8
  %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::sparsematrix", align 8
  %7 = alloca %"struct.alglib_impl::sparsematrix", align 8
  %8 = alloca %"struct.alglib_impl::sparsematrix", align 8
  %9 = alloca %"struct.alglib_impl::sparsematrix", align 8
  %10 = alloca %"struct.alglib_impl::sparsematrix", align 8
  %11 = alloca i64, align 8
  %12 = alloca i64, align 8
  %13 = alloca double, align 8
  %14 = alloca i64, align 8
  %15 = alloca i64, align 8
  %16 = alloca i64, align 8
  %17 = alloca i64, align 8
  %18 = alloca %"struct.alglib_impl::ae_matrix", align 8
  %19 = alloca %"struct.alglib_impl::ae_matrix", 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::hqrndstate", align 8
  %23 = alloca double, align 8
  %24 = alloca double, align 8
  %25 = alloca i64, align 8
  %26 = alloca i64, align 8
  %27 = alloca i64, align 8
  %28 = alloca i8, align 1
  store ptr %0, ptr %2, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %3) #4
  call void @llvm.lifetime.start.p0(i64 368, ptr %4) #4
  call void @llvm.lifetime.start.p0(i64 368, ptr %5) #4
  call void @llvm.lifetime.start.p0(i64 368, ptr %6) #4
  call void @llvm.lifetime.start.p0(i64 368, ptr %7) #4
  call void @llvm.lifetime.start.p0(i64 368, ptr %8) #4
  call void @llvm.lifetime.start.p0(i64 368, ptr %9) #4
  call void @llvm.lifetime.start.p0(i64 368, ptr %10) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #4
  call void @llvm.lifetime.start.p0(i64 80, ptr %18) #4
  call void @llvm.lifetime.start.p0(i64 80, ptr %19) #4
  call void @llvm.lifetime.start.p0(i64 64, ptr %20) #4
  call void @llvm.lifetime.start.p0(i64 64, ptr %21) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr %22) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #4
  call void @llvm.lifetime.start.p0(i64 1, ptr %28) #4
  %29 = load ptr, ptr %2, align 8, !tbaa !5
  call void @_ZN11alglib_impl13ae_frame_makeEPNS_8ae_stateEPNS_8ae_frameE(ptr noundef %29, ptr noundef %3)
  call void @llvm.memset.p0.i64(ptr align 8 %4, i8 0, i64 368, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %5, i8 0, i64 368, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %6, i8 0, i64 368, i1 false)
  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 %9, i8 0, i64 368, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %10, 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 80, 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 24, i1 false)
  %30 = load ptr, ptr %2, align 8, !tbaa !5
  call void @_ZN11alglib_impl18_sparsematrix_initEPvPNS_8ae_stateEb(ptr noundef %4, ptr noundef %30, i1 noundef zeroext true)
  %31 = load ptr, ptr %2, align 8, !tbaa !5
  call void @_ZN11alglib_impl18_sparsematrix_initEPvPNS_8ae_stateEb(ptr noundef %5, ptr noundef %31, i1 noundef zeroext true)
  %32 = load ptr, ptr %2, align 8, !tbaa !5
  call void @_ZN11alglib_impl18_sparsematrix_initEPvPNS_8ae_stateEb(ptr noundef %6, ptr noundef %32, i1 noundef zeroext true)
  %33 = load ptr, ptr %2, align 8, !tbaa !5
  call void @_ZN11alglib_impl18_sparsematrix_initEPvPNS_8ae_stateEb(ptr noundef %7, ptr noundef %33, i1 noundef zeroext true)
  %34 = load ptr, ptr %2, align 8, !tbaa !5
  call void @_ZN11alglib_impl18_sparsematrix_initEPvPNS_8ae_stateEb(ptr noundef %8, ptr noundef %34, i1 noundef zeroext true)
  %35 = load ptr, ptr %2, align 8, !tbaa !5
  call void @_ZN11alglib_impl18_sparsematrix_initEPvPNS_8ae_stateEb(ptr noundef %9, ptr noundef %35, i1 noundef zeroext true)
  %36 = load ptr, ptr %2, align 8, !tbaa !5
  call void @_ZN11alglib_impl18_sparsematrix_initEPvPNS_8ae_stateEb(ptr noundef %10, ptr noundef %36, i1 noundef zeroext true)
  %37 = load ptr, ptr %2, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_matrix_initEPNS_9ae_matrixElllPNS_8ae_stateEb(ptr noundef %18, i64 noundef 0, i64 noundef 0, i64 noundef 3, ptr noundef %37, i1 noundef zeroext true)
  %38 = load ptr, ptr %2, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_matrix_initEPNS_9ae_matrixElllPNS_8ae_stateEb(ptr noundef %19, i64 noundef 0, i64 noundef 0, i64 noundef 1, ptr noundef %38, i1 noundef zeroext true)
  %39 = load ptr, ptr %2, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef %20, i64 noundef 0, i64 noundef 2, ptr noundef %39, i1 noundef zeroext true)
  %40 = load ptr, ptr %2, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef %21, i64 noundef 0, i64 noundef 2, ptr noundef %40, i1 noundef zeroext true)
  %41 = load ptr, ptr %2, align 8, !tbaa !5
  call void @_ZN11alglib_impl16_hqrndstate_initEPvPNS_8ae_stateEb(ptr noundef %22, ptr noundef %41, i1 noundef zeroext true)
  store i8 0, ptr %28, align 1, !tbaa !9
  %42 = load ptr, ptr %2, align 8, !tbaa !5
  call void @_ZN11alglib_impl14hqrndrandomizeEPNS_10hqrndstateEPNS_8ae_stateE(ptr noundef %22, ptr noundef %42)
  store i64 1, ptr %11, align 8, !tbaa !11
  br label %43

43:                                               ; preds = %807, %1
  %44 = load i64, ptr %11, align 8, !tbaa !11
  %45 = icmp sle i64 %44, 20
  br i1 %45, label %46, label %810

46:                                               ; preds = %43
  %47 = load i64, ptr %11, align 8, !tbaa !11
  %48 = load i64, ptr %11, align 8, !tbaa !11
  %49 = mul nsw i64 %47, %48
  %50 = load i64, ptr %11, align 8, !tbaa !11
  %51 = sub nsw i64 %49, %50
  store i64 %51, ptr %12, align 8, !tbaa !11
  br label %52

52:                                               ; preds = %796, %46
  %53 = load i64, ptr %11, align 8, !tbaa !11
  %54 = icmp sgt i64 %53, 1
  br i1 %54, label %55, label %65

55:                                               ; preds = %52
  %56 = load i64, ptr %12, align 8, !tbaa !11
  %57 = sitofp i64 %56 to double
  %58 = load i64, ptr %11, align 8, !tbaa !11
  %59 = load i64, ptr %11, align 8, !tbaa !11
  %60 = mul nsw i64 %58, %59
  %61 = load i64, ptr %11, align 8, !tbaa !11
  %62 = sub nsw i64 %60, %61
  %63 = sitofp i64 %62 to double
  %64 = fdiv double %57, %63
  store double %64, ptr %13, align 8, !tbaa !13
  br label %66

65:                                               ; preds = %52
  store double 1.000000e+00, ptr %13, align 8, !tbaa !13
  br label %66

66:                                               ; preds = %65, %55
  %67 = load i64, ptr %11, align 8, !tbaa !11
  %68 = load ptr, ptr %2, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %20, i64 noundef %67, ptr noundef %68)
  %69 = load i64, ptr %11, align 8, !tbaa !11
  %70 = load ptr, ptr %2, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %21, i64 noundef %69, ptr noundef %70)
  %71 = load i64, ptr %11, align 8, !tbaa !11
  %72 = load i64, ptr %11, align 8, !tbaa !11
  %73 = load ptr, ptr %2, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_matrix_set_lengthEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef %18, i64 noundef %71, i64 noundef %72, ptr noundef %73)
  %74 = load ptr, ptr %2, align 8, !tbaa !5
  %75 = call noundef double @_ZN11alglib_impl11hqrndnormalEPNS_10hqrndstateEPNS_8ae_stateE(ptr noundef %22, ptr noundef %74)
  %76 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %75, double noundef 0.000000e+00)
  br i1 %76, label %77, label %181

77:                                               ; preds = %66
  store i64 0, ptr %14, align 8, !tbaa !11
  br label %78

78:                                               ; preds = %92, %77
  %79 = load i64, ptr %14, align 8, !tbaa !11
  %80 = load i64, ptr %11, align 8, !tbaa !11
  %81 = sub nsw i64 %80, 1
  %82 = icmp sle i64 %79, %81
  br i1 %82, label %83, label %95

83:                                               ; preds = %78
  %84 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %20, i32 0, i32 4
  %85 = load ptr, ptr %84, align 8, !tbaa !15
  %86 = load i64, ptr %14, align 8, !tbaa !11
  %87 = getelementptr inbounds i64, ptr %85, i64 %86
  store i64 0, ptr %87, align 8, !tbaa !11
  %88 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %21, i32 0, i32 4
  %89 = load ptr, ptr %88, align 8, !tbaa !15
  %90 = load i64, ptr %14, align 8, !tbaa !11
  %91 = getelementptr inbounds i64, ptr %89, i64 %90
  store i64 0, ptr %91, align 8, !tbaa !11
  br label %92

92:                                               ; preds = %83
  %93 = load i64, ptr %14, align 8, !tbaa !11
  %94 = add nsw i64 %93, 1
  store i64 %94, ptr %14, align 8, !tbaa !11
  br label %78, !llvm.loop !16

95:                                               ; preds = %78
  store i64 0, ptr %14, align 8, !tbaa !11
  br label %96

96:                                               ; preds = %174, %95
  %97 = load i64, ptr %14, align 8, !tbaa !11
  %98 = load i64, ptr %11, align 8, !tbaa !11
  %99 = sub nsw i64 %98, 1
  %100 = icmp sle i64 %97, %99
  br i1 %100, label %101, label %177

101:                                              ; preds = %96
  store i64 0, ptr %15, align 8, !tbaa !11
  br label %102

102:                                              ; preds = %170, %101
  %103 = load i64, ptr %15, align 8, !tbaa !11
  %104 = load i64, ptr %11, align 8, !tbaa !11
  %105 = sub nsw i64 %104, 1
  %106 = icmp sle i64 %103, %105
  br i1 %106, label %107, label %173

107:                                              ; preds = %102
  %108 = load i64, ptr %14, align 8, !tbaa !11
  %109 = load i64, ptr %15, align 8, !tbaa !11
  %110 = icmp eq i64 %108, %109
  br i1 %110, label %116, label %111

111:                                              ; preds = %107
  %112 = load ptr, ptr %2, align 8, !tbaa !5
  %113 = call noundef double @_ZN11alglib_impl13hqrnduniformrEPNS_10hqrndstateEPNS_8ae_stateE(ptr noundef %22, ptr noundef %112)
  %114 = load double, ptr %13, align 8, !tbaa !13
  %115 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_less_eqEdd(double noundef %113, double noundef %114)
  br i1 %115, label %116, label %161

116:                                              ; preds = %111, %107
  %117 = load ptr, ptr %2, align 8, !tbaa !5
  %118 = call noundef double @_ZN11alglib_impl13hqrnduniformrEPNS_10hqrndstateEPNS_8ae_stateE(ptr noundef %22, ptr noundef %117)
  %119 = fsub double %118, 5.000000e-01
  %120 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %18, i32 0, i32 6
  %121 = load ptr, ptr %120, align 8, !tbaa !15
  %122 = load i64, ptr %14, align 8, !tbaa !11
  %123 = getelementptr inbounds ptr, ptr %121, i64 %122
  %124 = load ptr, ptr %123, align 8, !tbaa !5
  %125 = load i64, ptr %15, align 8, !tbaa !11
  %126 = getelementptr inbounds double, ptr %124, i64 %125
  store double %119, ptr %126, align 8, !tbaa !13
  %127 = load i64, ptr %15, align 8, !tbaa !11
  %128 = load i64, ptr %14, align 8, !tbaa !11
  %129 = icmp slt i64 %127, %128
  br i1 %129, label %130, label %145

130:                                              ; preds = %116
  %131 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %20, i32 0, i32 4
  %132 = load ptr, ptr %131, align 8, !tbaa !15
  %133 = load i64, ptr %14, align 8, !tbaa !11
  %134 = getelementptr inbounds i64, ptr %132, i64 %133
  %135 = load i64, ptr %134, align 8, !tbaa !11
  %136 = load i64, ptr %14, align 8, !tbaa !11
  %137 = load i64, ptr %15, align 8, !tbaa !11
  %138 = sub nsw i64 %136, %137
  %139 = load ptr, ptr %2, align 8, !tbaa !5
  %140 = call noundef i64 @_ZN11alglib_impl9ae_maxintEllPNS_8ae_stateE(i64 noundef %135, i64 noundef %138, ptr noundef %139)
  %141 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %20, i32 0, i32 4
  %142 = load ptr, ptr %141, align 8, !tbaa !15
  %143 = load i64, ptr %14, align 8, !tbaa !11
  %144 = getelementptr inbounds i64, ptr %142, i64 %143
  store i64 %140, ptr %144, align 8, !tbaa !11
  br label %160

145:                                              ; preds = %116
  %146 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %21, i32 0, i32 4
  %147 = load ptr, ptr %146, align 8, !tbaa !15
  %148 = load i64, ptr %15, align 8, !tbaa !11
  %149 = getelementptr inbounds i64, ptr %147, i64 %148
  %150 = load i64, ptr %149, align 8, !tbaa !11
  %151 = load i64, ptr %15, align 8, !tbaa !11
  %152 = load i64, ptr %14, align 8, !tbaa !11
  %153 = sub nsw i64 %151, %152
  %154 = load ptr, ptr %2, align 8, !tbaa !5
  %155 = call noundef i64 @_ZN11alglib_impl9ae_maxintEllPNS_8ae_stateE(i64 noundef %150, i64 noundef %153, ptr noundef %154)
  %156 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %21, i32 0, i32 4
  %157 = load ptr, ptr %156, align 8, !tbaa !15
  %158 = load i64, ptr %15, align 8, !tbaa !11
  %159 = getelementptr inbounds i64, ptr %157, i64 %158
  store i64 %155, ptr %159, align 8, !tbaa !11
  br label %160

160:                                              ; preds = %145, %130
  br label %169

161:                                              ; preds = %111
  %162 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %18, i32 0, i32 6
  %163 = load ptr, ptr %162, align 8, !tbaa !15
  %164 = load i64, ptr %14, align 8, !tbaa !11
  %165 = getelementptr inbounds ptr, ptr %163, i64 %164
  %166 = load ptr, ptr %165, align 8, !tbaa !5
  %167 = load i64, ptr %15, align 8, !tbaa !11
  %168 = getelementptr inbounds double, ptr %166, i64 %167
  store double 0.000000e+00, ptr %168, align 8, !tbaa !13
  br label %169

169:                                              ; preds = %161, %160
  br label %170

170:                                              ; preds = %169
  %171 = load i64, ptr %15, align 8, !tbaa !11
  %172 = add nsw i64 %171, 1
  store i64 %172, ptr %15, align 8, !tbaa !11
  br label %102, !llvm.loop !18

173:                                              ; preds = %102
  br label %174

174:                                              ; preds = %173
  %175 = load i64, ptr %14, align 8, !tbaa !11
  %176 = add nsw i64 %175, 1
  store i64 %176, ptr %14, align 8, !tbaa !11
  br label %96, !llvm.loop !19

177:                                              ; preds = %96
  %178 = load i64, ptr %11, align 8, !tbaa !11
  %179 = load i64, ptr %11, align 8, !tbaa !11
  %180 = load ptr, ptr %2, align 8, !tbaa !5
  call void @_ZN11alglib_impl15sparsecreatesksEllPNS_9ae_vectorES1_PNS_12sparsematrixEPNS_8ae_stateE(i64 noundef %178, i64 noundef %179, ptr noundef %20, ptr noundef %21, ptr noundef %4, ptr noundef %180)
  br label %268

181:                                              ; preds = %66
  %182 = load i64, ptr %11, align 8, !tbaa !11
  %183 = add nsw i64 %182, 1
  %184 = load ptr, ptr %2, align 8, !tbaa !5
  %185 = call noundef i64 @_ZN11alglib_impl13hqrnduniformiEPNS_10hqrndstateElPNS_8ae_stateE(ptr noundef %22, i64 noundef %183, ptr noundef %184)
  store i64 %185, ptr %27, align 8, !tbaa !11
  store i64 0, ptr %14, align 8, !tbaa !11
  br label %186

186:                                              ; preds = %208, %181
  %187 = load i64, ptr %14, align 8, !tbaa !11
  %188 = load i64, ptr %11, align 8, !tbaa !11
  %189 = sub nsw i64 %188, 1
  %190 = icmp sle i64 %187, %189
  br i1 %190, label %191, label %211

191:                                              ; preds = %186
  %192 = load i64, ptr %27, align 8, !tbaa !11
  %193 = load i64, ptr %14, align 8, !tbaa !11
  %194 = load ptr, ptr %2, align 8, !tbaa !5
  %195 = call noundef i64 @_ZN11alglib_impl9ae_minintEllPNS_8ae_stateE(i64 noundef %192, i64 noundef %193, ptr noundef %194)
  %196 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %20, i32 0, i32 4
  %197 = load ptr, ptr %196, align 8, !tbaa !15
  %198 = load i64, ptr %14, align 8, !tbaa !11
  %199 = getelementptr inbounds i64, ptr %197, i64 %198
  store i64 %195, ptr %199, align 8, !tbaa !11
  %200 = load i64, ptr %27, align 8, !tbaa !11
  %201 = load i64, ptr %14, align 8, !tbaa !11
  %202 = load ptr, ptr %2, align 8, !tbaa !5
  %203 = call noundef i64 @_ZN11alglib_impl9ae_minintEllPNS_8ae_stateE(i64 noundef %200, i64 noundef %201, ptr noundef %202)
  %204 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %21, i32 0, i32 4
  %205 = load ptr, ptr %204, align 8, !tbaa !15
  %206 = load i64, ptr %14, align 8, !tbaa !11
  %207 = getelementptr inbounds i64, ptr %205, i64 %206
  store i64 %203, ptr %207, align 8, !tbaa !11
  br label %208

208:                                              ; preds = %191
  %209 = load i64, ptr %14, align 8, !tbaa !11
  %210 = add nsw i64 %209, 1
  store i64 %210, ptr %14, align 8, !tbaa !11
  br label %186, !llvm.loop !20

211:                                              ; preds = %186
  store i64 0, ptr %14, align 8, !tbaa !11
  br label %212

212:                                              ; preds = %260, %211
  %213 = load i64, ptr %14, align 8, !tbaa !11
  %214 = load i64, ptr %11, align 8, !tbaa !11
  %215 = sub nsw i64 %214, 1
  %216 = icmp sle i64 %213, %215
  br i1 %216, label %217, label %263

217:                                              ; preds = %212
  store i64 0, ptr %15, align 8, !tbaa !11
  br label %218

218:                                              ; preds = %256, %217
  %219 = load i64, ptr %15, align 8, !tbaa !11
  %220 = load i64, ptr %11, align 8, !tbaa !11
  %221 = sub nsw i64 %220, 1
  %222 = icmp sle i64 %219, %221
  br i1 %222, label %223, label %259

223:                                              ; preds = %218
  %224 = load i64, ptr %14, align 8, !tbaa !11
  %225 = load i64, ptr %15, align 8, !tbaa !11
  %226 = sub nsw i64 %224, %225
  %227 = load ptr, ptr %2, align 8, !tbaa !5
  %228 = call noundef i64 @_ZN11alglib_impl7ae_iabsElPNS_8ae_stateE(i64 noundef %226, ptr noundef %227)
  %229 = load i64, ptr %27, align 8, !tbaa !11
  %230 = icmp sle i64 %228, %229
  br i1 %230, label %231, label %247

231:                                              ; preds = %223
  %232 = load ptr, ptr %2, align 8, !tbaa !5
  %233 = call noundef double @_ZN11alglib_impl13hqrnduniformrEPNS_10hqrndstateEPNS_8ae_stateE(ptr noundef %22, ptr noundef %232)
  %234 = load double, ptr %13, align 8, !tbaa !13
  %235 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_less_eqEdd(double noundef %233, double noundef %234)
  br i1 %235, label %236, label %247

236:                                              ; preds = %231
  %237 = load ptr, ptr %2, align 8, !tbaa !5
  %238 = call noundef double @_ZN11alglib_impl13hqrnduniformrEPNS_10hqrndstateEPNS_8ae_stateE(ptr noundef %22, ptr noundef %237)
  %239 = fsub double %238, 5.000000e-01
  %240 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %18, i32 0, i32 6
  %241 = load ptr, ptr %240, align 8, !tbaa !15
  %242 = load i64, ptr %14, align 8, !tbaa !11
  %243 = getelementptr inbounds ptr, ptr %241, i64 %242
  %244 = load ptr, ptr %243, align 8, !tbaa !5
  %245 = load i64, ptr %15, align 8, !tbaa !11
  %246 = getelementptr inbounds double, ptr %244, i64 %245
  store double %239, ptr %246, align 8, !tbaa !13
  br label %255

247:                                              ; preds = %231, %223
  %248 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %18, i32 0, i32 6
  %249 = load ptr, ptr %248, align 8, !tbaa !15
  %250 = load i64, ptr %14, align 8, !tbaa !11
  %251 = getelementptr inbounds ptr, ptr %249, i64 %250
  %252 = load ptr, ptr %251, align 8, !tbaa !5
  %253 = load i64, ptr %15, align 8, !tbaa !11
  %254 = getelementptr inbounds double, ptr %252, i64 %253
  store double 0.000000e+00, ptr %254, align 8, !tbaa !13
  br label %255

255:                                              ; preds = %247, %236
  br label %256

256:                                              ; preds = %255
  %257 = load i64, ptr %15, align 8, !tbaa !11
  %258 = add nsw i64 %257, 1
  store i64 %258, ptr %15, align 8, !tbaa !11
  br label %218, !llvm.loop !21

259:                                              ; preds = %218
  br label %260

260:                                              ; preds = %259
  %261 = load i64, ptr %14, align 8, !tbaa !11
  %262 = add nsw i64 %261, 1
  store i64 %262, ptr %14, align 8, !tbaa !11
  br label %212, !llvm.loop !22

263:                                              ; preds = %212
  %264 = load i64, ptr %11, align 8, !tbaa !11
  %265 = load i64, ptr %11, align 8, !tbaa !11
  %266 = load i64, ptr %27, align 8, !tbaa !11
  %267 = load ptr, ptr %2, align 8, !tbaa !5
  call void @_ZN11alglib_impl19sparsecreatesksbandElllPNS_12sparsematrixEPNS_8ae_stateE(i64 noundef %264, i64 noundef %265, i64 noundef %266, ptr noundef %4, ptr noundef %267)
  br label %268

268:                                              ; preds = %263, %177
  store i64 0, ptr %14, align 8, !tbaa !11
  br label %269

269:                                              ; preds = %326, %268
  %270 = load i64, ptr %14, align 8, !tbaa !11
  %271 = load i64, ptr %11, align 8, !tbaa !11
  %272 = sub nsw i64 %271, 1
  %273 = icmp sle i64 %270, %272
  br i1 %273, label %274, label %329

274:                                              ; preds = %269
  store i64 0, ptr %15, align 8, !tbaa !11
  br label %275

275:                                              ; preds = %322, %274
  %276 = load i64, ptr %15, align 8, !tbaa !11
  %277 = load i64, ptr %11, align 8, !tbaa !11
  %278 = sub nsw i64 %277, 1
  %279 = icmp sle i64 %276, %278
  br i1 %279, label %280, label %325

280:                                              ; preds = %275
  %281 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %18, i32 0, i32 6
  %282 = load ptr, ptr %281, align 8, !tbaa !15
  %283 = load i64, ptr %14, align 8, !tbaa !11
  %284 = getelementptr inbounds ptr, ptr %282, i64 %283
  %285 = load ptr, ptr %284, align 8, !tbaa !5
  %286 = load i64, ptr %15, align 8, !tbaa !11
  %287 = getelementptr inbounds double, ptr %285, i64 %286
  %288 = load double, ptr %287, align 8, !tbaa !13
  %289 = call noundef zeroext i1 @_ZN11alglib_impl9ae_fp_neqEdd(double noundef %288, double noundef 0.000000e+00)
  br i1 %289, label %290, label %321

290:                                              ; preds = %280
  %291 = load ptr, ptr %2, align 8, !tbaa !5
  %292 = call noundef double @_ZN11alglib_impl11hqrndnormalEPNS_10hqrndstateEPNS_8ae_stateE(ptr noundef %22, ptr noundef %291)
  %293 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %292, double noundef 0.000000e+00)
  br i1 %293, label %294, label %308

294:                                              ; preds = %290
  %295 = load i64, ptr %14, align 8, !tbaa !11
  %296 = load i64, ptr %15, align 8, !tbaa !11
  %297 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %18, i32 0, i32 6
  %298 = load ptr, ptr %297, align 8, !tbaa !15
  %299 = load i64, ptr %14, align 8, !tbaa !11
  %300 = getelementptr inbounds ptr, ptr %298, i64 %299
  %301 = load ptr, ptr %300, align 8, !tbaa !5
  %302 = load i64, ptr %15, align 8, !tbaa !11
  %303 = getelementptr inbounds double, ptr %301, i64 %302
  %304 = load double, ptr %303, align 8, !tbaa !13
  %305 = load ptr, ptr %2, align 8, !tbaa !5
  %306 = call noundef zeroext i1 @_ZN11alglib_impl21sparserewriteexistingEPNS_12sparsematrixElldPNS_8ae_stateE(ptr noundef %4, i64 noundef %295, i64 noundef %296, double noundef %304, ptr noundef %305)
  %307 = xor i1 %306, true
  call void @_ZN11alglib_impl17ae_set_error_flagEPbbPKciS2_(ptr noundef %28, i1 noundef zeroext %307, ptr noundef @.str.8, i32 noundef 4711, ptr noundef @.str.51)
  br label %320

308:                                              ; preds = %290
  %309 = load i64, ptr %14, align 8, !tbaa !11
  %310 = load i64, ptr %15, align 8, !tbaa !11
  %311 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %18, i32 0, i32 6
  %312 = load ptr, ptr %311, align 8, !tbaa !15
  %313 = load i64, ptr %14, align 8, !tbaa !11
  %314 = getelementptr inbounds ptr, ptr %312, i64 %313
  %315 = load ptr, ptr %314, align 8, !tbaa !5
  %316 = load i64, ptr %15, align 8, !tbaa !11
  %317 = getelementptr inbounds double, ptr %315, i64 %316
  %318 = load double, ptr %317, align 8, !tbaa !13
  %319 = load ptr, ptr %2, align 8, !tbaa !5
  call void @_ZN11alglib_impl9sparsesetEPNS_12sparsematrixElldPNS_8ae_stateE(ptr noundef %4, i64 noundef %309, i64 noundef %310, double noundef %318, ptr noundef %319)
  br label %320

320:                                              ; preds = %308, %294
  br label %321

321:                                              ; preds = %320, %280
  br label %322

322:                                              ; preds = %321
  %323 = load i64, ptr %15, align 8, !tbaa !11
  %324 = add nsw i64 %323, 1
  store i64 %324, ptr %15, align 8, !tbaa !11
  br label %275, !llvm.loop !23

325:                                              ; preds = %275
  br label %326

326:                                              ; preds = %325
  %327 = load i64, ptr %14, align 8, !tbaa !11
  %328 = add nsw i64 %327, 1
  store i64 %328, ptr %14, align 8, !tbaa !11
  br label %269, !llvm.loop !24

329:                                              ; preds = %269
  store i64 0, ptr %25, align 8, !tbaa !11
  store i64 0, ptr %26, align 8, !tbaa !11
  store i64 0, ptr %14, align 8, !tbaa !11
  br label %330

330:                                              ; preds = %350, %329
  %331 = load i64, ptr %14, align 8, !tbaa !11
  %332 = load i64, ptr %11, align 8, !tbaa !11
  %333 = sub nsw i64 %332, 1
  %334 = icmp sle i64 %331, %333
  br i1 %334, label %335, label %353

335:                                              ; preds = %330
  %336 = load i64, ptr %25, align 8, !tbaa !11
  %337 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %21, i32 0, i32 4
  %338 = load ptr, ptr %337, align 8, !tbaa !15
  %339 = load i64, ptr %14, align 8, !tbaa !11
  %340 = getelementptr inbounds i64, ptr %338, i64 %339
  %341 = load i64, ptr %340, align 8, !tbaa !11
  %342 = add nsw i64 %336, %341
  store i64 %342, ptr %25, align 8, !tbaa !11
  %343 = load i64, ptr %26, align 8, !tbaa !11
  %344 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %20, i32 0, i32 4
  %345 = load ptr, ptr %344, align 8, !tbaa !15
  %346 = load i64, ptr %14, align 8, !tbaa !11
  %347 = getelementptr inbounds i64, ptr %345, i64 %346
  %348 = load i64, ptr %347, align 8, !tbaa !11
  %349 = add nsw i64 %343, %348
  store i64 %349, ptr %26, align 8, !tbaa !11
  br label %350

350:                                              ; preds = %335
  %351 = load i64, ptr %14, align 8, !tbaa !11
  %352 = add nsw i64 %351, 1
  store i64 %352, ptr %14, align 8, !tbaa !11
  br label %330, !llvm.loop !25

353:                                              ; preds = %330
  store i64 0, ptr %14, align 8, !tbaa !11
  br label %354

354:                                              ; preds = %403, %353
  %355 = load i64, ptr %14, align 8, !tbaa !11
  %356 = load i64, ptr %11, align 8, !tbaa !11
  %357 = sub nsw i64 %356, 1
  %358 = icmp sle i64 %355, %357
  br i1 %358, label %359, label %406

359:                                              ; preds = %354
  store i64 0, ptr %15, align 8, !tbaa !11
  br label %360

360:                                              ; preds = %399, %359
  %361 = load i64, ptr %15, align 8, !tbaa !11
  %362 = load i64, ptr %11, align 8, !tbaa !11
  %363 = sub nsw i64 %362, 1
  %364 = icmp sle i64 %361, %363
  br i1 %364, label %365, label %402

365:                                              ; preds = %360
  %366 = load i64, ptr %14, align 8, !tbaa !11
  %367 = load i64, ptr %15, align 8, !tbaa !11
  %368 = icmp sge i64 %366, %367
  br i1 %368, label %369, label %379

369:                                              ; preds = %365
  %370 = load i64, ptr %14, align 8, !tbaa !11
  %371 = load i64, ptr %15, align 8, !tbaa !11
  %372 = sub nsw i64 %370, %371
  %373 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %20, i32 0, i32 4
  %374 = load ptr, ptr %373, align 8, !tbaa !15
  %375 = load i64, ptr %14, align 8, !tbaa !11
  %376 = getelementptr inbounds i64, ptr %374, i64 %375
  %377 = load i64, ptr %376, align 8, !tbaa !11
  %378 = icmp sgt i64 %372, %377
  br i1 %378, label %393, label %379

379:                                              ; preds = %369, %365
  %380 = load i64, ptr %14, align 8, !tbaa !11
  %381 = load i64, ptr %15, align 8, !tbaa !11
  %382 = icmp sle i64 %380, %381
  br i1 %382, label %383, label %398

383:                                              ; preds = %379
  %384 = load i64, ptr %15, align 8, !tbaa !11
  %385 = load i64, ptr %14, align 8, !tbaa !11
  %386 = sub nsw i64 %384, %385
  %387 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %21, i32 0, i32 4
  %388 = load ptr, ptr %387, align 8, !tbaa !15
  %389 = load i64, ptr %15, align 8, !tbaa !11
  %390 = getelementptr inbounds i64, ptr %388, i64 %389
  %391 = load i64, ptr %390, align 8, !tbaa !11
  %392 = icmp sgt i64 %386, %391
  br i1 %392, label %393, label %398

393:                                              ; preds = %383, %369
  %394 = load i64, ptr %14, align 8, !tbaa !11
  %395 = load i64, ptr %15, align 8, !tbaa !11
  %396 = load ptr, ptr %2, align 8, !tbaa !5
  %397 = call noundef zeroext i1 @_ZN11alglib_impl21sparserewriteexistingEPNS_12sparsematrixElldPNS_8ae_stateE(ptr noundef %4, i64 noundef %394, i64 noundef %395, double noundef 1.000000e+00, ptr noundef %396)
  call void @_ZN11alglib_impl17ae_set_error_flagEPbbPKciS2_(ptr noundef %28, i1 noundef zeroext %397, ptr noundef @.str.8, i32 noundef 4737, ptr noundef @.str.52)
  br label %398

398:                                              ; preds = %393, %383, %379
  br label %399

399:                                              ; preds = %398
  %400 = load i64, ptr %15, align 8, !tbaa !11
  %401 = add nsw i64 %400, 1
  store i64 %401, ptr %15, align 8, !tbaa !11
  br label %360, !llvm.loop !26

402:                                              ; preds = %360
  br label %403

403:                                              ; preds = %402
  %404 = load i64, ptr %14, align 8, !tbaa !11
  %405 = add nsw i64 %404, 1
  store i64 %405, ptr %14, align 8, !tbaa !11
  br label %354, !llvm.loop !27

406:                                              ; preds = %354
  %407 = load ptr, ptr %2, align 8, !tbaa !5
  call void @_ZN11alglib_impl10sparsecopyEPNS_12sparsematrixES1_PNS_8ae_stateE(ptr noundef %4, ptr noundef %5, ptr noundef %407)
  %408 = load ptr, ptr %2, align 8, !tbaa !5
  call void @_ZN11alglib_impl18sparseconverttocrsEPNS_12sparsematrixEPNS_8ae_stateE(ptr noundef %5, ptr noundef %408)
  %409 = load ptr, ptr %2, align 8, !tbaa !5
  call void @_ZN11alglib_impl15sparsecopytocrsEPNS_12sparsematrixES1_PNS_8ae_stateE(ptr noundef %4, ptr noundef %6, ptr noundef %409)
  %410 = load ptr, ptr %2, align 8, !tbaa !5
  call void @_ZN11alglib_impl18sparsecopytocrsbufEPNS_12sparsematrixES1_PNS_8ae_stateE(ptr noundef %4, ptr noundef %7, ptr noundef %410)
  %411 = load ptr, ptr %2, align 8, !tbaa !5
  call void @_ZN11alglib_impl16sparsecopytohashEPNS_12sparsematrixES1_PNS_8ae_stateE(ptr noundef %4, ptr noundef %8, ptr noundef %411)
  %412 = load ptr, ptr %2, align 8, !tbaa !5
  call void @_ZN11alglib_impl19sparsecopytohashbufEPNS_12sparsematrixES1_PNS_8ae_stateE(ptr noundef %4, ptr noundef %9, ptr noundef %412)
  %413 = load ptr, ptr %2, align 8, !tbaa !5
  call void @_ZN11alglib_impl10sparsecopyEPNS_12sparsematrixES1_PNS_8ae_stateE(ptr noundef %4, ptr noundef %10, ptr noundef %413)
  %414 = load ptr, ptr %2, align 8, !tbaa !5
  call void @_ZN11alglib_impl19sparseconverttohashEPNS_12sparsematrixEPNS_8ae_stateE(ptr noundef %10, ptr noundef %414)
  %415 = load ptr, ptr %2, align 8, !tbaa !5
  %416 = call noundef i64 @_ZN11alglib_impl14sparsegetnrowsEPNS_12sparsematrixEPNS_8ae_stateE(ptr noundef %4, ptr noundef %415)
  %417 = load i64, ptr %11, align 8, !tbaa !11
  %418 = icmp ne i64 %416, %417
  call void @_ZN11alglib_impl17ae_set_error_flagEPbbPKciS2_(ptr noundef %28, i1 noundef zeroext %418, ptr noundef @.str.8, i32 noundef 4753, ptr noundef @.str.53)
  %419 = load ptr, ptr %2, align 8, !tbaa !5
  %420 = call noundef i64 @_ZN11alglib_impl14sparsegetncolsEPNS_12sparsematrixEPNS_8ae_stateE(ptr noundef %4, ptr noundef %419)
  %421 = load i64, ptr %11, align 8, !tbaa !11
  %422 = icmp ne i64 %420, %421
  call void @_ZN11alglib_impl17ae_set_error_flagEPbbPKciS2_(ptr noundef %28, i1 noundef zeroext %422, ptr noundef @.str.8, i32 noundef 4754, ptr noundef @.str.54)
  %423 = load ptr, ptr %2, align 8, !tbaa !5
  %424 = call noundef i64 @_ZN11alglib_impl19sparsegetmatrixtypeEPNS_12sparsematrixEPNS_8ae_stateE(ptr noundef %4, ptr noundef %423)
  %425 = icmp ne i64 %424, 2
  call void @_ZN11alglib_impl17ae_set_error_flagEPbbPKciS2_(ptr noundef %28, i1 noundef zeroext %425, ptr noundef @.str.8, i32 noundef 4755, ptr noundef @.str.55)
  %426 = load ptr, ptr %2, align 8, !tbaa !5
  %427 = call noundef zeroext i1 @_ZN11alglib_impl11sparseissksEPNS_12sparsematrixEPNS_8ae_stateE(ptr noundef %4, ptr noundef %426)
  %428 = xor i1 %427, true
  call void @_ZN11alglib_impl17ae_set_error_flagEPbbPKciS2_(ptr noundef %28, i1 noundef zeroext %428, ptr noundef @.str.8, i32 noundef 4756, ptr noundef @.str.56)
  %429 = load ptr, ptr %2, align 8, !tbaa !5
  %430 = call noundef zeroext i1 @_ZN11alglib_impl11sparseiscrsEPNS_12sparsematrixEPNS_8ae_stateE(ptr noundef %4, ptr noundef %429)
  call void @_ZN11alglib_impl17ae_set_error_flagEPbbPKciS2_(ptr noundef %28, i1 noundef zeroext %430, ptr noundef @.str.8, i32 noundef 4757, ptr noundef @.str.57)
  %431 = load ptr, ptr %2, align 8, !tbaa !5
  %432 = call noundef zeroext i1 @_ZN11alglib_impl12sparseishashEPNS_12sparsematrixEPNS_8ae_stateE(ptr noundef %4, ptr noundef %431)
  call void @_ZN11alglib_impl17ae_set_error_flagEPbbPKciS2_(ptr noundef %28, i1 noundef zeroext %432, ptr noundef @.str.8, i32 noundef 4758, ptr noundef @.str.58)
  %433 = load ptr, ptr %2, align 8, !tbaa !5
  %434 = call noundef zeroext i1 @_ZN11alglib_impl11sparseissksEPNS_12sparsematrixEPNS_8ae_stateE(ptr noundef %5, ptr noundef %433)
  call void @_ZN11alglib_impl17ae_set_error_flagEPbbPKciS2_(ptr noundef %28, i1 noundef zeroext %434, ptr noundef @.str.8, i32 noundef 4759, ptr noundef @.str.59)
  %435 = load ptr, ptr %2, align 8, !tbaa !5
  %436 = call noundef zeroext i1 @_ZN11alglib_impl11sparseiscrsEPNS_12sparsematrixEPNS_8ae_stateE(ptr noundef %5, ptr noundef %435)
  %437 = xor i1 %436, true
  call void @_ZN11alglib_impl17ae_set_error_flagEPbbPKciS2_(ptr noundef %28, i1 noundef zeroext %437, ptr noundef @.str.8, i32 noundef 4760, ptr noundef @.str.60)
  %438 = load ptr, ptr %2, align 8, !tbaa !5
  %439 = call noundef zeroext i1 @_ZN11alglib_impl12sparseishashEPNS_12sparsematrixEPNS_8ae_stateE(ptr noundef %5, ptr noundef %438)
  call void @_ZN11alglib_impl17ae_set_error_flagEPbbPKciS2_(ptr noundef %28, i1 noundef zeroext %439, ptr noundef @.str.8, i32 noundef 4761, ptr noundef @.str.61)
  store i64 0, ptr %14, align 8, !tbaa !11
  br label %440

440:                                              ; preds = %460, %406
  %441 = load i64, ptr %14, align 8, !tbaa !11
  %442 = load i64, ptr %11, align 8, !tbaa !11
  %443 = sub nsw i64 %442, 1
  %444 = icmp sle i64 %441, %443
  br i1 %444, label %445, label %463

445:                                              ; preds = %440
  %446 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %18, i32 0, i32 6
  %447 = load ptr, ptr %446, align 8, !tbaa !15
  %448 = load i64, ptr %14, align 8, !tbaa !11
  %449 = getelementptr inbounds ptr, ptr %447, i64 %448
  %450 = load ptr, ptr %449, align 8, !tbaa !5
  %451 = load i64, ptr %14, align 8, !tbaa !11
  %452 = getelementptr inbounds double, ptr %450, i64 %451
  %453 = load double, ptr %452, align 8, !tbaa !13
  store double %453, ptr %24, align 8, !tbaa !13
  %454 = load i64, ptr %14, align 8, !tbaa !11
  %455 = load ptr, ptr %2, align 8, !tbaa !5
  %456 = call noundef double @_ZN11alglib_impl17sparsegetdiagonalEPNS_12sparsematrixElPNS_8ae_stateE(ptr noundef %4, i64 noundef %454, ptr noundef %455)
  store double %456, ptr %23, align 8, !tbaa !13
  %457 = load double, ptr %23, align 8, !tbaa !13
  %458 = load double, ptr %24, align 8, !tbaa !13
  %459 = call noundef zeroext i1 @_ZN11alglib_impl9ae_fp_neqEdd(double noundef %457, double noundef %458)
  call void @_ZN11alglib_impl17ae_set_error_flagEPbbPKciS2_(ptr noundef %28, i1 noundef zeroext %459, ptr noundef @.str.8, i32 noundef 4766, ptr noundef @.str.62)
  br label %460

460:                                              ; preds = %445
  %461 = load i64, ptr %14, align 8, !tbaa !11
  %462 = add nsw i64 %461, 1
  store i64 %462, ptr %14, align 8, !tbaa !11
  br label %440, !llvm.loop !28

463:                                              ; preds = %440
  store i64 0, ptr %14, align 8, !tbaa !11
  br label %464

464:                                              ; preds = %537, %463
  %465 = load i64, ptr %14, align 8, !tbaa !11
  %466 = load i64, ptr %11, align 8, !tbaa !11
  %467 = sub nsw i64 %466, 1
  %468 = icmp sle i64 %465, %467
  br i1 %468, label %469, label %540

469:                                              ; preds = %464
  store i64 0, ptr %15, align 8, !tbaa !11
  br label %470

470:                                              ; preds = %533, %469
  %471 = load i64, ptr %15, align 8, !tbaa !11
  %472 = load i64, ptr %11, align 8, !tbaa !11
  %473 = sub nsw i64 %472, 1
  %474 = icmp sle i64 %471, %473
  br i1 %474, label %475, label %536

475:                                              ; preds = %470
  %476 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %18, i32 0, i32 6
  %477 = load ptr, ptr %476, align 8, !tbaa !15
  %478 = load i64, ptr %14, align 8, !tbaa !11
  %479 = getelementptr inbounds ptr, ptr %477, i64 %478
  %480 = load ptr, ptr %479, align 8, !tbaa !5
  %481 = load i64, ptr %15, align 8, !tbaa !11
  %482 = getelementptr inbounds double, ptr %480, i64 %481
  %483 = load double, ptr %482, align 8, !tbaa !13
  store double %483, ptr %24, align 8, !tbaa !13
  %484 = load i64, ptr %14, align 8, !tbaa !11
  %485 = load i64, ptr %15, align 8, !tbaa !11
  %486 = load ptr, ptr %2, align 8, !tbaa !5
  %487 = call noundef double @_ZN11alglib_impl9sparsegetEPNS_12sparsematrixEllPNS_8ae_stateE(ptr noundef %4, i64 noundef %484, i64 noundef %485, ptr noundef %486)
  store double %487, ptr %23, align 8, !tbaa !13
  %488 = load double, ptr %23, align 8, !tbaa !13
  %489 = load double, ptr %24, align 8, !tbaa !13
  %490 = call noundef zeroext i1 @_ZN11alglib_impl9ae_fp_neqEdd(double noundef %488, double noundef %489)
  call void @_ZN11alglib_impl17ae_set_error_flagEPbbPKciS2_(ptr noundef %28, i1 noundef zeroext %490, ptr noundef @.str.8, i32 noundef 4774, ptr noundef @.str.63)
  %491 = load i64, ptr %14, align 8, !tbaa !11
  %492 = load i64, ptr %15, align 8, !tbaa !11
  %493 = load ptr, ptr %2, align 8, !tbaa !5
  %494 = call noundef double @_ZN11alglib_impl9sparsegetEPNS_12sparsematrixEllPNS_8ae_stateE(ptr noundef %5, i64 noundef %491, i64 noundef %492, ptr noundef %493)
  store double %494, ptr %23, align 8, !tbaa !13
  %495 = load double, ptr %23, align 8, !tbaa !13
  %496 = load double, ptr %24, align 8, !tbaa !13
  %497 = call noundef zeroext i1 @_ZN11alglib_impl9ae_fp_neqEdd(double noundef %495, double noundef %496)
  call void @_ZN11alglib_impl17ae_set_error_flagEPbbPKciS2_(ptr noundef %28, i1 noundef zeroext %497, ptr noundef @.str.8, i32 noundef 4776, ptr noundef @.str.64)
  %498 = load i64, ptr %14, align 8, !tbaa !11
  %499 = load i64, ptr %15, align 8, !tbaa !11
  %500 = load ptr, ptr %2, align 8, !tbaa !5
  %501 = call noundef double @_ZN11alglib_impl9sparsegetEPNS_12sparsematrixEllPNS_8ae_stateE(ptr noundef %6, i64 noundef %498, i64 noundef %499, ptr noundef %500)
  store double %501, ptr %23, align 8, !tbaa !13
  %502 = load double, ptr %23, align 8, !tbaa !13
  %503 = load double, ptr %24, align 8, !tbaa !13
  %504 = call noundef zeroext i1 @_ZN11alglib_impl9ae_fp_neqEdd(double noundef %502, double noundef %503)
  call void @_ZN11alglib_impl17ae_set_error_flagEPbbPKciS2_(ptr noundef %28, i1 noundef zeroext %504, ptr noundef @.str.8, i32 noundef 4778, ptr noundef @.str.65)
  %505 = load i64, ptr %14, align 8, !tbaa !11
  %506 = load i64, ptr %15, align 8, !tbaa !11
  %507 = load ptr, ptr %2, align 8, !tbaa !5
  %508 = call noundef double @_ZN11alglib_impl9sparsegetEPNS_12sparsematrixEllPNS_8ae_stateE(ptr noundef %7, i64 noundef %505, i64 noundef %506, ptr noundef %507)
  store double %508, ptr %23, align 8, !tbaa !13
  %509 = load double, ptr %23, align 8, !tbaa !13
  %510 = load double, ptr %24, align 8, !tbaa !13
  %511 = call noundef zeroext i1 @_ZN11alglib_impl9ae_fp_neqEdd(double noundef %509, double noundef %510)
  call void @_ZN11alglib_impl17ae_set_error_flagEPbbPKciS2_(ptr noundef %28, i1 noundef zeroext %511, ptr noundef @.str.8, i32 noundef 4780, ptr noundef @.str.66)
  %512 = load i64, ptr %14, align 8, !tbaa !11
  %513 = load i64, ptr %15, align 8, !tbaa !11
  %514 = load ptr, ptr %2, align 8, !tbaa !5
  %515 = call noundef double @_ZN11alglib_impl9sparsegetEPNS_12sparsematrixEllPNS_8ae_stateE(ptr noundef %8, i64 noundef %512, i64 noundef %513, ptr noundef %514)
  store double %515, ptr %23, align 8, !tbaa !13
  %516 = load double, ptr %23, align 8, !tbaa !13
  %517 = load double, ptr %24, align 8, !tbaa !13
  %518 = call noundef zeroext i1 @_ZN11alglib_impl9ae_fp_neqEdd(double noundef %516, double noundef %517)
  call void @_ZN11alglib_impl17ae_set_error_flagEPbbPKciS2_(ptr noundef %28, i1 noundef zeroext %518, ptr noundef @.str.8, i32 noundef 4782, ptr noundef @.str.67)
  %519 = load i64, ptr %14, align 8, !tbaa !11
  %520 = load i64, ptr %15, align 8, !tbaa !11
  %521 = load ptr, ptr %2, align 8, !tbaa !5
  %522 = call noundef double @_ZN11alglib_impl9sparsegetEPNS_12sparsematrixEllPNS_8ae_stateE(ptr noundef %9, i64 noundef %519, i64 noundef %520, ptr noundef %521)
  store double %522, ptr %23, align 8, !tbaa !13
  %523 = load double, ptr %23, align 8, !tbaa !13
  %524 = load double, ptr %24, align 8, !tbaa !13
  %525 = call noundef zeroext i1 @_ZN11alglib_impl9ae_fp_neqEdd(double noundef %523, double noundef %524)
  call void @_ZN11alglib_impl17ae_set_error_flagEPbbPKciS2_(ptr noundef %28, i1 noundef zeroext %525, ptr noundef @.str.8, i32 noundef 4784, ptr noundef @.str.68)
  %526 = load i64, ptr %14, align 8, !tbaa !11
  %527 = load i64, ptr %15, align 8, !tbaa !11
  %528 = load ptr, ptr %2, align 8, !tbaa !5
  %529 = call noundef double @_ZN11alglib_impl9sparsegetEPNS_12sparsematrixEllPNS_8ae_stateE(ptr noundef %10, i64 noundef %526, i64 noundef %527, ptr noundef %528)
  store double %529, ptr %23, align 8, !tbaa !13
  %530 = load double, ptr %23, align 8, !tbaa !13
  %531 = load double, ptr %24, align 8, !tbaa !13
  %532 = call noundef zeroext i1 @_ZN11alglib_impl9ae_fp_neqEdd(double noundef %530, double noundef %531)
  call void @_ZN11alglib_impl17ae_set_error_flagEPbbPKciS2_(ptr noundef %28, i1 noundef zeroext %532, ptr noundef @.str.8, i32 noundef 4786, ptr noundef @.str.69)
  br label %533

533:                                              ; preds = %475
  %534 = load i64, ptr %15, align 8, !tbaa !11
  %535 = add nsw i64 %534, 1
  store i64 %535, ptr %15, align 8, !tbaa !11
  br label %470, !llvm.loop !29

536:                                              ; preds = %470
  br label %537

537:                                              ; preds = %536
  %538 = load i64, ptr %14, align 8, !tbaa !11
  %539 = add nsw i64 %538, 1
  store i64 %539, ptr %14, align 8, !tbaa !11
  br label %464, !llvm.loop !30

540:                                              ; preds = %464
  %541 = load i64, ptr %11, align 8, !tbaa !11
  %542 = load i64, ptr %11, align 8, !tbaa !11
  %543 = load ptr, ptr %2, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_matrix_set_lengthEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef %19, i64 noundef %541, i64 noundef %542, ptr noundef %543)
  store i64 0, ptr %14, align 8, !tbaa !11
  br label %544

544:                                              ; preds = %567, %540
  %545 = load i64, ptr %14, align 8, !tbaa !11
  %546 = load i64, ptr %11, align 8, !tbaa !11
  %547 = sub nsw i64 %546, 1
  %548 = icmp sle i64 %545, %547
  br i1 %548, label %549, label %570

549:                                              ; preds = %544
  store i64 0, ptr %15, align 8, !tbaa !11
  br label %550

550:                                              ; preds = %563, %549
  %551 = load i64, ptr %15, align 8, !tbaa !11
  %552 = load i64, ptr %11, align 8, !tbaa !11
  %553 = sub nsw i64 %552, 1
  %554 = icmp sle i64 %551, %553
  br i1 %554, label %555, label %566

555:                                              ; preds = %550
  %556 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %19, i32 0, i32 6
  %557 = load ptr, ptr %556, align 8, !tbaa !15
  %558 = load i64, ptr %14, align 8, !tbaa !11
  %559 = getelementptr inbounds ptr, ptr %557, i64 %558
  %560 = load ptr, ptr %559, align 8, !tbaa !5
  %561 = load i64, ptr %15, align 8, !tbaa !11
  %562 = getelementptr inbounds i8, ptr %560, i64 %561
  store i8 0, ptr %562, align 1, !tbaa !9
  br label %563

563:                                              ; preds = %555
  %564 = load i64, ptr %15, align 8, !tbaa !11
  %565 = add nsw i64 %564, 1
  store i64 %565, ptr %15, align 8, !tbaa !11
  br label %550, !llvm.loop !31

566:                                              ; preds = %550
  br label %567

567:                                              ; preds = %566
  %568 = load i64, ptr %14, align 8, !tbaa !11
  %569 = add nsw i64 %568, 1
  store i64 %569, ptr %14, align 8, !tbaa !11
  br label %544, !llvm.loop !32

570:                                              ; preds = %544
  store i64 0, ptr %16, align 8, !tbaa !11
  store i64 0, ptr %17, align 8, !tbaa !11
  br label %571

571:                                              ; preds = %574, %570
  %572 = load ptr, ptr %2, align 8, !tbaa !5
  %573 = call noundef zeroext i1 @_ZN11alglib_impl15sparseenumerateEPNS_12sparsematrixEPlS2_S2_S2_PdPNS_8ae_stateE(ptr noundef %4, ptr noundef %16, ptr noundef %17, ptr noundef %14, ptr noundef %15, ptr noundef %23, ptr noundef %572)
  br i1 %573, label %574, label %591

574:                                              ; preds = %571
  %575 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %19, i32 0, i32 6
  %576 = load ptr, ptr %575, align 8, !tbaa !15
  %577 = load i64, ptr %14, align 8, !tbaa !11
  %578 = getelementptr inbounds ptr, ptr %576, i64 %577
  %579 = load ptr, ptr %578, align 8, !tbaa !5
  %580 = load i64, ptr %15, align 8, !tbaa !11
  %581 = getelementptr inbounds i8, ptr %579, i64 %580
  %582 = load i8, ptr %581, align 1, !tbaa !9, !range !33, !noundef !34
  %583 = trunc i8 %582 to i1
  call void @_ZN11alglib_impl17ae_set_error_flagEPbbPKciS2_(ptr noundef %28, i1 noundef zeroext %583, ptr noundef @.str.8, i32 noundef 4807, ptr noundef @.str.70)
  %584 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %19, i32 0, i32 6
  %585 = load ptr, ptr %584, align 8, !tbaa !15
  %586 = load i64, ptr %14, align 8, !tbaa !11
  %587 = getelementptr inbounds ptr, ptr %585, i64 %586
  %588 = load ptr, ptr %587, align 8, !tbaa !5
  %589 = load i64, ptr %15, align 8, !tbaa !11
  %590 = getelementptr inbounds i8, ptr %588, i64 %589
  store i8 1, ptr %590, align 1, !tbaa !9
  br label %571, !llvm.loop !35

591:                                              ; preds = %571
  store i64 0, ptr %14, align 8, !tbaa !11
  br label %592

592:                                              ; preds = %629, %591
  %593 = load i64, ptr %14, align 8, !tbaa !11
  %594 = load i64, ptr %11, align 8, !tbaa !11
  %595 = sub nsw i64 %594, 1
  %596 = icmp sle i64 %593, %595
  br i1 %596, label %597, label %632

597:                                              ; preds = %592
  store i64 0, ptr %15, align 8, !tbaa !11
  br label %598

598:                                              ; preds = %625, %597
  %599 = load i64, ptr %15, align 8, !tbaa !11
  %600 = load i64, ptr %11, align 8, !tbaa !11
  %601 = sub nsw i64 %600, 1
  %602 = icmp sle i64 %599, %601
  br i1 %602, label %603, label %628

603:                                              ; preds = %598
  %604 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %18, i32 0, i32 6
  %605 = load ptr, ptr %604, align 8, !tbaa !15
  %606 = load i64, ptr %14, align 8, !tbaa !11
  %607 = getelementptr inbounds ptr, ptr %605, i64 %606
  %608 = load ptr, ptr %607, align 8, !tbaa !5
  %609 = load i64, ptr %15, align 8, !tbaa !11
  %610 = getelementptr inbounds double, ptr %608, i64 %609
  %611 = load double, ptr %610, align 8, !tbaa !13
  %612 = call noundef zeroext i1 @_ZN11alglib_impl9ae_fp_neqEdd(double noundef %611, double noundef 0.000000e+00)
  br i1 %612, label %613, label %624

613:                                              ; preds = %603
  %614 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %19, i32 0, i32 6
  %615 = load ptr, ptr %614, align 8, !tbaa !15
  %616 = load i64, ptr %14, align 8, !tbaa !11
  %617 = getelementptr inbounds ptr, ptr %615, i64 %616
  %618 = load ptr, ptr %617, align 8, !tbaa !5
  %619 = load i64, ptr %15, align 8, !tbaa !11
  %620 = getelementptr inbounds i8, ptr %618, i64 %619
  %621 = load i8, ptr %620, align 1, !tbaa !9, !range !33, !noundef !34
  %622 = trunc i8 %621 to i1
  %623 = xor i1 %622, true
  call void @_ZN11alglib_impl17ae_set_error_flagEPbbPKciS2_(ptr noundef %28, i1 noundef zeroext %623, ptr noundef @.str.8, i32 noundef 4816, ptr noundef @.str.71)
  br label %624

624:                                              ; preds = %613, %603
  br label %625

625:                                              ; preds = %624
  %626 = load i64, ptr %15, align 8, !tbaa !11
  %627 = add nsw i64 %626, 1
  store i64 %627, ptr %15, align 8, !tbaa !11
  br label %598, !llvm.loop !36

628:                                              ; preds = %598
  br label %629

629:                                              ; preds = %628
  %630 = load i64, ptr %14, align 8, !tbaa !11
  %631 = add nsw i64 %630, 1
  store i64 %631, ptr %14, align 8, !tbaa !11
  br label %592, !llvm.loop !37

632:                                              ; preds = %592
  %633 = load ptr, ptr %2, align 8, !tbaa !5
  %634 = call noundef i64 @_ZN11alglib_impl19sparsegetuppercountEPNS_12sparsematrixEPNS_8ae_stateE(ptr noundef %4, ptr noundef %633)
  %635 = load i64, ptr %25, align 8, !tbaa !11
  %636 = icmp ne i64 %634, %635
  call void @_ZN11alglib_impl17ae_set_error_flagEPbbPKciS2_(ptr noundef %28, i1 noundef zeroext %636, ptr noundef @.str.8, i32 noundef 4824, ptr noundef @.str.72)
  %637 = load ptr, ptr %2, align 8, !tbaa !5
  %638 = call noundef i64 @_ZN11alglib_impl19sparsegetlowercountEPNS_12sparsematrixEPNS_8ae_stateE(ptr noundef %4, ptr noundef %637)
  %639 = load i64, ptr %26, align 8, !tbaa !11
  %640 = icmp ne i64 %638, %639
  call void @_ZN11alglib_impl17ae_set_error_flagEPbbPKciS2_(ptr noundef %28, i1 noundef zeroext %640, ptr noundef @.str.8, i32 noundef 4825, ptr noundef @.str.73)
  %641 = load ptr, ptr %2, align 8, !tbaa !5
  call void @_ZN11alglib_impl10sparsecopyEPNS_12sparsematrixES1_PNS_8ae_stateE(ptr noundef %4, ptr noundef %5, ptr noundef %641)
  %642 = load ptr, ptr %2, align 8, !tbaa !5
  call void @_ZN11alglib_impl18sparsetransposesksEPNS_12sparsematrixEPNS_8ae_stateE(ptr noundef %5, ptr noundef %642)
  store i64 0, ptr %14, align 8, !tbaa !11
  br label %643

643:                                              ; preds = %670, %632
  %644 = load i64, ptr %14, align 8, !tbaa !11
  %645 = load i64, ptr %11, align 8, !tbaa !11
  %646 = sub nsw i64 %645, 1
  %647 = icmp sle i64 %644, %646
  br i1 %647, label %648, label %673

648:                                              ; preds = %643
  store i64 0, ptr %15, align 8, !tbaa !11
  br label %649

649:                                              ; preds = %666, %648
  %650 = load i64, ptr %15, align 8, !tbaa !11
  %651 = load i64, ptr %11, align 8, !tbaa !11
  %652 = sub nsw i64 %651, 1
  %653 = icmp sle i64 %650, %652
  br i1 %653, label %654, label %669

654:                                              ; preds = %649
  %655 = load i64, ptr %14, align 8, !tbaa !11
  %656 = load i64, ptr %15, align 8, !tbaa !11
  %657 = load ptr, ptr %2, align 8, !tbaa !5
  %658 = call noundef double @_ZN11alglib_impl9sparsegetEPNS_12sparsematrixEllPNS_8ae_stateE(ptr noundef %4, i64 noundef %655, i64 noundef %656, ptr noundef %657)
  store double %658, ptr %23, align 8, !tbaa !13
  %659 = load i64, ptr %15, align 8, !tbaa !11
  %660 = load i64, ptr %14, align 8, !tbaa !11
  %661 = load ptr, ptr %2, align 8, !tbaa !5
  %662 = call noundef double @_ZN11alglib_impl9sparsegetEPNS_12sparsematrixEllPNS_8ae_stateE(ptr noundef %5, i64 noundef %659, i64 noundef %660, ptr noundef %661)
  store double %662, ptr %24, align 8, !tbaa !13
  %663 = load double, ptr %23, align 8, !tbaa !13
  %664 = load double, ptr %24, align 8, !tbaa !13
  %665 = call noundef zeroext i1 @_ZN11alglib_impl9ae_fp_neqEdd(double noundef %663, double noundef %664)
  call void @_ZN11alglib_impl17ae_set_error_flagEPbbPKciS2_(ptr noundef %28, i1 noundef zeroext %665, ptr noundef @.str.8, i32 noundef 4838, ptr noundef @.str.74)
  br label %666

666:                                              ; preds = %654
  %667 = load i64, ptr %15, align 8, !tbaa !11
  %668 = add nsw i64 %667, 1
  store i64 %668, ptr %15, align 8, !tbaa !11
  br label %649, !llvm.loop !38

669:                                              ; preds = %649
  br label %670

670:                                              ; preds = %669
  %671 = load i64, ptr %14, align 8, !tbaa !11
  %672 = add nsw i64 %671, 1
  store i64 %672, ptr %14, align 8, !tbaa !11
  br label %643, !llvm.loop !39

673:                                              ; preds = %643
  %674 = load i64, ptr %11, align 8, !tbaa !11
  %675 = load i64, ptr %11, align 8, !tbaa !11
  %676 = load ptr, ptr %2, align 8, !tbaa !5
  call void @_ZN11alglib_impl12sparsecreateElllPNS_12sparsematrixEPNS_8ae_stateE(i64 noundef %674, i64 noundef %675, i64 noundef 0, ptr noundef %4, ptr noundef %676)
  store i64 0, ptr %14, align 8, !tbaa !11
  br label %677

677:                                              ; preds = %715, %673
  %678 = load i64, ptr %14, align 8, !tbaa !11
  %679 = load i64, ptr %11, align 8, !tbaa !11
  %680 = sub nsw i64 %679, 1
  %681 = icmp sle i64 %678, %680
  br i1 %681, label %682, label %718

682:                                              ; preds = %677
  store i64 0, ptr %15, align 8, !tbaa !11
  br label %683

683:                                              ; preds = %711, %682
  %684 = load i64, ptr %15, align 8, !tbaa !11
  %685 = load i64, ptr %11, align 8, !tbaa !11
  %686 = sub nsw i64 %685, 1
  %687 = icmp sle i64 %684, %686
  br i1 %687, label %688, label %714

688:                                              ; preds = %683
  %689 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %18, i32 0, i32 6
  %690 = load ptr, ptr %689, align 8, !tbaa !15
  %691 = load i64, ptr %14, align 8, !tbaa !11
  %692 = getelementptr inbounds ptr, ptr %690, i64 %691
  %693 = load ptr, ptr %692, align 8, !tbaa !5
  %694 = load i64, ptr %15, align 8, !tbaa !11
  %695 = getelementptr inbounds double, ptr %693, i64 %694
  %696 = load double, ptr %695, align 8, !tbaa !13
  %697 = call noundef zeroext i1 @_ZN11alglib_impl9ae_fp_neqEdd(double noundef %696, double noundef 0.000000e+00)
  br i1 %697, label %698, label %710

698:                                              ; preds = %688
  %699 = load i64, ptr %14, align 8, !tbaa !11
  %700 = load i64, ptr %15, align 8, !tbaa !11
  %701 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %18, i32 0, i32 6
  %702 = load ptr, ptr %701, align 8, !tbaa !15
  %703 = load i64, ptr %14, align 8, !tbaa !11
  %704 = getelementptr inbounds ptr, ptr %702, i64 %703
  %705 = load ptr, ptr %704, align 8, !tbaa !5
  %706 = load i64, ptr %15, align 8, !tbaa !11
  %707 = getelementptr inbounds double, ptr %705, i64 %706
  %708 = load double, ptr %707, align 8, !tbaa !13
  %709 = load ptr, ptr %2, align 8, !tbaa !5
  call void @_ZN11alglib_impl9sparsesetEPNS_12sparsematrixElldPNS_8ae_stateE(ptr noundef %4, i64 noundef %699, i64 noundef %700, double noundef %708, ptr noundef %709)
  br label %710

710:                                              ; preds = %698, %688
  br label %711

711:                                              ; preds = %710
  %712 = load i64, ptr %15, align 8, !tbaa !11
  %713 = add nsw i64 %712, 1
  store i64 %713, ptr %15, align 8, !tbaa !11
  br label %683, !llvm.loop !40

714:                                              ; preds = %683
  br label %715

715:                                              ; preds = %714
  %716 = load i64, ptr %14, align 8, !tbaa !11
  %717 = add nsw i64 %716, 1
  store i64 %717, ptr %14, align 8, !tbaa !11
  br label %677, !llvm.loop !41

718:                                              ; preds = %677
  %719 = load ptr, ptr %2, align 8, !tbaa !5
  call void @_ZN11alglib_impl10sparsecopyEPNS_12sparsematrixES1_PNS_8ae_stateE(ptr noundef %4, ptr noundef %5, ptr noundef %719)
  %720 = load ptr, ptr %2, align 8, !tbaa !5
  call void @_ZN11alglib_impl18sparseconverttosksEPNS_12sparsematrixEPNS_8ae_stateE(ptr noundef %5, ptr noundef %720)
  %721 = load ptr, ptr %2, align 8, !tbaa !5
  call void @_ZN11alglib_impl15sparsecopytosksEPNS_12sparsematrixES1_PNS_8ae_stateE(ptr noundef %4, ptr noundef %6, ptr noundef %721)
  %722 = load ptr, ptr %2, align 8, !tbaa !5
  call void @_ZN11alglib_impl18sparsecopytosksbufEPNS_12sparsematrixES1_PNS_8ae_stateE(ptr noundef %4, ptr noundef %7, ptr noundef %722)
  %723 = load ptr, ptr %2, align 8, !tbaa !5
  %724 = call noundef zeroext i1 @_ZN11alglib_impl11sparseissksEPNS_12sparsematrixEPNS_8ae_stateE(ptr noundef %5, ptr noundef %723)
  %725 = xor i1 %724, true
  call void @_ZN11alglib_impl17ae_set_error_flagEPbbPKciS2_(ptr noundef %28, i1 noundef zeroext %725, ptr noundef @.str.8, i32 noundef 4861, ptr noundef @.str.75)
  %726 = load ptr, ptr %2, align 8, !tbaa !5
  %727 = call noundef zeroext i1 @_ZN11alglib_impl11sparseiscrsEPNS_12sparsematrixEPNS_8ae_stateE(ptr noundef %5, ptr noundef %726)
  call void @_ZN11alglib_impl17ae_set_error_flagEPbbPKciS2_(ptr noundef %28, i1 noundef zeroext %727, ptr noundef @.str.8, i32 noundef 4862, ptr noundef @.str.76)
  %728 = load ptr, ptr %2, align 8, !tbaa !5
  %729 = call noundef zeroext i1 @_ZN11alglib_impl12sparseishashEPNS_12sparsematrixEPNS_8ae_stateE(ptr noundef %5, ptr noundef %728)
  call void @_ZN11alglib_impl17ae_set_error_flagEPbbPKciS2_(ptr noundef %28, i1 noundef zeroext %729, ptr noundef @.str.8, i32 noundef 4863, ptr noundef @.str.77)
  %730 = load ptr, ptr %2, align 8, !tbaa !5
  %731 = call noundef zeroext i1 @_ZN11alglib_impl11sparseissksEPNS_12sparsematrixEPNS_8ae_stateE(ptr noundef %6, ptr noundef %730)
  %732 = xor i1 %731, true
  call void @_ZN11alglib_impl17ae_set_error_flagEPbbPKciS2_(ptr noundef %28, i1 noundef zeroext %732, ptr noundef @.str.8, i32 noundef 4864, ptr noundef @.str.78)
  %733 = load ptr, ptr %2, align 8, !tbaa !5
  %734 = call noundef zeroext i1 @_ZN11alglib_impl11sparseiscrsEPNS_12sparsematrixEPNS_8ae_stateE(ptr noundef %6, ptr noundef %733)
  call void @_ZN11alglib_impl17ae_set_error_flagEPbbPKciS2_(ptr noundef %28, i1 noundef zeroext %734, ptr noundef @.str.8, i32 noundef 4865, ptr noundef @.str.79)
  %735 = load ptr, ptr %2, align 8, !tbaa !5
  %736 = call noundef zeroext i1 @_ZN11alglib_impl12sparseishashEPNS_12sparsematrixEPNS_8ae_stateE(ptr noundef %6, ptr noundef %735)
  call void @_ZN11alglib_impl17ae_set_error_flagEPbbPKciS2_(ptr noundef %28, i1 noundef zeroext %736, ptr noundef @.str.8, i32 noundef 4866, ptr noundef @.str.80)
  %737 = load ptr, ptr %2, align 8, !tbaa !5
  %738 = call noundef zeroext i1 @_ZN11alglib_impl11sparseissksEPNS_12sparsematrixEPNS_8ae_stateE(ptr noundef %7, ptr noundef %737)
  %739 = xor i1 %738, true
  call void @_ZN11alglib_impl17ae_set_error_flagEPbbPKciS2_(ptr noundef %28, i1 noundef zeroext %739, ptr noundef @.str.8, i32 noundef 4867, ptr noundef @.str.81)
  %740 = load ptr, ptr %2, align 8, !tbaa !5
  %741 = call noundef zeroext i1 @_ZN11alglib_impl11sparseiscrsEPNS_12sparsematrixEPNS_8ae_stateE(ptr noundef %7, ptr noundef %740)
  call void @_ZN11alglib_impl17ae_set_error_flagEPbbPKciS2_(ptr noundef %28, i1 noundef zeroext %741, ptr noundef @.str.8, i32 noundef 4868, ptr noundef @.str.82)
  %742 = load ptr, ptr %2, align 8, !tbaa !5
  %743 = call noundef zeroext i1 @_ZN11alglib_impl12sparseishashEPNS_12sparsematrixEPNS_8ae_stateE(ptr noundef %7, ptr noundef %742)
  call void @_ZN11alglib_impl17ae_set_error_flagEPbbPKciS2_(ptr noundef %28, i1 noundef zeroext %743, ptr noundef @.str.8, i32 noundef 4869, ptr noundef @.str.83)
  store i64 0, ptr %14, align 8, !tbaa !11
  br label %744

744:                                              ; preds = %789, %718
  %745 = load i64, ptr %14, align 8, !tbaa !11
  %746 = load i64, ptr %11, align 8, !tbaa !11
  %747 = sub nsw i64 %746, 1
  %748 = icmp sle i64 %745, %747
  br i1 %748, label %749, label %792

749:                                              ; preds = %744
  store i64 0, ptr %15, align 8, !tbaa !11
  br label %750

750:                                              ; preds = %785, %749
  %751 = load i64, ptr %15, align 8, !tbaa !11
  %752 = load i64, ptr %11, align 8, !tbaa !11
  %753 = sub nsw i64 %752, 1
  %754 = icmp sle i64 %751, %753
  br i1 %754, label %755, label %788

755:                                              ; preds = %750
  %756 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %18, i32 0, i32 6
  %757 = load ptr, ptr %756, align 8, !tbaa !15
  %758 = load i64, ptr %14, align 8, !tbaa !11
  %759 = getelementptr inbounds ptr, ptr %757, i64 %758
  %760 = load ptr, ptr %759, align 8, !tbaa !5
  %761 = load i64, ptr %15, align 8, !tbaa !11
  %762 = getelementptr inbounds double, ptr %760, i64 %761
  %763 = load double, ptr %762, align 8, !tbaa !13
  store double %763, ptr %24, align 8, !tbaa !13
  %764 = load i64, ptr %14, align 8, !tbaa !11
  %765 = load i64, ptr %15, align 8, !tbaa !11
  %766 = load ptr, ptr %2, align 8, !tbaa !5
  %767 = call noundef double @_ZN11alglib_impl9sparsegetEPNS_12sparsematrixEllPNS_8ae_stateE(ptr noundef %5, i64 noundef %764, i64 noundef %765, ptr noundef %766)
  store double %767, ptr %23, align 8, !tbaa !13
  %768 = load double, ptr %23, align 8, !tbaa !13
  %769 = load double, ptr %24, align 8, !tbaa !13
  %770 = call noundef zeroext i1 @_ZN11alglib_impl9ae_fp_neqEdd(double noundef %768, double noundef %769)
  call void @_ZN11alglib_impl17ae_set_error_flagEPbbPKciS2_(ptr noundef %28, i1 noundef zeroext %770, ptr noundef @.str.8, i32 noundef 4876, ptr noundef @.str.84)
  %771 = load i64, ptr %14, align 8, !tbaa !11
  %772 = load i64, ptr %15, align 8, !tbaa !11
  %773 = load ptr, ptr %2, align 8, !tbaa !5
  %774 = call noundef double @_ZN11alglib_impl9sparsegetEPNS_12sparsematrixEllPNS_8ae_stateE(ptr noundef %6, i64 noundef %771, i64 noundef %772, ptr noundef %773)
  store double %774, ptr %23, align 8, !tbaa !13
  %775 = load double, ptr %23, align 8, !tbaa !13
  %776 = load double, ptr %24, align 8, !tbaa !13
  %777 = call noundef zeroext i1 @_ZN11alglib_impl9ae_fp_neqEdd(double noundef %775, double noundef %776)
  call void @_ZN11alglib_impl17ae_set_error_flagEPbbPKciS2_(ptr noundef %28, i1 noundef zeroext %777, ptr noundef @.str.8, i32 noundef 4878, ptr noundef @.str.85)
  %778 = load i64, ptr %14, align 8, !tbaa !11
  %779 = load i64, ptr %15, align 8, !tbaa !11
  %780 = load ptr, ptr %2, align 8, !tbaa !5
  %781 = call noundef double @_ZN11alglib_impl9sparsegetEPNS_12sparsematrixEllPNS_8ae_stateE(ptr noundef %7, i64 noundef %778, i64 noundef %779, ptr noundef %780)
  store double %781, ptr %23, align 8, !tbaa !13
  %782 = load double, ptr %23, align 8, !tbaa !13
  %783 = load double, ptr %24, align 8, !tbaa !13
  %784 = call noundef zeroext i1 @_ZN11alglib_impl9ae_fp_neqEdd(double noundef %782, double noundef %783)
  call void @_ZN11alglib_impl17ae_set_error_flagEPbbPKciS2_(ptr noundef %28, i1 noundef zeroext %784, ptr noundef @.str.8, i32 noundef 4880, ptr noundef @.str.86)
  br label %785

785:                                              ; preds = %755
  %786 = load i64, ptr %15, align 8, !tbaa !11
  %787 = add nsw i64 %786, 1
  store i64 %787, ptr %15, align 8, !tbaa !11
  br label %750, !llvm.loop !42

788:                                              ; preds = %750
  br label %789

789:                                              ; preds = %788
  %790 = load i64, ptr %14, align 8, !tbaa !11
  %791 = add nsw i64 %790, 1
  store i64 %791, ptr %14, align 8, !tbaa !11
  br label %744, !llvm.loop !43

792:                                              ; preds = %744
  %793 = load i64, ptr %12, align 8, !tbaa !11
  %794 = icmp eq i64 %793, 0
  br i1 %794, label %795, label %796

795:                                              ; preds = %792
  br label %806

796:                                              ; preds = %792
  %797 = load i64, ptr %12, align 8, !tbaa !11
  %798 = sitofp i64 %797 to double
  %799 = fmul double %798, 0x3FEE666666666666
  %800 = load ptr, ptr %2, align 8, !tbaa !5
  %801 = call noundef i64 @_ZN11alglib_impl8ae_roundEdPNS_8ae_stateE(double noundef %799, ptr noundef %800)
  %802 = load i64, ptr %12, align 8, !tbaa !11
  %803 = sub nsw i64 %802, 1
  %804 = load ptr, ptr %2, align 8, !tbaa !5
  %805 = call noundef i64 @_ZN11alglib_impl9ae_minintEllPNS_8ae_stateE(i64 noundef %801, i64 noundef %803, ptr noundef %804)
  store i64 %805, ptr %12, align 8, !tbaa !11
  br label %52, !llvm.loop !44

806:                                              ; preds = %795
  br label %807

807:                                              ; preds = %806
  %808 = load i64, ptr %11, align 8, !tbaa !11
  %809 = add nsw i64 %808, 1
  store i64 %809, ptr %11, align 8, !tbaa !11
  br label %43, !llvm.loop !45

810:                                              ; preds = %43
  %811 = load ptr, ptr %2, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %811)
  %812 = load i8, ptr %28, align 1, !tbaa !9, !range !33, !noundef !34
  %813 = trunc i8 %812 to i1
  call void @llvm.lifetime.end.p0(i64 1, ptr %28) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %22) #4
  call void @llvm.lifetime.end.p0(i64 64, ptr %21) #4
  call void @llvm.lifetime.end.p0(i64 64, ptr %20) #4
  call void @llvm.lifetime.end.p0(i64 80, ptr %19) #4
  call void @llvm.lifetime.end.p0(i64 80, ptr %18) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #4
  call void @llvm.lifetime.end.p0(i64 368, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 368, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 368, ptr %8) #4
  call void @llvm.lifetime.end.p0(i64 368, ptr %7) #4
  call void @llvm.lifetime.end.p0(i64 368, ptr %6) #4
  call void @llvm.lifetime.end.p0(i64 368, ptr %5) #4
  call void @llvm.lifetime.end.p0(i64 368, ptr %4) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr %3) #4
  ret i1 %813
}

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

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

declare noundef i64 @_ZN11alglib_impl9ae_maxintEllPNS_8ae_stateE(i64 noundef, i64 noundef, ptr noundef) #1

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

declare noundef i64 @_ZN11alglib_impl9ae_minintEllPNS_8ae_stateE(i64 noundef, i64 noundef, ptr noundef) #1

declare noundef i64 @_ZN11alglib_impl7ae_iabsElPNS_8ae_stateE(i64 noundef, ptr noundef) #1

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

declare noundef zeroext i1 @_ZN11alglib_impl21sparserewriteexistingEPNS_12sparsematrixElldPNS_8ae_stateE(ptr noundef, i64 noundef, i64 noundef, double noundef, ptr noundef) #1

declare void @_ZN11alglib_impl9sparsesetEPNS_12sparsematrixElldPNS_8ae_stateE(ptr noundef, i64 noundef, i64 noundef, double noundef, ptr noundef) #1

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

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

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

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

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

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

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

declare noundef i64 @_ZN11alglib_impl14sparsegetnrowsEPNS_12sparsematrixEPNS_8ae_stateE(ptr noundef, ptr noundef) #1

declare noundef i64 @_ZN11alglib_impl14sparsegetncolsEPNS_12sparsematrixEPNS_8ae_stateE(ptr noundef, ptr noundef) #1

declare noundef i64 @_ZN11alglib_impl19sparsegetmatrixtypeEPNS_12sparsematrixEPNS_8ae_stateE(ptr noundef, ptr noundef) #1

declare noundef zeroext i1 @_ZN11alglib_impl11sparseissksEPNS_12sparsematrixEPNS_8ae_stateE(ptr noundef, ptr noundef) #1

declare noundef zeroext i1 @_ZN11alglib_impl11sparseiscrsEPNS_12sparsematrixEPNS_8ae_stateE(ptr noundef, ptr noundef) #1

declare noundef zeroext i1 @_ZN11alglib_impl12sparseishashEPNS_12sparsematrixEPNS_8ae_stateE(ptr noundef, ptr noundef) #1

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

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

declare noundef zeroext i1 @_ZN11alglib_impl15sparseenumerateEPNS_12sparsematrixEPlS2_S2_S2_PdPNS_8ae_stateE(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1

declare noundef i64 @_ZN11alglib_impl19sparsegetuppercountEPNS_12sparsematrixEPNS_8ae_stateE(ptr noundef, ptr noundef) #1

declare noundef i64 @_ZN11alglib_impl19sparsegetlowercountEPNS_12sparsematrixEPNS_8ae_stateE(ptr noundef, ptr noundef) #1

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

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

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

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

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

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 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"bool", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"double", !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 = distinct !{!23, !17}
!24 = distinct !{!24, !17}
!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 = !{i8 0, i8 2}
!34 = !{}
!35 = distinct !{!35, !17}
!36 = distinct !{!36, !17}
!37 = distinct !{!37, !17}
!38 = distinct !{!38, !17}
!39 = distinct !{!39, !17}
!40 = distinct !{!40, !17}
!41 = distinct !{!41, !17}
!42 = distinct !{!42, !17}
!43 = distinct !{!43, !17}
!44 = distinct !{!44, !17}
!45 = distinct !{!45, !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 }
%"struct.alglib_impl::hqrndstate" = type { i64, i64, i64 }

@.str.8 = external hidden unnamed_addr constant [87 x i8], align 1
@.str.51 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.52 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.53 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.54 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.55 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.56 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.57 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.58 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.59 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.60 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.61 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.62 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.63 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.64 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.65 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.66 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.67 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.68 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.69 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.70 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.71 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.72 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.73 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.74 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.75 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.76 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.77 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.78 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.79 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.80 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.81 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.82 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.83 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.84 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.85 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.86 = external hidden unnamed_addr constant [22 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 i64 @_ZN11alglib_impl8ae_roundEdPNS_8ae_stateE(double noundef, ptr noundef) local_unnamed_addr #1

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

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 void @_ZN11alglib_impl20ae_matrix_set_lengthEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef, i64 noundef, i64 noundef, ptr noundef) local_unnamed_addr #1

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

declare noundef i64 @_ZN11alglib_impl13hqrnduniformiEPNS_10hqrndstateElPNS_8ae_stateE(ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #1

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

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

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

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

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

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

25:                                               ; preds = %1, %458
  %indvar = phi i64 [ 0, %1 ], [ %indvar.next, %458 ]
  %.0272 = phi i64 [ 1, %1 ], [ %31, %458 ]
  %26 = shl nuw nsw i64 %indvar, 3
  %27 = add nuw i64 %26, 8
  %.0189 = add nsw i64 %.0272, -1
  %28 = mul nuw nsw i64 %.0189, %.0272
  %29 = icmp ugt i64 %.0272, 1
  %30 = sitofp i64 %28 to double
  %31 = add nuw nsw i64 %.0272, 1
  %min.iters.check = icmp ult i64 %.0272, 6
  %n.vec = and i64 %.0272, 9223372036854775804
  %cmp.n = icmp eq i64 %.0272, %n.vec
  %xtraiter = and i64 %.0272, 3
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  %xtraiter303 = and i64 %.0272, 3
  %32 = icmp ult i64 %indvar, 3
  %unroll_iter = and i64 %.0272, 9223372036854775804
  %lcmp.mod304.not = icmp eq i64 %xtraiter303, 0
  br label %33

33:                                               ; preds = %453, %25
  %.0164 = phi i64 [ %28, %25 ], [ %457, %453 ]
  %34 = sitofp i64 %.0164 to double
  %35 = fdiv double %34, %30
  %.0163 = select i1 %29, double %35, double 1.000000e+00
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %16, i64 noundef %.0272, ptr noundef %0)
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %17, i64 noundef %.0272, ptr noundef %0)
  call void @_ZN11alglib_impl20ae_matrix_set_lengthEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef nonnull %14, i64 noundef %.0272, i64 noundef %.0272, ptr noundef %0)
  %36 = call noundef double @_ZN11alglib_impl11hqrndnormalEPNS_10hqrndstateEPNS_8ae_stateE(ptr noundef nonnull %18, ptr noundef %0)
  %37 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %36, double noundef 0.000000e+00)
  br i1 %37, label %.preheader252, label %94

.preheader252:                                    ; preds = %33
  store i64 0, ptr %10, align 8, !tbaa !9
  br label %38

.preheader251:                                    ; preds = %38
  store i64 0, ptr %10, align 8, !tbaa !9
  br label %.preheader245

38:                                               ; preds = %.preheader252, %38
  %storemerge194256 = phi i64 [ 0, %.preheader252 ], [ %45, %38 ]
  %39 = load ptr, ptr %21, align 8, !tbaa !11
  %40 = getelementptr inbounds i64, ptr %39, i64 %storemerge194256
  store i64 0, ptr %40, align 8, !tbaa !9
  %41 = load ptr, ptr %22, align 8, !tbaa !11
  %42 = load i64, ptr %10, align 8, !tbaa !9
  %43 = getelementptr inbounds i64, ptr %41, i64 %42
  store i64 0, ptr %43, align 8, !tbaa !9
  %44 = load i64, ptr %10, align 8, !tbaa !9
  %45 = add nsw i64 %44, 1
  store i64 %45, ptr %10, align 8, !tbaa !9
  %.not195.not = icmp slt i64 %45, %.0272
  br i1 %.not195.not, label %38, label %.preheader251, !llvm.loop !12

.preheader245:                                    ; preds = %.preheader251, %90
  store i64 0, ptr %11, align 8, !tbaa !9
  br label %46

46:                                               ; preds = %.preheader245, %87
  %storemerge236257 = phi i64 [ 0, %.preheader245 ], [ %89, %87 ]
  %47 = load i64, ptr %10, align 8, !tbaa !9
  %48 = icmp eq i64 %47, %storemerge236257
  br i1 %48, label %52, label %49

49:                                               ; preds = %46
  %50 = call noundef double @_ZN11alglib_impl13hqrnduniformrEPNS_10hqrndstateEPNS_8ae_stateE(ptr noundef nonnull %18, ptr noundef %0)
  %51 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_less_eqEdd(double noundef %50, double noundef %.0163)
  br i1 %51, label %52, label %80

52:                                               ; preds = %49, %46
  %53 = call noundef double @_ZN11alglib_impl13hqrnduniformrEPNS_10hqrndstateEPNS_8ae_stateE(ptr noundef nonnull %18, ptr noundef %0)
  %54 = fadd double %53, -5.000000e-01
  %55 = load ptr, ptr %23, align 8, !tbaa !11
  %56 = load i64, ptr %10, align 8, !tbaa !9
  %57 = getelementptr inbounds ptr, ptr %55, i64 %56
  %58 = load ptr, ptr %57, align 8, !tbaa !14
  %59 = load i64, ptr %11, align 8, !tbaa !9
  %60 = getelementptr inbounds double, ptr %58, i64 %59
  store double %54, ptr %60, align 8, !tbaa !16
  %61 = icmp slt i64 %59, %56
  br i1 %61, label %62, label %71

62:                                               ; preds = %52
  %63 = load ptr, ptr %21, align 8, !tbaa !11
  %64 = getelementptr inbounds i64, ptr %63, i64 %56
  %65 = load i64, ptr %64, align 8, !tbaa !9
  %66 = sub nsw i64 %56, %59
  %67 = call noundef i64 @_ZN11alglib_impl9ae_maxintEllPNS_8ae_stateE(i64 noundef %65, i64 noundef %66, ptr noundef %0)
  %68 = load ptr, ptr %21, align 8, !tbaa !11
  %69 = load i64, ptr %10, align 8, !tbaa !9
  %70 = getelementptr inbounds i64, ptr %68, i64 %69
  store i64 %67, ptr %70, align 8, !tbaa !9
  br label %87

71:                                               ; preds = %52
  %72 = load ptr, ptr %22, align 8, !tbaa !11
  %73 = getelementptr inbounds i64, ptr %72, i64 %59
  %74 = load i64, ptr %73, align 8, !tbaa !9
  %75 = sub nsw i64 %59, %56
  %76 = call noundef i64 @_ZN11alglib_impl9ae_maxintEllPNS_8ae_stateE(i64 noundef %74, i64 noundef %75, ptr noundef %0)
  %77 = load ptr, ptr %22, align 8, !tbaa !11
  %78 = load i64, ptr %11, align 8, !tbaa !9
  %79 = getelementptr inbounds i64, ptr %77, i64 %78
  store i64 %76, ptr %79, align 8, !tbaa !9
  br label %87

80:                                               ; preds = %49
  %81 = load ptr, ptr %23, align 8, !tbaa !11
  %82 = load i64, ptr %10, align 8, !tbaa !9
  %83 = getelementptr inbounds ptr, ptr %81, i64 %82
  %84 = load ptr, ptr %83, align 8, !tbaa !14
  %85 = load i64, ptr %11, align 8, !tbaa !9
  %86 = getelementptr inbounds double, ptr %84, i64 %85
  store double 0.000000e+00, ptr %86, align 8, !tbaa !16
  br label %87

87:                                               ; preds = %80, %71, %62
  %88 = load i64, ptr %11, align 8, !tbaa !9
  %89 = add nsw i64 %88, 1
  store i64 %89, ptr %11, align 8, !tbaa !9
  %.not237.not = icmp slt i64 %89, %.0272
  br i1 %.not237.not, label %46, label %90, !llvm.loop !18

90:                                               ; preds = %87
  %91 = load i64, ptr %10, align 8, !tbaa !9
  %92 = add nsw i64 %91, 1
  store i64 %92, ptr %10, align 8, !tbaa !9
  %.not197.not = icmp slt i64 %92, %.0272
  br i1 %.not197.not, label %.preheader245, label %93, !llvm.loop !19

93:                                               ; preds = %90
  call void @_ZN11alglib_impl15sparsecreatesksEllPNS_9ae_vectorES1_PNS_12sparsematrixEPNS_8ae_stateE(i64 noundef %.0272, i64 noundef %.0272, ptr noundef nonnull %16, ptr noundef nonnull %17, ptr noundef nonnull %3, ptr noundef %0)
  br label %139

94:                                               ; preds = %33
  %95 = call noundef i64 @_ZN11alglib_impl13hqrnduniformiEPNS_10hqrndstateElPNS_8ae_stateE(ptr noundef nonnull %18, i64 noundef %31, ptr noundef %0)
  store i64 0, ptr %10, align 8, !tbaa !9
  br label %96

.preheader253:                                    ; preds = %96
  store i64 0, ptr %10, align 8, !tbaa !9
  br label %.preheader246

96:                                               ; preds = %94, %96
  %storemerge254 = phi i64 [ 0, %94 ], [ %107, %96 ]
  %97 = call noundef i64 @_ZN11alglib_impl9ae_minintEllPNS_8ae_stateE(i64 noundef %95, i64 noundef %storemerge254, ptr noundef %0)
  %98 = load ptr, ptr %21, align 8, !tbaa !11
  %99 = load i64, ptr %10, align 8, !tbaa !9
  %100 = getelementptr inbounds i64, ptr %98, i64 %99
  store i64 %97, ptr %100, align 8, !tbaa !9
  %101 = load i64, ptr %10, align 8, !tbaa !9
  %102 = call noundef i64 @_ZN11alglib_impl9ae_minintEllPNS_8ae_stateE(i64 noundef %95, i64 noundef %101, ptr noundef %0)
  %103 = load ptr, ptr %22, align 8, !tbaa !11
  %104 = load i64, ptr %10, align 8, !tbaa !9
  %105 = getelementptr inbounds i64, ptr %103, i64 %104
  store i64 %102, ptr %105, align 8, !tbaa !9
  %106 = load i64, ptr %10, align 8, !tbaa !9
  %107 = add nsw i64 %106, 1
  store i64 %107, ptr %10, align 8, !tbaa !9
  %.not.not = icmp slt i64 %107, %.0272
  br i1 %.not.not, label %96, label %.preheader253, !llvm.loop !20

.preheader246:                                    ; preds = %.preheader253, %136
  %108 = phi i64 [ 0, %.preheader253 ], [ %137, %136 ]
  store i64 0, ptr %11, align 8, !tbaa !9
  br label %109

109:                                              ; preds = %.preheader246, %132
  %110 = phi i64 [ %108, %.preheader246 ], [ %134, %132 ]
  %storemerge192255 = phi i64 [ 0, %.preheader246 ], [ %135, %132 ]
  %111 = sub nsw i64 %110, %storemerge192255
  %112 = call noundef i64 @_ZN11alglib_impl7ae_iabsElPNS_8ae_stateE(i64 noundef %111, ptr noundef %0)
  %.not = icmp sgt i64 %112, %95
  br i1 %.not, label %125, label %113

113:                                              ; preds = %109
  %114 = call noundef double @_ZN11alglib_impl13hqrnduniformrEPNS_10hqrndstateEPNS_8ae_stateE(ptr noundef nonnull %18, ptr noundef %0)
  %115 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_less_eqEdd(double noundef %114, double noundef %.0163)
  br i1 %115, label %116, label %125

116:                                              ; preds = %113
  %117 = call noundef double @_ZN11alglib_impl13hqrnduniformrEPNS_10hqrndstateEPNS_8ae_stateE(ptr noundef nonnull %18, ptr noundef %0)
  %118 = fadd double %117, -5.000000e-01
  %119 = load ptr, ptr %23, align 8, !tbaa !11
  %120 = load i64, ptr %10, align 8, !tbaa !9
  %121 = getelementptr inbounds ptr, ptr %119, i64 %120
  %122 = load ptr, ptr %121, align 8, !tbaa !14
  %123 = load i64, ptr %11, align 8, !tbaa !9
  %124 = getelementptr inbounds double, ptr %122, i64 %123
  store double %118, ptr %124, align 8, !tbaa !16
  br label %132

125:                                              ; preds = %113, %109
  %126 = load ptr, ptr %23, align 8, !tbaa !11
  %127 = load i64, ptr %10, align 8, !tbaa !9
  %128 = getelementptr inbounds ptr, ptr %126, i64 %127
  %129 = load ptr, ptr %128, align 8, !tbaa !14
  %130 = load i64, ptr %11, align 8, !tbaa !9
  %131 = getelementptr inbounds double, ptr %129, i64 %130
  store double 0.000000e+00, ptr %131, align 8, !tbaa !16
  br label %132

132:                                              ; preds = %116, %125
  %133 = phi i64 [ %123, %116 ], [ %130, %125 ]
  %134 = phi i64 [ %120, %116 ], [ %127, %125 ]
  %135 = add nsw i64 %133, 1
  store i64 %135, ptr %11, align 8, !tbaa !9
  %.not.not193 = icmp slt i64 %135, %.0272
  br i1 %.not.not193, label %109, label %136, !llvm.loop !21

136:                                              ; preds = %132
  %137 = add nsw i64 %134, 1
  store i64 %137, ptr %10, align 8, !tbaa !9
  %.not.not191 = icmp slt i64 %137, %.0272
  br i1 %.not.not191, label %.preheader246, label %138, !llvm.loop !22

138:                                              ; preds = %136
  call void @_ZN11alglib_impl19sparsecreatesksbandElllPNS_12sparsematrixEPNS_8ae_stateE(i64 noundef %.0272, i64 noundef %.0272, i64 noundef %95, ptr noundef nonnull %3, ptr noundef %0)
  br label %139

139:                                              ; preds = %138, %93
  store i64 0, ptr %10, align 8, !tbaa !9
  br label %.preheader244

.preheader250:                                    ; preds = %190
  %140 = load ptr, ptr %22, align 8, !tbaa !11
  %141 = load ptr, ptr %21, align 8, !tbaa !11
  store i64 0, ptr %10, align 8, !tbaa !9
  br i1 %min.iters.check, label %scalar.ph.preheader, label %vector.memcheck

scalar.ph.preheader:                              ; preds = %middle.block, %vector.memcheck, %.preheader250
  %.0161261.ph = phi i64 [ 0, %vector.memcheck ], [ 0, %.preheader250 ], [ %163, %middle.block ]
  %.0162260.ph = phi i64 [ 0, %vector.memcheck ], [ 0, %.preheader250 ], [ %164, %middle.block ]
  %storemerge200259.ph = phi i64 [ 0, %vector.memcheck ], [ 0, %.preheader250 ], [ %n.vec, %middle.block ]
  %142 = sub i64 %indvar, %storemerge200259.ph
  br i1 %lcmp.mod.not, label %scalar.ph.prol.loopexit, label %scalar.ph.prol

scalar.ph.prol:                                   ; preds = %scalar.ph.preheader, %scalar.ph.prol
  %.0161261.prol = phi i64 [ %148, %scalar.ph.prol ], [ %.0161261.ph, %scalar.ph.preheader ]
  %.0162260.prol = phi i64 [ %145, %scalar.ph.prol ], [ %.0162260.ph, %scalar.ph.preheader ]
  %storemerge200259.prol = phi i64 [ %149, %scalar.ph.prol ], [ %storemerge200259.ph, %scalar.ph.preheader ]
  %prol.iter = phi i64 [ %prol.iter.next, %scalar.ph.prol ], [ 0, %scalar.ph.preheader ]
  %143 = getelementptr inbounds i64, ptr %140, i64 %storemerge200259.prol
  %144 = load i64, ptr %143, align 8, !tbaa !9
  %145 = add nsw i64 %144, %.0162260.prol
  %146 = getelementptr inbounds i64, ptr %141, i64 %storemerge200259.prol
  %147 = load i64, ptr %146, align 8, !tbaa !9
  %148 = add nsw i64 %147, %.0161261.prol
  %149 = add nuw nsw i64 %storemerge200259.prol, 1
  store i64 %149, ptr %10, align 8, !tbaa !9
  %prol.iter.next = add i64 %prol.iter, 1
  %prol.iter.cmp.not = icmp eq i64 %prol.iter.next, %xtraiter
  br i1 %prol.iter.cmp.not, label %scalar.ph.prol.loopexit, label %scalar.ph.prol, !llvm.loop !23

scalar.ph.prol.loopexit:                          ; preds = %scalar.ph.prol, %scalar.ph.preheader
  %.lcssa302.unr = phi i64 [ poison, %scalar.ph.preheader ], [ %145, %scalar.ph.prol ]
  %.lcssa301.unr = phi i64 [ poison, %scalar.ph.preheader ], [ %148, %scalar.ph.prol ]
  %.0161261.unr = phi i64 [ %.0161261.ph, %scalar.ph.preheader ], [ %148, %scalar.ph.prol ]
  %.0162260.unr = phi i64 [ %.0162260.ph, %scalar.ph.preheader ], [ %145, %scalar.ph.prol ]
  %storemerge200259.unr = phi i64 [ %storemerge200259.ph, %scalar.ph.preheader ], [ %149, %scalar.ph.prol ]
  %150 = icmp ult i64 %142, 3
  br i1 %150, label %.preheader249, label %scalar.ph

vector.memcheck:                                  ; preds = %.preheader250
  %scevgep283 = getelementptr i8, ptr %140, i64 %27
  %scevgep284 = getelementptr i8, ptr %141, i64 %27
  %bound0 = icmp ult ptr %10, %scevgep283
  %bound1 = icmp ult ptr %140, %scevgep
  %found.conflict = and i1 %bound0, %bound1
  %bound0285 = icmp ult ptr %10, %scevgep284
  %bound1286 = icmp ult ptr %141, %scevgep
  %found.conflict287 = and i1 %bound0285, %bound1286
  %conflict.rdx = or i1 %found.conflict, %found.conflict287
  br i1 %conflict.rdx, label %scalar.ph.preheader, label %vector.body

vector.body:                                      ; preds = %vector.memcheck, %vector.body
  %index = phi i64 [ %index.next, %vector.body ], [ 0, %vector.memcheck ]
  %vec.phi = phi <2 x i64> [ %158, %vector.body ], [ zeroinitializer, %vector.memcheck ]
  %vec.phi288 = phi <2 x i64> [ %159, %vector.body ], [ zeroinitializer, %vector.memcheck ]
  %vec.phi289 = phi <2 x i64> [ %154, %vector.body ], [ zeroinitializer, %vector.memcheck ]
  %vec.phi290 = phi <2 x i64> [ %155, %vector.body ], [ zeroinitializer, %vector.memcheck ]
  %151 = phi i64 [ %161, %vector.body ], [ 1, %vector.memcheck ]
  %152 = getelementptr inbounds i64, ptr %140, i64 %index
  %153 = getelementptr inbounds i8, ptr %152, i64 16
  %wide.load = load <2 x i64>, ptr %152, align 8, !tbaa !9, !alias.scope !25
  %wide.load292 = load <2 x i64>, ptr %153, align 8, !tbaa !9, !alias.scope !25
  %154 = add <2 x i64> %wide.load, %vec.phi289
  %155 = add <2 x i64> %wide.load292, %vec.phi290
  %156 = getelementptr inbounds i64, ptr %141, i64 %index
  %157 = getelementptr inbounds i8, ptr %156, i64 16
  %wide.load293 = load <2 x i64>, ptr %156, align 8, !tbaa !9, !alias.scope !28
  %wide.load294 = load <2 x i64>, ptr %157, align 8, !tbaa !9, !alias.scope !28
  %158 = add <2 x i64> %wide.load293, %vec.phi
  %159 = add <2 x i64> %wide.load294, %vec.phi288
  %160 = add i64 %151, 3
  %index.next = add nuw i64 %index, 4
  %161 = add i64 %151, 4
  %162 = icmp eq i64 %index.next, %n.vec
  br i1 %162, label %middle.block, label %vector.body, !llvm.loop !30

middle.block:                                     ; preds = %vector.body
  store i64 %160, ptr %10, align 8, !tbaa !9, !alias.scope !33, !noalias !35
  %bin.rdx = add <2 x i64> %159, %158
  %163 = call i64 @llvm.vector.reduce.add.v2i64(<2 x i64> %bin.rdx)
  %bin.rdx295 = add <2 x i64> %155, %154
  %164 = call i64 @llvm.vector.reduce.add.v2i64(<2 x i64> %bin.rdx295)
  br i1 %cmp.n, label %.preheader249, label %scalar.ph.preheader

.preheader244:                                    ; preds = %139, %190
  store i64 0, ptr %11, align 8, !tbaa !9
  br label %165

165:                                              ; preds = %.preheader244, %187
  %storemerge234258 = phi i64 [ 0, %.preheader244 ], [ %189, %187 ]
  %166 = load ptr, ptr %23, align 8, !tbaa !11
  %167 = load i64, ptr %10, align 8, !tbaa !9
  %168 = getelementptr inbounds ptr, ptr %166, i64 %167
  %169 = load ptr, ptr %168, align 8, !tbaa !14
  %170 = getelementptr inbounds double, ptr %169, i64 %storemerge234258
  %171 = load double, ptr %170, align 8, !tbaa !16
  %172 = call noundef zeroext i1 @_ZN11alglib_impl9ae_fp_neqEdd(double noundef %171, double noundef 0.000000e+00)
  br i1 %172, label %173, label %187

173:                                              ; preds = %165
  %174 = call noundef double @_ZN11alglib_impl11hqrndnormalEPNS_10hqrndstateEPNS_8ae_stateE(ptr noundef nonnull %18, ptr noundef %0)
  %175 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %174, double noundef 0.000000e+00)
  %176 = load i64, ptr %10, align 8, !tbaa !9
  %177 = load i64, ptr %11, align 8, !tbaa !9
  %178 = load ptr, ptr %23, align 8, !tbaa !11
  %179 = getelementptr inbounds ptr, ptr %178, i64 %176
  %180 = load ptr, ptr %179, align 8, !tbaa !14
  %181 = getelementptr inbounds double, ptr %180, i64 %177
  %182 = load double, ptr %181, align 8, !tbaa !16
  br i1 %175, label %183, label %186

183:                                              ; preds = %173
  %184 = call noundef zeroext i1 @_ZN11alglib_impl21sparserewriteexistingEPNS_12sparsematrixElldPNS_8ae_stateE(ptr noundef nonnull %3, i64 noundef %176, i64 noundef %177, double noundef %182, ptr noundef %0)
  %185 = xor i1 %184, true
  call void @_ZN11alglib_impl17ae_set_error_flagEPbbPKciS2_(ptr noundef nonnull %20, i1 noundef zeroext %185, ptr noundef nonnull @.str.8, i32 noundef 4711, ptr noundef nonnull @.str.51)
  br label %187

186:                                              ; preds = %173
  call void @_ZN11alglib_impl9sparsesetEPNS_12sparsematrixElldPNS_8ae_stateE(ptr noundef nonnull %3, i64 noundef %176, i64 noundef %177, double noundef %182, ptr noundef %0)
  br label %187

187:                                              ; preds = %165, %186, %183
  %188 = load i64, ptr %11, align 8, !tbaa !9
  %189 = add nsw i64 %188, 1
  store i64 %189, ptr %11, align 8, !tbaa !9
  %.not235.not = icmp slt i64 %189, %.0272
  br i1 %.not235.not, label %165, label %190, !llvm.loop !36

190:                                              ; preds = %187
  %191 = load i64, ptr %10, align 8, !tbaa !9
  %192 = add nsw i64 %191, 1
  store i64 %192, ptr %10, align 8, !tbaa !9
  %.not199.not = icmp slt i64 %192, %.0272
  br i1 %.not199.not, label %.preheader244, label %.preheader250, !llvm.loop !37

.preheader249:                                    ; preds = %scalar.ph.prol.loopexit, %scalar.ph, %middle.block
  %.lcssa282 = phi i64 [ %164, %middle.block ], [ %.lcssa302.unr, %scalar.ph.prol.loopexit ], [ %216, %scalar.ph ]
  %.lcssa281 = phi i64 [ %163, %middle.block ], [ %.lcssa301.unr, %scalar.ph.prol.loopexit ], [ %219, %scalar.ph ]
  store i64 0, ptr %10, align 8, !tbaa !9
  br label %.preheader243

scalar.ph:                                        ; preds = %scalar.ph.prol.loopexit, %scalar.ph
  %.0161261 = phi i64 [ %219, %scalar.ph ], [ %.0161261.unr, %scalar.ph.prol.loopexit ]
  %.0162260 = phi i64 [ %216, %scalar.ph ], [ %.0162260.unr, %scalar.ph.prol.loopexit ]
  %storemerge200259 = phi i64 [ %220, %scalar.ph ], [ %storemerge200259.unr, %scalar.ph.prol.loopexit ]
  %193 = getelementptr inbounds i64, ptr %140, i64 %storemerge200259
  %194 = load i64, ptr %193, align 8, !tbaa !9
  %195 = add nsw i64 %194, %.0162260
  %196 = getelementptr inbounds i64, ptr %141, i64 %storemerge200259
  %197 = load i64, ptr %196, align 8, !tbaa !9
  %198 = add nsw i64 %197, %.0161261
  %199 = add nuw nsw i64 %storemerge200259, 1
  store i64 %199, ptr %10, align 8, !tbaa !9
  %200 = getelementptr inbounds i64, ptr %140, i64 %199
  %201 = load i64, ptr %200, align 8, !tbaa !9
  %202 = add nsw i64 %201, %195
  %203 = getelementptr inbounds i64, ptr %141, i64 %199
  %204 = load i64, ptr %203, align 8, !tbaa !9
  %205 = add nsw i64 %204, %198
  %206 = add nuw nsw i64 %storemerge200259, 2
  store i64 %206, ptr %10, align 8, !tbaa !9
  %207 = getelementptr inbounds i64, ptr %140, i64 %206
  %208 = load i64, ptr %207, align 8, !tbaa !9
  %209 = add nsw i64 %208, %202
  %210 = getelementptr inbounds i64, ptr %141, i64 %206
  %211 = load i64, ptr %210, align 8, !tbaa !9
  %212 = add nsw i64 %211, %205
  %213 = add nuw nsw i64 %storemerge200259, 3
  store i64 %213, ptr %10, align 8, !tbaa !9
  %214 = getelementptr inbounds i64, ptr %140, i64 %213
  %215 = load i64, ptr %214, align 8, !tbaa !9
  %216 = add nsw i64 %215, %209
  %217 = getelementptr inbounds i64, ptr %141, i64 %213
  %218 = load i64, ptr %217, align 8, !tbaa !9
  %219 = add nsw i64 %218, %212
  %220 = add nuw nsw i64 %storemerge200259, 4
  store i64 %220, ptr %10, align 8, !tbaa !9
  %exitcond.not.3 = icmp eq i64 %220, %.0272
  br i1 %exitcond.not.3, label %.preheader249, label %scalar.ph, !llvm.loop !38

.preheader243:                                    ; preds = %.preheader249, %241
  store i64 0, ptr %11, align 8, !tbaa !9
  br label %221

221:                                              ; preds = %.preheader243, %238
  %storemerge230262 = phi i64 [ 0, %.preheader243 ], [ %240, %238 ]
  %222 = load i64, ptr %10, align 8, !tbaa !9
  %.not232 = icmp slt i64 %222, %storemerge230262
  br i1 %.not232, label %229, label %223

223:                                              ; preds = %221
  %224 = sub nsw i64 %222, %storemerge230262
  %225 = load ptr, ptr %21, align 8, !tbaa !11
  %226 = getelementptr inbounds i64, ptr %225, i64 %222
  %227 = load i64, ptr %226, align 8, !tbaa !9
  %228 = icmp sgt i64 %224, %227
  br i1 %228, label %236, label %229

229:                                              ; preds = %223, %221
  %.not233 = icmp sgt i64 %222, %storemerge230262
  br i1 %.not233, label %238, label %230

230:                                              ; preds = %229
  %231 = sub nsw i64 %storemerge230262, %222
  %232 = load ptr, ptr %22, align 8, !tbaa !11
  %233 = getelementptr inbounds i64, ptr %232, i64 %storemerge230262
  %234 = load i64, ptr %233, align 8, !tbaa !9
  %235 = icmp sgt i64 %231, %234
  br i1 %235, label %236, label %238

236:                                              ; preds = %230, %223
  %237 = call noundef zeroext i1 @_ZN11alglib_impl21sparserewriteexistingEPNS_12sparsematrixElldPNS_8ae_stateE(ptr noundef nonnull %3, i64 noundef %222, i64 noundef %storemerge230262, double noundef 1.000000e+00, ptr noundef %0)
  call void @_ZN11alglib_impl17ae_set_error_flagEPbbPKciS2_(ptr noundef nonnull %20, i1 noundef zeroext %237, ptr noundef nonnull @.str.8, i32 noundef 4737, ptr noundef nonnull @.str.52)
  %.pre = load i64, ptr %11, align 8, !tbaa !9
  br label %238

238:                                              ; preds = %229, %230, %236
  %239 = phi i64 [ %storemerge230262, %229 ], [ %storemerge230262, %230 ], [ %.pre, %236 ]
  %240 = add nsw i64 %239, 1
  store i64 %240, ptr %11, align 8, !tbaa !9
  %.not231.not = icmp slt i64 %240, %.0272
  br i1 %.not231.not, label %221, label %241, !llvm.loop !39

241:                                              ; preds = %238
  %242 = load i64, ptr %10, align 8, !tbaa !9
  %243 = add nsw i64 %242, 1
  store i64 %243, ptr %10, align 8, !tbaa !9
  %.not203.not = icmp slt i64 %243, %.0272
  br i1 %.not203.not, label %.preheader243, label %244, !llvm.loop !40

244:                                              ; preds = %241
  call void @_ZN11alglib_impl10sparsecopyEPNS_12sparsematrixES1_PNS_8ae_stateE(ptr noundef nonnull %3, ptr noundef nonnull %4, ptr noundef %0)
  call void @_ZN11alglib_impl18sparseconverttocrsEPNS_12sparsematrixEPNS_8ae_stateE(ptr noundef nonnull %4, ptr noundef %0)
  call void @_ZN11alglib_impl15sparsecopytocrsEPNS_12sparsematrixES1_PNS_8ae_stateE(ptr noundef nonnull %3, ptr noundef nonnull %5, ptr noundef %0)
  call void @_ZN11alglib_impl18sparsecopytocrsbufEPNS_12sparsematrixES1_PNS_8ae_stateE(ptr noundef nonnull %3, ptr noundef nonnull %6, ptr noundef %0)
  call void @_ZN11alglib_impl16sparsecopytohashEPNS_12sparsematrixES1_PNS_8ae_stateE(ptr noundef nonnull %3, ptr noundef nonnull %7, ptr noundef %0)
  call void @_ZN11alglib_impl19sparsecopytohashbufEPNS_12sparsematrixES1_PNS_8ae_stateE(ptr noundef nonnull %3, ptr noundef nonnull %8, ptr noundef %0)
  call void @_ZN11alglib_impl10sparsecopyEPNS_12sparsematrixES1_PNS_8ae_stateE(ptr noundef nonnull %3, ptr noundef nonnull %9, ptr noundef %0)
  call void @_ZN11alglib_impl19sparseconverttohashEPNS_12sparsematrixEPNS_8ae_stateE(ptr noundef nonnull %9, ptr noundef %0)
  %245 = call noundef i64 @_ZN11alglib_impl14sparsegetnrowsEPNS_12sparsematrixEPNS_8ae_stateE(ptr noundef nonnull %3, ptr noundef %0)
  %246 = icmp ne i64 %245, %.0272
  call void @_ZN11alglib_impl17ae_set_error_flagEPbbPKciS2_(ptr noundef nonnull %20, i1 noundef zeroext %246, ptr noundef nonnull @.str.8, i32 noundef 4753, ptr noundef nonnull @.str.53)
  %247 = call noundef i64 @_ZN11alglib_impl14sparsegetncolsEPNS_12sparsematrixEPNS_8ae_stateE(ptr noundef nonnull %3, ptr noundef %0)
  %248 = icmp ne i64 %247, %.0272
  call void @_ZN11alglib_impl17ae_set_error_flagEPbbPKciS2_(ptr noundef nonnull %20, i1 noundef zeroext %248, ptr noundef nonnull @.str.8, i32 noundef 4754, ptr noundef nonnull @.str.54)
  %249 = call noundef i64 @_ZN11alglib_impl19sparsegetmatrixtypeEPNS_12sparsematrixEPNS_8ae_stateE(ptr noundef nonnull %3, ptr noundef %0)
  %250 = icmp ne i64 %249, 2
  call void @_ZN11alglib_impl17ae_set_error_flagEPbbPKciS2_(ptr noundef nonnull %20, i1 noundef zeroext %250, ptr noundef nonnull @.str.8, i32 noundef 4755, ptr noundef nonnull @.str.55)
  %251 = call noundef zeroext i1 @_ZN11alglib_impl11sparseissksEPNS_12sparsematrixEPNS_8ae_stateE(ptr noundef nonnull %3, ptr noundef %0)
  %252 = xor i1 %251, true
  call void @_ZN11alglib_impl17ae_set_error_flagEPbbPKciS2_(ptr noundef nonnull %20, i1 noundef zeroext %252, ptr noundef nonnull @.str.8, i32 noundef 4756, ptr noundef nonnull @.str.56)
  %253 = call noundef zeroext i1 @_ZN11alglib_impl11sparseiscrsEPNS_12sparsematrixEPNS_8ae_stateE(ptr noundef nonnull %3, ptr noundef %0)
  call void @_ZN11alglib_impl17ae_set_error_flagEPbbPKciS2_(ptr noundef nonnull %20, i1 noundef zeroext %253, ptr noundef nonnull @.str.8, i32 noundef 4757, ptr noundef nonnull @.str.57)
  %254 = call noundef zeroext i1 @_ZN11alglib_impl12sparseishashEPNS_12sparsematrixEPNS_8ae_stateE(ptr noundef nonnull %3, ptr noundef %0)
  call void @_ZN11alglib_impl17ae_set_error_flagEPbbPKciS2_(ptr noundef nonnull %20, i1 noundef zeroext %254, ptr noundef nonnull @.str.8, i32 noundef 4758, ptr noundef nonnull @.str.58)
  %255 = call noundef zeroext i1 @_ZN11alglib_impl11sparseissksEPNS_12sparsematrixEPNS_8ae_stateE(ptr noundef nonnull %4, ptr noundef %0)
  call void @_ZN11alglib_impl17ae_set_error_flagEPbbPKciS2_(ptr noundef nonnull %20, i1 noundef zeroext %255, ptr noundef nonnull @.str.8, i32 noundef 4759, ptr noundef nonnull @.str.59)
  %256 = call noundef zeroext i1 @_ZN11alglib_impl11sparseiscrsEPNS_12sparsematrixEPNS_8ae_stateE(ptr noundef nonnull %4, ptr noundef %0)
  %257 = xor i1 %256, true
  call void @_ZN11alglib_impl17ae_set_error_flagEPbbPKciS2_(ptr noundef nonnull %20, i1 noundef zeroext %257, ptr noundef nonnull @.str.8, i32 noundef 4760, ptr noundef nonnull @.str.60)
  %258 = call noundef zeroext i1 @_ZN11alglib_impl12sparseishashEPNS_12sparsematrixEPNS_8ae_stateE(ptr noundef nonnull %4, ptr noundef %0)
  call void @_ZN11alglib_impl17ae_set_error_flagEPbbPKciS2_(ptr noundef nonnull %20, i1 noundef zeroext %258, ptr noundef nonnull @.str.8, i32 noundef 4761, ptr noundef nonnull @.str.61)
  store i64 0, ptr %10, align 8, !tbaa !9
  br label %259

.preheader248:                                    ; preds = %259
  store i64 0, ptr %10, align 8, !tbaa !9
  br label %.preheader242

259:                                              ; preds = %244, %259
  %storemerge204263 = phi i64 [ 0, %244 ], [ %268, %259 ]
  %260 = load ptr, ptr %23, align 8, !tbaa !11
  %261 = getelementptr inbounds ptr, ptr %260, i64 %storemerge204263
  %262 = load ptr, ptr %261, align 8, !tbaa !14
  %263 = getelementptr inbounds double, ptr %262, i64 %storemerge204263
  %264 = load double, ptr %263, align 8, !tbaa !16
  %265 = call noundef double @_ZN11alglib_impl17sparsegetdiagonalEPNS_12sparsematrixElPNS_8ae_stateE(ptr noundef nonnull %3, i64 noundef %storemerge204263, ptr noundef %0)
  store double %265, ptr %19, align 8, !tbaa !16
  %266 = call noundef zeroext i1 @_ZN11alglib_impl9ae_fp_neqEdd(double noundef %265, double noundef %264)
  call void @_ZN11alglib_impl17ae_set_error_flagEPbbPKciS2_(ptr noundef nonnull %20, i1 noundef zeroext %266, ptr noundef nonnull @.str.8, i32 noundef 4766, ptr noundef nonnull @.str.62)
  %267 = load i64, ptr %10, align 8, !tbaa !9
  %268 = add nsw i64 %267, 1
  store i64 %268, ptr %10, align 8, !tbaa !9
  %.not205.not = icmp slt i64 %268, %.0272
  br i1 %.not205.not, label %259, label %.preheader248, !llvm.loop !41

.preheader242:                                    ; preds = %.preheader248, %304
  store i64 0, ptr %11, align 8, !tbaa !9
  br label %269

269:                                              ; preds = %.preheader242, %269
  %storemerge228264 = phi i64 [ 0, %.preheader242 ], [ %303, %269 ]
  %270 = load ptr, ptr %23, align 8, !tbaa !11
  %271 = load i64, ptr %10, align 8, !tbaa !9
  %272 = getelementptr inbounds ptr, ptr %270, i64 %271
  %273 = load ptr, ptr %272, align 8, !tbaa !14
  %274 = getelementptr inbounds double, ptr %273, i64 %storemerge228264
  %275 = load double, ptr %274, align 8, !tbaa !16
  %276 = call noundef double @_ZN11alglib_impl9sparsegetEPNS_12sparsematrixEllPNS_8ae_stateE(ptr noundef nonnull %3, i64 noundef %271, i64 noundef %storemerge228264, ptr noundef %0)
  store double %276, ptr %19, align 8, !tbaa !16
  %277 = call noundef zeroext i1 @_ZN11alglib_impl9ae_fp_neqEdd(double noundef %276, double noundef %275)
  call void @_ZN11alglib_impl17ae_set_error_flagEPbbPKciS2_(ptr noundef nonnull %20, i1 noundef zeroext %277, ptr noundef nonnull @.str.8, i32 noundef 4774, ptr noundef nonnull @.str.63)
  %278 = load i64, ptr %10, align 8, !tbaa !9
  %279 = load i64, ptr %11, align 8, !tbaa !9
  %280 = call noundef double @_ZN11alglib_impl9sparsegetEPNS_12sparsematrixEllPNS_8ae_stateE(ptr noundef nonnull %4, i64 noundef %278, i64 noundef %279, ptr noundef %0)
  store double %280, ptr %19, align 8, !tbaa !16
  %281 = call noundef zeroext i1 @_ZN11alglib_impl9ae_fp_neqEdd(double noundef %280, double noundef %275)
  call void @_ZN11alglib_impl17ae_set_error_flagEPbbPKciS2_(ptr noundef nonnull %20, i1 noundef zeroext %281, ptr noundef nonnull @.str.8, i32 noundef 4776, ptr noundef nonnull @.str.64)
  %282 = load i64, ptr %10, align 8, !tbaa !9
  %283 = load i64, ptr %11, align 8, !tbaa !9
  %284 = call noundef double @_ZN11alglib_impl9sparsegetEPNS_12sparsematrixEllPNS_8ae_stateE(ptr noundef nonnull %5, i64 noundef %282, i64 noundef %283, ptr noundef %0)
  store double %284, ptr %19, align 8, !tbaa !16
  %285 = call noundef zeroext i1 @_ZN11alglib_impl9ae_fp_neqEdd(double noundef %284, double noundef %275)
  call void @_ZN11alglib_impl17ae_set_error_flagEPbbPKciS2_(ptr noundef nonnull %20, i1 noundef zeroext %285, ptr noundef nonnull @.str.8, i32 noundef 4778, ptr noundef nonnull @.str.65)
  %286 = load i64, ptr %10, align 8, !tbaa !9
  %287 = load i64, ptr %11, align 8, !tbaa !9
  %288 = call noundef double @_ZN11alglib_impl9sparsegetEPNS_12sparsematrixEllPNS_8ae_stateE(ptr noundef nonnull %6, i64 noundef %286, i64 noundef %287, ptr noundef %0)
  store double %288, ptr %19, align 8, !tbaa !16
  %289 = call noundef zeroext i1 @_ZN11alglib_impl9ae_fp_neqEdd(double noundef %288, double noundef %275)
  call void @_ZN11alglib_impl17ae_set_error_flagEPbbPKciS2_(ptr noundef nonnull %20, i1 noundef zeroext %289, ptr noundef nonnull @.str.8, i32 noundef 4780, ptr noundef nonnull @.str.66)
  %290 = load i64, ptr %10, align 8, !tbaa !9
  %291 = load i64, ptr %11, align 8, !tbaa !9
  %292 = call noundef double @_ZN11alglib_impl9sparsegetEPNS_12sparsematrixEllPNS_8ae_stateE(ptr noundef nonnull %7, i64 noundef %290, i64 noundef %291, ptr noundef %0)
  store double %292, ptr %19, align 8, !tbaa !16
  %293 = call noundef zeroext i1 @_ZN11alglib_impl9ae_fp_neqEdd(double noundef %292, double noundef %275)
  call void @_ZN11alglib_impl17ae_set_error_flagEPbbPKciS2_(ptr noundef nonnull %20, i1 noundef zeroext %293, ptr noundef nonnull @.str.8, i32 noundef 4782, ptr noundef nonnull @.str.67)
  %294 = load i64, ptr %10, align 8, !tbaa !9
  %295 = load i64, ptr %11, align 8, !tbaa !9
  %296 = call noundef double @_ZN11alglib_impl9sparsegetEPNS_12sparsematrixEllPNS_8ae_stateE(ptr noundef nonnull %8, i64 noundef %294, i64 noundef %295, ptr noundef %0)
  store double %296, ptr %19, align 8, !tbaa !16
  %297 = call noundef zeroext i1 @_ZN11alglib_impl9ae_fp_neqEdd(double noundef %296, double noundef %275)
  call void @_ZN11alglib_impl17ae_set_error_flagEPbbPKciS2_(ptr noundef nonnull %20, i1 noundef zeroext %297, ptr noundef nonnull @.str.8, i32 noundef 4784, ptr noundef nonnull @.str.68)
  %298 = load i64, ptr %10, align 8, !tbaa !9
  %299 = load i64, ptr %11, align 8, !tbaa !9
  %300 = call noundef double @_ZN11alglib_impl9sparsegetEPNS_12sparsematrixEllPNS_8ae_stateE(ptr noundef nonnull %9, i64 noundef %298, i64 noundef %299, ptr noundef %0)
  store double %300, ptr %19, align 8, !tbaa !16
  %301 = call noundef zeroext i1 @_ZN11alglib_impl9ae_fp_neqEdd(double noundef %300, double noundef %275)
  call void @_ZN11alglib_impl17ae_set_error_flagEPbbPKciS2_(ptr noundef nonnull %20, i1 noundef zeroext %301, ptr noundef nonnull @.str.8, i32 noundef 4786, ptr noundef nonnull @.str.69)
  %302 = load i64, ptr %11, align 8, !tbaa !9
  %303 = add nsw i64 %302, 1
  store i64 %303, ptr %11, align 8, !tbaa !9
  %.not229.not = icmp slt i64 %303, %.0272
  br i1 %.not229.not, label %269, label %304, !llvm.loop !42

304:                                              ; preds = %269
  %305 = load i64, ptr %10, align 8, !tbaa !9
  %306 = add nsw i64 %305, 1
  store i64 %306, ptr %10, align 8, !tbaa !9
  %.not207.not = icmp slt i64 %306, %.0272
  br i1 %.not207.not, label %.preheader242, label %307, !llvm.loop !43

307:                                              ; preds = %304
  call void @_ZN11alglib_impl20ae_matrix_set_lengthEPNS_9ae_matrixEllPNS_8ae_stateE(ptr noundef nonnull %15, i64 noundef %.0272, i64 noundef %.0272, ptr noundef %0)
  br label %.preheader241

.preheader241:                                    ; preds = %307, %.epilog-lcssa
  %storemerge208267 = phi i64 [ 0, %307 ], [ %333, %.epilog-lcssa ]
  br i1 %32, label %.unr-lcssa, label %.preheader241.new

.preheader241.new:                                ; preds = %.preheader241, %.preheader241.new
  %storemerge226265 = phi i64 [ %327, %.preheader241.new ], [ 0, %.preheader241 ]
  %niter = phi i64 [ %niter.next.3, %.preheader241.new ], [ 0, %.preheader241 ]
  %308 = load ptr, ptr %24, align 8, !tbaa !11
  %309 = getelementptr inbounds ptr, ptr %308, i64 %storemerge208267
  %310 = load ptr, ptr %309, align 8, !tbaa !14
  %311 = getelementptr inbounds i8, ptr %310, i64 %storemerge226265
  store i8 0, ptr %311, align 1, !tbaa !5
  %312 = or disjoint i64 %storemerge226265, 1
  %313 = load ptr, ptr %24, align 8, !tbaa !11
  %314 = getelementptr inbounds ptr, ptr %313, i64 %storemerge208267
  %315 = load ptr, ptr %314, align 8, !tbaa !14
  %316 = getelementptr inbounds i8, ptr %315, i64 %312
  store i8 0, ptr %316, align 1, !tbaa !5
  %317 = or disjoint i64 %storemerge226265, 2
  %318 = load ptr, ptr %24, align 8, !tbaa !11
  %319 = getelementptr inbounds ptr, ptr %318, i64 %storemerge208267
  %320 = load ptr, ptr %319, align 8, !tbaa !14
  %321 = getelementptr inbounds i8, ptr %320, i64 %317
  store i8 0, ptr %321, align 1, !tbaa !5
  %322 = or disjoint i64 %storemerge226265, 3
  %323 = load ptr, ptr %24, align 8, !tbaa !11
  %324 = getelementptr inbounds ptr, ptr %323, i64 %storemerge208267
  %325 = load ptr, ptr %324, align 8, !tbaa !14
  %326 = getelementptr inbounds i8, ptr %325, i64 %322
  store i8 0, ptr %326, align 1, !tbaa !5
  %327 = add nuw nsw i64 %storemerge226265, 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 %.unr-lcssa, label %.preheader241.new, !llvm.loop !44

.unr-lcssa:                                       ; preds = %.preheader241.new, %.preheader241
  %storemerge226265.unr = phi i64 [ 0, %.preheader241 ], [ %327, %.preheader241.new ]
  br i1 %lcmp.mod304.not, label %.epilog-lcssa, label %.epil.preheader

.epil.preheader:                                  ; preds = %.unr-lcssa, %.epil.preheader
  %storemerge226265.epil = phi i64 [ %332, %.epil.preheader ], [ %storemerge226265.unr, %.unr-lcssa ]
  %epil.iter = phi i64 [ %epil.iter.next, %.epil.preheader ], [ 0, %.unr-lcssa ]
  %328 = load ptr, ptr %24, align 8, !tbaa !11
  %329 = getelementptr inbounds ptr, ptr %328, i64 %storemerge208267
  %330 = load ptr, ptr %329, align 8, !tbaa !14
  %331 = getelementptr inbounds i8, ptr %330, i64 %storemerge226265.epil
  store i8 0, ptr %331, align 1, !tbaa !5
  %332 = add nuw nsw i64 %storemerge226265.epil, 1
  %epil.iter.next = add i64 %epil.iter, 1
  %epil.iter.cmp.not = icmp eq i64 %epil.iter.next, %xtraiter303
  br i1 %epil.iter.cmp.not, label %.epilog-lcssa, label %.epil.preheader, !llvm.loop !45

.epilog-lcssa:                                    ; preds = %.epil.preheader, %.unr-lcssa
  %333 = add nuw nsw i64 %storemerge208267, 1
  %exitcond277.not = icmp eq i64 %333, %.0272
  br i1 %exitcond277.not, label %334, label %.preheader241, !llvm.loop !46

334:                                              ; preds = %.epilog-lcssa
  store i64 %.0272, ptr %10, align 8, !tbaa !9
  store i64 %.0272, ptr %11, align 8, !tbaa !9
  store i64 0, ptr %12, align 8, !tbaa !9
  store i64 0, ptr %13, align 8, !tbaa !9
  %335 = call noundef zeroext i1 @_ZN11alglib_impl15sparseenumerateEPNS_12sparsematrixEPlS2_S2_S2_PdPNS_8ae_stateE(ptr noundef nonnull %3, ptr noundef nonnull %12, ptr noundef nonnull %13, ptr noundef nonnull %10, ptr noundef nonnull %11, ptr noundef nonnull %19, ptr noundef %0)
  br i1 %335, label %.lr.ph, label %.preheader247

.preheader247:                                    ; preds = %.lr.ph, %334
  store i64 0, ptr %10, align 8, !tbaa !9
  br label %.preheader240

.lr.ph:                                           ; preds = %334, %.lr.ph
  %336 = load ptr, ptr %24, align 8, !tbaa !11
  %337 = load i64, ptr %10, align 8, !tbaa !9
  %338 = getelementptr inbounds ptr, ptr %336, i64 %337
  %339 = load ptr, ptr %338, align 8, !tbaa !14
  %340 = load i64, ptr %11, align 8, !tbaa !9
  %341 = getelementptr inbounds i8, ptr %339, i64 %340
  %342 = load i8, ptr %341, align 1, !tbaa !5, !range !47, !noundef !48
  %343 = trunc nuw i8 %342 to i1
  call void @_ZN11alglib_impl17ae_set_error_flagEPbbPKciS2_(ptr noundef nonnull %20, i1 noundef zeroext %343, ptr noundef nonnull @.str.8, i32 noundef 4807, ptr noundef nonnull @.str.70)
  %344 = load ptr, ptr %24, align 8, !tbaa !11
  %345 = load i64, ptr %10, align 8, !tbaa !9
  %346 = getelementptr inbounds ptr, ptr %344, i64 %345
  %347 = load ptr, ptr %346, align 8, !tbaa !14
  %348 = load i64, ptr %11, align 8, !tbaa !9
  %349 = getelementptr inbounds i8, ptr %347, i64 %348
  store i8 1, ptr %349, align 1, !tbaa !5
  %350 = call noundef zeroext i1 @_ZN11alglib_impl15sparseenumerateEPNS_12sparsematrixEPlS2_S2_S2_PdPNS_8ae_stateE(ptr noundef nonnull %3, ptr noundef nonnull %12, ptr noundef nonnull %13, ptr noundef nonnull %10, ptr noundef nonnull %11, ptr noundef nonnull %19, ptr noundef %0)
  br i1 %350, label %.lr.ph, label %.preheader247, !llvm.loop !49

.preheader240:                                    ; preds = %.preheader247, %372
  store i64 0, ptr %11, align 8, !tbaa !9
  br label %351

351:                                              ; preds = %.preheader240, %369
  %storemerge224268 = phi i64 [ 0, %.preheader240 ], [ %371, %369 ]
  %352 = load ptr, ptr %23, align 8, !tbaa !11
  %353 = load i64, ptr %10, align 8, !tbaa !9
  %354 = getelementptr inbounds ptr, ptr %352, i64 %353
  %355 = load ptr, ptr %354, align 8, !tbaa !14
  %356 = getelementptr inbounds double, ptr %355, i64 %storemerge224268
  %357 = load double, ptr %356, align 8, !tbaa !16
  %358 = call noundef zeroext i1 @_ZN11alglib_impl9ae_fp_neqEdd(double noundef %357, double noundef 0.000000e+00)
  br i1 %358, label %359, label %369

359:                                              ; preds = %351
  %360 = load ptr, ptr %24, align 8, !tbaa !11
  %361 = load i64, ptr %10, align 8, !tbaa !9
  %362 = getelementptr inbounds ptr, ptr %360, i64 %361
  %363 = load ptr, ptr %362, align 8, !tbaa !14
  %364 = load i64, ptr %11, align 8, !tbaa !9
  %365 = getelementptr inbounds i8, ptr %363, i64 %364
  %366 = load i8, ptr %365, align 1, !tbaa !5, !range !47, !noundef !48
  %367 = trunc nuw i8 %366 to i1
  %368 = xor i1 %367, true
  call void @_ZN11alglib_impl17ae_set_error_flagEPbbPKciS2_(ptr noundef nonnull %20, i1 noundef zeroext %368, ptr noundef nonnull @.str.8, i32 noundef 4816, ptr noundef nonnull @.str.71)
  br label %369

369:                                              ; preds = %351, %359
  %370 = load i64, ptr %11, align 8, !tbaa !9
  %371 = add nsw i64 %370, 1
  store i64 %371, ptr %11, align 8, !tbaa !9
  %.not225.not = icmp slt i64 %371, %.0272
  br i1 %.not225.not, label %351, label %372, !llvm.loop !50

372:                                              ; preds = %369
  %373 = load i64, ptr %10, align 8, !tbaa !9
  %374 = add nsw i64 %373, 1
  store i64 %374, ptr %10, align 8, !tbaa !9
  %.not211.not = icmp slt i64 %374, %.0272
  br i1 %.not211.not, label %.preheader240, label %375, !llvm.loop !51

375:                                              ; preds = %372
  %376 = call noundef i64 @_ZN11alglib_impl19sparsegetuppercountEPNS_12sparsematrixEPNS_8ae_stateE(ptr noundef nonnull %3, ptr noundef %0)
  %377 = icmp ne i64 %376, %.lcssa282
  call void @_ZN11alglib_impl17ae_set_error_flagEPbbPKciS2_(ptr noundef nonnull %20, i1 noundef zeroext %377, ptr noundef nonnull @.str.8, i32 noundef 4824, ptr noundef nonnull @.str.72)
  %378 = call noundef i64 @_ZN11alglib_impl19sparsegetlowercountEPNS_12sparsematrixEPNS_8ae_stateE(ptr noundef nonnull %3, ptr noundef %0)
  %379 = icmp ne i64 %378, %.lcssa281
  call void @_ZN11alglib_impl17ae_set_error_flagEPbbPKciS2_(ptr noundef nonnull %20, i1 noundef zeroext %379, ptr noundef nonnull @.str.8, i32 noundef 4825, ptr noundef nonnull @.str.73)
  call void @_ZN11alglib_impl10sparsecopyEPNS_12sparsematrixES1_PNS_8ae_stateE(ptr noundef nonnull %3, ptr noundef nonnull %4, ptr noundef %0)
  call void @_ZN11alglib_impl18sparsetransposesksEPNS_12sparsematrixEPNS_8ae_stateE(ptr noundef nonnull %4, ptr noundef %0)
  store i64 0, ptr %10, align 8, !tbaa !9
  br label %.preheader239

.preheader239:                                    ; preds = %375, %390
  store i64 0, ptr %11, align 8, !tbaa !9
  br label %380

380:                                              ; preds = %.preheader239, %380
  %storemerge222269 = phi i64 [ 0, %.preheader239 ], [ %389, %380 ]
  %381 = load i64, ptr %10, align 8, !tbaa !9
  %382 = call noundef double @_ZN11alglib_impl9sparsegetEPNS_12sparsematrixEllPNS_8ae_stateE(ptr noundef nonnull %3, i64 noundef %381, i64 noundef %storemerge222269, ptr noundef %0)
  store double %382, ptr %19, align 8, !tbaa !16
  %383 = load i64, ptr %11, align 8, !tbaa !9
  %384 = load i64, ptr %10, align 8, !tbaa !9
  %385 = call noundef double @_ZN11alglib_impl9sparsegetEPNS_12sparsematrixEllPNS_8ae_stateE(ptr noundef nonnull %4, i64 noundef %383, i64 noundef %384, ptr noundef %0)
  %386 = load double, ptr %19, align 8, !tbaa !16
  %387 = call noundef zeroext i1 @_ZN11alglib_impl9ae_fp_neqEdd(double noundef %386, double noundef %385)
  call void @_ZN11alglib_impl17ae_set_error_flagEPbbPKciS2_(ptr noundef nonnull %20, i1 noundef zeroext %387, ptr noundef nonnull @.str.8, i32 noundef 4838, ptr noundef nonnull @.str.74)
  %388 = load i64, ptr %11, align 8, !tbaa !9
  %389 = add nsw i64 %388, 1
  store i64 %389, ptr %11, align 8, !tbaa !9
  %.not223.not = icmp slt i64 %389, %.0272
  br i1 %.not223.not, label %380, label %390, !llvm.loop !52

390:                                              ; preds = %380
  %391 = load i64, ptr %10, align 8, !tbaa !9
  %392 = add nsw i64 %391, 1
  store i64 %392, ptr %10, align 8, !tbaa !9
  %.not213.not = icmp slt i64 %392, %.0272
  br i1 %.not213.not, label %.preheader239, label %393, !llvm.loop !53

393:                                              ; preds = %390
  call void @_ZN11alglib_impl12sparsecreateElllPNS_12sparsematrixEPNS_8ae_stateE(i64 noundef %.0272, i64 noundef %.0272, i64 noundef 0, ptr noundef nonnull %3, ptr noundef %0)
  store i64 0, ptr %10, align 8, !tbaa !9
  br label %.preheader238

.preheader238:                                    ; preds = %393, %413
  store i64 0, ptr %11, align 8, !tbaa !9
  br label %394

394:                                              ; preds = %.preheader238, %410
  %storemerge220270 = phi i64 [ 0, %.preheader238 ], [ %412, %410 ]
  %395 = load ptr, ptr %23, align 8, !tbaa !11
  %396 = load i64, ptr %10, align 8, !tbaa !9
  %397 = getelementptr inbounds ptr, ptr %395, i64 %396
  %398 = load ptr, ptr %397, align 8, !tbaa !14
  %399 = getelementptr inbounds double, ptr %398, i64 %storemerge220270
  %400 = load double, ptr %399, align 8, !tbaa !16
  %401 = call noundef zeroext i1 @_ZN11alglib_impl9ae_fp_neqEdd(double noundef %400, double noundef 0.000000e+00)
  br i1 %401, label %402, label %410

402:                                              ; preds = %394
  %403 = load i64, ptr %10, align 8, !tbaa !9
  %404 = load i64, ptr %11, align 8, !tbaa !9
  %405 = load ptr, ptr %23, align 8, !tbaa !11
  %406 = getelementptr inbounds ptr, ptr %405, i64 %403
  %407 = load ptr, ptr %406, align 8, !tbaa !14
  %408 = getelementptr inbounds double, ptr %407, i64 %404
  %409 = load double, ptr %408, align 8, !tbaa !16
  call void @_ZN11alglib_impl9sparsesetEPNS_12sparsematrixElldPNS_8ae_stateE(ptr noundef nonnull %3, i64 noundef %403, i64 noundef %404, double noundef %409, ptr noundef %0)
  br label %410

410:                                              ; preds = %394, %402
  %411 = load i64, ptr %11, align 8, !tbaa !9
  %412 = add nsw i64 %411, 1
  store i64 %412, ptr %11, align 8, !tbaa !9
  %.not221.not = icmp slt i64 %412, %.0272
  br i1 %.not221.not, label %394, label %413, !llvm.loop !54

413:                                              ; preds = %410
  %414 = load i64, ptr %10, align 8, !tbaa !9
  %415 = add nsw i64 %414, 1
  store i64 %415, ptr %10, align 8, !tbaa !9
  %.not215.not = icmp slt i64 %415, %.0272
  br i1 %.not215.not, label %.preheader238, label %416, !llvm.loop !55

416:                                              ; preds = %413
  call void @_ZN11alglib_impl10sparsecopyEPNS_12sparsematrixES1_PNS_8ae_stateE(ptr noundef nonnull %3, ptr noundef nonnull %4, ptr noundef %0)
  call void @_ZN11alglib_impl18sparseconverttosksEPNS_12sparsematrixEPNS_8ae_stateE(ptr noundef nonnull %4, ptr noundef %0)
  call void @_ZN11alglib_impl15sparsecopytosksEPNS_12sparsematrixES1_PNS_8ae_stateE(ptr noundef nonnull %3, ptr noundef nonnull %5, ptr noundef %0)
  call void @_ZN11alglib_impl18sparsecopytosksbufEPNS_12sparsematrixES1_PNS_8ae_stateE(ptr noundef nonnull %3, ptr noundef nonnull %6, ptr noundef %0)
  %417 = call noundef zeroext i1 @_ZN11alglib_impl11sparseissksEPNS_12sparsematrixEPNS_8ae_stateE(ptr noundef nonnull %4, ptr noundef %0)
  %418 = xor i1 %417, true
  call void @_ZN11alglib_impl17ae_set_error_flagEPbbPKciS2_(ptr noundef nonnull %20, i1 noundef zeroext %418, ptr noundef nonnull @.str.8, i32 noundef 4861, ptr noundef nonnull @.str.75)
  %419 = call noundef zeroext i1 @_ZN11alglib_impl11sparseiscrsEPNS_12sparsematrixEPNS_8ae_stateE(ptr noundef nonnull %4, ptr noundef %0)
  call void @_ZN11alglib_impl17ae_set_error_flagEPbbPKciS2_(ptr noundef nonnull %20, i1 noundef zeroext %419, ptr noundef nonnull @.str.8, i32 noundef 4862, ptr noundef nonnull @.str.76)
  %420 = call noundef zeroext i1 @_ZN11alglib_impl12sparseishashEPNS_12sparsematrixEPNS_8ae_stateE(ptr noundef nonnull %4, ptr noundef %0)
  call void @_ZN11alglib_impl17ae_set_error_flagEPbbPKciS2_(ptr noundef nonnull %20, i1 noundef zeroext %420, ptr noundef nonnull @.str.8, i32 noundef 4863, ptr noundef nonnull @.str.77)
  %421 = call noundef zeroext i1 @_ZN11alglib_impl11sparseissksEPNS_12sparsematrixEPNS_8ae_stateE(ptr noundef nonnull %5, ptr noundef %0)
  %422 = xor i1 %421, true
  call void @_ZN11alglib_impl17ae_set_error_flagEPbbPKciS2_(ptr noundef nonnull %20, i1 noundef zeroext %422, ptr noundef nonnull @.str.8, i32 noundef 4864, ptr noundef nonnull @.str.78)
  %423 = call noundef zeroext i1 @_ZN11alglib_impl11sparseiscrsEPNS_12sparsematrixEPNS_8ae_stateE(ptr noundef nonnull %5, ptr noundef %0)
  call void @_ZN11alglib_impl17ae_set_error_flagEPbbPKciS2_(ptr noundef nonnull %20, i1 noundef zeroext %423, ptr noundef nonnull @.str.8, i32 noundef 4865, ptr noundef nonnull @.str.79)
  %424 = call noundef zeroext i1 @_ZN11alglib_impl12sparseishashEPNS_12sparsematrixEPNS_8ae_stateE(ptr noundef nonnull %5, ptr noundef %0)
  call void @_ZN11alglib_impl17ae_set_error_flagEPbbPKciS2_(ptr noundef nonnull %20, i1 noundef zeroext %424, ptr noundef nonnull @.str.8, i32 noundef 4866, ptr noundef nonnull @.str.80)
  %425 = call noundef zeroext i1 @_ZN11alglib_impl11sparseissksEPNS_12sparsematrixEPNS_8ae_stateE(ptr noundef nonnull %6, ptr noundef %0)
  %426 = xor i1 %425, true
  call void @_ZN11alglib_impl17ae_set_error_flagEPbbPKciS2_(ptr noundef nonnull %20, i1 noundef zeroext %426, ptr noundef nonnull @.str.8, i32 noundef 4867, ptr noundef nonnull @.str.81)
  %427 = call noundef zeroext i1 @_ZN11alglib_impl11sparseiscrsEPNS_12sparsematrixEPNS_8ae_stateE(ptr noundef nonnull %6, ptr noundef %0)
  call void @_ZN11alglib_impl17ae_set_error_flagEPbbPKciS2_(ptr noundef nonnull %20, i1 noundef zeroext %427, ptr noundef nonnull @.str.8, i32 noundef 4868, ptr noundef nonnull @.str.82)
  %428 = call noundef zeroext i1 @_ZN11alglib_impl12sparseishashEPNS_12sparsematrixEPNS_8ae_stateE(ptr noundef nonnull %6, ptr noundef %0)
  call void @_ZN11alglib_impl17ae_set_error_flagEPbbPKciS2_(ptr noundef nonnull %20, i1 noundef zeroext %428, ptr noundef nonnull @.str.8, i32 noundef 4869, ptr noundef nonnull @.str.83)
  store i64 0, ptr %10, align 8, !tbaa !9
  br label %.preheader

.preheader:                                       ; preds = %416, %448
  store i64 0, ptr %11, align 8, !tbaa !9
  br label %429

429:                                              ; preds = %.preheader, %429
  %storemerge218271 = phi i64 [ 0, %.preheader ], [ %447, %429 ]
  %430 = load ptr, ptr %23, align 8, !tbaa !11
  %431 = load i64, ptr %10, align 8, !tbaa !9
  %432 = getelementptr inbounds ptr, ptr %430, i64 %431
  %433 = load ptr, ptr %432, align 8, !tbaa !14
  %434 = getelementptr inbounds double, ptr %433, i64 %storemerge218271
  %435 = load double, ptr %434, align 8, !tbaa !16
  %436 = call noundef double @_ZN11alglib_impl9sparsegetEPNS_12sparsematrixEllPNS_8ae_stateE(ptr noundef nonnull %4, i64 noundef %431, i64 noundef %storemerge218271, ptr noundef %0)
  store double %436, ptr %19, align 8, !tbaa !16
  %437 = call noundef zeroext i1 @_ZN11alglib_impl9ae_fp_neqEdd(double noundef %436, double noundef %435)
  call void @_ZN11alglib_impl17ae_set_error_flagEPbbPKciS2_(ptr noundef nonnull %20, i1 noundef zeroext %437, ptr noundef nonnull @.str.8, i32 noundef 4876, ptr noundef nonnull @.str.84)
  %438 = load i64, ptr %10, align 8, !tbaa !9
  %439 = load i64, ptr %11, align 8, !tbaa !9
  %440 = call noundef double @_ZN11alglib_impl9sparsegetEPNS_12sparsematrixEllPNS_8ae_stateE(ptr noundef nonnull %5, i64 noundef %438, i64 noundef %439, ptr noundef %0)
  store double %440, ptr %19, align 8, !tbaa !16
  %441 = call noundef zeroext i1 @_ZN11alglib_impl9ae_fp_neqEdd(double noundef %440, double noundef %435)
  call void @_ZN11alglib_impl17ae_set_error_flagEPbbPKciS2_(ptr noundef nonnull %20, i1 noundef zeroext %441, ptr noundef nonnull @.str.8, i32 noundef 4878, ptr noundef nonnull @.str.85)
  %442 = load i64, ptr %10, align 8, !tbaa !9
  %443 = load i64, ptr %11, align 8, !tbaa !9
  %444 = call noundef double @_ZN11alglib_impl9sparsegetEPNS_12sparsematrixEllPNS_8ae_stateE(ptr noundef nonnull %6, i64 noundef %442, i64 noundef %443, ptr noundef %0)
  store double %444, ptr %19, align 8, !tbaa !16
  %445 = call noundef zeroext i1 @_ZN11alglib_impl9ae_fp_neqEdd(double noundef %444, double noundef %435)
  call void @_ZN11alglib_impl17ae_set_error_flagEPbbPKciS2_(ptr noundef nonnull %20, i1 noundef zeroext %445, ptr noundef nonnull @.str.8, i32 noundef 4880, ptr noundef nonnull @.str.86)
  %446 = load i64, ptr %11, align 8, !tbaa !9
  %447 = add nsw i64 %446, 1
  store i64 %447, ptr %11, align 8, !tbaa !9
  %.not219.not = icmp slt i64 %447, %.0272
  br i1 %.not219.not, label %429, label %448, !llvm.loop !56

448:                                              ; preds = %429
  %449 = load i64, ptr %10, align 8, !tbaa !9
  %450 = add nsw i64 %449, 1
  store i64 %450, ptr %10, align 8, !tbaa !9
  %.not217.not = icmp slt i64 %450, %.0272
  br i1 %.not217.not, label %.preheader, label %451, !llvm.loop !57

451:                                              ; preds = %448
  %452 = icmp eq i64 %.0164, 0
  br i1 %452, label %458, label %453

453:                                              ; preds = %451
  %454 = fmul double %34, 0x3FEE666666666666
  %455 = call noundef i64 @_ZN11alglib_impl8ae_roundEdPNS_8ae_stateE(double noundef %454, ptr noundef %0)
  %456 = add nsw i64 %.0164, -1
  %457 = call noundef i64 @_ZN11alglib_impl9ae_minintEllPNS_8ae_stateE(i64 noundef %455, i64 noundef %456, ptr noundef %0)
  br label %33, !llvm.loop !58

458:                                              ; preds = %451
  %exitcond278.not = icmp eq i64 %31, 21
  %indvar.next = add i64 %indvar, 1
  br i1 %exitcond278.not, label %459, label %25, !llvm.loop !59

459:                                              ; preds = %458
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %0)
  %460 = load i8, ptr %20, align 1, !tbaa !5, !range !47, !noundef !48
  %461 = trunc nuw i8 %460 to i1
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %20) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %18) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %17) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %16) #5
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %15) #5
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %14) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #5
  call void @llvm.lifetime.end.p0(i64 368, ptr nonnull %9) #5
  call void @llvm.lifetime.end.p0(i64 368, ptr nonnull %8) #5
  call void @llvm.lifetime.end.p0(i64 368, ptr nonnull %7) #5
  call void @llvm.lifetime.end.p0(i64 368, ptr nonnull %6) #5
  call void @llvm.lifetime.end.p0(i64 368, ptr nonnull %5) #5
  call void @llvm.lifetime.end.p0(i64 368, ptr nonnull %4) #5
  call void @llvm.lifetime.end.p0(i64 368, ptr nonnull %3) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %2) #5
  ret i1 %461
}

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

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

declare noundef i64 @_ZN11alglib_impl9ae_maxintEllPNS_8ae_stateE(i64 noundef, i64 noundef, ptr noundef) local_unnamed_addr #1

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

declare noundef i64 @_ZN11alglib_impl9ae_minintEllPNS_8ae_stateE(i64 noundef, i64 noundef, ptr noundef) local_unnamed_addr #1

declare noundef i64 @_ZN11alglib_impl7ae_iabsElPNS_8ae_stateE(i64 noundef, ptr noundef) local_unnamed_addr #1

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

declare noundef zeroext i1 @_ZN11alglib_impl21sparserewriteexistingEPNS_12sparsematrixElldPNS_8ae_stateE(ptr noundef, i64 noundef, i64 noundef, double noundef, ptr noundef) local_unnamed_addr #1

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

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

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

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

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

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

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

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

declare noundef i64 @_ZN11alglib_impl14sparsegetnrowsEPNS_12sparsematrixEPNS_8ae_stateE(ptr noundef, ptr noundef) local_unnamed_addr #1

declare noundef i64 @_ZN11alglib_impl14sparsegetncolsEPNS_12sparsematrixEPNS_8ae_stateE(ptr noundef, ptr noundef) local_unnamed_addr #1

declare noundef i64 @_ZN11alglib_impl19sparsegetmatrixtypeEPNS_12sparsematrixEPNS_8ae_stateE(ptr noundef, ptr noundef) local_unnamed_addr #1

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

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

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

declare noundef double @_ZN11alglib_impl17sparsegetdiagonalEPNS_12sparsematrixElPNS_8ae_stateE(ptr noundef, i64 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 noundef zeroext i1 @_ZN11alglib_impl15sparseenumerateEPNS_12sparsematrixEPlS2_S2_S2_PdPNS_8ae_stateE(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

declare noundef i64 @_ZN11alglib_impl19sparsegetuppercountEPNS_12sparsematrixEPNS_8ae_stateE(ptr noundef, ptr noundef) local_unnamed_addr #1

declare noundef i64 @_ZN11alglib_impl19sparsegetlowercountEPNS_12sparsematrixEPNS_8ae_stateE(ptr noundef, ptr noundef) local_unnamed_addr #1

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

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

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

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

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i64 @llvm.vector.reduce.add.v2i64(<2 x i64>) #4

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"bool", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!7, !7, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
!14 = !{!15, !15, i64 0}
!15 = !{!"any pointer", !7, i64 0}
!16 = !{!17, !17, i64 0}
!17 = !{!"double", !7, i64 0}
!18 = distinct !{!18, !13}
!19 = distinct !{!19, !13}
!20 = distinct !{!20, !13}
!21 = distinct !{!21, !13}
!22 = distinct !{!22, !13}
!23 = distinct !{!23, !24}
!24 = !{!"llvm.loop.unroll.disable"}
!25 = !{!26}
!26 = distinct !{!26, !27}
!27 = distinct !{!27, !"LVerDomain"}
!28 = !{!29}
!29 = distinct !{!29, !27}
!30 = distinct !{!30, !13, !31, !32}
!31 = !{!"llvm.loop.isvectorized", i32 1}
!32 = !{!"llvm.loop.unroll.runtime.disable"}
!33 = !{!34}
!34 = distinct !{!34, !27}
!35 = !{!26, !29}
!36 = distinct !{!36, !13}
!37 = distinct !{!37, !13}
!38 = distinct !{!38, !13, !31}
!39 = distinct !{!39, !13}
!40 = distinct !{!40, !13}
!41 = distinct !{!41, !13}
!42 = distinct !{!42, !13}
!43 = distinct !{!43, !13}
!44 = distinct !{!44, !13}
!45 = distinct !{!45, !24}
!46 = distinct !{!46, !13}
!47 = !{i8 0, i8 2}
!48 = !{}
!49 = distinct !{!49, !13}
!50 = distinct !{!50, !13}
!51 = distinct !{!51, !13}
!52 = distinct !{!52, !13}
!53 = distinct !{!53, !13}
!54 = distinct !{!54, !13}
!55 = distinct !{!55, !13}
!56 = distinct !{!56, !13}
!57 = distinct !{!57, !13}
!58 = distinct !{!58, !13}
!59 = distinct !{!59, !13}


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