; LLVM IR from aws/s2n-tls :: tests/unit (s2n_self_talk_client_hello_cb_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.client_hello_context = type { i32, i32, i32, i32, ptr, 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.3 = external hidden unnamed_addr constant [101 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [93 x i8], align 1
@s2n_errno = external thread_local global i32, align 4
@.str.6 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [90 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [68 x i8], align 1
@run_test_config_swap_ch_cb.protocols = external hidden global [1 x ptr], align 8
@.str.26 = external hidden unnamed_addr constant [60 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [58 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [200 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [65 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [91 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [99 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [86 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [60 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [81 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [101 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [70 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [77 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [71 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [63 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [85 x i8], align 1
@.str.42 = external hidden unnamed_addr constant [46 x i8], align 1
@.str.43 = external hidden unnamed_addr constant [96 x i8], align 1
@.str.44 = external hidden unnamed_addr constant [57 x i8], align 1

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

declare ptr @s2n_config_new() #1

declare i32 @s2n_config_set_protocol_preferences(ptr noundef, ptr noundef, i32 noundef) #1

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

declare i32 @s2n_config_free(ptr noundef) #1

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

; Function Attrs: nounwind uwtable
declare dso_local i32 @client_hello_swap_config(ptr noundef, ptr noundef) #3

declare ptr @s2n_get_server_name(ptr noundef) #1

; Function Attrs: nounwind willreturn memory(read)
declare i32 @strcmp(ptr noundef, ptr noundef) #4

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

declare i32 @s2n_print_stacktrace(ptr noundef) #1

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

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

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

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

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

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

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

; Function Attrs: nounwind uwtable
declare dso_local i32 @s2n_negotiate_nonblocking_ch_cb(ptr noundef, ptr noundef, i1 noundef zeroext) #3

; Function Attrs: nounwind uwtable
declare dso_local i32 @s2n_negotiate_blocking_ch_cb(ptr noundef, ptr noundef) #3

; Function Attrs: nounwind uwtable
declare dso_local i32 @server_recv(ptr noundef) #3

; Function Attrs: nounwind uwtable
declare dso_local i32 @init_server_conn(ptr noundef, ptr noundef, ptr noundef) #3

; Function Attrs: nounwind uwtable
declare dso_local i32 @start_client_conn(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #3

; Function Attrs: nounwind uwtable
define dso_local i32 @run_test_config_swap_ch_cb(i32 noundef %0, ptr noundef %1) #3 {
  %3 = alloca i32, align 4
  %4 = alloca ptr, align 8
  %5 = alloca %struct.s2n_test_io_pair, align 4
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca i32, align 4
  %24 = alloca i32, align 4
  %25 = alloca i32, align 4
  %26 = alloca i32, align 4
  %27 = alloca i32, align 4
  %28 = alloca i32, align 4
  store i32 %0, ptr %3, align 4, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #8
  store ptr null, ptr %6, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #8
  store ptr null, ptr %7, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #8
  store ptr null, ptr %8, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #8
  store i32 0, ptr %9, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #8
  store ptr null, ptr %10, align 8, !tbaa !9
  br label %29

29:                                               ; preds = %2
  %30 = load i32, ptr @test_count, align 4, !tbaa !5
  %31 = add nsw i32 %30, 1
  store i32 %31, ptr @test_count, align 4, !tbaa !5
  %32 = call i32 @start_client_conn(ptr noundef %5, ptr noundef %9, i32 noundef 0, i32 noundef 1)
  %33 = icmp eq i32 %32, -1
  br i1 %33, label %34, label %87

34:                                               ; preds = %29
  br label %35

35:                                               ; preds = %34
  br label %36

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

43:                                               ; preds = %36
  %44 = load ptr, ptr @stderr, align 8, !tbaa !9
  %45 = call i32 @fileno(ptr noundef %44) #8
  %46 = call i32 @isatty(i32 noundef %45) #8
  %47 = icmp ne i32 %46, 0
  br i1 %47, label %48, label %65

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

65:                                               ; preds = %43, %36
  %66 = load i32, ptr %11, align 4, !tbaa !5
  %67 = call ptr @__errno_location() #9
  store i32 %66, ptr %67, align 4, !tbaa !5
  %68 = load ptr, ptr @stderr, align 8, !tbaa !9
  %69 = load i32, ptr @test_count, align 4, !tbaa !5
  %70 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %71 = load i32, ptr %70, align 4, !tbaa !5
  %72 = call ptr @s2n_strerror(i32 noundef %71, ptr noundef @.str.6)
  %73 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %74 = load i32, ptr %73, align 4, !tbaa !5
  %75 = call ptr @s2n_strerror_debug(i32 noundef %74, ptr noundef @.str.6)
  %76 = call ptr @__errno_location() #9
  %77 = load i32, ptr %76, align 4, !tbaa !5
  %78 = call ptr @strerror(i32 noundef %77) #8
  %79 = call ptr @__errno_location() #9
  %80 = load i32, ptr %79, align 4, !tbaa !5
  %81 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %68, ptr noundef @.str.7, i32 noundef %69, ptr noundef @.str.25, ptr noundef @.str.5, i32 noundef 310, ptr noundef %72, ptr noundef %75, ptr noundef %78, i32 noundef %80) #8
  br label %82

82:                                               ; preds = %65, %48
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #8
  br label %83

83:                                               ; preds = %82
  br label %84

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

85:                                               ; No predecessors!
  br label %86

86:                                               ; preds = %85
  br label %87

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

88:                                               ; preds = %87
  br label %89

89:                                               ; preds = %88
  br label %90

90:                                               ; preds = %89
  %91 = load i32, ptr @test_count, align 4, !tbaa !5
  %92 = add nsw i32 %91, 1
  store i32 %92, ptr @test_count, align 4, !tbaa !5
  %93 = call i32 @s2n_test_cert_chain_and_key_new(ptr noundef %10, ptr noundef @.str.26, ptr noundef @.str.27)
  %94 = icmp eq i32 %93, -1
  br i1 %94, label %95, label %148

95:                                               ; preds = %90
  br label %96

96:                                               ; preds = %95
  br label %97

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

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

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

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

143:                                              ; preds = %126, %109
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #8
  br label %144

144:                                              ; preds = %143
  br label %145

145:                                              ; preds = %144
  call void @exit(i32 noundef 1) #10
  unreachable

146:                                              ; No predecessors!
  br label %147

147:                                              ; preds = %146
  br label %148

148:                                              ; preds = %147, %90
  br label %149

149:                                              ; preds = %148
  br label %150

150:                                              ; preds = %149
  br label %151

151:                                              ; preds = %150
  %152 = load i32, ptr @test_count, align 4, !tbaa !5
  %153 = add nsw i32 %152, 1
  store i32 %153, ptr @test_count, align 4, !tbaa !5
  %154 = call ptr @s2n_config_new()
  store ptr %154, ptr %8, align 8, !tbaa !9
  %155 = icmp eq ptr %154, null
  br i1 %155, label %156, label %209

156:                                              ; preds = %151
  br label %157

157:                                              ; preds = %156
  br label %158

158:                                              ; preds = %157
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #8
  %159 = call ptr @__errno_location() #9
  %160 = load i32, ptr %159, align 4, !tbaa !5
  store i32 %160, ptr %13, align 4, !tbaa !5
  %161 = load ptr, ptr @stderr, align 8, !tbaa !9
  %162 = call i32 @s2n_print_stacktrace(ptr noundef %161)
  %163 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %164 = trunc i8 %163 to i1
  br i1 %164, label %165, label %187

165:                                              ; preds = %158
  %166 = load ptr, ptr @stderr, align 8, !tbaa !9
  %167 = call i32 @fileno(ptr noundef %166) #8
  %168 = call i32 @isatty(i32 noundef %167) #8
  %169 = icmp ne i32 %168, 0
  br i1 %169, label %170, label %187

170:                                              ; preds = %165
  %171 = load i32, ptr %13, align 4, !tbaa !5
  %172 = call ptr @__errno_location() #9
  store i32 %171, ptr %172, align 4, !tbaa !5
  %173 = load ptr, ptr @stderr, align 8, !tbaa !9
  %174 = load i32, ptr @test_count, align 4, !tbaa !5
  %175 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %176 = load i32, ptr %175, align 4, !tbaa !5
  %177 = call ptr @s2n_strerror(i32 noundef %176, ptr noundef @.str.6)
  %178 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %179 = load i32, ptr %178, align 4, !tbaa !5
  %180 = call ptr @s2n_strerror_debug(i32 noundef %179, ptr noundef @.str.6)
  %181 = call ptr @__errno_location() #9
  %182 = load i32, ptr %181, align 4, !tbaa !5
  %183 = call ptr @strerror(i32 noundef %182) #8
  %184 = call ptr @__errno_location() #9
  %185 = load i32, ptr %184, align 4, !tbaa !5
  %186 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %173, ptr noundef @.str.3, i32 noundef %174, ptr noundef @.str.29, ptr noundef @.str.5, i32 noundef 317, ptr noundef %177, ptr noundef %180, ptr noundef %183, i32 noundef %185) #8
  br label %204

187:                                              ; preds = %165, %158
  %188 = load i32, ptr %13, align 4, !tbaa !5
  %189 = call ptr @__errno_location() #9
  store i32 %188, ptr %189, align 4, !tbaa !5
  %190 = load ptr, ptr @stderr, align 8, !tbaa !9
  %191 = load i32, ptr @test_count, align 4, !tbaa !5
  %192 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %193 = load i32, ptr %192, align 4, !tbaa !5
  %194 = call ptr @s2n_strerror(i32 noundef %193, ptr noundef @.str.6)
  %195 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %196 = load i32, ptr %195, align 4, !tbaa !5
  %197 = call ptr @s2n_strerror_debug(i32 noundef %196, ptr noundef @.str.6)
  %198 = call ptr @__errno_location() #9
  %199 = load i32, ptr %198, align 4, !tbaa !5
  %200 = call ptr @strerror(i32 noundef %199) #8
  %201 = call ptr @__errno_location() #9
  %202 = load i32, ptr %201, align 4, !tbaa !5
  %203 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %190, ptr noundef @.str.7, i32 noundef %191, ptr noundef @.str.29, ptr noundef @.str.5, i32 noundef 317, ptr noundef %194, ptr noundef %197, ptr noundef %200, i32 noundef %202) #8
  br label %204

204:                                              ; preds = %187, %170
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #8
  br label %205

205:                                              ; preds = %204
  br label %206

206:                                              ; preds = %205
  call void @exit(i32 noundef 1) #10
  unreachable

207:                                              ; No predecessors!
  br label %208

208:                                              ; preds = %207
  br label %209

209:                                              ; preds = %208, %151
  br label %210

210:                                              ; preds = %209
  br label %211

211:                                              ; preds = %210
  br label %212

212:                                              ; preds = %211
  %213 = load i32, ptr @test_count, align 4, !tbaa !5
  %214 = add nsw i32 %213, 1
  store i32 %214, ptr @test_count, align 4, !tbaa !5
  %215 = load ptr, ptr %8, align 8, !tbaa !9
  %216 = call i32 @s2n_config_set_protocol_preferences(ptr noundef %215, ptr noundef @run_test_config_swap_ch_cb.protocols, i32 noundef 1)
  %217 = icmp eq i32 %216, -1
  br i1 %217, label %218, label %271

218:                                              ; preds = %212
  br label %219

219:                                              ; preds = %218
  br label %220

220:                                              ; preds = %219
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #8
  %221 = call ptr @__errno_location() #9
  %222 = load i32, ptr %221, align 4, !tbaa !5
  store i32 %222, ptr %14, align 4, !tbaa !5
  %223 = load ptr, ptr @stderr, align 8, !tbaa !9
  %224 = call i32 @s2n_print_stacktrace(ptr noundef %223)
  %225 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %226 = trunc i8 %225 to i1
  br i1 %226, label %227, label %249

227:                                              ; preds = %220
  %228 = load ptr, ptr @stderr, align 8, !tbaa !9
  %229 = call i32 @fileno(ptr noundef %228) #8
  %230 = call i32 @isatty(i32 noundef %229) #8
  %231 = icmp ne i32 %230, 0
  br i1 %231, label %232, label %249

232:                                              ; preds = %227
  %233 = load i32, ptr %14, align 4, !tbaa !5
  %234 = call ptr @__errno_location() #9
  store i32 %233, ptr %234, align 4, !tbaa !5
  %235 = load ptr, ptr @stderr, align 8, !tbaa !9
  %236 = load i32, ptr @test_count, align 4, !tbaa !5
  %237 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %238 = load i32, ptr %237, align 4, !tbaa !5
  %239 = call ptr @s2n_strerror(i32 noundef %238, ptr noundef @.str.6)
  %240 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %241 = load i32, ptr %240, align 4, !tbaa !5
  %242 = call ptr @s2n_strerror_debug(i32 noundef %241, ptr noundef @.str.6)
  %243 = call ptr @__errno_location() #9
  %244 = load i32, ptr %243, align 4, !tbaa !5
  %245 = call ptr @strerror(i32 noundef %244) #8
  %246 = call ptr @__errno_location() #9
  %247 = load i32, ptr %246, align 4, !tbaa !5
  %248 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %235, ptr noundef @.str.3, i32 noundef %236, ptr noundef @.str.30, ptr noundef @.str.5, i32 noundef 318, ptr noundef %239, ptr noundef %242, ptr noundef %245, i32 noundef %247) #8
  br label %266

249:                                              ; preds = %227, %220
  %250 = load i32, ptr %14, align 4, !tbaa !5
  %251 = call ptr @__errno_location() #9
  store i32 %250, ptr %251, align 4, !tbaa !5
  %252 = load ptr, ptr @stderr, align 8, !tbaa !9
  %253 = load i32, ptr @test_count, align 4, !tbaa !5
  %254 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %255 = load i32, ptr %254, align 4, !tbaa !5
  %256 = call ptr @s2n_strerror(i32 noundef %255, ptr noundef @.str.6)
  %257 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %258 = load i32, ptr %257, align 4, !tbaa !5
  %259 = call ptr @s2n_strerror_debug(i32 noundef %258, ptr noundef @.str.6)
  %260 = call ptr @__errno_location() #9
  %261 = load i32, ptr %260, align 4, !tbaa !5
  %262 = call ptr @strerror(i32 noundef %261) #8
  %263 = call ptr @__errno_location() #9
  %264 = load i32, ptr %263, align 4, !tbaa !5
  %265 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %252, ptr noundef @.str.7, i32 noundef %253, ptr noundef @.str.30, ptr noundef @.str.5, i32 noundef 318, ptr noundef %256, ptr noundef %259, ptr noundef %262, i32 noundef %264) #8
  br label %266

266:                                              ; preds = %249, %232
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #8
  br label %267

267:                                              ; preds = %266
  br label %268

268:                                              ; preds = %267
  call void @exit(i32 noundef 1) #10
  unreachable

269:                                              ; No predecessors!
  br label %270

270:                                              ; preds = %269
  br label %271

271:                                              ; preds = %270, %212
  br label %272

272:                                              ; preds = %271
  br label %273

273:                                              ; preds = %272
  br label %274

274:                                              ; preds = %273
  %275 = load i32, ptr @test_count, align 4, !tbaa !5
  %276 = add nsw i32 %275, 1
  store i32 %276, ptr @test_count, align 4, !tbaa !5
  %277 = load ptr, ptr %8, align 8, !tbaa !9
  %278 = load ptr, ptr %10, align 8, !tbaa !9
  %279 = call i32 @s2n_config_add_cert_chain_and_key_to_store(ptr noundef %277, ptr noundef %278)
  %280 = icmp eq i32 %279, -1
  br i1 %280, label %281, label %334

281:                                              ; preds = %274
  br label %282

282:                                              ; preds = %281
  br label %283

283:                                              ; preds = %282
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #8
  %284 = call ptr @__errno_location() #9
  %285 = load i32, ptr %284, align 4, !tbaa !5
  store i32 %285, ptr %15, align 4, !tbaa !5
  %286 = load ptr, ptr @stderr, align 8, !tbaa !9
  %287 = call i32 @s2n_print_stacktrace(ptr noundef %286)
  %288 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %289 = trunc i8 %288 to i1
  br i1 %289, label %290, label %312

290:                                              ; preds = %283
  %291 = load ptr, ptr @stderr, align 8, !tbaa !9
  %292 = call i32 @fileno(ptr noundef %291) #8
  %293 = call i32 @isatty(i32 noundef %292) #8
  %294 = icmp ne i32 %293, 0
  br i1 %294, label %295, label %312

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

312:                                              ; preds = %290, %283
  %313 = load i32, ptr %15, align 4, !tbaa !5
  %314 = call ptr @__errno_location() #9
  store i32 %313, ptr %314, align 4, !tbaa !5
  %315 = load ptr, ptr @stderr, align 8, !tbaa !9
  %316 = load i32, ptr @test_count, align 4, !tbaa !5
  %317 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %318 = load i32, ptr %317, align 4, !tbaa !5
  %319 = call ptr @s2n_strerror(i32 noundef %318, ptr noundef @.str.6)
  %320 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %321 = load i32, ptr %320, align 4, !tbaa !5
  %322 = call ptr @s2n_strerror_debug(i32 noundef %321, ptr noundef @.str.6)
  %323 = call ptr @__errno_location() #9
  %324 = load i32, ptr %323, align 4, !tbaa !5
  %325 = call ptr @strerror(i32 noundef %324) #8
  %326 = call ptr @__errno_location() #9
  %327 = load i32, ptr %326, align 4, !tbaa !5
  %328 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %315, ptr noundef @.str.7, i32 noundef %316, ptr noundef @.str.31, ptr noundef @.str.5, i32 noundef 319, ptr noundef %319, ptr noundef %322, ptr noundef %325, i32 noundef %327) #8
  br label %329

329:                                              ; preds = %312, %295
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #8
  br label %330

330:                                              ; preds = %329
  br label %331

331:                                              ; preds = %330
  call void @exit(i32 noundef 1) #10
  unreachable

332:                                              ; No predecessors!
  br label %333

333:                                              ; preds = %332
  br label %334

334:                                              ; preds = %333, %274
  br label %335

335:                                              ; preds = %334
  br label %336

336:                                              ; preds = %335
  %337 = load ptr, ptr %8, align 8, !tbaa !9
  %338 = load ptr, ptr %4, align 8, !tbaa !9
  %339 = getelementptr inbounds %struct.client_hello_context, ptr %338, i32 0, i32 4
  store ptr %337, ptr %339, align 8, !tbaa !15
  br label %340

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

347:                                              ; preds = %340
  br label %348

348:                                              ; preds = %347
  br label %349

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

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

361:                                              ; preds = %356
  %362 = load i32, ptr %16, align 4, !tbaa !5
  %363 = call ptr @__errno_location() #9
  store i32 %362, ptr %363, align 4, !tbaa !5
  %364 = load ptr, ptr @stderr, align 8, !tbaa !9
  %365 = load i32, ptr @test_count, align 4, !tbaa !5
  %366 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %367 = load i32, ptr %366, align 4, !tbaa !5
  %368 = call ptr @s2n_strerror(i32 noundef %367, ptr noundef @.str.6)
  %369 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %370 = load i32, ptr %369, align 4, !tbaa !5
  %371 = call ptr @s2n_strerror_debug(i32 noundef %370, ptr noundef @.str.6)
  %372 = call ptr @__errno_location() #9
  %373 = load i32, ptr %372, align 4, !tbaa !5
  %374 = call ptr @strerror(i32 noundef %373) #8
  %375 = call ptr @__errno_location() #9
  %376 = load i32, ptr %375, align 4, !tbaa !5
  %377 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %364, ptr noundef @.str.3, i32 noundef %365, ptr noundef @.str.32, ptr noundef @.str.5, i32 noundef 322, ptr noundef %368, ptr noundef %371, ptr noundef %374, i32 noundef %376) #8
  br label %395

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

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

396:                                              ; preds = %395
  br label %397

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

398:                                              ; No predecessors!
  br label %399

399:                                              ; preds = %398
  br label %400

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

401:                                              ; preds = %400
  br label %402

402:                                              ; preds = %401
  br label %403

403:                                              ; preds = %402
  %404 = load i32, ptr @test_count, align 4, !tbaa !5
  %405 = add nsw i32 %404, 1
  store i32 %405, ptr @test_count, align 4, !tbaa !5
  %406 = call ptr @s2n_config_new()
  store ptr %406, ptr %6, align 8, !tbaa !9
  %407 = icmp eq ptr %406, null
  br i1 %407, label %408, label %461

408:                                              ; preds = %403
  br label %409

409:                                              ; preds = %408
  br label %410

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

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

422:                                              ; preds = %417
  %423 = load i32, ptr %17, align 4, !tbaa !5
  %424 = call ptr @__errno_location() #9
  store i32 %423, ptr %424, align 4, !tbaa !5
  %425 = load ptr, ptr @stderr, align 8, !tbaa !9
  %426 = load i32, ptr @test_count, align 4, !tbaa !5
  %427 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %428 = load i32, ptr %427, align 4, !tbaa !5
  %429 = call ptr @s2n_strerror(i32 noundef %428, ptr noundef @.str.6)
  %430 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %431 = load i32, ptr %430, align 4, !tbaa !5
  %432 = call ptr @s2n_strerror_debug(i32 noundef %431, ptr noundef @.str.6)
  %433 = call ptr @__errno_location() #9
  %434 = load i32, ptr %433, align 4, !tbaa !5
  %435 = call ptr @strerror(i32 noundef %434) #8
  %436 = call ptr @__errno_location() #9
  %437 = load i32, ptr %436, align 4, !tbaa !5
  %438 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %425, ptr noundef @.str.3, i32 noundef %426, ptr noundef @.str.33, ptr noundef @.str.5, i32 noundef 326, ptr noundef %429, ptr noundef %432, ptr noundef %435, i32 noundef %437) #8
  br label %456

439:                                              ; preds = %417, %410
  %440 = load i32, ptr %17, align 4, !tbaa !5
  %441 = call ptr @__errno_location() #9
  store i32 %440, ptr %441, align 4, !tbaa !5
  %442 = load ptr, ptr @stderr, align 8, !tbaa !9
  %443 = load i32, ptr @test_count, align 4, !tbaa !5
  %444 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %445 = load i32, ptr %444, align 4, !tbaa !5
  %446 = call ptr @s2n_strerror(i32 noundef %445, ptr noundef @.str.6)
  %447 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %448 = load i32, ptr %447, align 4, !tbaa !5
  %449 = call ptr @s2n_strerror_debug(i32 noundef %448, ptr noundef @.str.6)
  %450 = call ptr @__errno_location() #9
  %451 = load i32, ptr %450, align 4, !tbaa !5
  %452 = call ptr @strerror(i32 noundef %451) #8
  %453 = call ptr @__errno_location() #9
  %454 = load i32, ptr %453, align 4, !tbaa !5
  %455 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %442, ptr noundef @.str.7, i32 noundef %443, ptr noundef @.str.33, ptr noundef @.str.5, i32 noundef 326, ptr noundef %446, ptr noundef %449, ptr noundef %452, i32 noundef %454) #8
  br label %456

456:                                              ; preds = %439, %422
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #8
  br label %457

457:                                              ; preds = %456
  br label %458

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

459:                                              ; No predecessors!
  br label %460

460:                                              ; preds = %459
  br label %461

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

462:                                              ; preds = %461
  br label %463

463:                                              ; preds = %462
  br label %464

464:                                              ; preds = %463
  %465 = load i32, ptr @test_count, align 4, !tbaa !5
  %466 = add nsw i32 %465, 1
  store i32 %466, ptr @test_count, align 4, !tbaa !5
  %467 = load ptr, ptr %6, align 8, !tbaa !9
  %468 = load i32, ptr %3, align 4, !tbaa !5
  %469 = call i32 @s2n_config_set_client_hello_cb_mode(ptr noundef %467, i32 noundef %468)
  %470 = icmp eq i32 %469, -1
  br i1 %470, label %471, label %524

471:                                              ; preds = %464
  br label %472

472:                                              ; preds = %471
  br label %473

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

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

485:                                              ; preds = %480
  %486 = load i32, ptr %18, align 4, !tbaa !5
  %487 = call ptr @__errno_location() #9
  store i32 %486, ptr %487, align 4, !tbaa !5
  %488 = load ptr, ptr @stderr, align 8, !tbaa !9
  %489 = load i32, ptr @test_count, align 4, !tbaa !5
  %490 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %491 = load i32, ptr %490, align 4, !tbaa !5
  %492 = call ptr @s2n_strerror(i32 noundef %491, ptr noundef @.str.6)
  %493 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %494 = load i32, ptr %493, align 4, !tbaa !5
  %495 = call ptr @s2n_strerror_debug(i32 noundef %494, ptr noundef @.str.6)
  %496 = call ptr @__errno_location() #9
  %497 = load i32, ptr %496, align 4, !tbaa !5
  %498 = call ptr @strerror(i32 noundef %497) #8
  %499 = call ptr @__errno_location() #9
  %500 = load i32, ptr %499, align 4, !tbaa !5
  %501 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %488, ptr noundef @.str.3, i32 noundef %489, ptr noundef @.str.34, ptr noundef @.str.5, i32 noundef 329, ptr noundef %492, ptr noundef %495, ptr noundef %498, i32 noundef %500) #8
  br label %519

502:                                              ; preds = %480, %473
  %503 = load i32, ptr %18, align 4, !tbaa !5
  %504 = call ptr @__errno_location() #9
  store i32 %503, ptr %504, align 4, !tbaa !5
  %505 = load ptr, ptr @stderr, align 8, !tbaa !9
  %506 = load i32, ptr @test_count, align 4, !tbaa !5
  %507 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %508 = load i32, ptr %507, align 4, !tbaa !5
  %509 = call ptr @s2n_strerror(i32 noundef %508, ptr noundef @.str.6)
  %510 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %511 = load i32, ptr %510, align 4, !tbaa !5
  %512 = call ptr @s2n_strerror_debug(i32 noundef %511, ptr noundef @.str.6)
  %513 = call ptr @__errno_location() #9
  %514 = load i32, ptr %513, align 4, !tbaa !5
  %515 = call ptr @strerror(i32 noundef %514) #8
  %516 = call ptr @__errno_location() #9
  %517 = load i32, ptr %516, align 4, !tbaa !5
  %518 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %505, ptr noundef @.str.7, i32 noundef %506, ptr noundef @.str.34, ptr noundef @.str.5, i32 noundef 329, ptr noundef %509, ptr noundef %512, ptr noundef %515, i32 noundef %517) #8
  br label %519

519:                                              ; preds = %502, %485
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #8
  br label %520

520:                                              ; preds = %519
  br label %521

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

522:                                              ; No predecessors!
  br label %523

523:                                              ; preds = %522
  br label %524

524:                                              ; preds = %523, %464
  br label %525

525:                                              ; preds = %524
  br label %526

526:                                              ; preds = %525
  br label %527

527:                                              ; preds = %526
  %528 = load i32, ptr @test_count, align 4, !tbaa !5
  %529 = add nsw i32 %528, 1
  store i32 %529, ptr @test_count, align 4, !tbaa !5
  %530 = load ptr, ptr %6, align 8, !tbaa !9
  %531 = load ptr, ptr %4, align 8, !tbaa !9
  %532 = call i32 @s2n_config_set_client_hello_cb(ptr noundef %530, ptr noundef @client_hello_swap_config, ptr noundef %531)
  %533 = icmp eq i32 %532, -1
  br i1 %533, label %534, label %587

534:                                              ; preds = %527
  br label %535

535:                                              ; preds = %534
  br label %536

536:                                              ; preds = %535
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #8
  %537 = call ptr @__errno_location() #9
  %538 = load i32, ptr %537, align 4, !tbaa !5
  store i32 %538, ptr %19, align 4, !tbaa !5
  %539 = load ptr, ptr @stderr, align 8, !tbaa !9
  %540 = call i32 @s2n_print_stacktrace(ptr noundef %539)
  %541 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %542 = trunc i8 %541 to i1
  br i1 %542, label %543, label %565

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

548:                                              ; preds = %543
  %549 = load i32, ptr %19, align 4, !tbaa !5
  %550 = call ptr @__errno_location() #9
  store i32 %549, ptr %550, align 4, !tbaa !5
  %551 = load ptr, ptr @stderr, align 8, !tbaa !9
  %552 = load i32, ptr @test_count, align 4, !tbaa !5
  %553 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %554 = load i32, ptr %553, align 4, !tbaa !5
  %555 = call ptr @s2n_strerror(i32 noundef %554, ptr noundef @.str.6)
  %556 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %557 = load i32, ptr %556, align 4, !tbaa !5
  %558 = call ptr @s2n_strerror_debug(i32 noundef %557, ptr noundef @.str.6)
  %559 = call ptr @__errno_location() #9
  %560 = load i32, ptr %559, align 4, !tbaa !5
  %561 = call ptr @strerror(i32 noundef %560) #8
  %562 = call ptr @__errno_location() #9
  %563 = load i32, ptr %562, align 4, !tbaa !5
  %564 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %551, ptr noundef @.str.3, i32 noundef %552, ptr noundef @.str.35, ptr noundef @.str.5, i32 noundef 330, ptr noundef %555, ptr noundef %558, ptr noundef %561, i32 noundef %563) #8
  br label %582

565:                                              ; preds = %543, %536
  %566 = load i32, ptr %19, align 4, !tbaa !5
  %567 = call ptr @__errno_location() #9
  store i32 %566, ptr %567, align 4, !tbaa !5
  %568 = load ptr, ptr @stderr, align 8, !tbaa !9
  %569 = load i32, ptr @test_count, align 4, !tbaa !5
  %570 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %571 = load i32, ptr %570, align 4, !tbaa !5
  %572 = call ptr @s2n_strerror(i32 noundef %571, ptr noundef @.str.6)
  %573 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %574 = load i32, ptr %573, align 4, !tbaa !5
  %575 = call ptr @s2n_strerror_debug(i32 noundef %574, ptr noundef @.str.6)
  %576 = call ptr @__errno_location() #9
  %577 = load i32, ptr %576, align 4, !tbaa !5
  %578 = call ptr @strerror(i32 noundef %577) #8
  %579 = call ptr @__errno_location() #9
  %580 = load i32, ptr %579, align 4, !tbaa !5
  %581 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %568, ptr noundef @.str.7, i32 noundef %569, ptr noundef @.str.35, ptr noundef @.str.5, i32 noundef 330, ptr noundef %572, ptr noundef %575, ptr noundef %578, i32 noundef %580) #8
  br label %582

582:                                              ; preds = %565, %548
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #8
  br label %583

583:                                              ; preds = %582
  br label %584

584:                                              ; preds = %583
  call void @exit(i32 noundef 1) #10
  unreachable

585:                                              ; No predecessors!
  br label %586

586:                                              ; preds = %585
  br label %587

587:                                              ; preds = %586, %527
  br label %588

588:                                              ; preds = %587
  br label %589

589:                                              ; preds = %588
  br label %590

590:                                              ; preds = %589
  %591 = load i32, ptr @test_count, align 4, !tbaa !5
  %592 = add nsw i32 %591, 1
  store i32 %592, ptr @test_count, align 4, !tbaa !5
  %593 = load ptr, ptr %6, align 8, !tbaa !9
  %594 = call i32 @init_server_conn(ptr noundef %7, ptr noundef %5, ptr noundef %593)
  %595 = icmp eq i32 %594, -1
  br i1 %595, label %596, label %649

596:                                              ; preds = %590
  br label %597

597:                                              ; preds = %596
  br label %598

598:                                              ; preds = %597
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #8
  %599 = call ptr @__errno_location() #9
  %600 = load i32, ptr %599, align 4, !tbaa !5
  store i32 %600, ptr %20, align 4, !tbaa !5
  %601 = load ptr, ptr @stderr, align 8, !tbaa !9
  %602 = call i32 @s2n_print_stacktrace(ptr noundef %601)
  %603 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %604 = trunc i8 %603 to i1
  br i1 %604, label %605, label %627

605:                                              ; preds = %598
  %606 = load ptr, ptr @stderr, align 8, !tbaa !9
  %607 = call i32 @fileno(ptr noundef %606) #8
  %608 = call i32 @isatty(i32 noundef %607) #8
  %609 = icmp ne i32 %608, 0
  br i1 %609, label %610, label %627

610:                                              ; preds = %605
  %611 = load i32, ptr %20, align 4, !tbaa !5
  %612 = call ptr @__errno_location() #9
  store i32 %611, ptr %612, align 4, !tbaa !5
  %613 = load ptr, ptr @stderr, align 8, !tbaa !9
  %614 = load i32, ptr @test_count, align 4, !tbaa !5
  %615 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %616 = load i32, ptr %615, align 4, !tbaa !5
  %617 = call ptr @s2n_strerror(i32 noundef %616, ptr noundef @.str.6)
  %618 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %619 = load i32, ptr %618, align 4, !tbaa !5
  %620 = call ptr @s2n_strerror_debug(i32 noundef %619, ptr noundef @.str.6)
  %621 = call ptr @__errno_location() #9
  %622 = load i32, ptr %621, align 4, !tbaa !5
  %623 = call ptr @strerror(i32 noundef %622) #8
  %624 = call ptr @__errno_location() #9
  %625 = load i32, ptr %624, align 4, !tbaa !5
  %626 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %613, ptr noundef @.str.3, i32 noundef %614, ptr noundef @.str.36, ptr noundef @.str.5, i32 noundef 332, ptr noundef %617, ptr noundef %620, ptr noundef %623, i32 noundef %625) #8
  br label %644

627:                                              ; preds = %605, %598
  %628 = load i32, ptr %20, align 4, !tbaa !5
  %629 = call ptr @__errno_location() #9
  store i32 %628, ptr %629, align 4, !tbaa !5
  %630 = load ptr, ptr @stderr, align 8, !tbaa !9
  %631 = load i32, ptr @test_count, align 4, !tbaa !5
  %632 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %633 = load i32, ptr %632, align 4, !tbaa !5
  %634 = call ptr @s2n_strerror(i32 noundef %633, ptr noundef @.str.6)
  %635 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %636 = load i32, ptr %635, align 4, !tbaa !5
  %637 = call ptr @s2n_strerror_debug(i32 noundef %636, ptr noundef @.str.6)
  %638 = call ptr @__errno_location() #9
  %639 = load i32, ptr %638, align 4, !tbaa !5
  %640 = call ptr @strerror(i32 noundef %639) #8
  %641 = call ptr @__errno_location() #9
  %642 = load i32, ptr %641, align 4, !tbaa !5
  %643 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %630, ptr noundef @.str.7, i32 noundef %631, ptr noundef @.str.36, ptr noundef @.str.5, i32 noundef 332, ptr noundef %634, ptr noundef %637, ptr noundef %640, i32 noundef %642) #8
  br label %644

644:                                              ; preds = %627, %610
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #8
  br label %645

645:                                              ; preds = %644
  br label %646

646:                                              ; preds = %645
  call void @exit(i32 noundef 1) #10
  unreachable

647:                                              ; No predecessors!
  br label %648

648:                                              ; preds = %647
  br label %649

649:                                              ; preds = %648, %590
  br label %650

650:                                              ; preds = %649
  br label %651

651:                                              ; preds = %650
  %652 = load i32, ptr %3, align 4, !tbaa !5
  %653 = icmp eq i32 %652, 1
  br i1 %653, label %654, label %723

654:                                              ; preds = %651
  %655 = load ptr, ptr %4, align 8, !tbaa !9
  %656 = getelementptr inbounds %struct.client_hello_context, ptr %655, i32 0, i32 3
  %657 = load i32, ptr %656, align 4, !tbaa !17
  %658 = icmp ne i32 %657, 0
  br i1 %658, label %723, label %659

659:                                              ; preds = %654
  br label %660

660:                                              ; preds = %659
  %661 = load i32, ptr @test_count, align 4, !tbaa !5
  %662 = add nsw i32 %661, 1
  store i32 %662, ptr @test_count, align 4, !tbaa !5
  %663 = load ptr, ptr %7, align 8, !tbaa !9
  %664 = load ptr, ptr %4, align 8, !tbaa !9
  %665 = call i32 @s2n_negotiate_nonblocking_ch_cb(ptr noundef %663, ptr noundef %664, i1 noundef zeroext true)
  %666 = icmp eq i32 %665, -1
  br i1 %666, label %667, label %720

667:                                              ; preds = %660
  br label %668

668:                                              ; preds = %667
  br label %669

669:                                              ; preds = %668
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #8
  %670 = call ptr @__errno_location() #9
  %671 = load i32, ptr %670, align 4, !tbaa !5
  store i32 %671, ptr %21, align 4, !tbaa !5
  %672 = load ptr, ptr @stderr, align 8, !tbaa !9
  %673 = call i32 @s2n_print_stacktrace(ptr noundef %672)
  %674 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %675 = trunc i8 %674 to i1
  br i1 %675, label %676, label %698

676:                                              ; preds = %669
  %677 = load ptr, ptr @stderr, align 8, !tbaa !9
  %678 = call i32 @fileno(ptr noundef %677) #8
  %679 = call i32 @isatty(i32 noundef %678) #8
  %680 = icmp ne i32 %679, 0
  br i1 %680, label %681, label %698

681:                                              ; preds = %676
  %682 = load i32, ptr %21, align 4, !tbaa !5
  %683 = call ptr @__errno_location() #9
  store i32 %682, ptr %683, align 4, !tbaa !5
  %684 = load ptr, ptr @stderr, align 8, !tbaa !9
  %685 = load i32, ptr @test_count, align 4, !tbaa !5
  %686 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %687 = load i32, ptr %686, align 4, !tbaa !5
  %688 = call ptr @s2n_strerror(i32 noundef %687, ptr noundef @.str.6)
  %689 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %690 = load i32, ptr %689, align 4, !tbaa !5
  %691 = call ptr @s2n_strerror_debug(i32 noundef %690, ptr noundef @.str.6)
  %692 = call ptr @__errno_location() #9
  %693 = load i32, ptr %692, align 4, !tbaa !5
  %694 = call ptr @strerror(i32 noundef %693) #8
  %695 = call ptr @__errno_location() #9
  %696 = load i32, ptr %695, align 4, !tbaa !5
  %697 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %684, ptr noundef @.str.3, i32 noundef %685, ptr noundef @.str.37, ptr noundef @.str.5, i32 noundef 337, ptr noundef %688, ptr noundef %691, ptr noundef %694, i32 noundef %696) #8
  br label %715

698:                                              ; preds = %676, %669
  %699 = load i32, ptr %21, align 4, !tbaa !5
  %700 = call ptr @__errno_location() #9
  store i32 %699, ptr %700, align 4, !tbaa !5
  %701 = load ptr, ptr @stderr, align 8, !tbaa !9
  %702 = load i32, ptr @test_count, align 4, !tbaa !5
  %703 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %704 = load i32, ptr %703, align 4, !tbaa !5
  %705 = call ptr @s2n_strerror(i32 noundef %704, ptr noundef @.str.6)
  %706 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %707 = load i32, ptr %706, align 4, !tbaa !5
  %708 = call ptr @s2n_strerror_debug(i32 noundef %707, ptr noundef @.str.6)
  %709 = call ptr @__errno_location() #9
  %710 = load i32, ptr %709, align 4, !tbaa !5
  %711 = call ptr @strerror(i32 noundef %710) #8
  %712 = call ptr @__errno_location() #9
  %713 = load i32, ptr %712, align 4, !tbaa !5
  %714 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %701, ptr noundef @.str.7, i32 noundef %702, ptr noundef @.str.37, ptr noundef @.str.5, i32 noundef 337, ptr noundef %705, ptr noundef %708, ptr noundef %711, i32 noundef %713) #8
  br label %715

715:                                              ; preds = %698, %681
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #8
  br label %716

716:                                              ; preds = %715
  br label %717

717:                                              ; preds = %716
  call void @exit(i32 noundef 1) #10
  unreachable

718:                                              ; No predecessors!
  br label %719

719:                                              ; preds = %718
  br label %720

720:                                              ; preds = %719, %660
  br label %721

721:                                              ; preds = %720
  br label %722

722:                                              ; preds = %721
  br label %787

723:                                              ; preds = %654, %651
  br label %724

724:                                              ; preds = %723
  %725 = load i32, ptr @test_count, align 4, !tbaa !5
  %726 = add nsw i32 %725, 1
  store i32 %726, ptr @test_count, align 4, !tbaa !5
  %727 = load ptr, ptr %7, align 8, !tbaa !9
  %728 = load ptr, ptr %4, align 8, !tbaa !9
  %729 = call i32 @s2n_negotiate_blocking_ch_cb(ptr noundef %727, ptr noundef %728)
  %730 = icmp eq i32 %729, -1
  br i1 %730, label %731, label %784

731:                                              ; preds = %724
  br label %732

732:                                              ; preds = %731
  br label %733

733:                                              ; preds = %732
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #8
  %734 = call ptr @__errno_location() #9
  %735 = load i32, ptr %734, align 4, !tbaa !5
  store i32 %735, ptr %22, align 4, !tbaa !5
  %736 = load ptr, ptr @stderr, align 8, !tbaa !9
  %737 = call i32 @s2n_print_stacktrace(ptr noundef %736)
  %738 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %739 = trunc i8 %738 to i1
  br i1 %739, label %740, label %762

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

745:                                              ; preds = %740
  %746 = load i32, ptr %22, align 4, !tbaa !5
  %747 = call ptr @__errno_location() #9
  store i32 %746, ptr %747, align 4, !tbaa !5
  %748 = load ptr, ptr @stderr, align 8, !tbaa !9
  %749 = load i32, ptr @test_count, align 4, !tbaa !5
  %750 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %751 = load i32, ptr %750, align 4, !tbaa !5
  %752 = call ptr @s2n_strerror(i32 noundef %751, ptr noundef @.str.6)
  %753 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %754 = load i32, ptr %753, align 4, !tbaa !5
  %755 = call ptr @s2n_strerror_debug(i32 noundef %754, ptr noundef @.str.6)
  %756 = call ptr @__errno_location() #9
  %757 = load i32, ptr %756, align 4, !tbaa !5
  %758 = call ptr @strerror(i32 noundef %757) #8
  %759 = call ptr @__errno_location() #9
  %760 = load i32, ptr %759, align 4, !tbaa !5
  %761 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %748, ptr noundef @.str.3, i32 noundef %749, ptr noundef @.str.38, ptr noundef @.str.5, i32 noundef 342, ptr noundef %752, ptr noundef %755, ptr noundef %758, i32 noundef %760) #8
  br label %779

762:                                              ; preds = %740, %733
  %763 = load i32, ptr %22, align 4, !tbaa !5
  %764 = call ptr @__errno_location() #9
  store i32 %763, ptr %764, align 4, !tbaa !5
  %765 = load ptr, ptr @stderr, align 8, !tbaa !9
  %766 = load i32, ptr @test_count, align 4, !tbaa !5
  %767 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %768 = load i32, ptr %767, align 4, !tbaa !5
  %769 = call ptr @s2n_strerror(i32 noundef %768, ptr noundef @.str.6)
  %770 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %771 = load i32, ptr %770, align 4, !tbaa !5
  %772 = call ptr @s2n_strerror_debug(i32 noundef %771, ptr noundef @.str.6)
  %773 = call ptr @__errno_location() #9
  %774 = load i32, ptr %773, align 4, !tbaa !5
  %775 = call ptr @strerror(i32 noundef %774) #8
  %776 = call ptr @__errno_location() #9
  %777 = load i32, ptr %776, align 4, !tbaa !5
  %778 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %765, ptr noundef @.str.7, i32 noundef %766, ptr noundef @.str.38, ptr noundef @.str.5, i32 noundef 342, ptr noundef %769, ptr noundef %772, ptr noundef %775, i32 noundef %777) #8
  br label %779

779:                                              ; preds = %762, %745
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #8
  br label %780

780:                                              ; preds = %779
  br label %781

781:                                              ; preds = %780
  call void @exit(i32 noundef 1) #10
  unreachable

782:                                              ; No predecessors!
  br label %783

783:                                              ; preds = %782
  br label %784

784:                                              ; preds = %783, %724
  br label %785

785:                                              ; preds = %784
  br label %786

786:                                              ; preds = %785
  br label %787

787:                                              ; preds = %786, %722
  br label %788

788:                                              ; preds = %787
  %789 = load i32, ptr @test_count, align 4, !tbaa !5
  %790 = add nsw i32 %789, 1
  store i32 %790, ptr @test_count, align 4, !tbaa !5
  %791 = call ptr @s2n_get_server_name(ptr noundef null)
  %792 = icmp eq ptr %791, null
  br i1 %792, label %846, label %793

793:                                              ; preds = %788
  br label %794

794:                                              ; preds = %793
  br label %795

795:                                              ; preds = %794
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #8
  %796 = call ptr @__errno_location() #9
  %797 = load i32, ptr %796, align 4, !tbaa !5
  store i32 %797, ptr %23, align 4, !tbaa !5
  %798 = load ptr, ptr @stderr, align 8, !tbaa !9
  %799 = call i32 @s2n_print_stacktrace(ptr noundef %798)
  %800 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %801 = trunc i8 %800 to i1
  br i1 %801, label %802, label %824

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

807:                                              ; preds = %802
  %808 = load i32, ptr %23, align 4, !tbaa !5
  %809 = call ptr @__errno_location() #9
  store i32 %808, ptr %809, align 4, !tbaa !5
  %810 = load ptr, ptr @stderr, align 8, !tbaa !9
  %811 = load i32, ptr @test_count, align 4, !tbaa !5
  %812 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %813 = load i32, ptr %812, align 4, !tbaa !5
  %814 = call ptr @s2n_strerror(i32 noundef %813, ptr noundef @.str.6)
  %815 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %816 = load i32, ptr %815, align 4, !tbaa !5
  %817 = call ptr @s2n_strerror_debug(i32 noundef %816, ptr noundef @.str.6)
  %818 = call ptr @__errno_location() #9
  %819 = load i32, ptr %818, align 4, !tbaa !5
  %820 = call ptr @strerror(i32 noundef %819) #8
  %821 = call ptr @__errno_location() #9
  %822 = load i32, ptr %821, align 4, !tbaa !5
  %823 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %810, ptr noundef @.str.3, i32 noundef %811, ptr noundef @.str.39, ptr noundef @.str.5, i32 noundef 346, ptr noundef %814, ptr noundef %817, ptr noundef %820, i32 noundef %822) #8
  br label %841

824:                                              ; preds = %802, %795
  %825 = load i32, ptr %23, align 4, !tbaa !5
  %826 = call ptr @__errno_location() #9
  store i32 %825, ptr %826, align 4, !tbaa !5
  %827 = load ptr, ptr @stderr, align 8, !tbaa !9
  %828 = load i32, ptr @test_count, align 4, !tbaa !5
  %829 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %830 = load i32, ptr %829, align 4, !tbaa !5
  %831 = call ptr @s2n_strerror(i32 noundef %830, ptr noundef @.str.6)
  %832 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %833 = load i32, ptr %832, align 4, !tbaa !5
  %834 = call ptr @s2n_strerror_debug(i32 noundef %833, ptr noundef @.str.6)
  %835 = call ptr @__errno_location() #9
  %836 = load i32, ptr %835, align 4, !tbaa !5
  %837 = call ptr @strerror(i32 noundef %836) #8
  %838 = call ptr @__errno_location() #9
  %839 = load i32, ptr %838, align 4, !tbaa !5
  %840 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %827, ptr noundef @.str.7, i32 noundef %828, ptr noundef @.str.39, ptr noundef @.str.5, i32 noundef 346, ptr noundef %831, ptr noundef %834, ptr noundef %837, i32 noundef %839) #8
  br label %841

841:                                              ; preds = %824, %807
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #8
  br label %842

842:                                              ; preds = %841
  br label %843

843:                                              ; preds = %842
  call void @exit(i32 noundef 1) #10
  unreachable

844:                                              ; No predecessors!
  br label %845

845:                                              ; preds = %844
  br label %846

846:                                              ; preds = %845, %788
  br label %847

847:                                              ; preds = %846
  br label %848

848:                                              ; preds = %847
  br label %849

849:                                              ; preds = %848
  %850 = load i32, ptr @test_count, align 4, !tbaa !5
  %851 = add nsw i32 %850, 1
  store i32 %851, ptr @test_count, align 4, !tbaa !5
  %852 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %853 = load i32, ptr %852, align 4, !tbaa !5
  %854 = icmp eq i32 %853, 402653193
  br i1 %854, label %908, label %855

855:                                              ; preds = %849
  br label %856

856:                                              ; preds = %855
  br label %857

857:                                              ; preds = %856
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #8
  %858 = call ptr @__errno_location() #9
  %859 = load i32, ptr %858, align 4, !tbaa !5
  store i32 %859, ptr %24, align 4, !tbaa !5
  %860 = load ptr, ptr @stderr, align 8, !tbaa !9
  %861 = call i32 @s2n_print_stacktrace(ptr noundef %860)
  %862 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %863 = trunc i8 %862 to i1
  br i1 %863, label %864, label %886

864:                                              ; preds = %857
  %865 = load ptr, ptr @stderr, align 8, !tbaa !9
  %866 = call i32 @fileno(ptr noundef %865) #8
  %867 = call i32 @isatty(i32 noundef %866) #8
  %868 = icmp ne i32 %867, 0
  br i1 %868, label %869, label %886

869:                                              ; preds = %864
  %870 = load i32, ptr %24, align 4, !tbaa !5
  %871 = call ptr @__errno_location() #9
  store i32 %870, ptr %871, align 4, !tbaa !5
  %872 = load ptr, ptr @stderr, align 8, !tbaa !9
  %873 = load i32, ptr @test_count, align 4, !tbaa !5
  %874 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %875 = load i32, ptr %874, align 4, !tbaa !5
  %876 = call ptr @s2n_strerror(i32 noundef %875, ptr noundef @.str.6)
  %877 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %878 = load i32, ptr %877, align 4, !tbaa !5
  %879 = call ptr @s2n_strerror_debug(i32 noundef %878, ptr noundef @.str.6)
  %880 = call ptr @__errno_location() #9
  %881 = load i32, ptr %880, align 4, !tbaa !5
  %882 = call ptr @strerror(i32 noundef %881) #8
  %883 = call ptr @__errno_location() #9
  %884 = load i32, ptr %883, align 4, !tbaa !5
  %885 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %872, ptr noundef @.str.3, i32 noundef %873, ptr noundef @.str.40, ptr noundef @.str.5, i32 noundef 347, ptr noundef %876, ptr noundef %879, ptr noundef %882, i32 noundef %884) #8
  br label %903

886:                                              ; preds = %864, %857
  %887 = load i32, ptr %24, align 4, !tbaa !5
  %888 = call ptr @__errno_location() #9
  store i32 %887, ptr %888, align 4, !tbaa !5
  %889 = load ptr, ptr @stderr, align 8, !tbaa !9
  %890 = load i32, ptr @test_count, align 4, !tbaa !5
  %891 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %892 = load i32, ptr %891, align 4, !tbaa !5
  %893 = call ptr @s2n_strerror(i32 noundef %892, ptr noundef @.str.6)
  %894 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %895 = load i32, ptr %894, align 4, !tbaa !5
  %896 = call ptr @s2n_strerror_debug(i32 noundef %895, ptr noundef @.str.6)
  %897 = call ptr @__errno_location() #9
  %898 = load i32, ptr %897, align 4, !tbaa !5
  %899 = call ptr @strerror(i32 noundef %898) #8
  %900 = call ptr @__errno_location() #9
  %901 = load i32, ptr %900, align 4, !tbaa !5
  %902 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %889, ptr noundef @.str.7, i32 noundef %890, ptr noundef @.str.40, ptr noundef @.str.5, i32 noundef 347, ptr noundef %893, ptr noundef %896, ptr noundef %899, i32 noundef %901) #8
  br label %903

903:                                              ; preds = %886, %869
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #8
  br label %904

904:                                              ; preds = %903
  br label %905

905:                                              ; preds = %904
  call void @exit(i32 noundef 1) #10
  unreachable

906:                                              ; No predecessors!
  br label %907

907:                                              ; preds = %906
  br label %908

908:                                              ; preds = %907, %849
  br label %909

909:                                              ; preds = %908
  br label %910

910:                                              ; preds = %909
  br label %911

911:                                              ; preds = %910
  %912 = load i32, ptr @test_count, align 4, !tbaa !5
  %913 = add nsw i32 %912, 1
  store i32 %913, ptr @test_count, align 4, !tbaa !5
  %914 = load ptr, ptr %7, align 8, !tbaa !9
  %915 = call ptr @s2n_get_application_protocol(ptr noundef %914)
  %916 = load ptr, ptr @run_test_config_swap_ch_cb.protocols, align 8, !tbaa !9
  %917 = call i32 @strcmp(ptr noundef %915, ptr noundef %916) #11
  %918 = icmp eq i32 %917, 0
  br i1 %918, label %972, label %919

919:                                              ; preds = %911
  br label %920

920:                                              ; preds = %919
  br label %921

921:                                              ; preds = %920
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #8
  %922 = call ptr @__errno_location() #9
  %923 = load i32, ptr %922, align 4, !tbaa !5
  store i32 %923, ptr %25, align 4, !tbaa !5
  %924 = load ptr, ptr @stderr, align 8, !tbaa !9
  %925 = call i32 @s2n_print_stacktrace(ptr noundef %924)
  %926 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %927 = trunc i8 %926 to i1
  br i1 %927, label %928, label %950

928:                                              ; preds = %921
  %929 = load ptr, ptr @stderr, align 8, !tbaa !9
  %930 = call i32 @fileno(ptr noundef %929) #8
  %931 = call i32 @isatty(i32 noundef %930) #8
  %932 = icmp ne i32 %931, 0
  br i1 %932, label %933, label %950

933:                                              ; preds = %928
  %934 = load i32, ptr %25, align 4, !tbaa !5
  %935 = call ptr @__errno_location() #9
  store i32 %934, ptr %935, align 4, !tbaa !5
  %936 = load ptr, ptr @stderr, align 8, !tbaa !9
  %937 = load i32, ptr @test_count, align 4, !tbaa !5
  %938 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %939 = load i32, ptr %938, align 4, !tbaa !5
  %940 = call ptr @s2n_strerror(i32 noundef %939, ptr noundef @.str.6)
  %941 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %942 = load i32, ptr %941, align 4, !tbaa !5
  %943 = call ptr @s2n_strerror_debug(i32 noundef %942, ptr noundef @.str.6)
  %944 = call ptr @__errno_location() #9
  %945 = load i32, ptr %944, align 4, !tbaa !5
  %946 = call ptr @strerror(i32 noundef %945) #8
  %947 = call ptr @__errno_location() #9
  %948 = load i32, ptr %947, align 4, !tbaa !5
  %949 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %936, ptr noundef @.str.3, i32 noundef %937, ptr noundef @.str.41, ptr noundef @.str.5, i32 noundef 350, ptr noundef %940, ptr noundef %943, ptr noundef %946, i32 noundef %948) #8
  br label %967

950:                                              ; preds = %928, %921
  %951 = load i32, ptr %25, align 4, !tbaa !5
  %952 = call ptr @__errno_location() #9
  store i32 %951, ptr %952, align 4, !tbaa !5
  %953 = load ptr, ptr @stderr, align 8, !tbaa !9
  %954 = load i32, ptr @test_count, align 4, !tbaa !5
  %955 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %956 = load i32, ptr %955, align 4, !tbaa !5
  %957 = call ptr @s2n_strerror(i32 noundef %956, ptr noundef @.str.6)
  %958 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %959 = load i32, ptr %958, align 4, !tbaa !5
  %960 = call ptr @s2n_strerror_debug(i32 noundef %959, ptr noundef @.str.6)
  %961 = call ptr @__errno_location() #9
  %962 = load i32, ptr %961, align 4, !tbaa !5
  %963 = call ptr @strerror(i32 noundef %962) #8
  %964 = call ptr @__errno_location() #9
  %965 = load i32, ptr %964, align 4, !tbaa !5
  %966 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %953, ptr noundef @.str.7, i32 noundef %954, ptr noundef @.str.41, ptr noundef @.str.5, i32 noundef 350, ptr noundef %957, ptr noundef %960, ptr noundef %963, i32 noundef %965) #8
  br label %967

967:                                              ; preds = %950, %933
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #8
  br label %968

968:                                              ; preds = %967
  br label %969

969:                                              ; preds = %968
  call void @exit(i32 noundef 1) #10
  unreachable

970:                                              ; No predecessors!
  br label %971

971:                                              ; preds = %970
  br label %972

972:                                              ; preds = %971, %911
  br label %973

973:                                              ; preds = %972
  br label %974

974:                                              ; preds = %973
  br label %975

975:                                              ; preds = %974
  %976 = load i32, ptr @test_count, align 4, !tbaa !5
  %977 = add nsw i32 %976, 1
  store i32 %977, ptr @test_count, align 4, !tbaa !5
  %978 = load ptr, ptr %7, align 8, !tbaa !9
  %979 = call i32 @server_recv(ptr noundef %978)
  %980 = icmp eq i32 %979, -1
  br i1 %980, label %981, label %1034

981:                                              ; preds = %975
  br label %982

982:                                              ; preds = %981
  br label %983

983:                                              ; preds = %982
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #8
  %984 = call ptr @__errno_location() #9
  %985 = load i32, ptr %984, align 4, !tbaa !5
  store i32 %985, ptr %26, align 4, !tbaa !5
  %986 = load ptr, ptr @stderr, align 8, !tbaa !9
  %987 = call i32 @s2n_print_stacktrace(ptr noundef %986)
  %988 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %989 = trunc i8 %988 to i1
  br i1 %989, label %990, label %1012

990:                                              ; preds = %983
  %991 = load ptr, ptr @stderr, align 8, !tbaa !9
  %992 = call i32 @fileno(ptr noundef %991) #8
  %993 = call i32 @isatty(i32 noundef %992) #8
  %994 = icmp ne i32 %993, 0
  br i1 %994, label %995, label %1012

995:                                              ; preds = %990
  %996 = load i32, ptr %26, align 4, !tbaa !5
  %997 = call ptr @__errno_location() #9
  store i32 %996, ptr %997, align 4, !tbaa !5
  %998 = load ptr, ptr @stderr, align 8, !tbaa !9
  %999 = load i32, ptr @test_count, align 4, !tbaa !5
  %1000 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1001 = load i32, ptr %1000, align 4, !tbaa !5
  %1002 = call ptr @s2n_strerror(i32 noundef %1001, ptr noundef @.str.6)
  %1003 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1004 = load i32, ptr %1003, align 4, !tbaa !5
  %1005 = call ptr @s2n_strerror_debug(i32 noundef %1004, ptr noundef @.str.6)
  %1006 = call ptr @__errno_location() #9
  %1007 = load i32, ptr %1006, align 4, !tbaa !5
  %1008 = call ptr @strerror(i32 noundef %1007) #8
  %1009 = call ptr @__errno_location() #9
  %1010 = load i32, ptr %1009, align 4, !tbaa !5
  %1011 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %998, ptr noundef @.str.3, i32 noundef %999, ptr noundef @.str.42, ptr noundef @.str.5, i32 noundef 352, ptr noundef %1002, ptr noundef %1005, ptr noundef %1008, i32 noundef %1010) #8
  br label %1029

1012:                                             ; preds = %990, %983
  %1013 = load i32, ptr %26, align 4, !tbaa !5
  %1014 = call ptr @__errno_location() #9
  store i32 %1013, ptr %1014, align 4, !tbaa !5
  %1015 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1016 = load i32, ptr @test_count, align 4, !tbaa !5
  %1017 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1018 = load i32, ptr %1017, align 4, !tbaa !5
  %1019 = call ptr @s2n_strerror(i32 noundef %1018, ptr noundef @.str.6)
  %1020 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1021 = load i32, ptr %1020, align 4, !tbaa !5
  %1022 = call ptr @s2n_strerror_debug(i32 noundef %1021, ptr noundef @.str.6)
  %1023 = call ptr @__errno_location() #9
  %1024 = load i32, ptr %1023, align 4, !tbaa !5
  %1025 = call ptr @strerror(i32 noundef %1024) #8
  %1026 = call ptr @__errno_location() #9
  %1027 = load i32, ptr %1026, align 4, !tbaa !5
  %1028 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1015, ptr noundef @.str.7, i32 noundef %1016, ptr noundef @.str.42, ptr noundef @.str.5, i32 noundef 352, ptr noundef %1019, ptr noundef %1022, ptr noundef %1025, i32 noundef %1027) #8
  br label %1029

1029:                                             ; preds = %1012, %995
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #8
  br label %1030

1030:                                             ; preds = %1029
  br label %1031

1031:                                             ; preds = %1030
  call void @exit(i32 noundef 1) #10
  unreachable

1032:                                             ; No predecessors!
  br label %1033

1033:                                             ; preds = %1032
  br label %1034

1034:                                             ; preds = %1033, %975
  br label %1035

1035:                                             ; preds = %1034
  br label %1036

1036:                                             ; preds = %1035
  br label %1037

1037:                                             ; preds = %1036
  %1038 = load i32, ptr @test_count, align 4, !tbaa !5
  %1039 = add nsw i32 %1038, 1
  store i32 %1039, ptr @test_count, align 4, !tbaa !5
  %1040 = load ptr, ptr %7, align 8, !tbaa !9
  %1041 = load i32, ptr %9, align 4, !tbaa !5
  %1042 = load ptr, ptr %6, align 8, !tbaa !9
  %1043 = load ptr, ptr %4, align 8, !tbaa !9
  %1044 = load ptr, ptr %10, align 8, !tbaa !9
  %1045 = call i32 @test_case_clean(ptr noundef %1040, i32 noundef %1041, ptr noundef %1042, ptr noundef %5, ptr noundef %1043, ptr noundef %1044)
  %1046 = icmp eq i32 %1045, -1
  br i1 %1046, label %1047, label %1100

1047:                                             ; preds = %1037
  br label %1048

1048:                                             ; preds = %1047
  br label %1049

1049:                                             ; preds = %1048
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #8
  %1050 = call ptr @__errno_location() #9
  %1051 = load i32, ptr %1050, align 4, !tbaa !5
  store i32 %1051, ptr %27, align 4, !tbaa !5
  %1052 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1053 = call i32 @s2n_print_stacktrace(ptr noundef %1052)
  %1054 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %1055 = trunc i8 %1054 to i1
  br i1 %1055, label %1056, label %1078

1056:                                             ; preds = %1049
  %1057 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1058 = call i32 @fileno(ptr noundef %1057) #8
  %1059 = call i32 @isatty(i32 noundef %1058) #8
  %1060 = icmp ne i32 %1059, 0
  br i1 %1060, label %1061, label %1078

1061:                                             ; preds = %1056
  %1062 = load i32, ptr %27, align 4, !tbaa !5
  %1063 = call ptr @__errno_location() #9
  store i32 %1062, ptr %1063, align 4, !tbaa !5
  %1064 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1065 = load i32, ptr @test_count, align 4, !tbaa !5
  %1066 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1067 = load i32, ptr %1066, align 4, !tbaa !5
  %1068 = call ptr @s2n_strerror(i32 noundef %1067, ptr noundef @.str.6)
  %1069 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1070 = load i32, ptr %1069, align 4, !tbaa !5
  %1071 = call ptr @s2n_strerror_debug(i32 noundef %1070, ptr noundef @.str.6)
  %1072 = call ptr @__errno_location() #9
  %1073 = load i32, ptr %1072, align 4, !tbaa !5
  %1074 = call ptr @strerror(i32 noundef %1073) #8
  %1075 = call ptr @__errno_location() #9
  %1076 = load i32, ptr %1075, align 4, !tbaa !5
  %1077 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1064, ptr noundef @.str.3, i32 noundef %1065, ptr noundef @.str.43, ptr noundef @.str.5, i32 noundef 354, ptr noundef %1068, ptr noundef %1071, ptr noundef %1074, i32 noundef %1076) #8
  br label %1095

1078:                                             ; preds = %1056, %1049
  %1079 = load i32, ptr %27, align 4, !tbaa !5
  %1080 = call ptr @__errno_location() #9
  store i32 %1079, ptr %1080, align 4, !tbaa !5
  %1081 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1082 = load i32, ptr @test_count, align 4, !tbaa !5
  %1083 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1084 = load i32, ptr %1083, align 4, !tbaa !5
  %1085 = call ptr @s2n_strerror(i32 noundef %1084, ptr noundef @.str.6)
  %1086 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1087 = load i32, ptr %1086, align 4, !tbaa !5
  %1088 = call ptr @s2n_strerror_debug(i32 noundef %1087, ptr noundef @.str.6)
  %1089 = call ptr @__errno_location() #9
  %1090 = load i32, ptr %1089, align 4, !tbaa !5
  %1091 = call ptr @strerror(i32 noundef %1090) #8
  %1092 = call ptr @__errno_location() #9
  %1093 = load i32, ptr %1092, align 4, !tbaa !5
  %1094 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1081, ptr noundef @.str.7, i32 noundef %1082, ptr noundef @.str.43, ptr noundef @.str.5, i32 noundef 354, ptr noundef %1085, ptr noundef %1088, ptr noundef %1091, i32 noundef %1093) #8
  br label %1095

1095:                                             ; preds = %1078, %1061
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #8
  br label %1096

1096:                                             ; preds = %1095
  br label %1097

1097:                                             ; preds = %1096
  call void @exit(i32 noundef 1) #10
  unreachable

1098:                                             ; No predecessors!
  br label %1099

1099:                                             ; preds = %1098
  br label %1100

1100:                                             ; preds = %1099, %1037
  br label %1101

1101:                                             ; preds = %1100
  br label %1102

1102:                                             ; preds = %1101
  br label %1103

1103:                                             ; preds = %1102
  %1104 = load i32, ptr @test_count, align 4, !tbaa !5
  %1105 = add nsw i32 %1104, 1
  store i32 %1105, ptr @test_count, align 4, !tbaa !5
  %1106 = load ptr, ptr %8, align 8, !tbaa !9
  %1107 = call i32 @s2n_config_free(ptr noundef %1106)
  %1108 = icmp eq i32 %1107, -1
  br i1 %1108, label %1109, label %1162

1109:                                             ; preds = %1103
  br label %1110

1110:                                             ; preds = %1109
  br label %1111

1111:                                             ; preds = %1110
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #8
  %1112 = call ptr @__errno_location() #9
  %1113 = load i32, ptr %1112, align 4, !tbaa !5
  store i32 %1113, ptr %28, align 4, !tbaa !5
  %1114 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1115 = call i32 @s2n_print_stacktrace(ptr noundef %1114)
  %1116 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %1117 = trunc i8 %1116 to i1
  br i1 %1117, label %1118, label %1140

1118:                                             ; preds = %1111
  %1119 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1120 = call i32 @fileno(ptr noundef %1119) #8
  %1121 = call i32 @isatty(i32 noundef %1120) #8
  %1122 = icmp ne i32 %1121, 0
  br i1 %1122, label %1123, label %1140

1123:                                             ; preds = %1118
  %1124 = load i32, ptr %28, align 4, !tbaa !5
  %1125 = call ptr @__errno_location() #9
  store i32 %1124, ptr %1125, align 4, !tbaa !5
  %1126 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1127 = load i32, ptr @test_count, align 4, !tbaa !5
  %1128 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1129 = load i32, ptr %1128, align 4, !tbaa !5
  %1130 = call ptr @s2n_strerror(i32 noundef %1129, ptr noundef @.str.6)
  %1131 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1132 = load i32, ptr %1131, align 4, !tbaa !5
  %1133 = call ptr @s2n_strerror_debug(i32 noundef %1132, ptr noundef @.str.6)
  %1134 = call ptr @__errno_location() #9
  %1135 = load i32, ptr %1134, align 4, !tbaa !5
  %1136 = call ptr @strerror(i32 noundef %1135) #8
  %1137 = call ptr @__errno_location() #9
  %1138 = load i32, ptr %1137, align 4, !tbaa !5
  %1139 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1126, ptr noundef @.str.3, i32 noundef %1127, ptr noundef @.str.44, ptr noundef @.str.5, i32 noundef 355, ptr noundef %1130, ptr noundef %1133, ptr noundef %1136, i32 noundef %1138) #8
  br label %1157

1140:                                             ; preds = %1118, %1111
  %1141 = load i32, ptr %28, align 4, !tbaa !5
  %1142 = call ptr @__errno_location() #9
  store i32 %1141, ptr %1142, align 4, !tbaa !5
  %1143 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1144 = load i32, ptr @test_count, align 4, !tbaa !5
  %1145 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1146 = load i32, ptr %1145, align 4, !tbaa !5
  %1147 = call ptr @s2n_strerror(i32 noundef %1146, ptr noundef @.str.6)
  %1148 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1149 = load i32, ptr %1148, align 4, !tbaa !5
  %1150 = call ptr @s2n_strerror_debug(i32 noundef %1149, ptr noundef @.str.6)
  %1151 = call ptr @__errno_location() #9
  %1152 = load i32, ptr %1151, align 4, !tbaa !5
  %1153 = call ptr @strerror(i32 noundef %1152) #8
  %1154 = call ptr @__errno_location() #9
  %1155 = load i32, ptr %1154, align 4, !tbaa !5
  %1156 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1143, ptr noundef @.str.7, i32 noundef %1144, ptr noundef @.str.44, ptr noundef @.str.5, i32 noundef 355, ptr noundef %1147, ptr noundef %1150, ptr noundef %1153, i32 noundef %1155) #8
  br label %1157

1157:                                             ; preds = %1140, %1123
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #8
  br label %1158

1158:                                             ; preds = %1157
  br label %1159

1159:                                             ; preds = %1158
  call void @exit(i32 noundef 1) #10
  unreachable

1160:                                             ; No predecessors!
  br label %1161

1161:                                             ; preds = %1160
  br label %1162

1162:                                             ; preds = %1161, %1103
  br label %1163

1163:                                             ; preds = %1162
  br label %1164

1164:                                             ; preds = %1163
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #8
  ret i32 0
}

declare i32 @s2n_test_cert_chain_and_key_new(ptr noundef, ptr noundef, ptr noundef) #1

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

declare i32 @s2n_config_set_client_hello_cb_mode(ptr noundef, i32 noundef) #1

declare i32 @s2n_config_set_client_hello_cb(ptr noundef, ptr noundef, ptr noundef) #1

declare ptr @s2n_get_application_protocol(ptr noundef) #1

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

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

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

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


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%struct.s2n_test_io_pair = type { i32, i32 }

@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.3 = external hidden unnamed_addr constant [101 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [93 x i8], align 1
@s2n_errno = external thread_local local_unnamed_addr global i32, align 4
@.str.6 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [90 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [68 x i8], align 1
@run_test_config_swap_ch_cb.protocols = external hidden global [1 x ptr], align 8
@.str.26 = external hidden unnamed_addr constant [60 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [58 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [200 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [65 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [91 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [99 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [86 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [60 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [81 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [101 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [70 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [77 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [71 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [63 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [85 x i8], align 1
@.str.42 = external hidden unnamed_addr constant [46 x i8], align 1
@.str.43 = external hidden unnamed_addr constant [96 x i8], align 1
@.str.44 = external hidden unnamed_addr constant [57 x i8], align 1

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

declare ptr @s2n_config_new() local_unnamed_addr #1

declare i32 @s2n_config_set_protocol_preferences(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1

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

declare i32 @s2n_config_free(ptr noundef) local_unnamed_addr #1

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

; Function Attrs: nounwind uwtable
declare dso_local i32 @client_hello_swap_config(ptr noundef, ptr noundef) #3

declare ptr @s2n_get_server_name(ptr noundef) local_unnamed_addr #1

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i32 @strcmp(ptr nocapture noundef, ptr nocapture noundef) local_unnamed_addr #4

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

declare i32 @s2n_print_stacktrace(ptr noundef) local_unnamed_addr #1

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

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

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

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

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

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

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

; Function Attrs: nounwind uwtable
declare dso_local i32 @s2n_negotiate_nonblocking_ch_cb(ptr noundef, ptr noundef, i1 noundef zeroext) local_unnamed_addr #3

; Function Attrs: nounwind uwtable
declare dso_local i32 @s2n_negotiate_blocking_ch_cb(ptr noundef, ptr noundef) local_unnamed_addr #3

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

; Function Attrs: nounwind uwtable
declare dso_local i32 @init_server_conn(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: nounwind uwtable
declare dso_local i32 @start_client_conn(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #3

; Function Attrs: nounwind uwtable
define dso_local noundef i32 @run_test_config_swap_ch_cb(i32 noundef %0, ptr noundef %1) local_unnamed_addr #3 {
  %3 = alloca %struct.s2n_test_io_pair, align 4
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca ptr, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #9
  store ptr null, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #9
  store i32 0, ptr %5, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #9
  store ptr null, ptr %6, align 8, !tbaa !5
  %7 = load i32, ptr @test_count, align 4, !tbaa !9
  %8 = add nsw i32 %7, 1
  store i32 %8, ptr @test_count, align 4, !tbaa !9
  %9 = call i32 @start_client_conn(ptr noundef nonnull %3, ptr noundef nonnull %5, i32 noundef 0, i32 noundef 1)
  %10 = icmp eq i32 %9, -1
  br i1 %10, label %11, label %35

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

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

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

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

35:                                               ; preds = %2
  %36 = load i32, ptr @test_count, align 4, !tbaa !9
  %37 = add nsw i32 %36, 1
  store i32 %37, ptr @test_count, align 4, !tbaa !9
  %38 = call i32 @s2n_test_cert_chain_and_key_new(ptr noundef nonnull %6, ptr noundef nonnull @.str.26, ptr noundef nonnull @.str.27) #9
  %39 = icmp eq i32 %38, -1
  br i1 %39, label %40, label %64

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

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

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

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

64:                                               ; preds = %35
  %65 = load i32, ptr @test_count, align 4, !tbaa !9
  %66 = add nsw i32 %65, 1
  store i32 %66, ptr @test_count, align 4, !tbaa !9
  %67 = call ptr @s2n_config_new() #9
  %68 = icmp eq ptr %67, null
  br i1 %68, label %69, label %93

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

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

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

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

93:                                               ; preds = %64
  %94 = load i32, ptr @test_count, align 4, !tbaa !9
  %95 = add nsw i32 %94, 1
  store i32 %95, ptr @test_count, align 4, !tbaa !9
  %96 = call i32 @s2n_config_set_protocol_preferences(ptr noundef nonnull %67, ptr noundef nonnull @run_test_config_swap_ch_cb.protocols, i32 noundef 1) #9
  %97 = icmp eq i32 %96, -1
  br i1 %97, label %98, label %122

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

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

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

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

122:                                              ; preds = %93
  %123 = load i32, ptr @test_count, align 4, !tbaa !9
  %124 = add nsw i32 %123, 1
  store i32 %124, ptr @test_count, align 4, !tbaa !9
  %125 = load ptr, ptr %6, align 8, !tbaa !5
  %126 = call i32 @s2n_config_add_cert_chain_and_key_to_store(ptr noundef nonnull %67, ptr noundef %125) #9
  %127 = icmp eq i32 %126, -1
  br i1 %127, label %128, label %152

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

135:                                              ; preds = %128
  %136 = load ptr, ptr @stderr, align 8, !tbaa !5
  %137 = call i32 @fileno(ptr noundef %136) #9
  %138 = call i32 @isatty(i32 noundef %137) #9
  %.not67 = icmp eq i32 %138, 0
  br i1 %.not67, label %139, label %140

139:                                              ; preds = %135, %128
  br label %140

140:                                              ; preds = %135, %139
  %.str.7.sink115 = phi ptr [ @.str.7, %139 ], [ @.str.3, %135 ]
  store i32 %130, ptr %129, align 4, !tbaa !9
  %141 = load ptr, ptr @stderr, align 8, !tbaa !5
  %142 = load i32, ptr @test_count, align 4, !tbaa !9
  %143 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %144 = load i32, ptr %143, align 4, !tbaa !9
  %145 = call ptr @s2n_strerror(i32 noundef %144, ptr noundef nonnull @.str.6) #9
  %146 = load i32, ptr %143, align 4, !tbaa !9
  %147 = call ptr @s2n_strerror_debug(i32 noundef %146, ptr noundef nonnull @.str.6) #9
  %148 = load i32, ptr %129, align 4, !tbaa !9
  %149 = call ptr @strerror(i32 noundef %148) #9
  %150 = load i32, ptr %129, align 4, !tbaa !9
  %151 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %141, ptr noundef nonnull %.str.7.sink115, i32 noundef %142, ptr noundef nonnull @.str.31, ptr noundef nonnull @.str.5, i32 noundef 319, ptr noundef %145, ptr noundef %147, ptr noundef %149, i32 noundef %150) #11
  call void @exit(i32 noundef 1) #12
  unreachable

152:                                              ; preds = %122
  %153 = getelementptr inbounds i8, ptr %1, i64 16
  store ptr %67, ptr %153, align 8, !tbaa !15
  %154 = load i32, ptr @test_count, align 4, !tbaa !9
  %155 = add nsw i32 %154, 1
  store i32 %155, ptr @test_count, align 4, !tbaa !9
  %156 = call i32 @s2n_config_set_client_hello_cb_mode(ptr noundef nonnull %67, i32 noundef %0) #9
  %157 = icmp eq i32 %156, -1
  br i1 %157, label %158, label %182

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

165:                                              ; preds = %158
  %166 = load ptr, ptr @stderr, align 8, !tbaa !5
  %167 = call i32 @fileno(ptr noundef %166) #9
  %168 = call i32 @isatty(i32 noundef %167) #9
  %.not66 = icmp eq i32 %168, 0
  br i1 %.not66, label %169, label %170

169:                                              ; preds = %165, %158
  br label %170

170:                                              ; preds = %165, %169
  %.str.7.sink126 = phi ptr [ @.str.7, %169 ], [ @.str.3, %165 ]
  store i32 %160, ptr %159, align 4, !tbaa !9
  %171 = load ptr, ptr @stderr, align 8, !tbaa !5
  %172 = load i32, ptr @test_count, align 4, !tbaa !9
  %173 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %174 = load i32, ptr %173, align 4, !tbaa !9
  %175 = call ptr @s2n_strerror(i32 noundef %174, ptr noundef nonnull @.str.6) #9
  %176 = load i32, ptr %173, align 4, !tbaa !9
  %177 = call ptr @s2n_strerror_debug(i32 noundef %176, ptr noundef nonnull @.str.6) #9
  %178 = load i32, ptr %159, align 4, !tbaa !9
  %179 = call ptr @strerror(i32 noundef %178) #9
  %180 = load i32, ptr %159, align 4, !tbaa !9
  %181 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %171, ptr noundef nonnull %.str.7.sink126, i32 noundef %172, ptr noundef nonnull @.str.32, ptr noundef nonnull @.str.5, i32 noundef 322, ptr noundef %175, ptr noundef %177, ptr noundef %179, i32 noundef %180) #11
  call void @exit(i32 noundef 1) #12
  unreachable

182:                                              ; preds = %152
  %183 = load i32, ptr @test_count, align 4, !tbaa !9
  %184 = add nsw i32 %183, 1
  store i32 %184, ptr @test_count, align 4, !tbaa !9
  %185 = call ptr @s2n_config_new() #9
  %186 = icmp eq ptr %185, null
  br i1 %186, label %187, label %211

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

194:                                              ; preds = %187
  %195 = load ptr, ptr @stderr, align 8, !tbaa !5
  %196 = call i32 @fileno(ptr noundef %195) #9
  %197 = call i32 @isatty(i32 noundef %196) #9
  %.not65 = icmp eq i32 %197, 0
  br i1 %.not65, label %198, label %199

198:                                              ; preds = %194, %187
  br label %199

199:                                              ; preds = %194, %198
  %.str.7.sink137 = phi ptr [ @.str.7, %198 ], [ @.str.3, %194 ]
  store i32 %189, ptr %188, align 4, !tbaa !9
  %200 = load ptr, ptr @stderr, align 8, !tbaa !5
  %201 = load i32, ptr @test_count, align 4, !tbaa !9
  %202 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %203 = load i32, ptr %202, align 4, !tbaa !9
  %204 = call ptr @s2n_strerror(i32 noundef %203, ptr noundef nonnull @.str.6) #9
  %205 = load i32, ptr %202, align 4, !tbaa !9
  %206 = call ptr @s2n_strerror_debug(i32 noundef %205, ptr noundef nonnull @.str.6) #9
  %207 = load i32, ptr %188, align 4, !tbaa !9
  %208 = call ptr @strerror(i32 noundef %207) #9
  %209 = load i32, ptr %188, align 4, !tbaa !9
  %210 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %200, ptr noundef nonnull %.str.7.sink137, i32 noundef %201, ptr noundef nonnull @.str.33, ptr noundef nonnull @.str.5, i32 noundef 326, ptr noundef %204, ptr noundef %206, ptr noundef %208, i32 noundef %209) #11
  call void @exit(i32 noundef 1) #12
  unreachable

211:                                              ; preds = %182
  %212 = load i32, ptr @test_count, align 4, !tbaa !9
  %213 = add nsw i32 %212, 1
  store i32 %213, ptr @test_count, align 4, !tbaa !9
  %214 = call i32 @s2n_config_set_client_hello_cb_mode(ptr noundef nonnull %185, i32 noundef %0) #9
  %215 = icmp eq i32 %214, -1
  br i1 %215, label %216, label %240

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

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

227:                                              ; preds = %223, %216
  br label %228

228:                                              ; preds = %223, %227
  %.str.7.sink148 = phi ptr [ @.str.7, %227 ], [ @.str.3, %223 ]
  store i32 %218, ptr %217, align 4, !tbaa !9
  %229 = load ptr, ptr @stderr, align 8, !tbaa !5
  %230 = load i32, ptr @test_count, align 4, !tbaa !9
  %231 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %232 = load i32, ptr %231, align 4, !tbaa !9
  %233 = call ptr @s2n_strerror(i32 noundef %232, ptr noundef nonnull @.str.6) #9
  %234 = load i32, ptr %231, align 4, !tbaa !9
  %235 = call ptr @s2n_strerror_debug(i32 noundef %234, ptr noundef nonnull @.str.6) #9
  %236 = load i32, ptr %217, align 4, !tbaa !9
  %237 = call ptr @strerror(i32 noundef %236) #9
  %238 = load i32, ptr %217, align 4, !tbaa !9
  %239 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %229, ptr noundef nonnull %.str.7.sink148, i32 noundef %230, ptr noundef nonnull @.str.34, ptr noundef nonnull @.str.5, i32 noundef 329, ptr noundef %233, ptr noundef %235, ptr noundef %237, i32 noundef %238) #11
  call void @exit(i32 noundef 1) #12
  unreachable

240:                                              ; preds = %211
  %241 = load i32, ptr @test_count, align 4, !tbaa !9
  %242 = add nsw i32 %241, 1
  store i32 %242, ptr @test_count, align 4, !tbaa !9
  %243 = call i32 @s2n_config_set_client_hello_cb(ptr noundef nonnull %185, ptr noundef nonnull @client_hello_swap_config, ptr noundef nonnull %1) #9
  %244 = icmp eq i32 %243, -1
  br i1 %244, label %245, label %269

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

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

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

257:                                              ; preds = %252, %256
  %.str.7.sink159 = phi ptr [ @.str.7, %256 ], [ @.str.3, %252 ]
  store i32 %247, ptr %246, align 4, !tbaa !9
  %258 = load ptr, ptr @stderr, align 8, !tbaa !5
  %259 = load i32, ptr @test_count, align 4, !tbaa !9
  %260 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %261 = load i32, ptr %260, align 4, !tbaa !9
  %262 = call ptr @s2n_strerror(i32 noundef %261, ptr noundef nonnull @.str.6) #9
  %263 = load i32, ptr %260, align 4, !tbaa !9
  %264 = call ptr @s2n_strerror_debug(i32 noundef %263, ptr noundef nonnull @.str.6) #9
  %265 = load i32, ptr %246, align 4, !tbaa !9
  %266 = call ptr @strerror(i32 noundef %265) #9
  %267 = load i32, ptr %246, align 4, !tbaa !9
  %268 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %258, ptr noundef nonnull %.str.7.sink159, i32 noundef %259, ptr noundef nonnull @.str.35, ptr noundef nonnull @.str.5, i32 noundef 330, ptr noundef %262, ptr noundef %264, ptr noundef %266, i32 noundef %267) #11
  call void @exit(i32 noundef 1) #12
  unreachable

269:                                              ; preds = %240
  %270 = load i32, ptr @test_count, align 4, !tbaa !9
  %271 = add nsw i32 %270, 1
  store i32 %271, ptr @test_count, align 4, !tbaa !9
  %272 = call i32 @init_server_conn(ptr noundef nonnull %4, ptr noundef nonnull %3, ptr noundef nonnull %185)
  %273 = icmp eq i32 %272, -1
  br i1 %273, label %274, label %298

274:                                              ; preds = %269
  %275 = tail call ptr @__errno_location() #10
  %276 = load i32, ptr %275, align 4, !tbaa !9
  %277 = load ptr, ptr @stderr, align 8, !tbaa !5
  %278 = call i32 @s2n_print_stacktrace(ptr noundef %277) #9
  %279 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %280 = trunc nuw i8 %279 to i1
  br i1 %280, label %281, label %285

281:                                              ; preds = %274
  %282 = load ptr, ptr @stderr, align 8, !tbaa !5
  %283 = call i32 @fileno(ptr noundef %282) #9
  %284 = call i32 @isatty(i32 noundef %283) #9
  %.not62 = icmp eq i32 %284, 0
  br i1 %.not62, label %285, label %286

285:                                              ; preds = %281, %274
  br label %286

286:                                              ; preds = %281, %285
  %.str.7.sink170 = phi ptr [ @.str.7, %285 ], [ @.str.3, %281 ]
  store i32 %276, ptr %275, align 4, !tbaa !9
  %287 = load ptr, ptr @stderr, align 8, !tbaa !5
  %288 = load i32, ptr @test_count, align 4, !tbaa !9
  %289 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %290 = load i32, ptr %289, align 4, !tbaa !9
  %291 = call ptr @s2n_strerror(i32 noundef %290, ptr noundef nonnull @.str.6) #9
  %292 = load i32, ptr %289, align 4, !tbaa !9
  %293 = call ptr @s2n_strerror_debug(i32 noundef %292, ptr noundef nonnull @.str.6) #9
  %294 = load i32, ptr %275, align 4, !tbaa !9
  %295 = call ptr @strerror(i32 noundef %294) #9
  %296 = load i32, ptr %275, align 4, !tbaa !9
  %297 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %287, ptr noundef nonnull %.str.7.sink170, i32 noundef %288, ptr noundef nonnull @.str.36, ptr noundef nonnull @.str.5, i32 noundef 332, ptr noundef %291, ptr noundef %293, ptr noundef %295, i32 noundef %296) #11
  call void @exit(i32 noundef 1) #12
  unreachable

298:                                              ; preds = %269
  %299 = icmp eq i32 %0, 1
  br i1 %299, label %300, label %333

300:                                              ; preds = %298
  %301 = getelementptr inbounds i8, ptr %1, i64 12
  %302 = load i32, ptr %301, align 4, !tbaa !17
  %.not = icmp eq i32 %302, 0
  br i1 %.not, label %303, label %333

303:                                              ; preds = %300
  %304 = load i32, ptr @test_count, align 4, !tbaa !9
  %305 = add nsw i32 %304, 1
  store i32 %305, ptr @test_count, align 4, !tbaa !9
  %306 = load ptr, ptr %4, align 8, !tbaa !5
  %307 = call i32 @s2n_negotiate_nonblocking_ch_cb(ptr noundef %306, ptr noundef nonnull %1, i1 noundef zeroext true)
  %308 = icmp eq i32 %307, -1
  br i1 %308, label %309, label %363

309:                                              ; preds = %303
  %310 = tail call ptr @__errno_location() #10
  %311 = load i32, ptr %310, align 4, !tbaa !9
  %312 = load ptr, ptr @stderr, align 8, !tbaa !5
  %313 = call i32 @s2n_print_stacktrace(ptr noundef %312) #9
  %314 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %315 = trunc nuw i8 %314 to i1
  br i1 %315, label %316, label %320

316:                                              ; preds = %309
  %317 = load ptr, ptr @stderr, align 8, !tbaa !5
  %318 = call i32 @fileno(ptr noundef %317) #9
  %319 = call i32 @isatty(i32 noundef %318) #9
  %.not54 = icmp eq i32 %319, 0
  br i1 %.not54, label %320, label %321

320:                                              ; preds = %316, %309
  br label %321

321:                                              ; preds = %316, %320
  %.str.7.sink181 = phi ptr [ @.str.7, %320 ], [ @.str.3, %316 ]
  store i32 %311, ptr %310, align 4, !tbaa !9
  %322 = load ptr, ptr @stderr, align 8, !tbaa !5
  %323 = load i32, ptr @test_count, align 4, !tbaa !9
  %324 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %325 = load i32, ptr %324, align 4, !tbaa !9
  %326 = call ptr @s2n_strerror(i32 noundef %325, ptr noundef nonnull @.str.6) #9
  %327 = load i32, ptr %324, align 4, !tbaa !9
  %328 = call ptr @s2n_strerror_debug(i32 noundef %327, ptr noundef nonnull @.str.6) #9
  %329 = load i32, ptr %310, align 4, !tbaa !9
  %330 = call ptr @strerror(i32 noundef %329) #9
  %331 = load i32, ptr %310, align 4, !tbaa !9
  %332 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %322, ptr noundef nonnull %.str.7.sink181, i32 noundef %323, ptr noundef nonnull @.str.37, ptr noundef nonnull @.str.5, i32 noundef 337, ptr noundef %326, ptr noundef %328, ptr noundef %330, i32 noundef %331) #11
  call void @exit(i32 noundef 1) #12
  unreachable

333:                                              ; preds = %298, %300
  %334 = load i32, ptr @test_count, align 4, !tbaa !9
  %335 = add nsw i32 %334, 1
  store i32 %335, ptr @test_count, align 4, !tbaa !9
  %336 = load ptr, ptr %4, align 8, !tbaa !5
  %337 = call i32 @s2n_negotiate_blocking_ch_cb(ptr noundef %336, ptr noundef nonnull %1)
  %338 = icmp eq i32 %337, -1
  br i1 %338, label %339, label %363

339:                                              ; preds = %333
  %340 = tail call ptr @__errno_location() #10
  %341 = load i32, ptr %340, align 4, !tbaa !9
  %342 = load ptr, ptr @stderr, align 8, !tbaa !5
  %343 = call i32 @s2n_print_stacktrace(ptr noundef %342) #9
  %344 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %345 = trunc nuw i8 %344 to i1
  br i1 %345, label %346, label %350

346:                                              ; preds = %339
  %347 = load ptr, ptr @stderr, align 8, !tbaa !5
  %348 = call i32 @fileno(ptr noundef %347) #9
  %349 = call i32 @isatty(i32 noundef %348) #9
  %.not61 = icmp eq i32 %349, 0
  br i1 %.not61, label %350, label %351

350:                                              ; preds = %346, %339
  br label %351

351:                                              ; preds = %346, %350
  %.str.7.sink192 = phi ptr [ @.str.7, %350 ], [ @.str.3, %346 ]
  store i32 %341, ptr %340, align 4, !tbaa !9
  %352 = load ptr, ptr @stderr, align 8, !tbaa !5
  %353 = load i32, ptr @test_count, align 4, !tbaa !9
  %354 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %355 = load i32, ptr %354, align 4, !tbaa !9
  %356 = call ptr @s2n_strerror(i32 noundef %355, ptr noundef nonnull @.str.6) #9
  %357 = load i32, ptr %354, align 4, !tbaa !9
  %358 = call ptr @s2n_strerror_debug(i32 noundef %357, ptr noundef nonnull @.str.6) #9
  %359 = load i32, ptr %340, align 4, !tbaa !9
  %360 = call ptr @strerror(i32 noundef %359) #9
  %361 = load i32, ptr %340, align 4, !tbaa !9
  %362 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %352, ptr noundef nonnull %.str.7.sink192, i32 noundef %353, ptr noundef nonnull @.str.38, ptr noundef nonnull @.str.5, i32 noundef 342, ptr noundef %356, ptr noundef %358, ptr noundef %360, i32 noundef %361) #11
  call void @exit(i32 noundef 1) #12
  unreachable

363:                                              ; preds = %303, %333
  %364 = load i32, ptr @test_count, align 4, !tbaa !9
  %365 = add nsw i32 %364, 1
  store i32 %365, ptr @test_count, align 4, !tbaa !9
  %366 = call ptr @s2n_get_server_name(ptr noundef null) #9
  %367 = icmp eq ptr %366, null
  br i1 %367, label %392, label %368

368:                                              ; preds = %363
  %369 = tail call ptr @__errno_location() #10
  %370 = load i32, ptr %369, align 4, !tbaa !9
  %371 = load ptr, ptr @stderr, align 8, !tbaa !5
  %372 = call i32 @s2n_print_stacktrace(ptr noundef %371) #9
  %373 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %374 = trunc nuw i8 %373 to i1
  br i1 %374, label %375, label %379

375:                                              ; preds = %368
  %376 = load ptr, ptr @stderr, align 8, !tbaa !5
  %377 = call i32 @fileno(ptr noundef %376) #9
  %378 = call i32 @isatty(i32 noundef %377) #9
  %.not55 = icmp eq i32 %378, 0
  br i1 %.not55, label %379, label %380

379:                                              ; preds = %375, %368
  br label %380

380:                                              ; preds = %375, %379
  %.str.7.sink203 = phi ptr [ @.str.7, %379 ], [ @.str.3, %375 ]
  store i32 %370, ptr %369, align 4, !tbaa !9
  %381 = load ptr, ptr @stderr, align 8, !tbaa !5
  %382 = load i32, ptr @test_count, align 4, !tbaa !9
  %383 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %384 = load i32, ptr %383, align 4, !tbaa !9
  %385 = call ptr @s2n_strerror(i32 noundef %384, ptr noundef nonnull @.str.6) #9
  %386 = load i32, ptr %383, align 4, !tbaa !9
  %387 = call ptr @s2n_strerror_debug(i32 noundef %386, ptr noundef nonnull @.str.6) #9
  %388 = load i32, ptr %369, align 4, !tbaa !9
  %389 = call ptr @strerror(i32 noundef %388) #9
  %390 = load i32, ptr %369, align 4, !tbaa !9
  %391 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %381, ptr noundef nonnull %.str.7.sink203, i32 noundef %382, ptr noundef nonnull @.str.39, ptr noundef nonnull @.str.5, i32 noundef 346, ptr noundef %385, ptr noundef %387, ptr noundef %389, i32 noundef %390) #11
  call void @exit(i32 noundef 1) #12
  unreachable

392:                                              ; preds = %363
  %393 = load i32, ptr @test_count, align 4, !tbaa !9
  %394 = add nsw i32 %393, 1
  store i32 %394, ptr @test_count, align 4, !tbaa !9
  %395 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %396 = load i32, ptr %395, align 4, !tbaa !9
  %397 = icmp eq i32 %396, 402653193
  br i1 %397, label %421, label %398

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

405:                                              ; preds = %398
  %406 = load ptr, ptr @stderr, align 8, !tbaa !5
  %407 = call i32 @fileno(ptr noundef %406) #9
  %408 = call i32 @isatty(i32 noundef %407) #9
  %.not56 = icmp eq i32 %408, 0
  br i1 %.not56, label %409, label %410

409:                                              ; preds = %405, %398
  br label %410

410:                                              ; preds = %405, %409
  %.str.7.sink214 = phi ptr [ @.str.7, %409 ], [ @.str.3, %405 ]
  store i32 %400, ptr %399, align 4, !tbaa !9
  %411 = load ptr, ptr @stderr, align 8, !tbaa !5
  %412 = load i32, ptr @test_count, align 4, !tbaa !9
  %413 = load i32, ptr %395, align 4, !tbaa !9
  %414 = call ptr @s2n_strerror(i32 noundef %413, ptr noundef nonnull @.str.6) #9
  %415 = load i32, ptr %395, align 4, !tbaa !9
  %416 = call ptr @s2n_strerror_debug(i32 noundef %415, ptr noundef nonnull @.str.6) #9
  %417 = load i32, ptr %399, align 4, !tbaa !9
  %418 = call ptr @strerror(i32 noundef %417) #9
  %419 = load i32, ptr %399, align 4, !tbaa !9
  %420 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %411, ptr noundef nonnull %.str.7.sink214, i32 noundef %412, ptr noundef nonnull @.str.40, ptr noundef nonnull @.str.5, i32 noundef 347, ptr noundef %414, ptr noundef %416, ptr noundef %418, i32 noundef %419) #11
  call void @exit(i32 noundef 1) #12
  unreachable

421:                                              ; preds = %392
  %422 = add nsw i32 %393, 2
  store i32 %422, ptr @test_count, align 4, !tbaa !9
  %423 = load ptr, ptr %4, align 8, !tbaa !5
  %424 = call ptr @s2n_get_application_protocol(ptr noundef %423) #9
  %425 = load ptr, ptr @run_test_config_swap_ch_cb.protocols, align 8, !tbaa !5
  %426 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %424, ptr noundef nonnull dereferenceable(1) %425) #13
  %427 = icmp eq i32 %426, 0
  br i1 %427, label %451, label %428

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

435:                                              ; preds = %428
  %436 = load ptr, ptr @stderr, align 8, !tbaa !5
  %437 = call i32 @fileno(ptr noundef %436) #9
  %438 = call i32 @isatty(i32 noundef %437) #9
  %.not57 = icmp eq i32 %438, 0
  br i1 %.not57, label %439, label %440

439:                                              ; preds = %435, %428
  br label %440

440:                                              ; preds = %435, %439
  %.str.7.sink223 = phi ptr [ @.str.7, %439 ], [ @.str.3, %435 ]
  store i32 %430, ptr %429, align 4, !tbaa !9
  %441 = load ptr, ptr @stderr, align 8, !tbaa !5
  %442 = load i32, ptr @test_count, align 4, !tbaa !9
  %443 = load i32, ptr %395, align 4, !tbaa !9
  %444 = call ptr @s2n_strerror(i32 noundef %443, ptr noundef nonnull @.str.6) #9
  %445 = load i32, ptr %395, align 4, !tbaa !9
  %446 = call ptr @s2n_strerror_debug(i32 noundef %445, ptr noundef nonnull @.str.6) #9
  %447 = load i32, ptr %429, align 4, !tbaa !9
  %448 = call ptr @strerror(i32 noundef %447) #9
  %449 = load i32, ptr %429, align 4, !tbaa !9
  %450 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %441, ptr noundef nonnull %.str.7.sink223, i32 noundef %442, ptr noundef nonnull @.str.41, ptr noundef nonnull @.str.5, i32 noundef 350, ptr noundef %444, ptr noundef %446, ptr noundef %448, i32 noundef %449) #11
  call void @exit(i32 noundef 1) #12
  unreachable

451:                                              ; preds = %421
  %452 = load i32, ptr @test_count, align 4, !tbaa !9
  %453 = add nsw i32 %452, 1
  store i32 %453, ptr @test_count, align 4, !tbaa !9
  %454 = load ptr, ptr %4, align 8, !tbaa !5
  %455 = call i32 @server_recv(ptr noundef %454)
  %456 = icmp eq i32 %455, -1
  br i1 %456, label %457, label %480

457:                                              ; preds = %451
  %458 = tail call ptr @__errno_location() #10
  %459 = load i32, ptr %458, align 4, !tbaa !9
  %460 = load ptr, ptr @stderr, align 8, !tbaa !5
  %461 = call i32 @s2n_print_stacktrace(ptr noundef %460) #9
  %462 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %463 = trunc nuw i8 %462 to i1
  br i1 %463, label %464, label %468

464:                                              ; preds = %457
  %465 = load ptr, ptr @stderr, align 8, !tbaa !5
  %466 = call i32 @fileno(ptr noundef %465) #9
  %467 = call i32 @isatty(i32 noundef %466) #9
  %.not60 = icmp eq i32 %467, 0
  br i1 %.not60, label %468, label %469

468:                                              ; preds = %464, %457
  br label %469

469:                                              ; preds = %464, %468
  %.str.7.sink232 = phi ptr [ @.str.7, %468 ], [ @.str.3, %464 ]
  store i32 %459, ptr %458, align 4, !tbaa !9
  %470 = load ptr, ptr @stderr, align 8, !tbaa !5
  %471 = load i32, ptr @test_count, align 4, !tbaa !9
  %472 = load i32, ptr %395, align 4, !tbaa !9
  %473 = call ptr @s2n_strerror(i32 noundef %472, ptr noundef nonnull @.str.6) #9
  %474 = load i32, ptr %395, align 4, !tbaa !9
  %475 = call ptr @s2n_strerror_debug(i32 noundef %474, ptr noundef nonnull @.str.6) #9
  %476 = load i32, ptr %458, align 4, !tbaa !9
  %477 = call ptr @strerror(i32 noundef %476) #9
  %478 = load i32, ptr %458, align 4, !tbaa !9
  %479 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %470, ptr noundef nonnull %.str.7.sink232, i32 noundef %471, ptr noundef nonnull @.str.42, ptr noundef nonnull @.str.5, i32 noundef 352, ptr noundef %473, ptr noundef %475, ptr noundef %477, i32 noundef %478) #11
  call void @exit(i32 noundef 1) #12
  unreachable

480:                                              ; preds = %451
  %481 = load i32, ptr @test_count, align 4, !tbaa !9
  %482 = add nsw i32 %481, 1
  store i32 %482, ptr @test_count, align 4, !tbaa !9
  %483 = load ptr, ptr %4, align 8, !tbaa !5
  %484 = load i32, ptr %5, align 4, !tbaa !9
  %485 = load ptr, ptr %6, align 8, !tbaa !5
  %486 = call i32 @test_case_clean(ptr noundef %483, i32 noundef %484, ptr noundef nonnull %185, ptr noundef nonnull %3, ptr noundef nonnull %1, ptr noundef %485)
  %487 = icmp eq i32 %486, -1
  br i1 %487, label %488, label %511

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

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

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

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

511:                                              ; preds = %480
  %512 = load i32, ptr @test_count, align 4, !tbaa !9
  %513 = add nsw i32 %512, 1
  store i32 %513, ptr @test_count, align 4, !tbaa !9
  %514 = call i32 @s2n_config_free(ptr noundef nonnull %67) #9
  %515 = icmp eq i32 %514, -1
  br i1 %515, label %516, label %539

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

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

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

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

539:                                              ; preds = %511
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #9
  ret i32 0
}

declare i32 @s2n_test_cert_chain_and_key_new(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

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

declare i32 @s2n_config_set_client_hello_cb_mode(ptr noundef, i32 noundef) local_unnamed_addr #1

declare i32 @s2n_config_set_client_hello_cb(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

declare ptr @s2n_get_application_protocol(ptr noundef) local_unnamed_addr #1

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 #3 = { 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 #4 = { mustprogress nofree nounwind willreturn memory(argmem: read) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { 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 #6 = { 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 = { 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 #8 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #9 = { nounwind }
attributes #10 = { nounwind willreturn memory(none) }
attributes #11 = { cold nounwind }
attributes #12 = { noreturn nounwind }
attributes #13 = { 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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"_Bool", !7, i64 0}
!13 = !{i8 0, i8 2}
!14 = !{}
!15 = !{!16, !6, i64 16}
!16 = !{!"client_hello_context", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !6, i64 16, !10, i64 24}
!17 = !{!16, !10, i64 12}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass