; LLVM IR from HRI-EU/Rcs :: src/RcsCore (Rcs_mathTests)

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

%"class.Rcs::CmdLineParser" = type { i8 }

@RCS_GLOBAL_RLOG_CB = external global ptr, align 8
@.str.3 = external hidden unnamed_addr constant [74 x i8], align 1
@RcsLogLevel = external global i32, align 4
@stderr = external global ptr, align 8
@.str.6 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [1 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.57 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.71 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.72 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.73 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.74 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.75 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.76 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.77 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.78 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.79 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.80 = external hidden unnamed_addr constant [57 x i8], align 1
@__func__.testLinearAlgebraFunctions = external hidden unnamed_addr constant [27 x i8], align 1
@.str.81 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.82 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.83 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.84 = external hidden unnamed_addr constant [70 x i8], align 1
@.str.85 = external hidden unnamed_addr constant [69 x i8], align 1
@.str.86 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.87 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.88 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.89 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.90 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.91 = external hidden unnamed_addr constant [62 x i8], align 1
@.str.92 = external hidden unnamed_addr constant [62 x i8], align 1
@.str.93 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.94 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.95 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.96 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.97 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.98 = external hidden unnamed_addr constant [49 x i8], align 1
@.str.99 = external hidden unnamed_addr constant [50 x i8], align 1
@.str.100 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.101 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.102 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.103 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.104 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.105 = external hidden unnamed_addr constant [44 x i8], align 1
@.str.106 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.107 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.108 = external hidden unnamed_addr constant [36 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

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

; Function Attrs: nounwind
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #1

declare void @_ZN3Rcs13CmdLineParserC1EiPPc(ptr noundef nonnull align 1 dereferenceable(1), i32 noundef, ptr noundef) unnamed_addr #2

declare ptr @MatNd_create(i32 noundef, i32 noundef) #2

declare void @MatNd_setRandom(ptr noundef, double noundef, double noundef) #2

declare void @MatNd_printCommentDigits(ptr noundef, ptr noundef, i32 noundef) #2

declare void @MatNd_destroy(ptr noundef) #2

declare i32 @fflush(ptr noundef) #2

declare void @print_trace() #2

; Function Attrs: noreturn nounwind
declare void @abort() #3

declare noundef zeroext i1 @_ZNK3Rcs13CmdLineParser11getArgumentEPKcPiS2_z(ptr noundef nonnull align 1 dereferenceable(1), ptr noundef, ptr noundef, ptr noundef, ...) #2

declare noundef zeroext i1 @_ZNK3Rcs13CmdLineParser11hasArgumentEPKcS2_z(ptr noundef nonnull align 1 dereferenceable(1), ptr noundef, ptr noundef, ...) #2

declare double @Timer_getTime() #2

declare void @MatNd_sqrMulABAt(ptr noundef, ptr noundef, ptr noundef) #2

declare double @MatNd_msqError(ptr noundef, ptr noundef) #2

; Function Attrs: mustprogress uwtable
define dso_local zeroext i1 @testLinearAlgebraFunctions(i32 noundef %0, ptr noundef %1) #4 {
  %3 = alloca i32, align 4
  %4 = alloca ptr, align 8
  %5 = alloca i8, align 1
  %6 = alloca i32, align 4
  %7 = alloca %"class.Rcs::CmdLineParser", align 1
  %8 = alloca i8, align 1
  %9 = alloca i8, align 1
  %10 = alloca i8, align 1
  %11 = alloca i8, align 1
  %12 = alloca i8, align 1
  %13 = alloca i32, align 4
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca ptr, align 8
  %17 = alloca ptr, align 8
  %18 = alloca ptr, align 8
  %19 = alloca i8, align 1
  %20 = alloca double, align 8
  %21 = alloca double, align 8
  %22 = alloca double, align 8
  %23 = alloca double, align 8
  %24 = alloca i32, align 4
  %25 = alloca i32, align 4
  %26 = alloca ptr, align 8
  %27 = alloca ptr, align 8
  %28 = alloca ptr, align 8
  %29 = alloca ptr, align 8
  %30 = alloca double, align 8
  %31 = alloca double, align 8
  %32 = alloca ptr, align 8
  %33 = alloca ptr, align 8
  %34 = alloca double, align 8
  %35 = alloca double, align 8
  %36 = alloca i32, align 4
  %37 = alloca ptr, align 8
  %38 = alloca ptr, align 8
  %39 = alloca ptr, align 8
  %40 = alloca ptr, align 8
  %41 = alloca i32, align 4
  %42 = alloca double, align 8
  %43 = alloca ptr, align 8
  %44 = alloca ptr, align 8
  %45 = alloca double, align 8
  %46 = alloca double, align 8
  %47 = alloca i32, align 4
  %48 = alloca ptr, align 8
  %49 = alloca ptr, align 8
  %50 = alloca ptr, align 8
  %51 = alloca ptr, align 8
  %52 = alloca double, align 8
  %53 = alloca double, align 8
  %54 = alloca double, align 8
  store i32 %0, ptr %3, align 4, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %5) #5
  store i8 1, ptr %5, align 1, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #5
  store i32 5, ptr %6, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %7) #5
  %55 = load i32, ptr %3, align 4, !tbaa !5
  %56 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN3Rcs13CmdLineParserC1EiPPc(ptr noundef nonnull align 1 dereferenceable(1) %7, i32 noundef %55, ptr noundef %56)
  %57 = call noundef zeroext i1 (ptr, ptr, ptr, ptr, ...) @_ZNK3Rcs13CmdLineParser11getArgumentEPKcPiS2_z(ptr noundef nonnull align 1 dereferenceable(1) %7, ptr noundef @.str.71, ptr noundef %6, ptr noundef @.str.72)
  call void @llvm.lifetime.start.p0(i64 1, ptr %8) #5
  %58 = call noundef zeroext i1 (ptr, ptr, ptr, ...) @_ZNK3Rcs13CmdLineParser11hasArgumentEPKcS2_z(ptr noundef nonnull align 1 dereferenceable(1) %7, ptr noundef @.str.73, ptr noundef @.str.74)
  %59 = zext i1 %58 to i8
  store i8 %59, ptr %8, align 1, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 1, ptr %9) #5
  %60 = call noundef zeroext i1 (ptr, ptr, ptr, ...) @_ZNK3Rcs13CmdLineParser11hasArgumentEPKcS2_z(ptr noundef nonnull align 1 dereferenceable(1) %7, ptr noundef @.str.75, ptr noundef @.str.76)
  %61 = zext i1 %60 to i8
  store i8 %61, ptr %9, align 1, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 1, ptr %10) #5
  %62 = call noundef zeroext i1 (ptr, ptr, ptr, ...) @_ZNK3Rcs13CmdLineParser11hasArgumentEPKcS2_z(ptr noundef nonnull align 1 dereferenceable(1) %7, ptr noundef @.str.77, ptr noundef @.str.78)
  %63 = zext i1 %62 to i8
  store i8 %63, ptr %10, align 1, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 1, ptr %11) #5
  %64 = call noundef zeroext i1 (ptr, ptr, ptr, ...) @_ZNK3Rcs13CmdLineParser11hasArgumentEPKcS2_z(ptr noundef nonnull align 1 dereferenceable(1) %7, ptr noundef @.str.79, ptr noundef @.str.80)
  %65 = zext i1 %64 to i8
  store i8 %65, ptr %11, align 1, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 1, ptr %12) #5
  %66 = load i8, ptr %8, align 1, !tbaa !11, !range !13, !noundef !14
  %67 = trunc i8 %66 to i1
  br i1 %67, label %78, label %68

68:                                               ; preds = %2
  %69 = load i8, ptr %9, align 1, !tbaa !11, !range !13, !noundef !14
  %70 = trunc i8 %69 to i1
  br i1 %70, label %78, label %71

71:                                               ; preds = %68
  %72 = load i8, ptr %10, align 1, !tbaa !11, !range !13, !noundef !14
  %73 = trunc i8 %72 to i1
  br i1 %73, label %78, label %74

74:                                               ; preds = %71
  %75 = load i8, ptr %11, align 1, !tbaa !11, !range !13, !noundef !14
  %76 = trunc i8 %75 to i1
  %77 = xor i1 %76, true
  br label %78

78:                                               ; preds = %74, %71, %68, %2
  %79 = phi i1 [ false, %71 ], [ false, %68 ], [ false, %2 ], [ %77, %74 ]
  %80 = zext i1 %79 to i8
  store i8 %80, ptr %12, align 1, !tbaa !11
  %81 = load i8, ptr %12, align 1, !tbaa !11, !range !13, !noundef !14
  %82 = trunc i8 %81 to i1
  br i1 %82, label %86, label %83

83:                                               ; preds = %78
  %84 = load i8, ptr %8, align 1, !tbaa !11, !range !13, !noundef !14
  %85 = trunc i8 %84 to i1
  br i1 %85, label %86, label %269

86:                                               ; preds = %83, %78
  br label %87

87:                                               ; preds = %86
  %88 = load ptr, ptr @RCS_GLOBAL_RLOG_CB, align 8, !tbaa !9
  %89 = icmp ne ptr %88, null
  br i1 %89, label %90, label %92

90:                                               ; preds = %87
  %91 = load ptr, ptr @RCS_GLOBAL_RLOG_CB, align 8, !tbaa !9
  call void (i32, ptr, ptr, i32, ptr, ...) %91(i32 noundef 2, ptr noundef @.str.18, ptr noundef @__func__.testLinearAlgebraFunctions, i32 noundef 594, ptr noundef @.str.24)
  br label %92

92:                                               ; preds = %90, %87
  %93 = load i32, ptr @RcsLogLevel, align 4, !tbaa !5
  %94 = icmp sle i32 2, %93
  br i1 %94, label %95, label %102

95:                                               ; preds = %92
  %96 = load ptr, ptr @stderr, align 8, !tbaa !9
  %97 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %96, ptr noundef @.str.22, ptr noundef @__func__.testLinearAlgebraFunctions, i32 noundef 594) #5
  %98 = load ptr, ptr @stderr, align 8, !tbaa !9
  %99 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %98, ptr noundef @.str.24) #5
  %100 = load ptr, ptr @stderr, align 8, !tbaa !9
  %101 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %100, ptr noundef @.str.6) #5
  br label %102

102:                                              ; preds = %95, %92
  br label %103

103:                                              ; preds = %102
  br label %104

104:                                              ; preds = %103
  br label %105

105:                                              ; preds = %104
  %106 = load ptr, ptr @RCS_GLOBAL_RLOG_CB, align 8, !tbaa !9
  %107 = icmp ne ptr %106, null
  br i1 %107, label %108, label %110

108:                                              ; preds = %105
  %109 = load ptr, ptr @RCS_GLOBAL_RLOG_CB, align 8, !tbaa !9
  call void (i32, ptr, ptr, i32, ptr, ...) %109(i32 noundef 2, ptr noundef @.str.18, ptr noundef @__func__.testLinearAlgebraFunctions, i32 noundef 595, ptr noundef @.str.81)
  br label %110

110:                                              ; preds = %108, %105
  %111 = load i32, ptr @RcsLogLevel, align 4, !tbaa !5
  %112 = icmp sle i32 2, %111
  br i1 %112, label %113, label %120

113:                                              ; preds = %110
  %114 = load ptr, ptr @stderr, align 8, !tbaa !9
  %115 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %114, ptr noundef @.str.22, ptr noundef @__func__.testLinearAlgebraFunctions, i32 noundef 595) #5
  %116 = load ptr, ptr @stderr, align 8, !tbaa !9
  %117 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %116, ptr noundef @.str.81) #5
  %118 = load ptr, ptr @stderr, align 8, !tbaa !9
  %119 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %118, ptr noundef @.str.6) #5
  br label %120

120:                                              ; preds = %113, %110
  br label %121

121:                                              ; preds = %120
  br label %122

122:                                              ; preds = %121
  br label %123

123:                                              ; preds = %122
  %124 = load ptr, ptr @RCS_GLOBAL_RLOG_CB, align 8, !tbaa !9
  %125 = icmp ne ptr %124, null
  br i1 %125, label %126, label %128

126:                                              ; preds = %123
  %127 = load ptr, ptr @RCS_GLOBAL_RLOG_CB, align 8, !tbaa !9
  call void (i32, ptr, ptr, i32, ptr, ...) %127(i32 noundef 2, ptr noundef @.str.18, ptr noundef @__func__.testLinearAlgebraFunctions, i32 noundef 596, ptr noundef @.str.24)
  br label %128

128:                                              ; preds = %126, %123
  %129 = load i32, ptr @RcsLogLevel, align 4, !tbaa !5
  %130 = icmp sle i32 2, %129
  br i1 %130, label %131, label %138

131:                                              ; preds = %128
  %132 = load ptr, ptr @stderr, align 8, !tbaa !9
  %133 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %132, ptr noundef @.str.22, ptr noundef @__func__.testLinearAlgebraFunctions, i32 noundef 596) #5
  %134 = load ptr, ptr @stderr, align 8, !tbaa !9
  %135 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %134, ptr noundef @.str.24) #5
  %136 = load ptr, ptr @stderr, align 8, !tbaa !9
  %137 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %136, ptr noundef @.str.6) #5
  br label %138

138:                                              ; preds = %131, %128
  br label %139

139:                                              ; preds = %138
  br label %140

140:                                              ; preds = %139
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #5
  %141 = load i32, ptr %6, align 4, !tbaa !5
  store i32 %141, ptr %13, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #5
  %142 = load i32, ptr %13, align 4, !tbaa !5
  %143 = mul nsw i32 3, %142
  %144 = load i32, ptr %13, align 4, !tbaa !5
  %145 = call ptr @MatNd_create(i32 noundef %143, i32 noundef %144)
  store ptr %145, ptr %14, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #5
  %146 = load i32, ptr %13, align 4, !tbaa !5
  %147 = load i32, ptr %13, align 4, !tbaa !5
  %148 = call ptr @MatNd_create(i32 noundef %146, i32 noundef %147)
  store ptr %148, ptr %15, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #5
  %149 = load i32, ptr %13, align 4, !tbaa !5
  %150 = load i32, ptr %13, align 4, !tbaa !5
  %151 = call ptr @MatNd_create(i32 noundef %149, i32 noundef %150)
  store ptr %151, ptr %16, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #5
  %152 = load i32, ptr %13, align 4, !tbaa !5
  %153 = load i32, ptr %13, align 4, !tbaa !5
  %154 = call ptr @MatNd_create(i32 noundef %152, i32 noundef %153)
  store ptr %154, ptr %17, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #5
  %155 = load i32, ptr %13, align 4, !tbaa !5
  %156 = load i32, ptr %13, align 4, !tbaa !5
  %157 = call ptr @MatNd_create(i32 noundef %155, i32 noundef %156)
  store ptr %157, ptr %18, align 8, !tbaa !9
  %158 = load ptr, ptr %14, align 8, !tbaa !9
  call void @MatNd_setRandom(ptr noundef %158, double noundef -1.000000e+00, double noundef 1.000000e+00)
  %159 = load ptr, ptr %15, align 8, !tbaa !9
  %160 = load ptr, ptr %14, align 8, !tbaa !9
  call void @MatNd_sqrMulAtBA(ptr noundef %159, ptr noundef %160, ptr noundef null)
  call void @llvm.lifetime.start.p0(i64 1, ptr %19) #5
  %161 = load ptr, ptr %15, align 8, !tbaa !9
  %162 = call zeroext i1 @MatNd_isSymmetric(ptr noundef %161, double noundef 0x3D719799812DEA11)
  %163 = zext i1 %162 to i8
  store i8 %163, ptr %19, align 1, !tbaa !11
  %164 = load i8, ptr %19, align 1, !tbaa !11, !range !13, !noundef !14
  %165 = trunc i8 %164 to i1
  %166 = zext i1 %165 to i32
  %167 = icmp eq i32 %166, 0
  br i1 %167, label %168, label %192

168:                                              ; preds = %140
  %169 = load i32, ptr @RcsLogLevel, align 4, !tbaa !5
  %170 = icmp sle i32 2, %169
  br i1 %170, label %171, label %191

171:                                              ; preds = %168
  %172 = load ptr, ptr %15, align 8, !tbaa !9
  call void @MatNd_printCommentDigits(ptr noundef @.str.40, ptr noundef %172, i32 noundef 6)
  br label %173

173:                                              ; preds = %171
  %174 = load ptr, ptr @RCS_GLOBAL_RLOG_CB, align 8, !tbaa !9
  %175 = icmp ne ptr %174, null
  br i1 %175, label %176, label %178

176:                                              ; preds = %173
  %177 = load ptr, ptr @RCS_GLOBAL_RLOG_CB, align 8, !tbaa !9
  call void (i32, ptr, ptr, i32, ptr, ...) %177(i32 noundef 2, ptr noundef @.str.18, ptr noundef @__func__.testLinearAlgebraFunctions, i32 noundef 613, ptr noundef @.str.82)
  br label %178

178:                                              ; preds = %176, %173
  %179 = load i32, ptr @RcsLogLevel, align 4, !tbaa !5
  %180 = icmp sle i32 2, %179
  br i1 %180, label %181, label %188

181:                                              ; preds = %178
  %182 = load ptr, ptr @stderr, align 8, !tbaa !9
  %183 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %182, ptr noundef @.str.22, ptr noundef @__func__.testLinearAlgebraFunctions, i32 noundef 613) #5
  %184 = load ptr, ptr @stderr, align 8, !tbaa !9
  %185 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %184, ptr noundef @.str.82) #5
  %186 = load ptr, ptr @stderr, align 8, !tbaa !9
  %187 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %186, ptr noundef @.str.6) #5
  br label %188

188:                                              ; preds = %181, %178
  br label %189

189:                                              ; preds = %188
  br label %190

190:                                              ; preds = %189
  store i8 0, ptr %5, align 1, !tbaa !11
  br label %191

191:                                              ; preds = %190, %168
  br label %192

192:                                              ; preds = %191, %140
  call void @Timer_setZero()
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #5
  %193 = load ptr, ptr %16, align 8, !tbaa !9
  %194 = load ptr, ptr %15, align 8, !tbaa !9
  %195 = call double @MatNd_choleskyDecomposition(ptr noundef %193, ptr noundef %194)
  store double %195, ptr %20, align 8, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #5
  %196 = call double @Timer_getTime()
  store double %196, ptr %21, align 8, !tbaa !15
  br label %197

197:                                              ; preds = %192
  %198 = load double, ptr %20, align 8, !tbaa !15
  %199 = fcmp une double %198, 0.000000e+00
  br i1 %199, label %203, label %200

200:                                              ; preds = %197
  %201 = load ptr, ptr @stderr, align 8, !tbaa !9
  %202 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %201, ptr noundef @.str.57, ptr noundef @.str.3, ptr noundef @__func__.testLinearAlgebraFunctions, i32 noundef 621, ptr noundef @.str.83) #5
  call void @print_trace()
  call void @abort() #6
  unreachable

203:                                              ; preds = %197
  br label %204

204:                                              ; preds = %203
  br label %205

205:                                              ; preds = %204
  %206 = load ptr, ptr %17, align 8, !tbaa !9
  %207 = load ptr, ptr %16, align 8, !tbaa !9
  call void @MatNd_transpose(ptr noundef %206, ptr noundef %207)
  %208 = load ptr, ptr %18, align 8, !tbaa !9
  %209 = load ptr, ptr %16, align 8, !tbaa !9
  %210 = load ptr, ptr %17, align 8, !tbaa !9
  call void @MatNd_mul(ptr noundef %208, ptr noundef %209, ptr noundef %210)
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #5
  %211 = load ptr, ptr %15, align 8, !tbaa !9
  %212 = load ptr, ptr %18, align 8, !tbaa !9
  %213 = call double @MatNd_msqError(ptr noundef %211, ptr noundef %212)
  store double %213, ptr %22, align 8, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #5
  store double 0x3D719799812DEA11, ptr %23, align 8, !tbaa !15
  %214 = load double, ptr %22, align 8, !tbaa !15
  %215 = fcmp olt double %214, 0x3D719799812DEA11
  br i1 %215, label %216, label %241

216:                                              ; preds = %205
  br label %217

217:                                              ; preds = %216
  %218 = load ptr, ptr @RCS_GLOBAL_RLOG_CB, align 8, !tbaa !9
  %219 = icmp ne ptr %218, null
  br i1 %219, label %220, label %225

220:                                              ; preds = %217
  %221 = load ptr, ptr @RCS_GLOBAL_RLOG_CB, align 8, !tbaa !9
  %222 = load double, ptr %21, align 8, !tbaa !15
  %223 = fmul double 1.000000e+03, %222
  %224 = load double, ptr %22, align 8, !tbaa !15
  call void (i32, ptr, ptr, i32, ptr, ...) %221(i32 noundef 2, ptr noundef @.str.18, ptr noundef @__func__.testLinearAlgebraFunctions, i32 noundef 633, ptr noundef @.str.84, double noundef %223, double noundef %224, double noundef 0x3D719799812DEA11)
  br label %225

225:                                              ; preds = %220, %217
  %226 = load i32, ptr @RcsLogLevel, align 4, !tbaa !5
  %227 = icmp sle i32 2, %226
  br i1 %227, label %228, label %238

228:                                              ; preds = %225
  %229 = load ptr, ptr @stderr, align 8, !tbaa !9
  %230 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %229, ptr noundef @.str.22, ptr noundef @__func__.testLinearAlgebraFunctions, i32 noundef 633) #5
  %231 = load ptr, ptr @stderr, align 8, !tbaa !9
  %232 = load double, ptr %21, align 8, !tbaa !15
  %233 = fmul double 1.000000e+03, %232
  %234 = load double, ptr %22, align 8, !tbaa !15
  %235 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %231, ptr noundef @.str.84, double noundef %233, double noundef %234, double noundef 0x3D719799812DEA11) #5
  %236 = load ptr, ptr @stderr, align 8, !tbaa !9
  %237 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %236, ptr noundef @.str.6) #5
  br label %238

238:                                              ; preds = %228, %225
  br label %239

239:                                              ; preds = %238
  br label %240

240:                                              ; preds = %239
  br label %263

241:                                              ; preds = %205
  store i8 0, ptr %5, align 1, !tbaa !11
  br label %242

242:                                              ; preds = %241
  %243 = load ptr, ptr @stderr, align 8, !tbaa !9
  %244 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %243, ptr noundef @.str.22, ptr noundef @__func__.testLinearAlgebraFunctions, i32 noundef 639) #5
  %245 = load ptr, ptr @stderr, align 8, !tbaa !9
  %246 = load double, ptr %21, align 8, !tbaa !15
  %247 = fmul double 1.000000e+03, %246
  %248 = load double, ptr %22, align 8, !tbaa !15
  %249 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %245, ptr noundef @.str.85, double noundef %247, double noundef %248, double noundef 0x3D719799812DEA11) #5
  %250 = load ptr, ptr @stderr, align 8, !tbaa !9
  %251 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %250, ptr noundef @.str.6) #5
  %252 = load ptr, ptr @stderr, align 8, !tbaa !9
  %253 = call i32 @fflush(ptr noundef %252)
  br label %254

254:                                              ; preds = %242
  br label %255

255:                                              ; preds = %254
  %256 = load i32, ptr @RcsLogLevel, align 4, !tbaa !5
  %257 = icmp sle i32 3, %256
  br i1 %257, label %258, label %262

258:                                              ; preds = %255
  %259 = load ptr, ptr %15, align 8, !tbaa !9
  call void @MatNd_printCommentDigits(ptr noundef @.str.40, ptr noundef %259, i32 noundef 5)
  %260 = load ptr, ptr %16, align 8, !tbaa !9
  call void @MatNd_printCommentDigits(ptr noundef @.str.86, ptr noundef %260, i32 noundef 5)
  %261 = load ptr, ptr %18, align 8, !tbaa !9
  call void @MatNd_printCommentDigits(ptr noundef @.str.87, ptr noundef %261, i32 noundef 5)
  br label %262

262:                                              ; preds = %258, %255
  br label %263

263:                                              ; preds = %262, %240
  %264 = load ptr, ptr %14, align 8, !tbaa !9
  call void @MatNd_destroy(ptr noundef %264)
  %265 = load ptr, ptr %15, align 8, !tbaa !9
  call void @MatNd_destroy(ptr noundef %265)
  %266 = load ptr, ptr %16, align 8, !tbaa !9
  call void @MatNd_destroy(ptr noundef %266)
  %267 = load ptr, ptr %17, align 8, !tbaa !9
  call void @MatNd_destroy(ptr noundef %267)
  %268 = load ptr, ptr %18, align 8, !tbaa !9
  call void @MatNd_destroy(ptr noundef %268)
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #5
  call void @llvm.lifetime.end.p0(i64 8, 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 1, 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 8, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #5
  br label %269

269:                                              ; preds = %263, %83
  %270 = load i8, ptr %12, align 1, !tbaa !11, !range !13, !noundef !14
  %271 = trunc i8 %270 to i1
  br i1 %271, label %275, label %272

272:                                              ; preds = %269
  %273 = load i8, ptr %8, align 1, !tbaa !11, !range !13, !noundef !14
  %274 = trunc i8 %273 to i1
  br i1 %274, label %275, label %433

275:                                              ; preds = %272, %269
  br label %276

276:                                              ; preds = %275
  %277 = load ptr, ptr @RCS_GLOBAL_RLOG_CB, align 8, !tbaa !9
  %278 = icmp ne ptr %277, null
  br i1 %278, label %279, label %281

279:                                              ; preds = %276
  %280 = load ptr, ptr @RCS_GLOBAL_RLOG_CB, align 8, !tbaa !9
  call void (i32, ptr, ptr, i32, ptr, ...) %280(i32 noundef 2, ptr noundef @.str.18, ptr noundef @__func__.testLinearAlgebraFunctions, i32 noundef 662, ptr noundef @.str.24)
  br label %281

281:                                              ; preds = %279, %276
  %282 = load i32, ptr @RcsLogLevel, align 4, !tbaa !5
  %283 = icmp sle i32 2, %282
  br i1 %283, label %284, label %291

284:                                              ; preds = %281
  %285 = load ptr, ptr @stderr, align 8, !tbaa !9
  %286 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %285, ptr noundef @.str.22, ptr noundef @__func__.testLinearAlgebraFunctions, i32 noundef 662) #5
  %287 = load ptr, ptr @stderr, align 8, !tbaa !9
  %288 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %287, ptr noundef @.str.24) #5
  %289 = load ptr, ptr @stderr, align 8, !tbaa !9
  %290 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %289, ptr noundef @.str.6) #5
  br label %291

291:                                              ; preds = %284, %281
  br label %292

292:                                              ; preds = %291
  br label %293

293:                                              ; preds = %292
  br label %294

294:                                              ; preds = %293
  %295 = load ptr, ptr @RCS_GLOBAL_RLOG_CB, align 8, !tbaa !9
  %296 = icmp ne ptr %295, null
  br i1 %296, label %297, label %299

297:                                              ; preds = %294
  %298 = load ptr, ptr @RCS_GLOBAL_RLOG_CB, align 8, !tbaa !9
  call void (i32, ptr, ptr, i32, ptr, ...) %298(i32 noundef 2, ptr noundef @.str.18, ptr noundef @__func__.testLinearAlgebraFunctions, i32 noundef 663, ptr noundef @.str.88)
  br label %299

299:                                              ; preds = %297, %294
  %300 = load i32, ptr @RcsLogLevel, align 4, !tbaa !5
  %301 = icmp sle i32 2, %300
  br i1 %301, label %302, label %309

302:                                              ; preds = %299
  %303 = load ptr, ptr @stderr, align 8, !tbaa !9
  %304 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %303, ptr noundef @.str.22, ptr noundef @__func__.testLinearAlgebraFunctions, i32 noundef 663) #5
  %305 = load ptr, ptr @stderr, align 8, !tbaa !9
  %306 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %305, ptr noundef @.str.88) #5
  %307 = load ptr, ptr @stderr, align 8, !tbaa !9
  %308 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %307, ptr noundef @.str.6) #5
  br label %309

309:                                              ; preds = %302, %299
  br label %310

310:                                              ; preds = %309
  br label %311

311:                                              ; preds = %310
  br label %312

312:                                              ; preds = %311
  %313 = load ptr, ptr @RCS_GLOBAL_RLOG_CB, align 8, !tbaa !9
  %314 = icmp ne ptr %313, null
  br i1 %314, label %315, label %317

315:                                              ; preds = %312
  %316 = load ptr, ptr @RCS_GLOBAL_RLOG_CB, align 8, !tbaa !9
  call void (i32, ptr, ptr, i32, ptr, ...) %316(i32 noundef 2, ptr noundef @.str.18, ptr noundef @__func__.testLinearAlgebraFunctions, i32 noundef 664, ptr noundef @.str.24)
  br label %317

317:                                              ; preds = %315, %312
  %318 = load i32, ptr @RcsLogLevel, align 4, !tbaa !5
  %319 = icmp sle i32 2, %318
  br i1 %319, label %320, label %327

320:                                              ; preds = %317
  %321 = load ptr, ptr @stderr, align 8, !tbaa !9
  %322 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %321, ptr noundef @.str.22, ptr noundef @__func__.testLinearAlgebraFunctions, i32 noundef 664) #5
  %323 = load ptr, ptr @stderr, align 8, !tbaa !9
  %324 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %323, ptr noundef @.str.24) #5
  %325 = load ptr, ptr @stderr, align 8, !tbaa !9
  %326 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %325, ptr noundef @.str.6) #5
  br label %327

327:                                              ; preds = %320, %317
  br label %328

328:                                              ; preds = %327
  br label %329

329:                                              ; preds = %328
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #5
  %330 = load i32, ptr %6, align 4, !tbaa !5
  store i32 %330, ptr %24, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #5
  store i32 2, ptr %25, align 4, !tbaa !5
  %331 = call noundef zeroext i1 (ptr, ptr, ptr, ptr, ...) @_ZNK3Rcs13CmdLineParser11getArgumentEPKcPiS2_z(ptr noundef nonnull align 1 dereferenceable(1) %7, ptr noundef @.str.89, ptr noundef %25, ptr noundef @.str.90)
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #5
  %332 = load i32, ptr %24, align 4, !tbaa !5
  %333 = load i32, ptr %24, align 4, !tbaa !5
  %334 = mul nsw i32 2, %333
  %335 = call ptr @MatNd_create(i32 noundef %332, i32 noundef %334)
  store ptr %335, ptr %26, align 8, !tbaa !9
  %336 = load ptr, ptr %26, align 8, !tbaa !9
  call void @MatNd_setRandom(ptr noundef %336, double noundef -1.000000e+00, double noundef 1.000000e+00)
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #5
  %337 = load i32, ptr %24, align 4, !tbaa !5
  %338 = load i32, ptr %24, align 4, !tbaa !5
  %339 = call ptr @MatNd_create(i32 noundef %337, i32 noundef %338)
  store ptr %339, ptr %27, align 8, !tbaa !9
  %340 = load ptr, ptr %27, align 8, !tbaa !9
  %341 = load ptr, ptr %26, align 8, !tbaa !9
  call void @MatNd_sqrMulABAt(ptr noundef %340, ptr noundef %341, ptr noundef null)
  %342 = load ptr, ptr %26, align 8, !tbaa !9
  call void @MatNd_destroy(ptr noundef %342)
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #5
  %343 = load i32, ptr %24, align 4, !tbaa !5
  %344 = load i32, ptr %25, align 4, !tbaa !5
  %345 = call ptr @MatNd_create(i32 noundef %343, i32 noundef %344)
  store ptr %345, ptr %28, align 8, !tbaa !9
  %346 = load ptr, ptr %28, align 8, !tbaa !9
  call void @MatNd_setRandom(ptr noundef %346, double noundef -1.000000e+00, double noundef 1.000000e+00)
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #5
  %347 = load i32, ptr %24, align 4, !tbaa !5
  %348 = load i32, ptr %25, align 4, !tbaa !5
  %349 = call ptr @MatNd_create(i32 noundef %347, i32 noundef %348)
  store ptr %349, ptr %29, align 8, !tbaa !9
  call void @Timer_setZero()
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #5
  %350 = load ptr, ptr %29, align 8, !tbaa !9
  %351 = load ptr, ptr %27, align 8, !tbaa !9
  %352 = load ptr, ptr %28, align 8, !tbaa !9
  %353 = call double @MatNd_choleskySolve(ptr noundef %350, ptr noundef %351, ptr noundef %352)
  store double %353, ptr %30, align 8, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #5
  %354 = call double @Timer_getTime()
  store double %354, ptr %31, align 8, !tbaa !15
  br label %355

355:                                              ; preds = %329
  %356 = load double, ptr %30, align 8, !tbaa !15
  %357 = fcmp une double %356, 0.000000e+00
  br i1 %357, label %361, label %358

358:                                              ; preds = %355
  %359 = load ptr, ptr @stderr, align 8, !tbaa !9
  %360 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %359, ptr noundef @.str.57, ptr noundef @.str.3, ptr noundef @__func__.testLinearAlgebraFunctions, i32 noundef 684, ptr noundef @.str.83) #5
  call void @print_trace()
  call void @abort() #6
  unreachable

361:                                              ; preds = %355
  br label %362

362:                                              ; preds = %361
  br label %363

363:                                              ; preds = %362
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #5
  %364 = load i32, ptr %24, align 4, !tbaa !5
  %365 = load i32, ptr %25, align 4, !tbaa !5
  %366 = call ptr @MatNd_create(i32 noundef %364, i32 noundef %365)
  store ptr %366, ptr %32, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #5
  %367 = load i32, ptr %24, align 4, !tbaa !5
  %368 = load i32, ptr %25, align 4, !tbaa !5
  %369 = call ptr @MatNd_create(i32 noundef %367, i32 noundef %368)
  store ptr %369, ptr %33, align 8, !tbaa !9
  %370 = load ptr, ptr %32, align 8, !tbaa !9
  %371 = load ptr, ptr %27, align 8, !tbaa !9
  %372 = load ptr, ptr %29, align 8, !tbaa !9
  call void @MatNd_mul(ptr noundef %370, ptr noundef %371, ptr noundef %372)
  %373 = load ptr, ptr %33, align 8, !tbaa !9
  %374 = load ptr, ptr %32, align 8, !tbaa !9
  %375 = load ptr, ptr %28, align 8, !tbaa !9
  call void @MatNd_sub(ptr noundef %373, ptr noundef %374, ptr noundef %375)
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #5
  %376 = load ptr, ptr %33, align 8, !tbaa !9
  %377 = call double @MatNd_getNorm(ptr noundef %376)
  store double %377, ptr %34, align 8, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #5
  store double 0x3D719799812DEA11, ptr %35, align 8, !tbaa !15
  %378 = load double, ptr %34, align 8, !tbaa !15
  %379 = fcmp olt double %378, 0x3D719799812DEA11
  br i1 %379, label %380, label %405

380:                                              ; preds = %363
  br label %381

381:                                              ; preds = %380
  %382 = load ptr, ptr @RCS_GLOBAL_RLOG_CB, align 8, !tbaa !9
  %383 = icmp ne ptr %382, null
  br i1 %383, label %384, label %389

384:                                              ; preds = %381
  %385 = load ptr, ptr @RCS_GLOBAL_RLOG_CB, align 8, !tbaa !9
  %386 = load double, ptr %31, align 8, !tbaa !15
  %387 = fmul double 1.000000e+03, %386
  %388 = load double, ptr %34, align 8, !tbaa !15
  call void (i32, ptr, ptr, i32, ptr, ...) %385(i32 noundef 2, ptr noundef @.str.18, ptr noundef @__func__.testLinearAlgebraFunctions, i32 noundef 698, ptr noundef @.str.91, double noundef %387, double noundef %388, double noundef 0x3D719799812DEA11)
  br label %389

389:                                              ; preds = %384, %381
  %390 = load i32, ptr @RcsLogLevel, align 4, !tbaa !5
  %391 = icmp sle i32 2, %390
  br i1 %391, label %392, label %402

392:                                              ; preds = %389
  %393 = load ptr, ptr @stderr, align 8, !tbaa !9
  %394 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %393, ptr noundef @.str.22, ptr noundef @__func__.testLinearAlgebraFunctions, i32 noundef 698) #5
  %395 = load ptr, ptr @stderr, align 8, !tbaa !9
  %396 = load double, ptr %31, align 8, !tbaa !15
  %397 = fmul double 1.000000e+03, %396
  %398 = load double, ptr %34, align 8, !tbaa !15
  %399 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %395, ptr noundef @.str.91, double noundef %397, double noundef %398, double noundef 0x3D719799812DEA11) #5
  %400 = load ptr, ptr @stderr, align 8, !tbaa !9
  %401 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %400, ptr noundef @.str.6) #5
  br label %402

402:                                              ; preds = %392, %389
  br label %403

403:                                              ; preds = %402
  br label %404

404:                                              ; preds = %403
  br label %427

405:                                              ; preds = %363
  store i8 0, ptr %5, align 1, !tbaa !11
  br label %406

406:                                              ; preds = %405
  %407 = load ptr, ptr @stderr, align 8, !tbaa !9
  %408 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %407, ptr noundef @.str.22, ptr noundef @__func__.testLinearAlgebraFunctions, i32 noundef 704) #5
  %409 = load ptr, ptr @stderr, align 8, !tbaa !9
  %410 = load double, ptr %31, align 8, !tbaa !15
  %411 = fmul double 1.000000e+03, %410
  %412 = load double, ptr %34, align 8, !tbaa !15
  %413 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %409, ptr noundef @.str.92, double noundef %411, double noundef %412, double noundef 0x3D719799812DEA11) #5
  %414 = load ptr, ptr @stderr, align 8, !tbaa !9
  %415 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %414, ptr noundef @.str.6) #5
  %416 = load ptr, ptr @stderr, align 8, !tbaa !9
  %417 = call i32 @fflush(ptr noundef %416)
  br label %418

418:                                              ; preds = %406
  br label %419

419:                                              ; preds = %418
  %420 = load i32, ptr @RcsLogLevel, align 4, !tbaa !5
  %421 = icmp sle i32 3, %420
  br i1 %421, label %422, label %426

422:                                              ; preds = %419
  %423 = load ptr, ptr %33, align 8, !tbaa !9
  call void @MatNd_printCommentDigits(ptr noundef @.str.93, ptr noundef %423, i32 noundef 8)
  %424 = load ptr, ptr %32, align 8, !tbaa !9
  call void @MatNd_printCommentDigits(ptr noundef @.str.94, ptr noundef %424, i32 noundef 8)
  %425 = load ptr, ptr %28, align 8, !tbaa !9
  call void @MatNd_printCommentDigits(ptr noundef @.str.95, ptr noundef %425, i32 noundef 8)
  br label %426

426:                                              ; preds = %422, %419
  br label %427

427:                                              ; preds = %426, %404
  %428 = load ptr, ptr %27, align 8, !tbaa !9
  call void @MatNd_destroy(ptr noundef %428)
  %429 = load ptr, ptr %29, align 8, !tbaa !9
  call void @MatNd_destroy(ptr noundef %429)
  %430 = load ptr, ptr %28, align 8, !tbaa !9
  call void @MatNd_destroy(ptr noundef %430)
  %431 = load ptr, ptr %32, align 8, !tbaa !9
  call void @MatNd_destroy(ptr noundef %431)
  %432 = load ptr, ptr %33, align 8, !tbaa !9
  call void @MatNd_destroy(ptr noundef %432)
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #5
  br label %433

433:                                              ; preds = %427, %272
  %434 = load i8, ptr %12, align 1, !tbaa !11, !range !13, !noundef !14
  %435 = trunc i8 %434 to i1
  br i1 %435, label %439, label %436

436:                                              ; preds = %433
  %437 = load i8, ptr %9, align 1, !tbaa !11, !range !13, !noundef !14
  %438 = trunc i8 %437 to i1
  br i1 %438, label %439, label %614

439:                                              ; preds = %436, %433
  br label %440

440:                                              ; preds = %439
  %441 = load ptr, ptr @RCS_GLOBAL_RLOG_CB, align 8, !tbaa !9
  %442 = icmp ne ptr %441, null
  br i1 %442, label %443, label %445

443:                                              ; preds = %440
  %444 = load ptr, ptr @RCS_GLOBAL_RLOG_CB, align 8, !tbaa !9
  call void (i32, ptr, ptr, i32, ptr, ...) %444(i32 noundef 2, ptr noundef @.str.18, ptr noundef @__func__.testLinearAlgebraFunctions, i32 noundef 727, ptr noundef @.str.24)
  br label %445

445:                                              ; preds = %443, %440
  %446 = load i32, ptr @RcsLogLevel, align 4, !tbaa !5
  %447 = icmp sle i32 2, %446
  br i1 %447, label %448, label %455

448:                                              ; preds = %445
  %449 = load ptr, ptr @stderr, align 8, !tbaa !9
  %450 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %449, ptr noundef @.str.22, ptr noundef @__func__.testLinearAlgebraFunctions, i32 noundef 727) #5
  %451 = load ptr, ptr @stderr, align 8, !tbaa !9
  %452 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %451, ptr noundef @.str.24) #5
  %453 = load ptr, ptr @stderr, align 8, !tbaa !9
  %454 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %453, ptr noundef @.str.6) #5
  br label %455

455:                                              ; preds = %448, %445
  br label %456

456:                                              ; preds = %455
  br label %457

457:                                              ; preds = %456
  br label %458

458:                                              ; preds = %457
  %459 = load ptr, ptr @RCS_GLOBAL_RLOG_CB, align 8, !tbaa !9
  %460 = icmp ne ptr %459, null
  br i1 %460, label %461, label %463

461:                                              ; preds = %458
  %462 = load ptr, ptr @RCS_GLOBAL_RLOG_CB, align 8, !tbaa !9
  call void (i32, ptr, ptr, i32, ptr, ...) %462(i32 noundef 2, ptr noundef @.str.18, ptr noundef @__func__.testLinearAlgebraFunctions, i32 noundef 728, ptr noundef @.str.96)
  br label %463

463:                                              ; preds = %461, %458
  %464 = load i32, ptr @RcsLogLevel, align 4, !tbaa !5
  %465 = icmp sle i32 2, %464
  br i1 %465, label %466, label %473

466:                                              ; preds = %463
  %467 = load ptr, ptr @stderr, align 8, !tbaa !9
  %468 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %467, ptr noundef @.str.22, ptr noundef @__func__.testLinearAlgebraFunctions, i32 noundef 728) #5
  %469 = load ptr, ptr @stderr, align 8, !tbaa !9
  %470 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %469, ptr noundef @.str.96) #5
  %471 = load ptr, ptr @stderr, align 8, !tbaa !9
  %472 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %471, ptr noundef @.str.6) #5
  br label %473

473:                                              ; preds = %466, %463
  br label %474

474:                                              ; preds = %473
  br label %475

475:                                              ; preds = %474
  br label %476

476:                                              ; preds = %475
  %477 = load ptr, ptr @RCS_GLOBAL_RLOG_CB, align 8, !tbaa !9
  %478 = icmp ne ptr %477, null
  br i1 %478, label %479, label %481

479:                                              ; preds = %476
  %480 = load ptr, ptr @RCS_GLOBAL_RLOG_CB, align 8, !tbaa !9
  call void (i32, ptr, ptr, i32, ptr, ...) %480(i32 noundef 2, ptr noundef @.str.18, ptr noundef @__func__.testLinearAlgebraFunctions, i32 noundef 729, ptr noundef @.str.24)
  br label %481

481:                                              ; preds = %479, %476
  %482 = load i32, ptr @RcsLogLevel, align 4, !tbaa !5
  %483 = icmp sle i32 2, %482
  br i1 %483, label %484, label %491

484:                                              ; preds = %481
  %485 = load ptr, ptr @stderr, align 8, !tbaa !9
  %486 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %485, ptr noundef @.str.22, ptr noundef @__func__.testLinearAlgebraFunctions, i32 noundef 729) #5
  %487 = load ptr, ptr @stderr, align 8, !tbaa !9
  %488 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %487, ptr noundef @.str.24) #5
  %489 = load ptr, ptr @stderr, align 8, !tbaa !9
  %490 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %489, ptr noundef @.str.6) #5
  br label %491

491:                                              ; preds = %484, %481
  br label %492

492:                                              ; preds = %491
  br label %493

493:                                              ; preds = %492
  call void @llvm.lifetime.start.p0(i64 4, ptr %36) #5
  %494 = load i32, ptr %6, align 4, !tbaa !5
  store i32 %494, ptr %36, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #5
  %495 = load i32, ptr %36, align 4, !tbaa !5
  %496 = load i32, ptr %36, align 4, !tbaa !5
  %497 = mul nsw i32 2, %496
  %498 = call ptr @MatNd_create(i32 noundef %495, i32 noundef %497)
  store ptr %498, ptr %37, align 8, !tbaa !9
  %499 = load ptr, ptr %37, align 8, !tbaa !9
  call void @MatNd_setRandom(ptr noundef %499, double noundef -1.000000e+00, double noundef 1.000000e+00)
  call void @llvm.lifetime.start.p0(i64 8, ptr %38) #5
  %500 = load i32, ptr %36, align 4, !tbaa !5
  %501 = load i32, ptr %36, align 4, !tbaa !5
  %502 = call ptr @MatNd_create(i32 noundef %500, i32 noundef %501)
  store ptr %502, ptr %38, align 8, !tbaa !9
  %503 = load ptr, ptr %38, align 8, !tbaa !9
  %504 = load ptr, ptr %37, align 8, !tbaa !9
  call void @MatNd_sqrMulABAt(ptr noundef %503, ptr noundef %504, ptr noundef null)
  %505 = load ptr, ptr %37, align 8, !tbaa !9
  call void @MatNd_destroy(ptr noundef %505)
  call void @llvm.lifetime.start.p0(i64 8, ptr %39) #5
  %506 = load i32, ptr %36, align 4, !tbaa !5
  %507 = call ptr @MatNd_create(i32 noundef %506, i32 noundef 1)
  store ptr %507, ptr %39, align 8, !tbaa !9
  %508 = load ptr, ptr %39, align 8, !tbaa !9
  call void @MatNd_setRandom(ptr noundef %508, double noundef -1.000000e+00, double noundef 1.000000e+00)
  call void @llvm.lifetime.start.p0(i64 8, ptr %40) #5
  %509 = load i32, ptr %36, align 4, !tbaa !5
  %510 = call ptr @MatNd_create(i32 noundef %509, i32 noundef 1)
  store ptr %510, ptr %40, align 8, !tbaa !9
  call void @Timer_setZero()
  call void @llvm.lifetime.start.p0(i64 4, ptr %41) #5
  %511 = load ptr, ptr %40, align 8, !tbaa !9
  %512 = load ptr, ptr %38, align 8, !tbaa !9
  %513 = load ptr, ptr %39, align 8, !tbaa !9
  %514 = call i32 @MatNd_gaussSeidelSolve(ptr noundef %511, ptr noundef %512, ptr noundef %513)
  store i32 %514, ptr %41, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %42) #5
  %515 = call double @Timer_getTime()
  store double %515, ptr %42, align 8, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 8, ptr %43) #5
  %516 = load i32, ptr %36, align 4, !tbaa !5
  %517 = call ptr @MatNd_create(i32 noundef %516, i32 noundef 1)
  store ptr %517, ptr %43, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %44) #5
  %518 = load i32, ptr %36, align 4, !tbaa !5
  %519 = call ptr @MatNd_create(i32 noundef %518, i32 noundef 1)
  store ptr %519, ptr %44, align 8, !tbaa !9
  %520 = load ptr, ptr %43, align 8, !tbaa !9
  %521 = load ptr, ptr %38, align 8, !tbaa !9
  %522 = load ptr, ptr %40, align 8, !tbaa !9
  call void @MatNd_mul(ptr noundef %520, ptr noundef %521, ptr noundef %522)
  %523 = load ptr, ptr %44, align 8, !tbaa !9
  %524 = load ptr, ptr %43, align 8, !tbaa !9
  %525 = load ptr, ptr %39, align 8, !tbaa !9
  call void @MatNd_sub(ptr noundef %523, ptr noundef %524, ptr noundef %525)
  br label %526

526:                                              ; preds = %493
  %527 = load ptr, ptr @RCS_GLOBAL_RLOG_CB, align 8, !tbaa !9
  %528 = icmp ne ptr %527, null
  br i1 %528, label %529, label %534

529:                                              ; preds = %526
  %530 = load ptr, ptr @RCS_GLOBAL_RLOG_CB, align 8, !tbaa !9
  %531 = load i32, ptr %41, align 4, !tbaa !5
  %532 = load double, ptr %42, align 8, !tbaa !15
  %533 = fmul double 1.000000e+06, %532
  call void (i32, ptr, ptr, i32, ptr, ...) %530(i32 noundef 2, ptr noundef @.str.18, ptr noundef @__func__.testLinearAlgebraFunctions, i32 noundef 753, ptr noundef @.str.97, i32 noundef %531, double noundef %533)
  br label %534

534:                                              ; preds = %529, %526
  %535 = load i32, ptr @RcsLogLevel, align 4, !tbaa !5
  %536 = icmp sle i32 2, %535
  br i1 %536, label %537, label %547

537:                                              ; preds = %534
  %538 = load ptr, ptr @stderr, align 8, !tbaa !9
  %539 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %538, ptr noundef @.str.22, ptr noundef @__func__.testLinearAlgebraFunctions, i32 noundef 753) #5
  %540 = load ptr, ptr @stderr, align 8, !tbaa !9
  %541 = load i32, ptr %41, align 4, !tbaa !5
  %542 = load double, ptr %42, align 8, !tbaa !15
  %543 = fmul double 1.000000e+06, %542
  %544 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %540, ptr noundef @.str.97, i32 noundef %541, double noundef %543) #5
  %545 = load ptr, ptr @stderr, align 8, !tbaa !9
  %546 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %545, ptr noundef @.str.6) #5
  br label %547

547:                                              ; preds = %537, %534
  br label %548

548:                                              ; preds = %547
  br label %549

549:                                              ; preds = %548
  call void @llvm.lifetime.start.p0(i64 8, ptr %45) #5
  %550 = load ptr, ptr %44, align 8, !tbaa !9
  %551 = call double @MatNd_getNorm(ptr noundef %550)
  store double %551, ptr %45, align 8, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 8, ptr %46) #5
  store double 0x3EB0C6F7A0B5ED8D, ptr %46, align 8, !tbaa !15
  %552 = load double, ptr %45, align 8, !tbaa !15
  %553 = fcmp olt double %552, 0x3EB0C6F7A0B5ED8D
  br i1 %553, label %554, label %575

554:                                              ; preds = %549
  br label %555

555:                                              ; preds = %554
  %556 = load ptr, ptr @RCS_GLOBAL_RLOG_CB, align 8, !tbaa !9
  %557 = icmp ne ptr %556, null
  br i1 %557, label %558, label %561

558:                                              ; preds = %555
  %559 = load ptr, ptr @RCS_GLOBAL_RLOG_CB, align 8, !tbaa !9
  %560 = load double, ptr %45, align 8, !tbaa !15
  call void (i32, ptr, ptr, i32, ptr, ...) %559(i32 noundef 2, ptr noundef @.str.18, ptr noundef @__func__.testLinearAlgebraFunctions, i32 noundef 761, ptr noundef @.str.98, double noundef %560, double noundef 0x3EB0C6F7A0B5ED8D)
  br label %561

561:                                              ; preds = %558, %555
  %562 = load i32, ptr @RcsLogLevel, align 4, !tbaa !5
  %563 = icmp sle i32 2, %562
  br i1 %563, label %564, label %572

564:                                              ; preds = %561
  %565 = load ptr, ptr @stderr, align 8, !tbaa !9
  %566 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %565, ptr noundef @.str.22, ptr noundef @__func__.testLinearAlgebraFunctions, i32 noundef 761) #5
  %567 = load ptr, ptr @stderr, align 8, !tbaa !9
  %568 = load double, ptr %45, align 8, !tbaa !15
  %569 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %567, ptr noundef @.str.98, double noundef %568, double noundef 0x3EB0C6F7A0B5ED8D) #5
  %570 = load ptr, ptr @stderr, align 8, !tbaa !9
  %571 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %570, ptr noundef @.str.6) #5
  br label %572

572:                                              ; preds = %564, %561
  br label %573

573:                                              ; preds = %572
  br label %574

574:                                              ; preds = %573
  br label %608

575:                                              ; preds = %549
  store i8 0, ptr %5, align 1, !tbaa !11
  br label %576

576:                                              ; preds = %575
  %577 = load ptr, ptr @stderr, align 8, !tbaa !9
  %578 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %577, ptr noundef @.str.22, ptr noundef @__func__.testLinearAlgebraFunctions, i32 noundef 767) #5
  %579 = load ptr, ptr @stderr, align 8, !tbaa !9
  %580 = load double, ptr %45, align 8, !tbaa !15
  %581 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %579, ptr noundef @.str.99, double noundef %580, double noundef 0x3EB0C6F7A0B5ED8D) #5
  %582 = load ptr, ptr @stderr, align 8, !tbaa !9
  %583 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %582, ptr noundef @.str.6) #5
  %584 = load ptr, ptr @stderr, align 8, !tbaa !9
  %585 = call i32 @fflush(ptr noundef %584)
  br label %586

586:                                              ; preds = %576
  br label %587

587:                                              ; preds = %586
  %588 = load i32, ptr @RcsLogLevel, align 4, !tbaa !5
  %589 = icmp sle i32 3, %588
  br i1 %589, label %590, label %607

590:                                              ; preds = %587
  %591 = load ptr, ptr %44, align 8, !tbaa !9
  call void @MatNd_printCommentDigits(ptr noundef @.str.93, ptr noundef %591, i32 noundef 8)
  %592 = load ptr, ptr %43, align 8, !tbaa !9
  call void @MatNd_printCommentDigits(ptr noundef @.str.94, ptr noundef %592, i32 noundef 8)
  %593 = load ptr, ptr %39, align 8, !tbaa !9
  call void @MatNd_printCommentDigits(ptr noundef @.str.95, ptr noundef %593, i32 noundef 8)
  br label %594

594:                                              ; preds = %590
  %595 = load ptr, ptr @stderr, align 8, !tbaa !9
  %596 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %595, ptr noundef @.str.22, ptr noundef @__func__.testLinearAlgebraFunctions, i32 noundef 774) #5
  %597 = load ptr, ptr @stderr, align 8, !tbaa !9
  %598 = load ptr, ptr %44, align 8, !tbaa !9
  %599 = call double @MatNd_getNorm(ptr noundef %598)
  %600 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %597, ptr noundef @.str.100, double noundef %599) #5
  %601 = load ptr, ptr @stderr, align 8, !tbaa !9
  %602 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %601, ptr noundef @.str.6) #5
  %603 = load ptr, ptr @stderr, align 8, !tbaa !9
  %604 = call i32 @fflush(ptr noundef %603)
  br label %605

605:                                              ; preds = %594
  br label %606

606:                                              ; preds = %605
  br label %607

607:                                              ; preds = %606, %587
  br label %608

608:                                              ; preds = %607, %574
  %609 = load ptr, ptr %38, align 8, !tbaa !9
  call void @MatNd_destroy(ptr noundef %609)
  %610 = load ptr, ptr %40, align 8, !tbaa !9
  call void @MatNd_destroy(ptr noundef %610)
  %611 = load ptr, ptr %39, align 8, !tbaa !9
  call void @MatNd_destroy(ptr noundef %611)
  %612 = load ptr, ptr %43, align 8, !tbaa !9
  call void @MatNd_destroy(ptr noundef %612)
  %613 = load ptr, ptr %44, align 8, !tbaa !9
  call void @MatNd_destroy(ptr noundef %613)
  call void @llvm.lifetime.end.p0(i64 8, ptr %46) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %45) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %42) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %41) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #5
  br label %614

614:                                              ; preds = %608, %436
  %615 = load i8, ptr %12, align 1, !tbaa !11, !range !13, !noundef !14
  %616 = trunc i8 %615 to i1
  br i1 %616, label %620, label %617

617:                                              ; preds = %614
  %618 = load i8, ptr %8, align 1, !tbaa !11, !range !13, !noundef !14
  %619 = trunc i8 %618 to i1
  br i1 %619, label %620, label %786

620:                                              ; preds = %617, %614
  br label %621

621:                                              ; preds = %620
  %622 = load ptr, ptr @RCS_GLOBAL_RLOG_CB, align 8, !tbaa !9
  %623 = icmp ne ptr %622, null
  br i1 %623, label %624, label %626

624:                                              ; preds = %621
  %625 = load ptr, ptr @RCS_GLOBAL_RLOG_CB, align 8, !tbaa !9
  call void (i32, ptr, ptr, i32, ptr, ...) %625(i32 noundef 2, ptr noundef @.str.18, ptr noundef @__func__.testLinearAlgebraFunctions, i32 noundef 790, ptr noundef @.str.24)
  br label %626

626:                                              ; preds = %624, %621
  %627 = load i32, ptr @RcsLogLevel, align 4, !tbaa !5
  %628 = icmp sle i32 2, %627
  br i1 %628, label %629, label %636

629:                                              ; preds = %626
  %630 = load ptr, ptr @stderr, align 8, !tbaa !9
  %631 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %630, ptr noundef @.str.22, ptr noundef @__func__.testLinearAlgebraFunctions, i32 noundef 790) #5
  %632 = load ptr, ptr @stderr, align 8, !tbaa !9
  %633 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %632, ptr noundef @.str.24) #5
  %634 = load ptr, ptr @stderr, align 8, !tbaa !9
  %635 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %634, ptr noundef @.str.6) #5
  br label %636

636:                                              ; preds = %629, %626
  br label %637

637:                                              ; preds = %636
  br label %638

638:                                              ; preds = %637
  br label %639

639:                                              ; preds = %638
  %640 = load ptr, ptr @RCS_GLOBAL_RLOG_CB, align 8, !tbaa !9
  %641 = icmp ne ptr %640, null
  br i1 %641, label %642, label %644

642:                                              ; preds = %639
  %643 = load ptr, ptr @RCS_GLOBAL_RLOG_CB, align 8, !tbaa !9
  call void (i32, ptr, ptr, i32, ptr, ...) %643(i32 noundef 2, ptr noundef @.str.18, ptr noundef @__func__.testLinearAlgebraFunctions, i32 noundef 791, ptr noundef @.str.101)
  br label %644

644:                                              ; preds = %642, %639
  %645 = load i32, ptr @RcsLogLevel, align 4, !tbaa !5
  %646 = icmp sle i32 2, %645
  br i1 %646, label %647, label %654

647:                                              ; preds = %644
  %648 = load ptr, ptr @stderr, align 8, !tbaa !9
  %649 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %648, ptr noundef @.str.22, ptr noundef @__func__.testLinearAlgebraFunctions, i32 noundef 791) #5
  %650 = load ptr, ptr @stderr, align 8, !tbaa !9
  %651 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %650, ptr noundef @.str.101) #5
  %652 = load ptr, ptr @stderr, align 8, !tbaa !9
  %653 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %652, ptr noundef @.str.6) #5
  br label %654

654:                                              ; preds = %647, %644
  br label %655

655:                                              ; preds = %654
  br label %656

656:                                              ; preds = %655
  br label %657

657:                                              ; preds = %656
  %658 = load ptr, ptr @RCS_GLOBAL_RLOG_CB, align 8, !tbaa !9
  %659 = icmp ne ptr %658, null
  br i1 %659, label %660, label %662

660:                                              ; preds = %657
  %661 = load ptr, ptr @RCS_GLOBAL_RLOG_CB, align 8, !tbaa !9
  call void (i32, ptr, ptr, i32, ptr, ...) %661(i32 noundef 2, ptr noundef @.str.18, ptr noundef @__func__.testLinearAlgebraFunctions, i32 noundef 792, ptr noundef @.str.24)
  br label %662

662:                                              ; preds = %660, %657
  %663 = load i32, ptr @RcsLogLevel, align 4, !tbaa !5
  %664 = icmp sle i32 2, %663
  br i1 %664, label %665, label %672

665:                                              ; preds = %662
  %666 = load ptr, ptr @stderr, align 8, !tbaa !9
  %667 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %666, ptr noundef @.str.22, ptr noundef @__func__.testLinearAlgebraFunctions, i32 noundef 792) #5
  %668 = load ptr, ptr @stderr, align 8, !tbaa !9
  %669 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %668, ptr noundef @.str.24) #5
  %670 = load ptr, ptr @stderr, align 8, !tbaa !9
  %671 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %670, ptr noundef @.str.6) #5
  br label %672

672:                                              ; preds = %665, %662
  br label %673

673:                                              ; preds = %672
  br label %674

674:                                              ; preds = %673
  call void @llvm.lifetime.start.p0(i64 4, ptr %47) #5
  %675 = load i32, ptr %6, align 4, !tbaa !5
  store i32 %675, ptr %47, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %48) #5
  %676 = load i32, ptr %47, align 4, !tbaa !5
  %677 = load i32, ptr %47, align 4, !tbaa !5
  %678 = mul nsw i32 2, %677
  %679 = call ptr @MatNd_create(i32 noundef %676, i32 noundef %678)
  store ptr %679, ptr %48, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %49) #5
  %680 = load i32, ptr %47, align 4, !tbaa !5
  %681 = load i32, ptr %47, align 4, !tbaa !5
  %682 = call ptr @MatNd_create(i32 noundef %680, i32 noundef %681)
  store ptr %682, ptr %49, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %50) #5
  %683 = load i32, ptr %47, align 4, !tbaa !5
  %684 = load i32, ptr %47, align 4, !tbaa !5
  %685 = call ptr @MatNd_create(i32 noundef %683, i32 noundef %684)
  store ptr %685, ptr %50, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %51) #5
  %686 = load i32, ptr %47, align 4, !tbaa !5
  %687 = load i32, ptr %47, align 4, !tbaa !5
  %688 = call ptr @MatNd_create(i32 noundef %686, i32 noundef %687)
  store ptr %688, ptr %51, align 8, !tbaa !9
  %689 = load ptr, ptr %48, align 8, !tbaa !9
  call void @MatNd_setRandom(ptr noundef %689, double noundef -1.000000e+00, double noundef 1.000000e+00)
  %690 = load ptr, ptr %49, align 8, !tbaa !9
  %691 = load ptr, ptr %48, align 8, !tbaa !9
  call void @MatNd_sqrMulABAt(ptr noundef %690, ptr noundef %691, ptr noundef null)
  call void @llvm.lifetime.start.p0(i64 8, ptr %52) #5
  %692 = call double @Timer_getTime()
  store double %692, ptr %52, align 8, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 8, ptr %53) #5
  %693 = load ptr, ptr %50, align 8, !tbaa !9
  %694 = load ptr, ptr %49, align 8, !tbaa !9
  %695 = call double @MatNd_choleskyInverse(ptr noundef %693, ptr noundef %694)
  store double %695, ptr %53, align 8, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 8, ptr %54) #5
  %696 = call double @Timer_getTime()
  store double %696, ptr %54, align 8, !tbaa !15
  %697 = load ptr, ptr %51, align 8, !tbaa !9
  %698 = load ptr, ptr %50, align 8, !tbaa !9
  %699 = load ptr, ptr %49, align 8, !tbaa !9
  call void @MatNd_mul(ptr noundef %697, ptr noundef %698, ptr noundef %699)
  %700 = load i32, ptr @RcsLogLevel, align 4, !tbaa !5
  %701 = icmp sgt i32 %700, 2
  br i1 %701, label %708, label %702

702:                                              ; preds = %674
  %703 = load i32, ptr @RcsLogLevel, align 4, !tbaa !5
  %704 = icmp sgt i32 %703, 1
  br i1 %704, label %705, label %712

705:                                              ; preds = %702
  %706 = load i32, ptr %6, align 4, !tbaa !5
  %707 = icmp slt i32 %706, 10
  br i1 %707, label %708, label %712

708:                                              ; preds = %705, %674
  %709 = load ptr, ptr %49, align 8, !tbaa !9
  call void @MatNd_printCommentDigits(ptr noundef @.str.40, ptr noundef %709, i32 noundef 5)
  %710 = load ptr, ptr %50, align 8, !tbaa !9
  call void @MatNd_printCommentDigits(ptr noundef @.str.102, ptr noundef %710, i32 noundef 5)
  %711 = load ptr, ptr %51, align 8, !tbaa !9
  call void @MatNd_printCommentDigits(ptr noundef @.str.103, ptr noundef %711, i32 noundef 5)
  br label %712

712:                                              ; preds = %708, %705, %702
  %713 = load ptr, ptr %51, align 8, !tbaa !9
  %714 = call zeroext i1 @MatNd_isIdentity(ptr noundef %713, double noundef 1.000000e-08)
  br i1 %714, label %715, label %734

715:                                              ; preds = %712
  br label %716

716:                                              ; preds = %715
  %717 = load ptr, ptr @RCS_GLOBAL_RLOG_CB, align 8, !tbaa !9
  %718 = icmp ne ptr %717, null
  br i1 %718, label %719, label %721

719:                                              ; preds = %716
  %720 = load ptr, ptr @RCS_GLOBAL_RLOG_CB, align 8, !tbaa !9
  call void (i32, ptr, ptr, i32, ptr, ...) %720(i32 noundef 2, ptr noundef @.str.18, ptr noundef @__func__.testLinearAlgebraFunctions, i32 noundef 816, ptr noundef @.str.104)
  br label %721

721:                                              ; preds = %719, %716
  %722 = load i32, ptr @RcsLogLevel, align 4, !tbaa !5
  %723 = icmp sle i32 2, %722
  br i1 %723, label %724, label %731

724:                                              ; preds = %721
  %725 = load ptr, ptr @stderr, align 8, !tbaa !9
  %726 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %725, ptr noundef @.str.22, ptr noundef @__func__.testLinearAlgebraFunctions, i32 noundef 816) #5
  %727 = load ptr, ptr @stderr, align 8, !tbaa !9
  %728 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %727, ptr noundef @.str.104) #5
  %729 = load ptr, ptr @stderr, align 8, !tbaa !9
  %730 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %729, ptr noundef @.str.6) #5
  br label %731

731:                                              ; preds = %724, %721
  br label %732

732:                                              ; preds = %731
  br label %733

733:                                              ; preds = %732
  br label %753

734:                                              ; preds = %712
  store i8 0, ptr %5, align 1, !tbaa !11
  %735 = load i32, ptr @RcsLogLevel, align 4, !tbaa !5
  %736 = icmp sle i32 3, %735
  br i1 %736, label %737, label %752

737:                                              ; preds = %734
  br label %738

738:                                              ; preds = %737
  %739 = load ptr, ptr @stderr, align 8, !tbaa !9
  %740 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %739, ptr noundef @.str.22, ptr noundef @__func__.testLinearAlgebraFunctions, i32 noundef 823) #5
  %741 = load ptr, ptr @stderr, align 8, !tbaa !9
  %742 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %741, ptr noundef @.str.105) #5
  %743 = load ptr, ptr @stderr, align 8, !tbaa !9
  %744 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %743, ptr noundef @.str.6) #5
  %745 = load ptr, ptr @stderr, align 8, !tbaa !9
  %746 = call i32 @fflush(ptr noundef %745)
  br label %747

747:                                              ; preds = %738
  br label %748

748:                                              ; preds = %747
  %749 = load ptr, ptr %49, align 8, !tbaa !9
  call void @MatNd_printCommentDigits(ptr noundef @.str.40, ptr noundef %749, i32 noundef 5)
  %750 = load ptr, ptr %50, align 8, !tbaa !9
  call void @MatNd_printCommentDigits(ptr noundef @.str.102, ptr noundef %750, i32 noundef 5)
  %751 = load ptr, ptr %51, align 8, !tbaa !9
  call void @MatNd_printCommentDigits(ptr noundef @.str.106, ptr noundef %751, i32 noundef 5)
  br label %752

752:                                              ; preds = %748, %734
  br label %753

753:                                              ; preds = %752, %733
  br label %754

754:                                              ; preds = %753
  %755 = load ptr, ptr @RCS_GLOBAL_RLOG_CB, align 8, !tbaa !9
  %756 = icmp ne ptr %755, null
  br i1 %756, label %757, label %764

757:                                              ; preds = %754
  %758 = load ptr, ptr @RCS_GLOBAL_RLOG_CB, align 8, !tbaa !9
  %759 = load double, ptr %53, align 8, !tbaa !15
  %760 = load double, ptr %54, align 8, !tbaa !15
  %761 = load double, ptr %52, align 8, !tbaa !15
  %762 = fsub double %760, %761
  %763 = fmul double 1.000000e+06, %762
  call void (i32, ptr, ptr, i32, ptr, ...) %758(i32 noundef 2, ptr noundef @.str.18, ptr noundef @__func__.testLinearAlgebraFunctions, i32 noundef 830, ptr noundef @.str.107, double noundef %759, double noundef %763)
  br label %764

764:                                              ; preds = %757, %754
  %765 = load i32, ptr @RcsLogLevel, align 4, !tbaa !5
  %766 = icmp sle i32 2, %765
  br i1 %766, label %767, label %779

767:                                              ; preds = %764
  %768 = load ptr, ptr @stderr, align 8, !tbaa !9
  %769 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %768, ptr noundef @.str.22, ptr noundef @__func__.testLinearAlgebraFunctions, i32 noundef 830) #5
  %770 = load ptr, ptr @stderr, align 8, !tbaa !9
  %771 = load double, ptr %53, align 8, !tbaa !15
  %772 = load double, ptr %54, align 8, !tbaa !15
  %773 = load double, ptr %52, align 8, !tbaa !15
  %774 = fsub double %772, %773
  %775 = fmul double 1.000000e+06, %774
  %776 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %770, ptr noundef @.str.107, double noundef %771, double noundef %775) #5
  %777 = load ptr, ptr @stderr, align 8, !tbaa !9
  %778 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %777, ptr noundef @.str.6) #5
  br label %779

779:                                              ; preds = %767, %764
  br label %780

780:                                              ; preds = %779
  br label %781

781:                                              ; preds = %780
  %782 = load ptr, ptr %48, align 8, !tbaa !9
  call void @MatNd_destroy(ptr noundef %782)
  %783 = load ptr, ptr %49, align 8, !tbaa !9
  call void @MatNd_destroy(ptr noundef %783)
  %784 = load ptr, ptr %50, align 8, !tbaa !9
  call void @MatNd_destroy(ptr noundef %784)
  %785 = load ptr, ptr %51, align 8, !tbaa !9
  call void @MatNd_destroy(ptr noundef %785)
  call void @llvm.lifetime.end.p0(i64 8, ptr %54) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %53) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %52) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %51) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %50) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %49) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %48) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %47) #5
  br label %786

786:                                              ; preds = %781, %617
  br label %787

787:                                              ; preds = %786
  %788 = load ptr, ptr @RCS_GLOBAL_RLOG_CB, align 8, !tbaa !9
  %789 = icmp ne ptr %788, null
  br i1 %789, label %790, label %799

790:                                              ; preds = %787
  %791 = load ptr, ptr @RCS_GLOBAL_RLOG_CB, align 8, !tbaa !9
  %792 = load i8, ptr %5, align 1, !tbaa !11, !range !13, !noundef !14
  %793 = trunc i8 %792 to i1
  br i1 %793, label %794, label %795

794:                                              ; preds = %790
  br label %796

795:                                              ; preds = %790
  br label %796

796:                                              ; preds = %795, %794
  %797 = phi ptr [ @.str.20, %794 ], [ @.str.21, %795 ]
  %798 = getelementptr inbounds [8 x i8], ptr %797, i64 0, i64 0
  call void (i32, ptr, ptr, i32, ptr, ...) %791(i32 noundef 1, ptr noundef @.str.18, ptr noundef @__func__.testLinearAlgebraFunctions, i32 noundef 840, ptr noundef @.str.108, ptr noundef %798)
  br label %799

799:                                              ; preds = %796, %787
  %800 = load i32, ptr @RcsLogLevel, align 4, !tbaa !5
  %801 = icmp sle i32 1, %800
  br i1 %801, label %802, label %816

802:                                              ; preds = %799
  %803 = load ptr, ptr @stderr, align 8, !tbaa !9
  %804 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %803, ptr noundef @.str.22, ptr noundef @__func__.testLinearAlgebraFunctions, i32 noundef 840) #5
  %805 = load ptr, ptr @stderr, align 8, !tbaa !9
  %806 = load i8, ptr %5, align 1, !tbaa !11, !range !13, !noundef !14
  %807 = trunc i8 %806 to i1
  br i1 %807, label %808, label %809

808:                                              ; preds = %802
  br label %810

809:                                              ; preds = %802
  br label %810

810:                                              ; preds = %809, %808
  %811 = phi ptr [ @.str.20, %808 ], [ @.str.21, %809 ]
  %812 = getelementptr inbounds [8 x i8], ptr %811, i64 0, i64 0
  %813 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %805, ptr noundef @.str.108, ptr noundef %812) #5
  %814 = load ptr, ptr @stderr, align 8, !tbaa !9
  %815 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %814, ptr noundef @.str.6) #5
  br label %816

816:                                              ; preds = %810, %799
  br label %817

817:                                              ; preds = %816
  br label %818

818:                                              ; preds = %817
  %819 = load i8, ptr %5, align 1, !tbaa !11, !range !13, !noundef !14
  %820 = trunc i8 %819 to i1
  call void @llvm.lifetime.end.p0(i64 1, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %5) #5
  ret i1 %820
}

declare void @MatNd_sqrMulAtBA(ptr noundef, ptr noundef, ptr noundef) #2

declare zeroext i1 @MatNd_isSymmetric(ptr noundef, double noundef) #2

declare void @Timer_setZero() #2

declare double @MatNd_choleskyDecomposition(ptr noundef, ptr noundef) #2

declare void @MatNd_transpose(ptr noundef, ptr noundef) #2

declare void @MatNd_mul(ptr noundef, ptr noundef, ptr noundef) #2

declare double @MatNd_choleskySolve(ptr noundef, ptr noundef, ptr noundef) #2

declare void @MatNd_sub(ptr noundef, ptr noundef, ptr noundef) #2

declare double @MatNd_getNorm(ptr noundef) #2

declare i32 @MatNd_gaussSeidelSolve(ptr noundef, ptr noundef, ptr noundef) #2

declare double @MatNd_choleskyInverse(ptr noundef, ptr noundef) #2

declare zeroext i1 @MatNd_isIdentity(ptr noundef, double noundef) #2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 = { noreturn 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 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 }
attributes #6 = { noreturn 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 = !{!"int", !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 = !{!"bool", !7, i64 0}
!13 = !{i8 0, i8 2}
!14 = !{}
!15 = !{!16, !16, i64 0}
!16 = !{!"double", !7, i64 0}


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

%"class.Rcs::CmdLineParser" = type { i8 }

@RCS_GLOBAL_RLOG_CB = external local_unnamed_addr global ptr, align 8
@.str.3 = external hidden unnamed_addr constant [74 x i8], align 1
@RcsLogLevel = external local_unnamed_addr global i32, align 4
@stderr = external local_unnamed_addr global ptr, align 8
@.str.6 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [1 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.57 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.71 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.72 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.73 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.74 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.75 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.76 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.77 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.78 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.79 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.80 = external hidden unnamed_addr constant [57 x i8], align 1
@__func__.testLinearAlgebraFunctions = external hidden unnamed_addr constant [27 x i8], align 1
@.str.81 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.82 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.83 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.84 = external hidden unnamed_addr constant [70 x i8], align 1
@.str.85 = external hidden unnamed_addr constant [69 x i8], align 1
@.str.86 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.87 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.88 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.89 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.90 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.91 = external hidden unnamed_addr constant [62 x i8], align 1
@.str.92 = external hidden unnamed_addr constant [62 x i8], align 1
@.str.93 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.94 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.95 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.96 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.97 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.98 = external hidden unnamed_addr constant [49 x i8], align 1
@.str.99 = external hidden unnamed_addr constant [50 x i8], align 1
@.str.100 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.101 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.102 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.103 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.104 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.105 = external hidden unnamed_addr constant [44 x i8], align 1
@.str.106 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.107 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.108 = external hidden unnamed_addr constant [36 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: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

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

declare void @_ZN3Rcs13CmdLineParserC1EiPPc(ptr noundef nonnull align 1 dereferenceable(1), i32 noundef, ptr noundef) unnamed_addr #2

declare ptr @MatNd_create(i32 noundef, i32 noundef) local_unnamed_addr #2

declare void @MatNd_setRandom(ptr noundef, double noundef, double noundef) local_unnamed_addr #2

declare void @MatNd_printCommentDigits(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2

declare void @MatNd_destroy(ptr noundef) local_unnamed_addr #2

; Function Attrs: nofree nounwind
declare noundef i32 @fflush(ptr nocapture noundef) local_unnamed_addr #1

declare void @print_trace() local_unnamed_addr #2

; Function Attrs: noreturn nounwind
declare void @abort() local_unnamed_addr #3

declare noundef zeroext i1 @_ZNK3Rcs13CmdLineParser11getArgumentEPKcPiS2_z(ptr noundef nonnull align 1 dereferenceable(1), ptr noundef, ptr noundef, ptr noundef, ...) local_unnamed_addr #2

declare noundef zeroext i1 @_ZNK3Rcs13CmdLineParser11hasArgumentEPKcS2_z(ptr noundef nonnull align 1 dereferenceable(1), ptr noundef, ptr noundef, ...) local_unnamed_addr #2

declare double @Timer_getTime() local_unnamed_addr #2

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

declare double @MatNd_msqError(ptr noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
define dso_local zeroext i1 @testLinearAlgebraFunctions(i32 noundef %0, ptr noundef %1) local_unnamed_addr #4 {
  %3 = alloca i32, align 4
  %4 = alloca %"class.Rcs::CmdLineParser", align 1
  %5 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #5
  store i32 5, ptr %3, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %4) #5
  call void @_ZN3Rcs13CmdLineParserC1EiPPc(ptr noundef nonnull align 1 dereferenceable(1) %4, i32 noundef %0, ptr noundef %1)
  %6 = call noundef zeroext i1 (ptr, ptr, ptr, ptr, ...) @_ZNK3Rcs13CmdLineParser11getArgumentEPKcPiS2_z(ptr noundef nonnull align 1 dereferenceable(1) %4, ptr noundef nonnull @.str.71, ptr noundef nonnull %3, ptr noundef nonnull @.str.72)
  %7 = call noundef zeroext i1 (ptr, ptr, ptr, ...) @_ZNK3Rcs13CmdLineParser11hasArgumentEPKcS2_z(ptr noundef nonnull align 1 dereferenceable(1) %4, ptr noundef nonnull @.str.73, ptr noundef nonnull @.str.74)
  %8 = call noundef zeroext i1 (ptr, ptr, ptr, ...) @_ZNK3Rcs13CmdLineParser11hasArgumentEPKcS2_z(ptr noundef nonnull align 1 dereferenceable(1) %4, ptr noundef nonnull @.str.75, ptr noundef nonnull @.str.76)
  %9 = call noundef zeroext i1 (ptr, ptr, ptr, ...) @_ZNK3Rcs13CmdLineParser11hasArgumentEPKcS2_z(ptr noundef nonnull align 1 dereferenceable(1) %4, ptr noundef nonnull @.str.77, ptr noundef nonnull @.str.78)
  %10 = call noundef zeroext i1 (ptr, ptr, ptr, ...) @_ZNK3Rcs13CmdLineParser11hasArgumentEPKcS2_z(ptr noundef nonnull align 1 dereferenceable(1) %4, ptr noundef nonnull @.str.79, ptr noundef nonnull @.str.80)
  %spec.select.demorgan = or i1 %9, %10
  %11 = or i1 %8, %spec.select.demorgan
  %.demorgan = or i1 %11, %7
  %12 = xor i1 %.demorgan, true
  %brmerge220 = or i1 %7, %12
  br i1 %brmerge220, label %13, label %205

13:                                               ; preds = %2
  %14 = load ptr, ptr @RCS_GLOBAL_RLOG_CB, align 8, !tbaa !9
  %.not = icmp eq ptr %14, null
  br i1 %.not, label %16, label %15

15:                                               ; preds = %13
  call void (i32, ptr, ptr, i32, ptr, ...) %14(i32 noundef 2, ptr noundef nonnull @.str.18, ptr noundef nonnull @__func__.testLinearAlgebraFunctions, i32 noundef 594, ptr noundef nonnull @.str.24)
  br label %16

16:                                               ; preds = %15, %13
  %17 = load i32, ptr @RcsLogLevel, align 4, !tbaa !5
  %18 = icmp sgt i32 %17, 1
  br i1 %18, label %19, label %26

19:                                               ; preds = %16
  %20 = load ptr, ptr @stderr, align 8, !tbaa !9
  %21 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %20, ptr noundef nonnull @.str.22, ptr noundef nonnull @__func__.testLinearAlgebraFunctions, i32 noundef 594) #6
  %22 = load ptr, ptr @stderr, align 8, !tbaa !9
  %23 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %22, ptr noundef nonnull @.str.24) #6
  %24 = load ptr, ptr @stderr, align 8, !tbaa !9
  %25 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %24, ptr noundef nonnull @.str.6) #6
  br label %26

26:                                               ; preds = %16, %19
  %27 = load ptr, ptr @RCS_GLOBAL_RLOG_CB, align 8, !tbaa !9
  %.not200 = icmp eq ptr %27, null
  br i1 %.not200, label %29, label %28

28:                                               ; preds = %26
  call void (i32, ptr, ptr, i32, ptr, ...) %27(i32 noundef 2, ptr noundef nonnull @.str.18, ptr noundef nonnull @__func__.testLinearAlgebraFunctions, i32 noundef 595, ptr noundef nonnull @.str.81)
  br label %29

29:                                               ; preds = %28, %26
  %30 = load i32, ptr @RcsLogLevel, align 4, !tbaa !5
  %31 = icmp sgt i32 %30, 1
  br i1 %31, label %32, label %39

32:                                               ; preds = %29
  %33 = load ptr, ptr @stderr, align 8, !tbaa !9
  %34 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %33, ptr noundef nonnull @.str.22, ptr noundef nonnull @__func__.testLinearAlgebraFunctions, i32 noundef 595) #6
  %35 = load ptr, ptr @stderr, align 8, !tbaa !9
  %36 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %35, ptr noundef nonnull @.str.81) #6
  %37 = load ptr, ptr @stderr, align 8, !tbaa !9
  %38 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %37, ptr noundef nonnull @.str.6) #6
  br label %39

39:                                               ; preds = %29, %32
  %40 = load ptr, ptr @RCS_GLOBAL_RLOG_CB, align 8, !tbaa !9
  %.not201 = icmp eq ptr %40, null
  br i1 %.not201, label %42, label %41

41:                                               ; preds = %39
  call void (i32, ptr, ptr, i32, ptr, ...) %40(i32 noundef 2, ptr noundef nonnull @.str.18, ptr noundef nonnull @__func__.testLinearAlgebraFunctions, i32 noundef 596, ptr noundef nonnull @.str.24)
  br label %42

42:                                               ; preds = %41, %39
  %43 = load i32, ptr @RcsLogLevel, align 4, !tbaa !5
  %44 = icmp sgt i32 %43, 1
  br i1 %44, label %45, label %52

45:                                               ; preds = %42
  %46 = load ptr, ptr @stderr, align 8, !tbaa !9
  %47 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %46, ptr noundef nonnull @.str.22, ptr noundef nonnull @__func__.testLinearAlgebraFunctions, i32 noundef 596) #6
  %48 = load ptr, ptr @stderr, align 8, !tbaa !9
  %49 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %48, ptr noundef nonnull @.str.24) #6
  %50 = load ptr, ptr @stderr, align 8, !tbaa !9
  %51 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %50, ptr noundef nonnull @.str.6) #6
  br label %52

52:                                               ; preds = %45, %42
  %53 = load i32, ptr %3, align 4, !tbaa !5
  %54 = mul nsw i32 %53, 3
  %55 = call ptr @MatNd_create(i32 noundef %54, i32 noundef %53)
  %56 = call ptr @MatNd_create(i32 noundef %53, i32 noundef %53)
  %57 = call ptr @MatNd_create(i32 noundef %53, i32 noundef %53)
  %58 = call ptr @MatNd_create(i32 noundef %53, i32 noundef %53)
  %59 = call ptr @MatNd_create(i32 noundef %53, i32 noundef %53)
  call void @MatNd_setRandom(ptr noundef %55, double noundef -1.000000e+00, double noundef 1.000000e+00)
  call void @MatNd_sqrMulAtBA(ptr noundef %56, ptr noundef %55, ptr noundef null)
  %60 = call zeroext i1 @MatNd_isSymmetric(ptr noundef %56, double noundef 0x3D719799812DEA11)
  %61 = load i32, ptr @RcsLogLevel, align 4
  %62 = icmp slt i32 %61, 2
  %or.cond4.not = select i1 %60, i1 true, i1 %62
  br i1 %or.cond4.not, label %76, label %63

63:                                               ; preds = %52
  call void @MatNd_printCommentDigits(ptr noundef nonnull @.str.40, ptr noundef %56, i32 noundef 6)
  %64 = load ptr, ptr @RCS_GLOBAL_RLOG_CB, align 8, !tbaa !9
  %.not203 = icmp eq ptr %64, null
  br i1 %.not203, label %66, label %65

65:                                               ; preds = %63
  call void (i32, ptr, ptr, i32, ptr, ...) %64(i32 noundef 2, ptr noundef nonnull @.str.18, ptr noundef nonnull @__func__.testLinearAlgebraFunctions, i32 noundef 613, ptr noundef nonnull @.str.82)
  br label %66

66:                                               ; preds = %65, %63
  %67 = load i32, ptr @RcsLogLevel, align 4, !tbaa !5
  %68 = icmp sgt i32 %67, 1
  br i1 %68, label %69, label %76

69:                                               ; preds = %66
  %70 = load ptr, ptr @stderr, align 8, !tbaa !9
  %71 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %70, ptr noundef nonnull @.str.22, ptr noundef nonnull @__func__.testLinearAlgebraFunctions, i32 noundef 613) #6
  %72 = load ptr, ptr @stderr, align 8, !tbaa !9
  %73 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %72, ptr noundef nonnull @.str.82) #6
  %74 = load ptr, ptr @stderr, align 8, !tbaa !9
  %75 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %74, ptr noundef nonnull @.str.6) #6
  br label %76

76:                                               ; preds = %66, %69, %52
  %.0 = phi i8 [ 1, %52 ], [ 0, %69 ], [ 0, %66 ]
  call void @Timer_setZero()
  %77 = call double @MatNd_choleskyDecomposition(ptr noundef %57, ptr noundef %56)
  %78 = call double @Timer_getTime()
  %79 = fcmp une double %77, 0.000000e+00
  br i1 %79, label %83, label %80

80:                                               ; preds = %76
  %81 = load ptr, ptr @stderr, align 8, !tbaa !9
  %82 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %81, ptr noundef nonnull @.str.57, ptr noundef nonnull @.str.3, ptr noundef nonnull @__func__.testLinearAlgebraFunctions, i32 noundef 621, ptr noundef nonnull @.str.83) #6
  call void @print_trace()
  call void @abort() #7
  unreachable

83:                                               ; preds = %76
  call void @MatNd_transpose(ptr noundef %58, ptr noundef %57)
  call void @MatNd_mul(ptr noundef %59, ptr noundef %57, ptr noundef %58)
  %84 = call double @MatNd_msqError(ptr noundef %56, ptr noundef %59)
  %85 = fcmp olt double %84, 0x3D719799812DEA11
  br i1 %85, label %86, label %101

86:                                               ; preds = %83
  %87 = load ptr, ptr @RCS_GLOBAL_RLOG_CB, align 8, !tbaa !9
  %.not204 = icmp eq ptr %87, null
  br i1 %.not204, label %90, label %88

88:                                               ; preds = %86
  %89 = fmul double %78, 1.000000e+03
  call void (i32, ptr, ptr, i32, ptr, ...) %87(i32 noundef 2, ptr noundef nonnull @.str.18, ptr noundef nonnull @__func__.testLinearAlgebraFunctions, i32 noundef 633, ptr noundef nonnull @.str.84, double noundef %89, double noundef %84, double noundef 0x3D719799812DEA11)
  br label %90

90:                                               ; preds = %88, %86
  %91 = load i32, ptr @RcsLogLevel, align 4, !tbaa !5
  %92 = icmp sgt i32 %91, 1
  br i1 %92, label %93, label %114

93:                                               ; preds = %90
  %94 = load ptr, ptr @stderr, align 8, !tbaa !9
  %95 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %94, ptr noundef nonnull @.str.22, ptr noundef nonnull @__func__.testLinearAlgebraFunctions, i32 noundef 633) #6
  %96 = load ptr, ptr @stderr, align 8, !tbaa !9
  %97 = fmul double %78, 1.000000e+03
  %98 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %96, ptr noundef nonnull @.str.84, double noundef %97, double noundef %84, double noundef 0x3D719799812DEA11) #6
  %99 = load ptr, ptr @stderr, align 8, !tbaa !9
  %100 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %99, ptr noundef nonnull @.str.6) #6
  br label %114

101:                                              ; preds = %83
  %102 = load ptr, ptr @stderr, align 8, !tbaa !9
  %103 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %102, ptr noundef nonnull @.str.22, ptr noundef nonnull @__func__.testLinearAlgebraFunctions, i32 noundef 639) #6
  %104 = load ptr, ptr @stderr, align 8, !tbaa !9
  %105 = fmul double %78, 1.000000e+03
  %106 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %104, ptr noundef nonnull @.str.85, double noundef %105, double noundef %84, double noundef 0x3D719799812DEA11) #6
  %107 = load ptr, ptr @stderr, align 8, !tbaa !9
  %108 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %107, ptr noundef nonnull @.str.6) #6
  %109 = load ptr, ptr @stderr, align 8, !tbaa !9
  %110 = call i32 @fflush(ptr noundef %109)
  %111 = load i32, ptr @RcsLogLevel, align 4, !tbaa !5
  %112 = icmp sgt i32 %111, 2
  br i1 %112, label %113, label %114

113:                                              ; preds = %101
  call void @MatNd_printCommentDigits(ptr noundef nonnull @.str.40, ptr noundef %56, i32 noundef 5)
  call void @MatNd_printCommentDigits(ptr noundef nonnull @.str.86, ptr noundef %57, i32 noundef 5)
  call void @MatNd_printCommentDigits(ptr noundef nonnull @.str.87, ptr noundef %59, i32 noundef 5)
  br label %114

114:                                              ; preds = %93, %90, %113, %101
  %.1 = phi i8 [ %.0, %93 ], [ %.0, %90 ], [ 0, %113 ], [ 0, %101 ]
  call void @MatNd_destroy(ptr noundef %55)
  call void @MatNd_destroy(ptr noundef %56)
  call void @MatNd_destroy(ptr noundef %57)
  call void @MatNd_destroy(ptr noundef %58)
  call void @MatNd_destroy(ptr noundef %59)
  %115 = load ptr, ptr @RCS_GLOBAL_RLOG_CB, align 8, !tbaa !9
  %.not205 = icmp eq ptr %115, null
  br i1 %.not205, label %117, label %116

116:                                              ; preds = %114
  call void (i32, ptr, ptr, i32, ptr, ...) %115(i32 noundef 2, ptr noundef nonnull @.str.18, ptr noundef nonnull @__func__.testLinearAlgebraFunctions, i32 noundef 662, ptr noundef nonnull @.str.24)
  br label %117

117:                                              ; preds = %116, %114
  %118 = load i32, ptr @RcsLogLevel, align 4, !tbaa !5
  %119 = icmp sgt i32 %118, 1
  br i1 %119, label %120, label %127

120:                                              ; preds = %117
  %121 = load ptr, ptr @stderr, align 8, !tbaa !9
  %122 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %121, ptr noundef nonnull @.str.22, ptr noundef nonnull @__func__.testLinearAlgebraFunctions, i32 noundef 662) #6
  %123 = load ptr, ptr @stderr, align 8, !tbaa !9
  %124 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %123, ptr noundef nonnull @.str.24) #6
  %125 = load ptr, ptr @stderr, align 8, !tbaa !9
  %126 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %125, ptr noundef nonnull @.str.6) #6
  br label %127

127:                                              ; preds = %117, %120
  %128 = load ptr, ptr @RCS_GLOBAL_RLOG_CB, align 8, !tbaa !9
  %.not206 = icmp eq ptr %128, null
  br i1 %.not206, label %130, label %129

129:                                              ; preds = %127
  call void (i32, ptr, ptr, i32, ptr, ...) %128(i32 noundef 2, ptr noundef nonnull @.str.18, ptr noundef nonnull @__func__.testLinearAlgebraFunctions, i32 noundef 663, ptr noundef nonnull @.str.88)
  br label %130

130:                                              ; preds = %129, %127
  %131 = load i32, ptr @RcsLogLevel, align 4, !tbaa !5
  %132 = icmp sgt i32 %131, 1
  br i1 %132, label %133, label %140

133:                                              ; preds = %130
  %134 = load ptr, ptr @stderr, align 8, !tbaa !9
  %135 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %134, ptr noundef nonnull @.str.22, ptr noundef nonnull @__func__.testLinearAlgebraFunctions, i32 noundef 663) #6
  %136 = load ptr, ptr @stderr, align 8, !tbaa !9
  %137 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %136, ptr noundef nonnull @.str.88) #6
  %138 = load ptr, ptr @stderr, align 8, !tbaa !9
  %139 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %138, ptr noundef nonnull @.str.6) #6
  br label %140

140:                                              ; preds = %130, %133
  %141 = load ptr, ptr @RCS_GLOBAL_RLOG_CB, align 8, !tbaa !9
  %.not207 = icmp eq ptr %141, null
  br i1 %.not207, label %143, label %142

142:                                              ; preds = %140
  call void (i32, ptr, ptr, i32, ptr, ...) %141(i32 noundef 2, ptr noundef nonnull @.str.18, ptr noundef nonnull @__func__.testLinearAlgebraFunctions, i32 noundef 664, ptr noundef nonnull @.str.24)
  br label %143

143:                                              ; preds = %142, %140
  %144 = load i32, ptr @RcsLogLevel, align 4, !tbaa !5
  %145 = icmp sgt i32 %144, 1
  br i1 %145, label %146, label %153

146:                                              ; preds = %143
  %147 = load ptr, ptr @stderr, align 8, !tbaa !9
  %148 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %147, ptr noundef nonnull @.str.22, ptr noundef nonnull @__func__.testLinearAlgebraFunctions, i32 noundef 664) #6
  %149 = load ptr, ptr @stderr, align 8, !tbaa !9
  %150 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %149, ptr noundef nonnull @.str.24) #6
  %151 = load ptr, ptr @stderr, align 8, !tbaa !9
  %152 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %151, ptr noundef nonnull @.str.6) #6
  br label %153

153:                                              ; preds = %146, %143
  %154 = load i32, ptr %3, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #5
  store i32 2, ptr %5, align 4, !tbaa !5
  %155 = call noundef zeroext i1 (ptr, ptr, ptr, ptr, ...) @_ZNK3Rcs13CmdLineParser11getArgumentEPKcPiS2_z(ptr noundef nonnull align 1 dereferenceable(1) %4, ptr noundef nonnull @.str.89, ptr noundef nonnull %5, ptr noundef nonnull @.str.90)
  %156 = shl nsw i32 %154, 1
  %157 = call ptr @MatNd_create(i32 noundef %154, i32 noundef %156)
  call void @MatNd_setRandom(ptr noundef %157, double noundef -1.000000e+00, double noundef 1.000000e+00)
  %158 = call ptr @MatNd_create(i32 noundef %154, i32 noundef %154)
  call void @MatNd_sqrMulABAt(ptr noundef %158, ptr noundef %157, ptr noundef null)
  call void @MatNd_destroy(ptr noundef %157)
  %159 = load i32, ptr %5, align 4, !tbaa !5
  %160 = call ptr @MatNd_create(i32 noundef %154, i32 noundef %159)
  call void @MatNd_setRandom(ptr noundef %160, double noundef -1.000000e+00, double noundef 1.000000e+00)
  %161 = load i32, ptr %5, align 4, !tbaa !5
  %162 = call ptr @MatNd_create(i32 noundef %154, i32 noundef %161)
  call void @Timer_setZero()
  %163 = call double @MatNd_choleskySolve(ptr noundef %162, ptr noundef %158, ptr noundef %160)
  %164 = call double @Timer_getTime()
  %165 = fcmp une double %163, 0.000000e+00
  br i1 %165, label %169, label %166

166:                                              ; preds = %153
  %167 = load ptr, ptr @stderr, align 8, !tbaa !9
  %168 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %167, ptr noundef nonnull @.str.57, ptr noundef nonnull @.str.3, ptr noundef nonnull @__func__.testLinearAlgebraFunctions, i32 noundef 684, ptr noundef nonnull @.str.83) #6
  call void @print_trace()
  call void @abort() #7
  unreachable

169:                                              ; preds = %153
  %170 = load i32, ptr %5, align 4, !tbaa !5
  %171 = call ptr @MatNd_create(i32 noundef %154, i32 noundef %170)
  %172 = load i32, ptr %5, align 4, !tbaa !5
  %173 = call ptr @MatNd_create(i32 noundef %154, i32 noundef %172)
  call void @MatNd_mul(ptr noundef %171, ptr noundef %158, ptr noundef %162)
  call void @MatNd_sub(ptr noundef %173, ptr noundef %171, ptr noundef %160)
  %174 = call double @MatNd_getNorm(ptr noundef %173)
  %175 = fcmp olt double %174, 0x3D719799812DEA11
  br i1 %175, label %176, label %191

176:                                              ; preds = %169
  %177 = load ptr, ptr @RCS_GLOBAL_RLOG_CB, align 8, !tbaa !9
  %.not208 = icmp eq ptr %177, null
  br i1 %.not208, label %180, label %178

178:                                              ; preds = %176
  %179 = fmul double %164, 1.000000e+03
  call void (i32, ptr, ptr, i32, ptr, ...) %177(i32 noundef 2, ptr noundef nonnull @.str.18, ptr noundef nonnull @__func__.testLinearAlgebraFunctions, i32 noundef 698, ptr noundef nonnull @.str.91, double noundef %179, double noundef %174, double noundef 0x3D719799812DEA11)
  br label %180

180:                                              ; preds = %178, %176
  %181 = load i32, ptr @RcsLogLevel, align 4, !tbaa !5
  %182 = icmp sgt i32 %181, 1
  br i1 %182, label %183, label %204

183:                                              ; preds = %180
  %184 = load ptr, ptr @stderr, align 8, !tbaa !9
  %185 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %184, ptr noundef nonnull @.str.22, ptr noundef nonnull @__func__.testLinearAlgebraFunctions, i32 noundef 698) #6
  %186 = load ptr, ptr @stderr, align 8, !tbaa !9
  %187 = fmul double %164, 1.000000e+03
  %188 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %186, ptr noundef nonnull @.str.91, double noundef %187, double noundef %174, double noundef 0x3D719799812DEA11) #6
  %189 = load ptr, ptr @stderr, align 8, !tbaa !9
  %190 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %189, ptr noundef nonnull @.str.6) #6
  br label %204

191:                                              ; preds = %169
  %192 = load ptr, ptr @stderr, align 8, !tbaa !9
  %193 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %192, ptr noundef nonnull @.str.22, ptr noundef nonnull @__func__.testLinearAlgebraFunctions, i32 noundef 704) #6
  %194 = load ptr, ptr @stderr, align 8, !tbaa !9
  %195 = fmul double %164, 1.000000e+03
  %196 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %194, ptr noundef nonnull @.str.92, double noundef %195, double noundef %174, double noundef 0x3D719799812DEA11) #6
  %197 = load ptr, ptr @stderr, align 8, !tbaa !9
  %198 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %197, ptr noundef nonnull @.str.6) #6
  %199 = load ptr, ptr @stderr, align 8, !tbaa !9
  %200 = call i32 @fflush(ptr noundef %199)
  %201 = load i32, ptr @RcsLogLevel, align 4, !tbaa !5
  %202 = icmp sgt i32 %201, 2
  br i1 %202, label %203, label %204

203:                                              ; preds = %191
  call void @MatNd_printCommentDigits(ptr noundef nonnull @.str.93, ptr noundef %173, i32 noundef 8)
  call void @MatNd_printCommentDigits(ptr noundef nonnull @.str.94, ptr noundef %171, i32 noundef 8)
  call void @MatNd_printCommentDigits(ptr noundef nonnull @.str.95, ptr noundef %160, i32 noundef 8)
  br label %204

204:                                              ; preds = %191, %203, %180, %183
  %.3 = phi i8 [ %.1, %183 ], [ %.1, %180 ], [ 0, %203 ], [ 0, %191 ]
  call void @MatNd_destroy(ptr noundef %158)
  call void @MatNd_destroy(ptr noundef %162)
  call void @MatNd_destroy(ptr noundef %160)
  call void @MatNd_destroy(ptr noundef %171)
  call void @MatNd_destroy(ptr noundef %173)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #5
  br label %205

205:                                              ; preds = %2, %204
  %.4 = phi i8 [ %.3, %204 ], [ 1, %2 ]
  %brmerge222 = or i1 %8, %12
  br i1 %brmerge222, label %206, label %308

206:                                              ; preds = %205
  %207 = load ptr, ptr @RCS_GLOBAL_RLOG_CB, align 8, !tbaa !9
  %.not209 = icmp eq ptr %207, null
  br i1 %.not209, label %209, label %208

208:                                              ; preds = %206
  call void (i32, ptr, ptr, i32, ptr, ...) %207(i32 noundef 2, ptr noundef nonnull @.str.18, ptr noundef nonnull @__func__.testLinearAlgebraFunctions, i32 noundef 727, ptr noundef nonnull @.str.24)
  br label %209

209:                                              ; preds = %208, %206
  %210 = load i32, ptr @RcsLogLevel, align 4, !tbaa !5
  %211 = icmp sgt i32 %210, 1
  br i1 %211, label %212, label %219

212:                                              ; preds = %209
  %213 = load ptr, ptr @stderr, align 8, !tbaa !9
  %214 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %213, ptr noundef nonnull @.str.22, ptr noundef nonnull @__func__.testLinearAlgebraFunctions, i32 noundef 727) #6
  %215 = load ptr, ptr @stderr, align 8, !tbaa !9
  %216 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %215, ptr noundef nonnull @.str.24) #6
  %217 = load ptr, ptr @stderr, align 8, !tbaa !9
  %218 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %217, ptr noundef nonnull @.str.6) #6
  br label %219

219:                                              ; preds = %209, %212
  %220 = load ptr, ptr @RCS_GLOBAL_RLOG_CB, align 8, !tbaa !9
  %.not210 = icmp eq ptr %220, null
  br i1 %.not210, label %222, label %221

221:                                              ; preds = %219
  call void (i32, ptr, ptr, i32, ptr, ...) %220(i32 noundef 2, ptr noundef nonnull @.str.18, ptr noundef nonnull @__func__.testLinearAlgebraFunctions, i32 noundef 728, ptr noundef nonnull @.str.96)
  br label %222

222:                                              ; preds = %221, %219
  %223 = load i32, ptr @RcsLogLevel, align 4, !tbaa !5
  %224 = icmp sgt i32 %223, 1
  br i1 %224, label %225, label %232

225:                                              ; preds = %222
  %226 = load ptr, ptr @stderr, align 8, !tbaa !9
  %227 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %226, ptr noundef nonnull @.str.22, ptr noundef nonnull @__func__.testLinearAlgebraFunctions, i32 noundef 728) #6
  %228 = load ptr, ptr @stderr, align 8, !tbaa !9
  %229 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %228, ptr noundef nonnull @.str.96) #6
  %230 = load ptr, ptr @stderr, align 8, !tbaa !9
  %231 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %230, ptr noundef nonnull @.str.6) #6
  br label %232

232:                                              ; preds = %222, %225
  %233 = load ptr, ptr @RCS_GLOBAL_RLOG_CB, align 8, !tbaa !9
  %.not211 = icmp eq ptr %233, null
  br i1 %.not211, label %235, label %234

234:                                              ; preds = %232
  call void (i32, ptr, ptr, i32, ptr, ...) %233(i32 noundef 2, ptr noundef nonnull @.str.18, ptr noundef nonnull @__func__.testLinearAlgebraFunctions, i32 noundef 729, ptr noundef nonnull @.str.24)
  br label %235

235:                                              ; preds = %234, %232
  %236 = load i32, ptr @RcsLogLevel, align 4, !tbaa !5
  %237 = icmp sgt i32 %236, 1
  br i1 %237, label %238, label %245

238:                                              ; preds = %235
  %239 = load ptr, ptr @stderr, align 8, !tbaa !9
  %240 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %239, ptr noundef nonnull @.str.22, ptr noundef nonnull @__func__.testLinearAlgebraFunctions, i32 noundef 729) #6
  %241 = load ptr, ptr @stderr, align 8, !tbaa !9
  %242 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %241, ptr noundef nonnull @.str.24) #6
  %243 = load ptr, ptr @stderr, align 8, !tbaa !9
  %244 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %243, ptr noundef nonnull @.str.6) #6
  br label %245

245:                                              ; preds = %238, %235
  %246 = load i32, ptr %3, align 4, !tbaa !5
  %247 = shl nsw i32 %246, 1
  %248 = call ptr @MatNd_create(i32 noundef %246, i32 noundef %247)
  call void @MatNd_setRandom(ptr noundef %248, double noundef -1.000000e+00, double noundef 1.000000e+00)
  %249 = call ptr @MatNd_create(i32 noundef %246, i32 noundef %246)
  call void @MatNd_sqrMulABAt(ptr noundef %249, ptr noundef %248, ptr noundef null)
  call void @MatNd_destroy(ptr noundef %248)
  %250 = call ptr @MatNd_create(i32 noundef %246, i32 noundef 1)
  call void @MatNd_setRandom(ptr noundef %250, double noundef -1.000000e+00, double noundef 1.000000e+00)
  %251 = call ptr @MatNd_create(i32 noundef %246, i32 noundef 1)
  call void @Timer_setZero()
  %252 = call i32 @MatNd_gaussSeidelSolve(ptr noundef %251, ptr noundef %249, ptr noundef %250)
  %253 = call double @Timer_getTime()
  %254 = call ptr @MatNd_create(i32 noundef %246, i32 noundef 1)
  %255 = call ptr @MatNd_create(i32 noundef %246, i32 noundef 1)
  call void @MatNd_mul(ptr noundef %254, ptr noundef %249, ptr noundef %251)
  call void @MatNd_sub(ptr noundef %255, ptr noundef %254, ptr noundef %250)
  %256 = load ptr, ptr @RCS_GLOBAL_RLOG_CB, align 8, !tbaa !9
  %.not212 = icmp eq ptr %256, null
  br i1 %.not212, label %259, label %257

257:                                              ; preds = %245
  %258 = fmul double %253, 1.000000e+06
  call void (i32, ptr, ptr, i32, ptr, ...) %256(i32 noundef 2, ptr noundef nonnull @.str.18, ptr noundef nonnull @__func__.testLinearAlgebraFunctions, i32 noundef 753, ptr noundef nonnull @.str.97, i32 noundef %252, double noundef %258)
  br label %259

259:                                              ; preds = %257, %245
  %260 = load i32, ptr @RcsLogLevel, align 4, !tbaa !5
  %261 = icmp sgt i32 %260, 1
  br i1 %261, label %262, label %270

262:                                              ; preds = %259
  %263 = load ptr, ptr @stderr, align 8, !tbaa !9
  %264 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %263, ptr noundef nonnull @.str.22, ptr noundef nonnull @__func__.testLinearAlgebraFunctions, i32 noundef 753) #6
  %265 = load ptr, ptr @stderr, align 8, !tbaa !9
  %266 = fmul double %253, 1.000000e+06
  %267 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %265, ptr noundef nonnull @.str.97, i32 noundef %252, double noundef %266) #6
  %268 = load ptr, ptr @stderr, align 8, !tbaa !9
  %269 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %268, ptr noundef nonnull @.str.6) #6
  br label %270

270:                                              ; preds = %262, %259
  %271 = call double @MatNd_getNorm(ptr noundef %255)
  %272 = fcmp olt double %271, 0x3EB0C6F7A0B5ED8D
  br i1 %272, label %273, label %286

273:                                              ; preds = %270
  %274 = load ptr, ptr @RCS_GLOBAL_RLOG_CB, align 8, !tbaa !9
  %.not213 = icmp eq ptr %274, null
  br i1 %.not213, label %276, label %275

275:                                              ; preds = %273
  call void (i32, ptr, ptr, i32, ptr, ...) %274(i32 noundef 2, ptr noundef nonnull @.str.18, ptr noundef nonnull @__func__.testLinearAlgebraFunctions, i32 noundef 761, ptr noundef nonnull @.str.98, double noundef %271, double noundef 0x3EB0C6F7A0B5ED8D)
  br label %276

276:                                              ; preds = %275, %273
  %277 = load i32, ptr @RcsLogLevel, align 4, !tbaa !5
  %278 = icmp sgt i32 %277, 1
  br i1 %278, label %279, label %307

279:                                              ; preds = %276
  %280 = load ptr, ptr @stderr, align 8, !tbaa !9
  %281 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %280, ptr noundef nonnull @.str.22, ptr noundef nonnull @__func__.testLinearAlgebraFunctions, i32 noundef 761) #6
  %282 = load ptr, ptr @stderr, align 8, !tbaa !9
  %283 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %282, ptr noundef nonnull @.str.98, double noundef %271, double noundef 0x3EB0C6F7A0B5ED8D) #6
  %284 = load ptr, ptr @stderr, align 8, !tbaa !9
  %285 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %284, ptr noundef nonnull @.str.6) #6
  br label %307

286:                                              ; preds = %270
  %287 = load ptr, ptr @stderr, align 8, !tbaa !9
  %288 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %287, ptr noundef nonnull @.str.22, ptr noundef nonnull @__func__.testLinearAlgebraFunctions, i32 noundef 767) #6
  %289 = load ptr, ptr @stderr, align 8, !tbaa !9
  %290 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %289, ptr noundef nonnull @.str.99, double noundef %271, double noundef 0x3EB0C6F7A0B5ED8D) #6
  %291 = load ptr, ptr @stderr, align 8, !tbaa !9
  %292 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %291, ptr noundef nonnull @.str.6) #6
  %293 = load ptr, ptr @stderr, align 8, !tbaa !9
  %294 = call i32 @fflush(ptr noundef %293)
  %295 = load i32, ptr @RcsLogLevel, align 4, !tbaa !5
  %296 = icmp sgt i32 %295, 2
  br i1 %296, label %297, label %307

297:                                              ; preds = %286
  call void @MatNd_printCommentDigits(ptr noundef nonnull @.str.93, ptr noundef %255, i32 noundef 8)
  call void @MatNd_printCommentDigits(ptr noundef nonnull @.str.94, ptr noundef %254, i32 noundef 8)
  call void @MatNd_printCommentDigits(ptr noundef nonnull @.str.95, ptr noundef %250, i32 noundef 8)
  %298 = load ptr, ptr @stderr, align 8, !tbaa !9
  %299 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %298, ptr noundef nonnull @.str.22, ptr noundef nonnull @__func__.testLinearAlgebraFunctions, i32 noundef 774) #6
  %300 = load ptr, ptr @stderr, align 8, !tbaa !9
  %301 = call double @MatNd_getNorm(ptr noundef %255)
  %302 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %300, ptr noundef nonnull @.str.100, double noundef %301) #6
  %303 = load ptr, ptr @stderr, align 8, !tbaa !9
  %304 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %303, ptr noundef nonnull @.str.6) #6
  %305 = load ptr, ptr @stderr, align 8, !tbaa !9
  %306 = call i32 @fflush(ptr noundef %305)
  br label %307

307:                                              ; preds = %286, %297, %276, %279
  %.5 = phi i8 [ %.4, %279 ], [ %.4, %276 ], [ 0, %297 ], [ 0, %286 ]
  call void @MatNd_destroy(ptr noundef %249)
  call void @MatNd_destroy(ptr noundef %251)
  call void @MatNd_destroy(ptr noundef %250)
  call void @MatNd_destroy(ptr noundef %254)
  call void @MatNd_destroy(ptr noundef %255)
  br label %308

308:                                              ; preds = %205, %307
  %.6 = phi i8 [ %.5, %307 ], [ %.4, %205 ]
  br i1 %brmerge220, label %309, label %410

309:                                              ; preds = %308
  %310 = load ptr, ptr @RCS_GLOBAL_RLOG_CB, align 8, !tbaa !9
  %.not214 = icmp eq ptr %310, null
  br i1 %.not214, label %312, label %311

311:                                              ; preds = %309
  call void (i32, ptr, ptr, i32, ptr, ...) %310(i32 noundef 2, ptr noundef nonnull @.str.18, ptr noundef nonnull @__func__.testLinearAlgebraFunctions, i32 noundef 790, ptr noundef nonnull @.str.24)
  br label %312

312:                                              ; preds = %311, %309
  %313 = load i32, ptr @RcsLogLevel, align 4, !tbaa !5
  %314 = icmp sgt i32 %313, 1
  br i1 %314, label %315, label %322

315:                                              ; preds = %312
  %316 = load ptr, ptr @stderr, align 8, !tbaa !9
  %317 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %316, ptr noundef nonnull @.str.22, ptr noundef nonnull @__func__.testLinearAlgebraFunctions, i32 noundef 790) #6
  %318 = load ptr, ptr @stderr, align 8, !tbaa !9
  %319 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %318, ptr noundef nonnull @.str.24) #6
  %320 = load ptr, ptr @stderr, align 8, !tbaa !9
  %321 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %320, ptr noundef nonnull @.str.6) #6
  br label %322

322:                                              ; preds = %312, %315
  %323 = load ptr, ptr @RCS_GLOBAL_RLOG_CB, align 8, !tbaa !9
  %.not215 = icmp eq ptr %323, null
  br i1 %.not215, label %325, label %324

324:                                              ; preds = %322
  call void (i32, ptr, ptr, i32, ptr, ...) %323(i32 noundef 2, ptr noundef nonnull @.str.18, ptr noundef nonnull @__func__.testLinearAlgebraFunctions, i32 noundef 791, ptr noundef nonnull @.str.101)
  br label %325

325:                                              ; preds = %324, %322
  %326 = load i32, ptr @RcsLogLevel, align 4, !tbaa !5
  %327 = icmp sgt i32 %326, 1
  br i1 %327, label %328, label %335

328:                                              ; preds = %325
  %329 = load ptr, ptr @stderr, align 8, !tbaa !9
  %330 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %329, ptr noundef nonnull @.str.22, ptr noundef nonnull @__func__.testLinearAlgebraFunctions, i32 noundef 791) #6
  %331 = load ptr, ptr @stderr, align 8, !tbaa !9
  %332 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %331, ptr noundef nonnull @.str.101) #6
  %333 = load ptr, ptr @stderr, align 8, !tbaa !9
  %334 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %333, ptr noundef nonnull @.str.6) #6
  br label %335

335:                                              ; preds = %325, %328
  %336 = load ptr, ptr @RCS_GLOBAL_RLOG_CB, align 8, !tbaa !9
  %.not216 = icmp eq ptr %336, null
  br i1 %.not216, label %338, label %337

337:                                              ; preds = %335
  call void (i32, ptr, ptr, i32, ptr, ...) %336(i32 noundef 2, ptr noundef nonnull @.str.18, ptr noundef nonnull @__func__.testLinearAlgebraFunctions, i32 noundef 792, ptr noundef nonnull @.str.24)
  br label %338

338:                                              ; preds = %337, %335
  %339 = load i32, ptr @RcsLogLevel, align 4, !tbaa !5
  %340 = icmp sgt i32 %339, 1
  br i1 %340, label %341, label %348

341:                                              ; preds = %338
  %342 = load ptr, ptr @stderr, align 8, !tbaa !9
  %343 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %342, ptr noundef nonnull @.str.22, ptr noundef nonnull @__func__.testLinearAlgebraFunctions, i32 noundef 792) #6
  %344 = load ptr, ptr @stderr, align 8, !tbaa !9
  %345 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %344, ptr noundef nonnull @.str.24) #6
  %346 = load ptr, ptr @stderr, align 8, !tbaa !9
  %347 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %346, ptr noundef nonnull @.str.6) #6
  br label %348

348:                                              ; preds = %341, %338
  %349 = load i32, ptr %3, align 4, !tbaa !5
  %350 = shl nsw i32 %349, 1
  %351 = call ptr @MatNd_create(i32 noundef %349, i32 noundef %350)
  %352 = call ptr @MatNd_create(i32 noundef %349, i32 noundef %349)
  %353 = call ptr @MatNd_create(i32 noundef %349, i32 noundef %349)
  %354 = call ptr @MatNd_create(i32 noundef %349, i32 noundef %349)
  call void @MatNd_setRandom(ptr noundef %351, double noundef -1.000000e+00, double noundef 1.000000e+00)
  call void @MatNd_sqrMulABAt(ptr noundef %352, ptr noundef %351, ptr noundef null)
  %355 = call double @Timer_getTime()
  %356 = call double @MatNd_choleskyInverse(ptr noundef %353, ptr noundef %352)
  %357 = call double @Timer_getTime()
  call void @MatNd_mul(ptr noundef %354, ptr noundef %353, ptr noundef %352)
  %358 = load i32, ptr @RcsLogLevel, align 4, !tbaa !5
  %359 = icmp sgt i32 %358, 2
  br i1 %359, label %364, label %360

360:                                              ; preds = %348
  %361 = icmp eq i32 %358, 2
  %362 = load i32, ptr %3, align 4
  %363 = icmp slt i32 %362, 10
  %or.cond = select i1 %361, i1 %363, i1 false
  br i1 %or.cond, label %364, label %365

364:                                              ; preds = %360, %348
  call void @MatNd_printCommentDigits(ptr noundef nonnull @.str.40, ptr noundef %352, i32 noundef 5)
  call void @MatNd_printCommentDigits(ptr noundef nonnull @.str.102, ptr noundef %353, i32 noundef 5)
  call void @MatNd_printCommentDigits(ptr noundef nonnull @.str.103, ptr noundef %354, i32 noundef 5)
  br label %365

365:                                              ; preds = %364, %360
  %366 = call zeroext i1 @MatNd_isIdentity(ptr noundef %354, double noundef 1.000000e-08)
  br i1 %366, label %367, label %380

367:                                              ; preds = %365
  %368 = load ptr, ptr @RCS_GLOBAL_RLOG_CB, align 8, !tbaa !9
  %.not217 = icmp eq ptr %368, null
  br i1 %.not217, label %370, label %369

369:                                              ; preds = %367
  call void (i32, ptr, ptr, i32, ptr, ...) %368(i32 noundef 2, ptr noundef nonnull @.str.18, ptr noundef nonnull @__func__.testLinearAlgebraFunctions, i32 noundef 816, ptr noundef nonnull @.str.104)
  br label %370

370:                                              ; preds = %369, %367
  %371 = load i32, ptr @RcsLogLevel, align 4, !tbaa !5
  %372 = icmp sgt i32 %371, 1
  br i1 %372, label %373, label %392

373:                                              ; preds = %370
  %374 = load ptr, ptr @stderr, align 8, !tbaa !9
  %375 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %374, ptr noundef nonnull @.str.22, ptr noundef nonnull @__func__.testLinearAlgebraFunctions, i32 noundef 816) #6
  %376 = load ptr, ptr @stderr, align 8, !tbaa !9
  %377 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %376, ptr noundef nonnull @.str.104) #6
  %378 = load ptr, ptr @stderr, align 8, !tbaa !9
  %379 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %378, ptr noundef nonnull @.str.6) #6
  br label %392

380:                                              ; preds = %365
  %381 = load i32, ptr @RcsLogLevel, align 4, !tbaa !5
  %382 = icmp sgt i32 %381, 2
  br i1 %382, label %383, label %392

383:                                              ; preds = %380
  %384 = load ptr, ptr @stderr, align 8, !tbaa !9
  %385 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %384, ptr noundef nonnull @.str.22, ptr noundef nonnull @__func__.testLinearAlgebraFunctions, i32 noundef 823) #6
  %386 = load ptr, ptr @stderr, align 8, !tbaa !9
  %387 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %386, ptr noundef nonnull @.str.105) #6
  %388 = load ptr, ptr @stderr, align 8, !tbaa !9
  %389 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %388, ptr noundef nonnull @.str.6) #6
  %390 = load ptr, ptr @stderr, align 8, !tbaa !9
  %391 = call i32 @fflush(ptr noundef %390)
  call void @MatNd_printCommentDigits(ptr noundef nonnull @.str.40, ptr noundef %352, i32 noundef 5)
  call void @MatNd_printCommentDigits(ptr noundef nonnull @.str.102, ptr noundef %353, i32 noundef 5)
  call void @MatNd_printCommentDigits(ptr noundef nonnull @.str.106, ptr noundef %354, i32 noundef 5)
  br label %392

392:                                              ; preds = %373, %370, %383, %380
  %.7 = phi i8 [ %.6, %373 ], [ %.6, %370 ], [ 0, %383 ], [ 0, %380 ]
  %393 = load ptr, ptr @RCS_GLOBAL_RLOG_CB, align 8, !tbaa !9
  %.not218 = icmp eq ptr %393, null
  br i1 %.not218, label %397, label %394

394:                                              ; preds = %392
  %395 = fsub double %357, %355
  %396 = fmul double %395, 1.000000e+06
  call void (i32, ptr, ptr, i32, ptr, ...) %393(i32 noundef 2, ptr noundef nonnull @.str.18, ptr noundef nonnull @__func__.testLinearAlgebraFunctions, i32 noundef 830, ptr noundef nonnull @.str.107, double noundef %356, double noundef %396)
  br label %397

397:                                              ; preds = %394, %392
  %398 = load i32, ptr @RcsLogLevel, align 4, !tbaa !5
  %399 = icmp sgt i32 %398, 1
  br i1 %399, label %400, label %409

400:                                              ; preds = %397
  %401 = load ptr, ptr @stderr, align 8, !tbaa !9
  %402 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %401, ptr noundef nonnull @.str.22, ptr noundef nonnull @__func__.testLinearAlgebraFunctions, i32 noundef 830) #6
  %403 = load ptr, ptr @stderr, align 8, !tbaa !9
  %404 = fsub double %357, %355
  %405 = fmul double %404, 1.000000e+06
  %406 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %403, ptr noundef nonnull @.str.107, double noundef %356, double noundef %405) #6
  %407 = load ptr, ptr @stderr, align 8, !tbaa !9
  %408 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %407, ptr noundef nonnull @.str.6) #6
  br label %409

409:                                              ; preds = %400, %397
  call void @MatNd_destroy(ptr noundef %351)
  call void @MatNd_destroy(ptr noundef %352)
  call void @MatNd_destroy(ptr noundef %353)
  call void @MatNd_destroy(ptr noundef %354)
  br label %410

410:                                              ; preds = %308, %409
  %.8 = phi i8 [ %.7, %409 ], [ %.6, %308 ]
  %411 = load ptr, ptr @RCS_GLOBAL_RLOG_CB, align 8, !tbaa !9
  %.not219 = icmp eq ptr %411, null
  br i1 %.not219, label %414, label %412

412:                                              ; preds = %410
  %413 = trunc nuw i8 %.8 to i1
  %.str.20..str.21 = select i1 %413, ptr @.str.20, ptr @.str.21
  call void (i32, ptr, ptr, i32, ptr, ...) %411(i32 noundef 1, ptr noundef nonnull @.str.18, ptr noundef nonnull @__func__.testLinearAlgebraFunctions, i32 noundef 840, ptr noundef nonnull @.str.108, ptr noundef nonnull %.str.20..str.21)
  br label %414

414:                                              ; preds = %412, %410
  %415 = load i32, ptr @RcsLogLevel, align 4, !tbaa !5
  %416 = icmp sgt i32 %415, 0
  br i1 %416, label %417, label %._crit_edge

._crit_edge:                                      ; preds = %414
  %.pre = trunc nuw i8 %.8 to i1
  br label %425

417:                                              ; preds = %414
  %418 = load ptr, ptr @stderr, align 8, !tbaa !9
  %419 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %418, ptr noundef nonnull @.str.22, ptr noundef nonnull @__func__.testLinearAlgebraFunctions, i32 noundef 840) #6
  %420 = load ptr, ptr @stderr, align 8, !tbaa !9
  %421 = trunc nuw i8 %.8 to i1
  %.str.20..str.212 = select i1 %421, ptr @.str.20, ptr @.str.21
  %422 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %420, ptr noundef nonnull @.str.108, ptr noundef nonnull %.str.20..str.212) #6
  %423 = load ptr, ptr @stderr, align 8, !tbaa !9
  %424 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %423, ptr noundef nonnull @.str.6) #6
  br label %425

425:                                              ; preds = %._crit_edge, %417
  %.pre-phi = phi i1 [ %.pre, %._crit_edge ], [ %421, %417 ]
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %4) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #5
  ret i1 %.pre-phi
}

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

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

declare void @Timer_setZero() local_unnamed_addr #2

declare double @MatNd_choleskyDecomposition(ptr noundef, ptr noundef) local_unnamed_addr #2

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

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

declare double @MatNd_choleskySolve(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

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

declare double @MatNd_getNorm(ptr noundef) local_unnamed_addr #2

declare i32 @MatNd_gaussSeidelSolve(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

declare double @MatNd_choleskyInverse(ptr noundef, ptr noundef) local_unnamed_addr #2

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

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 = { noreturn 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 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 }
attributes #6 = { cold nounwind }
attributes #7 = { noreturn 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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}


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