; LLVM IR from aws/s2n-tls :: tests/unit (s2n_openssl_x509_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, ptr, ptr, ptr, i32, i32, i32, i32 }
%struct.s2n_blob = type { ptr, i32, i32, i8 }
%struct.s2n_stuffer = type { %struct.s2n_blob, i32, i32, i32, i8 }
%struct.s2n_result = type { i32 }
%struct.s2n_cert_info = type { i32, i32, i32, i32, i8 }

@s2n_use_color_in_output = external dso_local global i8, align 1
@test_count = external dso_local global i32, align 4
@stdout = external global ptr, align 8
@.str = external hidden unnamed_addr constant [19 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [80 x i8], align 1
@stderr = external global ptr, align 8
@.str.2 = external hidden unnamed_addr constant [101 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [52 x i8], align 1
@s2n_errno = external thread_local global i32, align 4
@.str.4 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [90 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [133 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [93 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [92 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [102 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [77 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [103 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [134 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [80 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [70 x i8], align 1
@__const.main.test_cases = external hidden unnamed_addr constant [6 x %struct.anon], align 16
@.str.34 = external hidden unnamed_addr constant [190 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [85 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [66 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [59 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [105 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [113 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [105 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [47 x i8], align 1
@.str.42 = external hidden unnamed_addr constant [80 x i8], align 1
@.str.43 = external hidden unnamed_addr constant [96 x i8], align 1
@.str.44 = external hidden unnamed_addr constant [80 x i8], align 1
@.str.45 = external hidden unnamed_addr constant [98 x i8], align 1
@.str.46 = external hidden unnamed_addr constant [106 x i8], align 1
@.str.47 = external hidden unnamed_addr constant [98 x i8], align 1
@.str.48 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.49 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.50 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.51 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.52 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.53 = 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 i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca [12000 x i8], align 16
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca %struct.s2n_blob, align 8
  %13 = alloca i32, align 4
  %14 = alloca %struct.s2n_stuffer, align 8
  %15 = alloca i32, align 4
  %16 = alloca %struct.s2n_blob, align 8
  %17 = alloca %struct.s2n_result, align 4
  %18 = alloca i32, align 4
  %19 = alloca ptr, align 8
  %20 = alloca %struct.s2n_result, align 4
  %21 = alloca i32, align 4
  %22 = alloca ptr, align 8
  %23 = alloca %struct.s2n_result, align 4
  %24 = alloca i32, align 4
  %25 = alloca [12000 x i8], align 16
  %26 = alloca i32, align 4
  %27 = alloca i32, align 4
  %28 = alloca %struct.s2n_blob, align 8
  %29 = alloca i32, align 4
  %30 = alloca %struct.s2n_stuffer, align 8
  %31 = alloca i32, align 4
  %32 = alloca %struct.s2n_blob, align 8
  %33 = alloca %struct.s2n_result, align 4
  %34 = alloca i32, align 4
  %35 = alloca ptr, align 8
  %36 = alloca %struct.s2n_result, align 4
  %37 = alloca i32, align 4
  %38 = alloca i32, align 4
  %39 = alloca i32, align 4
  %40 = alloca ptr, align 8
  %41 = alloca %struct.s2n_result, align 4
  %42 = alloca i32, align 4
  %43 = alloca [6 x %struct.anon], align 16
  %44 = alloca i64, align 8
  %45 = alloca [512 x i8], align 16
  %46 = alloca [12000 x i8], align 16
  %47 = alloca %struct.s2n_result, align 4
  %48 = alloca i32, align 4
  %49 = alloca i32, align 4
  %50 = alloca ptr, align 8
  %51 = alloca ptr, align 8
  %52 = alloca ptr, align 8
  %53 = alloca i64, align 8
  %54 = alloca ptr, align 8
  %55 = alloca i32, align 4
  %56 = alloca i32, align 4
  %57 = alloca i32, align 4
  %58 = alloca i32, align 4
  %59 = alloca i32, align 4
  %60 = alloca i32, align 4
  %61 = alloca %struct.s2n_cert_info, align 4
  %62 = alloca %struct.s2n_cert_info, align 4
  %63 = alloca %struct.s2n_cert_info, align 4
  %64 = alloca %struct.s2n_result, align 4
  %65 = alloca i32, align 4
  %66 = alloca %struct.s2n_result, align 4
  %67 = alloca i32, align 4
  %68 = alloca %struct.s2n_result, align 4
  %69 = alloca i32, align 4
  %70 = alloca %struct.s2n_cert_info, align 4
  %71 = alloca %struct.s2n_result, align 4
  %72 = alloca i32, align 4
  %73 = alloca %struct.s2n_result, align 4
  %74 = alloca i32, align 4
  %75 = alloca %struct.s2n_result, align 4
  %76 = alloca i32, align 4
  %77 = alloca i32, align 4
  %78 = alloca i32, align 4
  %79 = 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
  br label %80

80:                                               ; preds = %2
  br label %81

81:                                               ; preds = %80
  store i32 0, ptr @test_count, align 4, !tbaa !5
  %82 = load ptr, ptr @stdout, align 8, !tbaa !9
  %83 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %82, ptr noundef @.str, ptr noundef @.str.1) #11
  %84 = load ptr, ptr @stdout, align 8, !tbaa !9
  %85 = call i32 @fflush(ptr noundef %84)
  br label %86

86:                                               ; preds = %81
  %87 = call i32 @s2n_in_unit_test_set(i1 noundef zeroext true)
  %88 = icmp eq i32 %87, -1
  br i1 %88, label %89, label %140

89:                                               ; preds = %86
  br label %90

90:                                               ; preds = %89
  br label %91

91:                                               ; preds = %90
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #11
  %92 = call ptr @__errno_location() #12
  %93 = load i32, ptr %92, align 4, !tbaa !5
  store i32 %93, ptr %6, align 4, !tbaa !5
  %94 = load ptr, ptr @stderr, align 8, !tbaa !9
  %95 = call i32 @s2n_print_stacktrace(ptr noundef %94)
  %96 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %97 = trunc i8 %96 to i1
  br i1 %97, label %98, label %120

98:                                               ; preds = %91
  %99 = load ptr, ptr @stderr, align 8, !tbaa !9
  %100 = call i32 @fileno(ptr noundef %99) #11
  %101 = call i32 @isatty(i32 noundef %100) #11
  %102 = icmp ne i32 %101, 0
  br i1 %102, label %103, label %120

103:                                              ; preds = %98
  %104 = load i32, ptr %6, align 4, !tbaa !5
  %105 = call ptr @__errno_location() #12
  store i32 %104, ptr %105, align 4, !tbaa !5
  %106 = load ptr, ptr @stderr, align 8, !tbaa !9
  %107 = load i32, ptr @test_count, align 4, !tbaa !5
  %108 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %109 = load i32, ptr %108, align 4, !tbaa !5
  %110 = call ptr @s2n_strerror(i32 noundef %109, ptr noundef @.str.4)
  %111 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %112 = load i32, ptr %111, align 4, !tbaa !5
  %113 = call ptr @s2n_strerror_debug(i32 noundef %112, ptr noundef @.str.4)
  %114 = call ptr @__errno_location() #12
  %115 = load i32, ptr %114, align 4, !tbaa !5
  %116 = call ptr @strerror(i32 noundef %115) #11
  %117 = call ptr @__errno_location() #12
  %118 = load i32, ptr %117, align 4, !tbaa !5
  %119 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %106, ptr noundef @.str.2, i32 noundef %107, ptr noundef @.str.3, ptr noundef @.str.1, i32 noundef 40, ptr noundef %110, ptr noundef %113, ptr noundef %116, i32 noundef %118) #11
  br label %137

120:                                              ; preds = %98, %91
  %121 = load i32, ptr %6, align 4, !tbaa !5
  %122 = call ptr @__errno_location() #12
  store i32 %121, ptr %122, align 4, !tbaa !5
  %123 = load ptr, ptr @stderr, align 8, !tbaa !9
  %124 = load i32, ptr @test_count, align 4, !tbaa !5
  %125 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %126 = load i32, ptr %125, align 4, !tbaa !5
  %127 = call ptr @s2n_strerror(i32 noundef %126, ptr noundef @.str.4)
  %128 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %129 = load i32, ptr %128, align 4, !tbaa !5
  %130 = call ptr @s2n_strerror_debug(i32 noundef %129, ptr noundef @.str.4)
  %131 = call ptr @__errno_location() #12
  %132 = load i32, ptr %131, align 4, !tbaa !5
  %133 = call ptr @strerror(i32 noundef %132) #11
  %134 = call ptr @__errno_location() #12
  %135 = load i32, ptr %134, align 4, !tbaa !5
  %136 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %123, ptr noundef @.str.5, i32 noundef %124, ptr noundef @.str.3, ptr noundef @.str.1, i32 noundef 40, ptr noundef %127, ptr noundef %130, ptr noundef %133, i32 noundef %135) #11
  br label %137

137:                                              ; preds = %120, %103
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #11
  br label %138

138:                                              ; preds = %137
  call void @exit(i32 noundef 1) #13
  unreachable

139:                                              ; No predecessors!
  br label %140

140:                                              ; preds = %139, %86
  br label %141

141:                                              ; preds = %140
  br label %142

142:                                              ; preds = %141
  %143 = load i32, ptr @test_count, align 4, !tbaa !5
  %144 = add nsw i32 %143, 1
  store i32 %144, ptr @test_count, align 4, !tbaa !5
  %145 = call i32 @s2n_enable_atexit()
  %146 = icmp eq i32 %145, -1
  br i1 %146, label %147, label %198

147:                                              ; preds = %142
  br label %148

148:                                              ; preds = %147
  br label %149

149:                                              ; preds = %148
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #11
  %150 = call ptr @__errno_location() #12
  %151 = load i32, ptr %150, align 4, !tbaa !5
  store i32 %151, ptr %7, align 4, !tbaa !5
  %152 = load ptr, ptr @stderr, align 8, !tbaa !9
  %153 = call i32 @s2n_print_stacktrace(ptr noundef %152)
  %154 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %155 = trunc i8 %154 to i1
  br i1 %155, label %156, label %178

156:                                              ; preds = %149
  %157 = load ptr, ptr @stderr, align 8, !tbaa !9
  %158 = call i32 @fileno(ptr noundef %157) #11
  %159 = call i32 @isatty(i32 noundef %158) #11
  %160 = icmp ne i32 %159, 0
  br i1 %160, label %161, label %178

161:                                              ; preds = %156
  %162 = load i32, ptr %7, align 4, !tbaa !5
  %163 = call ptr @__errno_location() #12
  store i32 %162, ptr %163, align 4, !tbaa !5
  %164 = load ptr, ptr @stderr, align 8, !tbaa !9
  %165 = load i32, ptr @test_count, align 4, !tbaa !5
  %166 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %167 = load i32, ptr %166, align 4, !tbaa !5
  %168 = call ptr @s2n_strerror(i32 noundef %167, ptr noundef @.str.4)
  %169 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %170 = load i32, ptr %169, align 4, !tbaa !5
  %171 = call ptr @s2n_strerror_debug(i32 noundef %170, ptr noundef @.str.4)
  %172 = call ptr @__errno_location() #12
  %173 = load i32, ptr %172, align 4, !tbaa !5
  %174 = call ptr @strerror(i32 noundef %173) #11
  %175 = call ptr @__errno_location() #12
  %176 = load i32, ptr %175, align 4, !tbaa !5
  %177 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %164, ptr noundef @.str.2, i32 noundef %165, ptr noundef @.str.6, ptr noundef @.str.1, i32 noundef 40, ptr noundef %168, ptr noundef %171, ptr noundef %174, i32 noundef %176) #11
  br label %195

178:                                              ; preds = %156, %149
  %179 = load i32, ptr %7, align 4, !tbaa !5
  %180 = call ptr @__errno_location() #12
  store i32 %179, ptr %180, align 4, !tbaa !5
  %181 = load ptr, ptr @stderr, align 8, !tbaa !9
  %182 = load i32, ptr @test_count, align 4, !tbaa !5
  %183 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %184 = load i32, ptr %183, align 4, !tbaa !5
  %185 = call ptr @s2n_strerror(i32 noundef %184, ptr noundef @.str.4)
  %186 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %187 = load i32, ptr %186, align 4, !tbaa !5
  %188 = call ptr @s2n_strerror_debug(i32 noundef %187, ptr noundef @.str.4)
  %189 = call ptr @__errno_location() #12
  %190 = load i32, ptr %189, align 4, !tbaa !5
  %191 = call ptr @strerror(i32 noundef %190) #11
  %192 = call ptr @__errno_location() #12
  %193 = load i32, ptr %192, align 4, !tbaa !5
  %194 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %181, ptr noundef @.str.5, i32 noundef %182, ptr noundef @.str.6, ptr noundef @.str.1, i32 noundef 40, ptr noundef %185, ptr noundef %188, ptr noundef %191, i32 noundef %193) #11
  br label %195

195:                                              ; preds = %178, %161
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #11
  br label %196

196:                                              ; preds = %195
  call void @exit(i32 noundef 1) #13
  unreachable

197:                                              ; No predecessors!
  br label %198

198:                                              ; preds = %197, %142
  br label %199

199:                                              ; preds = %198
  br label %200

200:                                              ; preds = %199
  br label %201

201:                                              ; preds = %200
  %202 = call i32 @s2n_init()
  %203 = icmp eq i32 %202, -1
  br i1 %203, label %204, label %255

204:                                              ; preds = %201
  br label %205

205:                                              ; preds = %204
  br label %206

206:                                              ; preds = %205
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #11
  %207 = call ptr @__errno_location() #12
  %208 = load i32, ptr %207, align 4, !tbaa !5
  store i32 %208, ptr %8, align 4, !tbaa !5
  %209 = load ptr, ptr @stderr, align 8, !tbaa !9
  %210 = call i32 @s2n_print_stacktrace(ptr noundef %209)
  %211 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %212 = trunc i8 %211 to i1
  br i1 %212, label %213, label %235

213:                                              ; preds = %206
  %214 = load ptr, ptr @stderr, align 8, !tbaa !9
  %215 = call i32 @fileno(ptr noundef %214) #11
  %216 = call i32 @isatty(i32 noundef %215) #11
  %217 = icmp ne i32 %216, 0
  br i1 %217, label %218, label %235

218:                                              ; preds = %213
  %219 = load i32, ptr %8, align 4, !tbaa !5
  %220 = call ptr @__errno_location() #12
  store i32 %219, ptr %220, align 4, !tbaa !5
  %221 = load ptr, ptr @stderr, align 8, !tbaa !9
  %222 = load i32, ptr @test_count, align 4, !tbaa !5
  %223 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %224 = load i32, ptr %223, align 4, !tbaa !5
  %225 = call ptr @s2n_strerror(i32 noundef %224, ptr noundef @.str.4)
  %226 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %227 = load i32, ptr %226, align 4, !tbaa !5
  %228 = call ptr @s2n_strerror_debug(i32 noundef %227, ptr noundef @.str.4)
  %229 = call ptr @__errno_location() #12
  %230 = load i32, ptr %229, align 4, !tbaa !5
  %231 = call ptr @strerror(i32 noundef %230) #11
  %232 = call ptr @__errno_location() #12
  %233 = load i32, ptr %232, align 4, !tbaa !5
  %234 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %221, ptr noundef @.str.2, i32 noundef %222, ptr noundef @.str.7, ptr noundef @.str.1, i32 noundef 40, ptr noundef %225, ptr noundef %228, ptr noundef %231, i32 noundef %233) #11
  br label %252

235:                                              ; preds = %213, %206
  %236 = load i32, ptr %8, align 4, !tbaa !5
  %237 = call ptr @__errno_location() #12
  store i32 %236, ptr %237, align 4, !tbaa !5
  %238 = load ptr, ptr @stderr, align 8, !tbaa !9
  %239 = load i32, ptr @test_count, align 4, !tbaa !5
  %240 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %241 = load i32, ptr %240, align 4, !tbaa !5
  %242 = call ptr @s2n_strerror(i32 noundef %241, ptr noundef @.str.4)
  %243 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %244 = load i32, ptr %243, align 4, !tbaa !5
  %245 = call ptr @s2n_strerror_debug(i32 noundef %244, ptr noundef @.str.4)
  %246 = call ptr @__errno_location() #12
  %247 = load i32, ptr %246, align 4, !tbaa !5
  %248 = call ptr @strerror(i32 noundef %247) #11
  %249 = call ptr @__errno_location() #12
  %250 = load i32, ptr %249, align 4, !tbaa !5
  %251 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %238, ptr noundef @.str.5, i32 noundef %239, ptr noundef @.str.7, ptr noundef @.str.1, i32 noundef 40, ptr noundef %242, ptr noundef %245, ptr noundef %248, i32 noundef %250) #11
  br label %252

252:                                              ; preds = %235, %218
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #11
  br label %253

253:                                              ; preds = %252
  call void @exit(i32 noundef 1) #13
  unreachable

254:                                              ; No predecessors!
  br label %255

255:                                              ; preds = %254, %201
  br label %256

256:                                              ; preds = %255
  br label %257

257:                                              ; preds = %256
  call void @llvm.lifetime.start.p0(i64 12000, ptr %9) #11
  call void @llvm.memset.p0.i64(ptr align 16 %9, i8 0, i64 12000, i1 false)
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #11
  store i32 0, ptr %10, align 4, !tbaa !5
  br label %258

258:                                              ; preds = %257
  %259 = load i32, ptr @test_count, align 4, !tbaa !5
  %260 = add nsw i32 %259, 1
  store i32 %260, ptr @test_count, align 4, !tbaa !5
  %261 = getelementptr inbounds [12000 x i8], ptr %9, i64 0, i64 0
  %262 = call i32 @s2n_read_test_pem_and_len(ptr noundef @.str.8, ptr noundef %261, ptr noundef %10, i64 noundef 12000)
  %263 = icmp eq i32 %262, -1
  br i1 %263, label %264, label %317

264:                                              ; preds = %258
  br label %265

265:                                              ; preds = %264
  br label %266

266:                                              ; preds = %265
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #11
  %267 = call ptr @__errno_location() #12
  %268 = load i32, ptr %267, align 4, !tbaa !5
  store i32 %268, ptr %11, align 4, !tbaa !5
  %269 = load ptr, ptr @stderr, align 8, !tbaa !9
  %270 = call i32 @s2n_print_stacktrace(ptr noundef %269)
  %271 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %272 = trunc i8 %271 to i1
  br i1 %272, label %273, label %295

273:                                              ; preds = %266
  %274 = load ptr, ptr @stderr, align 8, !tbaa !9
  %275 = call i32 @fileno(ptr noundef %274) #11
  %276 = call i32 @isatty(i32 noundef %275) #11
  %277 = icmp ne i32 %276, 0
  br i1 %277, label %278, label %295

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

295:                                              ; preds = %273, %266
  %296 = load i32, ptr %11, align 4, !tbaa !5
  %297 = call ptr @__errno_location() #12
  store i32 %296, ptr %297, align 4, !tbaa !5
  %298 = load ptr, ptr @stderr, align 8, !tbaa !9
  %299 = load i32, ptr @test_count, align 4, !tbaa !5
  %300 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %301 = load i32, ptr %300, align 4, !tbaa !5
  %302 = call ptr @s2n_strerror(i32 noundef %301, ptr noundef @.str.4)
  %303 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %304 = load i32, ptr %303, align 4, !tbaa !5
  %305 = call ptr @s2n_strerror_debug(i32 noundef %304, ptr noundef @.str.4)
  %306 = call ptr @__errno_location() #12
  %307 = load i32, ptr %306, align 4, !tbaa !5
  %308 = call ptr @strerror(i32 noundef %307) #11
  %309 = call ptr @__errno_location() #12
  %310 = load i32, ptr %309, align 4, !tbaa !5
  %311 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %298, ptr noundef @.str.5, i32 noundef %299, ptr noundef @.str.9, ptr noundef @.str.1, i32 noundef 47, ptr noundef %302, ptr noundef %305, ptr noundef %308, i32 noundef %310) #11
  br label %312

312:                                              ; preds = %295, %278
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #11
  br label %313

313:                                              ; preds = %312
  br label %314

314:                                              ; preds = %313
  call void @exit(i32 noundef 1) #13
  unreachable

315:                                              ; No predecessors!
  br label %316

316:                                              ; preds = %315
  br label %317

317:                                              ; preds = %316, %258
  br label %318

318:                                              ; preds = %317
  br label %319

319:                                              ; preds = %318
  call void @llvm.lifetime.start.p0(i64 24, ptr %12) #11
  call void @llvm.memset.p0.i64(ptr align 8 %12, i8 0, i64 24, i1 false)
  br label %320

320:                                              ; preds = %319
  %321 = load i32, ptr @test_count, align 4, !tbaa !5
  %322 = add nsw i32 %321, 1
  store i32 %322, ptr @test_count, align 4, !tbaa !5
  %323 = getelementptr inbounds [12000 x i8], ptr %9, i64 0, i64 0
  %324 = load i32, ptr %10, align 4, !tbaa !5
  %325 = call i32 @s2n_blob_init(ptr noundef %12, ptr noundef %323, i32 noundef %324)
  %326 = icmp eq i32 %325, -1
  br i1 %326, label %327, label %380

327:                                              ; preds = %320
  br label %328

328:                                              ; preds = %327
  br label %329

329:                                              ; preds = %328
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #11
  %330 = call ptr @__errno_location() #12
  %331 = load i32, ptr %330, align 4, !tbaa !5
  store i32 %331, ptr %13, align 4, !tbaa !5
  %332 = load ptr, ptr @stderr, align 8, !tbaa !9
  %333 = call i32 @s2n_print_stacktrace(ptr noundef %332)
  %334 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %335 = trunc i8 %334 to i1
  br i1 %335, label %336, label %358

336:                                              ; preds = %329
  %337 = load ptr, ptr @stderr, align 8, !tbaa !9
  %338 = call i32 @fileno(ptr noundef %337) #11
  %339 = call i32 @isatty(i32 noundef %338) #11
  %340 = icmp ne i32 %339, 0
  br i1 %340, label %341, label %358

341:                                              ; preds = %336
  %342 = load i32, ptr %13, align 4, !tbaa !5
  %343 = call ptr @__errno_location() #12
  store i32 %342, ptr %343, align 4, !tbaa !5
  %344 = load ptr, ptr @stderr, align 8, !tbaa !9
  %345 = load i32, ptr @test_count, align 4, !tbaa !5
  %346 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %347 = load i32, ptr %346, align 4, !tbaa !5
  %348 = call ptr @s2n_strerror(i32 noundef %347, ptr noundef @.str.4)
  %349 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %350 = load i32, ptr %349, align 4, !tbaa !5
  %351 = call ptr @s2n_strerror_debug(i32 noundef %350, ptr noundef @.str.4)
  %352 = call ptr @__errno_location() #12
  %353 = load i32, ptr %352, align 4, !tbaa !5
  %354 = call ptr @strerror(i32 noundef %353) #11
  %355 = call ptr @__errno_location() #12
  %356 = load i32, ptr %355, align 4, !tbaa !5
  %357 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %344, ptr noundef @.str.2, i32 noundef %345, ptr noundef @.str.10, ptr noundef @.str.1, i32 noundef 50, ptr noundef %348, ptr noundef %351, ptr noundef %354, i32 noundef %356) #11
  br label %375

358:                                              ; preds = %336, %329
  %359 = load i32, ptr %13, align 4, !tbaa !5
  %360 = call ptr @__errno_location() #12
  store i32 %359, ptr %360, align 4, !tbaa !5
  %361 = load ptr, ptr @stderr, align 8, !tbaa !9
  %362 = load i32, ptr @test_count, align 4, !tbaa !5
  %363 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %364 = load i32, ptr %363, align 4, !tbaa !5
  %365 = call ptr @s2n_strerror(i32 noundef %364, ptr noundef @.str.4)
  %366 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %367 = load i32, ptr %366, align 4, !tbaa !5
  %368 = call ptr @s2n_strerror_debug(i32 noundef %367, ptr noundef @.str.4)
  %369 = call ptr @__errno_location() #12
  %370 = load i32, ptr %369, align 4, !tbaa !5
  %371 = call ptr @strerror(i32 noundef %370) #11
  %372 = call ptr @__errno_location() #12
  %373 = load i32, ptr %372, align 4, !tbaa !5
  %374 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %361, ptr noundef @.str.5, i32 noundef %362, ptr noundef @.str.10, ptr noundef @.str.1, i32 noundef 50, ptr noundef %365, ptr noundef %368, ptr noundef %371, i32 noundef %373) #11
  br label %375

375:                                              ; preds = %358, %341
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #11
  br label %376

376:                                              ; preds = %375
  br label %377

377:                                              ; preds = %376
  call void @exit(i32 noundef 1) #13
  unreachable

378:                                              ; No predecessors!
  br label %379

379:                                              ; preds = %378
  br label %380

380:                                              ; preds = %379, %320
  br label %381

381:                                              ; preds = %380
  br label %382

382:                                              ; preds = %381
  call void @llvm.lifetime.start.p0(i64 40, ptr %14) #11
  call void @llvm.memset.p0.i64(ptr align 8 %14, i8 0, i64 40, i1 false)
  br label %383

383:                                              ; preds = %382
  %384 = load i32, ptr @test_count, align 4, !tbaa !5
  %385 = add nsw i32 %384, 1
  store i32 %385, ptr @test_count, align 4, !tbaa !5
  %386 = call i32 @s2n_stuffer_init_written(ptr noundef %14, ptr noundef %12)
  %387 = icmp eq i32 %386, -1
  br i1 %387, label %388, label %441

388:                                              ; preds = %383
  br label %389

389:                                              ; preds = %388
  br label %390

390:                                              ; preds = %389
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #11
  %391 = call ptr @__errno_location() #12
  %392 = load i32, ptr %391, align 4, !tbaa !5
  store i32 %392, ptr %15, align 4, !tbaa !5
  %393 = load ptr, ptr @stderr, align 8, !tbaa !9
  %394 = call i32 @s2n_print_stacktrace(ptr noundef %393)
  %395 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %396 = trunc i8 %395 to i1
  br i1 %396, label %397, label %419

397:                                              ; preds = %390
  %398 = load ptr, ptr @stderr, align 8, !tbaa !9
  %399 = call i32 @fileno(ptr noundef %398) #11
  %400 = call i32 @isatty(i32 noundef %399) #11
  %401 = icmp ne i32 %400, 0
  br i1 %401, label %402, label %419

402:                                              ; preds = %397
  %403 = load i32, ptr %15, align 4, !tbaa !5
  %404 = call ptr @__errno_location() #12
  store i32 %403, ptr %404, align 4, !tbaa !5
  %405 = load ptr, ptr @stderr, align 8, !tbaa !9
  %406 = load i32, ptr @test_count, align 4, !tbaa !5
  %407 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %408 = load i32, ptr %407, align 4, !tbaa !5
  %409 = call ptr @s2n_strerror(i32 noundef %408, ptr noundef @.str.4)
  %410 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %411 = load i32, ptr %410, align 4, !tbaa !5
  %412 = call ptr @s2n_strerror_debug(i32 noundef %411, ptr noundef @.str.4)
  %413 = call ptr @__errno_location() #12
  %414 = load i32, ptr %413, align 4, !tbaa !5
  %415 = call ptr @strerror(i32 noundef %414) #11
  %416 = call ptr @__errno_location() #12
  %417 = load i32, ptr %416, align 4, !tbaa !5
  %418 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %405, ptr noundef @.str.2, i32 noundef %406, ptr noundef @.str.11, ptr noundef @.str.1, i32 noundef 53, ptr noundef %409, ptr noundef %412, ptr noundef %415, i32 noundef %417) #11
  br label %436

419:                                              ; preds = %397, %390
  %420 = load i32, ptr %15, align 4, !tbaa !5
  %421 = call ptr @__errno_location() #12
  store i32 %420, ptr %421, align 4, !tbaa !5
  %422 = load ptr, ptr @stderr, align 8, !tbaa !9
  %423 = load i32, ptr @test_count, align 4, !tbaa !5
  %424 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %425 = load i32, ptr %424, align 4, !tbaa !5
  %426 = call ptr @s2n_strerror(i32 noundef %425, ptr noundef @.str.4)
  %427 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %428 = load i32, ptr %427, align 4, !tbaa !5
  %429 = call ptr @s2n_strerror_debug(i32 noundef %428, ptr noundef @.str.4)
  %430 = call ptr @__errno_location() #12
  %431 = load i32, ptr %430, align 4, !tbaa !5
  %432 = call ptr @strerror(i32 noundef %431) #11
  %433 = call ptr @__errno_location() #12
  %434 = load i32, ptr %433, align 4, !tbaa !5
  %435 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %422, ptr noundef @.str.5, i32 noundef %423, ptr noundef @.str.11, ptr noundef @.str.1, i32 noundef 53, ptr noundef %426, ptr noundef %429, ptr noundef %432, i32 noundef %434) #11
  br label %436

436:                                              ; preds = %419, %402
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #11
  br label %437

437:                                              ; preds = %436
  br label %438

438:                                              ; preds = %437
  call void @exit(i32 noundef 1) #13
  unreachable

439:                                              ; No predecessors!
  br label %440

440:                                              ; preds = %439
  br label %441

441:                                              ; preds = %440, %383
  br label %442

442:                                              ; preds = %441
  br label %443

443:                                              ; preds = %442
  call void @llvm.lifetime.start.p0(i64 24, ptr %16) #11
  call void @llvm.memset.p0.i64(ptr align 8 %16, i8 0, i64 24, i1 false)
  br label %444

444:                                              ; preds = %443
  %445 = load i32, ptr @test_count, align 4, !tbaa !5
  %446 = add nsw i32 %445, 1
  store i32 %446, ptr @test_count, align 4, !tbaa !5
  %447 = call i32 @s2n_x509_validator_read_asn1_cert(ptr noundef %14, ptr noundef %16)
  %448 = getelementptr inbounds %struct.s2n_result, ptr %17, i32 0, i32 0
  store i32 %447, ptr %448, align 4
  %449 = getelementptr inbounds %struct.s2n_result, ptr %17, i32 0, i32 0
  %450 = load i32, ptr %449, align 4
  %451 = call zeroext i1 @s2n_result_is_ok(i32 %450)
  br i1 %451, label %505, label %452

452:                                              ; preds = %444
  br label %453

453:                                              ; preds = %452
  br label %454

454:                                              ; preds = %453
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #11
  %455 = call ptr @__errno_location() #12
  %456 = load i32, ptr %455, align 4, !tbaa !5
  store i32 %456, ptr %18, align 4, !tbaa !5
  %457 = load ptr, ptr @stderr, align 8, !tbaa !9
  %458 = call i32 @s2n_print_stacktrace(ptr noundef %457)
  %459 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %460 = trunc i8 %459 to i1
  br i1 %460, label %461, label %483

461:                                              ; preds = %454
  %462 = load ptr, ptr @stderr, align 8, !tbaa !9
  %463 = call i32 @fileno(ptr noundef %462) #11
  %464 = call i32 @isatty(i32 noundef %463) #11
  %465 = icmp ne i32 %464, 0
  br i1 %465, label %466, label %483

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

483:                                              ; preds = %461, %454
  %484 = load i32, ptr %18, align 4, !tbaa !5
  %485 = call ptr @__errno_location() #12
  store i32 %484, ptr %485, align 4, !tbaa !5
  %486 = load ptr, ptr @stderr, align 8, !tbaa !9
  %487 = load i32, ptr @test_count, align 4, !tbaa !5
  %488 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %489 = load i32, ptr %488, align 4, !tbaa !5
  %490 = call ptr @s2n_strerror(i32 noundef %489, ptr noundef @.str.4)
  %491 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %492 = load i32, ptr %491, align 4, !tbaa !5
  %493 = call ptr @s2n_strerror_debug(i32 noundef %492, ptr noundef @.str.4)
  %494 = call ptr @__errno_location() #12
  %495 = load i32, ptr %494, align 4, !tbaa !5
  %496 = call ptr @strerror(i32 noundef %495) #11
  %497 = call ptr @__errno_location() #12
  %498 = load i32, ptr %497, align 4, !tbaa !5
  %499 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %486, ptr noundef @.str.5, i32 noundef %487, ptr noundef @.str.12, ptr noundef @.str.1, i32 noundef 56, ptr noundef %490, ptr noundef %493, ptr noundef %496, i32 noundef %498) #11
  br label %500

500:                                              ; preds = %483, %466
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #11
  br label %501

501:                                              ; preds = %500
  br label %502

502:                                              ; preds = %501
  call void @exit(i32 noundef 1) #13
  unreachable

503:                                              ; No predecessors!
  br label %504

504:                                              ; preds = %503
  br label %505

505:                                              ; preds = %504, %444
  br label %506

506:                                              ; preds = %505
  br label %507

507:                                              ; preds = %506
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #11
  store ptr null, ptr %19, align 8, !tbaa !9
  br label %508

508:                                              ; preds = %507
  %509 = load i32, ptr @test_count, align 4, !tbaa !5
  %510 = add nsw i32 %509, 1
  store i32 %510, ptr @test_count, align 4, !tbaa !5
  %511 = call i32 @s2n_openssl_x509_parse(ptr noundef %16, ptr noundef %19)
  %512 = getelementptr inbounds %struct.s2n_result, ptr %20, i32 0, i32 0
  store i32 %511, ptr %512, align 4
  %513 = getelementptr inbounds %struct.s2n_result, ptr %20, i32 0, i32 0
  %514 = load i32, ptr %513, align 4
  %515 = call zeroext i1 @s2n_result_is_ok(i32 %514)
  br i1 %515, label %569, label %516

516:                                              ; preds = %508
  br label %517

517:                                              ; preds = %516
  br label %518

518:                                              ; preds = %517
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #11
  %519 = call ptr @__errno_location() #12
  %520 = load i32, ptr %519, align 4, !tbaa !5
  store i32 %520, ptr %21, align 4, !tbaa !5
  %521 = load ptr, ptr @stderr, align 8, !tbaa !9
  %522 = call i32 @s2n_print_stacktrace(ptr noundef %521)
  %523 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %524 = trunc i8 %523 to i1
  br i1 %524, label %525, label %547

525:                                              ; preds = %518
  %526 = load ptr, ptr @stderr, align 8, !tbaa !9
  %527 = call i32 @fileno(ptr noundef %526) #11
  %528 = call i32 @isatty(i32 noundef %527) #11
  %529 = icmp ne i32 %528, 0
  br i1 %529, label %530, label %547

530:                                              ; preds = %525
  %531 = load i32, ptr %21, align 4, !tbaa !5
  %532 = call ptr @__errno_location() #12
  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.4)
  %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.4)
  %541 = call ptr @__errno_location() #12
  %542 = load i32, ptr %541, align 4, !tbaa !5
  %543 = call ptr @strerror(i32 noundef %542) #11
  %544 = call ptr @__errno_location() #12
  %545 = load i32, ptr %544, align 4, !tbaa !5
  %546 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %533, ptr noundef @.str.2, i32 noundef %534, ptr noundef @.str.13, ptr noundef @.str.1, i32 noundef 60, ptr noundef %537, ptr noundef %540, ptr noundef %543, i32 noundef %545) #11
  br label %564

547:                                              ; preds = %525, %518
  %548 = load i32, ptr %21, align 4, !tbaa !5
  %549 = call ptr @__errno_location() #12
  store i32 %548, ptr %549, align 4, !tbaa !5
  %550 = load ptr, ptr @stderr, align 8, !tbaa !9
  %551 = load i32, ptr @test_count, align 4, !tbaa !5
  %552 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %553 = load i32, ptr %552, align 4, !tbaa !5
  %554 = call ptr @s2n_strerror(i32 noundef %553, ptr noundef @.str.4)
  %555 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %556 = load i32, ptr %555, align 4, !tbaa !5
  %557 = call ptr @s2n_strerror_debug(i32 noundef %556, ptr noundef @.str.4)
  %558 = call ptr @__errno_location() #12
  %559 = load i32, ptr %558, align 4, !tbaa !5
  %560 = call ptr @strerror(i32 noundef %559) #11
  %561 = call ptr @__errno_location() #12
  %562 = load i32, ptr %561, align 4, !tbaa !5
  %563 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %550, ptr noundef @.str.5, i32 noundef %551, ptr noundef @.str.13, ptr noundef @.str.1, i32 noundef 60, ptr noundef %554, ptr noundef %557, ptr noundef %560, i32 noundef %562) #11
  br label %564

564:                                              ; preds = %547, %530
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #11
  br label %565

565:                                              ; preds = %564
  br label %566

566:                                              ; preds = %565
  call void @exit(i32 noundef 1) #13
  unreachable

567:                                              ; No predecessors!
  br label %568

568:                                              ; preds = %567
  br label %569

569:                                              ; preds = %568, %508
  br label %570

570:                                              ; preds = %569
  br label %571

571:                                              ; preds = %570
  call void @X509_free_pointer(ptr noundef %19)
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #11
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #11
  store ptr null, ptr %22, align 8, !tbaa !9
  br label %572

572:                                              ; preds = %571
  %573 = load i32, ptr @test_count, align 4, !tbaa !5
  %574 = add nsw i32 %573, 1
  store i32 %574, ptr @test_count, align 4, !tbaa !5
  %575 = call i32 @s2n_openssl_x509_parse_without_length_validation(ptr noundef %16, ptr noundef %22)
  %576 = getelementptr inbounds %struct.s2n_result, ptr %23, i32 0, i32 0
  store i32 %575, ptr %576, align 4
  %577 = getelementptr inbounds %struct.s2n_result, ptr %23, i32 0, i32 0
  %578 = load i32, ptr %577, align 4
  %579 = call zeroext i1 @s2n_result_is_ok(i32 %578)
  br i1 %579, label %633, label %580

580:                                              ; preds = %572
  br label %581

581:                                              ; preds = %580
  br label %582

582:                                              ; preds = %581
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #11
  %583 = call ptr @__errno_location() #12
  %584 = load i32, ptr %583, align 4, !tbaa !5
  store i32 %584, ptr %24, align 4, !tbaa !5
  %585 = load ptr, ptr @stderr, align 8, !tbaa !9
  %586 = call i32 @s2n_print_stacktrace(ptr noundef %585)
  %587 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %588 = trunc i8 %587 to i1
  br i1 %588, label %589, label %611

589:                                              ; preds = %582
  %590 = load ptr, ptr @stderr, align 8, !tbaa !9
  %591 = call i32 @fileno(ptr noundef %590) #11
  %592 = call i32 @isatty(i32 noundef %591) #11
  %593 = icmp ne i32 %592, 0
  br i1 %593, label %594, label %611

594:                                              ; preds = %589
  %595 = load i32, ptr %24, align 4, !tbaa !5
  %596 = call ptr @__errno_location() #12
  store i32 %595, ptr %596, align 4, !tbaa !5
  %597 = load ptr, ptr @stderr, align 8, !tbaa !9
  %598 = load i32, ptr @test_count, align 4, !tbaa !5
  %599 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %600 = load i32, ptr %599, align 4, !tbaa !5
  %601 = call ptr @s2n_strerror(i32 noundef %600, ptr noundef @.str.4)
  %602 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %603 = load i32, ptr %602, align 4, !tbaa !5
  %604 = call ptr @s2n_strerror_debug(i32 noundef %603, ptr noundef @.str.4)
  %605 = call ptr @__errno_location() #12
  %606 = load i32, ptr %605, align 4, !tbaa !5
  %607 = call ptr @strerror(i32 noundef %606) #11
  %608 = call ptr @__errno_location() #12
  %609 = load i32, ptr %608, align 4, !tbaa !5
  %610 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %597, ptr noundef @.str.2, i32 noundef %598, ptr noundef @.str.14, ptr noundef @.str.1, i32 noundef 64, ptr noundef %601, ptr noundef %604, ptr noundef %607, i32 noundef %609) #11
  br label %628

611:                                              ; preds = %589, %582
  %612 = load i32, ptr %24, align 4, !tbaa !5
  %613 = call ptr @__errno_location() #12
  store i32 %612, ptr %613, align 4, !tbaa !5
  %614 = load ptr, ptr @stderr, align 8, !tbaa !9
  %615 = load i32, ptr @test_count, align 4, !tbaa !5
  %616 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %617 = load i32, ptr %616, align 4, !tbaa !5
  %618 = call ptr @s2n_strerror(i32 noundef %617, ptr noundef @.str.4)
  %619 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %620 = load i32, ptr %619, align 4, !tbaa !5
  %621 = call ptr @s2n_strerror_debug(i32 noundef %620, ptr noundef @.str.4)
  %622 = call ptr @__errno_location() #12
  %623 = load i32, ptr %622, align 4, !tbaa !5
  %624 = call ptr @strerror(i32 noundef %623) #11
  %625 = call ptr @__errno_location() #12
  %626 = load i32, ptr %625, align 4, !tbaa !5
  %627 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %614, ptr noundef @.str.5, i32 noundef %615, ptr noundef @.str.14, ptr noundef @.str.1, i32 noundef 64, ptr noundef %618, ptr noundef %621, ptr noundef %624, i32 noundef %626) #11
  br label %628

628:                                              ; preds = %611, %594
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #11
  br label %629

629:                                              ; preds = %628
  br label %630

630:                                              ; preds = %629
  call void @exit(i32 noundef 1) #13
  unreachable

631:                                              ; No predecessors!
  br label %632

632:                                              ; preds = %631
  br label %633

633:                                              ; preds = %632, %572
  br label %634

634:                                              ; preds = %633
  br label %635

635:                                              ; preds = %634
  call void @X509_free_pointer(ptr noundef %22)
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #11
  call void @llvm.lifetime.end.p0(i64 24, ptr %16) #11
  %636 = call i32 @s2n_stuffer_free(ptr noundef %14)
  call void @llvm.lifetime.end.p0(i64 40, ptr %14) #11
  call void @llvm.lifetime.end.p0(i64 24, ptr %12) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #11
  call void @llvm.lifetime.end.p0(i64 12000, ptr %9) #11
  call void @llvm.lifetime.start.p0(i64 12000, ptr %25) #11
  call void @llvm.memset.p0.i64(ptr align 16 %25, i8 0, i64 12000, i1 false)
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #11
  store i32 0, ptr %26, align 4, !tbaa !5
  br label %637

637:                                              ; preds = %635
  %638 = load i32, ptr @test_count, align 4, !tbaa !5
  %639 = add nsw i32 %638, 1
  store i32 %639, ptr @test_count, align 4, !tbaa !5
  %640 = getelementptr inbounds [12000 x i8], ptr %25, i64 0, i64 0
  %641 = call i32 @s2n_read_test_pem_and_len(ptr noundef @.str.15, ptr noundef %640, ptr noundef %26, i64 noundef 12000)
  %642 = icmp eq i32 %641, -1
  br i1 %642, label %643, label %696

643:                                              ; preds = %637
  br label %644

644:                                              ; preds = %643
  br label %645

645:                                              ; preds = %644
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #11
  %646 = call ptr @__errno_location() #12
  %647 = load i32, ptr %646, align 4, !tbaa !5
  store i32 %647, ptr %27, align 4, !tbaa !5
  %648 = load ptr, ptr @stderr, align 8, !tbaa !9
  %649 = call i32 @s2n_print_stacktrace(ptr noundef %648)
  %650 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %651 = trunc i8 %650 to i1
  br i1 %651, label %652, label %674

652:                                              ; preds = %645
  %653 = load ptr, ptr @stderr, align 8, !tbaa !9
  %654 = call i32 @fileno(ptr noundef %653) #11
  %655 = call i32 @isatty(i32 noundef %654) #11
  %656 = icmp ne i32 %655, 0
  br i1 %656, label %657, label %674

657:                                              ; preds = %652
  %658 = load i32, ptr %27, align 4, !tbaa !5
  %659 = call ptr @__errno_location() #12
  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.4)
  %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.4)
  %668 = call ptr @__errno_location() #12
  %669 = load i32, ptr %668, align 4, !tbaa !5
  %670 = call ptr @strerror(i32 noundef %669) #11
  %671 = call ptr @__errno_location() #12
  %672 = load i32, ptr %671, align 4, !tbaa !5
  %673 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %660, ptr noundef @.str.2, i32 noundef %661, ptr noundef @.str.16, ptr noundef @.str.1, i32 noundef 73, ptr noundef %664, ptr noundef %667, ptr noundef %670, i32 noundef %672) #11
  br label %691

674:                                              ; preds = %652, %645
  %675 = load i32, ptr %27, align 4, !tbaa !5
  %676 = call ptr @__errno_location() #12
  store i32 %675, ptr %676, align 4, !tbaa !5
  %677 = load ptr, ptr @stderr, align 8, !tbaa !9
  %678 = load i32, ptr @test_count, align 4, !tbaa !5
  %679 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %680 = load i32, ptr %679, align 4, !tbaa !5
  %681 = call ptr @s2n_strerror(i32 noundef %680, ptr noundef @.str.4)
  %682 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %683 = load i32, ptr %682, align 4, !tbaa !5
  %684 = call ptr @s2n_strerror_debug(i32 noundef %683, ptr noundef @.str.4)
  %685 = call ptr @__errno_location() #12
  %686 = load i32, ptr %685, align 4, !tbaa !5
  %687 = call ptr @strerror(i32 noundef %686) #11
  %688 = call ptr @__errno_location() #12
  %689 = load i32, ptr %688, align 4, !tbaa !5
  %690 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %677, ptr noundef @.str.5, i32 noundef %678, ptr noundef @.str.16, ptr noundef @.str.1, i32 noundef 73, ptr noundef %681, ptr noundef %684, ptr noundef %687, i32 noundef %689) #11
  br label %691

691:                                              ; preds = %674, %657
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #11
  br label %692

692:                                              ; preds = %691
  br label %693

693:                                              ; preds = %692
  call void @exit(i32 noundef 1) #13
  unreachable

694:                                              ; No predecessors!
  br label %695

695:                                              ; preds = %694
  br label %696

696:                                              ; preds = %695, %637
  br label %697

697:                                              ; preds = %696
  br label %698

698:                                              ; preds = %697
  call void @llvm.lifetime.start.p0(i64 24, ptr %28) #11
  call void @llvm.memset.p0.i64(ptr align 8 %28, i8 0, i64 24, i1 false)
  br label %699

699:                                              ; preds = %698
  %700 = load i32, ptr @test_count, align 4, !tbaa !5
  %701 = add nsw i32 %700, 1
  store i32 %701, ptr @test_count, align 4, !tbaa !5
  %702 = getelementptr inbounds [12000 x i8], ptr %25, i64 0, i64 0
  %703 = load i32, ptr %26, align 4, !tbaa !5
  %704 = call i32 @s2n_blob_init(ptr noundef %28, ptr noundef %702, i32 noundef %703)
  %705 = icmp eq i32 %704, -1
  br i1 %705, label %706, label %759

706:                                              ; preds = %699
  br label %707

707:                                              ; preds = %706
  br label %708

708:                                              ; preds = %707
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #11
  %709 = call ptr @__errno_location() #12
  %710 = load i32, ptr %709, align 4, !tbaa !5
  store i32 %710, ptr %29, align 4, !tbaa !5
  %711 = load ptr, ptr @stderr, align 8, !tbaa !9
  %712 = call i32 @s2n_print_stacktrace(ptr noundef %711)
  %713 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %714 = trunc i8 %713 to i1
  br i1 %714, label %715, label %737

715:                                              ; preds = %708
  %716 = load ptr, ptr @stderr, align 8, !tbaa !9
  %717 = call i32 @fileno(ptr noundef %716) #11
  %718 = call i32 @isatty(i32 noundef %717) #11
  %719 = icmp ne i32 %718, 0
  br i1 %719, label %720, label %737

720:                                              ; preds = %715
  %721 = load i32, ptr %29, align 4, !tbaa !5
  %722 = call ptr @__errno_location() #12
  store i32 %721, ptr %722, align 4, !tbaa !5
  %723 = load ptr, ptr @stderr, align 8, !tbaa !9
  %724 = load i32, ptr @test_count, align 4, !tbaa !5
  %725 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %726 = load i32, ptr %725, align 4, !tbaa !5
  %727 = call ptr @s2n_strerror(i32 noundef %726, ptr noundef @.str.4)
  %728 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %729 = load i32, ptr %728, align 4, !tbaa !5
  %730 = call ptr @s2n_strerror_debug(i32 noundef %729, ptr noundef @.str.4)
  %731 = call ptr @__errno_location() #12
  %732 = load i32, ptr %731, align 4, !tbaa !5
  %733 = call ptr @strerror(i32 noundef %732) #11
  %734 = call ptr @__errno_location() #12
  %735 = load i32, ptr %734, align 4, !tbaa !5
  %736 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %723, ptr noundef @.str.2, i32 noundef %724, ptr noundef @.str.10, ptr noundef @.str.1, i32 noundef 76, ptr noundef %727, ptr noundef %730, ptr noundef %733, i32 noundef %735) #11
  br label %754

737:                                              ; preds = %715, %708
  %738 = load i32, ptr %29, align 4, !tbaa !5
  %739 = call ptr @__errno_location() #12
  store i32 %738, ptr %739, align 4, !tbaa !5
  %740 = load ptr, ptr @stderr, align 8, !tbaa !9
  %741 = load i32, ptr @test_count, align 4, !tbaa !5
  %742 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %743 = load i32, ptr %742, align 4, !tbaa !5
  %744 = call ptr @s2n_strerror(i32 noundef %743, ptr noundef @.str.4)
  %745 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %746 = load i32, ptr %745, align 4, !tbaa !5
  %747 = call ptr @s2n_strerror_debug(i32 noundef %746, ptr noundef @.str.4)
  %748 = call ptr @__errno_location() #12
  %749 = load i32, ptr %748, align 4, !tbaa !5
  %750 = call ptr @strerror(i32 noundef %749) #11
  %751 = call ptr @__errno_location() #12
  %752 = load i32, ptr %751, align 4, !tbaa !5
  %753 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %740, ptr noundef @.str.5, i32 noundef %741, ptr noundef @.str.10, ptr noundef @.str.1, i32 noundef 76, ptr noundef %744, ptr noundef %747, ptr noundef %750, i32 noundef %752) #11
  br label %754

754:                                              ; preds = %737, %720
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #11
  br label %755

755:                                              ; preds = %754
  br label %756

756:                                              ; preds = %755
  call void @exit(i32 noundef 1) #13
  unreachable

757:                                              ; No predecessors!
  br label %758

758:                                              ; preds = %757
  br label %759

759:                                              ; preds = %758, %699
  br label %760

760:                                              ; preds = %759
  br label %761

761:                                              ; preds = %760
  call void @llvm.lifetime.start.p0(i64 40, ptr %30) #11
  call void @llvm.memset.p0.i64(ptr align 8 %30, i8 0, i64 40, i1 false)
  br label %762

762:                                              ; preds = %761
  %763 = load i32, ptr @test_count, align 4, !tbaa !5
  %764 = add nsw i32 %763, 1
  store i32 %764, ptr @test_count, align 4, !tbaa !5
  %765 = call i32 @s2n_stuffer_init_written(ptr noundef %30, ptr noundef %28)
  %766 = icmp eq i32 %765, -1
  br i1 %766, label %767, label %820

767:                                              ; preds = %762
  br label %768

768:                                              ; preds = %767
  br label %769

769:                                              ; preds = %768
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #11
  %770 = call ptr @__errno_location() #12
  %771 = load i32, ptr %770, align 4, !tbaa !5
  store i32 %771, ptr %31, align 4, !tbaa !5
  %772 = load ptr, ptr @stderr, align 8, !tbaa !9
  %773 = call i32 @s2n_print_stacktrace(ptr noundef %772)
  %774 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %775 = trunc i8 %774 to i1
  br i1 %775, label %776, label %798

776:                                              ; preds = %769
  %777 = load ptr, ptr @stderr, align 8, !tbaa !9
  %778 = call i32 @fileno(ptr noundef %777) #11
  %779 = call i32 @isatty(i32 noundef %778) #11
  %780 = icmp ne i32 %779, 0
  br i1 %780, label %781, label %798

781:                                              ; preds = %776
  %782 = load i32, ptr %31, align 4, !tbaa !5
  %783 = call ptr @__errno_location() #12
  store i32 %782, ptr %783, align 4, !tbaa !5
  %784 = load ptr, ptr @stderr, align 8, !tbaa !9
  %785 = load i32, ptr @test_count, align 4, !tbaa !5
  %786 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %787 = load i32, ptr %786, align 4, !tbaa !5
  %788 = call ptr @s2n_strerror(i32 noundef %787, ptr noundef @.str.4)
  %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_debug(i32 noundef %790, ptr noundef @.str.4)
  %792 = call ptr @__errno_location() #12
  %793 = load i32, ptr %792, align 4, !tbaa !5
  %794 = call ptr @strerror(i32 noundef %793) #11
  %795 = call ptr @__errno_location() #12
  %796 = load i32, ptr %795, align 4, !tbaa !5
  %797 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %784, ptr noundef @.str.2, i32 noundef %785, ptr noundef @.str.11, ptr noundef @.str.1, i32 noundef 79, ptr noundef %788, ptr noundef %791, ptr noundef %794, i32 noundef %796) #11
  br label %815

798:                                              ; preds = %776, %769
  %799 = load i32, ptr %31, align 4, !tbaa !5
  %800 = call ptr @__errno_location() #12
  store i32 %799, ptr %800, align 4, !tbaa !5
  %801 = load ptr, ptr @stderr, align 8, !tbaa !9
  %802 = load i32, ptr @test_count, align 4, !tbaa !5
  %803 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %804 = load i32, ptr %803, align 4, !tbaa !5
  %805 = call ptr @s2n_strerror(i32 noundef %804, ptr noundef @.str.4)
  %806 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %807 = load i32, ptr %806, align 4, !tbaa !5
  %808 = call ptr @s2n_strerror_debug(i32 noundef %807, ptr noundef @.str.4)
  %809 = call ptr @__errno_location() #12
  %810 = load i32, ptr %809, align 4, !tbaa !5
  %811 = call ptr @strerror(i32 noundef %810) #11
  %812 = call ptr @__errno_location() #12
  %813 = load i32, ptr %812, align 4, !tbaa !5
  %814 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %801, ptr noundef @.str.5, i32 noundef %802, ptr noundef @.str.11, ptr noundef @.str.1, i32 noundef 79, ptr noundef %805, ptr noundef %808, ptr noundef %811, i32 noundef %813) #11
  br label %815

815:                                              ; preds = %798, %781
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #11
  br label %816

816:                                              ; preds = %815
  br label %817

817:                                              ; preds = %816
  call void @exit(i32 noundef 1) #13
  unreachable

818:                                              ; No predecessors!
  br label %819

819:                                              ; preds = %818
  br label %820

820:                                              ; preds = %819, %762
  br label %821

821:                                              ; preds = %820
  br label %822

822:                                              ; preds = %821
  call void @llvm.lifetime.start.p0(i64 24, ptr %32) #11
  call void @llvm.memset.p0.i64(ptr align 8 %32, i8 0, i64 24, i1 false)
  br label %823

823:                                              ; preds = %822
  %824 = load i32, ptr @test_count, align 4, !tbaa !5
  %825 = add nsw i32 %824, 1
  store i32 %825, ptr @test_count, align 4, !tbaa !5
  %826 = call i32 @s2n_x509_validator_read_asn1_cert(ptr noundef %30, ptr noundef %32)
  %827 = getelementptr inbounds %struct.s2n_result, ptr %33, i32 0, i32 0
  store i32 %826, ptr %827, align 4
  %828 = getelementptr inbounds %struct.s2n_result, ptr %33, i32 0, i32 0
  %829 = load i32, ptr %828, align 4
  %830 = call zeroext i1 @s2n_result_is_ok(i32 %829)
  br i1 %830, label %884, label %831

831:                                              ; preds = %823
  br label %832

832:                                              ; preds = %831
  br label %833

833:                                              ; preds = %832
  call void @llvm.lifetime.start.p0(i64 4, ptr %34) #11
  %834 = call ptr @__errno_location() #12
  %835 = load i32, ptr %834, align 4, !tbaa !5
  store i32 %835, ptr %34, align 4, !tbaa !5
  %836 = load ptr, ptr @stderr, align 8, !tbaa !9
  %837 = call i32 @s2n_print_stacktrace(ptr noundef %836)
  %838 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %839 = trunc i8 %838 to i1
  br i1 %839, label %840, label %862

840:                                              ; preds = %833
  %841 = load ptr, ptr @stderr, align 8, !tbaa !9
  %842 = call i32 @fileno(ptr noundef %841) #11
  %843 = call i32 @isatty(i32 noundef %842) #11
  %844 = icmp ne i32 %843, 0
  br i1 %844, label %845, label %862

845:                                              ; preds = %840
  %846 = load i32, ptr %34, align 4, !tbaa !5
  %847 = call ptr @__errno_location() #12
  store i32 %846, ptr %847, align 4, !tbaa !5
  %848 = load ptr, ptr @stderr, align 8, !tbaa !9
  %849 = load i32, ptr @test_count, align 4, !tbaa !5
  %850 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %851 = load i32, ptr %850, align 4, !tbaa !5
  %852 = call ptr @s2n_strerror(i32 noundef %851, ptr noundef @.str.4)
  %853 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %854 = load i32, ptr %853, align 4, !tbaa !5
  %855 = call ptr @s2n_strerror_debug(i32 noundef %854, ptr noundef @.str.4)
  %856 = call ptr @__errno_location() #12
  %857 = load i32, ptr %856, align 4, !tbaa !5
  %858 = call ptr @strerror(i32 noundef %857) #11
  %859 = call ptr @__errno_location() #12
  %860 = load i32, ptr %859, align 4, !tbaa !5
  %861 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %848, ptr noundef @.str.2, i32 noundef %849, ptr noundef @.str.12, ptr noundef @.str.1, i32 noundef 82, ptr noundef %852, ptr noundef %855, ptr noundef %858, i32 noundef %860) #11
  br label %879

862:                                              ; preds = %840, %833
  %863 = load i32, ptr %34, align 4, !tbaa !5
  %864 = call ptr @__errno_location() #12
  store i32 %863, ptr %864, align 4, !tbaa !5
  %865 = load ptr, ptr @stderr, align 8, !tbaa !9
  %866 = load i32, ptr @test_count, align 4, !tbaa !5
  %867 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %868 = load i32, ptr %867, align 4, !tbaa !5
  %869 = call ptr @s2n_strerror(i32 noundef %868, ptr noundef @.str.4)
  %870 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %871 = load i32, ptr %870, align 4, !tbaa !5
  %872 = call ptr @s2n_strerror_debug(i32 noundef %871, ptr noundef @.str.4)
  %873 = call ptr @__errno_location() #12
  %874 = load i32, ptr %873, align 4, !tbaa !5
  %875 = call ptr @strerror(i32 noundef %874) #11
  %876 = call ptr @__errno_location() #12
  %877 = load i32, ptr %876, align 4, !tbaa !5
  %878 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %865, ptr noundef @.str.5, i32 noundef %866, ptr noundef @.str.12, ptr noundef @.str.1, i32 noundef 82, ptr noundef %869, ptr noundef %872, ptr noundef %875, i32 noundef %877) #11
  br label %879

879:                                              ; preds = %862, %845
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #11
  br label %880

880:                                              ; preds = %879
  br label %881

881:                                              ; preds = %880
  call void @exit(i32 noundef 1) #13
  unreachable

882:                                              ; No predecessors!
  br label %883

883:                                              ; preds = %882
  br label %884

884:                                              ; preds = %883, %823
  br label %885

885:                                              ; preds = %884
  br label %886

886:                                              ; preds = %885
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #11
  store ptr null, ptr %35, align 8, !tbaa !9
  br label %887

887:                                              ; preds = %886
  br label %888

888:                                              ; preds = %887
  %889 = load i32, ptr @test_count, align 4, !tbaa !5
  %890 = add nsw i32 %889, 1
  store i32 %890, ptr @test_count, align 4, !tbaa !5
  %891 = call i32 @s2n_openssl_x509_parse(ptr noundef %32, ptr noundef %35)
  %892 = getelementptr inbounds %struct.s2n_result, ptr %36, i32 0, i32 0
  store i32 %891, ptr %892, align 4
  %893 = getelementptr inbounds %struct.s2n_result, ptr %36, i32 0, i32 0
  %894 = load i32, ptr %893, align 4
  %895 = call zeroext i1 @s2n_result_is_error(i32 %894)
  br i1 %895, label %949, label %896

896:                                              ; preds = %888
  br label %897

897:                                              ; preds = %896
  br label %898

898:                                              ; preds = %897
  call void @llvm.lifetime.start.p0(i64 4, ptr %37) #11
  %899 = call ptr @__errno_location() #12
  %900 = load i32, ptr %899, align 4, !tbaa !5
  store i32 %900, ptr %37, align 4, !tbaa !5
  %901 = load ptr, ptr @stderr, align 8, !tbaa !9
  %902 = call i32 @s2n_print_stacktrace(ptr noundef %901)
  %903 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %904 = trunc i8 %903 to i1
  br i1 %904, label %905, label %927

905:                                              ; preds = %898
  %906 = load ptr, ptr @stderr, align 8, !tbaa !9
  %907 = call i32 @fileno(ptr noundef %906) #11
  %908 = call i32 @isatty(i32 noundef %907) #11
  %909 = icmp ne i32 %908, 0
  br i1 %909, label %910, label %927

910:                                              ; preds = %905
  %911 = load i32, ptr %37, align 4, !tbaa !5
  %912 = call ptr @__errno_location() #12
  store i32 %911, ptr %912, align 4, !tbaa !5
  %913 = load ptr, ptr @stderr, align 8, !tbaa !9
  %914 = load i32, ptr @test_count, align 4, !tbaa !5
  %915 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %916 = load i32, ptr %915, align 4, !tbaa !5
  %917 = call ptr @s2n_strerror(i32 noundef %916, ptr noundef @.str.4)
  %918 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %919 = load i32, ptr %918, align 4, !tbaa !5
  %920 = call ptr @s2n_strerror_debug(i32 noundef %919, ptr noundef @.str.4)
  %921 = call ptr @__errno_location() #12
  %922 = load i32, ptr %921, align 4, !tbaa !5
  %923 = call ptr @strerror(i32 noundef %922) #11
  %924 = call ptr @__errno_location() #12
  %925 = load i32, ptr %924, align 4, !tbaa !5
  %926 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %913, ptr noundef @.str.2, i32 noundef %914, ptr noundef @.str.17, ptr noundef @.str.1, i32 noundef 86, ptr noundef %917, ptr noundef %920, ptr noundef %923, i32 noundef %925) #11
  br label %944

927:                                              ; preds = %905, %898
  %928 = load i32, ptr %37, align 4, !tbaa !5
  %929 = call ptr @__errno_location() #12
  store i32 %928, ptr %929, align 4, !tbaa !5
  %930 = load ptr, ptr @stderr, align 8, !tbaa !9
  %931 = load i32, ptr @test_count, align 4, !tbaa !5
  %932 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %933 = load i32, ptr %932, align 4, !tbaa !5
  %934 = call ptr @s2n_strerror(i32 noundef %933, ptr noundef @.str.4)
  %935 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %936 = load i32, ptr %935, align 4, !tbaa !5
  %937 = call ptr @s2n_strerror_debug(i32 noundef %936, ptr noundef @.str.4)
  %938 = call ptr @__errno_location() #12
  %939 = load i32, ptr %938, align 4, !tbaa !5
  %940 = call ptr @strerror(i32 noundef %939) #11
  %941 = call ptr @__errno_location() #12
  %942 = load i32, ptr %941, align 4, !tbaa !5
  %943 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %930, ptr noundef @.str.5, i32 noundef %931, ptr noundef @.str.17, ptr noundef @.str.1, i32 noundef 86, ptr noundef %934, ptr noundef %937, ptr noundef %940, i32 noundef %942) #11
  br label %944

944:                                              ; preds = %927, %910
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #11
  br label %945

945:                                              ; preds = %944
  br label %946

946:                                              ; preds = %945
  call void @exit(i32 noundef 1) #13
  unreachable

947:                                              ; No predecessors!
  br label %948

948:                                              ; preds = %947
  br label %949

949:                                              ; preds = %948, %888
  br label %950

950:                                              ; preds = %949
  br label %951

951:                                              ; preds = %950
  br label %952

952:                                              ; preds = %951
  %953 = load i32, ptr @test_count, align 4, !tbaa !5
  %954 = add nsw i32 %953, 1
  store i32 %954, ptr @test_count, align 4, !tbaa !5
  %955 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %956 = load i32, ptr %955, align 4, !tbaa !5
  %957 = icmp eq i32 %956, 0
  br i1 %957, label %958, label %1011

958:                                              ; preds = %952
  br label %959

959:                                              ; preds = %958
  br label %960

960:                                              ; preds = %959
  call void @llvm.lifetime.start.p0(i64 4, ptr %38) #11
  %961 = call ptr @__errno_location() #12
  %962 = load i32, ptr %961, align 4, !tbaa !5
  store i32 %962, ptr %38, align 4, !tbaa !5
  %963 = load ptr, ptr @stderr, align 8, !tbaa !9
  %964 = call i32 @s2n_print_stacktrace(ptr noundef %963)
  %965 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %966 = trunc i8 %965 to i1
  br i1 %966, label %967, label %989

967:                                              ; preds = %960
  %968 = load ptr, ptr @stderr, align 8, !tbaa !9
  %969 = call i32 @fileno(ptr noundef %968) #11
  %970 = call i32 @isatty(i32 noundef %969) #11
  %971 = icmp ne i32 %970, 0
  br i1 %971, label %972, label %989

972:                                              ; preds = %967
  %973 = load i32, ptr %38, align 4, !tbaa !5
  %974 = call ptr @__errno_location() #12
  store i32 %973, ptr %974, align 4, !tbaa !5
  %975 = load ptr, ptr @stderr, align 8, !tbaa !9
  %976 = load i32, ptr @test_count, align 4, !tbaa !5
  %977 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %978 = load i32, ptr %977, align 4, !tbaa !5
  %979 = call ptr @s2n_strerror(i32 noundef %978, ptr noundef @.str.4)
  %980 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %981 = load i32, ptr %980, align 4, !tbaa !5
  %982 = call ptr @s2n_strerror_debug(i32 noundef %981, ptr noundef @.str.4)
  %983 = call ptr @__errno_location() #12
  %984 = load i32, ptr %983, align 4, !tbaa !5
  %985 = call ptr @strerror(i32 noundef %984) #11
  %986 = call ptr @__errno_location() #12
  %987 = load i32, ptr %986, align 4, !tbaa !5
  %988 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %975, ptr noundef @.str.2, i32 noundef %976, ptr noundef @.str.18, ptr noundef @.str.1, i32 noundef 86, ptr noundef %979, ptr noundef %982, ptr noundef %985, i32 noundef %987) #11
  br label %1006

989:                                              ; preds = %967, %960
  %990 = load i32, ptr %38, align 4, !tbaa !5
  %991 = call ptr @__errno_location() #12
  store i32 %990, ptr %991, align 4, !tbaa !5
  %992 = load ptr, ptr @stderr, align 8, !tbaa !9
  %993 = load i32, ptr @test_count, align 4, !tbaa !5
  %994 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %995 = load i32, ptr %994, align 4, !tbaa !5
  %996 = call ptr @s2n_strerror(i32 noundef %995, ptr noundef @.str.4)
  %997 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %998 = load i32, ptr %997, align 4, !tbaa !5
  %999 = call ptr @s2n_strerror_debug(i32 noundef %998, ptr noundef @.str.4)
  %1000 = call ptr @__errno_location() #12
  %1001 = load i32, ptr %1000, align 4, !tbaa !5
  %1002 = call ptr @strerror(i32 noundef %1001) #11
  %1003 = call ptr @__errno_location() #12
  %1004 = load i32, ptr %1003, align 4, !tbaa !5
  %1005 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %992, ptr noundef @.str.5, i32 noundef %993, ptr noundef @.str.18, ptr noundef @.str.1, i32 noundef 86, ptr noundef %996, ptr noundef %999, ptr noundef %1002, i32 noundef %1004) #11
  br label %1006

1006:                                             ; preds = %989, %972
  call void @llvm.lifetime.end.p0(i64 4, ptr %38) #11
  br label %1007

1007:                                             ; preds = %1006
  br label %1008

1008:                                             ; preds = %1007
  call void @exit(i32 noundef 1) #13
  unreachable

1009:                                             ; No predecessors!
  br label %1010

1010:                                             ; preds = %1009
  br label %1011

1011:                                             ; preds = %1010, %952
  br label %1012

1012:                                             ; preds = %1011
  br label %1013

1013:                                             ; preds = %1012
  br label %1014

1014:                                             ; preds = %1013
  %1015 = load i32, ptr @test_count, align 4, !tbaa !5
  %1016 = add nsw i32 %1015, 1
  store i32 %1016, ptr @test_count, align 4, !tbaa !5
  %1017 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1018 = load i32, ptr %1017, align 4, !tbaa !5
  %1019 = call ptr @s2n_strerror_debug(i32 noundef %1018, ptr noundef @.str.4)
  %1020 = icmp eq ptr %1019, null
  br i1 %1020, label %1021, label %1074

1021:                                             ; preds = %1014
  br label %1022

1022:                                             ; preds = %1021
  br label %1023

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

1030:                                             ; preds = %1023
  %1031 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1032 = call i32 @fileno(ptr noundef %1031) #11
  %1033 = call i32 @isatty(i32 noundef %1032) #11
  %1034 = icmp ne i32 %1033, 0
  br i1 %1034, label %1035, label %1052

1035:                                             ; preds = %1030
  %1036 = load i32, ptr %39, align 4, !tbaa !5
  %1037 = call ptr @__errno_location() #12
  store i32 %1036, ptr %1037, align 4, !tbaa !5
  %1038 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1039 = load i32, ptr @test_count, align 4, !tbaa !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(i32 noundef %1041, ptr noundef @.str.4)
  %1043 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1044 = load i32, ptr %1043, align 4, !tbaa !5
  %1045 = call ptr @s2n_strerror_debug(i32 noundef %1044, ptr noundef @.str.4)
  %1046 = call ptr @__errno_location() #12
  %1047 = load i32, ptr %1046, align 4, !tbaa !5
  %1048 = call ptr @strerror(i32 noundef %1047) #11
  %1049 = call ptr @__errno_location() #12
  %1050 = load i32, ptr %1049, align 4, !tbaa !5
  %1051 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1038, ptr noundef @.str.2, i32 noundef %1039, ptr noundef @.str.19, ptr noundef @.str.1, i32 noundef 86, ptr noundef %1042, ptr noundef %1045, ptr noundef %1048, i32 noundef %1050) #11
  br label %1069

1052:                                             ; preds = %1030, %1023
  %1053 = load i32, ptr %39, align 4, !tbaa !5
  %1054 = call ptr @__errno_location() #12
  store i32 %1053, ptr %1054, align 4, !tbaa !5
  %1055 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1056 = load i32, ptr @test_count, align 4, !tbaa !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(i32 noundef %1058, ptr noundef @.str.4)
  %1060 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1061 = load i32, ptr %1060, align 4, !tbaa !5
  %1062 = call ptr @s2n_strerror_debug(i32 noundef %1061, ptr noundef @.str.4)
  %1063 = call ptr @__errno_location() #12
  %1064 = load i32, ptr %1063, align 4, !tbaa !5
  %1065 = call ptr @strerror(i32 noundef %1064) #11
  %1066 = call ptr @__errno_location() #12
  %1067 = load i32, ptr %1066, align 4, !tbaa !5
  %1068 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1055, ptr noundef @.str.5, i32 noundef %1056, ptr noundef @.str.19, ptr noundef @.str.1, i32 noundef 86, ptr noundef %1059, ptr noundef %1062, ptr noundef %1065, i32 noundef %1067) #11
  br label %1069

1069:                                             ; preds = %1052, %1035
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #11
  br label %1070

1070:                                             ; preds = %1069
  br label %1071

1071:                                             ; preds = %1070
  call void @exit(i32 noundef 1) #13
  unreachable

1072:                                             ; No predecessors!
  br label %1073

1073:                                             ; preds = %1072
  br label %1074

1074:                                             ; preds = %1073, %1014
  br label %1075

1075:                                             ; preds = %1074
  br label %1076

1076:                                             ; preds = %1075
  br label %1077

1077:                                             ; preds = %1076
  %1078 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  store i32 0, ptr %1078, align 4, !tbaa !5
  call void @s2n_debug_info_reset()
  %1079 = call ptr @__errno_location() #12
  store i32 0, ptr %1079, align 4, !tbaa !5
  br label %1080

1080:                                             ; preds = %1077
  br label %1081

1081:                                             ; preds = %1080
  br label %1082

1082:                                             ; preds = %1081
  br label %1083

1083:                                             ; preds = %1082
  call void @X509_free_pointer(ptr noundef %35)
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #11
  call void @llvm.lifetime.start.p0(i64 8, ptr %40) #11
  store ptr null, ptr %40, align 8, !tbaa !9
  br label %1084

1084:                                             ; preds = %1083
  %1085 = load i32, ptr @test_count, align 4, !tbaa !5
  %1086 = add nsw i32 %1085, 1
  store i32 %1086, ptr @test_count, align 4, !tbaa !5
  %1087 = call i32 @s2n_openssl_x509_parse_without_length_validation(ptr noundef %32, ptr noundef %40)
  %1088 = getelementptr inbounds %struct.s2n_result, ptr %41, i32 0, i32 0
  store i32 %1087, ptr %1088, align 4
  %1089 = getelementptr inbounds %struct.s2n_result, ptr %41, i32 0, i32 0
  %1090 = load i32, ptr %1089, align 4
  %1091 = call zeroext i1 @s2n_result_is_ok(i32 %1090)
  br i1 %1091, label %1145, label %1092

1092:                                             ; preds = %1084
  br label %1093

1093:                                             ; preds = %1092
  br label %1094

1094:                                             ; preds = %1093
  call void @llvm.lifetime.start.p0(i64 4, ptr %42) #11
  %1095 = call ptr @__errno_location() #12
  %1096 = load i32, ptr %1095, align 4, !tbaa !5
  store i32 %1096, ptr %42, align 4, !tbaa !5
  %1097 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1098 = call i32 @s2n_print_stacktrace(ptr noundef %1097)
  %1099 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %1100 = trunc i8 %1099 to i1
  br i1 %1100, label %1101, label %1123

1101:                                             ; preds = %1094
  %1102 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1103 = call i32 @fileno(ptr noundef %1102) #11
  %1104 = call i32 @isatty(i32 noundef %1103) #11
  %1105 = icmp ne i32 %1104, 0
  br i1 %1105, label %1106, label %1123

1106:                                             ; preds = %1101
  %1107 = load i32, ptr %42, align 4, !tbaa !5
  %1108 = call ptr @__errno_location() #12
  store i32 %1107, ptr %1108, align 4, !tbaa !5
  %1109 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1110 = load i32, ptr @test_count, align 4, !tbaa !5
  %1111 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1112 = load i32, ptr %1111, align 4, !tbaa !5
  %1113 = call ptr @s2n_strerror(i32 noundef %1112, ptr noundef @.str.4)
  %1114 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1115 = load i32, ptr %1114, align 4, !tbaa !5
  %1116 = call ptr @s2n_strerror_debug(i32 noundef %1115, ptr noundef @.str.4)
  %1117 = call ptr @__errno_location() #12
  %1118 = load i32, ptr %1117, align 4, !tbaa !5
  %1119 = call ptr @strerror(i32 noundef %1118) #11
  %1120 = call ptr @__errno_location() #12
  %1121 = load i32, ptr %1120, align 4, !tbaa !5
  %1122 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1109, ptr noundef @.str.2, i32 noundef %1110, ptr noundef @.str.14, ptr noundef @.str.1, i32 noundef 90, ptr noundef %1113, ptr noundef %1116, ptr noundef %1119, i32 noundef %1121) #11
  br label %1140

1123:                                             ; preds = %1101, %1094
  %1124 = load i32, ptr %42, align 4, !tbaa !5
  %1125 = call ptr @__errno_location() #12
  store i32 %1124, ptr %1125, align 4, !tbaa !5
  %1126 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1127 = load i32, ptr @test_count, align 4, !tbaa !5
  %1128 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1129 = load i32, ptr %1128, align 4, !tbaa !5
  %1130 = call ptr @s2n_strerror(i32 noundef %1129, ptr noundef @.str.4)
  %1131 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1132 = load i32, ptr %1131, align 4, !tbaa !5
  %1133 = call ptr @s2n_strerror_debug(i32 noundef %1132, ptr noundef @.str.4)
  %1134 = call ptr @__errno_location() #12
  %1135 = load i32, ptr %1134, align 4, !tbaa !5
  %1136 = call ptr @strerror(i32 noundef %1135) #11
  %1137 = call ptr @__errno_location() #12
  %1138 = load i32, ptr %1137, align 4, !tbaa !5
  %1139 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1126, ptr noundef @.str.5, i32 noundef %1127, ptr noundef @.str.14, ptr noundef @.str.1, i32 noundef 90, ptr noundef %1130, ptr noundef %1133, ptr noundef %1136, i32 noundef %1138) #11
  br label %1140

1140:                                             ; preds = %1123, %1106
  call void @llvm.lifetime.end.p0(i64 4, ptr %42) #11
  br label %1141

1141:                                             ; preds = %1140
  br label %1142

1142:                                             ; preds = %1141
  call void @exit(i32 noundef 1) #13
  unreachable

1143:                                             ; No predecessors!
  br label %1144

1144:                                             ; preds = %1143
  br label %1145

1145:                                             ; preds = %1144, %1084
  br label %1146

1146:                                             ; preds = %1145
  br label %1147

1147:                                             ; preds = %1146
  call void @X509_free_pointer(ptr noundef %40)
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #11
  call void @llvm.lifetime.end.p0(i64 24, ptr %32) #11
  %1148 = call i32 @s2n_stuffer_free(ptr noundef %30)
  call void @llvm.lifetime.end.p0(i64 40, ptr %30) #11
  call void @llvm.lifetime.end.p0(i64 24, ptr %28) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #11
  call void @llvm.lifetime.end.p0(i64 12000, ptr %25) #11
  call void @llvm.lifetime.start.p0(i64 288, ptr %43) #11
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %43, ptr align 16 @__const.main.test_cases, i64 288, i1 false)
  call void @llvm.lifetime.start.p0(i64 8, ptr %44) #11
  store i64 0, ptr %44, align 8, !tbaa !15
  br label %1149

1149:                                             ; preds = %2084, %1147
  %1150 = load i64, ptr %44, align 8, !tbaa !15
  %1151 = icmp ult i64 %1150, 6
  br i1 %1151, label %1153, label %1152

1152:                                             ; preds = %1149
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #11
  br label %2087

1153:                                             ; preds = %1149
  call void @llvm.lifetime.start.p0(i64 512, ptr %45) #11
  call void @llvm.memset.p0.i64(ptr align 16 %45, i8 0, i64 512, i1 false)
  call void @llvm.lifetime.start.p0(i64 12000, ptr %46) #11
  call void @llvm.memset.p0.i64(ptr align 16 %46, i8 0, i64 12000, i1 false)
  br label %1154

1154:                                             ; preds = %1153
  %1155 = load i32, ptr @test_count, align 4, !tbaa !5
  %1156 = add nsw i32 %1155, 1
  store i32 %1156, ptr @test_count, align 4, !tbaa !5
  %1157 = getelementptr inbounds [512 x i8], ptr %45, i64 0, i64 0
  %1158 = load i64, ptr %44, align 8, !tbaa !15
  %1159 = getelementptr inbounds [6 x %struct.anon], ptr %43, i64 0, i64 %1158
  %1160 = getelementptr inbounds %struct.anon, ptr %1159, i32 0, i32 0
  %1161 = load ptr, ptr %1160, align 16, !tbaa !17
  %1162 = load i64, ptr %44, align 8, !tbaa !15
  %1163 = getelementptr inbounds [6 x %struct.anon], ptr %43, i64 0, i64 %1162
  %1164 = getelementptr inbounds %struct.anon, ptr %1163, i32 0, i32 1
  %1165 = load ptr, ptr %1164, align 8, !tbaa !19
  %1166 = load i64, ptr %44, align 8, !tbaa !15
  %1167 = getelementptr inbounds [6 x %struct.anon], ptr %43, i64 0, i64 %1166
  %1168 = getelementptr inbounds %struct.anon, ptr %1167, i32 0, i32 2
  %1169 = load ptr, ptr %1168, align 16, !tbaa !20
  %1170 = load i64, ptr %44, align 8, !tbaa !15
  %1171 = getelementptr inbounds [6 x %struct.anon], ptr %43, i64 0, i64 %1170
  %1172 = getelementptr inbounds %struct.anon, ptr %1171, i32 0, i32 3
  %1173 = load ptr, ptr %1172, align 8, !tbaa !21
  %1174 = call i32 @s2n_test_cert_permutation_get_server_chain_path(ptr noundef %1157, ptr noundef %1161, ptr noundef %1165, ptr noundef %1169, ptr noundef %1173)
  %1175 = getelementptr inbounds %struct.s2n_result, ptr %47, i32 0, i32 0
  store i32 %1174, ptr %1175, align 4
  %1176 = getelementptr inbounds %struct.s2n_result, ptr %47, i32 0, i32 0
  %1177 = load i32, ptr %1176, align 4
  %1178 = call zeroext i1 @s2n_result_is_ok(i32 %1177)
  br i1 %1178, label %1232, label %1179

1179:                                             ; preds = %1154
  br label %1180

1180:                                             ; preds = %1179
  br label %1181

1181:                                             ; preds = %1180
  call void @llvm.lifetime.start.p0(i64 4, ptr %48) #11
  %1182 = call ptr @__errno_location() #12
  %1183 = load i32, ptr %1182, align 4, !tbaa !5
  store i32 %1183, ptr %48, align 4, !tbaa !5
  %1184 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1185 = call i32 @s2n_print_stacktrace(ptr noundef %1184)
  %1186 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %1187 = trunc i8 %1186 to i1
  br i1 %1187, label %1188, label %1210

1188:                                             ; preds = %1181
  %1189 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1190 = call i32 @fileno(ptr noundef %1189) #11
  %1191 = call i32 @isatty(i32 noundef %1190) #11
  %1192 = icmp ne i32 %1191, 0
  br i1 %1192, label %1193, label %1210

1193:                                             ; preds = %1188
  %1194 = load i32, ptr %48, align 4, !tbaa !5
  %1195 = call ptr @__errno_location() #12
  store i32 %1194, ptr %1195, align 4, !tbaa !5
  %1196 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1197 = load i32, ptr @test_count, align 4, !tbaa !5
  %1198 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1199 = load i32, ptr %1198, align 4, !tbaa !5
  %1200 = call ptr @s2n_strerror(i32 noundef %1199, ptr noundef @.str.4)
  %1201 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1202 = load i32, ptr %1201, align 4, !tbaa !5
  %1203 = call ptr @s2n_strerror_debug(i32 noundef %1202, ptr noundef @.str.4)
  %1204 = call ptr @__errno_location() #12
  %1205 = load i32, ptr %1204, align 4, !tbaa !5
  %1206 = call ptr @strerror(i32 noundef %1205) #11
  %1207 = call ptr @__errno_location() #12
  %1208 = load i32, ptr %1207, align 4, !tbaa !5
  %1209 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1196, ptr noundef @.str.2, i32 noundef %1197, ptr noundef @.str.34, ptr noundef @.str.1, i32 noundef 195, ptr noundef %1200, ptr noundef %1203, ptr noundef %1206, i32 noundef %1208) #11
  br label %1227

1210:                                             ; preds = %1188, %1181
  %1211 = load i32, ptr %48, align 4, !tbaa !5
  %1212 = call ptr @__errno_location() #12
  store i32 %1211, ptr %1212, align 4, !tbaa !5
  %1213 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1214 = load i32, ptr @test_count, align 4, !tbaa !5
  %1215 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1216 = load i32, ptr %1215, align 4, !tbaa !5
  %1217 = call ptr @s2n_strerror(i32 noundef %1216, ptr noundef @.str.4)
  %1218 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1219 = load i32, ptr %1218, align 4, !tbaa !5
  %1220 = call ptr @s2n_strerror_debug(i32 noundef %1219, ptr noundef @.str.4)
  %1221 = call ptr @__errno_location() #12
  %1222 = load i32, ptr %1221, align 4, !tbaa !5
  %1223 = call ptr @strerror(i32 noundef %1222) #11
  %1224 = call ptr @__errno_location() #12
  %1225 = load i32, ptr %1224, align 4, !tbaa !5
  %1226 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1213, ptr noundef @.str.5, i32 noundef %1214, ptr noundef @.str.34, ptr noundef @.str.1, i32 noundef 195, ptr noundef %1217, ptr noundef %1220, ptr noundef %1223, i32 noundef %1225) #11
  br label %1227

1227:                                             ; preds = %1210, %1193
  call void @llvm.lifetime.end.p0(i64 4, ptr %48) #11
  br label %1228

1228:                                             ; preds = %1227
  br label %1229

1229:                                             ; preds = %1228
  call void @exit(i32 noundef 1) #13
  unreachable

1230:                                             ; No predecessors!
  br label %1231

1231:                                             ; preds = %1230
  br label %1232

1232:                                             ; preds = %1231, %1154
  br label %1233

1233:                                             ; preds = %1232
  br label %1234

1234:                                             ; preds = %1233
  br label %1235

1235:                                             ; preds = %1234
  %1236 = load i32, ptr @test_count, align 4, !tbaa !5
  %1237 = add nsw i32 %1236, 1
  store i32 %1237, ptr @test_count, align 4, !tbaa !5
  %1238 = getelementptr inbounds [512 x i8], ptr %45, i64 0, i64 0
  %1239 = getelementptr inbounds [12000 x i8], ptr %46, i64 0, i64 0
  %1240 = call i32 @s2n_read_test_pem(ptr noundef %1238, ptr noundef %1239, i64 noundef 12000)
  %1241 = icmp eq i32 %1240, -1
  br i1 %1241, label %1242, label %1295

1242:                                             ; preds = %1235
  br label %1243

1243:                                             ; preds = %1242
  br label %1244

1244:                                             ; preds = %1243
  call void @llvm.lifetime.start.p0(i64 4, ptr %49) #11
  %1245 = call ptr @__errno_location() #12
  %1246 = load i32, ptr %1245, align 4, !tbaa !5
  store i32 %1246, ptr %49, align 4, !tbaa !5
  %1247 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1248 = call i32 @s2n_print_stacktrace(ptr noundef %1247)
  %1249 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %1250 = trunc i8 %1249 to i1
  br i1 %1250, label %1251, label %1273

1251:                                             ; preds = %1244
  %1252 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1253 = call i32 @fileno(ptr noundef %1252) #11
  %1254 = call i32 @isatty(i32 noundef %1253) #11
  %1255 = icmp ne i32 %1254, 0
  br i1 %1255, label %1256, label %1273

1256:                                             ; preds = %1251
  %1257 = load i32, ptr %49, align 4, !tbaa !5
  %1258 = call ptr @__errno_location() #12
  store i32 %1257, ptr %1258, align 4, !tbaa !5
  %1259 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1260 = load i32, ptr @test_count, align 4, !tbaa !5
  %1261 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1262 = load i32, ptr %1261, align 4, !tbaa !5
  %1263 = call ptr @s2n_strerror(i32 noundef %1262, ptr noundef @.str.4)
  %1264 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1265 = load i32, ptr %1264, align 4, !tbaa !5
  %1266 = call ptr @s2n_strerror_debug(i32 noundef %1265, ptr noundef @.str.4)
  %1267 = call ptr @__errno_location() #12
  %1268 = load i32, ptr %1267, align 4, !tbaa !5
  %1269 = call ptr @strerror(i32 noundef %1268) #11
  %1270 = call ptr @__errno_location() #12
  %1271 = load i32, ptr %1270, align 4, !tbaa !5
  %1272 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1259, ptr noundef @.str.2, i32 noundef %1260, ptr noundef @.str.35, ptr noundef @.str.1, i32 noundef 196, ptr noundef %1263, ptr noundef %1266, ptr noundef %1269, i32 noundef %1271) #11
  br label %1290

1273:                                             ; preds = %1251, %1244
  %1274 = load i32, ptr %49, align 4, !tbaa !5
  %1275 = call ptr @__errno_location() #12
  store i32 %1274, ptr %1275, align 4, !tbaa !5
  %1276 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1277 = load i32, ptr @test_count, align 4, !tbaa !5
  %1278 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1279 = load i32, ptr %1278, align 4, !tbaa !5
  %1280 = call ptr @s2n_strerror(i32 noundef %1279, ptr noundef @.str.4)
  %1281 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1282 = load i32, ptr %1281, align 4, !tbaa !5
  %1283 = call ptr @s2n_strerror_debug(i32 noundef %1282, ptr noundef @.str.4)
  %1284 = call ptr @__errno_location() #12
  %1285 = load i32, ptr %1284, align 4, !tbaa !5
  %1286 = call ptr @strerror(i32 noundef %1285) #11
  %1287 = call ptr @__errno_location() #12
  %1288 = load i32, ptr %1287, align 4, !tbaa !5
  %1289 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1276, ptr noundef @.str.5, i32 noundef %1277, ptr noundef @.str.35, ptr noundef @.str.1, i32 noundef 196, ptr noundef %1280, ptr noundef %1283, ptr noundef %1286, i32 noundef %1288) #11
  br label %1290

1290:                                             ; preds = %1273, %1256
  call void @llvm.lifetime.end.p0(i64 4, ptr %49) #11
  br label %1291

1291:                                             ; preds = %1290
  br label %1292

1292:                                             ; preds = %1291
  call void @exit(i32 noundef 1) #13
  unreachable

1293:                                             ; No predecessors!
  br label %1294

1294:                                             ; preds = %1293
  br label %1295

1295:                                             ; preds = %1294, %1235
  br label %1296

1296:                                             ; preds = %1295
  br label %1297

1297:                                             ; preds = %1296
  call void @llvm.lifetime.start.p0(i64 8, ptr %50) #11
  store ptr null, ptr %50, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %51) #11
  store ptr null, ptr %51, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %52) #11
  store ptr null, ptr %52, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %53) #11
  %1298 = getelementptr inbounds [12000 x i8], ptr %46, i64 0, i64 0
  %1299 = call i64 @strlen(ptr noundef %1298) #14
  store i64 %1299, ptr %53, align 8, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 8, ptr %54) #11
  store ptr null, ptr %54, align 8, !tbaa !9
  br label %1300

1300:                                             ; preds = %1297
  %1301 = load i32, ptr @test_count, align 4, !tbaa !5
  %1302 = add nsw i32 %1301, 1
  store i32 %1302, ptr @test_count, align 4, !tbaa !5
  %1303 = call ptr @BIO_s_mem()
  %1304 = call ptr @BIO_new(ptr noundef %1303)
  store ptr %1304, ptr %54, align 8, !tbaa !9
  %1305 = icmp eq ptr %1304, null
  br i1 %1305, label %1306, label %1359

1306:                                             ; preds = %1300
  br label %1307

1307:                                             ; preds = %1306
  br label %1308

1308:                                             ; preds = %1307
  call void @llvm.lifetime.start.p0(i64 4, ptr %55) #11
  %1309 = call ptr @__errno_location() #12
  %1310 = load i32, ptr %1309, align 4, !tbaa !5
  store i32 %1310, ptr %55, align 4, !tbaa !5
  %1311 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1312 = call i32 @s2n_print_stacktrace(ptr noundef %1311)
  %1313 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %1314 = trunc i8 %1313 to i1
  br i1 %1314, label %1315, label %1337

1315:                                             ; preds = %1308
  %1316 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1317 = call i32 @fileno(ptr noundef %1316) #11
  %1318 = call i32 @isatty(i32 noundef %1317) #11
  %1319 = icmp ne i32 %1318, 0
  br i1 %1319, label %1320, label %1337

1320:                                             ; preds = %1315
  %1321 = load i32, ptr %55, align 4, !tbaa !5
  %1322 = call ptr @__errno_location() #12
  store i32 %1321, ptr %1322, align 4, !tbaa !5
  %1323 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1324 = load i32, ptr @test_count, align 4, !tbaa !5
  %1325 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1326 = load i32, ptr %1325, align 4, !tbaa !5
  %1327 = call ptr @s2n_strerror(i32 noundef %1326, ptr noundef @.str.4)
  %1328 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1329 = load i32, ptr %1328, align 4, !tbaa !5
  %1330 = call ptr @s2n_strerror_debug(i32 noundef %1329, ptr noundef @.str.4)
  %1331 = call ptr @__errno_location() #12
  %1332 = load i32, ptr %1331, align 4, !tbaa !5
  %1333 = call ptr @strerror(i32 noundef %1332) #11
  %1334 = call ptr @__errno_location() #12
  %1335 = load i32, ptr %1334, align 4, !tbaa !5
  %1336 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1323, ptr noundef @.str.2, i32 noundef %1324, ptr noundef @.str.36, ptr noundef @.str.1, i32 noundef 205, ptr noundef %1327, ptr noundef %1330, ptr noundef %1333, i32 noundef %1335) #11
  br label %1354

1337:                                             ; preds = %1315, %1308
  %1338 = load i32, ptr %55, align 4, !tbaa !5
  %1339 = call ptr @__errno_location() #12
  store i32 %1338, ptr %1339, align 4, !tbaa !5
  %1340 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1341 = load i32, ptr @test_count, align 4, !tbaa !5
  %1342 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1343 = load i32, ptr %1342, align 4, !tbaa !5
  %1344 = call ptr @s2n_strerror(i32 noundef %1343, ptr noundef @.str.4)
  %1345 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1346 = load i32, ptr %1345, align 4, !tbaa !5
  %1347 = call ptr @s2n_strerror_debug(i32 noundef %1346, ptr noundef @.str.4)
  %1348 = call ptr @__errno_location() #12
  %1349 = load i32, ptr %1348, align 4, !tbaa !5
  %1350 = call ptr @strerror(i32 noundef %1349) #11
  %1351 = call ptr @__errno_location() #12
  %1352 = load i32, ptr %1351, align 4, !tbaa !5
  %1353 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1340, ptr noundef @.str.5, i32 noundef %1341, ptr noundef @.str.36, ptr noundef @.str.1, i32 noundef 205, ptr noundef %1344, ptr noundef %1347, ptr noundef %1350, i32 noundef %1352) #11
  br label %1354

1354:                                             ; preds = %1337, %1320
  call void @llvm.lifetime.end.p0(i64 4, ptr %55) #11
  br label %1355

1355:                                             ; preds = %1354
  br label %1356

1356:                                             ; preds = %1355
  call void @exit(i32 noundef 1) #13
  unreachable

1357:                                             ; No predecessors!
  br label %1358

1358:                                             ; preds = %1357
  br label %1359

1359:                                             ; preds = %1358, %1300
  br label %1360

1360:                                             ; preds = %1359
  br label %1361

1361:                                             ; preds = %1360
  br label %1362

1362:                                             ; preds = %1361
  %1363 = load i32, ptr @test_count, align 4, !tbaa !5
  %1364 = add nsw i32 %1363, 1
  store i32 %1364, ptr @test_count, align 4, !tbaa !5
  %1365 = load ptr, ptr %54, align 8, !tbaa !9
  %1366 = getelementptr inbounds [12000 x i8], ptr %46, i64 0, i64 0
  %1367 = load i64, ptr %53, align 8, !tbaa !15
  %1368 = trunc i64 %1367 to i32
  %1369 = call i32 @BIO_write(ptr noundef %1365, ptr noundef %1366, i32 noundef %1368)
  %1370 = icmp sgt i32 %1369, 0
  br i1 %1370, label %1424, label %1371

1371:                                             ; preds = %1362
  br label %1372

1372:                                             ; preds = %1371
  br label %1373

1373:                                             ; preds = %1372
  call void @llvm.lifetime.start.p0(i64 4, ptr %56) #11
  %1374 = call ptr @__errno_location() #12
  %1375 = load i32, ptr %1374, align 4, !tbaa !5
  store i32 %1375, ptr %56, align 4, !tbaa !5
  %1376 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1377 = call i32 @s2n_print_stacktrace(ptr noundef %1376)
  %1378 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %1379 = trunc i8 %1378 to i1
  br i1 %1379, label %1380, label %1402

1380:                                             ; preds = %1373
  %1381 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1382 = call i32 @fileno(ptr noundef %1381) #11
  %1383 = call i32 @isatty(i32 noundef %1382) #11
  %1384 = icmp ne i32 %1383, 0
  br i1 %1384, label %1385, label %1402

1385:                                             ; preds = %1380
  %1386 = load i32, ptr %56, align 4, !tbaa !5
  %1387 = call ptr @__errno_location() #12
  store i32 %1386, ptr %1387, align 4, !tbaa !5
  %1388 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1389 = load i32, ptr @test_count, align 4, !tbaa !5
  %1390 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1391 = load i32, ptr %1390, align 4, !tbaa !5
  %1392 = call ptr @s2n_strerror(i32 noundef %1391, ptr noundef @.str.4)
  %1393 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1394 = load i32, ptr %1393, align 4, !tbaa !5
  %1395 = call ptr @s2n_strerror_debug(i32 noundef %1394, ptr noundef @.str.4)
  %1396 = call ptr @__errno_location() #12
  %1397 = load i32, ptr %1396, align 4, !tbaa !5
  %1398 = call ptr @strerror(i32 noundef %1397) #11
  %1399 = call ptr @__errno_location() #12
  %1400 = load i32, ptr %1399, align 4, !tbaa !5
  %1401 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1388, ptr noundef @.str.2, i32 noundef %1389, ptr noundef @.str.37, ptr noundef @.str.1, i32 noundef 206, ptr noundef %1392, ptr noundef %1395, ptr noundef %1398, i32 noundef %1400) #11
  br label %1419

1402:                                             ; preds = %1380, %1373
  %1403 = load i32, ptr %56, align 4, !tbaa !5
  %1404 = call ptr @__errno_location() #12
  store i32 %1403, ptr %1404, align 4, !tbaa !5
  %1405 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1406 = load i32, ptr @test_count, align 4, !tbaa !5
  %1407 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1408 = load i32, ptr %1407, align 4, !tbaa !5
  %1409 = call ptr @s2n_strerror(i32 noundef %1408, ptr noundef @.str.4)
  %1410 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1411 = load i32, ptr %1410, align 4, !tbaa !5
  %1412 = call ptr @s2n_strerror_debug(i32 noundef %1411, ptr noundef @.str.4)
  %1413 = call ptr @__errno_location() #12
  %1414 = load i32, ptr %1413, align 4, !tbaa !5
  %1415 = call ptr @strerror(i32 noundef %1414) #11
  %1416 = call ptr @__errno_location() #12
  %1417 = load i32, ptr %1416, align 4, !tbaa !5
  %1418 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1405, ptr noundef @.str.5, i32 noundef %1406, ptr noundef @.str.37, ptr noundef @.str.1, i32 noundef 206, ptr noundef %1409, ptr noundef %1412, ptr noundef %1415, i32 noundef %1417) #11
  br label %1419

1419:                                             ; preds = %1402, %1385
  call void @llvm.lifetime.end.p0(i64 4, ptr %56) #11
  br label %1420

1420:                                             ; preds = %1419
  br label %1421

1421:                                             ; preds = %1420
  call void @exit(i32 noundef 1) #13
  unreachable

1422:                                             ; No predecessors!
  br label %1423

1423:                                             ; preds = %1422
  br label %1424

1424:                                             ; preds = %1423, %1362
  br label %1425

1425:                                             ; preds = %1424
  br label %1426

1426:                                             ; preds = %1425
  br label %1427

1427:                                             ; preds = %1426
  %1428 = load i32, ptr @test_count, align 4, !tbaa !5
  %1429 = add nsw i32 %1428, 1
  store i32 %1429, ptr @test_count, align 4, !tbaa !5
  %1430 = load ptr, ptr %54, align 8, !tbaa !9
  %1431 = call ptr @PEM_read_bio_X509(ptr noundef %1430, ptr noundef null, ptr noundef null, ptr noundef null)
  store ptr %1431, ptr %50, align 8, !tbaa !9
  %1432 = icmp eq ptr %1431, null
  br i1 %1432, label %1433, label %1486

1433:                                             ; preds = %1427
  br label %1434

1434:                                             ; preds = %1433
  br label %1435

1435:                                             ; preds = %1434
  call void @llvm.lifetime.start.p0(i64 4, ptr %57) #11
  %1436 = call ptr @__errno_location() #12
  %1437 = load i32, ptr %1436, align 4, !tbaa !5
  store i32 %1437, ptr %57, align 4, !tbaa !5
  %1438 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1439 = call i32 @s2n_print_stacktrace(ptr noundef %1438)
  %1440 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %1441 = trunc i8 %1440 to i1
  br i1 %1441, label %1442, label %1464

1442:                                             ; preds = %1435
  %1443 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1444 = call i32 @fileno(ptr noundef %1443) #11
  %1445 = call i32 @isatty(i32 noundef %1444) #11
  %1446 = icmp ne i32 %1445, 0
  br i1 %1446, label %1447, label %1464

1447:                                             ; preds = %1442
  %1448 = load i32, ptr %57, align 4, !tbaa !5
  %1449 = call ptr @__errno_location() #12
  store i32 %1448, ptr %1449, align 4, !tbaa !5
  %1450 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1451 = load i32, ptr @test_count, align 4, !tbaa !5
  %1452 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1453 = load i32, ptr %1452, align 4, !tbaa !5
  %1454 = call ptr @s2n_strerror(i32 noundef %1453, ptr noundef @.str.4)
  %1455 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1456 = load i32, ptr %1455, align 4, !tbaa !5
  %1457 = call ptr @s2n_strerror_debug(i32 noundef %1456, ptr noundef @.str.4)
  %1458 = call ptr @__errno_location() #12
  %1459 = load i32, ptr %1458, align 4, !tbaa !5
  %1460 = call ptr @strerror(i32 noundef %1459) #11
  %1461 = call ptr @__errno_location() #12
  %1462 = load i32, ptr %1461, align 4, !tbaa !5
  %1463 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1450, ptr noundef @.str.2, i32 noundef %1451, ptr noundef @.str.38, ptr noundef @.str.1, i32 noundef 207, ptr noundef %1454, ptr noundef %1457, ptr noundef %1460, i32 noundef %1462) #11
  br label %1481

1464:                                             ; preds = %1442, %1435
  %1465 = load i32, ptr %57, align 4, !tbaa !5
  %1466 = call ptr @__errno_location() #12
  store i32 %1465, ptr %1466, align 4, !tbaa !5
  %1467 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1468 = load i32, ptr @test_count, align 4, !tbaa !5
  %1469 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1470 = load i32, ptr %1469, align 4, !tbaa !5
  %1471 = call ptr @s2n_strerror(i32 noundef %1470, ptr noundef @.str.4)
  %1472 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1473 = load i32, ptr %1472, align 4, !tbaa !5
  %1474 = call ptr @s2n_strerror_debug(i32 noundef %1473, ptr noundef @.str.4)
  %1475 = call ptr @__errno_location() #12
  %1476 = load i32, ptr %1475, align 4, !tbaa !5
  %1477 = call ptr @strerror(i32 noundef %1476) #11
  %1478 = call ptr @__errno_location() #12
  %1479 = load i32, ptr %1478, align 4, !tbaa !5
  %1480 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1467, ptr noundef @.str.5, i32 noundef %1468, ptr noundef @.str.38, ptr noundef @.str.1, i32 noundef 207, ptr noundef %1471, ptr noundef %1474, ptr noundef %1477, i32 noundef %1479) #11
  br label %1481

1481:                                             ; preds = %1464, %1447
  call void @llvm.lifetime.end.p0(i64 4, ptr %57) #11
  br label %1482

1482:                                             ; preds = %1481
  br label %1483

1483:                                             ; preds = %1482
  call void @exit(i32 noundef 1) #13
  unreachable

1484:                                             ; No predecessors!
  br label %1485

1485:                                             ; preds = %1484
  br label %1486

1486:                                             ; preds = %1485, %1427
  br label %1487

1487:                                             ; preds = %1486
  br label %1488

1488:                                             ; preds = %1487
  br label %1489

1489:                                             ; preds = %1488
  %1490 = load i32, ptr @test_count, align 4, !tbaa !5
  %1491 = add nsw i32 %1490, 1
  store i32 %1491, ptr @test_count, align 4, !tbaa !5
  %1492 = load ptr, ptr %54, align 8, !tbaa !9
  %1493 = call ptr @PEM_read_bio_X509(ptr noundef %1492, ptr noundef null, ptr noundef null, ptr noundef null)
  store ptr %1493, ptr %51, align 8, !tbaa !9
  %1494 = icmp eq ptr %1493, null
  br i1 %1494, label %1495, label %1548

1495:                                             ; preds = %1489
  br label %1496

1496:                                             ; preds = %1495
  br label %1497

1497:                                             ; preds = %1496
  call void @llvm.lifetime.start.p0(i64 4, ptr %58) #11
  %1498 = call ptr @__errno_location() #12
  %1499 = load i32, ptr %1498, align 4, !tbaa !5
  store i32 %1499, ptr %58, align 4, !tbaa !5
  %1500 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1501 = call i32 @s2n_print_stacktrace(ptr noundef %1500)
  %1502 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %1503 = trunc i8 %1502 to i1
  br i1 %1503, label %1504, label %1526

1504:                                             ; preds = %1497
  %1505 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1506 = call i32 @fileno(ptr noundef %1505) #11
  %1507 = call i32 @isatty(i32 noundef %1506) #11
  %1508 = icmp ne i32 %1507, 0
  br i1 %1508, label %1509, label %1526

1509:                                             ; preds = %1504
  %1510 = load i32, ptr %58, align 4, !tbaa !5
  %1511 = call ptr @__errno_location() #12
  store i32 %1510, ptr %1511, align 4, !tbaa !5
  %1512 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1513 = load i32, ptr @test_count, align 4, !tbaa !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(i32 noundef %1515, ptr noundef @.str.4)
  %1517 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1518 = load i32, ptr %1517, align 4, !tbaa !5
  %1519 = call ptr @s2n_strerror_debug(i32 noundef %1518, ptr noundef @.str.4)
  %1520 = call ptr @__errno_location() #12
  %1521 = load i32, ptr %1520, align 4, !tbaa !5
  %1522 = call ptr @strerror(i32 noundef %1521) #11
  %1523 = call ptr @__errno_location() #12
  %1524 = load i32, ptr %1523, align 4, !tbaa !5
  %1525 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1512, ptr noundef @.str.2, i32 noundef %1513, ptr noundef @.str.39, ptr noundef @.str.1, i32 noundef 208, ptr noundef %1516, ptr noundef %1519, ptr noundef %1522, i32 noundef %1524) #11
  br label %1543

1526:                                             ; preds = %1504, %1497
  %1527 = load i32, ptr %58, align 4, !tbaa !5
  %1528 = call ptr @__errno_location() #12
  store i32 %1527, ptr %1528, align 4, !tbaa !5
  %1529 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1530 = load i32, ptr @test_count, align 4, !tbaa !5
  %1531 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1532 = load i32, ptr %1531, align 4, !tbaa !5
  %1533 = call ptr @s2n_strerror(i32 noundef %1532, ptr noundef @.str.4)
  %1534 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1535 = load i32, ptr %1534, align 4, !tbaa !5
  %1536 = call ptr @s2n_strerror_debug(i32 noundef %1535, ptr noundef @.str.4)
  %1537 = call ptr @__errno_location() #12
  %1538 = load i32, ptr %1537, align 4, !tbaa !5
  %1539 = call ptr @strerror(i32 noundef %1538) #11
  %1540 = call ptr @__errno_location() #12
  %1541 = load i32, ptr %1540, align 4, !tbaa !5
  %1542 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1529, ptr noundef @.str.5, i32 noundef %1530, ptr noundef @.str.39, ptr noundef @.str.1, i32 noundef 208, ptr noundef %1533, ptr noundef %1536, ptr noundef %1539, i32 noundef %1541) #11
  br label %1543

1543:                                             ; preds = %1526, %1509
  call void @llvm.lifetime.end.p0(i64 4, ptr %58) #11
  br label %1544

1544:                                             ; preds = %1543
  br label %1545

1545:                                             ; preds = %1544
  call void @exit(i32 noundef 1) #13
  unreachable

1546:                                             ; No predecessors!
  br label %1547

1547:                                             ; preds = %1546
  br label %1548

1548:                                             ; preds = %1547, %1489
  br label %1549

1549:                                             ; preds = %1548
  br label %1550

1550:                                             ; preds = %1549
  br label %1551

1551:                                             ; preds = %1550
  %1552 = load i32, ptr @test_count, align 4, !tbaa !5
  %1553 = add nsw i32 %1552, 1
  store i32 %1553, ptr @test_count, align 4, !tbaa !5
  %1554 = load ptr, ptr %54, align 8, !tbaa !9
  %1555 = call ptr @PEM_read_bio_X509(ptr noundef %1554, ptr noundef null, ptr noundef null, ptr noundef null)
  store ptr %1555, ptr %52, align 8, !tbaa !9
  %1556 = icmp eq ptr %1555, null
  br i1 %1556, label %1557, label %1610

1557:                                             ; preds = %1551
  br label %1558

1558:                                             ; preds = %1557
  br label %1559

1559:                                             ; preds = %1558
  call void @llvm.lifetime.start.p0(i64 4, ptr %59) #11
  %1560 = call ptr @__errno_location() #12
  %1561 = load i32, ptr %1560, align 4, !tbaa !5
  store i32 %1561, ptr %59, align 4, !tbaa !5
  %1562 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1563 = call i32 @s2n_print_stacktrace(ptr noundef %1562)
  %1564 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %1565 = trunc i8 %1564 to i1
  br i1 %1565, label %1566, label %1588

1566:                                             ; preds = %1559
  %1567 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1568 = call i32 @fileno(ptr noundef %1567) #11
  %1569 = call i32 @isatty(i32 noundef %1568) #11
  %1570 = icmp ne i32 %1569, 0
  br i1 %1570, label %1571, label %1588

1571:                                             ; preds = %1566
  %1572 = load i32, ptr %59, align 4, !tbaa !5
  %1573 = call ptr @__errno_location() #12
  store i32 %1572, ptr %1573, align 4, !tbaa !5
  %1574 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1575 = load i32, ptr @test_count, align 4, !tbaa !5
  %1576 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1577 = load i32, ptr %1576, align 4, !tbaa !5
  %1578 = call ptr @s2n_strerror(i32 noundef %1577, ptr noundef @.str.4)
  %1579 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1580 = load i32, ptr %1579, align 4, !tbaa !5
  %1581 = call ptr @s2n_strerror_debug(i32 noundef %1580, ptr noundef @.str.4)
  %1582 = call ptr @__errno_location() #12
  %1583 = load i32, ptr %1582, align 4, !tbaa !5
  %1584 = call ptr @strerror(i32 noundef %1583) #11
  %1585 = call ptr @__errno_location() #12
  %1586 = load i32, ptr %1585, align 4, !tbaa !5
  %1587 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1574, ptr noundef @.str.2, i32 noundef %1575, ptr noundef @.str.40, ptr noundef @.str.1, i32 noundef 209, ptr noundef %1578, ptr noundef %1581, ptr noundef %1584, i32 noundef %1586) #11
  br label %1605

1588:                                             ; preds = %1566, %1559
  %1589 = load i32, ptr %59, align 4, !tbaa !5
  %1590 = call ptr @__errno_location() #12
  store i32 %1589, ptr %1590, align 4, !tbaa !5
  %1591 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1592 = load i32, ptr @test_count, align 4, !tbaa !5
  %1593 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1594 = load i32, ptr %1593, align 4, !tbaa !5
  %1595 = call ptr @s2n_strerror(i32 noundef %1594, ptr noundef @.str.4)
  %1596 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1597 = load i32, ptr %1596, align 4, !tbaa !5
  %1598 = call ptr @s2n_strerror_debug(i32 noundef %1597, ptr noundef @.str.4)
  %1599 = call ptr @__errno_location() #12
  %1600 = load i32, ptr %1599, align 4, !tbaa !5
  %1601 = call ptr @strerror(i32 noundef %1600) #11
  %1602 = call ptr @__errno_location() #12
  %1603 = load i32, ptr %1602, align 4, !tbaa !5
  %1604 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1591, ptr noundef @.str.5, i32 noundef %1592, ptr noundef @.str.40, ptr noundef @.str.1, i32 noundef 209, ptr noundef %1595, ptr noundef %1598, ptr noundef %1601, i32 noundef %1603) #11
  br label %1605

1605:                                             ; preds = %1588, %1571
  call void @llvm.lifetime.end.p0(i64 4, ptr %59) #11
  br label %1606

1606:                                             ; preds = %1605
  br label %1607

1607:                                             ; preds = %1606
  call void @exit(i32 noundef 1) #13
  unreachable

1608:                                             ; No predecessors!
  br label %1609

1609:                                             ; preds = %1608
  br label %1610

1610:                                             ; preds = %1609, %1551
  br label %1611

1611:                                             ; preds = %1610
  br label %1612

1612:                                             ; preds = %1611
  br label %1613

1613:                                             ; preds = %1612
  %1614 = load i32, ptr @test_count, align 4, !tbaa !5
  %1615 = add nsw i32 %1614, 1
  store i32 %1615, ptr @test_count, align 4, !tbaa !5
  %1616 = load ptr, ptr %54, align 8, !tbaa !9
  %1617 = call i32 @BIO_free(ptr noundef %1616)
  %1618 = icmp eq i32 %1617, -1
  br i1 %1618, label %1619, label %1672

1619:                                             ; preds = %1613
  br label %1620

1620:                                             ; preds = %1619
  br label %1621

1621:                                             ; preds = %1620
  call void @llvm.lifetime.start.p0(i64 4, ptr %60) #11
  %1622 = call ptr @__errno_location() #12
  %1623 = load i32, ptr %1622, align 4, !tbaa !5
  store i32 %1623, ptr %60, align 4, !tbaa !5
  %1624 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1625 = call i32 @s2n_print_stacktrace(ptr noundef %1624)
  %1626 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %1627 = trunc i8 %1626 to i1
  br i1 %1627, label %1628, label %1650

1628:                                             ; preds = %1621
  %1629 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1630 = call i32 @fileno(ptr noundef %1629) #11
  %1631 = call i32 @isatty(i32 noundef %1630) #11
  %1632 = icmp ne i32 %1631, 0
  br i1 %1632, label %1633, label %1650

1633:                                             ; preds = %1628
  %1634 = load i32, ptr %60, align 4, !tbaa !5
  %1635 = call ptr @__errno_location() #12
  store i32 %1634, ptr %1635, align 4, !tbaa !5
  %1636 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1637 = load i32, ptr @test_count, align 4, !tbaa !5
  %1638 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1639 = load i32, ptr %1638, align 4, !tbaa !5
  %1640 = call ptr @s2n_strerror(i32 noundef %1639, ptr noundef @.str.4)
  %1641 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1642 = load i32, ptr %1641, align 4, !tbaa !5
  %1643 = call ptr @s2n_strerror_debug(i32 noundef %1642, ptr noundef @.str.4)
  %1644 = call ptr @__errno_location() #12
  %1645 = load i32, ptr %1644, align 4, !tbaa !5
  %1646 = call ptr @strerror(i32 noundef %1645) #11
  %1647 = call ptr @__errno_location() #12
  %1648 = load i32, ptr %1647, align 4, !tbaa !5
  %1649 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1636, ptr noundef @.str.2, i32 noundef %1637, ptr noundef @.str.41, ptr noundef @.str.1, i32 noundef 210, ptr noundef %1640, ptr noundef %1643, ptr noundef %1646, i32 noundef %1648) #11
  br label %1667

1650:                                             ; preds = %1628, %1621
  %1651 = load i32, ptr %60, align 4, !tbaa !5
  %1652 = call ptr @__errno_location() #12
  store i32 %1651, ptr %1652, align 4, !tbaa !5
  %1653 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1654 = load i32, ptr @test_count, align 4, !tbaa !5
  %1655 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1656 = load i32, ptr %1655, align 4, !tbaa !5
  %1657 = call ptr @s2n_strerror(i32 noundef %1656, ptr noundef @.str.4)
  %1658 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1659 = load i32, ptr %1658, align 4, !tbaa !5
  %1660 = call ptr @s2n_strerror_debug(i32 noundef %1659, ptr noundef @.str.4)
  %1661 = call ptr @__errno_location() #12
  %1662 = load i32, ptr %1661, align 4, !tbaa !5
  %1663 = call ptr @strerror(i32 noundef %1662) #11
  %1664 = call ptr @__errno_location() #12
  %1665 = load i32, ptr %1664, align 4, !tbaa !5
  %1666 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1653, ptr noundef @.str.5, i32 noundef %1654, ptr noundef @.str.41, ptr noundef @.str.1, i32 noundef 210, ptr noundef %1657, ptr noundef %1660, ptr noundef %1663, i32 noundef %1665) #11
  br label %1667

1667:                                             ; preds = %1650, %1633
  call void @llvm.lifetime.end.p0(i64 4, ptr %60) #11
  br label %1668

1668:                                             ; preds = %1667
  br label %1669

1669:                                             ; preds = %1668
  call void @exit(i32 noundef 1) #13
  unreachable

1670:                                             ; No predecessors!
  br label %1671

1671:                                             ; preds = %1670
  br label %1672

1672:                                             ; preds = %1671, %1613
  br label %1673

1673:                                             ; preds = %1672
  br label %1674

1674:                                             ; preds = %1673
  call void @llvm.lifetime.start.p0(i64 20, ptr %61) #11
  call void @llvm.memset.p0.i64(ptr align 4 %61, i8 0, i64 20, i1 false)
  call void @llvm.lifetime.start.p0(i64 20, ptr %62) #11
  call void @llvm.memset.p0.i64(ptr align 4 %62, i8 0, i64 20, i1 false)
  call void @llvm.lifetime.start.p0(i64 20, ptr %63) #11
  call void @llvm.memset.p0.i64(ptr align 4 %63, i8 0, i64 20, i1 false)
  br label %1675

1675:                                             ; preds = %1674
  %1676 = load i32, ptr @test_count, align 4, !tbaa !5
  %1677 = add nsw i32 %1676, 1
  store i32 %1677, ptr @test_count, align 4, !tbaa !5
  %1678 = load ptr, ptr %50, align 8, !tbaa !9
  %1679 = call i32 @s2n_openssl_x509_get_cert_info(ptr noundef %1678, ptr noundef %61)
  %1680 = getelementptr inbounds %struct.s2n_result, ptr %64, i32 0, i32 0
  store i32 %1679, ptr %1680, align 4
  %1681 = getelementptr inbounds %struct.s2n_result, ptr %64, i32 0, i32 0
  %1682 = load i32, ptr %1681, align 4
  %1683 = call zeroext i1 @s2n_result_is_ok(i32 %1682)
  br i1 %1683, label %1737, label %1684

1684:                                             ; preds = %1675
  br label %1685

1685:                                             ; preds = %1684
  br label %1686

1686:                                             ; preds = %1685
  call void @llvm.lifetime.start.p0(i64 4, ptr %65) #11
  %1687 = call ptr @__errno_location() #12
  %1688 = load i32, ptr %1687, align 4, !tbaa !5
  store i32 %1688, ptr %65, align 4, !tbaa !5
  %1689 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1690 = call i32 @s2n_print_stacktrace(ptr noundef %1689)
  %1691 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %1692 = trunc i8 %1691 to i1
  br i1 %1692, label %1693, label %1715

1693:                                             ; preds = %1686
  %1694 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1695 = call i32 @fileno(ptr noundef %1694) #11
  %1696 = call i32 @isatty(i32 noundef %1695) #11
  %1697 = icmp ne i32 %1696, 0
  br i1 %1697, label %1698, label %1715

1698:                                             ; preds = %1693
  %1699 = load i32, ptr %65, align 4, !tbaa !5
  %1700 = call ptr @__errno_location() #12
  store i32 %1699, ptr %1700, align 4, !tbaa !5
  %1701 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1702 = load i32, ptr @test_count, align 4, !tbaa !5
  %1703 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1704 = load i32, ptr %1703, align 4, !tbaa !5
  %1705 = call ptr @s2n_strerror(i32 noundef %1704, ptr noundef @.str.4)
  %1706 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1707 = load i32, ptr %1706, align 4, !tbaa !5
  %1708 = call ptr @s2n_strerror_debug(i32 noundef %1707, ptr noundef @.str.4)
  %1709 = call ptr @__errno_location() #12
  %1710 = load i32, ptr %1709, align 4, !tbaa !5
  %1711 = call ptr @strerror(i32 noundef %1710) #11
  %1712 = call ptr @__errno_location() #12
  %1713 = load i32, ptr %1712, align 4, !tbaa !5
  %1714 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1701, ptr noundef @.str.2, i32 noundef %1702, ptr noundef @.str.42, ptr noundef @.str.1, i32 noundef 217, ptr noundef %1705, ptr noundef %1708, ptr noundef %1711, i32 noundef %1713) #11
  br label %1732

1715:                                             ; preds = %1693, %1686
  %1716 = load i32, ptr %65, align 4, !tbaa !5
  %1717 = call ptr @__errno_location() #12
  store i32 %1716, ptr %1717, align 4, !tbaa !5
  %1718 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1719 = load i32, ptr @test_count, align 4, !tbaa !5
  %1720 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1721 = load i32, ptr %1720, align 4, !tbaa !5
  %1722 = call ptr @s2n_strerror(i32 noundef %1721, ptr noundef @.str.4)
  %1723 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1724 = load i32, ptr %1723, align 4, !tbaa !5
  %1725 = call ptr @s2n_strerror_debug(i32 noundef %1724, ptr noundef @.str.4)
  %1726 = call ptr @__errno_location() #12
  %1727 = load i32, ptr %1726, align 4, !tbaa !5
  %1728 = call ptr @strerror(i32 noundef %1727) #11
  %1729 = call ptr @__errno_location() #12
  %1730 = load i32, ptr %1729, align 4, !tbaa !5
  %1731 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1718, ptr noundef @.str.5, i32 noundef %1719, ptr noundef @.str.42, ptr noundef @.str.1, i32 noundef 217, ptr noundef %1722, ptr noundef %1725, ptr noundef %1728, i32 noundef %1730) #11
  br label %1732

1732:                                             ; preds = %1715, %1698
  call void @llvm.lifetime.end.p0(i64 4, ptr %65) #11
  br label %1733

1733:                                             ; preds = %1732
  br label %1734

1734:                                             ; preds = %1733
  call void @exit(i32 noundef 1) #13
  unreachable

1735:                                             ; No predecessors!
  br label %1736

1736:                                             ; preds = %1735
  br label %1737

1737:                                             ; preds = %1736, %1675
  br label %1738

1738:                                             ; preds = %1737
  br label %1739

1739:                                             ; preds = %1738
  br label %1740

1740:                                             ; preds = %1739
  %1741 = load i32, ptr @test_count, align 4, !tbaa !5
  %1742 = add nsw i32 %1741, 1
  store i32 %1742, ptr @test_count, align 4, !tbaa !5
  %1743 = load ptr, ptr %51, align 8, !tbaa !9
  %1744 = call i32 @s2n_openssl_x509_get_cert_info(ptr noundef %1743, ptr noundef %62)
  %1745 = getelementptr inbounds %struct.s2n_result, ptr %66, i32 0, i32 0
  store i32 %1744, ptr %1745, align 4
  %1746 = getelementptr inbounds %struct.s2n_result, ptr %66, i32 0, i32 0
  %1747 = load i32, ptr %1746, align 4
  %1748 = call zeroext i1 @s2n_result_is_ok(i32 %1747)
  br i1 %1748, label %1802, label %1749

1749:                                             ; preds = %1740
  br label %1750

1750:                                             ; preds = %1749
  br label %1751

1751:                                             ; preds = %1750
  call void @llvm.lifetime.start.p0(i64 4, ptr %67) #11
  %1752 = call ptr @__errno_location() #12
  %1753 = load i32, ptr %1752, align 4, !tbaa !5
  store i32 %1753, ptr %67, align 4, !tbaa !5
  %1754 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1755 = call i32 @s2n_print_stacktrace(ptr noundef %1754)
  %1756 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %1757 = trunc i8 %1756 to i1
  br i1 %1757, label %1758, label %1780

1758:                                             ; preds = %1751
  %1759 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1760 = call i32 @fileno(ptr noundef %1759) #11
  %1761 = call i32 @isatty(i32 noundef %1760) #11
  %1762 = icmp ne i32 %1761, 0
  br i1 %1762, label %1763, label %1780

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

1780:                                             ; preds = %1758, %1751
  %1781 = load i32, ptr %67, align 4, !tbaa !5
  %1782 = call ptr @__errno_location() #12
  store i32 %1781, ptr %1782, align 4, !tbaa !5
  %1783 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1784 = load i32, ptr @test_count, align 4, !tbaa !5
  %1785 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1786 = load i32, ptr %1785, align 4, !tbaa !5
  %1787 = call ptr @s2n_strerror(i32 noundef %1786, ptr noundef @.str.4)
  %1788 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1789 = load i32, ptr %1788, align 4, !tbaa !5
  %1790 = call ptr @s2n_strerror_debug(i32 noundef %1789, ptr noundef @.str.4)
  %1791 = call ptr @__errno_location() #12
  %1792 = load i32, ptr %1791, align 4, !tbaa !5
  %1793 = call ptr @strerror(i32 noundef %1792) #11
  %1794 = call ptr @__errno_location() #12
  %1795 = load i32, ptr %1794, align 4, !tbaa !5
  %1796 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1783, ptr noundef @.str.5, i32 noundef %1784, ptr noundef @.str.43, ptr noundef @.str.1, i32 noundef 218, ptr noundef %1787, ptr noundef %1790, ptr noundef %1793, i32 noundef %1795) #11
  br label %1797

1797:                                             ; preds = %1780, %1763
  call void @llvm.lifetime.end.p0(i64 4, ptr %67) #11
  br label %1798

1798:                                             ; preds = %1797
  br label %1799

1799:                                             ; preds = %1798
  call void @exit(i32 noundef 1) #13
  unreachable

1800:                                             ; No predecessors!
  br label %1801

1801:                                             ; preds = %1800
  br label %1802

1802:                                             ; preds = %1801, %1740
  br label %1803

1803:                                             ; preds = %1802
  br label %1804

1804:                                             ; preds = %1803
  br label %1805

1805:                                             ; preds = %1804
  %1806 = load i32, ptr @test_count, align 4, !tbaa !5
  %1807 = add nsw i32 %1806, 1
  store i32 %1807, ptr @test_count, align 4, !tbaa !5
  %1808 = load ptr, ptr %52, align 8, !tbaa !9
  %1809 = call i32 @s2n_openssl_x509_get_cert_info(ptr noundef %1808, ptr noundef %63)
  %1810 = getelementptr inbounds %struct.s2n_result, ptr %68, i32 0, i32 0
  store i32 %1809, ptr %1810, align 4
  %1811 = getelementptr inbounds %struct.s2n_result, ptr %68, i32 0, i32 0
  %1812 = load i32, ptr %1811, align 4
  %1813 = call zeroext i1 @s2n_result_is_ok(i32 %1812)
  br i1 %1813, label %1867, label %1814

1814:                                             ; preds = %1805
  br label %1815

1815:                                             ; preds = %1814
  br label %1816

1816:                                             ; preds = %1815
  call void @llvm.lifetime.start.p0(i64 4, ptr %69) #11
  %1817 = call ptr @__errno_location() #12
  %1818 = load i32, ptr %1817, align 4, !tbaa !5
  store i32 %1818, ptr %69, align 4, !tbaa !5
  %1819 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1820 = call i32 @s2n_print_stacktrace(ptr noundef %1819)
  %1821 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %1822 = trunc i8 %1821 to i1
  br i1 %1822, label %1823, label %1845

1823:                                             ; preds = %1816
  %1824 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1825 = call i32 @fileno(ptr noundef %1824) #11
  %1826 = call i32 @isatty(i32 noundef %1825) #11
  %1827 = icmp ne i32 %1826, 0
  br i1 %1827, label %1828, label %1845

1828:                                             ; preds = %1823
  %1829 = load i32, ptr %69, align 4, !tbaa !5
  %1830 = call ptr @__errno_location() #12
  store i32 %1829, ptr %1830, align 4, !tbaa !5
  %1831 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1832 = load i32, ptr @test_count, align 4, !tbaa !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(i32 noundef %1834, ptr noundef @.str.4)
  %1836 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1837 = load i32, ptr %1836, align 4, !tbaa !5
  %1838 = call ptr @s2n_strerror_debug(i32 noundef %1837, ptr noundef @.str.4)
  %1839 = call ptr @__errno_location() #12
  %1840 = load i32, ptr %1839, align 4, !tbaa !5
  %1841 = call ptr @strerror(i32 noundef %1840) #11
  %1842 = call ptr @__errno_location() #12
  %1843 = load i32, ptr %1842, align 4, !tbaa !5
  %1844 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1831, ptr noundef @.str.2, i32 noundef %1832, ptr noundef @.str.44, ptr noundef @.str.1, i32 noundef 219, ptr noundef %1835, ptr noundef %1838, ptr noundef %1841, i32 noundef %1843) #11
  br label %1862

1845:                                             ; preds = %1823, %1816
  %1846 = load i32, ptr %69, align 4, !tbaa !5
  %1847 = call ptr @__errno_location() #12
  store i32 %1846, ptr %1847, align 4, !tbaa !5
  %1848 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1849 = load i32, ptr @test_count, align 4, !tbaa !5
  %1850 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1851 = load i32, ptr %1850, align 4, !tbaa !5
  %1852 = call ptr @s2n_strerror(i32 noundef %1851, ptr noundef @.str.4)
  %1853 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1854 = load i32, ptr %1853, align 4, !tbaa !5
  %1855 = call ptr @s2n_strerror_debug(i32 noundef %1854, ptr noundef @.str.4)
  %1856 = call ptr @__errno_location() #12
  %1857 = load i32, ptr %1856, align 4, !tbaa !5
  %1858 = call ptr @strerror(i32 noundef %1857) #11
  %1859 = call ptr @__errno_location() #12
  %1860 = load i32, ptr %1859, align 4, !tbaa !5
  %1861 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1848, ptr noundef @.str.5, i32 noundef %1849, ptr noundef @.str.44, ptr noundef @.str.1, i32 noundef 219, ptr noundef %1852, ptr noundef %1855, ptr noundef %1858, i32 noundef %1860) #11
  br label %1862

1862:                                             ; preds = %1845, %1828
  call void @llvm.lifetime.end.p0(i64 4, ptr %69) #11
  br label %1863

1863:                                             ; preds = %1862
  br label %1864

1864:                                             ; preds = %1863
  call void @exit(i32 noundef 1) #13
  unreachable

1865:                                             ; No predecessors!
  br label %1866

1866:                                             ; preds = %1865
  br label %1867

1867:                                             ; preds = %1866, %1805
  br label %1868

1868:                                             ; preds = %1867
  br label %1869

1869:                                             ; preds = %1868
  call void @llvm.lifetime.start.p0(i64 20, ptr %70) #11
  %1870 = getelementptr inbounds %struct.s2n_cert_info, ptr %70, i32 0, i32 0
  %1871 = load i64, ptr %44, align 8, !tbaa !15
  %1872 = getelementptr inbounds [6 x %struct.anon], ptr %43, i64 0, i64 %1871
  %1873 = getelementptr inbounds %struct.anon, ptr %1872, i32 0, i32 4
  %1874 = load i32, ptr %1873, align 16, !tbaa !22
  store i32 %1874, ptr %1870, align 4, !tbaa !23
  %1875 = getelementptr inbounds %struct.s2n_cert_info, ptr %70, i32 0, i32 1
  %1876 = load i64, ptr %44, align 8, !tbaa !15
  %1877 = getelementptr inbounds [6 x %struct.anon], ptr %43, i64 0, i64 %1876
  %1878 = getelementptr inbounds %struct.anon, ptr %1877, i32 0, i32 5
  %1879 = load i32, ptr %1878, align 4, !tbaa !25
  store i32 %1879, ptr %1875, align 4, !tbaa !26
  %1880 = getelementptr inbounds %struct.s2n_cert_info, ptr %70, i32 0, i32 2
  %1881 = load i64, ptr %44, align 8, !tbaa !15
  %1882 = getelementptr inbounds [6 x %struct.anon], ptr %43, i64 0, i64 %1881
  %1883 = getelementptr inbounds %struct.anon, ptr %1882, i32 0, i32 6
  %1884 = load i32, ptr %1883, align 8, !tbaa !27
  store i32 %1884, ptr %1880, align 4, !tbaa !28
  %1885 = getelementptr inbounds %struct.s2n_cert_info, ptr %70, i32 0, i32 3
  %1886 = load i64, ptr %44, align 8, !tbaa !15
  %1887 = getelementptr inbounds [6 x %struct.anon], ptr %43, i64 0, i64 %1886
  %1888 = getelementptr inbounds %struct.anon, ptr %1887, i32 0, i32 7
  %1889 = load i32, ptr %1888, align 4, !tbaa !29
  store i32 %1889, ptr %1885, align 4, !tbaa !30
  %1890 = getelementptr inbounds %struct.s2n_cert_info, ptr %70, i32 0, i32 4
  store i8 0, ptr %1890, align 4, !tbaa !31
  br label %1891

1891:                                             ; preds = %1869
  %1892 = load i32, ptr @test_count, align 4, !tbaa !5
  %1893 = add nsw i32 %1892, 1
  store i32 %1893, ptr @test_count, align 4, !tbaa !5
  %1894 = call i32 @s2n_test_assert_s2n_cert_info_equality(ptr noundef %61, ptr noundef %70)
  %1895 = getelementptr inbounds %struct.s2n_result, ptr %71, i32 0, i32 0
  store i32 %1894, ptr %1895, align 4
  %1896 = getelementptr inbounds %struct.s2n_result, ptr %71, i32 0, i32 0
  %1897 = load i32, ptr %1896, align 4
  %1898 = call zeroext i1 @s2n_result_is_ok(i32 %1897)
  br i1 %1898, label %1952, label %1899

1899:                                             ; preds = %1891
  br label %1900

1900:                                             ; preds = %1899
  br label %1901

1901:                                             ; preds = %1900
  call void @llvm.lifetime.start.p0(i64 4, ptr %72) #11
  %1902 = call ptr @__errno_location() #12
  %1903 = load i32, ptr %1902, align 4, !tbaa !5
  store i32 %1903, ptr %72, align 4, !tbaa !5
  %1904 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1905 = call i32 @s2n_print_stacktrace(ptr noundef %1904)
  %1906 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %1907 = trunc i8 %1906 to i1
  br i1 %1907, label %1908, label %1930

1908:                                             ; preds = %1901
  %1909 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1910 = call i32 @fileno(ptr noundef %1909) #11
  %1911 = call i32 @isatty(i32 noundef %1910) #11
  %1912 = icmp ne i32 %1911, 0
  br i1 %1912, label %1913, label %1930

1913:                                             ; preds = %1908
  %1914 = load i32, ptr %72, align 4, !tbaa !5
  %1915 = call ptr @__errno_location() #12
  store i32 %1914, ptr %1915, align 4, !tbaa !5
  %1916 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1917 = load i32, ptr @test_count, align 4, !tbaa !5
  %1918 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1919 = load i32, ptr %1918, align 4, !tbaa !5
  %1920 = call ptr @s2n_strerror(i32 noundef %1919, ptr noundef @.str.4)
  %1921 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1922 = load i32, ptr %1921, align 4, !tbaa !5
  %1923 = call ptr @s2n_strerror_debug(i32 noundef %1922, ptr noundef @.str.4)
  %1924 = call ptr @__errno_location() #12
  %1925 = load i32, ptr %1924, align 4, !tbaa !5
  %1926 = call ptr @strerror(i32 noundef %1925) #11
  %1927 = call ptr @__errno_location() #12
  %1928 = load i32, ptr %1927, align 4, !tbaa !5
  %1929 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1916, ptr noundef @.str.2, i32 noundef %1917, ptr noundef @.str.45, ptr noundef @.str.1, i32 noundef 230, ptr noundef %1920, ptr noundef %1923, ptr noundef %1926, i32 noundef %1928) #11
  br label %1947

1930:                                             ; preds = %1908, %1901
  %1931 = load i32, ptr %72, align 4, !tbaa !5
  %1932 = call ptr @__errno_location() #12
  store i32 %1931, ptr %1932, align 4, !tbaa !5
  %1933 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1934 = load i32, ptr @test_count, align 4, !tbaa !5
  %1935 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1936 = load i32, ptr %1935, align 4, !tbaa !5
  %1937 = call ptr @s2n_strerror(i32 noundef %1936, ptr noundef @.str.4)
  %1938 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1939 = load i32, ptr %1938, align 4, !tbaa !5
  %1940 = call ptr @s2n_strerror_debug(i32 noundef %1939, ptr noundef @.str.4)
  %1941 = call ptr @__errno_location() #12
  %1942 = load i32, ptr %1941, align 4, !tbaa !5
  %1943 = call ptr @strerror(i32 noundef %1942) #11
  %1944 = call ptr @__errno_location() #12
  %1945 = load i32, ptr %1944, align 4, !tbaa !5
  %1946 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1933, ptr noundef @.str.5, i32 noundef %1934, ptr noundef @.str.45, ptr noundef @.str.1, i32 noundef 230, ptr noundef %1937, ptr noundef %1940, ptr noundef %1943, i32 noundef %1945) #11
  br label %1947

1947:                                             ; preds = %1930, %1913
  call void @llvm.lifetime.end.p0(i64 4, ptr %72) #11
  br label %1948

1948:                                             ; preds = %1947
  br label %1949

1949:                                             ; preds = %1948
  call void @exit(i32 noundef 1) #13
  unreachable

1950:                                             ; No predecessors!
  br label %1951

1951:                                             ; preds = %1950
  br label %1952

1952:                                             ; preds = %1951, %1891
  br label %1953

1953:                                             ; preds = %1952
  br label %1954

1954:                                             ; preds = %1953
  br label %1955

1955:                                             ; preds = %1954
  %1956 = load i32, ptr @test_count, align 4, !tbaa !5
  %1957 = add nsw i32 %1956, 1
  store i32 %1957, ptr @test_count, align 4, !tbaa !5
  %1958 = call i32 @s2n_test_assert_s2n_cert_info_equality(ptr noundef %62, ptr noundef %70)
  %1959 = getelementptr inbounds %struct.s2n_result, ptr %73, i32 0, i32 0
  store i32 %1958, ptr %1959, align 4
  %1960 = getelementptr inbounds %struct.s2n_result, ptr %73, i32 0, i32 0
  %1961 = load i32, ptr %1960, align 4
  %1962 = call zeroext i1 @s2n_result_is_ok(i32 %1961)
  br i1 %1962, label %2016, label %1963

1963:                                             ; preds = %1955
  br label %1964

1964:                                             ; preds = %1963
  br label %1965

1965:                                             ; preds = %1964
  call void @llvm.lifetime.start.p0(i64 4, ptr %74) #11
  %1966 = call ptr @__errno_location() #12
  %1967 = load i32, ptr %1966, align 4, !tbaa !5
  store i32 %1967, ptr %74, align 4, !tbaa !5
  %1968 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1969 = call i32 @s2n_print_stacktrace(ptr noundef %1968)
  %1970 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %1971 = trunc i8 %1970 to i1
  br i1 %1971, label %1972, label %1994

1972:                                             ; preds = %1965
  %1973 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1974 = call i32 @fileno(ptr noundef %1973) #11
  %1975 = call i32 @isatty(i32 noundef %1974) #11
  %1976 = icmp ne i32 %1975, 0
  br i1 %1976, label %1977, label %1994

1977:                                             ; preds = %1972
  %1978 = load i32, ptr %74, align 4, !tbaa !5
  %1979 = call ptr @__errno_location() #12
  store i32 %1978, ptr %1979, align 4, !tbaa !5
  %1980 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1981 = load i32, ptr @test_count, align 4, !tbaa !5
  %1982 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1983 = load i32, ptr %1982, align 4, !tbaa !5
  %1984 = call ptr @s2n_strerror(i32 noundef %1983, ptr noundef @.str.4)
  %1985 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1986 = load i32, ptr %1985, align 4, !tbaa !5
  %1987 = call ptr @s2n_strerror_debug(i32 noundef %1986, ptr noundef @.str.4)
  %1988 = call ptr @__errno_location() #12
  %1989 = load i32, ptr %1988, align 4, !tbaa !5
  %1990 = call ptr @strerror(i32 noundef %1989) #11
  %1991 = call ptr @__errno_location() #12
  %1992 = load i32, ptr %1991, align 4, !tbaa !5
  %1993 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1980, ptr noundef @.str.2, i32 noundef %1981, ptr noundef @.str.46, ptr noundef @.str.1, i32 noundef 231, ptr noundef %1984, ptr noundef %1987, ptr noundef %1990, i32 noundef %1992) #11
  br label %2011

1994:                                             ; preds = %1972, %1965
  %1995 = load i32, ptr %74, align 4, !tbaa !5
  %1996 = call ptr @__errno_location() #12
  store i32 %1995, ptr %1996, align 4, !tbaa !5
  %1997 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1998 = load i32, ptr @test_count, align 4, !tbaa !5
  %1999 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %2000 = load i32, ptr %1999, align 4, !tbaa !5
  %2001 = call ptr @s2n_strerror(i32 noundef %2000, ptr noundef @.str.4)
  %2002 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %2003 = load i32, ptr %2002, align 4, !tbaa !5
  %2004 = call ptr @s2n_strerror_debug(i32 noundef %2003, ptr noundef @.str.4)
  %2005 = call ptr @__errno_location() #12
  %2006 = load i32, ptr %2005, align 4, !tbaa !5
  %2007 = call ptr @strerror(i32 noundef %2006) #11
  %2008 = call ptr @__errno_location() #12
  %2009 = load i32, ptr %2008, align 4, !tbaa !5
  %2010 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1997, ptr noundef @.str.5, i32 noundef %1998, ptr noundef @.str.46, ptr noundef @.str.1, i32 noundef 231, ptr noundef %2001, ptr noundef %2004, ptr noundef %2007, i32 noundef %2009) #11
  br label %2011

2011:                                             ; preds = %1994, %1977
  call void @llvm.lifetime.end.p0(i64 4, ptr %74) #11
  br label %2012

2012:                                             ; preds = %2011
  br label %2013

2013:                                             ; preds = %2012
  call void @exit(i32 noundef 1) #13
  unreachable

2014:                                             ; No predecessors!
  br label %2015

2015:                                             ; preds = %2014
  br label %2016

2016:                                             ; preds = %2015, %1955
  br label %2017

2017:                                             ; preds = %2016
  br label %2018

2018:                                             ; preds = %2017
  %2019 = getelementptr inbounds %struct.s2n_cert_info, ptr %70, i32 0, i32 4
  store i8 1, ptr %2019, align 4, !tbaa !31
  br label %2020

2020:                                             ; preds = %2018
  %2021 = load i32, ptr @test_count, align 4, !tbaa !5
  %2022 = add nsw i32 %2021, 1
  store i32 %2022, ptr @test_count, align 4, !tbaa !5
  %2023 = call i32 @s2n_test_assert_s2n_cert_info_equality(ptr noundef %63, ptr noundef %70)
  %2024 = getelementptr inbounds %struct.s2n_result, ptr %75, i32 0, i32 0
  store i32 %2023, ptr %2024, align 4
  %2025 = getelementptr inbounds %struct.s2n_result, ptr %75, i32 0, i32 0
  %2026 = load i32, ptr %2025, align 4
  %2027 = call zeroext i1 @s2n_result_is_ok(i32 %2026)
  br i1 %2027, label %2081, label %2028

2028:                                             ; preds = %2020
  br label %2029

2029:                                             ; preds = %2028
  br label %2030

2030:                                             ; preds = %2029
  call void @llvm.lifetime.start.p0(i64 4, ptr %76) #11
  %2031 = call ptr @__errno_location() #12
  %2032 = load i32, ptr %2031, align 4, !tbaa !5
  store i32 %2032, ptr %76, align 4, !tbaa !5
  %2033 = load ptr, ptr @stderr, align 8, !tbaa !9
  %2034 = call i32 @s2n_print_stacktrace(ptr noundef %2033)
  %2035 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %2036 = trunc i8 %2035 to i1
  br i1 %2036, label %2037, label %2059

2037:                                             ; preds = %2030
  %2038 = load ptr, ptr @stderr, align 8, !tbaa !9
  %2039 = call i32 @fileno(ptr noundef %2038) #11
  %2040 = call i32 @isatty(i32 noundef %2039) #11
  %2041 = icmp ne i32 %2040, 0
  br i1 %2041, label %2042, label %2059

2042:                                             ; preds = %2037
  %2043 = load i32, ptr %76, align 4, !tbaa !5
  %2044 = call ptr @__errno_location() #12
  store i32 %2043, ptr %2044, align 4, !tbaa !5
  %2045 = load ptr, ptr @stderr, align 8, !tbaa !9
  %2046 = load i32, ptr @test_count, align 4, !tbaa !5
  %2047 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %2048 = load i32, ptr %2047, align 4, !tbaa !5
  %2049 = call ptr @s2n_strerror(i32 noundef %2048, ptr noundef @.str.4)
  %2050 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %2051 = load i32, ptr %2050, align 4, !tbaa !5
  %2052 = call ptr @s2n_strerror_debug(i32 noundef %2051, ptr noundef @.str.4)
  %2053 = call ptr @__errno_location() #12
  %2054 = load i32, ptr %2053, align 4, !tbaa !5
  %2055 = call ptr @strerror(i32 noundef %2054) #11
  %2056 = call ptr @__errno_location() #12
  %2057 = load i32, ptr %2056, align 4, !tbaa !5
  %2058 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %2045, ptr noundef @.str.2, i32 noundef %2046, ptr noundef @.str.47, ptr noundef @.str.1, i32 noundef 234, ptr noundef %2049, ptr noundef %2052, ptr noundef %2055, i32 noundef %2057) #11
  br label %2076

2059:                                             ; preds = %2037, %2030
  %2060 = load i32, ptr %76, align 4, !tbaa !5
  %2061 = call ptr @__errno_location() #12
  store i32 %2060, ptr %2061, align 4, !tbaa !5
  %2062 = load ptr, ptr @stderr, align 8, !tbaa !9
  %2063 = load i32, ptr @test_count, align 4, !tbaa !5
  %2064 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %2065 = load i32, ptr %2064, align 4, !tbaa !5
  %2066 = call ptr @s2n_strerror(i32 noundef %2065, ptr noundef @.str.4)
  %2067 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %2068 = load i32, ptr %2067, align 4, !tbaa !5
  %2069 = call ptr @s2n_strerror_debug(i32 noundef %2068, ptr noundef @.str.4)
  %2070 = call ptr @__errno_location() #12
  %2071 = load i32, ptr %2070, align 4, !tbaa !5
  %2072 = call ptr @strerror(i32 noundef %2071) #11
  %2073 = call ptr @__errno_location() #12
  %2074 = load i32, ptr %2073, align 4, !tbaa !5
  %2075 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %2062, ptr noundef @.str.5, i32 noundef %2063, ptr noundef @.str.47, ptr noundef @.str.1, i32 noundef 234, ptr noundef %2066, ptr noundef %2069, ptr noundef %2072, i32 noundef %2074) #11
  br label %2076

2076:                                             ; preds = %2059, %2042
  call void @llvm.lifetime.end.p0(i64 4, ptr %76) #11
  br label %2077

2077:                                             ; preds = %2076
  br label %2078

2078:                                             ; preds = %2077
  call void @exit(i32 noundef 1) #13
  unreachable

2079:                                             ; No predecessors!
  br label %2080

2080:                                             ; preds = %2079
  br label %2081

2081:                                             ; preds = %2080, %2020
  br label %2082

2082:                                             ; preds = %2081
  br label %2083

2083:                                             ; preds = %2082
  call void @llvm.lifetime.end.p0(i64 20, ptr %70) #11
  call void @llvm.lifetime.end.p0(i64 20, ptr %63) #11
  call void @llvm.lifetime.end.p0(i64 20, ptr %62) #11
  call void @llvm.lifetime.end.p0(i64 20, ptr %61) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %54) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %53) #11
  call void @X509_free_pointer(ptr noundef %52)
  call void @llvm.lifetime.end.p0(i64 8, ptr %52) #11
  call void @X509_free_pointer(ptr noundef %51)
  call void @llvm.lifetime.end.p0(i64 8, ptr %51) #11
  call void @X509_free_pointer(ptr noundef %50)
  call void @llvm.lifetime.end.p0(i64 8, ptr %50) #11
  call void @llvm.lifetime.end.p0(i64 12000, ptr %46) #11
  call void @llvm.lifetime.end.p0(i64 512, ptr %45) #11
  br label %2084

2084:                                             ; preds = %2083
  %2085 = load i64, ptr %44, align 8, !tbaa !15
  %2086 = add i64 %2085, 1
  store i64 %2086, ptr %44, align 8, !tbaa !15
  br label %1149, !llvm.loop !32

2087:                                             ; preds = %1152
  br label %2088

2088:                                             ; preds = %2087
  br label %2089

2089:                                             ; preds = %2088
  %2090 = call i32 @s2n_cleanup()
  %2091 = icmp eq i32 %2090, -1
  br i1 %2091, label %2092, label %2145

2092:                                             ; preds = %2089
  br label %2093

2093:                                             ; preds = %2092
  br label %2094

2094:                                             ; preds = %2093
  call void @llvm.lifetime.start.p0(i64 4, ptr %77) #11
  %2095 = call ptr @__errno_location() #12
  %2096 = load i32, ptr %2095, align 4, !tbaa !5
  store i32 %2096, ptr %77, align 4, !tbaa !5
  %2097 = load ptr, ptr @stderr, align 8, !tbaa !9
  %2098 = call i32 @s2n_print_stacktrace(ptr noundef %2097)
  %2099 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %2100 = trunc i8 %2099 to i1
  br i1 %2100, label %2101, label %2123

2101:                                             ; preds = %2094
  %2102 = load ptr, ptr @stderr, align 8, !tbaa !9
  %2103 = call i32 @fileno(ptr noundef %2102) #11
  %2104 = call i32 @isatty(i32 noundef %2103) #11
  %2105 = icmp ne i32 %2104, 0
  br i1 %2105, label %2106, label %2123

2106:                                             ; preds = %2101
  %2107 = load i32, ptr %77, align 4, !tbaa !5
  %2108 = call ptr @__errno_location() #12
  store i32 %2107, ptr %2108, align 4, !tbaa !5
  %2109 = load ptr, ptr @stderr, align 8, !tbaa !9
  %2110 = load i32, ptr @test_count, align 4, !tbaa !5
  %2111 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %2112 = load i32, ptr %2111, align 4, !tbaa !5
  %2113 = call ptr @s2n_strerror(i32 noundef %2112, ptr noundef @.str.4)
  %2114 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %2115 = load i32, ptr %2114, align 4, !tbaa !5
  %2116 = call ptr @s2n_strerror_debug(i32 noundef %2115, ptr noundef @.str.4)
  %2117 = call ptr @__errno_location() #12
  %2118 = load i32, ptr %2117, align 4, !tbaa !5
  %2119 = call ptr @strerror(i32 noundef %2118) #11
  %2120 = call ptr @__errno_location() #12
  %2121 = load i32, ptr %2120, align 4, !tbaa !5
  %2122 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %2109, ptr noundef @.str.2, i32 noundef %2110, ptr noundef @.str.48, ptr noundef @.str.1, i32 noundef 237, ptr noundef %2113, ptr noundef %2116, ptr noundef %2119, i32 noundef %2121) #11
  br label %2140

2123:                                             ; preds = %2101, %2094
  %2124 = load i32, ptr %77, align 4, !tbaa !5
  %2125 = call ptr @__errno_location() #12
  store i32 %2124, ptr %2125, align 4, !tbaa !5
  %2126 = load ptr, ptr @stderr, align 8, !tbaa !9
  %2127 = load i32, ptr @test_count, align 4, !tbaa !5
  %2128 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %2129 = load i32, ptr %2128, align 4, !tbaa !5
  %2130 = call ptr @s2n_strerror(i32 noundef %2129, ptr noundef @.str.4)
  %2131 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %2132 = load i32, ptr %2131, align 4, !tbaa !5
  %2133 = call ptr @s2n_strerror_debug(i32 noundef %2132, ptr noundef @.str.4)
  %2134 = call ptr @__errno_location() #12
  %2135 = load i32, ptr %2134, align 4, !tbaa !5
  %2136 = call ptr @strerror(i32 noundef %2135) #11
  %2137 = call ptr @__errno_location() #12
  %2138 = load i32, ptr %2137, align 4, !tbaa !5
  %2139 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %2126, ptr noundef @.str.5, i32 noundef %2127, ptr noundef @.str.48, ptr noundef @.str.1, i32 noundef 237, ptr noundef %2130, ptr noundef %2133, ptr noundef %2136, i32 noundef %2138) #11
  br label %2140

2140:                                             ; preds = %2123, %2106
  call void @llvm.lifetime.end.p0(i64 4, ptr %77) #11
  br label %2141

2141:                                             ; preds = %2140
  br label %2142

2142:                                             ; preds = %2141
  call void @exit(i32 noundef 1) #13
  unreachable

2143:                                             ; No predecessors!
  br label %2144

2144:                                             ; preds = %2143
  br label %2145

2145:                                             ; preds = %2144, %2089
  br label %2146

2146:                                             ; preds = %2145
  br label %2147

2147:                                             ; preds = %2146
  br label %2148

2148:                                             ; preds = %2147
  br label %2149

2149:                                             ; preds = %2148
  %2150 = call i32 @s2n_in_unit_test_set(i1 noundef zeroext false)
  %2151 = icmp eq i32 %2150, -1
  br i1 %2151, label %2152, label %2205

2152:                                             ; preds = %2149
  br label %2153

2153:                                             ; preds = %2152
  br label %2154

2154:                                             ; preds = %2153
  call void @llvm.lifetime.start.p0(i64 4, ptr %78) #11
  %2155 = call ptr @__errno_location() #12
  %2156 = load i32, ptr %2155, align 4, !tbaa !5
  store i32 %2156, ptr %78, align 4, !tbaa !5
  %2157 = load ptr, ptr @stderr, align 8, !tbaa !9
  %2158 = call i32 @s2n_print_stacktrace(ptr noundef %2157)
  %2159 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %2160 = trunc i8 %2159 to i1
  br i1 %2160, label %2161, label %2183

2161:                                             ; preds = %2154
  %2162 = load ptr, ptr @stderr, align 8, !tbaa !9
  %2163 = call i32 @fileno(ptr noundef %2162) #11
  %2164 = call i32 @isatty(i32 noundef %2163) #11
  %2165 = icmp ne i32 %2164, 0
  br i1 %2165, label %2166, label %2183

2166:                                             ; preds = %2161
  %2167 = load i32, ptr %78, align 4, !tbaa !5
  %2168 = call ptr @__errno_location() #12
  store i32 %2167, ptr %2168, align 4, !tbaa !5
  %2169 = load ptr, ptr @stderr, align 8, !tbaa !9
  %2170 = load i32, ptr @test_count, align 4, !tbaa !5
  %2171 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %2172 = load i32, ptr %2171, align 4, !tbaa !5
  %2173 = call ptr @s2n_strerror(i32 noundef %2172, ptr noundef @.str.4)
  %2174 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %2175 = load i32, ptr %2174, align 4, !tbaa !5
  %2176 = call ptr @s2n_strerror_debug(i32 noundef %2175, ptr noundef @.str.4)
  %2177 = call ptr @__errno_location() #12
  %2178 = load i32, ptr %2177, align 4, !tbaa !5
  %2179 = call ptr @strerror(i32 noundef %2178) #11
  %2180 = call ptr @__errno_location() #12
  %2181 = load i32, ptr %2180, align 4, !tbaa !5
  %2182 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %2169, ptr noundef @.str.2, i32 noundef %2170, ptr noundef @.str.49, ptr noundef @.str.1, i32 noundef 237, ptr noundef %2173, ptr noundef %2176, ptr noundef %2179, i32 noundef %2181) #11
  br label %2200

2183:                                             ; preds = %2161, %2154
  %2184 = load i32, ptr %78, align 4, !tbaa !5
  %2185 = call ptr @__errno_location() #12
  store i32 %2184, ptr %2185, align 4, !tbaa !5
  %2186 = load ptr, ptr @stderr, align 8, !tbaa !9
  %2187 = load i32, ptr @test_count, align 4, !tbaa !5
  %2188 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %2189 = load i32, ptr %2188, align 4, !tbaa !5
  %2190 = call ptr @s2n_strerror(i32 noundef %2189, ptr noundef @.str.4)
  %2191 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %2192 = load i32, ptr %2191, align 4, !tbaa !5
  %2193 = call ptr @s2n_strerror_debug(i32 noundef %2192, ptr noundef @.str.4)
  %2194 = call ptr @__errno_location() #12
  %2195 = load i32, ptr %2194, align 4, !tbaa !5
  %2196 = call ptr @strerror(i32 noundef %2195) #11
  %2197 = call ptr @__errno_location() #12
  %2198 = load i32, ptr %2197, align 4, !tbaa !5
  %2199 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %2186, ptr noundef @.str.5, i32 noundef %2187, ptr noundef @.str.49, ptr noundef @.str.1, i32 noundef 237, ptr noundef %2190, ptr noundef %2193, ptr noundef %2196, i32 noundef %2198) #11
  br label %2200

2200:                                             ; preds = %2183, %2166
  call void @llvm.lifetime.end.p0(i64 4, ptr %78) #11
  br label %2201

2201:                                             ; preds = %2200
  br label %2202

2202:                                             ; preds = %2201
  call void @exit(i32 noundef 1) #13
  unreachable

2203:                                             ; No predecessors!
  br label %2204

2204:                                             ; preds = %2203
  br label %2205

2205:                                             ; preds = %2204, %2149
  br label %2206

2206:                                             ; preds = %2205
  br label %2207

2207:                                             ; preds = %2206
  %2208 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %2209 = trunc i8 %2208 to i1
  br i1 %2209, label %2210, label %2226

2210:                                             ; preds = %2207
  %2211 = load ptr, ptr @stdout, align 8, !tbaa !9
  %2212 = call i32 @fileno(ptr noundef %2211) #11
  %2213 = call i32 @isatty(i32 noundef %2212) #11
  %2214 = icmp ne i32 %2213, 0
  br i1 %2214, label %2215, label %2226

2215:                                             ; preds = %2210
  %2216 = load i32, ptr @test_count, align 4, !tbaa !5
  %2217 = icmp ne i32 %2216, 0
  br i1 %2217, label %2218, label %2222

2218:                                             ; preds = %2215
  %2219 = load ptr, ptr @stdout, align 8, !tbaa !9
  %2220 = load i32, ptr @test_count, align 4, !tbaa !5
  %2221 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %2219, ptr noundef @.str.50, i32 noundef %2220) #11
  br label %2225

2222:                                             ; preds = %2215
  %2223 = load ptr, ptr @stdout, align 8, !tbaa !9
  %2224 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %2223, ptr noundef @.str.51) #11
  br label %2225

2225:                                             ; preds = %2222, %2218
  br label %2237

2226:                                             ; preds = %2210, %2207
  %2227 = load i32, ptr @test_count, align 4, !tbaa !5
  %2228 = icmp ne i32 %2227, 0
  br i1 %2228, label %2229, label %2233

2229:                                             ; preds = %2226
  %2230 = load ptr, ptr @stdout, align 8, !tbaa !9
  %2231 = load i32, ptr @test_count, align 4, !tbaa !5
  %2232 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %2230, ptr noundef @.str.52, i32 noundef %2231) #11
  br label %2236

2233:                                             ; preds = %2226
  %2234 = load ptr, ptr @stdout, align 8, !tbaa !9
  %2235 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %2234, ptr noundef @.str.53) #11
  br label %2236

2236:                                             ; preds = %2233, %2229
  br label %2237

2237:                                             ; preds = %2236, %2225
  store i32 0, ptr %3, align 4
  store i32 1, ptr %79, align 4
  br label %2242

2238:                                             ; No predecessors!
  br label %2239

2239:                                             ; preds = %2238
  br label %2240

2240:                                             ; preds = %2239
  br label %2241

2241:                                             ; preds = %2240
  store i32 0, ptr %79, align 4
  br label %2242

2242:                                             ; preds = %2241, %2237
  call void @llvm.lifetime.end.p0(i64 288, ptr %43) #11
  %2243 = load i32, ptr %79, align 4
  switch i32 %2243, label %2246 [
    i32 0, label %2244
    i32 1, label %2244
  ]

2244:                                             ; preds = %2242, %2242
  %2245 = load i32, ptr %3, align 4
  ret i32 %2245

2246:                                             ; preds = %2242
  unreachable
}

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

declare i32 @fflush(ptr noundef) #2

declare i32 @s2n_in_unit_test_set(i1 noundef zeroext) #2

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

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

declare i32 @s2n_print_stacktrace(ptr noundef) #2

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

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

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

; 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) #2

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

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

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

declare i32 @s2n_enable_atexit() #2

declare i32 @s2n_init() #2

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

declare i32 @s2n_read_test_pem_and_len(ptr noundef, ptr noundef, ptr noundef, i64 noundef) #2

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

declare i32 @s2n_stuffer_free(ptr noundef) #2

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden zeroext i1 @s2n_result_is_ok(i32) #8

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @X509_free_pointer(ptr noundef) #8

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

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden zeroext i1 @s2n_result_is_error(i32) #8

declare void @s2n_debug_info_reset() #2

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #9

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

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

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

declare ptr @BIO_new(ptr noundef) #2

declare ptr @BIO_s_mem() #2

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

declare ptr @PEM_read_bio_X509(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2

declare i32 @BIO_free(ptr noundef) #2

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

; Function Attrs: nounwind uwtable
declare hidden i32 @s2n_test_assert_s2n_cert_info_equality(ptr noundef, ptr noundef) #0

declare i32 @s2n_cleanup() #2

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 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #8 = { inlinehint 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 #9 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #10 = { 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 #11 = { nounwind }
attributes #12 = { nounwind willreturn memory(none) }
attributes #13 = { noreturn nounwind }
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 = !{!18, !10, i64 0}
!18 = !{!"", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !6, i64 32, !6, i64 36, !6, i64 40, !6, i64 44}
!19 = !{!18, !10, i64 8}
!20 = !{!18, !10, i64 16}
!21 = !{!18, !10, i64 24}
!22 = !{!18, !6, i64 32}
!23 = !{!24, !6, i64 0}
!24 = !{!"s2n_cert_info", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12, !12, i64 16}
!25 = !{!18, !6, i64 36}
!26 = !{!24, !6, i64 4}
!27 = !{!18, !6, i64 40}
!28 = !{!24, !6, i64 8}
!29 = !{!18, !6, i64 44}
!30 = !{!24, !6, i64 12}
!31 = !{!24, !12, i64 16}
!32 = distinct !{!32, !33}
!33 = !{!"llvm.loop.mustprogress"}


; 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, ptr, ptr, ptr, i32, i32, i32, i32 }
%struct.s2n_blob = type { ptr, i32, i32, i8 }
%struct.s2n_stuffer = type { %struct.s2n_blob, i32, i32, i32, i8 }
%struct.s2n_cert_info = type { i32, i32, i32, i32, i8 }

@s2n_use_color_in_output = external dso_local local_unnamed_addr global i8, align 1
@test_count = external dso_local local_unnamed_addr global i32, align 4
@stdout = external local_unnamed_addr global ptr, align 8
@.str = external hidden unnamed_addr constant [19 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [80 x i8], align 1
@stderr = external local_unnamed_addr global ptr, align 8
@.str.2 = external hidden unnamed_addr constant [101 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [52 x i8], align 1
@s2n_errno = external thread_local local_unnamed_addr global i32, align 4
@.str.4 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [90 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [133 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [93 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [92 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [102 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [77 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [103 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [134 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [80 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [70 x i8], align 1
@__const.main.test_cases = external hidden unnamed_addr constant [6 x %struct.anon], align 16
@.str.34 = external hidden unnamed_addr constant [190 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [85 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [66 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [59 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [105 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [113 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [105 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [47 x i8], align 1
@.str.42 = external hidden unnamed_addr constant [80 x i8], align 1
@.str.43 = external hidden unnamed_addr constant [96 x i8], align 1
@.str.44 = external hidden unnamed_addr constant [80 x i8], align 1
@.str.45 = external hidden unnamed_addr constant [98 x i8], align 1
@.str.46 = external hidden unnamed_addr constant [106 x i8], align 1
@.str.47 = external hidden unnamed_addr constant [98 x i8], align 1
@.str.48 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.49 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.50 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.51 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.52 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.53 = 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 [12000 x i8], align 16
  %4 = alloca i32, align 4
  %5 = alloca %struct.s2n_blob, align 8
  %6 = alloca %struct.s2n_stuffer, align 8
  %7 = alloca %struct.s2n_blob, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca [12000 x i8], align 16
  %11 = alloca i32, align 4
  %12 = alloca %struct.s2n_blob, align 8
  %13 = alloca %struct.s2n_stuffer, align 8
  %14 = alloca %struct.s2n_blob, align 8
  %15 = alloca ptr, align 8
  %16 = alloca ptr, align 8
  %17 = alloca [512 x i8], align 16
  %18 = alloca [12000 x i8], align 16
  %19 = alloca ptr, align 8
  %20 = alloca ptr, align 8
  %21 = alloca ptr, align 8
  %22 = alloca %struct.s2n_cert_info, align 4
  %23 = alloca %struct.s2n_cert_info, align 4
  %24 = alloca %struct.s2n_cert_info, align 4
  %25 = alloca %struct.s2n_cert_info, align 16
  store i32 0, ptr @test_count, align 4, !tbaa !5
  %26 = load ptr, ptr @stdout, align 8, !tbaa !9
  %27 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %26, ptr noundef nonnull @.str, ptr noundef nonnull @.str.1) #11
  %28 = load ptr, ptr @stdout, align 8, !tbaa !9
  %29 = tail call i32 @fflush(ptr noundef %28)
  %30 = tail call i32 @s2n_in_unit_test_set(i1 noundef zeroext true) #11
  %31 = icmp eq i32 %30, -1
  br i1 %31, label %32, label %56

32:                                               ; preds = %2
  %33 = tail call ptr @__errno_location() #12
  %34 = load i32, ptr %33, align 4, !tbaa !5
  %35 = load ptr, ptr @stderr, align 8, !tbaa !9
  %36 = tail call i32 @s2n_print_stacktrace(ptr noundef %35) #11
  %37 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %38 = trunc nuw i8 %37 to i1
  br i1 %38, label %39, label %43

39:                                               ; preds = %32
  %40 = load ptr, ptr @stderr, align 8, !tbaa !9
  %41 = tail call i32 @fileno(ptr noundef %40) #11
  %42 = tail call i32 @isatty(i32 noundef %41) #11
  %.not131 = icmp eq i32 %42, 0
  br i1 %.not131, label %43, label %44

43:                                               ; preds = %39, %32
  br label %44

44:                                               ; preds = %39, %43
  %.str.5.sink = phi ptr [ @.str.5, %43 ], [ @.str.2, %39 ]
  store i32 %34, ptr %33, align 4, !tbaa !5
  %45 = load ptr, ptr @stderr, align 8, !tbaa !9
  %46 = load i32, ptr @test_count, align 4, !tbaa !5
  %47 = tail call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %48 = load i32, ptr %47, align 4, !tbaa !5
  %49 = tail call ptr @s2n_strerror(i32 noundef %48, ptr noundef nonnull @.str.4) #11
  %50 = load i32, ptr %47, align 4, !tbaa !5
  %51 = tail call ptr @s2n_strerror_debug(i32 noundef %50, ptr noundef nonnull @.str.4) #11
  %52 = load i32, ptr %33, align 4, !tbaa !5
  %53 = tail call ptr @strerror(i32 noundef %52) #11
  %54 = load i32, ptr %33, align 4, !tbaa !5
  %55 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %45, ptr noundef nonnull %.str.5.sink, i32 noundef %46, ptr noundef nonnull @.str.3, ptr noundef nonnull @.str.1, i32 noundef 40, ptr noundef %49, ptr noundef %51, ptr noundef %53, i32 noundef %54) #13
  tail call void @exit(i32 noundef 1) #14
  unreachable

56:                                               ; preds = %2
  %57 = load i32, ptr @test_count, align 4, !tbaa !5
  %58 = add nsw i32 %57, 1
  store i32 %58, ptr @test_count, align 4, !tbaa !5
  %59 = tail call i32 @s2n_enable_atexit() #11
  %60 = icmp eq i32 %59, -1
  br i1 %60, label %61, label %85

61:                                               ; preds = %56
  %62 = tail call ptr @__errno_location() #12
  %63 = load i32, ptr %62, align 4, !tbaa !5
  %64 = load ptr, ptr @stderr, align 8, !tbaa !9
  %65 = tail call i32 @s2n_print_stacktrace(ptr noundef %64) #11
  %66 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %67 = trunc nuw i8 %66 to i1
  br i1 %67, label %68, label %72

68:                                               ; preds = %61
  %69 = load ptr, ptr @stderr, align 8, !tbaa !9
  %70 = tail call i32 @fileno(ptr noundef %69) #11
  %71 = tail call i32 @isatty(i32 noundef %70) #11
  %.not130 = icmp eq i32 %71, 0
  br i1 %.not130, label %72, label %73

72:                                               ; preds = %68, %61
  br label %73

73:                                               ; preds = %68, %72
  %.str.5.sink143 = phi ptr [ @.str.5, %72 ], [ @.str.2, %68 ]
  store i32 %63, ptr %62, align 4, !tbaa !5
  %74 = load ptr, ptr @stderr, align 8, !tbaa !9
  %75 = load i32, ptr @test_count, align 4, !tbaa !5
  %76 = tail call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %77 = load i32, ptr %76, align 4, !tbaa !5
  %78 = tail call ptr @s2n_strerror(i32 noundef %77, ptr noundef nonnull @.str.4) #11
  %79 = load i32, ptr %76, align 4, !tbaa !5
  %80 = tail call ptr @s2n_strerror_debug(i32 noundef %79, ptr noundef nonnull @.str.4) #11
  %81 = load i32, ptr %62, align 4, !tbaa !5
  %82 = tail call ptr @strerror(i32 noundef %81) #11
  %83 = load i32, ptr %62, align 4, !tbaa !5
  %84 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %74, ptr noundef nonnull %.str.5.sink143, i32 noundef %75, ptr noundef nonnull @.str.6, ptr noundef nonnull @.str.1, i32 noundef 40, ptr noundef %78, ptr noundef %80, ptr noundef %82, i32 noundef %83) #13
  tail call void @exit(i32 noundef 1) #14
  unreachable

85:                                               ; preds = %56
  %86 = tail call i32 @s2n_init() #11
  %87 = icmp eq i32 %86, -1
  br i1 %87, label %88, label %112

88:                                               ; preds = %85
  %89 = tail call ptr @__errno_location() #12
  %90 = load i32, ptr %89, align 4, !tbaa !5
  %91 = load ptr, ptr @stderr, align 8, !tbaa !9
  %92 = tail call i32 @s2n_print_stacktrace(ptr noundef %91) #11
  %93 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %94 = trunc nuw i8 %93 to i1
  br i1 %94, label %95, label %99

95:                                               ; preds = %88
  %96 = load ptr, ptr @stderr, align 8, !tbaa !9
  %97 = tail call i32 @fileno(ptr noundef %96) #11
  %98 = tail call i32 @isatty(i32 noundef %97) #11
  %.not129 = icmp eq i32 %98, 0
  br i1 %.not129, label %99, label %100

99:                                               ; preds = %95, %88
  br label %100

100:                                              ; preds = %95, %99
  %.str.5.sink154 = phi ptr [ @.str.5, %99 ], [ @.str.2, %95 ]
  store i32 %90, ptr %89, align 4, !tbaa !5
  %101 = load ptr, ptr @stderr, align 8, !tbaa !9
  %102 = load i32, ptr @test_count, align 4, !tbaa !5
  %103 = tail call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %104 = load i32, ptr %103, align 4, !tbaa !5
  %105 = tail call ptr @s2n_strerror(i32 noundef %104, ptr noundef nonnull @.str.4) #11
  %106 = load i32, ptr %103, align 4, !tbaa !5
  %107 = tail call ptr @s2n_strerror_debug(i32 noundef %106, ptr noundef nonnull @.str.4) #11
  %108 = load i32, ptr %89, align 4, !tbaa !5
  %109 = tail call ptr @strerror(i32 noundef %108) #11
  %110 = load i32, ptr %89, align 4, !tbaa !5
  %111 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %101, ptr noundef nonnull %.str.5.sink154, i32 noundef %102, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.1, i32 noundef 40, ptr noundef %105, ptr noundef %107, ptr noundef %109, i32 noundef %110) #13
  tail call void @exit(i32 noundef 1) #14
  unreachable

112:                                              ; preds = %85
  call void @llvm.lifetime.start.p0(i64 12000, ptr nonnull %3) #11
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(12000) %3, i8 0, i64 12000, i1 false)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #11
  store i32 0, ptr %4, align 4, !tbaa !5
  %113 = load i32, ptr @test_count, align 4, !tbaa !5
  %114 = add nsw i32 %113, 1
  store i32 %114, ptr @test_count, align 4, !tbaa !5
  %115 = call i32 @s2n_read_test_pem_and_len(ptr noundef nonnull @.str.8, ptr noundef nonnull %3, ptr noundef nonnull %4, i64 noundef 12000) #11
  %116 = icmp eq i32 %115, -1
  br i1 %116, label %117, label %141

117:                                              ; preds = %112
  %118 = tail call ptr @__errno_location() #12
  %119 = load i32, ptr %118, align 4, !tbaa !5
  %120 = load ptr, ptr @stderr, align 8, !tbaa !9
  %121 = call i32 @s2n_print_stacktrace(ptr noundef %120) #11
  %122 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %123 = trunc nuw i8 %122 to i1
  br i1 %123, label %124, label %128

124:                                              ; preds = %117
  %125 = load ptr, ptr @stderr, align 8, !tbaa !9
  %126 = call i32 @fileno(ptr noundef %125) #11
  %127 = call i32 @isatty(i32 noundef %126) #11
  %.not128 = icmp eq i32 %127, 0
  br i1 %.not128, label %128, label %129

128:                                              ; preds = %124, %117
  br label %129

129:                                              ; preds = %124, %128
  %.str.5.sink165 = phi ptr [ @.str.5, %128 ], [ @.str.2, %124 ]
  store i32 %119, ptr %118, align 4, !tbaa !5
  %130 = load ptr, ptr @stderr, align 8, !tbaa !9
  %131 = load i32, ptr @test_count, align 4, !tbaa !5
  %132 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %133 = load i32, ptr %132, align 4, !tbaa !5
  %134 = call ptr @s2n_strerror(i32 noundef %133, ptr noundef nonnull @.str.4) #11
  %135 = load i32, ptr %132, align 4, !tbaa !5
  %136 = call ptr @s2n_strerror_debug(i32 noundef %135, ptr noundef nonnull @.str.4) #11
  %137 = load i32, ptr %118, align 4, !tbaa !5
  %138 = call ptr @strerror(i32 noundef %137) #11
  %139 = load i32, ptr %118, align 4, !tbaa !5
  %140 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %130, ptr noundef nonnull %.str.5.sink165, i32 noundef %131, ptr noundef nonnull @.str.9, ptr noundef nonnull @.str.1, i32 noundef 47, ptr noundef %134, ptr noundef %136, ptr noundef %138, i32 noundef %139) #13
  call void @exit(i32 noundef 1) #14
  unreachable

141:                                              ; preds = %112
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %5) #11
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %5, i8 0, i64 24, i1 false)
  %142 = load i32, ptr @test_count, align 4, !tbaa !5
  %143 = add nsw i32 %142, 1
  store i32 %143, ptr @test_count, align 4, !tbaa !5
  %144 = load i32, ptr %4, align 4, !tbaa !5
  %145 = call i32 @s2n_blob_init(ptr noundef nonnull %5, ptr noundef nonnull %3, i32 noundef %144) #11
  %146 = icmp eq i32 %145, -1
  br i1 %146, label %147, label %171

147:                                              ; preds = %141
  %148 = tail call ptr @__errno_location() #12
  %149 = load i32, ptr %148, align 4, !tbaa !5
  %150 = load ptr, ptr @stderr, align 8, !tbaa !9
  %151 = call i32 @s2n_print_stacktrace(ptr noundef %150) #11
  %152 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %153 = trunc nuw i8 %152 to i1
  br i1 %153, label %154, label %158

154:                                              ; preds = %147
  %155 = load ptr, ptr @stderr, align 8, !tbaa !9
  %156 = call i32 @fileno(ptr noundef %155) #11
  %157 = call i32 @isatty(i32 noundef %156) #11
  %.not127 = icmp eq i32 %157, 0
  br i1 %.not127, label %158, label %159

158:                                              ; preds = %154, %147
  br label %159

159:                                              ; preds = %154, %158
  %.str.5.sink176 = phi ptr [ @.str.5, %158 ], [ @.str.2, %154 ]
  store i32 %149, ptr %148, align 4, !tbaa !5
  %160 = load ptr, ptr @stderr, align 8, !tbaa !9
  %161 = load i32, ptr @test_count, align 4, !tbaa !5
  %162 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %163 = load i32, ptr %162, align 4, !tbaa !5
  %164 = call ptr @s2n_strerror(i32 noundef %163, ptr noundef nonnull @.str.4) #11
  %165 = load i32, ptr %162, align 4, !tbaa !5
  %166 = call ptr @s2n_strerror_debug(i32 noundef %165, ptr noundef nonnull @.str.4) #11
  %167 = load i32, ptr %148, align 4, !tbaa !5
  %168 = call ptr @strerror(i32 noundef %167) #11
  %169 = load i32, ptr %148, align 4, !tbaa !5
  %170 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %160, ptr noundef nonnull %.str.5.sink176, i32 noundef %161, ptr noundef nonnull @.str.10, ptr noundef nonnull @.str.1, i32 noundef 50, ptr noundef %164, ptr noundef %166, ptr noundef %168, i32 noundef %169) #13
  call void @exit(i32 noundef 1) #14
  unreachable

171:                                              ; preds = %141
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %6) #11
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(40) %6, i8 0, i64 40, i1 false)
  %172 = load i32, ptr @test_count, align 4, !tbaa !5
  %173 = add nsw i32 %172, 1
  store i32 %173, ptr @test_count, align 4, !tbaa !5
  %174 = call i32 @s2n_stuffer_init_written(ptr noundef nonnull %6, ptr noundef nonnull %5) #11
  %175 = icmp eq i32 %174, -1
  br i1 %175, label %176, label %200

176:                                              ; preds = %171
  %177 = tail call ptr @__errno_location() #12
  %178 = load i32, ptr %177, align 4, !tbaa !5
  %179 = load ptr, ptr @stderr, align 8, !tbaa !9
  %180 = call i32 @s2n_print_stacktrace(ptr noundef %179) #11
  %181 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %182 = trunc nuw i8 %181 to i1
  br i1 %182, label %183, label %187

183:                                              ; preds = %176
  %184 = load ptr, ptr @stderr, align 8, !tbaa !9
  %185 = call i32 @fileno(ptr noundef %184) #11
  %186 = call i32 @isatty(i32 noundef %185) #11
  %.not126 = icmp eq i32 %186, 0
  br i1 %.not126, label %187, label %188

187:                                              ; preds = %183, %176
  br label %188

188:                                              ; preds = %183, %187
  %.str.5.sink187 = phi ptr [ @.str.5, %187 ], [ @.str.2, %183 ]
  store i32 %178, ptr %177, align 4, !tbaa !5
  %189 = load ptr, ptr @stderr, align 8, !tbaa !9
  %190 = load i32, ptr @test_count, align 4, !tbaa !5
  %191 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %192 = load i32, ptr %191, align 4, !tbaa !5
  %193 = call ptr @s2n_strerror(i32 noundef %192, ptr noundef nonnull @.str.4) #11
  %194 = load i32, ptr %191, align 4, !tbaa !5
  %195 = call ptr @s2n_strerror_debug(i32 noundef %194, ptr noundef nonnull @.str.4) #11
  %196 = load i32, ptr %177, align 4, !tbaa !5
  %197 = call ptr @strerror(i32 noundef %196) #11
  %198 = load i32, ptr %177, align 4, !tbaa !5
  %199 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %189, ptr noundef nonnull %.str.5.sink187, i32 noundef %190, ptr noundef nonnull @.str.11, ptr noundef nonnull @.str.1, i32 noundef 53, ptr noundef %193, ptr noundef %195, ptr noundef %197, i32 noundef %198) #13
  call void @exit(i32 noundef 1) #14
  unreachable

200:                                              ; preds = %171
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %7) #11
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %7, i8 0, i64 24, i1 false)
  %201 = load i32, ptr @test_count, align 4, !tbaa !5
  %202 = add nsw i32 %201, 1
  store i32 %202, ptr @test_count, align 4, !tbaa !5
  %203 = call i32 @s2n_x509_validator_read_asn1_cert(ptr noundef nonnull %6, ptr noundef nonnull %7) #11
  %204 = call zeroext i1 @s2n_result_is_ok(i32 %203)
  br i1 %204, label %229, label %205

205:                                              ; preds = %200
  %206 = tail call ptr @__errno_location() #12
  %207 = load i32, ptr %206, align 4, !tbaa !5
  %208 = load ptr, ptr @stderr, align 8, !tbaa !9
  %209 = call i32 @s2n_print_stacktrace(ptr noundef %208) #11
  %210 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %211 = trunc nuw i8 %210 to i1
  br i1 %211, label %212, label %216

212:                                              ; preds = %205
  %213 = load ptr, ptr @stderr, align 8, !tbaa !9
  %214 = call i32 @fileno(ptr noundef %213) #11
  %215 = call i32 @isatty(i32 noundef %214) #11
  %.not = icmp eq i32 %215, 0
  br i1 %.not, label %216, label %217

216:                                              ; preds = %212, %205
  br label %217

217:                                              ; preds = %212, %216
  %.str.5.sink198 = phi ptr [ @.str.5, %216 ], [ @.str.2, %212 ]
  store i32 %207, ptr %206, align 4, !tbaa !5
  %218 = load ptr, ptr @stderr, align 8, !tbaa !9
  %219 = load i32, ptr @test_count, align 4, !tbaa !5
  %220 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %221 = load i32, ptr %220, align 4, !tbaa !5
  %222 = call ptr @s2n_strerror(i32 noundef %221, ptr noundef nonnull @.str.4) #11
  %223 = load i32, ptr %220, align 4, !tbaa !5
  %224 = call ptr @s2n_strerror_debug(i32 noundef %223, ptr noundef nonnull @.str.4) #11
  %225 = load i32, ptr %206, align 4, !tbaa !5
  %226 = call ptr @strerror(i32 noundef %225) #11
  %227 = load i32, ptr %206, align 4, !tbaa !5
  %228 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %218, ptr noundef nonnull %.str.5.sink198, i32 noundef %219, ptr noundef nonnull @.str.12, ptr noundef nonnull @.str.1, i32 noundef 56, ptr noundef %222, ptr noundef %224, ptr noundef %226, i32 noundef %227) #13
  call void @exit(i32 noundef 1) #14
  unreachable

229:                                              ; preds = %200
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #11
  store ptr null, ptr %8, align 8, !tbaa !9
  %230 = load i32, ptr @test_count, align 4, !tbaa !5
  %231 = add nsw i32 %230, 1
  store i32 %231, ptr @test_count, align 4, !tbaa !5
  %232 = call i32 @s2n_openssl_x509_parse(ptr noundef nonnull %7, ptr noundef nonnull %8) #11
  %233 = call zeroext i1 @s2n_result_is_ok(i32 %232)
  br i1 %233, label %258, label %234

234:                                              ; preds = %229
  %235 = tail call ptr @__errno_location() #12
  %236 = load i32, ptr %235, align 4, !tbaa !5
  %237 = load ptr, ptr @stderr, align 8, !tbaa !9
  %238 = call i32 @s2n_print_stacktrace(ptr noundef %237) #11
  %239 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %240 = trunc nuw i8 %239 to i1
  br i1 %240, label %241, label %245

241:                                              ; preds = %234
  %242 = load ptr, ptr @stderr, align 8, !tbaa !9
  %243 = call i32 @fileno(ptr noundef %242) #11
  %244 = call i32 @isatty(i32 noundef %243) #11
  %.not97 = icmp eq i32 %244, 0
  br i1 %.not97, label %245, label %246

245:                                              ; preds = %241, %234
  br label %246

246:                                              ; preds = %241, %245
  %.str.5.sink209 = phi ptr [ @.str.5, %245 ], [ @.str.2, %241 ]
  store i32 %236, ptr %235, align 4, !tbaa !5
  %247 = load ptr, ptr @stderr, align 8, !tbaa !9
  %248 = load i32, ptr @test_count, align 4, !tbaa !5
  %249 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %250 = load i32, ptr %249, align 4, !tbaa !5
  %251 = call ptr @s2n_strerror(i32 noundef %250, ptr noundef nonnull @.str.4) #11
  %252 = load i32, ptr %249, align 4, !tbaa !5
  %253 = call ptr @s2n_strerror_debug(i32 noundef %252, ptr noundef nonnull @.str.4) #11
  %254 = load i32, ptr %235, align 4, !tbaa !5
  %255 = call ptr @strerror(i32 noundef %254) #11
  %256 = load i32, ptr %235, align 4, !tbaa !5
  %257 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %247, ptr noundef nonnull %.str.5.sink209, i32 noundef %248, ptr noundef nonnull @.str.13, ptr noundef nonnull @.str.1, i32 noundef 60, ptr noundef %251, ptr noundef %253, ptr noundef %255, i32 noundef %256) #13
  call void @exit(i32 noundef 1) #14
  unreachable

258:                                              ; preds = %229
  call void @X509_free_pointer(ptr noundef nonnull %8)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #11
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #11
  store ptr null, ptr %9, align 8, !tbaa !9
  %259 = load i32, ptr @test_count, align 4, !tbaa !5
  %260 = add nsw i32 %259, 1
  store i32 %260, ptr @test_count, align 4, !tbaa !5
  %261 = call i32 @s2n_openssl_x509_parse_without_length_validation(ptr noundef nonnull %7, ptr noundef nonnull %9) #11
  %262 = call zeroext i1 @s2n_result_is_ok(i32 %261)
  br i1 %262, label %287, label %263

263:                                              ; preds = %258
  %264 = tail call ptr @__errno_location() #12
  %265 = load i32, ptr %264, align 4, !tbaa !5
  %266 = load ptr, ptr @stderr, align 8, !tbaa !9
  %267 = call i32 @s2n_print_stacktrace(ptr noundef %266) #11
  %268 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %269 = trunc nuw i8 %268 to i1
  br i1 %269, label %270, label %274

270:                                              ; preds = %263
  %271 = load ptr, ptr @stderr, align 8, !tbaa !9
  %272 = call i32 @fileno(ptr noundef %271) #11
  %273 = call i32 @isatty(i32 noundef %272) #11
  %.not98 = icmp eq i32 %273, 0
  br i1 %.not98, label %274, label %275

274:                                              ; preds = %270, %263
  br label %275

275:                                              ; preds = %270, %274
  %.str.5.sink220 = phi ptr [ @.str.5, %274 ], [ @.str.2, %270 ]
  store i32 %265, ptr %264, align 4, !tbaa !5
  %276 = load ptr, ptr @stderr, align 8, !tbaa !9
  %277 = load i32, ptr @test_count, align 4, !tbaa !5
  %278 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %279 = load i32, ptr %278, align 4, !tbaa !5
  %280 = call ptr @s2n_strerror(i32 noundef %279, ptr noundef nonnull @.str.4) #11
  %281 = load i32, ptr %278, align 4, !tbaa !5
  %282 = call ptr @s2n_strerror_debug(i32 noundef %281, ptr noundef nonnull @.str.4) #11
  %283 = load i32, ptr %264, align 4, !tbaa !5
  %284 = call ptr @strerror(i32 noundef %283) #11
  %285 = load i32, ptr %264, align 4, !tbaa !5
  %286 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %276, ptr noundef nonnull %.str.5.sink220, i32 noundef %277, ptr noundef nonnull @.str.14, ptr noundef nonnull @.str.1, i32 noundef 64, ptr noundef %280, ptr noundef %282, ptr noundef %284, i32 noundef %285) #13
  call void @exit(i32 noundef 1) #14
  unreachable

287:                                              ; preds = %258
  call void @X509_free_pointer(ptr noundef nonnull %9)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #11
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #11
  %288 = call i32 @s2n_stuffer_free(ptr noundef nonnull %6) #11
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %6) #11
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #11
  call void @llvm.lifetime.end.p0(i64 12000, ptr nonnull %3) #11
  call void @llvm.lifetime.start.p0(i64 12000, ptr nonnull %10) #11
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(12000) %10, i8 0, i64 12000, i1 false)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %11) #11
  store i32 0, ptr %11, align 4, !tbaa !5
  %289 = load i32, ptr @test_count, align 4, !tbaa !5
  %290 = add nsw i32 %289, 1
  store i32 %290, ptr @test_count, align 4, !tbaa !5
  %291 = call i32 @s2n_read_test_pem_and_len(ptr noundef nonnull @.str.15, ptr noundef nonnull %10, ptr noundef nonnull %11, i64 noundef 12000) #11
  %292 = icmp eq i32 %291, -1
  br i1 %292, label %293, label %317

293:                                              ; preds = %287
  %294 = tail call ptr @__errno_location() #12
  %295 = load i32, ptr %294, align 4, !tbaa !5
  %296 = load ptr, ptr @stderr, align 8, !tbaa !9
  %297 = call i32 @s2n_print_stacktrace(ptr noundef %296) #11
  %298 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %299 = trunc nuw i8 %298 to i1
  br i1 %299, label %300, label %304

300:                                              ; preds = %293
  %301 = load ptr, ptr @stderr, align 8, !tbaa !9
  %302 = call i32 @fileno(ptr noundef %301) #11
  %303 = call i32 @isatty(i32 noundef %302) #11
  %.not125 = icmp eq i32 %303, 0
  br i1 %.not125, label %304, label %305

304:                                              ; preds = %300, %293
  br label %305

305:                                              ; preds = %300, %304
  %.str.5.sink231 = phi ptr [ @.str.5, %304 ], [ @.str.2, %300 ]
  store i32 %295, ptr %294, align 4, !tbaa !5
  %306 = load ptr, ptr @stderr, align 8, !tbaa !9
  %307 = load i32, ptr @test_count, align 4, !tbaa !5
  %308 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %309 = load i32, ptr %308, align 4, !tbaa !5
  %310 = call ptr @s2n_strerror(i32 noundef %309, ptr noundef nonnull @.str.4) #11
  %311 = load i32, ptr %308, align 4, !tbaa !5
  %312 = call ptr @s2n_strerror_debug(i32 noundef %311, ptr noundef nonnull @.str.4) #11
  %313 = load i32, ptr %294, align 4, !tbaa !5
  %314 = call ptr @strerror(i32 noundef %313) #11
  %315 = load i32, ptr %294, align 4, !tbaa !5
  %316 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %306, ptr noundef nonnull %.str.5.sink231, i32 noundef %307, ptr noundef nonnull @.str.16, ptr noundef nonnull @.str.1, i32 noundef 73, ptr noundef %310, ptr noundef %312, ptr noundef %314, i32 noundef %315) #13
  call void @exit(i32 noundef 1) #14
  unreachable

317:                                              ; preds = %287
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %12) #11
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %12, i8 0, i64 24, i1 false)
  %318 = load i32, ptr @test_count, align 4, !tbaa !5
  %319 = add nsw i32 %318, 1
  store i32 %319, ptr @test_count, align 4, !tbaa !5
  %320 = load i32, ptr %11, align 4, !tbaa !5
  %321 = call i32 @s2n_blob_init(ptr noundef nonnull %12, ptr noundef nonnull %10, i32 noundef %320) #11
  %322 = icmp eq i32 %321, -1
  br i1 %322, label %323, label %347

323:                                              ; preds = %317
  %324 = tail call ptr @__errno_location() #12
  %325 = load i32, ptr %324, align 4, !tbaa !5
  %326 = load ptr, ptr @stderr, align 8, !tbaa !9
  %327 = call i32 @s2n_print_stacktrace(ptr noundef %326) #11
  %328 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %329 = trunc nuw i8 %328 to i1
  br i1 %329, label %330, label %334

330:                                              ; preds = %323
  %331 = load ptr, ptr @stderr, align 8, !tbaa !9
  %332 = call i32 @fileno(ptr noundef %331) #11
  %333 = call i32 @isatty(i32 noundef %332) #11
  %.not124 = icmp eq i32 %333, 0
  br i1 %.not124, label %334, label %335

334:                                              ; preds = %330, %323
  br label %335

335:                                              ; preds = %330, %334
  %.str.5.sink242 = phi ptr [ @.str.5, %334 ], [ @.str.2, %330 ]
  store i32 %325, ptr %324, align 4, !tbaa !5
  %336 = load ptr, ptr @stderr, align 8, !tbaa !9
  %337 = load i32, ptr @test_count, align 4, !tbaa !5
  %338 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %339 = load i32, ptr %338, align 4, !tbaa !5
  %340 = call ptr @s2n_strerror(i32 noundef %339, ptr noundef nonnull @.str.4) #11
  %341 = load i32, ptr %338, align 4, !tbaa !5
  %342 = call ptr @s2n_strerror_debug(i32 noundef %341, ptr noundef nonnull @.str.4) #11
  %343 = load i32, ptr %324, align 4, !tbaa !5
  %344 = call ptr @strerror(i32 noundef %343) #11
  %345 = load i32, ptr %324, align 4, !tbaa !5
  %346 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %336, ptr noundef nonnull %.str.5.sink242, i32 noundef %337, ptr noundef nonnull @.str.10, ptr noundef nonnull @.str.1, i32 noundef 76, ptr noundef %340, ptr noundef %342, ptr noundef %344, i32 noundef %345) #13
  call void @exit(i32 noundef 1) #14
  unreachable

347:                                              ; preds = %317
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %13) #11
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(40) %13, i8 0, i64 40, i1 false)
  %348 = load i32, ptr @test_count, align 4, !tbaa !5
  %349 = add nsw i32 %348, 1
  store i32 %349, ptr @test_count, align 4, !tbaa !5
  %350 = call i32 @s2n_stuffer_init_written(ptr noundef nonnull %13, ptr noundef nonnull %12) #11
  %351 = icmp eq i32 %350, -1
  br i1 %351, label %352, label %376

352:                                              ; preds = %347
  %353 = tail call ptr @__errno_location() #12
  %354 = load i32, ptr %353, align 4, !tbaa !5
  %355 = load ptr, ptr @stderr, align 8, !tbaa !9
  %356 = call i32 @s2n_print_stacktrace(ptr noundef %355) #11
  %357 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %358 = trunc nuw i8 %357 to i1
  br i1 %358, label %359, label %363

359:                                              ; preds = %352
  %360 = load ptr, ptr @stderr, align 8, !tbaa !9
  %361 = call i32 @fileno(ptr noundef %360) #11
  %362 = call i32 @isatty(i32 noundef %361) #11
  %.not123 = icmp eq i32 %362, 0
  br i1 %.not123, label %363, label %364

363:                                              ; preds = %359, %352
  br label %364

364:                                              ; preds = %359, %363
  %.str.5.sink253 = phi ptr [ @.str.5, %363 ], [ @.str.2, %359 ]
  store i32 %354, ptr %353, align 4, !tbaa !5
  %365 = load ptr, ptr @stderr, align 8, !tbaa !9
  %366 = load i32, ptr @test_count, align 4, !tbaa !5
  %367 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %368 = load i32, ptr %367, align 4, !tbaa !5
  %369 = call ptr @s2n_strerror(i32 noundef %368, ptr noundef nonnull @.str.4) #11
  %370 = load i32, ptr %367, align 4, !tbaa !5
  %371 = call ptr @s2n_strerror_debug(i32 noundef %370, ptr noundef nonnull @.str.4) #11
  %372 = load i32, ptr %353, align 4, !tbaa !5
  %373 = call ptr @strerror(i32 noundef %372) #11
  %374 = load i32, ptr %353, align 4, !tbaa !5
  %375 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %365, ptr noundef nonnull %.str.5.sink253, i32 noundef %366, ptr noundef nonnull @.str.11, ptr noundef nonnull @.str.1, i32 noundef 79, ptr noundef %369, ptr noundef %371, ptr noundef %373, i32 noundef %374) #13
  call void @exit(i32 noundef 1) #14
  unreachable

376:                                              ; preds = %347
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %14) #11
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %14, i8 0, i64 24, i1 false)
  %377 = load i32, ptr @test_count, align 4, !tbaa !5
  %378 = add nsw i32 %377, 1
  store i32 %378, ptr @test_count, align 4, !tbaa !5
  %379 = call i32 @s2n_x509_validator_read_asn1_cert(ptr noundef nonnull %13, ptr noundef nonnull %14) #11
  %380 = call zeroext i1 @s2n_result_is_ok(i32 %379)
  br i1 %380, label %405, label %381

381:                                              ; preds = %376
  %382 = tail call ptr @__errno_location() #12
  %383 = load i32, ptr %382, align 4, !tbaa !5
  %384 = load ptr, ptr @stderr, align 8, !tbaa !9
  %385 = call i32 @s2n_print_stacktrace(ptr noundef %384) #11
  %386 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %387 = trunc nuw i8 %386 to i1
  br i1 %387, label %388, label %392

388:                                              ; preds = %381
  %389 = load ptr, ptr @stderr, align 8, !tbaa !9
  %390 = call i32 @fileno(ptr noundef %389) #11
  %391 = call i32 @isatty(i32 noundef %390) #11
  %.not99 = icmp eq i32 %391, 0
  br i1 %.not99, label %392, label %393

392:                                              ; preds = %388, %381
  br label %393

393:                                              ; preds = %388, %392
  %.str.5.sink264 = phi ptr [ @.str.5, %392 ], [ @.str.2, %388 ]
  store i32 %383, ptr %382, align 4, !tbaa !5
  %394 = load ptr, ptr @stderr, align 8, !tbaa !9
  %395 = load i32, ptr @test_count, align 4, !tbaa !5
  %396 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %397 = load i32, ptr %396, align 4, !tbaa !5
  %398 = call ptr @s2n_strerror(i32 noundef %397, ptr noundef nonnull @.str.4) #11
  %399 = load i32, ptr %396, align 4, !tbaa !5
  %400 = call ptr @s2n_strerror_debug(i32 noundef %399, ptr noundef nonnull @.str.4) #11
  %401 = load i32, ptr %382, align 4, !tbaa !5
  %402 = call ptr @strerror(i32 noundef %401) #11
  %403 = load i32, ptr %382, align 4, !tbaa !5
  %404 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %394, ptr noundef nonnull %.str.5.sink264, i32 noundef %395, ptr noundef nonnull @.str.12, ptr noundef nonnull @.str.1, i32 noundef 82, ptr noundef %398, ptr noundef %400, ptr noundef %402, i32 noundef %403) #13
  call void @exit(i32 noundef 1) #14
  unreachable

405:                                              ; preds = %376
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #11
  store ptr null, ptr %15, align 8, !tbaa !9
  %406 = load i32, ptr @test_count, align 4, !tbaa !5
  %407 = add nsw i32 %406, 1
  store i32 %407, ptr @test_count, align 4, !tbaa !5
  %408 = call i32 @s2n_openssl_x509_parse(ptr noundef nonnull %14, ptr noundef nonnull %15) #11
  %409 = call zeroext i1 @s2n_result_is_error(i32 %408)
  br i1 %409, label %434, label %410

410:                                              ; preds = %405
  %411 = tail call ptr @__errno_location() #12
  %412 = load i32, ptr %411, align 4, !tbaa !5
  %413 = load ptr, ptr @stderr, align 8, !tbaa !9
  %414 = call i32 @s2n_print_stacktrace(ptr noundef %413) #11
  %415 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %416 = trunc nuw i8 %415 to i1
  br i1 %416, label %417, label %421

417:                                              ; preds = %410
  %418 = load ptr, ptr @stderr, align 8, !tbaa !9
  %419 = call i32 @fileno(ptr noundef %418) #11
  %420 = call i32 @isatty(i32 noundef %419) #11
  %.not100 = icmp eq i32 %420, 0
  br i1 %.not100, label %421, label %422

421:                                              ; preds = %417, %410
  br label %422

422:                                              ; preds = %417, %421
  %.str.5.sink275 = phi ptr [ @.str.5, %421 ], [ @.str.2, %417 ]
  store i32 %412, ptr %411, align 4, !tbaa !5
  %423 = load ptr, ptr @stderr, align 8, !tbaa !9
  %424 = load i32, ptr @test_count, align 4, !tbaa !5
  %425 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %426 = load i32, ptr %425, align 4, !tbaa !5
  %427 = call ptr @s2n_strerror(i32 noundef %426, ptr noundef nonnull @.str.4) #11
  %428 = load i32, ptr %425, align 4, !tbaa !5
  %429 = call ptr @s2n_strerror_debug(i32 noundef %428, ptr noundef nonnull @.str.4) #11
  %430 = load i32, ptr %411, align 4, !tbaa !5
  %431 = call ptr @strerror(i32 noundef %430) #11
  %432 = load i32, ptr %411, align 4, !tbaa !5
  %433 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %423, ptr noundef nonnull %.str.5.sink275, i32 noundef %424, ptr noundef nonnull @.str.17, ptr noundef nonnull @.str.1, i32 noundef 86, ptr noundef %427, ptr noundef %429, ptr noundef %431, i32 noundef %432) #13
  call void @exit(i32 noundef 1) #14
  unreachable

434:                                              ; preds = %405
  %435 = load i32, ptr @test_count, align 4, !tbaa !5
  %436 = add nsw i32 %435, 1
  store i32 %436, ptr @test_count, align 4, !tbaa !5
  %437 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %438 = load i32, ptr %437, align 4, !tbaa !5
  %439 = icmp eq i32 %438, 0
  br i1 %439, label %440, label %463

440:                                              ; preds = %434
  %441 = tail call ptr @__errno_location() #12
  %442 = load i32, ptr %441, align 4, !tbaa !5
  %443 = load ptr, ptr @stderr, align 8, !tbaa !9
  %444 = call i32 @s2n_print_stacktrace(ptr noundef %443) #11
  %445 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %446 = trunc nuw i8 %445 to i1
  br i1 %446, label %447, label %451

447:                                              ; preds = %440
  %448 = load ptr, ptr @stderr, align 8, !tbaa !9
  %449 = call i32 @fileno(ptr noundef %448) #11
  %450 = call i32 @isatty(i32 noundef %449) #11
  %.not122 = icmp eq i32 %450, 0
  br i1 %.not122, label %451, label %452

451:                                              ; preds = %447, %440
  br label %452

452:                                              ; preds = %447, %451
  %.str.5.sink286 = phi ptr [ @.str.5, %451 ], [ @.str.2, %447 ]
  store i32 %442, ptr %441, align 4, !tbaa !5
  %453 = load ptr, ptr @stderr, align 8, !tbaa !9
  %454 = load i32, ptr @test_count, align 4, !tbaa !5
  %455 = load i32, ptr %437, align 4, !tbaa !5
  %456 = call ptr @s2n_strerror(i32 noundef %455, ptr noundef nonnull @.str.4) #11
  %457 = load i32, ptr %437, align 4, !tbaa !5
  %458 = call ptr @s2n_strerror_debug(i32 noundef %457, ptr noundef nonnull @.str.4) #11
  %459 = load i32, ptr %441, align 4, !tbaa !5
  %460 = call ptr @strerror(i32 noundef %459) #11
  %461 = load i32, ptr %441, align 4, !tbaa !5
  %462 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %453, ptr noundef nonnull %.str.5.sink286, i32 noundef %454, ptr noundef nonnull @.str.18, ptr noundef nonnull @.str.1, i32 noundef 86, ptr noundef %456, ptr noundef %458, ptr noundef %460, i32 noundef %461) #13
  call void @exit(i32 noundef 1) #14
  unreachable

463:                                              ; preds = %434
  %464 = add nsw i32 %435, 2
  store i32 %464, ptr @test_count, align 4, !tbaa !5
  %465 = call ptr @s2n_strerror_debug(i32 noundef %438, ptr noundef nonnull @.str.4) #11
  %466 = icmp eq ptr %465, null
  br i1 %466, label %467, label %490

467:                                              ; preds = %463
  %468 = tail call ptr @__errno_location() #12
  %469 = load i32, ptr %468, align 4, !tbaa !5
  %470 = load ptr, ptr @stderr, align 8, !tbaa !9
  %471 = call i32 @s2n_print_stacktrace(ptr noundef %470) #11
  %472 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %473 = trunc nuw i8 %472 to i1
  br i1 %473, label %474, label %478

474:                                              ; preds = %467
  %475 = load ptr, ptr @stderr, align 8, !tbaa !9
  %476 = call i32 @fileno(ptr noundef %475) #11
  %477 = call i32 @isatty(i32 noundef %476) #11
  %.not121 = icmp eq i32 %477, 0
  br i1 %.not121, label %478, label %479

478:                                              ; preds = %474, %467
  br label %479

479:                                              ; preds = %474, %478
  %.str.5.sink295 = phi ptr [ @.str.5, %478 ], [ @.str.2, %474 ]
  store i32 %469, ptr %468, align 4, !tbaa !5
  %480 = load ptr, ptr @stderr, align 8, !tbaa !9
  %481 = load i32, ptr @test_count, align 4, !tbaa !5
  %482 = load i32, ptr %437, align 4, !tbaa !5
  %483 = call ptr @s2n_strerror(i32 noundef %482, ptr noundef nonnull @.str.4) #11
  %484 = load i32, ptr %437, align 4, !tbaa !5
  %485 = call ptr @s2n_strerror_debug(i32 noundef %484, ptr noundef nonnull @.str.4) #11
  %486 = load i32, ptr %468, align 4, !tbaa !5
  %487 = call ptr @strerror(i32 noundef %486) #11
  %488 = load i32, ptr %468, align 4, !tbaa !5
  %489 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %480, ptr noundef nonnull %.str.5.sink295, i32 noundef %481, ptr noundef nonnull @.str.19, ptr noundef nonnull @.str.1, i32 noundef 86, ptr noundef %483, ptr noundef %485, ptr noundef %487, i32 noundef %488) #13
  call void @exit(i32 noundef 1) #14
  unreachable

490:                                              ; preds = %463
  store i32 0, ptr %437, align 4, !tbaa !5
  call void @s2n_debug_info_reset() #11
  %491 = tail call ptr @__errno_location() #12
  store i32 0, ptr %491, align 4, !tbaa !5
  call void @X509_free_pointer(ptr noundef nonnull %15)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #11
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #11
  store ptr null, ptr %16, align 8, !tbaa !9
  %492 = load i32, ptr @test_count, align 4, !tbaa !5
  %493 = add nsw i32 %492, 1
  store i32 %493, ptr @test_count, align 4, !tbaa !5
  %494 = call i32 @s2n_openssl_x509_parse_without_length_validation(ptr noundef nonnull %14, ptr noundef nonnull %16) #11
  %495 = call zeroext i1 @s2n_result_is_ok(i32 %494)
  br i1 %495, label %518, label %496

496:                                              ; preds = %490
  %497 = load i32, ptr %491, align 4, !tbaa !5
  %498 = load ptr, ptr @stderr, align 8, !tbaa !9
  %499 = call i32 @s2n_print_stacktrace(ptr noundef %498) #11
  %500 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %501 = trunc nuw i8 %500 to i1
  br i1 %501, label %502, label %506

502:                                              ; preds = %496
  %503 = load ptr, ptr @stderr, align 8, !tbaa !9
  %504 = call i32 @fileno(ptr noundef %503) #11
  %505 = call i32 @isatty(i32 noundef %504) #11
  %.not101 = icmp eq i32 %505, 0
  br i1 %.not101, label %506, label %507

506:                                              ; preds = %502, %496
  br label %507

507:                                              ; preds = %502, %506
  %.str.5.sink304 = phi ptr [ @.str.5, %506 ], [ @.str.2, %502 ]
  store i32 %497, ptr %491, align 4, !tbaa !5
  %508 = load ptr, ptr @stderr, align 8, !tbaa !9
  %509 = load i32, ptr @test_count, align 4, !tbaa !5
  %510 = load i32, ptr %437, align 4, !tbaa !5
  %511 = call ptr @s2n_strerror(i32 noundef %510, ptr noundef nonnull @.str.4) #11
  %512 = load i32, ptr %437, align 4, !tbaa !5
  %513 = call ptr @s2n_strerror_debug(i32 noundef %512, ptr noundef nonnull @.str.4) #11
  %514 = load i32, ptr %491, align 4, !tbaa !5
  %515 = call ptr @strerror(i32 noundef %514) #11
  %516 = load i32, ptr %491, align 4, !tbaa !5
  %517 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %508, ptr noundef nonnull %.str.5.sink304, i32 noundef %509, ptr noundef nonnull @.str.14, ptr noundef nonnull @.str.1, i32 noundef 90, ptr noundef %511, ptr noundef %513, ptr noundef %515, i32 noundef %516) #13
  call void @exit(i32 noundef 1) #14
  unreachable

518:                                              ; preds = %490
  call void @X509_free_pointer(ptr noundef nonnull %16)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #11
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %14) #11
  %519 = call i32 @s2n_stuffer_free(ptr noundef nonnull %13) #11
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %13) #11
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %12) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #11
  call void @llvm.lifetime.end.p0(i64 12000, ptr nonnull %10) #11
  %520 = getelementptr inbounds i8, ptr %25, i64 16
  br label %524

521:                                              ; preds = %918
  %522 = call i32 @s2n_cleanup() #11
  %523 = icmp eq i32 %522, -1
  br i1 %523, label %920, label %942

524:                                              ; preds = %518, %918
  %.0132 = phi i64 [ 0, %518 ], [ %919, %918 ]
  call void @llvm.lifetime.start.p0(i64 512, ptr nonnull %17) #11
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(512) %17, i8 0, i64 512, i1 false)
  call void @llvm.lifetime.start.p0(i64 12000, ptr nonnull %18) #11
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(12000) %18, i8 0, i64 12000, i1 false)
  %525 = load i32, ptr @test_count, align 4, !tbaa !5
  %526 = add nsw i32 %525, 1
  store i32 %526, ptr @test_count, align 4, !tbaa !5
  %527 = getelementptr inbounds [6 x %struct.anon], ptr @__const.main.test_cases, i64 0, i64 %.0132
  %528 = load ptr, ptr %527, align 16, !tbaa !15
  %529 = getelementptr inbounds i8, ptr %527, i64 8
  %530 = load ptr, ptr %529, align 8, !tbaa !17
  %531 = getelementptr inbounds i8, ptr %527, i64 16
  %532 = load ptr, ptr %531, align 16, !tbaa !18
  %533 = getelementptr inbounds i8, ptr %527, i64 24
  %534 = load ptr, ptr %533, align 8, !tbaa !19
  %535 = call i32 @s2n_test_cert_permutation_get_server_chain_path(ptr noundef nonnull %17, ptr noundef %528, ptr noundef %530, ptr noundef %532, ptr noundef %534) #11
  %536 = call zeroext i1 @s2n_result_is_ok(i32 %535)
  br i1 %536, label %559, label %537

537:                                              ; preds = %524
  %538 = load i32, ptr %491, align 4, !tbaa !5
  %539 = load ptr, ptr @stderr, align 8, !tbaa !9
  %540 = call i32 @s2n_print_stacktrace(ptr noundef %539) #11
  %541 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %542 = trunc nuw i8 %541 to i1
  br i1 %542, label %543, label %547

543:                                              ; preds = %537
  %544 = load ptr, ptr @stderr, align 8, !tbaa !9
  %545 = call i32 @fileno(ptr noundef %544) #11
  %546 = call i32 @isatty(i32 noundef %545) #11
  %.not107 = icmp eq i32 %546, 0
  br i1 %.not107, label %547, label %548

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

548:                                              ; preds = %543, %547
  %.str.5.sink313 = phi ptr [ @.str.5, %547 ], [ @.str.2, %543 ]
  store i32 %538, ptr %491, align 4, !tbaa !5
  %549 = load ptr, ptr @stderr, align 8, !tbaa !9
  %550 = load i32, ptr @test_count, align 4, !tbaa !5
  %551 = load i32, ptr %437, align 4, !tbaa !5
  %552 = call ptr @s2n_strerror(i32 noundef %551, ptr noundef nonnull @.str.4) #11
  %553 = load i32, ptr %437, align 4, !tbaa !5
  %554 = call ptr @s2n_strerror_debug(i32 noundef %553, ptr noundef nonnull @.str.4) #11
  %555 = load i32, ptr %491, align 4, !tbaa !5
  %556 = call ptr @strerror(i32 noundef %555) #11
  %557 = load i32, ptr %491, align 4, !tbaa !5
  %558 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %549, ptr noundef nonnull %.str.5.sink313, i32 noundef %550, ptr noundef nonnull @.str.34, ptr noundef nonnull @.str.1, i32 noundef 195, ptr noundef %552, ptr noundef %554, ptr noundef %556, i32 noundef %557) #13
  call void @exit(i32 noundef 1) #14
  unreachable

559:                                              ; preds = %524
  %560 = load i32, ptr @test_count, align 4, !tbaa !5
  %561 = add nsw i32 %560, 1
  store i32 %561, ptr @test_count, align 4, !tbaa !5
  %562 = call i32 @s2n_read_test_pem(ptr noundef nonnull %17, ptr noundef nonnull %18, i64 noundef 12000) #11
  %563 = icmp eq i32 %562, -1
  br i1 %563, label %564, label %586

564:                                              ; preds = %559
  %565 = load i32, ptr %491, align 4, !tbaa !5
  %566 = load ptr, ptr @stderr, align 8, !tbaa !9
  %567 = call i32 @s2n_print_stacktrace(ptr noundef %566) #11
  %568 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %569 = trunc nuw i8 %568 to i1
  br i1 %569, label %570, label %574

570:                                              ; preds = %564
  %571 = load ptr, ptr @stderr, align 8, !tbaa !9
  %572 = call i32 @fileno(ptr noundef %571) #11
  %573 = call i32 @isatty(i32 noundef %572) #11
  %.not120 = icmp eq i32 %573, 0
  br i1 %.not120, label %574, label %575

574:                                              ; preds = %570, %564
  br label %575

575:                                              ; preds = %570, %574
  %.str.5.sink322 = phi ptr [ @.str.5, %574 ], [ @.str.2, %570 ]
  store i32 %565, ptr %491, align 4, !tbaa !5
  %576 = load ptr, ptr @stderr, align 8, !tbaa !9
  %577 = load i32, ptr @test_count, align 4, !tbaa !5
  %578 = load i32, ptr %437, align 4, !tbaa !5
  %579 = call ptr @s2n_strerror(i32 noundef %578, ptr noundef nonnull @.str.4) #11
  %580 = load i32, ptr %437, align 4, !tbaa !5
  %581 = call ptr @s2n_strerror_debug(i32 noundef %580, ptr noundef nonnull @.str.4) #11
  %582 = load i32, ptr %491, align 4, !tbaa !5
  %583 = call ptr @strerror(i32 noundef %582) #11
  %584 = load i32, ptr %491, align 4, !tbaa !5
  %585 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %576, ptr noundef nonnull %.str.5.sink322, i32 noundef %577, ptr noundef nonnull @.str.35, ptr noundef nonnull @.str.1, i32 noundef 196, ptr noundef %579, ptr noundef %581, ptr noundef %583, i32 noundef %584) #13
  call void @exit(i32 noundef 1) #14
  unreachable

586:                                              ; preds = %559
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #11
  store ptr null, ptr %19, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %20) #11
  store ptr null, ptr %20, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %21) #11
  store ptr null, ptr %21, align 8, !tbaa !9
  %587 = call i64 @strlen(ptr noundef nonnull dereferenceable(1) %18) #15
  %588 = load i32, ptr @test_count, align 4, !tbaa !5
  %589 = add nsw i32 %588, 1
  store i32 %589, ptr @test_count, align 4, !tbaa !5
  %590 = call ptr @BIO_s_mem() #11
  %591 = call ptr @BIO_new(ptr noundef %590) #11
  %592 = icmp eq ptr %591, null
  br i1 %592, label %593, label %615

593:                                              ; preds = %586
  %594 = load i32, ptr %491, align 4, !tbaa !5
  %595 = load ptr, ptr @stderr, align 8, !tbaa !9
  %596 = call i32 @s2n_print_stacktrace(ptr noundef %595) #11
  %597 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %598 = trunc nuw i8 %597 to i1
  br i1 %598, label %599, label %603

599:                                              ; preds = %593
  %600 = load ptr, ptr @stderr, align 8, !tbaa !9
  %601 = call i32 @fileno(ptr noundef %600) #11
  %602 = call i32 @isatty(i32 noundef %601) #11
  %.not119 = icmp eq i32 %602, 0
  br i1 %.not119, label %603, label %604

603:                                              ; preds = %599, %593
  br label %604

604:                                              ; preds = %599, %603
  %.str.5.sink331 = phi ptr [ @.str.5, %603 ], [ @.str.2, %599 ]
  store i32 %594, ptr %491, align 4, !tbaa !5
  %605 = load ptr, ptr @stderr, align 8, !tbaa !9
  %606 = load i32, ptr @test_count, align 4, !tbaa !5
  %607 = load i32, ptr %437, align 4, !tbaa !5
  %608 = call ptr @s2n_strerror(i32 noundef %607, ptr noundef nonnull @.str.4) #11
  %609 = load i32, ptr %437, align 4, !tbaa !5
  %610 = call ptr @s2n_strerror_debug(i32 noundef %609, ptr noundef nonnull @.str.4) #11
  %611 = load i32, ptr %491, align 4, !tbaa !5
  %612 = call ptr @strerror(i32 noundef %611) #11
  %613 = load i32, ptr %491, align 4, !tbaa !5
  %614 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %605, ptr noundef nonnull %.str.5.sink331, i32 noundef %606, ptr noundef nonnull @.str.36, ptr noundef nonnull @.str.1, i32 noundef 205, ptr noundef %608, ptr noundef %610, ptr noundef %612, i32 noundef %613) #13
  call void @exit(i32 noundef 1) #14
  unreachable

615:                                              ; preds = %586
  %616 = load i32, ptr @test_count, align 4, !tbaa !5
  %617 = add nsw i32 %616, 1
  store i32 %617, ptr @test_count, align 4, !tbaa !5
  %618 = trunc i64 %587 to i32
  %619 = call i32 @BIO_write(ptr noundef nonnull %591, ptr noundef nonnull %18, i32 noundef %618) #11
  %620 = icmp sgt i32 %619, 0
  br i1 %620, label %643, label %621

621:                                              ; preds = %615
  %622 = load i32, ptr %491, align 4, !tbaa !5
  %623 = load ptr, ptr @stderr, align 8, !tbaa !9
  %624 = call i32 @s2n_print_stacktrace(ptr noundef %623) #11
  %625 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %626 = trunc nuw i8 %625 to i1
  br i1 %626, label %627, label %631

627:                                              ; preds = %621
  %628 = load ptr, ptr @stderr, align 8, !tbaa !9
  %629 = call i32 @fileno(ptr noundef %628) #11
  %630 = call i32 @isatty(i32 noundef %629) #11
  %.not108 = icmp eq i32 %630, 0
  br i1 %.not108, label %631, label %632

631:                                              ; preds = %627, %621
  br label %632

632:                                              ; preds = %627, %631
  %.str.5.sink340 = phi ptr [ @.str.5, %631 ], [ @.str.2, %627 ]
  store i32 %622, ptr %491, align 4, !tbaa !5
  %633 = load ptr, ptr @stderr, align 8, !tbaa !9
  %634 = load i32, ptr @test_count, align 4, !tbaa !5
  %635 = load i32, ptr %437, align 4, !tbaa !5
  %636 = call ptr @s2n_strerror(i32 noundef %635, ptr noundef nonnull @.str.4) #11
  %637 = load i32, ptr %437, align 4, !tbaa !5
  %638 = call ptr @s2n_strerror_debug(i32 noundef %637, ptr noundef nonnull @.str.4) #11
  %639 = load i32, ptr %491, align 4, !tbaa !5
  %640 = call ptr @strerror(i32 noundef %639) #11
  %641 = load i32, ptr %491, align 4, !tbaa !5
  %642 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %633, ptr noundef nonnull %.str.5.sink340, i32 noundef %634, ptr noundef nonnull @.str.37, ptr noundef nonnull @.str.1, i32 noundef 206, ptr noundef %636, ptr noundef %638, ptr noundef %640, i32 noundef %641) #13
  call void @exit(i32 noundef 1) #14
  unreachable

643:                                              ; preds = %615
  %644 = load i32, ptr @test_count, align 4, !tbaa !5
  %645 = add nsw i32 %644, 1
  store i32 %645, ptr @test_count, align 4, !tbaa !5
  %646 = call ptr @PEM_read_bio_X509(ptr noundef nonnull %591, ptr noundef null, ptr noundef null, ptr noundef null) #11
  store ptr %646, ptr %19, align 8, !tbaa !9
  %647 = icmp eq ptr %646, null
  br i1 %647, label %648, label %670

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

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

658:                                              ; preds = %654, %648
  br label %659

659:                                              ; preds = %654, %658
  %.str.5.sink349 = phi ptr [ @.str.5, %658 ], [ @.str.2, %654 ]
  store i32 %649, ptr %491, align 4, !tbaa !5
  %660 = load ptr, ptr @stderr, align 8, !tbaa !9
  %661 = load i32, ptr @test_count, align 4, !tbaa !5
  %662 = load i32, ptr %437, align 4, !tbaa !5
  %663 = call ptr @s2n_strerror(i32 noundef %662, ptr noundef nonnull @.str.4) #11
  %664 = load i32, ptr %437, align 4, !tbaa !5
  %665 = call ptr @s2n_strerror_debug(i32 noundef %664, ptr noundef nonnull @.str.4) #11
  %666 = load i32, ptr %491, align 4, !tbaa !5
  %667 = call ptr @strerror(i32 noundef %666) #11
  %668 = load i32, ptr %491, align 4, !tbaa !5
  %669 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %660, ptr noundef nonnull %.str.5.sink349, i32 noundef %661, ptr noundef nonnull @.str.38, ptr noundef nonnull @.str.1, i32 noundef 207, ptr noundef %663, ptr noundef %665, ptr noundef %667, i32 noundef %668) #13
  call void @exit(i32 noundef 1) #14
  unreachable

670:                                              ; preds = %643
  %671 = load i32, ptr @test_count, align 4, !tbaa !5
  %672 = add nsw i32 %671, 1
  store i32 %672, ptr @test_count, align 4, !tbaa !5
  %673 = call ptr @PEM_read_bio_X509(ptr noundef nonnull %591, ptr noundef null, ptr noundef null, ptr noundef null) #11
  store ptr %673, ptr %20, align 8, !tbaa !9
  %674 = icmp eq ptr %673, null
  br i1 %674, label %675, label %697

675:                                              ; preds = %670
  %676 = load i32, ptr %491, align 4, !tbaa !5
  %677 = load ptr, ptr @stderr, align 8, !tbaa !9
  %678 = call i32 @s2n_print_stacktrace(ptr noundef %677) #11
  %679 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %680 = trunc nuw i8 %679 to i1
  br i1 %680, label %681, label %685

681:                                              ; preds = %675
  %682 = load ptr, ptr @stderr, align 8, !tbaa !9
  %683 = call i32 @fileno(ptr noundef %682) #11
  %684 = call i32 @isatty(i32 noundef %683) #11
  %.not117 = icmp eq i32 %684, 0
  br i1 %.not117, label %685, label %686

685:                                              ; preds = %681, %675
  br label %686

686:                                              ; preds = %681, %685
  %.str.5.sink358 = phi ptr [ @.str.5, %685 ], [ @.str.2, %681 ]
  store i32 %676, ptr %491, align 4, !tbaa !5
  %687 = load ptr, ptr @stderr, align 8, !tbaa !9
  %688 = load i32, ptr @test_count, align 4, !tbaa !5
  %689 = load i32, ptr %437, align 4, !tbaa !5
  %690 = call ptr @s2n_strerror(i32 noundef %689, ptr noundef nonnull @.str.4) #11
  %691 = load i32, ptr %437, align 4, !tbaa !5
  %692 = call ptr @s2n_strerror_debug(i32 noundef %691, ptr noundef nonnull @.str.4) #11
  %693 = load i32, ptr %491, align 4, !tbaa !5
  %694 = call ptr @strerror(i32 noundef %693) #11
  %695 = load i32, ptr %491, align 4, !tbaa !5
  %696 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %687, ptr noundef nonnull %.str.5.sink358, i32 noundef %688, ptr noundef nonnull @.str.39, ptr noundef nonnull @.str.1, i32 noundef 208, ptr noundef %690, ptr noundef %692, ptr noundef %694, i32 noundef %695) #13
  call void @exit(i32 noundef 1) #14
  unreachable

697:                                              ; preds = %670
  %698 = load i32, ptr @test_count, align 4, !tbaa !5
  %699 = add nsw i32 %698, 1
  store i32 %699, ptr @test_count, align 4, !tbaa !5
  %700 = call ptr @PEM_read_bio_X509(ptr noundef nonnull %591, ptr noundef null, ptr noundef null, ptr noundef null) #11
  store ptr %700, ptr %21, align 8, !tbaa !9
  %701 = icmp eq ptr %700, null
  br i1 %701, label %702, label %724

702:                                              ; preds = %697
  %703 = load i32, ptr %491, align 4, !tbaa !5
  %704 = load ptr, ptr @stderr, align 8, !tbaa !9
  %705 = call i32 @s2n_print_stacktrace(ptr noundef %704) #11
  %706 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %707 = trunc nuw i8 %706 to i1
  br i1 %707, label %708, label %712

708:                                              ; preds = %702
  %709 = load ptr, ptr @stderr, align 8, !tbaa !9
  %710 = call i32 @fileno(ptr noundef %709) #11
  %711 = call i32 @isatty(i32 noundef %710) #11
  %.not116 = icmp eq i32 %711, 0
  br i1 %.not116, label %712, label %713

712:                                              ; preds = %708, %702
  br label %713

713:                                              ; preds = %708, %712
  %.str.5.sink367 = phi ptr [ @.str.5, %712 ], [ @.str.2, %708 ]
  store i32 %703, ptr %491, align 4, !tbaa !5
  %714 = load ptr, ptr @stderr, align 8, !tbaa !9
  %715 = load i32, ptr @test_count, align 4, !tbaa !5
  %716 = load i32, ptr %437, align 4, !tbaa !5
  %717 = call ptr @s2n_strerror(i32 noundef %716, ptr noundef nonnull @.str.4) #11
  %718 = load i32, ptr %437, align 4, !tbaa !5
  %719 = call ptr @s2n_strerror_debug(i32 noundef %718, ptr noundef nonnull @.str.4) #11
  %720 = load i32, ptr %491, align 4, !tbaa !5
  %721 = call ptr @strerror(i32 noundef %720) #11
  %722 = load i32, ptr %491, align 4, !tbaa !5
  %723 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %714, ptr noundef nonnull %.str.5.sink367, i32 noundef %715, ptr noundef nonnull @.str.40, ptr noundef nonnull @.str.1, i32 noundef 209, ptr noundef %717, ptr noundef %719, ptr noundef %721, i32 noundef %722) #13
  call void @exit(i32 noundef 1) #14
  unreachable

724:                                              ; preds = %697
  %725 = load i32, ptr @test_count, align 4, !tbaa !5
  %726 = add nsw i32 %725, 1
  store i32 %726, ptr @test_count, align 4, !tbaa !5
  %727 = call i32 @BIO_free(ptr noundef nonnull %591) #11
  %728 = icmp eq i32 %727, -1
  br i1 %728, label %729, label %751

729:                                              ; preds = %724
  %730 = load i32, ptr %491, align 4, !tbaa !5
  %731 = load ptr, ptr @stderr, align 8, !tbaa !9
  %732 = call i32 @s2n_print_stacktrace(ptr noundef %731) #11
  %733 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %734 = trunc nuw i8 %733 to i1
  br i1 %734, label %735, label %739

735:                                              ; preds = %729
  %736 = load ptr, ptr @stderr, align 8, !tbaa !9
  %737 = call i32 @fileno(ptr noundef %736) #11
  %738 = call i32 @isatty(i32 noundef %737) #11
  %.not115 = icmp eq i32 %738, 0
  br i1 %.not115, label %739, label %740

739:                                              ; preds = %735, %729
  br label %740

740:                                              ; preds = %735, %739
  %.str.5.sink376 = phi ptr [ @.str.5, %739 ], [ @.str.2, %735 ]
  store i32 %730, ptr %491, align 4, !tbaa !5
  %741 = load ptr, ptr @stderr, align 8, !tbaa !9
  %742 = load i32, ptr @test_count, align 4, !tbaa !5
  %743 = load i32, ptr %437, align 4, !tbaa !5
  %744 = call ptr @s2n_strerror(i32 noundef %743, ptr noundef nonnull @.str.4) #11
  %745 = load i32, ptr %437, align 4, !tbaa !5
  %746 = call ptr @s2n_strerror_debug(i32 noundef %745, ptr noundef nonnull @.str.4) #11
  %747 = load i32, ptr %491, align 4, !tbaa !5
  %748 = call ptr @strerror(i32 noundef %747) #11
  %749 = load i32, ptr %491, align 4, !tbaa !5
  %750 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %741, ptr noundef nonnull %.str.5.sink376, i32 noundef %742, ptr noundef nonnull @.str.41, ptr noundef nonnull @.str.1, i32 noundef 210, ptr noundef %744, ptr noundef %746, ptr noundef %748, i32 noundef %749) #13
  call void @exit(i32 noundef 1) #14
  unreachable

751:                                              ; preds = %724
  call void @llvm.lifetime.start.p0(i64 20, ptr nonnull %22) #11
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 4 dereferenceable(20) %22, i8 0, i64 20, i1 false)
  call void @llvm.lifetime.start.p0(i64 20, ptr nonnull %23) #11
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 4 dereferenceable(20) %23, i8 0, i64 20, i1 false)
  call void @llvm.lifetime.start.p0(i64 20, ptr nonnull %24) #11
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 4 dereferenceable(20) %24, i8 0, i64 20, i1 false)
  %752 = load i32, ptr @test_count, align 4, !tbaa !5
  %753 = add nsw i32 %752, 1
  store i32 %753, ptr @test_count, align 4, !tbaa !5
  %754 = load ptr, ptr %19, align 8, !tbaa !9
  %755 = call i32 @s2n_openssl_x509_get_cert_info(ptr noundef %754, ptr noundef nonnull %22) #11
  %756 = call zeroext i1 @s2n_result_is_ok(i32 %755)
  br i1 %756, label %779, label %757

757:                                              ; preds = %751
  %758 = load i32, ptr %491, align 4, !tbaa !5
  %759 = load ptr, ptr @stderr, align 8, !tbaa !9
  %760 = call i32 @s2n_print_stacktrace(ptr noundef %759) #11
  %761 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %762 = trunc nuw i8 %761 to i1
  br i1 %762, label %763, label %767

763:                                              ; preds = %757
  %764 = load ptr, ptr @stderr, align 8, !tbaa !9
  %765 = call i32 @fileno(ptr noundef %764) #11
  %766 = call i32 @isatty(i32 noundef %765) #11
  %.not109 = icmp eq i32 %766, 0
  br i1 %.not109, label %767, label %768

767:                                              ; preds = %763, %757
  br label %768

768:                                              ; preds = %763, %767
  %.str.5.sink385 = phi ptr [ @.str.5, %767 ], [ @.str.2, %763 ]
  store i32 %758, ptr %491, align 4, !tbaa !5
  %769 = load ptr, ptr @stderr, align 8, !tbaa !9
  %770 = load i32, ptr @test_count, align 4, !tbaa !5
  %771 = load i32, ptr %437, align 4, !tbaa !5
  %772 = call ptr @s2n_strerror(i32 noundef %771, ptr noundef nonnull @.str.4) #11
  %773 = load i32, ptr %437, align 4, !tbaa !5
  %774 = call ptr @s2n_strerror_debug(i32 noundef %773, ptr noundef nonnull @.str.4) #11
  %775 = load i32, ptr %491, align 4, !tbaa !5
  %776 = call ptr @strerror(i32 noundef %775) #11
  %777 = load i32, ptr %491, align 4, !tbaa !5
  %778 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %769, ptr noundef nonnull %.str.5.sink385, i32 noundef %770, ptr noundef nonnull @.str.42, ptr noundef nonnull @.str.1, i32 noundef 217, ptr noundef %772, ptr noundef %774, ptr noundef %776, i32 noundef %777) #13
  call void @exit(i32 noundef 1) #14
  unreachable

779:                                              ; preds = %751
  %780 = load i32, ptr @test_count, align 4, !tbaa !5
  %781 = add nsw i32 %780, 1
  store i32 %781, ptr @test_count, align 4, !tbaa !5
  %782 = load ptr, ptr %20, align 8, !tbaa !9
  %783 = call i32 @s2n_openssl_x509_get_cert_info(ptr noundef %782, ptr noundef nonnull %23) #11
  %784 = call zeroext i1 @s2n_result_is_ok(i32 %783)
  br i1 %784, label %807, label %785

785:                                              ; preds = %779
  %786 = load i32, ptr %491, align 4, !tbaa !5
  %787 = load ptr, ptr @stderr, align 8, !tbaa !9
  %788 = call i32 @s2n_print_stacktrace(ptr noundef %787) #11
  %789 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %790 = trunc nuw i8 %789 to i1
  br i1 %790, label %791, label %795

791:                                              ; preds = %785
  %792 = load ptr, ptr @stderr, align 8, !tbaa !9
  %793 = call i32 @fileno(ptr noundef %792) #11
  %794 = call i32 @isatty(i32 noundef %793) #11
  %.not110 = icmp eq i32 %794, 0
  br i1 %.not110, label %795, label %796

795:                                              ; preds = %791, %785
  br label %796

796:                                              ; preds = %791, %795
  %.str.5.sink394 = phi ptr [ @.str.5, %795 ], [ @.str.2, %791 ]
  store i32 %786, ptr %491, align 4, !tbaa !5
  %797 = load ptr, ptr @stderr, align 8, !tbaa !9
  %798 = load i32, ptr @test_count, align 4, !tbaa !5
  %799 = load i32, ptr %437, align 4, !tbaa !5
  %800 = call ptr @s2n_strerror(i32 noundef %799, ptr noundef nonnull @.str.4) #11
  %801 = load i32, ptr %437, align 4, !tbaa !5
  %802 = call ptr @s2n_strerror_debug(i32 noundef %801, ptr noundef nonnull @.str.4) #11
  %803 = load i32, ptr %491, align 4, !tbaa !5
  %804 = call ptr @strerror(i32 noundef %803) #11
  %805 = load i32, ptr %491, align 4, !tbaa !5
  %806 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %797, ptr noundef nonnull %.str.5.sink394, i32 noundef %798, ptr noundef nonnull @.str.43, ptr noundef nonnull @.str.1, i32 noundef 218, ptr noundef %800, ptr noundef %802, ptr noundef %804, i32 noundef %805) #13
  call void @exit(i32 noundef 1) #14
  unreachable

807:                                              ; preds = %779
  %808 = load i32, ptr @test_count, align 4, !tbaa !5
  %809 = add nsw i32 %808, 1
  store i32 %809, ptr @test_count, align 4, !tbaa !5
  %810 = load ptr, ptr %21, align 8, !tbaa !9
  %811 = call i32 @s2n_openssl_x509_get_cert_info(ptr noundef %810, ptr noundef nonnull %24) #11
  %812 = call zeroext i1 @s2n_result_is_ok(i32 %811)
  br i1 %812, label %835, label %813

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

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

823:                                              ; preds = %819, %813
  br label %824

824:                                              ; preds = %819, %823
  %.str.5.sink403 = phi ptr [ @.str.5, %823 ], [ @.str.2, %819 ]
  store i32 %814, ptr %491, align 4, !tbaa !5
  %825 = load ptr, ptr @stderr, align 8, !tbaa !9
  %826 = load i32, ptr @test_count, align 4, !tbaa !5
  %827 = load i32, ptr %437, align 4, !tbaa !5
  %828 = call ptr @s2n_strerror(i32 noundef %827, ptr noundef nonnull @.str.4) #11
  %829 = load i32, ptr %437, align 4, !tbaa !5
  %830 = call ptr @s2n_strerror_debug(i32 noundef %829, ptr noundef nonnull @.str.4) #11
  %831 = load i32, ptr %491, align 4, !tbaa !5
  %832 = call ptr @strerror(i32 noundef %831) #11
  %833 = load i32, ptr %491, align 4, !tbaa !5
  %834 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %825, ptr noundef nonnull %.str.5.sink403, i32 noundef %826, ptr noundef nonnull @.str.44, ptr noundef nonnull @.str.1, i32 noundef 219, ptr noundef %828, ptr noundef %830, ptr noundef %832, i32 noundef %833) #13
  call void @exit(i32 noundef 1) #14
  unreachable

835:                                              ; preds = %807
  call void @llvm.lifetime.start.p0(i64 20, ptr nonnull %25) #11
  %836 = getelementptr inbounds i8, ptr %527, i64 32
  %837 = load <4 x i32>, ptr %836, align 16, !tbaa !5
  store <4 x i32> %837, ptr %25, align 16, !tbaa !5
  store i8 0, ptr %520, align 16, !tbaa !20
  %838 = load i32, ptr @test_count, align 4, !tbaa !5
  %839 = add nsw i32 %838, 1
  store i32 %839, ptr @test_count, align 4, !tbaa !5
  %840 = call i32 @s2n_test_assert_s2n_cert_info_equality(ptr noundef nonnull %22, ptr noundef nonnull %25)
  %841 = call zeroext i1 @s2n_result_is_ok(i32 %840)
  br i1 %841, label %864, label %842

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

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

852:                                              ; preds = %848, %842
  br label %853

853:                                              ; preds = %848, %852
  %.str.5.sink412 = phi ptr [ @.str.5, %852 ], [ @.str.2, %848 ]
  store i32 %843, ptr %491, align 4, !tbaa !5
  %854 = load ptr, ptr @stderr, align 8, !tbaa !9
  %855 = load i32, ptr @test_count, align 4, !tbaa !5
  %856 = load i32, ptr %437, align 4, !tbaa !5
  %857 = call ptr @s2n_strerror(i32 noundef %856, ptr noundef nonnull @.str.4) #11
  %858 = load i32, ptr %437, align 4, !tbaa !5
  %859 = call ptr @s2n_strerror_debug(i32 noundef %858, ptr noundef nonnull @.str.4) #11
  %860 = load i32, ptr %491, align 4, !tbaa !5
  %861 = call ptr @strerror(i32 noundef %860) #11
  %862 = load i32, ptr %491, align 4, !tbaa !5
  %863 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %854, ptr noundef nonnull %.str.5.sink412, i32 noundef %855, ptr noundef nonnull @.str.45, ptr noundef nonnull @.str.1, i32 noundef 230, ptr noundef %857, ptr noundef %859, ptr noundef %861, i32 noundef %862) #13
  call void @exit(i32 noundef 1) #14
  unreachable

864:                                              ; preds = %835
  %865 = load i32, ptr @test_count, align 4, !tbaa !5
  %866 = add nsw i32 %865, 1
  store i32 %866, ptr @test_count, align 4, !tbaa !5
  %867 = call i32 @s2n_test_assert_s2n_cert_info_equality(ptr noundef nonnull %23, ptr noundef nonnull %25)
  %868 = call zeroext i1 @s2n_result_is_ok(i32 %867)
  br i1 %868, label %891, label %869

869:                                              ; preds = %864
  %870 = load i32, ptr %491, align 4, !tbaa !5
  %871 = load ptr, ptr @stderr, align 8, !tbaa !9
  %872 = call i32 @s2n_print_stacktrace(ptr noundef %871) #11
  %873 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %874 = trunc nuw i8 %873 to i1
  br i1 %874, label %875, label %879

875:                                              ; preds = %869
  %876 = load ptr, ptr @stderr, align 8, !tbaa !9
  %877 = call i32 @fileno(ptr noundef %876) #11
  %878 = call i32 @isatty(i32 noundef %877) #11
  %.not113 = icmp eq i32 %878, 0
  br i1 %.not113, label %879, label %880

879:                                              ; preds = %875, %869
  br label %880

880:                                              ; preds = %875, %879
  %.str.5.sink421 = phi ptr [ @.str.5, %879 ], [ @.str.2, %875 ]
  store i32 %870, ptr %491, align 4, !tbaa !5
  %881 = load ptr, ptr @stderr, align 8, !tbaa !9
  %882 = load i32, ptr @test_count, align 4, !tbaa !5
  %883 = load i32, ptr %437, align 4, !tbaa !5
  %884 = call ptr @s2n_strerror(i32 noundef %883, ptr noundef nonnull @.str.4) #11
  %885 = load i32, ptr %437, align 4, !tbaa !5
  %886 = call ptr @s2n_strerror_debug(i32 noundef %885, ptr noundef nonnull @.str.4) #11
  %887 = load i32, ptr %491, align 4, !tbaa !5
  %888 = call ptr @strerror(i32 noundef %887) #11
  %889 = load i32, ptr %491, align 4, !tbaa !5
  %890 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %881, ptr noundef nonnull %.str.5.sink421, i32 noundef %882, ptr noundef nonnull @.str.46, ptr noundef nonnull @.str.1, i32 noundef 231, ptr noundef %884, ptr noundef %886, ptr noundef %888, i32 noundef %889) #13
  call void @exit(i32 noundef 1) #14
  unreachable

891:                                              ; preds = %864
  store i8 1, ptr %520, align 16, !tbaa !20
  %892 = load i32, ptr @test_count, align 4, !tbaa !5
  %893 = add nsw i32 %892, 1
  store i32 %893, ptr @test_count, align 4, !tbaa !5
  %894 = call i32 @s2n_test_assert_s2n_cert_info_equality(ptr noundef nonnull %24, ptr noundef nonnull %25)
  %895 = call zeroext i1 @s2n_result_is_ok(i32 %894)
  br i1 %895, label %918, label %896

896:                                              ; preds = %891
  %897 = load i32, ptr %491, align 4, !tbaa !5
  %898 = load ptr, ptr @stderr, align 8, !tbaa !9
  %899 = call i32 @s2n_print_stacktrace(ptr noundef %898) #11
  %900 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %901 = trunc nuw i8 %900 to i1
  br i1 %901, label %902, label %906

902:                                              ; preds = %896
  %903 = load ptr, ptr @stderr, align 8, !tbaa !9
  %904 = call i32 @fileno(ptr noundef %903) #11
  %905 = call i32 @isatty(i32 noundef %904) #11
  %.not114 = icmp eq i32 %905, 0
  br i1 %.not114, label %906, label %907

906:                                              ; preds = %902, %896
  br label %907

907:                                              ; preds = %902, %906
  %.str.5.sink430 = phi ptr [ @.str.5, %906 ], [ @.str.2, %902 ]
  store i32 %897, ptr %491, align 4, !tbaa !5
  %908 = load ptr, ptr @stderr, align 8, !tbaa !9
  %909 = load i32, ptr @test_count, align 4, !tbaa !5
  %910 = load i32, ptr %437, align 4, !tbaa !5
  %911 = call ptr @s2n_strerror(i32 noundef %910, ptr noundef nonnull @.str.4) #11
  %912 = load i32, ptr %437, align 4, !tbaa !5
  %913 = call ptr @s2n_strerror_debug(i32 noundef %912, ptr noundef nonnull @.str.4) #11
  %914 = load i32, ptr %491, align 4, !tbaa !5
  %915 = call ptr @strerror(i32 noundef %914) #11
  %916 = load i32, ptr %491, align 4, !tbaa !5
  %917 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %908, ptr noundef nonnull %.str.5.sink430, i32 noundef %909, ptr noundef nonnull @.str.47, ptr noundef nonnull @.str.1, i32 noundef 234, ptr noundef %911, ptr noundef %913, ptr noundef %915, i32 noundef %916) #13
  call void @exit(i32 noundef 1) #14
  unreachable

918:                                              ; preds = %891
  call void @llvm.lifetime.end.p0(i64 20, ptr nonnull %25) #11
  call void @llvm.lifetime.end.p0(i64 20, ptr nonnull %24) #11
  call void @llvm.lifetime.end.p0(i64 20, ptr nonnull %23) #11
  call void @llvm.lifetime.end.p0(i64 20, ptr nonnull %22) #11
  call void @X509_free_pointer(ptr noundef nonnull %21)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #11
  call void @X509_free_pointer(ptr noundef nonnull %20)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #11
  call void @X509_free_pointer(ptr noundef nonnull %19)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #11
  call void @llvm.lifetime.end.p0(i64 12000, ptr nonnull %18) #11
  call void @llvm.lifetime.end.p0(i64 512, ptr nonnull %17) #11
  %919 = add nuw nsw i64 %.0132, 1
  %exitcond.not = icmp eq i64 %919, 6
  br i1 %exitcond.not, label %521, label %524, !llvm.loop !22

920:                                              ; preds = %521
  %921 = load i32, ptr %491, align 4, !tbaa !5
  %922 = load ptr, ptr @stderr, align 8, !tbaa !9
  %923 = call i32 @s2n_print_stacktrace(ptr noundef %922) #11
  %924 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %925 = trunc nuw i8 %924 to i1
  br i1 %925, label %926, label %930

926:                                              ; preds = %920
  %927 = load ptr, ptr @stderr, align 8, !tbaa !9
  %928 = call i32 @fileno(ptr noundef %927) #11
  %929 = call i32 @isatty(i32 noundef %928) #11
  %.not106 = icmp eq i32 %929, 0
  br i1 %.not106, label %930, label %931

930:                                              ; preds = %926, %920
  br label %931

931:                                              ; preds = %926, %930
  %.str.5.sink439 = phi ptr [ @.str.5, %930 ], [ @.str.2, %926 ]
  store i32 %921, ptr %491, align 4, !tbaa !5
  %932 = load ptr, ptr @stderr, align 8, !tbaa !9
  %933 = load i32, ptr @test_count, align 4, !tbaa !5
  %934 = load i32, ptr %437, align 4, !tbaa !5
  %935 = call ptr @s2n_strerror(i32 noundef %934, ptr noundef nonnull @.str.4) #11
  %936 = load i32, ptr %437, align 4, !tbaa !5
  %937 = call ptr @s2n_strerror_debug(i32 noundef %936, ptr noundef nonnull @.str.4) #11
  %938 = load i32, ptr %491, align 4, !tbaa !5
  %939 = call ptr @strerror(i32 noundef %938) #11
  %940 = load i32, ptr %491, align 4, !tbaa !5
  %941 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %932, ptr noundef nonnull %.str.5.sink439, i32 noundef %933, ptr noundef nonnull @.str.48, ptr noundef nonnull @.str.1, i32 noundef 237, ptr noundef %935, ptr noundef %937, ptr noundef %939, i32 noundef %940) #13
  call void @exit(i32 noundef 1) #14
  unreachable

942:                                              ; preds = %521
  %943 = call i32 @s2n_in_unit_test_set(i1 noundef zeroext false) #11
  %944 = icmp eq i32 %943, -1
  br i1 %944, label %945, label %967

945:                                              ; preds = %942
  %946 = load i32, ptr %491, align 4, !tbaa !5
  %947 = load ptr, ptr @stderr, align 8, !tbaa !9
  %948 = call i32 @s2n_print_stacktrace(ptr noundef %947) #11
  %949 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %950 = trunc nuw i8 %949 to i1
  br i1 %950, label %951, label %955

951:                                              ; preds = %945
  %952 = load ptr, ptr @stderr, align 8, !tbaa !9
  %953 = call i32 @fileno(ptr noundef %952) #11
  %954 = call i32 @isatty(i32 noundef %953) #11
  %.not105 = icmp eq i32 %954, 0
  br i1 %.not105, label %955, label %956

955:                                              ; preds = %951, %945
  br label %956

956:                                              ; preds = %951, %955
  %.str.5.sink448 = phi ptr [ @.str.5, %955 ], [ @.str.2, %951 ]
  store i32 %946, ptr %491, align 4, !tbaa !5
  %957 = load ptr, ptr @stderr, align 8, !tbaa !9
  %958 = load i32, ptr @test_count, align 4, !tbaa !5
  %959 = load i32, ptr %437, align 4, !tbaa !5
  %960 = call ptr @s2n_strerror(i32 noundef %959, ptr noundef nonnull @.str.4) #11
  %961 = load i32, ptr %437, align 4, !tbaa !5
  %962 = call ptr @s2n_strerror_debug(i32 noundef %961, ptr noundef nonnull @.str.4) #11
  %963 = load i32, ptr %491, align 4, !tbaa !5
  %964 = call ptr @strerror(i32 noundef %963) #11
  %965 = load i32, ptr %491, align 4, !tbaa !5
  %966 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %957, ptr noundef nonnull %.str.5.sink448, i32 noundef %958, ptr noundef nonnull @.str.49, ptr noundef nonnull @.str.1, i32 noundef 237, ptr noundef %960, ptr noundef %962, ptr noundef %964, i32 noundef %965) #13
  call void @exit(i32 noundef 1) #14
  unreachable

967:                                              ; preds = %942
  %968 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %969 = trunc nuw i8 %968 to i1
  br i1 %969, label %970, label %981

970:                                              ; preds = %967
  %971 = load ptr, ptr @stdout, align 8, !tbaa !9
  %972 = call i32 @fileno(ptr noundef %971) #11
  %973 = call i32 @isatty(i32 noundef %972) #11
  %.not102 = icmp eq i32 %973, 0
  br i1 %.not102, label %981, label %974

974:                                              ; preds = %970
  %975 = load i32, ptr @test_count, align 4, !tbaa !5
  %.not104 = icmp eq i32 %975, 0
  %976 = load ptr, ptr @stdout, align 8, !tbaa !9
  br i1 %.not104, label %979, label %977

977:                                              ; preds = %974
  %978 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %976, ptr noundef nonnull @.str.50, i32 noundef %975) #11
  br label %988

979:                                              ; preds = %974
  %980 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %976, ptr noundef nonnull @.str.51) #11
  br label %988

981:                                              ; preds = %970, %967
  %982 = load i32, ptr @test_count, align 4, !tbaa !5
  %.not103 = icmp eq i32 %982, 0
  %983 = load ptr, ptr @stdout, align 8, !tbaa !9
  br i1 %.not103, label %986, label %984

984:                                              ; preds = %981
  %985 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %983, ptr noundef nonnull @.str.52, i32 noundef %982) #11
  br label %988

986:                                              ; preds = %981
  %987 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %983, ptr noundef nonnull @.str.53) #11
  br label %988

988:                                              ; preds = %984, %986, %977, %979
  ret i32 0
}

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

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

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

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #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 #2

; 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 #1

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

; 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 #2

; 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) #3

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

declare i32 @s2n_enable_atexit() local_unnamed_addr #2

declare i32 @s2n_init() local_unnamed_addr #2

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

declare i32 @s2n_read_test_pem_and_len(ptr noundef, ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2

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

declare i32 @s2n_stuffer_free(ptr noundef) local_unnamed_addr #2

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden zeroext i1 @s2n_result_is_ok(i32) local_unnamed_addr #9

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @X509_free_pointer(ptr noundef) local_unnamed_addr #9

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

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden zeroext i1 @s2n_result_is_error(i32) local_unnamed_addr #9

declare void @s2n_debug_info_reset() local_unnamed_addr #2

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

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

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

declare ptr @BIO_new(ptr noundef) local_unnamed_addr #2

declare ptr @BIO_s_mem() local_unnamed_addr #2

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

declare ptr @PEM_read_bio_X509(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

declare i32 @BIO_free(ptr noundef) local_unnamed_addr #2

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

; Function Attrs: nounwind uwtable
declare hidden i32 @s2n_test_assert_s2n_cert_info_equality(ptr noundef, ptr noundef) local_unnamed_addr #0

declare i32 @s2n_cleanup() local_unnamed_addr #2

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 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #9 = { inlinehint 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 #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 = { nounwind }
attributes #12 = { nounwind willreturn memory(none) }
attributes #13 = { cold nounwind }
attributes #14 = { noreturn nounwind }
attributes #15 = { 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, !10, i64 0}
!16 = !{!"", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !6, i64 32, !6, i64 36, !6, i64 40, !6, i64 44}
!17 = !{!16, !10, i64 8}
!18 = !{!16, !10, i64 16}
!19 = !{!16, !10, i64 24}
!20 = !{!21, !12, i64 16}
!21 = !{!"s2n_cert_info", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12, !12, i64 16}
!22 = distinct !{!22, !23}
!23 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,LICMPass,LoopRotatePass,PostOrderFunctionAttrsPass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass