; 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.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
@stdout = external global ptr, align 8
@.str.53 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.54 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.55 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.56 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.57 = external hidden unnamed_addr constant [107 x i8], align 1
@.str.58 = external hidden unnamed_addr constant [104 x i8], align 1
@.str.59 = external hidden unnamed_addr constant [107 x i8], align 1
@.str.60 = external hidden unnamed_addr constant [110 x i8], align 1
@.str.61 = external hidden unnamed_addr constant [109 x i8], align 1
@.str.62 = external hidden unnamed_addr constant [112 x i8], align 1
@.str.63 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.64 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.65 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.66 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.67 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.68 = external hidden unnamed_addr constant [25 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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #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_cleanup() #2

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

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

declare i32 @s2n_print_stacktrace(ptr noundef) #2

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

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

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

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

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

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

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

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

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

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

; Function Attrs: nounwind uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #7 {
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca %struct.client_hello_context, align 8
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  store i32 0, ptr %3, align 4
  store i32 %0, ptr %4, align 4, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 32, ptr %6) #8
  call void @llvm.memset.p0.i64(ptr align 8 %6, i8 0, i64 32, i1 false)
  br label %21

21:                                               ; preds = %2
  br label %22

22:                                               ; preds = %21
  store i32 0, ptr @test_count, align 4, !tbaa !5
  %23 = load ptr, ptr @stdout, align 8, !tbaa !9
  %24 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %23, ptr noundef @.str.53, ptr noundef @.str.5) #8
  %25 = load ptr, ptr @stdout, align 8, !tbaa !9
  %26 = call i32 @fflush(ptr noundef %25)
  br label %27

27:                                               ; preds = %22
  %28 = call i32 @s2n_in_unit_test_set(i1 noundef zeroext true)
  %29 = icmp eq i32 %28, -1
  br i1 %29, label %30, label %83

30:                                               ; preds = %27
  br label %31

31:                                               ; preds = %30
  br label %32

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

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

44:                                               ; preds = %39
  %45 = load i32, ptr %7, align 4, !tbaa !5
  %46 = call ptr @__errno_location() #9
  store i32 %45, ptr %46, align 4, !tbaa !5
  %47 = load ptr, ptr @stderr, align 8, !tbaa !9
  %48 = load i32, ptr @test_count, align 4, !tbaa !5
  %49 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %50 = load i32, ptr %49, align 4, !tbaa !5
  %51 = call ptr @s2n_strerror(i32 noundef %50, ptr noundef @.str.6)
  %52 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %53 = load i32, ptr %52, align 4, !tbaa !5
  %54 = call ptr @s2n_strerror_debug(i32 noundef %53, ptr noundef @.str.6)
  %55 = call ptr @__errno_location() #9
  %56 = load i32, ptr %55, align 4, !tbaa !5
  %57 = call ptr @strerror(i32 noundef %56) #8
  %58 = call ptr @__errno_location() #9
  %59 = load i32, ptr %58, align 4, !tbaa !5
  %60 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %47, ptr noundef @.str.3, i32 noundef %48, ptr noundef @.str.54, ptr noundef @.str.5, i32 noundef 438, ptr noundef %51, ptr noundef %54, ptr noundef %57, i32 noundef %59) #8
  br label %78

61:                                               ; preds = %39, %32
  %62 = load i32, ptr %7, align 4, !tbaa !5
  %63 = call ptr @__errno_location() #9
  store i32 %62, ptr %63, align 4, !tbaa !5
  %64 = load ptr, ptr @stderr, align 8, !tbaa !9
  %65 = load i32, ptr @test_count, align 4, !tbaa !5
  %66 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %67 = load i32, ptr %66, align 4, !tbaa !5
  %68 = call ptr @s2n_strerror(i32 noundef %67, ptr noundef @.str.6)
  %69 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %70 = load i32, ptr %69, align 4, !tbaa !5
  %71 = call ptr @s2n_strerror_debug(i32 noundef %70, ptr noundef @.str.6)
  %72 = call ptr @__errno_location() #9
  %73 = load i32, ptr %72, align 4, !tbaa !5
  %74 = call ptr @strerror(i32 noundef %73) #8
  %75 = call ptr @__errno_location() #9
  %76 = load i32, ptr %75, align 4, !tbaa !5
  %77 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %64, ptr noundef @.str.7, i32 noundef %65, ptr noundef @.str.54, ptr noundef @.str.5, i32 noundef 438, ptr noundef %68, ptr noundef %71, ptr noundef %74, i32 noundef %76) #8
  br label %78

78:                                               ; preds = %61, %44
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #8
  br label %79

79:                                               ; preds = %78
  br label %80

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

81:                                               ; No predecessors!
  br label %82

82:                                               ; preds = %81
  br label %83

83:                                               ; preds = %82, %27
  br label %84

84:                                               ; preds = %83
  br label %85

85:                                               ; preds = %84
  br label %86

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

91:                                               ; preds = %86
  br label %92

92:                                               ; preds = %91
  br label %93

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

100:                                              ; preds = %93
  %101 = load ptr, ptr @stderr, align 8, !tbaa !9
  %102 = call i32 @fileno(ptr noundef %101) #8
  %103 = call i32 @isatty(i32 noundef %102) #8
  %104 = icmp ne i32 %103, 0
  br i1 %104, label %105, label %122

105:                                              ; preds = %100
  %106 = load i32, ptr %8, align 4, !tbaa !5
  %107 = call ptr @__errno_location() #9
  store i32 %106, ptr %107, align 4, !tbaa !5
  %108 = load ptr, ptr @stderr, align 8, !tbaa !9
  %109 = load i32, ptr @test_count, align 4, !tbaa !5
  %110 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %111 = load i32, ptr %110, align 4, !tbaa !5
  %112 = call ptr @s2n_strerror(i32 noundef %111, ptr noundef @.str.6)
  %113 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %114 = load i32, ptr %113, align 4, !tbaa !5
  %115 = call ptr @s2n_strerror_debug(i32 noundef %114, ptr noundef @.str.6)
  %116 = call ptr @__errno_location() #9
  %117 = load i32, ptr %116, align 4, !tbaa !5
  %118 = call ptr @strerror(i32 noundef %117) #8
  %119 = call ptr @__errno_location() #9
  %120 = load i32, ptr %119, align 4, !tbaa !5
  %121 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %108, ptr noundef @.str.3, i32 noundef %109, ptr noundef @.str.55, ptr noundef @.str.5, i32 noundef 438, ptr noundef %112, ptr noundef %115, ptr noundef %118, i32 noundef %120) #8
  br label %139

122:                                              ; preds = %100, %93
  %123 = load i32, ptr %8, align 4, !tbaa !5
  %124 = call ptr @__errno_location() #9
  store i32 %123, ptr %124, align 4, !tbaa !5
  %125 = load ptr, ptr @stderr, align 8, !tbaa !9
  %126 = load i32, ptr @test_count, align 4, !tbaa !5
  %127 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %128 = load i32, ptr %127, align 4, !tbaa !5
  %129 = call ptr @s2n_strerror(i32 noundef %128, ptr noundef @.str.6)
  %130 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %131 = load i32, ptr %130, align 4, !tbaa !5
  %132 = call ptr @s2n_strerror_debug(i32 noundef %131, ptr noundef @.str.6)
  %133 = call ptr @__errno_location() #9
  %134 = load i32, ptr %133, align 4, !tbaa !5
  %135 = call ptr @strerror(i32 noundef %134) #8
  %136 = call ptr @__errno_location() #9
  %137 = load i32, ptr %136, align 4, !tbaa !5
  %138 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %125, ptr noundef @.str.7, i32 noundef %126, ptr noundef @.str.55, ptr noundef @.str.5, i32 noundef 438, ptr noundef %129, ptr noundef %132, ptr noundef %135, i32 noundef %137) #8
  br label %139

139:                                              ; preds = %122, %105
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #8
  br label %140

140:                                              ; preds = %139
  br label %141

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

142:                                              ; No predecessors!
  br label %143

143:                                              ; preds = %142
  br label %144

144:                                              ; preds = %143, %86
  br label %145

145:                                              ; preds = %144
  br label %146

146:                                              ; preds = %145
  br label %147

147:                                              ; preds = %146
  br label %148

148:                                              ; preds = %147
  br label %149

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

152:                                              ; preds = %149
  br label %153

153:                                              ; preds = %152
  br label %154

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

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

166:                                              ; preds = %161
  %167 = load i32, ptr %9, align 4, !tbaa !5
  %168 = call ptr @__errno_location() #9
  store i32 %167, ptr %168, align 4, !tbaa !5
  %169 = load ptr, ptr @stderr, align 8, !tbaa !9
  %170 = load i32, ptr @test_count, align 4, !tbaa !5
  %171 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %172 = load i32, ptr %171, align 4, !tbaa !5
  %173 = call ptr @s2n_strerror(i32 noundef %172, ptr noundef @.str.6)
  %174 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %175 = load i32, ptr %174, align 4, !tbaa !5
  %176 = call ptr @s2n_strerror_debug(i32 noundef %175, ptr noundef @.str.6)
  %177 = call ptr @__errno_location() #9
  %178 = load i32, ptr %177, align 4, !tbaa !5
  %179 = call ptr @strerror(i32 noundef %178) #8
  %180 = call ptr @__errno_location() #9
  %181 = load i32, ptr %180, align 4, !tbaa !5
  %182 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %169, ptr noundef @.str.3, i32 noundef %170, ptr noundef @.str.56, ptr noundef @.str.5, i32 noundef 438, ptr noundef %173, ptr noundef %176, ptr noundef %179, i32 noundef %181) #8
  br label %200

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

200:                                              ; preds = %183, %166
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #8
  br label %201

201:                                              ; preds = %200
  br label %202

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

203:                                              ; No predecessors!
  br label %204

204:                                              ; preds = %203
  br label %205

205:                                              ; preds = %204, %149
  br label %206

206:                                              ; preds = %205
  br label %207

207:                                              ; preds = %206
  br label %208

208:                                              ; preds = %207
  br label %209

209:                                              ; preds = %208
  %210 = getelementptr inbounds %struct.client_hello_context, ptr %6, i32 0, i32 2
  store i32 1, ptr %210, align 8, !tbaa !15
  br label %211

211:                                              ; preds = %209
  %212 = load i32, ptr @test_count, align 4, !tbaa !5
  %213 = add nsw i32 %212, 1
  store i32 %213, ptr @test_count, align 4, !tbaa !5
  %214 = call i32 @run_test_config_swap_ch_cb(i32 noundef 1, ptr noundef %6)
  %215 = icmp eq i32 %214, -1
  br i1 %215, label %216, label %269

216:                                              ; preds = %211
  br label %217

217:                                              ; preds = %216
  br label %218

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

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

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

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

264:                                              ; preds = %247, %230
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #8
  br label %265

265:                                              ; preds = %264
  br label %266

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

267:                                              ; No predecessors!
  br label %268

268:                                              ; preds = %267
  br label %269

269:                                              ; preds = %268, %211
  br label %270

270:                                              ; preds = %269
  br label %271

271:                                              ; preds = %270
  %272 = getelementptr inbounds %struct.client_hello_context, ptr %6, i32 0, i32 1
  store i32 1, ptr %272, align 4, !tbaa !17
  %273 = getelementptr inbounds %struct.client_hello_context, ptr %6, i32 0, i32 3
  store i32 1, ptr %273, align 4, !tbaa !18
  br label %274

274:                                              ; preds = %271
  %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 = call i32 @run_test_config_swap_ch_cb(i32 noundef 1, ptr noundef %6)
  %278 = icmp eq i32 %277, -1
  br i1 %278, label %279, label %332

279:                                              ; preds = %274
  br label %280

280:                                              ; preds = %279
  br label %281

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

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

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

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

327:                                              ; preds = %310, %293
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #8
  br label %328

328:                                              ; preds = %327
  br label %329

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

330:                                              ; No predecessors!
  br label %331

331:                                              ; preds = %330
  br label %332

332:                                              ; preds = %331, %274
  br label %333

333:                                              ; preds = %332
  br label %334

334:                                              ; preds = %333
  %335 = getelementptr inbounds %struct.client_hello_context, ptr %6, i32 0, i32 1
  store i32 1, ptr %335, align 4, !tbaa !17
  br label %336

336:                                              ; preds = %334
  %337 = load i32, ptr @test_count, align 4, !tbaa !5
  %338 = add nsw i32 %337, 1
  store i32 %338, ptr @test_count, align 4, !tbaa !5
  %339 = call i32 @run_test_config_swap_ch_cb(i32 noundef 0, ptr noundef %6)
  %340 = icmp eq i32 %339, -1
  br i1 %340, label %341, label %394

341:                                              ; preds = %336
  br label %342

342:                                              ; preds = %341
  br label %343

343:                                              ; preds = %342
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #8
  %344 = call ptr @__errno_location() #9
  %345 = load i32, ptr %344, align 4, !tbaa !5
  store i32 %345, ptr %12, align 4, !tbaa !5
  %346 = load ptr, ptr @stderr, align 8, !tbaa !9
  %347 = call i32 @s2n_print_stacktrace(ptr noundef %346)
  %348 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %349 = trunc i8 %348 to i1
  br i1 %349, label %350, label %372

350:                                              ; preds = %343
  %351 = load ptr, ptr @stderr, align 8, !tbaa !9
  %352 = call i32 @fileno(ptr noundef %351) #8
  %353 = call i32 @isatty(i32 noundef %352) #8
  %354 = icmp ne i32 %353, 0
  br i1 %354, label %355, label %372

355:                                              ; preds = %350
  %356 = load i32, ptr %12, align 4, !tbaa !5
  %357 = call ptr @__errno_location() #9
  store i32 %356, ptr %357, align 4, !tbaa !5
  %358 = load ptr, ptr @stderr, align 8, !tbaa !9
  %359 = load i32, ptr @test_count, align 4, !tbaa !5
  %360 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %361 = load i32, ptr %360, align 4, !tbaa !5
  %362 = call ptr @s2n_strerror(i32 noundef %361, ptr noundef @.str.6)
  %363 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %364 = load i32, ptr %363, align 4, !tbaa !5
  %365 = call ptr @s2n_strerror_debug(i32 noundef %364, ptr noundef @.str.6)
  %366 = call ptr @__errno_location() #9
  %367 = load i32, ptr %366, align 4, !tbaa !5
  %368 = call ptr @strerror(i32 noundef %367) #8
  %369 = call ptr @__errno_location() #9
  %370 = load i32, ptr %369, align 4, !tbaa !5
  %371 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %358, ptr noundef @.str.3, i32 noundef %359, ptr noundef @.str.58, ptr noundef @.str.5, i32 noundef 452, ptr noundef %362, ptr noundef %365, ptr noundef %368, i32 noundef %370) #8
  br label %389

372:                                              ; preds = %350, %343
  %373 = load i32, ptr %12, align 4, !tbaa !5
  %374 = call ptr @__errno_location() #9
  store i32 %373, ptr %374, align 4, !tbaa !5
  %375 = load ptr, ptr @stderr, align 8, !tbaa !9
  %376 = load i32, ptr @test_count, align 4, !tbaa !5
  %377 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %378 = load i32, ptr %377, align 4, !tbaa !5
  %379 = call ptr @s2n_strerror(i32 noundef %378, ptr noundef @.str.6)
  %380 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %381 = load i32, ptr %380, align 4, !tbaa !5
  %382 = call ptr @s2n_strerror_debug(i32 noundef %381, ptr noundef @.str.6)
  %383 = call ptr @__errno_location() #9
  %384 = load i32, ptr %383, align 4, !tbaa !5
  %385 = call ptr @strerror(i32 noundef %384) #8
  %386 = call ptr @__errno_location() #9
  %387 = load i32, ptr %386, align 4, !tbaa !5
  %388 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %375, ptr noundef @.str.7, i32 noundef %376, ptr noundef @.str.58, ptr noundef @.str.5, i32 noundef 452, ptr noundef %379, ptr noundef %382, ptr noundef %385, i32 noundef %387) #8
  br label %389

389:                                              ; preds = %372, %355
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #8
  br label %390

390:                                              ; preds = %389
  br label %391

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

392:                                              ; No predecessors!
  br label %393

393:                                              ; preds = %392
  br label %394

394:                                              ; preds = %393, %336
  br label %395

395:                                              ; preds = %394
  br label %396

396:                                              ; preds = %395
  %397 = getelementptr inbounds %struct.client_hello_context, ptr %6, i32 0, i32 1
  store i32 1, ptr %397, align 4, !tbaa !17
  %398 = getelementptr inbounds %struct.client_hello_context, ptr %6, i32 0, i32 5
  store i32 1, ptr %398, align 8, !tbaa !19
  br label %399

399:                                              ; preds = %396
  %400 = load i32, ptr @test_count, align 4, !tbaa !5
  %401 = add nsw i32 %400, 1
  store i32 %401, ptr @test_count, align 4, !tbaa !5
  %402 = call i32 @run_test_config_swap_ch_cb(i32 noundef 0, ptr noundef %6)
  %403 = icmp eq i32 %402, -1
  br i1 %403, label %404, label %457

404:                                              ; preds = %399
  br label %405

405:                                              ; preds = %404
  br label %406

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

413:                                              ; preds = %406
  %414 = load ptr, ptr @stderr, align 8, !tbaa !9
  %415 = call i32 @fileno(ptr noundef %414) #8
  %416 = call i32 @isatty(i32 noundef %415) #8
  %417 = icmp ne i32 %416, 0
  br i1 %417, label %418, label %435

418:                                              ; preds = %413
  %419 = load i32, ptr %13, align 4, !tbaa !5
  %420 = call ptr @__errno_location() #9
  store i32 %419, ptr %420, align 4, !tbaa !5
  %421 = load ptr, ptr @stderr, align 8, !tbaa !9
  %422 = load i32, ptr @test_count, align 4, !tbaa !5
  %423 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %424 = load i32, ptr %423, align 4, !tbaa !5
  %425 = call ptr @s2n_strerror(i32 noundef %424, ptr noundef @.str.6)
  %426 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %427 = load i32, ptr %426, align 4, !tbaa !5
  %428 = call ptr @s2n_strerror_debug(i32 noundef %427, ptr noundef @.str.6)
  %429 = call ptr @__errno_location() #9
  %430 = load i32, ptr %429, align 4, !tbaa !5
  %431 = call ptr @strerror(i32 noundef %430) #8
  %432 = call ptr @__errno_location() #9
  %433 = load i32, ptr %432, align 4, !tbaa !5
  %434 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %421, ptr noundef @.str.3, i32 noundef %422, ptr noundef @.str.58, ptr noundef @.str.5, i32 noundef 458, ptr noundef %425, ptr noundef %428, ptr noundef %431, i32 noundef %433) #8
  br label %452

435:                                              ; preds = %413, %406
  %436 = load i32, ptr %13, align 4, !tbaa !5
  %437 = call ptr @__errno_location() #9
  store i32 %436, ptr %437, align 4, !tbaa !5
  %438 = load ptr, ptr @stderr, align 8, !tbaa !9
  %439 = load i32, ptr @test_count, align 4, !tbaa !5
  %440 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %441 = load i32, ptr %440, align 4, !tbaa !5
  %442 = call ptr @s2n_strerror(i32 noundef %441, ptr noundef @.str.6)
  %443 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %444 = load i32, ptr %443, align 4, !tbaa !5
  %445 = call ptr @s2n_strerror_debug(i32 noundef %444, ptr noundef @.str.6)
  %446 = call ptr @__errno_location() #9
  %447 = load i32, ptr %446, align 4, !tbaa !5
  %448 = call ptr @strerror(i32 noundef %447) #8
  %449 = call ptr @__errno_location() #9
  %450 = load i32, ptr %449, align 4, !tbaa !5
  %451 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %438, ptr noundef @.str.7, i32 noundef %439, ptr noundef @.str.58, ptr noundef @.str.5, i32 noundef 458, ptr noundef %442, ptr noundef %445, ptr noundef %448, i32 noundef %450) #8
  br label %452

452:                                              ; preds = %435, %418
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #8
  br label %453

453:                                              ; preds = %452
  br label %454

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

455:                                              ; No predecessors!
  br label %456

456:                                              ; preds = %455
  br label %457

457:                                              ; preds = %456, %399
  br label %458

458:                                              ; preds = %457
  br label %459

459:                                              ; preds = %458
  br label %460

460:                                              ; preds = %459
  %461 = load i32, ptr @test_count, align 4, !tbaa !5
  %462 = add nsw i32 %461, 1
  store i32 %462, ptr @test_count, align 4, !tbaa !5
  %463 = call i32 @run_test_no_config_swap_ch_cb(i32 noundef 0, ptr noundef %6)
  %464 = icmp eq i32 %463, -1
  br i1 %464, label %465, label %518

465:                                              ; preds = %460
  br label %466

466:                                              ; preds = %465
  br label %467

467:                                              ; preds = %466
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #8
  %468 = call ptr @__errno_location() #9
  %469 = load i32, ptr %468, align 4, !tbaa !5
  store i32 %469, ptr %14, align 4, !tbaa !5
  %470 = load ptr, ptr @stderr, align 8, !tbaa !9
  %471 = call i32 @s2n_print_stacktrace(ptr noundef %470)
  %472 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %473 = trunc i8 %472 to i1
  br i1 %473, label %474, label %496

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

479:                                              ; preds = %474
  %480 = load i32, ptr %14, align 4, !tbaa !5
  %481 = call ptr @__errno_location() #9
  store i32 %480, ptr %481, align 4, !tbaa !5
  %482 = load ptr, ptr @stderr, align 8, !tbaa !9
  %483 = load i32, ptr @test_count, align 4, !tbaa !5
  %484 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %485 = load i32, ptr %484, align 4, !tbaa !5
  %486 = call ptr @s2n_strerror(i32 noundef %485, ptr noundef @.str.6)
  %487 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %488 = load i32, ptr %487, align 4, !tbaa !5
  %489 = call ptr @s2n_strerror_debug(i32 noundef %488, ptr noundef @.str.6)
  %490 = call ptr @__errno_location() #9
  %491 = load i32, ptr %490, align 4, !tbaa !5
  %492 = call ptr @strerror(i32 noundef %491) #8
  %493 = call ptr @__errno_location() #9
  %494 = load i32, ptr %493, align 4, !tbaa !5
  %495 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %482, ptr noundef @.str.3, i32 noundef %483, ptr noundef @.str.59, ptr noundef @.str.5, i32 noundef 461, ptr noundef %486, ptr noundef %489, ptr noundef %492, i32 noundef %494) #8
  br label %513

496:                                              ; preds = %474, %467
  %497 = load i32, ptr %14, align 4, !tbaa !5
  %498 = call ptr @__errno_location() #9
  store i32 %497, ptr %498, align 4, !tbaa !5
  %499 = load ptr, ptr @stderr, align 8, !tbaa !9
  %500 = load i32, ptr @test_count, align 4, !tbaa !5
  %501 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %502 = load i32, ptr %501, align 4, !tbaa !5
  %503 = call ptr @s2n_strerror(i32 noundef %502, ptr noundef @.str.6)
  %504 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %505 = load i32, ptr %504, align 4, !tbaa !5
  %506 = call ptr @s2n_strerror_debug(i32 noundef %505, ptr noundef @.str.6)
  %507 = call ptr @__errno_location() #9
  %508 = load i32, ptr %507, align 4, !tbaa !5
  %509 = call ptr @strerror(i32 noundef %508) #8
  %510 = call ptr @__errno_location() #9
  %511 = load i32, ptr %510, align 4, !tbaa !5
  %512 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %499, ptr noundef @.str.7, i32 noundef %500, ptr noundef @.str.59, ptr noundef @.str.5, i32 noundef 461, ptr noundef %503, ptr noundef %506, ptr noundef %509, i32 noundef %511) #8
  br label %513

513:                                              ; preds = %496, %479
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #8
  br label %514

514:                                              ; preds = %513
  br label %515

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

516:                                              ; No predecessors!
  br label %517

517:                                              ; preds = %516
  br label %518

518:                                              ; preds = %517, %460
  br label %519

519:                                              ; preds = %518
  br label %520

520:                                              ; preds = %519
  br label %521

521:                                              ; preds = %520
  %522 = load i32, ptr @test_count, align 4, !tbaa !5
  %523 = add nsw i32 %522, 1
  store i32 %523, ptr @test_count, align 4, !tbaa !5
  %524 = call i32 @run_test_no_config_swap_ch_cb(i32 noundef 1, ptr noundef %6)
  %525 = icmp eq i32 %524, -1
  br i1 %525, label %526, label %579

526:                                              ; preds = %521
  br label %527

527:                                              ; preds = %526
  br label %528

528:                                              ; preds = %527
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #8
  %529 = call ptr @__errno_location() #9
  %530 = load i32, ptr %529, align 4, !tbaa !5
  store i32 %530, ptr %15, align 4, !tbaa !5
  %531 = load ptr, ptr @stderr, align 8, !tbaa !9
  %532 = call i32 @s2n_print_stacktrace(ptr noundef %531)
  %533 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %534 = trunc i8 %533 to i1
  br i1 %534, label %535, label %557

535:                                              ; preds = %528
  %536 = load ptr, ptr @stderr, align 8, !tbaa !9
  %537 = call i32 @fileno(ptr noundef %536) #8
  %538 = call i32 @isatty(i32 noundef %537) #8
  %539 = icmp ne i32 %538, 0
  br i1 %539, label %540, label %557

540:                                              ; preds = %535
  %541 = load i32, ptr %15, align 4, !tbaa !5
  %542 = call ptr @__errno_location() #9
  store i32 %541, ptr %542, align 4, !tbaa !5
  %543 = load ptr, ptr @stderr, align 8, !tbaa !9
  %544 = load i32, ptr @test_count, align 4, !tbaa !5
  %545 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %546 = load i32, ptr %545, align 4, !tbaa !5
  %547 = call ptr @s2n_strerror(i32 noundef %546, ptr noundef @.str.6)
  %548 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %549 = load i32, ptr %548, align 4, !tbaa !5
  %550 = call ptr @s2n_strerror_debug(i32 noundef %549, ptr noundef @.str.6)
  %551 = call ptr @__errno_location() #9
  %552 = load i32, ptr %551, align 4, !tbaa !5
  %553 = call ptr @strerror(i32 noundef %552) #8
  %554 = call ptr @__errno_location() #9
  %555 = load i32, ptr %554, align 4, !tbaa !5
  %556 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %543, ptr noundef @.str.3, i32 noundef %544, ptr noundef @.str.60, ptr noundef @.str.5, i32 noundef 463, ptr noundef %547, ptr noundef %550, ptr noundef %553, i32 noundef %555) #8
  br label %574

557:                                              ; preds = %535, %528
  %558 = load i32, ptr %15, align 4, !tbaa !5
  %559 = call ptr @__errno_location() #9
  store i32 %558, ptr %559, align 4, !tbaa !5
  %560 = load ptr, ptr @stderr, align 8, !tbaa !9
  %561 = load i32, ptr @test_count, align 4, !tbaa !5
  %562 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %563 = load i32, ptr %562, align 4, !tbaa !5
  %564 = call ptr @s2n_strerror(i32 noundef %563, ptr noundef @.str.6)
  %565 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %566 = load i32, ptr %565, align 4, !tbaa !5
  %567 = call ptr @s2n_strerror_debug(i32 noundef %566, ptr noundef @.str.6)
  %568 = call ptr @__errno_location() #9
  %569 = load i32, ptr %568, align 4, !tbaa !5
  %570 = call ptr @strerror(i32 noundef %569) #8
  %571 = call ptr @__errno_location() #9
  %572 = load i32, ptr %571, align 4, !tbaa !5
  %573 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %560, ptr noundef @.str.7, i32 noundef %561, ptr noundef @.str.60, ptr noundef @.str.5, i32 noundef 463, ptr noundef %564, ptr noundef %567, ptr noundef %570, i32 noundef %572) #8
  br label %574

574:                                              ; preds = %557, %540
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #8
  br label %575

575:                                              ; preds = %574
  br label %576

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

577:                                              ; No predecessors!
  br label %578

578:                                              ; preds = %577
  br label %579

579:                                              ; preds = %578, %521
  br label %580

580:                                              ; preds = %579
  br label %581

581:                                              ; preds = %580
  br label %582

582:                                              ; preds = %581
  %583 = load i32, ptr @test_count, align 4, !tbaa !5
  %584 = add nsw i32 %583, 1
  store i32 %584, ptr @test_count, align 4, !tbaa !5
  %585 = call i32 @run_test_reject_handshake_ch_cb(i32 noundef 0, ptr noundef %6)
  %586 = icmp eq i32 %585, -1
  br i1 %586, label %587, label %640

587:                                              ; preds = %582
  br label %588

588:                                              ; preds = %587
  br label %589

589:                                              ; preds = %588
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #8
  %590 = call ptr @__errno_location() #9
  %591 = load i32, ptr %590, align 4, !tbaa !5
  store i32 %591, ptr %16, align 4, !tbaa !5
  %592 = load ptr, ptr @stderr, align 8, !tbaa !9
  %593 = call i32 @s2n_print_stacktrace(ptr noundef %592)
  %594 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %595 = trunc i8 %594 to i1
  br i1 %595, label %596, label %618

596:                                              ; preds = %589
  %597 = load ptr, ptr @stderr, align 8, !tbaa !9
  %598 = call i32 @fileno(ptr noundef %597) #8
  %599 = call i32 @isatty(i32 noundef %598) #8
  %600 = icmp ne i32 %599, 0
  br i1 %600, label %601, label %618

601:                                              ; preds = %596
  %602 = load i32, ptr %16, align 4, !tbaa !5
  %603 = call ptr @__errno_location() #9
  store i32 %602, ptr %603, align 4, !tbaa !5
  %604 = load ptr, ptr @stderr, align 8, !tbaa !9
  %605 = load i32, ptr @test_count, align 4, !tbaa !5
  %606 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %607 = load i32, ptr %606, align 4, !tbaa !5
  %608 = call ptr @s2n_strerror(i32 noundef %607, ptr noundef @.str.6)
  %609 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %610 = load i32, ptr %609, align 4, !tbaa !5
  %611 = call ptr @s2n_strerror_debug(i32 noundef %610, ptr noundef @.str.6)
  %612 = call ptr @__errno_location() #9
  %613 = load i32, ptr %612, align 4, !tbaa !5
  %614 = call ptr @strerror(i32 noundef %613) #8
  %615 = call ptr @__errno_location() #9
  %616 = load i32, ptr %615, align 4, !tbaa !5
  %617 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %604, ptr noundef @.str.3, i32 noundef %605, ptr noundef @.str.61, ptr noundef @.str.5, i32 noundef 466, ptr noundef %608, ptr noundef %611, ptr noundef %614, i32 noundef %616) #8
  br label %635

618:                                              ; preds = %596, %589
  %619 = load i32, ptr %16, align 4, !tbaa !5
  %620 = call ptr @__errno_location() #9
  store i32 %619, ptr %620, align 4, !tbaa !5
  %621 = load ptr, ptr @stderr, align 8, !tbaa !9
  %622 = load i32, ptr @test_count, align 4, !tbaa !5
  %623 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %624 = load i32, ptr %623, align 4, !tbaa !5
  %625 = call ptr @s2n_strerror(i32 noundef %624, ptr noundef @.str.6)
  %626 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %627 = load i32, ptr %626, align 4, !tbaa !5
  %628 = call ptr @s2n_strerror_debug(i32 noundef %627, ptr noundef @.str.6)
  %629 = call ptr @__errno_location() #9
  %630 = load i32, ptr %629, align 4, !tbaa !5
  %631 = call ptr @strerror(i32 noundef %630) #8
  %632 = call ptr @__errno_location() #9
  %633 = load i32, ptr %632, align 4, !tbaa !5
  %634 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %621, ptr noundef @.str.7, i32 noundef %622, ptr noundef @.str.61, ptr noundef @.str.5, i32 noundef 466, ptr noundef %625, ptr noundef %628, ptr noundef %631, i32 noundef %633) #8
  br label %635

635:                                              ; preds = %618, %601
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #8
  br label %636

636:                                              ; preds = %635
  br label %637

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

638:                                              ; No predecessors!
  br label %639

639:                                              ; preds = %638
  br label %640

640:                                              ; preds = %639, %582
  br label %641

641:                                              ; preds = %640
  br label %642

642:                                              ; preds = %641
  br label %643

643:                                              ; preds = %642
  %644 = load i32, ptr @test_count, align 4, !tbaa !5
  %645 = add nsw i32 %644, 1
  store i32 %645, ptr @test_count, align 4, !tbaa !5
  %646 = call i32 @run_test_reject_handshake_ch_cb(i32 noundef 1, ptr noundef %6)
  %647 = icmp eq i32 %646, -1
  br i1 %647, label %648, label %701

648:                                              ; preds = %643
  br label %649

649:                                              ; preds = %648
  br label %650

650:                                              ; preds = %649
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #8
  %651 = call ptr @__errno_location() #9
  %652 = load i32, ptr %651, align 4, !tbaa !5
  store i32 %652, ptr %17, align 4, !tbaa !5
  %653 = load ptr, ptr @stderr, align 8, !tbaa !9
  %654 = call i32 @s2n_print_stacktrace(ptr noundef %653)
  %655 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %656 = trunc i8 %655 to i1
  br i1 %656, label %657, label %679

657:                                              ; preds = %650
  %658 = load ptr, ptr @stderr, align 8, !tbaa !9
  %659 = call i32 @fileno(ptr noundef %658) #8
  %660 = call i32 @isatty(i32 noundef %659) #8
  %661 = icmp ne i32 %660, 0
  br i1 %661, label %662, label %679

662:                                              ; preds = %657
  %663 = load i32, ptr %17, align 4, !tbaa !5
  %664 = call ptr @__errno_location() #9
  store i32 %663, ptr %664, align 4, !tbaa !5
  %665 = load ptr, ptr @stderr, align 8, !tbaa !9
  %666 = load i32, ptr @test_count, align 4, !tbaa !5
  %667 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %668 = load i32, ptr %667, align 4, !tbaa !5
  %669 = call ptr @s2n_strerror(i32 noundef %668, ptr noundef @.str.6)
  %670 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %671 = load i32, ptr %670, align 4, !tbaa !5
  %672 = call ptr @s2n_strerror_debug(i32 noundef %671, ptr noundef @.str.6)
  %673 = call ptr @__errno_location() #9
  %674 = load i32, ptr %673, align 4, !tbaa !5
  %675 = call ptr @strerror(i32 noundef %674) #8
  %676 = call ptr @__errno_location() #9
  %677 = load i32, ptr %676, align 4, !tbaa !5
  %678 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %665, ptr noundef @.str.3, i32 noundef %666, ptr noundef @.str.62, ptr noundef @.str.5, i32 noundef 468, ptr noundef %669, ptr noundef %672, ptr noundef %675, i32 noundef %677) #8
  br label %696

679:                                              ; preds = %657, %650
  %680 = load i32, ptr %17, align 4, !tbaa !5
  %681 = call ptr @__errno_location() #9
  store i32 %680, ptr %681, align 4, !tbaa !5
  %682 = load ptr, ptr @stderr, align 8, !tbaa !9
  %683 = load i32, ptr @test_count, align 4, !tbaa !5
  %684 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %685 = load i32, ptr %684, align 4, !tbaa !5
  %686 = call ptr @s2n_strerror(i32 noundef %685, ptr noundef @.str.6)
  %687 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %688 = load i32, ptr %687, align 4, !tbaa !5
  %689 = call ptr @s2n_strerror_debug(i32 noundef %688, ptr noundef @.str.6)
  %690 = call ptr @__errno_location() #9
  %691 = load i32, ptr %690, align 4, !tbaa !5
  %692 = call ptr @strerror(i32 noundef %691) #8
  %693 = call ptr @__errno_location() #9
  %694 = load i32, ptr %693, align 4, !tbaa !5
  %695 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %682, ptr noundef @.str.7, i32 noundef %683, ptr noundef @.str.62, ptr noundef @.str.5, i32 noundef 468, ptr noundef %686, ptr noundef %689, ptr noundef %692, i32 noundef %694) #8
  br label %696

696:                                              ; preds = %679, %662
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #8
  br label %697

697:                                              ; preds = %696
  br label %698

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

699:                                              ; No predecessors!
  br label %700

700:                                              ; preds = %699
  br label %701

701:                                              ; preds = %700, %643
  br label %702

702:                                              ; preds = %701
  br label %703

703:                                              ; preds = %702
  br label %704

704:                                              ; preds = %703
  br label %705

705:                                              ; preds = %704
  %706 = call i32 @s2n_cleanup()
  %707 = icmp eq i32 %706, -1
  br i1 %707, label %708, label %761

708:                                              ; preds = %705
  br label %709

709:                                              ; preds = %708
  br label %710

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

717:                                              ; preds = %710
  %718 = load ptr, ptr @stderr, align 8, !tbaa !9
  %719 = call i32 @fileno(ptr noundef %718) #8
  %720 = call i32 @isatty(i32 noundef %719) #8
  %721 = icmp ne i32 %720, 0
  br i1 %721, label %722, label %739

722:                                              ; preds = %717
  %723 = load i32, ptr %18, align 4, !tbaa !5
  %724 = call ptr @__errno_location() #9
  store i32 %723, ptr %724, align 4, !tbaa !5
  %725 = load ptr, ptr @stderr, align 8, !tbaa !9
  %726 = load i32, ptr @test_count, align 4, !tbaa !5
  %727 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %728 = load i32, ptr %727, align 4, !tbaa !5
  %729 = call ptr @s2n_strerror(i32 noundef %728, ptr noundef @.str.6)
  %730 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %731 = load i32, ptr %730, align 4, !tbaa !5
  %732 = call ptr @s2n_strerror_debug(i32 noundef %731, ptr noundef @.str.6)
  %733 = call ptr @__errno_location() #9
  %734 = load i32, ptr %733, align 4, !tbaa !5
  %735 = call ptr @strerror(i32 noundef %734) #8
  %736 = call ptr @__errno_location() #9
  %737 = load i32, ptr %736, align 4, !tbaa !5
  %738 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %725, ptr noundef @.str.3, i32 noundef %726, ptr noundef @.str.63, ptr noundef @.str.5, i32 noundef 470, ptr noundef %729, ptr noundef %732, ptr noundef %735, i32 noundef %737) #8
  br label %756

739:                                              ; preds = %717, %710
  %740 = load i32, ptr %18, align 4, !tbaa !5
  %741 = call ptr @__errno_location() #9
  store i32 %740, ptr %741, align 4, !tbaa !5
  %742 = load ptr, ptr @stderr, align 8, !tbaa !9
  %743 = load i32, ptr @test_count, align 4, !tbaa !5
  %744 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %745 = load i32, ptr %744, align 4, !tbaa !5
  %746 = call ptr @s2n_strerror(i32 noundef %745, ptr noundef @.str.6)
  %747 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %748 = load i32, ptr %747, align 4, !tbaa !5
  %749 = call ptr @s2n_strerror_debug(i32 noundef %748, ptr noundef @.str.6)
  %750 = call ptr @__errno_location() #9
  %751 = load i32, ptr %750, align 4, !tbaa !5
  %752 = call ptr @strerror(i32 noundef %751) #8
  %753 = call ptr @__errno_location() #9
  %754 = load i32, ptr %753, align 4, !tbaa !5
  %755 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %742, ptr noundef @.str.7, i32 noundef %743, ptr noundef @.str.63, ptr noundef @.str.5, i32 noundef 470, ptr noundef %746, ptr noundef %749, ptr noundef %752, i32 noundef %754) #8
  br label %756

756:                                              ; preds = %739, %722
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #8
  br label %757

757:                                              ; preds = %756
  br label %758

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

759:                                              ; No predecessors!
  br label %760

760:                                              ; preds = %759
  br label %761

761:                                              ; preds = %760, %705
  br label %762

762:                                              ; preds = %761
  br label %763

763:                                              ; preds = %762
  br label %764

764:                                              ; preds = %763
  br label %765

765:                                              ; preds = %764
  %766 = call i32 @s2n_in_unit_test_set(i1 noundef zeroext false)
  %767 = icmp eq i32 %766, -1
  br i1 %767, label %768, label %821

768:                                              ; preds = %765
  br label %769

769:                                              ; preds = %768
  br label %770

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

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

782:                                              ; preds = %777
  %783 = load i32, ptr %19, align 4, !tbaa !5
  %784 = call ptr @__errno_location() #9
  store i32 %783, ptr %784, align 4, !tbaa !5
  %785 = load ptr, ptr @stderr, align 8, !tbaa !9
  %786 = load i32, ptr @test_count, align 4, !tbaa !5
  %787 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %788 = load i32, ptr %787, align 4, !tbaa !5
  %789 = call ptr @s2n_strerror(i32 noundef %788, ptr noundef @.str.6)
  %790 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %791 = load i32, ptr %790, align 4, !tbaa !5
  %792 = call ptr @s2n_strerror_debug(i32 noundef %791, ptr noundef @.str.6)
  %793 = call ptr @__errno_location() #9
  %794 = load i32, ptr %793, align 4, !tbaa !5
  %795 = call ptr @strerror(i32 noundef %794) #8
  %796 = call ptr @__errno_location() #9
  %797 = load i32, ptr %796, align 4, !tbaa !5
  %798 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %785, ptr noundef @.str.3, i32 noundef %786, ptr noundef @.str.64, ptr noundef @.str.5, i32 noundef 470, ptr noundef %789, ptr noundef %792, ptr noundef %795, i32 noundef %797) #8
  br label %816

799:                                              ; preds = %777, %770
  %800 = load i32, ptr %19, align 4, !tbaa !5
  %801 = call ptr @__errno_location() #9
  store i32 %800, ptr %801, align 4, !tbaa !5
  %802 = load ptr, ptr @stderr, align 8, !tbaa !9
  %803 = load i32, ptr @test_count, align 4, !tbaa !5
  %804 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %805 = load i32, ptr %804, align 4, !tbaa !5
  %806 = call ptr @s2n_strerror(i32 noundef %805, ptr noundef @.str.6)
  %807 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %808 = load i32, ptr %807, align 4, !tbaa !5
  %809 = call ptr @s2n_strerror_debug(i32 noundef %808, ptr noundef @.str.6)
  %810 = call ptr @__errno_location() #9
  %811 = load i32, ptr %810, align 4, !tbaa !5
  %812 = call ptr @strerror(i32 noundef %811) #8
  %813 = call ptr @__errno_location() #9
  %814 = load i32, ptr %813, align 4, !tbaa !5
  %815 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %802, ptr noundef @.str.7, i32 noundef %803, ptr noundef @.str.64, ptr noundef @.str.5, i32 noundef 470, ptr noundef %806, ptr noundef %809, ptr noundef %812, i32 noundef %814) #8
  br label %816

816:                                              ; preds = %799, %782
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #8
  br label %817

817:                                              ; preds = %816
  br label %818

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

819:                                              ; No predecessors!
  br label %820

820:                                              ; preds = %819
  br label %821

821:                                              ; preds = %820, %765
  br label %822

822:                                              ; preds = %821
  br label %823

823:                                              ; preds = %822
  %824 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %825 = trunc i8 %824 to i1
  br i1 %825, label %826, label %842

826:                                              ; preds = %823
  %827 = load ptr, ptr @stdout, align 8, !tbaa !9
  %828 = call i32 @fileno(ptr noundef %827) #8
  %829 = call i32 @isatty(i32 noundef %828) #8
  %830 = icmp ne i32 %829, 0
  br i1 %830, label %831, label %842

831:                                              ; preds = %826
  %832 = load i32, ptr @test_count, align 4, !tbaa !5
  %833 = icmp ne i32 %832, 0
  br i1 %833, label %834, label %838

834:                                              ; preds = %831
  %835 = load ptr, ptr @stdout, align 8, !tbaa !9
  %836 = load i32, ptr @test_count, align 4, !tbaa !5
  %837 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %835, ptr noundef @.str.65, i32 noundef %836) #8
  br label %841

838:                                              ; preds = %831
  %839 = load ptr, ptr @stdout, align 8, !tbaa !9
  %840 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %839, ptr noundef @.str.66) #8
  br label %841

841:                                              ; preds = %838, %834
  br label %853

842:                                              ; preds = %826, %823
  %843 = load i32, ptr @test_count, align 4, !tbaa !5
  %844 = icmp ne i32 %843, 0
  br i1 %844, label %845, label %849

845:                                              ; preds = %842
  %846 = load ptr, ptr @stdout, align 8, !tbaa !9
  %847 = load i32, ptr @test_count, align 4, !tbaa !5
  %848 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %846, ptr noundef @.str.67, i32 noundef %847) #8
  br label %852

849:                                              ; preds = %842
  %850 = load ptr, ptr @stdout, align 8, !tbaa !9
  %851 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %850, ptr noundef @.str.68) #8
  br label %852

852:                                              ; preds = %849, %845
  br label %853

853:                                              ; preds = %852, %841
  store i32 0, ptr %3, align 4
  store i32 1, ptr %20, align 4
  br label %858

854:                                              ; No predecessors!
  br label %855

855:                                              ; preds = %854
  br label %856

856:                                              ; preds = %855
  br label %857

857:                                              ; preds = %856
  store i32 0, ptr %3, align 4
  store i32 1, ptr %20, align 4
  br label %858

858:                                              ; preds = %857, %853
  call void @llvm.lifetime.end.p0(i64 32, ptr %6) #8
  %859 = load i32, ptr %3, align 4
  ret i32 %859
}

declare i32 @fflush(ptr noundef) #2

declare i32 @s2n_in_unit_test_set(i1 noundef zeroext) #2

declare i32 @s2n_enable_atexit() #2

declare i32 @s2n_init() #2

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

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

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


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

%struct.client_hello_context = type { i32, i32, i32, i32, ptr, 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
@stdout = external local_unnamed_addr global ptr, align 8
@.str.53 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.54 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.55 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.56 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.57 = external hidden unnamed_addr constant [107 x i8], align 1
@.str.58 = external hidden unnamed_addr constant [104 x i8], align 1
@.str.59 = external hidden unnamed_addr constant [107 x i8], align 1
@.str.60 = external hidden unnamed_addr constant [110 x i8], align 1
@.str.61 = external hidden unnamed_addr constant [109 x i8], align 1
@.str.62 = external hidden unnamed_addr constant [112 x i8], align 1
@.str.63 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.64 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.65 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.66 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.67 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.68 = external hidden unnamed_addr constant [25 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

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #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_cleanup() local_unnamed_addr #2

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

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

declare i32 @s2n_print_stacktrace(ptr noundef) local_unnamed_addr #2

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

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

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

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

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

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

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

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

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

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

; Function Attrs: nounwind uwtable
define dso_local noundef i32 @main(i32 noundef %0, ptr nocapture noundef readnone %1) local_unnamed_addr #8 {
  %3 = alloca %struct.client_hello_context, align 8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #9
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %3, i8 0, i64 32, i1 false)
  store i32 0, ptr @test_count, align 4, !tbaa !5
  %4 = load ptr, ptr @stdout, align 8, !tbaa !9
  %5 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %4, ptr noundef nonnull @.str.53, ptr noundef nonnull @.str.5) #9
  %6 = load ptr, ptr @stdout, align 8, !tbaa !9
  %7 = tail call i32 @fflush(ptr noundef %6)
  %8 = tail call i32 @s2n_in_unit_test_set(i1 noundef zeroext true) #9
  %9 = icmp eq i32 %8, -1
  br i1 %9, label %10, label %34

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

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

21:                                               ; preds = %17, %10
  br label %22

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

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

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

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

50:                                               ; preds = %46, %39
  br label %51

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

63:                                               ; preds = %34
  %64 = tail call i32 @s2n_init() #9
  %65 = icmp eq i32 %64, -1
  br i1 %65, label %66, label %90

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

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

77:                                               ; preds = %73, %66
  br label %78

78:                                               ; preds = %73, %77
  %.str.7.sink64 = phi ptr [ @.str.7, %77 ], [ @.str.3, %73 ]
  store i32 %68, ptr %67, align 4, !tbaa !5
  %79 = load ptr, ptr @stderr, align 8, !tbaa !9
  %80 = load i32, ptr @test_count, align 4, !tbaa !5
  %81 = tail call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %82 = load i32, ptr %81, align 4, !tbaa !5
  %83 = tail call ptr @s2n_strerror(i32 noundef %82, ptr noundef nonnull @.str.6) #9
  %84 = load i32, ptr %81, align 4, !tbaa !5
  %85 = tail call ptr @s2n_strerror_debug(i32 noundef %84, ptr noundef nonnull @.str.6) #9
  %86 = load i32, ptr %67, align 4, !tbaa !5
  %87 = tail call ptr @strerror(i32 noundef %86) #9
  %88 = load i32, ptr %67, align 4, !tbaa !5
  %89 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %79, ptr noundef nonnull %.str.7.sink64, i32 noundef %80, ptr noundef nonnull @.str.56, ptr noundef nonnull @.str.5, i32 noundef 438, ptr noundef %83, ptr noundef %85, ptr noundef %87, i32 noundef %88) #11
  tail call void @exit(i32 noundef 1) #12
  unreachable

90:                                               ; preds = %63
  %91 = getelementptr inbounds i8, ptr %3, i64 8
  store i32 1, ptr %91, align 8, !tbaa !15
  %92 = load i32, ptr @test_count, align 4, !tbaa !5
  %93 = add nsw i32 %92, 1
  store i32 %93, ptr @test_count, align 4, !tbaa !5
  %94 = call i32 @run_test_config_swap_ch_cb(i32 noundef 1, ptr noundef nonnull %3)
  %95 = icmp eq i32 %94, -1
  br i1 %95, label %96, label %120

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

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

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

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

120:                                              ; preds = %90
  %121 = getelementptr inbounds i8, ptr %3, i64 4
  store i32 1, ptr %121, align 4, !tbaa !17
  %122 = getelementptr inbounds i8, ptr %3, i64 12
  store i32 1, ptr %122, align 4, !tbaa !18
  %123 = load i32, ptr @test_count, align 4, !tbaa !5
  %124 = add nsw i32 %123, 1
  store i32 %124, ptr @test_count, align 4, !tbaa !5
  %125 = call i32 @run_test_config_swap_ch_cb(i32 noundef 1, ptr noundef nonnull %3)
  %126 = icmp eq i32 %125, -1
  br i1 %126, label %127, label %151

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

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

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

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

151:                                              ; preds = %120
  store i32 1, ptr %121, align 4, !tbaa !17
  %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 i32 @run_test_config_swap_ch_cb(i32 noundef 0, ptr noundef nonnull %3)
  %155 = icmp eq i32 %154, -1
  br i1 %155, label %156, label %180

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

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

167:                                              ; preds = %163, %156
  br label %168

168:                                              ; preds = %163, %167
  %.str.7.sink97 = phi ptr [ @.str.7, %167 ], [ @.str.3, %163 ]
  store i32 %158, ptr %157, align 4, !tbaa !5
  %169 = load ptr, ptr @stderr, align 8, !tbaa !9
  %170 = load i32, ptr @test_count, align 4, !tbaa !5
  %171 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %172 = load i32, ptr %171, align 4, !tbaa !5
  %173 = call ptr @s2n_strerror(i32 noundef %172, ptr noundef nonnull @.str.6) #9
  %174 = load i32, ptr %171, align 4, !tbaa !5
  %175 = call ptr @s2n_strerror_debug(i32 noundef %174, ptr noundef nonnull @.str.6) #9
  %176 = load i32, ptr %157, align 4, !tbaa !5
  %177 = call ptr @strerror(i32 noundef %176) #9
  %178 = load i32, ptr %157, align 4, !tbaa !5
  %179 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %169, ptr noundef nonnull %.str.7.sink97, i32 noundef %170, ptr noundef nonnull @.str.58, ptr noundef nonnull @.str.5, i32 noundef 452, ptr noundef %173, ptr noundef %175, ptr noundef %177, i32 noundef %178) #11
  call void @exit(i32 noundef 1) #12
  unreachable

180:                                              ; preds = %151
  store i32 1, ptr %121, align 4, !tbaa !17
  %181 = getelementptr inbounds i8, ptr %3, i64 24
  store i32 1, ptr %181, align 8, !tbaa !19
  %182 = load i32, ptr @test_count, align 4, !tbaa !5
  %183 = add nsw i32 %182, 1
  store i32 %183, ptr @test_count, align 4, !tbaa !5
  %184 = call i32 @run_test_config_swap_ch_cb(i32 noundef 0, ptr noundef nonnull %3)
  %185 = icmp eq i32 %184, -1
  br i1 %185, label %186, label %210

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

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

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

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

210:                                              ; preds = %180
  %211 = load i32, ptr @test_count, align 4, !tbaa !5
  %212 = add nsw i32 %211, 1
  store i32 %212, ptr @test_count, align 4, !tbaa !5
  %213 = call i32 @run_test_no_config_swap_ch_cb(i32 noundef 0, ptr noundef nonnull %3)
  %214 = icmp eq i32 %213, -1
  br i1 %214, label %215, label %239

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

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

226:                                              ; preds = %222, %215
  br label %227

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

239:                                              ; preds = %210
  %240 = load i32, ptr @test_count, align 4, !tbaa !5
  %241 = add nsw i32 %240, 1
  store i32 %241, ptr @test_count, align 4, !tbaa !5
  %242 = call i32 @run_test_no_config_swap_ch_cb(i32 noundef 1, ptr noundef nonnull %3)
  %243 = icmp eq i32 %242, -1
  br i1 %243, label %244, label %268

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

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

255:                                              ; preds = %251, %244
  br label %256

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

268:                                              ; preds = %239
  %269 = load i32, ptr @test_count, align 4, !tbaa !5
  %270 = add nsw i32 %269, 1
  store i32 %270, ptr @test_count, align 4, !tbaa !5
  %271 = call i32 @run_test_reject_handshake_ch_cb(i32 noundef 0, ptr noundef nonnull %3)
  %272 = icmp eq i32 %271, -1
  br i1 %272, label %273, label %297

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

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

284:                                              ; preds = %280, %273
  br label %285

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

297:                                              ; preds = %268
  %298 = load i32, ptr @test_count, align 4, !tbaa !5
  %299 = add nsw i32 %298, 1
  store i32 %299, ptr @test_count, align 4, !tbaa !5
  %300 = call i32 @run_test_reject_handshake_ch_cb(i32 noundef 1, ptr noundef nonnull %3)
  %301 = icmp eq i32 %300, -1
  br i1 %301, label %302, label %326

302:                                              ; preds = %297
  %303 = tail call ptr @__errno_location() #10
  %304 = load i32, ptr %303, align 4, !tbaa !5
  %305 = load ptr, ptr @stderr, align 8, !tbaa !9
  %306 = call i32 @s2n_print_stacktrace(ptr noundef %305) #9
  %307 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %308 = trunc nuw i8 %307 to i1
  br i1 %308, label %309, label %313

309:                                              ; preds = %302
  %310 = load ptr, ptr @stderr, align 8, !tbaa !9
  %311 = call i32 @fileno(ptr noundef %310) #9
  %312 = call i32 @isatty(i32 noundef %311) #9
  %.not32 = icmp eq i32 %312, 0
  br i1 %.not32, label %313, label %314

313:                                              ; preds = %309, %302
  br label %314

314:                                              ; preds = %309, %313
  %.str.7.sink152 = phi ptr [ @.str.7, %313 ], [ @.str.3, %309 ]
  store i32 %304, ptr %303, 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 nonnull @.str.6) #9
  %320 = load i32, ptr %317, align 4, !tbaa !5
  %321 = call ptr @s2n_strerror_debug(i32 noundef %320, ptr noundef nonnull @.str.6) #9
  %322 = load i32, ptr %303, align 4, !tbaa !5
  %323 = call ptr @strerror(i32 noundef %322) #9
  %324 = load i32, ptr %303, align 4, !tbaa !5
  %325 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %315, ptr noundef nonnull %.str.7.sink152, i32 noundef %316, ptr noundef nonnull @.str.62, ptr noundef nonnull @.str.5, i32 noundef 468, ptr noundef %319, ptr noundef %321, ptr noundef %323, i32 noundef %324) #11
  call void @exit(i32 noundef 1) #12
  unreachable

326:                                              ; preds = %297
  %327 = call i32 @s2n_cleanup() #9
  %328 = icmp eq i32 %327, -1
  br i1 %328, label %329, label %353

329:                                              ; preds = %326
  %330 = tail call ptr @__errno_location() #10
  %331 = load i32, ptr %330, align 4, !tbaa !5
  %332 = load ptr, ptr @stderr, align 8, !tbaa !9
  %333 = call i32 @s2n_print_stacktrace(ptr noundef %332) #9
  %334 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %335 = trunc nuw i8 %334 to i1
  br i1 %335, label %336, label %340

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

340:                                              ; preds = %336, %329
  br label %341

341:                                              ; preds = %336, %340
  %.str.7.sink163 = phi ptr [ @.str.7, %340 ], [ @.str.3, %336 ]
  store i32 %331, ptr %330, align 4, !tbaa !5
  %342 = load ptr, ptr @stderr, align 8, !tbaa !9
  %343 = load i32, ptr @test_count, align 4, !tbaa !5
  %344 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %345 = load i32, ptr %344, align 4, !tbaa !5
  %346 = call ptr @s2n_strerror(i32 noundef %345, ptr noundef nonnull @.str.6) #9
  %347 = load i32, ptr %344, align 4, !tbaa !5
  %348 = call ptr @s2n_strerror_debug(i32 noundef %347, ptr noundef nonnull @.str.6) #9
  %349 = load i32, ptr %330, align 4, !tbaa !5
  %350 = call ptr @strerror(i32 noundef %349) #9
  %351 = load i32, ptr %330, align 4, !tbaa !5
  %352 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %342, ptr noundef nonnull %.str.7.sink163, i32 noundef %343, ptr noundef nonnull @.str.63, ptr noundef nonnull @.str.5, i32 noundef 470, ptr noundef %346, ptr noundef %348, ptr noundef %350, i32 noundef %351) #11
  call void @exit(i32 noundef 1) #12
  unreachable

353:                                              ; preds = %326
  %354 = call i32 @s2n_in_unit_test_set(i1 noundef zeroext false) #9
  %355 = icmp eq i32 %354, -1
  br i1 %355, label %356, label %380

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

363:                                              ; preds = %356
  %364 = load ptr, ptr @stderr, align 8, !tbaa !9
  %365 = call i32 @fileno(ptr noundef %364) #9
  %366 = call i32 @isatty(i32 noundef %365) #9
  %.not30 = icmp eq i32 %366, 0
  br i1 %.not30, label %367, label %368

367:                                              ; preds = %363, %356
  br label %368

368:                                              ; preds = %363, %367
  %.str.7.sink174 = phi ptr [ @.str.7, %367 ], [ @.str.3, %363 ]
  store i32 %358, ptr %357, align 4, !tbaa !5
  %369 = load ptr, ptr @stderr, align 8, !tbaa !9
  %370 = load i32, ptr @test_count, align 4, !tbaa !5
  %371 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %372 = load i32, ptr %371, align 4, !tbaa !5
  %373 = call ptr @s2n_strerror(i32 noundef %372, ptr noundef nonnull @.str.6) #9
  %374 = load i32, ptr %371, align 4, !tbaa !5
  %375 = call ptr @s2n_strerror_debug(i32 noundef %374, ptr noundef nonnull @.str.6) #9
  %376 = load i32, ptr %357, align 4, !tbaa !5
  %377 = call ptr @strerror(i32 noundef %376) #9
  %378 = load i32, ptr %357, align 4, !tbaa !5
  %379 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %369, ptr noundef nonnull %.str.7.sink174, i32 noundef %370, ptr noundef nonnull @.str.64, ptr noundef nonnull @.str.5, i32 noundef 470, ptr noundef %373, ptr noundef %375, ptr noundef %377, i32 noundef %378) #11
  call void @exit(i32 noundef 1) #12
  unreachable

380:                                              ; preds = %353
  %381 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %382 = trunc nuw i8 %381 to i1
  br i1 %382, label %383, label %394

383:                                              ; preds = %380
  %384 = load ptr, ptr @stdout, align 8, !tbaa !9
  %385 = call i32 @fileno(ptr noundef %384) #9
  %386 = call i32 @isatty(i32 noundef %385) #9
  %.not = icmp eq i32 %386, 0
  br i1 %.not, label %394, label %387

387:                                              ; preds = %383
  %388 = load i32, ptr @test_count, align 4, !tbaa !5
  %.not29 = icmp eq i32 %388, 0
  %389 = load ptr, ptr @stdout, align 8, !tbaa !9
  br i1 %.not29, label %392, label %390

390:                                              ; preds = %387
  %391 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %389, ptr noundef nonnull @.str.65, i32 noundef %388) #9
  br label %401

392:                                              ; preds = %387
  %393 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %389, ptr noundef nonnull @.str.66) #9
  br label %401

394:                                              ; preds = %383, %380
  %395 = load i32, ptr @test_count, align 4, !tbaa !5
  %.not28 = icmp eq i32 %395, 0
  %396 = load ptr, ptr @stdout, align 8, !tbaa !9
  br i1 %.not28, label %399, label %397

397:                                              ; preds = %394
  %398 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %396, ptr noundef nonnull @.str.67, i32 noundef %395) #9
  br label %401

399:                                              ; preds = %394
  %400 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %396, ptr noundef nonnull @.str.68) #9
  br label %401

401:                                              ; preds = %397, %399, %390, %392
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #9
  ret i32 0
}

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

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

declare i32 @s2n_enable_atexit() local_unnamed_addr #2

declare i32 @s2n_init() local_unnamed_addr #2

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

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

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


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