; LLVM IR from Dimandragon/non-parametric-dsp :: 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.2 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.610 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.611 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.612 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.613 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.614 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.615 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.616 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.617 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.618 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.619 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.620 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.621 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.622 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.623 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.624 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.625 = 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 = alloca i8, align 1
  %19 = alloca i8, align 1
  %20 = alloca i8, align 1
  %21 = zext i1 %0 to i8
  store i8 %21, 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
  call void @llvm.lifetime.start.p0(i64 1, ptr %18) #3
  call void @llvm.lifetime.start.p0(i64 1, ptr %19) #3
  call void @llvm.lifetime.start.p0(i64 1, ptr %20) #3
  %22 = load ptr, ptr %4, align 8, !tbaa !9
  %23 = call noundef zeroext i1 @_Z10simpletestPN11alglib_impl8ae_stateE(ptr noundef %22)
  %24 = zext i1 %23 to i8
  store i8 %24, ptr %5, align 1, !tbaa !5
  %25 = load ptr, ptr %4, align 8, !tbaa !9
  %26 = call noundef zeroext i1 @_Z9functest1PN11alglib_impl8ae_stateE(ptr noundef %25)
  %27 = zext i1 %26 to i8
  store i8 %27, ptr %6, align 1, !tbaa !5
  %28 = load ptr, ptr %4, align 8, !tbaa !9
  %29 = call noundef zeroext i1 @_Z9functest2PN11alglib_impl8ae_stateE(ptr noundef %28)
  %30 = zext i1 %29 to i8
  store i8 %30, ptr %7, align 1, !tbaa !5
  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
  store i8 0, ptr %12, align 1, !tbaa !5
  store i8 0, ptr %13, align 1, !tbaa !5
  %31 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZL22testminqpunit_ccqptestPbPN11alglib_impl8ae_stateE(ptr noundef %13, ptr noundef %31)
  %32 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZL22testminqpunit_bcqptestPbPN11alglib_impl8ae_stateE(ptr noundef %8, ptr noundef %32)
  %33 = load ptr, ptr %4, align 8, !tbaa !9
  %34 = call noundef zeroext i1 @_ZL22testminqpunit_ecqptestPN11alglib_impl8ae_stateE(ptr noundef %33)
  %35 = zext i1 %34 to i8
  store i8 %35, ptr %9, align 1, !tbaa !5
  %36 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZL22testminqpunit_icqptestPbPN11alglib_impl8ae_stateE(ptr noundef %10, ptr noundef %36)
  %37 = load i8, ptr %10, align 1, !tbaa !5, !range !11, !noundef !12
  %38 = trunc i8 %37 to i1
  br i1 %38, label %42, label %39

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

42:                                               ; preds = %39, %2
  %43 = phi i1 [ true, %2 ], [ %41, %39 ]
  %44 = zext i1 %43 to i8
  store i8 %44, ptr %10, align 1, !tbaa !5
  %45 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZL29testminqpunit_generallcqptestPbPN11alglib_impl8ae_stateE(ptr noundef %11, ptr noundef %45)
  %46 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZL22testminqpunit_qcqptestPbPN11alglib_impl8ae_stateE(ptr noundef %12, ptr noundef %46)
  store i8 0, ptr %18, align 1, !tbaa !5
  %47 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZL23testminqpunit_spectestsPbPN11alglib_impl8ae_stateE(ptr noundef %18, ptr noundef %47)
  store i8 0, ptr %15, align 1, !tbaa !5
  store i8 0, ptr %16, align 1, !tbaa !5
  store i8 0, ptr %17, align 1, !tbaa !5
  %48 = load ptr, ptr %4, align 8, !tbaa !9
  %49 = call noundef zeroext i1 @_Z12quickqptestsPN11alglib_impl8ae_stateE(ptr noundef %48)
  %50 = zext i1 %49 to i8
  store i8 %50, ptr %14, align 1, !tbaa !5
  %51 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZL27testminqpunit_denseaultestsPbPN11alglib_impl8ae_stateE(ptr noundef %15, ptr noundef %51)
  %52 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZL22testminqpunit_ipmtestsPbPN11alglib_impl8ae_stateE(ptr noundef %16, ptr noundef %52)
  %53 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZL23testminqpunit_secqptestPbPN11alglib_impl8ae_stateE(ptr noundef %17, ptr noundef %53)
  %54 = load i8, ptr %5, align 1, !tbaa !5, !range !11, !noundef !12
  %55 = trunc i8 %54 to i1
  br i1 %55, label %95, label %56

56:                                               ; preds = %42
  %57 = load i8, ptr %6, align 1, !tbaa !5, !range !11, !noundef !12
  %58 = trunc i8 %57 to i1
  br i1 %58, label %95, label %59

59:                                               ; preds = %56
  %60 = load i8, ptr %7, align 1, !tbaa !5, !range !11, !noundef !12
  %61 = trunc i8 %60 to i1
  br i1 %61, label %95, label %62

62:                                               ; preds = %59
  %63 = load i8, ptr %8, align 1, !tbaa !5, !range !11, !noundef !12
  %64 = trunc i8 %63 to i1
  br i1 %64, label %95, label %65

65:                                               ; preds = %62
  %66 = load i8, ptr %9, align 1, !tbaa !5, !range !11, !noundef !12
  %67 = trunc i8 %66 to i1
  br i1 %67, label %95, label %68

68:                                               ; preds = %65
  %69 = load i8, ptr %10, align 1, !tbaa !5, !range !11, !noundef !12
  %70 = trunc i8 %69 to i1
  br i1 %70, label %95, label %71

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

74:                                               ; preds = %71
  %75 = load i8, ptr %14, align 1, !tbaa !5, !range !11, !noundef !12
  %76 = trunc i8 %75 to i1
  br i1 %76, label %95, label %77

77:                                               ; preds = %74
  %78 = load i8, ptr %15, align 1, !tbaa !5, !range !11, !noundef !12
  %79 = trunc i8 %78 to i1
  br i1 %79, label %95, label %80

80:                                               ; preds = %77
  %81 = load i8, ptr %16, align 1, !tbaa !5, !range !11, !noundef !12
  %82 = trunc i8 %81 to i1
  br i1 %82, label %95, label %83

83:                                               ; preds = %80
  %84 = load i8, ptr %17, align 1, !tbaa !5, !range !11, !noundef !12
  %85 = trunc i8 %84 to i1
  br i1 %85, label %95, label %86

86:                                               ; preds = %83
  %87 = load i8, ptr %18, align 1, !tbaa !5, !range !11, !noundef !12
  %88 = trunc i8 %87 to i1
  br i1 %88, label %95, label %89

89:                                               ; preds = %86
  %90 = load i8, ptr %12, align 1, !tbaa !5, !range !11, !noundef !12
  %91 = trunc i8 %90 to i1
  br i1 %91, label %95, label %92

92:                                               ; preds = %89
  %93 = load i8, ptr %13, align 1, !tbaa !5, !range !11, !noundef !12
  %94 = trunc i8 %93 to i1
  br label %95

95:                                               ; preds = %92, %89, %86, %83, %80, %77, %74, %71, %68, %65, %62, %59, %56, %42
  %96 = phi i1 [ true, %89 ], [ true, %86 ], [ true, %83 ], [ true, %80 ], [ true, %77 ], [ true, %74 ], [ true, %71 ], [ true, %68 ], [ true, %65 ], [ true, %62 ], [ true, %59 ], [ true, %56 ], [ true, %42 ], [ %94, %92 ]
  %97 = zext i1 %96 to i8
  store i8 %97, ptr %19, align 1, !tbaa !5
  %98 = load i8, ptr %3, align 1, !tbaa !5, !range !11, !noundef !12
  %99 = trunc i8 %98 to i1
  br i1 %99, label %215, label %100

100:                                              ; preds = %95
  %101 = call i32 (ptr, ...) @printf(ptr noundef @.str.610)
  %102 = call i32 (ptr, ...) @printf(ptr noundef @.str.611)
  %103 = call i32 (ptr, ...) @printf(ptr noundef @.str.612)
  %104 = load i8, ptr %5, align 1, !tbaa !5, !range !11, !noundef !12
  %105 = trunc i8 %104 to i1
  br i1 %105, label %106, label %108

106:                                              ; preds = %100
  %107 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
  br label %110

108:                                              ; preds = %100
  %109 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
  br label %110

110:                                              ; preds = %108, %106
  %111 = call i32 (ptr, ...) @printf(ptr noundef @.str.613)
  %112 = load i8, ptr %6, align 1, !tbaa !5, !range !11, !noundef !12
  %113 = trunc i8 %112 to i1
  br i1 %113, label %114, label %116

114:                                              ; preds = %110
  %115 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
  br label %118

116:                                              ; preds = %110
  %117 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
  br label %118

118:                                              ; preds = %116, %114
  %119 = call i32 (ptr, ...) @printf(ptr noundef @.str.614)
  %120 = load i8, ptr %7, align 1, !tbaa !5, !range !11, !noundef !12
  %121 = trunc i8 %120 to i1
  br i1 %121, label %122, label %124

122:                                              ; preds = %118
  %123 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
  br label %126

124:                                              ; preds = %118
  %125 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
  br label %126

126:                                              ; preds = %124, %122
  %127 = call i32 (ptr, ...) @printf(ptr noundef @.str.615)
  %128 = call i32 (ptr, ...) @printf(ptr noundef @.str.616)
  %129 = load i8, ptr %8, align 1, !tbaa !5, !range !11, !noundef !12
  %130 = trunc i8 %129 to i1
  br i1 %130, label %131, label %133

131:                                              ; preds = %126
  %132 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
  br label %135

133:                                              ; preds = %126
  %134 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
  br label %135

135:                                              ; preds = %133, %131
  %136 = call i32 (ptr, ...) @printf(ptr noundef @.str.617)
  %137 = load i8, ptr %9, align 1, !tbaa !5, !range !11, !noundef !12
  %138 = trunc i8 %137 to i1
  br i1 %138, label %145, label %139

139:                                              ; preds = %135
  %140 = load i8, ptr %10, align 1, !tbaa !5, !range !11, !noundef !12
  %141 = trunc i8 %140 to i1
  br i1 %141, label %145, label %142

142:                                              ; preds = %139
  %143 = load i8, ptr %11, align 1, !tbaa !5, !range !11, !noundef !12
  %144 = trunc i8 %143 to i1
  br i1 %144, label %145, label %147

145:                                              ; preds = %142, %139, %135
  %146 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
  br label %149

147:                                              ; preds = %142
  %148 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
  br label %149

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

153:                                              ; preds = %149
  %154 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
  br label %157

155:                                              ; preds = %149
  %156 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
  br label %157

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

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

163:                                              ; preds = %157
  %164 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
  br label %165

165:                                              ; preds = %163, %161
  %166 = call i32 (ptr, ...) @printf(ptr noundef @.str.620)
  %167 = call i32 (ptr, ...) @printf(ptr noundef @.str.621)
  %168 = load i8, ptr %14, align 1, !tbaa !5, !range !11, !noundef !12
  %169 = trunc i8 %168 to i1
  br i1 %169, label %170, label %172

170:                                              ; preds = %165
  %171 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
  br label %174

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

174:                                              ; preds = %172, %170
  %175 = call i32 (ptr, ...) @printf(ptr noundef @.str.622)
  %176 = load i8, ptr %15, align 1, !tbaa !5, !range !11, !noundef !12
  %177 = trunc i8 %176 to i1
  br i1 %177, label %178, label %180

178:                                              ; preds = %174
  %179 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
  br label %182

180:                                              ; preds = %174
  %181 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
  br label %182

182:                                              ; preds = %180, %178
  %183 = call i32 (ptr, ...) @printf(ptr noundef @.str.623)
  %184 = load i8, ptr %16, align 1, !tbaa !5, !range !11, !noundef !12
  %185 = trunc i8 %184 to i1
  br i1 %185, label %186, label %188

186:                                              ; preds = %182
  %187 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
  br label %190

188:                                              ; preds = %182
  %189 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
  br label %190

190:                                              ; preds = %188, %186
  %191 = call i32 (ptr, ...) @printf(ptr noundef @.str.624)
  %192 = load i8, ptr %17, align 1, !tbaa !5, !range !11, !noundef !12
  %193 = trunc i8 %192 to i1
  br i1 %193, label %194, label %196

194:                                              ; preds = %190
  %195 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
  br label %198

196:                                              ; preds = %190
  %197 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
  br label %198

198:                                              ; preds = %196, %194
  %199 = call i32 (ptr, ...) @printf(ptr noundef @.str.625)
  %200 = load i8, ptr %18, align 1, !tbaa !5, !range !11, !noundef !12
  %201 = trunc i8 %200 to i1
  br i1 %201, label %202, label %204

202:                                              ; preds = %198
  %203 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
  br label %206

204:                                              ; preds = %198
  %205 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
  br label %206

206:                                              ; preds = %204, %202
  %207 = load i8, ptr %19, align 1, !tbaa !5, !range !11, !noundef !12
  %208 = trunc i8 %207 to i1
  br i1 %208, label %209, label %211

209:                                              ; preds = %206
  %210 = call i32 (ptr, ...) @printf(ptr noundef @.str.15)
  br label %213

211:                                              ; preds = %206
  %212 = call i32 (ptr, ...) @printf(ptr noundef @.str.16)
  br label %213

213:                                              ; preds = %211, %209
  %214 = call i32 (ptr, ...) @printf(ptr noundef @.str.17)
  br label %215

215:                                              ; preds = %213, %95
  %216 = load i8, ptr %19, align 1, !tbaa !5, !range !11, !noundef !12
  %217 = trunc i8 %216 to i1
  %218 = xor i1 %217, true
  %219 = zext i1 %218 to i8
  store i8 %219, ptr %20, align 1, !tbaa !5
  %220 = load i8, ptr %20, align 1, !tbaa !5, !range !11, !noundef !12
  %221 = trunc i8 %220 to i1
  call void @llvm.lifetime.end.p0(i64 1, ptr %20) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr %19) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr %18) #3
  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 %221
}

; 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 hidden void @_ZL22testminqpunit_ccqptestPbPN11alglib_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 @_ZL22testminqpunit_qcqptestPbPN11alglib_impl8ae_stateE(ptr noundef, ptr noundef) #2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_Z12quickqptestsPN11alglib_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_ipmtestsPbPN11alglib_impl8ae_stateE(ptr noundef, ptr noundef) #2

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL23testminqpunit_secqptestPbPN11alglib_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.2 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.610 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.611 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.612 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.613 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.614 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.615 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.616 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.617 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.618 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.619 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.620 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.621 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.622 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.623 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.624 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.625 = 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
  %8 = alloca i8, align 1
  %9 = alloca i8, align 1
  %10 = alloca i8, align 1
  %11 = 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
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %8) #3
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %9) #3
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %10) #3
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %11) #3
  %12 = tail call noundef zeroext i1 @_Z10simpletestPN11alglib_impl8ae_stateE(ptr noundef %1)
  %13 = tail call noundef zeroext i1 @_Z9functest1PN11alglib_impl8ae_stateE(ptr noundef %1)
  %14 = tail call noundef zeroext i1 @_Z9functest2PN11alglib_impl8ae_stateE(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
  store i8 0, ptr %6, align 1, !tbaa !5
  store i8 0, ptr %7, align 1, !tbaa !5
  call void @_ZL22testminqpunit_ccqptestPbPN11alglib_impl8ae_stateE(ptr noundef nonnull %7, ptr noundef %1)
  call void @_ZL22testminqpunit_bcqptestPbPN11alglib_impl8ae_stateE(ptr noundef nonnull %3, ptr noundef %1)
  %15 = call noundef zeroext i1 @_ZL22testminqpunit_ecqptestPN11alglib_impl8ae_stateE(ptr noundef %1)
  call void @_ZL22testminqpunit_icqptestPbPN11alglib_impl8ae_stateE(ptr noundef nonnull %4, ptr noundef %1)
  %16 = load i8, ptr %4, align 1, !tbaa !5, !range !9, !noundef !10
  %17 = trunc nuw i8 %16 to i1
  br i1 %17, label %21, label %18

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

21:                                               ; preds = %18, %2
  %22 = phi i8 [ 1, %2 ], [ %20, %18 ]
  store i8 %22, ptr %4, align 1, !tbaa !5
  call void @_ZL29testminqpunit_generallcqptestPbPN11alglib_impl8ae_stateE(ptr noundef nonnull %5, ptr noundef %1)
  call void @_ZL22testminqpunit_qcqptestPbPN11alglib_impl8ae_stateE(ptr noundef nonnull %6, ptr noundef %1)
  store i8 0, ptr %11, align 1, !tbaa !5
  call void @_ZL23testminqpunit_spectestsPbPN11alglib_impl8ae_stateE(ptr noundef nonnull %11, ptr noundef %1)
  store i8 0, ptr %8, align 1, !tbaa !5
  store i8 0, ptr %9, align 1, !tbaa !5
  store i8 0, ptr %10, align 1, !tbaa !5
  %23 = call noundef zeroext i1 @_Z12quickqptestsPN11alglib_impl8ae_stateE(ptr noundef %1)
  call void @_ZL27testminqpunit_denseaultestsPbPN11alglib_impl8ae_stateE(ptr noundef nonnull %8, ptr noundef %1)
  call void @_ZL22testminqpunit_ipmtestsPbPN11alglib_impl8ae_stateE(ptr noundef nonnull %9, ptr noundef %1)
  call void @_ZL23testminqpunit_secqptestPbPN11alglib_impl8ae_stateE(ptr noundef nonnull %10, ptr noundef %1)
  %brmerge = or i1 %12, %13
  %brmerge28 = or i1 %brmerge, %14
  %24 = load i8, ptr %3, align 1, !range !9
  %25 = trunc nuw i8 %24 to i1
  %brmerge29 = or i1 %15, %25
  %or.cond = select i1 %brmerge28, i1 true, i1 %brmerge29
  br i1 %or.cond, label %49, label %26

26:                                               ; preds = %21
  %27 = load i8, ptr %4, align 1, !tbaa !5, !range !9, !noundef !10
  %28 = trunc nuw i8 %27 to i1
  %29 = load i8, ptr %5, align 1, !range !9
  %30 = trunc nuw i8 %29 to i1
  %brmerge30 = or i1 %23, %30
  %or.cond33 = select i1 %28, i1 true, i1 %brmerge30
  br i1 %or.cond33, label %49, label %31

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

34:                                               ; preds = %31
  %35 = load i8, ptr %9, align 1, !tbaa !5, !range !9, !noundef !10
  %36 = trunc nuw i8 %35 to i1
  br i1 %36, label %49, label %37

37:                                               ; preds = %34
  %38 = load i8, ptr %10, align 1, !tbaa !5, !range !9, !noundef !10
  %39 = trunc nuw i8 %38 to i1
  br i1 %39, label %49, label %40

40:                                               ; preds = %37
  %41 = load i8, ptr %11, align 1, !tbaa !5, !range !9, !noundef !10
  %42 = trunc nuw i8 %41 to i1
  br i1 %42, label %49, label %43

43:                                               ; preds = %40
  %44 = load i8, ptr %6, align 1, !tbaa !5, !range !9, !noundef !10
  %45 = trunc nuw i8 %44 to i1
  br i1 %45, label %49, label %46

46:                                               ; preds = %43
  %47 = load i8, ptr %7, align 1, !tbaa !5, !range !9, !noundef !10
  %48 = trunc nuw i8 %47 to i1
  br label %49

49:                                               ; preds = %21, %46, %43, %40, %37, %34, %31, %26
  %50 = phi i1 [ true, %43 ], [ true, %40 ], [ true, %37 ], [ true, %34 ], [ true, %31 ], [ true, %26 ], [ true, %21 ], [ %48, %46 ]
  br i1 %0, label %103, label %51

51:                                               ; preds = %49
  %52 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.610)
  %53 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.611)
  %54 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.612)
  %.str.2..str.3 = select i1 %12, ptr @.str.2, ptr @.str.3
  %55 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %.str.2..str.3)
  %56 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.613)
  %.str.3.sink34 = select i1 %13, ptr @.str.2, ptr @.str.3
  %57 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %.str.3.sink34)
  %58 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.614)
  %.str.3.sink35 = select i1 %14, ptr @.str.2, ptr @.str.3
  %59 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %.str.3.sink35)
  %60 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.615)
  %61 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.616)
  %62 = load i8, ptr %3, align 1, !tbaa !5, !range !9, !noundef !10
  %63 = trunc nuw i8 %62 to i1
  %.str.3.sink36 = select i1 %63, ptr @.str.2, ptr @.str.3
  %64 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %.str.3.sink36)
  %65 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.617)
  br i1 %15, label %72, label %66

66:                                               ; preds = %51
  %67 = load i8, ptr %4, align 1, !tbaa !5, !range !9, !noundef !10
  %68 = trunc nuw i8 %67 to i1
  br i1 %68, label %72, label %69

69:                                               ; preds = %66
  %70 = load i8, ptr %5, align 1, !tbaa !5, !range !9, !noundef !10
  %71 = trunc nuw i8 %70 to i1
  %spec.select = select i1 %71, ptr @.str.2, ptr @.str.3
  br label %72

72:                                               ; preds = %69, %51, %66
  %.str.3.sink37 = phi ptr [ @.str.2, %66 ], [ @.str.2, %51 ], [ %spec.select, %69 ]
  %73 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %.str.3.sink37)
  %74 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.618)
  %75 = load i8, ptr %6, align 1, !tbaa !5, !range !9, !noundef !10
  %76 = trunc nuw i8 %75 to i1
  %.str.2..str.345 = select i1 %76, ptr @.str.2, ptr @.str.3
  %77 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %.str.2..str.345)
  %78 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.619)
  %79 = load i8, ptr %7, align 1, !tbaa !5, !range !9, !noundef !10
  %80 = trunc nuw i8 %79 to i1
  %.str.3.sink39 = select i1 %80, ptr @.str.2, ptr @.str.3
  %81 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %.str.3.sink39)
  %82 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.620)
  %83 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.621)
  %.str.3.sink40 = select i1 %23, ptr @.str.2, ptr @.str.3
  %84 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %.str.3.sink40)
  %85 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.622)
  %86 = load i8, ptr %8, align 1, !tbaa !5, !range !9, !noundef !10
  %87 = trunc nuw i8 %86 to i1
  %.str.3.sink41 = select i1 %87, ptr @.str.2, ptr @.str.3
  %88 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %.str.3.sink41)
  %89 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.623)
  %90 = load i8, ptr %9, align 1, !tbaa !5, !range !9, !noundef !10
  %91 = trunc nuw i8 %90 to i1
  %.str.3.sink42 = select i1 %91, ptr @.str.2, ptr @.str.3
  %92 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %.str.3.sink42)
  %93 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.624)
  %94 = load i8, ptr %10, align 1, !tbaa !5, !range !9, !noundef !10
  %95 = trunc nuw i8 %94 to i1
  %.str.3.sink43 = select i1 %95, ptr @.str.2, ptr @.str.3
  %96 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %.str.3.sink43)
  %97 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.625)
  %98 = load i8, ptr %11, align 1, !tbaa !5, !range !9, !noundef !10
  %99 = trunc nuw i8 %98 to i1
  %.str.3.sink44 = select i1 %99, ptr @.str.2, ptr @.str.3
  %100 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %.str.3.sink44)
  %.str.16.sink = select i1 %50, ptr @.str.15, ptr @.str.16
  %101 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %.str.16.sink)
  %102 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.17)
  br label %103

103:                                              ; preds = %72, %49
  %104 = xor i1 %50, true
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %11) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %10) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %9) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %8) #3
  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 %104
}

; 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 hidden void @_ZL22testminqpunit_ccqptestPbPN11alglib_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 @_ZL22testminqpunit_qcqptestPbPN11alglib_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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_Z12quickqptestsPN11alglib_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_ipmtestsPbPN11alglib_impl8ae_stateE(ptr noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL23testminqpunit_secqptestPbPN11alglib_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