; LLVM IR from venumb/ZSPACE :: cpp/depends/alglib/cpp/tests/test_c.ll (Z10testmatinvbPN11alglib_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"

@.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.6 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.265 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.266 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.267 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.268 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.269 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.270 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.271 = external hidden unnamed_addr constant [43 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 i64 @_ZN11alglib_impl15matrixtilesizeaEPNS_8ae_stateE(ptr noundef) #1

declare noundef i64 @_ZN11alglib_impl15matrixtilesizebEPNS_8ae_stateE(ptr noundef) #1

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_Z10testmatinvbPN11alglib_impl8ae_stateE(i1 noundef zeroext %0, ptr noundef %1) #2 {
  %3 = alloca i8, align 1
  %4 = alloca ptr, align 8
  %5 = alloca i64, align 8
  %6 = alloca i64, align 8
  %7 = alloca i64, align 8
  %8 = alloca i64, align 8
  %9 = alloca double, align 8
  %10 = alloca i8, align 1
  %11 = alloca i8, align 1
  %12 = alloca i8, align 1
  %13 = alloca i8, align 1
  %14 = alloca i8, align 1
  %15 = alloca i8, align 1
  %16 = alloca i8, align 1
  %17 = alloca i8, align 1
  %18 = zext i1 %0 to i8
  store i8 %18, ptr %3, align 1, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #3
  call void @llvm.lifetime.start.p0(i64 1, ptr %10) #3
  call void @llvm.lifetime.start.p0(i64 1, ptr %11) #3
  call void @llvm.lifetime.start.p0(i64 1, ptr %12) #3
  call void @llvm.lifetime.start.p0(i64 1, ptr %13) #3
  call void @llvm.lifetime.start.p0(i64 1, ptr %14) #3
  call void @llvm.lifetime.start.p0(i64 1, ptr %15) #3
  call void @llvm.lifetime.start.p0(i64 1, ptr %16) #3
  call void @llvm.lifetime.start.p0(i64 1, ptr %17) #3
  %19 = load ptr, ptr %4, align 8, !tbaa !9
  %20 = call noundef i64 @_ZN11alglib_impl15matrixtilesizeaEPNS_8ae_stateE(ptr noundef %19)
  %21 = mul nsw i64 3, %20
  %22 = add nsw i64 %21, 1
  store i64 %22, ptr %5, align 8, !tbaa !11
  %23 = load ptr, ptr %4, align 8, !tbaa !9
  %24 = call noundef i64 @_ZN11alglib_impl15matrixtilesizeaEPNS_8ae_stateE(ptr noundef %23)
  %25 = mul nsw i64 3, %24
  %26 = add nsw i64 %25, 1
  store i64 %26, ptr %6, align 8, !tbaa !11
  %27 = load ptr, ptr %4, align 8, !tbaa !9
  %28 = call noundef i64 @_ZN11alglib_impl15matrixtilesizebEPNS_8ae_stateE(ptr noundef %27)
  %29 = mul nsw i64 4, %28
  %30 = add nsw i64 %29, 1
  store i64 %30, ptr %7, align 8, !tbaa !11
  store i64 1, ptr %8, align 8, !tbaa !11
  store double 0x3D95FD7FE1796496, ptr %9, align 8, !tbaa !13
  store i8 0, ptr %10, align 1, !tbaa !5
  store i8 0, ptr %11, align 1, !tbaa !5
  store i8 0, ptr %12, align 1, !tbaa !5
  store i8 0, ptr %13, align 1, !tbaa !5
  store i8 0, ptr %14, align 1, !tbaa !5
  store i8 0, ptr %15, align 1, !tbaa !5
  %31 = load i64, ptr %5, align 8, !tbaa !11
  %32 = load i64, ptr %8, align 8, !tbaa !11
  %33 = load double, ptr %9, align 8, !tbaa !13
  %34 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZL25testmatinvunit_testrtrinvllldPbPN11alglib_impl8ae_stateE(i64 noundef 1, i64 noundef %31, i64 noundef %32, double noundef %33, ptr noundef %10, ptr noundef %34)
  %35 = load i64, ptr %6, align 8, !tbaa !11
  %36 = load i64, ptr %8, align 8, !tbaa !11
  %37 = load double, ptr %9, align 8, !tbaa !13
  %38 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZL25testmatinvunit_testctrinvllldPbPN11alglib_impl8ae_stateE(i64 noundef 1, i64 noundef %35, i64 noundef %36, double noundef %37, ptr noundef %11, ptr noundef %38)
  %39 = load i64, ptr %5, align 8, !tbaa !11
  %40 = load i64, ptr %8, align 8, !tbaa !11
  %41 = load double, ptr %9, align 8, !tbaa !13
  %42 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZL23testmatinvunit_testrinvllldPbPN11alglib_impl8ae_stateE(i64 noundef 1, i64 noundef %39, i64 noundef %40, double noundef %41, ptr noundef %12, ptr noundef %42)
  %43 = load i64, ptr %5, align 8, !tbaa !11
  %44 = load i64, ptr %8, align 8, !tbaa !11
  %45 = load double, ptr %9, align 8, !tbaa !13
  %46 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZL25testmatinvunit_testspdinvllldPbPN11alglib_impl8ae_stateE(i64 noundef 1, i64 noundef %43, i64 noundef %44, double noundef %45, ptr noundef %14, ptr noundef %46)
  %47 = load i64, ptr %6, align 8, !tbaa !11
  %48 = load i64, ptr %8, align 8, !tbaa !11
  %49 = load double, ptr %9, align 8, !tbaa !13
  %50 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZL23testmatinvunit_testcinvllldPbPN11alglib_impl8ae_stateE(i64 noundef 1, i64 noundef %47, i64 noundef %48, double noundef %49, ptr noundef %13, ptr noundef %50)
  %51 = load i64, ptr %6, align 8, !tbaa !11
  %52 = load i64, ptr %8, align 8, !tbaa !11
  %53 = load double, ptr %9, align 8, !tbaa !13
  %54 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZL25testmatinvunit_testhpdinvllldPbPN11alglib_impl8ae_stateE(i64 noundef 1, i64 noundef %51, i64 noundef %52, double noundef %53, ptr noundef %15, ptr noundef %54)
  %55 = load i64, ptr %7, align 8, !tbaa !11
  %56 = load i64, ptr %7, align 8, !tbaa !11
  %57 = load i64, ptr %8, align 8, !tbaa !11
  %58 = load double, ptr %9, align 8, !tbaa !13
  %59 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZL25testmatinvunit_testrtrinvllldPbPN11alglib_impl8ae_stateE(i64 noundef %55, i64 noundef %56, i64 noundef %57, double noundef %58, ptr noundef %10, ptr noundef %59)
  %60 = load i64, ptr %7, align 8, !tbaa !11
  %61 = load i64, ptr %7, align 8, !tbaa !11
  %62 = load i64, ptr %8, align 8, !tbaa !11
  %63 = load double, ptr %9, align 8, !tbaa !13
  %64 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZL25testmatinvunit_testctrinvllldPbPN11alglib_impl8ae_stateE(i64 noundef %60, i64 noundef %61, i64 noundef %62, double noundef %63, ptr noundef %11, ptr noundef %64)
  %65 = load i64, ptr %7, align 8, !tbaa !11
  %66 = load i64, ptr %7, align 8, !tbaa !11
  %67 = load i64, ptr %8, align 8, !tbaa !11
  %68 = load double, ptr %9, align 8, !tbaa !13
  %69 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZL23testmatinvunit_testrinvllldPbPN11alglib_impl8ae_stateE(i64 noundef %65, i64 noundef %66, i64 noundef %67, double noundef %68, ptr noundef %12, ptr noundef %69)
  %70 = load i64, ptr %7, align 8, !tbaa !11
  %71 = load i64, ptr %7, align 8, !tbaa !11
  %72 = load i64, ptr %8, align 8, !tbaa !11
  %73 = load double, ptr %9, align 8, !tbaa !13
  %74 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZL25testmatinvunit_testspdinvllldPbPN11alglib_impl8ae_stateE(i64 noundef %70, i64 noundef %71, i64 noundef %72, double noundef %73, ptr noundef %14, ptr noundef %74)
  %75 = load i64, ptr %7, align 8, !tbaa !11
  %76 = load i64, ptr %7, align 8, !tbaa !11
  %77 = load i64, ptr %8, align 8, !tbaa !11
  %78 = load double, ptr %9, align 8, !tbaa !13
  %79 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZL23testmatinvunit_testcinvllldPbPN11alglib_impl8ae_stateE(i64 noundef %75, i64 noundef %76, i64 noundef %77, double noundef %78, ptr noundef %13, ptr noundef %79)
  %80 = load i64, ptr %7, align 8, !tbaa !11
  %81 = load i64, ptr %7, align 8, !tbaa !11
  %82 = load i64, ptr %8, align 8, !tbaa !11
  %83 = load double, ptr %9, align 8, !tbaa !13
  %84 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZL25testmatinvunit_testhpdinvllldPbPN11alglib_impl8ae_stateE(i64 noundef %80, i64 noundef %81, i64 noundef %82, double noundef %83, ptr noundef %15, ptr noundef %84)
  %85 = load i8, ptr %10, align 1, !tbaa !5, !range !15, !noundef !16
  %86 = trunc i8 %85 to i1
  br i1 %86, label %102, label %87

87:                                               ; preds = %2
  %88 = load i8, ptr %11, align 1, !tbaa !5, !range !15, !noundef !16
  %89 = trunc i8 %88 to i1
  br i1 %89, label %102, label %90

90:                                               ; preds = %87
  %91 = load i8, ptr %12, align 1, !tbaa !5, !range !15, !noundef !16
  %92 = trunc i8 %91 to i1
  br i1 %92, label %102, label %93

93:                                               ; preds = %90
  %94 = load i8, ptr %13, align 1, !tbaa !5, !range !15, !noundef !16
  %95 = trunc i8 %94 to i1
  br i1 %95, label %102, label %96

96:                                               ; preds = %93
  %97 = load i8, ptr %14, align 1, !tbaa !5, !range !15, !noundef !16
  %98 = trunc i8 %97 to i1
  br i1 %98, label %102, label %99

99:                                               ; preds = %96
  %100 = load i8, ptr %15, align 1, !tbaa !5, !range !15, !noundef !16
  %101 = trunc i8 %100 to i1
  br label %102

102:                                              ; preds = %99, %96, %93, %90, %87, %2
  %103 = phi i1 [ true, %96 ], [ true, %93 ], [ true, %90 ], [ true, %87 ], [ true, %2 ], [ %101, %99 ]
  %104 = zext i1 %103 to i8
  store i8 %104, ptr %16, align 1, !tbaa !5
  %105 = load i8, ptr %3, align 1, !tbaa !5, !range !15, !noundef !16
  %106 = trunc i8 %105 to i1
  br i1 %106, label %164, label %107

107:                                              ; preds = %102
  %108 = call i32 (ptr, ...) @printf(ptr noundef @.str.265)
  %109 = call i32 (ptr, ...) @printf(ptr noundef @.str.266)
  %110 = load i8, ptr %10, align 1, !tbaa !5, !range !15, !noundef !16
  %111 = trunc i8 %110 to i1
  br i1 %111, label %112, label %114

112:                                              ; preds = %107
  %113 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
  br label %116

114:                                              ; preds = %107
  %115 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
  br label %116

116:                                              ; preds = %114, %112
  %117 = call i32 (ptr, ...) @printf(ptr noundef @.str.267)
  %118 = load i8, ptr %11, align 1, !tbaa !5, !range !15, !noundef !16
  %119 = trunc i8 %118 to i1
  br i1 %119, label %120, label %122

120:                                              ; preds = %116
  %121 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
  br label %124

122:                                              ; preds = %116
  %123 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
  br label %124

124:                                              ; preds = %122, %120
  %125 = call i32 (ptr, ...) @printf(ptr noundef @.str.268)
  %126 = load i8, ptr %12, align 1, !tbaa !5, !range !15, !noundef !16
  %127 = trunc i8 %126 to i1
  br i1 %127, label %128, label %130

128:                                              ; preds = %124
  %129 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
  br label %132

130:                                              ; preds = %124
  %131 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
  br label %132

132:                                              ; preds = %130, %128
  %133 = call i32 (ptr, ...) @printf(ptr noundef @.str.269)
  %134 = load i8, ptr %13, align 1, !tbaa !5, !range !15, !noundef !16
  %135 = trunc i8 %134 to i1
  br i1 %135, label %136, label %138

136:                                              ; preds = %132
  %137 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
  br label %140

138:                                              ; preds = %132
  %139 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
  br label %140

140:                                              ; preds = %138, %136
  %141 = call i32 (ptr, ...) @printf(ptr noundef @.str.270)
  %142 = load i8, ptr %14, align 1, !tbaa !5, !range !15, !noundef !16
  %143 = trunc i8 %142 to i1
  br i1 %143, label %144, label %146

144:                                              ; preds = %140
  %145 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
  br label %148

146:                                              ; preds = %140
  %147 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
  br label %148

148:                                              ; preds = %146, %144
  %149 = call i32 (ptr, ...) @printf(ptr noundef @.str.271)
  %150 = load i8, ptr %15, align 1, !tbaa !5, !range !15, !noundef !16
  %151 = trunc i8 %150 to i1
  br i1 %151, label %152, label %154

152:                                              ; preds = %148
  %153 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
  br label %156

154:                                              ; preds = %148
  %155 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
  br label %156

156:                                              ; preds = %154, %152
  %157 = load i8, ptr %16, align 1, !tbaa !5, !range !15, !noundef !16
  %158 = trunc i8 %157 to i1
  br i1 %158, label %159, label %161

159:                                              ; preds = %156
  %160 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
  br label %163

161:                                              ; preds = %156
  %162 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
  br label %163

163:                                              ; preds = %161, %159
  br label %164

164:                                              ; preds = %163, %102
  %165 = load i8, ptr %16, align 1, !tbaa !5, !range !15, !noundef !16
  %166 = trunc i8 %165 to i1
  %167 = xor i1 %166, true
  %168 = zext i1 %167 to i8
  store i8 %168, ptr %17, align 1, !tbaa !5
  %169 = load i8, ptr %17, align 1, !tbaa !5, !range !15, !noundef !16
  %170 = trunc i8 %169 to i1
  call void @llvm.lifetime.end.p0(i64 1, ptr %17) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr %16) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr %14) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr %13) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr %12) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr %11) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr %10) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #3
  ret i1 %170
}

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

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

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

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

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

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

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 = { 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 #3 = { 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 = !{i8 0, i8 2}
!16 = !{}


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

@.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.6 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.265 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.266 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.267 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.268 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.269 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.270 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.271 = external hidden unnamed_addr constant [43 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 i64 @_ZN11alglib_impl15matrixtilesizeaEPNS_8ae_stateE(ptr noundef) local_unnamed_addr #2

declare noundef i64 @_ZN11alglib_impl15matrixtilesizebEPNS_8ae_stateE(ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_Z10testmatinvbPN11alglib_impl8ae_stateE(i1 noundef zeroext %0, ptr noundef %1) local_unnamed_addr #3 {
  %3 = alloca i8, align 1
  %4 = alloca i8, align 1
  %5 = alloca i8, align 1
  %6 = alloca i8, align 1
  %7 = alloca i8, align 1
  %8 = alloca i8, align 1
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %3) #4
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %4) #4
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %5) #4
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %6) #4
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %7) #4
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %8) #4
  %9 = tail call noundef i64 @_ZN11alglib_impl15matrixtilesizeaEPNS_8ae_stateE(ptr noundef %1)
  %10 = mul nsw i64 %9, 3
  %11 = add nsw i64 %10, 1
  %12 = tail call noundef i64 @_ZN11alglib_impl15matrixtilesizeaEPNS_8ae_stateE(ptr noundef %1)
  %13 = mul nsw i64 %12, 3
  %14 = add nsw i64 %13, 1
  %15 = tail call noundef i64 @_ZN11alglib_impl15matrixtilesizebEPNS_8ae_stateE(ptr noundef %1)
  %16 = shl nsw i64 %15, 2
  %17 = or disjoint i64 %16, 1
  store i8 0, ptr %3, align 1, !tbaa !5
  store i8 0, ptr %4, align 1, !tbaa !5
  store i8 0, ptr %5, align 1, !tbaa !5
  store i8 0, ptr %6, align 1, !tbaa !5
  store i8 0, ptr %7, align 1, !tbaa !5
  store i8 0, ptr %8, align 1, !tbaa !5
  call void @_ZL25testmatinvunit_testrtrinvllldPbPN11alglib_impl8ae_stateE(i64 noundef 1, i64 noundef %11, i64 noundef 1, double noundef 0x3D95FD7FE1796496, ptr noundef nonnull %3, ptr noundef %1)
  call void @_ZL25testmatinvunit_testctrinvllldPbPN11alglib_impl8ae_stateE(i64 noundef 1, i64 noundef %14, i64 noundef 1, double noundef 0x3D95FD7FE1796496, ptr noundef nonnull %4, ptr noundef %1)
  call void @_ZL23testmatinvunit_testrinvllldPbPN11alglib_impl8ae_stateE(i64 noundef 1, i64 noundef %11, i64 noundef 1, double noundef 0x3D95FD7FE1796496, ptr noundef nonnull %5, ptr noundef %1)
  call void @_ZL25testmatinvunit_testspdinvllldPbPN11alglib_impl8ae_stateE(i64 noundef 1, i64 noundef %11, i64 noundef 1, double noundef 0x3D95FD7FE1796496, ptr noundef nonnull %7, ptr noundef %1)
  call void @_ZL23testmatinvunit_testcinvllldPbPN11alglib_impl8ae_stateE(i64 noundef 1, i64 noundef %14, i64 noundef 1, double noundef 0x3D95FD7FE1796496, ptr noundef nonnull %6, ptr noundef %1)
  call void @_ZL25testmatinvunit_testhpdinvllldPbPN11alglib_impl8ae_stateE(i64 noundef 1, i64 noundef %14, i64 noundef 1, double noundef 0x3D95FD7FE1796496, ptr noundef nonnull %8, ptr noundef %1)
  call void @_ZL25testmatinvunit_testrtrinvllldPbPN11alglib_impl8ae_stateE(i64 noundef %17, i64 noundef %17, i64 noundef 1, double noundef 0x3D95FD7FE1796496, ptr noundef nonnull %3, ptr noundef %1)
  call void @_ZL25testmatinvunit_testctrinvllldPbPN11alglib_impl8ae_stateE(i64 noundef %17, i64 noundef %17, i64 noundef 1, double noundef 0x3D95FD7FE1796496, ptr noundef nonnull %4, ptr noundef %1)
  call void @_ZL23testmatinvunit_testrinvllldPbPN11alglib_impl8ae_stateE(i64 noundef %17, i64 noundef %17, i64 noundef 1, double noundef 0x3D95FD7FE1796496, ptr noundef nonnull %5, ptr noundef %1)
  call void @_ZL25testmatinvunit_testspdinvllldPbPN11alglib_impl8ae_stateE(i64 noundef %17, i64 noundef %17, i64 noundef 1, double noundef 0x3D95FD7FE1796496, ptr noundef nonnull %7, ptr noundef %1)
  call void @_ZL23testmatinvunit_testcinvllldPbPN11alglib_impl8ae_stateE(i64 noundef %17, i64 noundef %17, i64 noundef 1, double noundef 0x3D95FD7FE1796496, ptr noundef nonnull %6, ptr noundef %1)
  call void @_ZL25testmatinvunit_testhpdinvllldPbPN11alglib_impl8ae_stateE(i64 noundef %17, i64 noundef %17, i64 noundef 1, double noundef 0x3D95FD7FE1796496, ptr noundef nonnull %8, ptr noundef %1)
  %18 = load i8, ptr %3, align 1, !tbaa !5, !range !9, !noundef !10
  %19 = trunc nuw i8 %18 to i1
  br i1 %19, label %35, label %20

20:                                               ; preds = %2
  %21 = load i8, ptr %4, align 1, !tbaa !5, !range !9, !noundef !10
  %22 = trunc nuw i8 %21 to i1
  br i1 %22, label %35, label %23

23:                                               ; preds = %20
  %24 = load i8, ptr %5, align 1, !tbaa !5, !range !9, !noundef !10
  %25 = trunc nuw i8 %24 to i1
  br i1 %25, label %35, label %26

26:                                               ; preds = %23
  %27 = load i8, ptr %6, align 1, !tbaa !5, !range !9, !noundef !10
  %28 = trunc nuw i8 %27 to i1
  br i1 %28, label %35, label %29

29:                                               ; preds = %26
  %30 = load i8, ptr %7, align 1, !tbaa !5, !range !9, !noundef !10
  %31 = trunc nuw i8 %30 to i1
  br i1 %31, label %35, label %32

32:                                               ; preds = %29
  %33 = load i8, ptr %8, align 1, !tbaa !5, !range !9, !noundef !10
  %34 = trunc nuw i8 %33 to i1
  br label %35

35:                                               ; preds = %32, %29, %26, %23, %20, %2
  %36 = phi i1 [ true, %29 ], [ true, %26 ], [ true, %23 ], [ true, %20 ], [ true, %2 ], [ %34, %32 ]
  br i1 %0, label %63, label %.sink.split

.sink.split:                                      ; preds = %35
  %37 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.265)
  %38 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.266)
  %39 = load i8, ptr %3, align 1, !tbaa !5, !range !9, !noundef !10
  %40 = trunc nuw i8 %39 to i1
  %.str.7..str.6 = select i1 %40, ptr @.str.7, ptr @.str.6
  %41 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %.str.7..str.6)
  %42 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.267)
  %43 = load i8, ptr %4, align 1, !tbaa !5, !range !9, !noundef !10
  %44 = trunc nuw i8 %43 to i1
  %.str.6.sink60 = select i1 %44, ptr @.str.7, ptr @.str.6
  %45 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %.str.6.sink60)
  %46 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.268)
  %47 = load i8, ptr %5, align 1, !tbaa !5, !range !9, !noundef !10
  %48 = trunc nuw i8 %47 to i1
  %.str.6.sink61 = select i1 %48, ptr @.str.7, ptr @.str.6
  %49 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %.str.6.sink61)
  %50 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.269)
  %51 = load i8, ptr %6, align 1, !tbaa !5, !range !9, !noundef !10
  %52 = trunc nuw i8 %51 to i1
  %.str.6.sink62 = select i1 %52, ptr @.str.7, ptr @.str.6
  %53 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %.str.6.sink62)
  %54 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.270)
  %55 = load i8, ptr %7, align 1, !tbaa !5, !range !9, !noundef !10
  %56 = trunc nuw i8 %55 to i1
  %.str.6.sink63 = select i1 %56, ptr @.str.7, ptr @.str.6
  %57 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %.str.6.sink63)
  %58 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.271)
  %59 = load i8, ptr %8, align 1, !tbaa !5, !range !9, !noundef !10
  %60 = trunc nuw i8 %59 to i1
  %.str.6.sink64 = select i1 %60, ptr @.str.7, ptr @.str.6
  %61 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %.str.6.sink64)
  %.str.1.sink = select i1 %36, ptr @.str.1, ptr @.str.2
  %62 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %.str.1.sink)
  br label %63

63:                                               ; preds = %.sink.split, %35
  %64 = xor i1 %36, true
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %8) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %7) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %6) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %5) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %4) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %3) #4
  ret i1 %64
}

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

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

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

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

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

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

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 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 = !{i8 0, i8 2}
!10 = !{}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass