; LLVM IR from aws/s2n-tls :: tests/unit (s2n_testlib_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, i64, [100 x i8] }
%struct.s2n_test_io_pair = type { i32, i32 }
%struct.s2n_blob = type { ptr, i32, i32, i8 }
%struct.s2n_result = type { i32 }

@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 [75 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 [56 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [79 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [87 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [70 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [61 x i8], align 1
@__const.main.test_cases = external hidden unnamed_addr constant <{ { ptr, i64, <{ i8, i8, [98 x i8] }> }, { ptr, i64, <{ i8, i8, [98 x i8] }> }, { ptr, i64, <{ i8, i8, [98 x i8] }> }, { ptr, i64, <{ i8, i8, [98 x i8] }> }, { ptr, i64, <{ i8, i8, [98 x i8] }> }, %struct.anon, %struct.anon, { ptr, i64, <{ i8, i8, i8, i8, i8, [95 x i8] }> }, { ptr, i64, <{ i8, i8, i8, i8, i8, [95 x i8] }> } }>, align 16
@.str.23 = external hidden unnamed_addr constant [108 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [74 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [108 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.31 = 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 i32, align 4
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca %struct.s2n_test_io_pair, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca [9 x %struct.anon], align 16
  %19 = alloca i64, align 8
  %20 = alloca %struct.s2n_blob, align 8
  %21 = alloca %struct.s2n_result, align 4
  %22 = alloca i32, align 4
  %23 = alloca i32, align 4
  %24 = alloca i32, align 4
  %25 = alloca i32, align 4
  %26 = 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 %27

27:                                               ; preds = %2
  br label %28

28:                                               ; preds = %27
  store i32 0, ptr @test_count, align 4, !tbaa !5
  %29 = load ptr, ptr @stdout, align 8, !tbaa !9
  %30 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %29, ptr noundef @.str, ptr noundef @.str.1) #11
  %31 = load ptr, ptr @stdout, align 8, !tbaa !9
  %32 = call i32 @fflush(ptr noundef %31)
  br label %33

33:                                               ; preds = %28
  %34 = call i32 @s2n_in_unit_test_set(i1 noundef zeroext true)
  %35 = icmp eq i32 %34, -1
  br i1 %35, label %36, label %87

36:                                               ; preds = %33
  br label %37

37:                                               ; preds = %36
  br label %38

38:                                               ; preds = %37
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #11
  %39 = call ptr @__errno_location() #12
  %40 = load i32, ptr %39, align 4, !tbaa !5
  store i32 %40, ptr %6, align 4, !tbaa !5
  %41 = load ptr, ptr @stderr, align 8, !tbaa !9
  %42 = call i32 @s2n_print_stacktrace(ptr noundef %41)
  %43 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %44 = trunc i8 %43 to i1
  br i1 %44, label %45, label %67

45:                                               ; preds = %38
  %46 = load ptr, ptr @stderr, align 8, !tbaa !9
  %47 = call i32 @fileno(ptr noundef %46) #11
  %48 = call i32 @isatty(i32 noundef %47) #11
  %49 = icmp ne i32 %48, 0
  br i1 %49, label %50, label %67

50:                                               ; preds = %45
  %51 = load i32, ptr %6, align 4, !tbaa !5
  %52 = call ptr @__errno_location() #12
  store i32 %51, ptr %52, align 4, !tbaa !5
  %53 = load ptr, ptr @stderr, align 8, !tbaa !9
  %54 = load i32, ptr @test_count, align 4, !tbaa !5
  %55 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %56 = load i32, ptr %55, align 4, !tbaa !5
  %57 = call ptr @s2n_strerror(i32 noundef %56, ptr noundef @.str.4)
  %58 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %59 = load i32, ptr %58, align 4, !tbaa !5
  %60 = call ptr @s2n_strerror_debug(i32 noundef %59, ptr noundef @.str.4)
  %61 = call ptr @__errno_location() #12
  %62 = load i32, ptr %61, align 4, !tbaa !5
  %63 = call ptr @strerror(i32 noundef %62) #11
  %64 = call ptr @__errno_location() #12
  %65 = load i32, ptr %64, align 4, !tbaa !5
  %66 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %53, ptr noundef @.str.2, i32 noundef %54, ptr noundef @.str.3, ptr noundef @.str.1, i32 noundef 22, ptr noundef %57, ptr noundef %60, ptr noundef %63, i32 noundef %65) #11
  br label %84

67:                                               ; preds = %45, %38
  %68 = load i32, ptr %6, align 4, !tbaa !5
  %69 = call ptr @__errno_location() #12
  store i32 %68, ptr %69, align 4, !tbaa !5
  %70 = load ptr, ptr @stderr, align 8, !tbaa !9
  %71 = load i32, ptr @test_count, align 4, !tbaa !5
  %72 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %73 = load i32, ptr %72, align 4, !tbaa !5
  %74 = call ptr @s2n_strerror(i32 noundef %73, ptr noundef @.str.4)
  %75 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %76 = load i32, ptr %75, align 4, !tbaa !5
  %77 = call ptr @s2n_strerror_debug(i32 noundef %76, ptr noundef @.str.4)
  %78 = call ptr @__errno_location() #12
  %79 = load i32, ptr %78, align 4, !tbaa !5
  %80 = call ptr @strerror(i32 noundef %79) #11
  %81 = call ptr @__errno_location() #12
  %82 = load i32, ptr %81, align 4, !tbaa !5
  %83 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %70, ptr noundef @.str.5, i32 noundef %71, ptr noundef @.str.3, ptr noundef @.str.1, i32 noundef 22, ptr noundef %74, ptr noundef %77, ptr noundef %80, i32 noundef %82) #11
  br label %84

84:                                               ; preds = %67, %50
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #11
  br label %85

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

86:                                               ; No predecessors!
  br label %87

87:                                               ; preds = %86, %33
  br label %88

88:                                               ; preds = %87
  br label %89

89:                                               ; preds = %88
  %90 = load i32, ptr @test_count, align 4, !tbaa !5
  %91 = add nsw i32 %90, 1
  store i32 %91, ptr @test_count, align 4, !tbaa !5
  %92 = call i32 @s2n_enable_atexit()
  %93 = icmp eq i32 %92, -1
  br i1 %93, label %94, label %145

94:                                               ; preds = %89
  br label %95

95:                                               ; preds = %94
  br label %96

96:                                               ; preds = %95
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #11
  %97 = call ptr @__errno_location() #12
  %98 = load i32, ptr %97, align 4, !tbaa !5
  store i32 %98, ptr %7, align 4, !tbaa !5
  %99 = load ptr, ptr @stderr, align 8, !tbaa !9
  %100 = call i32 @s2n_print_stacktrace(ptr noundef %99)
  %101 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %102 = trunc i8 %101 to i1
  br i1 %102, label %103, label %125

103:                                              ; preds = %96
  %104 = load ptr, ptr @stderr, align 8, !tbaa !9
  %105 = call i32 @fileno(ptr noundef %104) #11
  %106 = call i32 @isatty(i32 noundef %105) #11
  %107 = icmp ne i32 %106, 0
  br i1 %107, label %108, label %125

108:                                              ; preds = %103
  %109 = load i32, ptr %7, align 4, !tbaa !5
  %110 = call ptr @__errno_location() #12
  store i32 %109, ptr %110, align 4, !tbaa !5
  %111 = load ptr, ptr @stderr, align 8, !tbaa !9
  %112 = load i32, ptr @test_count, align 4, !tbaa !5
  %113 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %114 = load i32, ptr %113, align 4, !tbaa !5
  %115 = call ptr @s2n_strerror(i32 noundef %114, ptr noundef @.str.4)
  %116 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %117 = load i32, ptr %116, align 4, !tbaa !5
  %118 = call ptr @s2n_strerror_debug(i32 noundef %117, ptr noundef @.str.4)
  %119 = call ptr @__errno_location() #12
  %120 = load i32, ptr %119, align 4, !tbaa !5
  %121 = call ptr @strerror(i32 noundef %120) #11
  %122 = call ptr @__errno_location() #12
  %123 = load i32, ptr %122, align 4, !tbaa !5
  %124 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %111, ptr noundef @.str.2, i32 noundef %112, ptr noundef @.str.6, ptr noundef @.str.1, i32 noundef 22, ptr noundef %115, ptr noundef %118, ptr noundef %121, i32 noundef %123) #11
  br label %142

125:                                              ; preds = %103, %96
  %126 = load i32, ptr %7, align 4, !tbaa !5
  %127 = call ptr @__errno_location() #12
  store i32 %126, ptr %127, align 4, !tbaa !5
  %128 = load ptr, ptr @stderr, align 8, !tbaa !9
  %129 = load i32, ptr @test_count, align 4, !tbaa !5
  %130 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %131 = load i32, ptr %130, align 4, !tbaa !5
  %132 = call ptr @s2n_strerror(i32 noundef %131, ptr noundef @.str.4)
  %133 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %134 = load i32, ptr %133, align 4, !tbaa !5
  %135 = call ptr @s2n_strerror_debug(i32 noundef %134, ptr noundef @.str.4)
  %136 = call ptr @__errno_location() #12
  %137 = load i32, ptr %136, align 4, !tbaa !5
  %138 = call ptr @strerror(i32 noundef %137) #11
  %139 = call ptr @__errno_location() #12
  %140 = load i32, ptr %139, align 4, !tbaa !5
  %141 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %128, ptr noundef @.str.5, i32 noundef %129, ptr noundef @.str.6, ptr noundef @.str.1, i32 noundef 22, ptr noundef %132, ptr noundef %135, ptr noundef %138, i32 noundef %140) #11
  br label %142

142:                                              ; preds = %125, %108
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #11
  br label %143

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

144:                                              ; No predecessors!
  br label %145

145:                                              ; preds = %144, %89
  br label %146

146:                                              ; preds = %145
  br label %147

147:                                              ; preds = %146
  br label %148

148:                                              ; preds = %147
  %149 = call i32 @s2n_init()
  %150 = icmp eq i32 %149, -1
  br i1 %150, label %151, label %202

151:                                              ; preds = %148
  br label %152

152:                                              ; preds = %151
  br label %153

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

160:                                              ; preds = %153
  %161 = load ptr, ptr @stderr, align 8, !tbaa !9
  %162 = call i32 @fileno(ptr noundef %161) #11
  %163 = call i32 @isatty(i32 noundef %162) #11
  %164 = icmp ne i32 %163, 0
  br i1 %164, label %165, label %182

165:                                              ; preds = %160
  %166 = load i32, ptr %8, align 4, !tbaa !5
  %167 = call ptr @__errno_location() #12
  store i32 %166, ptr %167, align 4, !tbaa !5
  %168 = load ptr, ptr @stderr, align 8, !tbaa !9
  %169 = load i32, ptr @test_count, align 4, !tbaa !5
  %170 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %171 = load i32, ptr %170, align 4, !tbaa !5
  %172 = call ptr @s2n_strerror(i32 noundef %171, ptr noundef @.str.4)
  %173 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %174 = load i32, ptr %173, align 4, !tbaa !5
  %175 = call ptr @s2n_strerror_debug(i32 noundef %174, ptr noundef @.str.4)
  %176 = call ptr @__errno_location() #12
  %177 = load i32, ptr %176, align 4, !tbaa !5
  %178 = call ptr @strerror(i32 noundef %177) #11
  %179 = call ptr @__errno_location() #12
  %180 = load i32, ptr %179, align 4, !tbaa !5
  %181 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %168, ptr noundef @.str.2, i32 noundef %169, ptr noundef @.str.7, ptr noundef @.str.1, i32 noundef 22, ptr noundef %172, ptr noundef %175, ptr noundef %178, i32 noundef %180) #11
  br label %199

182:                                              ; preds = %160, %153
  %183 = load i32, ptr %8, align 4, !tbaa !5
  %184 = call ptr @__errno_location() #12
  store i32 %183, ptr %184, align 4, !tbaa !5
  %185 = load ptr, ptr @stderr, align 8, !tbaa !9
  %186 = load i32, ptr @test_count, align 4, !tbaa !5
  %187 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %188 = load i32, ptr %187, align 4, !tbaa !5
  %189 = call ptr @s2n_strerror(i32 noundef %188, ptr noundef @.str.4)
  %190 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %191 = load i32, ptr %190, align 4, !tbaa !5
  %192 = call ptr @s2n_strerror_debug(i32 noundef %191, ptr noundef @.str.4)
  %193 = call ptr @__errno_location() #12
  %194 = load i32, ptr %193, align 4, !tbaa !5
  %195 = call ptr @strerror(i32 noundef %194) #11
  %196 = call ptr @__errno_location() #12
  %197 = load i32, ptr %196, align 4, !tbaa !5
  %198 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %185, ptr noundef @.str.5, i32 noundef %186, ptr noundef @.str.7, ptr noundef @.str.1, i32 noundef 22, ptr noundef %189, ptr noundef %192, ptr noundef %195, i32 noundef %197) #11
  br label %199

199:                                              ; preds = %182, %165
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #11
  br label %200

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

201:                                              ; No predecessors!
  br label %202

202:                                              ; preds = %201, %148
  br label %203

203:                                              ; preds = %202
  br label %204

204:                                              ; preds = %203
  br label %205

205:                                              ; preds = %204
  %206 = load i32, ptr @test_count, align 4, !tbaa !5
  %207 = add nsw i32 %206, 1
  store i32 %207, ptr @test_count, align 4, !tbaa !5
  %208 = call i32 (...) @s2n_disable_tls13_in_test()
  %209 = icmp eq i32 %208, -1
  br i1 %209, label %210, label %261

210:                                              ; preds = %205
  br label %211

211:                                              ; preds = %210
  br label %212

212:                                              ; preds = %211
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #11
  %213 = call ptr @__errno_location() #12
  %214 = load i32, ptr %213, align 4, !tbaa !5
  store i32 %214, ptr %9, align 4, !tbaa !5
  %215 = load ptr, ptr @stderr, align 8, !tbaa !9
  %216 = call i32 @s2n_print_stacktrace(ptr noundef %215)
  %217 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %218 = trunc i8 %217 to i1
  br i1 %218, label %219, label %241

219:                                              ; preds = %212
  %220 = load ptr, ptr @stderr, align 8, !tbaa !9
  %221 = call i32 @fileno(ptr noundef %220) #11
  %222 = call i32 @isatty(i32 noundef %221) #11
  %223 = icmp ne i32 %222, 0
  br i1 %223, label %224, label %241

224:                                              ; preds = %219
  %225 = load i32, ptr %9, align 4, !tbaa !5
  %226 = call ptr @__errno_location() #12
  store i32 %225, ptr %226, align 4, !tbaa !5
  %227 = load ptr, ptr @stderr, align 8, !tbaa !9
  %228 = load i32, ptr @test_count, align 4, !tbaa !5
  %229 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %230 = load i32, ptr %229, align 4, !tbaa !5
  %231 = call ptr @s2n_strerror(i32 noundef %230, ptr noundef @.str.4)
  %232 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %233 = load i32, ptr %232, align 4, !tbaa !5
  %234 = call ptr @s2n_strerror_debug(i32 noundef %233, ptr noundef @.str.4)
  %235 = call ptr @__errno_location() #12
  %236 = load i32, ptr %235, align 4, !tbaa !5
  %237 = call ptr @strerror(i32 noundef %236) #11
  %238 = call ptr @__errno_location() #12
  %239 = load i32, ptr %238, align 4, !tbaa !5
  %240 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %227, ptr noundef @.str.2, i32 noundef %228, ptr noundef @.str.8, ptr noundef @.str.1, i32 noundef 23, ptr noundef %231, ptr noundef %234, ptr noundef %237, i32 noundef %239) #11
  br label %258

241:                                              ; preds = %219, %212
  %242 = load i32, ptr %9, align 4, !tbaa !5
  %243 = call ptr @__errno_location() #12
  store i32 %242, ptr %243, align 4, !tbaa !5
  %244 = load ptr, ptr @stderr, align 8, !tbaa !9
  %245 = load i32, ptr @test_count, align 4, !tbaa !5
  %246 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %247 = load i32, ptr %246, align 4, !tbaa !5
  %248 = call ptr @s2n_strerror(i32 noundef %247, ptr noundef @.str.4)
  %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_debug(i32 noundef %250, ptr noundef @.str.4)
  %252 = call ptr @__errno_location() #12
  %253 = load i32, ptr %252, align 4, !tbaa !5
  %254 = call ptr @strerror(i32 noundef %253) #11
  %255 = call ptr @__errno_location() #12
  %256 = load i32, ptr %255, align 4, !tbaa !5
  %257 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %244, ptr noundef @.str.5, i32 noundef %245, ptr noundef @.str.8, ptr noundef @.str.1, i32 noundef 23, ptr noundef %248, ptr noundef %251, ptr noundef %254, i32 noundef %256) #11
  br label %258

258:                                              ; preds = %241, %224
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #11
  br label %259

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

260:                                              ; No predecessors!
  br label %261

261:                                              ; preds = %260, %205
  br label %262

262:                                              ; preds = %261
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #11
  store ptr null, ptr %10, align 8, !tbaa !9
  br label %263

263:                                              ; preds = %262
  %264 = load i32, ptr @test_count, align 4, !tbaa !5
  %265 = add nsw i32 %264, 1
  store i32 %265, ptr @test_count, align 4, !tbaa !5
  %266 = call ptr @s2n_connection_new(i32 noundef 0)
  store ptr %266, ptr %10, align 8, !tbaa !9
  %267 = icmp eq ptr %266, null
  br i1 %267, label %268, label %321

268:                                              ; preds = %263
  br label %269

269:                                              ; preds = %268
  br label %270

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

277:                                              ; preds = %270
  %278 = load ptr, ptr @stderr, align 8, !tbaa !9
  %279 = call i32 @fileno(ptr noundef %278) #11
  %280 = call i32 @isatty(i32 noundef %279) #11
  %281 = icmp ne i32 %280, 0
  br i1 %281, label %282, label %299

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

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

316:                                              ; preds = %299, %282
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #11
  br label %317

317:                                              ; preds = %316
  br label %318

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

319:                                              ; No predecessors!
  br label %320

320:                                              ; preds = %319
  br label %321

321:                                              ; preds = %320, %263
  br label %322

322:                                              ; preds = %321
  br label %323

323:                                              ; preds = %322
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #11
  call void @llvm.memset.p0.i64(ptr align 4 %12, i8 0, i64 8, i1 false)
  br label %324

324:                                              ; preds = %323
  %325 = call i32 @s2n_io_pair_init_non_blocking(ptr noundef %12)
  %326 = icmp sgt i32 %325, -1
  br i1 %326, label %328, label %327

327:                                              ; preds = %324
  store i32 -1, ptr %3, align 4
  store i32 1, ptr %13, align 4
  br label %599

328:                                              ; preds = %324
  br label %329

329:                                              ; preds = %328
  br label %330

330:                                              ; preds = %329
  br label %331

331:                                              ; preds = %330
  %332 = load ptr, ptr %10, align 8, !tbaa !9
  %333 = call i32 @s2n_connection_set_io_pair(ptr noundef %332, ptr noundef %12)
  %334 = icmp sgt i32 %333, -1
  br i1 %334, label %336, label %335

335:                                              ; preds = %331
  store i32 -1, ptr %3, align 4
  store i32 1, ptr %13, align 4
  br label %599

336:                                              ; preds = %331
  br label %337

337:                                              ; preds = %336
  br label %338

338:                                              ; preds = %337
  br label %339

339:                                              ; preds = %338
  br label %340

340:                                              ; preds = %339
  br label %341

341:                                              ; preds = %340
  %342 = load i32, ptr @test_count, align 4, !tbaa !5
  %343 = add nsw i32 %342, 1
  store i32 %343, ptr @test_count, align 4, !tbaa !5
  %344 = load ptr, ptr %10, align 8, !tbaa !9
  %345 = call i32 @s2n_negotiate_test_server_and_client(ptr noundef %344, ptr noundef null)
  %346 = icmp eq i32 %345, -1
  br i1 %346, label %400, label %347

347:                                              ; preds = %341
  br label %348

348:                                              ; preds = %347
  br label %349

349:                                              ; preds = %348
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #11
  %350 = call ptr @__errno_location() #12
  %351 = load i32, ptr %350, align 4, !tbaa !5
  store i32 %351, ptr %14, align 4, !tbaa !5
  %352 = load ptr, ptr @stderr, align 8, !tbaa !9
  %353 = call i32 @s2n_print_stacktrace(ptr noundef %352)
  %354 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %355 = trunc i8 %354 to i1
  br i1 %355, label %356, label %378

356:                                              ; preds = %349
  %357 = load ptr, ptr @stderr, align 8, !tbaa !9
  %358 = call i32 @fileno(ptr noundef %357) #11
  %359 = call i32 @isatty(i32 noundef %358) #11
  %360 = icmp ne i32 %359, 0
  br i1 %360, label %361, label %378

361:                                              ; preds = %356
  %362 = load i32, ptr %14, align 4, !tbaa !5
  %363 = call ptr @__errno_location() #12
  store i32 %362, ptr %363, align 4, !tbaa !5
  %364 = load ptr, ptr @stderr, align 8, !tbaa !9
  %365 = load i32, ptr @test_count, align 4, !tbaa !5
  %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(i32 noundef %367, ptr noundef @.str.4)
  %369 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %370 = load i32, ptr %369, align 4, !tbaa !5
  %371 = call ptr @s2n_strerror_debug(i32 noundef %370, ptr noundef @.str.4)
  %372 = call ptr @__errno_location() #12
  %373 = load i32, ptr %372, align 4, !tbaa !5
  %374 = call ptr @strerror(i32 noundef %373) #11
  %375 = call ptr @__errno_location() #12
  %376 = load i32, ptr %375, align 4, !tbaa !5
  %377 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %364, ptr noundef @.str.2, i32 noundef %365, ptr noundef @.str.10, ptr noundef @.str.1, i32 noundef 41, ptr noundef %368, ptr noundef %371, ptr noundef %374, i32 noundef %376) #11
  br label %395

378:                                              ; preds = %356, %349
  %379 = load i32, ptr %14, align 4, !tbaa !5
  %380 = call ptr @__errno_location() #12
  store i32 %379, ptr %380, align 4, !tbaa !5
  %381 = load ptr, ptr @stderr, align 8, !tbaa !9
  %382 = load i32, ptr @test_count, align 4, !tbaa !5
  %383 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %384 = load i32, ptr %383, align 4, !tbaa !5
  %385 = call ptr @s2n_strerror(i32 noundef %384, ptr noundef @.str.4)
  %386 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %387 = load i32, ptr %386, align 4, !tbaa !5
  %388 = call ptr @s2n_strerror_debug(i32 noundef %387, ptr noundef @.str.4)
  %389 = call ptr @__errno_location() #12
  %390 = load i32, ptr %389, align 4, !tbaa !5
  %391 = call ptr @strerror(i32 noundef %390) #11
  %392 = call ptr @__errno_location() #12
  %393 = load i32, ptr %392, align 4, !tbaa !5
  %394 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %381, ptr noundef @.str.5, i32 noundef %382, ptr noundef @.str.10, ptr noundef @.str.1, i32 noundef 41, ptr noundef %385, ptr noundef %388, ptr noundef %391, i32 noundef %393) #11
  br label %395

395:                                              ; preds = %378, %361
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #11
  br label %396

396:                                              ; preds = %395
  br label %397

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

398:                                              ; No predecessors!
  br label %399

399:                                              ; preds = %398
  br label %400

400:                                              ; preds = %399, %341
  br label %401

401:                                              ; preds = %400
  br label %402

402:                                              ; preds = %401
  br label %403

403:                                              ; preds = %402
  %404 = load i32, ptr @test_count, align 4, !tbaa !5
  %405 = add nsw i32 %404, 1
  store i32 %405, ptr @test_count, align 4, !tbaa !5
  %406 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %407 = load i32, ptr %406, align 4, !tbaa !5
  %408 = icmp eq i32 %407, 402653193
  br i1 %408, label %462, label %409

409:                                              ; preds = %403
  br label %410

410:                                              ; preds = %409
  br label %411

411:                                              ; preds = %410
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #11
  %412 = call ptr @__errno_location() #12
  %413 = load i32, ptr %412, align 4, !tbaa !5
  store i32 %413, ptr %15, align 4, !tbaa !5
  %414 = load ptr, ptr @stderr, align 8, !tbaa !9
  %415 = call i32 @s2n_print_stacktrace(ptr noundef %414)
  %416 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %417 = trunc i8 %416 to i1
  br i1 %417, label %418, label %440

418:                                              ; preds = %411
  %419 = load ptr, ptr @stderr, align 8, !tbaa !9
  %420 = call i32 @fileno(ptr noundef %419) #11
  %421 = call i32 @isatty(i32 noundef %420) #11
  %422 = icmp ne i32 %421, 0
  br i1 %422, label %423, label %440

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

440:                                              ; preds = %418, %411
  %441 = load i32, ptr %15, align 4, !tbaa !5
  %442 = call ptr @__errno_location() #12
  store i32 %441, ptr %442, align 4, !tbaa !5
  %443 = load ptr, ptr @stderr, align 8, !tbaa !9
  %444 = load i32, ptr @test_count, align 4, !tbaa !5
  %445 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %446 = load i32, ptr %445, align 4, !tbaa !5
  %447 = call ptr @s2n_strerror(i32 noundef %446, ptr noundef @.str.4)
  %448 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %449 = load i32, ptr %448, align 4, !tbaa !5
  %450 = call ptr @s2n_strerror_debug(i32 noundef %449, ptr noundef @.str.4)
  %451 = call ptr @__errno_location() #12
  %452 = load i32, ptr %451, align 4, !tbaa !5
  %453 = call ptr @strerror(i32 noundef %452) #11
  %454 = call ptr @__errno_location() #12
  %455 = load i32, ptr %454, align 4, !tbaa !5
  %456 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %443, ptr noundef @.str.5, i32 noundef %444, ptr noundef @.str.11, ptr noundef @.str.1, i32 noundef 41, ptr noundef %447, ptr noundef %450, ptr noundef %453, i32 noundef %455) #11
  br label %457

457:                                              ; preds = %440, %423
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #11
  br label %458

458:                                              ; preds = %457
  br label %459

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

460:                                              ; No predecessors!
  br label %461

461:                                              ; preds = %460
  br label %462

462:                                              ; preds = %461, %403
  br label %463

463:                                              ; preds = %462
  br label %464

464:                                              ; preds = %463
  br label %465

465:                                              ; preds = %464
  %466 = load i32, ptr @test_count, align 4, !tbaa !5
  %467 = add nsw i32 %466, 1
  store i32 %467, ptr @test_count, align 4, !tbaa !5
  %468 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %469 = load i32, ptr %468, align 4, !tbaa !5
  %470 = call ptr @s2n_strerror_debug(i32 noundef %469, ptr noundef @.str.4)
  %471 = icmp eq ptr %470, null
  br i1 %471, label %472, label %525

472:                                              ; preds = %465
  br label %473

473:                                              ; preds = %472
  br label %474

474:                                              ; preds = %473
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #11
  %475 = call ptr @__errno_location() #12
  %476 = load i32, ptr %475, align 4, !tbaa !5
  store i32 %476, ptr %16, align 4, !tbaa !5
  %477 = load ptr, ptr @stderr, align 8, !tbaa !9
  %478 = call i32 @s2n_print_stacktrace(ptr noundef %477)
  %479 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %480 = trunc i8 %479 to i1
  br i1 %480, label %481, label %503

481:                                              ; preds = %474
  %482 = load ptr, ptr @stderr, align 8, !tbaa !9
  %483 = call i32 @fileno(ptr noundef %482) #11
  %484 = call i32 @isatty(i32 noundef %483) #11
  %485 = icmp ne i32 %484, 0
  br i1 %485, label %486, label %503

486:                                              ; preds = %481
  %487 = load i32, ptr %16, align 4, !tbaa !5
  %488 = call ptr @__errno_location() #12
  store i32 %487, ptr %488, align 4, !tbaa !5
  %489 = load ptr, ptr @stderr, align 8, !tbaa !9
  %490 = load i32, ptr @test_count, align 4, !tbaa !5
  %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(i32 noundef %492, ptr noundef @.str.4)
  %494 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %495 = load i32, ptr %494, align 4, !tbaa !5
  %496 = call ptr @s2n_strerror_debug(i32 noundef %495, ptr noundef @.str.4)
  %497 = call ptr @__errno_location() #12
  %498 = load i32, ptr %497, align 4, !tbaa !5
  %499 = call ptr @strerror(i32 noundef %498) #11
  %500 = call ptr @__errno_location() #12
  %501 = load i32, ptr %500, align 4, !tbaa !5
  %502 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %489, ptr noundef @.str.2, i32 noundef %490, ptr noundef @.str.12, ptr noundef @.str.1, i32 noundef 41, ptr noundef %493, ptr noundef %496, ptr noundef %499, i32 noundef %501) #11
  br label %520

503:                                              ; preds = %481, %474
  %504 = load i32, ptr %16, align 4, !tbaa !5
  %505 = call ptr @__errno_location() #12
  store i32 %504, ptr %505, align 4, !tbaa !5
  %506 = load ptr, ptr @stderr, align 8, !tbaa !9
  %507 = load i32, ptr @test_count, align 4, !tbaa !5
  %508 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %509 = load i32, ptr %508, align 4, !tbaa !5
  %510 = call ptr @s2n_strerror(i32 noundef %509, ptr noundef @.str.4)
  %511 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %512 = load i32, ptr %511, align 4, !tbaa !5
  %513 = call ptr @s2n_strerror_debug(i32 noundef %512, ptr noundef @.str.4)
  %514 = call ptr @__errno_location() #12
  %515 = load i32, ptr %514, align 4, !tbaa !5
  %516 = call ptr @strerror(i32 noundef %515) #11
  %517 = call ptr @__errno_location() #12
  %518 = load i32, ptr %517, align 4, !tbaa !5
  %519 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %506, ptr noundef @.str.5, i32 noundef %507, ptr noundef @.str.12, ptr noundef @.str.1, i32 noundef 41, ptr noundef %510, ptr noundef %513, ptr noundef %516, i32 noundef %518) #11
  br label %520

520:                                              ; preds = %503, %486
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #11
  br label %521

521:                                              ; preds = %520
  br label %522

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

523:                                              ; No predecessors!
  br label %524

524:                                              ; preds = %523
  br label %525

525:                                              ; preds = %524, %465
  br label %526

526:                                              ; preds = %525
  br label %527

527:                                              ; preds = %526
  br label %528

528:                                              ; preds = %527
  br label %529

529:                                              ; preds = %528
  br label %530

530:                                              ; preds = %529
  %531 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  store i32 0, ptr %531, align 4, !tbaa !5
  call void @s2n_debug_info_reset()
  %532 = call ptr @__errno_location() #12
  store i32 0, ptr %532, align 4, !tbaa !5
  br label %533

533:                                              ; preds = %530
  br label %534

534:                                              ; preds = %533
  br label %535

535:                                              ; preds = %534
  br label %536

536:                                              ; preds = %535
  br label %537

537:                                              ; preds = %536
  %538 = load i32, ptr @test_count, align 4, !tbaa !5
  %539 = add nsw i32 %538, 1
  store i32 %539, ptr @test_count, align 4, !tbaa !5
  %540 = load ptr, ptr %10, align 8, !tbaa !9
  %541 = call i32 @s2n_connection_free(ptr noundef %540)
  %542 = icmp eq i32 %541, -1
  br i1 %542, label %543, label %596

543:                                              ; preds = %537
  br label %544

544:                                              ; preds = %543
  br label %545

545:                                              ; preds = %544
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #11
  %546 = call ptr @__errno_location() #12
  %547 = load i32, ptr %546, align 4, !tbaa !5
  store i32 %547, ptr %17, align 4, !tbaa !5
  %548 = load ptr, ptr @stderr, align 8, !tbaa !9
  %549 = call i32 @s2n_print_stacktrace(ptr noundef %548)
  %550 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %551 = trunc i8 %550 to i1
  br i1 %551, label %552, label %574

552:                                              ; preds = %545
  %553 = load ptr, ptr @stderr, align 8, !tbaa !9
  %554 = call i32 @fileno(ptr noundef %553) #11
  %555 = call i32 @isatty(i32 noundef %554) #11
  %556 = icmp ne i32 %555, 0
  br i1 %556, label %557, label %574

557:                                              ; preds = %552
  %558 = load i32, ptr %17, align 4, !tbaa !5
  %559 = call ptr @__errno_location() #12
  store i32 %558, ptr %559, align 4, !tbaa !5
  %560 = load ptr, ptr @stderr, align 8, !tbaa !9
  %561 = load i32, ptr @test_count, align 4, !tbaa !5
  %562 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %563 = load i32, ptr %562, align 4, !tbaa !5
  %564 = call ptr @s2n_strerror(i32 noundef %563, ptr noundef @.str.4)
  %565 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %566 = load i32, ptr %565, align 4, !tbaa !5
  %567 = call ptr @s2n_strerror_debug(i32 noundef %566, ptr noundef @.str.4)
  %568 = call ptr @__errno_location() #12
  %569 = load i32, ptr %568, align 4, !tbaa !5
  %570 = call ptr @strerror(i32 noundef %569) #11
  %571 = call ptr @__errno_location() #12
  %572 = load i32, ptr %571, align 4, !tbaa !5
  %573 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %560, ptr noundef @.str.2, i32 noundef %561, ptr noundef @.str.13, ptr noundef @.str.1, i32 noundef 43, ptr noundef %564, ptr noundef %567, ptr noundef %570, i32 noundef %572) #11
  br label %591

574:                                              ; preds = %552, %545
  %575 = load i32, ptr %17, align 4, !tbaa !5
  %576 = call ptr @__errno_location() #12
  store i32 %575, ptr %576, align 4, !tbaa !5
  %577 = load ptr, ptr @stderr, align 8, !tbaa !9
  %578 = load i32, ptr @test_count, align 4, !tbaa !5
  %579 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %580 = load i32, ptr %579, align 4, !tbaa !5
  %581 = call ptr @s2n_strerror(i32 noundef %580, ptr noundef @.str.4)
  %582 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %583 = load i32, ptr %582, align 4, !tbaa !5
  %584 = call ptr @s2n_strerror_debug(i32 noundef %583, ptr noundef @.str.4)
  %585 = call ptr @__errno_location() #12
  %586 = load i32, ptr %585, align 4, !tbaa !5
  %587 = call ptr @strerror(i32 noundef %586) #11
  %588 = call ptr @__errno_location() #12
  %589 = load i32, ptr %588, align 4, !tbaa !5
  %590 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %577, ptr noundef @.str.5, i32 noundef %578, ptr noundef @.str.13, ptr noundef @.str.1, i32 noundef 43, ptr noundef %581, ptr noundef %584, ptr noundef %587, i32 noundef %589) #11
  br label %591

591:                                              ; preds = %574, %557
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #11
  br label %592

592:                                              ; preds = %591
  br label %593

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

594:                                              ; No predecessors!
  br label %595

595:                                              ; preds = %594
  br label %596

596:                                              ; preds = %595, %537
  br label %597

597:                                              ; preds = %596
  br label %598

598:                                              ; preds = %597
  store i32 0, ptr %13, align 4
  br label %599

599:                                              ; preds = %598, %335, %327
  %600 = call i32 @s2n_io_pair_close(ptr noundef %12)
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #11
  %601 = load i32, ptr %13, align 4
  switch i32 %601, label %973 [
    i32 0, label %602
    i32 1, label %971
  ]

602:                                              ; preds = %599
  call void @llvm.lifetime.start.p0(i64 1080, ptr %18) #11
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %18, ptr align 16 @__const.main.test_cases, i64 1080, i1 false)
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #11
  store i64 0, ptr %19, align 8, !tbaa !15
  br label %603

603:                                              ; preds = %822, %602
  %604 = load i64, ptr %19, align 8, !tbaa !15
  %605 = icmp ult i64 %604, 9
  br i1 %605, label %607, label %606

606:                                              ; preds = %603
  store i32 70, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #11
  br label %825

607:                                              ; preds = %603
  call void @llvm.lifetime.start.p0(i64 24, ptr %20) #11
  call void @llvm.memset.p0.i64(ptr align 8 %20, i8 0, i64 24, i1 false)
  br label %608

608:                                              ; preds = %607
  %609 = load i32, ptr @test_count, align 4, !tbaa !5
  %610 = add nsw i32 %609, 1
  store i32 %610, ptr @test_count, align 4, !tbaa !5
  %611 = load i64, ptr %19, align 8, !tbaa !15
  %612 = getelementptr inbounds [9 x %struct.anon], ptr %18, i64 0, i64 %611
  %613 = getelementptr inbounds %struct.anon, ptr %612, i32 0, i32 0
  %614 = load ptr, ptr %613, align 8, !tbaa !17
  %615 = call i32 @s2n_blob_alloc_from_hex_with_whitespace(ptr noundef %20, ptr noundef %614)
  %616 = getelementptr inbounds %struct.s2n_result, ptr %21, i32 0, i32 0
  store i32 %615, ptr %616, align 4
  %617 = getelementptr inbounds %struct.s2n_result, ptr %21, i32 0, i32 0
  %618 = load i32, ptr %617, align 4
  %619 = call zeroext i1 @s2n_result_is_ok(i32 %618)
  br i1 %619, label %673, label %620

620:                                              ; preds = %608
  br label %621

621:                                              ; preds = %620
  br label %622

622:                                              ; preds = %621
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #11
  %623 = call ptr @__errno_location() #12
  %624 = load i32, ptr %623, align 4, !tbaa !5
  store i32 %624, ptr %22, align 4, !tbaa !5
  %625 = load ptr, ptr @stderr, align 8, !tbaa !9
  %626 = call i32 @s2n_print_stacktrace(ptr noundef %625)
  %627 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %628 = trunc i8 %627 to i1
  br i1 %628, label %629, label %651

629:                                              ; preds = %622
  %630 = load ptr, ptr @stderr, align 8, !tbaa !9
  %631 = call i32 @fileno(ptr noundef %630) #11
  %632 = call i32 @isatty(i32 noundef %631) #11
  %633 = icmp ne i32 %632, 0
  br i1 %633, label %634, label %651

634:                                              ; preds = %629
  %635 = load i32, ptr %22, align 4, !tbaa !5
  %636 = call ptr @__errno_location() #12
  store i32 %635, ptr %636, align 4, !tbaa !5
  %637 = load ptr, ptr @stderr, align 8, !tbaa !9
  %638 = load i32, ptr @test_count, align 4, !tbaa !5
  %639 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %640 = load i32, ptr %639, align 4, !tbaa !5
  %641 = call ptr @s2n_strerror(i32 noundef %640, ptr noundef @.str.4)
  %642 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %643 = load i32, ptr %642, align 4, !tbaa !5
  %644 = call ptr @s2n_strerror_debug(i32 noundef %643, ptr noundef @.str.4)
  %645 = call ptr @__errno_location() #12
  %646 = load i32, ptr %645, align 4, !tbaa !5
  %647 = call ptr @strerror(i32 noundef %646) #11
  %648 = call ptr @__errno_location() #12
  %649 = load i32, ptr %648, align 4, !tbaa !5
  %650 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %637, ptr noundef @.str.2, i32 noundef %638, ptr noundef @.str.23, ptr noundef @.str.1, i32 noundef 65, ptr noundef %641, ptr noundef %644, ptr noundef %647, i32 noundef %649) #11
  br label %668

651:                                              ; preds = %629, %622
  %652 = load i32, ptr %22, align 4, !tbaa !5
  %653 = call ptr @__errno_location() #12
  store i32 %652, ptr %653, align 4, !tbaa !5
  %654 = load ptr, ptr @stderr, align 8, !tbaa !9
  %655 = load i32, ptr @test_count, align 4, !tbaa !5
  %656 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %657 = load i32, ptr %656, align 4, !tbaa !5
  %658 = call ptr @s2n_strerror(i32 noundef %657, ptr noundef @.str.4)
  %659 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %660 = load i32, ptr %659, align 4, !tbaa !5
  %661 = call ptr @s2n_strerror_debug(i32 noundef %660, ptr noundef @.str.4)
  %662 = call ptr @__errno_location() #12
  %663 = load i32, ptr %662, align 4, !tbaa !5
  %664 = call ptr @strerror(i32 noundef %663) #11
  %665 = call ptr @__errno_location() #12
  %666 = load i32, ptr %665, align 4, !tbaa !5
  %667 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %654, ptr noundef @.str.5, i32 noundef %655, ptr noundef @.str.23, ptr noundef @.str.1, i32 noundef 65, ptr noundef %658, ptr noundef %661, ptr noundef %664, i32 noundef %666) #11
  br label %668

668:                                              ; preds = %651, %634
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #11
  br label %669

669:                                              ; preds = %668
  br label %670

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

671:                                              ; No predecessors!
  br label %672

672:                                              ; preds = %671
  br label %673

673:                                              ; preds = %672, %608
  br label %674

674:                                              ; preds = %673
  br label %675

675:                                              ; preds = %674
  br label %676

676:                                              ; preds = %675
  %677 = load i32, ptr @test_count, align 4, !tbaa !5
  %678 = add nsw i32 %677, 1
  store i32 %678, ptr @test_count, align 4, !tbaa !5
  %679 = getelementptr inbounds %struct.s2n_blob, ptr %20, i32 0, i32 1
  %680 = load i32, ptr %679, align 8, !tbaa !19
  %681 = zext i32 %680 to i64
  %682 = load i64, ptr %19, align 8, !tbaa !15
  %683 = getelementptr inbounds [9 x %struct.anon], ptr %18, i64 0, i64 %682
  %684 = getelementptr inbounds %struct.anon, ptr %683, i32 0, i32 1
  %685 = load i64, ptr %684, align 8, !tbaa !21
  %686 = icmp eq i64 %681, %685
  br i1 %686, label %740, label %687

687:                                              ; preds = %676
  br label %688

688:                                              ; preds = %687
  br label %689

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

696:                                              ; preds = %689
  %697 = load ptr, ptr @stderr, align 8, !tbaa !9
  %698 = call i32 @fileno(ptr noundef %697) #11
  %699 = call i32 @isatty(i32 noundef %698) #11
  %700 = icmp ne i32 %699, 0
  br i1 %700, label %701, label %718

701:                                              ; preds = %696
  %702 = load i32, ptr %23, align 4, !tbaa !5
  %703 = call ptr @__errno_location() #12
  store i32 %702, ptr %703, align 4, !tbaa !5
  %704 = load ptr, ptr @stderr, align 8, !tbaa !9
  %705 = load i32, ptr @test_count, align 4, !tbaa !5
  %706 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %707 = load i32, ptr %706, align 4, !tbaa !5
  %708 = call ptr @s2n_strerror(i32 noundef %707, ptr noundef @.str.4)
  %709 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %710 = load i32, ptr %709, align 4, !tbaa !5
  %711 = call ptr @s2n_strerror_debug(i32 noundef %710, ptr noundef @.str.4)
  %712 = call ptr @__errno_location() #12
  %713 = load i32, ptr %712, align 4, !tbaa !5
  %714 = call ptr @strerror(i32 noundef %713) #11
  %715 = call ptr @__errno_location() #12
  %716 = load i32, ptr %715, align 4, !tbaa !5
  %717 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %704, ptr noundef @.str.2, i32 noundef %705, ptr noundef @.str.24, ptr noundef @.str.1, i32 noundef 66, ptr noundef %708, ptr noundef %711, ptr noundef %714, i32 noundef %716) #11
  br label %735

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

735:                                              ; preds = %718, %701
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #11
  br label %736

736:                                              ; preds = %735
  br label %737

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

738:                                              ; No predecessors!
  br label %739

739:                                              ; preds = %738
  br label %740

740:                                              ; preds = %739, %676
  br label %741

741:                                              ; preds = %740
  br label %742

742:                                              ; preds = %741
  br label %743

743:                                              ; preds = %742
  %744 = getelementptr inbounds %struct.s2n_blob, ptr %20, i32 0, i32 1
  %745 = load i32, ptr %744, align 8, !tbaa !19
  %746 = icmp ne i32 %745, 0
  br i1 %746, label %747, label %818

747:                                              ; preds = %743
  br label %748

748:                                              ; preds = %747
  %749 = load i32, ptr @test_count, align 4, !tbaa !5
  %750 = add nsw i32 %749, 1
  store i32 %750, ptr @test_count, align 4, !tbaa !5
  %751 = getelementptr inbounds %struct.s2n_blob, ptr %20, i32 0, i32 0
  %752 = load ptr, ptr %751, align 8, !tbaa !22
  %753 = load i64, ptr %19, align 8, !tbaa !15
  %754 = getelementptr inbounds [9 x %struct.anon], ptr %18, i64 0, i64 %753
  %755 = getelementptr inbounds %struct.anon, ptr %754, i32 0, i32 2
  %756 = getelementptr inbounds [100 x i8], ptr %755, i64 0, i64 0
  %757 = getelementptr inbounds %struct.s2n_blob, ptr %20, i32 0, i32 1
  %758 = load i32, ptr %757, align 8, !tbaa !19
  %759 = zext i32 %758 to i64
  %760 = call i32 @memcmp(ptr noundef %752, ptr noundef %756, i64 noundef %759) #14
  %761 = icmp eq i32 %760, 0
  br i1 %761, label %815, label %762

762:                                              ; preds = %748
  br label %763

763:                                              ; preds = %762
  br label %764

764:                                              ; preds = %763
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #11
  %765 = call ptr @__errno_location() #12
  %766 = load i32, ptr %765, align 4, !tbaa !5
  store i32 %766, ptr %24, align 4, !tbaa !5
  %767 = load ptr, ptr @stderr, align 8, !tbaa !9
  %768 = call i32 @s2n_print_stacktrace(ptr noundef %767)
  %769 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %770 = trunc i8 %769 to i1
  br i1 %770, label %771, label %793

771:                                              ; preds = %764
  %772 = load ptr, ptr @stderr, align 8, !tbaa !9
  %773 = call i32 @fileno(ptr noundef %772) #11
  %774 = call i32 @isatty(i32 noundef %773) #11
  %775 = icmp ne i32 %774, 0
  br i1 %775, label %776, label %793

776:                                              ; preds = %771
  %777 = load i32, ptr %24, align 4, !tbaa !5
  %778 = call ptr @__errno_location() #12
  store i32 %777, ptr %778, align 4, !tbaa !5
  %779 = load ptr, ptr @stderr, align 8, !tbaa !9
  %780 = load i32, ptr @test_count, align 4, !tbaa !5
  %781 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %782 = load i32, ptr %781, align 4, !tbaa !5
  %783 = call ptr @s2n_strerror(i32 noundef %782, ptr noundef @.str.4)
  %784 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %785 = load i32, ptr %784, align 4, !tbaa !5
  %786 = call ptr @s2n_strerror_debug(i32 noundef %785, ptr noundef @.str.4)
  %787 = call ptr @__errno_location() #12
  %788 = load i32, ptr %787, align 4, !tbaa !5
  %789 = call ptr @strerror(i32 noundef %788) #11
  %790 = call ptr @__errno_location() #12
  %791 = load i32, ptr %790, align 4, !tbaa !5
  %792 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %779, ptr noundef @.str.2, i32 noundef %780, ptr noundef @.str.25, ptr noundef @.str.1, i32 noundef 67, ptr noundef %783, ptr noundef %786, ptr noundef %789, i32 noundef %791) #11
  br label %810

793:                                              ; preds = %771, %764
  %794 = load i32, ptr %24, align 4, !tbaa !5
  %795 = call ptr @__errno_location() #12
  store i32 %794, ptr %795, align 4, !tbaa !5
  %796 = load ptr, ptr @stderr, align 8, !tbaa !9
  %797 = load i32, ptr @test_count, align 4, !tbaa !5
  %798 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %799 = load i32, ptr %798, align 4, !tbaa !5
  %800 = call ptr @s2n_strerror(i32 noundef %799, ptr noundef @.str.4)
  %801 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %802 = load i32, ptr %801, align 4, !tbaa !5
  %803 = call ptr @s2n_strerror_debug(i32 noundef %802, ptr noundef @.str.4)
  %804 = call ptr @__errno_location() #12
  %805 = load i32, ptr %804, align 4, !tbaa !5
  %806 = call ptr @strerror(i32 noundef %805) #11
  %807 = call ptr @__errno_location() #12
  %808 = load i32, ptr %807, align 4, !tbaa !5
  %809 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %796, ptr noundef @.str.5, i32 noundef %797, ptr noundef @.str.25, ptr noundef @.str.1, i32 noundef 67, ptr noundef %800, ptr noundef %803, ptr noundef %806, i32 noundef %808) #11
  br label %810

810:                                              ; preds = %793, %776
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #11
  br label %811

811:                                              ; preds = %810
  br label %812

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

813:                                              ; No predecessors!
  br label %814

814:                                              ; preds = %813
  br label %815

815:                                              ; preds = %814, %748
  br label %816

816:                                              ; preds = %815
  br label %817

817:                                              ; preds = %816
  br label %818

818:                                              ; preds = %817, %743
  br label %819

819:                                              ; preds = %818
  br label %820

820:                                              ; preds = %819
  %821 = call i32 @s2n_free(ptr noundef %20)
  call void @llvm.lifetime.end.p0(i64 24, ptr %20) #11
  br label %822

822:                                              ; preds = %820
  %823 = load i64, ptr %19, align 8, !tbaa !15
  %824 = add i64 %823, 1
  store i64 %824, ptr %19, align 8, !tbaa !15
  br label %603, !llvm.loop !23

825:                                              ; preds = %606
  call void @llvm.lifetime.end.p0(i64 1080, ptr %18) #11
  br label %826

826:                                              ; preds = %825
  br label %827

827:                                              ; preds = %826
  %828 = call i32 @s2n_cleanup()
  %829 = icmp eq i32 %828, -1
  br i1 %829, label %830, label %881

830:                                              ; preds = %827
  br label %831

831:                                              ; preds = %830
  br label %832

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

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

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

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

878:                                              ; preds = %861, %844
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #11
  br label %879

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

880:                                              ; No predecessors!
  br label %881

881:                                              ; preds = %880, %827
  br label %882

882:                                              ; preds = %881
  br label %883

883:                                              ; preds = %882
  br label %884

884:                                              ; preds = %883
  %885 = call i32 @s2n_in_unit_test_set(i1 noundef zeroext false)
  %886 = icmp eq i32 %885, -1
  br i1 %886, label %887, label %938

887:                                              ; preds = %884
  br label %888

888:                                              ; preds = %887
  br label %889

889:                                              ; preds = %888
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #11
  %890 = call ptr @__errno_location() #12
  %891 = load i32, ptr %890, align 4, !tbaa !5
  store i32 %891, ptr %26, align 4, !tbaa !5
  %892 = load ptr, ptr @stderr, align 8, !tbaa !9
  %893 = call i32 @s2n_print_stacktrace(ptr noundef %892)
  %894 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %895 = trunc i8 %894 to i1
  br i1 %895, label %896, label %918

896:                                              ; preds = %889
  %897 = load ptr, ptr @stderr, align 8, !tbaa !9
  %898 = call i32 @fileno(ptr noundef %897) #11
  %899 = call i32 @isatty(i32 noundef %898) #11
  %900 = icmp ne i32 %899, 0
  br i1 %900, label %901, label %918

901:                                              ; preds = %896
  %902 = load i32, ptr %26, align 4, !tbaa !5
  %903 = call ptr @__errno_location() #12
  store i32 %902, ptr %903, align 4, !tbaa !5
  %904 = load ptr, ptr @stderr, align 8, !tbaa !9
  %905 = load i32, ptr @test_count, align 4, !tbaa !5
  %906 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %907 = load i32, ptr %906, align 4, !tbaa !5
  %908 = call ptr @s2n_strerror(i32 noundef %907, ptr noundef @.str.4)
  %909 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %910 = load i32, ptr %909, align 4, !tbaa !5
  %911 = call ptr @s2n_strerror_debug(i32 noundef %910, ptr noundef @.str.4)
  %912 = call ptr @__errno_location() #12
  %913 = load i32, ptr %912, align 4, !tbaa !5
  %914 = call ptr @strerror(i32 noundef %913) #11
  %915 = call ptr @__errno_location() #12
  %916 = load i32, ptr %915, align 4, !tbaa !5
  %917 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %904, ptr noundef @.str.2, i32 noundef %905, ptr noundef @.str.27, ptr noundef @.str.1, i32 noundef 71, ptr noundef %908, ptr noundef %911, ptr noundef %914, i32 noundef %916) #11
  br label %935

918:                                              ; preds = %896, %889
  %919 = load i32, ptr %26, align 4, !tbaa !5
  %920 = call ptr @__errno_location() #12
  store i32 %919, ptr %920, align 4, !tbaa !5
  %921 = load ptr, ptr @stderr, align 8, !tbaa !9
  %922 = load i32, ptr @test_count, align 4, !tbaa !5
  %923 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %924 = load i32, ptr %923, align 4, !tbaa !5
  %925 = call ptr @s2n_strerror(i32 noundef %924, ptr noundef @.str.4)
  %926 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %927 = load i32, ptr %926, align 4, !tbaa !5
  %928 = call ptr @s2n_strerror_debug(i32 noundef %927, ptr noundef @.str.4)
  %929 = call ptr @__errno_location() #12
  %930 = load i32, ptr %929, align 4, !tbaa !5
  %931 = call ptr @strerror(i32 noundef %930) #11
  %932 = call ptr @__errno_location() #12
  %933 = load i32, ptr %932, align 4, !tbaa !5
  %934 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %921, ptr noundef @.str.5, i32 noundef %922, ptr noundef @.str.27, ptr noundef @.str.1, i32 noundef 71, ptr noundef %925, ptr noundef %928, ptr noundef %931, i32 noundef %933) #11
  br label %935

935:                                              ; preds = %918, %901
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #11
  br label %936

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

937:                                              ; No predecessors!
  br label %938

938:                                              ; preds = %937, %884
  br label %939

939:                                              ; preds = %938
  %940 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %941 = trunc i8 %940 to i1
  br i1 %941, label %942, label %958

942:                                              ; preds = %939
  %943 = load ptr, ptr @stdout, align 8, !tbaa !9
  %944 = call i32 @fileno(ptr noundef %943) #11
  %945 = call i32 @isatty(i32 noundef %944) #11
  %946 = icmp ne i32 %945, 0
  br i1 %946, label %947, label %958

947:                                              ; preds = %942
  %948 = load i32, ptr @test_count, align 4, !tbaa !5
  %949 = icmp ne i32 %948, 0
  br i1 %949, label %950, label %954

950:                                              ; preds = %947
  %951 = load ptr, ptr @stdout, align 8, !tbaa !9
  %952 = load i32, ptr @test_count, align 4, !tbaa !5
  %953 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %951, ptr noundef @.str.28, i32 noundef %952) #11
  br label %957

954:                                              ; preds = %947
  %955 = load ptr, ptr @stdout, align 8, !tbaa !9
  %956 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %955, ptr noundef @.str.29) #11
  br label %957

957:                                              ; preds = %954, %950
  br label %969

958:                                              ; preds = %942, %939
  %959 = load i32, ptr @test_count, align 4, !tbaa !5
  %960 = icmp ne i32 %959, 0
  br i1 %960, label %961, label %965

961:                                              ; preds = %958
  %962 = load ptr, ptr @stdout, align 8, !tbaa !9
  %963 = load i32, ptr @test_count, align 4, !tbaa !5
  %964 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %962, ptr noundef @.str.30, i32 noundef %963) #11
  br label %968

965:                                              ; preds = %958
  %966 = load ptr, ptr @stdout, align 8, !tbaa !9
  %967 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %966, ptr noundef @.str.31) #11
  br label %968

968:                                              ; preds = %965, %961
  br label %969

969:                                              ; preds = %968, %957
  store i32 0, ptr %3, align 4
  br label %971

970:                                              ; No predecessors!
  br label %971

971:                                              ; preds = %970, %969, %599
  %972 = load i32, ptr %3, align 4
  ret i32 %972

973:                                              ; preds = %599
  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

declare i32 @s2n_disable_tls13_in_test(...) #2

declare ptr @s2n_connection_new(i32 noundef) #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_io_pair_close(ptr noundef) #2

declare i32 @s2n_io_pair_init_non_blocking(ptr noundef) #2

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

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

declare void @s2n_debug_info_reset() #2

declare i32 @s2n_connection_free(ptr noundef) #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) #8

declare i32 @s2n_free(ptr noundef) #2

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

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

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

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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
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 = { 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, !16, i64 8, !7, i64 16}
!19 = !{!20, !6, i64 8}
!20 = !{!"s2n_blob", !10, i64 0, !6, i64 8, !6, i64 12, !6, i64 16}
!21 = !{!18, !16, i64 8}
!22 = !{!20, !10, i64 0}
!23 = distinct !{!23, !24}
!24 = !{!"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, i64, [100 x i8] }
%struct.s2n_test_io_pair = type { i32, i32 }
%struct.s2n_blob = type { ptr, 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 [75 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 [56 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [79 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [87 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [70 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [61 x i8], align 1
@__const.main.test_cases = external hidden unnamed_addr constant <{ { ptr, i64, <{ i8, i8, [98 x i8] }> }, { ptr, i64, <{ i8, i8, [98 x i8] }> }, { ptr, i64, <{ i8, i8, [98 x i8] }> }, { ptr, i64, <{ i8, i8, [98 x i8] }> }, { ptr, i64, <{ i8, i8, [98 x i8] }> }, %struct.anon, %struct.anon, { ptr, i64, <{ i8, i8, i8, i8, i8, [95 x i8] }> }, { ptr, i64, <{ i8, i8, i8, i8, i8, [95 x i8] }> } }>, align 16
@.str.23 = external hidden unnamed_addr constant [108 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [74 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [108 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [25 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local range(i32 -1, 1) i32 @main(i32 noundef %0, ptr nocapture noundef readnone %1) local_unnamed_addr #0 {
  %3 = alloca %struct.s2n_test_io_pair, align 8
  %4 = alloca %struct.s2n_blob, align 8
  store i32 0, ptr @test_count, align 4, !tbaa !5
  %5 = load ptr, ptr @stdout, align 8, !tbaa !9
  %6 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %5, ptr noundef nonnull @.str, ptr noundef nonnull @.str.1) #11
  %7 = load ptr, ptr @stdout, align 8, !tbaa !9
  %8 = tail call i32 @fflush(ptr noundef %7)
  %9 = tail call i32 @s2n_in_unit_test_set(i1 noundef zeroext true) #11
  %10 = icmp eq i32 %9, -1
  br i1 %10, label %11, label %35

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

18:                                               ; preds = %11
  %19 = load ptr, ptr @stderr, align 8, !tbaa !9
  %20 = tail call i32 @fileno(ptr noundef %19) #11
  %21 = tail call i32 @isatty(i32 noundef %20) #11
  %.not58 = icmp eq i32 %21, 0
  br i1 %.not58, label %22, label %23

22:                                               ; preds = %18, %11
  br label %23

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

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

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

47:                                               ; preds = %40
  %48 = load ptr, ptr @stderr, align 8, !tbaa !9
  %49 = tail call i32 @fileno(ptr noundef %48) #11
  %50 = tail call i32 @isatty(i32 noundef %49) #11
  %.not57 = icmp eq i32 %50, 0
  br i1 %.not57, label %51, label %52

51:                                               ; preds = %47, %40
  br label %52

52:                                               ; preds = %47, %51
  %.str.5.sink73 = phi ptr [ @.str.5, %51 ], [ @.str.2, %47 ]
  store i32 %42, ptr %41, align 4, !tbaa !5
  %53 = load ptr, ptr @stderr, align 8, !tbaa !9
  %54 = load i32, ptr @test_count, align 4, !tbaa !5
  %55 = tail call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %56 = load i32, ptr %55, align 4, !tbaa !5
  %57 = tail call ptr @s2n_strerror(i32 noundef %56, ptr noundef nonnull @.str.4) #11
  %58 = load i32, ptr %55, align 4, !tbaa !5
  %59 = tail call ptr @s2n_strerror_debug(i32 noundef %58, ptr noundef nonnull @.str.4) #11
  %60 = load i32, ptr %41, align 4, !tbaa !5
  %61 = tail call ptr @strerror(i32 noundef %60) #11
  %62 = load i32, ptr %41, align 4, !tbaa !5
  %63 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %53, ptr noundef nonnull %.str.5.sink73, i32 noundef %54, ptr noundef nonnull @.str.6, ptr noundef nonnull @.str.1, i32 noundef 22, ptr noundef %57, ptr noundef %59, ptr noundef %61, i32 noundef %62) #13
  tail call void @exit(i32 noundef 1) #14
  unreachable

64:                                               ; preds = %35
  %65 = tail call i32 @s2n_init() #11
  %66 = icmp eq i32 %65, -1
  br i1 %66, label %67, label %91

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

74:                                               ; preds = %67
  %75 = load ptr, ptr @stderr, align 8, !tbaa !9
  %76 = tail call i32 @fileno(ptr noundef %75) #11
  %77 = tail call i32 @isatty(i32 noundef %76) #11
  %.not56 = icmp eq i32 %77, 0
  br i1 %.not56, label %78, label %79

78:                                               ; preds = %74, %67
  br label %79

79:                                               ; preds = %74, %78
  %.str.5.sink84 = phi ptr [ @.str.5, %78 ], [ @.str.2, %74 ]
  store i32 %69, ptr %68, align 4, !tbaa !5
  %80 = load ptr, ptr @stderr, align 8, !tbaa !9
  %81 = load i32, ptr @test_count, align 4, !tbaa !5
  %82 = tail call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %83 = load i32, ptr %82, align 4, !tbaa !5
  %84 = tail call ptr @s2n_strerror(i32 noundef %83, ptr noundef nonnull @.str.4) #11
  %85 = load i32, ptr %82, align 4, !tbaa !5
  %86 = tail call ptr @s2n_strerror_debug(i32 noundef %85, ptr noundef nonnull @.str.4) #11
  %87 = load i32, ptr %68, align 4, !tbaa !5
  %88 = tail call ptr @strerror(i32 noundef %87) #11
  %89 = load i32, ptr %68, align 4, !tbaa !5
  %90 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %80, ptr noundef nonnull %.str.5.sink84, i32 noundef %81, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.1, i32 noundef 22, ptr noundef %84, ptr noundef %86, ptr noundef %88, i32 noundef %89) #13
  tail call void @exit(i32 noundef 1) #14
  unreachable

91:                                               ; preds = %64
  %92 = load i32, ptr @test_count, align 4, !tbaa !5
  %93 = add nsw i32 %92, 1
  store i32 %93, ptr @test_count, align 4, !tbaa !5
  %94 = tail call i32 (...) @s2n_disable_tls13_in_test() #11
  %95 = icmp eq i32 %94, -1
  br i1 %95, label %96, label %120

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

103:                                              ; preds = %96
  %104 = load ptr, ptr @stderr, align 8, !tbaa !9
  %105 = tail call i32 @fileno(ptr noundef %104) #11
  %106 = tail call i32 @isatty(i32 noundef %105) #11
  %.not55 = icmp eq i32 %106, 0
  br i1 %.not55, label %107, label %108

107:                                              ; preds = %103, %96
  br label %108

108:                                              ; preds = %103, %107
  %.str.5.sink95 = phi ptr [ @.str.5, %107 ], [ @.str.2, %103 ]
  store i32 %98, ptr %97, align 4, !tbaa !5
  %109 = load ptr, ptr @stderr, align 8, !tbaa !9
  %110 = load i32, ptr @test_count, align 4, !tbaa !5
  %111 = tail call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %112 = load i32, ptr %111, align 4, !tbaa !5
  %113 = tail call ptr @s2n_strerror(i32 noundef %112, ptr noundef nonnull @.str.4) #11
  %114 = load i32, ptr %111, align 4, !tbaa !5
  %115 = tail call ptr @s2n_strerror_debug(i32 noundef %114, ptr noundef nonnull @.str.4) #11
  %116 = load i32, ptr %97, align 4, !tbaa !5
  %117 = tail call ptr @strerror(i32 noundef %116) #11
  %118 = load i32, ptr %97, align 4, !tbaa !5
  %119 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %109, ptr noundef nonnull %.str.5.sink95, i32 noundef %110, ptr noundef nonnull @.str.8, ptr noundef nonnull @.str.1, i32 noundef 23, ptr noundef %113, ptr noundef %115, ptr noundef %117, i32 noundef %118) #13
  tail call void @exit(i32 noundef 1) #14
  unreachable

120:                                              ; preds = %91
  %121 = load i32, ptr @test_count, align 4, !tbaa !5
  %122 = add nsw i32 %121, 1
  store i32 %122, ptr @test_count, align 4, !tbaa !5
  %123 = tail call ptr @s2n_connection_new(i32 noundef 0) #11
  %124 = icmp eq ptr %123, null
  br i1 %124, label %125, label %149

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

132:                                              ; preds = %125
  %133 = load ptr, ptr @stderr, align 8, !tbaa !9
  %134 = tail call i32 @fileno(ptr noundef %133) #11
  %135 = tail call i32 @isatty(i32 noundef %134) #11
  %.not54 = icmp eq i32 %135, 0
  br i1 %.not54, label %136, label %137

136:                                              ; preds = %132, %125
  br label %137

137:                                              ; preds = %132, %136
  %.str.5.sink106 = phi ptr [ @.str.5, %136 ], [ @.str.2, %132 ]
  store i32 %127, ptr %126, align 4, !tbaa !5
  %138 = load ptr, ptr @stderr, align 8, !tbaa !9
  %139 = load i32, ptr @test_count, align 4, !tbaa !5
  %140 = tail call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %141 = load i32, ptr %140, align 4, !tbaa !5
  %142 = tail call ptr @s2n_strerror(i32 noundef %141, ptr noundef nonnull @.str.4) #11
  %143 = load i32, ptr %140, align 4, !tbaa !5
  %144 = tail call ptr @s2n_strerror_debug(i32 noundef %143, ptr noundef nonnull @.str.4) #11
  %145 = load i32, ptr %126, align 4, !tbaa !5
  %146 = tail call ptr @strerror(i32 noundef %145) #11
  %147 = load i32, ptr %126, align 4, !tbaa !5
  %148 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %138, ptr noundef nonnull %.str.5.sink106, i32 noundef %139, ptr noundef nonnull @.str.9, ptr noundef nonnull @.str.1, i32 noundef 33, ptr noundef %142, ptr noundef %144, ptr noundef %146, i32 noundef %147) #13
  tail call void @exit(i32 noundef 1) #14
  unreachable

149:                                              ; preds = %120
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #11
  store i64 0, ptr %3, align 8
  %150 = call i32 @s2n_io_pair_init_non_blocking(ptr noundef nonnull %3) #11
  %151 = icmp sgt i32 %150, -1
  br i1 %151, label %152, label %.thread

152:                                              ; preds = %149
  %153 = call i32 @s2n_connection_set_io_pair(ptr noundef nonnull %123, ptr noundef nonnull %3) #11
  %154 = icmp sgt i32 %153, -1
  br i1 %154, label %155, label %.thread

155:                                              ; preds = %152
  %156 = load i32, ptr @test_count, align 4, !tbaa !5
  %157 = add nsw i32 %156, 1
  store i32 %157, ptr @test_count, align 4, !tbaa !5
  %158 = call i32 @s2n_negotiate_test_server_and_client(ptr noundef nonnull %123, ptr noundef null) #11
  %159 = icmp eq i32 %158, -1
  br i1 %159, label %184, label %160

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

167:                                              ; preds = %160
  %168 = load ptr, ptr @stderr, align 8, !tbaa !9
  %169 = call i32 @fileno(ptr noundef %168) #11
  %170 = call i32 @isatty(i32 noundef %169) #11
  %.not = icmp eq i32 %170, 0
  br i1 %.not, label %171, label %172

171:                                              ; preds = %167, %160
  br label %172

172:                                              ; preds = %167, %171
  %.str.5.sink117 = phi ptr [ @.str.5, %171 ], [ @.str.2, %167 ]
  store i32 %162, ptr %161, align 4, !tbaa !5
  %173 = load ptr, ptr @stderr, align 8, !tbaa !9
  %174 = load i32, ptr @test_count, align 4, !tbaa !5
  %175 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %176 = load i32, ptr %175, align 4, !tbaa !5
  %177 = call ptr @s2n_strerror(i32 noundef %176, ptr noundef nonnull @.str.4) #11
  %178 = load i32, ptr %175, align 4, !tbaa !5
  %179 = call ptr @s2n_strerror_debug(i32 noundef %178, ptr noundef nonnull @.str.4) #11
  %180 = load i32, ptr %161, align 4, !tbaa !5
  %181 = call ptr @strerror(i32 noundef %180) #11
  %182 = load i32, ptr %161, align 4, !tbaa !5
  %183 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %173, ptr noundef nonnull %.str.5.sink117, i32 noundef %174, ptr noundef nonnull @.str.10, ptr noundef nonnull @.str.1, i32 noundef 41, ptr noundef %177, ptr noundef %179, ptr noundef %181, i32 noundef %182) #13
  call void @exit(i32 noundef 1) #14
  unreachable

184:                                              ; preds = %155
  %185 = load i32, ptr @test_count, align 4, !tbaa !5
  %186 = add nsw i32 %185, 1
  store i32 %186, ptr @test_count, align 4, !tbaa !5
  %187 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %188 = load i32, ptr %187, align 4, !tbaa !5
  %189 = icmp eq i32 %188, 402653193
  br i1 %189, label %213, label %190

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

197:                                              ; preds = %190
  %198 = load ptr, ptr @stderr, align 8, !tbaa !9
  %199 = call i32 @fileno(ptr noundef %198) #11
  %200 = call i32 @isatty(i32 noundef %199) #11
  %.not42 = icmp eq i32 %200, 0
  br i1 %.not42, label %201, label %202

201:                                              ; preds = %197, %190
  br label %202

202:                                              ; preds = %197, %201
  %.str.5.sink128 = phi ptr [ @.str.5, %201 ], [ @.str.2, %197 ]
  store i32 %192, ptr %191, align 4, !tbaa !5
  %203 = load ptr, ptr @stderr, align 8, !tbaa !9
  %204 = load i32, ptr @test_count, align 4, !tbaa !5
  %205 = load i32, ptr %187, align 4, !tbaa !5
  %206 = call ptr @s2n_strerror(i32 noundef %205, ptr noundef nonnull @.str.4) #11
  %207 = load i32, ptr %187, align 4, !tbaa !5
  %208 = call ptr @s2n_strerror_debug(i32 noundef %207, ptr noundef nonnull @.str.4) #11
  %209 = load i32, ptr %191, align 4, !tbaa !5
  %210 = call ptr @strerror(i32 noundef %209) #11
  %211 = load i32, ptr %191, align 4, !tbaa !5
  %212 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %203, ptr noundef nonnull %.str.5.sink128, i32 noundef %204, ptr noundef nonnull @.str.11, ptr noundef nonnull @.str.1, i32 noundef 41, ptr noundef %206, ptr noundef %208, ptr noundef %210, i32 noundef %211) #13
  call void @exit(i32 noundef 1) #14
  unreachable

213:                                              ; preds = %184
  %214 = add nsw i32 %185, 2
  store i32 %214, ptr @test_count, align 4, !tbaa !5
  %215 = call ptr @s2n_strerror_debug(i32 noundef 402653193, ptr noundef nonnull @.str.4) #11
  %216 = icmp eq ptr %215, null
  br i1 %216, label %217, label %240

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

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

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

229:                                              ; preds = %224, %228
  %.str.5.sink137 = phi ptr [ @.str.5, %228 ], [ @.str.2, %224 ]
  store i32 %219, ptr %218, align 4, !tbaa !5
  %230 = load ptr, ptr @stderr, align 8, !tbaa !9
  %231 = load i32, ptr @test_count, align 4, !tbaa !5
  %232 = load i32, ptr %187, align 4, !tbaa !5
  %233 = call ptr @s2n_strerror(i32 noundef %232, ptr noundef nonnull @.str.4) #11
  %234 = load i32, ptr %187, align 4, !tbaa !5
  %235 = call ptr @s2n_strerror_debug(i32 noundef %234, ptr noundef nonnull @.str.4) #11
  %236 = load i32, ptr %218, align 4, !tbaa !5
  %237 = call ptr @strerror(i32 noundef %236) #11
  %238 = load i32, ptr %218, align 4, !tbaa !5
  %239 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %230, ptr noundef nonnull %.str.5.sink137, i32 noundef %231, ptr noundef nonnull @.str.12, ptr noundef nonnull @.str.1, i32 noundef 41, ptr noundef %233, ptr noundef %235, ptr noundef %237, i32 noundef %238) #13
  call void @exit(i32 noundef 1) #14
  unreachable

240:                                              ; preds = %213
  store i32 0, ptr %187, align 4, !tbaa !5
  call void @s2n_debug_info_reset() #11
  %241 = tail call ptr @__errno_location() #12
  store i32 0, ptr %241, align 4, !tbaa !5
  %242 = load i32, ptr @test_count, align 4, !tbaa !5
  %243 = add nsw i32 %242, 1
  store i32 %243, ptr @test_count, align 4, !tbaa !5
  %244 = call i32 @s2n_connection_free(ptr noundef nonnull %123) #11
  %245 = icmp eq i32 %244, -1
  br i1 %245, label %246, label %269

246:                                              ; preds = %240
  %247 = load i32, ptr %241, align 4, !tbaa !5
  %248 = load ptr, ptr @stderr, align 8, !tbaa !9
  %249 = call i32 @s2n_print_stacktrace(ptr noundef %248) #11
  %250 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %251 = trunc nuw i8 %250 to i1
  br i1 %251, label %252, label %256

252:                                              ; preds = %246
  %253 = load ptr, ptr @stderr, align 8, !tbaa !9
  %254 = call i32 @fileno(ptr noundef %253) #11
  %255 = call i32 @isatty(i32 noundef %254) #11
  %.not52 = icmp eq i32 %255, 0
  br i1 %.not52, label %256, label %257

256:                                              ; preds = %252, %246
  br label %257

257:                                              ; preds = %252, %256
  %.str.5.sink146 = phi ptr [ @.str.5, %256 ], [ @.str.2, %252 ]
  store i32 %247, ptr %241, align 4, !tbaa !5
  %258 = load ptr, ptr @stderr, align 8, !tbaa !9
  %259 = load i32, ptr @test_count, align 4, !tbaa !5
  %260 = load i32, ptr %187, align 4, !tbaa !5
  %261 = call ptr @s2n_strerror(i32 noundef %260, ptr noundef nonnull @.str.4) #11
  %262 = load i32, ptr %187, align 4, !tbaa !5
  %263 = call ptr @s2n_strerror_debug(i32 noundef %262, ptr noundef nonnull @.str.4) #11
  %264 = load i32, ptr %241, align 4, !tbaa !5
  %265 = call ptr @strerror(i32 noundef %264) #11
  %266 = load i32, ptr %241, align 4, !tbaa !5
  %267 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %258, ptr noundef nonnull %.str.5.sink146, i32 noundef %259, ptr noundef nonnull @.str.13, ptr noundef nonnull @.str.1, i32 noundef 43, ptr noundef %261, ptr noundef %263, ptr noundef %265, i32 noundef %266) #13
  call void @exit(i32 noundef 1) #14
  unreachable

.thread:                                          ; preds = %149, %152
  %268 = call i32 @s2n_io_pair_close(ptr noundef nonnull %3) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #11
  br label %579

269:                                              ; preds = %240
  %270 = call i32 @s2n_io_pair_close(ptr noundef nonnull %3) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #11
  %271 = getelementptr inbounds i8, ptr %4, i64 8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %4) #11
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %4, i8 0, i64 24, i1 false)
  %272 = load i32, ptr @test_count, align 4, !tbaa !5
  %273 = add nsw i32 %272, 1
  store i32 %273, ptr @test_count, align 4, !tbaa !5
  %274 = load ptr, ptr @__const.main.test_cases, align 16, !tbaa !15
  %275 = call i32 @s2n_blob_alloc_from_hex_with_whitespace(ptr noundef nonnull %4, ptr noundef %274) #11
  %276 = call zeroext i1 @s2n_result_is_ok(i32 %275)
  br i1 %276, label %299, label %277

277:                                              ; preds = %488, %469, %450, %431, %412, %393, %374, %355, %269
  %278 = load i32, ptr %241, align 4, !tbaa !5
  %279 = load ptr, ptr @stderr, align 8, !tbaa !9
  %280 = call i32 @s2n_print_stacktrace(ptr noundef %279) #11
  %281 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %282 = trunc nuw i8 %281 to i1
  br i1 %282, label %283, label %287

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

287:                                              ; preds = %283, %277
  br label %288

288:                                              ; preds = %283, %287
  %.str.5.sink155 = phi ptr [ @.str.5, %287 ], [ @.str.2, %283 ]
  store i32 %278, ptr %241, align 4, !tbaa !5
  %289 = load ptr, ptr @stderr, align 8, !tbaa !9
  %290 = load i32, ptr @test_count, align 4, !tbaa !5
  %291 = load i32, ptr %187, align 4, !tbaa !5
  %292 = call ptr @s2n_strerror(i32 noundef %291, ptr noundef nonnull @.str.4) #11
  %293 = load i32, ptr %187, align 4, !tbaa !5
  %294 = call ptr @s2n_strerror_debug(i32 noundef %293, ptr noundef nonnull @.str.4) #11
  %295 = load i32, ptr %241, align 4, !tbaa !5
  %296 = call ptr @strerror(i32 noundef %295) #11
  %297 = load i32, ptr %241, align 4, !tbaa !5
  %298 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %289, ptr noundef nonnull %.str.5.sink155, i32 noundef %290, ptr noundef nonnull @.str.23, ptr noundef nonnull @.str.1, i32 noundef 65, ptr noundef %292, ptr noundef %294, ptr noundef %296, i32 noundef %297) #13
  call void @exit(i32 noundef 1) #14
  unreachable

299:                                              ; preds = %269
  %300 = load i32, ptr @test_count, align 4, !tbaa !5
  %301 = add nsw i32 %300, 1
  store i32 %301, ptr @test_count, align 4, !tbaa !5
  %302 = load i32, ptr %271, align 8, !tbaa !18
  %303 = zext i32 %302 to i64
  %304 = load i64, ptr getelementptr inbounds (i8, ptr @__const.main.test_cases, i64 8), align 8, !tbaa !20
  %305 = icmp eq i64 %304, %303
  br i1 %305, label %328, label %306

306:                                              ; preds = %495, %476, %457, %438, %419, %400, %381, %362, %299
  %307 = load i32, ptr %241, align 4, !tbaa !5
  %308 = load ptr, ptr @stderr, align 8, !tbaa !9
  %309 = call i32 @s2n_print_stacktrace(ptr noundef %308) #11
  %310 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %311 = trunc nuw i8 %310 to i1
  br i1 %311, label %312, label %316

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

316:                                              ; preds = %312, %306
  br label %317

317:                                              ; preds = %312, %316
  %.str.5.sink164 = phi ptr [ @.str.5, %316 ], [ @.str.2, %312 ]
  store i32 %307, ptr %241, align 4, !tbaa !5
  %318 = load ptr, ptr @stderr, align 8, !tbaa !9
  %319 = load i32, ptr @test_count, align 4, !tbaa !5
  %320 = load i32, ptr %187, align 4, !tbaa !5
  %321 = call ptr @s2n_strerror(i32 noundef %320, ptr noundef nonnull @.str.4) #11
  %322 = load i32, ptr %187, align 4, !tbaa !5
  %323 = call ptr @s2n_strerror_debug(i32 noundef %322, ptr noundef nonnull @.str.4) #11
  %324 = load i32, ptr %241, align 4, !tbaa !5
  %325 = call ptr @strerror(i32 noundef %324) #11
  %326 = load i32, ptr %241, align 4, !tbaa !5
  %327 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %318, ptr noundef nonnull %.str.5.sink164, i32 noundef %319, ptr noundef nonnull @.str.24, ptr noundef nonnull @.str.1, i32 noundef 66, ptr noundef %321, ptr noundef %323, ptr noundef %325, i32 noundef %326) #13
  call void @exit(i32 noundef 1) #14
  unreachable

328:                                              ; preds = %299
  %.not50 = icmp eq i32 %302, 0
  br i1 %.not50, label %355, label %329

329:                                              ; preds = %328
  %330 = add nsw i32 %300, 2
  store i32 %330, ptr @test_count, align 4, !tbaa !5
  %331 = load ptr, ptr %4, align 8, !tbaa !21
  %bcmp = call i32 @bcmp(ptr %331, ptr nonnull getelementptr inbounds (i8, ptr @__const.main.test_cases, i64 16), i64 %303)
  %332 = icmp eq i32 %bcmp, 0
  br i1 %332, label %355, label %333

333:                                              ; preds = %503, %484, %465, %446, %427, %408, %389, %370, %329
  %334 = load i32, ptr %241, align 4, !tbaa !5
  %335 = load ptr, ptr @stderr, align 8, !tbaa !9
  %336 = call i32 @s2n_print_stacktrace(ptr noundef %335) #11
  %337 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %338 = trunc nuw i8 %337 to i1
  br i1 %338, label %339, label %343

339:                                              ; preds = %333
  %340 = load ptr, ptr @stderr, align 8, !tbaa !9
  %341 = call i32 @fileno(ptr noundef %340) #11
  %342 = call i32 @isatty(i32 noundef %341) #11
  %.not51 = icmp eq i32 %342, 0
  br i1 %.not51, label %343, label %344

343:                                              ; preds = %339, %333
  br label %344

344:                                              ; preds = %339, %343
  %.str.5.sink173 = phi ptr [ @.str.5, %343 ], [ @.str.2, %339 ]
  store i32 %334, ptr %241, align 4, !tbaa !5
  %345 = load ptr, ptr @stderr, align 8, !tbaa !9
  %346 = load i32, ptr @test_count, align 4, !tbaa !5
  %347 = load i32, ptr %187, align 4, !tbaa !5
  %348 = call ptr @s2n_strerror(i32 noundef %347, ptr noundef nonnull @.str.4) #11
  %349 = load i32, ptr %187, align 4, !tbaa !5
  %350 = call ptr @s2n_strerror_debug(i32 noundef %349, ptr noundef nonnull @.str.4) #11
  %351 = load i32, ptr %241, align 4, !tbaa !5
  %352 = call ptr @strerror(i32 noundef %351) #11
  %353 = load i32, ptr %241, align 4, !tbaa !5
  %354 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %345, ptr noundef nonnull %.str.5.sink173, i32 noundef %346, ptr noundef nonnull @.str.25, ptr noundef nonnull @.str.1, i32 noundef 67, ptr noundef %348, ptr noundef %350, ptr noundef %352, i32 noundef %353) #13
  call void @exit(i32 noundef 1) #14
  unreachable

355:                                              ; preds = %329, %328
  %356 = call i32 @s2n_free(ptr noundef nonnull %4) #11
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #11
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %4) #11
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %4, i8 0, i64 24, i1 false)
  %357 = load i32, ptr @test_count, align 4, !tbaa !5
  %358 = add nsw i32 %357, 1
  store i32 %358, ptr @test_count, align 4, !tbaa !5
  %359 = load ptr, ptr getelementptr inbounds (i8, ptr @__const.main.test_cases, i64 120), align 8, !tbaa !15
  %360 = call i32 @s2n_blob_alloc_from_hex_with_whitespace(ptr noundef nonnull %4, ptr noundef %359) #11
  %361 = call zeroext i1 @s2n_result_is_ok(i32 %360)
  br i1 %361, label %362, label %277

362:                                              ; preds = %355
  %363 = load i32, ptr @test_count, align 4, !tbaa !5
  %364 = add nsw i32 %363, 1
  store i32 %364, ptr @test_count, align 4, !tbaa !5
  %365 = load i32, ptr %271, align 8, !tbaa !18
  %366 = zext i32 %365 to i64
  %367 = load i64, ptr getelementptr inbounds (i8, ptr @__const.main.test_cases, i64 128), align 16, !tbaa !20
  %368 = icmp eq i64 %367, %366
  br i1 %368, label %369, label %306

369:                                              ; preds = %362
  %.not50.1 = icmp eq i32 %365, 0
  br i1 %.not50.1, label %374, label %370

370:                                              ; preds = %369
  %371 = add nsw i32 %363, 2
  store i32 %371, ptr @test_count, align 4, !tbaa !5
  %372 = load ptr, ptr %4, align 8, !tbaa !21
  %bcmp.1 = call i32 @bcmp(ptr %372, ptr nonnull getelementptr inbounds (i8, ptr @__const.main.test_cases, i64 136), i64 %366)
  %373 = icmp eq i32 %bcmp.1, 0
  br i1 %373, label %374, label %333

374:                                              ; preds = %370, %369
  %375 = call i32 @s2n_free(ptr noundef nonnull %4) #11
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #11
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %4) #11
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %4, i8 0, i64 24, i1 false)
  %376 = load i32, ptr @test_count, align 4, !tbaa !5
  %377 = add nsw i32 %376, 1
  store i32 %377, ptr @test_count, align 4, !tbaa !5
  %378 = load ptr, ptr getelementptr inbounds (i8, ptr @__const.main.test_cases, i64 240), align 16, !tbaa !15
  %379 = call i32 @s2n_blob_alloc_from_hex_with_whitespace(ptr noundef nonnull %4, ptr noundef %378) #11
  %380 = call zeroext i1 @s2n_result_is_ok(i32 %379)
  br i1 %380, label %381, label %277

381:                                              ; preds = %374
  %382 = load i32, ptr @test_count, align 4, !tbaa !5
  %383 = add nsw i32 %382, 1
  store i32 %383, ptr @test_count, align 4, !tbaa !5
  %384 = load i32, ptr %271, align 8, !tbaa !18
  %385 = zext i32 %384 to i64
  %386 = load i64, ptr getelementptr inbounds (i8, ptr @__const.main.test_cases, i64 248), align 8, !tbaa !20
  %387 = icmp eq i64 %386, %385
  br i1 %387, label %388, label %306

388:                                              ; preds = %381
  %.not50.2 = icmp eq i32 %384, 0
  br i1 %.not50.2, label %393, label %389

389:                                              ; preds = %388
  %390 = add nsw i32 %382, 2
  store i32 %390, ptr @test_count, align 4, !tbaa !5
  %391 = load ptr, ptr %4, align 8, !tbaa !21
  %bcmp.2 = call i32 @bcmp(ptr %391, ptr nonnull getelementptr inbounds (i8, ptr @__const.main.test_cases, i64 256), i64 %385)
  %392 = icmp eq i32 %bcmp.2, 0
  br i1 %392, label %393, label %333

393:                                              ; preds = %389, %388
  %394 = call i32 @s2n_free(ptr noundef nonnull %4) #11
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #11
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %4) #11
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %4, i8 0, i64 24, i1 false)
  %395 = load i32, ptr @test_count, align 4, !tbaa !5
  %396 = add nsw i32 %395, 1
  store i32 %396, ptr @test_count, align 4, !tbaa !5
  %397 = load ptr, ptr getelementptr inbounds (i8, ptr @__const.main.test_cases, i64 360), align 8, !tbaa !15
  %398 = call i32 @s2n_blob_alloc_from_hex_with_whitespace(ptr noundef nonnull %4, ptr noundef %397) #11
  %399 = call zeroext i1 @s2n_result_is_ok(i32 %398)
  br i1 %399, label %400, label %277

400:                                              ; preds = %393
  %401 = load i32, ptr @test_count, align 4, !tbaa !5
  %402 = add nsw i32 %401, 1
  store i32 %402, ptr @test_count, align 4, !tbaa !5
  %403 = load i32, ptr %271, align 8, !tbaa !18
  %404 = zext i32 %403 to i64
  %405 = load i64, ptr getelementptr inbounds (i8, ptr @__const.main.test_cases, i64 368), align 16, !tbaa !20
  %406 = icmp eq i64 %405, %404
  br i1 %406, label %407, label %306

407:                                              ; preds = %400
  %.not50.3 = icmp eq i32 %403, 0
  br i1 %.not50.3, label %412, label %408

408:                                              ; preds = %407
  %409 = add nsw i32 %401, 2
  store i32 %409, ptr @test_count, align 4, !tbaa !5
  %410 = load ptr, ptr %4, align 8, !tbaa !21
  %bcmp.3 = call i32 @bcmp(ptr %410, ptr nonnull getelementptr inbounds (i8, ptr @__const.main.test_cases, i64 376), i64 %404)
  %411 = icmp eq i32 %bcmp.3, 0
  br i1 %411, label %412, label %333

412:                                              ; preds = %408, %407
  %413 = call i32 @s2n_free(ptr noundef nonnull %4) #11
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #11
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %4) #11
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %4, i8 0, i64 24, i1 false)
  %414 = load i32, ptr @test_count, align 4, !tbaa !5
  %415 = add nsw i32 %414, 1
  store i32 %415, ptr @test_count, align 4, !tbaa !5
  %416 = load ptr, ptr getelementptr inbounds (i8, ptr @__const.main.test_cases, i64 480), align 16, !tbaa !15
  %417 = call i32 @s2n_blob_alloc_from_hex_with_whitespace(ptr noundef nonnull %4, ptr noundef %416) #11
  %418 = call zeroext i1 @s2n_result_is_ok(i32 %417)
  br i1 %418, label %419, label %277

419:                                              ; preds = %412
  %420 = load i32, ptr @test_count, align 4, !tbaa !5
  %421 = add nsw i32 %420, 1
  store i32 %421, ptr @test_count, align 4, !tbaa !5
  %422 = load i32, ptr %271, align 8, !tbaa !18
  %423 = zext i32 %422 to i64
  %424 = load i64, ptr getelementptr inbounds (i8, ptr @__const.main.test_cases, i64 488), align 8, !tbaa !20
  %425 = icmp eq i64 %424, %423
  br i1 %425, label %426, label %306

426:                                              ; preds = %419
  %.not50.4 = icmp eq i32 %422, 0
  br i1 %.not50.4, label %431, label %427

427:                                              ; preds = %426
  %428 = add nsw i32 %420, 2
  store i32 %428, ptr @test_count, align 4, !tbaa !5
  %429 = load ptr, ptr %4, align 8, !tbaa !21
  %bcmp.4 = call i32 @bcmp(ptr %429, ptr nonnull getelementptr inbounds (i8, ptr @__const.main.test_cases, i64 496), i64 %423)
  %430 = icmp eq i32 %bcmp.4, 0
  br i1 %430, label %431, label %333

431:                                              ; preds = %427, %426
  %432 = call i32 @s2n_free(ptr noundef nonnull %4) #11
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #11
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %4) #11
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %4, i8 0, i64 24, i1 false)
  %433 = load i32, ptr @test_count, align 4, !tbaa !5
  %434 = add nsw i32 %433, 1
  store i32 %434, ptr @test_count, align 4, !tbaa !5
  %435 = load ptr, ptr getelementptr inbounds (i8, ptr @__const.main.test_cases, i64 600), align 8, !tbaa !15
  %436 = call i32 @s2n_blob_alloc_from_hex_with_whitespace(ptr noundef nonnull %4, ptr noundef %435) #11
  %437 = call zeroext i1 @s2n_result_is_ok(i32 %436)
  br i1 %437, label %438, label %277

438:                                              ; preds = %431
  %439 = load i32, ptr @test_count, align 4, !tbaa !5
  %440 = add nsw i32 %439, 1
  store i32 %440, ptr @test_count, align 4, !tbaa !5
  %441 = load i32, ptr %271, align 8, !tbaa !18
  %442 = zext i32 %441 to i64
  %443 = load i64, ptr getelementptr inbounds (i8, ptr @__const.main.test_cases, i64 608), align 16, !tbaa !20
  %444 = icmp eq i64 %443, %442
  br i1 %444, label %445, label %306

445:                                              ; preds = %438
  %.not50.5 = icmp eq i32 %441, 0
  br i1 %.not50.5, label %450, label %446

446:                                              ; preds = %445
  %447 = add nsw i32 %439, 2
  store i32 %447, ptr @test_count, align 4, !tbaa !5
  %448 = load ptr, ptr %4, align 8, !tbaa !21
  %bcmp.5 = call i32 @bcmp(ptr %448, ptr nonnull getelementptr inbounds (i8, ptr @__const.main.test_cases, i64 616), i64 %442)
  %449 = icmp eq i32 %bcmp.5, 0
  br i1 %449, label %450, label %333

450:                                              ; preds = %446, %445
  %451 = call i32 @s2n_free(ptr noundef nonnull %4) #11
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #11
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %4) #11
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %4, i8 0, i64 24, i1 false)
  %452 = load i32, ptr @test_count, align 4, !tbaa !5
  %453 = add nsw i32 %452, 1
  store i32 %453, ptr @test_count, align 4, !tbaa !5
  %454 = load ptr, ptr getelementptr inbounds (i8, ptr @__const.main.test_cases, i64 720), align 16, !tbaa !15
  %455 = call i32 @s2n_blob_alloc_from_hex_with_whitespace(ptr noundef nonnull %4, ptr noundef %454) #11
  %456 = call zeroext i1 @s2n_result_is_ok(i32 %455)
  br i1 %456, label %457, label %277

457:                                              ; preds = %450
  %458 = load i32, ptr @test_count, align 4, !tbaa !5
  %459 = add nsw i32 %458, 1
  store i32 %459, ptr @test_count, align 4, !tbaa !5
  %460 = load i32, ptr %271, align 8, !tbaa !18
  %461 = zext i32 %460 to i64
  %462 = load i64, ptr getelementptr inbounds (i8, ptr @__const.main.test_cases, i64 728), align 8, !tbaa !20
  %463 = icmp eq i64 %462, %461
  br i1 %463, label %464, label %306

464:                                              ; preds = %457
  %.not50.6 = icmp eq i32 %460, 0
  br i1 %.not50.6, label %469, label %465

465:                                              ; preds = %464
  %466 = add nsw i32 %458, 2
  store i32 %466, ptr @test_count, align 4, !tbaa !5
  %467 = load ptr, ptr %4, align 8, !tbaa !21
  %bcmp.6 = call i32 @bcmp(ptr %467, ptr nonnull getelementptr inbounds (i8, ptr @__const.main.test_cases, i64 736), i64 %461)
  %468 = icmp eq i32 %bcmp.6, 0
  br i1 %468, label %469, label %333

469:                                              ; preds = %465, %464
  %470 = call i32 @s2n_free(ptr noundef nonnull %4) #11
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #11
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %4) #11
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %4, i8 0, i64 24, i1 false)
  %471 = load i32, ptr @test_count, align 4, !tbaa !5
  %472 = add nsw i32 %471, 1
  store i32 %472, ptr @test_count, align 4, !tbaa !5
  %473 = load ptr, ptr getelementptr inbounds (i8, ptr @__const.main.test_cases, i64 840), align 8, !tbaa !15
  %474 = call i32 @s2n_blob_alloc_from_hex_with_whitespace(ptr noundef nonnull %4, ptr noundef %473) #11
  %475 = call zeroext i1 @s2n_result_is_ok(i32 %474)
  br i1 %475, label %476, label %277

476:                                              ; preds = %469
  %477 = load i32, ptr @test_count, align 4, !tbaa !5
  %478 = add nsw i32 %477, 1
  store i32 %478, ptr @test_count, align 4, !tbaa !5
  %479 = load i32, ptr %271, align 8, !tbaa !18
  %480 = zext i32 %479 to i64
  %481 = load i64, ptr getelementptr inbounds (i8, ptr @__const.main.test_cases, i64 848), align 16, !tbaa !20
  %482 = icmp eq i64 %481, %480
  br i1 %482, label %483, label %306

483:                                              ; preds = %476
  %.not50.7 = icmp eq i32 %479, 0
  br i1 %.not50.7, label %488, label %484

484:                                              ; preds = %483
  %485 = add nsw i32 %477, 2
  store i32 %485, ptr @test_count, align 4, !tbaa !5
  %486 = load ptr, ptr %4, align 8, !tbaa !21
  %bcmp.7 = call i32 @bcmp(ptr %486, ptr nonnull getelementptr inbounds (i8, ptr @__const.main.test_cases, i64 856), i64 %480)
  %487 = icmp eq i32 %bcmp.7, 0
  br i1 %487, label %488, label %333

488:                                              ; preds = %484, %483
  %489 = call i32 @s2n_free(ptr noundef nonnull %4) #11
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #11
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %4) #11
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %4, i8 0, i64 24, i1 false)
  %490 = load i32, ptr @test_count, align 4, !tbaa !5
  %491 = add nsw i32 %490, 1
  store i32 %491, ptr @test_count, align 4, !tbaa !5
  %492 = load ptr, ptr getelementptr inbounds (i8, ptr @__const.main.test_cases, i64 960), align 16, !tbaa !15
  %493 = call i32 @s2n_blob_alloc_from_hex_with_whitespace(ptr noundef nonnull %4, ptr noundef %492) #11
  %494 = call zeroext i1 @s2n_result_is_ok(i32 %493)
  br i1 %494, label %495, label %277

495:                                              ; preds = %488
  %496 = load i32, ptr @test_count, align 4, !tbaa !5
  %497 = add nsw i32 %496, 1
  store i32 %497, ptr @test_count, align 4, !tbaa !5
  %498 = load i32, ptr %271, align 8, !tbaa !18
  %499 = zext i32 %498 to i64
  %500 = load i64, ptr getelementptr inbounds (i8, ptr @__const.main.test_cases, i64 968), align 8, !tbaa !20
  %501 = icmp eq i64 %500, %499
  br i1 %501, label %502, label %306

502:                                              ; preds = %495
  %.not50.8 = icmp eq i32 %498, 0
  br i1 %.not50.8, label %507, label %503

503:                                              ; preds = %502
  %504 = add nsw i32 %496, 2
  store i32 %504, ptr @test_count, align 4, !tbaa !5
  %505 = load ptr, ptr %4, align 8, !tbaa !21
  %bcmp.8 = call i32 @bcmp(ptr %505, ptr nonnull getelementptr inbounds (i8, ptr @__const.main.test_cases, i64 976), i64 %499)
  %506 = icmp eq i32 %bcmp.8, 0
  br i1 %506, label %507, label %333

507:                                              ; preds = %503, %502
  %508 = call i32 @s2n_free(ptr noundef nonnull %4) #11
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #11
  %509 = call i32 @s2n_cleanup() #11
  %510 = icmp eq i32 %509, -1
  br i1 %510, label %511, label %533

511:                                              ; preds = %507
  %512 = load i32, ptr %241, align 4, !tbaa !5
  %513 = load ptr, ptr @stderr, align 8, !tbaa !9
  %514 = call i32 @s2n_print_stacktrace(ptr noundef %513) #11
  %515 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %516 = trunc nuw i8 %515 to i1
  br i1 %516, label %517, label %521

517:                                              ; preds = %511
  %518 = load ptr, ptr @stderr, align 8, !tbaa !9
  %519 = call i32 @fileno(ptr noundef %518) #11
  %520 = call i32 @isatty(i32 noundef %519) #11
  %.not47 = icmp eq i32 %520, 0
  br i1 %.not47, label %521, label %522

521:                                              ; preds = %517, %511
  br label %522

522:                                              ; preds = %517, %521
  %.str.5.sink182 = phi ptr [ @.str.5, %521 ], [ @.str.2, %517 ]
  store i32 %512, ptr %241, align 4, !tbaa !5
  %523 = load ptr, ptr @stderr, align 8, !tbaa !9
  %524 = load i32, ptr @test_count, align 4, !tbaa !5
  %525 = load i32, ptr %187, align 4, !tbaa !5
  %526 = call ptr @s2n_strerror(i32 noundef %525, ptr noundef nonnull @.str.4) #11
  %527 = load i32, ptr %187, align 4, !tbaa !5
  %528 = call ptr @s2n_strerror_debug(i32 noundef %527, ptr noundef nonnull @.str.4) #11
  %529 = load i32, ptr %241, align 4, !tbaa !5
  %530 = call ptr @strerror(i32 noundef %529) #11
  %531 = load i32, ptr %241, align 4, !tbaa !5
  %532 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %523, ptr noundef nonnull %.str.5.sink182, i32 noundef %524, ptr noundef nonnull @.str.26, ptr noundef nonnull @.str.1, i32 noundef 71, ptr noundef %526, ptr noundef %528, ptr noundef %530, i32 noundef %531) #13
  call void @exit(i32 noundef 1) #14
  unreachable

533:                                              ; preds = %507
  %534 = call i32 @s2n_in_unit_test_set(i1 noundef zeroext false) #11
  %535 = icmp eq i32 %534, -1
  br i1 %535, label %536, label %558

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

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

546:                                              ; preds = %542, %536
  br label %547

547:                                              ; preds = %542, %546
  %.str.5.sink191 = phi ptr [ @.str.5, %546 ], [ @.str.2, %542 ]
  store i32 %537, ptr %241, align 4, !tbaa !5
  %548 = load ptr, ptr @stderr, align 8, !tbaa !9
  %549 = load i32, ptr @test_count, align 4, !tbaa !5
  %550 = load i32, ptr %187, align 4, !tbaa !5
  %551 = call ptr @s2n_strerror(i32 noundef %550, ptr noundef nonnull @.str.4) #11
  %552 = load i32, ptr %187, align 4, !tbaa !5
  %553 = call ptr @s2n_strerror_debug(i32 noundef %552, ptr noundef nonnull @.str.4) #11
  %554 = load i32, ptr %241, align 4, !tbaa !5
  %555 = call ptr @strerror(i32 noundef %554) #11
  %556 = load i32, ptr %241, align 4, !tbaa !5
  %557 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %548, ptr noundef nonnull %.str.5.sink191, i32 noundef %549, ptr noundef nonnull @.str.27, ptr noundef nonnull @.str.1, i32 noundef 71, ptr noundef %551, ptr noundef %553, ptr noundef %555, i32 noundef %556) #13
  call void @exit(i32 noundef 1) #14
  unreachable

558:                                              ; preds = %533
  %559 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %560 = trunc nuw i8 %559 to i1
  br i1 %560, label %561, label %572

561:                                              ; preds = %558
  %562 = load ptr, ptr @stdout, align 8, !tbaa !9
  %563 = call i32 @fileno(ptr noundef %562) #11
  %564 = call i32 @isatty(i32 noundef %563) #11
  %.not43 = icmp eq i32 %564, 0
  br i1 %.not43, label %572, label %565

565:                                              ; preds = %561
  %566 = load i32, ptr @test_count, align 4, !tbaa !5
  %.not45 = icmp eq i32 %566, 0
  %567 = load ptr, ptr @stdout, align 8, !tbaa !9
  br i1 %.not45, label %570, label %568

568:                                              ; preds = %565
  %569 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %567, ptr noundef nonnull @.str.28, i32 noundef %566) #11
  br label %579

570:                                              ; preds = %565
  %571 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %567, ptr noundef nonnull @.str.29) #11
  br label %579

572:                                              ; preds = %561, %558
  %573 = load i32, ptr @test_count, align 4, !tbaa !5
  %.not44 = icmp eq i32 %573, 0
  %574 = load ptr, ptr @stdout, align 8, !tbaa !9
  br i1 %.not44, label %577, label %575

575:                                              ; preds = %572
  %576 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %574, ptr noundef nonnull @.str.30, i32 noundef %573) #11
  br label %579

577:                                              ; preds = %572
  %578 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %574, ptr noundef nonnull @.str.31) #11
  br label %579

579:                                              ; preds = %.thread, %570, %568, %577, %575
  %.1 = phi i32 [ 0, %575 ], [ 0, %577 ], [ 0, %568 ], [ 0, %570 ], [ -1, %.thread ]
  ret i32 %.1
}

; 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

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

declare ptr @s2n_connection_new(i32 noundef) 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_io_pair_close(ptr noundef) local_unnamed_addr #2

declare i32 @s2n_io_pair_init_non_blocking(ptr noundef) local_unnamed_addr #2

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

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

declare void @s2n_debug_info_reset() local_unnamed_addr #2

declare i32 @s2n_connection_free(ptr noundef) local_unnamed_addr #2

declare i32 @s2n_free(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_blob_alloc_from_hex_with_whitespace(ptr noundef, ptr noundef) local_unnamed_addr #2

declare i32 @s2n_cleanup() local_unnamed_addr #2

; Function Attrs: nofree nounwind willreturn memory(argmem: read)
declare i32 @bcmp(ptr nocapture, ptr nocapture, i64) local_unnamed_addr #10

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 = { nofree nounwind willreturn memory(argmem: read) }
attributes #11 = { nounwind }
attributes #12 = { nounwind willreturn memory(none) }
attributes #13 = { cold nounwind }
attributes #14 = { noreturn nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"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, !17, i64 8, !7, i64 16}
!17 = !{!"long", !7, i64 0}
!18 = !{!19, !6, i64 8}
!19 = !{!"s2n_blob", !10, i64 0, !6, i64 8, !6, i64 12, !6, i64 16}
!20 = !{!16, !17, i64 8}
!21 = !{!19, !10, i64 0}


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