; LLVM IR from aws/s2n-tls :: tests/unit (s2n_release_non_empty_buffers_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.s2n_test_io_pair = type { i32, i32 }
%struct.s2n_stuffer = type { %struct.s2n_blob, i32, i32, i32, i8 }
%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
@stderr = external global ptr, align 8
@.str = external hidden unnamed_addr constant [101 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [93 x i8], align 1
@s2n_errno = external thread_local global i32, align 4
@.str.3 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [90 x i8], align 1
@stdout = external global ptr, align 8
@.str.5 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [56 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [55 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [76 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [65 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [66 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [60 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [132 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [58 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [131 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [108 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [94 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [76 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [68 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [68 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [63 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [64 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [76 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [80 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [68 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [70 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [44 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [62 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [65 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.42 = external hidden unnamed_addr constant [25 x i8], align 1
@buf_to_send = external hidden constant <{ i8, [1022 x i8] }>, align 16

; Function Attrs: nounwind uwtable
declare dso_local i32 @mock_client(ptr noundef) #0

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

declare ptr @s2n_connection_new(i32 noundef) #2

declare ptr @s2n_config_new() #2

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

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

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

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

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

declare i32 @s2n_print_stacktrace(ptr noundef) #2

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

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

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

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) #4

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

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

declare i32 @s2n_cleanup() #2

; 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 ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca [1023 x i8], align 16
  %12 = alloca i32, align 4
  %13 = alloca i64, align 8
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca %struct.s2n_test_io_pair, align 4
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca ptr, align 8
  %22 = alloca ptr, align 8
  %23 = alloca ptr, align 8
  %24 = alloca %struct.s2n_stuffer, align 8
  %25 = alloca %struct.s2n_stuffer, align 8
  %26 = alloca i32, align 4
  %27 = alloca i32, align 4
  %28 = alloca i32, align 4
  %29 = alloca i32, align 4
  %30 = alloca i32, align 4
  %31 = alloca i32, align 4
  %32 = alloca i32, align 4
  %33 = alloca i32, align 4
  %34 = alloca i32, align 4
  %35 = alloca i32, align 4
  %36 = alloca i32, align 4
  %37 = alloca i32, align 4
  %38 = alloca i32, align 4
  %39 = alloca i32, align 4
  %40 = alloca i32, align 4
  %41 = alloca i32, align 4
  %42 = alloca i32, align 4
  %43 = alloca i32, align 4
  %44 = alloca i32, align 4
  %45 = alloca i32, align 4
  %46 = alloca i32, align 4
  %47 = alloca i32, align 4
  %48 = alloca i32, align 4
  %49 = alloca i32, align 4
  %50 = alloca i32, align 4
  %51 = alloca i8, align 1
  %52 = alloca i32, align 4
  %53 = alloca i32, align 4
  %54 = alloca i32, align 4
  %55 = alloca i32, align 4
  %56 = alloca i32, align 4
  %57 = alloca i32, align 4
  %58 = alloca %struct.s2n_result, align 4
  %59 = alloca %struct.s2n_result, align 4
  %60 = alloca %struct.s2n_result, align 4
  store i32 0, ptr %3, align 4
  store i32 %0, ptr %4, align 4, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #10
  store i32 0, ptr %7, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #10
  store i32 0, ptr %8, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #10
  store ptr null, ptr %9, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #10
  store ptr null, ptr %10, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1023, ptr %11) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #10
  store i32 0, ptr %12, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #10
  store i64 0, ptr %13, align 8, !tbaa !11
  br label %61

61:                                               ; preds = %2
  br label %62

62:                                               ; preds = %61
  store i32 0, ptr @test_count, align 4, !tbaa !5
  %63 = load ptr, ptr @stdout, align 8, !tbaa !9
  %64 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %63, ptr noundef @.str.5, ptr noundef @.str.2) #10
  %65 = load ptr, ptr @stdout, align 8, !tbaa !9
  %66 = call i32 @fflush(ptr noundef %65)
  br label %67

67:                                               ; preds = %62
  %68 = call i32 @s2n_in_unit_test_set(i1 noundef zeroext true)
  %69 = icmp eq i32 %68, -1
  br i1 %69, label %70, label %123

70:                                               ; preds = %67
  br label %71

71:                                               ; preds = %70
  br label %72

72:                                               ; preds = %71
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #10
  %73 = call ptr @__errno_location() #11
  %74 = load i32, ptr %73, align 4, !tbaa !5
  store i32 %74, ptr %14, align 4, !tbaa !5
  %75 = load ptr, ptr @stderr, align 8, !tbaa !9
  %76 = call i32 @s2n_print_stacktrace(ptr noundef %75)
  %77 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !13, !range !15, !noundef !16
  %78 = trunc i8 %77 to i1
  br i1 %78, label %79, label %101

79:                                               ; preds = %72
  %80 = load ptr, ptr @stderr, align 8, !tbaa !9
  %81 = call i32 @fileno(ptr noundef %80) #10
  %82 = call i32 @isatty(i32 noundef %81) #10
  %83 = icmp ne i32 %82, 0
  br i1 %83, label %84, label %101

84:                                               ; preds = %79
  %85 = load i32, ptr %14, align 4, !tbaa !5
  %86 = call ptr @__errno_location() #11
  store i32 %85, ptr %86, align 4, !tbaa !5
  %87 = load ptr, ptr @stderr, align 8, !tbaa !9
  %88 = load i32, ptr @test_count, align 4, !tbaa !5
  %89 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %90 = load i32, ptr %89, align 4, !tbaa !5
  %91 = call ptr @s2n_strerror(i32 noundef %90, ptr noundef @.str.3)
  %92 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %93 = load i32, ptr %92, align 4, !tbaa !5
  %94 = call ptr @s2n_strerror_debug(i32 noundef %93, ptr noundef @.str.3)
  %95 = call ptr @__errno_location() #11
  %96 = load i32, ptr %95, align 4, !tbaa !5
  %97 = call ptr @strerror(i32 noundef %96) #10
  %98 = call ptr @__errno_location() #11
  %99 = load i32, ptr %98, align 4, !tbaa !5
  %100 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %87, ptr noundef @.str, i32 noundef %88, ptr noundef @.str.6, ptr noundef @.str.2, i32 noundef 82, ptr noundef %91, ptr noundef %94, ptr noundef %97, i32 noundef %99) #10
  br label %118

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

118:                                              ; preds = %101, %84
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #10
  br label %119

119:                                              ; preds = %118
  br label %120

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

121:                                              ; No predecessors!
  br label %122

122:                                              ; preds = %121
  br label %123

123:                                              ; preds = %122, %67
  br label %124

124:                                              ; preds = %123
  br label %125

125:                                              ; preds = %124
  br label %126

126:                                              ; preds = %125
  %127 = load i32, ptr @test_count, align 4, !tbaa !5
  %128 = add nsw i32 %127, 1
  store i32 %128, ptr @test_count, align 4, !tbaa !5
  %129 = call i32 @s2n_enable_atexit()
  %130 = icmp eq i32 %129, -1
  br i1 %130, label %131, label %184

131:                                              ; preds = %126
  br label %132

132:                                              ; preds = %131
  br label %133

133:                                              ; preds = %132
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #10
  %134 = call ptr @__errno_location() #11
  %135 = load i32, ptr %134, align 4, !tbaa !5
  store i32 %135, ptr %15, align 4, !tbaa !5
  %136 = load ptr, ptr @stderr, align 8, !tbaa !9
  %137 = call i32 @s2n_print_stacktrace(ptr noundef %136)
  %138 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !13, !range !15, !noundef !16
  %139 = trunc i8 %138 to i1
  br i1 %139, label %140, label %162

140:                                              ; preds = %133
  %141 = load ptr, ptr @stderr, align 8, !tbaa !9
  %142 = call i32 @fileno(ptr noundef %141) #10
  %143 = call i32 @isatty(i32 noundef %142) #10
  %144 = icmp ne i32 %143, 0
  br i1 %144, label %145, label %162

145:                                              ; preds = %140
  %146 = load i32, ptr %15, align 4, !tbaa !5
  %147 = call ptr @__errno_location() #11
  store i32 %146, ptr %147, align 4, !tbaa !5
  %148 = load ptr, ptr @stderr, align 8, !tbaa !9
  %149 = load i32, ptr @test_count, align 4, !tbaa !5
  %150 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %151 = load i32, ptr %150, align 4, !tbaa !5
  %152 = call ptr @s2n_strerror(i32 noundef %151, ptr noundef @.str.3)
  %153 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %154 = load i32, ptr %153, align 4, !tbaa !5
  %155 = call ptr @s2n_strerror_debug(i32 noundef %154, ptr noundef @.str.3)
  %156 = call ptr @__errno_location() #11
  %157 = load i32, ptr %156, align 4, !tbaa !5
  %158 = call ptr @strerror(i32 noundef %157) #10
  %159 = call ptr @__errno_location() #11
  %160 = load i32, ptr %159, align 4, !tbaa !5
  %161 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %148, ptr noundef @.str, i32 noundef %149, ptr noundef @.str.7, ptr noundef @.str.2, i32 noundef 82, ptr noundef %152, ptr noundef %155, ptr noundef %158, i32 noundef %160) #10
  br label %179

162:                                              ; preds = %140, %133
  %163 = load i32, ptr %15, align 4, !tbaa !5
  %164 = call ptr @__errno_location() #11
  store i32 %163, ptr %164, align 4, !tbaa !5
  %165 = load ptr, ptr @stderr, align 8, !tbaa !9
  %166 = load i32, ptr @test_count, align 4, !tbaa !5
  %167 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %168 = load i32, ptr %167, align 4, !tbaa !5
  %169 = call ptr @s2n_strerror(i32 noundef %168, ptr noundef @.str.3)
  %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_debug(i32 noundef %171, ptr noundef @.str.3)
  %173 = call ptr @__errno_location() #11
  %174 = load i32, ptr %173, align 4, !tbaa !5
  %175 = call ptr @strerror(i32 noundef %174) #10
  %176 = call ptr @__errno_location() #11
  %177 = load i32, ptr %176, align 4, !tbaa !5
  %178 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %165, ptr noundef @.str.4, i32 noundef %166, ptr noundef @.str.7, ptr noundef @.str.2, i32 noundef 82, ptr noundef %169, ptr noundef %172, ptr noundef %175, i32 noundef %177) #10
  br label %179

179:                                              ; preds = %162, %145
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #10
  br label %180

180:                                              ; preds = %179
  br label %181

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

182:                                              ; No predecessors!
  br label %183

183:                                              ; preds = %182
  br label %184

184:                                              ; preds = %183, %126
  br label %185

185:                                              ; preds = %184
  br label %186

186:                                              ; preds = %185
  br label %187

187:                                              ; preds = %186
  br label %188

188:                                              ; preds = %187
  br label %189

189:                                              ; preds = %188
  %190 = call i32 @s2n_init()
  %191 = icmp eq i32 %190, -1
  br i1 %191, label %192, label %245

192:                                              ; preds = %189
  br label %193

193:                                              ; preds = %192
  br label %194

194:                                              ; preds = %193
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #10
  %195 = call ptr @__errno_location() #11
  %196 = load i32, ptr %195, align 4, !tbaa !5
  store i32 %196, ptr %16, align 4, !tbaa !5
  %197 = load ptr, ptr @stderr, align 8, !tbaa !9
  %198 = call i32 @s2n_print_stacktrace(ptr noundef %197)
  %199 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !13, !range !15, !noundef !16
  %200 = trunc i8 %199 to i1
  br i1 %200, label %201, label %223

201:                                              ; preds = %194
  %202 = load ptr, ptr @stderr, align 8, !tbaa !9
  %203 = call i32 @fileno(ptr noundef %202) #10
  %204 = call i32 @isatty(i32 noundef %203) #10
  %205 = icmp ne i32 %204, 0
  br i1 %205, label %206, label %223

206:                                              ; preds = %201
  %207 = load i32, ptr %16, align 4, !tbaa !5
  %208 = call ptr @__errno_location() #11
  store i32 %207, ptr %208, align 4, !tbaa !5
  %209 = load ptr, ptr @stderr, align 8, !tbaa !9
  %210 = load i32, ptr @test_count, align 4, !tbaa !5
  %211 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %212 = load i32, ptr %211, align 4, !tbaa !5
  %213 = call ptr @s2n_strerror(i32 noundef %212, ptr noundef @.str.3)
  %214 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %215 = load i32, ptr %214, align 4, !tbaa !5
  %216 = call ptr @s2n_strerror_debug(i32 noundef %215, ptr noundef @.str.3)
  %217 = call ptr @__errno_location() #11
  %218 = load i32, ptr %217, align 4, !tbaa !5
  %219 = call ptr @strerror(i32 noundef %218) #10
  %220 = call ptr @__errno_location() #11
  %221 = load i32, ptr %220, align 4, !tbaa !5
  %222 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %209, ptr noundef @.str, i32 noundef %210, ptr noundef @.str.8, ptr noundef @.str.2, i32 noundef 82, ptr noundef %213, ptr noundef %216, ptr noundef %219, i32 noundef %221) #10
  br label %240

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

240:                                              ; preds = %223, %206
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #10
  br label %241

241:                                              ; preds = %240
  br label %242

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

243:                                              ; No predecessors!
  br label %244

244:                                              ; preds = %243
  br label %245

245:                                              ; preds = %244, %189
  br label %246

246:                                              ; preds = %245
  br label %247

247:                                              ; preds = %246
  br label %248

248:                                              ; preds = %247
  br label %249

249:                                              ; preds = %248
  br label %250

250:                                              ; preds = %249
  %251 = load i32, ptr @test_count, align 4, !tbaa !5
  %252 = add nsw i32 %251, 1
  store i32 %252, ptr @test_count, align 4, !tbaa !5
  %253 = call i32 (...) @s2n_disable_tls13_in_test()
  %254 = icmp eq i32 %253, -1
  br i1 %254, label %255, label %308

255:                                              ; preds = %250
  br label %256

256:                                              ; preds = %255
  br label %257

257:                                              ; preds = %256
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #10
  %258 = call ptr @__errno_location() #11
  %259 = load i32, ptr %258, align 4, !tbaa !5
  store i32 %259, ptr %17, align 4, !tbaa !5
  %260 = load ptr, ptr @stderr, align 8, !tbaa !9
  %261 = call i32 @s2n_print_stacktrace(ptr noundef %260)
  %262 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !13, !range !15, !noundef !16
  %263 = trunc i8 %262 to i1
  br i1 %263, label %264, label %286

264:                                              ; preds = %257
  %265 = load ptr, ptr @stderr, align 8, !tbaa !9
  %266 = call i32 @fileno(ptr noundef %265) #10
  %267 = call i32 @isatty(i32 noundef %266) #10
  %268 = icmp ne i32 %267, 0
  br i1 %268, label %269, label %286

269:                                              ; preds = %264
  %270 = load i32, ptr %17, align 4, !tbaa !5
  %271 = call ptr @__errno_location() #11
  store i32 %270, ptr %271, align 4, !tbaa !5
  %272 = load ptr, ptr @stderr, align 8, !tbaa !9
  %273 = load i32, ptr @test_count, align 4, !tbaa !5
  %274 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %275 = load i32, ptr %274, align 4, !tbaa !5
  %276 = call ptr @s2n_strerror(i32 noundef %275, ptr noundef @.str.3)
  %277 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %278 = load i32, ptr %277, align 4, !tbaa !5
  %279 = call ptr @s2n_strerror_debug(i32 noundef %278, ptr noundef @.str.3)
  %280 = call ptr @__errno_location() #11
  %281 = load i32, ptr %280, align 4, !tbaa !5
  %282 = call ptr @strerror(i32 noundef %281) #10
  %283 = call ptr @__errno_location() #11
  %284 = load i32, ptr %283, align 4, !tbaa !5
  %285 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %272, ptr noundef @.str, i32 noundef %273, ptr noundef @.str.9, ptr noundef @.str.2, i32 noundef 83, ptr noundef %276, ptr noundef %279, ptr noundef %282, i32 noundef %284) #10
  br label %303

286:                                              ; preds = %264, %257
  %287 = load i32, ptr %17, align 4, !tbaa !5
  %288 = call ptr @__errno_location() #11
  store i32 %287, ptr %288, align 4, !tbaa !5
  %289 = load ptr, ptr @stderr, align 8, !tbaa !9
  %290 = load i32, ptr @test_count, align 4, !tbaa !5
  %291 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %292 = load i32, ptr %291, align 4, !tbaa !5
  %293 = call ptr @s2n_strerror(i32 noundef %292, ptr noundef @.str.3)
  %294 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %295 = load i32, ptr %294, align 4, !tbaa !5
  %296 = call ptr @s2n_strerror_debug(i32 noundef %295, ptr noundef @.str.3)
  %297 = call ptr @__errno_location() #11
  %298 = load i32, ptr %297, align 4, !tbaa !5
  %299 = call ptr @strerror(i32 noundef %298) #10
  %300 = call ptr @__errno_location() #11
  %301 = load i32, ptr %300, align 4, !tbaa !5
  %302 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %289, ptr noundef @.str.4, i32 noundef %290, ptr noundef @.str.9, ptr noundef @.str.2, i32 noundef 83, ptr noundef %293, ptr noundef %296, ptr noundef %299, i32 noundef %301) #10
  br label %303

303:                                              ; preds = %286, %269
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #10
  br label %304

304:                                              ; preds = %303
  br label %305

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

306:                                              ; No predecessors!
  br label %307

307:                                              ; preds = %306
  br label %308

308:                                              ; preds = %307, %250
  br label %309

309:                                              ; preds = %308
  br label %310

310:                                              ; preds = %309
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #10
  call void @llvm.memset.p0.i64(ptr align 4 %18, i8 0, i64 8, i1 false)
  br label %311

311:                                              ; preds = %310
  %312 = load i32, ptr @test_count, align 4, !tbaa !5
  %313 = add nsw i32 %312, 1
  store i32 %313, ptr @test_count, align 4, !tbaa !5
  %314 = call i32 @s2n_io_pair_init(ptr noundef %18)
  %315 = icmp eq i32 %314, -1
  br i1 %315, label %316, label %369

316:                                              ; preds = %311
  br label %317

317:                                              ; preds = %316
  br label %318

318:                                              ; preds = %317
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #10
  %319 = call ptr @__errno_location() #11
  %320 = load i32, ptr %319, align 4, !tbaa !5
  store i32 %320, ptr %19, align 4, !tbaa !5
  %321 = load ptr, ptr @stderr, align 8, !tbaa !9
  %322 = call i32 @s2n_print_stacktrace(ptr noundef %321)
  %323 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !13, !range !15, !noundef !16
  %324 = trunc i8 %323 to i1
  br i1 %324, label %325, label %347

325:                                              ; preds = %318
  %326 = load ptr, ptr @stderr, align 8, !tbaa !9
  %327 = call i32 @fileno(ptr noundef %326) #10
  %328 = call i32 @isatty(i32 noundef %327) #10
  %329 = icmp ne i32 %328, 0
  br i1 %329, label %330, label %347

330:                                              ; preds = %325
  %331 = load i32, ptr %19, align 4, !tbaa !5
  %332 = call ptr @__errno_location() #11
  store i32 %331, ptr %332, align 4, !tbaa !5
  %333 = load ptr, ptr @stderr, align 8, !tbaa !9
  %334 = load i32, ptr @test_count, align 4, !tbaa !5
  %335 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %336 = load i32, ptr %335, align 4, !tbaa !5
  %337 = call ptr @s2n_strerror(i32 noundef %336, ptr noundef @.str.3)
  %338 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %339 = load i32, ptr %338, align 4, !tbaa !5
  %340 = call ptr @s2n_strerror_debug(i32 noundef %339, ptr noundef @.str.3)
  %341 = call ptr @__errno_location() #11
  %342 = load i32, ptr %341, align 4, !tbaa !5
  %343 = call ptr @strerror(i32 noundef %342) #10
  %344 = call ptr @__errno_location() #11
  %345 = load i32, ptr %344, align 4, !tbaa !5
  %346 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %333, ptr noundef @.str, i32 noundef %334, ptr noundef @.str.10, ptr noundef @.str.2, i32 noundef 87, ptr noundef %337, ptr noundef %340, ptr noundef %343, i32 noundef %345) #10
  br label %364

347:                                              ; preds = %325, %318
  %348 = load i32, ptr %19, align 4, !tbaa !5
  %349 = call ptr @__errno_location() #11
  store i32 %348, ptr %349, align 4, !tbaa !5
  %350 = load ptr, ptr @stderr, align 8, !tbaa !9
  %351 = load i32, ptr @test_count, align 4, !tbaa !5
  %352 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %353 = load i32, ptr %352, align 4, !tbaa !5
  %354 = call ptr @s2n_strerror(i32 noundef %353, ptr noundef @.str.3)
  %355 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %356 = load i32, ptr %355, align 4, !tbaa !5
  %357 = call ptr @s2n_strerror_debug(i32 noundef %356, ptr noundef @.str.3)
  %358 = call ptr @__errno_location() #11
  %359 = load i32, ptr %358, align 4, !tbaa !5
  %360 = call ptr @strerror(i32 noundef %359) #10
  %361 = call ptr @__errno_location() #11
  %362 = load i32, ptr %361, align 4, !tbaa !5
  %363 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %350, ptr noundef @.str.4, i32 noundef %351, ptr noundef @.str.10, ptr noundef @.str.2, i32 noundef 87, ptr noundef %354, ptr noundef %357, ptr noundef %360, i32 noundef %362) #10
  br label %364

364:                                              ; preds = %347, %330
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #10
  br label %365

365:                                              ; preds = %364
  br label %366

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

367:                                              ; No predecessors!
  br label %368

368:                                              ; preds = %367
  br label %369

369:                                              ; preds = %368, %311
  br label %370

370:                                              ; preds = %369
  br label %371

371:                                              ; preds = %370
  %372 = call i32 @fork() #10
  store i32 %372, ptr %8, align 4, !tbaa !5
  %373 = load i32, ptr %8, align 4, !tbaa !5
  %374 = icmp eq i32 %373, 0
  br i1 %374, label %375, label %438

375:                                              ; preds = %371
  br label %376

376:                                              ; preds = %375
  %377 = load i32, ptr @test_count, align 4, !tbaa !5
  %378 = add nsw i32 %377, 1
  store i32 %378, ptr @test_count, align 4, !tbaa !5
  %379 = call i32 @s2n_io_pair_close_one_end(ptr noundef %18, i32 noundef 0)
  %380 = icmp eq i32 %379, -1
  br i1 %380, label %381, label %434

381:                                              ; preds = %376
  br label %382

382:                                              ; preds = %381
  br label %383

383:                                              ; preds = %382
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #10
  %384 = call ptr @__errno_location() #11
  %385 = load i32, ptr %384, align 4, !tbaa !5
  store i32 %385, ptr %20, align 4, !tbaa !5
  %386 = load ptr, ptr @stderr, align 8, !tbaa !9
  %387 = call i32 @s2n_print_stacktrace(ptr noundef %386)
  %388 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !13, !range !15, !noundef !16
  %389 = trunc i8 %388 to i1
  br i1 %389, label %390, label %412

390:                                              ; preds = %383
  %391 = load ptr, ptr @stderr, align 8, !tbaa !9
  %392 = call i32 @fileno(ptr noundef %391) #10
  %393 = call i32 @isatty(i32 noundef %392) #10
  %394 = icmp ne i32 %393, 0
  br i1 %394, label %395, label %412

395:                                              ; preds = %390
  %396 = load i32, ptr %20, align 4, !tbaa !5
  %397 = call ptr @__errno_location() #11
  store i32 %396, ptr %397, align 4, !tbaa !5
  %398 = load ptr, ptr @stderr, align 8, !tbaa !9
  %399 = load i32, ptr @test_count, align 4, !tbaa !5
  %400 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %401 = load i32, ptr %400, align 4, !tbaa !5
  %402 = call ptr @s2n_strerror(i32 noundef %401, ptr noundef @.str.3)
  %403 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %404 = load i32, ptr %403, align 4, !tbaa !5
  %405 = call ptr @s2n_strerror_debug(i32 noundef %404, ptr noundef @.str.3)
  %406 = call ptr @__errno_location() #11
  %407 = load i32, ptr %406, align 4, !tbaa !5
  %408 = call ptr @strerror(i32 noundef %407) #10
  %409 = call ptr @__errno_location() #11
  %410 = load i32, ptr %409, align 4, !tbaa !5
  %411 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %398, ptr noundef @.str, i32 noundef %399, ptr noundef @.str.11, ptr noundef @.str.2, i32 noundef 93, ptr noundef %402, ptr noundef %405, ptr noundef %408, i32 noundef %410) #10
  br label %429

412:                                              ; preds = %390, %383
  %413 = load i32, ptr %20, align 4, !tbaa !5
  %414 = call ptr @__errno_location() #11
  store i32 %413, ptr %414, align 4, !tbaa !5
  %415 = load ptr, ptr @stderr, align 8, !tbaa !9
  %416 = load i32, ptr @test_count, align 4, !tbaa !5
  %417 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %418 = load i32, ptr %417, align 4, !tbaa !5
  %419 = call ptr @s2n_strerror(i32 noundef %418, ptr noundef @.str.3)
  %420 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %421 = load i32, ptr %420, align 4, !tbaa !5
  %422 = call ptr @s2n_strerror_debug(i32 noundef %421, ptr noundef @.str.3)
  %423 = call ptr @__errno_location() #11
  %424 = load i32, ptr %423, align 4, !tbaa !5
  %425 = call ptr @strerror(i32 noundef %424) #10
  %426 = call ptr @__errno_location() #11
  %427 = load i32, ptr %426, align 4, !tbaa !5
  %428 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %415, ptr noundef @.str.4, i32 noundef %416, ptr noundef @.str.11, ptr noundef @.str.2, i32 noundef 93, ptr noundef %419, ptr noundef %422, ptr noundef %425, i32 noundef %427) #10
  br label %429

429:                                              ; preds = %412, %395
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #10
  br label %430

430:                                              ; preds = %429
  br label %431

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

432:                                              ; No predecessors!
  br label %433

433:                                              ; preds = %432
  br label %434

434:                                              ; preds = %433, %376
  br label %435

435:                                              ; preds = %434
  br label %436

436:                                              ; preds = %435
  %437 = call i32 @mock_client(ptr noundef %18)
  br label %438

438:                                              ; preds = %436, %371
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #10
  %439 = call ptr @s2n_config_new()
  store ptr %439, ptr %21, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #10
  %440 = call ptr @s2n_connection_new(i32 noundef 0)
  store ptr %440, ptr %22, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #10
  %441 = call ptr @s2n_cert_chain_and_key_new()
  store ptr %441, ptr %23, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 40, ptr %24) #10
  call void @llvm.lifetime.start.p0(i64 40, ptr %25) #10
  br label %442

442:                                              ; preds = %438
  %443 = load i32, ptr @test_count, align 4, !tbaa !5
  %444 = add nsw i32 %443, 1
  store i32 %444, ptr @test_count, align 4, !tbaa !5
  %445 = call noalias ptr @malloc(i64 noundef 12000) #13
  store ptr %445, ptr %9, align 8, !tbaa !9
  %446 = icmp eq ptr %445, null
  br i1 %446, label %447, label %500

447:                                              ; preds = %442
  br label %448

448:                                              ; preds = %447
  br label %449

449:                                              ; preds = %448
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #10
  %450 = call ptr @__errno_location() #11
  %451 = load i32, ptr %450, align 4, !tbaa !5
  store i32 %451, ptr %26, align 4, !tbaa !5
  %452 = load ptr, ptr @stderr, align 8, !tbaa !9
  %453 = call i32 @s2n_print_stacktrace(ptr noundef %452)
  %454 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !13, !range !15, !noundef !16
  %455 = trunc i8 %454 to i1
  br i1 %455, label %456, label %478

456:                                              ; preds = %449
  %457 = load ptr, ptr @stderr, align 8, !tbaa !9
  %458 = call i32 @fileno(ptr noundef %457) #10
  %459 = call i32 @isatty(i32 noundef %458) #10
  %460 = icmp ne i32 %459, 0
  br i1 %460, label %461, label %478

461:                                              ; preds = %456
  %462 = load i32, ptr %26, align 4, !tbaa !5
  %463 = call ptr @__errno_location() #11
  store i32 %462, ptr %463, align 4, !tbaa !5
  %464 = load ptr, ptr @stderr, align 8, !tbaa !9
  %465 = load i32, ptr @test_count, align 4, !tbaa !5
  %466 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %467 = load i32, ptr %466, align 4, !tbaa !5
  %468 = call ptr @s2n_strerror(i32 noundef %467, ptr noundef @.str.3)
  %469 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %470 = load i32, ptr %469, align 4, !tbaa !5
  %471 = call ptr @s2n_strerror_debug(i32 noundef %470, ptr noundef @.str.3)
  %472 = call ptr @__errno_location() #11
  %473 = load i32, ptr %472, align 4, !tbaa !5
  %474 = call ptr @strerror(i32 noundef %473) #10
  %475 = call ptr @__errno_location() #11
  %476 = load i32, ptr %475, align 4, !tbaa !5
  %477 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %464, ptr noundef @.str, i32 noundef %465, ptr noundef @.str.12, ptr noundef @.str.2, i32 noundef 108, ptr noundef %468, ptr noundef %471, ptr noundef %474, i32 noundef %476) #10
  br label %495

478:                                              ; preds = %456, %449
  %479 = load i32, ptr %26, align 4, !tbaa !5
  %480 = call ptr @__errno_location() #11
  store i32 %479, ptr %480, align 4, !tbaa !5
  %481 = load ptr, ptr @stderr, align 8, !tbaa !9
  %482 = load i32, ptr @test_count, align 4, !tbaa !5
  %483 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %484 = load i32, ptr %483, align 4, !tbaa !5
  %485 = call ptr @s2n_strerror(i32 noundef %484, ptr noundef @.str.3)
  %486 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %487 = load i32, ptr %486, align 4, !tbaa !5
  %488 = call ptr @s2n_strerror_debug(i32 noundef %487, ptr noundef @.str.3)
  %489 = call ptr @__errno_location() #11
  %490 = load i32, ptr %489, align 4, !tbaa !5
  %491 = call ptr @strerror(i32 noundef %490) #10
  %492 = call ptr @__errno_location() #11
  %493 = load i32, ptr %492, align 4, !tbaa !5
  %494 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %481, ptr noundef @.str.4, i32 noundef %482, ptr noundef @.str.12, ptr noundef @.str.2, i32 noundef 108, ptr noundef %485, ptr noundef %488, ptr noundef %491, i32 noundef %493) #10
  br label %495

495:                                              ; preds = %478, %461
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #10
  br label %496

496:                                              ; preds = %495
  br label %497

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

498:                                              ; No predecessors!
  br label %499

499:                                              ; preds = %498
  br label %500

500:                                              ; preds = %499, %442
  br label %501

501:                                              ; preds = %500
  br label %502

502:                                              ; preds = %501
  br label %503

503:                                              ; preds = %502
  %504 = load i32, ptr @test_count, align 4, !tbaa !5
  %505 = add nsw i32 %504, 1
  store i32 %505, ptr @test_count, align 4, !tbaa !5
  %506 = call noalias ptr @malloc(i64 noundef 12000) #13
  store ptr %506, ptr %10, align 8, !tbaa !9
  %507 = icmp eq ptr %506, null
  br i1 %507, label %508, label %561

508:                                              ; preds = %503
  br label %509

509:                                              ; preds = %508
  br label %510

510:                                              ; preds = %509
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #10
  %511 = call ptr @__errno_location() #11
  %512 = load i32, ptr %511, align 4, !tbaa !5
  store i32 %512, ptr %27, align 4, !tbaa !5
  %513 = load ptr, ptr @stderr, align 8, !tbaa !9
  %514 = call i32 @s2n_print_stacktrace(ptr noundef %513)
  %515 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !13, !range !15, !noundef !16
  %516 = trunc i8 %515 to i1
  br i1 %516, label %517, label %539

517:                                              ; preds = %510
  %518 = load ptr, ptr @stderr, align 8, !tbaa !9
  %519 = call i32 @fileno(ptr noundef %518) #10
  %520 = call i32 @isatty(i32 noundef %519) #10
  %521 = icmp ne i32 %520, 0
  br i1 %521, label %522, label %539

522:                                              ; preds = %517
  %523 = load i32, ptr %27, align 4, !tbaa !5
  %524 = call ptr @__errno_location() #11
  store i32 %523, ptr %524, align 4, !tbaa !5
  %525 = load ptr, ptr @stderr, align 8, !tbaa !9
  %526 = load i32, ptr @test_count, align 4, !tbaa !5
  %527 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %528 = load i32, ptr %527, align 4, !tbaa !5
  %529 = call ptr @s2n_strerror(i32 noundef %528, ptr noundef @.str.3)
  %530 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %531 = load i32, ptr %530, align 4, !tbaa !5
  %532 = call ptr @s2n_strerror_debug(i32 noundef %531, ptr noundef @.str.3)
  %533 = call ptr @__errno_location() #11
  %534 = load i32, ptr %533, align 4, !tbaa !5
  %535 = call ptr @strerror(i32 noundef %534) #10
  %536 = call ptr @__errno_location() #11
  %537 = load i32, ptr %536, align 4, !tbaa !5
  %538 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %525, ptr noundef @.str, i32 noundef %526, ptr noundef @.str.13, ptr noundef @.str.2, i32 noundef 109, ptr noundef %529, ptr noundef %532, ptr noundef %535, i32 noundef %537) #10
  br label %556

539:                                              ; preds = %517, %510
  %540 = load i32, ptr %27, align 4, !tbaa !5
  %541 = call ptr @__errno_location() #11
  store i32 %540, ptr %541, align 4, !tbaa !5
  %542 = load ptr, ptr @stderr, align 8, !tbaa !9
  %543 = load i32, ptr @test_count, align 4, !tbaa !5
  %544 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %545 = load i32, ptr %544, align 4, !tbaa !5
  %546 = call ptr @s2n_strerror(i32 noundef %545, ptr noundef @.str.3)
  %547 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %548 = load i32, ptr %547, align 4, !tbaa !5
  %549 = call ptr @s2n_strerror_debug(i32 noundef %548, ptr noundef @.str.3)
  %550 = call ptr @__errno_location() #11
  %551 = load i32, ptr %550, align 4, !tbaa !5
  %552 = call ptr @strerror(i32 noundef %551) #10
  %553 = call ptr @__errno_location() #11
  %554 = load i32, ptr %553, align 4, !tbaa !5
  %555 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %542, ptr noundef @.str.4, i32 noundef %543, ptr noundef @.str.13, ptr noundef @.str.2, i32 noundef 109, ptr noundef %546, ptr noundef %549, ptr noundef %552, i32 noundef %554) #10
  br label %556

556:                                              ; preds = %539, %522
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #10
  br label %557

557:                                              ; preds = %556
  br label %558

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

559:                                              ; No predecessors!
  br label %560

560:                                              ; preds = %559
  br label %561

561:                                              ; preds = %560, %503
  br label %562

562:                                              ; preds = %561
  br label %563

563:                                              ; preds = %562
  br label %564

564:                                              ; preds = %563
  %565 = load i32, ptr @test_count, align 4, !tbaa !5
  %566 = add nsw i32 %565, 1
  store i32 %566, ptr @test_count, align 4, !tbaa !5
  %567 = load ptr, ptr %9, align 8, !tbaa !9
  %568 = call i32 @s2n_read_test_pem(ptr noundef @.str.14, ptr noundef %567, i64 noundef 12000)
  %569 = icmp eq i32 %568, -1
  br i1 %569, label %570, label %623

570:                                              ; preds = %564
  br label %571

571:                                              ; preds = %570
  br label %572

572:                                              ; preds = %571
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #10
  %573 = call ptr @__errno_location() #11
  %574 = load i32, ptr %573, align 4, !tbaa !5
  store i32 %574, ptr %28, align 4, !tbaa !5
  %575 = load ptr, ptr @stderr, align 8, !tbaa !9
  %576 = call i32 @s2n_print_stacktrace(ptr noundef %575)
  %577 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !13, !range !15, !noundef !16
  %578 = trunc i8 %577 to i1
  br i1 %578, label %579, label %601

579:                                              ; preds = %572
  %580 = load ptr, ptr @stderr, align 8, !tbaa !9
  %581 = call i32 @fileno(ptr noundef %580) #10
  %582 = call i32 @isatty(i32 noundef %581) #10
  %583 = icmp ne i32 %582, 0
  br i1 %583, label %584, label %601

584:                                              ; preds = %579
  %585 = load i32, ptr %28, align 4, !tbaa !5
  %586 = call ptr @__errno_location() #11
  store i32 %585, ptr %586, align 4, !tbaa !5
  %587 = load ptr, ptr @stderr, align 8, !tbaa !9
  %588 = load i32, ptr @test_count, align 4, !tbaa !5
  %589 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %590 = load i32, ptr %589, align 4, !tbaa !5
  %591 = call ptr @s2n_strerror(i32 noundef %590, ptr noundef @.str.3)
  %592 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %593 = load i32, ptr %592, align 4, !tbaa !5
  %594 = call ptr @s2n_strerror_debug(i32 noundef %593, ptr noundef @.str.3)
  %595 = call ptr @__errno_location() #11
  %596 = load i32, ptr %595, align 4, !tbaa !5
  %597 = call ptr @strerror(i32 noundef %596) #10
  %598 = call ptr @__errno_location() #11
  %599 = load i32, ptr %598, align 4, !tbaa !5
  %600 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %587, ptr noundef @.str, i32 noundef %588, ptr noundef @.str.15, ptr noundef @.str.2, i32 noundef 110, ptr noundef %591, ptr noundef %594, ptr noundef %597, i32 noundef %599) #10
  br label %618

601:                                              ; preds = %579, %572
  %602 = load i32, ptr %28, align 4, !tbaa !5
  %603 = call ptr @__errno_location() #11
  store i32 %602, ptr %603, align 4, !tbaa !5
  %604 = load ptr, ptr @stderr, align 8, !tbaa !9
  %605 = load i32, ptr @test_count, align 4, !tbaa !5
  %606 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %607 = load i32, ptr %606, align 4, !tbaa !5
  %608 = call ptr @s2n_strerror(i32 noundef %607, ptr noundef @.str.3)
  %609 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %610 = load i32, ptr %609, align 4, !tbaa !5
  %611 = call ptr @s2n_strerror_debug(i32 noundef %610, ptr noundef @.str.3)
  %612 = call ptr @__errno_location() #11
  %613 = load i32, ptr %612, align 4, !tbaa !5
  %614 = call ptr @strerror(i32 noundef %613) #10
  %615 = call ptr @__errno_location() #11
  %616 = load i32, ptr %615, align 4, !tbaa !5
  %617 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %604, ptr noundef @.str.4, i32 noundef %605, ptr noundef @.str.15, ptr noundef @.str.2, i32 noundef 110, ptr noundef %608, ptr noundef %611, ptr noundef %614, i32 noundef %616) #10
  br label %618

618:                                              ; preds = %601, %584
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #10
  br label %619

619:                                              ; preds = %618
  br label %620

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

621:                                              ; No predecessors!
  br label %622

622:                                              ; preds = %621
  br label %623

623:                                              ; preds = %622, %564
  br label %624

624:                                              ; preds = %623
  br label %625

625:                                              ; preds = %624
  br label %626

626:                                              ; preds = %625
  %627 = load i32, ptr @test_count, align 4, !tbaa !5
  %628 = add nsw i32 %627, 1
  store i32 %628, ptr @test_count, align 4, !tbaa !5
  %629 = load ptr, ptr %10, align 8, !tbaa !9
  %630 = call i32 @s2n_read_test_pem(ptr noundef @.str.16, ptr noundef %629, i64 noundef 12000)
  %631 = icmp eq i32 %630, -1
  br i1 %631, label %632, label %685

632:                                              ; preds = %626
  br label %633

633:                                              ; preds = %632
  br label %634

634:                                              ; preds = %633
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #10
  %635 = call ptr @__errno_location() #11
  %636 = load i32, ptr %635, align 4, !tbaa !5
  store i32 %636, ptr %29, align 4, !tbaa !5
  %637 = load ptr, ptr @stderr, align 8, !tbaa !9
  %638 = call i32 @s2n_print_stacktrace(ptr noundef %637)
  %639 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !13, !range !15, !noundef !16
  %640 = trunc i8 %639 to i1
  br i1 %640, label %641, label %663

641:                                              ; preds = %634
  %642 = load ptr, ptr @stderr, align 8, !tbaa !9
  %643 = call i32 @fileno(ptr noundef %642) #10
  %644 = call i32 @isatty(i32 noundef %643) #10
  %645 = icmp ne i32 %644, 0
  br i1 %645, label %646, label %663

646:                                              ; preds = %641
  %647 = load i32, ptr %29, align 4, !tbaa !5
  %648 = call ptr @__errno_location() #11
  store i32 %647, ptr %648, align 4, !tbaa !5
  %649 = load ptr, ptr @stderr, align 8, !tbaa !9
  %650 = load i32, ptr @test_count, align 4, !tbaa !5
  %651 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %652 = load i32, ptr %651, align 4, !tbaa !5
  %653 = call ptr @s2n_strerror(i32 noundef %652, ptr noundef @.str.3)
  %654 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %655 = load i32, ptr %654, align 4, !tbaa !5
  %656 = call ptr @s2n_strerror_debug(i32 noundef %655, ptr noundef @.str.3)
  %657 = call ptr @__errno_location() #11
  %658 = load i32, ptr %657, align 4, !tbaa !5
  %659 = call ptr @strerror(i32 noundef %658) #10
  %660 = call ptr @__errno_location() #11
  %661 = load i32, ptr %660, align 4, !tbaa !5
  %662 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %649, ptr noundef @.str, i32 noundef %650, ptr noundef @.str.17, ptr noundef @.str.2, i32 noundef 111, ptr noundef %653, ptr noundef %656, ptr noundef %659, i32 noundef %661) #10
  br label %680

663:                                              ; preds = %641, %634
  %664 = load i32, ptr %29, align 4, !tbaa !5
  %665 = call ptr @__errno_location() #11
  store i32 %664, ptr %665, align 4, !tbaa !5
  %666 = load ptr, ptr @stderr, align 8, !tbaa !9
  %667 = load i32, ptr @test_count, align 4, !tbaa !5
  %668 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %669 = load i32, ptr %668, align 4, !tbaa !5
  %670 = call ptr @s2n_strerror(i32 noundef %669, ptr noundef @.str.3)
  %671 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %672 = load i32, ptr %671, align 4, !tbaa !5
  %673 = call ptr @s2n_strerror_debug(i32 noundef %672, ptr noundef @.str.3)
  %674 = call ptr @__errno_location() #11
  %675 = load i32, ptr %674, align 4, !tbaa !5
  %676 = call ptr @strerror(i32 noundef %675) #10
  %677 = call ptr @__errno_location() #11
  %678 = load i32, ptr %677, align 4, !tbaa !5
  %679 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %666, ptr noundef @.str.4, i32 noundef %667, ptr noundef @.str.17, ptr noundef @.str.2, i32 noundef 111, ptr noundef %670, ptr noundef %673, ptr noundef %676, i32 noundef %678) #10
  br label %680

680:                                              ; preds = %663, %646
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #10
  br label %681

681:                                              ; preds = %680
  br label %682

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

683:                                              ; No predecessors!
  br label %684

684:                                              ; preds = %683
  br label %685

685:                                              ; preds = %684, %626
  br label %686

686:                                              ; preds = %685
  br label %687

687:                                              ; preds = %686
  br label %688

688:                                              ; preds = %687
  %689 = load i32, ptr @test_count, align 4, !tbaa !5
  %690 = add nsw i32 %689, 1
  store i32 %690, ptr @test_count, align 4, !tbaa !5
  %691 = load ptr, ptr %23, align 8, !tbaa !9
  %692 = load ptr, ptr %9, align 8, !tbaa !9
  %693 = load ptr, ptr %10, align 8, !tbaa !9
  %694 = call i32 @s2n_cert_chain_and_key_load_pem(ptr noundef %691, ptr noundef %692, ptr noundef %693)
  %695 = icmp eq i32 %694, -1
  br i1 %695, label %696, label %749

696:                                              ; preds = %688
  br label %697

697:                                              ; preds = %696
  br label %698

698:                                              ; preds = %697
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #10
  %699 = call ptr @__errno_location() #11
  %700 = load i32, ptr %699, align 4, !tbaa !5
  store i32 %700, ptr %30, align 4, !tbaa !5
  %701 = load ptr, ptr @stderr, align 8, !tbaa !9
  %702 = call i32 @s2n_print_stacktrace(ptr noundef %701)
  %703 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !13, !range !15, !noundef !16
  %704 = trunc i8 %703 to i1
  br i1 %704, label %705, label %727

705:                                              ; preds = %698
  %706 = load ptr, ptr @stderr, align 8, !tbaa !9
  %707 = call i32 @fileno(ptr noundef %706) #10
  %708 = call i32 @isatty(i32 noundef %707) #10
  %709 = icmp ne i32 %708, 0
  br i1 %709, label %710, label %727

710:                                              ; preds = %705
  %711 = load i32, ptr %30, align 4, !tbaa !5
  %712 = call ptr @__errno_location() #11
  store i32 %711, ptr %712, align 4, !tbaa !5
  %713 = load ptr, ptr @stderr, align 8, !tbaa !9
  %714 = load i32, ptr @test_count, align 4, !tbaa !5
  %715 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %716 = load i32, ptr %715, align 4, !tbaa !5
  %717 = call ptr @s2n_strerror(i32 noundef %716, ptr noundef @.str.3)
  %718 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %719 = load i32, ptr %718, align 4, !tbaa !5
  %720 = call ptr @s2n_strerror_debug(i32 noundef %719, ptr noundef @.str.3)
  %721 = call ptr @__errno_location() #11
  %722 = load i32, ptr %721, align 4, !tbaa !5
  %723 = call ptr @strerror(i32 noundef %722) #10
  %724 = call ptr @__errno_location() #11
  %725 = load i32, ptr %724, align 4, !tbaa !5
  %726 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %713, ptr noundef @.str, i32 noundef %714, ptr noundef @.str.18, ptr noundef @.str.2, i32 noundef 112, ptr noundef %717, ptr noundef %720, ptr noundef %723, i32 noundef %725) #10
  br label %744

727:                                              ; preds = %705, %698
  %728 = load i32, ptr %30, align 4, !tbaa !5
  %729 = call ptr @__errno_location() #11
  store i32 %728, ptr %729, align 4, !tbaa !5
  %730 = load ptr, ptr @stderr, align 8, !tbaa !9
  %731 = load i32, ptr @test_count, align 4, !tbaa !5
  %732 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %733 = load i32, ptr %732, align 4, !tbaa !5
  %734 = call ptr @s2n_strerror(i32 noundef %733, ptr noundef @.str.3)
  %735 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %736 = load i32, ptr %735, align 4, !tbaa !5
  %737 = call ptr @s2n_strerror_debug(i32 noundef %736, ptr noundef @.str.3)
  %738 = call ptr @__errno_location() #11
  %739 = load i32, ptr %738, align 4, !tbaa !5
  %740 = call ptr @strerror(i32 noundef %739) #10
  %741 = call ptr @__errno_location() #11
  %742 = load i32, ptr %741, align 4, !tbaa !5
  %743 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %730, ptr noundef @.str.4, i32 noundef %731, ptr noundef @.str.18, ptr noundef @.str.2, i32 noundef 112, ptr noundef %734, ptr noundef %737, ptr noundef %740, i32 noundef %742) #10
  br label %744

744:                                              ; preds = %727, %710
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #10
  br label %745

745:                                              ; preds = %744
  br label %746

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

747:                                              ; No predecessors!
  br label %748

748:                                              ; preds = %747
  br label %749

749:                                              ; preds = %748, %688
  br label %750

750:                                              ; preds = %749
  br label %751

751:                                              ; preds = %750
  br label %752

752:                                              ; preds = %751
  %753 = load i32, ptr @test_count, align 4, !tbaa !5
  %754 = add nsw i32 %753, 1
  store i32 %754, ptr @test_count, align 4, !tbaa !5
  %755 = load ptr, ptr %21, align 8, !tbaa !9
  %756 = load ptr, ptr %23, align 8, !tbaa !9
  %757 = call i32 @s2n_config_add_cert_chain_and_key_to_store(ptr noundef %755, ptr noundef %756)
  %758 = icmp eq i32 %757, -1
  br i1 %758, label %759, label %812

759:                                              ; preds = %752
  br label %760

760:                                              ; preds = %759
  br label %761

761:                                              ; preds = %760
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #10
  %762 = call ptr @__errno_location() #11
  %763 = load i32, ptr %762, align 4, !tbaa !5
  store i32 %763, ptr %31, align 4, !tbaa !5
  %764 = load ptr, ptr @stderr, align 8, !tbaa !9
  %765 = call i32 @s2n_print_stacktrace(ptr noundef %764)
  %766 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !13, !range !15, !noundef !16
  %767 = trunc i8 %766 to i1
  br i1 %767, label %768, label %790

768:                                              ; preds = %761
  %769 = load ptr, ptr @stderr, align 8, !tbaa !9
  %770 = call i32 @fileno(ptr noundef %769) #10
  %771 = call i32 @isatty(i32 noundef %770) #10
  %772 = icmp ne i32 %771, 0
  br i1 %772, label %773, label %790

773:                                              ; preds = %768
  %774 = load i32, ptr %31, align 4, !tbaa !5
  %775 = call ptr @__errno_location() #11
  store i32 %774, ptr %775, align 4, !tbaa !5
  %776 = load ptr, ptr @stderr, align 8, !tbaa !9
  %777 = load i32, ptr @test_count, align 4, !tbaa !5
  %778 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %779 = load i32, ptr %778, align 4, !tbaa !5
  %780 = call ptr @s2n_strerror(i32 noundef %779, ptr noundef @.str.3)
  %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_debug(i32 noundef %782, ptr noundef @.str.3)
  %784 = call ptr @__errno_location() #11
  %785 = load i32, ptr %784, align 4, !tbaa !5
  %786 = call ptr @strerror(i32 noundef %785) #10
  %787 = call ptr @__errno_location() #11
  %788 = load i32, ptr %787, align 4, !tbaa !5
  %789 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %776, ptr noundef @.str, i32 noundef %777, ptr noundef @.str.19, ptr noundef @.str.2, i32 noundef 113, ptr noundef %780, ptr noundef %783, ptr noundef %786, i32 noundef %788) #10
  br label %807

790:                                              ; preds = %768, %761
  %791 = load i32, ptr %31, align 4, !tbaa !5
  %792 = call ptr @__errno_location() #11
  store i32 %791, ptr %792, align 4, !tbaa !5
  %793 = load ptr, ptr @stderr, align 8, !tbaa !9
  %794 = load i32, ptr @test_count, align 4, !tbaa !5
  %795 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %796 = load i32, ptr %795, align 4, !tbaa !5
  %797 = call ptr @s2n_strerror(i32 noundef %796, ptr noundef @.str.3)
  %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_debug(i32 noundef %799, ptr noundef @.str.3)
  %801 = call ptr @__errno_location() #11
  %802 = load i32, ptr %801, align 4, !tbaa !5
  %803 = call ptr @strerror(i32 noundef %802) #10
  %804 = call ptr @__errno_location() #11
  %805 = load i32, ptr %804, align 4, !tbaa !5
  %806 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %793, ptr noundef @.str.4, i32 noundef %794, ptr noundef @.str.19, ptr noundef @.str.2, i32 noundef 113, ptr noundef %797, ptr noundef %800, ptr noundef %803, i32 noundef %805) #10
  br label %807

807:                                              ; preds = %790, %773
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #10
  br label %808

808:                                              ; preds = %807
  br label %809

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

810:                                              ; No predecessors!
  br label %811

811:                                              ; preds = %810
  br label %812

812:                                              ; preds = %811, %752
  br label %813

813:                                              ; preds = %812
  br label %814

814:                                              ; preds = %813
  br label %815

815:                                              ; preds = %814
  %816 = load i32, ptr @test_count, align 4, !tbaa !5
  %817 = add nsw i32 %816, 1
  store i32 %817, ptr @test_count, align 4, !tbaa !5
  %818 = call i32 @s2n_io_pair_close_one_end(ptr noundef %18, i32 noundef 1)
  %819 = icmp eq i32 %818, -1
  br i1 %819, label %820, label %873

820:                                              ; preds = %815
  br label %821

821:                                              ; preds = %820
  br label %822

822:                                              ; preds = %821
  call void @llvm.lifetime.start.p0(i64 4, ptr %32) #10
  %823 = call ptr @__errno_location() #11
  %824 = load i32, ptr %823, align 4, !tbaa !5
  store i32 %824, ptr %32, align 4, !tbaa !5
  %825 = load ptr, ptr @stderr, align 8, !tbaa !9
  %826 = call i32 @s2n_print_stacktrace(ptr noundef %825)
  %827 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !13, !range !15, !noundef !16
  %828 = trunc i8 %827 to i1
  br i1 %828, label %829, label %851

829:                                              ; preds = %822
  %830 = load ptr, ptr @stderr, align 8, !tbaa !9
  %831 = call i32 @fileno(ptr noundef %830) #10
  %832 = call i32 @isatty(i32 noundef %831) #10
  %833 = icmp ne i32 %832, 0
  br i1 %833, label %834, label %851

834:                                              ; preds = %829
  %835 = load i32, ptr %32, align 4, !tbaa !5
  %836 = call ptr @__errno_location() #11
  store i32 %835, ptr %836, align 4, !tbaa !5
  %837 = load ptr, ptr @stderr, align 8, !tbaa !9
  %838 = load i32, ptr @test_count, align 4, !tbaa !5
  %839 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %840 = load i32, ptr %839, align 4, !tbaa !5
  %841 = call ptr @s2n_strerror(i32 noundef %840, ptr noundef @.str.3)
  %842 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %843 = load i32, ptr %842, align 4, !tbaa !5
  %844 = call ptr @s2n_strerror_debug(i32 noundef %843, ptr noundef @.str.3)
  %845 = call ptr @__errno_location() #11
  %846 = load i32, ptr %845, align 4, !tbaa !5
  %847 = call ptr @strerror(i32 noundef %846) #10
  %848 = call ptr @__errno_location() #11
  %849 = load i32, ptr %848, align 4, !tbaa !5
  %850 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %837, ptr noundef @.str, i32 noundef %838, ptr noundef @.str.20, ptr noundef @.str.2, i32 noundef 116, ptr noundef %841, ptr noundef %844, ptr noundef %847, i32 noundef %849) #10
  br label %868

851:                                              ; preds = %829, %822
  %852 = load i32, ptr %32, align 4, !tbaa !5
  %853 = call ptr @__errno_location() #11
  store i32 %852, ptr %853, align 4, !tbaa !5
  %854 = load ptr, ptr @stderr, align 8, !tbaa !9
  %855 = load i32, ptr @test_count, align 4, !tbaa !5
  %856 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %857 = load i32, ptr %856, align 4, !tbaa !5
  %858 = call ptr @s2n_strerror(i32 noundef %857, ptr noundef @.str.3)
  %859 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %860 = load i32, ptr %859, align 4, !tbaa !5
  %861 = call ptr @s2n_strerror_debug(i32 noundef %860, ptr noundef @.str.3)
  %862 = call ptr @__errno_location() #11
  %863 = load i32, ptr %862, align 4, !tbaa !5
  %864 = call ptr @strerror(i32 noundef %863) #10
  %865 = call ptr @__errno_location() #11
  %866 = load i32, ptr %865, align 4, !tbaa !5
  %867 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %854, ptr noundef @.str.4, i32 noundef %855, ptr noundef @.str.20, ptr noundef @.str.2, i32 noundef 116, ptr noundef %858, ptr noundef %861, ptr noundef %864, i32 noundef %866) #10
  br label %868

868:                                              ; preds = %851, %834
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #10
  br label %869

869:                                              ; preds = %868
  br label %870

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

871:                                              ; No predecessors!
  br label %872

872:                                              ; preds = %871
  br label %873

873:                                              ; preds = %872, %815
  br label %874

874:                                              ; preds = %873
  br label %875

875:                                              ; preds = %874
  br label %876

876:                                              ; preds = %875
  %877 = load i32, ptr @test_count, align 4, !tbaa !5
  %878 = add nsw i32 %877, 1
  store i32 %878, ptr @test_count, align 4, !tbaa !5
  %879 = load ptr, ptr %22, align 8, !tbaa !9
  %880 = load ptr, ptr %21, align 8, !tbaa !9
  %881 = call i32 @s2n_connection_set_config(ptr noundef %879, ptr noundef %880)
  %882 = icmp eq i32 %881, -1
  br i1 %882, label %883, label %936

883:                                              ; preds = %876
  br label %884

884:                                              ; preds = %883
  br label %885

885:                                              ; preds = %884
  call void @llvm.lifetime.start.p0(i64 4, ptr %33) #10
  %886 = call ptr @__errno_location() #11
  %887 = load i32, ptr %886, align 4, !tbaa !5
  store i32 %887, ptr %33, align 4, !tbaa !5
  %888 = load ptr, ptr @stderr, align 8, !tbaa !9
  %889 = call i32 @s2n_print_stacktrace(ptr noundef %888)
  %890 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !13, !range !15, !noundef !16
  %891 = trunc i8 %890 to i1
  br i1 %891, label %892, label %914

892:                                              ; preds = %885
  %893 = load ptr, ptr @stderr, align 8, !tbaa !9
  %894 = call i32 @fileno(ptr noundef %893) #10
  %895 = call i32 @isatty(i32 noundef %894) #10
  %896 = icmp ne i32 %895, 0
  br i1 %896, label %897, label %914

897:                                              ; preds = %892
  %898 = load i32, ptr %33, align 4, !tbaa !5
  %899 = call ptr @__errno_location() #11
  store i32 %898, ptr %899, align 4, !tbaa !5
  %900 = load ptr, ptr @stderr, align 8, !tbaa !9
  %901 = load i32, ptr @test_count, align 4, !tbaa !5
  %902 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %903 = load i32, ptr %902, align 4, !tbaa !5
  %904 = call ptr @s2n_strerror(i32 noundef %903, ptr noundef @.str.3)
  %905 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %906 = load i32, ptr %905, align 4, !tbaa !5
  %907 = call ptr @s2n_strerror_debug(i32 noundef %906, ptr noundef @.str.3)
  %908 = call ptr @__errno_location() #11
  %909 = load i32, ptr %908, align 4, !tbaa !5
  %910 = call ptr @strerror(i32 noundef %909) #10
  %911 = call ptr @__errno_location() #11
  %912 = load i32, ptr %911, align 4, !tbaa !5
  %913 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %900, ptr noundef @.str, i32 noundef %901, ptr noundef @.str.21, ptr noundef @.str.2, i32 noundef 118, ptr noundef %904, ptr noundef %907, ptr noundef %910, i32 noundef %912) #10
  br label %931

914:                                              ; preds = %892, %885
  %915 = load i32, ptr %33, align 4, !tbaa !5
  %916 = call ptr @__errno_location() #11
  store i32 %915, ptr %916, align 4, !tbaa !5
  %917 = load ptr, ptr @stderr, align 8, !tbaa !9
  %918 = load i32, ptr @test_count, align 4, !tbaa !5
  %919 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %920 = load i32, ptr %919, align 4, !tbaa !5
  %921 = call ptr @s2n_strerror(i32 noundef %920, ptr noundef @.str.3)
  %922 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %923 = load i32, ptr %922, align 4, !tbaa !5
  %924 = call ptr @s2n_strerror_debug(i32 noundef %923, ptr noundef @.str.3)
  %925 = call ptr @__errno_location() #11
  %926 = load i32, ptr %925, align 4, !tbaa !5
  %927 = call ptr @strerror(i32 noundef %926) #10
  %928 = call ptr @__errno_location() #11
  %929 = load i32, ptr %928, align 4, !tbaa !5
  %930 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %917, ptr noundef @.str.4, i32 noundef %918, ptr noundef @.str.21, ptr noundef @.str.2, i32 noundef 118, ptr noundef %921, ptr noundef %924, ptr noundef %927, i32 noundef %929) #10
  br label %931

931:                                              ; preds = %914, %897
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #10
  br label %932

932:                                              ; preds = %931
  br label %933

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

934:                                              ; No predecessors!
  br label %935

935:                                              ; preds = %934
  br label %936

936:                                              ; preds = %935, %876
  br label %937

937:                                              ; preds = %936
  br label %938

938:                                              ; preds = %937
  br label %939

939:                                              ; preds = %938
  %940 = load i32, ptr @test_count, align 4, !tbaa !5
  %941 = add nsw i32 %940, 1
  store i32 %941, ptr @test_count, align 4, !tbaa !5
  %942 = getelementptr inbounds %struct.s2n_test_io_pair, ptr %18, i32 0, i32 1
  %943 = load i32, ptr %942, align 4, !tbaa !17
  %944 = call i32 @s2n_fd_set_non_blocking(i32 noundef %943)
  %945 = icmp eq i32 %944, -1
  br i1 %945, label %946, label %999

946:                                              ; preds = %939
  br label %947

947:                                              ; preds = %946
  br label %948

948:                                              ; preds = %947
  call void @llvm.lifetime.start.p0(i64 4, ptr %34) #10
  %949 = call ptr @__errno_location() #11
  %950 = load i32, ptr %949, align 4, !tbaa !5
  store i32 %950, ptr %34, align 4, !tbaa !5
  %951 = load ptr, ptr @stderr, align 8, !tbaa !9
  %952 = call i32 @s2n_print_stacktrace(ptr noundef %951)
  %953 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !13, !range !15, !noundef !16
  %954 = trunc i8 %953 to i1
  br i1 %954, label %955, label %977

955:                                              ; preds = %948
  %956 = load ptr, ptr @stderr, align 8, !tbaa !9
  %957 = call i32 @fileno(ptr noundef %956) #10
  %958 = call i32 @isatty(i32 noundef %957) #10
  %959 = icmp ne i32 %958, 0
  br i1 %959, label %960, label %977

960:                                              ; preds = %955
  %961 = load i32, ptr %34, align 4, !tbaa !5
  %962 = call ptr @__errno_location() #11
  store i32 %961, ptr %962, align 4, !tbaa !5
  %963 = load ptr, ptr @stderr, align 8, !tbaa !9
  %964 = load i32, ptr @test_count, align 4, !tbaa !5
  %965 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %966 = load i32, ptr %965, align 4, !tbaa !5
  %967 = call ptr @s2n_strerror(i32 noundef %966, ptr noundef @.str.3)
  %968 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %969 = load i32, ptr %968, align 4, !tbaa !5
  %970 = call ptr @s2n_strerror_debug(i32 noundef %969, ptr noundef @.str.3)
  %971 = call ptr @__errno_location() #11
  %972 = load i32, ptr %971, align 4, !tbaa !5
  %973 = call ptr @strerror(i32 noundef %972) #10
  %974 = call ptr @__errno_location() #11
  %975 = load i32, ptr %974, align 4, !tbaa !5
  %976 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %963, ptr noundef @.str, i32 noundef %964, ptr noundef @.str.22, ptr noundef @.str.2, i32 noundef 121, ptr noundef %967, ptr noundef %970, ptr noundef %973, i32 noundef %975) #10
  br label %994

977:                                              ; preds = %955, %948
  %978 = load i32, ptr %34, align 4, !tbaa !5
  %979 = call ptr @__errno_location() #11
  store i32 %978, ptr %979, align 4, !tbaa !5
  %980 = load ptr, ptr @stderr, align 8, !tbaa !9
  %981 = load i32, ptr @test_count, align 4, !tbaa !5
  %982 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %983 = load i32, ptr %982, align 4, !tbaa !5
  %984 = call ptr @s2n_strerror(i32 noundef %983, ptr noundef @.str.3)
  %985 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %986 = load i32, ptr %985, align 4, !tbaa !5
  %987 = call ptr @s2n_strerror_debug(i32 noundef %986, ptr noundef @.str.3)
  %988 = call ptr @__errno_location() #11
  %989 = load i32, ptr %988, align 4, !tbaa !5
  %990 = call ptr @strerror(i32 noundef %989) #10
  %991 = call ptr @__errno_location() #11
  %992 = load i32, ptr %991, align 4, !tbaa !5
  %993 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %980, ptr noundef @.str.4, i32 noundef %981, ptr noundef @.str.22, ptr noundef @.str.2, i32 noundef 121, ptr noundef %984, ptr noundef %987, ptr noundef %990, i32 noundef %992) #10
  br label %994

994:                                              ; preds = %977, %960
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #10
  br label %995

995:                                              ; preds = %994
  br label %996

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

997:                                              ; No predecessors!
  br label %998

998:                                              ; preds = %997
  br label %999

999:                                              ; preds = %998, %939
  br label %1000

1000:                                             ; preds = %999
  br label %1001

1001:                                             ; preds = %1000
  br label %1002

1002:                                             ; preds = %1001
  %1003 = load i32, ptr @test_count, align 4, !tbaa !5
  %1004 = add nsw i32 %1003, 1
  store i32 %1004, ptr @test_count, align 4, !tbaa !5
  %1005 = getelementptr inbounds %struct.s2n_test_io_pair, ptr %18, i32 0, i32 1
  %1006 = load i32, ptr %1005, align 4, !tbaa !17
  %1007 = call i32 @s2n_fd_set_non_blocking(i32 noundef %1006)
  %1008 = icmp eq i32 %1007, -1
  br i1 %1008, label %1009, label %1062

1009:                                             ; preds = %1002
  br label %1010

1010:                                             ; preds = %1009
  br label %1011

1011:                                             ; preds = %1010
  call void @llvm.lifetime.start.p0(i64 4, ptr %35) #10
  %1012 = call ptr @__errno_location() #11
  %1013 = load i32, ptr %1012, align 4, !tbaa !5
  store i32 %1013, ptr %35, align 4, !tbaa !5
  %1014 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1015 = call i32 @s2n_print_stacktrace(ptr noundef %1014)
  %1016 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !13, !range !15, !noundef !16
  %1017 = trunc i8 %1016 to i1
  br i1 %1017, label %1018, label %1040

1018:                                             ; preds = %1011
  %1019 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1020 = call i32 @fileno(ptr noundef %1019) #10
  %1021 = call i32 @isatty(i32 noundef %1020) #10
  %1022 = icmp ne i32 %1021, 0
  br i1 %1022, label %1023, label %1040

1023:                                             ; preds = %1018
  %1024 = load i32, ptr %35, align 4, !tbaa !5
  %1025 = call ptr @__errno_location() #11
  store i32 %1024, ptr %1025, align 4, !tbaa !5
  %1026 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1027 = load i32, ptr @test_count, align 4, !tbaa !5
  %1028 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1029 = load i32, ptr %1028, align 4, !tbaa !5
  %1030 = call ptr @s2n_strerror(i32 noundef %1029, ptr noundef @.str.3)
  %1031 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1032 = load i32, ptr %1031, align 4, !tbaa !5
  %1033 = call ptr @s2n_strerror_debug(i32 noundef %1032, ptr noundef @.str.3)
  %1034 = call ptr @__errno_location() #11
  %1035 = load i32, ptr %1034, align 4, !tbaa !5
  %1036 = call ptr @strerror(i32 noundef %1035) #10
  %1037 = call ptr @__errno_location() #11
  %1038 = load i32, ptr %1037, align 4, !tbaa !5
  %1039 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1026, ptr noundef @.str, i32 noundef %1027, ptr noundef @.str.22, ptr noundef @.str.2, i32 noundef 122, ptr noundef %1030, ptr noundef %1033, ptr noundef %1036, i32 noundef %1038) #10
  br label %1057

1040:                                             ; preds = %1018, %1011
  %1041 = load i32, ptr %35, align 4, !tbaa !5
  %1042 = call ptr @__errno_location() #11
  store i32 %1041, ptr %1042, align 4, !tbaa !5
  %1043 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1044 = load i32, ptr @test_count, align 4, !tbaa !5
  %1045 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1046 = load i32, ptr %1045, align 4, !tbaa !5
  %1047 = call ptr @s2n_strerror(i32 noundef %1046, ptr noundef @.str.3)
  %1048 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1049 = load i32, ptr %1048, align 4, !tbaa !5
  %1050 = call ptr @s2n_strerror_debug(i32 noundef %1049, ptr noundef @.str.3)
  %1051 = call ptr @__errno_location() #11
  %1052 = load i32, ptr %1051, align 4, !tbaa !5
  %1053 = call ptr @strerror(i32 noundef %1052) #10
  %1054 = call ptr @__errno_location() #11
  %1055 = load i32, ptr %1054, align 4, !tbaa !5
  %1056 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1043, ptr noundef @.str.4, i32 noundef %1044, ptr noundef @.str.22, ptr noundef @.str.2, i32 noundef 122, ptr noundef %1047, ptr noundef %1050, ptr noundef %1053, i32 noundef %1055) #10
  br label %1057

1057:                                             ; preds = %1040, %1023
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #10
  br label %1058

1058:                                             ; preds = %1057
  br label %1059

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

1060:                                             ; No predecessors!
  br label %1061

1061:                                             ; preds = %1060
  br label %1062

1062:                                             ; preds = %1061, %1002
  br label %1063

1063:                                             ; preds = %1062
  br label %1064

1064:                                             ; preds = %1063
  br label %1065

1065:                                             ; preds = %1064
  %1066 = load i32, ptr @test_count, align 4, !tbaa !5
  %1067 = add nsw i32 %1066, 1
  store i32 %1067, ptr @test_count, align 4, !tbaa !5
  %1068 = call i32 @s2n_stuffer_growable_alloc(ptr noundef %24, i32 noundef 0)
  %1069 = icmp eq i32 %1068, -1
  br i1 %1069, label %1070, label %1123

1070:                                             ; preds = %1065
  br label %1071

1071:                                             ; preds = %1070
  br label %1072

1072:                                             ; preds = %1071
  call void @llvm.lifetime.start.p0(i64 4, ptr %36) #10
  %1073 = call ptr @__errno_location() #11
  %1074 = load i32, ptr %1073, align 4, !tbaa !5
  store i32 %1074, ptr %36, align 4, !tbaa !5
  %1075 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1076 = call i32 @s2n_print_stacktrace(ptr noundef %1075)
  %1077 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !13, !range !15, !noundef !16
  %1078 = trunc i8 %1077 to i1
  br i1 %1078, label %1079, label %1101

1079:                                             ; preds = %1072
  %1080 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1081 = call i32 @fileno(ptr noundef %1080) #10
  %1082 = call i32 @isatty(i32 noundef %1081) #10
  %1083 = icmp ne i32 %1082, 0
  br i1 %1083, label %1084, label %1101

1084:                                             ; preds = %1079
  %1085 = load i32, ptr %36, align 4, !tbaa !5
  %1086 = call ptr @__errno_location() #11
  store i32 %1085, ptr %1086, align 4, !tbaa !5
  %1087 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1088 = load i32, ptr @test_count, align 4, !tbaa !5
  %1089 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1090 = load i32, ptr %1089, align 4, !tbaa !5
  %1091 = call ptr @s2n_strerror(i32 noundef %1090, ptr noundef @.str.3)
  %1092 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1093 = load i32, ptr %1092, align 4, !tbaa !5
  %1094 = call ptr @s2n_strerror_debug(i32 noundef %1093, ptr noundef @.str.3)
  %1095 = call ptr @__errno_location() #11
  %1096 = load i32, ptr %1095, align 4, !tbaa !5
  %1097 = call ptr @strerror(i32 noundef %1096) #10
  %1098 = call ptr @__errno_location() #11
  %1099 = load i32, ptr %1098, align 4, !tbaa !5
  %1100 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1087, ptr noundef @.str, i32 noundef %1088, ptr noundef @.str.23, ptr noundef @.str.2, i32 noundef 125, ptr noundef %1091, ptr noundef %1094, ptr noundef %1097, i32 noundef %1099) #10
  br label %1118

1101:                                             ; preds = %1079, %1072
  %1102 = load i32, ptr %36, align 4, !tbaa !5
  %1103 = call ptr @__errno_location() #11
  store i32 %1102, ptr %1103, align 4, !tbaa !5
  %1104 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1105 = load i32, ptr @test_count, align 4, !tbaa !5
  %1106 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1107 = load i32, ptr %1106, align 4, !tbaa !5
  %1108 = call ptr @s2n_strerror(i32 noundef %1107, ptr noundef @.str.3)
  %1109 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1110 = load i32, ptr %1109, align 4, !tbaa !5
  %1111 = call ptr @s2n_strerror_debug(i32 noundef %1110, ptr noundef @.str.3)
  %1112 = call ptr @__errno_location() #11
  %1113 = load i32, ptr %1112, align 4, !tbaa !5
  %1114 = call ptr @strerror(i32 noundef %1113) #10
  %1115 = call ptr @__errno_location() #11
  %1116 = load i32, ptr %1115, align 4, !tbaa !5
  %1117 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1104, ptr noundef @.str.4, i32 noundef %1105, ptr noundef @.str.23, ptr noundef @.str.2, i32 noundef 125, ptr noundef %1108, ptr noundef %1111, ptr noundef %1114, i32 noundef %1116) #10
  br label %1118

1118:                                             ; preds = %1101, %1084
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #10
  br label %1119

1119:                                             ; preds = %1118
  br label %1120

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

1121:                                             ; No predecessors!
  br label %1122

1122:                                             ; preds = %1121
  br label %1123

1123:                                             ; preds = %1122, %1065
  br label %1124

1124:                                             ; preds = %1123
  br label %1125

1125:                                             ; preds = %1124
  br label %1126

1126:                                             ; preds = %1125
  %1127 = load i32, ptr @test_count, align 4, !tbaa !5
  %1128 = add nsw i32 %1127, 1
  store i32 %1128, ptr @test_count, align 4, !tbaa !5
  %1129 = call i32 @s2n_stuffer_growable_alloc(ptr noundef %25, i32 noundef 0)
  %1130 = icmp eq i32 %1129, -1
  br i1 %1130, label %1131, label %1184

1131:                                             ; preds = %1126
  br label %1132

1132:                                             ; preds = %1131
  br label %1133

1133:                                             ; preds = %1132
  call void @llvm.lifetime.start.p0(i64 4, ptr %37) #10
  %1134 = call ptr @__errno_location() #11
  %1135 = load i32, ptr %1134, align 4, !tbaa !5
  store i32 %1135, ptr %37, align 4, !tbaa !5
  %1136 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1137 = call i32 @s2n_print_stacktrace(ptr noundef %1136)
  %1138 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !13, !range !15, !noundef !16
  %1139 = trunc i8 %1138 to i1
  br i1 %1139, label %1140, label %1162

1140:                                             ; preds = %1133
  %1141 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1142 = call i32 @fileno(ptr noundef %1141) #10
  %1143 = call i32 @isatty(i32 noundef %1142) #10
  %1144 = icmp ne i32 %1143, 0
  br i1 %1144, label %1145, label %1162

1145:                                             ; preds = %1140
  %1146 = load i32, ptr %37, align 4, !tbaa !5
  %1147 = call ptr @__errno_location() #11
  store i32 %1146, ptr %1147, align 4, !tbaa !5
  %1148 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1149 = load i32, ptr @test_count, align 4, !tbaa !5
  %1150 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1151 = load i32, ptr %1150, align 4, !tbaa !5
  %1152 = call ptr @s2n_strerror(i32 noundef %1151, ptr noundef @.str.3)
  %1153 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1154 = load i32, ptr %1153, align 4, !tbaa !5
  %1155 = call ptr @s2n_strerror_debug(i32 noundef %1154, ptr noundef @.str.3)
  %1156 = call ptr @__errno_location() #11
  %1157 = load i32, ptr %1156, align 4, !tbaa !5
  %1158 = call ptr @strerror(i32 noundef %1157) #10
  %1159 = call ptr @__errno_location() #11
  %1160 = load i32, ptr %1159, align 4, !tbaa !5
  %1161 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1148, ptr noundef @.str, i32 noundef %1149, ptr noundef @.str.24, ptr noundef @.str.2, i32 noundef 126, ptr noundef %1152, ptr noundef %1155, ptr noundef %1158, i32 noundef %1160) #10
  br label %1179

1162:                                             ; preds = %1140, %1133
  %1163 = load i32, ptr %37, align 4, !tbaa !5
  %1164 = call ptr @__errno_location() #11
  store i32 %1163, ptr %1164, align 4, !tbaa !5
  %1165 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1166 = load i32, ptr @test_count, align 4, !tbaa !5
  %1167 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1168 = load i32, ptr %1167, align 4, !tbaa !5
  %1169 = call ptr @s2n_strerror(i32 noundef %1168, ptr noundef @.str.3)
  %1170 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1171 = load i32, ptr %1170, align 4, !tbaa !5
  %1172 = call ptr @s2n_strerror_debug(i32 noundef %1171, ptr noundef @.str.3)
  %1173 = call ptr @__errno_location() #11
  %1174 = load i32, ptr %1173, align 4, !tbaa !5
  %1175 = call ptr @strerror(i32 noundef %1174) #10
  %1176 = call ptr @__errno_location() #11
  %1177 = load i32, ptr %1176, align 4, !tbaa !5
  %1178 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1165, ptr noundef @.str.4, i32 noundef %1166, ptr noundef @.str.24, ptr noundef @.str.2, i32 noundef 126, ptr noundef %1169, ptr noundef %1172, ptr noundef %1175, i32 noundef %1177) #10
  br label %1179

1179:                                             ; preds = %1162, %1145
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #10
  br label %1180

1180:                                             ; preds = %1179
  br label %1181

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

1182:                                             ; No predecessors!
  br label %1183

1183:                                             ; preds = %1182
  br label %1184

1184:                                             ; preds = %1183, %1126
  br label %1185

1185:                                             ; preds = %1184
  br label %1186

1186:                                             ; preds = %1185
  br label %1187

1187:                                             ; preds = %1186
  %1188 = load i32, ptr @test_count, align 4, !tbaa !5
  %1189 = add nsw i32 %1188, 1
  store i32 %1189, ptr @test_count, align 4, !tbaa !5
  %1190 = load ptr, ptr %22, align 8, !tbaa !9
  %1191 = call i32 @s2n_connection_set_io_stuffers(ptr noundef %24, ptr noundef %25, ptr noundef %1190)
  %1192 = icmp eq i32 %1191, -1
  br i1 %1192, label %1193, label %1246

1193:                                             ; preds = %1187
  br label %1194

1194:                                             ; preds = %1193
  br label %1195

1195:                                             ; preds = %1194
  call void @llvm.lifetime.start.p0(i64 4, ptr %38) #10
  %1196 = call ptr @__errno_location() #11
  %1197 = load i32, ptr %1196, align 4, !tbaa !5
  store i32 %1197, ptr %38, align 4, !tbaa !5
  %1198 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1199 = call i32 @s2n_print_stacktrace(ptr noundef %1198)
  %1200 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !13, !range !15, !noundef !16
  %1201 = trunc i8 %1200 to i1
  br i1 %1201, label %1202, label %1224

1202:                                             ; preds = %1195
  %1203 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1204 = call i32 @fileno(ptr noundef %1203) #10
  %1205 = call i32 @isatty(i32 noundef %1204) #10
  %1206 = icmp ne i32 %1205, 0
  br i1 %1206, label %1207, label %1224

1207:                                             ; preds = %1202
  %1208 = load i32, ptr %38, align 4, !tbaa !5
  %1209 = call ptr @__errno_location() #11
  store i32 %1208, ptr %1209, align 4, !tbaa !5
  %1210 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1211 = load i32, ptr @test_count, align 4, !tbaa !5
  %1212 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1213 = load i32, ptr %1212, align 4, !tbaa !5
  %1214 = call ptr @s2n_strerror(i32 noundef %1213, ptr noundef @.str.3)
  %1215 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1216 = load i32, ptr %1215, align 4, !tbaa !5
  %1217 = call ptr @s2n_strerror_debug(i32 noundef %1216, ptr noundef @.str.3)
  %1218 = call ptr @__errno_location() #11
  %1219 = load i32, ptr %1218, align 4, !tbaa !5
  %1220 = call ptr @strerror(i32 noundef %1219) #10
  %1221 = call ptr @__errno_location() #11
  %1222 = load i32, ptr %1221, align 4, !tbaa !5
  %1223 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1210, ptr noundef @.str, i32 noundef %1211, ptr noundef @.str.25, ptr noundef @.str.2, i32 noundef 127, ptr noundef %1214, ptr noundef %1217, ptr noundef %1220, i32 noundef %1222) #10
  br label %1241

1224:                                             ; preds = %1202, %1195
  %1225 = load i32, ptr %38, align 4, !tbaa !5
  %1226 = call ptr @__errno_location() #11
  store i32 %1225, ptr %1226, align 4, !tbaa !5
  %1227 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1228 = load i32, ptr @test_count, align 4, !tbaa !5
  %1229 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1230 = load i32, ptr %1229, align 4, !tbaa !5
  %1231 = call ptr @s2n_strerror(i32 noundef %1230, ptr noundef @.str.3)
  %1232 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1233 = load i32, ptr %1232, align 4, !tbaa !5
  %1234 = call ptr @s2n_strerror_debug(i32 noundef %1233, ptr noundef @.str.3)
  %1235 = call ptr @__errno_location() #11
  %1236 = load i32, ptr %1235, align 4, !tbaa !5
  %1237 = call ptr @strerror(i32 noundef %1236) #10
  %1238 = call ptr @__errno_location() #11
  %1239 = load i32, ptr %1238, align 4, !tbaa !5
  %1240 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1227, ptr noundef @.str.4, i32 noundef %1228, ptr noundef @.str.25, ptr noundef @.str.2, i32 noundef 127, ptr noundef %1231, ptr noundef %1234, ptr noundef %1237, i32 noundef %1239) #10
  br label %1241

1241:                                             ; preds = %1224, %1207
  call void @llvm.lifetime.end.p0(i64 4, ptr %38) #10
  br label %1242

1242:                                             ; preds = %1241
  br label %1243

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

1244:                                             ; No predecessors!
  br label %1245

1245:                                             ; preds = %1244
  br label %1246

1246:                                             ; preds = %1245, %1187
  br label %1247

1247:                                             ; preds = %1246
  br label %1248

1248:                                             ; preds = %1247
  br label %1249

1249:                                             ; preds = %1336, %1248
  %1250 = load ptr, ptr %22, align 8, !tbaa !9
  %1251 = call i32 @s2n_negotiate(ptr noundef %1250, ptr noundef %6)
  %1252 = sext i32 %1251 to i64
  store i64 %1252, ptr %13, align 8, !tbaa !11
  br label %1253

1253:                                             ; preds = %1249
  %1254 = load i32, ptr @test_count, align 4, !tbaa !5
  %1255 = add nsw i32 %1254, 1
  store i32 %1255, ptr @test_count, align 4, !tbaa !5
  %1256 = load i64, ptr %13, align 8, !tbaa !11
  %1257 = icmp eq i64 %1256, 0
  br i1 %1257, label %1322, label %1258

1258:                                             ; preds = %1253
  %1259 = load i32, ptr %6, align 4, !tbaa !5
  %1260 = icmp ne i32 %1259, 0
  br i1 %1260, label %1261, label %1269

1261:                                             ; preds = %1258
  %1262 = call ptr @__errno_location() #11
  %1263 = load i32, ptr %1262, align 4, !tbaa !5
  %1264 = icmp eq i32 %1263, 11
  br i1 %1264, label %1322, label %1265

1265:                                             ; preds = %1261
  %1266 = call ptr @__errno_location() #11
  %1267 = load i32, ptr %1266, align 4, !tbaa !5
  %1268 = icmp eq i32 %1267, 11
  br i1 %1268, label %1322, label %1269

1269:                                             ; preds = %1265, %1258
  br label %1270

1270:                                             ; preds = %1269
  br label %1271

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

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

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

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

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

1318:                                             ; preds = %1317
  br label %1319

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

1320:                                             ; No predecessors!
  br label %1321

1321:                                             ; preds = %1320
  br label %1322

1322:                                             ; preds = %1321, %1265, %1261, %1253
  br label %1323

1323:                                             ; preds = %1322
  br label %1324

1324:                                             ; preds = %1323
  %1325 = getelementptr inbounds %struct.s2n_test_io_pair, ptr %18, i32 0, i32 1
  %1326 = load i32, ptr %1325, align 4, !tbaa !17
  %1327 = call i32 @s2n_stuffer_recv_from_fd(ptr noundef %24, i32 noundef %1326, i32 noundef 10000, ptr noundef null)
  %1328 = getelementptr inbounds %struct.s2n_test_io_pair, ptr %18, i32 0, i32 1
  %1329 = load i32, ptr %1328, align 4, !tbaa !17
  %1330 = getelementptr inbounds %struct.s2n_stuffer, ptr %25, i32 0, i32 2
  %1331 = load i32, ptr %1330, align 4, !tbaa !19
  %1332 = getelementptr inbounds %struct.s2n_stuffer, ptr %25, i32 0, i32 1
  %1333 = load i32, ptr %1332, align 8, !tbaa !22
  %1334 = sub i32 %1331, %1333
  %1335 = call i32 @s2n_stuffer_send_to_fd(ptr noundef %25, i32 noundef %1329, i32 noundef %1334, ptr noundef null)
  br label %1336

1336:                                             ; preds = %1324
  %1337 = load i32, ptr %6, align 4, !tbaa !5
  %1338 = icmp ne i32 %1337, 0
  br i1 %1338, label %1249, label %1339, !llvm.loop !23

1339:                                             ; preds = %1336
  br label %1340

1340:                                             ; preds = %1366, %1357, %1339
  %1341 = load i32, ptr %12, align 4, !tbaa !5
  %1342 = icmp ult i32 %1341, 100
  br i1 %1342, label %1343, label %1367

1343:                                             ; preds = %1340
  %1344 = getelementptr inbounds %struct.s2n_test_io_pair, ptr %18, i32 0, i32 1
  %1345 = load i32, ptr %1344, align 4, !tbaa !17
  %1346 = load i32, ptr %12, align 4, !tbaa !5
  %1347 = sub i32 100, %1346
  %1348 = call i32 @s2n_stuffer_recv_from_fd(ptr noundef %24, i32 noundef %1345, i32 noundef %1347, ptr noundef %12)
  %1349 = sext i32 %1348 to i64
  store i64 %1349, ptr %13, align 8, !tbaa !11
  %1350 = call ptr @__errno_location() #11
  %1351 = load i32, ptr %1350, align 4, !tbaa !5
  %1352 = icmp eq i32 %1351, 11
  br i1 %1352, label %1357, label %1353

1353:                                             ; preds = %1343
  %1354 = call ptr @__errno_location() #11
  %1355 = load i32, ptr %1354, align 4, !tbaa !5
  %1356 = icmp eq i32 %1355, 11
  br i1 %1356, label %1357, label %1358

1357:                                             ; preds = %1353, %1343
  br label %1340, !llvm.loop !25

1358:                                             ; preds = %1353
  br label %1359

1359:                                             ; preds = %1358
  %1360 = load i64, ptr %13, align 8, !tbaa !11
  %1361 = icmp sgt i64 %1360, -1
  br i1 %1361, label %1363, label %1362

1362:                                             ; preds = %1359
  store i32 -1, ptr %3, align 4
  store i32 1, ptr %40, align 4
  br label %2483

1363:                                             ; preds = %1359
  br label %1364

1364:                                             ; preds = %1363
  br label %1365

1365:                                             ; preds = %1364
  br label %1366

1366:                                             ; preds = %1365
  br label %1340, !llvm.loop !25

1367:                                             ; preds = %1340
  br label %1368

1368:                                             ; preds = %1367
  br label %1369

1369:                                             ; preds = %1368
  %1370 = load i32, ptr @test_count, align 4, !tbaa !5
  %1371 = add nsw i32 %1370, 1
  store i32 %1371, ptr @test_count, align 4, !tbaa !5
  %1372 = load ptr, ptr %22, align 8, !tbaa !9
  %1373 = getelementptr inbounds [1023 x i8], ptr %11, i64 0, i64 0
  %1374 = call i64 @s2n_recv(ptr noundef %1372, ptr noundef %1373, i64 noundef 1023, ptr noundef %6)
  %1375 = icmp eq i64 %1374, -1
  br i1 %1375, label %1429, label %1376

1376:                                             ; preds = %1369
  br label %1377

1377:                                             ; preds = %1376
  br label %1378

1378:                                             ; preds = %1377
  call void @llvm.lifetime.start.p0(i64 4, ptr %41) #10
  %1379 = call ptr @__errno_location() #11
  %1380 = load i32, ptr %1379, align 4, !tbaa !5
  store i32 %1380, ptr %41, align 4, !tbaa !5
  %1381 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1382 = call i32 @s2n_print_stacktrace(ptr noundef %1381)
  %1383 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !13, !range !15, !noundef !16
  %1384 = trunc i8 %1383 to i1
  br i1 %1384, label %1385, label %1407

1385:                                             ; preds = %1378
  %1386 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1387 = call i32 @fileno(ptr noundef %1386) #10
  %1388 = call i32 @isatty(i32 noundef %1387) #10
  %1389 = icmp ne i32 %1388, 0
  br i1 %1389, label %1390, label %1407

1390:                                             ; preds = %1385
  %1391 = load i32, ptr %41, align 4, !tbaa !5
  %1392 = call ptr @__errno_location() #11
  store i32 %1391, ptr %1392, align 4, !tbaa !5
  %1393 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1394 = load i32, ptr @test_count, align 4, !tbaa !5
  %1395 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1396 = load i32, ptr %1395, align 4, !tbaa !5
  %1397 = call ptr @s2n_strerror(i32 noundef %1396, ptr noundef @.str.3)
  %1398 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1399 = load i32, ptr %1398, align 4, !tbaa !5
  %1400 = call ptr @s2n_strerror_debug(i32 noundef %1399, ptr noundef @.str.3)
  %1401 = call ptr @__errno_location() #11
  %1402 = load i32, ptr %1401, align 4, !tbaa !5
  %1403 = call ptr @strerror(i32 noundef %1402) #10
  %1404 = call ptr @__errno_location() #11
  %1405 = load i32, ptr %1404, align 4, !tbaa !5
  %1406 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1393, ptr noundef @.str, i32 noundef %1394, ptr noundef @.str.27, ptr noundef @.str.2, i32 noundef 152, ptr noundef %1397, ptr noundef %1400, ptr noundef %1403, i32 noundef %1405) #10
  br label %1424

1407:                                             ; preds = %1385, %1378
  %1408 = load i32, ptr %41, align 4, !tbaa !5
  %1409 = call ptr @__errno_location() #11
  store i32 %1408, ptr %1409, align 4, !tbaa !5
  %1410 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1411 = load i32, ptr @test_count, align 4, !tbaa !5
  %1412 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1413 = load i32, ptr %1412, align 4, !tbaa !5
  %1414 = call ptr @s2n_strerror(i32 noundef %1413, ptr noundef @.str.3)
  %1415 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1416 = load i32, ptr %1415, align 4, !tbaa !5
  %1417 = call ptr @s2n_strerror_debug(i32 noundef %1416, ptr noundef @.str.3)
  %1418 = call ptr @__errno_location() #11
  %1419 = load i32, ptr %1418, align 4, !tbaa !5
  %1420 = call ptr @strerror(i32 noundef %1419) #10
  %1421 = call ptr @__errno_location() #11
  %1422 = load i32, ptr %1421, align 4, !tbaa !5
  %1423 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1410, ptr noundef @.str.4, i32 noundef %1411, ptr noundef @.str.27, ptr noundef @.str.2, i32 noundef 152, ptr noundef %1414, ptr noundef %1417, ptr noundef %1420, i32 noundef %1422) #10
  br label %1424

1424:                                             ; preds = %1407, %1390
  call void @llvm.lifetime.end.p0(i64 4, ptr %41) #10
  br label %1425

1425:                                             ; preds = %1424
  br label %1426

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

1427:                                             ; No predecessors!
  br label %1428

1428:                                             ; preds = %1427
  br label %1429

1429:                                             ; preds = %1428, %1369
  br label %1430

1430:                                             ; preds = %1429
  br label %1431

1431:                                             ; preds = %1430
  br label %1432

1432:                                             ; preds = %1431
  %1433 = load i32, ptr @test_count, align 4, !tbaa !5
  %1434 = add nsw i32 %1433, 1
  store i32 %1434, ptr @test_count, align 4, !tbaa !5
  %1435 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1436 = load i32, ptr %1435, align 4, !tbaa !5
  %1437 = icmp eq i32 %1436, 0
  br i1 %1437, label %1438, label %1491

1438:                                             ; preds = %1432
  br label %1439

1439:                                             ; preds = %1438
  br label %1440

1440:                                             ; preds = %1439
  call void @llvm.lifetime.start.p0(i64 4, ptr %42) #10
  %1441 = call ptr @__errno_location() #11
  %1442 = load i32, ptr %1441, align 4, !tbaa !5
  store i32 %1442, ptr %42, align 4, !tbaa !5
  %1443 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1444 = call i32 @s2n_print_stacktrace(ptr noundef %1443)
  %1445 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !13, !range !15, !noundef !16
  %1446 = trunc i8 %1445 to i1
  br i1 %1446, label %1447, label %1469

1447:                                             ; preds = %1440
  %1448 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1449 = call i32 @fileno(ptr noundef %1448) #10
  %1450 = call i32 @isatty(i32 noundef %1449) #10
  %1451 = icmp ne i32 %1450, 0
  br i1 %1451, label %1452, label %1469

1452:                                             ; preds = %1447
  %1453 = load i32, ptr %42, align 4, !tbaa !5
  %1454 = call ptr @__errno_location() #11
  store i32 %1453, ptr %1454, align 4, !tbaa !5
  %1455 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1456 = load i32, ptr @test_count, align 4, !tbaa !5
  %1457 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1458 = load i32, ptr %1457, align 4, !tbaa !5
  %1459 = call ptr @s2n_strerror(i32 noundef %1458, ptr noundef @.str.3)
  %1460 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1461 = load i32, ptr %1460, align 4, !tbaa !5
  %1462 = call ptr @s2n_strerror_debug(i32 noundef %1461, ptr noundef @.str.3)
  %1463 = call ptr @__errno_location() #11
  %1464 = load i32, ptr %1463, align 4, !tbaa !5
  %1465 = call ptr @strerror(i32 noundef %1464) #10
  %1466 = call ptr @__errno_location() #11
  %1467 = load i32, ptr %1466, align 4, !tbaa !5
  %1468 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1455, ptr noundef @.str, i32 noundef %1456, ptr noundef @.str.28, ptr noundef @.str.2, i32 noundef 152, ptr noundef %1459, ptr noundef %1462, ptr noundef %1465, i32 noundef %1467) #10
  br label %1486

1469:                                             ; preds = %1447, %1440
  %1470 = load i32, ptr %42, align 4, !tbaa !5
  %1471 = call ptr @__errno_location() #11
  store i32 %1470, ptr %1471, align 4, !tbaa !5
  %1472 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1473 = load i32, ptr @test_count, align 4, !tbaa !5
  %1474 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1475 = load i32, ptr %1474, align 4, !tbaa !5
  %1476 = call ptr @s2n_strerror(i32 noundef %1475, ptr noundef @.str.3)
  %1477 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1478 = load i32, ptr %1477, align 4, !tbaa !5
  %1479 = call ptr @s2n_strerror_debug(i32 noundef %1478, ptr noundef @.str.3)
  %1480 = call ptr @__errno_location() #11
  %1481 = load i32, ptr %1480, align 4, !tbaa !5
  %1482 = call ptr @strerror(i32 noundef %1481) #10
  %1483 = call ptr @__errno_location() #11
  %1484 = load i32, ptr %1483, align 4, !tbaa !5
  %1485 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1472, ptr noundef @.str.4, i32 noundef %1473, ptr noundef @.str.28, ptr noundef @.str.2, i32 noundef 152, ptr noundef %1476, ptr noundef %1479, ptr noundef %1482, i32 noundef %1484) #10
  br label %1486

1486:                                             ; preds = %1469, %1452
  call void @llvm.lifetime.end.p0(i64 4, ptr %42) #10
  br label %1487

1487:                                             ; preds = %1486
  br label %1488

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

1489:                                             ; No predecessors!
  br label %1490

1490:                                             ; preds = %1489
  br label %1491

1491:                                             ; preds = %1490, %1432
  br label %1492

1492:                                             ; preds = %1491
  br label %1493

1493:                                             ; preds = %1492
  br label %1494

1494:                                             ; preds = %1493
  %1495 = load i32, ptr @test_count, align 4, !tbaa !5
  %1496 = add nsw i32 %1495, 1
  store i32 %1496, ptr @test_count, align 4, !tbaa !5
  %1497 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1498 = load i32, ptr %1497, align 4, !tbaa !5
  %1499 = call ptr @s2n_strerror_debug(i32 noundef %1498, ptr noundef @.str.3)
  %1500 = icmp eq ptr %1499, null
  br i1 %1500, label %1501, label %1554

1501:                                             ; preds = %1494
  br label %1502

1502:                                             ; preds = %1501
  br label %1503

1503:                                             ; preds = %1502
  call void @llvm.lifetime.start.p0(i64 4, ptr %43) #10
  %1504 = call ptr @__errno_location() #11
  %1505 = load i32, ptr %1504, align 4, !tbaa !5
  store i32 %1505, ptr %43, align 4, !tbaa !5
  %1506 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1507 = call i32 @s2n_print_stacktrace(ptr noundef %1506)
  %1508 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !13, !range !15, !noundef !16
  %1509 = trunc i8 %1508 to i1
  br i1 %1509, label %1510, label %1532

1510:                                             ; preds = %1503
  %1511 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1512 = call i32 @fileno(ptr noundef %1511) #10
  %1513 = call i32 @isatty(i32 noundef %1512) #10
  %1514 = icmp ne i32 %1513, 0
  br i1 %1514, label %1515, label %1532

1515:                                             ; preds = %1510
  %1516 = load i32, ptr %43, align 4, !tbaa !5
  %1517 = call ptr @__errno_location() #11
  store i32 %1516, ptr %1517, align 4, !tbaa !5
  %1518 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1519 = load i32, ptr @test_count, align 4, !tbaa !5
  %1520 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1521 = load i32, ptr %1520, align 4, !tbaa !5
  %1522 = call ptr @s2n_strerror(i32 noundef %1521, ptr noundef @.str.3)
  %1523 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1524 = load i32, ptr %1523, align 4, !tbaa !5
  %1525 = call ptr @s2n_strerror_debug(i32 noundef %1524, ptr noundef @.str.3)
  %1526 = call ptr @__errno_location() #11
  %1527 = load i32, ptr %1526, align 4, !tbaa !5
  %1528 = call ptr @strerror(i32 noundef %1527) #10
  %1529 = call ptr @__errno_location() #11
  %1530 = load i32, ptr %1529, align 4, !tbaa !5
  %1531 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1518, ptr noundef @.str, i32 noundef %1519, ptr noundef @.str.29, ptr noundef @.str.2, i32 noundef 152, ptr noundef %1522, ptr noundef %1525, ptr noundef %1528, i32 noundef %1530) #10
  br label %1549

1532:                                             ; preds = %1510, %1503
  %1533 = load i32, ptr %43, align 4, !tbaa !5
  %1534 = call ptr @__errno_location() #11
  store i32 %1533, ptr %1534, align 4, !tbaa !5
  %1535 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1536 = load i32, ptr @test_count, align 4, !tbaa !5
  %1537 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1538 = load i32, ptr %1537, align 4, !tbaa !5
  %1539 = call ptr @s2n_strerror(i32 noundef %1538, ptr noundef @.str.3)
  %1540 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1541 = load i32, ptr %1540, align 4, !tbaa !5
  %1542 = call ptr @s2n_strerror_debug(i32 noundef %1541, ptr noundef @.str.3)
  %1543 = call ptr @__errno_location() #11
  %1544 = load i32, ptr %1543, align 4, !tbaa !5
  %1545 = call ptr @strerror(i32 noundef %1544) #10
  %1546 = call ptr @__errno_location() #11
  %1547 = load i32, ptr %1546, align 4, !tbaa !5
  %1548 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1535, ptr noundef @.str.4, i32 noundef %1536, ptr noundef @.str.29, ptr noundef @.str.2, i32 noundef 152, ptr noundef %1539, ptr noundef %1542, ptr noundef %1545, i32 noundef %1547) #10
  br label %1549

1549:                                             ; preds = %1532, %1515
  call void @llvm.lifetime.end.p0(i64 4, ptr %43) #10
  br label %1550

1550:                                             ; preds = %1549
  br label %1551

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

1552:                                             ; No predecessors!
  br label %1553

1553:                                             ; preds = %1552
  br label %1554

1554:                                             ; preds = %1553, %1494
  br label %1555

1555:                                             ; preds = %1554
  br label %1556

1556:                                             ; preds = %1555
  br label %1557

1557:                                             ; preds = %1556
  %1558 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  store i32 0, ptr %1558, align 4, !tbaa !5
  call void @s2n_debug_info_reset()
  %1559 = call ptr @__errno_location() #11
  store i32 0, ptr %1559, align 4, !tbaa !5
  br label %1560

1560:                                             ; preds = %1557
  br label %1561

1561:                                             ; preds = %1560
  br label %1562

1562:                                             ; preds = %1561
  br label %1563

1563:                                             ; preds = %1562
  br label %1564

1564:                                             ; preds = %1563
  %1565 = load i32, ptr @test_count, align 4, !tbaa !5
  %1566 = add nsw i32 %1565, 1
  store i32 %1566, ptr @test_count, align 4, !tbaa !5
  %1567 = load i32, ptr %6, align 4, !tbaa !5
  %1568 = icmp eq i32 %1567, 1
  br i1 %1568, label %1622, label %1569

1569:                                             ; preds = %1564
  br label %1570

1570:                                             ; preds = %1569
  br label %1571

1571:                                             ; preds = %1570
  call void @llvm.lifetime.start.p0(i64 4, ptr %44) #10
  %1572 = call ptr @__errno_location() #11
  %1573 = load i32, ptr %1572, align 4, !tbaa !5
  store i32 %1573, ptr %44, align 4, !tbaa !5
  %1574 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1575 = call i32 @s2n_print_stacktrace(ptr noundef %1574)
  %1576 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !13, !range !15, !noundef !16
  %1577 = trunc i8 %1576 to i1
  br i1 %1577, label %1578, label %1600

1578:                                             ; preds = %1571
  %1579 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1580 = call i32 @fileno(ptr noundef %1579) #10
  %1581 = call i32 @isatty(i32 noundef %1580) #10
  %1582 = icmp ne i32 %1581, 0
  br i1 %1582, label %1583, label %1600

1583:                                             ; preds = %1578
  %1584 = load i32, ptr %44, align 4, !tbaa !5
  %1585 = call ptr @__errno_location() #11
  store i32 %1584, ptr %1585, align 4, !tbaa !5
  %1586 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1587 = load i32, ptr @test_count, align 4, !tbaa !5
  %1588 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1589 = load i32, ptr %1588, align 4, !tbaa !5
  %1590 = call ptr @s2n_strerror(i32 noundef %1589, ptr noundef @.str.3)
  %1591 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1592 = load i32, ptr %1591, align 4, !tbaa !5
  %1593 = call ptr @s2n_strerror_debug(i32 noundef %1592, ptr noundef @.str.3)
  %1594 = call ptr @__errno_location() #11
  %1595 = load i32, ptr %1594, align 4, !tbaa !5
  %1596 = call ptr @strerror(i32 noundef %1595) #10
  %1597 = call ptr @__errno_location() #11
  %1598 = load i32, ptr %1597, align 4, !tbaa !5
  %1599 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1586, ptr noundef @.str, i32 noundef %1587, ptr noundef @.str.30, ptr noundef @.str.2, i32 noundef 153, ptr noundef %1590, ptr noundef %1593, ptr noundef %1596, i32 noundef %1598) #10
  br label %1617

1600:                                             ; preds = %1578, %1571
  %1601 = load i32, ptr %44, align 4, !tbaa !5
  %1602 = call ptr @__errno_location() #11
  store i32 %1601, ptr %1602, align 4, !tbaa !5
  %1603 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1604 = load i32, ptr @test_count, align 4, !tbaa !5
  %1605 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1606 = load i32, ptr %1605, align 4, !tbaa !5
  %1607 = call ptr @s2n_strerror(i32 noundef %1606, ptr noundef @.str.3)
  %1608 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1609 = load i32, ptr %1608, align 4, !tbaa !5
  %1610 = call ptr @s2n_strerror_debug(i32 noundef %1609, ptr noundef @.str.3)
  %1611 = call ptr @__errno_location() #11
  %1612 = load i32, ptr %1611, align 4, !tbaa !5
  %1613 = call ptr @strerror(i32 noundef %1612) #10
  %1614 = call ptr @__errno_location() #11
  %1615 = load i32, ptr %1614, align 4, !tbaa !5
  %1616 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1603, ptr noundef @.str.4, i32 noundef %1604, ptr noundef @.str.30, ptr noundef @.str.2, i32 noundef 153, ptr noundef %1607, ptr noundef %1610, ptr noundef %1613, i32 noundef %1615) #10
  br label %1617

1617:                                             ; preds = %1600, %1583
  call void @llvm.lifetime.end.p0(i64 4, ptr %44) #10
  br label %1618

1618:                                             ; preds = %1617
  br label %1619

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

1620:                                             ; No predecessors!
  br label %1621

1621:                                             ; preds = %1620
  br label %1622

1622:                                             ; preds = %1621, %1564
  br label %1623

1623:                                             ; preds = %1622
  br label %1624

1624:                                             ; preds = %1623
  br label %1625

1625:                                             ; preds = %1624
  br label %1626

1626:                                             ; preds = %1625
  %1627 = load i32, ptr @test_count, align 4, !tbaa !5
  %1628 = add nsw i32 %1627, 1
  store i32 %1628, ptr @test_count, align 4, !tbaa !5
  %1629 = load ptr, ptr %22, align 8, !tbaa !9
  %1630 = call i32 @s2n_connection_release_buffers(ptr noundef %1629)
  %1631 = icmp eq i32 %1630, -1
  br i1 %1631, label %1685, label %1632

1632:                                             ; preds = %1626
  br label %1633

1633:                                             ; preds = %1632
  br label %1634

1634:                                             ; preds = %1633
  call void @llvm.lifetime.start.p0(i64 4, ptr %45) #10
  %1635 = call ptr @__errno_location() #11
  %1636 = load i32, ptr %1635, align 4, !tbaa !5
  store i32 %1636, ptr %45, align 4, !tbaa !5
  %1637 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1638 = call i32 @s2n_print_stacktrace(ptr noundef %1637)
  %1639 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !13, !range !15, !noundef !16
  %1640 = trunc i8 %1639 to i1
  br i1 %1640, label %1641, label %1663

1641:                                             ; preds = %1634
  %1642 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1643 = call i32 @fileno(ptr noundef %1642) #10
  %1644 = call i32 @isatty(i32 noundef %1643) #10
  %1645 = icmp ne i32 %1644, 0
  br i1 %1645, label %1646, label %1663

1646:                                             ; preds = %1641
  %1647 = load i32, ptr %45, align 4, !tbaa !5
  %1648 = call ptr @__errno_location() #11
  store i32 %1647, ptr %1648, align 4, !tbaa !5
  %1649 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1650 = load i32, ptr @test_count, align 4, !tbaa !5
  %1651 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1652 = load i32, ptr %1651, align 4, !tbaa !5
  %1653 = call ptr @s2n_strerror(i32 noundef %1652, ptr noundef @.str.3)
  %1654 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1655 = load i32, ptr %1654, align 4, !tbaa !5
  %1656 = call ptr @s2n_strerror_debug(i32 noundef %1655, ptr noundef @.str.3)
  %1657 = call ptr @__errno_location() #11
  %1658 = load i32, ptr %1657, align 4, !tbaa !5
  %1659 = call ptr @strerror(i32 noundef %1658) #10
  %1660 = call ptr @__errno_location() #11
  %1661 = load i32, ptr %1660, align 4, !tbaa !5
  %1662 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1649, ptr noundef @.str, i32 noundef %1650, ptr noundef @.str.31, ptr noundef @.str.2, i32 noundef 156, ptr noundef %1653, ptr noundef %1656, ptr noundef %1659, i32 noundef %1661) #10
  br label %1680

1663:                                             ; preds = %1641, %1634
  %1664 = load i32, ptr %45, align 4, !tbaa !5
  %1665 = call ptr @__errno_location() #11
  store i32 %1664, ptr %1665, align 4, !tbaa !5
  %1666 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1667 = load i32, ptr @test_count, align 4, !tbaa !5
  %1668 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1669 = load i32, ptr %1668, align 4, !tbaa !5
  %1670 = call ptr @s2n_strerror(i32 noundef %1669, ptr noundef @.str.3)
  %1671 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1672 = load i32, ptr %1671, align 4, !tbaa !5
  %1673 = call ptr @s2n_strerror_debug(i32 noundef %1672, ptr noundef @.str.3)
  %1674 = call ptr @__errno_location() #11
  %1675 = load i32, ptr %1674, align 4, !tbaa !5
  %1676 = call ptr @strerror(i32 noundef %1675) #10
  %1677 = call ptr @__errno_location() #11
  %1678 = load i32, ptr %1677, align 4, !tbaa !5
  %1679 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1666, ptr noundef @.str.4, i32 noundef %1667, ptr noundef @.str.31, ptr noundef @.str.2, i32 noundef 156, ptr noundef %1670, ptr noundef %1673, ptr noundef %1676, i32 noundef %1678) #10
  br label %1680

1680:                                             ; preds = %1663, %1646
  call void @llvm.lifetime.end.p0(i64 4, ptr %45) #10
  br label %1681

1681:                                             ; preds = %1680
  br label %1682

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

1683:                                             ; No predecessors!
  br label %1684

1684:                                             ; preds = %1683
  br label %1685

1685:                                             ; preds = %1684, %1626
  br label %1686

1686:                                             ; preds = %1685
  br label %1687

1687:                                             ; preds = %1686
  br label %1688

1688:                                             ; preds = %1687
  %1689 = load i32, ptr @test_count, align 4, !tbaa !5
  %1690 = add nsw i32 %1689, 1
  store i32 %1690, ptr @test_count, align 4, !tbaa !5
  %1691 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1692 = load i32, ptr %1691, align 4, !tbaa !5
  %1693 = icmp eq i32 %1692, 0
  br i1 %1693, label %1694, label %1747

1694:                                             ; preds = %1688
  br label %1695

1695:                                             ; preds = %1694
  br label %1696

1696:                                             ; preds = %1695
  call void @llvm.lifetime.start.p0(i64 4, ptr %46) #10
  %1697 = call ptr @__errno_location() #11
  %1698 = load i32, ptr %1697, align 4, !tbaa !5
  store i32 %1698, ptr %46, align 4, !tbaa !5
  %1699 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1700 = call i32 @s2n_print_stacktrace(ptr noundef %1699)
  %1701 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !13, !range !15, !noundef !16
  %1702 = trunc i8 %1701 to i1
  br i1 %1702, label %1703, label %1725

1703:                                             ; preds = %1696
  %1704 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1705 = call i32 @fileno(ptr noundef %1704) #10
  %1706 = call i32 @isatty(i32 noundef %1705) #10
  %1707 = icmp ne i32 %1706, 0
  br i1 %1707, label %1708, label %1725

1708:                                             ; preds = %1703
  %1709 = load i32, ptr %46, align 4, !tbaa !5
  %1710 = call ptr @__errno_location() #11
  store i32 %1709, ptr %1710, align 4, !tbaa !5
  %1711 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1712 = load i32, ptr @test_count, align 4, !tbaa !5
  %1713 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1714 = load i32, ptr %1713, align 4, !tbaa !5
  %1715 = call ptr @s2n_strerror(i32 noundef %1714, ptr noundef @.str.3)
  %1716 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1717 = load i32, ptr %1716, align 4, !tbaa !5
  %1718 = call ptr @s2n_strerror_debug(i32 noundef %1717, ptr noundef @.str.3)
  %1719 = call ptr @__errno_location() #11
  %1720 = load i32, ptr %1719, align 4, !tbaa !5
  %1721 = call ptr @strerror(i32 noundef %1720) #10
  %1722 = call ptr @__errno_location() #11
  %1723 = load i32, ptr %1722, align 4, !tbaa !5
  %1724 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1711, ptr noundef @.str, i32 noundef %1712, ptr noundef @.str.28, ptr noundef @.str.2, i32 noundef 156, ptr noundef %1715, ptr noundef %1718, ptr noundef %1721, i32 noundef %1723) #10
  br label %1742

1725:                                             ; preds = %1703, %1696
  %1726 = load i32, ptr %46, align 4, !tbaa !5
  %1727 = call ptr @__errno_location() #11
  store i32 %1726, ptr %1727, align 4, !tbaa !5
  %1728 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1729 = load i32, ptr @test_count, align 4, !tbaa !5
  %1730 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1731 = load i32, ptr %1730, align 4, !tbaa !5
  %1732 = call ptr @s2n_strerror(i32 noundef %1731, ptr noundef @.str.3)
  %1733 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1734 = load i32, ptr %1733, align 4, !tbaa !5
  %1735 = call ptr @s2n_strerror_debug(i32 noundef %1734, ptr noundef @.str.3)
  %1736 = call ptr @__errno_location() #11
  %1737 = load i32, ptr %1736, align 4, !tbaa !5
  %1738 = call ptr @strerror(i32 noundef %1737) #10
  %1739 = call ptr @__errno_location() #11
  %1740 = load i32, ptr %1739, align 4, !tbaa !5
  %1741 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1728, ptr noundef @.str.4, i32 noundef %1729, ptr noundef @.str.28, ptr noundef @.str.2, i32 noundef 156, ptr noundef %1732, ptr noundef %1735, ptr noundef %1738, i32 noundef %1740) #10
  br label %1742

1742:                                             ; preds = %1725, %1708
  call void @llvm.lifetime.end.p0(i64 4, ptr %46) #10
  br label %1743

1743:                                             ; preds = %1742
  br label %1744

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

1745:                                             ; No predecessors!
  br label %1746

1746:                                             ; preds = %1745
  br label %1747

1747:                                             ; preds = %1746, %1688
  br label %1748

1748:                                             ; preds = %1747
  br label %1749

1749:                                             ; preds = %1748
  br label %1750

1750:                                             ; preds = %1749
  %1751 = load i32, ptr @test_count, align 4, !tbaa !5
  %1752 = add nsw i32 %1751, 1
  store i32 %1752, ptr @test_count, align 4, !tbaa !5
  %1753 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1754 = load i32, ptr %1753, align 4, !tbaa !5
  %1755 = call ptr @s2n_strerror_debug(i32 noundef %1754, ptr noundef @.str.3)
  %1756 = icmp eq ptr %1755, null
  br i1 %1756, label %1757, label %1810

1757:                                             ; preds = %1750
  br label %1758

1758:                                             ; preds = %1757
  br label %1759

1759:                                             ; preds = %1758
  call void @llvm.lifetime.start.p0(i64 4, ptr %47) #10
  %1760 = call ptr @__errno_location() #11
  %1761 = load i32, ptr %1760, align 4, !tbaa !5
  store i32 %1761, ptr %47, align 4, !tbaa !5
  %1762 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1763 = call i32 @s2n_print_stacktrace(ptr noundef %1762)
  %1764 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !13, !range !15, !noundef !16
  %1765 = trunc i8 %1764 to i1
  br i1 %1765, label %1766, label %1788

1766:                                             ; preds = %1759
  %1767 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1768 = call i32 @fileno(ptr noundef %1767) #10
  %1769 = call i32 @isatty(i32 noundef %1768) #10
  %1770 = icmp ne i32 %1769, 0
  br i1 %1770, label %1771, label %1788

1771:                                             ; preds = %1766
  %1772 = load i32, ptr %47, align 4, !tbaa !5
  %1773 = call ptr @__errno_location() #11
  store i32 %1772, ptr %1773, align 4, !tbaa !5
  %1774 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1775 = load i32, ptr @test_count, align 4, !tbaa !5
  %1776 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1777 = load i32, ptr %1776, align 4, !tbaa !5
  %1778 = call ptr @s2n_strerror(i32 noundef %1777, ptr noundef @.str.3)
  %1779 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1780 = load i32, ptr %1779, align 4, !tbaa !5
  %1781 = call ptr @s2n_strerror_debug(i32 noundef %1780, ptr noundef @.str.3)
  %1782 = call ptr @__errno_location() #11
  %1783 = load i32, ptr %1782, align 4, !tbaa !5
  %1784 = call ptr @strerror(i32 noundef %1783) #10
  %1785 = call ptr @__errno_location() #11
  %1786 = load i32, ptr %1785, align 4, !tbaa !5
  %1787 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1774, ptr noundef @.str, i32 noundef %1775, ptr noundef @.str.29, ptr noundef @.str.2, i32 noundef 156, ptr noundef %1778, ptr noundef %1781, ptr noundef %1784, i32 noundef %1786) #10
  br label %1805

1788:                                             ; preds = %1766, %1759
  %1789 = load i32, ptr %47, align 4, !tbaa !5
  %1790 = call ptr @__errno_location() #11
  store i32 %1789, ptr %1790, align 4, !tbaa !5
  %1791 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1792 = load i32, ptr @test_count, align 4, !tbaa !5
  %1793 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1794 = load i32, ptr %1793, align 4, !tbaa !5
  %1795 = call ptr @s2n_strerror(i32 noundef %1794, ptr noundef @.str.3)
  %1796 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1797 = load i32, ptr %1796, align 4, !tbaa !5
  %1798 = call ptr @s2n_strerror_debug(i32 noundef %1797, ptr noundef @.str.3)
  %1799 = call ptr @__errno_location() #11
  %1800 = load i32, ptr %1799, align 4, !tbaa !5
  %1801 = call ptr @strerror(i32 noundef %1800) #10
  %1802 = call ptr @__errno_location() #11
  %1803 = load i32, ptr %1802, align 4, !tbaa !5
  %1804 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1791, ptr noundef @.str.4, i32 noundef %1792, ptr noundef @.str.29, ptr noundef @.str.2, i32 noundef 156, ptr noundef %1795, ptr noundef %1798, ptr noundef %1801, i32 noundef %1803) #10
  br label %1805

1805:                                             ; preds = %1788, %1771
  call void @llvm.lifetime.end.p0(i64 4, ptr %47) #10
  br label %1806

1806:                                             ; preds = %1805
  br label %1807

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

1808:                                             ; No predecessors!
  br label %1809

1809:                                             ; preds = %1808
  br label %1810

1810:                                             ; preds = %1809, %1750
  br label %1811

1811:                                             ; preds = %1810
  br label %1812

1812:                                             ; preds = %1811
  br label %1813

1813:                                             ; preds = %1812
  %1814 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  store i32 0, ptr %1814, align 4, !tbaa !5
  call void @s2n_debug_info_reset()
  %1815 = call ptr @__errno_location() #11
  store i32 0, ptr %1815, align 4, !tbaa !5
  br label %1816

1816:                                             ; preds = %1813
  br label %1817

1817:                                             ; preds = %1816
  br label %1818

1818:                                             ; preds = %1817
  br label %1819

1819:                                             ; preds = %1818
  br label %1820

1820:                                             ; preds = %1856, %1819
  %1821 = getelementptr inbounds %struct.s2n_test_io_pair, ptr %18, i32 0, i32 1
  %1822 = load i32, ptr %1821, align 4, !tbaa !17
  %1823 = call i32 @s2n_stuffer_recv_from_fd(ptr noundef %24, i32 noundef %1822, i32 noundef 10000, ptr noundef null)
  %1824 = sext i32 %1823 to i64
  store i64 %1824, ptr %13, align 8, !tbaa !11
  %1825 = call ptr @__errno_location() #11
  %1826 = load i32, ptr %1825, align 4, !tbaa !5
  %1827 = icmp eq i32 %1826, 11
  br i1 %1827, label %1832, label %1828

1828:                                             ; preds = %1820
  %1829 = call ptr @__errno_location() #11
  %1830 = load i32, ptr %1829, align 4, !tbaa !5
  %1831 = icmp eq i32 %1830, 11
  br i1 %1831, label %1832, label %1833

1832:                                             ; preds = %1828, %1820
  br label %1845

1833:                                             ; preds = %1828
  br label %1834

1834:                                             ; preds = %1833
  %1835 = load i64, ptr %13, align 8, !tbaa !11
  %1836 = icmp sgt i64 %1835, -1
  br i1 %1836, label %1838, label %1837

1837:                                             ; preds = %1834
  store i32 -1, ptr %3, align 4
  store i32 1, ptr %40, align 4
  br label %2483

1838:                                             ; preds = %1834
  br label %1839

1839:                                             ; preds = %1838
  br label %1840

1840:                                             ; preds = %1839
  br label %1841

1841:                                             ; preds = %1840
  %1842 = load ptr, ptr %22, align 8, !tbaa !9
  %1843 = getelementptr inbounds [1023 x i8], ptr %11, i64 0, i64 0
  %1844 = call i64 @s2n_recv(ptr noundef %1842, ptr noundef %1843, i64 noundef 1023, ptr noundef %6)
  store i64 %1844, ptr %13, align 8, !tbaa !11
  br label %1845

1845:                                             ; preds = %1841, %1832
  %1846 = load i64, ptr %13, align 8, !tbaa !11
  %1847 = icmp slt i64 %1846, 0
  br i1 %1847, label %1848, label %1856

1848:                                             ; preds = %1845
  %1849 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1850 = load i32, ptr %1849, align 4, !tbaa !5
  %1851 = call i32 @s2n_error_get_type(i32 noundef %1850)
  %1852 = icmp eq i32 %1851, 3
  br i1 %1852, label %1853, label %1856

1853:                                             ; preds = %1848
  %1854 = load i32, ptr %6, align 4, !tbaa !5
  %1855 = icmp eq i32 %1854, 1
  br label %1856

1856:                                             ; preds = %1853, %1848, %1845
  %1857 = phi i1 [ false, %1848 ], [ false, %1845 ], [ %1855, %1853 ]
  br i1 %1857, label %1820, label %1858, !llvm.loop !26

1858:                                             ; preds = %1856
  br label %1859

1859:                                             ; preds = %1858
  %1860 = load i32, ptr @test_count, align 4, !tbaa !5
  %1861 = add nsw i32 %1860, 1
  store i32 %1861, ptr @test_count, align 4, !tbaa !5
  %1862 = load i64, ptr %13, align 8, !tbaa !11
  %1863 = icmp eq i64 %1862, 1023
  br i1 %1863, label %1917, label %1864

1864:                                             ; preds = %1859
  br label %1865

1865:                                             ; preds = %1864
  br label %1866

1866:                                             ; preds = %1865
  call void @llvm.lifetime.start.p0(i64 4, ptr %48) #10
  %1867 = call ptr @__errno_location() #11
  %1868 = load i32, ptr %1867, align 4, !tbaa !5
  store i32 %1868, ptr %48, align 4, !tbaa !5
  %1869 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1870 = call i32 @s2n_print_stacktrace(ptr noundef %1869)
  %1871 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !13, !range !15, !noundef !16
  %1872 = trunc i8 %1871 to i1
  br i1 %1872, label %1873, label %1895

1873:                                             ; preds = %1866
  %1874 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1875 = call i32 @fileno(ptr noundef %1874) #10
  %1876 = call i32 @isatty(i32 noundef %1875) #10
  %1877 = icmp ne i32 %1876, 0
  br i1 %1877, label %1878, label %1895

1878:                                             ; preds = %1873
  %1879 = load i32, ptr %48, align 4, !tbaa !5
  %1880 = call ptr @__errno_location() #11
  store i32 %1879, ptr %1880, align 4, !tbaa !5
  %1881 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1882 = load i32, ptr @test_count, align 4, !tbaa !5
  %1883 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1884 = load i32, ptr %1883, align 4, !tbaa !5
  %1885 = call ptr @s2n_strerror(i32 noundef %1884, ptr noundef @.str.3)
  %1886 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1887 = load i32, ptr %1886, align 4, !tbaa !5
  %1888 = call ptr @s2n_strerror_debug(i32 noundef %1887, ptr noundef @.str.3)
  %1889 = call ptr @__errno_location() #11
  %1890 = load i32, ptr %1889, align 4, !tbaa !5
  %1891 = call ptr @strerror(i32 noundef %1890) #10
  %1892 = call ptr @__errno_location() #11
  %1893 = load i32, ptr %1892, align 4, !tbaa !5
  %1894 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1881, ptr noundef @.str, i32 noundef %1882, ptr noundef @.str.32, ptr noundef @.str.2, i32 noundef 173, ptr noundef %1885, ptr noundef %1888, ptr noundef %1891, i32 noundef %1893) #10
  br label %1912

1895:                                             ; preds = %1873, %1866
  %1896 = load i32, ptr %48, align 4, !tbaa !5
  %1897 = call ptr @__errno_location() #11
  store i32 %1896, ptr %1897, align 4, !tbaa !5
  %1898 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1899 = load i32, ptr @test_count, align 4, !tbaa !5
  %1900 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1901 = load i32, ptr %1900, align 4, !tbaa !5
  %1902 = call ptr @s2n_strerror(i32 noundef %1901, ptr noundef @.str.3)
  %1903 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1904 = load i32, ptr %1903, align 4, !tbaa !5
  %1905 = call ptr @s2n_strerror_debug(i32 noundef %1904, ptr noundef @.str.3)
  %1906 = call ptr @__errno_location() #11
  %1907 = load i32, ptr %1906, align 4, !tbaa !5
  %1908 = call ptr @strerror(i32 noundef %1907) #10
  %1909 = call ptr @__errno_location() #11
  %1910 = load i32, ptr %1909, align 4, !tbaa !5
  %1911 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1898, ptr noundef @.str.4, i32 noundef %1899, ptr noundef @.str.32, ptr noundef @.str.2, i32 noundef 173, ptr noundef %1902, ptr noundef %1905, ptr noundef %1908, i32 noundef %1910) #10
  br label %1912

1912:                                             ; preds = %1895, %1878
  call void @llvm.lifetime.end.p0(i64 4, ptr %48) #10
  br label %1913

1913:                                             ; preds = %1912
  br label %1914

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

1915:                                             ; No predecessors!
  br label %1916

1916:                                             ; preds = %1915
  br label %1917

1917:                                             ; preds = %1916, %1859
  br label %1918

1918:                                             ; preds = %1917
  br label %1919

1919:                                             ; preds = %1918
  br label %1920

1920:                                             ; preds = %1919
  %1921 = load i32, ptr @test_count, align 4, !tbaa !5
  %1922 = add nsw i32 %1921, 1
  store i32 %1922, ptr @test_count, align 4, !tbaa !5
  %1923 = getelementptr inbounds [1023 x i8], ptr %11, i64 0, i64 0
  %1924 = load i64, ptr %13, align 8, !tbaa !11
  %1925 = call i32 @memcmp(ptr noundef %1923, ptr noundef @buf_to_send, i64 noundef %1924) #14
  %1926 = icmp eq i32 %1925, 0
  br i1 %1926, label %1980, label %1927

1927:                                             ; preds = %1920
  br label %1928

1928:                                             ; preds = %1927
  br label %1929

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

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

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

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

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

1976:                                             ; preds = %1975
  br label %1977

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

1978:                                             ; No predecessors!
  br label %1979

1979:                                             ; preds = %1978
  br label %1980

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

1981:                                             ; preds = %1980
  br label %1982

1982:                                             ; preds = %1981
  br label %1983

1983:                                             ; preds = %1982
  %1984 = load i32, ptr @test_count, align 4, !tbaa !5
  %1985 = add nsw i32 %1984, 1
  store i32 %1985, ptr @test_count, align 4, !tbaa !5
  %1986 = load ptr, ptr %22, align 8, !tbaa !9
  %1987 = call i32 @s2n_connection_release_buffers(ptr noundef %1986)
  %1988 = icmp eq i32 %1987, -1
  br i1 %1988, label %1989, label %2042

1989:                                             ; preds = %1983
  br label %1990

1990:                                             ; preds = %1989
  br label %1991

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

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

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

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

2037:                                             ; preds = %2020, %2003
  call void @llvm.lifetime.end.p0(i64 4, ptr %50) #10
  br label %2038

2038:                                             ; preds = %2037
  br label %2039

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

2040:                                             ; No predecessors!
  br label %2041

2041:                                             ; preds = %2040
  br label %2042

2042:                                             ; preds = %2041, %1983
  br label %2043

2043:                                             ; preds = %2042
  br label %2044

2044:                                             ; preds = %2043
  call void @llvm.lifetime.start.p0(i64 1, ptr %51) #10
  store i8 0, ptr %51, align 1, !tbaa !27
  br label %2045

2045:                                             ; preds = %2136, %2044
  %2046 = load ptr, ptr %22, align 8, !tbaa !9
  %2047 = call i32 @s2n_shutdown(ptr noundef %2046, ptr noundef %6)
  %2048 = sext i32 %2047 to i64
  store i64 %2048, ptr %13, align 8, !tbaa !11
  br label %2049

2049:                                             ; preds = %2045
  %2050 = load i32, ptr @test_count, align 4, !tbaa !5
  %2051 = add nsw i32 %2050, 1
  store i32 %2051, ptr @test_count, align 4, !tbaa !5
  %2052 = load i64, ptr %13, align 8, !tbaa !11
  %2053 = icmp eq i64 %2052, 0
  br i1 %2053, label %2118, label %2054

2054:                                             ; preds = %2049
  %2055 = load i32, ptr %6, align 4, !tbaa !5
  %2056 = icmp ne i32 %2055, 0
  br i1 %2056, label %2057, label %2065

2057:                                             ; preds = %2054
  %2058 = call ptr @__errno_location() #11
  %2059 = load i32, ptr %2058, align 4, !tbaa !5
  %2060 = icmp eq i32 %2059, 11
  br i1 %2060, label %2118, label %2061

2061:                                             ; preds = %2057
  %2062 = call ptr @__errno_location() #11
  %2063 = load i32, ptr %2062, align 4, !tbaa !5
  %2064 = icmp eq i32 %2063, 11
  br i1 %2064, label %2118, label %2065

2065:                                             ; preds = %2061, %2054
  br label %2066

2066:                                             ; preds = %2065
  br label %2067

2067:                                             ; preds = %2066
  call void @llvm.lifetime.start.p0(i64 4, ptr %52) #10
  %2068 = call ptr @__errno_location() #11
  %2069 = load i32, ptr %2068, align 4, !tbaa !5
  store i32 %2069, ptr %52, align 4, !tbaa !5
  %2070 = load ptr, ptr @stderr, align 8, !tbaa !9
  %2071 = call i32 @s2n_print_stacktrace(ptr noundef %2070)
  %2072 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !13, !range !15, !noundef !16
  %2073 = trunc i8 %2072 to i1
  br i1 %2073, label %2074, label %2096

2074:                                             ; preds = %2067
  %2075 = load ptr, ptr @stderr, align 8, !tbaa !9
  %2076 = call i32 @fileno(ptr noundef %2075) #10
  %2077 = call i32 @isatty(i32 noundef %2076) #10
  %2078 = icmp ne i32 %2077, 0
  br i1 %2078, label %2079, label %2096

2079:                                             ; preds = %2074
  %2080 = load i32, ptr %52, align 4, !tbaa !5
  %2081 = call ptr @__errno_location() #11
  store i32 %2080, ptr %2081, align 4, !tbaa !5
  %2082 = load ptr, ptr @stderr, align 8, !tbaa !9
  %2083 = load i32, ptr @test_count, align 4, !tbaa !5
  %2084 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %2085 = load i32, ptr %2084, align 4, !tbaa !5
  %2086 = call ptr @s2n_strerror(i32 noundef %2085, ptr noundef @.str.3)
  %2087 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %2088 = load i32, ptr %2087, align 4, !tbaa !5
  %2089 = call ptr @s2n_strerror_debug(i32 noundef %2088, ptr noundef @.str.3)
  %2090 = call ptr @__errno_location() #11
  %2091 = load i32, ptr %2090, align 4, !tbaa !5
  %2092 = call ptr @strerror(i32 noundef %2091) #10
  %2093 = call ptr @__errno_location() #11
  %2094 = load i32, ptr %2093, align 4, !tbaa !5
  %2095 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %2082, ptr noundef @.str, i32 noundef %2083, ptr noundef @.str.26, ptr noundef @.str.2, i32 noundef 183, ptr noundef %2086, ptr noundef %2089, ptr noundef %2092, i32 noundef %2094) #10
  br label %2113

2096:                                             ; preds = %2074, %2067
  %2097 = load i32, ptr %52, align 4, !tbaa !5
  %2098 = call ptr @__errno_location() #11
  store i32 %2097, ptr %2098, align 4, !tbaa !5
  %2099 = load ptr, ptr @stderr, align 8, !tbaa !9
  %2100 = load i32, ptr @test_count, align 4, !tbaa !5
  %2101 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %2102 = load i32, ptr %2101, align 4, !tbaa !5
  %2103 = call ptr @s2n_strerror(i32 noundef %2102, ptr noundef @.str.3)
  %2104 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %2105 = load i32, ptr %2104, align 4, !tbaa !5
  %2106 = call ptr @s2n_strerror_debug(i32 noundef %2105, ptr noundef @.str.3)
  %2107 = call ptr @__errno_location() #11
  %2108 = load i32, ptr %2107, align 4, !tbaa !5
  %2109 = call ptr @strerror(i32 noundef %2108) #10
  %2110 = call ptr @__errno_location() #11
  %2111 = load i32, ptr %2110, align 4, !tbaa !5
  %2112 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %2099, ptr noundef @.str.4, i32 noundef %2100, ptr noundef @.str.26, ptr noundef @.str.2, i32 noundef 183, ptr noundef %2103, ptr noundef %2106, ptr noundef %2109, i32 noundef %2111) #10
  br label %2113

2113:                                             ; preds = %2096, %2079
  call void @llvm.lifetime.end.p0(i64 4, ptr %52) #10
  br label %2114

2114:                                             ; preds = %2113
  br label %2115

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

2116:                                             ; No predecessors!
  br label %2117

2117:                                             ; preds = %2116
  br label %2118

2118:                                             ; preds = %2117, %2061, %2057, %2049
  br label %2119

2119:                                             ; preds = %2118
  br label %2120

2120:                                             ; preds = %2119
  %2121 = load i64, ptr %13, align 8, !tbaa !11
  %2122 = icmp eq i64 %2121, 0
  br i1 %2122, label %2123, label %2124

2123:                                             ; preds = %2120
  store i8 1, ptr %51, align 1, !tbaa !27
  br label %2124

2124:                                             ; preds = %2123, %2120
  %2125 = getelementptr inbounds %struct.s2n_test_io_pair, ptr %18, i32 0, i32 1
  %2126 = load i32, ptr %2125, align 4, !tbaa !17
  %2127 = call i32 @s2n_stuffer_recv_from_fd(ptr noundef %24, i32 noundef %2126, i32 noundef 10000, ptr noundef null)
  %2128 = getelementptr inbounds %struct.s2n_test_io_pair, ptr %18, i32 0, i32 1
  %2129 = load i32, ptr %2128, align 4, !tbaa !17
  %2130 = getelementptr inbounds %struct.s2n_stuffer, ptr %25, i32 0, i32 2
  %2131 = load i32, ptr %2130, align 4, !tbaa !19
  %2132 = getelementptr inbounds %struct.s2n_stuffer, ptr %25, i32 0, i32 1
  %2133 = load i32, ptr %2132, align 8, !tbaa !22
  %2134 = sub i32 %2131, %2133
  %2135 = call i32 @s2n_stuffer_send_to_fd(ptr noundef %25, i32 noundef %2129, i32 noundef %2134, ptr noundef null)
  br label %2136

2136:                                             ; preds = %2124
  %2137 = load i8, ptr %51, align 1, !tbaa !27
  %2138 = icmp ne i8 %2137, 0
  %2139 = xor i1 %2138, true
  br i1 %2139, label %2045, label %2140, !llvm.loop !28

2140:                                             ; preds = %2136
  br label %2141

2141:                                             ; preds = %2140
  %2142 = load i32, ptr @test_count, align 4, !tbaa !5
  %2143 = add nsw i32 %2142, 1
  store i32 %2143, ptr @test_count, align 4, !tbaa !5
  %2144 = call i32 @waitpid(i32 noundef -1, ptr noundef %7, i32 noundef 0)
  %2145 = load i32, ptr %8, align 4, !tbaa !5
  %2146 = icmp eq i32 %2144, %2145
  br i1 %2146, label %2200, label %2147

2147:                                             ; preds = %2141
  br label %2148

2148:                                             ; preds = %2147
  br label %2149

2149:                                             ; preds = %2148
  call void @llvm.lifetime.start.p0(i64 4, ptr %53) #10
  %2150 = call ptr @__errno_location() #11
  %2151 = load i32, ptr %2150, align 4, !tbaa !5
  store i32 %2151, ptr %53, align 4, !tbaa !5
  %2152 = load ptr, ptr @stderr, align 8, !tbaa !9
  %2153 = call i32 @s2n_print_stacktrace(ptr noundef %2152)
  %2154 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !13, !range !15, !noundef !16
  %2155 = trunc i8 %2154 to i1
  br i1 %2155, label %2156, label %2178

2156:                                             ; preds = %2149
  %2157 = load ptr, ptr @stderr, align 8, !tbaa !9
  %2158 = call i32 @fileno(ptr noundef %2157) #10
  %2159 = call i32 @isatty(i32 noundef %2158) #10
  %2160 = icmp ne i32 %2159, 0
  br i1 %2160, label %2161, label %2178

2161:                                             ; preds = %2156
  %2162 = load i32, ptr %53, align 4, !tbaa !5
  %2163 = call ptr @__errno_location() #11
  store i32 %2162, ptr %2163, align 4, !tbaa !5
  %2164 = load ptr, ptr @stderr, align 8, !tbaa !9
  %2165 = load i32, ptr @test_count, align 4, !tbaa !5
  %2166 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %2167 = load i32, ptr %2166, align 4, !tbaa !5
  %2168 = call ptr @s2n_strerror(i32 noundef %2167, ptr noundef @.str.3)
  %2169 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %2170 = load i32, ptr %2169, align 4, !tbaa !5
  %2171 = call ptr @s2n_strerror_debug(i32 noundef %2170, ptr noundef @.str.3)
  %2172 = call ptr @__errno_location() #11
  %2173 = load i32, ptr %2172, align 4, !tbaa !5
  %2174 = call ptr @strerror(i32 noundef %2173) #10
  %2175 = call ptr @__errno_location() #11
  %2176 = load i32, ptr %2175, align 4, !tbaa !5
  %2177 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %2164, ptr noundef @.str, i32 noundef %2165, ptr noundef @.str.35, ptr noundef @.str.2, i32 noundef 192, ptr noundef %2168, ptr noundef %2171, ptr noundef %2174, i32 noundef %2176) #10
  br label %2195

2178:                                             ; preds = %2156, %2149
  %2179 = load i32, ptr %53, align 4, !tbaa !5
  %2180 = call ptr @__errno_location() #11
  store i32 %2179, ptr %2180, align 4, !tbaa !5
  %2181 = load ptr, ptr @stderr, align 8, !tbaa !9
  %2182 = load i32, ptr @test_count, align 4, !tbaa !5
  %2183 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %2184 = load i32, ptr %2183, align 4, !tbaa !5
  %2185 = call ptr @s2n_strerror(i32 noundef %2184, ptr noundef @.str.3)
  %2186 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %2187 = load i32, ptr %2186, align 4, !tbaa !5
  %2188 = call ptr @s2n_strerror_debug(i32 noundef %2187, ptr noundef @.str.3)
  %2189 = call ptr @__errno_location() #11
  %2190 = load i32, ptr %2189, align 4, !tbaa !5
  %2191 = call ptr @strerror(i32 noundef %2190) #10
  %2192 = call ptr @__errno_location() #11
  %2193 = load i32, ptr %2192, align 4, !tbaa !5
  %2194 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %2181, ptr noundef @.str.4, i32 noundef %2182, ptr noundef @.str.35, ptr noundef @.str.2, i32 noundef 192, ptr noundef %2185, ptr noundef %2188, ptr noundef %2191, i32 noundef %2193) #10
  br label %2195

2195:                                             ; preds = %2178, %2161
  call void @llvm.lifetime.end.p0(i64 4, ptr %53) #10
  br label %2196

2196:                                             ; preds = %2195
  br label %2197

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

2198:                                             ; No predecessors!
  br label %2199

2199:                                             ; preds = %2198
  br label %2200

2200:                                             ; preds = %2199, %2141
  br label %2201

2201:                                             ; preds = %2200
  br label %2202

2202:                                             ; preds = %2201
  br label %2203

2203:                                             ; preds = %2202
  %2204 = load i32, ptr @test_count, align 4, !tbaa !5
  %2205 = add nsw i32 %2204, 1
  store i32 %2205, ptr @test_count, align 4, !tbaa !5
  %2206 = load i32, ptr %7, align 4, !tbaa !5
  %2207 = icmp eq i32 %2206, 0
  br i1 %2207, label %2261, label %2208

2208:                                             ; preds = %2203
  br label %2209

2209:                                             ; preds = %2208
  br label %2210

2210:                                             ; preds = %2209
  call void @llvm.lifetime.start.p0(i64 4, ptr %54) #10
  %2211 = call ptr @__errno_location() #11
  %2212 = load i32, ptr %2211, align 4, !tbaa !5
  store i32 %2212, ptr %54, align 4, !tbaa !5
  %2213 = load ptr, ptr @stderr, align 8, !tbaa !9
  %2214 = call i32 @s2n_print_stacktrace(ptr noundef %2213)
  %2215 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !13, !range !15, !noundef !16
  %2216 = trunc i8 %2215 to i1
  br i1 %2216, label %2217, label %2239

2217:                                             ; preds = %2210
  %2218 = load ptr, ptr @stderr, align 8, !tbaa !9
  %2219 = call i32 @fileno(ptr noundef %2218) #10
  %2220 = call i32 @isatty(i32 noundef %2219) #10
  %2221 = icmp ne i32 %2220, 0
  br i1 %2221, label %2222, label %2239

2222:                                             ; preds = %2217
  %2223 = load i32, ptr %54, align 4, !tbaa !5
  %2224 = call ptr @__errno_location() #11
  store i32 %2223, ptr %2224, align 4, !tbaa !5
  %2225 = load ptr, ptr @stderr, align 8, !tbaa !9
  %2226 = load i32, ptr @test_count, align 4, !tbaa !5
  %2227 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %2228 = load i32, ptr %2227, align 4, !tbaa !5
  %2229 = call ptr @s2n_strerror(i32 noundef %2228, ptr noundef @.str.3)
  %2230 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %2231 = load i32, ptr %2230, align 4, !tbaa !5
  %2232 = call ptr @s2n_strerror_debug(i32 noundef %2231, ptr noundef @.str.3)
  %2233 = call ptr @__errno_location() #11
  %2234 = load i32, ptr %2233, align 4, !tbaa !5
  %2235 = call ptr @strerror(i32 noundef %2234) #10
  %2236 = call ptr @__errno_location() #11
  %2237 = load i32, ptr %2236, align 4, !tbaa !5
  %2238 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %2225, ptr noundef @.str, i32 noundef %2226, ptr noundef @.str.36, ptr noundef @.str.2, i32 noundef 193, ptr noundef %2229, ptr noundef %2232, ptr noundef %2235, i32 noundef %2237) #10
  br label %2256

2239:                                             ; preds = %2217, %2210
  %2240 = load i32, ptr %54, align 4, !tbaa !5
  %2241 = call ptr @__errno_location() #11
  store i32 %2240, ptr %2241, align 4, !tbaa !5
  %2242 = load ptr, ptr @stderr, align 8, !tbaa !9
  %2243 = load i32, ptr @test_count, align 4, !tbaa !5
  %2244 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %2245 = load i32, ptr %2244, align 4, !tbaa !5
  %2246 = call ptr @s2n_strerror(i32 noundef %2245, ptr noundef @.str.3)
  %2247 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %2248 = load i32, ptr %2247, align 4, !tbaa !5
  %2249 = call ptr @s2n_strerror_debug(i32 noundef %2248, ptr noundef @.str.3)
  %2250 = call ptr @__errno_location() #11
  %2251 = load i32, ptr %2250, align 4, !tbaa !5
  %2252 = call ptr @strerror(i32 noundef %2251) #10
  %2253 = call ptr @__errno_location() #11
  %2254 = load i32, ptr %2253, align 4, !tbaa !5
  %2255 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %2242, ptr noundef @.str.4, i32 noundef %2243, ptr noundef @.str.36, ptr noundef @.str.2, i32 noundef 193, ptr noundef %2246, ptr noundef %2249, ptr noundef %2252, i32 noundef %2254) #10
  br label %2256

2256:                                             ; preds = %2239, %2222
  call void @llvm.lifetime.end.p0(i64 4, ptr %54) #10
  br label %2257

2257:                                             ; preds = %2256
  br label %2258

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

2259:                                             ; No predecessors!
  br label %2260

2260:                                             ; preds = %2259
  br label %2261

2261:                                             ; preds = %2260, %2203
  br label %2262

2262:                                             ; preds = %2261
  br label %2263

2263:                                             ; preds = %2262
  %2264 = load ptr, ptr %9, align 8, !tbaa !9
  call void @free(ptr noundef %2264) #10
  %2265 = load ptr, ptr %10, align 8, !tbaa !9
  call void @free(ptr noundef %2265) #10
  br label %2266

2266:                                             ; preds = %2263
  %2267 = load i32, ptr @test_count, align 4, !tbaa !5
  %2268 = add nsw i32 %2267, 1
  store i32 %2268, ptr @test_count, align 4, !tbaa !5
  %2269 = call i32 @s2n_io_pair_close_one_end(ptr noundef %18, i32 noundef 0)
  %2270 = icmp eq i32 %2269, -1
  br i1 %2270, label %2271, label %2324

2271:                                             ; preds = %2266
  br label %2272

2272:                                             ; preds = %2271
  br label %2273

2273:                                             ; preds = %2272
  call void @llvm.lifetime.start.p0(i64 4, ptr %55) #10
  %2274 = call ptr @__errno_location() #11
  %2275 = load i32, ptr %2274, align 4, !tbaa !5
  store i32 %2275, ptr %55, align 4, !tbaa !5
  %2276 = load ptr, ptr @stderr, align 8, !tbaa !9
  %2277 = call i32 @s2n_print_stacktrace(ptr noundef %2276)
  %2278 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !13, !range !15, !noundef !16
  %2279 = trunc i8 %2278 to i1
  br i1 %2279, label %2280, label %2302

2280:                                             ; preds = %2273
  %2281 = load ptr, ptr @stderr, align 8, !tbaa !9
  %2282 = call i32 @fileno(ptr noundef %2281) #10
  %2283 = call i32 @isatty(i32 noundef %2282) #10
  %2284 = icmp ne i32 %2283, 0
  br i1 %2284, label %2285, label %2302

2285:                                             ; preds = %2280
  %2286 = load i32, ptr %55, align 4, !tbaa !5
  %2287 = call ptr @__errno_location() #11
  store i32 %2286, ptr %2287, align 4, !tbaa !5
  %2288 = load ptr, ptr @stderr, align 8, !tbaa !9
  %2289 = load i32, ptr @test_count, align 4, !tbaa !5
  %2290 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %2291 = load i32, ptr %2290, align 4, !tbaa !5
  %2292 = call ptr @s2n_strerror(i32 noundef %2291, ptr noundef @.str.3)
  %2293 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %2294 = load i32, ptr %2293, align 4, !tbaa !5
  %2295 = call ptr @s2n_strerror_debug(i32 noundef %2294, ptr noundef @.str.3)
  %2296 = call ptr @__errno_location() #11
  %2297 = load i32, ptr %2296, align 4, !tbaa !5
  %2298 = call ptr @strerror(i32 noundef %2297) #10
  %2299 = call ptr @__errno_location() #11
  %2300 = load i32, ptr %2299, align 4, !tbaa !5
  %2301 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %2288, ptr noundef @.str, i32 noundef %2289, ptr noundef @.str.11, ptr noundef @.str.2, i32 noundef 199, ptr noundef %2292, ptr noundef %2295, ptr noundef %2298, i32 noundef %2300) #10
  br label %2319

2302:                                             ; preds = %2280, %2273
  %2303 = load i32, ptr %55, align 4, !tbaa !5
  %2304 = call ptr @__errno_location() #11
  store i32 %2303, ptr %2304, align 4, !tbaa !5
  %2305 = load ptr, ptr @stderr, align 8, !tbaa !9
  %2306 = load i32, ptr @test_count, align 4, !tbaa !5
  %2307 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %2308 = load i32, ptr %2307, align 4, !tbaa !5
  %2309 = call ptr @s2n_strerror(i32 noundef %2308, ptr noundef @.str.3)
  %2310 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %2311 = load i32, ptr %2310, align 4, !tbaa !5
  %2312 = call ptr @s2n_strerror_debug(i32 noundef %2311, ptr noundef @.str.3)
  %2313 = call ptr @__errno_location() #11
  %2314 = load i32, ptr %2313, align 4, !tbaa !5
  %2315 = call ptr @strerror(i32 noundef %2314) #10
  %2316 = call ptr @__errno_location() #11
  %2317 = load i32, ptr %2316, align 4, !tbaa !5
  %2318 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %2305, ptr noundef @.str.4, i32 noundef %2306, ptr noundef @.str.11, ptr noundef @.str.2, i32 noundef 199, ptr noundef %2309, ptr noundef %2312, ptr noundef %2315, i32 noundef %2317) #10
  br label %2319

2319:                                             ; preds = %2302, %2285
  call void @llvm.lifetime.end.p0(i64 4, ptr %55) #10
  br label %2320

2320:                                             ; preds = %2319
  br label %2321

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

2322:                                             ; No predecessors!
  br label %2323

2323:                                             ; preds = %2322
  br label %2324

2324:                                             ; preds = %2323, %2266
  br label %2325

2325:                                             ; preds = %2324
  br label %2326

2326:                                             ; preds = %2325
  %2327 = call i32 @s2n_cleanup()
  br label %2328

2328:                                             ; preds = %2326
  br label %2329

2329:                                             ; preds = %2328
  %2330 = call i32 @s2n_cleanup()
  %2331 = icmp eq i32 %2330, -1
  br i1 %2331, label %2332, label %2385

2332:                                             ; preds = %2329
  br label %2333

2333:                                             ; preds = %2332
  br label %2334

2334:                                             ; preds = %2333
  call void @llvm.lifetime.start.p0(i64 4, ptr %56) #10
  %2335 = call ptr @__errno_location() #11
  %2336 = load i32, ptr %2335, align 4, !tbaa !5
  store i32 %2336, ptr %56, align 4, !tbaa !5
  %2337 = load ptr, ptr @stderr, align 8, !tbaa !9
  %2338 = call i32 @s2n_print_stacktrace(ptr noundef %2337)
  %2339 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !13, !range !15, !noundef !16
  %2340 = trunc i8 %2339 to i1
  br i1 %2340, label %2341, label %2363

2341:                                             ; preds = %2334
  %2342 = load ptr, ptr @stderr, align 8, !tbaa !9
  %2343 = call i32 @fileno(ptr noundef %2342) #10
  %2344 = call i32 @isatty(i32 noundef %2343) #10
  %2345 = icmp ne i32 %2344, 0
  br i1 %2345, label %2346, label %2363

2346:                                             ; preds = %2341
  %2347 = load i32, ptr %56, align 4, !tbaa !5
  %2348 = call ptr @__errno_location() #11
  store i32 %2347, ptr %2348, align 4, !tbaa !5
  %2349 = load ptr, ptr @stderr, align 8, !tbaa !9
  %2350 = load i32, ptr @test_count, align 4, !tbaa !5
  %2351 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %2352 = load i32, ptr %2351, align 4, !tbaa !5
  %2353 = call ptr @s2n_strerror(i32 noundef %2352, ptr noundef @.str.3)
  %2354 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %2355 = load i32, ptr %2354, align 4, !tbaa !5
  %2356 = call ptr @s2n_strerror_debug(i32 noundef %2355, ptr noundef @.str.3)
  %2357 = call ptr @__errno_location() #11
  %2358 = load i32, ptr %2357, align 4, !tbaa !5
  %2359 = call ptr @strerror(i32 noundef %2358) #10
  %2360 = call ptr @__errno_location() #11
  %2361 = load i32, ptr %2360, align 4, !tbaa !5
  %2362 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %2349, ptr noundef @.str, i32 noundef %2350, ptr noundef @.str.37, ptr noundef @.str.2, i32 noundef 202, ptr noundef %2353, ptr noundef %2356, ptr noundef %2359, i32 noundef %2361) #10
  br label %2380

2363:                                             ; preds = %2341, %2334
  %2364 = load i32, ptr %56, align 4, !tbaa !5
  %2365 = call ptr @__errno_location() #11
  store i32 %2364, ptr %2365, align 4, !tbaa !5
  %2366 = load ptr, ptr @stderr, align 8, !tbaa !9
  %2367 = load i32, ptr @test_count, align 4, !tbaa !5
  %2368 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %2369 = load i32, ptr %2368, align 4, !tbaa !5
  %2370 = call ptr @s2n_strerror(i32 noundef %2369, ptr noundef @.str.3)
  %2371 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %2372 = load i32, ptr %2371, align 4, !tbaa !5
  %2373 = call ptr @s2n_strerror_debug(i32 noundef %2372, ptr noundef @.str.3)
  %2374 = call ptr @__errno_location() #11
  %2375 = load i32, ptr %2374, align 4, !tbaa !5
  %2376 = call ptr @strerror(i32 noundef %2375) #10
  %2377 = call ptr @__errno_location() #11
  %2378 = load i32, ptr %2377, align 4, !tbaa !5
  %2379 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %2366, ptr noundef @.str.4, i32 noundef %2367, ptr noundef @.str.37, ptr noundef @.str.2, i32 noundef 202, ptr noundef %2370, ptr noundef %2373, ptr noundef %2376, i32 noundef %2378) #10
  br label %2380

2380:                                             ; preds = %2363, %2346
  call void @llvm.lifetime.end.p0(i64 4, ptr %56) #10
  br label %2381

2381:                                             ; preds = %2380
  br label %2382

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

2383:                                             ; No predecessors!
  br label %2384

2384:                                             ; preds = %2383
  br label %2385

2385:                                             ; preds = %2384, %2329
  br label %2386

2386:                                             ; preds = %2385
  br label %2387

2387:                                             ; preds = %2386
  br label %2388

2388:                                             ; preds = %2387
  br label %2389

2389:                                             ; preds = %2388
  %2390 = call i32 @s2n_in_unit_test_set(i1 noundef zeroext false)
  %2391 = icmp eq i32 %2390, -1
  br i1 %2391, label %2392, label %2445

2392:                                             ; preds = %2389
  br label %2393

2393:                                             ; preds = %2392
  br label %2394

2394:                                             ; preds = %2393
  call void @llvm.lifetime.start.p0(i64 4, ptr %57) #10
  %2395 = call ptr @__errno_location() #11
  %2396 = load i32, ptr %2395, align 4, !tbaa !5
  store i32 %2396, ptr %57, align 4, !tbaa !5
  %2397 = load ptr, ptr @stderr, align 8, !tbaa !9
  %2398 = call i32 @s2n_print_stacktrace(ptr noundef %2397)
  %2399 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !13, !range !15, !noundef !16
  %2400 = trunc i8 %2399 to i1
  br i1 %2400, label %2401, label %2423

2401:                                             ; preds = %2394
  %2402 = load ptr, ptr @stderr, align 8, !tbaa !9
  %2403 = call i32 @fileno(ptr noundef %2402) #10
  %2404 = call i32 @isatty(i32 noundef %2403) #10
  %2405 = icmp ne i32 %2404, 0
  br i1 %2405, label %2406, label %2423

2406:                                             ; preds = %2401
  %2407 = load i32, ptr %57, align 4, !tbaa !5
  %2408 = call ptr @__errno_location() #11
  store i32 %2407, ptr %2408, align 4, !tbaa !5
  %2409 = load ptr, ptr @stderr, align 8, !tbaa !9
  %2410 = load i32, ptr @test_count, align 4, !tbaa !5
  %2411 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %2412 = load i32, ptr %2411, align 4, !tbaa !5
  %2413 = call ptr @s2n_strerror(i32 noundef %2412, ptr noundef @.str.3)
  %2414 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %2415 = load i32, ptr %2414, align 4, !tbaa !5
  %2416 = call ptr @s2n_strerror_debug(i32 noundef %2415, ptr noundef @.str.3)
  %2417 = call ptr @__errno_location() #11
  %2418 = load i32, ptr %2417, align 4, !tbaa !5
  %2419 = call ptr @strerror(i32 noundef %2418) #10
  %2420 = call ptr @__errno_location() #11
  %2421 = load i32, ptr %2420, align 4, !tbaa !5
  %2422 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %2409, ptr noundef @.str, i32 noundef %2410, ptr noundef @.str.38, ptr noundef @.str.2, i32 noundef 202, ptr noundef %2413, ptr noundef %2416, ptr noundef %2419, i32 noundef %2421) #10
  br label %2440

2423:                                             ; preds = %2401, %2394
  %2424 = load i32, ptr %57, align 4, !tbaa !5
  %2425 = call ptr @__errno_location() #11
  store i32 %2424, ptr %2425, align 4, !tbaa !5
  %2426 = load ptr, ptr @stderr, align 8, !tbaa !9
  %2427 = load i32, ptr @test_count, align 4, !tbaa !5
  %2428 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %2429 = load i32, ptr %2428, align 4, !tbaa !5
  %2430 = call ptr @s2n_strerror(i32 noundef %2429, ptr noundef @.str.3)
  %2431 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %2432 = load i32, ptr %2431, align 4, !tbaa !5
  %2433 = call ptr @s2n_strerror_debug(i32 noundef %2432, ptr noundef @.str.3)
  %2434 = call ptr @__errno_location() #11
  %2435 = load i32, ptr %2434, align 4, !tbaa !5
  %2436 = call ptr @strerror(i32 noundef %2435) #10
  %2437 = call ptr @__errno_location() #11
  %2438 = load i32, ptr %2437, align 4, !tbaa !5
  %2439 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %2426, ptr noundef @.str.4, i32 noundef %2427, ptr noundef @.str.38, ptr noundef @.str.2, i32 noundef 202, ptr noundef %2430, ptr noundef %2433, ptr noundef %2436, i32 noundef %2438) #10
  br label %2440

2440:                                             ; preds = %2423, %2406
  call void @llvm.lifetime.end.p0(i64 4, ptr %57) #10
  br label %2441

2441:                                             ; preds = %2440
  br label %2442

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

2443:                                             ; No predecessors!
  br label %2444

2444:                                             ; preds = %2443
  br label %2445

2445:                                             ; preds = %2444, %2389
  br label %2446

2446:                                             ; preds = %2445
  br label %2447

2447:                                             ; preds = %2446
  %2448 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !13, !range !15, !noundef !16
  %2449 = trunc i8 %2448 to i1
  br i1 %2449, label %2450, label %2466

2450:                                             ; preds = %2447
  %2451 = load ptr, ptr @stdout, align 8, !tbaa !9
  %2452 = call i32 @fileno(ptr noundef %2451) #10
  %2453 = call i32 @isatty(i32 noundef %2452) #10
  %2454 = icmp ne i32 %2453, 0
  br i1 %2454, label %2455, label %2466

2455:                                             ; preds = %2450
  %2456 = load i32, ptr @test_count, align 4, !tbaa !5
  %2457 = icmp ne i32 %2456, 0
  br i1 %2457, label %2458, label %2462

2458:                                             ; preds = %2455
  %2459 = load ptr, ptr @stdout, align 8, !tbaa !9
  %2460 = load i32, ptr @test_count, align 4, !tbaa !5
  %2461 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %2459, ptr noundef @.str.39, i32 noundef %2460) #10
  br label %2465

2462:                                             ; preds = %2455
  %2463 = load ptr, ptr @stdout, align 8, !tbaa !9
  %2464 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %2463, ptr noundef @.str.40) #10
  br label %2465

2465:                                             ; preds = %2462, %2458
  br label %2477

2466:                                             ; preds = %2450, %2447
  %2467 = load i32, ptr @test_count, align 4, !tbaa !5
  %2468 = icmp ne i32 %2467, 0
  br i1 %2468, label %2469, label %2473

2469:                                             ; preds = %2466
  %2470 = load ptr, ptr @stdout, align 8, !tbaa !9
  %2471 = load i32, ptr @test_count, align 4, !tbaa !5
  %2472 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %2470, ptr noundef @.str.41, i32 noundef %2471) #10
  br label %2476

2473:                                             ; preds = %2466
  %2474 = load ptr, ptr @stdout, align 8, !tbaa !9
  %2475 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %2474, ptr noundef @.str.42) #10
  br label %2476

2476:                                             ; preds = %2473, %2469
  br label %2477

2477:                                             ; preds = %2476, %2465
  store i32 0, ptr %3, align 4
  store i32 1, ptr %40, align 4
  br label %2482

2478:                                             ; No predecessors!
  br label %2479

2479:                                             ; preds = %2478
  br label %2480

2480:                                             ; preds = %2479
  br label %2481

2481:                                             ; preds = %2480
  store i32 0, ptr %3, align 4
  store i32 1, ptr %40, align 4
  br label %2482

2482:                                             ; preds = %2481, %2477
  call void @llvm.lifetime.end.p0(i64 1, ptr %51) #10
  br label %2483

2483:                                             ; preds = %2482, %1837, %1362
  %2484 = call i32 @s2n_stuffer_free(ptr noundef %25)
  call void @llvm.lifetime.end.p0(i64 40, ptr %25) #10
  %2485 = call i32 @s2n_stuffer_free(ptr noundef %24)
  call void @llvm.lifetime.end.p0(i64 40, ptr %24) #10
  %2486 = call i32 @s2n_cert_chain_and_key_ptr_free(ptr noundef %23)
  %2487 = getelementptr inbounds %struct.s2n_result, ptr %58, i32 0, i32 0
  store i32 %2486, ptr %2487, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #10
  %2488 = call i32 @s2n_connection_ptr_free(ptr noundef %22)
  %2489 = getelementptr inbounds %struct.s2n_result, ptr %59, i32 0, i32 0
  store i32 %2488, ptr %2489, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #10
  %2490 = call i32 @s2n_config_ptr_free(ptr noundef %21)
  %2491 = getelementptr inbounds %struct.s2n_result, ptr %60, i32 0, i32 0
  store i32 %2490, ptr %2491, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #10
  %2492 = call i32 @s2n_io_pair_close(ptr noundef %18)
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #10
  call void @llvm.lifetime.end.p0(i64 1023, ptr %11) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #10
  %2493 = load i32, ptr %3, align 4
  ret i32 %2493
}

declare i32 @fflush(ptr noundef) #2

declare i32 @s2n_in_unit_test_set(i1 noundef zeroext) #2

declare i32 @s2n_enable_atexit() #2

declare i32 @s2n_init() #2

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

; Function Attrs: nounwind
declare i32 @fork() #4

declare i32 @s2n_config_ptr_free(ptr noundef) #2

declare i32 @s2n_connection_ptr_free(ptr noundef) #2

declare ptr @s2n_cert_chain_and_key_new() #2

declare i32 @s2n_cert_chain_and_key_ptr_free(ptr noundef) #2

declare i32 @s2n_stuffer_free(ptr noundef) #2

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

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

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

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

declare i32 @s2n_fd_set_non_blocking(i32 noundef) #2

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

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

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

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

declare i64 @s2n_recv(ptr noundef, ptr noundef, i64 noundef, ptr noundef) #2

declare void @s2n_debug_info_reset() #2

declare i32 @s2n_connection_release_buffers(ptr noundef) #2

declare i32 @s2n_error_get_type(i32 noundef) #2

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

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

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

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

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

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


; 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.s2n_test_io_pair = type { i32, i32 }
%struct.s2n_stuffer = type { %struct.s2n_blob, i32, i32, i32, i8 }
%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
@stderr = external local_unnamed_addr global ptr, align 8
@.str = external hidden unnamed_addr constant [101 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [93 x i8], align 1
@s2n_errno = external thread_local local_unnamed_addr global i32, align 4
@.str.3 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [90 x i8], align 1
@stdout = external local_unnamed_addr global ptr, align 8
@.str.5 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [56 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [55 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [76 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [65 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [66 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [60 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [132 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [58 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [131 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [108 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [94 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [76 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [68 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [68 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [63 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [64 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [76 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [80 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [68 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [70 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [44 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [62 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [65 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.42 = external hidden unnamed_addr constant [25 x i8], align 1
@buf_to_send = external hidden constant <{ i8, [1022 x i8] }>, align 16

; Function Attrs: nounwind uwtable
declare dso_local i32 @mock_client(ptr noundef) local_unnamed_addr #0

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

declare ptr @s2n_connection_new(i32 noundef) local_unnamed_addr #2

declare ptr @s2n_config_new() local_unnamed_addr #2

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

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

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

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

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

declare i32 @s2n_print_stacktrace(ptr noundef) local_unnamed_addr #2

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

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

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

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 #4

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

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

declare i32 @s2n_cleanup() local_unnamed_addr #2

; 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 i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca [1023 x i8], align 16
  %6 = alloca i32, align 4
  %7 = alloca %struct.s2n_test_io_pair, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca %struct.s2n_stuffer, align 8
  %12 = alloca %struct.s2n_stuffer, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #11
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #11
  store i32 0, ptr %4, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1023, ptr nonnull %5) #11
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #11
  store i32 0, ptr %6, align 4, !tbaa !5
  store i32 0, ptr @test_count, align 4, !tbaa !5
  %13 = load ptr, ptr @stdout, align 8, !tbaa !9
  %14 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %13, ptr noundef nonnull @.str.5, ptr noundef nonnull @.str.2) #11
  %15 = load ptr, ptr @stdout, align 8, !tbaa !9
  %16 = tail call i32 @fflush(ptr noundef %15)
  %17 = tail call i32 @s2n_in_unit_test_set(i1 noundef zeroext true) #11
  %18 = icmp eq i32 %17, -1
  br i1 %18, label %19, label %43

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

26:                                               ; preds = %19
  %27 = load ptr, ptr @stderr, align 8, !tbaa !9
  %28 = tail call i32 @fileno(ptr noundef %27) #11
  %29 = tail call i32 @isatty(i32 noundef %28) #11
  %.not140 = icmp eq i32 %29, 0
  br i1 %.not140, label %30, label %31

30:                                               ; preds = %26, %19
  br label %31

31:                                               ; preds = %26, %30
  %.str.4.sink = phi ptr [ @.str.4, %30 ], [ @.str, %26 ]
  store i32 %21, ptr %20, align 4, !tbaa !5
  %32 = load ptr, ptr @stderr, align 8, !tbaa !9
  %33 = load i32, ptr @test_count, align 4, !tbaa !5
  %34 = tail call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %35 = load i32, ptr %34, align 4, !tbaa !5
  %36 = tail call ptr @s2n_strerror(i32 noundef %35, ptr noundef nonnull @.str.3) #11
  %37 = load i32, ptr %34, align 4, !tbaa !5
  %38 = tail call ptr @s2n_strerror_debug(i32 noundef %37, ptr noundef nonnull @.str.3) #11
  %39 = load i32, ptr %20, align 4, !tbaa !5
  %40 = tail call ptr @strerror(i32 noundef %39) #11
  %41 = load i32, ptr %20, align 4, !tbaa !5
  %42 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %32, ptr noundef nonnull %.str.4.sink, i32 noundef %33, ptr noundef nonnull @.str.6, ptr noundef nonnull @.str.2, i32 noundef 82, ptr noundef %36, ptr noundef %38, ptr noundef %40, i32 noundef %41) #13
  tail call void @exit(i32 noundef 1) #14
  unreachable

43:                                               ; preds = %2
  %44 = load i32, ptr @test_count, align 4, !tbaa !5
  %45 = add nsw i32 %44, 1
  store i32 %45, ptr @test_count, align 4, !tbaa !5
  %46 = tail call i32 @s2n_enable_atexit() #11
  %47 = icmp eq i32 %46, -1
  br i1 %47, label %48, label %72

48:                                               ; preds = %43
  %49 = tail call ptr @__errno_location() #12
  %50 = load i32, ptr %49, align 4, !tbaa !5
  %51 = load ptr, ptr @stderr, align 8, !tbaa !9
  %52 = tail call i32 @s2n_print_stacktrace(ptr noundef %51) #11
  %53 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %54 = trunc nuw i8 %53 to i1
  br i1 %54, label %55, label %59

55:                                               ; preds = %48
  %56 = load ptr, ptr @stderr, align 8, !tbaa !9
  %57 = tail call i32 @fileno(ptr noundef %56) #11
  %58 = tail call i32 @isatty(i32 noundef %57) #11
  %.not139 = icmp eq i32 %58, 0
  br i1 %.not139, label %59, label %60

59:                                               ; preds = %55, %48
  br label %60

60:                                               ; preds = %55, %59
  %.str.4.sink168 = phi ptr [ @.str.4, %59 ], [ @.str, %55 ]
  store i32 %50, ptr %49, align 4, !tbaa !5
  %61 = load ptr, ptr @stderr, align 8, !tbaa !9
  %62 = load i32, ptr @test_count, align 4, !tbaa !5
  %63 = tail call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %64 = load i32, ptr %63, align 4, !tbaa !5
  %65 = tail call ptr @s2n_strerror(i32 noundef %64, ptr noundef nonnull @.str.3) #11
  %66 = load i32, ptr %63, align 4, !tbaa !5
  %67 = tail call ptr @s2n_strerror_debug(i32 noundef %66, ptr noundef nonnull @.str.3) #11
  %68 = load i32, ptr %49, align 4, !tbaa !5
  %69 = tail call ptr @strerror(i32 noundef %68) #11
  %70 = load i32, ptr %49, align 4, !tbaa !5
  %71 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %61, ptr noundef nonnull %.str.4.sink168, i32 noundef %62, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.2, i32 noundef 82, ptr noundef %65, ptr noundef %67, ptr noundef %69, i32 noundef %70) #13
  tail call void @exit(i32 noundef 1) #14
  unreachable

72:                                               ; preds = %43
  %73 = tail call i32 @s2n_init() #11
  %74 = icmp eq i32 %73, -1
  br i1 %74, label %75, label %99

75:                                               ; preds = %72
  %76 = tail call ptr @__errno_location() #12
  %77 = load i32, ptr %76, align 4, !tbaa !5
  %78 = load ptr, ptr @stderr, align 8, !tbaa !9
  %79 = tail call i32 @s2n_print_stacktrace(ptr noundef %78) #11
  %80 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %81 = trunc nuw i8 %80 to i1
  br i1 %81, label %82, label %86

82:                                               ; preds = %75
  %83 = load ptr, ptr @stderr, align 8, !tbaa !9
  %84 = tail call i32 @fileno(ptr noundef %83) #11
  %85 = tail call i32 @isatty(i32 noundef %84) #11
  %.not138 = icmp eq i32 %85, 0
  br i1 %.not138, label %86, label %87

86:                                               ; preds = %82, %75
  br label %87

87:                                               ; preds = %82, %86
  %.str.4.sink179 = phi ptr [ @.str.4, %86 ], [ @.str, %82 ]
  store i32 %77, ptr %76, align 4, !tbaa !5
  %88 = load ptr, ptr @stderr, align 8, !tbaa !9
  %89 = load i32, ptr @test_count, align 4, !tbaa !5
  %90 = tail call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %91 = load i32, ptr %90, align 4, !tbaa !5
  %92 = tail call ptr @s2n_strerror(i32 noundef %91, ptr noundef nonnull @.str.3) #11
  %93 = load i32, ptr %90, align 4, !tbaa !5
  %94 = tail call ptr @s2n_strerror_debug(i32 noundef %93, ptr noundef nonnull @.str.3) #11
  %95 = load i32, ptr %76, align 4, !tbaa !5
  %96 = tail call ptr @strerror(i32 noundef %95) #11
  %97 = load i32, ptr %76, align 4, !tbaa !5
  %98 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %88, ptr noundef nonnull %.str.4.sink179, i32 noundef %89, ptr noundef nonnull @.str.8, ptr noundef nonnull @.str.2, i32 noundef 82, ptr noundef %92, ptr noundef %94, ptr noundef %96, i32 noundef %97) #13
  tail call void @exit(i32 noundef 1) #14
  unreachable

99:                                               ; preds = %72
  %100 = load i32, ptr @test_count, align 4, !tbaa !5
  %101 = add nsw i32 %100, 1
  store i32 %101, ptr @test_count, align 4, !tbaa !5
  %102 = tail call i32 (...) @s2n_disable_tls13_in_test() #11
  %103 = icmp eq i32 %102, -1
  br i1 %103, label %104, label %128

104:                                              ; preds = %99
  %105 = tail call ptr @__errno_location() #12
  %106 = load i32, ptr %105, align 4, !tbaa !5
  %107 = load ptr, ptr @stderr, align 8, !tbaa !9
  %108 = tail call i32 @s2n_print_stacktrace(ptr noundef %107) #11
  %109 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %110 = trunc nuw i8 %109 to i1
  br i1 %110, label %111, label %115

111:                                              ; preds = %104
  %112 = load ptr, ptr @stderr, align 8, !tbaa !9
  %113 = tail call i32 @fileno(ptr noundef %112) #11
  %114 = tail call i32 @isatty(i32 noundef %113) #11
  %.not137 = icmp eq i32 %114, 0
  br i1 %.not137, label %115, label %116

115:                                              ; preds = %111, %104
  br label %116

116:                                              ; preds = %111, %115
  %.str.4.sink190 = phi ptr [ @.str.4, %115 ], [ @.str, %111 ]
  store i32 %106, ptr %105, align 4, !tbaa !5
  %117 = load ptr, ptr @stderr, align 8, !tbaa !9
  %118 = load i32, ptr @test_count, align 4, !tbaa !5
  %119 = tail call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %120 = load i32, ptr %119, align 4, !tbaa !5
  %121 = tail call ptr @s2n_strerror(i32 noundef %120, ptr noundef nonnull @.str.3) #11
  %122 = load i32, ptr %119, align 4, !tbaa !5
  %123 = tail call ptr @s2n_strerror_debug(i32 noundef %122, ptr noundef nonnull @.str.3) #11
  %124 = load i32, ptr %105, align 4, !tbaa !5
  %125 = tail call ptr @strerror(i32 noundef %124) #11
  %126 = load i32, ptr %105, align 4, !tbaa !5
  %127 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %117, ptr noundef nonnull %.str.4.sink190, i32 noundef %118, ptr noundef nonnull @.str.9, ptr noundef nonnull @.str.2, i32 noundef 83, ptr noundef %121, ptr noundef %123, ptr noundef %125, i32 noundef %126) #13
  tail call void @exit(i32 noundef 1) #14
  unreachable

128:                                              ; preds = %99
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #11
  store i64 0, ptr %7, align 8
  %129 = load i32, ptr @test_count, align 4, !tbaa !5
  %130 = add nsw i32 %129, 1
  store i32 %130, ptr @test_count, align 4, !tbaa !5
  %131 = call i32 @s2n_io_pair_init(ptr noundef nonnull %7) #11
  %132 = icmp eq i32 %131, -1
  br i1 %132, label %133, label %157

133:                                              ; preds = %128
  %134 = tail call ptr @__errno_location() #12
  %135 = load i32, ptr %134, align 4, !tbaa !5
  %136 = load ptr, ptr @stderr, align 8, !tbaa !9
  %137 = call i32 @s2n_print_stacktrace(ptr noundef %136) #11
  %138 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %139 = trunc nuw i8 %138 to i1
  br i1 %139, label %140, label %144

140:                                              ; preds = %133
  %141 = load ptr, ptr @stderr, align 8, !tbaa !9
  %142 = call i32 @fileno(ptr noundef %141) #11
  %143 = call i32 @isatty(i32 noundef %142) #11
  %.not136 = icmp eq i32 %143, 0
  br i1 %.not136, label %144, label %145

144:                                              ; preds = %140, %133
  br label %145

145:                                              ; preds = %140, %144
  %.str.4.sink201 = phi ptr [ @.str.4, %144 ], [ @.str, %140 ]
  store i32 %135, ptr %134, align 4, !tbaa !5
  %146 = load ptr, ptr @stderr, align 8, !tbaa !9
  %147 = load i32, ptr @test_count, align 4, !tbaa !5
  %148 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %149 = load i32, ptr %148, align 4, !tbaa !5
  %150 = call ptr @s2n_strerror(i32 noundef %149, ptr noundef nonnull @.str.3) #11
  %151 = load i32, ptr %148, align 4, !tbaa !5
  %152 = call ptr @s2n_strerror_debug(i32 noundef %151, ptr noundef nonnull @.str.3) #11
  %153 = load i32, ptr %134, align 4, !tbaa !5
  %154 = call ptr @strerror(i32 noundef %153) #11
  %155 = load i32, ptr %134, align 4, !tbaa !5
  %156 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %146, ptr noundef nonnull %.str.4.sink201, i32 noundef %147, ptr noundef nonnull @.str.10, ptr noundef nonnull @.str.2, i32 noundef 87, ptr noundef %150, ptr noundef %152, ptr noundef %154, i32 noundef %155) #13
  call void @exit(i32 noundef 1) #14
  unreachable

157:                                              ; preds = %128
  %158 = call i32 @fork() #11
  %159 = icmp eq i32 %158, 0
  br i1 %159, label %160, label %191

160:                                              ; preds = %157
  %161 = load i32, ptr @test_count, align 4, !tbaa !5
  %162 = add nsw i32 %161, 1
  store i32 %162, ptr @test_count, align 4, !tbaa !5
  %163 = call i32 @s2n_io_pair_close_one_end(ptr noundef nonnull %7, i32 noundef 0) #11
  %164 = icmp eq i32 %163, -1
  br i1 %164, label %165, label %189

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

172:                                              ; preds = %165
  %173 = load ptr, ptr @stderr, align 8, !tbaa !9
  %174 = call i32 @fileno(ptr noundef %173) #11
  %175 = call i32 @isatty(i32 noundef %174) #11
  %.not135 = icmp eq i32 %175, 0
  br i1 %.not135, label %176, label %177

176:                                              ; preds = %172, %165
  br label %177

177:                                              ; preds = %172, %176
  %.str.4.sink212 = phi ptr [ @.str.4, %176 ], [ @.str, %172 ]
  store i32 %167, ptr %166, align 4, !tbaa !5
  %178 = load ptr, ptr @stderr, align 8, !tbaa !9
  %179 = load i32, ptr @test_count, align 4, !tbaa !5
  %180 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %181 = load i32, ptr %180, align 4, !tbaa !5
  %182 = call ptr @s2n_strerror(i32 noundef %181, ptr noundef nonnull @.str.3) #11
  %183 = load i32, ptr %180, align 4, !tbaa !5
  %184 = call ptr @s2n_strerror_debug(i32 noundef %183, ptr noundef nonnull @.str.3) #11
  %185 = load i32, ptr %166, align 4, !tbaa !5
  %186 = call ptr @strerror(i32 noundef %185) #11
  %187 = load i32, ptr %166, align 4, !tbaa !5
  %188 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %178, ptr noundef nonnull %.str.4.sink212, i32 noundef %179, ptr noundef nonnull @.str.11, ptr noundef nonnull @.str.2, i32 noundef 93, ptr noundef %182, ptr noundef %184, ptr noundef %186, i32 noundef %187) #13
  call void @exit(i32 noundef 1) #14
  unreachable

189:                                              ; preds = %160
  %190 = call i32 @mock_client(ptr noundef nonnull %7)
  br label %191

191:                                              ; preds = %189, %157
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #11
  %192 = call ptr @s2n_config_new() #11
  store ptr %192, ptr %8, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #11
  %193 = call ptr @s2n_connection_new(i32 noundef 0) #11
  store ptr %193, ptr %9, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #11
  %194 = call ptr @s2n_cert_chain_and_key_new() #11
  store ptr %194, ptr %10, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %11) #11
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %12) #11
  %195 = load i32, ptr @test_count, align 4, !tbaa !5
  %196 = add nsw i32 %195, 1
  store i32 %196, ptr @test_count, align 4, !tbaa !5
  %197 = call noalias dereferenceable_or_null(12000) ptr @malloc(i64 noundef 12000) #15
  %198 = icmp eq ptr %197, null
  br i1 %198, label %199, label %223

199:                                              ; preds = %191
  %200 = tail call ptr @__errno_location() #12
  %201 = load i32, ptr %200, align 4, !tbaa !5
  %202 = load ptr, ptr @stderr, align 8, !tbaa !9
  %203 = call i32 @s2n_print_stacktrace(ptr noundef %202) #11
  %204 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %205 = trunc nuw i8 %204 to i1
  br i1 %205, label %206, label %210

206:                                              ; preds = %199
  %207 = load ptr, ptr @stderr, align 8, !tbaa !9
  %208 = call i32 @fileno(ptr noundef %207) #11
  %209 = call i32 @isatty(i32 noundef %208) #11
  %.not134 = icmp eq i32 %209, 0
  br i1 %.not134, label %210, label %211

210:                                              ; preds = %206, %199
  br label %211

211:                                              ; preds = %206, %210
  %.str.4.sink223 = phi ptr [ @.str.4, %210 ], [ @.str, %206 ]
  store i32 %201, ptr %200, align 4, !tbaa !5
  %212 = load ptr, ptr @stderr, align 8, !tbaa !9
  %213 = load i32, ptr @test_count, align 4, !tbaa !5
  %214 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %215 = load i32, ptr %214, align 4, !tbaa !5
  %216 = call ptr @s2n_strerror(i32 noundef %215, ptr noundef nonnull @.str.3) #11
  %217 = load i32, ptr %214, align 4, !tbaa !5
  %218 = call ptr @s2n_strerror_debug(i32 noundef %217, ptr noundef nonnull @.str.3) #11
  %219 = load i32, ptr %200, align 4, !tbaa !5
  %220 = call ptr @strerror(i32 noundef %219) #11
  %221 = load i32, ptr %200, align 4, !tbaa !5
  %222 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %212, ptr noundef nonnull %.str.4.sink223, i32 noundef %213, ptr noundef nonnull @.str.12, ptr noundef nonnull @.str.2, i32 noundef 108, ptr noundef %216, ptr noundef %218, ptr noundef %220, i32 noundef %221) #13
  call void @exit(i32 noundef 1) #14
  unreachable

223:                                              ; preds = %191
  %224 = add nsw i32 %195, 2
  store i32 %224, ptr @test_count, align 4, !tbaa !5
  %225 = call noalias dereferenceable_or_null(12000) ptr @malloc(i64 noundef 12000) #15
  %226 = icmp eq ptr %225, null
  br i1 %226, label %227, label %251

227:                                              ; preds = %223
  %228 = tail call ptr @__errno_location() #12
  %229 = load i32, ptr %228, align 4, !tbaa !5
  %230 = load ptr, ptr @stderr, align 8, !tbaa !9
  %231 = call i32 @s2n_print_stacktrace(ptr noundef %230) #11
  %232 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %233 = trunc nuw i8 %232 to i1
  br i1 %233, label %234, label %238

234:                                              ; preds = %227
  %235 = load ptr, ptr @stderr, align 8, !tbaa !9
  %236 = call i32 @fileno(ptr noundef %235) #11
  %237 = call i32 @isatty(i32 noundef %236) #11
  %.not133 = icmp eq i32 %237, 0
  br i1 %.not133, label %238, label %239

238:                                              ; preds = %234, %227
  br label %239

239:                                              ; preds = %234, %238
  %.str.4.sink234 = phi ptr [ @.str.4, %238 ], [ @.str, %234 ]
  store i32 %229, ptr %228, align 4, !tbaa !5
  %240 = load ptr, ptr @stderr, align 8, !tbaa !9
  %241 = load i32, ptr @test_count, align 4, !tbaa !5
  %242 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %243 = load i32, ptr %242, align 4, !tbaa !5
  %244 = call ptr @s2n_strerror(i32 noundef %243, ptr noundef nonnull @.str.3) #11
  %245 = load i32, ptr %242, align 4, !tbaa !5
  %246 = call ptr @s2n_strerror_debug(i32 noundef %245, ptr noundef nonnull @.str.3) #11
  %247 = load i32, ptr %228, align 4, !tbaa !5
  %248 = call ptr @strerror(i32 noundef %247) #11
  %249 = load i32, ptr %228, align 4, !tbaa !5
  %250 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %240, ptr noundef nonnull %.str.4.sink234, i32 noundef %241, ptr noundef nonnull @.str.13, ptr noundef nonnull @.str.2, i32 noundef 109, ptr noundef %244, ptr noundef %246, ptr noundef %248, i32 noundef %249) #13
  call void @exit(i32 noundef 1) #14
  unreachable

251:                                              ; preds = %223
  %252 = add nsw i32 %195, 3
  store i32 %252, ptr @test_count, align 4, !tbaa !5
  %253 = call i32 @s2n_read_test_pem(ptr noundef nonnull @.str.14, ptr noundef nonnull %197, i64 noundef 12000) #11
  %254 = icmp eq i32 %253, -1
  br i1 %254, label %255, label %279

255:                                              ; preds = %251
  %256 = tail call ptr @__errno_location() #12
  %257 = load i32, ptr %256, align 4, !tbaa !5
  %258 = load ptr, ptr @stderr, align 8, !tbaa !9
  %259 = call i32 @s2n_print_stacktrace(ptr noundef %258) #11
  %260 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %261 = trunc nuw i8 %260 to i1
  br i1 %261, label %262, label %266

262:                                              ; preds = %255
  %263 = load ptr, ptr @stderr, align 8, !tbaa !9
  %264 = call i32 @fileno(ptr noundef %263) #11
  %265 = call i32 @isatty(i32 noundef %264) #11
  %.not132 = icmp eq i32 %265, 0
  br i1 %.not132, label %266, label %267

266:                                              ; preds = %262, %255
  br label %267

267:                                              ; preds = %262, %266
  %.str.4.sink245 = phi ptr [ @.str.4, %266 ], [ @.str, %262 ]
  store i32 %257, ptr %256, align 4, !tbaa !5
  %268 = load ptr, ptr @stderr, align 8, !tbaa !9
  %269 = load i32, ptr @test_count, align 4, !tbaa !5
  %270 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %271 = load i32, ptr %270, align 4, !tbaa !5
  %272 = call ptr @s2n_strerror(i32 noundef %271, ptr noundef nonnull @.str.3) #11
  %273 = load i32, ptr %270, align 4, !tbaa !5
  %274 = call ptr @s2n_strerror_debug(i32 noundef %273, ptr noundef nonnull @.str.3) #11
  %275 = load i32, ptr %256, align 4, !tbaa !5
  %276 = call ptr @strerror(i32 noundef %275) #11
  %277 = load i32, ptr %256, align 4, !tbaa !5
  %278 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %268, ptr noundef nonnull %.str.4.sink245, i32 noundef %269, ptr noundef nonnull @.str.15, ptr noundef nonnull @.str.2, i32 noundef 110, ptr noundef %272, ptr noundef %274, ptr noundef %276, i32 noundef %277) #13
  call void @exit(i32 noundef 1) #14
  unreachable

279:                                              ; preds = %251
  %280 = load i32, ptr @test_count, align 4, !tbaa !5
  %281 = add nsw i32 %280, 1
  store i32 %281, ptr @test_count, align 4, !tbaa !5
  %282 = call i32 @s2n_read_test_pem(ptr noundef nonnull @.str.16, ptr noundef nonnull %225, i64 noundef 12000) #11
  %283 = icmp eq i32 %282, -1
  br i1 %283, label %284, label %308

284:                                              ; preds = %279
  %285 = tail call ptr @__errno_location() #12
  %286 = load i32, ptr %285, align 4, !tbaa !5
  %287 = load ptr, ptr @stderr, align 8, !tbaa !9
  %288 = call i32 @s2n_print_stacktrace(ptr noundef %287) #11
  %289 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %290 = trunc nuw i8 %289 to i1
  br i1 %290, label %291, label %295

291:                                              ; preds = %284
  %292 = load ptr, ptr @stderr, align 8, !tbaa !9
  %293 = call i32 @fileno(ptr noundef %292) #11
  %294 = call i32 @isatty(i32 noundef %293) #11
  %.not131 = icmp eq i32 %294, 0
  br i1 %.not131, label %295, label %296

295:                                              ; preds = %291, %284
  br label %296

296:                                              ; preds = %291, %295
  %.str.4.sink256 = phi ptr [ @.str.4, %295 ], [ @.str, %291 ]
  store i32 %286, ptr %285, align 4, !tbaa !5
  %297 = load ptr, ptr @stderr, align 8, !tbaa !9
  %298 = load i32, ptr @test_count, align 4, !tbaa !5
  %299 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %300 = load i32, ptr %299, align 4, !tbaa !5
  %301 = call ptr @s2n_strerror(i32 noundef %300, ptr noundef nonnull @.str.3) #11
  %302 = load i32, ptr %299, align 4, !tbaa !5
  %303 = call ptr @s2n_strerror_debug(i32 noundef %302, ptr noundef nonnull @.str.3) #11
  %304 = load i32, ptr %285, align 4, !tbaa !5
  %305 = call ptr @strerror(i32 noundef %304) #11
  %306 = load i32, ptr %285, align 4, !tbaa !5
  %307 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %297, ptr noundef nonnull %.str.4.sink256, i32 noundef %298, ptr noundef nonnull @.str.17, ptr noundef nonnull @.str.2, i32 noundef 111, ptr noundef %301, ptr noundef %303, ptr noundef %305, i32 noundef %306) #13
  call void @exit(i32 noundef 1) #14
  unreachable

308:                                              ; preds = %279
  %309 = load i32, ptr @test_count, align 4, !tbaa !5
  %310 = add nsw i32 %309, 1
  store i32 %310, ptr @test_count, align 4, !tbaa !5
  %311 = call i32 @s2n_cert_chain_and_key_load_pem(ptr noundef %194, ptr noundef nonnull %197, ptr noundef nonnull %225) #11
  %312 = icmp eq i32 %311, -1
  br i1 %312, label %313, label %337

313:                                              ; preds = %308
  %314 = tail call ptr @__errno_location() #12
  %315 = load i32, ptr %314, align 4, !tbaa !5
  %316 = load ptr, ptr @stderr, align 8, !tbaa !9
  %317 = call i32 @s2n_print_stacktrace(ptr noundef %316) #11
  %318 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %319 = trunc nuw i8 %318 to i1
  br i1 %319, label %320, label %324

320:                                              ; preds = %313
  %321 = load ptr, ptr @stderr, align 8, !tbaa !9
  %322 = call i32 @fileno(ptr noundef %321) #11
  %323 = call i32 @isatty(i32 noundef %322) #11
  %.not130 = icmp eq i32 %323, 0
  br i1 %.not130, label %324, label %325

324:                                              ; preds = %320, %313
  br label %325

325:                                              ; preds = %320, %324
  %.str.4.sink267 = phi ptr [ @.str.4, %324 ], [ @.str, %320 ]
  store i32 %315, ptr %314, align 4, !tbaa !5
  %326 = load ptr, ptr @stderr, align 8, !tbaa !9
  %327 = load i32, ptr @test_count, align 4, !tbaa !5
  %328 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %329 = load i32, ptr %328, align 4, !tbaa !5
  %330 = call ptr @s2n_strerror(i32 noundef %329, ptr noundef nonnull @.str.3) #11
  %331 = load i32, ptr %328, align 4, !tbaa !5
  %332 = call ptr @s2n_strerror_debug(i32 noundef %331, ptr noundef nonnull @.str.3) #11
  %333 = load i32, ptr %314, align 4, !tbaa !5
  %334 = call ptr @strerror(i32 noundef %333) #11
  %335 = load i32, ptr %314, align 4, !tbaa !5
  %336 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %326, ptr noundef nonnull %.str.4.sink267, i32 noundef %327, ptr noundef nonnull @.str.18, ptr noundef nonnull @.str.2, i32 noundef 112, ptr noundef %330, ptr noundef %332, ptr noundef %334, i32 noundef %335) #13
  call void @exit(i32 noundef 1) #14
  unreachable

337:                                              ; preds = %308
  %338 = load i32, ptr @test_count, align 4, !tbaa !5
  %339 = add nsw i32 %338, 1
  store i32 %339, ptr @test_count, align 4, !tbaa !5
  %340 = call i32 @s2n_config_add_cert_chain_and_key_to_store(ptr noundef %192, ptr noundef %194) #11
  %341 = icmp eq i32 %340, -1
  br i1 %341, label %342, label %366

342:                                              ; preds = %337
  %343 = tail call ptr @__errno_location() #12
  %344 = load i32, ptr %343, align 4, !tbaa !5
  %345 = load ptr, ptr @stderr, align 8, !tbaa !9
  %346 = call i32 @s2n_print_stacktrace(ptr noundef %345) #11
  %347 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %348 = trunc nuw i8 %347 to i1
  br i1 %348, label %349, label %353

349:                                              ; preds = %342
  %350 = load ptr, ptr @stderr, align 8, !tbaa !9
  %351 = call i32 @fileno(ptr noundef %350) #11
  %352 = call i32 @isatty(i32 noundef %351) #11
  %.not129 = icmp eq i32 %352, 0
  br i1 %.not129, label %353, label %354

353:                                              ; preds = %349, %342
  br label %354

354:                                              ; preds = %349, %353
  %.str.4.sink278 = phi ptr [ @.str.4, %353 ], [ @.str, %349 ]
  store i32 %344, ptr %343, align 4, !tbaa !5
  %355 = load ptr, ptr @stderr, align 8, !tbaa !9
  %356 = load i32, ptr @test_count, align 4, !tbaa !5
  %357 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %358 = load i32, ptr %357, align 4, !tbaa !5
  %359 = call ptr @s2n_strerror(i32 noundef %358, ptr noundef nonnull @.str.3) #11
  %360 = load i32, ptr %357, align 4, !tbaa !5
  %361 = call ptr @s2n_strerror_debug(i32 noundef %360, ptr noundef nonnull @.str.3) #11
  %362 = load i32, ptr %343, align 4, !tbaa !5
  %363 = call ptr @strerror(i32 noundef %362) #11
  %364 = load i32, ptr %343, align 4, !tbaa !5
  %365 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %355, ptr noundef nonnull %.str.4.sink278, i32 noundef %356, ptr noundef nonnull @.str.19, ptr noundef nonnull @.str.2, i32 noundef 113, ptr noundef %359, ptr noundef %361, ptr noundef %363, i32 noundef %364) #13
  call void @exit(i32 noundef 1) #14
  unreachable

366:                                              ; preds = %337
  %367 = load i32, ptr @test_count, align 4, !tbaa !5
  %368 = add nsw i32 %367, 1
  store i32 %368, ptr @test_count, align 4, !tbaa !5
  %369 = call i32 @s2n_io_pair_close_one_end(ptr noundef nonnull %7, i32 noundef 1) #11
  %370 = icmp eq i32 %369, -1
  br i1 %370, label %371, label %395

371:                                              ; preds = %366
  %372 = tail call ptr @__errno_location() #12
  %373 = load i32, ptr %372, align 4, !tbaa !5
  %374 = load ptr, ptr @stderr, align 8, !tbaa !9
  %375 = call i32 @s2n_print_stacktrace(ptr noundef %374) #11
  %376 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %377 = trunc nuw i8 %376 to i1
  br i1 %377, label %378, label %382

378:                                              ; preds = %371
  %379 = load ptr, ptr @stderr, align 8, !tbaa !9
  %380 = call i32 @fileno(ptr noundef %379) #11
  %381 = call i32 @isatty(i32 noundef %380) #11
  %.not128 = icmp eq i32 %381, 0
  br i1 %.not128, label %382, label %383

382:                                              ; preds = %378, %371
  br label %383

383:                                              ; preds = %378, %382
  %.str.4.sink289 = phi ptr [ @.str.4, %382 ], [ @.str, %378 ]
  store i32 %373, ptr %372, align 4, !tbaa !5
  %384 = load ptr, ptr @stderr, align 8, !tbaa !9
  %385 = load i32, ptr @test_count, align 4, !tbaa !5
  %386 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %387 = load i32, ptr %386, align 4, !tbaa !5
  %388 = call ptr @s2n_strerror(i32 noundef %387, ptr noundef nonnull @.str.3) #11
  %389 = load i32, ptr %386, align 4, !tbaa !5
  %390 = call ptr @s2n_strerror_debug(i32 noundef %389, ptr noundef nonnull @.str.3) #11
  %391 = load i32, ptr %372, align 4, !tbaa !5
  %392 = call ptr @strerror(i32 noundef %391) #11
  %393 = load i32, ptr %372, align 4, !tbaa !5
  %394 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %384, ptr noundef nonnull %.str.4.sink289, i32 noundef %385, ptr noundef nonnull @.str.20, ptr noundef nonnull @.str.2, i32 noundef 116, ptr noundef %388, ptr noundef %390, ptr noundef %392, i32 noundef %393) #13
  call void @exit(i32 noundef 1) #14
  unreachable

395:                                              ; preds = %366
  %396 = load i32, ptr @test_count, align 4, !tbaa !5
  %397 = add nsw i32 %396, 1
  store i32 %397, ptr @test_count, align 4, !tbaa !5
  %398 = call i32 @s2n_connection_set_config(ptr noundef %193, ptr noundef %192) #11
  %399 = icmp eq i32 %398, -1
  br i1 %399, label %400, label %424

400:                                              ; preds = %395
  %401 = tail call ptr @__errno_location() #12
  %402 = load i32, ptr %401, align 4, !tbaa !5
  %403 = load ptr, ptr @stderr, align 8, !tbaa !9
  %404 = call i32 @s2n_print_stacktrace(ptr noundef %403) #11
  %405 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %406 = trunc nuw i8 %405 to i1
  br i1 %406, label %407, label %411

407:                                              ; preds = %400
  %408 = load ptr, ptr @stderr, align 8, !tbaa !9
  %409 = call i32 @fileno(ptr noundef %408) #11
  %410 = call i32 @isatty(i32 noundef %409) #11
  %.not127 = icmp eq i32 %410, 0
  br i1 %.not127, label %411, label %412

411:                                              ; preds = %407, %400
  br label %412

412:                                              ; preds = %407, %411
  %.str.4.sink300 = phi ptr [ @.str.4, %411 ], [ @.str, %407 ]
  store i32 %402, ptr %401, align 4, !tbaa !5
  %413 = load ptr, ptr @stderr, align 8, !tbaa !9
  %414 = load i32, ptr @test_count, align 4, !tbaa !5
  %415 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %416 = load i32, ptr %415, align 4, !tbaa !5
  %417 = call ptr @s2n_strerror(i32 noundef %416, ptr noundef nonnull @.str.3) #11
  %418 = load i32, ptr %415, align 4, !tbaa !5
  %419 = call ptr @s2n_strerror_debug(i32 noundef %418, ptr noundef nonnull @.str.3) #11
  %420 = load i32, ptr %401, align 4, !tbaa !5
  %421 = call ptr @strerror(i32 noundef %420) #11
  %422 = load i32, ptr %401, align 4, !tbaa !5
  %423 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %413, ptr noundef nonnull %.str.4.sink300, i32 noundef %414, ptr noundef nonnull @.str.21, ptr noundef nonnull @.str.2, i32 noundef 118, ptr noundef %417, ptr noundef %419, ptr noundef %421, i32 noundef %422) #13
  call void @exit(i32 noundef 1) #14
  unreachable

424:                                              ; preds = %395
  %425 = load i32, ptr @test_count, align 4, !tbaa !5
  %426 = add nsw i32 %425, 1
  store i32 %426, ptr @test_count, align 4, !tbaa !5
  %427 = getelementptr inbounds i8, ptr %7, i64 4
  %428 = load i32, ptr %427, align 4, !tbaa !15
  %429 = call i32 @s2n_fd_set_non_blocking(i32 noundef %428) #11
  %430 = icmp eq i32 %429, -1
  br i1 %430, label %431, label %455

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

438:                                              ; preds = %431
  %439 = load ptr, ptr @stderr, align 8, !tbaa !9
  %440 = call i32 @fileno(ptr noundef %439) #11
  %441 = call i32 @isatty(i32 noundef %440) #11
  %.not126 = icmp eq i32 %441, 0
  br i1 %.not126, label %442, label %443

442:                                              ; preds = %438, %431
  br label %443

443:                                              ; preds = %438, %442
  %.str.4.sink311 = phi ptr [ @.str.4, %442 ], [ @.str, %438 ]
  store i32 %433, ptr %432, align 4, !tbaa !5
  %444 = load ptr, ptr @stderr, align 8, !tbaa !9
  %445 = load i32, ptr @test_count, align 4, !tbaa !5
  %446 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %447 = load i32, ptr %446, align 4, !tbaa !5
  %448 = call ptr @s2n_strerror(i32 noundef %447, ptr noundef nonnull @.str.3) #11
  %449 = load i32, ptr %446, align 4, !tbaa !5
  %450 = call ptr @s2n_strerror_debug(i32 noundef %449, ptr noundef nonnull @.str.3) #11
  %451 = load i32, ptr %432, align 4, !tbaa !5
  %452 = call ptr @strerror(i32 noundef %451) #11
  %453 = load i32, ptr %432, align 4, !tbaa !5
  %454 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %444, ptr noundef nonnull %.str.4.sink311, i32 noundef %445, ptr noundef nonnull @.str.22, ptr noundef nonnull @.str.2, i32 noundef 121, ptr noundef %448, ptr noundef %450, ptr noundef %452, i32 noundef %453) #13
  call void @exit(i32 noundef 1) #14
  unreachable

455:                                              ; preds = %424
  %456 = load i32, ptr @test_count, align 4, !tbaa !5
  %457 = add nsw i32 %456, 1
  store i32 %457, ptr @test_count, align 4, !tbaa !5
  %458 = load i32, ptr %427, align 4, !tbaa !15
  %459 = call i32 @s2n_fd_set_non_blocking(i32 noundef %458) #11
  %460 = icmp eq i32 %459, -1
  br i1 %460, label %461, label %485

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

468:                                              ; preds = %461
  %469 = load ptr, ptr @stderr, align 8, !tbaa !9
  %470 = call i32 @fileno(ptr noundef %469) #11
  %471 = call i32 @isatty(i32 noundef %470) #11
  %.not125 = icmp eq i32 %471, 0
  br i1 %.not125, label %472, label %473

472:                                              ; preds = %468, %461
  br label %473

473:                                              ; preds = %468, %472
  %.str.4.sink322 = phi ptr [ @.str.4, %472 ], [ @.str, %468 ]
  store i32 %463, ptr %462, align 4, !tbaa !5
  %474 = load ptr, ptr @stderr, align 8, !tbaa !9
  %475 = load i32, ptr @test_count, align 4, !tbaa !5
  %476 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %477 = load i32, ptr %476, align 4, !tbaa !5
  %478 = call ptr @s2n_strerror(i32 noundef %477, ptr noundef nonnull @.str.3) #11
  %479 = load i32, ptr %476, align 4, !tbaa !5
  %480 = call ptr @s2n_strerror_debug(i32 noundef %479, ptr noundef nonnull @.str.3) #11
  %481 = load i32, ptr %462, align 4, !tbaa !5
  %482 = call ptr @strerror(i32 noundef %481) #11
  %483 = load i32, ptr %462, align 4, !tbaa !5
  %484 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %474, ptr noundef nonnull %.str.4.sink322, i32 noundef %475, ptr noundef nonnull @.str.22, ptr noundef nonnull @.str.2, i32 noundef 122, ptr noundef %478, ptr noundef %480, ptr noundef %482, i32 noundef %483) #13
  call void @exit(i32 noundef 1) #14
  unreachable

485:                                              ; preds = %455
  %486 = load i32, ptr @test_count, align 4, !tbaa !5
  %487 = add nsw i32 %486, 1
  store i32 %487, ptr @test_count, align 4, !tbaa !5
  %488 = call i32 @s2n_stuffer_growable_alloc(ptr noundef nonnull %11, i32 noundef 0) #11
  %489 = icmp eq i32 %488, -1
  br i1 %489, label %490, label %514

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

497:                                              ; preds = %490
  %498 = load ptr, ptr @stderr, align 8, !tbaa !9
  %499 = call i32 @fileno(ptr noundef %498) #11
  %500 = call i32 @isatty(i32 noundef %499) #11
  %.not124 = icmp eq i32 %500, 0
  br i1 %.not124, label %501, label %502

501:                                              ; preds = %497, %490
  br label %502

502:                                              ; preds = %497, %501
  %.str.4.sink333 = phi ptr [ @.str.4, %501 ], [ @.str, %497 ]
  store i32 %492, ptr %491, align 4, !tbaa !5
  %503 = load ptr, ptr @stderr, align 8, !tbaa !9
  %504 = load i32, ptr @test_count, align 4, !tbaa !5
  %505 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %506 = load i32, ptr %505, align 4, !tbaa !5
  %507 = call ptr @s2n_strerror(i32 noundef %506, ptr noundef nonnull @.str.3) #11
  %508 = load i32, ptr %505, align 4, !tbaa !5
  %509 = call ptr @s2n_strerror_debug(i32 noundef %508, ptr noundef nonnull @.str.3) #11
  %510 = load i32, ptr %491, align 4, !tbaa !5
  %511 = call ptr @strerror(i32 noundef %510) #11
  %512 = load i32, ptr %491, align 4, !tbaa !5
  %513 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %503, ptr noundef nonnull %.str.4.sink333, i32 noundef %504, ptr noundef nonnull @.str.23, ptr noundef nonnull @.str.2, i32 noundef 125, ptr noundef %507, ptr noundef %509, ptr noundef %511, i32 noundef %512) #13
  call void @exit(i32 noundef 1) #14
  unreachable

514:                                              ; preds = %485
  %515 = load i32, ptr @test_count, align 4, !tbaa !5
  %516 = add nsw i32 %515, 1
  store i32 %516, ptr @test_count, align 4, !tbaa !5
  %517 = call i32 @s2n_stuffer_growable_alloc(ptr noundef nonnull %12, i32 noundef 0) #11
  %518 = icmp eq i32 %517, -1
  br i1 %518, label %519, label %543

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

526:                                              ; preds = %519
  %527 = load ptr, ptr @stderr, align 8, !tbaa !9
  %528 = call i32 @fileno(ptr noundef %527) #11
  %529 = call i32 @isatty(i32 noundef %528) #11
  %.not123 = icmp eq i32 %529, 0
  br i1 %.not123, label %530, label %531

530:                                              ; preds = %526, %519
  br label %531

531:                                              ; preds = %526, %530
  %.str.4.sink344 = phi ptr [ @.str.4, %530 ], [ @.str, %526 ]
  store i32 %521, ptr %520, align 4, !tbaa !5
  %532 = load ptr, ptr @stderr, align 8, !tbaa !9
  %533 = load i32, ptr @test_count, align 4, !tbaa !5
  %534 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %535 = load i32, ptr %534, align 4, !tbaa !5
  %536 = call ptr @s2n_strerror(i32 noundef %535, ptr noundef nonnull @.str.3) #11
  %537 = load i32, ptr %534, align 4, !tbaa !5
  %538 = call ptr @s2n_strerror_debug(i32 noundef %537, ptr noundef nonnull @.str.3) #11
  %539 = load i32, ptr %520, align 4, !tbaa !5
  %540 = call ptr @strerror(i32 noundef %539) #11
  %541 = load i32, ptr %520, align 4, !tbaa !5
  %542 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %532, ptr noundef nonnull %.str.4.sink344, i32 noundef %533, ptr noundef nonnull @.str.24, ptr noundef nonnull @.str.2, i32 noundef 126, ptr noundef %536, ptr noundef %538, ptr noundef %540, i32 noundef %541) #13
  call void @exit(i32 noundef 1) #14
  unreachable

543:                                              ; preds = %514
  %544 = load i32, ptr @test_count, align 4, !tbaa !5
  %545 = add nsw i32 %544, 1
  store i32 %545, ptr @test_count, align 4, !tbaa !5
  %546 = call i32 @s2n_connection_set_io_stuffers(ptr noundef nonnull %11, ptr noundef nonnull %12, ptr noundef %193) #11
  %547 = icmp eq i32 %546, -1
  br i1 %547, label %550, label %.preheader148

.preheader148:                                    ; preds = %543
  %548 = getelementptr inbounds i8, ptr %12, i64 28
  %549 = getelementptr inbounds i8, ptr %12, i64 24
  br label %574

550:                                              ; preds = %543
  %551 = tail call ptr @__errno_location() #12
  %552 = load i32, ptr %551, align 4, !tbaa !5
  %553 = load ptr, ptr @stderr, align 8, !tbaa !9
  %554 = call i32 @s2n_print_stacktrace(ptr noundef %553) #11
  %555 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %556 = trunc nuw i8 %555 to i1
  br i1 %556, label %557, label %561

557:                                              ; preds = %550
  %558 = load ptr, ptr @stderr, align 8, !tbaa !9
  %559 = call i32 @fileno(ptr noundef %558) #11
  %560 = call i32 @isatty(i32 noundef %559) #11
  %.not122 = icmp eq i32 %560, 0
  br i1 %.not122, label %561, label %562

561:                                              ; preds = %557, %550
  br label %562

562:                                              ; preds = %557, %561
  %.str.4.sink355 = phi ptr [ @.str.4, %561 ], [ @.str, %557 ]
  store i32 %552, ptr %551, align 4, !tbaa !5
  %563 = load ptr, ptr @stderr, align 8, !tbaa !9
  %564 = load i32, ptr @test_count, align 4, !tbaa !5
  %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(i32 noundef %566, ptr noundef nonnull @.str.3) #11
  %568 = load i32, ptr %565, align 4, !tbaa !5
  %569 = call ptr @s2n_strerror_debug(i32 noundef %568, ptr noundef nonnull @.str.3) #11
  %570 = load i32, ptr %551, align 4, !tbaa !5
  %571 = call ptr @strerror(i32 noundef %570) #11
  %572 = load i32, ptr %551, align 4, !tbaa !5
  %573 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %563, ptr noundef nonnull %.str.4.sink355, i32 noundef %564, ptr noundef nonnull @.str.25, ptr noundef nonnull @.str.2, i32 noundef 127, ptr noundef %567, ptr noundef %569, ptr noundef %571, i32 noundef %572) #13
  call void @exit(i32 noundef 1) #14
  unreachable

574:                                              ; preds = %.preheader148, %606
  %575 = call i32 @s2n_negotiate(ptr noundef %193, ptr noundef nonnull %3) #11
  %576 = load i32, ptr @test_count, align 4, !tbaa !5
  %577 = add nsw i32 %576, 1
  store i32 %577, ptr @test_count, align 4, !tbaa !5
  %578 = icmp eq i32 %575, 0
  br i1 %578, label %606, label %579

579:                                              ; preds = %574
  %580 = load i32, ptr %3, align 4, !tbaa !5
  %.not = icmp eq i32 %580, 0
  %.pre154 = tail call ptr @__errno_location() #12
  br i1 %.not, label %split, label %581

581:                                              ; preds = %579
  %582 = load i32, ptr %.pre154, align 4, !tbaa !5
  %583 = icmp eq i32 %582, 11
  br i1 %583, label %606, label %split

split:                                            ; preds = %581, %579
  %584 = load i32, ptr %.pre154, align 4, !tbaa !5
  %585 = load ptr, ptr @stderr, align 8, !tbaa !9
  %586 = call i32 @s2n_print_stacktrace(ptr noundef %585) #11
  %587 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %588 = trunc nuw i8 %587 to i1
  br i1 %588, label %589, label %593

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

593:                                              ; preds = %589, %split
  br label %594

594:                                              ; preds = %589, %593
  %.str.4.sink366 = phi ptr [ @.str.4, %593 ], [ @.str, %589 ]
  store i32 %584, ptr %.pre154, align 4, !tbaa !5
  %595 = load ptr, ptr @stderr, align 8, !tbaa !9
  %596 = load i32, ptr @test_count, align 4, !tbaa !5
  %597 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %598 = load i32, ptr %597, align 4, !tbaa !5
  %599 = call ptr @s2n_strerror(i32 noundef %598, ptr noundef nonnull @.str.3) #11
  %600 = load i32, ptr %597, align 4, !tbaa !5
  %601 = call ptr @s2n_strerror_debug(i32 noundef %600, ptr noundef nonnull @.str.3) #11
  %602 = load i32, ptr %.pre154, align 4, !tbaa !5
  %603 = call ptr @strerror(i32 noundef %602) #11
  %604 = load i32, ptr %.pre154, align 4, !tbaa !5
  %605 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %595, ptr noundef nonnull %.str.4.sink366, i32 noundef %596, ptr noundef nonnull @.str.26, ptr noundef nonnull @.str.2, i32 noundef 132, ptr noundef %599, ptr noundef %601, ptr noundef %603, i32 noundef %604) #13
  call void @exit(i32 noundef 1) #14
  unreachable

606:                                              ; preds = %581, %574
  %607 = load i32, ptr %427, align 4, !tbaa !15
  %608 = call i32 @s2n_stuffer_recv_from_fd(ptr noundef nonnull %11, i32 noundef %607, i32 noundef 10000, ptr noundef null) #11
  %609 = load i32, ptr %427, align 4, !tbaa !15
  %610 = load i32, ptr %548, align 4, !tbaa !17
  %611 = load i32, ptr %549, align 8, !tbaa !20
  %612 = sub i32 %610, %611
  %613 = call i32 @s2n_stuffer_send_to_fd(ptr noundef nonnull %12, i32 noundef %609, i32 noundef %612, ptr noundef null) #11
  %614 = load i32, ptr %3, align 4, !tbaa !5
  %.not100 = icmp eq i32 %614, 0
  br i1 %.not100, label %.preheader146, label %574, !llvm.loop !21

.preheader146:                                    ; preds = %606, %617
  %615 = load i32, ptr %6, align 4, !tbaa !5
  %616 = icmp ult i32 %615, 100
  br i1 %616, label %617, label %625

617:                                              ; preds = %.preheader146
  %618 = load i32, ptr %427, align 4, !tbaa !15
  %619 = sub nuw nsw i32 100, %615
  %620 = call i32 @s2n_stuffer_recv_from_fd(ptr noundef nonnull %11, i32 noundef %618, i32 noundef %619, ptr noundef nonnull %6) #11
  %621 = tail call ptr @__errno_location() #12
  %622 = load i32, ptr %621, align 4, !tbaa !5
  %623 = icmp eq i32 %622, 11
  %624 = icmp sgt i32 %620, -1
  %or.cond141 = select i1 %623, i1 true, i1 %624
  br i1 %or.cond141, label %.preheader146, label %.loopexit145, !llvm.loop !23

625:                                              ; preds = %.preheader146
  %626 = load i32, ptr @test_count, align 4, !tbaa !5
  %627 = add nsw i32 %626, 1
  store i32 %627, ptr @test_count, align 4, !tbaa !5
  %628 = call i64 @s2n_recv(ptr noundef %193, ptr noundef nonnull %5, i64 noundef 1023, ptr noundef nonnull %3) #11
  %629 = icmp eq i64 %628, -1
  br i1 %629, label %654, label %630

630:                                              ; preds = %625
  %631 = tail call ptr @__errno_location() #12
  %632 = load i32, ptr %631, align 4, !tbaa !5
  %633 = load ptr, ptr @stderr, align 8, !tbaa !9
  %634 = call i32 @s2n_print_stacktrace(ptr noundef %633) #11
  %635 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %636 = trunc nuw i8 %635 to i1
  br i1 %636, label %637, label %641

637:                                              ; preds = %630
  %638 = load ptr, ptr @stderr, align 8, !tbaa !9
  %639 = call i32 @fileno(ptr noundef %638) #11
  %640 = call i32 @isatty(i32 noundef %639) #11
  %.not101 = icmp eq i32 %640, 0
  br i1 %.not101, label %641, label %642

641:                                              ; preds = %637, %630
  br label %642

642:                                              ; preds = %637, %641
  %.str.4.sink377 = phi ptr [ @.str.4, %641 ], [ @.str, %637 ]
  store i32 %632, ptr %631, align 4, !tbaa !5
  %643 = load ptr, ptr @stderr, align 8, !tbaa !9
  %644 = load i32, ptr @test_count, align 4, !tbaa !5
  %645 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %646 = load i32, ptr %645, align 4, !tbaa !5
  %647 = call ptr @s2n_strerror(i32 noundef %646, ptr noundef nonnull @.str.3) #11
  %648 = load i32, ptr %645, align 4, !tbaa !5
  %649 = call ptr @s2n_strerror_debug(i32 noundef %648, ptr noundef nonnull @.str.3) #11
  %650 = load i32, ptr %631, align 4, !tbaa !5
  %651 = call ptr @strerror(i32 noundef %650) #11
  %652 = load i32, ptr %631, align 4, !tbaa !5
  %653 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %643, ptr noundef nonnull %.str.4.sink377, i32 noundef %644, ptr noundef nonnull @.str.27, ptr noundef nonnull @.str.2, i32 noundef 152, ptr noundef %647, ptr noundef %649, ptr noundef %651, i32 noundef %652) #13
  call void @exit(i32 noundef 1) #14
  unreachable

654:                                              ; preds = %625
  %655 = load i32, ptr @test_count, align 4, !tbaa !5
  %656 = add nsw i32 %655, 1
  store i32 %656, ptr @test_count, align 4, !tbaa !5
  %657 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %658 = load i32, ptr %657, align 4, !tbaa !5
  %659 = icmp eq i32 %658, 0
  br i1 %659, label %660, label %683

660:                                              ; preds = %654
  %661 = tail call ptr @__errno_location() #12
  %662 = load i32, ptr %661, align 4, !tbaa !5
  %663 = load ptr, ptr @stderr, align 8, !tbaa !9
  %664 = call i32 @s2n_print_stacktrace(ptr noundef %663) #11
  %665 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %666 = trunc nuw i8 %665 to i1
  br i1 %666, label %667, label %671

667:                                              ; preds = %660
  %668 = load ptr, ptr @stderr, align 8, !tbaa !9
  %669 = call i32 @fileno(ptr noundef %668) #11
  %670 = call i32 @isatty(i32 noundef %669) #11
  %.not121 = icmp eq i32 %670, 0
  br i1 %.not121, label %671, label %672

671:                                              ; preds = %667, %660
  br label %672

672:                                              ; preds = %667, %671
  %.str.4.sink388 = phi ptr [ @.str.4, %671 ], [ @.str, %667 ]
  store i32 %662, ptr %661, align 4, !tbaa !5
  %673 = load ptr, ptr @stderr, align 8, !tbaa !9
  %674 = load i32, ptr @test_count, align 4, !tbaa !5
  %675 = load i32, ptr %657, align 4, !tbaa !5
  %676 = call ptr @s2n_strerror(i32 noundef %675, ptr noundef nonnull @.str.3) #11
  %677 = load i32, ptr %657, align 4, !tbaa !5
  %678 = call ptr @s2n_strerror_debug(i32 noundef %677, ptr noundef nonnull @.str.3) #11
  %679 = load i32, ptr %661, align 4, !tbaa !5
  %680 = call ptr @strerror(i32 noundef %679) #11
  %681 = load i32, ptr %661, align 4, !tbaa !5
  %682 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %673, ptr noundef nonnull %.str.4.sink388, i32 noundef %674, ptr noundef nonnull @.str.28, ptr noundef nonnull @.str.2, i32 noundef 152, ptr noundef %676, ptr noundef %678, ptr noundef %680, i32 noundef %681) #13
  call void @exit(i32 noundef 1) #14
  unreachable

683:                                              ; preds = %654
  %684 = add nsw i32 %655, 2
  store i32 %684, ptr @test_count, align 4, !tbaa !5
  %685 = call ptr @s2n_strerror_debug(i32 noundef %658, ptr noundef nonnull @.str.3) #11
  %686 = icmp eq ptr %685, null
  br i1 %686, label %687, label %710

687:                                              ; preds = %683
  %688 = tail call ptr @__errno_location() #12
  %689 = load i32, ptr %688, align 4, !tbaa !5
  %690 = load ptr, ptr @stderr, align 8, !tbaa !9
  %691 = call i32 @s2n_print_stacktrace(ptr noundef %690) #11
  %692 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %693 = trunc nuw i8 %692 to i1
  br i1 %693, label %694, label %698

694:                                              ; preds = %687
  %695 = load ptr, ptr @stderr, align 8, !tbaa !9
  %696 = call i32 @fileno(ptr noundef %695) #11
  %697 = call i32 @isatty(i32 noundef %696) #11
  %.not120 = icmp eq i32 %697, 0
  br i1 %.not120, label %698, label %699

698:                                              ; preds = %694, %687
  br label %699

699:                                              ; preds = %694, %698
  %.str.4.sink397 = phi ptr [ @.str.4, %698 ], [ @.str, %694 ]
  store i32 %689, ptr %688, align 4, !tbaa !5
  %700 = load ptr, ptr @stderr, align 8, !tbaa !9
  %701 = load i32, ptr @test_count, align 4, !tbaa !5
  %702 = load i32, ptr %657, align 4, !tbaa !5
  %703 = call ptr @s2n_strerror(i32 noundef %702, ptr noundef nonnull @.str.3) #11
  %704 = load i32, ptr %657, align 4, !tbaa !5
  %705 = call ptr @s2n_strerror_debug(i32 noundef %704, ptr noundef nonnull @.str.3) #11
  %706 = load i32, ptr %688, align 4, !tbaa !5
  %707 = call ptr @strerror(i32 noundef %706) #11
  %708 = load i32, ptr %688, align 4, !tbaa !5
  %709 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %700, ptr noundef nonnull %.str.4.sink397, i32 noundef %701, ptr noundef nonnull @.str.29, ptr noundef nonnull @.str.2, i32 noundef 152, ptr noundef %703, ptr noundef %705, ptr noundef %707, i32 noundef %708) #13
  call void @exit(i32 noundef 1) #14
  unreachable

710:                                              ; preds = %683
  store i32 0, ptr %657, align 4, !tbaa !5
  call void @s2n_debug_info_reset() #11
  %711 = tail call ptr @__errno_location() #12
  store i32 0, ptr %711, align 4, !tbaa !5
  %712 = load i32, ptr @test_count, align 4, !tbaa !5
  %713 = add nsw i32 %712, 1
  store i32 %713, ptr @test_count, align 4, !tbaa !5
  %714 = load i32, ptr %3, align 4, !tbaa !5
  %715 = icmp eq i32 %714, 1
  br i1 %715, label %738, label %716

716:                                              ; preds = %710
  %717 = load i32, ptr %711, align 4, !tbaa !5
  %718 = load ptr, ptr @stderr, align 8, !tbaa !9
  %719 = call i32 @s2n_print_stacktrace(ptr noundef %718) #11
  %720 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %721 = trunc nuw i8 %720 to i1
  br i1 %721, label %722, label %726

722:                                              ; preds = %716
  %723 = load ptr, ptr @stderr, align 8, !tbaa !9
  %724 = call i32 @fileno(ptr noundef %723) #11
  %725 = call i32 @isatty(i32 noundef %724) #11
  %.not102 = icmp eq i32 %725, 0
  br i1 %.not102, label %726, label %727

726:                                              ; preds = %722, %716
  br label %727

727:                                              ; preds = %722, %726
  %.str.4.sink406 = phi ptr [ @.str.4, %726 ], [ @.str, %722 ]
  store i32 %717, ptr %711, align 4, !tbaa !5
  %728 = load ptr, ptr @stderr, align 8, !tbaa !9
  %729 = load i32, ptr @test_count, align 4, !tbaa !5
  %730 = load i32, ptr %657, align 4, !tbaa !5
  %731 = call ptr @s2n_strerror(i32 noundef %730, ptr noundef nonnull @.str.3) #11
  %732 = load i32, ptr %657, align 4, !tbaa !5
  %733 = call ptr @s2n_strerror_debug(i32 noundef %732, ptr noundef nonnull @.str.3) #11
  %734 = load i32, ptr %711, align 4, !tbaa !5
  %735 = call ptr @strerror(i32 noundef %734) #11
  %736 = load i32, ptr %711, align 4, !tbaa !5
  %737 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %728, ptr noundef nonnull %.str.4.sink406, i32 noundef %729, ptr noundef nonnull @.str.30, ptr noundef nonnull @.str.2, i32 noundef 153, ptr noundef %731, ptr noundef %733, ptr noundef %735, i32 noundef %736) #13
  call void @exit(i32 noundef 1) #14
  unreachable

738:                                              ; preds = %710
  %739 = add nsw i32 %712, 2
  store i32 %739, ptr @test_count, align 4, !tbaa !5
  %740 = call i32 @s2n_connection_release_buffers(ptr noundef %193) #11
  %741 = icmp eq i32 %740, -1
  br i1 %741, label %764, label %742

742:                                              ; preds = %738
  %743 = load i32, ptr %711, align 4, !tbaa !5
  %744 = load ptr, ptr @stderr, align 8, !tbaa !9
  %745 = call i32 @s2n_print_stacktrace(ptr noundef %744) #11
  %746 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %747 = trunc nuw i8 %746 to i1
  br i1 %747, label %748, label %752

748:                                              ; preds = %742
  %749 = load ptr, ptr @stderr, align 8, !tbaa !9
  %750 = call i32 @fileno(ptr noundef %749) #11
  %751 = call i32 @isatty(i32 noundef %750) #11
  %.not103 = icmp eq i32 %751, 0
  br i1 %.not103, label %752, label %753

752:                                              ; preds = %748, %742
  br label %753

753:                                              ; preds = %748, %752
  %.str.4.sink415 = phi ptr [ @.str.4, %752 ], [ @.str, %748 ]
  store i32 %743, ptr %711, align 4, !tbaa !5
  %754 = load ptr, ptr @stderr, align 8, !tbaa !9
  %755 = load i32, ptr @test_count, align 4, !tbaa !5
  %756 = load i32, ptr %657, align 4, !tbaa !5
  %757 = call ptr @s2n_strerror(i32 noundef %756, ptr noundef nonnull @.str.3) #11
  %758 = load i32, ptr %657, align 4, !tbaa !5
  %759 = call ptr @s2n_strerror_debug(i32 noundef %758, ptr noundef nonnull @.str.3) #11
  %760 = load i32, ptr %711, align 4, !tbaa !5
  %761 = call ptr @strerror(i32 noundef %760) #11
  %762 = load i32, ptr %711, align 4, !tbaa !5
  %763 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %754, ptr noundef nonnull %.str.4.sink415, i32 noundef %755, ptr noundef nonnull @.str.31, ptr noundef nonnull @.str.2, i32 noundef 156, ptr noundef %757, ptr noundef %759, ptr noundef %761, i32 noundef %762) #13
  call void @exit(i32 noundef 1) #14
  unreachable

764:                                              ; preds = %738
  %765 = load i32, ptr @test_count, align 4, !tbaa !5
  %766 = add nsw i32 %765, 1
  store i32 %766, ptr @test_count, align 4, !tbaa !5
  %767 = load i32, ptr %657, align 4, !tbaa !5
  %768 = icmp eq i32 %767, 0
  br i1 %768, label %769, label %791

769:                                              ; preds = %764
  %770 = load i32, ptr %711, align 4, !tbaa !5
  %771 = load ptr, ptr @stderr, align 8, !tbaa !9
  %772 = call i32 @s2n_print_stacktrace(ptr noundef %771) #11
  %773 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %774 = trunc nuw i8 %773 to i1
  br i1 %774, label %775, label %779

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

779:                                              ; preds = %775, %769
  br label %780

780:                                              ; preds = %775, %779
  %.str.4.sink424 = phi ptr [ @.str.4, %779 ], [ @.str, %775 ]
  store i32 %770, ptr %711, align 4, !tbaa !5
  %781 = load ptr, ptr @stderr, align 8, !tbaa !9
  %782 = load i32, ptr @test_count, align 4, !tbaa !5
  %783 = load i32, ptr %657, align 4, !tbaa !5
  %784 = call ptr @s2n_strerror(i32 noundef %783, ptr noundef nonnull @.str.3) #11
  %785 = load i32, ptr %657, align 4, !tbaa !5
  %786 = call ptr @s2n_strerror_debug(i32 noundef %785, ptr noundef nonnull @.str.3) #11
  %787 = load i32, ptr %711, align 4, !tbaa !5
  %788 = call ptr @strerror(i32 noundef %787) #11
  %789 = load i32, ptr %711, align 4, !tbaa !5
  %790 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %781, ptr noundef nonnull %.str.4.sink424, i32 noundef %782, ptr noundef nonnull @.str.28, ptr noundef nonnull @.str.2, i32 noundef 156, ptr noundef %784, ptr noundef %786, ptr noundef %788, i32 noundef %789) #13
  call void @exit(i32 noundef 1) #14
  unreachable

791:                                              ; preds = %764
  %792 = add nsw i32 %765, 2
  store i32 %792, ptr @test_count, align 4, !tbaa !5
  %793 = call ptr @s2n_strerror_debug(i32 noundef %767, ptr noundef nonnull @.str.3) #11
  %794 = icmp eq ptr %793, null
  br i1 %794, label %795, label %817

795:                                              ; preds = %791
  %796 = load i32, ptr %711, align 4, !tbaa !5
  %797 = load ptr, ptr @stderr, align 8, !tbaa !9
  %798 = call i32 @s2n_print_stacktrace(ptr noundef %797) #11
  %799 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %800 = trunc nuw i8 %799 to i1
  br i1 %800, label %801, label %805

801:                                              ; preds = %795
  %802 = load ptr, ptr @stderr, align 8, !tbaa !9
  %803 = call i32 @fileno(ptr noundef %802) #11
  %804 = call i32 @isatty(i32 noundef %803) #11
  %.not118 = icmp eq i32 %804, 0
  br i1 %.not118, label %805, label %806

805:                                              ; preds = %801, %795
  br label %806

806:                                              ; preds = %801, %805
  %.str.4.sink433 = phi ptr [ @.str.4, %805 ], [ @.str, %801 ]
  store i32 %796, ptr %711, align 4, !tbaa !5
  %807 = load ptr, ptr @stderr, align 8, !tbaa !9
  %808 = load i32, ptr @test_count, align 4, !tbaa !5
  %809 = load i32, ptr %657, align 4, !tbaa !5
  %810 = call ptr @s2n_strerror(i32 noundef %809, ptr noundef nonnull @.str.3) #11
  %811 = load i32, ptr %657, align 4, !tbaa !5
  %812 = call ptr @s2n_strerror_debug(i32 noundef %811, ptr noundef nonnull @.str.3) #11
  %813 = load i32, ptr %711, align 4, !tbaa !5
  %814 = call ptr @strerror(i32 noundef %813) #11
  %815 = load i32, ptr %711, align 4, !tbaa !5
  %816 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %807, ptr noundef nonnull %.str.4.sink433, i32 noundef %808, ptr noundef nonnull @.str.29, ptr noundef nonnull @.str.2, i32 noundef 156, ptr noundef %810, ptr noundef %812, ptr noundef %814, i32 noundef %815) #13
  call void @exit(i32 noundef 1) #14
  unreachable

817:                                              ; preds = %791
  store i32 0, ptr %657, align 4, !tbaa !5
  call void @s2n_debug_info_reset() #11
  store i32 0, ptr %711, align 4, !tbaa !5
  br label %818

818:                                              ; preds = %830, %817
  %819 = load i32, ptr %427, align 4, !tbaa !15
  %820 = call i32 @s2n_stuffer_recv_from_fd(ptr noundef nonnull %11, i32 noundef %819, i32 noundef 10000, ptr noundef null) #11
  %821 = sext i32 %820 to i64
  %822 = load i32, ptr %711, align 4, !tbaa !5
  %823 = icmp eq i32 %822, 11
  br i1 %823, label %828, label %824

824:                                              ; preds = %818
  %825 = icmp sgt i32 %820, -1
  br i1 %825, label %826, label %.loopexit145

826:                                              ; preds = %824
  %827 = call i64 @s2n_recv(ptr noundef %193, ptr noundef nonnull %5, i64 noundef 1023, ptr noundef nonnull %3) #11
  br label %828

828:                                              ; preds = %818, %826
  %.092 = phi i64 [ %821, %818 ], [ %827, %826 ]
  %829 = icmp slt i64 %.092, 0
  br i1 %829, label %830, label %.critedge

830:                                              ; preds = %828
  %831 = load i32, ptr %657, align 4, !tbaa !5
  %832 = call i32 @s2n_error_get_type(i32 noundef %831) #11
  %833 = icmp eq i32 %832, 3
  %834 = load i32, ptr %3, align 4
  %835 = icmp eq i32 %834, 1
  %or.cond = select i1 %833, i1 %835, i1 false
  br i1 %or.cond, label %818, label %.critedge.thread, !llvm.loop !24

.critedge.thread:                                 ; preds = %830
  %836 = load i32, ptr @test_count, align 4, !tbaa !5
  %837 = add nsw i32 %836, 1
  store i32 %837, ptr @test_count, align 4, !tbaa !5
  br label %841

.critedge:                                        ; preds = %828
  %838 = load i32, ptr @test_count, align 4, !tbaa !5
  %839 = add nsw i32 %838, 1
  store i32 %839, ptr @test_count, align 4, !tbaa !5
  %840 = icmp eq i64 %.092, 1023
  br i1 %840, label %863, label %841

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

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

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

852:                                              ; preds = %847, %851
  %.str.4.sink442 = phi ptr [ @.str.4, %851 ], [ @.str, %847 ]
  store i32 %842, ptr %711, align 4, !tbaa !5
  %853 = load ptr, ptr @stderr, align 8, !tbaa !9
  %854 = load i32, ptr @test_count, align 4, !tbaa !5
  %855 = load i32, ptr %657, align 4, !tbaa !5
  %856 = call ptr @s2n_strerror(i32 noundef %855, ptr noundef nonnull @.str.3) #11
  %857 = load i32, ptr %657, align 4, !tbaa !5
  %858 = call ptr @s2n_strerror_debug(i32 noundef %857, ptr noundef nonnull @.str.3) #11
  %859 = load i32, ptr %711, align 4, !tbaa !5
  %860 = call ptr @strerror(i32 noundef %859) #11
  %861 = load i32, ptr %711, align 4, !tbaa !5
  %862 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %853, ptr noundef nonnull %.str.4.sink442, i32 noundef %854, ptr noundef nonnull @.str.32, ptr noundef nonnull @.str.2, i32 noundef 173, ptr noundef %856, ptr noundef %858, ptr noundef %860, i32 noundef %861) #13
  call void @exit(i32 noundef 1) #14
  unreachable

863:                                              ; preds = %.critedge
  %864 = add nsw i32 %838, 2
  store i32 %864, ptr @test_count, align 4, !tbaa !5
  %bcmp = call i32 @bcmp(ptr noundef nonnull dereferenceable(1023) %5, ptr noundef nonnull dereferenceable(1023) @buf_to_send, i64 1023)
  %865 = icmp eq i32 %bcmp, 0
  br i1 %865, label %888, label %866

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

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

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

877:                                              ; preds = %872, %876
  %.str.4.sink451 = phi ptr [ @.str.4, %876 ], [ @.str, %872 ]
  store i32 %867, ptr %711, align 4, !tbaa !5
  %878 = load ptr, ptr @stderr, align 8, !tbaa !9
  %879 = load i32, ptr @test_count, align 4, !tbaa !5
  %880 = load i32, ptr %657, align 4, !tbaa !5
  %881 = call ptr @s2n_strerror(i32 noundef %880, ptr noundef nonnull @.str.3) #11
  %882 = load i32, ptr %657, align 4, !tbaa !5
  %883 = call ptr @s2n_strerror_debug(i32 noundef %882, ptr noundef nonnull @.str.3) #11
  %884 = load i32, ptr %711, align 4, !tbaa !5
  %885 = call ptr @strerror(i32 noundef %884) #11
  %886 = load i32, ptr %711, align 4, !tbaa !5
  %887 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %878, ptr noundef nonnull %.str.4.sink451, i32 noundef %879, ptr noundef nonnull @.str.33, ptr noundef nonnull @.str.2, i32 noundef 174, ptr noundef %881, ptr noundef %883, ptr noundef %885, i32 noundef %886) #13
  call void @exit(i32 noundef 1) #14
  unreachable

888:                                              ; preds = %863
  %889 = add nsw i32 %838, 3
  store i32 %889, ptr @test_count, align 4, !tbaa !5
  %890 = call i32 @s2n_connection_release_buffers(ptr noundef %193) #11
  %891 = icmp eq i32 %890, -1
  br i1 %891, label %895, label %.preheader.split

.preheader.split:                                 ; preds = %888
  %892 = call i32 @s2n_shutdown(ptr noundef %193, ptr noundef nonnull %3) #11
  %893 = load i32, ptr @test_count, align 4, !tbaa !5
  %894 = add nsw i32 %893, 1
  store i32 %894, ptr @test_count, align 4, !tbaa !5
  %.not142151 = icmp eq i32 %892, 0
  br i1 %.not142151, label %.critedge144, label %.lr.ph

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

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

905:                                              ; preds = %901, %895
  br label %906

906:                                              ; preds = %901, %905
  %.str.4.sink460 = phi ptr [ @.str.4, %905 ], [ @.str, %901 ]
  store i32 %896, ptr %711, align 4, !tbaa !5
  %907 = load ptr, ptr @stderr, align 8, !tbaa !9
  %908 = load i32, ptr @test_count, align 4, !tbaa !5
  %909 = load i32, ptr %657, align 4, !tbaa !5
  %910 = call ptr @s2n_strerror(i32 noundef %909, ptr noundef nonnull @.str.3) #11
  %911 = load i32, ptr %657, align 4, !tbaa !5
  %912 = call ptr @s2n_strerror_debug(i32 noundef %911, ptr noundef nonnull @.str.3) #11
  %913 = load i32, ptr %711, align 4, !tbaa !5
  %914 = call ptr @strerror(i32 noundef %913) #11
  %915 = load i32, ptr %711, align 4, !tbaa !5
  %916 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %907, ptr noundef nonnull %.str.4.sink460, i32 noundef %908, ptr noundef nonnull @.str.34, ptr noundef nonnull @.str.2, i32 noundef 177, ptr noundef %910, ptr noundef %912, ptr noundef %914, i32 noundef %915) #13
  call void @exit(i32 noundef 1) #14
  unreachable

.lr.ph:                                           ; preds = %.preheader.split, %940
  %917 = load i32, ptr %3, align 4, !tbaa !5
  %.not106 = icmp ne i32 %917, 0
  %.pre = load i32, ptr %711, align 4, !tbaa !5
  %918 = icmp eq i32 %.pre, 11
  %or.cond469 = select i1 %.not106, i1 %918, i1 false
  br i1 %or.cond469, label %940, label %919

919:                                              ; preds = %.lr.ph
  %920 = load ptr, ptr @stderr, align 8, !tbaa !9
  %921 = call i32 @s2n_print_stacktrace(ptr noundef %920) #11
  %922 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %923 = trunc nuw i8 %922 to i1
  br i1 %923, label %924, label %928

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

928:                                              ; preds = %924, %919
  br label %929

929:                                              ; preds = %924, %928
  %.str.4.sink470 = phi ptr [ @.str.4, %928 ], [ @.str, %924 ]
  store i32 %.pre, ptr %711, align 4, !tbaa !5
  %930 = load ptr, ptr @stderr, align 8, !tbaa !9
  %931 = load i32, ptr @test_count, align 4, !tbaa !5
  %932 = load i32, ptr %657, align 4, !tbaa !5
  %933 = call ptr @s2n_strerror(i32 noundef %932, ptr noundef nonnull @.str.3) #11
  %934 = load i32, ptr %657, align 4, !tbaa !5
  %935 = call ptr @s2n_strerror_debug(i32 noundef %934, ptr noundef nonnull @.str.3) #11
  %936 = load i32, ptr %711, align 4, !tbaa !5
  %937 = call ptr @strerror(i32 noundef %936) #11
  %938 = load i32, ptr %711, align 4, !tbaa !5
  %939 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %930, ptr noundef nonnull %.str.4.sink470, i32 noundef %931, ptr noundef nonnull @.str.26, ptr noundef nonnull @.str.2, i32 noundef 183, ptr noundef %933, ptr noundef %935, ptr noundef %937, i32 noundef %938) #13
  call void @exit(i32 noundef 1) #14
  unreachable

940:                                              ; preds = %.lr.ph
  %941 = load i32, ptr %427, align 4, !tbaa !15
  %942 = call i32 @s2n_stuffer_recv_from_fd(ptr noundef nonnull %11, i32 noundef %941, i32 noundef 10000, ptr noundef null) #11
  %943 = load i32, ptr %427, align 4, !tbaa !15
  %944 = load i32, ptr %548, align 4, !tbaa !17
  %945 = load i32, ptr %549, align 8, !tbaa !20
  %946 = sub i32 %944, %945
  %947 = call i32 @s2n_stuffer_send_to_fd(ptr noundef nonnull %12, i32 noundef %943, i32 noundef %946, ptr noundef null) #11
  %948 = call i32 @s2n_shutdown(ptr noundef %193, ptr noundef nonnull %3) #11
  %949 = load i32, ptr @test_count, align 4, !tbaa !5
  %950 = add nsw i32 %949, 1
  store i32 %950, ptr @test_count, align 4, !tbaa !5
  %.not142 = icmp eq i32 %948, 0
  br i1 %.not142, label %.critedge144, label %.lr.ph

.critedge144:                                     ; preds = %940, %.preheader.split
  %951 = load i32, ptr %427, align 4, !tbaa !15
  %952 = call i32 @s2n_stuffer_recv_from_fd(ptr noundef nonnull %11, i32 noundef %951, i32 noundef 10000, ptr noundef null) #11
  %953 = load i32, ptr %427, align 4, !tbaa !15
  %954 = load i32, ptr %548, align 4, !tbaa !17
  %955 = load i32, ptr %549, align 8, !tbaa !20
  %956 = sub i32 %954, %955
  %957 = call i32 @s2n_stuffer_send_to_fd(ptr noundef nonnull %12, i32 noundef %953, i32 noundef %956, ptr noundef null) #11
  %958 = load i32, ptr @test_count, align 4, !tbaa !5
  %959 = add nsw i32 %958, 1
  store i32 %959, ptr @test_count, align 4, !tbaa !5
  %960 = call i32 @waitpid(i32 noundef -1, ptr noundef nonnull %4, i32 noundef 0) #11
  %961 = icmp eq i32 %960, %158
  br i1 %961, label %984, label %962

962:                                              ; preds = %.critedge144
  %963 = load i32, ptr %711, align 4, !tbaa !5
  %964 = load ptr, ptr @stderr, align 8, !tbaa !9
  %965 = call i32 @s2n_print_stacktrace(ptr noundef %964) #11
  %966 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %967 = trunc nuw i8 %966 to i1
  br i1 %967, label %968, label %972

968:                                              ; preds = %962
  %969 = load ptr, ptr @stderr, align 8, !tbaa !9
  %970 = call i32 @fileno(ptr noundef %969) #11
  %971 = call i32 @isatty(i32 noundef %970) #11
  %.not109 = icmp eq i32 %971, 0
  br i1 %.not109, label %972, label %973

972:                                              ; preds = %968, %962
  br label %973

973:                                              ; preds = %968, %972
  %.str.4.sink479 = phi ptr [ @.str.4, %972 ], [ @.str, %968 ]
  store i32 %963, ptr %711, align 4, !tbaa !5
  %974 = load ptr, ptr @stderr, align 8, !tbaa !9
  %975 = load i32, ptr @test_count, align 4, !tbaa !5
  %976 = load i32, ptr %657, align 4, !tbaa !5
  %977 = call ptr @s2n_strerror(i32 noundef %976, ptr noundef nonnull @.str.3) #11
  %978 = load i32, ptr %657, align 4, !tbaa !5
  %979 = call ptr @s2n_strerror_debug(i32 noundef %978, ptr noundef nonnull @.str.3) #11
  %980 = load i32, ptr %711, align 4, !tbaa !5
  %981 = call ptr @strerror(i32 noundef %980) #11
  %982 = load i32, ptr %711, align 4, !tbaa !5
  %983 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %974, ptr noundef nonnull %.str.4.sink479, i32 noundef %975, ptr noundef nonnull @.str.35, ptr noundef nonnull @.str.2, i32 noundef 192, ptr noundef %977, ptr noundef %979, ptr noundef %981, i32 noundef %982) #13
  call void @exit(i32 noundef 1) #14
  unreachable

984:                                              ; preds = %.critedge144
  %985 = load i32, ptr @test_count, align 4, !tbaa !5
  %986 = add nsw i32 %985, 1
  store i32 %986, ptr @test_count, align 4, !tbaa !5
  %987 = load i32, ptr %4, align 4, !tbaa !5
  %988 = icmp eq i32 %987, 0
  br i1 %988, label %1011, label %989

989:                                              ; preds = %984
  %990 = load i32, ptr %711, align 4, !tbaa !5
  %991 = load ptr, ptr @stderr, align 8, !tbaa !9
  %992 = call i32 @s2n_print_stacktrace(ptr noundef %991) #11
  %993 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %994 = trunc nuw i8 %993 to i1
  br i1 %994, label %995, label %999

995:                                              ; preds = %989
  %996 = load ptr, ptr @stderr, align 8, !tbaa !9
  %997 = call i32 @fileno(ptr noundef %996) #11
  %998 = call i32 @isatty(i32 noundef %997) #11
  %.not110 = icmp eq i32 %998, 0
  br i1 %.not110, label %999, label %1000

999:                                              ; preds = %995, %989
  br label %1000

1000:                                             ; preds = %995, %999
  %.str.4.sink488 = phi ptr [ @.str.4, %999 ], [ @.str, %995 ]
  store i32 %990, ptr %711, align 4, !tbaa !5
  %1001 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1002 = load i32, ptr @test_count, align 4, !tbaa !5
  %1003 = load i32, ptr %657, align 4, !tbaa !5
  %1004 = call ptr @s2n_strerror(i32 noundef %1003, ptr noundef nonnull @.str.3) #11
  %1005 = load i32, ptr %657, align 4, !tbaa !5
  %1006 = call ptr @s2n_strerror_debug(i32 noundef %1005, ptr noundef nonnull @.str.3) #11
  %1007 = load i32, ptr %711, align 4, !tbaa !5
  %1008 = call ptr @strerror(i32 noundef %1007) #11
  %1009 = load i32, ptr %711, align 4, !tbaa !5
  %1010 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1001, ptr noundef nonnull %.str.4.sink488, i32 noundef %1002, ptr noundef nonnull @.str.36, ptr noundef nonnull @.str.2, i32 noundef 193, ptr noundef %1004, ptr noundef %1006, ptr noundef %1008, i32 noundef %1009) #13
  call void @exit(i32 noundef 1) #14
  unreachable

1011:                                             ; preds = %984
  call void @free(ptr noundef %197) #11
  call void @free(ptr noundef %225) #11
  %1012 = add nsw i32 %985, 2
  store i32 %1012, ptr @test_count, align 4, !tbaa !5
  %1013 = call i32 @s2n_io_pair_close_one_end(ptr noundef nonnull %7, i32 noundef 0) #11
  %1014 = icmp eq i32 %1013, -1
  br i1 %1014, label %1015, label %1037

1015:                                             ; preds = %1011
  %1016 = load i32, ptr %711, align 4, !tbaa !5
  %1017 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1018 = call i32 @s2n_print_stacktrace(ptr noundef %1017) #11
  %1019 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %1020 = trunc nuw i8 %1019 to i1
  br i1 %1020, label %1021, label %1025

1021:                                             ; preds = %1015
  %1022 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1023 = call i32 @fileno(ptr noundef %1022) #11
  %1024 = call i32 @isatty(i32 noundef %1023) #11
  %.not116 = icmp eq i32 %1024, 0
  br i1 %.not116, label %1025, label %1026

1025:                                             ; preds = %1021, %1015
  br label %1026

1026:                                             ; preds = %1021, %1025
  %.str.4.sink497 = phi ptr [ @.str.4, %1025 ], [ @.str, %1021 ]
  store i32 %1016, ptr %711, align 4, !tbaa !5
  %1027 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1028 = load i32, ptr @test_count, align 4, !tbaa !5
  %1029 = load i32, ptr %657, align 4, !tbaa !5
  %1030 = call ptr @s2n_strerror(i32 noundef %1029, ptr noundef nonnull @.str.3) #11
  %1031 = load i32, ptr %657, align 4, !tbaa !5
  %1032 = call ptr @s2n_strerror_debug(i32 noundef %1031, ptr noundef nonnull @.str.3) #11
  %1033 = load i32, ptr %711, align 4, !tbaa !5
  %1034 = call ptr @strerror(i32 noundef %1033) #11
  %1035 = load i32, ptr %711, align 4, !tbaa !5
  %1036 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1027, ptr noundef nonnull %.str.4.sink497, i32 noundef %1028, ptr noundef nonnull @.str.11, ptr noundef nonnull @.str.2, i32 noundef 199, ptr noundef %1030, ptr noundef %1032, ptr noundef %1034, i32 noundef %1035) #13
  call void @exit(i32 noundef 1) #14
  unreachable

1037:                                             ; preds = %1011
  %1038 = call i32 @s2n_cleanup() #11
  %1039 = call i32 @s2n_cleanup() #11
  %1040 = icmp eq i32 %1039, -1
  br i1 %1040, label %1041, label %1063

1041:                                             ; preds = %1037
  %1042 = load i32, ptr %711, align 4, !tbaa !5
  %1043 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1044 = call i32 @s2n_print_stacktrace(ptr noundef %1043) #11
  %1045 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %1046 = trunc nuw i8 %1045 to i1
  br i1 %1046, label %1047, label %1051

1047:                                             ; preds = %1041
  %1048 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1049 = call i32 @fileno(ptr noundef %1048) #11
  %1050 = call i32 @isatty(i32 noundef %1049) #11
  %.not115 = icmp eq i32 %1050, 0
  br i1 %.not115, label %1051, label %1052

1051:                                             ; preds = %1047, %1041
  br label %1052

1052:                                             ; preds = %1047, %1051
  %.str.4.sink506 = phi ptr [ @.str.4, %1051 ], [ @.str, %1047 ]
  store i32 %1042, ptr %711, align 4, !tbaa !5
  %1053 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1054 = load i32, ptr @test_count, align 4, !tbaa !5
  %1055 = load i32, ptr %657, align 4, !tbaa !5
  %1056 = call ptr @s2n_strerror(i32 noundef %1055, ptr noundef nonnull @.str.3) #11
  %1057 = load i32, ptr %657, align 4, !tbaa !5
  %1058 = call ptr @s2n_strerror_debug(i32 noundef %1057, ptr noundef nonnull @.str.3) #11
  %1059 = load i32, ptr %711, align 4, !tbaa !5
  %1060 = call ptr @strerror(i32 noundef %1059) #11
  %1061 = load i32, ptr %711, align 4, !tbaa !5
  %1062 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1053, ptr noundef nonnull %.str.4.sink506, i32 noundef %1054, ptr noundef nonnull @.str.37, ptr noundef nonnull @.str.2, i32 noundef 202, ptr noundef %1056, ptr noundef %1058, ptr noundef %1060, i32 noundef %1061) #13
  call void @exit(i32 noundef 1) #14
  unreachable

1063:                                             ; preds = %1037
  %1064 = call i32 @s2n_in_unit_test_set(i1 noundef zeroext false) #11
  %1065 = icmp eq i32 %1064, -1
  br i1 %1065, label %1066, label %1088

1066:                                             ; preds = %1063
  %1067 = load i32, ptr %711, align 4, !tbaa !5
  %1068 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1069 = call i32 @s2n_print_stacktrace(ptr noundef %1068) #11
  %1070 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %1071 = trunc nuw i8 %1070 to i1
  br i1 %1071, label %1072, label %1076

1072:                                             ; preds = %1066
  %1073 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1074 = call i32 @fileno(ptr noundef %1073) #11
  %1075 = call i32 @isatty(i32 noundef %1074) #11
  %.not114 = icmp eq i32 %1075, 0
  br i1 %.not114, label %1076, label %1077

1076:                                             ; preds = %1072, %1066
  br label %1077

1077:                                             ; preds = %1072, %1076
  %.str.4.sink515 = phi ptr [ @.str.4, %1076 ], [ @.str, %1072 ]
  store i32 %1067, ptr %711, align 4, !tbaa !5
  %1078 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1079 = load i32, ptr @test_count, align 4, !tbaa !5
  %1080 = load i32, ptr %657, align 4, !tbaa !5
  %1081 = call ptr @s2n_strerror(i32 noundef %1080, ptr noundef nonnull @.str.3) #11
  %1082 = load i32, ptr %657, align 4, !tbaa !5
  %1083 = call ptr @s2n_strerror_debug(i32 noundef %1082, ptr noundef nonnull @.str.3) #11
  %1084 = load i32, ptr %711, align 4, !tbaa !5
  %1085 = call ptr @strerror(i32 noundef %1084) #11
  %1086 = load i32, ptr %711, align 4, !tbaa !5
  %1087 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1078, ptr noundef nonnull %.str.4.sink515, i32 noundef %1079, ptr noundef nonnull @.str.38, ptr noundef nonnull @.str.2, i32 noundef 202, ptr noundef %1081, ptr noundef %1083, ptr noundef %1085, i32 noundef %1086) #13
  call void @exit(i32 noundef 1) #14
  unreachable

1088:                                             ; preds = %1063
  %1089 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %1090 = trunc nuw i8 %1089 to i1
  br i1 %1090, label %1091, label %1102

1091:                                             ; preds = %1088
  %1092 = load ptr, ptr @stdout, align 8, !tbaa !9
  %1093 = call i32 @fileno(ptr noundef %1092) #11
  %1094 = call i32 @isatty(i32 noundef %1093) #11
  %.not111 = icmp eq i32 %1094, 0
  br i1 %.not111, label %1102, label %1095

1095:                                             ; preds = %1091
  %1096 = load i32, ptr @test_count, align 4, !tbaa !5
  %.not113 = icmp eq i32 %1096, 0
  %1097 = load ptr, ptr @stdout, align 8, !tbaa !9
  br i1 %.not113, label %1100, label %1098

1098:                                             ; preds = %1095
  %1099 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1097, ptr noundef nonnull @.str.39, i32 noundef %1096) #11
  br label %.loopexit145

1100:                                             ; preds = %1095
  %1101 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1097, ptr noundef nonnull @.str.40) #11
  br label %.loopexit145

1102:                                             ; preds = %1091, %1088
  %1103 = load i32, ptr @test_count, align 4, !tbaa !5
  %.not112 = icmp eq i32 %1103, 0
  %1104 = load ptr, ptr @stdout, align 8, !tbaa !9
  br i1 %.not112, label %1107, label %1105

1105:                                             ; preds = %1102
  %1106 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1104, ptr noundef nonnull @.str.41, i32 noundef %1103) #11
  br label %.loopexit145

1107:                                             ; preds = %1102
  %1108 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1104, ptr noundef nonnull @.str.42) #11
  br label %.loopexit145

.loopexit145:                                     ; preds = %617, %824, %1100, %1098, %1107, %1105
  %.0 = phi i32 [ 0, %1105 ], [ 0, %1107 ], [ 0, %1098 ], [ 0, %1100 ], [ -1, %824 ], [ -1, %617 ]
  %1109 = call i32 @s2n_stuffer_free(ptr noundef nonnull %12) #11
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %12) #11
  %1110 = call i32 @s2n_stuffer_free(ptr noundef nonnull %11) #11
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %11) #11
  %1111 = call i32 @s2n_cert_chain_and_key_ptr_free(ptr noundef nonnull %10) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #11
  %1112 = call i32 @s2n_connection_ptr_free(ptr noundef nonnull %9) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #11
  %1113 = call i32 @s2n_config_ptr_free(ptr noundef nonnull %8) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #11
  %1114 = call i32 @s2n_io_pair_close(ptr noundef nonnull %7) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #11
  call void @llvm.lifetime.end.p0(i64 1023, ptr nonnull %5) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #11
  ret i32 %.0
}

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

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

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

declare i32 @s2n_io_pair_init(ptr noundef) local_unnamed_addr #2

; Function Attrs: nofree nounwind
declare i32 @fork() local_unnamed_addr #5

declare i32 @s2n_config_ptr_free(ptr noundef) local_unnamed_addr #2

declare i32 @s2n_connection_ptr_free(ptr noundef) local_unnamed_addr #2

declare ptr @s2n_cert_chain_and_key_new() local_unnamed_addr #2

declare i32 @s2n_cert_chain_and_key_ptr_free(ptr noundef) local_unnamed_addr #2

declare i32 @s2n_stuffer_free(ptr noundef) local_unnamed_addr #2

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

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

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

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

declare i32 @s2n_fd_set_non_blocking(i32 noundef) local_unnamed_addr #2

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

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

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

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

declare i64 @s2n_recv(ptr noundef, ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #2

declare void @s2n_debug_info_reset() local_unnamed_addr #2

declare i32 @s2n_connection_release_buffers(ptr noundef) local_unnamed_addr #2

declare i32 @s2n_error_get_type(i32 noundef) local_unnamed_addr #2

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

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

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

!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, !6, i64 4}
!16 = !{!"s2n_test_io_pair", !6, i64 0, !6, i64 4}
!17 = !{!18, !6, i64 28}
!18 = !{!"s2n_stuffer", !19, i64 0, !6, i64 24, !6, i64 28, !6, i64 32, !6, i64 36, !6, i64 36, !6, i64 36}
!19 = !{!"s2n_blob", !10, i64 0, !6, i64 8, !6, i64 12, !6, i64 16}
!20 = !{!18, !6, i64 24}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.mustprogress"}
!23 = distinct !{!23, !22}
!24 = distinct !{!24, !22}


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