; LLVM IR from aws/s2n-tls :: tests/unit (s2n_examples_test)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%struct.s2n_result = type { i32 }

@s2n_use_color_in_output = external dso_local global i8, align 1
@test_count = external dso_local global i32, align 4
@stdout = external global ptr, align 8
@.str = external hidden unnamed_addr constant [19 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [76 x i8], align 1
@stderr = external global ptr, align 8
@.str.2 = external hidden unnamed_addr constant [101 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [52 x i8], align 1
@s2n_errno = external thread_local global i32, align 4
@.str.4 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [90 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [55 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [82 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [86 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [78 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [82 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [25 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca %struct.s2n_result, align 4
  %11 = alloca i32, align 4
  %12 = alloca %struct.s2n_result, align 4
  %13 = alloca i32, align 4
  %14 = alloca %struct.s2n_result, align 4
  %15 = alloca i32, align 4
  %16 = alloca %struct.s2n_result, align 4
  %17 = alloca i32, align 4
  %18 = alloca %struct.s2n_result, align 4
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca i32, align 4
  store i32 0, ptr %3, align 4
  store i32 %0, ptr %4, align 4, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !9
  br label %24

24:                                               ; preds = %2
  br label %25

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

30:                                               ; preds = %25
  %31 = call i32 @s2n_in_unit_test_set(i1 noundef zeroext true)
  %32 = icmp eq i32 %31, -1
  br i1 %32, label %33, label %84

33:                                               ; preds = %30
  br label %34

34:                                               ; preds = %33
  br label %35

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

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

47:                                               ; preds = %42
  %48 = load i32, ptr %6, align 4, !tbaa !5
  %49 = call ptr @__errno_location() #9
  store i32 %48, ptr %49, align 4, !tbaa !5
  %50 = load ptr, ptr @stderr, align 8, !tbaa !9
  %51 = load i32, ptr @test_count, align 4, !tbaa !5
  %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(i32 noundef %53, ptr noundef @.str.4)
  %55 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %56 = load i32, ptr %55, align 4, !tbaa !5
  %57 = call ptr @s2n_strerror_debug(i32 noundef %56, ptr noundef @.str.4)
  %58 = call ptr @__errno_location() #9
  %59 = load i32, ptr %58, align 4, !tbaa !5
  %60 = call ptr @strerror(i32 noundef %59) #8
  %61 = call ptr @__errno_location() #9
  %62 = load i32, ptr %61, align 4, !tbaa !5
  %63 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %50, ptr noundef @.str.2, i32 noundef %51, ptr noundef @.str.3, ptr noundef @.str.1, i32 noundef 334, ptr noundef %54, ptr noundef %57, ptr noundef %60, i32 noundef %62) #8
  br label %81

64:                                               ; preds = %42, %35
  %65 = load i32, ptr %6, align 4, !tbaa !5
  %66 = call ptr @__errno_location() #9
  store i32 %65, ptr %66, align 4, !tbaa !5
  %67 = load ptr, ptr @stderr, align 8, !tbaa !9
  %68 = load i32, ptr @test_count, align 4, !tbaa !5
  %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(i32 noundef %70, ptr noundef @.str.4)
  %72 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %73 = load i32, ptr %72, align 4, !tbaa !5
  %74 = call ptr @s2n_strerror_debug(i32 noundef %73, ptr noundef @.str.4)
  %75 = call ptr @__errno_location() #9
  %76 = load i32, ptr %75, align 4, !tbaa !5
  %77 = call ptr @strerror(i32 noundef %76) #8
  %78 = call ptr @__errno_location() #9
  %79 = load i32, ptr %78, align 4, !tbaa !5
  %80 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %67, ptr noundef @.str.5, i32 noundef %68, ptr noundef @.str.3, ptr noundef @.str.1, i32 noundef 334, ptr noundef %71, ptr noundef %74, ptr noundef %77, i32 noundef %79) #8
  br label %81

81:                                               ; preds = %64, %47
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #8
  br label %82

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

83:                                               ; No predecessors!
  br label %84

84:                                               ; preds = %83, %30
  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 %142

91:                                               ; preds = %86
  br label %92

92:                                               ; preds = %91
  br label %93

93:                                               ; preds = %92
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #8
  %94 = call ptr @__errno_location() #9
  %95 = load i32, ptr %94, align 4, !tbaa !5
  store i32 %95, ptr %7, 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 %7, 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.4)
  %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.4)
  %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.2, i32 noundef %109, ptr noundef @.str.6, ptr noundef @.str.1, i32 noundef 334, ptr noundef %112, ptr noundef %115, ptr noundef %118, i32 noundef %120) #8
  br label %139

122:                                              ; preds = %100, %93
  %123 = load i32, ptr %7, 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.4)
  %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.4)
  %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.5, i32 noundef %126, ptr noundef @.str.6, ptr noundef @.str.1, i32 noundef 334, 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 %7) #8
  br label %140

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

141:                                              ; No predecessors!
  br label %142

142:                                              ; preds = %141, %86
  br label %143

143:                                              ; preds = %142
  br label %144

144:                                              ; preds = %143
  br label %145

145:                                              ; preds = %144
  %146 = call i32 @s2n_init()
  %147 = icmp eq i32 %146, -1
  br i1 %147, label %148, label %199

148:                                              ; preds = %145
  br label %149

149:                                              ; preds = %148
  br label %150

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

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

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

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

196:                                              ; preds = %179, %162
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #8
  br label %197

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

198:                                              ; No predecessors!
  br label %199

199:                                              ; preds = %198, %145
  br label %200

200:                                              ; preds = %199
  br label %201

201:                                              ; preds = %200
  br label %202

202:                                              ; preds = %201
  %203 = load i32, ptr @test_count, align 4, !tbaa !5
  %204 = add nsw i32 %203, 1
  store i32 %204, ptr @test_count, align 4, !tbaa !5
  %205 = load ptr, ptr @stdout, align 8, !tbaa !9
  %206 = call i32 @fflush(ptr noundef %205)
  %207 = icmp eq i32 %206, 0
  br i1 %207, label %259, label %208

208:                                              ; preds = %202
  br label %209

209:                                              ; preds = %208
  br label %210

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

217:                                              ; preds = %210
  %218 = load ptr, ptr @stderr, align 8, !tbaa !9
  %219 = call i32 @fileno(ptr noundef %218) #8
  %220 = call i32 @isatty(i32 noundef %219) #8
  %221 = icmp ne i32 %220, 0
  br i1 %221, label %222, label %239

222:                                              ; preds = %217
  %223 = load i32, ptr %9, align 4, !tbaa !5
  %224 = call ptr @__errno_location() #9
  store i32 %223, ptr %224, align 4, !tbaa !5
  %225 = load ptr, ptr @stderr, align 8, !tbaa !9
  %226 = load i32, ptr @test_count, align 4, !tbaa !5
  %227 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %228 = load i32, ptr %227, align 4, !tbaa !5
  %229 = call ptr @s2n_strerror(i32 noundef %228, ptr noundef @.str.4)
  %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_debug(i32 noundef %231, ptr noundef @.str.4)
  %233 = call ptr @__errno_location() #9
  %234 = load i32, ptr %233, align 4, !tbaa !5
  %235 = call ptr @strerror(i32 noundef %234) #8
  %236 = call ptr @__errno_location() #9
  %237 = load i32, ptr %236, align 4, !tbaa !5
  %238 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %225, ptr noundef @.str.2, i32 noundef %226, ptr noundef @.str.8, ptr noundef @.str.1, i32 noundef 337, ptr noundef %229, ptr noundef %232, ptr noundef %235, i32 noundef %237) #8
  br label %256

239:                                              ; preds = %217, %210
  %240 = load i32, ptr %9, align 4, !tbaa !5
  %241 = call ptr @__errno_location() #9
  store i32 %240, ptr %241, align 4, !tbaa !5
  %242 = load ptr, ptr @stderr, align 8, !tbaa !9
  %243 = load i32, ptr @test_count, align 4, !tbaa !5
  %244 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %245 = load i32, ptr %244, align 4, !tbaa !5
  %246 = call ptr @s2n_strerror(i32 noundef %245, ptr noundef @.str.4)
  %247 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %248 = load i32, ptr %247, align 4, !tbaa !5
  %249 = call ptr @s2n_strerror_debug(i32 noundef %248, ptr noundef @.str.4)
  %250 = call ptr @__errno_location() #9
  %251 = load i32, ptr %250, align 4, !tbaa !5
  %252 = call ptr @strerror(i32 noundef %251) #8
  %253 = call ptr @__errno_location() #9
  %254 = load i32, ptr %253, align 4, !tbaa !5
  %255 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %242, ptr noundef @.str.5, i32 noundef %243, ptr noundef @.str.8, ptr noundef @.str.1, i32 noundef 337, ptr noundef %246, ptr noundef %249, ptr noundef %252, i32 noundef %254) #8
  br label %256

256:                                              ; preds = %239, %222
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #8
  br label %257

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

258:                                              ; No predecessors!
  br label %259

259:                                              ; preds = %258, %202
  br label %260

260:                                              ; preds = %259
  br label %261

261:                                              ; preds = %260
  %262 = load i32, ptr @test_count, align 4, !tbaa !5
  %263 = add nsw i32 %262, 1
  store i32 %263, ptr @test_count, align 4, !tbaa !5
  %264 = call i32 @s2n_run_failure_tests()
  %265 = getelementptr inbounds %struct.s2n_result, ptr %10, i32 0, i32 0
  store i32 %264, ptr %265, align 4
  %266 = getelementptr inbounds %struct.s2n_result, ptr %10, i32 0, i32 0
  %267 = load i32, ptr %266, align 4
  %268 = call zeroext i1 @s2n_result_is_ok(i32 %267)
  br i1 %268, label %320, label %269

269:                                              ; preds = %261
  br label %270

270:                                              ; preds = %269
  br label %271

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

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

283:                                              ; preds = %278
  %284 = load i32, ptr %11, align 4, !tbaa !5
  %285 = call ptr @__errno_location() #9
  store i32 %284, ptr %285, 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 @.str.4)
  %291 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %292 = load i32, ptr %291, align 4, !tbaa !5
  %293 = call ptr @s2n_strerror_debug(i32 noundef %292, ptr noundef @.str.4)
  %294 = call ptr @__errno_location() #9
  %295 = load i32, ptr %294, align 4, !tbaa !5
  %296 = call ptr @strerror(i32 noundef %295) #8
  %297 = call ptr @__errno_location() #9
  %298 = load i32, ptr %297, align 4, !tbaa !5
  %299 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %286, ptr noundef @.str.2, i32 noundef %287, ptr noundef @.str.9, ptr noundef @.str.1, i32 noundef 339, ptr noundef %290, ptr noundef %293, ptr noundef %296, i32 noundef %298) #8
  br label %317

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

317:                                              ; preds = %300, %283
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #8
  br label %318

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

319:                                              ; No predecessors!
  br label %320

320:                                              ; preds = %319, %261
  br label %321

321:                                              ; preds = %320
  br label %322

322:                                              ; preds = %321
  %323 = load i32, ptr @test_count, align 4, !tbaa !5
  %324 = add nsw i32 %323, 1
  store i32 %324, ptr @test_count, align 4, !tbaa !5
  %325 = call i32 @s2n_run_self_talk_test(ptr noundef @s2n_test_example_negotiate)
  %326 = getelementptr inbounds %struct.s2n_result, ptr %12, i32 0, i32 0
  store i32 %325, ptr %326, align 4
  %327 = getelementptr inbounds %struct.s2n_result, ptr %12, i32 0, i32 0
  %328 = load i32, ptr %327, align 4
  %329 = call zeroext i1 @s2n_result_is_ok(i32 %328)
  br i1 %329, label %381, label %330

330:                                              ; preds = %322
  br label %331

331:                                              ; preds = %330
  br label %332

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

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

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

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

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

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

380:                                              ; No predecessors!
  br label %381

381:                                              ; preds = %380, %322
  br label %382

382:                                              ; preds = %381
  br label %383

383:                                              ; preds = %382
  %384 = load i32, ptr @test_count, align 4, !tbaa !5
  %385 = add nsw i32 %384, 1
  store i32 %385, ptr @test_count, align 4, !tbaa !5
  %386 = call i32 @s2n_run_self_talk_test(ptr noundef @s2n_test_example_send_and_recv)
  %387 = getelementptr inbounds %struct.s2n_result, ptr %14, i32 0, i32 0
  store i32 %386, ptr %387, align 4
  %388 = getelementptr inbounds %struct.s2n_result, ptr %14, i32 0, i32 0
  %389 = load i32, ptr %388, align 4
  %390 = call zeroext i1 @s2n_result_is_ok(i32 %389)
  br i1 %390, label %442, label %391

391:                                              ; preds = %383
  br label %392

392:                                              ; preds = %391
  br label %393

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

400:                                              ; preds = %393
  %401 = load ptr, ptr @stderr, align 8, !tbaa !9
  %402 = call i32 @fileno(ptr noundef %401) #8
  %403 = call i32 @isatty(i32 noundef %402) #8
  %404 = icmp ne i32 %403, 0
  br i1 %404, label %405, label %422

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

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

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

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

441:                                              ; No predecessors!
  br label %442

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

443:                                              ; preds = %442
  br label %444

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

452:                                              ; preds = %444
  br label %453

453:                                              ; preds = %452
  br label %454

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

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

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

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

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

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

502:                                              ; No predecessors!
  br label %503

503:                                              ; preds = %502, %444
  br label %504

504:                                              ; preds = %503
  br label %505

505:                                              ; preds = %504
  %506 = load i32, ptr @test_count, align 4, !tbaa !5
  %507 = add nsw i32 %506, 1
  store i32 %507, ptr @test_count, align 4, !tbaa !5
  %508 = call i32 @s2n_run_self_talk_test(ptr noundef @s2n_test_example_recv_echo)
  %509 = getelementptr inbounds %struct.s2n_result, ptr %18, i32 0, i32 0
  store i32 %508, ptr %509, align 4
  %510 = getelementptr inbounds %struct.s2n_result, ptr %18, i32 0, i32 0
  %511 = load i32, ptr %510, align 4
  %512 = call zeroext i1 @s2n_result_is_ok(i32 %511)
  br i1 %512, label %564, label %513

513:                                              ; preds = %505
  br label %514

514:                                              ; preds = %513
  br label %515

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

522:                                              ; preds = %515
  %523 = load ptr, ptr @stderr, align 8, !tbaa !9
  %524 = call i32 @fileno(ptr noundef %523) #8
  %525 = call i32 @isatty(i32 noundef %524) #8
  %526 = icmp ne i32 %525, 0
  br i1 %526, label %527, label %544

527:                                              ; preds = %522
  %528 = load i32, ptr %19, align 4, !tbaa !5
  %529 = call ptr @__errno_location() #9
  store i32 %528, ptr %529, align 4, !tbaa !5
  %530 = load ptr, ptr @stderr, align 8, !tbaa !9
  %531 = load i32, ptr @test_count, align 4, !tbaa !5
  %532 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %533 = load i32, ptr %532, align 4, !tbaa !5
  %534 = call ptr @s2n_strerror(i32 noundef %533, ptr noundef @.str.4)
  %535 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %536 = load i32, ptr %535, align 4, !tbaa !5
  %537 = call ptr @s2n_strerror_debug(i32 noundef %536, ptr noundef @.str.4)
  %538 = call ptr @__errno_location() #9
  %539 = load i32, ptr %538, align 4, !tbaa !5
  %540 = call ptr @strerror(i32 noundef %539) #8
  %541 = call ptr @__errno_location() #9
  %542 = load i32, ptr %541, align 4, !tbaa !5
  %543 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %530, ptr noundef @.str.2, i32 noundef %531, ptr noundef @.str.13, ptr noundef @.str.1, i32 noundef 343, ptr noundef %534, ptr noundef %537, ptr noundef %540, i32 noundef %542) #8
  br label %561

544:                                              ; preds = %522, %515
  %545 = load i32, ptr %19, align 4, !tbaa !5
  %546 = call ptr @__errno_location() #9
  store i32 %545, ptr %546, align 4, !tbaa !5
  %547 = load ptr, ptr @stderr, align 8, !tbaa !9
  %548 = load i32, ptr @test_count, align 4, !tbaa !5
  %549 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %550 = load i32, ptr %549, align 4, !tbaa !5
  %551 = call ptr @s2n_strerror(i32 noundef %550, ptr noundef @.str.4)
  %552 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %553 = load i32, ptr %552, align 4, !tbaa !5
  %554 = call ptr @s2n_strerror_debug(i32 noundef %553, ptr noundef @.str.4)
  %555 = call ptr @__errno_location() #9
  %556 = load i32, ptr %555, align 4, !tbaa !5
  %557 = call ptr @strerror(i32 noundef %556) #8
  %558 = call ptr @__errno_location() #9
  %559 = load i32, ptr %558, align 4, !tbaa !5
  %560 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %547, ptr noundef @.str.5, i32 noundef %548, ptr noundef @.str.13, ptr noundef @.str.1, i32 noundef 343, ptr noundef %551, ptr noundef %554, ptr noundef %557, i32 noundef %559) #8
  br label %561

561:                                              ; preds = %544, %527
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #8
  br label %562

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

563:                                              ; No predecessors!
  br label %564

564:                                              ; preds = %563, %505
  br label %565

565:                                              ; preds = %564
  br label %566

566:                                              ; preds = %565
  br label %567

567:                                              ; preds = %566
  %568 = call i32 @s2n_cleanup()
  %569 = icmp eq i32 %568, -1
  br i1 %569, label %570, label %621

570:                                              ; preds = %567
  br label %571

571:                                              ; preds = %570
  br label %572

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

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

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

601:                                              ; preds = %579, %572
  %602 = load i32, ptr %20, 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.4)
  %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.4)
  %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.5, i32 noundef %605, ptr noundef @.str.14, ptr noundef @.str.1, i32 noundef 344, ptr noundef %608, ptr noundef %611, ptr noundef %614, i32 noundef %616) #8
  br label %618

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

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

620:                                              ; No predecessors!
  br label %621

621:                                              ; preds = %620, %567
  br label %622

622:                                              ; preds = %621
  br label %623

623:                                              ; preds = %622
  br label %624

624:                                              ; preds = %623
  %625 = call i32 @s2n_in_unit_test_set(i1 noundef zeroext false)
  %626 = icmp eq i32 %625, -1
  br i1 %626, label %627, label %678

627:                                              ; preds = %624
  br label %628

628:                                              ; preds = %627
  br label %629

629:                                              ; preds = %628
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #8
  %630 = call ptr @__errno_location() #9
  %631 = load i32, ptr %630, align 4, !tbaa !5
  store i32 %631, ptr %21, align 4, !tbaa !5
  %632 = load ptr, ptr @stderr, align 8, !tbaa !9
  %633 = call i32 @s2n_print_stacktrace(ptr noundef %632)
  %634 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %635 = trunc i8 %634 to i1
  br i1 %635, label %636, label %658

636:                                              ; preds = %629
  %637 = load ptr, ptr @stderr, align 8, !tbaa !9
  %638 = call i32 @fileno(ptr noundef %637) #8
  %639 = call i32 @isatty(i32 noundef %638) #8
  %640 = icmp ne i32 %639, 0
  br i1 %640, label %641, label %658

641:                                              ; preds = %636
  %642 = load i32, ptr %21, align 4, !tbaa !5
  %643 = call ptr @__errno_location() #9
  store i32 %642, ptr %643, align 4, !tbaa !5
  %644 = load ptr, ptr @stderr, align 8, !tbaa !9
  %645 = load i32, ptr @test_count, align 4, !tbaa !5
  %646 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %647 = load i32, ptr %646, align 4, !tbaa !5
  %648 = call ptr @s2n_strerror(i32 noundef %647, ptr noundef @.str.4)
  %649 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %650 = load i32, ptr %649, align 4, !tbaa !5
  %651 = call ptr @s2n_strerror_debug(i32 noundef %650, ptr noundef @.str.4)
  %652 = call ptr @__errno_location() #9
  %653 = load i32, ptr %652, align 4, !tbaa !5
  %654 = call ptr @strerror(i32 noundef %653) #8
  %655 = call ptr @__errno_location() #9
  %656 = load i32, ptr %655, align 4, !tbaa !5
  %657 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %644, ptr noundef @.str.2, i32 noundef %645, ptr noundef @.str.15, ptr noundef @.str.1, i32 noundef 344, ptr noundef %648, ptr noundef %651, ptr noundef %654, i32 noundef %656) #8
  br label %675

658:                                              ; preds = %636, %629
  %659 = load i32, ptr %21, align 4, !tbaa !5
  %660 = call ptr @__errno_location() #9
  store i32 %659, ptr %660, align 4, !tbaa !5
  %661 = load ptr, ptr @stderr, align 8, !tbaa !9
  %662 = load i32, ptr @test_count, align 4, !tbaa !5
  %663 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %664 = load i32, ptr %663, align 4, !tbaa !5
  %665 = call ptr @s2n_strerror(i32 noundef %664, ptr noundef @.str.4)
  %666 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %667 = load i32, ptr %666, align 4, !tbaa !5
  %668 = call ptr @s2n_strerror_debug(i32 noundef %667, ptr noundef @.str.4)
  %669 = call ptr @__errno_location() #9
  %670 = load i32, ptr %669, align 4, !tbaa !5
  %671 = call ptr @strerror(i32 noundef %670) #8
  %672 = call ptr @__errno_location() #9
  %673 = load i32, ptr %672, align 4, !tbaa !5
  %674 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %661, ptr noundef @.str.5, i32 noundef %662, ptr noundef @.str.15, ptr noundef @.str.1, i32 noundef 344, ptr noundef %665, ptr noundef %668, ptr noundef %671, i32 noundef %673) #8
  br label %675

675:                                              ; preds = %658, %641
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #8
  br label %676

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

677:                                              ; No predecessors!
  br label %678

678:                                              ; preds = %677, %624
  br label %679

679:                                              ; preds = %678
  %680 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %681 = trunc i8 %680 to i1
  br i1 %681, label %682, label %698

682:                                              ; preds = %679
  %683 = load ptr, ptr @stdout, align 8, !tbaa !9
  %684 = call i32 @fileno(ptr noundef %683) #8
  %685 = call i32 @isatty(i32 noundef %684) #8
  %686 = icmp ne i32 %685, 0
  br i1 %686, label %687, label %698

687:                                              ; preds = %682
  %688 = load i32, ptr @test_count, align 4, !tbaa !5
  %689 = icmp ne i32 %688, 0
  br i1 %689, label %690, label %694

690:                                              ; preds = %687
  %691 = load ptr, ptr @stdout, align 8, !tbaa !9
  %692 = load i32, ptr @test_count, align 4, !tbaa !5
  %693 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %691, ptr noundef @.str.16, i32 noundef %692) #8
  br label %697

694:                                              ; preds = %687
  %695 = load ptr, ptr @stdout, align 8, !tbaa !9
  %696 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %695, ptr noundef @.str.17) #8
  br label %697

697:                                              ; preds = %694, %690
  br label %709

698:                                              ; preds = %682, %679
  %699 = load i32, ptr @test_count, align 4, !tbaa !5
  %700 = icmp ne i32 %699, 0
  br i1 %700, label %701, label %705

701:                                              ; preds = %698
  %702 = load ptr, ptr @stdout, align 8, !tbaa !9
  %703 = load i32, ptr @test_count, align 4, !tbaa !5
  %704 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %702, ptr noundef @.str.18, i32 noundef %703) #8
  br label %708

705:                                              ; preds = %698
  %706 = load ptr, ptr @stdout, align 8, !tbaa !9
  %707 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %706, ptr noundef @.str.19) #8
  br label %708

708:                                              ; preds = %705, %701
  br label %709

709:                                              ; preds = %708, %697
  store i32 0, ptr %3, align 4
  br label %857

710:                                              ; No predecessors!
  br label %711

711:                                              ; preds = %710
  br label %712

712:                                              ; preds = %711
  br label %713

713:                                              ; preds = %712
  %714 = call i32 @s2n_cleanup()
  %715 = icmp eq i32 %714, -1
  br i1 %715, label %716, label %767

716:                                              ; preds = %713
  br label %717

717:                                              ; preds = %716
  br label %718

718:                                              ; preds = %717
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #8
  %719 = call ptr @__errno_location() #9
  %720 = load i32, ptr %719, align 4, !tbaa !5
  store i32 %720, ptr %22, align 4, !tbaa !5
  %721 = load ptr, ptr @stderr, align 8, !tbaa !9
  %722 = call i32 @s2n_print_stacktrace(ptr noundef %721)
  %723 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %724 = trunc i8 %723 to i1
  br i1 %724, label %725, label %747

725:                                              ; preds = %718
  %726 = load ptr, ptr @stderr, align 8, !tbaa !9
  %727 = call i32 @fileno(ptr noundef %726) #8
  %728 = call i32 @isatty(i32 noundef %727) #8
  %729 = icmp ne i32 %728, 0
  br i1 %729, label %730, label %747

730:                                              ; preds = %725
  %731 = load i32, ptr %22, align 4, !tbaa !5
  %732 = call ptr @__errno_location() #9
  store i32 %731, ptr %732, align 4, !tbaa !5
  %733 = load ptr, ptr @stderr, align 8, !tbaa !9
  %734 = load i32, ptr @test_count, align 4, !tbaa !5
  %735 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %736 = load i32, ptr %735, align 4, !tbaa !5
  %737 = call ptr @s2n_strerror(i32 noundef %736, ptr noundef @.str.4)
  %738 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %739 = load i32, ptr %738, align 4, !tbaa !5
  %740 = call ptr @s2n_strerror_debug(i32 noundef %739, ptr noundef @.str.4)
  %741 = call ptr @__errno_location() #9
  %742 = load i32, ptr %741, align 4, !tbaa !5
  %743 = call ptr @strerror(i32 noundef %742) #8
  %744 = call ptr @__errno_location() #9
  %745 = load i32, ptr %744, align 4, !tbaa !5
  %746 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %733, ptr noundef @.str.2, i32 noundef %734, ptr noundef @.str.14, ptr noundef @.str.1, i32 noundef 346, ptr noundef %737, ptr noundef %740, ptr noundef %743, i32 noundef %745) #8
  br label %764

747:                                              ; preds = %725, %718
  %748 = load i32, ptr %22, align 4, !tbaa !5
  %749 = call ptr @__errno_location() #9
  store i32 %748, ptr %749, align 4, !tbaa !5
  %750 = load ptr, ptr @stderr, align 8, !tbaa !9
  %751 = load i32, ptr @test_count, align 4, !tbaa !5
  %752 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %753 = load i32, ptr %752, align 4, !tbaa !5
  %754 = call ptr @s2n_strerror(i32 noundef %753, ptr noundef @.str.4)
  %755 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %756 = load i32, ptr %755, align 4, !tbaa !5
  %757 = call ptr @s2n_strerror_debug(i32 noundef %756, ptr noundef @.str.4)
  %758 = call ptr @__errno_location() #9
  %759 = load i32, ptr %758, align 4, !tbaa !5
  %760 = call ptr @strerror(i32 noundef %759) #8
  %761 = call ptr @__errno_location() #9
  %762 = load i32, ptr %761, align 4, !tbaa !5
  %763 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %750, ptr noundef @.str.5, i32 noundef %751, ptr noundef @.str.14, ptr noundef @.str.1, i32 noundef 346, ptr noundef %754, ptr noundef %757, ptr noundef %760, i32 noundef %762) #8
  br label %764

764:                                              ; preds = %747, %730
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #8
  br label %765

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

766:                                              ; No predecessors!
  br label %767

767:                                              ; preds = %766, %713
  br label %768

768:                                              ; preds = %767
  br label %769

769:                                              ; preds = %768
  br label %770

770:                                              ; preds = %769
  %771 = call i32 @s2n_in_unit_test_set(i1 noundef zeroext false)
  %772 = icmp eq i32 %771, -1
  br i1 %772, label %773, label %824

773:                                              ; preds = %770
  br label %774

774:                                              ; preds = %773
  br label %775

775:                                              ; preds = %774
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #8
  %776 = call ptr @__errno_location() #9
  %777 = load i32, ptr %776, align 4, !tbaa !5
  store i32 %777, ptr %23, align 4, !tbaa !5
  %778 = load ptr, ptr @stderr, align 8, !tbaa !9
  %779 = call i32 @s2n_print_stacktrace(ptr noundef %778)
  %780 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %781 = trunc i8 %780 to i1
  br i1 %781, label %782, label %804

782:                                              ; preds = %775
  %783 = load ptr, ptr @stderr, align 8, !tbaa !9
  %784 = call i32 @fileno(ptr noundef %783) #8
  %785 = call i32 @isatty(i32 noundef %784) #8
  %786 = icmp ne i32 %785, 0
  br i1 %786, label %787, label %804

787:                                              ; preds = %782
  %788 = load i32, ptr %23, align 4, !tbaa !5
  %789 = call ptr @__errno_location() #9
  store i32 %788, ptr %789, align 4, !tbaa !5
  %790 = load ptr, ptr @stderr, align 8, !tbaa !9
  %791 = load i32, ptr @test_count, align 4, !tbaa !5
  %792 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %793 = load i32, ptr %792, align 4, !tbaa !5
  %794 = call ptr @s2n_strerror(i32 noundef %793, ptr noundef @.str.4)
  %795 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %796 = load i32, ptr %795, align 4, !tbaa !5
  %797 = call ptr @s2n_strerror_debug(i32 noundef %796, ptr noundef @.str.4)
  %798 = call ptr @__errno_location() #9
  %799 = load i32, ptr %798, align 4, !tbaa !5
  %800 = call ptr @strerror(i32 noundef %799) #8
  %801 = call ptr @__errno_location() #9
  %802 = load i32, ptr %801, align 4, !tbaa !5
  %803 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %790, ptr noundef @.str.2, i32 noundef %791, ptr noundef @.str.15, ptr noundef @.str.1, i32 noundef 346, ptr noundef %794, ptr noundef %797, ptr noundef %800, i32 noundef %802) #8
  br label %821

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

821:                                              ; preds = %804, %787
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #8
  br label %822

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

823:                                              ; No predecessors!
  br label %824

824:                                              ; preds = %823, %770
  br label %825

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

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

833:                                              ; preds = %828
  %834 = load i32, ptr @test_count, align 4, !tbaa !5
  %835 = icmp ne i32 %834, 0
  br i1 %835, label %836, label %840

836:                                              ; preds = %833
  %837 = load ptr, ptr @stdout, align 8, !tbaa !9
  %838 = load i32, ptr @test_count, align 4, !tbaa !5
  %839 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %837, ptr noundef @.str.16, i32 noundef %838) #8
  br label %843

840:                                              ; preds = %833
  %841 = load ptr, ptr @stdout, align 8, !tbaa !9
  %842 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %841, ptr noundef @.str.17) #8
  br label %843

843:                                              ; preds = %840, %836
  br label %855

844:                                              ; preds = %828, %825
  %845 = load i32, ptr @test_count, align 4, !tbaa !5
  %846 = icmp ne i32 %845, 0
  br i1 %846, label %847, label %851

847:                                              ; preds = %844
  %848 = load ptr, ptr @stdout, align 8, !tbaa !9
  %849 = load i32, ptr @test_count, align 4, !tbaa !5
  %850 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %848, ptr noundef @.str.18, i32 noundef %849) #8
  br label %854

851:                                              ; preds = %844
  %852 = load ptr, ptr @stdout, align 8, !tbaa !9
  %853 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %852, ptr noundef @.str.19) #8
  br label %854

854:                                              ; preds = %851, %847
  br label %855

855:                                              ; preds = %854, %843
  store i32 0, ptr %3, align 4
  br label %857

856:                                              ; No predecessors!
  br label %857

857:                                              ; preds = %856, %855, %709
  %858 = load i32, ptr %3, align 4
  ret i32 %858
}

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

declare i32 @fflush(ptr noundef) #2

declare i32 @s2n_in_unit_test_set(i1 noundef zeroext) #2

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

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

declare i32 @s2n_print_stacktrace(ptr noundef) #2

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

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

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

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

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

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

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

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

declare i32 @s2n_enable_atexit() #2

declare i32 @s2n_init() #2

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

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

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

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

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

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

declare i32 @s2n_cleanup() #2

; Function Attrs: nounwind uwtable
declare hidden i32 @s2n_run_failure_tests() #0

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


; 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"

@s2n_use_color_in_output = external dso_local local_unnamed_addr global i8, align 1
@test_count = external dso_local local_unnamed_addr global i32, align 4
@stdout = external local_unnamed_addr global ptr, align 8
@.str = external hidden unnamed_addr constant [19 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [76 x i8], align 1
@stderr = external local_unnamed_addr global ptr, align 8
@.str.2 = external hidden unnamed_addr constant [101 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [52 x i8], align 1
@s2n_errno = external thread_local local_unnamed_addr global i32, align 4
@.str.4 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [90 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [55 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [82 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [86 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [78 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [82 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [25 x i8], align 1

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

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

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

20:                                               ; preds = %16, %9
  br label %21

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

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

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

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

49:                                               ; preds = %45, %38
  br label %50

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

62:                                               ; preds = %33
  %63 = tail call i32 @s2n_init() #8
  %64 = icmp eq i32 %63, -1
  br i1 %64, label %65, label %89

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

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

76:                                               ; preds = %72, %65
  br label %77

77:                                               ; preds = %72, %76
  %.str.5.sink62 = phi ptr [ @.str.5, %76 ], [ @.str.2, %72 ]
  store i32 %67, ptr %66, align 4, !tbaa !5
  %78 = load ptr, ptr @stderr, align 8, !tbaa !9
  %79 = load i32, ptr @test_count, align 4, !tbaa !5
  %80 = tail call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %81 = load i32, ptr %80, align 4, !tbaa !5
  %82 = tail call ptr @s2n_strerror(i32 noundef %81, ptr noundef nonnull @.str.4) #8
  %83 = load i32, ptr %80, align 4, !tbaa !5
  %84 = tail call ptr @s2n_strerror_debug(i32 noundef %83, ptr noundef nonnull @.str.4) #8
  %85 = load i32, ptr %66, align 4, !tbaa !5
  %86 = tail call ptr @strerror(i32 noundef %85) #8
  %87 = load i32, ptr %66, align 4, !tbaa !5
  %88 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %78, ptr noundef nonnull %.str.5.sink62, i32 noundef %79, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.1, i32 noundef 334, ptr noundef %82, ptr noundef %84, ptr noundef %86, i32 noundef %87) #10
  tail call void @exit(i32 noundef 1) #11
  unreachable

89:                                               ; preds = %62
  %90 = load i32, ptr @test_count, align 4, !tbaa !5
  %91 = add nsw i32 %90, 1
  store i32 %91, ptr @test_count, align 4, !tbaa !5
  %92 = load ptr, ptr @stdout, align 8, !tbaa !9
  %93 = tail call i32 @fflush(ptr noundef %92)
  %94 = icmp eq i32 %93, 0
  br i1 %94, label %119, label %95

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

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

106:                                              ; preds = %102, %95
  br label %107

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

119:                                              ; preds = %89
  %120 = load i32, ptr @test_count, align 4, !tbaa !5
  %121 = add nsw i32 %120, 1
  store i32 %121, ptr @test_count, align 4, !tbaa !5
  %122 = tail call i32 @s2n_run_failure_tests()
  %123 = tail call zeroext i1 @s2n_result_is_ok(i32 %122)
  br i1 %123, label %148, label %124

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

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

135:                                              ; preds = %131, %124
  br label %136

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

148:                                              ; preds = %119
  %149 = load i32, ptr @test_count, align 4, !tbaa !5
  %150 = add nsw i32 %149, 1
  store i32 %150, ptr @test_count, align 4, !tbaa !5
  %151 = tail call i32 @s2n_run_self_talk_test(ptr noundef nonnull @s2n_test_example_negotiate)
  %152 = tail call zeroext i1 @s2n_result_is_ok(i32 %151)
  br i1 %152, label %177, label %153

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

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

164:                                              ; preds = %160, %153
  br label %165

165:                                              ; preds = %160, %164
  %.str.5.sink95 = phi ptr [ @.str.5, %164 ], [ @.str.2, %160 ]
  store i32 %155, ptr %154, align 4, !tbaa !5
  %166 = load ptr, ptr @stderr, align 8, !tbaa !9
  %167 = load i32, ptr @test_count, align 4, !tbaa !5
  %168 = tail call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %169 = load i32, ptr %168, align 4, !tbaa !5
  %170 = tail call ptr @s2n_strerror(i32 noundef %169, ptr noundef nonnull @.str.4) #8
  %171 = load i32, ptr %168, align 4, !tbaa !5
  %172 = tail call ptr @s2n_strerror_debug(i32 noundef %171, ptr noundef nonnull @.str.4) #8
  %173 = load i32, ptr %154, align 4, !tbaa !5
  %174 = tail call ptr @strerror(i32 noundef %173) #8
  %175 = load i32, ptr %154, align 4, !tbaa !5
  %176 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %166, ptr noundef nonnull %.str.5.sink95, i32 noundef %167, ptr noundef nonnull @.str.10, ptr noundef nonnull @.str.1, i32 noundef 340, ptr noundef %170, ptr noundef %172, ptr noundef %174, i32 noundef %175) #10
  tail call void @exit(i32 noundef 1) #11
  unreachable

177:                                              ; preds = %148
  %178 = load i32, ptr @test_count, align 4, !tbaa !5
  %179 = add nsw i32 %178, 1
  store i32 %179, ptr @test_count, align 4, !tbaa !5
  %180 = tail call i32 @s2n_run_self_talk_test(ptr noundef nonnull @s2n_test_example_send_and_recv)
  %181 = tail call zeroext i1 @s2n_result_is_ok(i32 %180)
  br i1 %181, label %206, label %182

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

189:                                              ; preds = %182
  %190 = load ptr, ptr @stderr, align 8, !tbaa !9
  %191 = tail call i32 @fileno(ptr noundef %190) #8
  %192 = tail call i32 @isatty(i32 noundef %191) #8
  %.not30 = icmp eq i32 %192, 0
  br i1 %.not30, label %193, label %194

193:                                              ; preds = %189, %182
  br label %194

194:                                              ; preds = %189, %193
  %.str.5.sink106 = phi ptr [ @.str.5, %193 ], [ @.str.2, %189 ]
  store i32 %184, ptr %183, align 4, !tbaa !5
  %195 = load ptr, ptr @stderr, align 8, !tbaa !9
  %196 = load i32, ptr @test_count, align 4, !tbaa !5
  %197 = tail call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %198 = load i32, ptr %197, align 4, !tbaa !5
  %199 = tail call ptr @s2n_strerror(i32 noundef %198, ptr noundef nonnull @.str.4) #8
  %200 = load i32, ptr %197, align 4, !tbaa !5
  %201 = tail call ptr @s2n_strerror_debug(i32 noundef %200, ptr noundef nonnull @.str.4) #8
  %202 = load i32, ptr %183, align 4, !tbaa !5
  %203 = tail call ptr @strerror(i32 noundef %202) #8
  %204 = load i32, ptr %183, align 4, !tbaa !5
  %205 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %195, ptr noundef nonnull %.str.5.sink106, i32 noundef %196, ptr noundef nonnull @.str.11, ptr noundef nonnull @.str.1, i32 noundef 341, ptr noundef %199, ptr noundef %201, ptr noundef %203, i32 noundef %204) #10
  tail call void @exit(i32 noundef 1) #11
  unreachable

206:                                              ; preds = %177
  %207 = load i32, ptr @test_count, align 4, !tbaa !5
  %208 = add nsw i32 %207, 1
  store i32 %208, ptr @test_count, align 4, !tbaa !5
  %209 = tail call i32 @s2n_run_self_talk_test(ptr noundef nonnull @s2n_test_example_sendv)
  %210 = tail call zeroext i1 @s2n_result_is_ok(i32 %209)
  br i1 %210, label %235, label %211

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

218:                                              ; preds = %211
  %219 = load ptr, ptr @stderr, align 8, !tbaa !9
  %220 = tail call i32 @fileno(ptr noundef %219) #8
  %221 = tail call i32 @isatty(i32 noundef %220) #8
  %.not31 = icmp eq i32 %221, 0
  br i1 %.not31, label %222, label %223

222:                                              ; preds = %218, %211
  br label %223

223:                                              ; preds = %218, %222
  %.str.5.sink117 = phi ptr [ @.str.5, %222 ], [ @.str.2, %218 ]
  store i32 %213, ptr %212, align 4, !tbaa !5
  %224 = load ptr, ptr @stderr, align 8, !tbaa !9
  %225 = load i32, ptr @test_count, align 4, !tbaa !5
  %226 = tail call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %227 = load i32, ptr %226, align 4, !tbaa !5
  %228 = tail call ptr @s2n_strerror(i32 noundef %227, ptr noundef nonnull @.str.4) #8
  %229 = load i32, ptr %226, align 4, !tbaa !5
  %230 = tail call ptr @s2n_strerror_debug(i32 noundef %229, ptr noundef nonnull @.str.4) #8
  %231 = load i32, ptr %212, align 4, !tbaa !5
  %232 = tail call ptr @strerror(i32 noundef %231) #8
  %233 = load i32, ptr %212, align 4, !tbaa !5
  %234 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %224, ptr noundef nonnull %.str.5.sink117, i32 noundef %225, ptr noundef nonnull @.str.12, ptr noundef nonnull @.str.1, i32 noundef 342, ptr noundef %228, ptr noundef %230, ptr noundef %232, i32 noundef %233) #10
  tail call void @exit(i32 noundef 1) #11
  unreachable

235:                                              ; preds = %206
  %236 = load i32, ptr @test_count, align 4, !tbaa !5
  %237 = add nsw i32 %236, 1
  store i32 %237, ptr @test_count, align 4, !tbaa !5
  %238 = tail call i32 @s2n_run_self_talk_test(ptr noundef nonnull @s2n_test_example_recv_echo)
  %239 = tail call zeroext i1 @s2n_result_is_ok(i32 %238)
  br i1 %239, label %264, label %240

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

247:                                              ; preds = %240
  %248 = load ptr, ptr @stderr, align 8, !tbaa !9
  %249 = tail call i32 @fileno(ptr noundef %248) #8
  %250 = tail call i32 @isatty(i32 noundef %249) #8
  %.not32 = icmp eq i32 %250, 0
  br i1 %.not32, label %251, label %252

251:                                              ; preds = %247, %240
  br label %252

252:                                              ; preds = %247, %251
  %.str.5.sink128 = phi ptr [ @.str.5, %251 ], [ @.str.2, %247 ]
  store i32 %242, ptr %241, align 4, !tbaa !5
  %253 = load ptr, ptr @stderr, align 8, !tbaa !9
  %254 = load i32, ptr @test_count, align 4, !tbaa !5
  %255 = tail call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %256 = load i32, ptr %255, align 4, !tbaa !5
  %257 = tail call ptr @s2n_strerror(i32 noundef %256, ptr noundef nonnull @.str.4) #8
  %258 = load i32, ptr %255, align 4, !tbaa !5
  %259 = tail call ptr @s2n_strerror_debug(i32 noundef %258, ptr noundef nonnull @.str.4) #8
  %260 = load i32, ptr %241, align 4, !tbaa !5
  %261 = tail call ptr @strerror(i32 noundef %260) #8
  %262 = load i32, ptr %241, align 4, !tbaa !5
  %263 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %253, ptr noundef nonnull %.str.5.sink128, i32 noundef %254, ptr noundef nonnull @.str.13, ptr noundef nonnull @.str.1, i32 noundef 343, ptr noundef %257, ptr noundef %259, ptr noundef %261, i32 noundef %262) #10
  tail call void @exit(i32 noundef 1) #11
  unreachable

264:                                              ; preds = %235
  %265 = tail call i32 @s2n_cleanup() #8
  %266 = icmp eq i32 %265, -1
  br i1 %266, label %267, label %291

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

274:                                              ; preds = %267
  %275 = load ptr, ptr @stderr, align 8, !tbaa !9
  %276 = tail call i32 @fileno(ptr noundef %275) #8
  %277 = tail call i32 @isatty(i32 noundef %276) #8
  %.not37 = icmp eq i32 %277, 0
  br i1 %.not37, label %278, label %279

278:                                              ; preds = %274, %267
  br label %279

279:                                              ; preds = %274, %278
  %.str.5.sink139 = phi ptr [ @.str.5, %278 ], [ @.str.2, %274 ]
  store i32 %269, ptr %268, align 4, !tbaa !5
  %280 = load ptr, ptr @stderr, align 8, !tbaa !9
  %281 = load i32, ptr @test_count, align 4, !tbaa !5
  %282 = tail call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %283 = load i32, ptr %282, align 4, !tbaa !5
  %284 = tail call ptr @s2n_strerror(i32 noundef %283, ptr noundef nonnull @.str.4) #8
  %285 = load i32, ptr %282, align 4, !tbaa !5
  %286 = tail call ptr @s2n_strerror_debug(i32 noundef %285, ptr noundef nonnull @.str.4) #8
  %287 = load i32, ptr %268, align 4, !tbaa !5
  %288 = tail call ptr @strerror(i32 noundef %287) #8
  %289 = load i32, ptr %268, align 4, !tbaa !5
  %290 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %280, ptr noundef nonnull %.str.5.sink139, i32 noundef %281, ptr noundef nonnull @.str.14, ptr noundef nonnull @.str.1, i32 noundef 344, ptr noundef %284, ptr noundef %286, ptr noundef %288, i32 noundef %289) #10
  tail call void @exit(i32 noundef 1) #11
  unreachable

291:                                              ; preds = %264
  %292 = tail call i32 @s2n_in_unit_test_set(i1 noundef zeroext false) #8
  %293 = icmp eq i32 %292, -1
  br i1 %293, label %294, label %318

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

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

305:                                              ; preds = %301, %294
  br label %306

306:                                              ; preds = %301, %305
  %.str.5.sink150 = phi ptr [ @.str.5, %305 ], [ @.str.2, %301 ]
  store i32 %296, ptr %295, align 4, !tbaa !5
  %307 = load ptr, ptr @stderr, align 8, !tbaa !9
  %308 = load i32, ptr @test_count, align 4, !tbaa !5
  %309 = tail call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %310 = load i32, ptr %309, align 4, !tbaa !5
  %311 = tail call ptr @s2n_strerror(i32 noundef %310, ptr noundef nonnull @.str.4) #8
  %312 = load i32, ptr %309, align 4, !tbaa !5
  %313 = tail call ptr @s2n_strerror_debug(i32 noundef %312, ptr noundef nonnull @.str.4) #8
  %314 = load i32, ptr %295, align 4, !tbaa !5
  %315 = tail call ptr @strerror(i32 noundef %314) #8
  %316 = load i32, ptr %295, align 4, !tbaa !5
  %317 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %307, ptr noundef nonnull %.str.5.sink150, i32 noundef %308, ptr noundef nonnull @.str.15, ptr noundef nonnull @.str.1, i32 noundef 344, ptr noundef %311, ptr noundef %313, ptr noundef %315, i32 noundef %316) #10
  tail call void @exit(i32 noundef 1) #11
  unreachable

318:                                              ; preds = %291
  %319 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %320 = trunc nuw i8 %319 to i1
  br i1 %320, label %321, label %332

321:                                              ; preds = %318
  %322 = load ptr, ptr @stdout, align 8, !tbaa !9
  %323 = tail call i32 @fileno(ptr noundef %322) #8
  %324 = tail call i32 @isatty(i32 noundef %323) #8
  %.not33 = icmp eq i32 %324, 0
  br i1 %.not33, label %332, label %325

325:                                              ; preds = %321
  %326 = load i32, ptr @test_count, align 4, !tbaa !5
  %.not35 = icmp eq i32 %326, 0
  %327 = load ptr, ptr @stdout, align 8, !tbaa !9
  br i1 %.not35, label %330, label %328

328:                                              ; preds = %325
  %329 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %327, ptr noundef nonnull @.str.16, i32 noundef %326) #8
  br label %339

330:                                              ; preds = %325
  %331 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %327, ptr noundef nonnull @.str.17) #8
  br label %339

332:                                              ; preds = %321, %318
  %333 = load i32, ptr @test_count, align 4, !tbaa !5
  %.not34 = icmp eq i32 %333, 0
  %334 = load ptr, ptr @stdout, align 8, !tbaa !9
  br i1 %.not34, label %337, label %335

335:                                              ; preds = %332
  %336 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %334, ptr noundef nonnull @.str.18, i32 noundef %333) #8
  br label %339

337:                                              ; preds = %332
  %338 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %334, ptr noundef nonnull @.str.19) #8
  br label %339

339:                                              ; preds = %335, %337, %328, %330
  ret i32 0
}

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

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

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

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

declare i32 @s2n_print_stacktrace(ptr noundef) local_unnamed_addr #2

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

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

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

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

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

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

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

declare i32 @s2n_enable_atexit() local_unnamed_addr #2

declare i32 @s2n_init() local_unnamed_addr #2

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

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

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

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

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

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

declare i32 @s2n_cleanup() local_unnamed_addr #2

; Function Attrs: nounwind uwtable
declare hidden i32 @s2n_run_failure_tests() local_unnamed_addr #0

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


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