; LLVM IR from aws/s2n-tls :: tests/unit (s2n_utils_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"

@s2n_use_color_in_output = external dso_local global i8, align 1
@s2n_errno = external thread_local global i32, align 4
@test_count = external dso_local global i32, align 4
@stdout = external global ptr, align 8
@.str.10 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [73 x i8], align 1
@stderr = external global ptr, align 8
@.str.12 = external hidden unnamed_addr constant [101 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [90 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [56 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [53 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [70 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [25 x i8], align 1

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

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

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

; Function Attrs: nounwind uwtable
declare dso_local i32 @requested_bigger_than_max() #2

; Function Attrs: nounwind uwtable
declare dso_local i32 @successful_stack_blob() #2

; Function Attrs: nounwind uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #2 {
  %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 i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  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 %16

16:                                               ; preds = %2
  br label %17

17:                                               ; preds = %16
  store i32 0, ptr @test_count, align 4, !tbaa !5
  %18 = load ptr, ptr @stdout, align 8, !tbaa !9
  %19 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %18, ptr noundef @.str.10, ptr noundef @.str.11) #7
  %20 = load ptr, ptr @stdout, align 8, !tbaa !9
  %21 = call i32 @fflush(ptr noundef %20)
  br label %22

22:                                               ; preds = %17
  %23 = call i32 @s2n_in_unit_test_set(i1 noundef zeroext true)
  %24 = icmp eq i32 %23, -1
  br i1 %24, label %25, label %76

25:                                               ; preds = %22
  br label %26

26:                                               ; preds = %25
  br label %27

27:                                               ; preds = %26
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #7
  %28 = call ptr @__errno_location() #8
  %29 = load i32, ptr %28, align 4, !tbaa !5
  store i32 %29, ptr %6, align 4, !tbaa !5
  %30 = load ptr, ptr @stderr, align 8, !tbaa !9
  %31 = call i32 @s2n_print_stacktrace(ptr noundef %30)
  %32 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %33 = trunc i8 %32 to i1
  br i1 %33, label %34, label %56

34:                                               ; preds = %27
  %35 = load ptr, ptr @stderr, align 8, !tbaa !9
  %36 = call i32 @fileno(ptr noundef %35) #7
  %37 = call i32 @isatty(i32 noundef %36) #7
  %38 = icmp ne i32 %37, 0
  br i1 %38, label %39, label %56

39:                                               ; preds = %34
  %40 = load i32, ptr %6, align 4, !tbaa !5
  %41 = call ptr @__errno_location() #8
  store i32 %40, ptr %41, align 4, !tbaa !5
  %42 = load ptr, ptr @stderr, align 8, !tbaa !9
  %43 = load i32, ptr @test_count, align 4, !tbaa !5
  %44 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %45 = load i32, ptr %44, align 4, !tbaa !5
  %46 = call ptr @s2n_strerror(i32 noundef %45, ptr noundef @.str.14)
  %47 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %48 = load i32, ptr %47, align 4, !tbaa !5
  %49 = call ptr @s2n_strerror_debug(i32 noundef %48, ptr noundef @.str.14)
  %50 = call ptr @__errno_location() #8
  %51 = load i32, ptr %50, align 4, !tbaa !5
  %52 = call ptr @strerror(i32 noundef %51) #7
  %53 = call ptr @__errno_location() #8
  %54 = load i32, ptr %53, align 4, !tbaa !5
  %55 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %42, ptr noundef @.str.12, i32 noundef %43, ptr noundef @.str.13, ptr noundef @.str.11, i32 noundef 57, ptr noundef %46, ptr noundef %49, ptr noundef %52, i32 noundef %54) #7
  br label %73

56:                                               ; preds = %34, %27
  %57 = load i32, ptr %6, align 4, !tbaa !5
  %58 = call ptr @__errno_location() #8
  store i32 %57, ptr %58, align 4, !tbaa !5
  %59 = load ptr, ptr @stderr, align 8, !tbaa !9
  %60 = load i32, ptr @test_count, align 4, !tbaa !5
  %61 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %62 = load i32, ptr %61, align 4, !tbaa !5
  %63 = call ptr @s2n_strerror(i32 noundef %62, ptr noundef @.str.14)
  %64 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %65 = load i32, ptr %64, align 4, !tbaa !5
  %66 = call ptr @s2n_strerror_debug(i32 noundef %65, ptr noundef @.str.14)
  %67 = call ptr @__errno_location() #8
  %68 = load i32, ptr %67, align 4, !tbaa !5
  %69 = call ptr @strerror(i32 noundef %68) #7
  %70 = call ptr @__errno_location() #8
  %71 = load i32, ptr %70, align 4, !tbaa !5
  %72 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %59, ptr noundef @.str.15, i32 noundef %60, ptr noundef @.str.13, ptr noundef @.str.11, i32 noundef 57, ptr noundef %63, ptr noundef %66, ptr noundef %69, i32 noundef %71) #7
  br label %73

73:                                               ; preds = %56, %39
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #7
  br label %74

74:                                               ; preds = %73
  call void @exit(i32 noundef 1) #9
  unreachable

75:                                               ; No predecessors!
  br label %76

76:                                               ; preds = %75, %22
  br label %77

77:                                               ; preds = %76
  br label %78

78:                                               ; preds = %77
  %79 = load i32, ptr @test_count, align 4, !tbaa !5
  %80 = add nsw i32 %79, 1
  store i32 %80, ptr @test_count, align 4, !tbaa !5
  %81 = call i32 @s2n_enable_atexit()
  %82 = icmp eq i32 %81, -1
  br i1 %82, label %83, label %134

83:                                               ; preds = %78
  br label %84

84:                                               ; preds = %83
  br label %85

85:                                               ; preds = %84
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #7
  %86 = call ptr @__errno_location() #8
  %87 = load i32, ptr %86, align 4, !tbaa !5
  store i32 %87, ptr %7, align 4, !tbaa !5
  %88 = load ptr, ptr @stderr, align 8, !tbaa !9
  %89 = call i32 @s2n_print_stacktrace(ptr noundef %88)
  %90 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %91 = trunc i8 %90 to i1
  br i1 %91, label %92, label %114

92:                                               ; preds = %85
  %93 = load ptr, ptr @stderr, align 8, !tbaa !9
  %94 = call i32 @fileno(ptr noundef %93) #7
  %95 = call i32 @isatty(i32 noundef %94) #7
  %96 = icmp ne i32 %95, 0
  br i1 %96, label %97, label %114

97:                                               ; preds = %92
  %98 = load i32, ptr %7, align 4, !tbaa !5
  %99 = call ptr @__errno_location() #8
  store i32 %98, ptr %99, align 4, !tbaa !5
  %100 = load ptr, ptr @stderr, align 8, !tbaa !9
  %101 = load i32, ptr @test_count, align 4, !tbaa !5
  %102 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %103 = load i32, ptr %102, align 4, !tbaa !5
  %104 = call ptr @s2n_strerror(i32 noundef %103, ptr noundef @.str.14)
  %105 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %106 = load i32, ptr %105, align 4, !tbaa !5
  %107 = call ptr @s2n_strerror_debug(i32 noundef %106, ptr noundef @.str.14)
  %108 = call ptr @__errno_location() #8
  %109 = load i32, ptr %108, align 4, !tbaa !5
  %110 = call ptr @strerror(i32 noundef %109) #7
  %111 = call ptr @__errno_location() #8
  %112 = load i32, ptr %111, align 4, !tbaa !5
  %113 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %100, ptr noundef @.str.12, i32 noundef %101, ptr noundef @.str.16, ptr noundef @.str.11, i32 noundef 57, ptr noundef %104, ptr noundef %107, ptr noundef %110, i32 noundef %112) #7
  br label %131

114:                                              ; preds = %92, %85
  %115 = load i32, ptr %7, align 4, !tbaa !5
  %116 = call ptr @__errno_location() #8
  store i32 %115, ptr %116, align 4, !tbaa !5
  %117 = load ptr, ptr @stderr, align 8, !tbaa !9
  %118 = load i32, ptr @test_count, align 4, !tbaa !5
  %119 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %120 = load i32, ptr %119, align 4, !tbaa !5
  %121 = call ptr @s2n_strerror(i32 noundef %120, ptr noundef @.str.14)
  %122 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %123 = load i32, ptr %122, align 4, !tbaa !5
  %124 = call ptr @s2n_strerror_debug(i32 noundef %123, ptr noundef @.str.14)
  %125 = call ptr @__errno_location() #8
  %126 = load i32, ptr %125, align 4, !tbaa !5
  %127 = call ptr @strerror(i32 noundef %126) #7
  %128 = call ptr @__errno_location() #8
  %129 = load i32, ptr %128, align 4, !tbaa !5
  %130 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %117, ptr noundef @.str.15, i32 noundef %118, ptr noundef @.str.16, ptr noundef @.str.11, i32 noundef 57, ptr noundef %121, ptr noundef %124, ptr noundef %127, i32 noundef %129) #7
  br label %131

131:                                              ; preds = %114, %97
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #7
  br label %132

132:                                              ; preds = %131
  call void @exit(i32 noundef 1) #9
  unreachable

133:                                              ; No predecessors!
  br label %134

134:                                              ; preds = %133, %78
  br label %135

135:                                              ; preds = %134
  br label %136

136:                                              ; preds = %135
  br label %137

137:                                              ; preds = %136
  %138 = call i32 @s2n_init()
  %139 = icmp eq i32 %138, -1
  br i1 %139, label %140, label %191

140:                                              ; preds = %137
  br label %141

141:                                              ; preds = %140
  br label %142

142:                                              ; preds = %141
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #7
  %143 = call ptr @__errno_location() #8
  %144 = load i32, ptr %143, align 4, !tbaa !5
  store i32 %144, ptr %8, align 4, !tbaa !5
  %145 = load ptr, ptr @stderr, align 8, !tbaa !9
  %146 = call i32 @s2n_print_stacktrace(ptr noundef %145)
  %147 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %148 = trunc i8 %147 to i1
  br i1 %148, label %149, label %171

149:                                              ; preds = %142
  %150 = load ptr, ptr @stderr, align 8, !tbaa !9
  %151 = call i32 @fileno(ptr noundef %150) #7
  %152 = call i32 @isatty(i32 noundef %151) #7
  %153 = icmp ne i32 %152, 0
  br i1 %153, label %154, label %171

154:                                              ; preds = %149
  %155 = load i32, ptr %8, align 4, !tbaa !5
  %156 = call ptr @__errno_location() #8
  store i32 %155, ptr %156, align 4, !tbaa !5
  %157 = load ptr, ptr @stderr, align 8, !tbaa !9
  %158 = load i32, ptr @test_count, align 4, !tbaa !5
  %159 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %160 = load i32, ptr %159, align 4, !tbaa !5
  %161 = call ptr @s2n_strerror(i32 noundef %160, ptr noundef @.str.14)
  %162 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %163 = load i32, ptr %162, align 4, !tbaa !5
  %164 = call ptr @s2n_strerror_debug(i32 noundef %163, ptr noundef @.str.14)
  %165 = call ptr @__errno_location() #8
  %166 = load i32, ptr %165, align 4, !tbaa !5
  %167 = call ptr @strerror(i32 noundef %166) #7
  %168 = call ptr @__errno_location() #8
  %169 = load i32, ptr %168, align 4, !tbaa !5
  %170 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %157, ptr noundef @.str.12, i32 noundef %158, ptr noundef @.str.17, ptr noundef @.str.11, i32 noundef 57, ptr noundef %161, ptr noundef %164, ptr noundef %167, i32 noundef %169) #7
  br label %188

171:                                              ; preds = %149, %142
  %172 = load i32, ptr %8, align 4, !tbaa !5
  %173 = call ptr @__errno_location() #8
  store i32 %172, ptr %173, align 4, !tbaa !5
  %174 = load ptr, ptr @stderr, align 8, !tbaa !9
  %175 = load i32, ptr @test_count, align 4, !tbaa !5
  %176 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %177 = load i32, ptr %176, align 4, !tbaa !5
  %178 = call ptr @s2n_strerror(i32 noundef %177, ptr noundef @.str.14)
  %179 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %180 = load i32, ptr %179, align 4, !tbaa !5
  %181 = call ptr @s2n_strerror_debug(i32 noundef %180, ptr noundef @.str.14)
  %182 = call ptr @__errno_location() #8
  %183 = load i32, ptr %182, align 4, !tbaa !5
  %184 = call ptr @strerror(i32 noundef %183) #7
  %185 = call ptr @__errno_location() #8
  %186 = load i32, ptr %185, align 4, !tbaa !5
  %187 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %174, ptr noundef @.str.15, i32 noundef %175, ptr noundef @.str.17, ptr noundef @.str.11, i32 noundef 57, ptr noundef %178, ptr noundef %181, ptr noundef %184, i32 noundef %186) #7
  br label %188

188:                                              ; preds = %171, %154
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #7
  br label %189

189:                                              ; preds = %188
  call void @exit(i32 noundef 1) #9
  unreachable

190:                                              ; No predecessors!
  br label %191

191:                                              ; preds = %190, %137
  br label %192

192:                                              ; preds = %191
  br label %193

193:                                              ; preds = %192
  br label %194

194:                                              ; preds = %193
  %195 = load i32, ptr @test_count, align 4, !tbaa !5
  %196 = add nsw i32 %195, 1
  store i32 %196, ptr @test_count, align 4, !tbaa !5
  %197 = call i32 (...) @s2n_disable_tls13_in_test()
  %198 = icmp eq i32 %197, -1
  br i1 %198, label %199, label %250

199:                                              ; preds = %194
  br label %200

200:                                              ; preds = %199
  br label %201

201:                                              ; preds = %200
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #7
  %202 = call ptr @__errno_location() #8
  %203 = load i32, ptr %202, align 4, !tbaa !5
  store i32 %203, ptr %9, align 4, !tbaa !5
  %204 = load ptr, ptr @stderr, align 8, !tbaa !9
  %205 = call i32 @s2n_print_stacktrace(ptr noundef %204)
  %206 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %207 = trunc i8 %206 to i1
  br i1 %207, label %208, label %230

208:                                              ; preds = %201
  %209 = load ptr, ptr @stderr, align 8, !tbaa !9
  %210 = call i32 @fileno(ptr noundef %209) #7
  %211 = call i32 @isatty(i32 noundef %210) #7
  %212 = icmp ne i32 %211, 0
  br i1 %212, label %213, label %230

213:                                              ; preds = %208
  %214 = load i32, ptr %9, align 4, !tbaa !5
  %215 = call ptr @__errno_location() #8
  store i32 %214, ptr %215, align 4, !tbaa !5
  %216 = load ptr, ptr @stderr, align 8, !tbaa !9
  %217 = load i32, ptr @test_count, align 4, !tbaa !5
  %218 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %219 = load i32, ptr %218, align 4, !tbaa !5
  %220 = call ptr @s2n_strerror(i32 noundef %219, ptr noundef @.str.14)
  %221 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %222 = load i32, ptr %221, align 4, !tbaa !5
  %223 = call ptr @s2n_strerror_debug(i32 noundef %222, ptr noundef @.str.14)
  %224 = call ptr @__errno_location() #8
  %225 = load i32, ptr %224, align 4, !tbaa !5
  %226 = call ptr @strerror(i32 noundef %225) #7
  %227 = call ptr @__errno_location() #8
  %228 = load i32, ptr %227, align 4, !tbaa !5
  %229 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %216, ptr noundef @.str.12, i32 noundef %217, ptr noundef @.str.18, ptr noundef @.str.11, i32 noundef 58, ptr noundef %220, ptr noundef %223, ptr noundef %226, i32 noundef %228) #7
  br label %247

230:                                              ; preds = %208, %201
  %231 = load i32, ptr %9, align 4, !tbaa !5
  %232 = call ptr @__errno_location() #8
  store i32 %231, ptr %232, align 4, !tbaa !5
  %233 = load ptr, ptr @stderr, align 8, !tbaa !9
  %234 = load i32, ptr @test_count, align 4, !tbaa !5
  %235 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %236 = load i32, ptr %235, align 4, !tbaa !5
  %237 = call ptr @s2n_strerror(i32 noundef %236, ptr noundef @.str.14)
  %238 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %239 = load i32, ptr %238, align 4, !tbaa !5
  %240 = call ptr @s2n_strerror_debug(i32 noundef %239, ptr noundef @.str.14)
  %241 = call ptr @__errno_location() #8
  %242 = load i32, ptr %241, align 4, !tbaa !5
  %243 = call ptr @strerror(i32 noundef %242) #7
  %244 = call ptr @__errno_location() #8
  %245 = load i32, ptr %244, align 4, !tbaa !5
  %246 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %233, ptr noundef @.str.15, i32 noundef %234, ptr noundef @.str.18, ptr noundef @.str.11, i32 noundef 58, ptr noundef %237, ptr noundef %240, ptr noundef %243, i32 noundef %245) #7
  br label %247

247:                                              ; preds = %230, %213
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #7
  br label %248

248:                                              ; preds = %247
  call void @exit(i32 noundef 1) #9
  unreachable

249:                                              ; No predecessors!
  br label %250

250:                                              ; preds = %249, %194
  br label %251

251:                                              ; preds = %250
  br label %252

252:                                              ; preds = %251
  br label %253

253:                                              ; preds = %252
  %254 = load i32, ptr @test_count, align 4, !tbaa !5
  %255 = add nsw i32 %254, 1
  store i32 %255, ptr @test_count, align 4, !tbaa !5
  %256 = call i32 @requested_bigger_than_max()
  %257 = icmp eq i32 %256, -1
  br i1 %257, label %309, label %258

258:                                              ; preds = %253
  br label %259

259:                                              ; preds = %258
  br label %260

260:                                              ; preds = %259
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #7
  %261 = call ptr @__errno_location() #8
  %262 = load i32, ptr %261, align 4, !tbaa !5
  store i32 %262, ptr %10, align 4, !tbaa !5
  %263 = load ptr, ptr @stderr, align 8, !tbaa !9
  %264 = call i32 @s2n_print_stacktrace(ptr noundef %263)
  %265 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %266 = trunc i8 %265 to i1
  br i1 %266, label %267, label %289

267:                                              ; preds = %260
  %268 = load ptr, ptr @stderr, align 8, !tbaa !9
  %269 = call i32 @fileno(ptr noundef %268) #7
  %270 = call i32 @isatty(i32 noundef %269) #7
  %271 = icmp ne i32 %270, 0
  br i1 %271, label %272, label %289

272:                                              ; preds = %267
  %273 = load i32, ptr %10, align 4, !tbaa !5
  %274 = call ptr @__errno_location() #8
  store i32 %273, ptr %274, align 4, !tbaa !5
  %275 = load ptr, ptr @stderr, align 8, !tbaa !9
  %276 = load i32, ptr @test_count, align 4, !tbaa !5
  %277 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %278 = load i32, ptr %277, align 4, !tbaa !5
  %279 = call ptr @s2n_strerror(i32 noundef %278, ptr noundef @.str.14)
  %280 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %281 = load i32, ptr %280, align 4, !tbaa !5
  %282 = call ptr @s2n_strerror_debug(i32 noundef %281, ptr noundef @.str.14)
  %283 = call ptr @__errno_location() #8
  %284 = load i32, ptr %283, align 4, !tbaa !5
  %285 = call ptr @strerror(i32 noundef %284) #7
  %286 = call ptr @__errno_location() #8
  %287 = load i32, ptr %286, align 4, !tbaa !5
  %288 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %275, ptr noundef @.str.12, i32 noundef %276, ptr noundef @.str.19, ptr noundef @.str.11, i32 noundef 59, ptr noundef %279, ptr noundef %282, ptr noundef %285, i32 noundef %287) #7
  br label %306

289:                                              ; preds = %267, %260
  %290 = load i32, ptr %10, align 4, !tbaa !5
  %291 = call ptr @__errno_location() #8
  store i32 %290, ptr %291, align 4, !tbaa !5
  %292 = load ptr, ptr @stderr, align 8, !tbaa !9
  %293 = load i32, ptr @test_count, align 4, !tbaa !5
  %294 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %295 = load i32, ptr %294, align 4, !tbaa !5
  %296 = call ptr @s2n_strerror(i32 noundef %295, ptr noundef @.str.14)
  %297 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %298 = load i32, ptr %297, align 4, !tbaa !5
  %299 = call ptr @s2n_strerror_debug(i32 noundef %298, ptr noundef @.str.14)
  %300 = call ptr @__errno_location() #8
  %301 = load i32, ptr %300, align 4, !tbaa !5
  %302 = call ptr @strerror(i32 noundef %301) #7
  %303 = call ptr @__errno_location() #8
  %304 = load i32, ptr %303, align 4, !tbaa !5
  %305 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %292, ptr noundef @.str.15, i32 noundef %293, ptr noundef @.str.19, ptr noundef @.str.11, i32 noundef 59, ptr noundef %296, ptr noundef %299, ptr noundef %302, i32 noundef %304) #7
  br label %306

306:                                              ; preds = %289, %272
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #7
  br label %307

307:                                              ; preds = %306
  call void @exit(i32 noundef 1) #9
  unreachable

308:                                              ; No predecessors!
  br label %309

309:                                              ; preds = %308, %253
  br label %310

310:                                              ; preds = %309
  br label %311

311:                                              ; preds = %310
  %312 = load i32, ptr @test_count, align 4, !tbaa !5
  %313 = add nsw i32 %312, 1
  store i32 %313, ptr @test_count, align 4, !tbaa !5
  %314 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %315 = load i32, ptr %314, align 4, !tbaa !5
  %316 = icmp eq i32 %315, 0
  br i1 %316, label %317, label %368

317:                                              ; preds = %311
  br label %318

318:                                              ; preds = %317
  br label %319

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

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

331:                                              ; preds = %326
  %332 = load i32, ptr %11, align 4, !tbaa !5
  %333 = call ptr @__errno_location() #8
  store i32 %332, ptr %333, align 4, !tbaa !5
  %334 = load ptr, ptr @stderr, align 8, !tbaa !9
  %335 = load i32, ptr @test_count, align 4, !tbaa !5
  %336 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %337 = load i32, ptr %336, align 4, !tbaa !5
  %338 = call ptr @s2n_strerror(i32 noundef %337, ptr noundef @.str.14)
  %339 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %340 = load i32, ptr %339, align 4, !tbaa !5
  %341 = call ptr @s2n_strerror_debug(i32 noundef %340, ptr noundef @.str.14)
  %342 = call ptr @__errno_location() #8
  %343 = load i32, ptr %342, align 4, !tbaa !5
  %344 = call ptr @strerror(i32 noundef %343) #7
  %345 = call ptr @__errno_location() #8
  %346 = load i32, ptr %345, align 4, !tbaa !5
  %347 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %334, ptr noundef @.str.12, i32 noundef %335, ptr noundef @.str.20, ptr noundef @.str.11, i32 noundef 59, ptr noundef %338, ptr noundef %341, ptr noundef %344, i32 noundef %346) #7
  br label %365

348:                                              ; preds = %326, %319
  %349 = load i32, ptr %11, align 4, !tbaa !5
  %350 = call ptr @__errno_location() #8
  store i32 %349, ptr %350, align 4, !tbaa !5
  %351 = load ptr, ptr @stderr, align 8, !tbaa !9
  %352 = load i32, ptr @test_count, align 4, !tbaa !5
  %353 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %354 = load i32, ptr %353, align 4, !tbaa !5
  %355 = call ptr @s2n_strerror(i32 noundef %354, ptr noundef @.str.14)
  %356 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %357 = load i32, ptr %356, align 4, !tbaa !5
  %358 = call ptr @s2n_strerror_debug(i32 noundef %357, ptr noundef @.str.14)
  %359 = call ptr @__errno_location() #8
  %360 = load i32, ptr %359, align 4, !tbaa !5
  %361 = call ptr @strerror(i32 noundef %360) #7
  %362 = call ptr @__errno_location() #8
  %363 = load i32, ptr %362, align 4, !tbaa !5
  %364 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %351, ptr noundef @.str.15, i32 noundef %352, ptr noundef @.str.20, ptr noundef @.str.11, i32 noundef 59, ptr noundef %355, ptr noundef %358, ptr noundef %361, i32 noundef %363) #7
  br label %365

365:                                              ; preds = %348, %331
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #7
  br label %366

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

367:                                              ; No predecessors!
  br label %368

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

369:                                              ; preds = %368
  br label %370

370:                                              ; preds = %369
  %371 = load i32, ptr @test_count, align 4, !tbaa !5
  %372 = add nsw i32 %371, 1
  store i32 %372, ptr @test_count, align 4, !tbaa !5
  %373 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %374 = load i32, ptr %373, align 4, !tbaa !5
  %375 = call ptr @s2n_strerror_debug(i32 noundef %374, ptr noundef @.str.14)
  %376 = icmp eq ptr %375, null
  br i1 %376, label %377, label %428

377:                                              ; preds = %370
  br label %378

378:                                              ; preds = %377
  br label %379

379:                                              ; preds = %378
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #7
  %380 = call ptr @__errno_location() #8
  %381 = load i32, ptr %380, align 4, !tbaa !5
  store i32 %381, ptr %12, align 4, !tbaa !5
  %382 = load ptr, ptr @stderr, align 8, !tbaa !9
  %383 = call i32 @s2n_print_stacktrace(ptr noundef %382)
  %384 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %385 = trunc i8 %384 to i1
  br i1 %385, label %386, label %408

386:                                              ; preds = %379
  %387 = load ptr, ptr @stderr, align 8, !tbaa !9
  %388 = call i32 @fileno(ptr noundef %387) #7
  %389 = call i32 @isatty(i32 noundef %388) #7
  %390 = icmp ne i32 %389, 0
  br i1 %390, label %391, label %408

391:                                              ; preds = %386
  %392 = load i32, ptr %12, align 4, !tbaa !5
  %393 = call ptr @__errno_location() #8
  store i32 %392, ptr %393, align 4, !tbaa !5
  %394 = load ptr, ptr @stderr, align 8, !tbaa !9
  %395 = load i32, ptr @test_count, align 4, !tbaa !5
  %396 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %397 = load i32, ptr %396, align 4, !tbaa !5
  %398 = call ptr @s2n_strerror(i32 noundef %397, ptr noundef @.str.14)
  %399 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %400 = load i32, ptr %399, align 4, !tbaa !5
  %401 = call ptr @s2n_strerror_debug(i32 noundef %400, ptr noundef @.str.14)
  %402 = call ptr @__errno_location() #8
  %403 = load i32, ptr %402, align 4, !tbaa !5
  %404 = call ptr @strerror(i32 noundef %403) #7
  %405 = call ptr @__errno_location() #8
  %406 = load i32, ptr %405, align 4, !tbaa !5
  %407 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %394, ptr noundef @.str.12, i32 noundef %395, ptr noundef @.str.21, ptr noundef @.str.11, i32 noundef 59, ptr noundef %398, ptr noundef %401, ptr noundef %404, i32 noundef %406) #7
  br label %425

408:                                              ; preds = %386, %379
  %409 = load i32, ptr %12, align 4, !tbaa !5
  %410 = call ptr @__errno_location() #8
  store i32 %409, ptr %410, align 4, !tbaa !5
  %411 = load ptr, ptr @stderr, align 8, !tbaa !9
  %412 = load i32, ptr @test_count, align 4, !tbaa !5
  %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(i32 noundef %414, ptr noundef @.str.14)
  %416 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %417 = load i32, ptr %416, align 4, !tbaa !5
  %418 = call ptr @s2n_strerror_debug(i32 noundef %417, ptr noundef @.str.14)
  %419 = call ptr @__errno_location() #8
  %420 = load i32, ptr %419, align 4, !tbaa !5
  %421 = call ptr @strerror(i32 noundef %420) #7
  %422 = call ptr @__errno_location() #8
  %423 = load i32, ptr %422, align 4, !tbaa !5
  %424 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %411, ptr noundef @.str.15, i32 noundef %412, ptr noundef @.str.21, ptr noundef @.str.11, i32 noundef 59, ptr noundef %415, ptr noundef %418, ptr noundef %421, i32 noundef %423) #7
  br label %425

425:                                              ; preds = %408, %391
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #7
  br label %426

426:                                              ; preds = %425
  call void @exit(i32 noundef 1) #9
  unreachable

427:                                              ; No predecessors!
  br label %428

428:                                              ; preds = %427, %370
  br label %429

429:                                              ; preds = %428
  br label %430

430:                                              ; preds = %429
  %431 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  store i32 0, ptr %431, align 4, !tbaa !5
  call void @s2n_debug_info_reset()
  %432 = call ptr @__errno_location() #8
  store i32 0, ptr %432, align 4, !tbaa !5
  br label %433

433:                                              ; preds = %430
  br label %434

434:                                              ; preds = %433
  br label %435

435:                                              ; preds = %434
  %436 = load i32, ptr @test_count, align 4, !tbaa !5
  %437 = add nsw i32 %436, 1
  store i32 %437, ptr @test_count, align 4, !tbaa !5
  %438 = call i32 @successful_stack_blob()
  %439 = icmp eq i32 %438, -1
  br i1 %439, label %440, label %491

440:                                              ; preds = %435
  br label %441

441:                                              ; preds = %440
  br label %442

442:                                              ; preds = %441
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #7
  %443 = call ptr @__errno_location() #8
  %444 = load i32, ptr %443, align 4, !tbaa !5
  store i32 %444, ptr %13, align 4, !tbaa !5
  %445 = load ptr, ptr @stderr, align 8, !tbaa !9
  %446 = call i32 @s2n_print_stacktrace(ptr noundef %445)
  %447 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %448 = trunc i8 %447 to i1
  br i1 %448, label %449, label %471

449:                                              ; preds = %442
  %450 = load ptr, ptr @stderr, align 8, !tbaa !9
  %451 = call i32 @fileno(ptr noundef %450) #7
  %452 = call i32 @isatty(i32 noundef %451) #7
  %453 = icmp ne i32 %452, 0
  br i1 %453, label %454, label %471

454:                                              ; preds = %449
  %455 = load i32, ptr %13, align 4, !tbaa !5
  %456 = call ptr @__errno_location() #8
  store i32 %455, ptr %456, align 4, !tbaa !5
  %457 = load ptr, ptr @stderr, align 8, !tbaa !9
  %458 = load i32, ptr @test_count, align 4, !tbaa !5
  %459 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %460 = load i32, ptr %459, align 4, !tbaa !5
  %461 = call ptr @s2n_strerror(i32 noundef %460, ptr noundef @.str.14)
  %462 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %463 = load i32, ptr %462, align 4, !tbaa !5
  %464 = call ptr @s2n_strerror_debug(i32 noundef %463, ptr noundef @.str.14)
  %465 = call ptr @__errno_location() #8
  %466 = load i32, ptr %465, align 4, !tbaa !5
  %467 = call ptr @strerror(i32 noundef %466) #7
  %468 = call ptr @__errno_location() #8
  %469 = load i32, ptr %468, align 4, !tbaa !5
  %470 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %457, ptr noundef @.str.12, i32 noundef %458, ptr noundef @.str.22, ptr noundef @.str.11, i32 noundef 60, ptr noundef %461, ptr noundef %464, ptr noundef %467, i32 noundef %469) #7
  br label %488

471:                                              ; preds = %449, %442
  %472 = load i32, ptr %13, align 4, !tbaa !5
  %473 = call ptr @__errno_location() #8
  store i32 %472, ptr %473, align 4, !tbaa !5
  %474 = load ptr, ptr @stderr, align 8, !tbaa !9
  %475 = load i32, ptr @test_count, align 4, !tbaa !5
  %476 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %477 = load i32, ptr %476, align 4, !tbaa !5
  %478 = call ptr @s2n_strerror(i32 noundef %477, ptr noundef @.str.14)
  %479 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %480 = load i32, ptr %479, align 4, !tbaa !5
  %481 = call ptr @s2n_strerror_debug(i32 noundef %480, ptr noundef @.str.14)
  %482 = call ptr @__errno_location() #8
  %483 = load i32, ptr %482, align 4, !tbaa !5
  %484 = call ptr @strerror(i32 noundef %483) #7
  %485 = call ptr @__errno_location() #8
  %486 = load i32, ptr %485, align 4, !tbaa !5
  %487 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %474, ptr noundef @.str.15, i32 noundef %475, ptr noundef @.str.22, ptr noundef @.str.11, i32 noundef 60, ptr noundef %478, ptr noundef %481, ptr noundef %484, i32 noundef %486) #7
  br label %488

488:                                              ; preds = %471, %454
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #7
  br label %489

489:                                              ; preds = %488
  call void @exit(i32 noundef 1) #9
  unreachable

490:                                              ; No predecessors!
  br label %491

491:                                              ; preds = %490, %435
  br label %492

492:                                              ; preds = %491
  br label %493

493:                                              ; preds = %492
  br label %494

494:                                              ; preds = %493
  %495 = call i32 @s2n_cleanup()
  %496 = icmp eq i32 %495, -1
  br i1 %496, label %497, label %548

497:                                              ; preds = %494
  br label %498

498:                                              ; preds = %497
  br label %499

499:                                              ; preds = %498
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #7
  %500 = call ptr @__errno_location() #8
  %501 = load i32, ptr %500, align 4, !tbaa !5
  store i32 %501, ptr %14, align 4, !tbaa !5
  %502 = load ptr, ptr @stderr, align 8, !tbaa !9
  %503 = call i32 @s2n_print_stacktrace(ptr noundef %502)
  %504 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %505 = trunc i8 %504 to i1
  br i1 %505, label %506, label %528

506:                                              ; preds = %499
  %507 = load ptr, ptr @stderr, align 8, !tbaa !9
  %508 = call i32 @fileno(ptr noundef %507) #7
  %509 = call i32 @isatty(i32 noundef %508) #7
  %510 = icmp ne i32 %509, 0
  br i1 %510, label %511, label %528

511:                                              ; preds = %506
  %512 = load i32, ptr %14, align 4, !tbaa !5
  %513 = call ptr @__errno_location() #8
  store i32 %512, ptr %513, align 4, !tbaa !5
  %514 = load ptr, ptr @stderr, align 8, !tbaa !9
  %515 = load i32, ptr @test_count, align 4, !tbaa !5
  %516 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %517 = load i32, ptr %516, align 4, !tbaa !5
  %518 = call ptr @s2n_strerror(i32 noundef %517, ptr noundef @.str.14)
  %519 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %520 = load i32, ptr %519, align 4, !tbaa !5
  %521 = call ptr @s2n_strerror_debug(i32 noundef %520, ptr noundef @.str.14)
  %522 = call ptr @__errno_location() #8
  %523 = load i32, ptr %522, align 4, !tbaa !5
  %524 = call ptr @strerror(i32 noundef %523) #7
  %525 = call ptr @__errno_location() #8
  %526 = load i32, ptr %525, align 4, !tbaa !5
  %527 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %514, ptr noundef @.str.12, i32 noundef %515, ptr noundef @.str.23, ptr noundef @.str.11, i32 noundef 61, ptr noundef %518, ptr noundef %521, ptr noundef %524, i32 noundef %526) #7
  br label %545

528:                                              ; preds = %506, %499
  %529 = load i32, ptr %14, align 4, !tbaa !5
  %530 = call ptr @__errno_location() #8
  store i32 %529, ptr %530, align 4, !tbaa !5
  %531 = load ptr, ptr @stderr, align 8, !tbaa !9
  %532 = load i32, ptr @test_count, align 4, !tbaa !5
  %533 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %534 = load i32, ptr %533, align 4, !tbaa !5
  %535 = call ptr @s2n_strerror(i32 noundef %534, ptr noundef @.str.14)
  %536 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %537 = load i32, ptr %536, align 4, !tbaa !5
  %538 = call ptr @s2n_strerror_debug(i32 noundef %537, ptr noundef @.str.14)
  %539 = call ptr @__errno_location() #8
  %540 = load i32, ptr %539, align 4, !tbaa !5
  %541 = call ptr @strerror(i32 noundef %540) #7
  %542 = call ptr @__errno_location() #8
  %543 = load i32, ptr %542, align 4, !tbaa !5
  %544 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %531, ptr noundef @.str.15, i32 noundef %532, ptr noundef @.str.23, ptr noundef @.str.11, i32 noundef 61, ptr noundef %535, ptr noundef %538, ptr noundef %541, i32 noundef %543) #7
  br label %545

545:                                              ; preds = %528, %511
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #7
  br label %546

546:                                              ; preds = %545
  call void @exit(i32 noundef 1) #9
  unreachable

547:                                              ; No predecessors!
  br label %548

548:                                              ; preds = %547, %494
  br label %549

549:                                              ; preds = %548
  br label %550

550:                                              ; preds = %549
  br label %551

551:                                              ; preds = %550
  %552 = call i32 @s2n_in_unit_test_set(i1 noundef zeroext false)
  %553 = icmp eq i32 %552, -1
  br i1 %553, label %554, label %605

554:                                              ; preds = %551
  br label %555

555:                                              ; preds = %554
  br label %556

556:                                              ; preds = %555
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #7
  %557 = call ptr @__errno_location() #8
  %558 = load i32, ptr %557, align 4, !tbaa !5
  store i32 %558, ptr %15, align 4, !tbaa !5
  %559 = load ptr, ptr @stderr, align 8, !tbaa !9
  %560 = call i32 @s2n_print_stacktrace(ptr noundef %559)
  %561 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %562 = trunc i8 %561 to i1
  br i1 %562, label %563, label %585

563:                                              ; preds = %556
  %564 = load ptr, ptr @stderr, align 8, !tbaa !9
  %565 = call i32 @fileno(ptr noundef %564) #7
  %566 = call i32 @isatty(i32 noundef %565) #7
  %567 = icmp ne i32 %566, 0
  br i1 %567, label %568, label %585

568:                                              ; preds = %563
  %569 = load i32, ptr %15, align 4, !tbaa !5
  %570 = call ptr @__errno_location() #8
  store i32 %569, ptr %570, align 4, !tbaa !5
  %571 = load ptr, ptr @stderr, align 8, !tbaa !9
  %572 = load i32, ptr @test_count, align 4, !tbaa !5
  %573 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %574 = load i32, ptr %573, align 4, !tbaa !5
  %575 = call ptr @s2n_strerror(i32 noundef %574, ptr noundef @.str.14)
  %576 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %577 = load i32, ptr %576, align 4, !tbaa !5
  %578 = call ptr @s2n_strerror_debug(i32 noundef %577, ptr noundef @.str.14)
  %579 = call ptr @__errno_location() #8
  %580 = load i32, ptr %579, align 4, !tbaa !5
  %581 = call ptr @strerror(i32 noundef %580) #7
  %582 = call ptr @__errno_location() #8
  %583 = load i32, ptr %582, align 4, !tbaa !5
  %584 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %571, ptr noundef @.str.12, i32 noundef %572, ptr noundef @.str.24, ptr noundef @.str.11, i32 noundef 61, ptr noundef %575, ptr noundef %578, ptr noundef %581, i32 noundef %583) #7
  br label %602

585:                                              ; preds = %563, %556
  %586 = load i32, ptr %15, align 4, !tbaa !5
  %587 = call ptr @__errno_location() #8
  store i32 %586, ptr %587, align 4, !tbaa !5
  %588 = load ptr, ptr @stderr, align 8, !tbaa !9
  %589 = load i32, ptr @test_count, align 4, !tbaa !5
  %590 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %591 = load i32, ptr %590, align 4, !tbaa !5
  %592 = call ptr @s2n_strerror(i32 noundef %591, ptr noundef @.str.14)
  %593 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %594 = load i32, ptr %593, align 4, !tbaa !5
  %595 = call ptr @s2n_strerror_debug(i32 noundef %594, ptr noundef @.str.14)
  %596 = call ptr @__errno_location() #8
  %597 = load i32, ptr %596, align 4, !tbaa !5
  %598 = call ptr @strerror(i32 noundef %597) #7
  %599 = call ptr @__errno_location() #8
  %600 = load i32, ptr %599, align 4, !tbaa !5
  %601 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %588, ptr noundef @.str.15, i32 noundef %589, ptr noundef @.str.24, ptr noundef @.str.11, i32 noundef 61, ptr noundef %592, ptr noundef %595, ptr noundef %598, i32 noundef %600) #7
  br label %602

602:                                              ; preds = %585, %568
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #7
  br label %603

603:                                              ; preds = %602
  call void @exit(i32 noundef 1) #9
  unreachable

604:                                              ; No predecessors!
  br label %605

605:                                              ; preds = %604, %551
  br label %606

606:                                              ; preds = %605
  %607 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %608 = trunc i8 %607 to i1
  br i1 %608, label %609, label %625

609:                                              ; preds = %606
  %610 = load ptr, ptr @stdout, align 8, !tbaa !9
  %611 = call i32 @fileno(ptr noundef %610) #7
  %612 = call i32 @isatty(i32 noundef %611) #7
  %613 = icmp ne i32 %612, 0
  br i1 %613, label %614, label %625

614:                                              ; preds = %609
  %615 = load i32, ptr @test_count, align 4, !tbaa !5
  %616 = icmp ne i32 %615, 0
  br i1 %616, label %617, label %621

617:                                              ; preds = %614
  %618 = load ptr, ptr @stdout, align 8, !tbaa !9
  %619 = load i32, ptr @test_count, align 4, !tbaa !5
  %620 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %618, ptr noundef @.str.25, i32 noundef %619) #7
  br label %624

621:                                              ; preds = %614
  %622 = load ptr, ptr @stdout, align 8, !tbaa !9
  %623 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %622, ptr noundef @.str.26) #7
  br label %624

624:                                              ; preds = %621, %617
  br label %636

625:                                              ; preds = %609, %606
  %626 = load i32, ptr @test_count, align 4, !tbaa !5
  %627 = icmp ne i32 %626, 0
  br i1 %627, label %628, label %632

628:                                              ; preds = %625
  %629 = load ptr, ptr @stdout, align 8, !tbaa !9
  %630 = load i32, ptr @test_count, align 4, !tbaa !5
  %631 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %629, ptr noundef @.str.27, i32 noundef %630) #7
  br label %635

632:                                              ; preds = %625
  %633 = load ptr, ptr @stdout, align 8, !tbaa !9
  %634 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %633, ptr noundef @.str.28) #7
  br label %635

635:                                              ; preds = %632, %628
  br label %636

636:                                              ; preds = %635, %624
  store i32 0, ptr %3, align 4
  br label %638

637:                                              ; No predecessors!
  br label %638

638:                                              ; preds = %637, %636
  %639 = load i32, ptr %3, align 4
  ret i32 %639
}

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

declare i32 @fflush(ptr noundef) #4

declare i32 @s2n_in_unit_test_set(i1 noundef zeroext) #4

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

declare i32 @s2n_print_stacktrace(ptr noundef) #4

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

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

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

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

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

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

declare i32 @s2n_enable_atexit() #4

declare i32 @s2n_init() #4

declare i32 @s2n_disable_tls13_in_test(...) #4

declare void @s2n_debug_info_reset() #4

declare i32 @s2n_cleanup() #4

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { 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 #3 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nounwind willreturn memory(none) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { 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 = { nounwind }
attributes #8 = { nounwind willreturn memory(none) }
attributes #9 = { 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
@s2n_errno = external thread_local local_unnamed_addr global i32, align 4
@test_count = external dso_local local_unnamed_addr global i32, align 4
@stdout = external local_unnamed_addr global ptr, align 8
@.str.10 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [73 x i8], align 1
@stderr = external local_unnamed_addr global ptr, align 8
@.str.12 = external hidden unnamed_addr constant [101 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [90 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [56 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [53 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [70 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [25 x i8], align 1

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

; Function Attrs: nounwind uwtable
declare dso_local i32 @requested_bigger_than_max() local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare dso_local i32 @successful_stack_blob() local_unnamed_addr #1

; Function Attrs: nounwind uwtable
define dso_local noundef i32 @main(i32 noundef %0, ptr nocapture noundef readnone %1) local_unnamed_addr #1 {
  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.10, ptr noundef nonnull @.str.11) #7
  %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) #7
  %8 = icmp eq i32 %7, -1
  br i1 %8, label %9, label %33

9:                                                ; preds = %2
  %10 = tail call ptr @__errno_location() #8
  %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) #7
  %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) #7
  %19 = tail call i32 @isatty(i32 noundef %18) #7
  %.not33 = icmp eq i32 %19, 0
  br i1 %.not33, label %20, label %21

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

21:                                               ; preds = %16, %20
  %.str.15.sink = phi ptr [ @.str.15, %20 ], [ @.str.12, %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.14) #7
  %27 = load i32, ptr %24, align 4, !tbaa !5
  %28 = tail call ptr @s2n_strerror_debug(i32 noundef %27, ptr noundef nonnull @.str.14) #7
  %29 = load i32, ptr %10, align 4, !tbaa !5
  %30 = tail call ptr @strerror(i32 noundef %29) #7
  %31 = load i32, ptr %10, align 4, !tbaa !5
  %32 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %22, ptr noundef nonnull %.str.15.sink, i32 noundef %23, ptr noundef nonnull @.str.13, ptr noundef nonnull @.str.11, i32 noundef 57, ptr noundef %26, ptr noundef %28, ptr noundef %30, i32 noundef %31) #9
  tail call void @exit(i32 noundef 1) #10
  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() #7
  %37 = icmp eq i32 %36, -1
  br i1 %37, label %38, label %62

38:                                               ; preds = %33
  %39 = tail call ptr @__errno_location() #8
  %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) #7
  %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) #7
  %48 = tail call i32 @isatty(i32 noundef %47) #7
  %.not32 = icmp eq i32 %48, 0
  br i1 %.not32, label %49, label %50

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

50:                                               ; preds = %45, %49
  %.str.15.sink44 = phi ptr [ @.str.15, %49 ], [ @.str.12, %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.14) #7
  %56 = load i32, ptr %53, align 4, !tbaa !5
  %57 = tail call ptr @s2n_strerror_debug(i32 noundef %56, ptr noundef nonnull @.str.14) #7
  %58 = load i32, ptr %39, align 4, !tbaa !5
  %59 = tail call ptr @strerror(i32 noundef %58) #7
  %60 = load i32, ptr %39, align 4, !tbaa !5
  %61 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %51, ptr noundef nonnull %.str.15.sink44, i32 noundef %52, ptr noundef nonnull @.str.16, ptr noundef nonnull @.str.11, i32 noundef 57, ptr noundef %55, ptr noundef %57, ptr noundef %59, i32 noundef %60) #9
  tail call void @exit(i32 noundef 1) #10
  unreachable

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

65:                                               ; preds = %62
  %66 = tail call ptr @__errno_location() #8
  %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) #7
  %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) #7
  %75 = tail call i32 @isatty(i32 noundef %74) #7
  %.not31 = icmp eq i32 %75, 0
  br i1 %.not31, label %76, label %77

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

77:                                               ; preds = %72, %76
  %.str.15.sink55 = phi ptr [ @.str.15, %76 ], [ @.str.12, %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.14) #7
  %83 = load i32, ptr %80, align 4, !tbaa !5
  %84 = tail call ptr @s2n_strerror_debug(i32 noundef %83, ptr noundef nonnull @.str.14) #7
  %85 = load i32, ptr %66, align 4, !tbaa !5
  %86 = tail call ptr @strerror(i32 noundef %85) #7
  %87 = load i32, ptr %66, align 4, !tbaa !5
  %88 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %78, ptr noundef nonnull %.str.15.sink55, i32 noundef %79, ptr noundef nonnull @.str.17, ptr noundef nonnull @.str.11, i32 noundef 57, ptr noundef %82, ptr noundef %84, ptr noundef %86, i32 noundef %87) #9
  tail call void @exit(i32 noundef 1) #10
  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 = tail call i32 (...) @s2n_disable_tls13_in_test() #7
  %93 = icmp eq i32 %92, -1
  br i1 %93, label %94, label %118

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

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

105:                                              ; preds = %101, %94
  br label %106

106:                                              ; preds = %101, %105
  %.str.15.sink66 = phi ptr [ @.str.15, %105 ], [ @.str.12, %101 ]
  store i32 %96, ptr %95, align 4, !tbaa !5
  %107 = load ptr, ptr @stderr, align 8, !tbaa !9
  %108 = load i32, ptr @test_count, align 4, !tbaa !5
  %109 = tail call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %110 = load i32, ptr %109, align 4, !tbaa !5
  %111 = tail call ptr @s2n_strerror(i32 noundef %110, ptr noundef nonnull @.str.14) #7
  %112 = load i32, ptr %109, align 4, !tbaa !5
  %113 = tail call ptr @s2n_strerror_debug(i32 noundef %112, ptr noundef nonnull @.str.14) #7
  %114 = load i32, ptr %95, align 4, !tbaa !5
  %115 = tail call ptr @strerror(i32 noundef %114) #7
  %116 = load i32, ptr %95, align 4, !tbaa !5
  %117 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %107, ptr noundef nonnull %.str.15.sink66, i32 noundef %108, ptr noundef nonnull @.str.18, ptr noundef nonnull @.str.11, i32 noundef 58, ptr noundef %111, ptr noundef %113, ptr noundef %115, i32 noundef %116) #9
  tail call void @exit(i32 noundef 1) #10
  unreachable

118:                                              ; preds = %89
  %119 = load i32, ptr @test_count, align 4, !tbaa !5
  %120 = add nsw i32 %119, 1
  store i32 %120, ptr @test_count, align 4, !tbaa !5
  %121 = tail call i32 @requested_bigger_than_max()
  %122 = icmp eq i32 %121, -1
  br i1 %122, label %147, label %123

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

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

134:                                              ; preds = %130, %123
  br label %135

135:                                              ; preds = %130, %134
  %.str.15.sink77 = phi ptr [ @.str.15, %134 ], [ @.str.12, %130 ]
  store i32 %125, ptr %124, align 4, !tbaa !5
  %136 = load ptr, ptr @stderr, align 8, !tbaa !9
  %137 = load i32, ptr @test_count, align 4, !tbaa !5
  %138 = tail call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %139 = load i32, ptr %138, align 4, !tbaa !5
  %140 = tail call ptr @s2n_strerror(i32 noundef %139, ptr noundef nonnull @.str.14) #7
  %141 = load i32, ptr %138, align 4, !tbaa !5
  %142 = tail call ptr @s2n_strerror_debug(i32 noundef %141, ptr noundef nonnull @.str.14) #7
  %143 = load i32, ptr %124, align 4, !tbaa !5
  %144 = tail call ptr @strerror(i32 noundef %143) #7
  %145 = load i32, ptr %124, align 4, !tbaa !5
  %146 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %136, ptr noundef nonnull %.str.15.sink77, i32 noundef %137, ptr noundef nonnull @.str.19, ptr noundef nonnull @.str.11, i32 noundef 59, ptr noundef %140, ptr noundef %142, ptr noundef %144, i32 noundef %145) #9
  tail call void @exit(i32 noundef 1) #10
  unreachable

147:                                              ; preds = %118
  %148 = load i32, ptr @test_count, align 4, !tbaa !5
  %149 = add nsw i32 %148, 1
  store i32 %149, ptr @test_count, align 4, !tbaa !5
  %150 = tail call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %151 = load i32, ptr %150, align 4, !tbaa !5
  %152 = icmp eq i32 %151, 0
  br i1 %152, label %153, label %176

153:                                              ; preds = %147
  %154 = tail call ptr @__errno_location() #8
  %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) #7
  %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) #7
  %163 = tail call i32 @isatty(i32 noundef %162) #7
  %.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.15.sink88 = phi ptr [ @.str.15, %164 ], [ @.str.12, %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 = load i32, ptr %150, align 4, !tbaa !5
  %169 = tail call ptr @s2n_strerror(i32 noundef %168, ptr noundef nonnull @.str.14) #7
  %170 = load i32, ptr %150, align 4, !tbaa !5
  %171 = tail call ptr @s2n_strerror_debug(i32 noundef %170, ptr noundef nonnull @.str.14) #7
  %172 = load i32, ptr %154, align 4, !tbaa !5
  %173 = tail call ptr @strerror(i32 noundef %172) #7
  %174 = load i32, ptr %154, align 4, !tbaa !5
  %175 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %166, ptr noundef nonnull %.str.15.sink88, i32 noundef %167, ptr noundef nonnull @.str.20, ptr noundef nonnull @.str.11, i32 noundef 59, ptr noundef %169, ptr noundef %171, ptr noundef %173, i32 noundef %174) #9
  tail call void @exit(i32 noundef 1) #10
  unreachable

176:                                              ; preds = %147
  %177 = add nsw i32 %148, 2
  store i32 %177, ptr @test_count, align 4, !tbaa !5
  %178 = tail call ptr @s2n_strerror_debug(i32 noundef %151, ptr noundef nonnull @.str.14) #7
  %179 = icmp eq ptr %178, null
  br i1 %179, label %180, label %203

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

187:                                              ; preds = %180
  %188 = load ptr, ptr @stderr, align 8, !tbaa !9
  %189 = tail call i32 @fileno(ptr noundef %188) #7
  %190 = tail call i32 @isatty(i32 noundef %189) #7
  %.not28 = icmp eq i32 %190, 0
  br i1 %.not28, label %191, label %192

191:                                              ; preds = %187, %180
  br label %192

192:                                              ; preds = %187, %191
  %.str.15.sink97 = phi ptr [ @.str.15, %191 ], [ @.str.12, %187 ]
  store i32 %182, ptr %181, align 4, !tbaa !5
  %193 = load ptr, ptr @stderr, align 8, !tbaa !9
  %194 = load i32, ptr @test_count, align 4, !tbaa !5
  %195 = load i32, ptr %150, align 4, !tbaa !5
  %196 = tail call ptr @s2n_strerror(i32 noundef %195, ptr noundef nonnull @.str.14) #7
  %197 = load i32, ptr %150, align 4, !tbaa !5
  %198 = tail call ptr @s2n_strerror_debug(i32 noundef %197, ptr noundef nonnull @.str.14) #7
  %199 = load i32, ptr %181, align 4, !tbaa !5
  %200 = tail call ptr @strerror(i32 noundef %199) #7
  %201 = load i32, ptr %181, align 4, !tbaa !5
  %202 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %193, ptr noundef nonnull %.str.15.sink97, i32 noundef %194, ptr noundef nonnull @.str.21, ptr noundef nonnull @.str.11, i32 noundef 59, ptr noundef %196, ptr noundef %198, ptr noundef %200, i32 noundef %201) #9
  tail call void @exit(i32 noundef 1) #10
  unreachable

203:                                              ; preds = %176
  store i32 0, ptr %150, align 4, !tbaa !5
  tail call void @s2n_debug_info_reset() #7
  %204 = tail call ptr @__errno_location() #8
  store i32 0, ptr %204, align 4, !tbaa !5
  %205 = load i32, ptr @test_count, align 4, !tbaa !5
  %206 = add nsw i32 %205, 1
  store i32 %206, ptr @test_count, align 4, !tbaa !5
  %207 = tail call i32 @successful_stack_blob()
  %208 = icmp eq i32 %207, -1
  br i1 %208, label %209, label %231

209:                                              ; preds = %203
  %210 = load i32, ptr %204, align 4, !tbaa !5
  %211 = load ptr, ptr @stderr, align 8, !tbaa !9
  %212 = tail call i32 @s2n_print_stacktrace(ptr noundef %211) #7
  %213 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %214 = trunc nuw i8 %213 to i1
  br i1 %214, label %215, label %219

215:                                              ; preds = %209
  %216 = load ptr, ptr @stderr, align 8, !tbaa !9
  %217 = tail call i32 @fileno(ptr noundef %216) #7
  %218 = tail call i32 @isatty(i32 noundef %217) #7
  %.not27 = icmp eq i32 %218, 0
  br i1 %.not27, label %219, label %220

219:                                              ; preds = %215, %209
  br label %220

220:                                              ; preds = %215, %219
  %.str.15.sink106 = phi ptr [ @.str.15, %219 ], [ @.str.12, %215 ]
  store i32 %210, ptr %204, align 4, !tbaa !5
  %221 = load ptr, ptr @stderr, align 8, !tbaa !9
  %222 = load i32, ptr @test_count, align 4, !tbaa !5
  %223 = load i32, ptr %150, align 4, !tbaa !5
  %224 = tail call ptr @s2n_strerror(i32 noundef %223, ptr noundef nonnull @.str.14) #7
  %225 = load i32, ptr %150, align 4, !tbaa !5
  %226 = tail call ptr @s2n_strerror_debug(i32 noundef %225, ptr noundef nonnull @.str.14) #7
  %227 = load i32, ptr %204, align 4, !tbaa !5
  %228 = tail call ptr @strerror(i32 noundef %227) #7
  %229 = load i32, ptr %204, align 4, !tbaa !5
  %230 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %221, ptr noundef nonnull %.str.15.sink106, i32 noundef %222, ptr noundef nonnull @.str.22, ptr noundef nonnull @.str.11, i32 noundef 60, ptr noundef %224, ptr noundef %226, ptr noundef %228, i32 noundef %229) #9
  tail call void @exit(i32 noundef 1) #10
  unreachable

231:                                              ; preds = %203
  %232 = tail call i32 @s2n_cleanup() #7
  %233 = icmp eq i32 %232, -1
  br i1 %233, label %234, label %256

234:                                              ; preds = %231
  %235 = load i32, ptr %204, align 4, !tbaa !5
  %236 = load ptr, ptr @stderr, align 8, !tbaa !9
  %237 = tail call i32 @s2n_print_stacktrace(ptr noundef %236) #7
  %238 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %239 = trunc nuw i8 %238 to i1
  br i1 %239, label %240, label %244

240:                                              ; preds = %234
  %241 = load ptr, ptr @stderr, align 8, !tbaa !9
  %242 = tail call i32 @fileno(ptr noundef %241) #7
  %243 = tail call i32 @isatty(i32 noundef %242) #7
  %.not26 = icmp eq i32 %243, 0
  br i1 %.not26, label %244, label %245

244:                                              ; preds = %240, %234
  br label %245

245:                                              ; preds = %240, %244
  %.str.15.sink115 = phi ptr [ @.str.15, %244 ], [ @.str.12, %240 ]
  store i32 %235, ptr %204, align 4, !tbaa !5
  %246 = load ptr, ptr @stderr, align 8, !tbaa !9
  %247 = load i32, ptr @test_count, align 4, !tbaa !5
  %248 = load i32, ptr %150, align 4, !tbaa !5
  %249 = tail call ptr @s2n_strerror(i32 noundef %248, ptr noundef nonnull @.str.14) #7
  %250 = load i32, ptr %150, align 4, !tbaa !5
  %251 = tail call ptr @s2n_strerror_debug(i32 noundef %250, ptr noundef nonnull @.str.14) #7
  %252 = load i32, ptr %204, align 4, !tbaa !5
  %253 = tail call ptr @strerror(i32 noundef %252) #7
  %254 = load i32, ptr %204, align 4, !tbaa !5
  %255 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %246, ptr noundef nonnull %.str.15.sink115, i32 noundef %247, ptr noundef nonnull @.str.23, ptr noundef nonnull @.str.11, i32 noundef 61, ptr noundef %249, ptr noundef %251, ptr noundef %253, i32 noundef %254) #9
  tail call void @exit(i32 noundef 1) #10
  unreachable

256:                                              ; preds = %231
  %257 = tail call i32 @s2n_in_unit_test_set(i1 noundef zeroext false) #7
  %258 = icmp eq i32 %257, -1
  br i1 %258, label %259, label %281

259:                                              ; preds = %256
  %260 = load i32, ptr %204, align 4, !tbaa !5
  %261 = load ptr, ptr @stderr, align 8, !tbaa !9
  %262 = tail call i32 @s2n_print_stacktrace(ptr noundef %261) #7
  %263 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %264 = trunc nuw i8 %263 to i1
  br i1 %264, label %265, label %269

265:                                              ; preds = %259
  %266 = load ptr, ptr @stderr, align 8, !tbaa !9
  %267 = tail call i32 @fileno(ptr noundef %266) #7
  %268 = tail call i32 @isatty(i32 noundef %267) #7
  %.not25 = icmp eq i32 %268, 0
  br i1 %.not25, label %269, label %270

269:                                              ; preds = %265, %259
  br label %270

270:                                              ; preds = %265, %269
  %.str.15.sink124 = phi ptr [ @.str.15, %269 ], [ @.str.12, %265 ]
  store i32 %260, ptr %204, align 4, !tbaa !5
  %271 = load ptr, ptr @stderr, align 8, !tbaa !9
  %272 = load i32, ptr @test_count, align 4, !tbaa !5
  %273 = load i32, ptr %150, align 4, !tbaa !5
  %274 = tail call ptr @s2n_strerror(i32 noundef %273, ptr noundef nonnull @.str.14) #7
  %275 = load i32, ptr %150, align 4, !tbaa !5
  %276 = tail call ptr @s2n_strerror_debug(i32 noundef %275, ptr noundef nonnull @.str.14) #7
  %277 = load i32, ptr %204, align 4, !tbaa !5
  %278 = tail call ptr @strerror(i32 noundef %277) #7
  %279 = load i32, ptr %204, align 4, !tbaa !5
  %280 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %271, ptr noundef nonnull %.str.15.sink124, i32 noundef %272, ptr noundef nonnull @.str.24, ptr noundef nonnull @.str.11, i32 noundef 61, ptr noundef %274, ptr noundef %276, ptr noundef %278, i32 noundef %279) #9
  tail call void @exit(i32 noundef 1) #10
  unreachable

281:                                              ; preds = %256
  %282 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %283 = trunc nuw i8 %282 to i1
  br i1 %283, label %284, label %295

284:                                              ; preds = %281
  %285 = load ptr, ptr @stdout, align 8, !tbaa !9
  %286 = tail call i32 @fileno(ptr noundef %285) #7
  %287 = tail call i32 @isatty(i32 noundef %286) #7
  %.not22 = icmp eq i32 %287, 0
  br i1 %.not22, label %295, label %288

288:                                              ; preds = %284
  %289 = load i32, ptr @test_count, align 4, !tbaa !5
  %.not24 = icmp eq i32 %289, 0
  %290 = load ptr, ptr @stdout, align 8, !tbaa !9
  br i1 %.not24, label %293, label %291

291:                                              ; preds = %288
  %292 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %290, ptr noundef nonnull @.str.25, i32 noundef %289) #7
  br label %302

293:                                              ; preds = %288
  %294 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %290, ptr noundef nonnull @.str.26) #7
  br label %302

295:                                              ; preds = %284, %281
  %296 = load i32, ptr @test_count, align 4, !tbaa !5
  %.not23 = icmp eq i32 %296, 0
  %297 = load ptr, ptr @stdout, align 8, !tbaa !9
  br i1 %.not23, label %300, label %298

298:                                              ; preds = %295
  %299 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %297, ptr noundef nonnull @.str.27, i32 noundef %296) #7
  br label %302

300:                                              ; preds = %295
  %301 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %297, ptr noundef nonnull @.str.28) #7
  br label %302

302:                                              ; preds = %298, %300, %291, %293
  ret i32 0
}

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

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

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

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

declare i32 @s2n_print_stacktrace(ptr noundef) local_unnamed_addr #3

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

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

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

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

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

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

declare i32 @s2n_enable_atexit() local_unnamed_addr #3

declare i32 @s2n_init() local_unnamed_addr #3

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

declare void @s2n_debug_info_reset() local_unnamed_addr #3

declare i32 @s2n_cleanup() local_unnamed_addr #3

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


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