; LLVM IR from aws/s2n-tls :: tests/unit (s2n_pem_test)

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

%struct.anon = type { ptr, i16 }
%struct.s2n_result = type { i32 }

@s2n_use_color_in_output = external dso_local global i8, align 1
@valid_cert_chains = external dso_local constant [1 x %struct.anon], align 16
@test_count = external dso_local global i32, align 4
@stdout = external global ptr, align 8
@.str.1 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [71 x i8], align 1
@stderr = external global ptr, align 8
@.str.3 = external hidden unnamed_addr constant [101 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [52 x i8], align 1
@s2n_errno = external thread_local global i32, align 4
@.str.5 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [90 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [56 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [65 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [66 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [60 x i8], align 1
@valid_pem_pairs = external hidden global [16 x [2 x ptr]], align 16
@.str.13 = external hidden unnamed_addr constant [92 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [93 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [79 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [108 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [94 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [71 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [52 x i8], align 1
@invalid_pem_pairs = external hidden global [5 x [2 x ptr]], align 16
@.str.20 = external hidden unnamed_addr constant [94 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [95 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [105 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [70 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [125 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [144 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [70 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [55 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [46 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [97 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [91 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [25 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i64, align 8
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca i32, align 4
  %24 = alloca i32, align 4
  %25 = alloca i64, align 8
  %26 = alloca i32, align 4
  %27 = alloca i32, align 4
  %28 = alloca i32, align 4
  %29 = alloca i32, align 4
  %30 = alloca i32, align 4
  %31 = alloca i32, align 4
  %32 = alloca i32, align 4
  %33 = alloca [500000 x i8], align 16
  %34 = alloca i64, align 8
  %35 = alloca ptr, align 8
  %36 = alloca i32, align 4
  %37 = alloca i32, align 4
  %38 = alloca i32, align 4
  %39 = alloca i32, align 4
  %40 = alloca i32, align 4
  %41 = alloca i32, align 4
  %42 = alloca ptr, align 8
  %43 = alloca i32, align 4
  %44 = alloca i32, align 4
  %45 = alloca i32, align 4
  %46 = alloca %struct.s2n_result, align 4
  %47 = alloca %struct.s2n_result, align 4
  %48 = alloca i32, align 4
  %49 = alloca i32, align 4
  %50 = alloca i32, align 4
  store i32 0, ptr %3, align 4
  store i32 %0, ptr %4, align 4, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #10
  store ptr null, ptr %6, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #10
  store ptr null, ptr %7, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #10
  store ptr null, ptr %8, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #10
  store ptr null, ptr %9, align 8, !tbaa !9
  br label %51

51:                                               ; preds = %2
  br label %52

52:                                               ; preds = %51
  store i32 0, ptr @test_count, align 4, !tbaa !5
  %53 = load ptr, ptr @stdout, align 8, !tbaa !9
  %54 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %53, ptr noundef @.str.1, ptr noundef @.str.2) #10
  %55 = load ptr, ptr @stdout, align 8, !tbaa !9
  %56 = call i32 @fflush(ptr noundef %55)
  br label %57

57:                                               ; preds = %52
  %58 = call i32 @s2n_in_unit_test_set(i1 noundef zeroext true)
  %59 = icmp eq i32 %58, -1
  br i1 %59, label %60, label %113

60:                                               ; preds = %57
  br label %61

61:                                               ; preds = %60
  br label %62

62:                                               ; preds = %61
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #10
  %63 = call ptr @__errno_location() #11
  %64 = load i32, ptr %63, align 4, !tbaa !5
  store i32 %64, ptr %10, align 4, !tbaa !5
  %65 = load ptr, ptr @stderr, align 8, !tbaa !9
  %66 = call i32 @s2n_print_stacktrace(ptr noundef %65)
  %67 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %68 = trunc i8 %67 to i1
  br i1 %68, label %69, label %91

69:                                               ; preds = %62
  %70 = load ptr, ptr @stderr, align 8, !tbaa !9
  %71 = call i32 @fileno(ptr noundef %70) #10
  %72 = call i32 @isatty(i32 noundef %71) #10
  %73 = icmp ne i32 %72, 0
  br i1 %73, label %74, label %91

74:                                               ; preds = %69
  %75 = load i32, ptr %10, align 4, !tbaa !5
  %76 = call ptr @__errno_location() #11
  store i32 %75, ptr %76, align 4, !tbaa !5
  %77 = load ptr, ptr @stderr, align 8, !tbaa !9
  %78 = load i32, ptr @test_count, align 4, !tbaa !5
  %79 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %80 = load i32, ptr %79, align 4, !tbaa !5
  %81 = call ptr @s2n_strerror(i32 noundef %80, ptr noundef @.str.5)
  %82 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %83 = load i32, ptr %82, align 4, !tbaa !5
  %84 = call ptr @s2n_strerror_debug(i32 noundef %83, ptr noundef @.str.5)
  %85 = call ptr @__errno_location() #11
  %86 = load i32, ptr %85, align 4, !tbaa !5
  %87 = call ptr @strerror(i32 noundef %86) #10
  %88 = call ptr @__errno_location() #11
  %89 = load i32, ptr %88, align 4, !tbaa !5
  %90 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %77, ptr noundef @.str.3, i32 noundef %78, ptr noundef @.str.4, ptr noundef @.str.2, i32 noundef 76, ptr noundef %81, ptr noundef %84, ptr noundef %87, i32 noundef %89) #10
  br label %108

91:                                               ; preds = %69, %62
  %92 = load i32, ptr %10, align 4, !tbaa !5
  %93 = call ptr @__errno_location() #11
  store i32 %92, ptr %93, align 4, !tbaa !5
  %94 = load ptr, ptr @stderr, align 8, !tbaa !9
  %95 = load i32, ptr @test_count, align 4, !tbaa !5
  %96 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %97 = load i32, ptr %96, align 4, !tbaa !5
  %98 = call ptr @s2n_strerror(i32 noundef %97, ptr noundef @.str.5)
  %99 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %100 = load i32, ptr %99, align 4, !tbaa !5
  %101 = call ptr @s2n_strerror_debug(i32 noundef %100, ptr noundef @.str.5)
  %102 = call ptr @__errno_location() #11
  %103 = load i32, ptr %102, align 4, !tbaa !5
  %104 = call ptr @strerror(i32 noundef %103) #10
  %105 = call ptr @__errno_location() #11
  %106 = load i32, ptr %105, align 4, !tbaa !5
  %107 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %94, ptr noundef @.str.6, i32 noundef %95, ptr noundef @.str.4, ptr noundef @.str.2, i32 noundef 76, ptr noundef %98, ptr noundef %101, ptr noundef %104, i32 noundef %106) #10
  br label %108

108:                                              ; preds = %91, %74
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #10
  br label %109

109:                                              ; preds = %108
  br label %110

110:                                              ; preds = %109
  call void @exit(i32 noundef 1) #12
  unreachable

111:                                              ; No predecessors!
  br label %112

112:                                              ; preds = %111
  br label %113

113:                                              ; preds = %112, %57
  br label %114

114:                                              ; preds = %113
  br label %115

115:                                              ; preds = %114
  br label %116

116:                                              ; preds = %115
  %117 = load i32, ptr @test_count, align 4, !tbaa !5
  %118 = add nsw i32 %117, 1
  store i32 %118, ptr @test_count, align 4, !tbaa !5
  %119 = call i32 @s2n_enable_atexit()
  %120 = icmp eq i32 %119, -1
  br i1 %120, label %121, label %174

121:                                              ; preds = %116
  br label %122

122:                                              ; preds = %121
  br label %123

123:                                              ; preds = %122
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #10
  %124 = call ptr @__errno_location() #11
  %125 = load i32, ptr %124, align 4, !tbaa !5
  store i32 %125, ptr %11, align 4, !tbaa !5
  %126 = load ptr, ptr @stderr, align 8, !tbaa !9
  %127 = call i32 @s2n_print_stacktrace(ptr noundef %126)
  %128 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %129 = trunc i8 %128 to i1
  br i1 %129, label %130, label %152

130:                                              ; preds = %123
  %131 = load ptr, ptr @stderr, align 8, !tbaa !9
  %132 = call i32 @fileno(ptr noundef %131) #10
  %133 = call i32 @isatty(i32 noundef %132) #10
  %134 = icmp ne i32 %133, 0
  br i1 %134, label %135, label %152

135:                                              ; preds = %130
  %136 = load i32, ptr %11, align 4, !tbaa !5
  %137 = call ptr @__errno_location() #11
  store i32 %136, ptr %137, align 4, !tbaa !5
  %138 = load ptr, ptr @stderr, align 8, !tbaa !9
  %139 = load i32, ptr @test_count, align 4, !tbaa !5
  %140 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %141 = load i32, ptr %140, align 4, !tbaa !5
  %142 = call ptr @s2n_strerror(i32 noundef %141, ptr noundef @.str.5)
  %143 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %144 = load i32, ptr %143, align 4, !tbaa !5
  %145 = call ptr @s2n_strerror_debug(i32 noundef %144, ptr noundef @.str.5)
  %146 = call ptr @__errno_location() #11
  %147 = load i32, ptr %146, align 4, !tbaa !5
  %148 = call ptr @strerror(i32 noundef %147) #10
  %149 = call ptr @__errno_location() #11
  %150 = load i32, ptr %149, align 4, !tbaa !5
  %151 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %138, ptr noundef @.str.3, i32 noundef %139, ptr noundef @.str.7, ptr noundef @.str.2, i32 noundef 76, ptr noundef %142, ptr noundef %145, ptr noundef %148, i32 noundef %150) #10
  br label %169

152:                                              ; preds = %130, %123
  %153 = load i32, ptr %11, align 4, !tbaa !5
  %154 = call ptr @__errno_location() #11
  store i32 %153, ptr %154, align 4, !tbaa !5
  %155 = load ptr, ptr @stderr, align 8, !tbaa !9
  %156 = load i32, ptr @test_count, align 4, !tbaa !5
  %157 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %158 = load i32, ptr %157, align 4, !tbaa !5
  %159 = call ptr @s2n_strerror(i32 noundef %158, ptr noundef @.str.5)
  %160 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %161 = load i32, ptr %160, align 4, !tbaa !5
  %162 = call ptr @s2n_strerror_debug(i32 noundef %161, ptr noundef @.str.5)
  %163 = call ptr @__errno_location() #11
  %164 = load i32, ptr %163, align 4, !tbaa !5
  %165 = call ptr @strerror(i32 noundef %164) #10
  %166 = call ptr @__errno_location() #11
  %167 = load i32, ptr %166, align 4, !tbaa !5
  %168 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %155, ptr noundef @.str.6, i32 noundef %156, ptr noundef @.str.7, ptr noundef @.str.2, i32 noundef 76, ptr noundef %159, ptr noundef %162, ptr noundef %165, i32 noundef %167) #10
  br label %169

169:                                              ; preds = %152, %135
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #10
  br label %170

170:                                              ; preds = %169
  br label %171

171:                                              ; preds = %170
  call void @exit(i32 noundef 1) #12
  unreachable

172:                                              ; No predecessors!
  br label %173

173:                                              ; preds = %172
  br label %174

174:                                              ; preds = %173, %116
  br label %175

175:                                              ; preds = %174
  br label %176

176:                                              ; preds = %175
  br label %177

177:                                              ; preds = %176
  br label %178

178:                                              ; preds = %177
  br label %179

179:                                              ; preds = %178
  %180 = call i32 @s2n_init()
  %181 = icmp eq i32 %180, -1
  br i1 %181, label %182, label %235

182:                                              ; preds = %179
  br label %183

183:                                              ; preds = %182
  br label %184

184:                                              ; preds = %183
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #10
  %185 = call ptr @__errno_location() #11
  %186 = load i32, ptr %185, align 4, !tbaa !5
  store i32 %186, ptr %12, align 4, !tbaa !5
  %187 = load ptr, ptr @stderr, align 8, !tbaa !9
  %188 = call i32 @s2n_print_stacktrace(ptr noundef %187)
  %189 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %190 = trunc i8 %189 to i1
  br i1 %190, label %191, label %213

191:                                              ; preds = %184
  %192 = load ptr, ptr @stderr, align 8, !tbaa !9
  %193 = call i32 @fileno(ptr noundef %192) #10
  %194 = call i32 @isatty(i32 noundef %193) #10
  %195 = icmp ne i32 %194, 0
  br i1 %195, label %196, label %213

196:                                              ; preds = %191
  %197 = load i32, ptr %12, align 4, !tbaa !5
  %198 = call ptr @__errno_location() #11
  store i32 %197, ptr %198, align 4, !tbaa !5
  %199 = load ptr, ptr @stderr, align 8, !tbaa !9
  %200 = load i32, ptr @test_count, align 4, !tbaa !5
  %201 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %202 = load i32, ptr %201, align 4, !tbaa !5
  %203 = call ptr @s2n_strerror(i32 noundef %202, ptr noundef @.str.5)
  %204 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %205 = load i32, ptr %204, align 4, !tbaa !5
  %206 = call ptr @s2n_strerror_debug(i32 noundef %205, ptr noundef @.str.5)
  %207 = call ptr @__errno_location() #11
  %208 = load i32, ptr %207, align 4, !tbaa !5
  %209 = call ptr @strerror(i32 noundef %208) #10
  %210 = call ptr @__errno_location() #11
  %211 = load i32, ptr %210, align 4, !tbaa !5
  %212 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %199, ptr noundef @.str.3, i32 noundef %200, ptr noundef @.str.8, ptr noundef @.str.2, i32 noundef 76, ptr noundef %203, ptr noundef %206, ptr noundef %209, i32 noundef %211) #10
  br label %230

213:                                              ; preds = %191, %184
  %214 = load i32, ptr %12, align 4, !tbaa !5
  %215 = call ptr @__errno_location() #11
  store i32 %214, ptr %215, align 4, !tbaa !5
  %216 = load ptr, ptr @stderr, align 8, !tbaa !9
  %217 = load i32, ptr @test_count, align 4, !tbaa !5
  %218 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %219 = load i32, ptr %218, align 4, !tbaa !5
  %220 = call ptr @s2n_strerror(i32 noundef %219, ptr noundef @.str.5)
  %221 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %222 = load i32, ptr %221, align 4, !tbaa !5
  %223 = call ptr @s2n_strerror_debug(i32 noundef %222, ptr noundef @.str.5)
  %224 = call ptr @__errno_location() #11
  %225 = load i32, ptr %224, align 4, !tbaa !5
  %226 = call ptr @strerror(i32 noundef %225) #10
  %227 = call ptr @__errno_location() #11
  %228 = load i32, ptr %227, align 4, !tbaa !5
  %229 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %216, ptr noundef @.str.6, i32 noundef %217, ptr noundef @.str.8, ptr noundef @.str.2, i32 noundef 76, ptr noundef %220, ptr noundef %223, ptr noundef %226, i32 noundef %228) #10
  br label %230

230:                                              ; preds = %213, %196
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #10
  br label %231

231:                                              ; preds = %230
  br label %232

232:                                              ; preds = %231
  call void @exit(i32 noundef 1) #12
  unreachable

233:                                              ; No predecessors!
  br label %234

234:                                              ; preds = %233
  br label %235

235:                                              ; preds = %234, %179
  br label %236

236:                                              ; preds = %235
  br label %237

237:                                              ; preds = %236
  br label %238

238:                                              ; preds = %237
  br label %239

239:                                              ; preds = %238
  br label %240

240:                                              ; preds = %239
  %241 = load i32, ptr @test_count, align 4, !tbaa !5
  %242 = add nsw i32 %241, 1
  store i32 %242, ptr @test_count, align 4, !tbaa !5
  %243 = call i32 (...) @s2n_disable_tls13_in_test()
  %244 = icmp eq i32 %243, -1
  br i1 %244, label %245, label %298

245:                                              ; preds = %240
  br label %246

246:                                              ; preds = %245
  br label %247

247:                                              ; preds = %246
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #10
  %248 = call ptr @__errno_location() #11
  %249 = load i32, ptr %248, align 4, !tbaa !5
  store i32 %249, ptr %13, align 4, !tbaa !5
  %250 = load ptr, ptr @stderr, align 8, !tbaa !9
  %251 = call i32 @s2n_print_stacktrace(ptr noundef %250)
  %252 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %253 = trunc i8 %252 to i1
  br i1 %253, label %254, label %276

254:                                              ; preds = %247
  %255 = load ptr, ptr @stderr, align 8, !tbaa !9
  %256 = call i32 @fileno(ptr noundef %255) #10
  %257 = call i32 @isatty(i32 noundef %256) #10
  %258 = icmp ne i32 %257, 0
  br i1 %258, label %259, label %276

259:                                              ; preds = %254
  %260 = load i32, ptr %13, align 4, !tbaa !5
  %261 = call ptr @__errno_location() #11
  store i32 %260, ptr %261, align 4, !tbaa !5
  %262 = load ptr, ptr @stderr, align 8, !tbaa !9
  %263 = load i32, ptr @test_count, align 4, !tbaa !5
  %264 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %265 = load i32, ptr %264, align 4, !tbaa !5
  %266 = call ptr @s2n_strerror(i32 noundef %265, ptr noundef @.str.5)
  %267 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %268 = load i32, ptr %267, align 4, !tbaa !5
  %269 = call ptr @s2n_strerror_debug(i32 noundef %268, ptr noundef @.str.5)
  %270 = call ptr @__errno_location() #11
  %271 = load i32, ptr %270, align 4, !tbaa !5
  %272 = call ptr @strerror(i32 noundef %271) #10
  %273 = call ptr @__errno_location() #11
  %274 = load i32, ptr %273, align 4, !tbaa !5
  %275 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %262, ptr noundef @.str.3, i32 noundef %263, ptr noundef @.str.9, ptr noundef @.str.2, i32 noundef 77, ptr noundef %266, ptr noundef %269, ptr noundef %272, i32 noundef %274) #10
  br label %293

276:                                              ; preds = %254, %247
  %277 = load i32, ptr %13, align 4, !tbaa !5
  %278 = call ptr @__errno_location() #11
  store i32 %277, ptr %278, align 4, !tbaa !5
  %279 = load ptr, ptr @stderr, align 8, !tbaa !9
  %280 = load i32, ptr @test_count, align 4, !tbaa !5
  %281 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %282 = load i32, ptr %281, align 4, !tbaa !5
  %283 = call ptr @s2n_strerror(i32 noundef %282, ptr noundef @.str.5)
  %284 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %285 = load i32, ptr %284, align 4, !tbaa !5
  %286 = call ptr @s2n_strerror_debug(i32 noundef %285, ptr noundef @.str.5)
  %287 = call ptr @__errno_location() #11
  %288 = load i32, ptr %287, align 4, !tbaa !5
  %289 = call ptr @strerror(i32 noundef %288) #10
  %290 = call ptr @__errno_location() #11
  %291 = load i32, ptr %290, align 4, !tbaa !5
  %292 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %279, ptr noundef @.str.6, i32 noundef %280, ptr noundef @.str.9, ptr noundef @.str.2, i32 noundef 77, ptr noundef %283, ptr noundef %286, ptr noundef %289, i32 noundef %291) #10
  br label %293

293:                                              ; preds = %276, %259
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #10
  br label %294

294:                                              ; preds = %293
  br label %295

295:                                              ; preds = %294
  call void @exit(i32 noundef 1) #12
  unreachable

296:                                              ; No predecessors!
  br label %297

297:                                              ; preds = %296
  br label %298

298:                                              ; preds = %297, %240
  br label %299

299:                                              ; preds = %298
  br label %300

300:                                              ; preds = %299
  br label %301

301:                                              ; preds = %300
  %302 = load i32, ptr @test_count, align 4, !tbaa !5
  %303 = add nsw i32 %302, 1
  store i32 %303, ptr @test_count, align 4, !tbaa !5
  %304 = call noalias ptr @malloc(i64 noundef 12000) #13
  store ptr %304, ptr %7, align 8, !tbaa !9
  %305 = icmp eq ptr %304, null
  br i1 %305, label %306, label %359

306:                                              ; preds = %301
  br label %307

307:                                              ; preds = %306
  br label %308

308:                                              ; preds = %307
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #10
  %309 = call ptr @__errno_location() #11
  %310 = load i32, ptr %309, align 4, !tbaa !5
  store i32 %310, ptr %14, align 4, !tbaa !5
  %311 = load ptr, ptr @stderr, align 8, !tbaa !9
  %312 = call i32 @s2n_print_stacktrace(ptr noundef %311)
  %313 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %314 = trunc i8 %313 to i1
  br i1 %314, label %315, label %337

315:                                              ; preds = %308
  %316 = load ptr, ptr @stderr, align 8, !tbaa !9
  %317 = call i32 @fileno(ptr noundef %316) #10
  %318 = call i32 @isatty(i32 noundef %317) #10
  %319 = icmp ne i32 %318, 0
  br i1 %319, label %320, label %337

320:                                              ; preds = %315
  %321 = load i32, ptr %14, align 4, !tbaa !5
  %322 = call ptr @__errno_location() #11
  store i32 %321, ptr %322, align 4, !tbaa !5
  %323 = load ptr, ptr @stderr, align 8, !tbaa !9
  %324 = load i32, ptr @test_count, align 4, !tbaa !5
  %325 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %326 = load i32, ptr %325, align 4, !tbaa !5
  %327 = call ptr @s2n_strerror(i32 noundef %326, ptr noundef @.str.5)
  %328 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %329 = load i32, ptr %328, align 4, !tbaa !5
  %330 = call ptr @s2n_strerror_debug(i32 noundef %329, ptr noundef @.str.5)
  %331 = call ptr @__errno_location() #11
  %332 = load i32, ptr %331, align 4, !tbaa !5
  %333 = call ptr @strerror(i32 noundef %332) #10
  %334 = call ptr @__errno_location() #11
  %335 = load i32, ptr %334, align 4, !tbaa !5
  %336 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %323, ptr noundef @.str.3, i32 noundef %324, ptr noundef @.str.10, ptr noundef @.str.2, i32 noundef 78, ptr noundef %327, ptr noundef %330, ptr noundef %333, i32 noundef %335) #10
  br label %354

337:                                              ; preds = %315, %308
  %338 = load i32, ptr %14, align 4, !tbaa !5
  %339 = call ptr @__errno_location() #11
  store i32 %338, ptr %339, align 4, !tbaa !5
  %340 = load ptr, ptr @stderr, align 8, !tbaa !9
  %341 = load i32, ptr @test_count, align 4, !tbaa !5
  %342 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %343 = load i32, ptr %342, align 4, !tbaa !5
  %344 = call ptr @s2n_strerror(i32 noundef %343, ptr noundef @.str.5)
  %345 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %346 = load i32, ptr %345, align 4, !tbaa !5
  %347 = call ptr @s2n_strerror_debug(i32 noundef %346, ptr noundef @.str.5)
  %348 = call ptr @__errno_location() #11
  %349 = load i32, ptr %348, align 4, !tbaa !5
  %350 = call ptr @strerror(i32 noundef %349) #10
  %351 = call ptr @__errno_location() #11
  %352 = load i32, ptr %351, align 4, !tbaa !5
  %353 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %340, ptr noundef @.str.6, i32 noundef %341, ptr noundef @.str.10, ptr noundef @.str.2, i32 noundef 78, ptr noundef %344, ptr noundef %347, ptr noundef %350, i32 noundef %352) #10
  br label %354

354:                                              ; preds = %337, %320
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #10
  br label %355

355:                                              ; preds = %354
  br label %356

356:                                              ; preds = %355
  call void @exit(i32 noundef 1) #12
  unreachable

357:                                              ; No predecessors!
  br label %358

358:                                              ; preds = %357
  br label %359

359:                                              ; preds = %358, %301
  br label %360

360:                                              ; preds = %359
  br label %361

361:                                              ; preds = %360
  br label %362

362:                                              ; preds = %361
  %363 = load i32, ptr @test_count, align 4, !tbaa !5
  %364 = add nsw i32 %363, 1
  store i32 %364, ptr @test_count, align 4, !tbaa !5
  %365 = call noalias ptr @malloc(i64 noundef 12000) #13
  store ptr %365, ptr %8, align 8, !tbaa !9
  %366 = icmp eq ptr %365, null
  br i1 %366, label %367, label %420

367:                                              ; preds = %362
  br label %368

368:                                              ; preds = %367
  br label %369

369:                                              ; preds = %368
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #10
  %370 = call ptr @__errno_location() #11
  %371 = load i32, ptr %370, align 4, !tbaa !5
  store i32 %371, ptr %15, align 4, !tbaa !5
  %372 = load ptr, ptr @stderr, align 8, !tbaa !9
  %373 = call i32 @s2n_print_stacktrace(ptr noundef %372)
  %374 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %375 = trunc i8 %374 to i1
  br i1 %375, label %376, label %398

376:                                              ; preds = %369
  %377 = load ptr, ptr @stderr, align 8, !tbaa !9
  %378 = call i32 @fileno(ptr noundef %377) #10
  %379 = call i32 @isatty(i32 noundef %378) #10
  %380 = icmp ne i32 %379, 0
  br i1 %380, label %381, label %398

381:                                              ; preds = %376
  %382 = load i32, ptr %15, align 4, !tbaa !5
  %383 = call ptr @__errno_location() #11
  store i32 %382, ptr %383, align 4, !tbaa !5
  %384 = load ptr, ptr @stderr, align 8, !tbaa !9
  %385 = load i32, ptr @test_count, align 4, !tbaa !5
  %386 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %387 = load i32, ptr %386, align 4, !tbaa !5
  %388 = call ptr @s2n_strerror(i32 noundef %387, ptr noundef @.str.5)
  %389 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %390 = load i32, ptr %389, align 4, !tbaa !5
  %391 = call ptr @s2n_strerror_debug(i32 noundef %390, ptr noundef @.str.5)
  %392 = call ptr @__errno_location() #11
  %393 = load i32, ptr %392, align 4, !tbaa !5
  %394 = call ptr @strerror(i32 noundef %393) #10
  %395 = call ptr @__errno_location() #11
  %396 = load i32, ptr %395, align 4, !tbaa !5
  %397 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %384, ptr noundef @.str.3, i32 noundef %385, ptr noundef @.str.11, ptr noundef @.str.2, i32 noundef 79, ptr noundef %388, ptr noundef %391, ptr noundef %394, i32 noundef %396) #10
  br label %415

398:                                              ; preds = %376, %369
  %399 = load i32, ptr %15, align 4, !tbaa !5
  %400 = call ptr @__errno_location() #11
  store i32 %399, ptr %400, align 4, !tbaa !5
  %401 = load ptr, ptr @stderr, align 8, !tbaa !9
  %402 = load i32, ptr @test_count, align 4, !tbaa !5
  %403 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %404 = load i32, ptr %403, align 4, !tbaa !5
  %405 = call ptr @s2n_strerror(i32 noundef %404, ptr noundef @.str.5)
  %406 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %407 = load i32, ptr %406, align 4, !tbaa !5
  %408 = call ptr @s2n_strerror_debug(i32 noundef %407, ptr noundef @.str.5)
  %409 = call ptr @__errno_location() #11
  %410 = load i32, ptr %409, align 4, !tbaa !5
  %411 = call ptr @strerror(i32 noundef %410) #10
  %412 = call ptr @__errno_location() #11
  %413 = load i32, ptr %412, align 4, !tbaa !5
  %414 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %401, ptr noundef @.str.6, i32 noundef %402, ptr noundef @.str.11, ptr noundef @.str.2, i32 noundef 79, ptr noundef %405, ptr noundef %408, ptr noundef %411, i32 noundef %413) #10
  br label %415

415:                                              ; preds = %398, %381
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #10
  br label %416

416:                                              ; preds = %415
  br label %417

417:                                              ; preds = %416
  call void @exit(i32 noundef 1) #12
  unreachable

418:                                              ; No predecessors!
  br label %419

419:                                              ; preds = %418
  br label %420

420:                                              ; preds = %419, %362
  br label %421

421:                                              ; preds = %420
  br label %422

422:                                              ; preds = %421
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #10
  store i64 0, ptr %16, align 8, !tbaa !15
  br label %423

423:                                              ; preds = %933, %422
  %424 = load i64, ptr %16, align 8, !tbaa !15
  %425 = icmp ult i64 %424, 16
  br i1 %425, label %427, label %426

426:                                              ; preds = %423
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #10
  br label %936

427:                                              ; preds = %423
  br label %428

428:                                              ; preds = %427
  %429 = load i32, ptr @test_count, align 4, !tbaa !5
  %430 = add nsw i32 %429, 1
  store i32 %430, ptr @test_count, align 4, !tbaa !5
  %431 = call ptr @s2n_config_new()
  store ptr %431, ptr %6, align 8, !tbaa !9
  %432 = icmp eq ptr %431, null
  br i1 %432, label %433, label %486

433:                                              ; preds = %428
  br label %434

434:                                              ; preds = %433
  br label %435

435:                                              ; preds = %434
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #10
  %436 = call ptr @__errno_location() #11
  %437 = load i32, ptr %436, align 4, !tbaa !5
  store i32 %437, ptr %17, align 4, !tbaa !5
  %438 = load ptr, ptr @stderr, align 8, !tbaa !9
  %439 = call i32 @s2n_print_stacktrace(ptr noundef %438)
  %440 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %441 = trunc i8 %440 to i1
  br i1 %441, label %442, label %464

442:                                              ; preds = %435
  %443 = load ptr, ptr @stderr, align 8, !tbaa !9
  %444 = call i32 @fileno(ptr noundef %443) #10
  %445 = call i32 @isatty(i32 noundef %444) #10
  %446 = icmp ne i32 %445, 0
  br i1 %446, label %447, label %464

447:                                              ; preds = %442
  %448 = load i32, ptr %17, align 4, !tbaa !5
  %449 = call ptr @__errno_location() #11
  store i32 %448, ptr %449, align 4, !tbaa !5
  %450 = load ptr, ptr @stderr, align 8, !tbaa !9
  %451 = load i32, ptr @test_count, align 4, !tbaa !5
  %452 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %453 = load i32, ptr %452, align 4, !tbaa !5
  %454 = call ptr @s2n_strerror(i32 noundef %453, ptr noundef @.str.5)
  %455 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %456 = load i32, ptr %455, align 4, !tbaa !5
  %457 = call ptr @s2n_strerror_debug(i32 noundef %456, ptr noundef @.str.5)
  %458 = call ptr @__errno_location() #11
  %459 = load i32, ptr %458, align 4, !tbaa !5
  %460 = call ptr @strerror(i32 noundef %459) #10
  %461 = call ptr @__errno_location() #11
  %462 = load i32, ptr %461, align 4, !tbaa !5
  %463 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %450, ptr noundef @.str.3, i32 noundef %451, ptr noundef @.str.12, ptr noundef @.str.2, i32 noundef 82, ptr noundef %454, ptr noundef %457, ptr noundef %460, i32 noundef %462) #10
  br label %481

464:                                              ; preds = %442, %435
  %465 = load i32, ptr %17, align 4, !tbaa !5
  %466 = call ptr @__errno_location() #11
  store i32 %465, ptr %466, align 4, !tbaa !5
  %467 = load ptr, ptr @stderr, align 8, !tbaa !9
  %468 = load i32, ptr @test_count, align 4, !tbaa !5
  %469 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %470 = load i32, ptr %469, align 4, !tbaa !5
  %471 = call ptr @s2n_strerror(i32 noundef %470, ptr noundef @.str.5)
  %472 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %473 = load i32, ptr %472, align 4, !tbaa !5
  %474 = call ptr @s2n_strerror_debug(i32 noundef %473, ptr noundef @.str.5)
  %475 = call ptr @__errno_location() #11
  %476 = load i32, ptr %475, align 4, !tbaa !5
  %477 = call ptr @strerror(i32 noundef %476) #10
  %478 = call ptr @__errno_location() #11
  %479 = load i32, ptr %478, align 4, !tbaa !5
  %480 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %467, ptr noundef @.str.6, i32 noundef %468, ptr noundef @.str.12, ptr noundef @.str.2, i32 noundef 82, ptr noundef %471, ptr noundef %474, ptr noundef %477, i32 noundef %479) #10
  br label %481

481:                                              ; preds = %464, %447
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #10
  br label %482

482:                                              ; preds = %481
  br label %483

483:                                              ; preds = %482
  call void @exit(i32 noundef 1) #12
  unreachable

484:                                              ; No predecessors!
  br label %485

485:                                              ; preds = %484
  br label %486

486:                                              ; preds = %485, %428
  br label %487

487:                                              ; preds = %486
  br label %488

488:                                              ; preds = %487
  br label %489

489:                                              ; preds = %488
  %490 = load i32, ptr @test_count, align 4, !tbaa !5
  %491 = add nsw i32 %490, 1
  store i32 %491, ptr @test_count, align 4, !tbaa !5
  %492 = load i64, ptr %16, align 8, !tbaa !15
  %493 = getelementptr inbounds [16 x [2 x ptr]], ptr @valid_pem_pairs, i64 0, i64 %492
  %494 = getelementptr inbounds [2 x ptr], ptr %493, i64 0, i64 0
  %495 = load ptr, ptr %494, align 16, !tbaa !9
  %496 = load ptr, ptr %7, align 8, !tbaa !9
  %497 = call i32 @s2n_read_test_pem(ptr noundef %495, ptr noundef %496, i64 noundef 12000)
  %498 = icmp eq i32 %497, -1
  br i1 %498, label %499, label %552

499:                                              ; preds = %489
  br label %500

500:                                              ; preds = %499
  br label %501

501:                                              ; preds = %500
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #10
  %502 = call ptr @__errno_location() #11
  %503 = load i32, ptr %502, align 4, !tbaa !5
  store i32 %503, ptr %18, align 4, !tbaa !5
  %504 = load ptr, ptr @stderr, align 8, !tbaa !9
  %505 = call i32 @s2n_print_stacktrace(ptr noundef %504)
  %506 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %507 = trunc i8 %506 to i1
  br i1 %507, label %508, label %530

508:                                              ; preds = %501
  %509 = load ptr, ptr @stderr, align 8, !tbaa !9
  %510 = call i32 @fileno(ptr noundef %509) #10
  %511 = call i32 @isatty(i32 noundef %510) #10
  %512 = icmp ne i32 %511, 0
  br i1 %512, label %513, label %530

513:                                              ; preds = %508
  %514 = load i32, ptr %18, align 4, !tbaa !5
  %515 = call ptr @__errno_location() #11
  store i32 %514, ptr %515, align 4, !tbaa !5
  %516 = load ptr, ptr @stderr, align 8, !tbaa !9
  %517 = load i32, ptr @test_count, align 4, !tbaa !5
  %518 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %519 = load i32, ptr %518, align 4, !tbaa !5
  %520 = call ptr @s2n_strerror(i32 noundef %519, ptr noundef @.str.5)
  %521 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %522 = load i32, ptr %521, align 4, !tbaa !5
  %523 = call ptr @s2n_strerror_debug(i32 noundef %522, ptr noundef @.str.5)
  %524 = call ptr @__errno_location() #11
  %525 = load i32, ptr %524, align 4, !tbaa !5
  %526 = call ptr @strerror(i32 noundef %525) #10
  %527 = call ptr @__errno_location() #11
  %528 = load i32, ptr %527, align 4, !tbaa !5
  %529 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %516, ptr noundef @.str.3, i32 noundef %517, ptr noundef @.str.13, ptr noundef @.str.2, i32 noundef 83, ptr noundef %520, ptr noundef %523, ptr noundef %526, i32 noundef %528) #10
  br label %547

530:                                              ; preds = %508, %501
  %531 = load i32, ptr %18, align 4, !tbaa !5
  %532 = call ptr @__errno_location() #11
  store i32 %531, ptr %532, align 4, !tbaa !5
  %533 = load ptr, ptr @stderr, align 8, !tbaa !9
  %534 = load i32, ptr @test_count, align 4, !tbaa !5
  %535 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %536 = load i32, ptr %535, align 4, !tbaa !5
  %537 = call ptr @s2n_strerror(i32 noundef %536, ptr noundef @.str.5)
  %538 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %539 = load i32, ptr %538, align 4, !tbaa !5
  %540 = call ptr @s2n_strerror_debug(i32 noundef %539, ptr noundef @.str.5)
  %541 = call ptr @__errno_location() #11
  %542 = load i32, ptr %541, align 4, !tbaa !5
  %543 = call ptr @strerror(i32 noundef %542) #10
  %544 = call ptr @__errno_location() #11
  %545 = load i32, ptr %544, align 4, !tbaa !5
  %546 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %533, ptr noundef @.str.6, i32 noundef %534, ptr noundef @.str.13, ptr noundef @.str.2, i32 noundef 83, ptr noundef %537, ptr noundef %540, ptr noundef %543, i32 noundef %545) #10
  br label %547

547:                                              ; preds = %530, %513
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #10
  br label %548

548:                                              ; preds = %547
  br label %549

549:                                              ; preds = %548
  call void @exit(i32 noundef 1) #12
  unreachable

550:                                              ; No predecessors!
  br label %551

551:                                              ; preds = %550
  br label %552

552:                                              ; preds = %551, %489
  br label %553

553:                                              ; preds = %552
  br label %554

554:                                              ; preds = %553
  br label %555

555:                                              ; preds = %554
  %556 = load i32, ptr @test_count, align 4, !tbaa !5
  %557 = add nsw i32 %556, 1
  store i32 %557, ptr @test_count, align 4, !tbaa !5
  %558 = load i64, ptr %16, align 8, !tbaa !15
  %559 = getelementptr inbounds [16 x [2 x ptr]], ptr @valid_pem_pairs, i64 0, i64 %558
  %560 = getelementptr inbounds [2 x ptr], ptr %559, i64 0, i64 1
  %561 = load ptr, ptr %560, align 8, !tbaa !9
  %562 = load ptr, ptr %8, align 8, !tbaa !9
  %563 = call i32 @s2n_read_test_pem(ptr noundef %561, ptr noundef %562, i64 noundef 12000)
  %564 = icmp eq i32 %563, -1
  br i1 %564, label %565, label %618

565:                                              ; preds = %555
  br label %566

566:                                              ; preds = %565
  br label %567

567:                                              ; preds = %566
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #10
  %568 = call ptr @__errno_location() #11
  %569 = load i32, ptr %568, align 4, !tbaa !5
  store i32 %569, ptr %19, align 4, !tbaa !5
  %570 = load ptr, ptr @stderr, align 8, !tbaa !9
  %571 = call i32 @s2n_print_stacktrace(ptr noundef %570)
  %572 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %573 = trunc i8 %572 to i1
  br i1 %573, label %574, label %596

574:                                              ; preds = %567
  %575 = load ptr, ptr @stderr, align 8, !tbaa !9
  %576 = call i32 @fileno(ptr noundef %575) #10
  %577 = call i32 @isatty(i32 noundef %576) #10
  %578 = icmp ne i32 %577, 0
  br i1 %578, label %579, label %596

579:                                              ; preds = %574
  %580 = load i32, ptr %19, align 4, !tbaa !5
  %581 = call ptr @__errno_location() #11
  store i32 %580, ptr %581, align 4, !tbaa !5
  %582 = load ptr, ptr @stderr, align 8, !tbaa !9
  %583 = load i32, ptr @test_count, align 4, !tbaa !5
  %584 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %585 = load i32, ptr %584, align 4, !tbaa !5
  %586 = call ptr @s2n_strerror(i32 noundef %585, ptr noundef @.str.5)
  %587 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %588 = load i32, ptr %587, align 4, !tbaa !5
  %589 = call ptr @s2n_strerror_debug(i32 noundef %588, ptr noundef @.str.5)
  %590 = call ptr @__errno_location() #11
  %591 = load i32, ptr %590, align 4, !tbaa !5
  %592 = call ptr @strerror(i32 noundef %591) #10
  %593 = call ptr @__errno_location() #11
  %594 = load i32, ptr %593, align 4, !tbaa !5
  %595 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %582, ptr noundef @.str.3, i32 noundef %583, ptr noundef @.str.14, ptr noundef @.str.2, i32 noundef 84, ptr noundef %586, ptr noundef %589, ptr noundef %592, i32 noundef %594) #10
  br label %613

596:                                              ; preds = %574, %567
  %597 = load i32, ptr %19, align 4, !tbaa !5
  %598 = call ptr @__errno_location() #11
  store i32 %597, ptr %598, align 4, !tbaa !5
  %599 = load ptr, ptr @stderr, align 8, !tbaa !9
  %600 = load i32, ptr @test_count, align 4, !tbaa !5
  %601 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %602 = load i32, ptr %601, align 4, !tbaa !5
  %603 = call ptr @s2n_strerror(i32 noundef %602, ptr noundef @.str.5)
  %604 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %605 = load i32, ptr %604, align 4, !tbaa !5
  %606 = call ptr @s2n_strerror_debug(i32 noundef %605, ptr noundef @.str.5)
  %607 = call ptr @__errno_location() #11
  %608 = load i32, ptr %607, align 4, !tbaa !5
  %609 = call ptr @strerror(i32 noundef %608) #10
  %610 = call ptr @__errno_location() #11
  %611 = load i32, ptr %610, align 4, !tbaa !5
  %612 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %599, ptr noundef @.str.6, i32 noundef %600, ptr noundef @.str.14, ptr noundef @.str.2, i32 noundef 84, ptr noundef %603, ptr noundef %606, ptr noundef %609, i32 noundef %611) #10
  br label %613

613:                                              ; preds = %596, %579
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #10
  br label %614

614:                                              ; preds = %613
  br label %615

615:                                              ; preds = %614
  call void @exit(i32 noundef 1) #12
  unreachable

616:                                              ; No predecessors!
  br label %617

617:                                              ; preds = %616
  br label %618

618:                                              ; preds = %617, %555
  br label %619

619:                                              ; preds = %618
  br label %620

620:                                              ; preds = %619
  br label %621

621:                                              ; preds = %620
  %622 = load i32, ptr @test_count, align 4, !tbaa !5
  %623 = add nsw i32 %622, 1
  store i32 %623, ptr @test_count, align 4, !tbaa !5
  %624 = call ptr @s2n_cert_chain_and_key_new()
  store ptr %624, ptr %9, align 8, !tbaa !9
  %625 = icmp eq ptr %624, null
  br i1 %625, label %626, label %679

626:                                              ; preds = %621
  br label %627

627:                                              ; preds = %626
  br label %628

628:                                              ; preds = %627
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #10
  %629 = call ptr @__errno_location() #11
  %630 = load i32, ptr %629, align 4, !tbaa !5
  store i32 %630, ptr %20, align 4, !tbaa !5
  %631 = load ptr, ptr @stderr, align 8, !tbaa !9
  %632 = call i32 @s2n_print_stacktrace(ptr noundef %631)
  %633 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %634 = trunc i8 %633 to i1
  br i1 %634, label %635, label %657

635:                                              ; preds = %628
  %636 = load ptr, ptr @stderr, align 8, !tbaa !9
  %637 = call i32 @fileno(ptr noundef %636) #10
  %638 = call i32 @isatty(i32 noundef %637) #10
  %639 = icmp ne i32 %638, 0
  br i1 %639, label %640, label %657

640:                                              ; preds = %635
  %641 = load i32, ptr %20, align 4, !tbaa !5
  %642 = call ptr @__errno_location() #11
  store i32 %641, ptr %642, align 4, !tbaa !5
  %643 = load ptr, ptr @stderr, align 8, !tbaa !9
  %644 = load i32, ptr @test_count, align 4, !tbaa !5
  %645 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %646 = load i32, ptr %645, align 4, !tbaa !5
  %647 = call ptr @s2n_strerror(i32 noundef %646, ptr noundef @.str.5)
  %648 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %649 = load i32, ptr %648, align 4, !tbaa !5
  %650 = call ptr @s2n_strerror_debug(i32 noundef %649, ptr noundef @.str.5)
  %651 = call ptr @__errno_location() #11
  %652 = load i32, ptr %651, align 4, !tbaa !5
  %653 = call ptr @strerror(i32 noundef %652) #10
  %654 = call ptr @__errno_location() #11
  %655 = load i32, ptr %654, align 4, !tbaa !5
  %656 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %643, ptr noundef @.str.3, i32 noundef %644, ptr noundef @.str.15, ptr noundef @.str.2, i32 noundef 85, ptr noundef %647, ptr noundef %650, ptr noundef %653, i32 noundef %655) #10
  br label %674

657:                                              ; preds = %635, %628
  %658 = load i32, ptr %20, align 4, !tbaa !5
  %659 = call ptr @__errno_location() #11
  store i32 %658, ptr %659, align 4, !tbaa !5
  %660 = load ptr, ptr @stderr, align 8, !tbaa !9
  %661 = load i32, ptr @test_count, align 4, !tbaa !5
  %662 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %663 = load i32, ptr %662, align 4, !tbaa !5
  %664 = call ptr @s2n_strerror(i32 noundef %663, ptr noundef @.str.5)
  %665 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %666 = load i32, ptr %665, align 4, !tbaa !5
  %667 = call ptr @s2n_strerror_debug(i32 noundef %666, ptr noundef @.str.5)
  %668 = call ptr @__errno_location() #11
  %669 = load i32, ptr %668, align 4, !tbaa !5
  %670 = call ptr @strerror(i32 noundef %669) #10
  %671 = call ptr @__errno_location() #11
  %672 = load i32, ptr %671, align 4, !tbaa !5
  %673 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %660, ptr noundef @.str.6, i32 noundef %661, ptr noundef @.str.15, ptr noundef @.str.2, i32 noundef 85, ptr noundef %664, ptr noundef %667, ptr noundef %670, i32 noundef %672) #10
  br label %674

674:                                              ; preds = %657, %640
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #10
  br label %675

675:                                              ; preds = %674
  br label %676

676:                                              ; preds = %675
  call void @exit(i32 noundef 1) #12
  unreachable

677:                                              ; No predecessors!
  br label %678

678:                                              ; preds = %677
  br label %679

679:                                              ; preds = %678, %621
  br label %680

680:                                              ; preds = %679
  br label %681

681:                                              ; preds = %680
  br label %682

682:                                              ; preds = %681
  %683 = load i32, ptr @test_count, align 4, !tbaa !5
  %684 = add nsw i32 %683, 1
  store i32 %684, ptr @test_count, align 4, !tbaa !5
  %685 = load ptr, ptr %9, align 8, !tbaa !9
  %686 = load ptr, ptr %7, align 8, !tbaa !9
  %687 = load ptr, ptr %8, align 8, !tbaa !9
  %688 = call i32 @s2n_cert_chain_and_key_load_pem(ptr noundef %685, ptr noundef %686, ptr noundef %687)
  %689 = icmp eq i32 %688, -1
  br i1 %689, label %690, label %743

690:                                              ; preds = %682
  br label %691

691:                                              ; preds = %690
  br label %692

692:                                              ; preds = %691
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #10
  %693 = call ptr @__errno_location() #11
  %694 = load i32, ptr %693, align 4, !tbaa !5
  store i32 %694, ptr %21, align 4, !tbaa !5
  %695 = load ptr, ptr @stderr, align 8, !tbaa !9
  %696 = call i32 @s2n_print_stacktrace(ptr noundef %695)
  %697 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %698 = trunc i8 %697 to i1
  br i1 %698, label %699, label %721

699:                                              ; preds = %692
  %700 = load ptr, ptr @stderr, align 8, !tbaa !9
  %701 = call i32 @fileno(ptr noundef %700) #10
  %702 = call i32 @isatty(i32 noundef %701) #10
  %703 = icmp ne i32 %702, 0
  br i1 %703, label %704, label %721

704:                                              ; preds = %699
  %705 = load i32, ptr %21, align 4, !tbaa !5
  %706 = call ptr @__errno_location() #11
  store i32 %705, ptr %706, align 4, !tbaa !5
  %707 = load ptr, ptr @stderr, align 8, !tbaa !9
  %708 = load i32, ptr @test_count, align 4, !tbaa !5
  %709 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %710 = load i32, ptr %709, align 4, !tbaa !5
  %711 = call ptr @s2n_strerror(i32 noundef %710, ptr noundef @.str.5)
  %712 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %713 = load i32, ptr %712, align 4, !tbaa !5
  %714 = call ptr @s2n_strerror_debug(i32 noundef %713, ptr noundef @.str.5)
  %715 = call ptr @__errno_location() #11
  %716 = load i32, ptr %715, align 4, !tbaa !5
  %717 = call ptr @strerror(i32 noundef %716) #10
  %718 = call ptr @__errno_location() #11
  %719 = load i32, ptr %718, align 4, !tbaa !5
  %720 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %707, ptr noundef @.str.3, i32 noundef %708, ptr noundef @.str.16, ptr noundef @.str.2, i32 noundef 86, ptr noundef %711, ptr noundef %714, ptr noundef %717, i32 noundef %719) #10
  br label %738

721:                                              ; preds = %699, %692
  %722 = load i32, ptr %21, align 4, !tbaa !5
  %723 = call ptr @__errno_location() #11
  store i32 %722, ptr %723, align 4, !tbaa !5
  %724 = load ptr, ptr @stderr, align 8, !tbaa !9
  %725 = load i32, ptr @test_count, align 4, !tbaa !5
  %726 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %727 = load i32, ptr %726, align 4, !tbaa !5
  %728 = call ptr @s2n_strerror(i32 noundef %727, ptr noundef @.str.5)
  %729 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %730 = load i32, ptr %729, align 4, !tbaa !5
  %731 = call ptr @s2n_strerror_debug(i32 noundef %730, ptr noundef @.str.5)
  %732 = call ptr @__errno_location() #11
  %733 = load i32, ptr %732, align 4, !tbaa !5
  %734 = call ptr @strerror(i32 noundef %733) #10
  %735 = call ptr @__errno_location() #11
  %736 = load i32, ptr %735, align 4, !tbaa !5
  %737 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %724, ptr noundef @.str.6, i32 noundef %725, ptr noundef @.str.16, ptr noundef @.str.2, i32 noundef 86, ptr noundef %728, ptr noundef %731, ptr noundef %734, i32 noundef %736) #10
  br label %738

738:                                              ; preds = %721, %704
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #10
  br label %739

739:                                              ; preds = %738
  br label %740

740:                                              ; preds = %739
  call void @exit(i32 noundef 1) #12
  unreachable

741:                                              ; No predecessors!
  br label %742

742:                                              ; preds = %741
  br label %743

743:                                              ; preds = %742, %682
  br label %744

744:                                              ; preds = %743
  br label %745

745:                                              ; preds = %744
  br label %746

746:                                              ; preds = %745
  %747 = load i32, ptr @test_count, align 4, !tbaa !5
  %748 = add nsw i32 %747, 1
  store i32 %748, ptr @test_count, align 4, !tbaa !5
  %749 = load ptr, ptr %6, align 8, !tbaa !9
  %750 = load ptr, ptr %9, align 8, !tbaa !9
  %751 = call i32 @s2n_config_add_cert_chain_and_key_to_store(ptr noundef %749, ptr noundef %750)
  %752 = icmp eq i32 %751, -1
  br i1 %752, label %753, label %806

753:                                              ; preds = %746
  br label %754

754:                                              ; preds = %753
  br label %755

755:                                              ; preds = %754
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #10
  %756 = call ptr @__errno_location() #11
  %757 = load i32, ptr %756, align 4, !tbaa !5
  store i32 %757, ptr %22, align 4, !tbaa !5
  %758 = load ptr, ptr @stderr, align 8, !tbaa !9
  %759 = call i32 @s2n_print_stacktrace(ptr noundef %758)
  %760 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %761 = trunc i8 %760 to i1
  br i1 %761, label %762, label %784

762:                                              ; preds = %755
  %763 = load ptr, ptr @stderr, align 8, !tbaa !9
  %764 = call i32 @fileno(ptr noundef %763) #10
  %765 = call i32 @isatty(i32 noundef %764) #10
  %766 = icmp ne i32 %765, 0
  br i1 %766, label %767, label %784

767:                                              ; preds = %762
  %768 = load i32, ptr %22, align 4, !tbaa !5
  %769 = call ptr @__errno_location() #11
  store i32 %768, ptr %769, align 4, !tbaa !5
  %770 = load ptr, ptr @stderr, align 8, !tbaa !9
  %771 = load i32, ptr @test_count, align 4, !tbaa !5
  %772 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %773 = load i32, ptr %772, align 4, !tbaa !5
  %774 = call ptr @s2n_strerror(i32 noundef %773, ptr noundef @.str.5)
  %775 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %776 = load i32, ptr %775, align 4, !tbaa !5
  %777 = call ptr @s2n_strerror_debug(i32 noundef %776, ptr noundef @.str.5)
  %778 = call ptr @__errno_location() #11
  %779 = load i32, ptr %778, align 4, !tbaa !5
  %780 = call ptr @strerror(i32 noundef %779) #10
  %781 = call ptr @__errno_location() #11
  %782 = load i32, ptr %781, align 4, !tbaa !5
  %783 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %770, ptr noundef @.str.3, i32 noundef %771, ptr noundef @.str.17, ptr noundef @.str.2, i32 noundef 87, ptr noundef %774, ptr noundef %777, ptr noundef %780, i32 noundef %782) #10
  br label %801

784:                                              ; preds = %762, %755
  %785 = load i32, ptr %22, align 4, !tbaa !5
  %786 = call ptr @__errno_location() #11
  store i32 %785, ptr %786, align 4, !tbaa !5
  %787 = load ptr, ptr @stderr, align 8, !tbaa !9
  %788 = load i32, ptr @test_count, align 4, !tbaa !5
  %789 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %790 = load i32, ptr %789, align 4, !tbaa !5
  %791 = call ptr @s2n_strerror(i32 noundef %790, ptr noundef @.str.5)
  %792 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %793 = load i32, ptr %792, align 4, !tbaa !5
  %794 = call ptr @s2n_strerror_debug(i32 noundef %793, ptr noundef @.str.5)
  %795 = call ptr @__errno_location() #11
  %796 = load i32, ptr %795, align 4, !tbaa !5
  %797 = call ptr @strerror(i32 noundef %796) #10
  %798 = call ptr @__errno_location() #11
  %799 = load i32, ptr %798, align 4, !tbaa !5
  %800 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %787, ptr noundef @.str.6, i32 noundef %788, ptr noundef @.str.17, ptr noundef @.str.2, i32 noundef 87, ptr noundef %791, ptr noundef %794, ptr noundef %797, i32 noundef %799) #10
  br label %801

801:                                              ; preds = %784, %767
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #10
  br label %802

802:                                              ; preds = %801
  br label %803

803:                                              ; preds = %802
  call void @exit(i32 noundef 1) #12
  unreachable

804:                                              ; No predecessors!
  br label %805

805:                                              ; preds = %804
  br label %806

806:                                              ; preds = %805, %746
  br label %807

807:                                              ; preds = %806
  br label %808

808:                                              ; preds = %807
  br label %809

809:                                              ; preds = %808
  %810 = load i32, ptr @test_count, align 4, !tbaa !5
  %811 = add nsw i32 %810, 1
  store i32 %811, ptr @test_count, align 4, !tbaa !5
  %812 = load ptr, ptr %9, align 8, !tbaa !9
  %813 = call i32 @s2n_cert_chain_and_key_free(ptr noundef %812)
  %814 = icmp eq i32 %813, -1
  br i1 %814, label %815, label %868

815:                                              ; preds = %809
  br label %816

816:                                              ; preds = %815
  br label %817

817:                                              ; preds = %816
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #10
  %818 = call ptr @__errno_location() #11
  %819 = load i32, ptr %818, align 4, !tbaa !5
  store i32 %819, ptr %23, align 4, !tbaa !5
  %820 = load ptr, ptr @stderr, align 8, !tbaa !9
  %821 = call i32 @s2n_print_stacktrace(ptr noundef %820)
  %822 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %823 = trunc i8 %822 to i1
  br i1 %823, label %824, label %846

824:                                              ; preds = %817
  %825 = load ptr, ptr @stderr, align 8, !tbaa !9
  %826 = call i32 @fileno(ptr noundef %825) #10
  %827 = call i32 @isatty(i32 noundef %826) #10
  %828 = icmp ne i32 %827, 0
  br i1 %828, label %829, label %846

829:                                              ; preds = %824
  %830 = load i32, ptr %23, align 4, !tbaa !5
  %831 = call ptr @__errno_location() #11
  store i32 %830, ptr %831, align 4, !tbaa !5
  %832 = load ptr, ptr @stderr, align 8, !tbaa !9
  %833 = load i32, ptr @test_count, align 4, !tbaa !5
  %834 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %835 = load i32, ptr %834, align 4, !tbaa !5
  %836 = call ptr @s2n_strerror(i32 noundef %835, ptr noundef @.str.5)
  %837 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %838 = load i32, ptr %837, align 4, !tbaa !5
  %839 = call ptr @s2n_strerror_debug(i32 noundef %838, ptr noundef @.str.5)
  %840 = call ptr @__errno_location() #11
  %841 = load i32, ptr %840, align 4, !tbaa !5
  %842 = call ptr @strerror(i32 noundef %841) #10
  %843 = call ptr @__errno_location() #11
  %844 = load i32, ptr %843, align 4, !tbaa !5
  %845 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %832, ptr noundef @.str.3, i32 noundef %833, ptr noundef @.str.18, ptr noundef @.str.2, i32 noundef 88, ptr noundef %836, ptr noundef %839, ptr noundef %842, i32 noundef %844) #10
  br label %863

846:                                              ; preds = %824, %817
  %847 = load i32, ptr %23, align 4, !tbaa !5
  %848 = call ptr @__errno_location() #11
  store i32 %847, ptr %848, align 4, !tbaa !5
  %849 = load ptr, ptr @stderr, align 8, !tbaa !9
  %850 = load i32, ptr @test_count, align 4, !tbaa !5
  %851 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %852 = load i32, ptr %851, align 4, !tbaa !5
  %853 = call ptr @s2n_strerror(i32 noundef %852, ptr noundef @.str.5)
  %854 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %855 = load i32, ptr %854, align 4, !tbaa !5
  %856 = call ptr @s2n_strerror_debug(i32 noundef %855, ptr noundef @.str.5)
  %857 = call ptr @__errno_location() #11
  %858 = load i32, ptr %857, align 4, !tbaa !5
  %859 = call ptr @strerror(i32 noundef %858) #10
  %860 = call ptr @__errno_location() #11
  %861 = load i32, ptr %860, align 4, !tbaa !5
  %862 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %849, ptr noundef @.str.6, i32 noundef %850, ptr noundef @.str.18, ptr noundef @.str.2, i32 noundef 88, ptr noundef %853, ptr noundef %856, ptr noundef %859, i32 noundef %861) #10
  br label %863

863:                                              ; preds = %846, %829
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #10
  br label %864

864:                                              ; preds = %863
  br label %865

865:                                              ; preds = %864
  call void @exit(i32 noundef 1) #12
  unreachable

866:                                              ; No predecessors!
  br label %867

867:                                              ; preds = %866
  br label %868

868:                                              ; preds = %867, %809
  br label %869

869:                                              ; preds = %868
  br label %870

870:                                              ; preds = %869
  br label %871

871:                                              ; preds = %870
  %872 = load i32, ptr @test_count, align 4, !tbaa !5
  %873 = add nsw i32 %872, 1
  store i32 %873, ptr @test_count, align 4, !tbaa !5
  %874 = load ptr, ptr %6, align 8, !tbaa !9
  %875 = call i32 @s2n_config_free(ptr noundef %874)
  %876 = icmp eq i32 %875, -1
  br i1 %876, label %877, label %930

877:                                              ; preds = %871
  br label %878

878:                                              ; preds = %877
  br label %879

879:                                              ; preds = %878
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #10
  %880 = call ptr @__errno_location() #11
  %881 = load i32, ptr %880, align 4, !tbaa !5
  store i32 %881, ptr %24, align 4, !tbaa !5
  %882 = load ptr, ptr @stderr, align 8, !tbaa !9
  %883 = call i32 @s2n_print_stacktrace(ptr noundef %882)
  %884 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %885 = trunc i8 %884 to i1
  br i1 %885, label %886, label %908

886:                                              ; preds = %879
  %887 = load ptr, ptr @stderr, align 8, !tbaa !9
  %888 = call i32 @fileno(ptr noundef %887) #10
  %889 = call i32 @isatty(i32 noundef %888) #10
  %890 = icmp ne i32 %889, 0
  br i1 %890, label %891, label %908

891:                                              ; preds = %886
  %892 = load i32, ptr %24, align 4, !tbaa !5
  %893 = call ptr @__errno_location() #11
  store i32 %892, ptr %893, align 4, !tbaa !5
  %894 = load ptr, ptr @stderr, align 8, !tbaa !9
  %895 = load i32, ptr @test_count, align 4, !tbaa !5
  %896 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %897 = load i32, ptr %896, align 4, !tbaa !5
  %898 = call ptr @s2n_strerror(i32 noundef %897, ptr noundef @.str.5)
  %899 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %900 = load i32, ptr %899, align 4, !tbaa !5
  %901 = call ptr @s2n_strerror_debug(i32 noundef %900, ptr noundef @.str.5)
  %902 = call ptr @__errno_location() #11
  %903 = load i32, ptr %902, align 4, !tbaa !5
  %904 = call ptr @strerror(i32 noundef %903) #10
  %905 = call ptr @__errno_location() #11
  %906 = load i32, ptr %905, align 4, !tbaa !5
  %907 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %894, ptr noundef @.str.3, i32 noundef %895, ptr noundef @.str.19, ptr noundef @.str.2, i32 noundef 89, ptr noundef %898, ptr noundef %901, ptr noundef %904, i32 noundef %906) #10
  br label %925

908:                                              ; preds = %886, %879
  %909 = load i32, ptr %24, align 4, !tbaa !5
  %910 = call ptr @__errno_location() #11
  store i32 %909, ptr %910, align 4, !tbaa !5
  %911 = load ptr, ptr @stderr, align 8, !tbaa !9
  %912 = load i32, ptr @test_count, align 4, !tbaa !5
  %913 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %914 = load i32, ptr %913, align 4, !tbaa !5
  %915 = call ptr @s2n_strerror(i32 noundef %914, ptr noundef @.str.5)
  %916 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %917 = load i32, ptr %916, align 4, !tbaa !5
  %918 = call ptr @s2n_strerror_debug(i32 noundef %917, ptr noundef @.str.5)
  %919 = call ptr @__errno_location() #11
  %920 = load i32, ptr %919, align 4, !tbaa !5
  %921 = call ptr @strerror(i32 noundef %920) #10
  %922 = call ptr @__errno_location() #11
  %923 = load i32, ptr %922, align 4, !tbaa !5
  %924 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %911, ptr noundef @.str.6, i32 noundef %912, ptr noundef @.str.19, ptr noundef @.str.2, i32 noundef 89, ptr noundef %915, ptr noundef %918, ptr noundef %921, i32 noundef %923) #10
  br label %925

925:                                              ; preds = %908, %891
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #10
  br label %926

926:                                              ; preds = %925
  br label %927

927:                                              ; preds = %926
  call void @exit(i32 noundef 1) #12
  unreachable

928:                                              ; No predecessors!
  br label %929

929:                                              ; preds = %928
  br label %930

930:                                              ; preds = %929, %871
  br label %931

931:                                              ; preds = %930
  br label %932

932:                                              ; preds = %931
  br label %933

933:                                              ; preds = %932
  %934 = load i64, ptr %16, align 8, !tbaa !15
  %935 = add i64 %934, 1
  store i64 %935, ptr %16, align 8, !tbaa !15
  br label %423, !llvm.loop !17

936:                                              ; preds = %426
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #10
  store i64 0, ptr %25, align 8, !tbaa !15
  br label %937

937:                                              ; preds = %1394, %936
  %938 = load i64, ptr %25, align 8, !tbaa !15
  %939 = icmp ult i64 %938, 5
  br i1 %939, label %941, label %940

940:                                              ; preds = %937
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #10
  br label %1397

941:                                              ; preds = %937
  br label %942

942:                                              ; preds = %941
  %943 = load i32, ptr @test_count, align 4, !tbaa !5
  %944 = add nsw i32 %943, 1
  store i32 %944, ptr @test_count, align 4, !tbaa !5
  %945 = load i64, ptr %25, align 8, !tbaa !15
  %946 = getelementptr inbounds [5 x [2 x ptr]], ptr @invalid_pem_pairs, i64 0, i64 %945
  %947 = getelementptr inbounds [2 x ptr], ptr %946, i64 0, i64 0
  %948 = load ptr, ptr %947, align 16, !tbaa !9
  %949 = load ptr, ptr %7, align 8, !tbaa !9
  %950 = call i32 @s2n_read_test_pem(ptr noundef %948, ptr noundef %949, i64 noundef 12000)
  %951 = icmp eq i32 %950, -1
  br i1 %951, label %952, label %1005

952:                                              ; preds = %942
  br label %953

953:                                              ; preds = %952
  br label %954

954:                                              ; preds = %953
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #10
  %955 = call ptr @__errno_location() #11
  %956 = load i32, ptr %955, align 4, !tbaa !5
  store i32 %956, ptr %26, align 4, !tbaa !5
  %957 = load ptr, ptr @stderr, align 8, !tbaa !9
  %958 = call i32 @s2n_print_stacktrace(ptr noundef %957)
  %959 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %960 = trunc i8 %959 to i1
  br i1 %960, label %961, label %983

961:                                              ; preds = %954
  %962 = load ptr, ptr @stderr, align 8, !tbaa !9
  %963 = call i32 @fileno(ptr noundef %962) #10
  %964 = call i32 @isatty(i32 noundef %963) #10
  %965 = icmp ne i32 %964, 0
  br i1 %965, label %966, label %983

966:                                              ; preds = %961
  %967 = load i32, ptr %26, align 4, !tbaa !5
  %968 = call ptr @__errno_location() #11
  store i32 %967, ptr %968, align 4, !tbaa !5
  %969 = load ptr, ptr @stderr, align 8, !tbaa !9
  %970 = load i32, ptr @test_count, align 4, !tbaa !5
  %971 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %972 = load i32, ptr %971, align 4, !tbaa !5
  %973 = call ptr @s2n_strerror(i32 noundef %972, ptr noundef @.str.5)
  %974 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %975 = load i32, ptr %974, align 4, !tbaa !5
  %976 = call ptr @s2n_strerror_debug(i32 noundef %975, ptr noundef @.str.5)
  %977 = call ptr @__errno_location() #11
  %978 = load i32, ptr %977, align 4, !tbaa !5
  %979 = call ptr @strerror(i32 noundef %978) #10
  %980 = call ptr @__errno_location() #11
  %981 = load i32, ptr %980, align 4, !tbaa !5
  %982 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %969, ptr noundef @.str.3, i32 noundef %970, ptr noundef @.str.20, ptr noundef @.str.2, i32 noundef 93, ptr noundef %973, ptr noundef %976, ptr noundef %979, i32 noundef %981) #10
  br label %1000

983:                                              ; preds = %961, %954
  %984 = load i32, ptr %26, align 4, !tbaa !5
  %985 = call ptr @__errno_location() #11
  store i32 %984, ptr %985, align 4, !tbaa !5
  %986 = load ptr, ptr @stderr, align 8, !tbaa !9
  %987 = load i32, ptr @test_count, align 4, !tbaa !5
  %988 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %989 = load i32, ptr %988, align 4, !tbaa !5
  %990 = call ptr @s2n_strerror(i32 noundef %989, ptr noundef @.str.5)
  %991 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %992 = load i32, ptr %991, align 4, !tbaa !5
  %993 = call ptr @s2n_strerror_debug(i32 noundef %992, ptr noundef @.str.5)
  %994 = call ptr @__errno_location() #11
  %995 = load i32, ptr %994, align 4, !tbaa !5
  %996 = call ptr @strerror(i32 noundef %995) #10
  %997 = call ptr @__errno_location() #11
  %998 = load i32, ptr %997, align 4, !tbaa !5
  %999 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %986, ptr noundef @.str.6, i32 noundef %987, ptr noundef @.str.20, ptr noundef @.str.2, i32 noundef 93, ptr noundef %990, ptr noundef %993, ptr noundef %996, i32 noundef %998) #10
  br label %1000

1000:                                             ; preds = %983, %966
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #10
  br label %1001

1001:                                             ; preds = %1000
  br label %1002

1002:                                             ; preds = %1001
  call void @exit(i32 noundef 1) #12
  unreachable

1003:                                             ; No predecessors!
  br label %1004

1004:                                             ; preds = %1003
  br label %1005

1005:                                             ; preds = %1004, %942
  br label %1006

1006:                                             ; preds = %1005
  br label %1007

1007:                                             ; preds = %1006
  br label %1008

1008:                                             ; preds = %1007
  %1009 = load i32, ptr @test_count, align 4, !tbaa !5
  %1010 = add nsw i32 %1009, 1
  store i32 %1010, ptr @test_count, align 4, !tbaa !5
  %1011 = load i64, ptr %25, align 8, !tbaa !15
  %1012 = getelementptr inbounds [5 x [2 x ptr]], ptr @invalid_pem_pairs, i64 0, i64 %1011
  %1013 = getelementptr inbounds [2 x ptr], ptr %1012, i64 0, i64 1
  %1014 = load ptr, ptr %1013, align 8, !tbaa !9
  %1015 = load ptr, ptr %8, align 8, !tbaa !9
  %1016 = call i32 @s2n_read_test_pem(ptr noundef %1014, ptr noundef %1015, i64 noundef 12000)
  %1017 = icmp eq i32 %1016, -1
  br i1 %1017, label %1018, label %1071

1018:                                             ; preds = %1008
  br label %1019

1019:                                             ; preds = %1018
  br label %1020

1020:                                             ; preds = %1019
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #10
  %1021 = call ptr @__errno_location() #11
  %1022 = load i32, ptr %1021, align 4, !tbaa !5
  store i32 %1022, ptr %27, align 4, !tbaa !5
  %1023 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1024 = call i32 @s2n_print_stacktrace(ptr noundef %1023)
  %1025 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %1026 = trunc i8 %1025 to i1
  br i1 %1026, label %1027, label %1049

1027:                                             ; preds = %1020
  %1028 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1029 = call i32 @fileno(ptr noundef %1028) #10
  %1030 = call i32 @isatty(i32 noundef %1029) #10
  %1031 = icmp ne i32 %1030, 0
  br i1 %1031, label %1032, label %1049

1032:                                             ; preds = %1027
  %1033 = load i32, ptr %27, align 4, !tbaa !5
  %1034 = call ptr @__errno_location() #11
  store i32 %1033, ptr %1034, align 4, !tbaa !5
  %1035 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1036 = load i32, ptr @test_count, align 4, !tbaa !5
  %1037 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1038 = load i32, ptr %1037, align 4, !tbaa !5
  %1039 = call ptr @s2n_strerror(i32 noundef %1038, ptr noundef @.str.5)
  %1040 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1041 = load i32, ptr %1040, align 4, !tbaa !5
  %1042 = call ptr @s2n_strerror_debug(i32 noundef %1041, ptr noundef @.str.5)
  %1043 = call ptr @__errno_location() #11
  %1044 = load i32, ptr %1043, align 4, !tbaa !5
  %1045 = call ptr @strerror(i32 noundef %1044) #10
  %1046 = call ptr @__errno_location() #11
  %1047 = load i32, ptr %1046, align 4, !tbaa !5
  %1048 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1035, ptr noundef @.str.3, i32 noundef %1036, ptr noundef @.str.21, ptr noundef @.str.2, i32 noundef 94, ptr noundef %1039, ptr noundef %1042, ptr noundef %1045, i32 noundef %1047) #10
  br label %1066

1049:                                             ; preds = %1027, %1020
  %1050 = load i32, ptr %27, align 4, !tbaa !5
  %1051 = call ptr @__errno_location() #11
  store i32 %1050, ptr %1051, align 4, !tbaa !5
  %1052 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1053 = load i32, ptr @test_count, align 4, !tbaa !5
  %1054 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1055 = load i32, ptr %1054, align 4, !tbaa !5
  %1056 = call ptr @s2n_strerror(i32 noundef %1055, ptr noundef @.str.5)
  %1057 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1058 = load i32, ptr %1057, align 4, !tbaa !5
  %1059 = call ptr @s2n_strerror_debug(i32 noundef %1058, ptr noundef @.str.5)
  %1060 = call ptr @__errno_location() #11
  %1061 = load i32, ptr %1060, align 4, !tbaa !5
  %1062 = call ptr @strerror(i32 noundef %1061) #10
  %1063 = call ptr @__errno_location() #11
  %1064 = load i32, ptr %1063, align 4, !tbaa !5
  %1065 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1052, ptr noundef @.str.6, i32 noundef %1053, ptr noundef @.str.21, ptr noundef @.str.2, i32 noundef 94, ptr noundef %1056, ptr noundef %1059, ptr noundef %1062, i32 noundef %1064) #10
  br label %1066

1066:                                             ; preds = %1049, %1032
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #10
  br label %1067

1067:                                             ; preds = %1066
  br label %1068

1068:                                             ; preds = %1067
  call void @exit(i32 noundef 1) #12
  unreachable

1069:                                             ; No predecessors!
  br label %1070

1070:                                             ; preds = %1069
  br label %1071

1071:                                             ; preds = %1070, %1008
  br label %1072

1072:                                             ; preds = %1071
  br label %1073

1073:                                             ; preds = %1072
  br label %1074

1074:                                             ; preds = %1073
  %1075 = load i32, ptr @test_count, align 4, !tbaa !5
  %1076 = add nsw i32 %1075, 1
  store i32 %1076, ptr @test_count, align 4, !tbaa !5
  %1077 = call ptr @s2n_cert_chain_and_key_new()
  store ptr %1077, ptr %9, align 8, !tbaa !9
  %1078 = icmp eq ptr %1077, null
  br i1 %1078, label %1079, label %1132

1079:                                             ; preds = %1074
  br label %1080

1080:                                             ; preds = %1079
  br label %1081

1081:                                             ; preds = %1080
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #10
  %1082 = call ptr @__errno_location() #11
  %1083 = load i32, ptr %1082, align 4, !tbaa !5
  store i32 %1083, ptr %28, align 4, !tbaa !5
  %1084 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1085 = call i32 @s2n_print_stacktrace(ptr noundef %1084)
  %1086 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %1087 = trunc i8 %1086 to i1
  br i1 %1087, label %1088, label %1110

1088:                                             ; preds = %1081
  %1089 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1090 = call i32 @fileno(ptr noundef %1089) #10
  %1091 = call i32 @isatty(i32 noundef %1090) #10
  %1092 = icmp ne i32 %1091, 0
  br i1 %1092, label %1093, label %1110

1093:                                             ; preds = %1088
  %1094 = load i32, ptr %28, align 4, !tbaa !5
  %1095 = call ptr @__errno_location() #11
  store i32 %1094, ptr %1095, align 4, !tbaa !5
  %1096 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1097 = load i32, ptr @test_count, align 4, !tbaa !5
  %1098 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1099 = load i32, ptr %1098, align 4, !tbaa !5
  %1100 = call ptr @s2n_strerror(i32 noundef %1099, ptr noundef @.str.5)
  %1101 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1102 = load i32, ptr %1101, align 4, !tbaa !5
  %1103 = call ptr @s2n_strerror_debug(i32 noundef %1102, ptr noundef @.str.5)
  %1104 = call ptr @__errno_location() #11
  %1105 = load i32, ptr %1104, align 4, !tbaa !5
  %1106 = call ptr @strerror(i32 noundef %1105) #10
  %1107 = call ptr @__errno_location() #11
  %1108 = load i32, ptr %1107, align 4, !tbaa !5
  %1109 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1096, ptr noundef @.str.3, i32 noundef %1097, ptr noundef @.str.15, ptr noundef @.str.2, i32 noundef 95, ptr noundef %1100, ptr noundef %1103, ptr noundef %1106, i32 noundef %1108) #10
  br label %1127

1110:                                             ; preds = %1088, %1081
  %1111 = load i32, ptr %28, align 4, !tbaa !5
  %1112 = call ptr @__errno_location() #11
  store i32 %1111, ptr %1112, align 4, !tbaa !5
  %1113 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1114 = load i32, ptr @test_count, align 4, !tbaa !5
  %1115 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1116 = load i32, ptr %1115, align 4, !tbaa !5
  %1117 = call ptr @s2n_strerror(i32 noundef %1116, ptr noundef @.str.5)
  %1118 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1119 = load i32, ptr %1118, align 4, !tbaa !5
  %1120 = call ptr @s2n_strerror_debug(i32 noundef %1119, ptr noundef @.str.5)
  %1121 = call ptr @__errno_location() #11
  %1122 = load i32, ptr %1121, align 4, !tbaa !5
  %1123 = call ptr @strerror(i32 noundef %1122) #10
  %1124 = call ptr @__errno_location() #11
  %1125 = load i32, ptr %1124, align 4, !tbaa !5
  %1126 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1113, ptr noundef @.str.6, i32 noundef %1114, ptr noundef @.str.15, ptr noundef @.str.2, i32 noundef 95, ptr noundef %1117, ptr noundef %1120, ptr noundef %1123, i32 noundef %1125) #10
  br label %1127

1127:                                             ; preds = %1110, %1093
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #10
  br label %1128

1128:                                             ; preds = %1127
  br label %1129

1129:                                             ; preds = %1128
  call void @exit(i32 noundef 1) #12
  unreachable

1130:                                             ; No predecessors!
  br label %1131

1131:                                             ; preds = %1130
  br label %1132

1132:                                             ; preds = %1131, %1074
  br label %1133

1133:                                             ; preds = %1132
  br label %1134

1134:                                             ; preds = %1133
  br label %1135

1135:                                             ; preds = %1134
  br label %1136

1136:                                             ; preds = %1135
  %1137 = load i32, ptr @test_count, align 4, !tbaa !5
  %1138 = add nsw i32 %1137, 1
  store i32 %1138, ptr @test_count, align 4, !tbaa !5
  %1139 = load ptr, ptr %9, align 8, !tbaa !9
  %1140 = load ptr, ptr %7, align 8, !tbaa !9
  %1141 = load ptr, ptr %8, align 8, !tbaa !9
  %1142 = call i32 @s2n_cert_chain_and_key_load_pem(ptr noundef %1139, ptr noundef %1140, ptr noundef %1141)
  %1143 = icmp eq i32 %1142, -1
  br i1 %1143, label %1197, label %1144

1144:                                             ; preds = %1136
  br label %1145

1145:                                             ; preds = %1144
  br label %1146

1146:                                             ; preds = %1145
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #10
  %1147 = call ptr @__errno_location() #11
  %1148 = load i32, ptr %1147, align 4, !tbaa !5
  store i32 %1148, ptr %29, align 4, !tbaa !5
  %1149 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1150 = call i32 @s2n_print_stacktrace(ptr noundef %1149)
  %1151 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %1152 = trunc i8 %1151 to i1
  br i1 %1152, label %1153, label %1175

1153:                                             ; preds = %1146
  %1154 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1155 = call i32 @fileno(ptr noundef %1154) #10
  %1156 = call i32 @isatty(i32 noundef %1155) #10
  %1157 = icmp ne i32 %1156, 0
  br i1 %1157, label %1158, label %1175

1158:                                             ; preds = %1153
  %1159 = load i32, ptr %29, align 4, !tbaa !5
  %1160 = call ptr @__errno_location() #11
  store i32 %1159, ptr %1160, align 4, !tbaa !5
  %1161 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1162 = load i32, ptr @test_count, align 4, !tbaa !5
  %1163 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1164 = load i32, ptr %1163, align 4, !tbaa !5
  %1165 = call ptr @s2n_strerror(i32 noundef %1164, ptr noundef @.str.5)
  %1166 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1167 = load i32, ptr %1166, align 4, !tbaa !5
  %1168 = call ptr @s2n_strerror_debug(i32 noundef %1167, ptr noundef @.str.5)
  %1169 = call ptr @__errno_location() #11
  %1170 = load i32, ptr %1169, align 4, !tbaa !5
  %1171 = call ptr @strerror(i32 noundef %1170) #10
  %1172 = call ptr @__errno_location() #11
  %1173 = load i32, ptr %1172, align 4, !tbaa !5
  %1174 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1161, ptr noundef @.str.3, i32 noundef %1162, ptr noundef @.str.22, ptr noundef @.str.2, i32 noundef 96, ptr noundef %1165, ptr noundef %1168, ptr noundef %1171, i32 noundef %1173) #10
  br label %1192

1175:                                             ; preds = %1153, %1146
  %1176 = load i32, ptr %29, align 4, !tbaa !5
  %1177 = call ptr @__errno_location() #11
  store i32 %1176, ptr %1177, align 4, !tbaa !5
  %1178 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1179 = load i32, ptr @test_count, align 4, !tbaa !5
  %1180 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1181 = load i32, ptr %1180, align 4, !tbaa !5
  %1182 = call ptr @s2n_strerror(i32 noundef %1181, ptr noundef @.str.5)
  %1183 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1184 = load i32, ptr %1183, align 4, !tbaa !5
  %1185 = call ptr @s2n_strerror_debug(i32 noundef %1184, ptr noundef @.str.5)
  %1186 = call ptr @__errno_location() #11
  %1187 = load i32, ptr %1186, align 4, !tbaa !5
  %1188 = call ptr @strerror(i32 noundef %1187) #10
  %1189 = call ptr @__errno_location() #11
  %1190 = load i32, ptr %1189, align 4, !tbaa !5
  %1191 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1178, ptr noundef @.str.6, i32 noundef %1179, ptr noundef @.str.22, ptr noundef @.str.2, i32 noundef 96, ptr noundef %1182, ptr noundef %1185, ptr noundef %1188, i32 noundef %1190) #10
  br label %1192

1192:                                             ; preds = %1175, %1158
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #10
  br label %1193

1193:                                             ; preds = %1192
  br label %1194

1194:                                             ; preds = %1193
  call void @exit(i32 noundef 1) #12
  unreachable

1195:                                             ; No predecessors!
  br label %1196

1196:                                             ; preds = %1195
  br label %1197

1197:                                             ; preds = %1196, %1136
  br label %1198

1198:                                             ; preds = %1197
  br label %1199

1199:                                             ; preds = %1198
  br label %1200

1200:                                             ; preds = %1199
  %1201 = load i32, ptr @test_count, align 4, !tbaa !5
  %1202 = add nsw i32 %1201, 1
  store i32 %1202, ptr @test_count, align 4, !tbaa !5
  %1203 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1204 = load i32, ptr %1203, align 4, !tbaa !5
  %1205 = icmp eq i32 %1204, 0
  br i1 %1205, label %1206, label %1259

1206:                                             ; preds = %1200
  br label %1207

1207:                                             ; preds = %1206
  br label %1208

1208:                                             ; preds = %1207
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #10
  %1209 = call ptr @__errno_location() #11
  %1210 = load i32, ptr %1209, align 4, !tbaa !5
  store i32 %1210, ptr %30, align 4, !tbaa !5
  %1211 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1212 = call i32 @s2n_print_stacktrace(ptr noundef %1211)
  %1213 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %1214 = trunc i8 %1213 to i1
  br i1 %1214, label %1215, label %1237

1215:                                             ; preds = %1208
  %1216 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1217 = call i32 @fileno(ptr noundef %1216) #10
  %1218 = call i32 @isatty(i32 noundef %1217) #10
  %1219 = icmp ne i32 %1218, 0
  br i1 %1219, label %1220, label %1237

1220:                                             ; preds = %1215
  %1221 = load i32, ptr %30, align 4, !tbaa !5
  %1222 = call ptr @__errno_location() #11
  store i32 %1221, ptr %1222, align 4, !tbaa !5
  %1223 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1224 = load i32, ptr @test_count, align 4, !tbaa !5
  %1225 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1226 = load i32, ptr %1225, align 4, !tbaa !5
  %1227 = call ptr @s2n_strerror(i32 noundef %1226, ptr noundef @.str.5)
  %1228 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1229 = load i32, ptr %1228, align 4, !tbaa !5
  %1230 = call ptr @s2n_strerror_debug(i32 noundef %1229, ptr noundef @.str.5)
  %1231 = call ptr @__errno_location() #11
  %1232 = load i32, ptr %1231, align 4, !tbaa !5
  %1233 = call ptr @strerror(i32 noundef %1232) #10
  %1234 = call ptr @__errno_location() #11
  %1235 = load i32, ptr %1234, align 4, !tbaa !5
  %1236 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1223, ptr noundef @.str.3, i32 noundef %1224, ptr noundef @.str.23, ptr noundef @.str.2, i32 noundef 96, ptr noundef %1227, ptr noundef %1230, ptr noundef %1233, i32 noundef %1235) #10
  br label %1254

1237:                                             ; preds = %1215, %1208
  %1238 = load i32, ptr %30, align 4, !tbaa !5
  %1239 = call ptr @__errno_location() #11
  store i32 %1238, ptr %1239, align 4, !tbaa !5
  %1240 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1241 = load i32, ptr @test_count, align 4, !tbaa !5
  %1242 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1243 = load i32, ptr %1242, align 4, !tbaa !5
  %1244 = call ptr @s2n_strerror(i32 noundef %1243, ptr noundef @.str.5)
  %1245 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1246 = load i32, ptr %1245, align 4, !tbaa !5
  %1247 = call ptr @s2n_strerror_debug(i32 noundef %1246, ptr noundef @.str.5)
  %1248 = call ptr @__errno_location() #11
  %1249 = load i32, ptr %1248, align 4, !tbaa !5
  %1250 = call ptr @strerror(i32 noundef %1249) #10
  %1251 = call ptr @__errno_location() #11
  %1252 = load i32, ptr %1251, align 4, !tbaa !5
  %1253 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1240, ptr noundef @.str.6, i32 noundef %1241, ptr noundef @.str.23, ptr noundef @.str.2, i32 noundef 96, ptr noundef %1244, ptr noundef %1247, ptr noundef %1250, i32 noundef %1252) #10
  br label %1254

1254:                                             ; preds = %1237, %1220
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #10
  br label %1255

1255:                                             ; preds = %1254
  br label %1256

1256:                                             ; preds = %1255
  call void @exit(i32 noundef 1) #12
  unreachable

1257:                                             ; No predecessors!
  br label %1258

1258:                                             ; preds = %1257
  br label %1259

1259:                                             ; preds = %1258, %1200
  br label %1260

1260:                                             ; preds = %1259
  br label %1261

1261:                                             ; preds = %1260
  br label %1262

1262:                                             ; preds = %1261
  %1263 = load i32, ptr @test_count, align 4, !tbaa !5
  %1264 = add nsw i32 %1263, 1
  store i32 %1264, ptr @test_count, align 4, !tbaa !5
  %1265 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1266 = load i32, ptr %1265, align 4, !tbaa !5
  %1267 = call ptr @s2n_strerror_debug(i32 noundef %1266, ptr noundef @.str.5)
  %1268 = icmp eq ptr %1267, null
  br i1 %1268, label %1269, label %1322

1269:                                             ; preds = %1262
  br label %1270

1270:                                             ; preds = %1269
  br label %1271

1271:                                             ; preds = %1270
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #10
  %1272 = call ptr @__errno_location() #11
  %1273 = load i32, ptr %1272, align 4, !tbaa !5
  store i32 %1273, ptr %31, align 4, !tbaa !5
  %1274 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1275 = call i32 @s2n_print_stacktrace(ptr noundef %1274)
  %1276 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %1277 = trunc i8 %1276 to i1
  br i1 %1277, label %1278, label %1300

1278:                                             ; preds = %1271
  %1279 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1280 = call i32 @fileno(ptr noundef %1279) #10
  %1281 = call i32 @isatty(i32 noundef %1280) #10
  %1282 = icmp ne i32 %1281, 0
  br i1 %1282, label %1283, label %1300

1283:                                             ; preds = %1278
  %1284 = load i32, ptr %31, align 4, !tbaa !5
  %1285 = call ptr @__errno_location() #11
  store i32 %1284, ptr %1285, align 4, !tbaa !5
  %1286 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1287 = load i32, ptr @test_count, align 4, !tbaa !5
  %1288 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1289 = load i32, ptr %1288, align 4, !tbaa !5
  %1290 = call ptr @s2n_strerror(i32 noundef %1289, ptr noundef @.str.5)
  %1291 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1292 = load i32, ptr %1291, align 4, !tbaa !5
  %1293 = call ptr @s2n_strerror_debug(i32 noundef %1292, ptr noundef @.str.5)
  %1294 = call ptr @__errno_location() #11
  %1295 = load i32, ptr %1294, align 4, !tbaa !5
  %1296 = call ptr @strerror(i32 noundef %1295) #10
  %1297 = call ptr @__errno_location() #11
  %1298 = load i32, ptr %1297, align 4, !tbaa !5
  %1299 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1286, ptr noundef @.str.3, i32 noundef %1287, ptr noundef @.str.24, ptr noundef @.str.2, i32 noundef 96, ptr noundef %1290, ptr noundef %1293, ptr noundef %1296, i32 noundef %1298) #10
  br label %1317

1300:                                             ; preds = %1278, %1271
  %1301 = load i32, ptr %31, align 4, !tbaa !5
  %1302 = call ptr @__errno_location() #11
  store i32 %1301, ptr %1302, align 4, !tbaa !5
  %1303 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1304 = load i32, ptr @test_count, align 4, !tbaa !5
  %1305 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1306 = load i32, ptr %1305, align 4, !tbaa !5
  %1307 = call ptr @s2n_strerror(i32 noundef %1306, ptr noundef @.str.5)
  %1308 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1309 = load i32, ptr %1308, align 4, !tbaa !5
  %1310 = call ptr @s2n_strerror_debug(i32 noundef %1309, ptr noundef @.str.5)
  %1311 = call ptr @__errno_location() #11
  %1312 = load i32, ptr %1311, align 4, !tbaa !5
  %1313 = call ptr @strerror(i32 noundef %1312) #10
  %1314 = call ptr @__errno_location() #11
  %1315 = load i32, ptr %1314, align 4, !tbaa !5
  %1316 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1303, ptr noundef @.str.6, i32 noundef %1304, ptr noundef @.str.24, ptr noundef @.str.2, i32 noundef 96, ptr noundef %1307, ptr noundef %1310, ptr noundef %1313, i32 noundef %1315) #10
  br label %1317

1317:                                             ; preds = %1300, %1283
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #10
  br label %1318

1318:                                             ; preds = %1317
  br label %1319

1319:                                             ; preds = %1318
  call void @exit(i32 noundef 1) #12
  unreachable

1320:                                             ; No predecessors!
  br label %1321

1321:                                             ; preds = %1320
  br label %1322

1322:                                             ; preds = %1321, %1262
  br label %1323

1323:                                             ; preds = %1322
  br label %1324

1324:                                             ; preds = %1323
  br label %1325

1325:                                             ; preds = %1324
  %1326 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  store i32 0, ptr %1326, align 4, !tbaa !5
  call void @s2n_debug_info_reset()
  %1327 = call ptr @__errno_location() #11
  store i32 0, ptr %1327, align 4, !tbaa !5
  br label %1328

1328:                                             ; preds = %1325
  br label %1329

1329:                                             ; preds = %1328
  br label %1330

1330:                                             ; preds = %1329
  br label %1331

1331:                                             ; preds = %1330
  br label %1332

1332:                                             ; preds = %1331
  %1333 = load i32, ptr @test_count, align 4, !tbaa !5
  %1334 = add nsw i32 %1333, 1
  store i32 %1334, ptr @test_count, align 4, !tbaa !5
  %1335 = load ptr, ptr %9, align 8, !tbaa !9
  %1336 = call i32 @s2n_cert_chain_and_key_free(ptr noundef %1335)
  %1337 = icmp eq i32 %1336, -1
  br i1 %1337, label %1338, label %1391

1338:                                             ; preds = %1332
  br label %1339

1339:                                             ; preds = %1338
  br label %1340

1340:                                             ; preds = %1339
  call void @llvm.lifetime.start.p0(i64 4, ptr %32) #10
  %1341 = call ptr @__errno_location() #11
  %1342 = load i32, ptr %1341, align 4, !tbaa !5
  store i32 %1342, ptr %32, align 4, !tbaa !5
  %1343 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1344 = call i32 @s2n_print_stacktrace(ptr noundef %1343)
  %1345 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %1346 = trunc i8 %1345 to i1
  br i1 %1346, label %1347, label %1369

1347:                                             ; preds = %1340
  %1348 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1349 = call i32 @fileno(ptr noundef %1348) #10
  %1350 = call i32 @isatty(i32 noundef %1349) #10
  %1351 = icmp ne i32 %1350, 0
  br i1 %1351, label %1352, label %1369

1352:                                             ; preds = %1347
  %1353 = load i32, ptr %32, align 4, !tbaa !5
  %1354 = call ptr @__errno_location() #11
  store i32 %1353, ptr %1354, align 4, !tbaa !5
  %1355 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1356 = load i32, ptr @test_count, align 4, !tbaa !5
  %1357 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1358 = load i32, ptr %1357, align 4, !tbaa !5
  %1359 = call ptr @s2n_strerror(i32 noundef %1358, ptr noundef @.str.5)
  %1360 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1361 = load i32, ptr %1360, align 4, !tbaa !5
  %1362 = call ptr @s2n_strerror_debug(i32 noundef %1361, ptr noundef @.str.5)
  %1363 = call ptr @__errno_location() #11
  %1364 = load i32, ptr %1363, align 4, !tbaa !5
  %1365 = call ptr @strerror(i32 noundef %1364) #10
  %1366 = call ptr @__errno_location() #11
  %1367 = load i32, ptr %1366, align 4, !tbaa !5
  %1368 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1355, ptr noundef @.str.3, i32 noundef %1356, ptr noundef @.str.18, ptr noundef @.str.2, i32 noundef 97, ptr noundef %1359, ptr noundef %1362, ptr noundef %1365, i32 noundef %1367) #10
  br label %1386

1369:                                             ; preds = %1347, %1340
  %1370 = load i32, ptr %32, align 4, !tbaa !5
  %1371 = call ptr @__errno_location() #11
  store i32 %1370, ptr %1371, align 4, !tbaa !5
  %1372 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1373 = load i32, ptr @test_count, align 4, !tbaa !5
  %1374 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1375 = load i32, ptr %1374, align 4, !tbaa !5
  %1376 = call ptr @s2n_strerror(i32 noundef %1375, ptr noundef @.str.5)
  %1377 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1378 = load i32, ptr %1377, align 4, !tbaa !5
  %1379 = call ptr @s2n_strerror_debug(i32 noundef %1378, ptr noundef @.str.5)
  %1380 = call ptr @__errno_location() #11
  %1381 = load i32, ptr %1380, align 4, !tbaa !5
  %1382 = call ptr @strerror(i32 noundef %1381) #10
  %1383 = call ptr @__errno_location() #11
  %1384 = load i32, ptr %1383, align 4, !tbaa !5
  %1385 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1372, ptr noundef @.str.6, i32 noundef %1373, ptr noundef @.str.18, ptr noundef @.str.2, i32 noundef 97, ptr noundef %1376, ptr noundef %1379, ptr noundef %1382, i32 noundef %1384) #10
  br label %1386

1386:                                             ; preds = %1369, %1352
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #10
  br label %1387

1387:                                             ; preds = %1386
  br label %1388

1388:                                             ; preds = %1387
  call void @exit(i32 noundef 1) #12
  unreachable

1389:                                             ; No predecessors!
  br label %1390

1390:                                             ; preds = %1389
  br label %1391

1391:                                             ; preds = %1390, %1332
  br label %1392

1392:                                             ; preds = %1391
  br label %1393

1393:                                             ; preds = %1392
  br label %1394

1394:                                             ; preds = %1393
  %1395 = load i64, ptr %25, align 8, !tbaa !15
  %1396 = add i64 %1395, 1
  store i64 %1396, ptr %25, align 8, !tbaa !15
  br label %937, !llvm.loop !19

1397:                                             ; preds = %940
  call void @llvm.lifetime.start.p0(i64 500000, ptr %33) #10
  call void @llvm.memset.p0.i64(ptr align 16 %33, i8 0, i64 500000, i1 false)
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #10
  store i64 0, ptr %34, align 8, !tbaa !15
  br label %1398

1398:                                             ; preds = %1917, %1397
  %1399 = load i64, ptr %34, align 8, !tbaa !15
  %1400 = icmp ult i64 %1399, 1
  br i1 %1400, label %1402, label %1401

1401:                                             ; preds = %1398
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #10
  br label %1920

1402:                                             ; preds = %1398
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #10
  %1403 = call ptr @s2n_cert_chain_and_key_new()
  store ptr %1403, ptr %35, align 8, !tbaa !9
  br label %1404

1404:                                             ; preds = %1402
  %1405 = load i32, ptr @test_count, align 4, !tbaa !5
  %1406 = add nsw i32 %1405, 1
  store i32 %1406, ptr @test_count, align 4, !tbaa !5
  %1407 = load ptr, ptr %35, align 8, !tbaa !9
  %1408 = icmp eq ptr %1407, null
  br i1 %1408, label %1409, label %1462

1409:                                             ; preds = %1404
  br label %1410

1410:                                             ; preds = %1409
  br label %1411

1411:                                             ; preds = %1410
  call void @llvm.lifetime.start.p0(i64 4, ptr %36) #10
  %1412 = call ptr @__errno_location() #11
  %1413 = load i32, ptr %1412, align 4, !tbaa !5
  store i32 %1413, ptr %36, align 4, !tbaa !5
  %1414 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1415 = call i32 @s2n_print_stacktrace(ptr noundef %1414)
  %1416 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %1417 = trunc i8 %1416 to i1
  br i1 %1417, label %1418, label %1440

1418:                                             ; preds = %1411
  %1419 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1420 = call i32 @fileno(ptr noundef %1419) #10
  %1421 = call i32 @isatty(i32 noundef %1420) #10
  %1422 = icmp ne i32 %1421, 0
  br i1 %1422, label %1423, label %1440

1423:                                             ; preds = %1418
  %1424 = load i32, ptr %36, align 4, !tbaa !5
  %1425 = call ptr @__errno_location() #11
  store i32 %1424, ptr %1425, align 4, !tbaa !5
  %1426 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1427 = load i32, ptr @test_count, align 4, !tbaa !5
  %1428 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1429 = load i32, ptr %1428, align 4, !tbaa !5
  %1430 = call ptr @s2n_strerror(i32 noundef %1429, ptr noundef @.str.5)
  %1431 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1432 = load i32, ptr %1431, align 4, !tbaa !5
  %1433 = call ptr @s2n_strerror_debug(i32 noundef %1432, ptr noundef @.str.5)
  %1434 = call ptr @__errno_location() #11
  %1435 = load i32, ptr %1434, align 4, !tbaa !5
  %1436 = call ptr @strerror(i32 noundef %1435) #10
  %1437 = call ptr @__errno_location() #11
  %1438 = load i32, ptr %1437, align 4, !tbaa !5
  %1439 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1426, ptr noundef @.str.3, i32 noundef %1427, ptr noundef @.str.25, ptr noundef @.str.2, i32 noundef 104, ptr noundef %1430, ptr noundef %1433, ptr noundef %1436, i32 noundef %1438) #10
  br label %1457

1440:                                             ; preds = %1418, %1411
  %1441 = load i32, ptr %36, align 4, !tbaa !5
  %1442 = call ptr @__errno_location() #11
  store i32 %1441, ptr %1442, align 4, !tbaa !5
  %1443 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1444 = load i32, ptr @test_count, align 4, !tbaa !5
  %1445 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1446 = load i32, ptr %1445, align 4, !tbaa !5
  %1447 = call ptr @s2n_strerror(i32 noundef %1446, ptr noundef @.str.5)
  %1448 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1449 = load i32, ptr %1448, align 4, !tbaa !5
  %1450 = call ptr @s2n_strerror_debug(i32 noundef %1449, ptr noundef @.str.5)
  %1451 = call ptr @__errno_location() #11
  %1452 = load i32, ptr %1451, align 4, !tbaa !5
  %1453 = call ptr @strerror(i32 noundef %1452) #10
  %1454 = call ptr @__errno_location() #11
  %1455 = load i32, ptr %1454, align 4, !tbaa !5
  %1456 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1443, ptr noundef @.str.6, i32 noundef %1444, ptr noundef @.str.25, ptr noundef @.str.2, i32 noundef 104, ptr noundef %1447, ptr noundef %1450, ptr noundef %1453, i32 noundef %1455) #10
  br label %1457

1457:                                             ; preds = %1440, %1423
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #10
  br label %1458

1458:                                             ; preds = %1457
  br label %1459

1459:                                             ; preds = %1458
  call void @exit(i32 noundef 1) #12
  unreachable

1460:                                             ; No predecessors!
  br label %1461

1461:                                             ; preds = %1460
  br label %1462

1462:                                             ; preds = %1461, %1404
  br label %1463

1463:                                             ; preds = %1462
  br label %1464

1464:                                             ; preds = %1463
  br label %1465

1465:                                             ; preds = %1464
  %1466 = load i32, ptr @test_count, align 4, !tbaa !5
  %1467 = add nsw i32 %1466, 1
  store i32 %1467, ptr @test_count, align 4, !tbaa !5
  %1468 = load i64, ptr %34, align 8, !tbaa !15
  %1469 = getelementptr inbounds [1 x %struct.anon], ptr @valid_cert_chains, i64 0, i64 %1468
  %1470 = getelementptr inbounds %struct.anon, ptr %1469, i32 0, i32 0
  %1471 = load ptr, ptr %1470, align 16, !tbaa !20
  %1472 = getelementptr inbounds [500000 x i8], ptr %33, i64 0, i64 0
  %1473 = call i32 @s2n_read_test_pem(ptr noundef %1471, ptr noundef %1472, i64 noundef 500000)
  %1474 = icmp eq i32 %1473, -1
  br i1 %1474, label %1475, label %1528

1475:                                             ; preds = %1465
  br label %1476

1476:                                             ; preds = %1475
  br label %1477

1477:                                             ; preds = %1476
  call void @llvm.lifetime.start.p0(i64 4, ptr %37) #10
  %1478 = call ptr @__errno_location() #11
  %1479 = load i32, ptr %1478, align 4, !tbaa !5
  store i32 %1479, ptr %37, align 4, !tbaa !5
  %1480 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1481 = call i32 @s2n_print_stacktrace(ptr noundef %1480)
  %1482 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %1483 = trunc i8 %1482 to i1
  br i1 %1483, label %1484, label %1506

1484:                                             ; preds = %1477
  %1485 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1486 = call i32 @fileno(ptr noundef %1485) #10
  %1487 = call i32 @isatty(i32 noundef %1486) #10
  %1488 = icmp ne i32 %1487, 0
  br i1 %1488, label %1489, label %1506

1489:                                             ; preds = %1484
  %1490 = load i32, ptr %37, align 4, !tbaa !5
  %1491 = call ptr @__errno_location() #11
  store i32 %1490, ptr %1491, align 4, !tbaa !5
  %1492 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1493 = load i32, ptr @test_count, align 4, !tbaa !5
  %1494 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1495 = load i32, ptr %1494, align 4, !tbaa !5
  %1496 = call ptr @s2n_strerror(i32 noundef %1495, ptr noundef @.str.5)
  %1497 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1498 = load i32, ptr %1497, align 4, !tbaa !5
  %1499 = call ptr @s2n_strerror_debug(i32 noundef %1498, ptr noundef @.str.5)
  %1500 = call ptr @__errno_location() #11
  %1501 = load i32, ptr %1500, align 4, !tbaa !5
  %1502 = call ptr @strerror(i32 noundef %1501) #10
  %1503 = call ptr @__errno_location() #11
  %1504 = load i32, ptr %1503, align 4, !tbaa !5
  %1505 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1492, ptr noundef @.str.3, i32 noundef %1493, ptr noundef @.str.26, ptr noundef @.str.2, i32 noundef 106, ptr noundef %1496, ptr noundef %1499, ptr noundef %1502, i32 noundef %1504) #10
  br label %1523

1506:                                             ; preds = %1484, %1477
  %1507 = load i32, ptr %37, align 4, !tbaa !5
  %1508 = call ptr @__errno_location() #11
  store i32 %1507, ptr %1508, align 4, !tbaa !5
  %1509 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1510 = load i32, ptr @test_count, align 4, !tbaa !5
  %1511 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1512 = load i32, ptr %1511, align 4, !tbaa !5
  %1513 = call ptr @s2n_strerror(i32 noundef %1512, ptr noundef @.str.5)
  %1514 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1515 = load i32, ptr %1514, align 4, !tbaa !5
  %1516 = call ptr @s2n_strerror_debug(i32 noundef %1515, ptr noundef @.str.5)
  %1517 = call ptr @__errno_location() #11
  %1518 = load i32, ptr %1517, align 4, !tbaa !5
  %1519 = call ptr @strerror(i32 noundef %1518) #10
  %1520 = call ptr @__errno_location() #11
  %1521 = load i32, ptr %1520, align 4, !tbaa !5
  %1522 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1509, ptr noundef @.str.6, i32 noundef %1510, ptr noundef @.str.26, ptr noundef @.str.2, i32 noundef 106, ptr noundef %1513, ptr noundef %1516, ptr noundef %1519, i32 noundef %1521) #10
  br label %1523

1523:                                             ; preds = %1506, %1489
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #10
  br label %1524

1524:                                             ; preds = %1523
  br label %1525

1525:                                             ; preds = %1524
  call void @exit(i32 noundef 1) #12
  unreachable

1526:                                             ; No predecessors!
  br label %1527

1527:                                             ; preds = %1526
  br label %1528

1528:                                             ; preds = %1527, %1465
  br label %1529

1529:                                             ; preds = %1528
  br label %1530

1530:                                             ; preds = %1529
  call void @llvm.lifetime.start.p0(i64 4, ptr %38) #10
  store i32 0, ptr %38, align 4, !tbaa !5
  br label %1531

1531:                                             ; preds = %1530
  %1532 = load i32, ptr @test_count, align 4, !tbaa !5
  %1533 = add nsw i32 %1532, 1
  store i32 %1533, ptr @test_count, align 4, !tbaa !5
  %1534 = load ptr, ptr %35, align 8, !tbaa !9
  %1535 = getelementptr inbounds [500000 x i8], ptr %33, i64 0, i64 0
  %1536 = getelementptr inbounds [500000 x i8], ptr %33, i64 0, i64 0
  %1537 = call i64 @strlen(ptr noundef %1536) #14
  %1538 = trunc i64 %1537 to i32
  %1539 = call i32 @s2n_cert_chain_and_key_load_public_pem_bytes(ptr noundef %1534, ptr noundef %1535, i32 noundef %1538)
  %1540 = icmp eq i32 %1539, -1
  br i1 %1540, label %1541, label %1594

1541:                                             ; preds = %1531
  br label %1542

1542:                                             ; preds = %1541
  br label %1543

1543:                                             ; preds = %1542
  call void @llvm.lifetime.start.p0(i64 4, ptr %39) #10
  %1544 = call ptr @__errno_location() #11
  %1545 = load i32, ptr %1544, align 4, !tbaa !5
  store i32 %1545, ptr %39, align 4, !tbaa !5
  %1546 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1547 = call i32 @s2n_print_stacktrace(ptr noundef %1546)
  %1548 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %1549 = trunc i8 %1548 to i1
  br i1 %1549, label %1550, label %1572

1550:                                             ; preds = %1543
  %1551 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1552 = call i32 @fileno(ptr noundef %1551) #10
  %1553 = call i32 @isatty(i32 noundef %1552) #10
  %1554 = icmp ne i32 %1553, 0
  br i1 %1554, label %1555, label %1572

1555:                                             ; preds = %1550
  %1556 = load i32, ptr %39, align 4, !tbaa !5
  %1557 = call ptr @__errno_location() #11
  store i32 %1556, ptr %1557, align 4, !tbaa !5
  %1558 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1559 = load i32, ptr @test_count, align 4, !tbaa !5
  %1560 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1561 = load i32, ptr %1560, align 4, !tbaa !5
  %1562 = call ptr @s2n_strerror(i32 noundef %1561, ptr noundef @.str.5)
  %1563 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1564 = load i32, ptr %1563, align 4, !tbaa !5
  %1565 = call ptr @s2n_strerror_debug(i32 noundef %1564, ptr noundef @.str.5)
  %1566 = call ptr @__errno_location() #11
  %1567 = load i32, ptr %1566, align 4, !tbaa !5
  %1568 = call ptr @strerror(i32 noundef %1567) #10
  %1569 = call ptr @__errno_location() #11
  %1570 = load i32, ptr %1569, align 4, !tbaa !5
  %1571 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1558, ptr noundef @.str.3, i32 noundef %1559, ptr noundef @.str.27, ptr noundef @.str.2, i32 noundef 110, ptr noundef %1562, ptr noundef %1565, ptr noundef %1568, i32 noundef %1570) #10
  br label %1589

1572:                                             ; preds = %1550, %1543
  %1573 = load i32, ptr %39, align 4, !tbaa !5
  %1574 = call ptr @__errno_location() #11
  store i32 %1573, ptr %1574, align 4, !tbaa !5
  %1575 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1576 = load i32, ptr @test_count, align 4, !tbaa !5
  %1577 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1578 = load i32, ptr %1577, align 4, !tbaa !5
  %1579 = call ptr @s2n_strerror(i32 noundef %1578, ptr noundef @.str.5)
  %1580 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1581 = load i32, ptr %1580, align 4, !tbaa !5
  %1582 = call ptr @s2n_strerror_debug(i32 noundef %1581, ptr noundef @.str.5)
  %1583 = call ptr @__errno_location() #11
  %1584 = load i32, ptr %1583, align 4, !tbaa !5
  %1585 = call ptr @strerror(i32 noundef %1584) #10
  %1586 = call ptr @__errno_location() #11
  %1587 = load i32, ptr %1586, align 4, !tbaa !5
  %1588 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1575, ptr noundef @.str.6, i32 noundef %1576, ptr noundef @.str.27, ptr noundef @.str.2, i32 noundef 110, ptr noundef %1579, ptr noundef %1582, ptr noundef %1585, i32 noundef %1587) #10
  br label %1589

1589:                                             ; preds = %1572, %1555
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #10
  br label %1590

1590:                                             ; preds = %1589
  br label %1591

1591:                                             ; preds = %1590
  call void @exit(i32 noundef 1) #12
  unreachable

1592:                                             ; No predecessors!
  br label %1593

1593:                                             ; preds = %1592
  br label %1594

1594:                                             ; preds = %1593, %1531
  br label %1595

1595:                                             ; preds = %1594
  br label %1596

1596:                                             ; preds = %1595
  br label %1597

1597:                                             ; preds = %1596
  %1598 = load i32, ptr @test_count, align 4, !tbaa !5
  %1599 = add nsw i32 %1598, 1
  store i32 %1599, ptr @test_count, align 4, !tbaa !5
  %1600 = load ptr, ptr %35, align 8, !tbaa !9
  %1601 = call i32 @s2n_cert_chain_get_length(ptr noundef %1600, ptr noundef %38)
  %1602 = icmp eq i32 %1601, -1
  br i1 %1602, label %1603, label %1656

1603:                                             ; preds = %1597
  br label %1604

1604:                                             ; preds = %1603
  br label %1605

1605:                                             ; preds = %1604
  call void @llvm.lifetime.start.p0(i64 4, ptr %40) #10
  %1606 = call ptr @__errno_location() #11
  %1607 = load i32, ptr %1606, align 4, !tbaa !5
  store i32 %1607, ptr %40, align 4, !tbaa !5
  %1608 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1609 = call i32 @s2n_print_stacktrace(ptr noundef %1608)
  %1610 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %1611 = trunc i8 %1610 to i1
  br i1 %1611, label %1612, label %1634

1612:                                             ; preds = %1605
  %1613 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1614 = call i32 @fileno(ptr noundef %1613) #10
  %1615 = call i32 @isatty(i32 noundef %1614) #10
  %1616 = icmp ne i32 %1615, 0
  br i1 %1616, label %1617, label %1634

1617:                                             ; preds = %1612
  %1618 = load i32, ptr %40, align 4, !tbaa !5
  %1619 = call ptr @__errno_location() #11
  store i32 %1618, ptr %1619, align 4, !tbaa !5
  %1620 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1621 = load i32, ptr @test_count, align 4, !tbaa !5
  %1622 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1623 = load i32, ptr %1622, align 4, !tbaa !5
  %1624 = call ptr @s2n_strerror(i32 noundef %1623, ptr noundef @.str.5)
  %1625 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1626 = load i32, ptr %1625, align 4, !tbaa !5
  %1627 = call ptr @s2n_strerror_debug(i32 noundef %1626, ptr noundef @.str.5)
  %1628 = call ptr @__errno_location() #11
  %1629 = load i32, ptr %1628, align 4, !tbaa !5
  %1630 = call ptr @strerror(i32 noundef %1629) #10
  %1631 = call ptr @__errno_location() #11
  %1632 = load i32, ptr %1631, align 4, !tbaa !5
  %1633 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1620, ptr noundef @.str.3, i32 noundef %1621, ptr noundef @.str.28, ptr noundef @.str.2, i32 noundef 111, ptr noundef %1624, ptr noundef %1627, ptr noundef %1630, i32 noundef %1632) #10
  br label %1651

1634:                                             ; preds = %1612, %1605
  %1635 = load i32, ptr %40, align 4, !tbaa !5
  %1636 = call ptr @__errno_location() #11
  store i32 %1635, ptr %1636, align 4, !tbaa !5
  %1637 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1638 = load i32, ptr @test_count, align 4, !tbaa !5
  %1639 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1640 = load i32, ptr %1639, align 4, !tbaa !5
  %1641 = call ptr @s2n_strerror(i32 noundef %1640, ptr noundef @.str.5)
  %1642 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1643 = load i32, ptr %1642, align 4, !tbaa !5
  %1644 = call ptr @s2n_strerror_debug(i32 noundef %1643, ptr noundef @.str.5)
  %1645 = call ptr @__errno_location() #11
  %1646 = load i32, ptr %1645, align 4, !tbaa !5
  %1647 = call ptr @strerror(i32 noundef %1646) #10
  %1648 = call ptr @__errno_location() #11
  %1649 = load i32, ptr %1648, align 4, !tbaa !5
  %1650 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1637, ptr noundef @.str.6, i32 noundef %1638, ptr noundef @.str.28, ptr noundef @.str.2, i32 noundef 111, ptr noundef %1641, ptr noundef %1644, ptr noundef %1647, i32 noundef %1649) #10
  br label %1651

1651:                                             ; preds = %1634, %1617
  call void @llvm.lifetime.end.p0(i64 4, ptr %40) #10
  br label %1652

1652:                                             ; preds = %1651
  br label %1653

1653:                                             ; preds = %1652
  call void @exit(i32 noundef 1) #12
  unreachable

1654:                                             ; No predecessors!
  br label %1655

1655:                                             ; preds = %1654
  br label %1656

1656:                                             ; preds = %1655, %1597
  br label %1657

1657:                                             ; preds = %1656
  br label %1658

1658:                                             ; preds = %1657
  br label %1659

1659:                                             ; preds = %1658
  %1660 = load i32, ptr @test_count, align 4, !tbaa !5
  %1661 = add nsw i32 %1660, 1
  store i32 %1661, ptr @test_count, align 4, !tbaa !5
  %1662 = load i32, ptr %38, align 4, !tbaa !5
  %1663 = load i64, ptr %34, align 8, !tbaa !15
  %1664 = getelementptr inbounds [1 x %struct.anon], ptr @valid_cert_chains, i64 0, i64 %1663
  %1665 = getelementptr inbounds %struct.anon, ptr %1664, i32 0, i32 1
  %1666 = load i16, ptr %1665, align 8, !tbaa !23
  %1667 = zext i16 %1666 to i32
  %1668 = icmp eq i32 %1662, %1667
  br i1 %1668, label %1722, label %1669

1669:                                             ; preds = %1659
  br label %1670

1670:                                             ; preds = %1669
  br label %1671

1671:                                             ; preds = %1670
  call void @llvm.lifetime.start.p0(i64 4, ptr %41) #10
  %1672 = call ptr @__errno_location() #11
  %1673 = load i32, ptr %1672, align 4, !tbaa !5
  store i32 %1673, ptr %41, align 4, !tbaa !5
  %1674 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1675 = call i32 @s2n_print_stacktrace(ptr noundef %1674)
  %1676 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %1677 = trunc i8 %1676 to i1
  br i1 %1677, label %1678, label %1700

1678:                                             ; preds = %1671
  %1679 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1680 = call i32 @fileno(ptr noundef %1679) #10
  %1681 = call i32 @isatty(i32 noundef %1680) #10
  %1682 = icmp ne i32 %1681, 0
  br i1 %1682, label %1683, label %1700

1683:                                             ; preds = %1678
  %1684 = load i32, ptr %41, align 4, !tbaa !5
  %1685 = call ptr @__errno_location() #11
  store i32 %1684, ptr %1685, align 4, !tbaa !5
  %1686 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1687 = load i32, ptr @test_count, align 4, !tbaa !5
  %1688 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1689 = load i32, ptr %1688, align 4, !tbaa !5
  %1690 = call ptr @s2n_strerror(i32 noundef %1689, ptr noundef @.str.5)
  %1691 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1692 = load i32, ptr %1691, align 4, !tbaa !5
  %1693 = call ptr @s2n_strerror_debug(i32 noundef %1692, ptr noundef @.str.5)
  %1694 = call ptr @__errno_location() #11
  %1695 = load i32, ptr %1694, align 4, !tbaa !5
  %1696 = call ptr @strerror(i32 noundef %1695) #10
  %1697 = call ptr @__errno_location() #11
  %1698 = load i32, ptr %1697, align 4, !tbaa !5
  %1699 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1686, ptr noundef @.str.3, i32 noundef %1687, ptr noundef @.str.29, ptr noundef @.str.2, i32 noundef 112, ptr noundef %1690, ptr noundef %1693, ptr noundef %1696, i32 noundef %1698) #10
  br label %1717

1700:                                             ; preds = %1678, %1671
  %1701 = load i32, ptr %41, align 4, !tbaa !5
  %1702 = call ptr @__errno_location() #11
  store i32 %1701, ptr %1702, align 4, !tbaa !5
  %1703 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1704 = load i32, ptr @test_count, align 4, !tbaa !5
  %1705 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1706 = load i32, ptr %1705, align 4, !tbaa !5
  %1707 = call ptr @s2n_strerror(i32 noundef %1706, ptr noundef @.str.5)
  %1708 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1709 = load i32, ptr %1708, align 4, !tbaa !5
  %1710 = call ptr @s2n_strerror_debug(i32 noundef %1709, ptr noundef @.str.5)
  %1711 = call ptr @__errno_location() #11
  %1712 = load i32, ptr %1711, align 4, !tbaa !5
  %1713 = call ptr @strerror(i32 noundef %1712) #10
  %1714 = call ptr @__errno_location() #11
  %1715 = load i32, ptr %1714, align 4, !tbaa !5
  %1716 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1703, ptr noundef @.str.6, i32 noundef %1704, ptr noundef @.str.29, ptr noundef @.str.2, i32 noundef 112, ptr noundef %1707, ptr noundef %1710, ptr noundef %1713, i32 noundef %1715) #10
  br label %1717

1717:                                             ; preds = %1700, %1683
  call void @llvm.lifetime.end.p0(i64 4, ptr %41) #10
  br label %1718

1718:                                             ; preds = %1717
  br label %1719

1719:                                             ; preds = %1718
  call void @exit(i32 noundef 1) #12
  unreachable

1720:                                             ; No predecessors!
  br label %1721

1721:                                             ; preds = %1720
  br label %1722

1722:                                             ; preds = %1721, %1659
  br label %1723

1723:                                             ; preds = %1722
  br label %1724

1724:                                             ; preds = %1723
  call void @llvm.lifetime.start.p0(i64 8, ptr %42) #10
  %1725 = call ptr @s2n_config_new()
  store ptr %1725, ptr %42, align 8, !tbaa !9
  br label %1726

1726:                                             ; preds = %1724
  %1727 = load i32, ptr @test_count, align 4, !tbaa !5
  %1728 = add nsw i32 %1727, 1
  store i32 %1728, ptr @test_count, align 4, !tbaa !5
  %1729 = load ptr, ptr %42, align 8, !tbaa !9
  %1730 = icmp eq ptr %1729, null
  br i1 %1730, label %1731, label %1784

1731:                                             ; preds = %1726
  br label %1732

1732:                                             ; preds = %1731
  br label %1733

1733:                                             ; preds = %1732
  call void @llvm.lifetime.start.p0(i64 4, ptr %43) #10
  %1734 = call ptr @__errno_location() #11
  %1735 = load i32, ptr %1734, align 4, !tbaa !5
  store i32 %1735, ptr %43, align 4, !tbaa !5
  %1736 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1737 = call i32 @s2n_print_stacktrace(ptr noundef %1736)
  %1738 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %1739 = trunc i8 %1738 to i1
  br i1 %1739, label %1740, label %1762

1740:                                             ; preds = %1733
  %1741 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1742 = call i32 @fileno(ptr noundef %1741) #10
  %1743 = call i32 @isatty(i32 noundef %1742) #10
  %1744 = icmp ne i32 %1743, 0
  br i1 %1744, label %1745, label %1762

1745:                                             ; preds = %1740
  %1746 = load i32, ptr %43, align 4, !tbaa !5
  %1747 = call ptr @__errno_location() #11
  store i32 %1746, ptr %1747, align 4, !tbaa !5
  %1748 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1749 = load i32, ptr @test_count, align 4, !tbaa !5
  %1750 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1751 = load i32, ptr %1750, align 4, !tbaa !5
  %1752 = call ptr @s2n_strerror(i32 noundef %1751, ptr noundef @.str.5)
  %1753 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1754 = load i32, ptr %1753, align 4, !tbaa !5
  %1755 = call ptr @s2n_strerror_debug(i32 noundef %1754, ptr noundef @.str.5)
  %1756 = call ptr @__errno_location() #11
  %1757 = load i32, ptr %1756, align 4, !tbaa !5
  %1758 = call ptr @strerror(i32 noundef %1757) #10
  %1759 = call ptr @__errno_location() #11
  %1760 = load i32, ptr %1759, align 4, !tbaa !5
  %1761 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1748, ptr noundef @.str.3, i32 noundef %1749, ptr noundef @.str.30, ptr noundef @.str.2, i32 noundef 115, ptr noundef %1752, ptr noundef %1755, ptr noundef %1758, i32 noundef %1760) #10
  br label %1779

1762:                                             ; preds = %1740, %1733
  %1763 = load i32, ptr %43, align 4, !tbaa !5
  %1764 = call ptr @__errno_location() #11
  store i32 %1763, ptr %1764, align 4, !tbaa !5
  %1765 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1766 = load i32, ptr @test_count, align 4, !tbaa !5
  %1767 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1768 = load i32, ptr %1767, align 4, !tbaa !5
  %1769 = call ptr @s2n_strerror(i32 noundef %1768, ptr noundef @.str.5)
  %1770 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1771 = load i32, ptr %1770, align 4, !tbaa !5
  %1772 = call ptr @s2n_strerror_debug(i32 noundef %1771, ptr noundef @.str.5)
  %1773 = call ptr @__errno_location() #11
  %1774 = load i32, ptr %1773, align 4, !tbaa !5
  %1775 = call ptr @strerror(i32 noundef %1774) #10
  %1776 = call ptr @__errno_location() #11
  %1777 = load i32, ptr %1776, align 4, !tbaa !5
  %1778 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1765, ptr noundef @.str.6, i32 noundef %1766, ptr noundef @.str.30, ptr noundef @.str.2, i32 noundef 115, ptr noundef %1769, ptr noundef %1772, ptr noundef %1775, i32 noundef %1777) #10
  br label %1779

1779:                                             ; preds = %1762, %1745
  call void @llvm.lifetime.end.p0(i64 4, ptr %43) #10
  br label %1780

1780:                                             ; preds = %1779
  br label %1781

1781:                                             ; preds = %1780
  call void @exit(i32 noundef 1) #12
  unreachable

1782:                                             ; No predecessors!
  br label %1783

1783:                                             ; preds = %1782
  br label %1784

1784:                                             ; preds = %1783, %1726
  br label %1785

1785:                                             ; preds = %1784
  br label %1786

1786:                                             ; preds = %1785
  br label %1787

1787:                                             ; preds = %1786
  %1788 = load i32, ptr @test_count, align 4, !tbaa !5
  %1789 = add nsw i32 %1788, 1
  store i32 %1789, ptr @test_count, align 4, !tbaa !5
  %1790 = load ptr, ptr %42, align 8, !tbaa !9
  %1791 = getelementptr inbounds [500000 x i8], ptr %33, i64 0, i64 0
  %1792 = call i32 @s2n_config_add_pem_to_trust_store(ptr noundef %1790, ptr noundef %1791)
  %1793 = icmp eq i32 %1792, -1
  br i1 %1793, label %1794, label %1847

1794:                                             ; preds = %1787
  br label %1795

1795:                                             ; preds = %1794
  br label %1796

1796:                                             ; preds = %1795
  call void @llvm.lifetime.start.p0(i64 4, ptr %44) #10
  %1797 = call ptr @__errno_location() #11
  %1798 = load i32, ptr %1797, align 4, !tbaa !5
  store i32 %1798, ptr %44, align 4, !tbaa !5
  %1799 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1800 = call i32 @s2n_print_stacktrace(ptr noundef %1799)
  %1801 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %1802 = trunc i8 %1801 to i1
  br i1 %1802, label %1803, label %1825

1803:                                             ; preds = %1796
  %1804 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1805 = call i32 @fileno(ptr noundef %1804) #10
  %1806 = call i32 @isatty(i32 noundef %1805) #10
  %1807 = icmp ne i32 %1806, 0
  br i1 %1807, label %1808, label %1825

1808:                                             ; preds = %1803
  %1809 = load i32, ptr %44, align 4, !tbaa !5
  %1810 = call ptr @__errno_location() #11
  store i32 %1809, ptr %1810, align 4, !tbaa !5
  %1811 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1812 = load i32, ptr @test_count, align 4, !tbaa !5
  %1813 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1814 = load i32, ptr %1813, align 4, !tbaa !5
  %1815 = call ptr @s2n_strerror(i32 noundef %1814, ptr noundef @.str.5)
  %1816 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1817 = load i32, ptr %1816, align 4, !tbaa !5
  %1818 = call ptr @s2n_strerror_debug(i32 noundef %1817, ptr noundef @.str.5)
  %1819 = call ptr @__errno_location() #11
  %1820 = load i32, ptr %1819, align 4, !tbaa !5
  %1821 = call ptr @strerror(i32 noundef %1820) #10
  %1822 = call ptr @__errno_location() #11
  %1823 = load i32, ptr %1822, align 4, !tbaa !5
  %1824 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1811, ptr noundef @.str.3, i32 noundef %1812, ptr noundef @.str.31, ptr noundef @.str.2, i32 noundef 116, ptr noundef %1815, ptr noundef %1818, ptr noundef %1821, i32 noundef %1823) #10
  br label %1842

1825:                                             ; preds = %1803, %1796
  %1826 = load i32, ptr %44, align 4, !tbaa !5
  %1827 = call ptr @__errno_location() #11
  store i32 %1826, ptr %1827, align 4, !tbaa !5
  %1828 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1829 = load i32, ptr @test_count, align 4, !tbaa !5
  %1830 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1831 = load i32, ptr %1830, align 4, !tbaa !5
  %1832 = call ptr @s2n_strerror(i32 noundef %1831, ptr noundef @.str.5)
  %1833 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1834 = load i32, ptr %1833, align 4, !tbaa !5
  %1835 = call ptr @s2n_strerror_debug(i32 noundef %1834, ptr noundef @.str.5)
  %1836 = call ptr @__errno_location() #11
  %1837 = load i32, ptr %1836, align 4, !tbaa !5
  %1838 = call ptr @strerror(i32 noundef %1837) #10
  %1839 = call ptr @__errno_location() #11
  %1840 = load i32, ptr %1839, align 4, !tbaa !5
  %1841 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1828, ptr noundef @.str.6, i32 noundef %1829, ptr noundef @.str.31, ptr noundef @.str.2, i32 noundef 116, ptr noundef %1832, ptr noundef %1835, ptr noundef %1838, i32 noundef %1840) #10
  br label %1842

1842:                                             ; preds = %1825, %1808
  call void @llvm.lifetime.end.p0(i64 4, ptr %44) #10
  br label %1843

1843:                                             ; preds = %1842
  br label %1844

1844:                                             ; preds = %1843
  call void @exit(i32 noundef 1) #12
  unreachable

1845:                                             ; No predecessors!
  br label %1846

1846:                                             ; preds = %1845
  br label %1847

1847:                                             ; preds = %1846, %1787
  br label %1848

1848:                                             ; preds = %1847
  br label %1849

1849:                                             ; preds = %1848
  br label %1850

1850:                                             ; preds = %1849
  %1851 = load i32, ptr @test_count, align 4, !tbaa !5
  %1852 = add nsw i32 %1851, 1
  store i32 %1852, ptr @test_count, align 4, !tbaa !5
  %1853 = load ptr, ptr %42, align 8, !tbaa !9
  %1854 = load ptr, ptr %35, align 8, !tbaa !9
  %1855 = call i32 @s2n_config_add_cert_chain_and_key_to_store(ptr noundef %1853, ptr noundef %1854)
  %1856 = icmp eq i32 %1855, -1
  br i1 %1856, label %1857, label %1910

1857:                                             ; preds = %1850
  br label %1858

1858:                                             ; preds = %1857
  br label %1859

1859:                                             ; preds = %1858
  call void @llvm.lifetime.start.p0(i64 4, ptr %45) #10
  %1860 = call ptr @__errno_location() #11
  %1861 = load i32, ptr %1860, align 4, !tbaa !5
  store i32 %1861, ptr %45, align 4, !tbaa !5
  %1862 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1863 = call i32 @s2n_print_stacktrace(ptr noundef %1862)
  %1864 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %1865 = trunc i8 %1864 to i1
  br i1 %1865, label %1866, label %1888

1866:                                             ; preds = %1859
  %1867 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1868 = call i32 @fileno(ptr noundef %1867) #10
  %1869 = call i32 @isatty(i32 noundef %1868) #10
  %1870 = icmp ne i32 %1869, 0
  br i1 %1870, label %1871, label %1888

1871:                                             ; preds = %1866
  %1872 = load i32, ptr %45, align 4, !tbaa !5
  %1873 = call ptr @__errno_location() #11
  store i32 %1872, ptr %1873, align 4, !tbaa !5
  %1874 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1875 = load i32, ptr @test_count, align 4, !tbaa !5
  %1876 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1877 = load i32, ptr %1876, align 4, !tbaa !5
  %1878 = call ptr @s2n_strerror(i32 noundef %1877, ptr noundef @.str.5)
  %1879 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1880 = load i32, ptr %1879, align 4, !tbaa !5
  %1881 = call ptr @s2n_strerror_debug(i32 noundef %1880, ptr noundef @.str.5)
  %1882 = call ptr @__errno_location() #11
  %1883 = load i32, ptr %1882, align 4, !tbaa !5
  %1884 = call ptr @strerror(i32 noundef %1883) #10
  %1885 = call ptr @__errno_location() #11
  %1886 = load i32, ptr %1885, align 4, !tbaa !5
  %1887 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1874, ptr noundef @.str.3, i32 noundef %1875, ptr noundef @.str.32, ptr noundef @.str.2, i32 noundef 117, ptr noundef %1878, ptr noundef %1881, ptr noundef %1884, i32 noundef %1886) #10
  br label %1905

1888:                                             ; preds = %1866, %1859
  %1889 = load i32, ptr %45, align 4, !tbaa !5
  %1890 = call ptr @__errno_location() #11
  store i32 %1889, ptr %1890, align 4, !tbaa !5
  %1891 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1892 = load i32, ptr @test_count, align 4, !tbaa !5
  %1893 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1894 = load i32, ptr %1893, align 4, !tbaa !5
  %1895 = call ptr @s2n_strerror(i32 noundef %1894, ptr noundef @.str.5)
  %1896 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1897 = load i32, ptr %1896, align 4, !tbaa !5
  %1898 = call ptr @s2n_strerror_debug(i32 noundef %1897, ptr noundef @.str.5)
  %1899 = call ptr @__errno_location() #11
  %1900 = load i32, ptr %1899, align 4, !tbaa !5
  %1901 = call ptr @strerror(i32 noundef %1900) #10
  %1902 = call ptr @__errno_location() #11
  %1903 = load i32, ptr %1902, align 4, !tbaa !5
  %1904 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1891, ptr noundef @.str.6, i32 noundef %1892, ptr noundef @.str.32, ptr noundef @.str.2, i32 noundef 117, ptr noundef %1895, ptr noundef %1898, ptr noundef %1901, i32 noundef %1903) #10
  br label %1905

1905:                                             ; preds = %1888, %1871
  call void @llvm.lifetime.end.p0(i64 4, ptr %45) #10
  br label %1906

1906:                                             ; preds = %1905
  br label %1907

1907:                                             ; preds = %1906
  call void @exit(i32 noundef 1) #12
  unreachable

1908:                                             ; No predecessors!
  br label %1909

1909:                                             ; preds = %1908
  br label %1910

1910:                                             ; preds = %1909, %1850
  br label %1911

1911:                                             ; preds = %1910
  br label %1912

1912:                                             ; preds = %1911
  %1913 = call i32 @s2n_config_ptr_free(ptr noundef %42)
  %1914 = getelementptr inbounds %struct.s2n_result, ptr %46, i32 0, i32 0
  store i32 %1913, ptr %1914, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %42) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %38) #10
  %1915 = call i32 @s2n_cert_chain_and_key_ptr_free(ptr noundef %35)
  %1916 = getelementptr inbounds %struct.s2n_result, ptr %47, i32 0, i32 0
  store i32 %1915, ptr %1916, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #10
  br label %1917

1917:                                             ; preds = %1912
  %1918 = load i64, ptr %34, align 8, !tbaa !15
  %1919 = add i64 %1918, 1
  store i64 %1919, ptr %34, align 8, !tbaa !15
  br label %1398, !llvm.loop !24

1920:                                             ; preds = %1401
  %1921 = load ptr, ptr %7, align 8, !tbaa !9
  call void @free(ptr noundef %1921) #10
  %1922 = load ptr, ptr %8, align 8, !tbaa !9
  call void @free(ptr noundef %1922) #10
  br label %1923

1923:                                             ; preds = %1920
  br label %1924

1924:                                             ; preds = %1923
  %1925 = call i32 @s2n_cleanup()
  %1926 = icmp eq i32 %1925, -1
  br i1 %1926, label %1927, label %1980

1927:                                             ; preds = %1924
  br label %1928

1928:                                             ; preds = %1927
  br label %1929

1929:                                             ; preds = %1928
  call void @llvm.lifetime.start.p0(i64 4, ptr %48) #10
  %1930 = call ptr @__errno_location() #11
  %1931 = load i32, ptr %1930, align 4, !tbaa !5
  store i32 %1931, ptr %48, align 4, !tbaa !5
  %1932 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1933 = call i32 @s2n_print_stacktrace(ptr noundef %1932)
  %1934 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %1935 = trunc i8 %1934 to i1
  br i1 %1935, label %1936, label %1958

1936:                                             ; preds = %1929
  %1937 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1938 = call i32 @fileno(ptr noundef %1937) #10
  %1939 = call i32 @isatty(i32 noundef %1938) #10
  %1940 = icmp ne i32 %1939, 0
  br i1 %1940, label %1941, label %1958

1941:                                             ; preds = %1936
  %1942 = load i32, ptr %48, align 4, !tbaa !5
  %1943 = call ptr @__errno_location() #11
  store i32 %1942, ptr %1943, align 4, !tbaa !5
  %1944 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1945 = load i32, ptr @test_count, align 4, !tbaa !5
  %1946 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1947 = load i32, ptr %1946, align 4, !tbaa !5
  %1948 = call ptr @s2n_strerror(i32 noundef %1947, ptr noundef @.str.5)
  %1949 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1950 = load i32, ptr %1949, align 4, !tbaa !5
  %1951 = call ptr @s2n_strerror_debug(i32 noundef %1950, ptr noundef @.str.5)
  %1952 = call ptr @__errno_location() #11
  %1953 = load i32, ptr %1952, align 4, !tbaa !5
  %1954 = call ptr @strerror(i32 noundef %1953) #10
  %1955 = call ptr @__errno_location() #11
  %1956 = load i32, ptr %1955, align 4, !tbaa !5
  %1957 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1944, ptr noundef @.str.3, i32 noundef %1945, ptr noundef @.str.33, ptr noundef @.str.2, i32 noundef 122, ptr noundef %1948, ptr noundef %1951, ptr noundef %1954, i32 noundef %1956) #10
  br label %1975

1958:                                             ; preds = %1936, %1929
  %1959 = load i32, ptr %48, align 4, !tbaa !5
  %1960 = call ptr @__errno_location() #11
  store i32 %1959, ptr %1960, align 4, !tbaa !5
  %1961 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1962 = load i32, ptr @test_count, align 4, !tbaa !5
  %1963 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1964 = load i32, ptr %1963, align 4, !tbaa !5
  %1965 = call ptr @s2n_strerror(i32 noundef %1964, ptr noundef @.str.5)
  %1966 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1967 = load i32, ptr %1966, align 4, !tbaa !5
  %1968 = call ptr @s2n_strerror_debug(i32 noundef %1967, ptr noundef @.str.5)
  %1969 = call ptr @__errno_location() #11
  %1970 = load i32, ptr %1969, align 4, !tbaa !5
  %1971 = call ptr @strerror(i32 noundef %1970) #10
  %1972 = call ptr @__errno_location() #11
  %1973 = load i32, ptr %1972, align 4, !tbaa !5
  %1974 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1961, ptr noundef @.str.6, i32 noundef %1962, ptr noundef @.str.33, ptr noundef @.str.2, i32 noundef 122, ptr noundef %1965, ptr noundef %1968, ptr noundef %1971, i32 noundef %1973) #10
  br label %1975

1975:                                             ; preds = %1958, %1941
  call void @llvm.lifetime.end.p0(i64 4, ptr %48) #10
  br label %1976

1976:                                             ; preds = %1975
  br label %1977

1977:                                             ; preds = %1976
  call void @exit(i32 noundef 1) #12
  unreachable

1978:                                             ; No predecessors!
  br label %1979

1979:                                             ; preds = %1978
  br label %1980

1980:                                             ; preds = %1979, %1924
  br label %1981

1981:                                             ; preds = %1980
  br label %1982

1982:                                             ; preds = %1981
  br label %1983

1983:                                             ; preds = %1982
  br label %1984

1984:                                             ; preds = %1983
  %1985 = call i32 @s2n_in_unit_test_set(i1 noundef zeroext false)
  %1986 = icmp eq i32 %1985, -1
  br i1 %1986, label %1987, label %2040

1987:                                             ; preds = %1984
  br label %1988

1988:                                             ; preds = %1987
  br label %1989

1989:                                             ; preds = %1988
  call void @llvm.lifetime.start.p0(i64 4, ptr %49) #10
  %1990 = call ptr @__errno_location() #11
  %1991 = load i32, ptr %1990, align 4, !tbaa !5
  store i32 %1991, ptr %49, align 4, !tbaa !5
  %1992 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1993 = call i32 @s2n_print_stacktrace(ptr noundef %1992)
  %1994 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %1995 = trunc i8 %1994 to i1
  br i1 %1995, label %1996, label %2018

1996:                                             ; preds = %1989
  %1997 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1998 = call i32 @fileno(ptr noundef %1997) #10
  %1999 = call i32 @isatty(i32 noundef %1998) #10
  %2000 = icmp ne i32 %1999, 0
  br i1 %2000, label %2001, label %2018

2001:                                             ; preds = %1996
  %2002 = load i32, ptr %49, align 4, !tbaa !5
  %2003 = call ptr @__errno_location() #11
  store i32 %2002, ptr %2003, align 4, !tbaa !5
  %2004 = load ptr, ptr @stderr, align 8, !tbaa !9
  %2005 = load i32, ptr @test_count, align 4, !tbaa !5
  %2006 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %2007 = load i32, ptr %2006, align 4, !tbaa !5
  %2008 = call ptr @s2n_strerror(i32 noundef %2007, ptr noundef @.str.5)
  %2009 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %2010 = load i32, ptr %2009, align 4, !tbaa !5
  %2011 = call ptr @s2n_strerror_debug(i32 noundef %2010, ptr noundef @.str.5)
  %2012 = call ptr @__errno_location() #11
  %2013 = load i32, ptr %2012, align 4, !tbaa !5
  %2014 = call ptr @strerror(i32 noundef %2013) #10
  %2015 = call ptr @__errno_location() #11
  %2016 = load i32, ptr %2015, align 4, !tbaa !5
  %2017 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %2004, ptr noundef @.str.3, i32 noundef %2005, ptr noundef @.str.34, ptr noundef @.str.2, i32 noundef 122, ptr noundef %2008, ptr noundef %2011, ptr noundef %2014, i32 noundef %2016) #10
  br label %2035

2018:                                             ; preds = %1996, %1989
  %2019 = load i32, ptr %49, align 4, !tbaa !5
  %2020 = call ptr @__errno_location() #11
  store i32 %2019, ptr %2020, align 4, !tbaa !5
  %2021 = load ptr, ptr @stderr, align 8, !tbaa !9
  %2022 = load i32, ptr @test_count, align 4, !tbaa !5
  %2023 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %2024 = load i32, ptr %2023, align 4, !tbaa !5
  %2025 = call ptr @s2n_strerror(i32 noundef %2024, ptr noundef @.str.5)
  %2026 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %2027 = load i32, ptr %2026, align 4, !tbaa !5
  %2028 = call ptr @s2n_strerror_debug(i32 noundef %2027, ptr noundef @.str.5)
  %2029 = call ptr @__errno_location() #11
  %2030 = load i32, ptr %2029, align 4, !tbaa !5
  %2031 = call ptr @strerror(i32 noundef %2030) #10
  %2032 = call ptr @__errno_location() #11
  %2033 = load i32, ptr %2032, align 4, !tbaa !5
  %2034 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %2021, ptr noundef @.str.6, i32 noundef %2022, ptr noundef @.str.34, ptr noundef @.str.2, i32 noundef 122, ptr noundef %2025, ptr noundef %2028, ptr noundef %2031, i32 noundef %2033) #10
  br label %2035

2035:                                             ; preds = %2018, %2001
  call void @llvm.lifetime.end.p0(i64 4, ptr %49) #10
  br label %2036

2036:                                             ; preds = %2035
  br label %2037

2037:                                             ; preds = %2036
  call void @exit(i32 noundef 1) #12
  unreachable

2038:                                             ; No predecessors!
  br label %2039

2039:                                             ; preds = %2038
  br label %2040

2040:                                             ; preds = %2039, %1984
  br label %2041

2041:                                             ; preds = %2040
  br label %2042

2042:                                             ; preds = %2041
  %2043 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %2044 = trunc i8 %2043 to i1
  br i1 %2044, label %2045, label %2061

2045:                                             ; preds = %2042
  %2046 = load ptr, ptr @stdout, align 8, !tbaa !9
  %2047 = call i32 @fileno(ptr noundef %2046) #10
  %2048 = call i32 @isatty(i32 noundef %2047) #10
  %2049 = icmp ne i32 %2048, 0
  br i1 %2049, label %2050, label %2061

2050:                                             ; preds = %2045
  %2051 = load i32, ptr @test_count, align 4, !tbaa !5
  %2052 = icmp ne i32 %2051, 0
  br i1 %2052, label %2053, label %2057

2053:                                             ; preds = %2050
  %2054 = load ptr, ptr @stdout, align 8, !tbaa !9
  %2055 = load i32, ptr @test_count, align 4, !tbaa !5
  %2056 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %2054, ptr noundef @.str.35, i32 noundef %2055) #10
  br label %2060

2057:                                             ; preds = %2050
  %2058 = load ptr, ptr @stdout, align 8, !tbaa !9
  %2059 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %2058, ptr noundef @.str.36) #10
  br label %2060

2060:                                             ; preds = %2057, %2053
  br label %2072

2061:                                             ; preds = %2045, %2042
  %2062 = load i32, ptr @test_count, align 4, !tbaa !5
  %2063 = icmp ne i32 %2062, 0
  br i1 %2063, label %2064, label %2068

2064:                                             ; preds = %2061
  %2065 = load ptr, ptr @stdout, align 8, !tbaa !9
  %2066 = load i32, ptr @test_count, align 4, !tbaa !5
  %2067 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %2065, ptr noundef @.str.37, i32 noundef %2066) #10
  br label %2071

2068:                                             ; preds = %2061
  %2069 = load ptr, ptr @stdout, align 8, !tbaa !9
  %2070 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %2069, ptr noundef @.str.38) #10
  br label %2071

2071:                                             ; preds = %2068, %2064
  br label %2072

2072:                                             ; preds = %2071, %2060
  store i32 0, ptr %3, align 4
  store i32 1, ptr %50, align 4
  br label %2077

2073:                                             ; No predecessors!
  br label %2074

2074:                                             ; preds = %2073
  br label %2075

2075:                                             ; preds = %2074
  br label %2076

2076:                                             ; preds = %2075
  store i32 0, ptr %50, align 4
  br label %2077

2077:                                             ; preds = %2076, %2072
  call void @llvm.lifetime.end.p0(i64 500000, ptr %33) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #10
  %2078 = load i32, ptr %50, align 4
  switch i32 %2078, label %2081 [
    i32 0, label %2079
    i32 1, label %2079
  ]

2079:                                             ; preds = %2077, %2077
  %2080 = load i32, ptr %3, align 4
  ret i32 %2080

2081:                                             ; preds = %2077
  unreachable
}

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

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

declare i32 @fflush(ptr noundef) #3

declare i32 @s2n_in_unit_test_set(i1 noundef zeroext) #3

; Function Attrs: nounwind willreturn memory(none)
declare ptr @__errno_location() #4

declare i32 @s2n_print_stacktrace(ptr noundef) #3

; Function Attrs: nounwind
declare i32 @isatty(i32 noundef) #2

; Function Attrs: nounwind
declare i32 @fileno(ptr noundef) #2

declare ptr @s2n_strerror(i32 noundef, ptr noundef) #3

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare nonnull ptr @llvm.threadlocal.address.p0(ptr nonnull) #5

declare ptr @s2n_strerror_debug(i32 noundef, ptr noundef) #3

; Function Attrs: nounwind
declare ptr @strerror(i32 noundef) #2

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

; Function Attrs: noreturn nounwind
declare void @exit(i32 noundef) #6

declare i32 @s2n_enable_atexit() #3

declare i32 @s2n_init() #3

declare i32 @s2n_disable_tls13_in_test(...) #3

; Function Attrs: nounwind allocsize(0)
declare noalias ptr @malloc(i64 noundef) #7

declare ptr @s2n_config_new() #3

declare i32 @s2n_read_test_pem(ptr noundef, ptr noundef, i64 noundef) #3

declare ptr @s2n_cert_chain_and_key_new() #3

declare i32 @s2n_cert_chain_and_key_load_pem(ptr noundef, ptr noundef, ptr noundef) #3

declare i32 @s2n_config_add_cert_chain_and_key_to_store(ptr noundef, ptr noundef) #3

declare i32 @s2n_cert_chain_and_key_free(ptr noundef) #3

declare i32 @s2n_config_free(ptr noundef) #3

declare void @s2n_debug_info_reset() #3

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #8

declare i32 @s2n_cert_chain_and_key_ptr_free(ptr noundef) #3

declare i32 @s2n_cert_chain_and_key_load_public_pem_bytes(ptr noundef, ptr noundef, i32 noundef) #3

; Function Attrs: nounwind willreturn memory(read)
declare i64 @strlen(ptr noundef) #9

declare i32 @s2n_cert_chain_get_length(ptr noundef, ptr noundef) #3

declare i32 @s2n_config_ptr_free(ptr noundef) #3

declare i32 @s2n_config_add_pem_to_trust_store(ptr noundef, ptr noundef) #3

; Function Attrs: nounwind
declare void @free(ptr noundef) #2

declare i32 @s2n_cleanup() #3

attributes #0 = { nounwind 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 #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind willreturn memory(none) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #6 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { nounwind allocsize(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 #8 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #9 = { nounwind willreturn memory(read) "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 #10 = { nounwind }
attributes #11 = { nounwind willreturn memory(none) }
attributes #12 = { noreturn nounwind }
attributes #13 = { nounwind allocsize(0) }
attributes #14 = { nounwind willreturn memory(read) }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"_Bool", !7, i64 0}
!13 = !{i8 0, i8 2}
!14 = !{}
!15 = !{!16, !16, i64 0}
!16 = !{!"long", !7, i64 0}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = distinct !{!19, !18}
!20 = !{!21, !10, i64 0}
!21 = !{!"", !10, i64 0, !22, i64 8}
!22 = !{!"short", !7, i64 0}
!23 = !{!21, !22, i64 8}
!24 = distinct !{!24, !18}


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

%struct.anon = type { ptr, i16 }

@s2n_use_color_in_output = external dso_local local_unnamed_addr global i8, align 1
@valid_cert_chains = external dso_local local_unnamed_addr constant [1 x %struct.anon], align 16
@test_count = external dso_local local_unnamed_addr global i32, align 4
@stdout = external local_unnamed_addr global ptr, align 8
@.str.1 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [71 x i8], align 1
@stderr = external local_unnamed_addr global ptr, align 8
@.str.3 = external hidden unnamed_addr constant [101 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [52 x i8], align 1
@s2n_errno = external thread_local local_unnamed_addr global i32, align 4
@.str.5 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [90 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [56 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [65 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [66 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [60 x i8], align 1
@valid_pem_pairs = external hidden local_unnamed_addr global [16 x [2 x ptr]], align 16
@.str.13 = external hidden unnamed_addr constant [92 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [93 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [79 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [108 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [94 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [71 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [52 x i8], align 1
@invalid_pem_pairs = external hidden local_unnamed_addr global [5 x [2 x ptr]], align 16
@.str.20 = external hidden unnamed_addr constant [94 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [95 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [105 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [70 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [125 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [144 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [70 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [55 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [46 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [97 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [91 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [25 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local noundef i32 @main(i32 noundef %0, ptr nocapture noundef readnone %1) local_unnamed_addr #0 {
  %3 = alloca [500000 x i8], align 16
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca ptr, align 8
  store i32 0, ptr @test_count, align 4, !tbaa !5
  %7 = load ptr, ptr @stdout, align 8, !tbaa !9
  %8 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %7, ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.2) #12
  %9 = load ptr, ptr @stdout, align 8, !tbaa !9
  %10 = tail call i32 @fflush(ptr noundef %9)
  %11 = tail call i32 @s2n_in_unit_test_set(i1 noundef zeroext true) #12
  %12 = icmp eq i32 %11, -1
  br i1 %12, label %13, label %37

13:                                               ; preds = %2
  %14 = tail call ptr @__errno_location() #13
  %15 = load i32, ptr %14, align 4, !tbaa !5
  %16 = load ptr, ptr @stderr, align 8, !tbaa !9
  %17 = tail call i32 @s2n_print_stacktrace(ptr noundef %16) #12
  %18 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %19 = trunc nuw i8 %18 to i1
  br i1 %19, label %20, label %24

20:                                               ; preds = %13
  %21 = load ptr, ptr @stderr, align 8, !tbaa !9
  %22 = tail call i32 @fileno(ptr noundef %21) #12
  %23 = tail call i32 @isatty(i32 noundef %22) #12
  %.not133 = icmp eq i32 %23, 0
  br i1 %.not133, label %24, label %25

24:                                               ; preds = %20, %13
  br label %25

25:                                               ; preds = %20, %24
  %.str.6.sink = phi ptr [ @.str.6, %24 ], [ @.str.3, %20 ]
  store i32 %15, ptr %14, align 4, !tbaa !5
  %26 = load ptr, ptr @stderr, align 8, !tbaa !9
  %27 = load i32, ptr @test_count, align 4, !tbaa !5
  %28 = tail call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %29 = load i32, ptr %28, align 4, !tbaa !5
  %30 = tail call ptr @s2n_strerror(i32 noundef %29, ptr noundef nonnull @.str.5) #12
  %31 = load i32, ptr %28, align 4, !tbaa !5
  %32 = tail call ptr @s2n_strerror_debug(i32 noundef %31, ptr noundef nonnull @.str.5) #12
  %33 = load i32, ptr %14, align 4, !tbaa !5
  %34 = tail call ptr @strerror(i32 noundef %33) #12
  %35 = load i32, ptr %14, align 4, !tbaa !5
  %36 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %26, ptr noundef nonnull %.str.6.sink, i32 noundef %27, ptr noundef nonnull @.str.4, ptr noundef nonnull @.str.2, i32 noundef 76, ptr noundef %30, ptr noundef %32, ptr noundef %34, i32 noundef %35) #14
  tail call void @exit(i32 noundef 1) #15
  unreachable

37:                                               ; preds = %2
  %38 = load i32, ptr @test_count, align 4, !tbaa !5
  %39 = add nsw i32 %38, 1
  store i32 %39, ptr @test_count, align 4, !tbaa !5
  %40 = tail call i32 @s2n_enable_atexit() #12
  %41 = icmp eq i32 %40, -1
  br i1 %41, label %42, label %66

42:                                               ; preds = %37
  %43 = tail call ptr @__errno_location() #13
  %44 = load i32, ptr %43, align 4, !tbaa !5
  %45 = load ptr, ptr @stderr, align 8, !tbaa !9
  %46 = tail call i32 @s2n_print_stacktrace(ptr noundef %45) #12
  %47 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %48 = trunc nuw i8 %47 to i1
  br i1 %48, label %49, label %53

49:                                               ; preds = %42
  %50 = load ptr, ptr @stderr, align 8, !tbaa !9
  %51 = tail call i32 @fileno(ptr noundef %50) #12
  %52 = tail call i32 @isatty(i32 noundef %51) #12
  %.not132 = icmp eq i32 %52, 0
  br i1 %.not132, label %53, label %54

53:                                               ; preds = %49, %42
  br label %54

54:                                               ; preds = %49, %53
  %.str.6.sink153 = phi ptr [ @.str.6, %53 ], [ @.str.3, %49 ]
  store i32 %44, ptr %43, align 4, !tbaa !5
  %55 = load ptr, ptr @stderr, align 8, !tbaa !9
  %56 = load i32, ptr @test_count, align 4, !tbaa !5
  %57 = tail call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %58 = load i32, ptr %57, align 4, !tbaa !5
  %59 = tail call ptr @s2n_strerror(i32 noundef %58, ptr noundef nonnull @.str.5) #12
  %60 = load i32, ptr %57, align 4, !tbaa !5
  %61 = tail call ptr @s2n_strerror_debug(i32 noundef %60, ptr noundef nonnull @.str.5) #12
  %62 = load i32, ptr %43, align 4, !tbaa !5
  %63 = tail call ptr @strerror(i32 noundef %62) #12
  %64 = load i32, ptr %43, align 4, !tbaa !5
  %65 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %55, ptr noundef nonnull %.str.6.sink153, i32 noundef %56, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.2, i32 noundef 76, ptr noundef %59, ptr noundef %61, ptr noundef %63, i32 noundef %64) #14
  tail call void @exit(i32 noundef 1) #15
  unreachable

66:                                               ; preds = %37
  %67 = tail call i32 @s2n_init() #12
  %68 = icmp eq i32 %67, -1
  br i1 %68, label %69, label %93

69:                                               ; preds = %66
  %70 = tail call ptr @__errno_location() #13
  %71 = load i32, ptr %70, align 4, !tbaa !5
  %72 = load ptr, ptr @stderr, align 8, !tbaa !9
  %73 = tail call i32 @s2n_print_stacktrace(ptr noundef %72) #12
  %74 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %75 = trunc nuw i8 %74 to i1
  br i1 %75, label %76, label %80

76:                                               ; preds = %69
  %77 = load ptr, ptr @stderr, align 8, !tbaa !9
  %78 = tail call i32 @fileno(ptr noundef %77) #12
  %79 = tail call i32 @isatty(i32 noundef %78) #12
  %.not131 = icmp eq i32 %79, 0
  br i1 %.not131, label %80, label %81

80:                                               ; preds = %76, %69
  br label %81

81:                                               ; preds = %76, %80
  %.str.6.sink164 = phi ptr [ @.str.6, %80 ], [ @.str.3, %76 ]
  store i32 %71, ptr %70, align 4, !tbaa !5
  %82 = load ptr, ptr @stderr, align 8, !tbaa !9
  %83 = load i32, ptr @test_count, align 4, !tbaa !5
  %84 = tail call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %85 = load i32, ptr %84, align 4, !tbaa !5
  %86 = tail call ptr @s2n_strerror(i32 noundef %85, ptr noundef nonnull @.str.5) #12
  %87 = load i32, ptr %84, align 4, !tbaa !5
  %88 = tail call ptr @s2n_strerror_debug(i32 noundef %87, ptr noundef nonnull @.str.5) #12
  %89 = load i32, ptr %70, align 4, !tbaa !5
  %90 = tail call ptr @strerror(i32 noundef %89) #12
  %91 = load i32, ptr %70, align 4, !tbaa !5
  %92 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %82, ptr noundef nonnull %.str.6.sink164, i32 noundef %83, ptr noundef nonnull @.str.8, ptr noundef nonnull @.str.2, i32 noundef 76, ptr noundef %86, ptr noundef %88, ptr noundef %90, i32 noundef %91) #14
  tail call void @exit(i32 noundef 1) #15
  unreachable

93:                                               ; preds = %66
  %94 = load i32, ptr @test_count, align 4, !tbaa !5
  %95 = add nsw i32 %94, 1
  store i32 %95, ptr @test_count, align 4, !tbaa !5
  %96 = tail call i32 (...) @s2n_disable_tls13_in_test() #12
  %97 = icmp eq i32 %96, -1
  br i1 %97, label %98, label %122

98:                                               ; preds = %93
  %99 = tail call ptr @__errno_location() #13
  %100 = load i32, ptr %99, align 4, !tbaa !5
  %101 = load ptr, ptr @stderr, align 8, !tbaa !9
  %102 = tail call i32 @s2n_print_stacktrace(ptr noundef %101) #12
  %103 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %104 = trunc nuw i8 %103 to i1
  br i1 %104, label %105, label %109

105:                                              ; preds = %98
  %106 = load ptr, ptr @stderr, align 8, !tbaa !9
  %107 = tail call i32 @fileno(ptr noundef %106) #12
  %108 = tail call i32 @isatty(i32 noundef %107) #12
  %.not130 = icmp eq i32 %108, 0
  br i1 %.not130, label %109, label %110

109:                                              ; preds = %105, %98
  br label %110

110:                                              ; preds = %105, %109
  %.str.6.sink175 = phi ptr [ @.str.6, %109 ], [ @.str.3, %105 ]
  store i32 %100, ptr %99, align 4, !tbaa !5
  %111 = load ptr, ptr @stderr, align 8, !tbaa !9
  %112 = load i32, ptr @test_count, align 4, !tbaa !5
  %113 = tail call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %114 = load i32, ptr %113, align 4, !tbaa !5
  %115 = tail call ptr @s2n_strerror(i32 noundef %114, ptr noundef nonnull @.str.5) #12
  %116 = load i32, ptr %113, align 4, !tbaa !5
  %117 = tail call ptr @s2n_strerror_debug(i32 noundef %116, ptr noundef nonnull @.str.5) #12
  %118 = load i32, ptr %99, align 4, !tbaa !5
  %119 = tail call ptr @strerror(i32 noundef %118) #12
  %120 = load i32, ptr %99, align 4, !tbaa !5
  %121 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %111, ptr noundef nonnull %.str.6.sink175, i32 noundef %112, ptr noundef nonnull @.str.9, ptr noundef nonnull @.str.2, i32 noundef 77, ptr noundef %115, ptr noundef %117, ptr noundef %119, i32 noundef %120) #14
  tail call void @exit(i32 noundef 1) #15
  unreachable

122:                                              ; preds = %93
  %123 = load i32, ptr @test_count, align 4, !tbaa !5
  %124 = add nsw i32 %123, 1
  store i32 %124, ptr @test_count, align 4, !tbaa !5
  %125 = tail call noalias dereferenceable_or_null(12000) ptr @malloc(i64 noundef 12000) #16
  %126 = icmp eq ptr %125, null
  br i1 %126, label %127, label %151

127:                                              ; preds = %122
  %128 = tail call ptr @__errno_location() #13
  %129 = load i32, ptr %128, align 4, !tbaa !5
  %130 = load ptr, ptr @stderr, align 8, !tbaa !9
  %131 = tail call i32 @s2n_print_stacktrace(ptr noundef %130) #12
  %132 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %133 = trunc nuw i8 %132 to i1
  br i1 %133, label %134, label %138

134:                                              ; preds = %127
  %135 = load ptr, ptr @stderr, align 8, !tbaa !9
  %136 = tail call i32 @fileno(ptr noundef %135) #12
  %137 = tail call i32 @isatty(i32 noundef %136) #12
  %.not129 = icmp eq i32 %137, 0
  br i1 %.not129, label %138, label %139

138:                                              ; preds = %134, %127
  br label %139

139:                                              ; preds = %134, %138
  %.str.6.sink186 = phi ptr [ @.str.6, %138 ], [ @.str.3, %134 ]
  store i32 %129, ptr %128, align 4, !tbaa !5
  %140 = load ptr, ptr @stderr, align 8, !tbaa !9
  %141 = load i32, ptr @test_count, align 4, !tbaa !5
  %142 = tail call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %143 = load i32, ptr %142, align 4, !tbaa !5
  %144 = tail call ptr @s2n_strerror(i32 noundef %143, ptr noundef nonnull @.str.5) #12
  %145 = load i32, ptr %142, align 4, !tbaa !5
  %146 = tail call ptr @s2n_strerror_debug(i32 noundef %145, ptr noundef nonnull @.str.5) #12
  %147 = load i32, ptr %128, align 4, !tbaa !5
  %148 = tail call ptr @strerror(i32 noundef %147) #12
  %149 = load i32, ptr %128, align 4, !tbaa !5
  %150 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %140, ptr noundef nonnull %.str.6.sink186, i32 noundef %141, ptr noundef nonnull @.str.10, ptr noundef nonnull @.str.2, i32 noundef 78, ptr noundef %144, ptr noundef %146, ptr noundef %148, i32 noundef %149) #14
  tail call void @exit(i32 noundef 1) #15
  unreachable

151:                                              ; preds = %122
  %152 = add nsw i32 %123, 2
  store i32 %152, ptr @test_count, align 4, !tbaa !5
  %153 = tail call noalias dereferenceable_or_null(12000) ptr @malloc(i64 noundef 12000) #16
  %154 = icmp eq ptr %153, null
  br i1 %154, label %155, label %.preheader134

155:                                              ; preds = %151
  %156 = tail call ptr @__errno_location() #13
  %157 = load i32, ptr %156, align 4, !tbaa !5
  %158 = load ptr, ptr @stderr, align 8, !tbaa !9
  %159 = tail call i32 @s2n_print_stacktrace(ptr noundef %158) #12
  %160 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %161 = trunc nuw i8 %160 to i1
  br i1 %161, label %162, label %166

162:                                              ; preds = %155
  %163 = load ptr, ptr @stderr, align 8, !tbaa !9
  %164 = tail call i32 @fileno(ptr noundef %163) #12
  %165 = tail call i32 @isatty(i32 noundef %164) #12
  %.not128 = icmp eq i32 %165, 0
  br i1 %.not128, label %166, label %167

166:                                              ; preds = %162, %155
  br label %167

167:                                              ; preds = %162, %166
  %.str.6.sink197 = phi ptr [ @.str.6, %166 ], [ @.str.3, %162 ]
  store i32 %157, ptr %156, align 4, !tbaa !5
  %168 = load ptr, ptr @stderr, align 8, !tbaa !9
  %169 = load i32, ptr @test_count, align 4, !tbaa !5
  %170 = tail call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %171 = load i32, ptr %170, align 4, !tbaa !5
  %172 = tail call ptr @s2n_strerror(i32 noundef %171, ptr noundef nonnull @.str.5) #12
  %173 = load i32, ptr %170, align 4, !tbaa !5
  %174 = tail call ptr @s2n_strerror_debug(i32 noundef %173, ptr noundef nonnull @.str.5) #12
  %175 = load i32, ptr %156, align 4, !tbaa !5
  %176 = tail call ptr @strerror(i32 noundef %175) #12
  %177 = load i32, ptr %156, align 4, !tbaa !5
  %178 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %168, ptr noundef nonnull %.str.6.sink197, i32 noundef %169, ptr noundef nonnull @.str.11, ptr noundef nonnull @.str.2, i32 noundef 79, ptr noundef %172, ptr noundef %174, ptr noundef %176, i32 noundef %177) #14
  tail call void @exit(i32 noundef 1) #15
  unreachable

179:                                              ; preds = %388
  %180 = add nuw nsw i64 %.0138, 1
  %exitcond.not = icmp eq i64 %180, 16
  br i1 %exitcond.not, label %.preheader, label %.preheader134, !llvm.loop !15

.preheader:                                       ; preds = %179
  %181 = tail call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  br label %423

.preheader134:                                    ; preds = %151, %179
  %.0138 = phi i64 [ %180, %179 ], [ 0, %151 ]
  %182 = load i32, ptr @test_count, align 4, !tbaa !5
  %183 = add nsw i32 %182, 1
  store i32 %183, ptr @test_count, align 4, !tbaa !5
  %184 = tail call ptr @s2n_config_new() #12
  %185 = icmp eq ptr %184, null
  br i1 %185, label %186, label %210

186:                                              ; preds = %.preheader134
  %187 = tail call ptr @__errno_location() #13
  %188 = load i32, ptr %187, align 4, !tbaa !5
  %189 = load ptr, ptr @stderr, align 8, !tbaa !9
  %190 = tail call i32 @s2n_print_stacktrace(ptr noundef %189) #12
  %191 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %192 = trunc nuw i8 %191 to i1
  br i1 %192, label %193, label %197

193:                                              ; preds = %186
  %194 = load ptr, ptr @stderr, align 8, !tbaa !9
  %195 = tail call i32 @fileno(ptr noundef %194) #12
  %196 = tail call i32 @isatty(i32 noundef %195) #12
  %.not127 = icmp eq i32 %196, 0
  br i1 %.not127, label %197, label %198

197:                                              ; preds = %193, %186
  br label %198

198:                                              ; preds = %193, %197
  %.str.6.sink208 = phi ptr [ @.str.6, %197 ], [ @.str.3, %193 ]
  store i32 %188, ptr %187, align 4, !tbaa !5
  %199 = load ptr, ptr @stderr, align 8, !tbaa !9
  %200 = load i32, ptr @test_count, align 4, !tbaa !5
  %201 = tail call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %202 = load i32, ptr %201, align 4, !tbaa !5
  %203 = tail call ptr @s2n_strerror(i32 noundef %202, ptr noundef nonnull @.str.5) #12
  %204 = load i32, ptr %201, align 4, !tbaa !5
  %205 = tail call ptr @s2n_strerror_debug(i32 noundef %204, ptr noundef nonnull @.str.5) #12
  %206 = load i32, ptr %187, align 4, !tbaa !5
  %207 = tail call ptr @strerror(i32 noundef %206) #12
  %208 = load i32, ptr %187, align 4, !tbaa !5
  %209 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %199, ptr noundef nonnull %.str.6.sink208, i32 noundef %200, ptr noundef nonnull @.str.12, ptr noundef nonnull @.str.2, i32 noundef 82, ptr noundef %203, ptr noundef %205, ptr noundef %207, i32 noundef %208) #14
  tail call void @exit(i32 noundef 1) #15
  unreachable

210:                                              ; preds = %.preheader134
  %211 = load i32, ptr @test_count, align 4, !tbaa !5
  %212 = add nsw i32 %211, 1
  store i32 %212, ptr @test_count, align 4, !tbaa !5
  %213 = getelementptr inbounds [16 x [2 x ptr]], ptr @valid_pem_pairs, i64 0, i64 %.0138
  %214 = load ptr, ptr %213, align 16, !tbaa !9
  %215 = tail call i32 @s2n_read_test_pem(ptr noundef %214, ptr noundef nonnull %125, i64 noundef 12000) #12
  %216 = icmp eq i32 %215, -1
  br i1 %216, label %217, label %241

217:                                              ; preds = %210
  %218 = tail call ptr @__errno_location() #13
  %219 = load i32, ptr %218, align 4, !tbaa !5
  %220 = load ptr, ptr @stderr, align 8, !tbaa !9
  %221 = tail call i32 @s2n_print_stacktrace(ptr noundef %220) #12
  %222 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %223 = trunc nuw i8 %222 to i1
  br i1 %223, label %224, label %228

224:                                              ; preds = %217
  %225 = load ptr, ptr @stderr, align 8, !tbaa !9
  %226 = tail call i32 @fileno(ptr noundef %225) #12
  %227 = tail call i32 @isatty(i32 noundef %226) #12
  %.not126 = icmp eq i32 %227, 0
  br i1 %.not126, label %228, label %229

228:                                              ; preds = %224, %217
  br label %229

229:                                              ; preds = %224, %228
  %.str.6.sink219 = phi ptr [ @.str.6, %228 ], [ @.str.3, %224 ]
  store i32 %219, ptr %218, align 4, !tbaa !5
  %230 = load ptr, ptr @stderr, align 8, !tbaa !9
  %231 = load i32, ptr @test_count, align 4, !tbaa !5
  %232 = tail call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %233 = load i32, ptr %232, align 4, !tbaa !5
  %234 = tail call ptr @s2n_strerror(i32 noundef %233, ptr noundef nonnull @.str.5) #12
  %235 = load i32, ptr %232, align 4, !tbaa !5
  %236 = tail call ptr @s2n_strerror_debug(i32 noundef %235, ptr noundef nonnull @.str.5) #12
  %237 = load i32, ptr %218, align 4, !tbaa !5
  %238 = tail call ptr @strerror(i32 noundef %237) #12
  %239 = load i32, ptr %218, align 4, !tbaa !5
  %240 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %230, ptr noundef nonnull %.str.6.sink219, i32 noundef %231, ptr noundef nonnull @.str.13, ptr noundef nonnull @.str.2, i32 noundef 83, ptr noundef %234, ptr noundef %236, ptr noundef %238, i32 noundef %239) #14
  tail call void @exit(i32 noundef 1) #15
  unreachable

241:                                              ; preds = %210
  %242 = load i32, ptr @test_count, align 4, !tbaa !5
  %243 = add nsw i32 %242, 1
  store i32 %243, ptr @test_count, align 4, !tbaa !5
  %244 = getelementptr inbounds i8, ptr %213, i64 8
  %245 = load ptr, ptr %244, align 8, !tbaa !9
  %246 = tail call i32 @s2n_read_test_pem(ptr noundef %245, ptr noundef nonnull %153, i64 noundef 12000) #12
  %247 = icmp eq i32 %246, -1
  br i1 %247, label %248, label %272

248:                                              ; preds = %241
  %249 = tail call ptr @__errno_location() #13
  %250 = load i32, ptr %249, align 4, !tbaa !5
  %251 = load ptr, ptr @stderr, align 8, !tbaa !9
  %252 = tail call i32 @s2n_print_stacktrace(ptr noundef %251) #12
  %253 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %254 = trunc nuw i8 %253 to i1
  br i1 %254, label %255, label %259

255:                                              ; preds = %248
  %256 = load ptr, ptr @stderr, align 8, !tbaa !9
  %257 = tail call i32 @fileno(ptr noundef %256) #12
  %258 = tail call i32 @isatty(i32 noundef %257) #12
  %.not125 = icmp eq i32 %258, 0
  br i1 %.not125, label %259, label %260

259:                                              ; preds = %255, %248
  br label %260

260:                                              ; preds = %255, %259
  %.str.6.sink230 = phi ptr [ @.str.6, %259 ], [ @.str.3, %255 ]
  store i32 %250, ptr %249, align 4, !tbaa !5
  %261 = load ptr, ptr @stderr, align 8, !tbaa !9
  %262 = load i32, ptr @test_count, align 4, !tbaa !5
  %263 = tail call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %264 = load i32, ptr %263, align 4, !tbaa !5
  %265 = tail call ptr @s2n_strerror(i32 noundef %264, ptr noundef nonnull @.str.5) #12
  %266 = load i32, ptr %263, align 4, !tbaa !5
  %267 = tail call ptr @s2n_strerror_debug(i32 noundef %266, ptr noundef nonnull @.str.5) #12
  %268 = load i32, ptr %249, align 4, !tbaa !5
  %269 = tail call ptr @strerror(i32 noundef %268) #12
  %270 = load i32, ptr %249, align 4, !tbaa !5
  %271 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %261, ptr noundef nonnull %.str.6.sink230, i32 noundef %262, ptr noundef nonnull @.str.14, ptr noundef nonnull @.str.2, i32 noundef 84, ptr noundef %265, ptr noundef %267, ptr noundef %269, i32 noundef %270) #14
  tail call void @exit(i32 noundef 1) #15
  unreachable

272:                                              ; preds = %241
  %273 = load i32, ptr @test_count, align 4, !tbaa !5
  %274 = add nsw i32 %273, 1
  store i32 %274, ptr @test_count, align 4, !tbaa !5
  %275 = tail call ptr @s2n_cert_chain_and_key_new() #12
  %276 = icmp eq ptr %275, null
  br i1 %276, label %277, label %301

277:                                              ; preds = %272
  %278 = tail call ptr @__errno_location() #13
  %279 = load i32, ptr %278, align 4, !tbaa !5
  %280 = load ptr, ptr @stderr, align 8, !tbaa !9
  %281 = tail call i32 @s2n_print_stacktrace(ptr noundef %280) #12
  %282 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %283 = trunc nuw i8 %282 to i1
  br i1 %283, label %284, label %288

284:                                              ; preds = %277
  %285 = load ptr, ptr @stderr, align 8, !tbaa !9
  %286 = tail call i32 @fileno(ptr noundef %285) #12
  %287 = tail call i32 @isatty(i32 noundef %286) #12
  %.not124 = icmp eq i32 %287, 0
  br i1 %.not124, label %288, label %289

288:                                              ; preds = %284, %277
  br label %289

289:                                              ; preds = %284, %288
  %.str.6.sink241 = phi ptr [ @.str.6, %288 ], [ @.str.3, %284 ]
  store i32 %279, ptr %278, align 4, !tbaa !5
  %290 = load ptr, ptr @stderr, align 8, !tbaa !9
  %291 = load i32, ptr @test_count, align 4, !tbaa !5
  %292 = tail call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %293 = load i32, ptr %292, align 4, !tbaa !5
  %294 = tail call ptr @s2n_strerror(i32 noundef %293, ptr noundef nonnull @.str.5) #12
  %295 = load i32, ptr %292, align 4, !tbaa !5
  %296 = tail call ptr @s2n_strerror_debug(i32 noundef %295, ptr noundef nonnull @.str.5) #12
  %297 = load i32, ptr %278, align 4, !tbaa !5
  %298 = tail call ptr @strerror(i32 noundef %297) #12
  %299 = load i32, ptr %278, align 4, !tbaa !5
  %300 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %290, ptr noundef nonnull %.str.6.sink241, i32 noundef %291, ptr noundef nonnull @.str.15, ptr noundef nonnull @.str.2, i32 noundef 85, ptr noundef %294, ptr noundef %296, ptr noundef %298, i32 noundef %299) #14
  tail call void @exit(i32 noundef 1) #15
  unreachable

301:                                              ; preds = %272
  %302 = load i32, ptr @test_count, align 4, !tbaa !5
  %303 = add nsw i32 %302, 1
  store i32 %303, ptr @test_count, align 4, !tbaa !5
  %304 = tail call i32 @s2n_cert_chain_and_key_load_pem(ptr noundef nonnull %275, ptr noundef nonnull %125, ptr noundef nonnull %153) #12
  %305 = icmp eq i32 %304, -1
  br i1 %305, label %306, label %330

306:                                              ; preds = %301
  %307 = tail call ptr @__errno_location() #13
  %308 = load i32, ptr %307, align 4, !tbaa !5
  %309 = load ptr, ptr @stderr, align 8, !tbaa !9
  %310 = tail call i32 @s2n_print_stacktrace(ptr noundef %309) #12
  %311 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %312 = trunc nuw i8 %311 to i1
  br i1 %312, label %313, label %317

313:                                              ; preds = %306
  %314 = load ptr, ptr @stderr, align 8, !tbaa !9
  %315 = tail call i32 @fileno(ptr noundef %314) #12
  %316 = tail call i32 @isatty(i32 noundef %315) #12
  %.not123 = icmp eq i32 %316, 0
  br i1 %.not123, label %317, label %318

317:                                              ; preds = %313, %306
  br label %318

318:                                              ; preds = %313, %317
  %.str.6.sink252 = phi ptr [ @.str.6, %317 ], [ @.str.3, %313 ]
  store i32 %308, ptr %307, align 4, !tbaa !5
  %319 = load ptr, ptr @stderr, align 8, !tbaa !9
  %320 = load i32, ptr @test_count, align 4, !tbaa !5
  %321 = tail call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %322 = load i32, ptr %321, align 4, !tbaa !5
  %323 = tail call ptr @s2n_strerror(i32 noundef %322, ptr noundef nonnull @.str.5) #12
  %324 = load i32, ptr %321, align 4, !tbaa !5
  %325 = tail call ptr @s2n_strerror_debug(i32 noundef %324, ptr noundef nonnull @.str.5) #12
  %326 = load i32, ptr %307, align 4, !tbaa !5
  %327 = tail call ptr @strerror(i32 noundef %326) #12
  %328 = load i32, ptr %307, align 4, !tbaa !5
  %329 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %319, ptr noundef nonnull %.str.6.sink252, i32 noundef %320, ptr noundef nonnull @.str.16, ptr noundef nonnull @.str.2, i32 noundef 86, ptr noundef %323, ptr noundef %325, ptr noundef %327, i32 noundef %328) #14
  tail call void @exit(i32 noundef 1) #15
  unreachable

330:                                              ; preds = %301
  %331 = load i32, ptr @test_count, align 4, !tbaa !5
  %332 = add nsw i32 %331, 1
  store i32 %332, ptr @test_count, align 4, !tbaa !5
  %333 = tail call i32 @s2n_config_add_cert_chain_and_key_to_store(ptr noundef nonnull %184, ptr noundef nonnull %275) #12
  %334 = icmp eq i32 %333, -1
  br i1 %334, label %335, label %359

335:                                              ; preds = %330
  %336 = tail call ptr @__errno_location() #13
  %337 = load i32, ptr %336, align 4, !tbaa !5
  %338 = load ptr, ptr @stderr, align 8, !tbaa !9
  %339 = tail call i32 @s2n_print_stacktrace(ptr noundef %338) #12
  %340 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %341 = trunc nuw i8 %340 to i1
  br i1 %341, label %342, label %346

342:                                              ; preds = %335
  %343 = load ptr, ptr @stderr, align 8, !tbaa !9
  %344 = tail call i32 @fileno(ptr noundef %343) #12
  %345 = tail call i32 @isatty(i32 noundef %344) #12
  %.not122 = icmp eq i32 %345, 0
  br i1 %.not122, label %346, label %347

346:                                              ; preds = %342, %335
  br label %347

347:                                              ; preds = %342, %346
  %.str.6.sink263 = phi ptr [ @.str.6, %346 ], [ @.str.3, %342 ]
  store i32 %337, ptr %336, align 4, !tbaa !5
  %348 = load ptr, ptr @stderr, align 8, !tbaa !9
  %349 = load i32, ptr @test_count, align 4, !tbaa !5
  %350 = tail call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %351 = load i32, ptr %350, align 4, !tbaa !5
  %352 = tail call ptr @s2n_strerror(i32 noundef %351, ptr noundef nonnull @.str.5) #12
  %353 = load i32, ptr %350, align 4, !tbaa !5
  %354 = tail call ptr @s2n_strerror_debug(i32 noundef %353, ptr noundef nonnull @.str.5) #12
  %355 = load i32, ptr %336, align 4, !tbaa !5
  %356 = tail call ptr @strerror(i32 noundef %355) #12
  %357 = load i32, ptr %336, align 4, !tbaa !5
  %358 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %348, ptr noundef nonnull %.str.6.sink263, i32 noundef %349, ptr noundef nonnull @.str.17, ptr noundef nonnull @.str.2, i32 noundef 87, ptr noundef %352, ptr noundef %354, ptr noundef %356, i32 noundef %357) #14
  tail call void @exit(i32 noundef 1) #15
  unreachable

359:                                              ; preds = %330
  %360 = load i32, ptr @test_count, align 4, !tbaa !5
  %361 = add nsw i32 %360, 1
  store i32 %361, ptr @test_count, align 4, !tbaa !5
  %362 = tail call i32 @s2n_cert_chain_and_key_free(ptr noundef nonnull %275) #12
  %363 = icmp eq i32 %362, -1
  br i1 %363, label %364, label %388

364:                                              ; preds = %359
  %365 = tail call ptr @__errno_location() #13
  %366 = load i32, ptr %365, align 4, !tbaa !5
  %367 = load ptr, ptr @stderr, align 8, !tbaa !9
  %368 = tail call i32 @s2n_print_stacktrace(ptr noundef %367) #12
  %369 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %370 = trunc nuw i8 %369 to i1
  br i1 %370, label %371, label %375

371:                                              ; preds = %364
  %372 = load ptr, ptr @stderr, align 8, !tbaa !9
  %373 = tail call i32 @fileno(ptr noundef %372) #12
  %374 = tail call i32 @isatty(i32 noundef %373) #12
  %.not121 = icmp eq i32 %374, 0
  br i1 %.not121, label %375, label %376

375:                                              ; preds = %371, %364
  br label %376

376:                                              ; preds = %371, %375
  %.str.6.sink274 = phi ptr [ @.str.6, %375 ], [ @.str.3, %371 ]
  store i32 %366, ptr %365, align 4, !tbaa !5
  %377 = load ptr, ptr @stderr, align 8, !tbaa !9
  %378 = load i32, ptr @test_count, align 4, !tbaa !5
  %379 = tail call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %380 = load i32, ptr %379, align 4, !tbaa !5
  %381 = tail call ptr @s2n_strerror(i32 noundef %380, ptr noundef nonnull @.str.5) #12
  %382 = load i32, ptr %379, align 4, !tbaa !5
  %383 = tail call ptr @s2n_strerror_debug(i32 noundef %382, ptr noundef nonnull @.str.5) #12
  %384 = load i32, ptr %365, align 4, !tbaa !5
  %385 = tail call ptr @strerror(i32 noundef %384) #12
  %386 = load i32, ptr %365, align 4, !tbaa !5
  %387 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %377, ptr noundef nonnull %.str.6.sink274, i32 noundef %378, ptr noundef nonnull @.str.18, ptr noundef nonnull @.str.2, i32 noundef 88, ptr noundef %381, ptr noundef %383, ptr noundef %385, i32 noundef %386) #14
  tail call void @exit(i32 noundef 1) #15
  unreachable

388:                                              ; preds = %359
  %389 = load i32, ptr @test_count, align 4, !tbaa !5
  %390 = add nsw i32 %389, 1
  store i32 %390, ptr @test_count, align 4, !tbaa !5
  %391 = tail call i32 @s2n_config_free(ptr noundef nonnull %184) #12
  %392 = icmp eq i32 %391, -1
  br i1 %392, label %393, label %179

393:                                              ; preds = %388
  %394 = tail call ptr @__errno_location() #13
  %395 = load i32, ptr %394, align 4, !tbaa !5
  %396 = load ptr, ptr @stderr, align 8, !tbaa !9
  %397 = tail call i32 @s2n_print_stacktrace(ptr noundef %396) #12
  %398 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %399 = trunc nuw i8 %398 to i1
  br i1 %399, label %400, label %404

400:                                              ; preds = %393
  %401 = load ptr, ptr @stderr, align 8, !tbaa !9
  %402 = tail call i32 @fileno(ptr noundef %401) #12
  %403 = tail call i32 @isatty(i32 noundef %402) #12
  %.not120 = icmp eq i32 %403, 0
  br i1 %.not120, label %404, label %405

404:                                              ; preds = %400, %393
  br label %405

405:                                              ; preds = %400, %404
  %.str.6.sink285 = phi ptr [ @.str.6, %404 ], [ @.str.3, %400 ]
  store i32 %395, ptr %394, align 4, !tbaa !5
  %406 = load ptr, ptr @stderr, align 8, !tbaa !9
  %407 = load i32, ptr @test_count, align 4, !tbaa !5
  %408 = tail call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %409 = load i32, ptr %408, align 4, !tbaa !5
  %410 = tail call ptr @s2n_strerror(i32 noundef %409, ptr noundef nonnull @.str.5) #12
  %411 = load i32, ptr %408, align 4, !tbaa !5
  %412 = tail call ptr @s2n_strerror_debug(i32 noundef %411, ptr noundef nonnull @.str.5) #12
  %413 = load i32, ptr %394, align 4, !tbaa !5
  %414 = tail call ptr @strerror(i32 noundef %413) #12
  %415 = load i32, ptr %394, align 4, !tbaa !5
  %416 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %406, ptr noundef nonnull %.str.6.sink285, i32 noundef %407, ptr noundef nonnull @.str.19, ptr noundef nonnull @.str.2, i32 noundef 89, ptr noundef %410, ptr noundef %412, ptr noundef %414, i32 noundef %415) #14
  tail call void @exit(i32 noundef 1) #15
  unreachable

417:                                              ; preds = %594
  %418 = add nuw nsw i64 %.092139, 1
  %exitcond141.not = icmp eq i64 %418, 5
  br i1 %exitcond141.not, label %.critedge, label %423, !llvm.loop !17

.critedge:                                        ; preds = %417
  call void @llvm.lifetime.start.p0(i64 500000, ptr nonnull %3) #12
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(500000) %3, i8 0, i64 500000, i1 false)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #12
  %419 = tail call ptr @s2n_cert_chain_and_key_new() #12
  store ptr %419, ptr %4, align 8, !tbaa !9
  %420 = load i32, ptr @test_count, align 4, !tbaa !5
  %421 = add nsw i32 %420, 1
  store i32 %421, ptr @test_count, align 4, !tbaa !5
  %422 = icmp eq ptr %419, null
  br i1 %422, label %622, label %644

423:                                              ; preds = %.preheader, %417
  %.092139 = phi i64 [ 0, %.preheader ], [ %418, %417 ]
  %424 = load i32, ptr @test_count, align 4, !tbaa !5
  %425 = add nsw i32 %424, 1
  store i32 %425, ptr @test_count, align 4, !tbaa !5
  %426 = getelementptr inbounds [5 x [2 x ptr]], ptr @invalid_pem_pairs, i64 0, i64 %.092139
  %427 = load ptr, ptr %426, align 16, !tbaa !9
  %428 = tail call i32 @s2n_read_test_pem(ptr noundef %427, ptr noundef nonnull %125, i64 noundef 12000) #12
  %429 = icmp eq i32 %428, -1
  br i1 %429, label %430, label %453

430:                                              ; preds = %423
  %431 = tail call ptr @__errno_location() #13
  %432 = load i32, ptr %431, align 4, !tbaa !5
  %433 = load ptr, ptr @stderr, align 8, !tbaa !9
  %434 = tail call i32 @s2n_print_stacktrace(ptr noundef %433) #12
  %435 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %436 = trunc nuw i8 %435 to i1
  br i1 %436, label %437, label %441

437:                                              ; preds = %430
  %438 = load ptr, ptr @stderr, align 8, !tbaa !9
  %439 = tail call i32 @fileno(ptr noundef %438) #12
  %440 = tail call i32 @isatty(i32 noundef %439) #12
  %.not119 = icmp eq i32 %440, 0
  br i1 %.not119, label %441, label %442

441:                                              ; preds = %437, %430
  br label %442

442:                                              ; preds = %437, %441
  %.str.6.sink296 = phi ptr [ @.str.6, %441 ], [ @.str.3, %437 ]
  store i32 %432, ptr %431, align 4, !tbaa !5
  %443 = load ptr, ptr @stderr, align 8, !tbaa !9
  %444 = load i32, ptr @test_count, align 4, !tbaa !5
  %445 = load i32, ptr %181, align 4, !tbaa !5
  %446 = tail call ptr @s2n_strerror(i32 noundef %445, ptr noundef nonnull @.str.5) #12
  %447 = load i32, ptr %181, align 4, !tbaa !5
  %448 = tail call ptr @s2n_strerror_debug(i32 noundef %447, ptr noundef nonnull @.str.5) #12
  %449 = load i32, ptr %431, align 4, !tbaa !5
  %450 = tail call ptr @strerror(i32 noundef %449) #12
  %451 = load i32, ptr %431, align 4, !tbaa !5
  %452 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %443, ptr noundef nonnull %.str.6.sink296, i32 noundef %444, ptr noundef nonnull @.str.20, ptr noundef nonnull @.str.2, i32 noundef 93, ptr noundef %446, ptr noundef %448, ptr noundef %450, i32 noundef %451) #14
  tail call void @exit(i32 noundef 1) #15
  unreachable

453:                                              ; preds = %423
  %454 = load i32, ptr @test_count, align 4, !tbaa !5
  %455 = add nsw i32 %454, 1
  store i32 %455, ptr @test_count, align 4, !tbaa !5
  %456 = getelementptr inbounds i8, ptr %426, i64 8
  %457 = load ptr, ptr %456, align 8, !tbaa !9
  %458 = tail call i32 @s2n_read_test_pem(ptr noundef %457, ptr noundef nonnull %153, i64 noundef 12000) #12
  %459 = icmp eq i32 %458, -1
  br i1 %459, label %460, label %483

460:                                              ; preds = %453
  %461 = tail call ptr @__errno_location() #13
  %462 = load i32, ptr %461, align 4, !tbaa !5
  %463 = load ptr, ptr @stderr, align 8, !tbaa !9
  %464 = tail call i32 @s2n_print_stacktrace(ptr noundef %463) #12
  %465 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %466 = trunc nuw i8 %465 to i1
  br i1 %466, label %467, label %471

467:                                              ; preds = %460
  %468 = load ptr, ptr @stderr, align 8, !tbaa !9
  %469 = tail call i32 @fileno(ptr noundef %468) #12
  %470 = tail call i32 @isatty(i32 noundef %469) #12
  %.not118 = icmp eq i32 %470, 0
  br i1 %.not118, label %471, label %472

471:                                              ; preds = %467, %460
  br label %472

472:                                              ; preds = %467, %471
  %.str.6.sink305 = phi ptr [ @.str.6, %471 ], [ @.str.3, %467 ]
  store i32 %462, ptr %461, align 4, !tbaa !5
  %473 = load ptr, ptr @stderr, align 8, !tbaa !9
  %474 = load i32, ptr @test_count, align 4, !tbaa !5
  %475 = load i32, ptr %181, align 4, !tbaa !5
  %476 = tail call ptr @s2n_strerror(i32 noundef %475, ptr noundef nonnull @.str.5) #12
  %477 = load i32, ptr %181, align 4, !tbaa !5
  %478 = tail call ptr @s2n_strerror_debug(i32 noundef %477, ptr noundef nonnull @.str.5) #12
  %479 = load i32, ptr %461, align 4, !tbaa !5
  %480 = tail call ptr @strerror(i32 noundef %479) #12
  %481 = load i32, ptr %461, align 4, !tbaa !5
  %482 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %473, ptr noundef nonnull %.str.6.sink305, i32 noundef %474, ptr noundef nonnull @.str.21, ptr noundef nonnull @.str.2, i32 noundef 94, ptr noundef %476, ptr noundef %478, ptr noundef %480, i32 noundef %481) #14
  tail call void @exit(i32 noundef 1) #15
  unreachable

483:                                              ; preds = %453
  %484 = load i32, ptr @test_count, align 4, !tbaa !5
  %485 = add nsw i32 %484, 1
  store i32 %485, ptr @test_count, align 4, !tbaa !5
  %486 = tail call ptr @s2n_cert_chain_and_key_new() #12
  %487 = icmp eq ptr %486, null
  br i1 %487, label %488, label %511

488:                                              ; preds = %483
  %489 = tail call ptr @__errno_location() #13
  %490 = load i32, ptr %489, align 4, !tbaa !5
  %491 = load ptr, ptr @stderr, align 8, !tbaa !9
  %492 = tail call i32 @s2n_print_stacktrace(ptr noundef %491) #12
  %493 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %494 = trunc nuw i8 %493 to i1
  br i1 %494, label %495, label %499

495:                                              ; preds = %488
  %496 = load ptr, ptr @stderr, align 8, !tbaa !9
  %497 = tail call i32 @fileno(ptr noundef %496) #12
  %498 = tail call i32 @isatty(i32 noundef %497) #12
  %.not117 = icmp eq i32 %498, 0
  br i1 %.not117, label %499, label %500

499:                                              ; preds = %495, %488
  br label %500

500:                                              ; preds = %495, %499
  %.str.6.sink314 = phi ptr [ @.str.6, %499 ], [ @.str.3, %495 ]
  store i32 %490, ptr %489, align 4, !tbaa !5
  %501 = load ptr, ptr @stderr, align 8, !tbaa !9
  %502 = load i32, ptr @test_count, align 4, !tbaa !5
  %503 = load i32, ptr %181, align 4, !tbaa !5
  %504 = tail call ptr @s2n_strerror(i32 noundef %503, ptr noundef nonnull @.str.5) #12
  %505 = load i32, ptr %181, align 4, !tbaa !5
  %506 = tail call ptr @s2n_strerror_debug(i32 noundef %505, ptr noundef nonnull @.str.5) #12
  %507 = load i32, ptr %489, align 4, !tbaa !5
  %508 = tail call ptr @strerror(i32 noundef %507) #12
  %509 = load i32, ptr %489, align 4, !tbaa !5
  %510 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %501, ptr noundef nonnull %.str.6.sink314, i32 noundef %502, ptr noundef nonnull @.str.15, ptr noundef nonnull @.str.2, i32 noundef 95, ptr noundef %504, ptr noundef %506, ptr noundef %508, i32 noundef %509) #14
  tail call void @exit(i32 noundef 1) #15
  unreachable

511:                                              ; preds = %483
  %512 = load i32, ptr @test_count, align 4, !tbaa !5
  %513 = add nsw i32 %512, 1
  store i32 %513, ptr @test_count, align 4, !tbaa !5
  %514 = tail call i32 @s2n_cert_chain_and_key_load_pem(ptr noundef nonnull %486, ptr noundef nonnull %125, ptr noundef nonnull %153) #12
  %515 = icmp eq i32 %514, -1
  br i1 %515, label %539, label %516

516:                                              ; preds = %511
  %517 = tail call ptr @__errno_location() #13
  %518 = load i32, ptr %517, align 4, !tbaa !5
  %519 = load ptr, ptr @stderr, align 8, !tbaa !9
  %520 = tail call i32 @s2n_print_stacktrace(ptr noundef %519) #12
  %521 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %522 = trunc nuw i8 %521 to i1
  br i1 %522, label %523, label %527

523:                                              ; preds = %516
  %524 = load ptr, ptr @stderr, align 8, !tbaa !9
  %525 = tail call i32 @fileno(ptr noundef %524) #12
  %526 = tail call i32 @isatty(i32 noundef %525) #12
  %.not113 = icmp eq i32 %526, 0
  br i1 %.not113, label %527, label %528

527:                                              ; preds = %523, %516
  br label %528

528:                                              ; preds = %523, %527
  %.str.6.sink323 = phi ptr [ @.str.6, %527 ], [ @.str.3, %523 ]
  store i32 %518, ptr %517, align 4, !tbaa !5
  %529 = load ptr, ptr @stderr, align 8, !tbaa !9
  %530 = load i32, ptr @test_count, align 4, !tbaa !5
  %531 = load i32, ptr %181, align 4, !tbaa !5
  %532 = tail call ptr @s2n_strerror(i32 noundef %531, ptr noundef nonnull @.str.5) #12
  %533 = load i32, ptr %181, align 4, !tbaa !5
  %534 = tail call ptr @s2n_strerror_debug(i32 noundef %533, ptr noundef nonnull @.str.5) #12
  %535 = load i32, ptr %517, align 4, !tbaa !5
  %536 = tail call ptr @strerror(i32 noundef %535) #12
  %537 = load i32, ptr %517, align 4, !tbaa !5
  %538 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %529, ptr noundef nonnull %.str.6.sink323, i32 noundef %530, ptr noundef nonnull @.str.22, ptr noundef nonnull @.str.2, i32 noundef 96, ptr noundef %532, ptr noundef %534, ptr noundef %536, i32 noundef %537) #14
  tail call void @exit(i32 noundef 1) #15
  unreachable

539:                                              ; preds = %511
  %540 = load i32, ptr @test_count, align 4, !tbaa !5
  %541 = add nsw i32 %540, 1
  store i32 %541, ptr @test_count, align 4, !tbaa !5
  %542 = load i32, ptr %181, align 4, !tbaa !5
  %543 = icmp eq i32 %542, 0
  br i1 %543, label %544, label %567

544:                                              ; preds = %539
  %545 = tail call ptr @__errno_location() #13
  %546 = load i32, ptr %545, align 4, !tbaa !5
  %547 = load ptr, ptr @stderr, align 8, !tbaa !9
  %548 = tail call i32 @s2n_print_stacktrace(ptr noundef %547) #12
  %549 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %550 = trunc nuw i8 %549 to i1
  br i1 %550, label %551, label %555

551:                                              ; preds = %544
  %552 = load ptr, ptr @stderr, align 8, !tbaa !9
  %553 = tail call i32 @fileno(ptr noundef %552) #12
  %554 = tail call i32 @isatty(i32 noundef %553) #12
  %.not116 = icmp eq i32 %554, 0
  br i1 %.not116, label %555, label %556

555:                                              ; preds = %551, %544
  br label %556

556:                                              ; preds = %551, %555
  %.str.6.sink332 = phi ptr [ @.str.6, %555 ], [ @.str.3, %551 ]
  store i32 %546, ptr %545, align 4, !tbaa !5
  %557 = load ptr, ptr @stderr, align 8, !tbaa !9
  %558 = load i32, ptr @test_count, align 4, !tbaa !5
  %559 = load i32, ptr %181, align 4, !tbaa !5
  %560 = tail call ptr @s2n_strerror(i32 noundef %559, ptr noundef nonnull @.str.5) #12
  %561 = load i32, ptr %181, align 4, !tbaa !5
  %562 = tail call ptr @s2n_strerror_debug(i32 noundef %561, ptr noundef nonnull @.str.5) #12
  %563 = load i32, ptr %545, align 4, !tbaa !5
  %564 = tail call ptr @strerror(i32 noundef %563) #12
  %565 = load i32, ptr %545, align 4, !tbaa !5
  %566 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %557, ptr noundef nonnull %.str.6.sink332, i32 noundef %558, ptr noundef nonnull @.str.23, ptr noundef nonnull @.str.2, i32 noundef 96, ptr noundef %560, ptr noundef %562, ptr noundef %564, i32 noundef %565) #14
  tail call void @exit(i32 noundef 1) #15
  unreachable

567:                                              ; preds = %539
  %568 = add nsw i32 %540, 2
  store i32 %568, ptr @test_count, align 4, !tbaa !5
  %569 = tail call ptr @s2n_strerror_debug(i32 noundef %542, ptr noundef nonnull @.str.5) #12
  %570 = icmp eq ptr %569, null
  br i1 %570, label %571, label %594

571:                                              ; preds = %567
  %572 = tail call ptr @__errno_location() #13
  %573 = load i32, ptr %572, align 4, !tbaa !5
  %574 = load ptr, ptr @stderr, align 8, !tbaa !9
  %575 = tail call i32 @s2n_print_stacktrace(ptr noundef %574) #12
  %576 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %577 = trunc nuw i8 %576 to i1
  br i1 %577, label %578, label %582

578:                                              ; preds = %571
  %579 = load ptr, ptr @stderr, align 8, !tbaa !9
  %580 = tail call i32 @fileno(ptr noundef %579) #12
  %581 = tail call i32 @isatty(i32 noundef %580) #12
  %.not115 = icmp eq i32 %581, 0
  br i1 %.not115, label %582, label %583

582:                                              ; preds = %578, %571
  br label %583

583:                                              ; preds = %578, %582
  %.str.6.sink341 = phi ptr [ @.str.6, %582 ], [ @.str.3, %578 ]
  store i32 %573, ptr %572, align 4, !tbaa !5
  %584 = load ptr, ptr @stderr, align 8, !tbaa !9
  %585 = load i32, ptr @test_count, align 4, !tbaa !5
  %586 = load i32, ptr %181, align 4, !tbaa !5
  %587 = tail call ptr @s2n_strerror(i32 noundef %586, ptr noundef nonnull @.str.5) #12
  %588 = load i32, ptr %181, align 4, !tbaa !5
  %589 = tail call ptr @s2n_strerror_debug(i32 noundef %588, ptr noundef nonnull @.str.5) #12
  %590 = load i32, ptr %572, align 4, !tbaa !5
  %591 = tail call ptr @strerror(i32 noundef %590) #12
  %592 = load i32, ptr %572, align 4, !tbaa !5
  %593 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %584, ptr noundef nonnull %.str.6.sink341, i32 noundef %585, ptr noundef nonnull @.str.24, ptr noundef nonnull @.str.2, i32 noundef 96, ptr noundef %587, ptr noundef %589, ptr noundef %591, i32 noundef %592) #14
  tail call void @exit(i32 noundef 1) #15
  unreachable

594:                                              ; preds = %567
  store i32 0, ptr %181, align 4, !tbaa !5
  tail call void @s2n_debug_info_reset() #12
  %595 = tail call ptr @__errno_location() #13
  store i32 0, ptr %595, align 4, !tbaa !5
  %596 = load i32, ptr @test_count, align 4, !tbaa !5
  %597 = add nsw i32 %596, 1
  store i32 %597, ptr @test_count, align 4, !tbaa !5
  %598 = tail call i32 @s2n_cert_chain_and_key_free(ptr noundef nonnull %486) #12
  %599 = icmp eq i32 %598, -1
  br i1 %599, label %600, label %417

600:                                              ; preds = %594
  %601 = load i32, ptr %595, align 4, !tbaa !5
  %602 = load ptr, ptr @stderr, align 8, !tbaa !9
  %603 = tail call i32 @s2n_print_stacktrace(ptr noundef %602) #12
  %604 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %605 = trunc nuw i8 %604 to i1
  br i1 %605, label %606, label %610

606:                                              ; preds = %600
  %607 = load ptr, ptr @stderr, align 8, !tbaa !9
  %608 = tail call i32 @fileno(ptr noundef %607) #12
  %609 = tail call i32 @isatty(i32 noundef %608) #12
  %.not114 = icmp eq i32 %609, 0
  br i1 %.not114, label %610, label %611

610:                                              ; preds = %606, %600
  br label %611

611:                                              ; preds = %606, %610
  %.str.6.sink350 = phi ptr [ @.str.6, %610 ], [ @.str.3, %606 ]
  store i32 %601, ptr %595, align 4, !tbaa !5
  %612 = load ptr, ptr @stderr, align 8, !tbaa !9
  %613 = load i32, ptr @test_count, align 4, !tbaa !5
  %614 = load i32, ptr %181, align 4, !tbaa !5
  %615 = tail call ptr @s2n_strerror(i32 noundef %614, ptr noundef nonnull @.str.5) #12
  %616 = load i32, ptr %181, align 4, !tbaa !5
  %617 = tail call ptr @s2n_strerror_debug(i32 noundef %616, ptr noundef nonnull @.str.5) #12
  %618 = load i32, ptr %595, align 4, !tbaa !5
  %619 = tail call ptr @strerror(i32 noundef %618) #12
  %620 = load i32, ptr %595, align 4, !tbaa !5
  %621 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %612, ptr noundef nonnull %.str.6.sink350, i32 noundef %613, ptr noundef nonnull @.str.18, ptr noundef nonnull @.str.2, i32 noundef 97, ptr noundef %615, ptr noundef %617, ptr noundef %619, i32 noundef %620) #14
  tail call void @exit(i32 noundef 1) #15
  unreachable

622:                                              ; preds = %.critedge
  %623 = load i32, ptr %595, align 4, !tbaa !5
  %624 = load ptr, ptr @stderr, align 8, !tbaa !9
  %625 = tail call i32 @s2n_print_stacktrace(ptr noundef %624) #12
  %626 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %627 = trunc nuw i8 %626 to i1
  br i1 %627, label %628, label %632

628:                                              ; preds = %622
  %629 = load ptr, ptr @stderr, align 8, !tbaa !9
  %630 = tail call i32 @fileno(ptr noundef %629) #12
  %631 = tail call i32 @isatty(i32 noundef %630) #12
  %.not112 = icmp eq i32 %631, 0
  br i1 %.not112, label %632, label %633

632:                                              ; preds = %628, %622
  br label %633

633:                                              ; preds = %628, %632
  %.str.6.sink359 = phi ptr [ @.str.6, %632 ], [ @.str.3, %628 ]
  store i32 %623, ptr %595, align 4, !tbaa !5
  %634 = load ptr, ptr @stderr, align 8, !tbaa !9
  %635 = load i32, ptr @test_count, align 4, !tbaa !5
  %636 = load i32, ptr %181, align 4, !tbaa !5
  %637 = tail call ptr @s2n_strerror(i32 noundef %636, ptr noundef nonnull @.str.5) #12
  %638 = load i32, ptr %181, align 4, !tbaa !5
  %639 = tail call ptr @s2n_strerror_debug(i32 noundef %638, ptr noundef nonnull @.str.5) #12
  %640 = load i32, ptr %595, align 4, !tbaa !5
  %641 = tail call ptr @strerror(i32 noundef %640) #12
  %642 = load i32, ptr %595, align 4, !tbaa !5
  %643 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %634, ptr noundef nonnull %.str.6.sink359, i32 noundef %635, ptr noundef nonnull @.str.25, ptr noundef nonnull @.str.2, i32 noundef 104, ptr noundef %637, ptr noundef %639, ptr noundef %641, i32 noundef %642) #14
  tail call void @exit(i32 noundef 1) #15
  unreachable

644:                                              ; preds = %.critedge
  %645 = add nsw i32 %420, 2
  store i32 %645, ptr @test_count, align 4, !tbaa !5
  %646 = load ptr, ptr @valid_cert_chains, align 16, !tbaa !18
  %647 = call i32 @s2n_read_test_pem(ptr noundef %646, ptr noundef nonnull %3, i64 noundef 500000) #12
  %648 = icmp eq i32 %647, -1
  br i1 %648, label %649, label %671

649:                                              ; preds = %644
  %650 = load i32, ptr %595, align 4, !tbaa !5
  %651 = load ptr, ptr @stderr, align 8, !tbaa !9
  %652 = call i32 @s2n_print_stacktrace(ptr noundef %651) #12
  %653 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %654 = trunc nuw i8 %653 to i1
  br i1 %654, label %655, label %659

655:                                              ; preds = %649
  %656 = load ptr, ptr @stderr, align 8, !tbaa !9
  %657 = call i32 @fileno(ptr noundef %656) #12
  %658 = call i32 @isatty(i32 noundef %657) #12
  %.not111 = icmp eq i32 %658, 0
  br i1 %.not111, label %659, label %660

659:                                              ; preds = %655, %649
  br label %660

660:                                              ; preds = %655, %659
  %.str.6.sink368 = phi ptr [ @.str.6, %659 ], [ @.str.3, %655 ]
  store i32 %650, ptr %595, align 4, !tbaa !5
  %661 = load ptr, ptr @stderr, align 8, !tbaa !9
  %662 = load i32, ptr @test_count, align 4, !tbaa !5
  %663 = load i32, ptr %181, align 4, !tbaa !5
  %664 = call ptr @s2n_strerror(i32 noundef %663, ptr noundef nonnull @.str.5) #12
  %665 = load i32, ptr %181, align 4, !tbaa !5
  %666 = call ptr @s2n_strerror_debug(i32 noundef %665, ptr noundef nonnull @.str.5) #12
  %667 = load i32, ptr %595, align 4, !tbaa !5
  %668 = call ptr @strerror(i32 noundef %667) #12
  %669 = load i32, ptr %595, align 4, !tbaa !5
  %670 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %661, ptr noundef nonnull %.str.6.sink368, i32 noundef %662, ptr noundef nonnull @.str.26, ptr noundef nonnull @.str.2, i32 noundef 106, ptr noundef %664, ptr noundef %666, ptr noundef %668, i32 noundef %669) #14
  call void @exit(i32 noundef 1) #15
  unreachable

671:                                              ; preds = %644
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #12
  store i32 0, ptr %5, align 4, !tbaa !5
  %672 = load i32, ptr @test_count, align 4, !tbaa !5
  %673 = add nsw i32 %672, 1
  store i32 %673, ptr @test_count, align 4, !tbaa !5
  %674 = call i64 @strlen(ptr noundef nonnull dereferenceable(1) %3) #17
  %675 = trunc i64 %674 to i32
  %676 = call i32 @s2n_cert_chain_and_key_load_public_pem_bytes(ptr noundef nonnull %419, ptr noundef nonnull %3, i32 noundef %675) #12
  %677 = icmp eq i32 %676, -1
  br i1 %677, label %678, label %700

678:                                              ; preds = %671
  %679 = load i32, ptr %595, align 4, !tbaa !5
  %680 = load ptr, ptr @stderr, align 8, !tbaa !9
  %681 = call i32 @s2n_print_stacktrace(ptr noundef %680) #12
  %682 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %683 = trunc nuw i8 %682 to i1
  br i1 %683, label %684, label %688

684:                                              ; preds = %678
  %685 = load ptr, ptr @stderr, align 8, !tbaa !9
  %686 = call i32 @fileno(ptr noundef %685) #12
  %687 = call i32 @isatty(i32 noundef %686) #12
  %.not110 = icmp eq i32 %687, 0
  br i1 %.not110, label %688, label %689

688:                                              ; preds = %684, %678
  br label %689

689:                                              ; preds = %684, %688
  %.str.6.sink377 = phi ptr [ @.str.6, %688 ], [ @.str.3, %684 ]
  store i32 %679, ptr %595, align 4, !tbaa !5
  %690 = load ptr, ptr @stderr, align 8, !tbaa !9
  %691 = load i32, ptr @test_count, align 4, !tbaa !5
  %692 = load i32, ptr %181, align 4, !tbaa !5
  %693 = call ptr @s2n_strerror(i32 noundef %692, ptr noundef nonnull @.str.5) #12
  %694 = load i32, ptr %181, align 4, !tbaa !5
  %695 = call ptr @s2n_strerror_debug(i32 noundef %694, ptr noundef nonnull @.str.5) #12
  %696 = load i32, ptr %595, align 4, !tbaa !5
  %697 = call ptr @strerror(i32 noundef %696) #12
  %698 = load i32, ptr %595, align 4, !tbaa !5
  %699 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %690, ptr noundef nonnull %.str.6.sink377, i32 noundef %691, ptr noundef nonnull @.str.27, ptr noundef nonnull @.str.2, i32 noundef 110, ptr noundef %693, ptr noundef %695, ptr noundef %697, i32 noundef %698) #14
  call void @exit(i32 noundef 1) #15
  unreachable

700:                                              ; preds = %671
  %701 = load i32, ptr @test_count, align 4, !tbaa !5
  %702 = add nsw i32 %701, 1
  store i32 %702, ptr @test_count, align 4, !tbaa !5
  %703 = call i32 @s2n_cert_chain_get_length(ptr noundef nonnull %419, ptr noundef nonnull %5) #12
  %704 = icmp eq i32 %703, -1
  br i1 %704, label %705, label %727

705:                                              ; preds = %700
  %706 = load i32, ptr %595, align 4, !tbaa !5
  %707 = load ptr, ptr @stderr, align 8, !tbaa !9
  %708 = call i32 @s2n_print_stacktrace(ptr noundef %707) #12
  %709 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %710 = trunc nuw i8 %709 to i1
  br i1 %710, label %711, label %715

711:                                              ; preds = %705
  %712 = load ptr, ptr @stderr, align 8, !tbaa !9
  %713 = call i32 @fileno(ptr noundef %712) #12
  %714 = call i32 @isatty(i32 noundef %713) #12
  %.not109 = icmp eq i32 %714, 0
  br i1 %.not109, label %715, label %716

715:                                              ; preds = %711, %705
  br label %716

716:                                              ; preds = %711, %715
  %.str.6.sink386 = phi ptr [ @.str.6, %715 ], [ @.str.3, %711 ]
  store i32 %706, ptr %595, align 4, !tbaa !5
  %717 = load ptr, ptr @stderr, align 8, !tbaa !9
  %718 = load i32, ptr @test_count, align 4, !tbaa !5
  %719 = load i32, ptr %181, align 4, !tbaa !5
  %720 = call ptr @s2n_strerror(i32 noundef %719, ptr noundef nonnull @.str.5) #12
  %721 = load i32, ptr %181, align 4, !tbaa !5
  %722 = call ptr @s2n_strerror_debug(i32 noundef %721, ptr noundef nonnull @.str.5) #12
  %723 = load i32, ptr %595, align 4, !tbaa !5
  %724 = call ptr @strerror(i32 noundef %723) #12
  %725 = load i32, ptr %595, align 4, !tbaa !5
  %726 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %717, ptr noundef nonnull %.str.6.sink386, i32 noundef %718, ptr noundef nonnull @.str.28, ptr noundef nonnull @.str.2, i32 noundef 111, ptr noundef %720, ptr noundef %722, ptr noundef %724, i32 noundef %725) #14
  call void @exit(i32 noundef 1) #15
  unreachable

727:                                              ; preds = %700
  %728 = load i32, ptr @test_count, align 4, !tbaa !5
  %729 = add nsw i32 %728, 1
  store i32 %729, ptr @test_count, align 4, !tbaa !5
  %730 = load i32, ptr %5, align 4, !tbaa !5
  %731 = load i16, ptr getelementptr inbounds (i8, ptr @valid_cert_chains, i64 8), align 8, !tbaa !21
  %732 = zext i16 %731 to i32
  %733 = icmp eq i32 %730, %732
  br i1 %733, label %756, label %734

734:                                              ; preds = %727
  %735 = load i32, ptr %595, align 4, !tbaa !5
  %736 = load ptr, ptr @stderr, align 8, !tbaa !9
  %737 = call i32 @s2n_print_stacktrace(ptr noundef %736) #12
  %738 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %739 = trunc nuw i8 %738 to i1
  br i1 %739, label %740, label %744

740:                                              ; preds = %734
  %741 = load ptr, ptr @stderr, align 8, !tbaa !9
  %742 = call i32 @fileno(ptr noundef %741) #12
  %743 = call i32 @isatty(i32 noundef %742) #12
  %.not105 = icmp eq i32 %743, 0
  br i1 %.not105, label %744, label %745

744:                                              ; preds = %740, %734
  br label %745

745:                                              ; preds = %740, %744
  %.str.6.sink395 = phi ptr [ @.str.6, %744 ], [ @.str.3, %740 ]
  store i32 %735, ptr %595, align 4, !tbaa !5
  %746 = load ptr, ptr @stderr, align 8, !tbaa !9
  %747 = load i32, ptr @test_count, align 4, !tbaa !5
  %748 = load i32, ptr %181, align 4, !tbaa !5
  %749 = call ptr @s2n_strerror(i32 noundef %748, ptr noundef nonnull @.str.5) #12
  %750 = load i32, ptr %181, align 4, !tbaa !5
  %751 = call ptr @s2n_strerror_debug(i32 noundef %750, ptr noundef nonnull @.str.5) #12
  %752 = load i32, ptr %595, align 4, !tbaa !5
  %753 = call ptr @strerror(i32 noundef %752) #12
  %754 = load i32, ptr %595, align 4, !tbaa !5
  %755 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %746, ptr noundef nonnull %.str.6.sink395, i32 noundef %747, ptr noundef nonnull @.str.29, ptr noundef nonnull @.str.2, i32 noundef 112, ptr noundef %749, ptr noundef %751, ptr noundef %753, i32 noundef %754) #14
  call void @exit(i32 noundef 1) #15
  unreachable

756:                                              ; preds = %727
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #12
  %757 = call ptr @s2n_config_new() #12
  store ptr %757, ptr %6, align 8, !tbaa !9
  %758 = load i32, ptr @test_count, align 4, !tbaa !5
  %759 = add nsw i32 %758, 1
  store i32 %759, ptr @test_count, align 4, !tbaa !5
  %760 = icmp eq ptr %757, null
  br i1 %760, label %761, label %783

761:                                              ; preds = %756
  %762 = load i32, ptr %595, align 4, !tbaa !5
  %763 = load ptr, ptr @stderr, align 8, !tbaa !9
  %764 = call i32 @s2n_print_stacktrace(ptr noundef %763) #12
  %765 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %766 = trunc nuw i8 %765 to i1
  br i1 %766, label %767, label %771

767:                                              ; preds = %761
  %768 = load ptr, ptr @stderr, align 8, !tbaa !9
  %769 = call i32 @fileno(ptr noundef %768) #12
  %770 = call i32 @isatty(i32 noundef %769) #12
  %.not108 = icmp eq i32 %770, 0
  br i1 %.not108, label %771, label %772

771:                                              ; preds = %767, %761
  br label %772

772:                                              ; preds = %767, %771
  %.str.6.sink404 = phi ptr [ @.str.6, %771 ], [ @.str.3, %767 ]
  store i32 %762, ptr %595, align 4, !tbaa !5
  %773 = load ptr, ptr @stderr, align 8, !tbaa !9
  %774 = load i32, ptr @test_count, align 4, !tbaa !5
  %775 = load i32, ptr %181, align 4, !tbaa !5
  %776 = call ptr @s2n_strerror(i32 noundef %775, ptr noundef nonnull @.str.5) #12
  %777 = load i32, ptr %181, align 4, !tbaa !5
  %778 = call ptr @s2n_strerror_debug(i32 noundef %777, ptr noundef nonnull @.str.5) #12
  %779 = load i32, ptr %595, align 4, !tbaa !5
  %780 = call ptr @strerror(i32 noundef %779) #12
  %781 = load i32, ptr %595, align 4, !tbaa !5
  %782 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %773, ptr noundef nonnull %.str.6.sink404, i32 noundef %774, ptr noundef nonnull @.str.30, ptr noundef nonnull @.str.2, i32 noundef 115, ptr noundef %776, ptr noundef %778, ptr noundef %780, i32 noundef %781) #14
  call void @exit(i32 noundef 1) #15
  unreachable

783:                                              ; preds = %756
  %784 = add nsw i32 %758, 2
  store i32 %784, ptr @test_count, align 4, !tbaa !5
  %785 = call i32 @s2n_config_add_pem_to_trust_store(ptr noundef nonnull %757, ptr noundef nonnull %3) #12
  %786 = icmp eq i32 %785, -1
  br i1 %786, label %787, label %809

787:                                              ; preds = %783
  %788 = load i32, ptr %595, align 4, !tbaa !5
  %789 = load ptr, ptr @stderr, align 8, !tbaa !9
  %790 = call i32 @s2n_print_stacktrace(ptr noundef %789) #12
  %791 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %792 = trunc nuw i8 %791 to i1
  br i1 %792, label %793, label %797

793:                                              ; preds = %787
  %794 = load ptr, ptr @stderr, align 8, !tbaa !9
  %795 = call i32 @fileno(ptr noundef %794) #12
  %796 = call i32 @isatty(i32 noundef %795) #12
  %.not107 = icmp eq i32 %796, 0
  br i1 %.not107, label %797, label %798

797:                                              ; preds = %793, %787
  br label %798

798:                                              ; preds = %793, %797
  %.str.6.sink413 = phi ptr [ @.str.6, %797 ], [ @.str.3, %793 ]
  store i32 %788, ptr %595, align 4, !tbaa !5
  %799 = load ptr, ptr @stderr, align 8, !tbaa !9
  %800 = load i32, ptr @test_count, align 4, !tbaa !5
  %801 = load i32, ptr %181, align 4, !tbaa !5
  %802 = call ptr @s2n_strerror(i32 noundef %801, ptr noundef nonnull @.str.5) #12
  %803 = load i32, ptr %181, align 4, !tbaa !5
  %804 = call ptr @s2n_strerror_debug(i32 noundef %803, ptr noundef nonnull @.str.5) #12
  %805 = load i32, ptr %595, align 4, !tbaa !5
  %806 = call ptr @strerror(i32 noundef %805) #12
  %807 = load i32, ptr %595, align 4, !tbaa !5
  %808 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %799, ptr noundef nonnull %.str.6.sink413, i32 noundef %800, ptr noundef nonnull @.str.31, ptr noundef nonnull @.str.2, i32 noundef 116, ptr noundef %802, ptr noundef %804, ptr noundef %806, i32 noundef %807) #14
  call void @exit(i32 noundef 1) #15
  unreachable

809:                                              ; preds = %783
  %810 = load i32, ptr @test_count, align 4, !tbaa !5
  %811 = add nsw i32 %810, 1
  store i32 %811, ptr @test_count, align 4, !tbaa !5
  %812 = call i32 @s2n_config_add_cert_chain_and_key_to_store(ptr noundef nonnull %757, ptr noundef nonnull %419) #12
  %813 = icmp eq i32 %812, -1
  br i1 %813, label %814, label %836

814:                                              ; preds = %809
  %815 = load i32, ptr %595, align 4, !tbaa !5
  %816 = load ptr, ptr @stderr, align 8, !tbaa !9
  %817 = call i32 @s2n_print_stacktrace(ptr noundef %816) #12
  %818 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %819 = trunc nuw i8 %818 to i1
  br i1 %819, label %820, label %824

820:                                              ; preds = %814
  %821 = load ptr, ptr @stderr, align 8, !tbaa !9
  %822 = call i32 @fileno(ptr noundef %821) #12
  %823 = call i32 @isatty(i32 noundef %822) #12
  %.not106 = icmp eq i32 %823, 0
  br i1 %.not106, label %824, label %825

824:                                              ; preds = %820, %814
  br label %825

825:                                              ; preds = %820, %824
  %.str.6.sink422 = phi ptr [ @.str.6, %824 ], [ @.str.3, %820 ]
  store i32 %815, ptr %595, align 4, !tbaa !5
  %826 = load ptr, ptr @stderr, align 8, !tbaa !9
  %827 = load i32, ptr @test_count, align 4, !tbaa !5
  %828 = load i32, ptr %181, align 4, !tbaa !5
  %829 = call ptr @s2n_strerror(i32 noundef %828, ptr noundef nonnull @.str.5) #12
  %830 = load i32, ptr %181, align 4, !tbaa !5
  %831 = call ptr @s2n_strerror_debug(i32 noundef %830, ptr noundef nonnull @.str.5) #12
  %832 = load i32, ptr %595, align 4, !tbaa !5
  %833 = call ptr @strerror(i32 noundef %832) #12
  %834 = load i32, ptr %595, align 4, !tbaa !5
  %835 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %826, ptr noundef nonnull %.str.6.sink422, i32 noundef %827, ptr noundef nonnull @.str.32, ptr noundef nonnull @.str.2, i32 noundef 117, ptr noundef %829, ptr noundef %831, ptr noundef %833, i32 noundef %834) #14
  call void @exit(i32 noundef 1) #15
  unreachable

836:                                              ; preds = %809
  %837 = call i32 @s2n_config_ptr_free(ptr noundef nonnull %6) #12
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #12
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #12
  %838 = call i32 @s2n_cert_chain_and_key_ptr_free(ptr noundef nonnull %4) #12
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #12
  call void @free(ptr noundef %125) #12
  call void @free(ptr noundef %153) #12
  %839 = call i32 @s2n_cleanup() #12
  %840 = icmp eq i32 %839, -1
  br i1 %840, label %841, label %863

841:                                              ; preds = %836
  %842 = load i32, ptr %595, align 4, !tbaa !5
  %843 = load ptr, ptr @stderr, align 8, !tbaa !9
  %844 = call i32 @s2n_print_stacktrace(ptr noundef %843) #12
  %845 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %846 = trunc nuw i8 %845 to i1
  br i1 %846, label %847, label %851

847:                                              ; preds = %841
  %848 = load ptr, ptr @stderr, align 8, !tbaa !9
  %849 = call i32 @fileno(ptr noundef %848) #12
  %850 = call i32 @isatty(i32 noundef %849) #12
  %.not104 = icmp eq i32 %850, 0
  br i1 %.not104, label %851, label %852

851:                                              ; preds = %847, %841
  br label %852

852:                                              ; preds = %847, %851
  %.str.6.sink431 = phi ptr [ @.str.6, %851 ], [ @.str.3, %847 ]
  store i32 %842, ptr %595, align 4, !tbaa !5
  %853 = load ptr, ptr @stderr, align 8, !tbaa !9
  %854 = load i32, ptr @test_count, align 4, !tbaa !5
  %855 = load i32, ptr %181, align 4, !tbaa !5
  %856 = call ptr @s2n_strerror(i32 noundef %855, ptr noundef nonnull @.str.5) #12
  %857 = load i32, ptr %181, align 4, !tbaa !5
  %858 = call ptr @s2n_strerror_debug(i32 noundef %857, ptr noundef nonnull @.str.5) #12
  %859 = load i32, ptr %595, align 4, !tbaa !5
  %860 = call ptr @strerror(i32 noundef %859) #12
  %861 = load i32, ptr %595, align 4, !tbaa !5
  %862 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %853, ptr noundef nonnull %.str.6.sink431, i32 noundef %854, ptr noundef nonnull @.str.33, ptr noundef nonnull @.str.2, i32 noundef 122, ptr noundef %856, ptr noundef %858, ptr noundef %860, i32 noundef %861) #14
  call void @exit(i32 noundef 1) #15
  unreachable

863:                                              ; preds = %836
  %864 = call i32 @s2n_in_unit_test_set(i1 noundef zeroext false) #12
  %865 = icmp eq i32 %864, -1
  br i1 %865, label %866, label %888

866:                                              ; preds = %863
  %867 = load i32, ptr %595, align 4, !tbaa !5
  %868 = load ptr, ptr @stderr, align 8, !tbaa !9
  %869 = call i32 @s2n_print_stacktrace(ptr noundef %868) #12
  %870 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %871 = trunc nuw i8 %870 to i1
  br i1 %871, label %872, label %876

872:                                              ; preds = %866
  %873 = load ptr, ptr @stderr, align 8, !tbaa !9
  %874 = call i32 @fileno(ptr noundef %873) #12
  %875 = call i32 @isatty(i32 noundef %874) #12
  %.not103 = icmp eq i32 %875, 0
  br i1 %.not103, label %876, label %877

876:                                              ; preds = %872, %866
  br label %877

877:                                              ; preds = %872, %876
  %.str.6.sink440 = phi ptr [ @.str.6, %876 ], [ @.str.3, %872 ]
  store i32 %867, ptr %595, align 4, !tbaa !5
  %878 = load ptr, ptr @stderr, align 8, !tbaa !9
  %879 = load i32, ptr @test_count, align 4, !tbaa !5
  %880 = load i32, ptr %181, align 4, !tbaa !5
  %881 = call ptr @s2n_strerror(i32 noundef %880, ptr noundef nonnull @.str.5) #12
  %882 = load i32, ptr %181, align 4, !tbaa !5
  %883 = call ptr @s2n_strerror_debug(i32 noundef %882, ptr noundef nonnull @.str.5) #12
  %884 = load i32, ptr %595, align 4, !tbaa !5
  %885 = call ptr @strerror(i32 noundef %884) #12
  %886 = load i32, ptr %595, align 4, !tbaa !5
  %887 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %878, ptr noundef nonnull %.str.6.sink440, i32 noundef %879, ptr noundef nonnull @.str.34, ptr noundef nonnull @.str.2, i32 noundef 122, ptr noundef %881, ptr noundef %883, ptr noundef %885, i32 noundef %886) #14
  call void @exit(i32 noundef 1) #15
  unreachable

888:                                              ; preds = %863
  %889 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %890 = trunc nuw i8 %889 to i1
  br i1 %890, label %891, label %902

891:                                              ; preds = %888
  %892 = load ptr, ptr @stdout, align 8, !tbaa !9
  %893 = call i32 @fileno(ptr noundef %892) #12
  %894 = call i32 @isatty(i32 noundef %893) #12
  %.not = icmp eq i32 %894, 0
  br i1 %.not, label %902, label %895

895:                                              ; preds = %891
  %896 = load i32, ptr @test_count, align 4, !tbaa !5
  %.not102 = icmp eq i32 %896, 0
  %897 = load ptr, ptr @stdout, align 8, !tbaa !9
  br i1 %.not102, label %900, label %898

898:                                              ; preds = %895
  %899 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %897, ptr noundef nonnull @.str.35, i32 noundef %896) #12
  br label %909

900:                                              ; preds = %895
  %901 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %897, ptr noundef nonnull @.str.36) #12
  br label %909

902:                                              ; preds = %891, %888
  %903 = load i32, ptr @test_count, align 4, !tbaa !5
  %.not101 = icmp eq i32 %903, 0
  %904 = load ptr, ptr @stdout, align 8, !tbaa !9
  br i1 %.not101, label %907, label %905

905:                                              ; preds = %902
  %906 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %904, ptr noundef nonnull @.str.37, i32 noundef %903) #12
  br label %909

907:                                              ; preds = %902
  %908 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %904, ptr noundef nonnull @.str.38) #12
  br label %909

909:                                              ; preds = %905, %907, %898, %900
  call void @llvm.lifetime.end.p0(i64 500000, ptr nonnull %3) #12
  ret i32 0
}

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

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

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

declare i32 @s2n_in_unit_test_set(i1 noundef zeroext) local_unnamed_addr #3

; Function Attrs: mustprogress nofree nosync nounwind willreturn memory(none)
declare ptr @__errno_location() local_unnamed_addr #4

declare i32 @s2n_print_stacktrace(ptr noundef) local_unnamed_addr #3

; Function Attrs: nounwind
declare i32 @isatty(i32 noundef) local_unnamed_addr #5

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

declare ptr @s2n_strerror(i32 noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare nonnull ptr @llvm.threadlocal.address.p0(ptr nonnull) #6

declare ptr @s2n_strerror_debug(i32 noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: nounwind
declare ptr @strerror(i32 noundef) local_unnamed_addr #5

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

; Function Attrs: noreturn nounwind
declare void @exit(i32 noundef) local_unnamed_addr #7

declare i32 @s2n_enable_atexit() local_unnamed_addr #3

declare i32 @s2n_init() local_unnamed_addr #3

declare i32 @s2n_disable_tls13_in_test(...) local_unnamed_addr #3

; Function Attrs: mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite)
declare noalias noundef ptr @malloc(i64 noundef) local_unnamed_addr #8

declare ptr @s2n_config_new() local_unnamed_addr #3

declare i32 @s2n_read_test_pem(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #3

declare ptr @s2n_cert_chain_and_key_new() local_unnamed_addr #3

declare i32 @s2n_cert_chain_and_key_load_pem(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3

declare i32 @s2n_config_add_cert_chain_and_key_to_store(ptr noundef, ptr noundef) local_unnamed_addr #3

declare i32 @s2n_cert_chain_and_key_free(ptr noundef) local_unnamed_addr #3

declare i32 @s2n_config_free(ptr noundef) local_unnamed_addr #3

declare void @s2n_debug_info_reset() local_unnamed_addr #3

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #9

declare i32 @s2n_cert_chain_and_key_ptr_free(ptr noundef) local_unnamed_addr #3

declare i32 @s2n_cert_chain_and_key_load_public_pem_bytes(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #3

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #10

declare i32 @s2n_cert_chain_get_length(ptr noundef, ptr noundef) local_unnamed_addr #3

declare i32 @s2n_config_ptr_free(ptr noundef) local_unnamed_addr #3

declare i32 @s2n_config_add_pem_to_trust_store(ptr noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite)
declare void @free(ptr allocptr nocapture noundef) local_unnamed_addr #11

declare i32 @s2n_cleanup() local_unnamed_addr #3

attributes #0 = { nounwind 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 #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { mustprogress nofree nosync nounwind willreturn memory(none) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nounwind "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 #6 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #7 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #8 = { mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite) "alloc-family"="malloc" "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 #9 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #10 = { mustprogress nofree nounwind willreturn memory(argmem: read) "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 #11 = { mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite) "alloc-family"="malloc" "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 #12 = { nounwind }
attributes #13 = { nounwind willreturn memory(none) }
attributes #14 = { cold nounwind }
attributes #15 = { noreturn nounwind }
attributes #16 = { nounwind allocsize(0) }
attributes #17 = { nounwind willreturn memory(read) }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"_Bool", !7, i64 0}
!13 = !{i8 0, i8 2}
!14 = !{}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = distinct !{!17, !16}
!18 = !{!19, !10, i64 0}
!19 = !{!"", !10, i64 0, !20, i64 8}
!20 = !{!"short", !7, i64 0}
!21 = !{!19, !20, i64 8}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass