; LLVM IR from Dimandragon/non-parametric-dsp :: alglib-cpp/tests/test_c.ll (Z7testldabPN11alglib_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_matrix" = type { i64, i64, i64, i64, i8, %"struct.alglib_impl::ae_dyn_block", %union.anon.0 }
%union.anon.0 = type { ptr }
%"struct.alglib_impl::ae_vector" = type { i64, i64, i8, %"struct.alglib_impl::ae_dyn_block", %union.anon }
%union.anon = type { ptr }

@.str.2 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [92 x i8], align 1
@.str.46 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.47 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.1063 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.1064 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.1065 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.1066 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.1067 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.1068 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.1069 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.1070 = external hidden unnamed_addr constant [42 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 i32 @printf(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 noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef, ptr noundef) #1

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

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_impl14ae_matrix_initEPNS_9ae_matrixElllPNS_8ae_stateEb(ptr noundef, i64 noundef, i64 noundef, i64 noundef, ptr noundef, i1 noundef zeroext) #1

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

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

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

declare void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef) #1

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_Z7testldabPN11alglib_impl8ae_stateE(i1 noundef zeroext %0, ptr noundef %1) #3 {
  %3 = alloca i8, align 1
  %4 = alloca ptr, align 8
  %5 = alloca %"struct.alglib_impl::ae_frame", align 8
  %6 = alloca i64, align 8
  %7 = alloca i64, align 8
  %8 = alloca i64, align 8
  %9 = alloca i64, align 8
  %10 = alloca i8, align 1
  %11 = alloca i8, align 1
  %12 = alloca i8, align 1
  %13 = alloca i64, align 8
  %14 = alloca i64, align 8
  %15 = alloca i64, align 8
  %16 = alloca i64, align 8
  %17 = alloca i64, align 8
  %18 = alloca i64, align 8
  %19 = alloca %"struct.alglib_impl::ae_matrix", align 8
  %20 = alloca %"struct.alglib_impl::ae_matrix", align 8
  %21 = alloca %"struct.alglib_impl::ae_vector", 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) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #4
  call void @llvm.lifetime.start.p0(i64 1, ptr %10) #4
  call void @llvm.lifetime.start.p0(i64 1, ptr %11) #4
  call void @llvm.lifetime.start.p0(i64 1, 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 8, ptr %18) #4
  call void @llvm.lifetime.start.p0(i64 80, ptr %19) #4
  call void @llvm.lifetime.start.p0(i64 80, ptr %20) #4
  call void @llvm.lifetime.start.p0(i64 64, ptr %21) #4
  call void @llvm.lifetime.start.p0(i64 1, ptr %22) #4
  %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 %19, i8 0, i64 80, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %20, i8 0, i64 80, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %21, i8 0, i64 64, i1 false)
  %25 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl14ae_matrix_initEPNS_9ae_matrixElllPNS_8ae_stateEb(ptr noundef %19, i64 noundef 0, 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_matrix_initEPNS_9ae_matrixElllPNS_8ae_stateEb(ptr noundef %20, i64 noundef 0, 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_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef %21, i64 noundef 0, i64 noundef 3, ptr noundef %27, i1 noundef zeroext true)
  store i64 10, ptr %6, align 8, !tbaa !11
  store i64 1000, ptr %7, align 8, !tbaa !11
  store i64 5, ptr %8, align 8, !tbaa !11
  store i64 1, ptr %9, align 8, !tbaa !11
  store i8 0, ptr %12, align 1, !tbaa !5
  store i8 0, ptr %10, align 1, !tbaa !5
  store i8 0, ptr %11, align 1, !tbaa !5
  store i64 1, ptr %13, align 8, !tbaa !11
  br label %28

28:                                               ; preds = %174, %2
  %29 = load i64, ptr %13, align 8, !tbaa !11
  %30 = load i64, ptr %6, align 8, !tbaa !11
  %31 = icmp sle i64 %29, %30
  br i1 %31, label %32, label %177

32:                                               ; preds = %28
  store i64 2, ptr %14, align 8, !tbaa !11
  br label %33

33:                                               ; preds = %170, %32
  %34 = load i64, ptr %14, align 8, !tbaa !11
  %35 = load i64, ptr %8, align 8, !tbaa !11
  %36 = icmp sle i64 %34, %35
  br i1 %36, label %37, label %173

37:                                               ; preds = %33
  store i64 1, ptr %17, align 8, !tbaa !11
  br label %38

38:                                               ; preds = %166, %37
  %39 = load i64, ptr %17, align 8, !tbaa !11
  %40 = load i64, ptr %9, align 8, !tbaa !11
  %41 = icmp sle i64 %39, %40
  br i1 %41, label %42, label %169

42:                                               ; preds = %38
  %43 = load i64, ptr %13, align 8, !tbaa !11
  %44 = load ptr, ptr %4, align 8, !tbaa !9
  %45 = call noundef i64 @_ZN11alglib_impl16ae_randomintegerElPNS_8ae_stateE(i64 noundef %43, ptr noundef %44)
  store i64 %45, ptr %18, align 8, !tbaa !11
  %46 = load i64, ptr %7, align 8, !tbaa !11
  %47 = sdiv i64 %46, 2
  %48 = load i64, ptr %7, align 8, !tbaa !11
  %49 = sdiv i64 %48, 2
  %50 = load ptr, ptr %4, align 8, !tbaa !9
  %51 = call noundef i64 @_ZN11alglib_impl16ae_randomintegerElPNS_8ae_stateE(i64 noundef %49, ptr noundef %50)
  %52 = add nsw i64 %47, %51
  store i64 %52, ptr %15, align 8, !tbaa !11
  %53 = load i64, ptr %13, align 8, !tbaa !11
  %54 = load i64, ptr %14, align 8, !tbaa !11
  %55 = load i64, ptr %15, align 8, !tbaa !11
  %56 = load i64, ptr %18, align 8, !tbaa !11
  %57 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZL24testldaunit_gensimplesetllllPN11alglib_impl9ae_matrixEPNS_8ae_stateE(i64 noundef %53, i64 noundef %54, i64 noundef %55, i64 noundef %56, ptr noundef %19, ptr noundef %57)
  %58 = load i64, ptr %15, align 8, !tbaa !11
  %59 = load i64, ptr %13, align 8, !tbaa !11
  %60 = load i64, ptr %14, align 8, !tbaa !11
  %61 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl10fisherldanEPKNS_9ae_matrixElllPS0_PNS_8ae_stateE(ptr noundef %19, i64 noundef %58, i64 noundef %59, i64 noundef %60, ptr noundef %20, ptr noundef %61)
  %62 = load i64, ptr %15, align 8, !tbaa !11
  %63 = load i64, ptr %13, align 8, !tbaa !11
  %64 = load i64, ptr %14, align 8, !tbaa !11
  %65 = load ptr, ptr %4, align 8, !tbaa !9
  %66 = call noundef zeroext i1 @_ZL18testldaunit_testwnPKN11alglib_impl9ae_matrixES2_llllPNS_8ae_stateE(ptr noundef %19, ptr noundef %20, i64 noundef %62, i64 noundef %63, i64 noundef %64, i64 noundef 0, ptr noundef %65)
  %67 = xor i1 %66, true
  call void @_ZN11alglib_impl17ae_set_error_flagEPbbPKciS2_(ptr noundef %10, i1 noundef zeroext %67, ptr noundef @.str.19, i32 noundef 142267, ptr noundef @.str.1063)
  %68 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %20, i32 0, i32 6
  %69 = load ptr, ptr %68, align 8, !tbaa !13
  %70 = load i64, ptr %18, align 8, !tbaa !11
  %71 = getelementptr inbounds ptr, ptr %69, i64 %70
  %72 = load ptr, ptr %71, align 8, !tbaa !9
  %73 = getelementptr inbounds double, ptr %72, i64 0
  %74 = load double, ptr %73, align 8, !tbaa !14
  %75 = load ptr, ptr %4, align 8, !tbaa !9
  %76 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %74, ptr noundef %75)
  %77 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_less_eqEdd(double noundef %76, double noundef 7.500000e-01)
  call void @_ZN11alglib_impl17ae_set_error_flagEPbbPKciS2_(ptr noundef %10, i1 noundef zeroext %77, ptr noundef @.str.19, i32 noundef 142268, ptr noundef @.str.1064)
  %78 = load i64, ptr %15, align 8, !tbaa !11
  %79 = load i64, ptr %13, align 8, !tbaa !11
  %80 = load i64, ptr %14, align 8, !tbaa !11
  %81 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl9fisherldaEPKNS_9ae_matrixElllPNS_9ae_vectorEPNS_8ae_stateE(ptr noundef %19, i64 noundef %78, i64 noundef %79, i64 noundef %80, ptr noundef %21, ptr noundef %81)
  store i64 0, ptr %16, align 8, !tbaa !11
  br label %82

82:                                               ; preds = %101, %42
  %83 = load i64, ptr %16, align 8, !tbaa !11
  %84 = load i64, ptr %13, align 8, !tbaa !11
  %85 = sub nsw i64 %84, 1
  %86 = icmp sle i64 %83, %85
  br i1 %86, label %87, label %104

87:                                               ; preds = %82
  %88 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %21, i32 0, i32 4
  %89 = load ptr, ptr %88, align 8, !tbaa !13
  %90 = load i64, ptr %16, align 8, !tbaa !11
  %91 = getelementptr inbounds double, ptr %89, i64 %90
  %92 = load double, ptr %91, align 8, !tbaa !14
  %93 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %20, i32 0, i32 6
  %94 = load ptr, ptr %93, align 8, !tbaa !13
  %95 = load i64, ptr %16, align 8, !tbaa !11
  %96 = getelementptr inbounds ptr, ptr %94, i64 %95
  %97 = load ptr, ptr %96, align 8, !tbaa !9
  %98 = getelementptr inbounds double, ptr %97, i64 0
  %99 = load double, ptr %98, align 8, !tbaa !14
  %100 = call noundef zeroext i1 @_ZN11alglib_impl9ae_fp_neqEdd(double noundef %92, double noundef %99)
  call void @_ZN11alglib_impl17ae_set_error_flagEPbbPKciS2_(ptr noundef %11, i1 noundef zeroext %100, ptr noundef @.str.19, i32 noundef 142272, ptr noundef @.str.1065)
  br label %101

101:                                              ; preds = %87
  %102 = load i64, ptr %16, align 8, !tbaa !11
  %103 = add nsw i64 %102, 1
  store i64 %103, ptr %16, align 8, !tbaa !11
  br label %82, !llvm.loop !16

104:                                              ; preds = %82
  %105 = load i64, ptr %13, align 8, !tbaa !11
  %106 = icmp sge i64 %105, 3
  br i1 %106, label %107, label %165

107:                                              ; preds = %104
  %108 = load i64, ptr %7, align 8, !tbaa !11
  %109 = sdiv i64 %108, 2
  %110 = load i64, ptr %7, align 8, !tbaa !11
  %111 = sdiv i64 %110, 2
  %112 = load ptr, ptr %4, align 8, !tbaa !9
  %113 = call noundef i64 @_ZN11alglib_impl16ae_randomintegerElPNS_8ae_stateE(i64 noundef %111, ptr noundef %112)
  %114 = add nsw i64 %109, %113
  store i64 %114, ptr %15, align 8, !tbaa !11
  %115 = load i64, ptr %13, align 8, !tbaa !11
  %116 = sub nsw i64 %115, 2
  %117 = load ptr, ptr %4, align 8, !tbaa !9
  %118 = call noundef i64 @_ZN11alglib_impl16ae_randomintegerElPNS_8ae_stateE(i64 noundef %116, ptr noundef %117)
  store i64 %118, ptr %18, align 8, !tbaa !11
  %119 = load i64, ptr %13, align 8, !tbaa !11
  %120 = load i64, ptr %14, align 8, !tbaa !11
  %121 = load i64, ptr %15, align 8, !tbaa !11
  %122 = load i64, ptr %18, align 8, !tbaa !11
  %123 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZL22testldaunit_gendeg1setllllPN11alglib_impl9ae_matrixEPNS_8ae_stateE(i64 noundef %119, i64 noundef %120, i64 noundef %121, i64 noundef %122, ptr noundef %19, ptr noundef %123)
  %124 = load i64, ptr %15, align 8, !tbaa !11
  %125 = load i64, ptr %13, align 8, !tbaa !11
  %126 = load i64, ptr %14, align 8, !tbaa !11
  %127 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl10fisherldanEPKNS_9ae_matrixElllPS0_PNS_8ae_stateE(ptr noundef %19, i64 noundef %124, i64 noundef %125, i64 noundef %126, ptr noundef %20, ptr noundef %127)
  %128 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %20, i32 0, i32 6
  %129 = load ptr, ptr %128, align 8, !tbaa !13
  %130 = load i64, ptr %18, align 8, !tbaa !11
  %131 = getelementptr inbounds ptr, ptr %129, i64 %130
  %132 = load ptr, ptr %131, align 8, !tbaa !9
  %133 = getelementptr inbounds double, ptr %132, i64 0
  %134 = load double, ptr %133, align 8, !tbaa !14
  %135 = load ptr, ptr %4, align 8, !tbaa !9
  %136 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %134, ptr noundef %135)
  %137 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_less_eqEdd(double noundef %136, double noundef 7.500000e-01)
  call void @_ZN11alglib_impl17ae_set_error_flagEPbbPKciS2_(ptr noundef %10, i1 noundef zeroext %137, ptr noundef @.str.19, i32 noundef 142289, ptr noundef @.str.1066)
  %138 = load i64, ptr %15, align 8, !tbaa !11
  %139 = load i64, ptr %13, align 8, !tbaa !11
  %140 = load i64, ptr %14, align 8, !tbaa !11
  %141 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl9fisherldaEPKNS_9ae_matrixElllPNS_9ae_vectorEPNS_8ae_stateE(ptr noundef %19, i64 noundef %138, i64 noundef %139, i64 noundef %140, ptr noundef %21, ptr noundef %141)
  store i64 0, ptr %16, align 8, !tbaa !11
  br label %142

142:                                              ; preds = %161, %107
  %143 = load i64, ptr %16, align 8, !tbaa !11
  %144 = load i64, ptr %13, align 8, !tbaa !11
  %145 = sub nsw i64 %144, 1
  %146 = icmp sle i64 %143, %145
  br i1 %146, label %147, label %164

147:                                              ; preds = %142
  %148 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %21, i32 0, i32 4
  %149 = load ptr, ptr %148, align 8, !tbaa !13
  %150 = load i64, ptr %16, align 8, !tbaa !11
  %151 = getelementptr inbounds double, ptr %149, i64 %150
  %152 = load double, ptr %151, align 8, !tbaa !14
  %153 = getelementptr inbounds %"struct.alglib_impl::ae_matrix", ptr %20, i32 0, i32 6
  %154 = load ptr, ptr %153, align 8, !tbaa !13
  %155 = load i64, ptr %16, align 8, !tbaa !11
  %156 = getelementptr inbounds ptr, ptr %154, i64 %155
  %157 = load ptr, ptr %156, align 8, !tbaa !9
  %158 = getelementptr inbounds double, ptr %157, i64 0
  %159 = load double, ptr %158, align 8, !tbaa !14
  %160 = call noundef zeroext i1 @_ZN11alglib_impl9ae_fp_neqEdd(double noundef %152, double noundef %159)
  call void @_ZN11alglib_impl17ae_set_error_flagEPbbPKciS2_(ptr noundef %11, i1 noundef zeroext %160, ptr noundef @.str.19, i32 noundef 142293, ptr noundef @.str.1067)
  br label %161

161:                                              ; preds = %147
  %162 = load i64, ptr %16, align 8, !tbaa !11
  %163 = add nsw i64 %162, 1
  store i64 %163, ptr %16, align 8, !tbaa !11
  br label %142, !llvm.loop !18

164:                                              ; preds = %142
  br label %165

165:                                              ; preds = %164, %104
  br label %166

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

169:                                              ; preds = %38
  br label %170

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

173:                                              ; preds = %33
  br label %174

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

177:                                              ; preds = %28
  %178 = load i8, ptr %10, align 1, !tbaa !5, !range !22, !noundef !23
  %179 = trunc i8 %178 to i1
  br i1 %179, label %183, label %180

180:                                              ; preds = %177
  %181 = load i8, ptr %11, align 1, !tbaa !5, !range !22, !noundef !23
  %182 = trunc i8 %181 to i1
  br label %183

183:                                              ; preds = %180, %177
  %184 = phi i1 [ true, %177 ], [ %182, %180 ]
  %185 = zext i1 %184 to i8
  store i8 %185, ptr %12, align 1, !tbaa !5
  %186 = load i8, ptr %3, align 1, !tbaa !5, !range !22, !noundef !23
  %187 = trunc i8 %186 to i1
  br i1 %187, label %214, label %188

188:                                              ; preds = %183
  %189 = call i32 (ptr, ...) @printf(ptr noundef @.str.1068)
  %190 = call i32 (ptr, ...) @printf(ptr noundef @.str.1069)
  %191 = load i8, ptr %10, align 1, !tbaa !5, !range !22, !noundef !23
  %192 = trunc i8 %191 to i1
  br i1 %192, label %195, label %193

193:                                              ; preds = %188
  %194 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
  br label %197

195:                                              ; preds = %188
  %196 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
  br label %197

197:                                              ; preds = %195, %193
  %198 = call i32 (ptr, ...) @printf(ptr noundef @.str.1070)
  %199 = load i8, ptr %11, align 1, !tbaa !5, !range !22, !noundef !23
  %200 = trunc i8 %199 to i1
  br i1 %200, label %203, label %201

201:                                              ; preds = %197
  %202 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
  br label %205

203:                                              ; preds = %197
  %204 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
  br label %205

205:                                              ; preds = %203, %201
  %206 = load i8, ptr %12, align 1, !tbaa !5, !range !22, !noundef !23
  %207 = trunc i8 %206 to i1
  br i1 %207, label %208, label %210

208:                                              ; preds = %205
  %209 = call i32 (ptr, ...) @printf(ptr noundef @.str.46)
  br label %212

210:                                              ; preds = %205
  %211 = call i32 (ptr, ...) @printf(ptr noundef @.str.47)
  br label %212

212:                                              ; preds = %210, %208
  %213 = call i32 (ptr, ...) @printf(ptr noundef @.str.17)
  br label %214

214:                                              ; preds = %212, %183
  %215 = load i8, ptr %12, align 1, !tbaa !5, !range !22, !noundef !23
  %216 = trunc i8 %215 to i1
  %217 = xor i1 %216, true
  %218 = zext i1 %217 to i8
  store i8 %218, ptr %22, align 1, !tbaa !5
  %219 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %219)
  %220 = load i8, ptr %22, align 1, !tbaa !5, !range !22, !noundef !23
  %221 = trunc i8 %220 to i1
  call void @llvm.lifetime.end.p0(i64 1, ptr %22) #4
  call void @llvm.lifetime.end.p0(i64 64, ptr %21) #4
  call void @llvm.lifetime.end.p0(i64 80, ptr %20) #4
  call void @llvm.lifetime.end.p0(i64 80, ptr %19) #4
  call void @llvm.lifetime.end.p0(i64 8, 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 1, ptr %12) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %11) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr %5) #4
  ret i1 %221
}

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

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

; Function Attrs: mustprogress uwtable
declare hidden noundef zeroext i1 @_ZL18testldaunit_testwnPKN11alglib_impl9ae_matrixES2_llllPNS_8ae_stateE(ptr noundef, ptr noundef, i64 noundef, i64 noundef, i64 noundef, i64 noundef, ptr noundef) #3

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

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

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 = !{!"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 = !{!7, !7, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"double", !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 = !{i8 0, i8 2}
!23 = !{}


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

@.str.2 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [92 x i8], align 1
@.str.46 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.47 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.1063 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.1064 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.1065 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.1066 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.1067 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.1068 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.1069 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.1070 = external hidden unnamed_addr constant [42 x i8], align 1

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

; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) 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 noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef, ptr noundef) local_unnamed_addr #2

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

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

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

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

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

declare noundef i64 @_ZN11alglib_impl16ae_randomintegerElPNS_8ae_stateE(i64 noundef, ptr noundef) local_unnamed_addr #2

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

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

declare void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_Z7testldabPN11alglib_impl8ae_stateE(i1 noundef zeroext %0, ptr noundef %1) local_unnamed_addr #4 {
  %3 = alloca %"struct.alglib_impl::ae_frame", align 8
  %4 = alloca i8, align 1
  %5 = alloca i8, align 1
  %6 = alloca %"struct.alglib_impl::ae_matrix", align 8
  %7 = alloca %"struct.alglib_impl::ae_matrix", align 8
  %8 = alloca %"struct.alglib_impl::ae_vector", align 8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %4) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %5) #5
  call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %6) #5
  call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %7) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %8) #5
  call void @_ZN11alglib_impl13ae_frame_makeEPNS_8ae_stateEPNS_8ae_frameE(ptr noundef %1, ptr noundef nonnull %3)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(80) %6, i8 0, i64 80, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(80) %7, i8 0, i64 80, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %8, i8 0, i64 64, i1 false)
  call void @_ZN11alglib_impl14ae_matrix_initEPNS_9ae_matrixElllPNS_8ae_stateEb(ptr noundef nonnull %6, i64 noundef 0, i64 noundef 0, i64 noundef 3, ptr noundef %1, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_matrix_initEPNS_9ae_matrixElllPNS_8ae_stateEb(ptr noundef nonnull %7, i64 noundef 0, i64 noundef 0, i64 noundef 3, ptr noundef %1, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %8, i64 noundef 0, i64 noundef 3, ptr noundef %1, i1 noundef zeroext true)
  store i8 0, ptr %4, align 1, !tbaa !5
  store i8 0, ptr %5, align 1, !tbaa !5
  %9 = getelementptr inbounds i8, ptr %7, i64 72
  %10 = getelementptr inbounds i8, ptr %8, i64 56
  br label %.preheader

.preheader:                                       ; preds = %2, %57
  %.07480 = phi i64 [ 1, %2 ], [ %58, %57 ]
  %11 = icmp ugt i64 %.07480, 2
  %12 = add nsw i64 %.07480, -2
  br label %13

13:                                               ; preds = %.preheader, %.critedge
  %.07379 = phi i64 [ 2, %.preheader ], [ %56, %.critedge ]
  %14 = call noundef i64 @_ZN11alglib_impl16ae_randomintegerElPNS_8ae_stateE(i64 noundef %.07480, ptr noundef %1)
  %15 = call noundef i64 @_ZN11alglib_impl16ae_randomintegerElPNS_8ae_stateE(i64 noundef 500, ptr noundef %1)
  %16 = add nsw i64 %15, 500
  call void @_ZL24testldaunit_gensimplesetllllPN11alglib_impl9ae_matrixEPNS_8ae_stateE(i64 noundef %.07480, i64 noundef %.07379, i64 noundef %16, i64 noundef %14, ptr noundef nonnull %6, ptr noundef %1)
  call void @_ZN11alglib_impl10fisherldanEPKNS_9ae_matrixElllPS0_PNS_8ae_stateE(ptr noundef nonnull %6, i64 noundef %16, i64 noundef %.07480, i64 noundef %.07379, ptr noundef nonnull %7, ptr noundef %1)
  %17 = call noundef zeroext i1 @_ZL18testldaunit_testwnPKN11alglib_impl9ae_matrixES2_llllPNS_8ae_stateE(ptr noundef nonnull %6, ptr noundef nonnull %7, i64 noundef %16, i64 noundef %.07480, i64 noundef %.07379, i64 noundef 0, ptr noundef %1)
  %18 = xor i1 %17, true
  call void @_ZN11alglib_impl17ae_set_error_flagEPbbPKciS2_(ptr noundef nonnull %4, i1 noundef zeroext %18, ptr noundef nonnull @.str.19, i32 noundef 142267, ptr noundef nonnull @.str.1063)
  %19 = load ptr, ptr %9, align 8, !tbaa !9
  %20 = getelementptr inbounds ptr, ptr %19, i64 %14
  %21 = load ptr, ptr %20, align 8, !tbaa !10
  %22 = load double, ptr %21, align 8, !tbaa !12
  %23 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %22, ptr noundef %1)
  %24 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_less_eqEdd(double noundef %23, double noundef 7.500000e-01)
  call void @_ZN11alglib_impl17ae_set_error_flagEPbbPKciS2_(ptr noundef nonnull %4, i1 noundef zeroext %24, ptr noundef nonnull @.str.19, i32 noundef 142268, ptr noundef nonnull @.str.1064)
  call void @_ZN11alglib_impl9fisherldaEPKNS_9ae_matrixElllPNS_9ae_vectorEPNS_8ae_stateE(ptr noundef nonnull %6, i64 noundef %16, i64 noundef %.07480, i64 noundef %.07379, ptr noundef nonnull %8, ptr noundef %1)
  br label %25

25:                                               ; preds = %13, %25
  %.07277 = phi i64 [ 0, %13 ], [ %34, %25 ]
  %26 = load ptr, ptr %10, align 8, !tbaa !9
  %27 = getelementptr inbounds double, ptr %26, i64 %.07277
  %28 = load double, ptr %27, align 8, !tbaa !12
  %29 = load ptr, ptr %9, align 8, !tbaa !9
  %30 = getelementptr inbounds ptr, ptr %29, i64 %.07277
  %31 = load ptr, ptr %30, align 8, !tbaa !10
  %32 = load double, ptr %31, align 8, !tbaa !12
  %33 = call noundef zeroext i1 @_ZN11alglib_impl9ae_fp_neqEdd(double noundef %28, double noundef %32)
  call void @_ZN11alglib_impl17ae_set_error_flagEPbbPKciS2_(ptr noundef nonnull %5, i1 noundef zeroext %33, ptr noundef nonnull @.str.19, i32 noundef 142272, ptr noundef nonnull @.str.1065)
  %34 = add nuw nsw i64 %.07277, 1
  %exitcond.not = icmp eq i64 %34, %.07480
  br i1 %exitcond.not, label %35, label %25, !llvm.loop !14

35:                                               ; preds = %25
  br i1 %11, label %36, label %.critedge

36:                                               ; preds = %35
  %37 = call noundef i64 @_ZN11alglib_impl16ae_randomintegerElPNS_8ae_stateE(i64 noundef 500, ptr noundef %1)
  %38 = add nsw i64 %37, 500
  %39 = call noundef i64 @_ZN11alglib_impl16ae_randomintegerElPNS_8ae_stateE(i64 noundef %12, ptr noundef %1)
  call void @_ZL22testldaunit_gendeg1setllllPN11alglib_impl9ae_matrixEPNS_8ae_stateE(i64 noundef %.07480, i64 noundef %.07379, i64 noundef %38, i64 noundef %39, ptr noundef nonnull %6, ptr noundef %1)
  call void @_ZN11alglib_impl10fisherldanEPKNS_9ae_matrixElllPS0_PNS_8ae_stateE(ptr noundef nonnull %6, i64 noundef %38, i64 noundef %.07480, i64 noundef %.07379, ptr noundef nonnull %7, ptr noundef %1)
  %40 = load ptr, ptr %9, align 8, !tbaa !9
  %41 = getelementptr inbounds ptr, ptr %40, i64 %39
  %42 = load ptr, ptr %41, align 8, !tbaa !10
  %43 = load double, ptr %42, align 8, !tbaa !12
  %44 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %43, ptr noundef %1)
  %45 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_less_eqEdd(double noundef %44, double noundef 7.500000e-01)
  call void @_ZN11alglib_impl17ae_set_error_flagEPbbPKciS2_(ptr noundef nonnull %4, i1 noundef zeroext %45, ptr noundef nonnull @.str.19, i32 noundef 142289, ptr noundef nonnull @.str.1066)
  call void @_ZN11alglib_impl9fisherldaEPKNS_9ae_matrixElllPNS_9ae_vectorEPNS_8ae_stateE(ptr noundef nonnull %6, i64 noundef %38, i64 noundef %.07480, i64 noundef %.07379, ptr noundef nonnull %8, ptr noundef %1)
  br label %46

46:                                               ; preds = %36, %46
  %.178 = phi i64 [ 0, %36 ], [ %55, %46 ]
  %47 = load ptr, ptr %10, align 8, !tbaa !9
  %48 = getelementptr inbounds double, ptr %47, i64 %.178
  %49 = load double, ptr %48, align 8, !tbaa !12
  %50 = load ptr, ptr %9, align 8, !tbaa !9
  %51 = getelementptr inbounds ptr, ptr %50, i64 %.178
  %52 = load ptr, ptr %51, align 8, !tbaa !10
  %53 = load double, ptr %52, align 8, !tbaa !12
  %54 = call noundef zeroext i1 @_ZN11alglib_impl9ae_fp_neqEdd(double noundef %49, double noundef %53)
  call void @_ZN11alglib_impl17ae_set_error_flagEPbbPKciS2_(ptr noundef nonnull %5, i1 noundef zeroext %54, ptr noundef nonnull @.str.19, i32 noundef 142293, ptr noundef nonnull @.str.1067)
  %55 = add nuw nsw i64 %.178, 1
  %exitcond81.not = icmp eq i64 %55, %.07480
  br i1 %exitcond81.not, label %.critedge, label %46, !llvm.loop !16

.critedge:                                        ; preds = %46, %35
  %56 = add nuw nsw i64 %.07379, 1
  %exitcond82.not = icmp eq i64 %56, 6
  br i1 %exitcond82.not, label %57, label %13, !llvm.loop !17

57:                                               ; preds = %.critedge
  %58 = add nuw nsw i64 %.07480, 1
  %exitcond83.not = icmp eq i64 %58, 11
  br i1 %exitcond83.not, label %59, label %.preheader, !llvm.loop !18

59:                                               ; preds = %57
  %60 = load i8, ptr %4, align 1, !tbaa !5, !range !19, !noundef !20
  %61 = trunc nuw i8 %60 to i1
  %62 = load i8, ptr %5, align 1, !range !19
  %63 = trunc nuw i8 %62 to i1
  %64 = select i1 %61, i1 true, i1 %63
  br i1 %0, label %77, label %65

65:                                               ; preds = %59
  %66 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1068)
  %67 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1069)
  %68 = load i8, ptr %4, align 1, !tbaa !5, !range !19, !noundef !20
  %69 = trunc nuw i8 %68 to i1
  %.str.2..str.3 = select i1 %69, ptr @.str.2, ptr @.str.3
  %70 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %.str.2..str.3)
  %71 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1070)
  %72 = load i8, ptr %5, align 1, !tbaa !5, !range !19, !noundef !20
  %73 = trunc nuw i8 %72 to i1
  %.str.2.sink84 = select i1 %73, ptr @.str.2, ptr @.str.3
  %74 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %.str.2.sink84)
  %.str.47.sink = select i1 %64, ptr @.str.46, ptr @.str.47
  %75 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %.str.47.sink)
  %76 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.17)
  br label %77

77:                                               ; preds = %65, %59
  %78 = xor i1 %64, true
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %1)
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %8) #5
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %7) #5
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %6) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %5) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %4) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #5
  ret i1 %78
}

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

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

; Function Attrs: mustprogress uwtable
declare hidden noundef zeroext i1 @_ZL18testldaunit_testwnPKN11alglib_impl9ae_matrixES2_llllPNS_8ae_stateE(ptr noundef, ptr noundef, i64 noundef, i64 noundef, i64 noundef, i64 noundef, ptr noundef) local_unnamed_addr #4

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

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
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 = !{!7, !7, i64 0}
!10 = !{!11, !11, i64 0}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"double", !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,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass