; LLVM IR from venumb/ZSPACE :: cpp/depends/alglib/cpp/tests/test_c.ll (Z9testminqpbPN11alglib_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.369 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.370 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.371 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.372 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.373 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.374 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.375 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.376 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.377 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.378 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.379 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.380 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.381 = external hidden unnamed_addr constant [43 x i8], align 1

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_Z9testminqpbPN11alglib_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 = alloca i8, align 1
  %18 = zext i1 %0 to i8
  store i8 %18, ptr %3, align 1, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 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
  call void @llvm.lifetime.start.p0(i64 1, ptr %17) #3
  %19 = load ptr, ptr %4, align 8, !tbaa !9
  %20 = call noundef zeroext i1 @_Z10simpletestPN11alglib_impl8ae_stateE(ptr noundef %19)
  %21 = zext i1 %20 to i8
  store i8 %21, ptr %5, align 1, !tbaa !5
  %22 = load ptr, ptr %4, align 8, !tbaa !9
  %23 = call noundef zeroext i1 @_Z9functest1PN11alglib_impl8ae_stateE(ptr noundef %22)
  %24 = zext i1 %23 to i8
  store i8 %24, ptr %6, align 1, !tbaa !5
  %25 = load ptr, ptr %4, align 8, !tbaa !9
  %26 = call noundef zeroext i1 @_Z9functest2PN11alglib_impl8ae_stateE(ptr noundef %25)
  %27 = zext i1 %26 to i8
  store i8 %27, ptr %7, align 1, !tbaa !5
  store i8 0, ptr %14, align 1, !tbaa !5
  %28 = load ptr, ptr %4, align 8, !tbaa !9
  %29 = call noundef zeroext i1 @_Z12quickqptestsPN11alglib_impl8ae_stateE(ptr noundef %28)
  %30 = zext i1 %29 to i8
  store i8 %30, ptr %12, align 1, !tbaa !5
  %31 = load ptr, ptr %4, align 8, !tbaa !9
  %32 = call noundef zeroext i1 @_Z10bleictestsPN11alglib_impl8ae_stateE(ptr noundef %31)
  %33 = zext i1 %32 to i8
  store i8 %33, ptr %13, align 1, !tbaa !5
  %34 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZL27testminqpunit_denseaultestsPbPN11alglib_impl8ae_stateE(ptr noundef %14, ptr noundef %34)
  store i8 0, ptr %10, align 1, !tbaa !5
  store i8 0, ptr %11, align 1, !tbaa !5
  store i8 0, ptr %8, align 1, !tbaa !5
  %35 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZL22testminqpunit_bcqptestPbPN11alglib_impl8ae_stateE(ptr noundef %8, ptr noundef %35)
  %36 = load ptr, ptr %4, align 8, !tbaa !9
  %37 = call noundef zeroext i1 @_ZL22testminqpunit_ecqptestPN11alglib_impl8ae_stateE(ptr noundef %36)
  %38 = zext i1 %37 to i8
  store i8 %38, ptr %9, align 1, !tbaa !5
  %39 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZL22testminqpunit_icqptestPbPN11alglib_impl8ae_stateE(ptr noundef %10, ptr noundef %39)
  %40 = load i8, ptr %10, align 1, !tbaa !5, !range !11, !noundef !12
  %41 = trunc i8 %40 to i1
  br i1 %41, label %45, label %42

42:                                               ; preds = %2
  %43 = load ptr, ptr %4, align 8, !tbaa !9
  %44 = call noundef zeroext i1 @_ZL30testminqpunit_specialicqptestsPN11alglib_impl8ae_stateE(ptr noundef %43)
  br label %45

45:                                               ; preds = %42, %2
  %46 = phi i1 [ true, %2 ], [ %44, %42 ]
  %47 = zext i1 %46 to i8
  store i8 %47, ptr %10, align 1, !tbaa !5
  %48 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZL29testminqpunit_generallcqptestPbPN11alglib_impl8ae_stateE(ptr noundef %11, ptr noundef %48)
  store i8 0, ptr %15, align 1, !tbaa !5
  %49 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZL23testminqpunit_spectestsPbPN11alglib_impl8ae_stateE(ptr noundef %15, ptr noundef %49)
  %50 = load i8, ptr %5, align 1, !tbaa !5, !range !11, !noundef !12
  %51 = trunc i8 %50 to i1
  br i1 %51, label %82, label %52

52:                                               ; preds = %45
  %53 = load i8, ptr %6, align 1, !tbaa !5, !range !11, !noundef !12
  %54 = trunc i8 %53 to i1
  br i1 %54, label %82, label %55

55:                                               ; preds = %52
  %56 = load i8, ptr %7, align 1, !tbaa !5, !range !11, !noundef !12
  %57 = trunc i8 %56 to i1
  br i1 %57, label %82, label %58

58:                                               ; preds = %55
  %59 = load i8, ptr %8, align 1, !tbaa !5, !range !11, !noundef !12
  %60 = trunc i8 %59 to i1
  br i1 %60, label %82, label %61

61:                                               ; preds = %58
  %62 = load i8, ptr %9, align 1, !tbaa !5, !range !11, !noundef !12
  %63 = trunc i8 %62 to i1
  br i1 %63, label %82, label %64

64:                                               ; preds = %61
  %65 = load i8, ptr %10, align 1, !tbaa !5, !range !11, !noundef !12
  %66 = trunc i8 %65 to i1
  br i1 %66, label %82, label %67

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

70:                                               ; preds = %67
  %71 = load i8, ptr %12, align 1, !tbaa !5, !range !11, !noundef !12
  %72 = trunc i8 %71 to i1
  br i1 %72, label %82, label %73

73:                                               ; preds = %70
  %74 = load i8, ptr %13, align 1, !tbaa !5, !range !11, !noundef !12
  %75 = trunc i8 %74 to i1
  br i1 %75, label %82, label %76

76:                                               ; preds = %73
  %77 = load i8, ptr %14, align 1, !tbaa !5, !range !11, !noundef !12
  %78 = trunc i8 %77 to i1
  br i1 %78, label %82, label %79

79:                                               ; preds = %76
  %80 = load i8, ptr %15, align 1, !tbaa !5, !range !11, !noundef !12
  %81 = trunc i8 %80 to i1
  br label %82

82:                                               ; preds = %79, %76, %73, %70, %67, %64, %61, %58, %55, %52, %45
  %83 = phi i1 [ true, %76 ], [ true, %73 ], [ true, %70 ], [ true, %67 ], [ true, %64 ], [ true, %61 ], [ true, %58 ], [ true, %55 ], [ true, %52 ], [ true, %45 ], [ %81, %79 ]
  %84 = zext i1 %83 to i8
  store i8 %84, ptr %16, align 1, !tbaa !5
  %85 = load i8, ptr %3, align 1, !tbaa !5, !range !11, !noundef !12
  %86 = trunc i8 %85 to i1
  br i1 %86, label %178, label %87

87:                                               ; preds = %82
  %88 = call i32 (ptr, ...) @printf(ptr noundef @.str.369)
  %89 = call i32 (ptr, ...) @printf(ptr noundef @.str.370)
  %90 = call i32 (ptr, ...) @printf(ptr noundef @.str.371)
  %91 = load i8, ptr %5, align 1, !tbaa !5, !range !11, !noundef !12
  %92 = trunc i8 %91 to i1
  br i1 %92, label %93, label %95

93:                                               ; preds = %87
  %94 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
  br label %97

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

97:                                               ; preds = %95, %93
  %98 = call i32 (ptr, ...) @printf(ptr noundef @.str.372)
  %99 = load i8, ptr %6, align 1, !tbaa !5, !range !11, !noundef !12
  %100 = trunc i8 %99 to i1
  br i1 %100, label %101, label %103

101:                                              ; preds = %97
  %102 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
  br label %105

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

105:                                              ; preds = %103, %101
  %106 = call i32 (ptr, ...) @printf(ptr noundef @.str.373)
  %107 = load i8, ptr %7, align 1, !tbaa !5, !range !11, !noundef !12
  %108 = trunc i8 %107 to i1
  br i1 %108, label %109, label %111

109:                                              ; preds = %105
  %110 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
  br label %113

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

113:                                              ; preds = %111, %109
  %114 = call i32 (ptr, ...) @printf(ptr noundef @.str.374)
  %115 = call i32 (ptr, ...) @printf(ptr noundef @.str.375)
  %116 = load i8, ptr %8, align 1, !tbaa !5, !range !11, !noundef !12
  %117 = trunc i8 %116 to i1
  br i1 %117, label %118, label %120

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

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

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

126:                                              ; preds = %122
  %127 = load i8, ptr %10, align 1, !tbaa !5, !range !11, !noundef !12
  %128 = trunc i8 %127 to i1
  br i1 %128, label %132, label %129

129:                                              ; preds = %126
  %130 = load i8, ptr %11, align 1, !tbaa !5, !range !11, !noundef !12
  %131 = trunc i8 %130 to i1
  br i1 %131, label %132, label %134

132:                                              ; preds = %129, %126, %122
  %133 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
  br label %136

134:                                              ; preds = %129
  %135 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
  br label %136

136:                                              ; preds = %134, %132
  %137 = call i32 (ptr, ...) @printf(ptr noundef @.str.377)
  %138 = call i32 (ptr, ...) @printf(ptr noundef @.str.378)
  %139 = load i8, ptr %12, align 1, !tbaa !5, !range !11, !noundef !12
  %140 = trunc i8 %139 to i1
  br i1 %140, label %141, label %143

141:                                              ; preds = %136
  %142 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
  br label %145

143:                                              ; preds = %136
  %144 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
  br label %145

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

149:                                              ; preds = %145
  %150 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
  br label %153

151:                                              ; preds = %145
  %152 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
  br label %153

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

157:                                              ; preds = %153
  %158 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
  br label %161

159:                                              ; preds = %153
  %160 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
  br label %161

161:                                              ; preds = %159, %157
  %162 = call i32 (ptr, ...) @printf(ptr noundef @.str.381)
  %163 = load i8, ptr %15, align 1, !tbaa !5, !range !11, !noundef !12
  %164 = trunc i8 %163 to i1
  br i1 %164, label %165, label %167

165:                                              ; preds = %161
  %166 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
  br label %169

167:                                              ; preds = %161
  %168 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
  br label %169

169:                                              ; preds = %167, %165
  %170 = load i8, ptr %16, align 1, !tbaa !5, !range !11, !noundef !12
  %171 = trunc i8 %170 to i1
  br i1 %171, label %172, label %174

172:                                              ; preds = %169
  %173 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
  br label %176

174:                                              ; preds = %169
  %175 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
  br label %176

176:                                              ; preds = %174, %172
  %177 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
  br label %178

178:                                              ; preds = %176, %82
  %179 = load i8, ptr %16, align 1, !tbaa !5, !range !11, !noundef !12
  %180 = trunc i8 %179 to i1
  %181 = xor i1 %180, true
  %182 = zext i1 %181 to i8
  store i8 %182, ptr %17, align 1, !tbaa !5
  %183 = load i8, ptr %17, align 1, !tbaa !5, !range !11, !noundef !12
  %184 = trunc i8 %183 to i1
  call void @llvm.lifetime.end.p0(i64 1, ptr %17) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr %16) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr %14) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr %13) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr %12) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr %11) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr %10) #3
  call void @llvm.lifetime.end.p0(i64 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 %184
}

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL23testminqpunit_spectestsPbPN11alglib_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.369 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.370 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.371 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.372 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.373 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.374 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.375 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.376 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.377 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.378 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.379 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.380 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.381 = external hidden unnamed_addr constant [43 x i8], align 1

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_Z9testminqpbPN11alglib_impl8ae_stateE(i1 noundef zeroext %0, ptr noundef %1) local_unnamed_addr #2 {
  %3 = alloca i8, align 1
  %4 = alloca i8, align 1
  %5 = alloca i8, align 1
  %6 = alloca i8, align 1
  %7 = alloca i8, align 1
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %3) #3
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %4) #3
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %5) #3
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %6) #3
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %7) #3
  %8 = tail call noundef zeroext i1 @_Z10simpletestPN11alglib_impl8ae_stateE(ptr noundef %1)
  %9 = tail call noundef zeroext i1 @_Z9functest1PN11alglib_impl8ae_stateE(ptr noundef %1)
  %10 = tail call noundef zeroext i1 @_Z9functest2PN11alglib_impl8ae_stateE(ptr noundef %1)
  store i8 0, ptr %6, align 1, !tbaa !5
  %11 = tail call noundef zeroext i1 @_Z12quickqptestsPN11alglib_impl8ae_stateE(ptr noundef %1)
  %12 = tail call noundef zeroext i1 @_Z10bleictestsPN11alglib_impl8ae_stateE(ptr noundef %1)
  call void @_ZL27testminqpunit_denseaultestsPbPN11alglib_impl8ae_stateE(ptr noundef nonnull %6, ptr noundef %1)
  store i8 0, ptr %4, align 1, !tbaa !5
  store i8 0, ptr %5, align 1, !tbaa !5
  store i8 0, ptr %3, align 1, !tbaa !5
  call void @_ZL22testminqpunit_bcqptestPbPN11alglib_impl8ae_stateE(ptr noundef nonnull %3, ptr noundef %1)
  %13 = call noundef zeroext i1 @_ZL22testminqpunit_ecqptestPN11alglib_impl8ae_stateE(ptr noundef %1)
  call void @_ZL22testminqpunit_icqptestPbPN11alglib_impl8ae_stateE(ptr noundef nonnull %4, ptr noundef %1)
  %14 = load i8, ptr %4, align 1, !tbaa !5, !range !9, !noundef !10
  %15 = trunc nuw i8 %14 to i1
  br i1 %15, label %19, label %16

16:                                               ; preds = %2
  %17 = call noundef zeroext i1 @_ZL30testminqpunit_specialicqptestsPN11alglib_impl8ae_stateE(ptr noundef %1)
  %18 = zext i1 %17 to i8
  br label %19

19:                                               ; preds = %16, %2
  %20 = phi i8 [ 1, %2 ], [ %18, %16 ]
  store i8 %20, ptr %4, align 1, !tbaa !5
  call void @_ZL29testminqpunit_generallcqptestPbPN11alglib_impl8ae_stateE(ptr noundef nonnull %5, ptr noundef %1)
  store i8 0, ptr %7, align 1, !tbaa !5
  call void @_ZL23testminqpunit_spectestsPbPN11alglib_impl8ae_stateE(ptr noundef nonnull %7, ptr noundef %1)
  %brmerge = or i1 %8, %9
  %brmerge27 = or i1 %brmerge, %10
  %21 = load i8, ptr %3, align 1, !range !9
  %22 = trunc nuw i8 %21 to i1
  %brmerge28 = or i1 %13, %22
  %or.cond = select i1 %brmerge27, i1 true, i1 %brmerge28
  br i1 %or.cond, label %35, label %23

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

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

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

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

35:                                               ; preds = %26, %19, %32, %29, %23
  %36 = phi i1 [ true, %29 ], [ true, %26 ], [ true, %23 ], [ true, %19 ], [ %34, %32 ]
  br i1 %0, label %75, label %37

37:                                               ; preds = %35
  %38 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.369)
  %39 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.370)
  %40 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.371)
  %.str.7..str.6 = select i1 %8, ptr @.str.7, ptr @.str.6
  %41 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %.str.7..str.6)
  %42 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.372)
  %.str.6.sink32 = select i1 %9, ptr @.str.7, ptr @.str.6
  %43 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %.str.6.sink32)
  %44 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.373)
  %.str.6.sink33 = select i1 %10, ptr @.str.7, ptr @.str.6
  %45 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %.str.6.sink33)
  %46 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.374)
  %47 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.375)
  %48 = load i8, ptr %3, align 1, !tbaa !5, !range !9, !noundef !10
  %49 = trunc nuw i8 %48 to i1
  %.str.6.sink34 = select i1 %49, ptr @.str.7, ptr @.str.6
  %50 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %.str.6.sink34)
  %51 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.376)
  br i1 %13, label %58, label %52

52:                                               ; preds = %37
  %53 = load i8, ptr %4, align 1, !tbaa !5, !range !9, !noundef !10
  %54 = trunc nuw i8 %53 to i1
  br i1 %54, label %58, label %55

55:                                               ; preds = %52
  %56 = load i8, ptr %5, align 1, !tbaa !5, !range !9, !noundef !10
  %57 = trunc nuw i8 %56 to i1
  %spec.select = select i1 %57, ptr @.str.7, ptr @.str.6
  br label %58

58:                                               ; preds = %55, %37, %52
  %.str.6.sink35 = phi ptr [ @.str.7, %52 ], [ @.str.7, %37 ], [ %spec.select, %55 ]
  %59 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %.str.6.sink35)
  %60 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.377)
  %61 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.378)
  %.str.7..str.640 = select i1 %11, ptr @.str.7, ptr @.str.6
  %62 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %.str.7..str.640)
  %63 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.379)
  %.str.6.sink37 = select i1 %12, ptr @.str.7, ptr @.str.6
  %64 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %.str.6.sink37)
  %65 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.380)
  %66 = load i8, ptr %6, align 1, !tbaa !5, !range !9, !noundef !10
  %67 = trunc nuw i8 %66 to i1
  %.str.6.sink38 = select i1 %67, ptr @.str.7, ptr @.str.6
  %68 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %.str.6.sink38)
  %69 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.381)
  %70 = load i8, ptr %7, align 1, !tbaa !5, !range !9, !noundef !10
  %71 = trunc nuw i8 %70 to i1
  %.str.6.sink39 = select i1 %71, ptr @.str.7, ptr @.str.6
  %72 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %.str.6.sink39)
  %.str.2.sink = select i1 %36, ptr @.str.1, ptr @.str.2
  %73 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %.str.2.sink)
  %74 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3)
  br label %75

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL23testminqpunit_spectestsPbPN11alglib_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,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass