; LLVM IR from venumb/ZSPACE :: cpp/depends/alglib/cpp/tests/test_c.ll (Z9testbdsvdbPN11alglib_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::ae_vector" = type { i64, i64, i8, %"struct.alglib_impl::ae_dyn_block", %union.anon }
%union.anon = type { ptr }
%"struct.alglib_impl::ae_matrix" = type { i64, i64, i64, i64, i8, %"struct.alglib_impl::ae_dyn_block", %union.anon.0 }
%union.anon.0 = type { ptr }

@.str.1 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.196 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.296 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.297 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.298 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.299 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.300 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.301 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.302 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.303 = external hidden unnamed_addr constant [48 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 i32 @printf(ptr noundef, ...) #1

declare void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef) #1

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

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

declare noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef) #1

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_Z9testbdsvdbPN11alglib_impl8ae_stateE(i1 noundef zeroext %0, ptr noundef %1) #4 {
  %3 = alloca i8, align 1
  %4 = alloca ptr, align 8
  %5 = alloca %"struct.alglib_impl::ae_frame", align 8
  %6 = alloca %"struct.alglib_impl::ae_vector", align 8
  %7 = alloca %"struct.alglib_impl::ae_vector", align 8
  %8 = alloca %"struct.alglib_impl::ae_matrix", align 8
  %9 = alloca i64, align 8
  %10 = alloca i64, align 8
  %11 = alloca i64, align 8
  %12 = alloca i64, align 8
  %13 = alloca i8, align 1
  %14 = alloca i8, align 1
  %15 = alloca i8, align 1
  %16 = alloca double, align 8
  %17 = alloca double, align 8
  %18 = alloca double, align 8
  %19 = alloca double, align 8
  %20 = alloca i64, align 8
  %21 = alloca i64, align 8
  %22 = alloca i8, align 1
  %23 = zext i1 %0 to i8
  store i8 %23, ptr %3, align 1, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 32, ptr %5) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr %6) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr %7) #5
  call void @llvm.lifetime.start.p0(i64 80, ptr %8) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %13) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %14) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %15) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %22) #5
  %24 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl13ae_frame_makeEPNS_8ae_stateEPNS_8ae_frameE(ptr noundef %24, ptr noundef %5)
  call void @llvm.memset.p0.i64(ptr align 8 %6, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %7, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %8, i8 0, i64 80, i1 false)
  %25 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef %6, i64 noundef 0, i64 noundef 3, ptr noundef %25, i1 noundef zeroext true)
  %26 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef %7, i64 noundef 0, i64 noundef 3, ptr noundef %26, i1 noundef zeroext true)
  %27 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl14ae_matrix_initEPNS_9ae_matrixElllPNS_8ae_stateEb(ptr noundef %8, i64 noundef 0, i64 noundef 0, i64 noundef 3, ptr noundef %27, i1 noundef zeroext true)
  store i64 0, ptr %20, align 8, !tbaa !11
  store i64 0, ptr %21, align 8, !tbaa !11
  store double 0.000000e+00, ptr %16, align 8, !tbaa !13
  store double 0.000000e+00, ptr %17, align 8, !tbaa !13
  store i8 1, ptr %14, align 1, !tbaa !5
  store i8 0, ptr %15, align 1, !tbaa !5
  store i8 0, ptr %13, align 1, !tbaa !5
  store i64 15, ptr %10, align 8, !tbaa !11
  store double 2.500000e-13, ptr %18, align 8, !tbaa !13
  %28 = load i64, ptr %10, align 8, !tbaa !11
  %29 = sub nsw i64 %28, 1
  %30 = add nsw i64 %29, 1
  %31 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %6, i64 noundef %30, ptr noundef %31)
  %32 = load i64, ptr %10, align 8, !tbaa !11
  %33 = sub nsw i64 %32, 2
  %34 = add nsw i64 %33, 1
  %35 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %7, i64 noundef %34, ptr noundef %35)
  store i64 7, ptr %9, align 8, !tbaa !11
  %36 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %6, i32 0, i32 4
  %37 = load ptr, ptr %36, align 8, !tbaa !15
  %38 = getelementptr inbounds double, ptr %37, i64 0
  store double 0xBFE6496C92D925B2, ptr %38, align 8, !tbaa !13
  %39 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %6, i32 0, i32 4
  %40 = load ptr, ptr %39, align 8, !tbaa !15
  %41 = getelementptr inbounds double, ptr %40, i64 1
  store double 0.000000e+00, ptr %41, align 8, !tbaa !13
  %42 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %6, i32 0, i32 4
  %43 = load ptr, ptr %42, align 8, !tbaa !15
  %44 = getelementptr inbounds double, ptr %43, i64 2
  store double 0xBFE25CCC0E6B04E4, ptr %44, align 8, !tbaa !13
  %45 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %6, i32 0, i32 4
  %46 = load ptr, ptr %45, align 8, !tbaa !15
  %47 = getelementptr inbounds double, ptr %46, i64 3
  store double 0xBFE533B6886B1C84, ptr %47, align 8, !tbaa !13
  %48 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %6, i32 0, i32 4
  %49 = load ptr, ptr %48, align 8, !tbaa !15
  %50 = getelementptr inbounds double, ptr %49, i64 4
  store double 0x3FE2A5C8601A9F78, ptr %50, align 8, !tbaa !13
  %51 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %6, i32 0, i32 4
  %52 = load ptr, ptr %51, align 8, !tbaa !15
  %53 = getelementptr inbounds double, ptr %52, i64 5
  store double 0x3FD8A0FA24704C3B, ptr %53, align 8, !tbaa !13
  %54 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %6, i32 0, i32 4
  %55 = load ptr, ptr %54, align 8, !tbaa !15
  %56 = getelementptr inbounds double, ptr %55, i64 6
  store double 0x3FEF7DA4E71BE836, ptr %56, align 8, !tbaa !13
  %57 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %7, i32 0, i32 4
  %58 = load ptr, ptr %57, align 8, !tbaa !15
  %59 = getelementptr inbounds double, ptr %58, i64 0
  store double 0xBFB2B225644AC896, ptr %59, align 8, !tbaa !13
  %60 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %7, i32 0, i32 4
  %61 = load ptr, ptr %60, align 8, !tbaa !15
  %62 = getelementptr inbounds double, ptr %61, i64 1
  store double 0xBFCD733AE675CCEC, ptr %62, align 8, !tbaa !13
  %63 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %7, i32 0, i32 4
  %64 = load ptr, ptr %63, align 8, !tbaa !15
  %65 = getelementptr inbounds double, ptr %64, i64 2
  store double 0xBFE602A8C7F82175, ptr %65, align 8, !tbaa !13
  %66 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %7, i32 0, i32 4
  %67 = load ptr, ptr %66, align 8, !tbaa !15
  %68 = getelementptr inbounds double, ptr %67, i64 3
  store double 0xBF9227FB5C87B92F, ptr %68, align 8, !tbaa !13
  %69 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %7, i32 0, i32 4
  %70 = load ptr, ptr %69, align 8, !tbaa !15
  %71 = getelementptr inbounds double, ptr %70, i64 4
  store double 0x3CE00EF9A1E39644, ptr %71, align 8, !tbaa !13
  %72 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %7, i32 0, i32 4
  %73 = load ptr, ptr %72, align 8, !tbaa !15
  %74 = getelementptr inbounds double, ptr %73, i64 5
  store double 0xBFA90F1E766F0213, ptr %74, align 8, !tbaa !13
  %75 = load i64, ptr %9, align 8, !tbaa !11
  %76 = load ptr, ptr %4, align 8, !tbaa !9
  %77 = call noundef zeroext i1 @_ZN11alglib_impl12rmatrixbdsvdEPNS_9ae_vectorES1_lbbPNS_9ae_matrixElS3_lS3_lPNS_8ae_stateE(ptr noundef %6, ptr noundef %7, i64 noundef %75, i1 noundef zeroext true, i1 noundef zeroext false, ptr noundef %8, i64 noundef 0, ptr noundef %8, i64 noundef 0, ptr noundef %8, i64 noundef 0, ptr noundef %76)
  store i64 0, ptr %11, align 8, !tbaa !11
  br label %78

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

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

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

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

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

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

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

105:                                              ; preds = %92
  store i64 1, ptr %9, align 8, !tbaa !11
  br label %106

106:                                              ; preds = %113, %105
  %107 = load i64, ptr %9, align 8, !tbaa !11
  %108 = load i64, ptr %10, align 8, !tbaa !11
  %109 = icmp sle i64 %107, %108
  br i1 %109, label %110, label %116

110:                                              ; preds = %106
  %111 = load i64, ptr %9, align 8, !tbaa !11
  %112 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZL30testbdsvdunit_testbdsvdproblemPN11alglib_impl9ae_vectorES1_lPdS2_PbS3_PlS4_PNS_8ae_stateE(ptr noundef %6, ptr noundef %7, i64 noundef %111, ptr noundef %16, ptr noundef %17, ptr noundef %14, ptr noundef %15, ptr noundef %20, ptr noundef %21, ptr noundef %112)
  br label %113

113:                                              ; preds = %110
  %114 = load i64, ptr %9, align 8, !tbaa !11
  %115 = add nsw i64 %114, 1
  store i64 %115, ptr %9, align 8, !tbaa !11
  br label %106, !llvm.loop !19

116:                                              ; preds = %106
  store i64 1, ptr %9, align 8, !tbaa !11
  br label %117

117:                                              ; preds = %166, %116
  %118 = load i64, ptr %9, align 8, !tbaa !11
  %119 = load i64, ptr %10, align 8, !tbaa !11
  %120 = icmp sle i64 %118, %119
  br i1 %120, label %121, label %169

121:                                              ; preds = %117
  store i64 1, ptr %12, align 8, !tbaa !11
  br label %122

122:                                              ; preds = %162, %121
  %123 = load i64, ptr %12, align 8, !tbaa !11
  %124 = icmp sle i64 %123, 10
  br i1 %124, label %125, label %165

125:                                              ; preds = %122
  store i64 0, ptr %11, align 8, !tbaa !11
  br label %126

126:                                              ; preds = %139, %125
  %127 = load i64, ptr %11, align 8, !tbaa !11
  %128 = load i64, ptr %10, align 8, !tbaa !11
  %129 = sub nsw i64 %128, 1
  %130 = icmp sle i64 %127, %129
  br i1 %130, label %131, label %142

131:                                              ; preds = %126
  %132 = load ptr, ptr %4, align 8, !tbaa !9
  %133 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %132)
  %134 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %133, double -1.000000e+00)
  %135 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %6, i32 0, i32 4
  %136 = load ptr, ptr %135, align 8, !tbaa !15
  %137 = load i64, ptr %11, align 8, !tbaa !11
  %138 = getelementptr inbounds double, ptr %136, i64 %137
  store double %134, ptr %138, align 8, !tbaa !13
  br label %139

139:                                              ; preds = %131
  %140 = load i64, ptr %11, align 8, !tbaa !11
  %141 = add nsw i64 %140, 1
  store i64 %141, ptr %11, align 8, !tbaa !11
  br label %126, !llvm.loop !20

142:                                              ; preds = %126
  store i64 0, ptr %11, align 8, !tbaa !11
  br label %143

143:                                              ; preds = %156, %142
  %144 = load i64, ptr %11, align 8, !tbaa !11
  %145 = load i64, ptr %10, align 8, !tbaa !11
  %146 = sub nsw i64 %145, 2
  %147 = icmp sle i64 %144, %146
  br i1 %147, label %148, label %159

148:                                              ; preds = %143
  %149 = load ptr, ptr %4, align 8, !tbaa !9
  %150 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %149)
  %151 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %150, double -1.000000e+00)
  %152 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %7, i32 0, i32 4
  %153 = load ptr, ptr %152, align 8, !tbaa !15
  %154 = load i64, ptr %11, align 8, !tbaa !11
  %155 = getelementptr inbounds double, ptr %153, i64 %154
  store double %151, ptr %155, align 8, !tbaa !13
  br label %156

156:                                              ; preds = %148
  %157 = load i64, ptr %11, align 8, !tbaa !11
  %158 = add nsw i64 %157, 1
  store i64 %158, ptr %11, align 8, !tbaa !11
  br label %143, !llvm.loop !21

159:                                              ; preds = %143
  %160 = load i64, ptr %9, align 8, !tbaa !11
  %161 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZL30testbdsvdunit_testbdsvdproblemPN11alglib_impl9ae_vectorES1_lPdS2_PbS3_PlS4_PNS_8ae_stateE(ptr noundef %6, ptr noundef %7, i64 noundef %160, ptr noundef %16, ptr noundef %17, ptr noundef %14, ptr noundef %15, ptr noundef %20, ptr noundef %21, ptr noundef %161)
  br label %162

162:                                              ; preds = %159
  %163 = load i64, ptr %12, align 8, !tbaa !11
  %164 = add nsw i64 %163, 1
  store i64 %164, ptr %12, align 8, !tbaa !11
  br label %122, !llvm.loop !22

165:                                              ; preds = %122
  br label %166

166:                                              ; preds = %165
  %167 = load i64, ptr %9, align 8, !tbaa !11
  %168 = add nsw i64 %167, 1
  store i64 %168, ptr %9, align 8, !tbaa !11
  br label %117, !llvm.loop !23

169:                                              ; preds = %117
  store i64 1, ptr %9, align 8, !tbaa !11
  br label %170

170:                                              ; preds = %199, %169
  %171 = load i64, ptr %9, align 8, !tbaa !11
  %172 = load i64, ptr %10, align 8, !tbaa !11
  %173 = icmp sle i64 %171, %172
  br i1 %173, label %174, label %202

174:                                              ; preds = %170
  store i64 1, ptr %12, align 8, !tbaa !11
  br label %175

175:                                              ; preds = %195, %174
  %176 = load i64, ptr %12, align 8, !tbaa !11
  %177 = icmp sle i64 %176, 10
  br i1 %177, label %178, label %198

178:                                              ; preds = %175
  %179 = load i64, ptr %9, align 8, !tbaa !11
  %180 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZL26testbdsvdunit_fillsparsedePN11alglib_impl9ae_vectorES1_ldPNS_8ae_stateE(ptr noundef %6, ptr noundef %7, i64 noundef %179, double noundef 5.000000e-01, ptr noundef %180)
  %181 = load i64, ptr %9, align 8, !tbaa !11
  %182 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZL30testbdsvdunit_testbdsvdproblemPN11alglib_impl9ae_vectorES1_lPdS2_PbS3_PlS4_PNS_8ae_stateE(ptr noundef %6, ptr noundef %7, i64 noundef %181, ptr noundef %16, ptr noundef %17, ptr noundef %14, ptr noundef %15, ptr noundef %20, ptr noundef %21, ptr noundef %182)
  %183 = load i64, ptr %9, align 8, !tbaa !11
  %184 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZL26testbdsvdunit_fillsparsedePN11alglib_impl9ae_vectorES1_ldPNS_8ae_stateE(ptr noundef %6, ptr noundef %7, i64 noundef %183, double noundef 8.000000e-01, ptr noundef %184)
  %185 = load i64, ptr %9, align 8, !tbaa !11
  %186 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZL30testbdsvdunit_testbdsvdproblemPN11alglib_impl9ae_vectorES1_lPdS2_PbS3_PlS4_PNS_8ae_stateE(ptr noundef %6, ptr noundef %7, i64 noundef %185, ptr noundef %16, ptr noundef %17, ptr noundef %14, ptr noundef %15, ptr noundef %20, ptr noundef %21, ptr noundef %186)
  %187 = load i64, ptr %9, align 8, !tbaa !11
  %188 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZL26testbdsvdunit_fillsparsedePN11alglib_impl9ae_vectorES1_ldPNS_8ae_stateE(ptr noundef %6, ptr noundef %7, i64 noundef %187, double noundef 9.000000e-01, ptr noundef %188)
  %189 = load i64, ptr %9, align 8, !tbaa !11
  %190 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZL30testbdsvdunit_testbdsvdproblemPN11alglib_impl9ae_vectorES1_lPdS2_PbS3_PlS4_PNS_8ae_stateE(ptr noundef %6, ptr noundef %7, i64 noundef %189, ptr noundef %16, ptr noundef %17, ptr noundef %14, ptr noundef %15, ptr noundef %20, ptr noundef %21, ptr noundef %190)
  %191 = load i64, ptr %9, align 8, !tbaa !11
  %192 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZL26testbdsvdunit_fillsparsedePN11alglib_impl9ae_vectorES1_ldPNS_8ae_stateE(ptr noundef %6, ptr noundef %7, i64 noundef %191, double noundef 0x3FEE666666666666, ptr noundef %192)
  %193 = load i64, ptr %9, align 8, !tbaa !11
  %194 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZL30testbdsvdunit_testbdsvdproblemPN11alglib_impl9ae_vectorES1_lPdS2_PbS3_PlS4_PNS_8ae_stateE(ptr noundef %6, ptr noundef %7, i64 noundef %193, ptr noundef %16, ptr noundef %17, ptr noundef %14, ptr noundef %15, ptr noundef %20, ptr noundef %21, ptr noundef %194)
  br label %195

195:                                              ; preds = %178
  %196 = load i64, ptr %12, align 8, !tbaa !11
  %197 = add nsw i64 %196, 1
  store i64 %197, ptr %12, align 8, !tbaa !11
  br label %175, !llvm.loop !24

198:                                              ; preds = %175
  br label %199

199:                                              ; preds = %198
  %200 = load i64, ptr %9, align 8, !tbaa !11
  %201 = add nsw i64 %200, 1
  store i64 %201, ptr %9, align 8, !tbaa !11
  br label %170, !llvm.loop !25

202:                                              ; preds = %170
  %203 = load i64, ptr %20, align 8, !tbaa !11
  %204 = sitofp i64 %203 to double
  %205 = load i64, ptr %21, align 8, !tbaa !11
  %206 = load i64, ptr %20, align 8, !tbaa !11
  %207 = add nsw i64 %205, %206
  %208 = sitofp i64 %207 to double
  %209 = fdiv double %204, %208
  store double %209, ptr %19, align 8, !tbaa !13
  %210 = load i8, ptr %15, align 1, !tbaa !5, !range !26, !noundef !27
  %211 = trunc i8 %210 to i1
  br i1 %211, label %224, label %212

212:                                              ; preds = %202
  %213 = load double, ptr %16, align 8, !tbaa !13
  %214 = load double, ptr %18, align 8, !tbaa !13
  %215 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %213, double noundef %214)
  br i1 %215, label %224, label %216

216:                                              ; preds = %212
  %217 = load double, ptr %17, align 8, !tbaa !13
  %218 = load double, ptr %18, align 8, !tbaa !13
  %219 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %217, double noundef %218)
  br i1 %219, label %224, label %220

220:                                              ; preds = %216
  %221 = load i8, ptr %14, align 1, !tbaa !5, !range !26, !noundef !27
  %222 = trunc i8 %221 to i1
  %223 = xor i1 %222, true
  br label %224

224:                                              ; preds = %220, %216, %212, %202
  %225 = phi i1 [ true, %216 ], [ true, %212 ], [ true, %202 ], [ %223, %220 ]
  %226 = zext i1 %225 to i8
  store i8 %226, ptr %13, align 1, !tbaa !5
  %227 = load i8, ptr %3, align 1, !tbaa !5, !range !26, !noundef !27
  %228 = trunc i8 %227 to i1
  br i1 %228, label %263, label %229

229:                                              ; preds = %224
  %230 = call i32 (ptr, ...) @printf(ptr noundef @.str.296)
  %231 = load double, ptr %16, align 8, !tbaa !13
  %232 = call i32 (ptr, ...) @printf(ptr noundef @.str.297, double noundef %231)
  %233 = load double, ptr %17, align 8, !tbaa !13
  %234 = call i32 (ptr, ...) @printf(ptr noundef @.str.298, double noundef %233)
  %235 = call i32 (ptr, ...) @printf(ptr noundef @.str.299)
  %236 = load i8, ptr %14, align 1, !tbaa !5, !range !26, !noundef !27
  %237 = trunc i8 %236 to i1
  br i1 %237, label %238, label %240

238:                                              ; preds = %229
  %239 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
  br label %242

240:                                              ; preds = %229
  %241 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
  br label %242

242:                                              ; preds = %240, %238
  %243 = call i32 (ptr, ...) @printf(ptr noundef @.str.300)
  %244 = load i8, ptr %15, align 1, !tbaa !5, !range !26, !noundef !27
  %245 = trunc i8 %244 to i1
  br i1 %245, label %248, label %246

246:                                              ; preds = %242
  %247 = call i32 (ptr, ...) @printf(ptr noundef @.str.301)
  br label %252

248:                                              ; preds = %242
  %249 = call i32 (ptr, ...) @printf(ptr noundef @.str.302)
  %250 = load double, ptr %19, align 8, !tbaa !13
  %251 = call i32 (ptr, ...) @printf(ptr noundef @.str.303, double noundef %250)
  br label %252

252:                                              ; preds = %248, %246
  %253 = load double, ptr %18, align 8, !tbaa !13
  %254 = call i32 (ptr, ...) @printf(ptr noundef @.str.196, double noundef %253)
  %255 = load i8, ptr %13, align 1, !tbaa !5, !range !26, !noundef !27
  %256 = trunc i8 %255 to i1
  br i1 %256, label %257, label %259

257:                                              ; preds = %252
  %258 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
  br label %261

259:                                              ; preds = %252
  %260 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
  br label %261

261:                                              ; preds = %259, %257
  %262 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
  br label %263

263:                                              ; preds = %261, %224
  %264 = load i8, ptr %13, align 1, !tbaa !5, !range !26, !noundef !27
  %265 = trunc i8 %264 to i1
  %266 = xor i1 %265, true
  %267 = zext i1 %266 to i8
  store i8 %267, ptr %22, align 1, !tbaa !5
  %268 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %268)
  %269 = load i8, ptr %22, align 1, !tbaa !5, !range !26, !noundef !27
  %270 = trunc i8 %269 to i1
  call void @llvm.lifetime.end.p0(i64 1, ptr %22) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 80, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %5) #5
  ret i1 %270
}

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

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"bool", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"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 = !{i8 0, i8 2}
!27 = !{}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"struct.alglib_impl::ae_frame" = type { %"struct.alglib_impl::ae_dyn_block" }
%"struct.alglib_impl::ae_dyn_block" = type { ptr, ptr, ptr, ptr }
%"struct.alglib_impl::ae_vector" = type { i64, i64, i8, %"struct.alglib_impl::ae_dyn_block", %union.anon }
%union.anon = type { ptr }
%"struct.alglib_impl::ae_matrix" = type { i64, i64, i64, i64, i8, %"struct.alglib_impl::ae_dyn_block", %union.anon.0 }
%union.anon.0 = type { ptr }

@.str.1 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.196 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.296 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.297 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.298 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.299 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.300 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.301 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.302 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.303 = external hidden unnamed_addr constant [48 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

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

declare void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef) local_unnamed_addr #1

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_Z9testbdsvdbPN11alglib_impl8ae_stateE(i1 noundef zeroext %0, ptr noundef %1) local_unnamed_addr #5 {
.preheader80.preheader:
  %2 = alloca %"struct.alglib_impl::ae_frame", align 8
  %3 = alloca %"struct.alglib_impl::ae_vector", align 8
  %4 = alloca %"struct.alglib_impl::ae_vector", align 8
  %5 = alloca %"struct.alglib_impl::ae_matrix", align 8
  %6 = alloca i8, align 1
  %7 = alloca i8, align 1
  %8 = alloca double, align 8
  %9 = alloca double, align 8
  %10 = alloca i64, align 8
  %11 = alloca i64, align 8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %2) #6
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %3) #6
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %4) #6
  call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %5) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %6) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %7) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #6
  call void @_ZN11alglib_impl13ae_frame_makeEPNS_8ae_stateEPNS_8ae_frameE(ptr noundef %1, ptr noundef nonnull %2)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %3, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %4, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(80) %5, i8 0, i64 80, i1 false)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %3, i64 noundef 0, i64 noundef 3, ptr noundef %1, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %4, i64 noundef 0, i64 noundef 3, ptr noundef %1, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_matrix_initEPNS_9ae_matrixElllPNS_8ae_stateEb(ptr noundef nonnull %5, i64 noundef 0, i64 noundef 0, i64 noundef 3, ptr noundef %1, i1 noundef zeroext true)
  store i64 0, ptr %10, align 8, !tbaa !5
  store i64 0, ptr %11, align 8, !tbaa !5
  store double 0.000000e+00, ptr %8, align 8, !tbaa !9
  store double 0.000000e+00, ptr %9, align 8, !tbaa !9
  store i8 1, ptr %6, align 1, !tbaa !11
  store i8 0, ptr %7, align 1, !tbaa !11
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %3, i64 noundef 15, ptr noundef %1)
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %4, i64 noundef 14, ptr noundef %1)
  %12 = getelementptr inbounds i8, ptr %3, i64 56
  %13 = load ptr, ptr %12, align 8, !tbaa !13
  store double 0xBFE6496C92D925B2, ptr %13, align 8, !tbaa !9
  %14 = load ptr, ptr %12, align 8, !tbaa !13
  %15 = getelementptr inbounds i8, ptr %14, i64 8
  store double 0.000000e+00, ptr %15, align 8, !tbaa !9
  %16 = load ptr, ptr %12, align 8, !tbaa !13
  %17 = getelementptr inbounds i8, ptr %16, i64 16
  store double 0xBFE25CCC0E6B04E4, ptr %17, align 8, !tbaa !9
  %18 = load ptr, ptr %12, align 8, !tbaa !13
  %19 = getelementptr inbounds i8, ptr %18, i64 24
  store double 0xBFE533B6886B1C84, ptr %19, align 8, !tbaa !9
  %20 = load ptr, ptr %12, align 8, !tbaa !13
  %21 = getelementptr inbounds i8, ptr %20, i64 32
  store double 0x3FE2A5C8601A9F78, ptr %21, align 8, !tbaa !9
  %22 = load ptr, ptr %12, align 8, !tbaa !13
  %23 = getelementptr inbounds i8, ptr %22, i64 40
  store double 0x3FD8A0FA24704C3B, ptr %23, align 8, !tbaa !9
  %24 = load ptr, ptr %12, align 8, !tbaa !13
  %25 = getelementptr inbounds i8, ptr %24, i64 48
  store double 0x3FEF7DA4E71BE836, ptr %25, align 8, !tbaa !9
  %26 = getelementptr inbounds i8, ptr %4, i64 56
  %27 = load ptr, ptr %26, align 8, !tbaa !13
  store double 0xBFB2B225644AC896, ptr %27, align 8, !tbaa !9
  %28 = load ptr, ptr %26, align 8, !tbaa !13
  %29 = getelementptr inbounds i8, ptr %28, i64 8
  store double 0xBFCD733AE675CCEC, ptr %29, align 8, !tbaa !9
  %30 = load ptr, ptr %26, align 8, !tbaa !13
  %31 = getelementptr inbounds i8, ptr %30, i64 16
  store double 0xBFE602A8C7F82175, ptr %31, align 8, !tbaa !9
  %32 = load ptr, ptr %26, align 8, !tbaa !13
  %33 = getelementptr inbounds i8, ptr %32, i64 24
  store double 0xBF9227FB5C87B92F, ptr %33, align 8, !tbaa !9
  %34 = load ptr, ptr %26, align 8, !tbaa !13
  %35 = getelementptr inbounds i8, ptr %34, i64 32
  store double 0x3CE00EF9A1E39644, ptr %35, align 8, !tbaa !9
  %36 = load ptr, ptr %26, align 8, !tbaa !13
  %37 = getelementptr inbounds i8, ptr %36, i64 40
  store double 0xBFA90F1E766F0213, ptr %37, align 8, !tbaa !9
  %38 = call noundef zeroext i1 @_ZN11alglib_impl12rmatrixbdsvdEPNS_9ae_vectorES1_lbbPNS_9ae_matrixElS3_lS3_lPNS_8ae_stateE(ptr noundef nonnull %3, ptr noundef nonnull %4, i64 noundef 7, i1 noundef zeroext true, i1 noundef zeroext false, ptr noundef nonnull %5, i64 noundef 0, ptr noundef nonnull %5, i64 noundef 0, ptr noundef nonnull %5, i64 noundef 0, ptr noundef %1)
  %39 = load ptr, ptr %12, align 8, !tbaa !13
  store double 0.000000e+00, ptr %39, align 8, !tbaa !9
  %40 = load ptr, ptr %12, align 8, !tbaa !13
  %41 = getelementptr inbounds i8, ptr %40, i64 8
  store double 0.000000e+00, ptr %41, align 8, !tbaa !9
  %42 = load ptr, ptr %12, align 8, !tbaa !13
  %43 = getelementptr inbounds i8, ptr %42, i64 16
  store double 0.000000e+00, ptr %43, align 8, !tbaa !9
  %44 = load ptr, ptr %12, align 8, !tbaa !13
  %45 = getelementptr inbounds i8, ptr %44, i64 24
  store double 0.000000e+00, ptr %45, align 8, !tbaa !9
  %46 = load ptr, ptr %12, align 8, !tbaa !13
  %47 = getelementptr inbounds i8, ptr %46, i64 32
  store double 0.000000e+00, ptr %47, align 8, !tbaa !9
  %48 = load ptr, ptr %12, align 8, !tbaa !13
  %49 = getelementptr inbounds i8, ptr %48, i64 40
  store double 0.000000e+00, ptr %49, align 8, !tbaa !9
  %50 = load ptr, ptr %12, align 8, !tbaa !13
  %51 = getelementptr inbounds i8, ptr %50, i64 48
  store double 0.000000e+00, ptr %51, align 8, !tbaa !9
  %52 = load ptr, ptr %12, align 8, !tbaa !13
  %53 = getelementptr inbounds i8, ptr %52, i64 56
  store double 0.000000e+00, ptr %53, align 8, !tbaa !9
  %54 = load ptr, ptr %12, align 8, !tbaa !13
  %55 = getelementptr inbounds i8, ptr %54, i64 64
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(56) %55, i8 0, i64 56, i1 false)
  %56 = load ptr, ptr %26, align 8, !tbaa !13
  store double 0.000000e+00, ptr %56, align 8, !tbaa !9
  %57 = load ptr, ptr %26, align 8, !tbaa !13
  %58 = getelementptr inbounds i8, ptr %57, i64 8
  store double 0.000000e+00, ptr %58, align 8, !tbaa !9
  %59 = load ptr, ptr %26, align 8, !tbaa !13
  %60 = getelementptr inbounds i8, ptr %59, i64 16
  store double 0.000000e+00, ptr %60, align 8, !tbaa !9
  %61 = load ptr, ptr %26, align 8, !tbaa !13
  %62 = getelementptr inbounds i8, ptr %61, i64 24
  store double 0.000000e+00, ptr %62, align 8, !tbaa !9
  %63 = load ptr, ptr %26, align 8, !tbaa !13
  %64 = getelementptr inbounds i8, ptr %63, i64 32
  store double 0.000000e+00, ptr %64, align 8, !tbaa !9
  %65 = load ptr, ptr %26, align 8, !tbaa !13
  %66 = getelementptr inbounds i8, ptr %65, i64 40
  store double 0.000000e+00, ptr %66, align 8, !tbaa !9
  %67 = load ptr, ptr %26, align 8, !tbaa !13
  %68 = getelementptr inbounds i8, ptr %67, i64 48
  store double 0.000000e+00, ptr %68, align 8, !tbaa !9
  %69 = load ptr, ptr %26, align 8, !tbaa !13
  %70 = getelementptr inbounds i8, ptr %69, i64 56
  store double 0.000000e+00, ptr %70, align 8, !tbaa !9
  %71 = load ptr, ptr %26, align 8, !tbaa !13
  %72 = getelementptr inbounds i8, ptr %71, i64 64
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(48) %72, i8 0, i64 48, i1 false)
  call void @_ZL30testbdsvdunit_testbdsvdproblemPN11alglib_impl9ae_vectorES1_lPdS2_PbS3_PlS4_PNS_8ae_stateE(ptr noundef nonnull %3, ptr noundef nonnull %4, i64 noundef 1, ptr noundef nonnull %8, ptr noundef nonnull %9, ptr noundef nonnull %6, ptr noundef nonnull %7, ptr noundef nonnull %10, ptr noundef nonnull %11, ptr noundef %1)
  call void @_ZL30testbdsvdunit_testbdsvdproblemPN11alglib_impl9ae_vectorES1_lPdS2_PbS3_PlS4_PNS_8ae_stateE(ptr noundef nonnull %3, ptr noundef nonnull %4, i64 noundef 2, ptr noundef nonnull %8, ptr noundef nonnull %9, ptr noundef nonnull %6, ptr noundef nonnull %7, ptr noundef nonnull %10, ptr noundef nonnull %11, ptr noundef %1)
  call void @_ZL30testbdsvdunit_testbdsvdproblemPN11alglib_impl9ae_vectorES1_lPdS2_PbS3_PlS4_PNS_8ae_stateE(ptr noundef nonnull %3, ptr noundef nonnull %4, i64 noundef 3, ptr noundef nonnull %8, ptr noundef nonnull %9, ptr noundef nonnull %6, ptr noundef nonnull %7, ptr noundef nonnull %10, ptr noundef nonnull %11, ptr noundef %1)
  call void @_ZL30testbdsvdunit_testbdsvdproblemPN11alglib_impl9ae_vectorES1_lPdS2_PbS3_PlS4_PNS_8ae_stateE(ptr noundef nonnull %3, ptr noundef nonnull %4, i64 noundef 4, ptr noundef nonnull %8, ptr noundef nonnull %9, ptr noundef nonnull %6, ptr noundef nonnull %7, ptr noundef nonnull %10, ptr noundef nonnull %11, ptr noundef %1)
  call void @_ZL30testbdsvdunit_testbdsvdproblemPN11alglib_impl9ae_vectorES1_lPdS2_PbS3_PlS4_PNS_8ae_stateE(ptr noundef nonnull %3, ptr noundef nonnull %4, i64 noundef 5, ptr noundef nonnull %8, ptr noundef nonnull %9, ptr noundef nonnull %6, ptr noundef nonnull %7, ptr noundef nonnull %10, ptr noundef nonnull %11, ptr noundef %1)
  call void @_ZL30testbdsvdunit_testbdsvdproblemPN11alglib_impl9ae_vectorES1_lPdS2_PbS3_PlS4_PNS_8ae_stateE(ptr noundef nonnull %3, ptr noundef nonnull %4, i64 noundef 6, ptr noundef nonnull %8, ptr noundef nonnull %9, ptr noundef nonnull %6, ptr noundef nonnull %7, ptr noundef nonnull %10, ptr noundef nonnull %11, ptr noundef %1)
  call void @_ZL30testbdsvdunit_testbdsvdproblemPN11alglib_impl9ae_vectorES1_lPdS2_PbS3_PlS4_PNS_8ae_stateE(ptr noundef nonnull %3, ptr noundef nonnull %4, i64 noundef 7, ptr noundef nonnull %8, ptr noundef nonnull %9, ptr noundef nonnull %6, ptr noundef nonnull %7, ptr noundef nonnull %10, ptr noundef nonnull %11, ptr noundef %1)
  call void @_ZL30testbdsvdunit_testbdsvdproblemPN11alglib_impl9ae_vectorES1_lPdS2_PbS3_PlS4_PNS_8ae_stateE(ptr noundef nonnull %3, ptr noundef nonnull %4, i64 noundef 8, ptr noundef nonnull %8, ptr noundef nonnull %9, ptr noundef nonnull %6, ptr noundef nonnull %7, ptr noundef nonnull %10, ptr noundef nonnull %11, ptr noundef %1)
  call void @_ZL30testbdsvdunit_testbdsvdproblemPN11alglib_impl9ae_vectorES1_lPdS2_PbS3_PlS4_PNS_8ae_stateE(ptr noundef nonnull %3, ptr noundef nonnull %4, i64 noundef 9, ptr noundef nonnull %8, ptr noundef nonnull %9, ptr noundef nonnull %6, ptr noundef nonnull %7, ptr noundef nonnull %10, ptr noundef nonnull %11, ptr noundef %1)
  call void @_ZL30testbdsvdunit_testbdsvdproblemPN11alglib_impl9ae_vectorES1_lPdS2_PbS3_PlS4_PNS_8ae_stateE(ptr noundef nonnull %3, ptr noundef nonnull %4, i64 noundef 10, ptr noundef nonnull %8, ptr noundef nonnull %9, ptr noundef nonnull %6, ptr noundef nonnull %7, ptr noundef nonnull %10, ptr noundef nonnull %11, ptr noundef %1)
  call void @_ZL30testbdsvdunit_testbdsvdproblemPN11alglib_impl9ae_vectorES1_lPdS2_PbS3_PlS4_PNS_8ae_stateE(ptr noundef nonnull %3, ptr noundef nonnull %4, i64 noundef 11, ptr noundef nonnull %8, ptr noundef nonnull %9, ptr noundef nonnull %6, ptr noundef nonnull %7, ptr noundef nonnull %10, ptr noundef nonnull %11, ptr noundef %1)
  call void @_ZL30testbdsvdunit_testbdsvdproblemPN11alglib_impl9ae_vectorES1_lPdS2_PbS3_PlS4_PNS_8ae_stateE(ptr noundef nonnull %3, ptr noundef nonnull %4, i64 noundef 12, ptr noundef nonnull %8, ptr noundef nonnull %9, ptr noundef nonnull %6, ptr noundef nonnull %7, ptr noundef nonnull %10, ptr noundef nonnull %11, ptr noundef %1)
  call void @_ZL30testbdsvdunit_testbdsvdproblemPN11alglib_impl9ae_vectorES1_lPdS2_PbS3_PlS4_PNS_8ae_stateE(ptr noundef nonnull %3, ptr noundef nonnull %4, i64 noundef 13, ptr noundef nonnull %8, ptr noundef nonnull %9, ptr noundef nonnull %6, ptr noundef nonnull %7, ptr noundef nonnull %10, ptr noundef nonnull %11, ptr noundef %1)
  call void @_ZL30testbdsvdunit_testbdsvdproblemPN11alglib_impl9ae_vectorES1_lPdS2_PbS3_PlS4_PNS_8ae_stateE(ptr noundef nonnull %3, ptr noundef nonnull %4, i64 noundef 14, ptr noundef nonnull %8, ptr noundef nonnull %9, ptr noundef nonnull %6, ptr noundef nonnull %7, ptr noundef nonnull %10, ptr noundef nonnull %11, ptr noundef %1)
  call void @_ZL30testbdsvdunit_testbdsvdproblemPN11alglib_impl9ae_vectorES1_lPdS2_PbS3_PlS4_PNS_8ae_stateE(ptr noundef nonnull %3, ptr noundef nonnull %4, i64 noundef 15, ptr noundef nonnull %8, ptr noundef nonnull %9, ptr noundef nonnull %6, ptr noundef nonnull %7, ptr noundef nonnull %10, ptr noundef nonnull %11, ptr noundef %1)
  br label %.preheader77

.preheader77:                                     ; preds = %.preheader80.preheader, %188
  %.187 = phi i64 [ %189, %188 ], [ 1, %.preheader80.preheader ]
  br label %.preheader76

.preheader76:                                     ; preds = %.preheader77, %.preheader76
  %.07286 = phi i64 [ 1, %.preheader77 ], [ %187, %.preheader76 ]
  %73 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %1)
  %74 = call double @llvm.fmuladd.f64(double %73, double 2.000000e+00, double -1.000000e+00)
  %75 = load ptr, ptr %12, align 8, !tbaa !13
  store double %74, ptr %75, align 8, !tbaa !9
  %76 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %1)
  %77 = call double @llvm.fmuladd.f64(double %76, double 2.000000e+00, double -1.000000e+00)
  %78 = load ptr, ptr %12, align 8, !tbaa !13
  %79 = getelementptr inbounds i8, ptr %78, i64 8
  store double %77, ptr %79, align 8, !tbaa !9
  %80 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %1)
  %81 = call double @llvm.fmuladd.f64(double %80, double 2.000000e+00, double -1.000000e+00)
  %82 = load ptr, ptr %12, align 8, !tbaa !13
  %83 = getelementptr inbounds i8, ptr %82, i64 16
  store double %81, ptr %83, align 8, !tbaa !9
  %84 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %1)
  %85 = call double @llvm.fmuladd.f64(double %84, double 2.000000e+00, double -1.000000e+00)
  %86 = load ptr, ptr %12, align 8, !tbaa !13
  %87 = getelementptr inbounds i8, ptr %86, i64 24
  store double %85, ptr %87, align 8, !tbaa !9
  %88 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %1)
  %89 = call double @llvm.fmuladd.f64(double %88, double 2.000000e+00, double -1.000000e+00)
  %90 = load ptr, ptr %12, align 8, !tbaa !13
  %91 = getelementptr inbounds i8, ptr %90, i64 32
  store double %89, ptr %91, align 8, !tbaa !9
  %92 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %1)
  %93 = call double @llvm.fmuladd.f64(double %92, double 2.000000e+00, double -1.000000e+00)
  %94 = load ptr, ptr %12, align 8, !tbaa !13
  %95 = getelementptr inbounds i8, ptr %94, i64 40
  store double %93, ptr %95, align 8, !tbaa !9
  %96 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %1)
  %97 = call double @llvm.fmuladd.f64(double %96, double 2.000000e+00, double -1.000000e+00)
  %98 = load ptr, ptr %12, align 8, !tbaa !13
  %99 = getelementptr inbounds i8, ptr %98, i64 48
  store double %97, ptr %99, align 8, !tbaa !9
  %100 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %1)
  %101 = call double @llvm.fmuladd.f64(double %100, double 2.000000e+00, double -1.000000e+00)
  %102 = load ptr, ptr %12, align 8, !tbaa !13
  %103 = getelementptr inbounds i8, ptr %102, i64 56
  store double %101, ptr %103, align 8, !tbaa !9
  %104 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %1)
  %105 = call double @llvm.fmuladd.f64(double %104, double 2.000000e+00, double -1.000000e+00)
  %106 = load ptr, ptr %12, align 8, !tbaa !13
  %107 = getelementptr inbounds i8, ptr %106, i64 64
  store double %105, ptr %107, align 8, !tbaa !9
  %108 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %1)
  %109 = call double @llvm.fmuladd.f64(double %108, double 2.000000e+00, double -1.000000e+00)
  %110 = load ptr, ptr %12, align 8, !tbaa !13
  %111 = getelementptr inbounds i8, ptr %110, i64 72
  store double %109, ptr %111, align 8, !tbaa !9
  %112 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %1)
  %113 = call double @llvm.fmuladd.f64(double %112, double 2.000000e+00, double -1.000000e+00)
  %114 = load ptr, ptr %12, align 8, !tbaa !13
  %115 = getelementptr inbounds i8, ptr %114, i64 80
  store double %113, ptr %115, align 8, !tbaa !9
  %116 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %1)
  %117 = call double @llvm.fmuladd.f64(double %116, double 2.000000e+00, double -1.000000e+00)
  %118 = load ptr, ptr %12, align 8, !tbaa !13
  %119 = getelementptr inbounds i8, ptr %118, i64 88
  store double %117, ptr %119, align 8, !tbaa !9
  %120 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %1)
  %121 = call double @llvm.fmuladd.f64(double %120, double 2.000000e+00, double -1.000000e+00)
  %122 = load ptr, ptr %12, align 8, !tbaa !13
  %123 = getelementptr inbounds i8, ptr %122, i64 96
  store double %121, ptr %123, align 8, !tbaa !9
  %124 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %1)
  %125 = call double @llvm.fmuladd.f64(double %124, double 2.000000e+00, double -1.000000e+00)
  %126 = load ptr, ptr %12, align 8, !tbaa !13
  %127 = getelementptr inbounds i8, ptr %126, i64 104
  store double %125, ptr %127, align 8, !tbaa !9
  %128 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %1)
  %129 = call double @llvm.fmuladd.f64(double %128, double 2.000000e+00, double -1.000000e+00)
  %130 = load ptr, ptr %12, align 8, !tbaa !13
  %131 = getelementptr inbounds i8, ptr %130, i64 112
  store double %129, ptr %131, align 8, !tbaa !9
  %132 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %1)
  %133 = call double @llvm.fmuladd.f64(double %132, double 2.000000e+00, double -1.000000e+00)
  %134 = load ptr, ptr %26, align 8, !tbaa !13
  store double %133, ptr %134, align 8, !tbaa !9
  %135 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %1)
  %136 = call double @llvm.fmuladd.f64(double %135, double 2.000000e+00, double -1.000000e+00)
  %137 = load ptr, ptr %26, align 8, !tbaa !13
  %138 = getelementptr inbounds i8, ptr %137, i64 8
  store double %136, ptr %138, align 8, !tbaa !9
  %139 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %1)
  %140 = call double @llvm.fmuladd.f64(double %139, double 2.000000e+00, double -1.000000e+00)
  %141 = load ptr, ptr %26, align 8, !tbaa !13
  %142 = getelementptr inbounds i8, ptr %141, i64 16
  store double %140, ptr %142, align 8, !tbaa !9
  %143 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %1)
  %144 = call double @llvm.fmuladd.f64(double %143, double 2.000000e+00, double -1.000000e+00)
  %145 = load ptr, ptr %26, align 8, !tbaa !13
  %146 = getelementptr inbounds i8, ptr %145, i64 24
  store double %144, ptr %146, align 8, !tbaa !9
  %147 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %1)
  %148 = call double @llvm.fmuladd.f64(double %147, double 2.000000e+00, double -1.000000e+00)
  %149 = load ptr, ptr %26, align 8, !tbaa !13
  %150 = getelementptr inbounds i8, ptr %149, i64 32
  store double %148, ptr %150, align 8, !tbaa !9
  %151 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %1)
  %152 = call double @llvm.fmuladd.f64(double %151, double 2.000000e+00, double -1.000000e+00)
  %153 = load ptr, ptr %26, align 8, !tbaa !13
  %154 = getelementptr inbounds i8, ptr %153, i64 40
  store double %152, ptr %154, align 8, !tbaa !9
  %155 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %1)
  %156 = call double @llvm.fmuladd.f64(double %155, double 2.000000e+00, double -1.000000e+00)
  %157 = load ptr, ptr %26, align 8, !tbaa !13
  %158 = getelementptr inbounds i8, ptr %157, i64 48
  store double %156, ptr %158, align 8, !tbaa !9
  %159 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %1)
  %160 = call double @llvm.fmuladd.f64(double %159, double 2.000000e+00, double -1.000000e+00)
  %161 = load ptr, ptr %26, align 8, !tbaa !13
  %162 = getelementptr inbounds i8, ptr %161, i64 56
  store double %160, ptr %162, align 8, !tbaa !9
  %163 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %1)
  %164 = call double @llvm.fmuladd.f64(double %163, double 2.000000e+00, double -1.000000e+00)
  %165 = load ptr, ptr %26, align 8, !tbaa !13
  %166 = getelementptr inbounds i8, ptr %165, i64 64
  store double %164, ptr %166, align 8, !tbaa !9
  %167 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %1)
  %168 = call double @llvm.fmuladd.f64(double %167, double 2.000000e+00, double -1.000000e+00)
  %169 = load ptr, ptr %26, align 8, !tbaa !13
  %170 = getelementptr inbounds i8, ptr %169, i64 72
  store double %168, ptr %170, align 8, !tbaa !9
  %171 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %1)
  %172 = call double @llvm.fmuladd.f64(double %171, double 2.000000e+00, double -1.000000e+00)
  %173 = load ptr, ptr %26, align 8, !tbaa !13
  %174 = getelementptr inbounds i8, ptr %173, i64 80
  store double %172, ptr %174, align 8, !tbaa !9
  %175 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %1)
  %176 = call double @llvm.fmuladd.f64(double %175, double 2.000000e+00, double -1.000000e+00)
  %177 = load ptr, ptr %26, align 8, !tbaa !13
  %178 = getelementptr inbounds i8, ptr %177, i64 88
  store double %176, ptr %178, align 8, !tbaa !9
  %179 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %1)
  %180 = call double @llvm.fmuladd.f64(double %179, double 2.000000e+00, double -1.000000e+00)
  %181 = load ptr, ptr %26, align 8, !tbaa !13
  %182 = getelementptr inbounds i8, ptr %181, i64 96
  store double %180, ptr %182, align 8, !tbaa !9
  %183 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %1)
  %184 = call double @llvm.fmuladd.f64(double %183, double 2.000000e+00, double -1.000000e+00)
  %185 = load ptr, ptr %26, align 8, !tbaa !13
  %186 = getelementptr inbounds i8, ptr %185, i64 104
  store double %184, ptr %186, align 8, !tbaa !9
  call void @_ZL30testbdsvdunit_testbdsvdproblemPN11alglib_impl9ae_vectorES1_lPdS2_PbS3_PlS4_PNS_8ae_stateE(ptr noundef nonnull %3, ptr noundef nonnull %4, i64 noundef %.187, ptr noundef nonnull %8, ptr noundef nonnull %9, ptr noundef nonnull %6, ptr noundef nonnull %7, ptr noundef nonnull %10, ptr noundef nonnull %11, ptr noundef %1)
  %187 = add nuw nsw i64 %.07286, 1
  %exitcond.not = icmp eq i64 %187, 11
  br i1 %exitcond.not, label %188, label %.preheader76, !llvm.loop !14

188:                                              ; preds = %.preheader76
  %189 = add nuw nsw i64 %.187, 1
  %exitcond90.not = icmp eq i64 %189, 16
  br i1 %exitcond90.not, label %.preheader, label %.preheader77, !llvm.loop !16

.preheader:                                       ; preds = %188, %192
  %.289 = phi i64 [ %193, %192 ], [ 1, %188 ]
  br label %190

190:                                              ; preds = %.preheader, %190
  %.17388 = phi i64 [ 1, %.preheader ], [ %191, %190 ]
  call void @_ZL26testbdsvdunit_fillsparsedePN11alglib_impl9ae_vectorES1_ldPNS_8ae_stateE(ptr noundef nonnull %3, ptr noundef nonnull %4, i64 noundef %.289, double noundef 5.000000e-01, ptr noundef %1)
  call void @_ZL30testbdsvdunit_testbdsvdproblemPN11alglib_impl9ae_vectorES1_lPdS2_PbS3_PlS4_PNS_8ae_stateE(ptr noundef nonnull %3, ptr noundef nonnull %4, i64 noundef %.289, ptr noundef nonnull %8, ptr noundef nonnull %9, ptr noundef nonnull %6, ptr noundef nonnull %7, ptr noundef nonnull %10, ptr noundef nonnull %11, ptr noundef %1)
  call void @_ZL26testbdsvdunit_fillsparsedePN11alglib_impl9ae_vectorES1_ldPNS_8ae_stateE(ptr noundef nonnull %3, ptr noundef nonnull %4, i64 noundef %.289, double noundef 8.000000e-01, ptr noundef %1)
  call void @_ZL30testbdsvdunit_testbdsvdproblemPN11alglib_impl9ae_vectorES1_lPdS2_PbS3_PlS4_PNS_8ae_stateE(ptr noundef nonnull %3, ptr noundef nonnull %4, i64 noundef %.289, ptr noundef nonnull %8, ptr noundef nonnull %9, ptr noundef nonnull %6, ptr noundef nonnull %7, ptr noundef nonnull %10, ptr noundef nonnull %11, ptr noundef %1)
  call void @_ZL26testbdsvdunit_fillsparsedePN11alglib_impl9ae_vectorES1_ldPNS_8ae_stateE(ptr noundef nonnull %3, ptr noundef nonnull %4, i64 noundef %.289, double noundef 9.000000e-01, ptr noundef %1)
  call void @_ZL30testbdsvdunit_testbdsvdproblemPN11alglib_impl9ae_vectorES1_lPdS2_PbS3_PlS4_PNS_8ae_stateE(ptr noundef nonnull %3, ptr noundef nonnull %4, i64 noundef %.289, ptr noundef nonnull %8, ptr noundef nonnull %9, ptr noundef nonnull %6, ptr noundef nonnull %7, ptr noundef nonnull %10, ptr noundef nonnull %11, ptr noundef %1)
  call void @_ZL26testbdsvdunit_fillsparsedePN11alglib_impl9ae_vectorES1_ldPNS_8ae_stateE(ptr noundef nonnull %3, ptr noundef nonnull %4, i64 noundef %.289, double noundef 0x3FEE666666666666, ptr noundef %1)
  call void @_ZL30testbdsvdunit_testbdsvdproblemPN11alglib_impl9ae_vectorES1_lPdS2_PbS3_PlS4_PNS_8ae_stateE(ptr noundef nonnull %3, ptr noundef nonnull %4, i64 noundef %.289, ptr noundef nonnull %8, ptr noundef nonnull %9, ptr noundef nonnull %6, ptr noundef nonnull %7, ptr noundef nonnull %10, ptr noundef nonnull %11, ptr noundef %1)
  %191 = add nuw nsw i64 %.17388, 1
  %exitcond91.not = icmp eq i64 %191, 11
  br i1 %exitcond91.not, label %192, label %190, !llvm.loop !17

192:                                              ; preds = %190
  %193 = add nuw nsw i64 %.289, 1
  %exitcond92.not = icmp eq i64 %193, 16
  br i1 %exitcond92.not, label %194, label %.preheader, !llvm.loop !18

194:                                              ; preds = %192
  %195 = load i64, ptr %10, align 8, !tbaa !5
  %196 = sitofp i64 %195 to double
  %197 = load i64, ptr %11, align 8, !tbaa !5
  %198 = add nsw i64 %197, %195
  %199 = sitofp i64 %198 to double
  %200 = fdiv double %196, %199
  %201 = load i8, ptr %7, align 1, !tbaa !11, !range !19, !noundef !20
  %202 = trunc nuw i8 %201 to i1
  br i1 %202, label %213, label %203

203:                                              ; preds = %194
  %204 = load double, ptr %8, align 8, !tbaa !9
  %205 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %204, double noundef 2.500000e-13)
  br i1 %205, label %213, label %206

206:                                              ; preds = %203
  %207 = load double, ptr %9, align 8, !tbaa !9
  %208 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %207, double noundef 2.500000e-13)
  br i1 %208, label %213, label %209

209:                                              ; preds = %206
  %210 = load i8, ptr %6, align 1, !tbaa !11, !range !19, !noundef !20
  %211 = trunc nuw i8 %210 to i1
  %212 = xor i1 %211, true
  br label %213

213:                                              ; preds = %209, %206, %203, %194
  %214 = phi i1 [ true, %206 ], [ true, %203 ], [ true, %194 ], [ %212, %209 ]
  br i1 %0, label %237, label %215

215:                                              ; preds = %213
  %216 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.296)
  %217 = load double, ptr %8, align 8, !tbaa !9
  %218 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.297, double noundef %217)
  %219 = load double, ptr %9, align 8, !tbaa !9
  %220 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.298, double noundef %219)
  %221 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.299)
  %222 = load i8, ptr %6, align 1, !tbaa !11, !range !19, !noundef !20
  %223 = trunc nuw i8 %222 to i1
  %.str.6..str.7 = select i1 %223, ptr @.str.6, ptr @.str.7
  %224 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %.str.6..str.7)
  %225 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.300)
  %226 = load i8, ptr %7, align 1, !tbaa !11, !range !19, !noundef !20
  %227 = trunc nuw i8 %226 to i1
  br i1 %227, label %230, label %228

228:                                              ; preds = %215
  %229 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.301)
  br label %233

230:                                              ; preds = %215
  %231 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.302)
  %232 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.303, double noundef %200)
  br label %233

233:                                              ; preds = %230, %228
  %234 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.196, double noundef 2.500000e-13)
  %.str.1..str.2 = select i1 %214, ptr @.str.1, ptr @.str.2
  %235 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %.str.1..str.2)
  %236 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3)
  br label %237

237:                                              ; preds = %233, %213
  %238 = xor i1 %214, true
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %1)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %7) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %6) #6
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %5) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %4) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %3) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %2) #6
  ret i1 %238
}

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

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

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

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

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

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


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,MemCpyOptPass,SROAPass,SimplifyCFGPass