; LLVM IR from venumb/ZSPACE :: cpp/depends/alglib/cpp/tests/test_c.ll (Z11testlinlsqrbPN11alglib_impl8ae_stateE)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

@.str.1 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.351 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.352 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.353 = external hidden unnamed_addr constant [47 x i8], align 1
@.str.354 = external hidden unnamed_addr constant [47 x i8], align 1
@.str.355 = external hidden unnamed_addr constant [47 x i8], align 1
@.str.356 = external hidden unnamed_addr constant [47 x i8], align 1
@.str.357 = external hidden unnamed_addr constant [47 x i8], align 1
@.str.358 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.359 = external hidden unnamed_addr constant [47 x i8], align 1
@.str.360 = external hidden unnamed_addr constant [47 x i8], align 1
@.str.361 = external hidden unnamed_addr constant [47 x i8], align 1
@.str.362 = external hidden unnamed_addr constant [47 x i8], align 1
@.str.363 = external hidden unnamed_addr constant [47 x i8], align 1

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

declare i32 @printf(ptr noundef, ...) #1

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_Z11testlinlsqrbPN11alglib_impl8ae_stateE(i1 noundef zeroext %0, ptr noundef %1) #2 {
  %3 = alloca i8, align 1
  %4 = alloca ptr, align 8
  %5 = alloca i8, align 1
  %6 = alloca i8, align 1
  %7 = alloca i8, 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 i8, align 1
  %14 = alloca i8, align 1
  %15 = alloca i8, align 1
  %16 = alloca i8, align 1
  %17 = zext i1 %0 to i8
  store i8 %17, ptr %3, align 1, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %5) #3
  call void @llvm.lifetime.start.p0(i64 1, ptr %6) #3
  call void @llvm.lifetime.start.p0(i64 1, ptr %7) #3
  call void @llvm.lifetime.start.p0(i64 1, ptr %8) #3
  call void @llvm.lifetime.start.p0(i64 1, ptr %9) #3
  call void @llvm.lifetime.start.p0(i64 1, ptr %10) #3
  call void @llvm.lifetime.start.p0(i64 1, ptr %11) #3
  call void @llvm.lifetime.start.p0(i64 1, ptr %12) #3
  call void @llvm.lifetime.start.p0(i64 1, ptr %13) #3
  call void @llvm.lifetime.start.p0(i64 1, ptr %14) #3
  call void @llvm.lifetime.start.p0(i64 1, ptr %15) #3
  call void @llvm.lifetime.start.p0(i64 1, ptr %16) #3
  store i8 0, ptr %14, align 1, !tbaa !5
  %18 = load ptr, ptr %4, align 8, !tbaa !9
  %19 = call noundef zeroext i1 @_ZL23testlinlsqrunit_svdtestbPN11alglib_impl8ae_stateE(i1 noundef zeroext true, ptr noundef %18)
  %20 = zext i1 %19 to i8
  store i8 %20, ptr %5, align 1, !tbaa !5
  %21 = load ptr, ptr %4, align 8, !tbaa !9
  %22 = call noundef zeroext i1 @_ZL30testlinlsqrunit_mwcranksvdtestbPN11alglib_impl8ae_stateE(i1 noundef zeroext true, ptr noundef %21)
  %23 = zext i1 %22 to i8
  store i8 %23, ptr %6, align 1, !tbaa !5
  %24 = load ptr, ptr %4, align 8, !tbaa !9
  %25 = call noundef zeroext i1 @_ZL31testlinlsqrunit_mwicranksvdtestbPN11alglib_impl8ae_stateE(i1 noundef zeroext true, ptr noundef %24)
  %26 = zext i1 %25 to i8
  store i8 %26, ptr %7, align 1, !tbaa !5
  %27 = load ptr, ptr %4, align 8, !tbaa !9
  %28 = call noundef zeroext i1 @_ZL30testlinlsqrunit_bidiagonaltestbPN11alglib_impl8ae_stateE(i1 noundef zeroext true, ptr noundef %27)
  %29 = zext i1 %28 to i8
  store i8 %29, ptr %8, align 1, !tbaa !5
  %30 = load ptr, ptr %4, align 8, !tbaa !9
  %31 = call noundef zeroext i1 @_ZL30testlinlsqrunit_zeromatrixtestbPN11alglib_impl8ae_stateE(i1 noundef zeroext true, ptr noundef %30)
  %32 = zext i1 %31 to i8
  store i8 %32, ptr %9, align 1, !tbaa !5
  %33 = load ptr, ptr %4, align 8, !tbaa !9
  %34 = call noundef zeroext i1 @_ZL37testlinlsqrunit_reportcorrectnesstestbPN11alglib_impl8ae_stateE(i1 noundef zeroext true, ptr noundef %33)
  %35 = zext i1 %34 to i8
  store i8 %35, ptr %10, align 1, !tbaa !5
  %36 = load ptr, ptr %4, align 8, !tbaa !9
  %37 = call noundef zeroext i1 @_ZL36testlinlsqrunit_stoppingcriteriatestbPN11alglib_impl8ae_stateE(i1 noundef zeroext true, ptr noundef %36)
  %38 = zext i1 %37 to i8
  store i8 %38, ptr %11, align 1, !tbaa !5
  %39 = load ptr, ptr %4, align 8, !tbaa !9
  %40 = call noundef zeroext i1 @_ZL28testlinlsqrunit_analytictestbPN11alglib_impl8ae_stateE(i1 noundef zeroext true, ptr noundef %39)
  %41 = zext i1 %40 to i8
  store i8 %41, ptr %12, align 1, !tbaa !5
  %42 = load ptr, ptr %4, align 8, !tbaa !9
  %43 = call noundef zeroext i1 @_ZL34testlinlsqrunit_preconditionertestPN11alglib_impl8ae_stateE(ptr noundef %42)
  %44 = zext i1 %43 to i8
  store i8 %44, ptr %13, align 1, !tbaa !5
  %45 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZL39testlinlsqrunit_testterminationrequestsPbPN11alglib_impl8ae_stateE(ptr noundef %14, ptr noundef %45)
  %46 = load i8, ptr %5, align 1, !tbaa !5, !range !11, !noundef !12
  %47 = trunc i8 %46 to i1
  br i1 %47, label %75, label %48

48:                                               ; preds = %2
  %49 = load i8, ptr %6, align 1, !tbaa !5, !range !11, !noundef !12
  %50 = trunc i8 %49 to i1
  br i1 %50, label %75, label %51

51:                                               ; preds = %48
  %52 = load i8, ptr %7, align 1, !tbaa !5, !range !11, !noundef !12
  %53 = trunc i8 %52 to i1
  br i1 %53, label %75, label %54

54:                                               ; preds = %51
  %55 = load i8, ptr %8, align 1, !tbaa !5, !range !11, !noundef !12
  %56 = trunc i8 %55 to i1
  br i1 %56, label %75, label %57

57:                                               ; preds = %54
  %58 = load i8, ptr %9, align 1, !tbaa !5, !range !11, !noundef !12
  %59 = trunc i8 %58 to i1
  br i1 %59, label %75, label %60

60:                                               ; preds = %57
  %61 = load i8, ptr %10, align 1, !tbaa !5, !range !11, !noundef !12
  %62 = trunc i8 %61 to i1
  br i1 %62, label %75, label %63

63:                                               ; preds = %60
  %64 = load i8, ptr %11, align 1, !tbaa !5, !range !11, !noundef !12
  %65 = trunc i8 %64 to i1
  br i1 %65, label %75, label %66

66:                                               ; preds = %63
  %67 = load i8, ptr %12, align 1, !tbaa !5, !range !11, !noundef !12
  %68 = trunc i8 %67 to i1
  br i1 %68, label %75, label %69

69:                                               ; preds = %66
  %70 = load i8, ptr %13, align 1, !tbaa !5, !range !11, !noundef !12
  %71 = trunc i8 %70 to i1
  br i1 %71, label %75, label %72

72:                                               ; preds = %69
  %73 = load i8, ptr %14, align 1, !tbaa !5, !range !11, !noundef !12
  %74 = trunc i8 %73 to i1
  br label %75

75:                                               ; preds = %72, %69, %66, %63, %60, %57, %54, %51, %48, %2
  %76 = phi i1 [ true, %69 ], [ true, %66 ], [ true, %63 ], [ true, %60 ], [ true, %57 ], [ true, %54 ], [ true, %51 ], [ true, %48 ], [ true, %2 ], [ %74, %72 ]
  %77 = zext i1 %76 to i8
  store i8 %77, ptr %15, align 1, !tbaa !5
  %78 = load i8, ptr %3, align 1, !tbaa !5, !range !11, !noundef !12
  %79 = trunc i8 %78 to i1
  br i1 %79, label %172, label %80

80:                                               ; preds = %75
  %81 = call i32 (ptr, ...) @printf(ptr noundef @.str.351)
  %82 = call i32 (ptr, ...) @printf(ptr noundef @.str.352)
  %83 = call i32 (ptr, ...) @printf(ptr noundef @.str.353)
  %84 = load i8, ptr %5, align 1, !tbaa !5, !range !11, !noundef !12
  %85 = trunc i8 %84 to i1
  br i1 %85, label %86, label %88

86:                                               ; preds = %80
  %87 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
  br label %90

88:                                               ; preds = %80
  %89 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
  br label %90

90:                                               ; preds = %88, %86
  %91 = call i32 (ptr, ...) @printf(ptr noundef @.str.354)
  %92 = load i8, ptr %6, align 1, !tbaa !5, !range !11, !noundef !12
  %93 = trunc i8 %92 to i1
  br i1 %93, label %94, label %96

94:                                               ; preds = %90
  %95 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
  br label %98

96:                                               ; preds = %90
  %97 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
  br label %98

98:                                               ; preds = %96, %94
  %99 = call i32 (ptr, ...) @printf(ptr noundef @.str.355)
  %100 = load i8, ptr %7, align 1, !tbaa !5, !range !11, !noundef !12
  %101 = trunc i8 %100 to i1
  br i1 %101, label %102, label %104

102:                                              ; preds = %98
  %103 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
  br label %106

104:                                              ; preds = %98
  %105 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
  br label %106

106:                                              ; preds = %104, %102
  %107 = call i32 (ptr, ...) @printf(ptr noundef @.str.356)
  %108 = load i8, ptr %8, align 1, !tbaa !5, !range !11, !noundef !12
  %109 = trunc i8 %108 to i1
  br i1 %109, label %110, label %112

110:                                              ; preds = %106
  %111 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
  br label %114

112:                                              ; preds = %106
  %113 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
  br label %114

114:                                              ; preds = %112, %110
  %115 = call i32 (ptr, ...) @printf(ptr noundef @.str.357)
  %116 = load i8, ptr %9, align 1, !tbaa !5, !range !11, !noundef !12
  %117 = trunc i8 %116 to i1
  br i1 %117, label %118, label %120

118:                                              ; preds = %114
  %119 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
  br label %122

120:                                              ; preds = %114
  %121 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
  br label %122

122:                                              ; preds = %120, %118
  %123 = call i32 (ptr, ...) @printf(ptr noundef @.str.358)
  %124 = call i32 (ptr, ...) @printf(ptr noundef @.str.359)
  %125 = load i8, ptr %10, align 1, !tbaa !5, !range !11, !noundef !12
  %126 = trunc i8 %125 to i1
  br i1 %126, label %127, label %129

127:                                              ; preds = %122
  %128 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
  br label %131

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

131:                                              ; preds = %129, %127
  %132 = call i32 (ptr, ...) @printf(ptr noundef @.str.360)
  %133 = load i8, ptr %11, align 1, !tbaa !5, !range !11, !noundef !12
  %134 = trunc i8 %133 to i1
  br i1 %134, label %135, label %137

135:                                              ; preds = %131
  %136 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
  br label %139

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

139:                                              ; preds = %137, %135
  %140 = call i32 (ptr, ...) @printf(ptr noundef @.str.361)
  %141 = load i8, ptr %12, align 1, !tbaa !5, !range !11, !noundef !12
  %142 = trunc i8 %141 to i1
  br i1 %142, label %143, label %145

143:                                              ; preds = %139
  %144 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
  br label %147

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

147:                                              ; preds = %145, %143
  %148 = call i32 (ptr, ...) @printf(ptr noundef @.str.362)
  %149 = load i8, ptr %13, align 1, !tbaa !5, !range !11, !noundef !12
  %150 = trunc i8 %149 to i1
  br i1 %150, label %151, label %153

151:                                              ; preds = %147
  %152 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
  br label %155

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

155:                                              ; preds = %153, %151
  %156 = call i32 (ptr, ...) @printf(ptr noundef @.str.363)
  %157 = load i8, ptr %14, align 1, !tbaa !5, !range !11, !noundef !12
  %158 = trunc i8 %157 to i1
  br i1 %158, label %159, label %161

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

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

163:                                              ; preds = %161, %159
  %164 = load i8, ptr %15, align 1, !tbaa !5, !range !11, !noundef !12
  %165 = trunc i8 %164 to i1
  br i1 %165, label %166, label %168

166:                                              ; preds = %163
  %167 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
  br label %170

168:                                              ; preds = %163
  %169 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
  br label %170

170:                                              ; preds = %168, %166
  %171 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
  br label %172

172:                                              ; preds = %170, %75
  %173 = load i8, ptr %15, align 1, !tbaa !5, !range !11, !noundef !12
  %174 = trunc i8 %173 to i1
  %175 = xor i1 %174, true
  %176 = zext i1 %175 to i8
  store i8 %176, ptr %16, align 1, !tbaa !5
  %177 = load i8, ptr %16, align 1, !tbaa !5, !range !11, !noundef !12
  %178 = trunc i8 %177 to i1
  call void @llvm.lifetime.end.p0(i64 1, ptr %16) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr %14) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr %13) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr %12) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr %11) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr %10) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr %9) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr %8) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr %7) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr %6) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr %5) #3
  ret i1 %178
}

; Function Attrs: mustprogress uwtable
declare hidden noundef zeroext i1 @_ZL23testlinlsqrunit_svdtestbPN11alglib_impl8ae_stateE(i1 noundef zeroext, ptr noundef) #2

; Function Attrs: mustprogress uwtable
declare hidden noundef zeroext i1 @_ZL30testlinlsqrunit_mwcranksvdtestbPN11alglib_impl8ae_stateE(i1 noundef zeroext, ptr noundef) #2

; Function Attrs: mustprogress uwtable
declare hidden noundef zeroext i1 @_ZL31testlinlsqrunit_mwicranksvdtestbPN11alglib_impl8ae_stateE(i1 noundef zeroext, ptr noundef) #2

; Function Attrs: mustprogress uwtable
declare hidden noundef zeroext i1 @_ZL30testlinlsqrunit_bidiagonaltestbPN11alglib_impl8ae_stateE(i1 noundef zeroext, ptr noundef) #2

; Function Attrs: mustprogress uwtable
declare hidden noundef zeroext i1 @_ZL30testlinlsqrunit_zeromatrixtestbPN11alglib_impl8ae_stateE(i1 noundef zeroext, ptr noundef) #2

; Function Attrs: mustprogress uwtable
declare hidden noundef zeroext i1 @_ZL37testlinlsqrunit_reportcorrectnesstestbPN11alglib_impl8ae_stateE(i1 noundef zeroext, ptr noundef) #2

; Function Attrs: mustprogress uwtable
declare hidden noundef zeroext i1 @_ZL36testlinlsqrunit_stoppingcriteriatestbPN11alglib_impl8ae_stateE(i1 noundef zeroext, ptr noundef) #2

; Function Attrs: mustprogress uwtable
declare hidden noundef zeroext i1 @_ZL28testlinlsqrunit_analytictestbPN11alglib_impl8ae_stateE(i1 noundef zeroext, ptr noundef) #2

; Function Attrs: mustprogress uwtable
declare hidden noundef zeroext i1 @_ZL34testlinlsqrunit_preconditionertestPN11alglib_impl8ae_stateE(ptr noundef) #2

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

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

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

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


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

@.str.1 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.351 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.352 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.353 = external hidden unnamed_addr constant [47 x i8], align 1
@.str.354 = external hidden unnamed_addr constant [47 x i8], align 1
@.str.355 = external hidden unnamed_addr constant [47 x i8], align 1
@.str.356 = external hidden unnamed_addr constant [47 x i8], align 1
@.str.357 = external hidden unnamed_addr constant [47 x i8], align 1
@.str.358 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.359 = external hidden unnamed_addr constant [47 x i8], align 1
@.str.360 = external hidden unnamed_addr constant [47 x i8], align 1
@.str.361 = external hidden unnamed_addr constant [47 x i8], align 1
@.str.362 = external hidden unnamed_addr constant [47 x i8], align 1
@.str.363 = external hidden unnamed_addr constant [47 x i8], align 1

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_Z11testlinlsqrbPN11alglib_impl8ae_stateE(i1 noundef zeroext %0, ptr noundef %1) local_unnamed_addr #2 {
  %3 = alloca i8, align 1
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %3) #3
  store i8 0, ptr %3, align 1, !tbaa !5
  %4 = tail call noundef zeroext i1 @_ZL23testlinlsqrunit_svdtestbPN11alglib_impl8ae_stateE(i1 noundef zeroext true, ptr noundef %1)
  %5 = tail call noundef zeroext i1 @_ZL30testlinlsqrunit_mwcranksvdtestbPN11alglib_impl8ae_stateE(i1 noundef zeroext true, ptr noundef %1)
  %6 = tail call noundef zeroext i1 @_ZL31testlinlsqrunit_mwicranksvdtestbPN11alglib_impl8ae_stateE(i1 noundef zeroext true, ptr noundef %1)
  %7 = tail call noundef zeroext i1 @_ZL30testlinlsqrunit_bidiagonaltestbPN11alglib_impl8ae_stateE(i1 noundef zeroext true, ptr noundef %1)
  %8 = tail call noundef zeroext i1 @_ZL30testlinlsqrunit_zeromatrixtestbPN11alglib_impl8ae_stateE(i1 noundef zeroext true, ptr noundef %1)
  %9 = tail call noundef zeroext i1 @_ZL37testlinlsqrunit_reportcorrectnesstestbPN11alglib_impl8ae_stateE(i1 noundef zeroext true, ptr noundef %1)
  %10 = tail call noundef zeroext i1 @_ZL36testlinlsqrunit_stoppingcriteriatestbPN11alglib_impl8ae_stateE(i1 noundef zeroext true, ptr noundef %1)
  %11 = tail call noundef zeroext i1 @_ZL28testlinlsqrunit_analytictestbPN11alglib_impl8ae_stateE(i1 noundef zeroext true, ptr noundef %1)
  %12 = tail call noundef zeroext i1 @_ZL34testlinlsqrunit_preconditionertestPN11alglib_impl8ae_stateE(ptr noundef %1)
  call void @_ZL39testlinlsqrunit_testterminationrequestsPbPN11alglib_impl8ae_stateE(ptr noundef nonnull %3, ptr noundef %1)
  %brmerge = or i1 %4, %5
  %brmerge31 = or i1 %brmerge, %6
  %brmerge32 = or i1 %brmerge31, %7
  %brmerge33 = or i1 %brmerge32, %8
  %brmerge34 = or i1 %brmerge33, %9
  %brmerge35 = or i1 %brmerge34, %10
  %brmerge36 = or i1 %brmerge35, %11
  %brmerge37 = or i1 %brmerge36, %12
  br i1 %brmerge37, label %16, label %13

13:                                               ; preds = %2
  %14 = load i8, ptr %3, align 1, !tbaa !5, !range !9, !noundef !10
  %15 = trunc nuw i8 %14 to i1
  br label %16

16:                                               ; preds = %2, %13
  %17 = phi i1 [ true, %2 ], [ %15, %13 ]
  br i1 %0, label %46, label %18

18:                                               ; preds = %16
  %19 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.351)
  %20 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.352)
  %21 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.353)
  %.str.7..str.6 = select i1 %4, ptr @.str.7, ptr @.str.6
  %22 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %.str.7..str.6)
  %23 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.354)
  %.str.6.sink38 = select i1 %5, ptr @.str.7, ptr @.str.6
  %24 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %.str.6.sink38)
  %25 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.355)
  %.str.6.sink39 = select i1 %6, ptr @.str.7, ptr @.str.6
  %26 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %.str.6.sink39)
  %27 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.356)
  %.str.6.sink40 = select i1 %7, ptr @.str.7, ptr @.str.6
  %28 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %.str.6.sink40)
  %29 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.357)
  %.str.6.sink41 = select i1 %8, ptr @.str.7, ptr @.str.6
  %30 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %.str.6.sink41)
  %31 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.358)
  %32 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.359)
  %.str.6.sink42 = select i1 %9, ptr @.str.7, ptr @.str.6
  %33 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %.str.6.sink42)
  %34 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.360)
  %.str.6.sink43 = select i1 %10, ptr @.str.7, ptr @.str.6
  %35 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %.str.6.sink43)
  %36 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.361)
  %.str.6.sink44 = select i1 %11, ptr @.str.7, ptr @.str.6
  %37 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %.str.6.sink44)
  %38 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.362)
  %.str.6.sink45 = select i1 %12, ptr @.str.7, ptr @.str.6
  %39 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %.str.6.sink45)
  %40 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.363)
  %41 = load i8, ptr %3, align 1, !tbaa !5, !range !9, !noundef !10
  %42 = trunc nuw i8 %41 to i1
  %.str.6.sink46 = select i1 %42, ptr @.str.7, ptr @.str.6
  %43 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %.str.6.sink46)
  %.str.2.sink = select i1 %17, ptr @.str.1, ptr @.str.2
  %44 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %.str.2.sink)
  %45 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3)
  br label %46

46:                                               ; preds = %18, %16
  %47 = xor i1 %17, true
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %3) #3
  ret i1 %47
}

; Function Attrs: mustprogress uwtable
declare hidden noundef zeroext i1 @_ZL23testlinlsqrunit_svdtestbPN11alglib_impl8ae_stateE(i1 noundef zeroext, ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare hidden noundef zeroext i1 @_ZL30testlinlsqrunit_mwcranksvdtestbPN11alglib_impl8ae_stateE(i1 noundef zeroext, ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare hidden noundef zeroext i1 @_ZL31testlinlsqrunit_mwicranksvdtestbPN11alglib_impl8ae_stateE(i1 noundef zeroext, ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare hidden noundef zeroext i1 @_ZL30testlinlsqrunit_bidiagonaltestbPN11alglib_impl8ae_stateE(i1 noundef zeroext, ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare hidden noundef zeroext i1 @_ZL30testlinlsqrunit_zeromatrixtestbPN11alglib_impl8ae_stateE(i1 noundef zeroext, ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare hidden noundef zeroext i1 @_ZL37testlinlsqrunit_reportcorrectnesstestbPN11alglib_impl8ae_stateE(i1 noundef zeroext, ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare hidden noundef zeroext i1 @_ZL36testlinlsqrunit_stoppingcriteriatestbPN11alglib_impl8ae_stateE(i1 noundef zeroext, ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare hidden noundef zeroext i1 @_ZL28testlinlsqrunit_analytictestbPN11alglib_impl8ae_stateE(i1 noundef zeroext, ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare hidden noundef zeroext i1 @_ZL34testlinlsqrunit_preconditionertestPN11alglib_impl8ae_stateE(ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL39testlinlsqrunit_testterminationrequestsPbPN11alglib_impl8ae_stateE(ptr noundef, ptr 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 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }

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

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


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