; LLVM IR from aws/s2n-tls :: tests/unit (s2n_connection_size_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
@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 [83 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 [42 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [25 x i8], align 1
@__const.main.message = external hidden unnamed_addr constant [123 x i8], align 16
@.str.14 = external hidden unnamed_addr constant [40 x i8], align 1

; Function Attrs: nounwind uwtable
declare dso_local zeroext i1 @is_32_bit_platform() #0

; 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 i32, align 4
  %11 = alloca i16, align 2
  %12 = alloca i16, align 2
  %13 = alloca i64, align 8
  %14 = alloca [123 x i8], align 16
  %15 = alloca [223 x i8], align 16
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  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 %22

22:                                               ; preds = %2
  br label %23

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

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

31:                                               ; preds = %28
  br label %32

32:                                               ; preds = %31
  br label %33

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

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

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

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

79:                                               ; preds = %62, %45
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #9
  br label %80

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

81:                                               ; No predecessors!
  br label %82

82:                                               ; preds = %81, %28
  br label %83

83:                                               ; preds = %82
  br label %84

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

89:                                               ; preds = %84
  br label %90

90:                                               ; preds = %89
  br label %91

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

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

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

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

137:                                              ; preds = %120, %103
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #9
  br label %138

138:                                              ; preds = %137
  call void @exit(i32 noundef 1) #11
  unreachable

139:                                              ; No predecessors!
  br label %140

140:                                              ; preds = %139, %84
  br label %141

141:                                              ; preds = %140
  br label %142

142:                                              ; preds = %141
  br label %143

143:                                              ; preds = %142
  %144 = call i32 @s2n_init()
  %145 = icmp eq i32 %144, -1
  br i1 %145, label %146, label %197

146:                                              ; preds = %143
  br label %147

147:                                              ; preds = %146
  br label %148

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

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

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

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

194:                                              ; preds = %177, %160
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #9
  br label %195

195:                                              ; preds = %194
  call void @exit(i32 noundef 1) #11
  unreachable

196:                                              ; No predecessors!
  br label %197

197:                                              ; preds = %196, %143
  br label %198

198:                                              ; preds = %197
  br label %199

199:                                              ; preds = %198
  %200 = call zeroext i1 @is_32_bit_platform()
  br i1 %200, label %201, label %348

201:                                              ; preds = %199
  br label %202

202:                                              ; preds = %201
  br label %203

203:                                              ; preds = %202
  %204 = call i32 @s2n_cleanup()
  %205 = icmp eq i32 %204, -1
  br i1 %205, label %206, label %257

206:                                              ; preds = %203
  br label %207

207:                                              ; preds = %206
  br label %208

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

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

220:                                              ; preds = %215
  %221 = load i32, ptr %9, align 4, !tbaa !5
  %222 = call ptr @__errno_location() #10
  store i32 %221, ptr %222, align 4, !tbaa !5
  %223 = load ptr, ptr @stderr, align 8, !tbaa !9
  %224 = load i32, ptr @test_count, align 4, !tbaa !5
  %225 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %226 = load i32, ptr %225, align 4, !tbaa !5
  %227 = call ptr @s2n_strerror(i32 noundef %226, ptr noundef @.str.4)
  %228 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %229 = load i32, ptr %228, align 4, !tbaa !5
  %230 = call ptr @s2n_strerror_debug(i32 noundef %229, ptr noundef @.str.4)
  %231 = call ptr @__errno_location() #10
  %232 = load i32, ptr %231, align 4, !tbaa !5
  %233 = call ptr @strerror(i32 noundef %232) #9
  %234 = call ptr @__errno_location() #10
  %235 = load i32, ptr %234, align 4, !tbaa !5
  %236 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %223, ptr noundef @.str.2, i32 noundef %224, ptr noundef @.str.8, ptr noundef @.str.1, i32 noundef 43, ptr noundef %227, ptr noundef %230, ptr noundef %233, i32 noundef %235) #9
  br label %254

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

254:                                              ; preds = %237, %220
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #9
  br label %255

255:                                              ; preds = %254
  call void @exit(i32 noundef 1) #11
  unreachable

256:                                              ; No predecessors!
  br label %257

257:                                              ; preds = %256, %203
  br label %258

258:                                              ; preds = %257
  br label %259

259:                                              ; preds = %258
  br label %260

260:                                              ; preds = %259
  %261 = call i32 @s2n_in_unit_test_set(i1 noundef zeroext false)
  %262 = icmp eq i32 %261, -1
  br i1 %262, label %263, label %314

263:                                              ; preds = %260
  br label %264

264:                                              ; preds = %263
  br label %265

265:                                              ; preds = %264
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #9
  %266 = call ptr @__errno_location() #10
  %267 = load i32, ptr %266, align 4, !tbaa !5
  store i32 %267, ptr %10, align 4, !tbaa !5
  %268 = load ptr, ptr @stderr, align 8, !tbaa !9
  %269 = call i32 @s2n_print_stacktrace(ptr noundef %268)
  %270 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %271 = trunc i8 %270 to i1
  br i1 %271, label %272, label %294

272:                                              ; preds = %265
  %273 = load ptr, ptr @stderr, align 8, !tbaa !9
  %274 = call i32 @fileno(ptr noundef %273) #9
  %275 = call i32 @isatty(i32 noundef %274) #9
  %276 = icmp ne i32 %275, 0
  br i1 %276, label %277, label %294

277:                                              ; preds = %272
  %278 = load i32, ptr %10, align 4, !tbaa !5
  %279 = call ptr @__errno_location() #10
  store i32 %278, ptr %279, align 4, !tbaa !5
  %280 = load ptr, ptr @stderr, align 8, !tbaa !9
  %281 = load i32, ptr @test_count, align 4, !tbaa !5
  %282 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %283 = load i32, ptr %282, align 4, !tbaa !5
  %284 = call ptr @s2n_strerror(i32 noundef %283, ptr noundef @.str.4)
  %285 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %286 = load i32, ptr %285, align 4, !tbaa !5
  %287 = call ptr @s2n_strerror_debug(i32 noundef %286, ptr noundef @.str.4)
  %288 = call ptr @__errno_location() #10
  %289 = load i32, ptr %288, align 4, !tbaa !5
  %290 = call ptr @strerror(i32 noundef %289) #9
  %291 = call ptr @__errno_location() #10
  %292 = load i32, ptr %291, align 4, !tbaa !5
  %293 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %280, ptr noundef @.str.2, i32 noundef %281, ptr noundef @.str.9, ptr noundef @.str.1, i32 noundef 43, ptr noundef %284, ptr noundef %287, ptr noundef %290, i32 noundef %292) #9
  br label %311

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

311:                                              ; preds = %294, %277
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #9
  br label %312

312:                                              ; preds = %311
  call void @exit(i32 noundef 1) #11
  unreachable

313:                                              ; No predecessors!
  br label %314

314:                                              ; preds = %313, %260
  br label %315

315:                                              ; preds = %314
  %316 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %317 = trunc i8 %316 to i1
  br i1 %317, label %318, label %334

318:                                              ; preds = %315
  %319 = load ptr, ptr @stdout, align 8, !tbaa !9
  %320 = call i32 @fileno(ptr noundef %319) #9
  %321 = call i32 @isatty(i32 noundef %320) #9
  %322 = icmp ne i32 %321, 0
  br i1 %322, label %323, label %334

323:                                              ; preds = %318
  %324 = load i32, ptr @test_count, align 4, !tbaa !5
  %325 = icmp ne i32 %324, 0
  br i1 %325, label %326, label %330

326:                                              ; preds = %323
  %327 = load ptr, ptr @stdout, align 8, !tbaa !9
  %328 = load i32, ptr @test_count, align 4, !tbaa !5
  %329 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %327, ptr noundef @.str.10, i32 noundef %328) #9
  br label %333

330:                                              ; preds = %323
  %331 = load ptr, ptr @stdout, align 8, !tbaa !9
  %332 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %331, ptr noundef @.str.11) #9
  br label %333

333:                                              ; preds = %330, %326
  br label %345

334:                                              ; preds = %318, %315
  %335 = load i32, ptr @test_count, align 4, !tbaa !5
  %336 = icmp ne i32 %335, 0
  br i1 %336, label %337, label %341

337:                                              ; preds = %334
  %338 = load ptr, ptr @stdout, align 8, !tbaa !9
  %339 = load i32, ptr @test_count, align 4, !tbaa !5
  %340 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %338, ptr noundef @.str.12, i32 noundef %339) #9
  br label %344

341:                                              ; preds = %334
  %342 = load ptr, ptr @stdout, align 8, !tbaa !9
  %343 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %342, ptr noundef @.str.13) #9
  br label %344

344:                                              ; preds = %341, %337
  br label %345

345:                                              ; preds = %344, %333
  store i32 0, ptr %3, align 4
  br label %632

346:                                              ; No predecessors!
  br label %347

347:                                              ; preds = %346
  br label %348

348:                                              ; preds = %347, %199
  call void @llvm.lifetime.start.p0(i64 2, ptr %11) #9
  store i16 4350, ptr %11, align 2, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 2, ptr %12) #9
  store i16 3915, ptr %12, align 2, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #9
  store i64 4184, ptr %13, align 8, !tbaa !17
  %349 = load i64, ptr %13, align 8, !tbaa !17
  %350 = icmp ugt i64 %349, 4350
  br i1 %350, label %354, label %351

351:                                              ; preds = %348
  %352 = load i64, ptr %13, align 8, !tbaa !17
  %353 = icmp ult i64 %352, 3915
  br i1 %353, label %354, label %475

354:                                              ; preds = %351, %348
  call void @llvm.lifetime.start.p0(i64 123, ptr %14) #9
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %14, ptr align 16 @__const.main.message, i64 123, i1 false)
  call void @llvm.lifetime.start.p0(i64 223, ptr %15) #9
  call void @llvm.memset.p0.i64(ptr align 16 %15, i8 0, i64 223, i1 false)
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #9
  %355 = getelementptr inbounds [223 x i8], ptr %15, i64 0, i64 0
  %356 = getelementptr inbounds [123 x i8], ptr %14, i64 0, i64 0
  %357 = load i64, ptr %13, align 8, !tbaa !17
  %358 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %355, i64 noundef 223, ptr noundef %356, i64 noundef %357, i32 noundef 3915, i32 noundef 4350) #9
  store i32 %358, ptr %16, align 4, !tbaa !5
  br label %359

359:                                              ; preds = %354
  %360 = load i32, ptr @test_count, align 4, !tbaa !5
  %361 = add nsw i32 %360, 1
  store i32 %361, ptr @test_count, align 4, !tbaa !5
  %362 = load i32, ptr %16, align 4, !tbaa !5
  %363 = sext i32 %362 to i64
  %364 = icmp ult i64 %363, 223
  br i1 %364, label %418, label %365

365:                                              ; preds = %359
  br label %366

366:                                              ; preds = %365
  br label %367

367:                                              ; preds = %366
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #9
  %368 = call ptr @__errno_location() #10
  %369 = load i32, ptr %368, align 4, !tbaa !5
  store i32 %369, ptr %17, align 4, !tbaa !5
  %370 = load ptr, ptr @stderr, align 8, !tbaa !9
  %371 = call i32 @s2n_print_stacktrace(ptr noundef %370)
  %372 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %373 = trunc i8 %372 to i1
  br i1 %373, label %374, label %396

374:                                              ; preds = %367
  %375 = load ptr, ptr @stderr, align 8, !tbaa !9
  %376 = call i32 @fileno(ptr noundef %375) #9
  %377 = call i32 @isatty(i32 noundef %376) #9
  %378 = icmp ne i32 %377, 0
  br i1 %378, label %379, label %396

379:                                              ; preds = %374
  %380 = load i32, ptr %17, align 4, !tbaa !5
  %381 = call ptr @__errno_location() #10
  store i32 %380, ptr %381, align 4, !tbaa !5
  %382 = load ptr, ptr @stderr, align 8, !tbaa !9
  %383 = load i32, ptr @test_count, align 4, !tbaa !5
  %384 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %385 = load i32, ptr %384, align 4, !tbaa !5
  %386 = call ptr @s2n_strerror(i32 noundef %385, ptr noundef @.str.4)
  %387 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %388 = load i32, ptr %387, align 4, !tbaa !5
  %389 = call ptr @s2n_strerror_debug(i32 noundef %388, ptr noundef @.str.4)
  %390 = call ptr @__errno_location() #10
  %391 = load i32, ptr %390, align 4, !tbaa !5
  %392 = call ptr @strerror(i32 noundef %391) #9
  %393 = call ptr @__errno_location() #10
  %394 = load i32, ptr %393, align 4, !tbaa !5
  %395 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %382, ptr noundef @.str.2, i32 noundef %383, ptr noundef @.str.14, ptr noundef @.str.1, i32 noundef 58, ptr noundef %386, ptr noundef %389, ptr noundef %392, i32 noundef %394) #9
  br label %413

396:                                              ; preds = %374, %367
  %397 = load i32, ptr %17, align 4, !tbaa !5
  %398 = call ptr @__errno_location() #10
  store i32 %397, ptr %398, align 4, !tbaa !5
  %399 = load ptr, ptr @stderr, align 8, !tbaa !9
  %400 = load i32, ptr @test_count, align 4, !tbaa !5
  %401 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %402 = load i32, ptr %401, align 4, !tbaa !5
  %403 = call ptr @s2n_strerror(i32 noundef %402, ptr noundef @.str.4)
  %404 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %405 = load i32, ptr %404, align 4, !tbaa !5
  %406 = call ptr @s2n_strerror_debug(i32 noundef %405, ptr noundef @.str.4)
  %407 = call ptr @__errno_location() #10
  %408 = load i32, ptr %407, align 4, !tbaa !5
  %409 = call ptr @strerror(i32 noundef %408) #9
  %410 = call ptr @__errno_location() #10
  %411 = load i32, ptr %410, align 4, !tbaa !5
  %412 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %399, ptr noundef @.str.5, i32 noundef %400, ptr noundef @.str.14, ptr noundef @.str.1, i32 noundef 58, ptr noundef %403, ptr noundef %406, ptr noundef %409, i32 noundef %411) #9
  br label %413

413:                                              ; preds = %396, %379
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #9
  br label %414

414:                                              ; preds = %413
  br label %415

415:                                              ; preds = %414
  call void @exit(i32 noundef 1) #11
  unreachable

416:                                              ; No predecessors!
  br label %417

417:                                              ; preds = %416
  br label %418

418:                                              ; preds = %417, %359
  br label %419

419:                                              ; preds = %418
  br label %420

420:                                              ; preds = %419
  br label %421

421:                                              ; preds = %420
  br label %422

422:                                              ; preds = %421
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #9
  %423 = call ptr @__errno_location() #10
  %424 = load i32, ptr %423, align 4, !tbaa !5
  store i32 %424, ptr %18, align 4, !tbaa !5
  %425 = load ptr, ptr @stderr, align 8, !tbaa !9
  %426 = call i32 @s2n_print_stacktrace(ptr noundef %425)
  %427 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %428 = trunc i8 %427 to i1
  br i1 %428, label %429, label %452

429:                                              ; preds = %422
  %430 = load ptr, ptr @stderr, align 8, !tbaa !9
  %431 = call i32 @fileno(ptr noundef %430) #9
  %432 = call i32 @isatty(i32 noundef %431) #9
  %433 = icmp ne i32 %432, 0
  br i1 %433, label %434, label %452

434:                                              ; preds = %429
  %435 = load i32, ptr %18, align 4, !tbaa !5
  %436 = call ptr @__errno_location() #10
  store i32 %435, ptr %436, align 4, !tbaa !5
  %437 = load ptr, ptr @stderr, align 8, !tbaa !9
  %438 = load i32, ptr @test_count, align 4, !tbaa !5
  %439 = getelementptr inbounds [223 x i8], ptr %15, i64 0, i64 0
  %440 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %441 = load i32, ptr %440, align 4, !tbaa !5
  %442 = call ptr @s2n_strerror(i32 noundef %441, ptr noundef @.str.4)
  %443 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %444 = load i32, ptr %443, align 4, !tbaa !5
  %445 = call ptr @s2n_strerror_debug(i32 noundef %444, ptr noundef @.str.4)
  %446 = call ptr @__errno_location() #10
  %447 = load i32, ptr %446, align 4, !tbaa !5
  %448 = call ptr @strerror(i32 noundef %447) #9
  %449 = call ptr @__errno_location() #10
  %450 = load i32, ptr %449, align 4, !tbaa !5
  %451 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %437, ptr noundef @.str.2, i32 noundef %438, ptr noundef %439, ptr noundef @.str.1, i32 noundef 59, ptr noundef %442, ptr noundef %445, ptr noundef %448, i32 noundef %450) #9
  br label %470

452:                                              ; preds = %429, %422
  %453 = load i32, ptr %18, align 4, !tbaa !5
  %454 = call ptr @__errno_location() #10
  store i32 %453, ptr %454, align 4, !tbaa !5
  %455 = load ptr, ptr @stderr, align 8, !tbaa !9
  %456 = load i32, ptr @test_count, align 4, !tbaa !5
  %457 = getelementptr inbounds [223 x i8], ptr %15, i64 0, i64 0
  %458 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %459 = load i32, ptr %458, align 4, !tbaa !5
  %460 = call ptr @s2n_strerror(i32 noundef %459, ptr noundef @.str.4)
  %461 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %462 = load i32, ptr %461, align 4, !tbaa !5
  %463 = call ptr @s2n_strerror_debug(i32 noundef %462, ptr noundef @.str.4)
  %464 = call ptr @__errno_location() #10
  %465 = load i32, ptr %464, align 4, !tbaa !5
  %466 = call ptr @strerror(i32 noundef %465) #9
  %467 = call ptr @__errno_location() #10
  %468 = load i32, ptr %467, align 4, !tbaa !5
  %469 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %455, ptr noundef @.str.5, i32 noundef %456, ptr noundef %457, ptr noundef @.str.1, i32 noundef 59, ptr noundef %460, ptr noundef %463, ptr noundef %466, i32 noundef %468) #9
  br label %470

470:                                              ; preds = %452, %434
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #9
  br label %471

471:                                              ; preds = %470
  br label %472

472:                                              ; preds = %471
  call void @exit(i32 noundef 1) #11
  unreachable

473:                                              ; No predecessors!
  br label %474

474:                                              ; preds = %473
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #9
  call void @llvm.lifetime.end.p0(i64 223, ptr %15) #9
  call void @llvm.lifetime.end.p0(i64 123, ptr %14) #9
  br label %475

475:                                              ; preds = %474, %351
  br label %476

476:                                              ; preds = %475
  br label %477

477:                                              ; preds = %476
  %478 = call i32 @s2n_cleanup()
  %479 = icmp eq i32 %478, -1
  br i1 %479, label %480, label %533

480:                                              ; preds = %477
  br label %481

481:                                              ; preds = %480
  br label %482

482:                                              ; preds = %481
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #9
  %483 = call ptr @__errno_location() #10
  %484 = load i32, ptr %483, align 4, !tbaa !5
  store i32 %484, ptr %19, align 4, !tbaa !5
  %485 = load ptr, ptr @stderr, align 8, !tbaa !9
  %486 = call i32 @s2n_print_stacktrace(ptr noundef %485)
  %487 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %488 = trunc i8 %487 to i1
  br i1 %488, label %489, label %511

489:                                              ; preds = %482
  %490 = load ptr, ptr @stderr, align 8, !tbaa !9
  %491 = call i32 @fileno(ptr noundef %490) #9
  %492 = call i32 @isatty(i32 noundef %491) #9
  %493 = icmp ne i32 %492, 0
  br i1 %493, label %494, label %511

494:                                              ; preds = %489
  %495 = load i32, ptr %19, align 4, !tbaa !5
  %496 = call ptr @__errno_location() #10
  store i32 %495, ptr %496, align 4, !tbaa !5
  %497 = load ptr, ptr @stderr, align 8, !tbaa !9
  %498 = load i32, ptr @test_count, align 4, !tbaa !5
  %499 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %500 = load i32, ptr %499, align 4, !tbaa !5
  %501 = call ptr @s2n_strerror(i32 noundef %500, ptr noundef @.str.4)
  %502 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %503 = load i32, ptr %502, align 4, !tbaa !5
  %504 = call ptr @s2n_strerror_debug(i32 noundef %503, ptr noundef @.str.4)
  %505 = call ptr @__errno_location() #10
  %506 = load i32, ptr %505, align 4, !tbaa !5
  %507 = call ptr @strerror(i32 noundef %506) #9
  %508 = call ptr @__errno_location() #10
  %509 = load i32, ptr %508, align 4, !tbaa !5
  %510 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %497, ptr noundef @.str.2, i32 noundef %498, ptr noundef @.str.8, ptr noundef @.str.1, i32 noundef 62, ptr noundef %501, ptr noundef %504, ptr noundef %507, i32 noundef %509) #9
  br label %528

511:                                              ; preds = %489, %482
  %512 = load i32, ptr %19, align 4, !tbaa !5
  %513 = call ptr @__errno_location() #10
  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.4)
  %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.4)
  %522 = call ptr @__errno_location() #10
  %523 = load i32, ptr %522, align 4, !tbaa !5
  %524 = call ptr @strerror(i32 noundef %523) #9
  %525 = call ptr @__errno_location() #10
  %526 = load i32, ptr %525, align 4, !tbaa !5
  %527 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %514, ptr noundef @.str.5, i32 noundef %515, ptr noundef @.str.8, ptr noundef @.str.1, i32 noundef 62, ptr noundef %518, ptr noundef %521, ptr noundef %524, i32 noundef %526) #9
  br label %528

528:                                              ; preds = %511, %494
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #9
  br label %529

529:                                              ; preds = %528
  br label %530

530:                                              ; preds = %529
  call void @exit(i32 noundef 1) #11
  unreachable

531:                                              ; No predecessors!
  br label %532

532:                                              ; preds = %531
  br label %533

533:                                              ; preds = %532, %477
  br label %534

534:                                              ; preds = %533
  br label %535

535:                                              ; preds = %534
  br label %536

536:                                              ; preds = %535
  br label %537

537:                                              ; preds = %536
  %538 = call i32 @s2n_in_unit_test_set(i1 noundef zeroext false)
  %539 = icmp eq i32 %538, -1
  br i1 %539, label %540, label %593

540:                                              ; preds = %537
  br label %541

541:                                              ; preds = %540
  br label %542

542:                                              ; preds = %541
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #9
  %543 = call ptr @__errno_location() #10
  %544 = load i32, ptr %543, align 4, !tbaa !5
  store i32 %544, ptr %20, align 4, !tbaa !5
  %545 = load ptr, ptr @stderr, align 8, !tbaa !9
  %546 = call i32 @s2n_print_stacktrace(ptr noundef %545)
  %547 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %548 = trunc i8 %547 to i1
  br i1 %548, label %549, label %571

549:                                              ; preds = %542
  %550 = load ptr, ptr @stderr, align 8, !tbaa !9
  %551 = call i32 @fileno(ptr noundef %550) #9
  %552 = call i32 @isatty(i32 noundef %551) #9
  %553 = icmp ne i32 %552, 0
  br i1 %553, label %554, label %571

554:                                              ; preds = %549
  %555 = load i32, ptr %20, align 4, !tbaa !5
  %556 = call ptr @__errno_location() #10
  store i32 %555, ptr %556, align 4, !tbaa !5
  %557 = load ptr, ptr @stderr, align 8, !tbaa !9
  %558 = load i32, ptr @test_count, align 4, !tbaa !5
  %559 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %560 = load i32, ptr %559, align 4, !tbaa !5
  %561 = call ptr @s2n_strerror(i32 noundef %560, ptr noundef @.str.4)
  %562 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %563 = load i32, ptr %562, align 4, !tbaa !5
  %564 = call ptr @s2n_strerror_debug(i32 noundef %563, ptr noundef @.str.4)
  %565 = call ptr @__errno_location() #10
  %566 = load i32, ptr %565, align 4, !tbaa !5
  %567 = call ptr @strerror(i32 noundef %566) #9
  %568 = call ptr @__errno_location() #10
  %569 = load i32, ptr %568, align 4, !tbaa !5
  %570 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %557, ptr noundef @.str.2, i32 noundef %558, ptr noundef @.str.9, ptr noundef @.str.1, i32 noundef 62, ptr noundef %561, ptr noundef %564, ptr noundef %567, i32 noundef %569) #9
  br label %588

571:                                              ; preds = %549, %542
  %572 = load i32, ptr %20, align 4, !tbaa !5
  %573 = call ptr @__errno_location() #10
  store i32 %572, ptr %573, align 4, !tbaa !5
  %574 = load ptr, ptr @stderr, align 8, !tbaa !9
  %575 = load i32, ptr @test_count, align 4, !tbaa !5
  %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(i32 noundef %577, ptr noundef @.str.4)
  %579 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %580 = load i32, ptr %579, align 4, !tbaa !5
  %581 = call ptr @s2n_strerror_debug(i32 noundef %580, ptr noundef @.str.4)
  %582 = call ptr @__errno_location() #10
  %583 = load i32, ptr %582, align 4, !tbaa !5
  %584 = call ptr @strerror(i32 noundef %583) #9
  %585 = call ptr @__errno_location() #10
  %586 = load i32, ptr %585, align 4, !tbaa !5
  %587 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %574, ptr noundef @.str.5, i32 noundef %575, ptr noundef @.str.9, ptr noundef @.str.1, i32 noundef 62, ptr noundef %578, ptr noundef %581, ptr noundef %584, i32 noundef %586) #9
  br label %588

588:                                              ; preds = %571, %554
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #9
  br label %589

589:                                              ; preds = %588
  br label %590

590:                                              ; preds = %589
  call void @exit(i32 noundef 1) #11
  unreachable

591:                                              ; No predecessors!
  br label %592

592:                                              ; preds = %591
  br label %593

593:                                              ; preds = %592, %537
  br label %594

594:                                              ; preds = %593
  br label %595

595:                                              ; preds = %594
  %596 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %597 = trunc i8 %596 to i1
  br i1 %597, label %598, label %614

598:                                              ; preds = %595
  %599 = load ptr, ptr @stdout, align 8, !tbaa !9
  %600 = call i32 @fileno(ptr noundef %599) #9
  %601 = call i32 @isatty(i32 noundef %600) #9
  %602 = icmp ne i32 %601, 0
  br i1 %602, label %603, label %614

603:                                              ; preds = %598
  %604 = load i32, ptr @test_count, align 4, !tbaa !5
  %605 = icmp ne i32 %604, 0
  br i1 %605, label %606, label %610

606:                                              ; preds = %603
  %607 = load ptr, ptr @stdout, align 8, !tbaa !9
  %608 = load i32, ptr @test_count, align 4, !tbaa !5
  %609 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %607, ptr noundef @.str.10, i32 noundef %608) #9
  br label %613

610:                                              ; preds = %603
  %611 = load ptr, ptr @stdout, align 8, !tbaa !9
  %612 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %611, ptr noundef @.str.11) #9
  br label %613

613:                                              ; preds = %610, %606
  br label %625

614:                                              ; preds = %598, %595
  %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.12, i32 noundef %619) #9
  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.13) #9
  br label %624

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

625:                                              ; preds = %624, %613
  store i32 0, ptr %3, align 4
  store i32 1, ptr %21, align 4
  br label %630

626:                                              ; No predecessors!
  br label %627

627:                                              ; preds = %626
  br label %628

628:                                              ; preds = %627
  br label %629

629:                                              ; preds = %628
  store i32 0, ptr %21, align 4
  br label %630

630:                                              ; preds = %629, %625
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #9
  call void @llvm.lifetime.end.p0(i64 2, ptr %12) #9
  call void @llvm.lifetime.end.p0(i64 2, ptr %11) #9
  %631 = load i32, ptr %21, align 4
  switch i32 %631, label %634 [
    i32 0, label %632
    i32 1, label %632
  ]

632:                                              ; preds = %630, %630, %345
  %633 = load i32, ptr %3, align 4
  ret i32 %633

634:                                              ; preds = %630
  unreachable
}

; 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

declare i32 @s2n_cleanup() #2

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #7

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #8

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

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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #8 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #9 = { nounwind }
attributes #10 = { nounwind willreturn memory(none) }
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 = !{}
!15 = !{!16, !16, i64 0}
!16 = !{!"short", !7, i64 0}
!17 = !{!18, !18, i64 0}
!18 = !{!"long", !7, i64 0}


; 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 [83 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 [42 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [25 x i8], align 1

; Function Attrs: nounwind uwtable
declare dso_local zeroext i1 @is_32_bit_platform() local_unnamed_addr #0

; 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) #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
  %.not38 = icmp eq i32 %19, 0
  br i1 %.not38, 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) #7
  %27 = load i32, ptr %24, align 4, !tbaa !5
  %28 = tail call ptr @s2n_strerror_debug(i32 noundef %27, ptr noundef nonnull @.str.4) #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.5.sink, i32 noundef %23, ptr noundef nonnull @.str.3, ptr noundef nonnull @.str.1, i32 noundef 35, 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
  %.not37 = icmp eq i32 %48, 0
  br i1 %.not37, label %49, label %50

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

50:                                               ; preds = %45, %49
  %.str.5.sink49 = 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) #7
  %56 = load i32, ptr %53, align 4, !tbaa !5
  %57 = tail call ptr @s2n_strerror_debug(i32 noundef %56, ptr noundef nonnull @.str.4) #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.5.sink49, i32 noundef %52, ptr noundef nonnull @.str.6, ptr noundef nonnull @.str.1, i32 noundef 35, 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
  %.not36 = icmp eq i32 %75, 0
  br i1 %.not36, label %76, label %77

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

77:                                               ; preds = %72, %76
  %.str.5.sink60 = 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) #7
  %83 = load i32, ptr %80, align 4, !tbaa !5
  %84 = tail call ptr @s2n_strerror_debug(i32 noundef %83, ptr noundef nonnull @.str.4) #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.5.sink60, i32 noundef %79, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.1, i32 noundef 35, 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 = tail call zeroext i1 @is_32_bit_platform()
  %91 = tail call i32 @s2n_cleanup() #7
  %92 = icmp eq i32 %91, -1
  br i1 %90, label %93, label %166

93:                                               ; preds = %89
  br i1 %92, label %94, label %118

94:                                               ; preds = %93
  %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
  %.not35 = icmp eq i32 %104, 0
  br i1 %.not35, label %105, label %106

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

106:                                              ; preds = %101, %105
  %.str.5.sink71 = phi ptr [ @.str.5, %105 ], [ @.str.2, %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.4) #7
  %112 = load i32, ptr %109, align 4, !tbaa !5
  %113 = tail call ptr @s2n_strerror_debug(i32 noundef %112, ptr noundef nonnull @.str.4) #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.5.sink71, i32 noundef %108, ptr noundef nonnull @.str.8, ptr noundef nonnull @.str.1, i32 noundef 43, ptr noundef %111, ptr noundef %113, ptr noundef %115, i32 noundef %116) #9
  tail call void @exit(i32 noundef 1) #10
  unreachable

118:                                              ; preds = %93
  %119 = tail call i32 @s2n_in_unit_test_set(i1 noundef zeroext false) #7
  %120 = icmp eq i32 %119, -1
  br i1 %120, label %121, label %145

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

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

132:                                              ; preds = %128, %121
  br label %133

133:                                              ; preds = %128, %132
  %.str.5.sink82 = phi ptr [ @.str.5, %132 ], [ @.str.2, %128 ]
  store i32 %123, ptr %122, align 4, !tbaa !5
  %134 = load ptr, ptr @stderr, align 8, !tbaa !9
  %135 = load i32, ptr @test_count, align 4, !tbaa !5
  %136 = tail call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %137 = load i32, ptr %136, align 4, !tbaa !5
  %138 = tail call ptr @s2n_strerror(i32 noundef %137, ptr noundef nonnull @.str.4) #7
  %139 = load i32, ptr %136, align 4, !tbaa !5
  %140 = tail call ptr @s2n_strerror_debug(i32 noundef %139, ptr noundef nonnull @.str.4) #7
  %141 = load i32, ptr %122, align 4, !tbaa !5
  %142 = tail call ptr @strerror(i32 noundef %141) #7
  %143 = load i32, ptr %122, align 4, !tbaa !5
  %144 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %134, ptr noundef nonnull %.str.5.sink82, i32 noundef %135, ptr noundef nonnull @.str.9, ptr noundef nonnull @.str.1, i32 noundef 43, ptr noundef %138, ptr noundef %140, ptr noundef %142, i32 noundef %143) #9
  tail call void @exit(i32 noundef 1) #10
  unreachable

145:                                              ; preds = %118
  %146 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %147 = trunc nuw i8 %146 to i1
  br i1 %147, label %148, label %159

148:                                              ; preds = %145
  %149 = load ptr, ptr @stdout, align 8, !tbaa !9
  %150 = tail call i32 @fileno(ptr noundef %149) #7
  %151 = tail call i32 @isatty(i32 noundef %150) #7
  %.not31 = icmp eq i32 %151, 0
  br i1 %.not31, label %159, label %152

152:                                              ; preds = %148
  %153 = load i32, ptr @test_count, align 4, !tbaa !5
  %.not33 = icmp eq i32 %153, 0
  %154 = load ptr, ptr @stdout, align 8, !tbaa !9
  br i1 %.not33, label %157, label %155

155:                                              ; preds = %152
  %156 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %154, ptr noundef nonnull @.str.10, i32 noundef %153) #7
  br label %239

157:                                              ; preds = %152
  %158 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %154, ptr noundef nonnull @.str.11) #7
  br label %239

159:                                              ; preds = %148, %145
  %160 = load i32, ptr @test_count, align 4, !tbaa !5
  %.not32 = icmp eq i32 %160, 0
  %161 = load ptr, ptr @stdout, align 8, !tbaa !9
  br i1 %.not32, label %164, label %162

162:                                              ; preds = %159
  %163 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %161, ptr noundef nonnull @.str.12, i32 noundef %160) #7
  br label %239

164:                                              ; preds = %159
  %165 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %161, ptr noundef nonnull @.str.13) #7
  br label %239

166:                                              ; preds = %89
  br i1 %92, label %167, label %191

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

174:                                              ; preds = %167
  %175 = load ptr, ptr @stderr, align 8, !tbaa !9
  %176 = tail call i32 @fileno(ptr noundef %175) #7
  %177 = tail call i32 @isatty(i32 noundef %176) #7
  %.not30 = icmp eq i32 %177, 0
  br i1 %.not30, label %178, label %179

178:                                              ; preds = %174, %167
  br label %179

179:                                              ; preds = %174, %178
  %.str.5.sink93 = phi ptr [ @.str.5, %178 ], [ @.str.2, %174 ]
  store i32 %169, ptr %168, align 4, !tbaa !5
  %180 = load ptr, ptr @stderr, align 8, !tbaa !9
  %181 = load i32, ptr @test_count, align 4, !tbaa !5
  %182 = tail call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %183 = load i32, ptr %182, align 4, !tbaa !5
  %184 = tail call ptr @s2n_strerror(i32 noundef %183, ptr noundef nonnull @.str.4) #7
  %185 = load i32, ptr %182, align 4, !tbaa !5
  %186 = tail call ptr @s2n_strerror_debug(i32 noundef %185, ptr noundef nonnull @.str.4) #7
  %187 = load i32, ptr %168, align 4, !tbaa !5
  %188 = tail call ptr @strerror(i32 noundef %187) #7
  %189 = load i32, ptr %168, align 4, !tbaa !5
  %190 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %180, ptr noundef nonnull %.str.5.sink93, i32 noundef %181, ptr noundef nonnull @.str.8, ptr noundef nonnull @.str.1, i32 noundef 62, ptr noundef %184, ptr noundef %186, ptr noundef %188, i32 noundef %189) #9
  tail call void @exit(i32 noundef 1) #10
  unreachable

191:                                              ; preds = %166
  %192 = tail call i32 @s2n_in_unit_test_set(i1 noundef zeroext false) #7
  %193 = icmp eq i32 %192, -1
  br i1 %193, label %194, label %218

194:                                              ; preds = %191
  %195 = tail call ptr @__errno_location() #8
  %196 = load i32, ptr %195, align 4, !tbaa !5
  %197 = load ptr, ptr @stderr, align 8, !tbaa !9
  %198 = tail call i32 @s2n_print_stacktrace(ptr noundef %197) #7
  %199 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %200 = trunc nuw i8 %199 to i1
  br i1 %200, label %201, label %205

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

205:                                              ; preds = %201, %194
  br label %206

206:                                              ; preds = %201, %205
  %.str.5.sink104 = phi ptr [ @.str.5, %205 ], [ @.str.2, %201 ]
  store i32 %196, ptr %195, align 4, !tbaa !5
  %207 = load ptr, ptr @stderr, align 8, !tbaa !9
  %208 = load i32, ptr @test_count, align 4, !tbaa !5
  %209 = tail call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %210 = load i32, ptr %209, align 4, !tbaa !5
  %211 = tail call ptr @s2n_strerror(i32 noundef %210, ptr noundef nonnull @.str.4) #7
  %212 = load i32, ptr %209, align 4, !tbaa !5
  %213 = tail call ptr @s2n_strerror_debug(i32 noundef %212, ptr noundef nonnull @.str.4) #7
  %214 = load i32, ptr %195, align 4, !tbaa !5
  %215 = tail call ptr @strerror(i32 noundef %214) #7
  %216 = load i32, ptr %195, align 4, !tbaa !5
  %217 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %207, ptr noundef nonnull %.str.5.sink104, i32 noundef %208, ptr noundef nonnull @.str.9, ptr noundef nonnull @.str.1, i32 noundef 62, ptr noundef %211, ptr noundef %213, ptr noundef %215, i32 noundef %216) #9
  tail call void @exit(i32 noundef 1) #10
  unreachable

218:                                              ; preds = %191
  %219 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %220 = trunc nuw i8 %219 to i1
  br i1 %220, label %221, label %232

221:                                              ; preds = %218
  %222 = load ptr, ptr @stdout, align 8, !tbaa !9
  %223 = tail call i32 @fileno(ptr noundef %222) #7
  %224 = tail call i32 @isatty(i32 noundef %223) #7
  %.not = icmp eq i32 %224, 0
  br i1 %.not, label %232, label %225

225:                                              ; preds = %221
  %226 = load i32, ptr @test_count, align 4, !tbaa !5
  %.not28 = icmp eq i32 %226, 0
  %227 = load ptr, ptr @stdout, align 8, !tbaa !9
  br i1 %.not28, label %230, label %228

228:                                              ; preds = %225
  %229 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %227, ptr noundef nonnull @.str.10, i32 noundef %226) #7
  br label %239

230:                                              ; preds = %225
  %231 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %227, ptr noundef nonnull @.str.11) #7
  br label %239

232:                                              ; preds = %221, %218
  %233 = load i32, ptr @test_count, align 4, !tbaa !5
  %.not27 = icmp eq i32 %233, 0
  %234 = load ptr, ptr @stdout, align 8, !tbaa !9
  br i1 %.not27, label %237, label %235

235:                                              ; preds = %232
  %236 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %234, ptr noundef nonnull @.str.12, i32 noundef %233) #7
  br label %239

237:                                              ; preds = %232
  %238 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %234, ptr noundef nonnull @.str.13) #7
  br label %239

239:                                              ; preds = %230, %228, %237, %235, %157, %155, %164, %162
  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

declare i32 @s2n_cleanup() local_unnamed_addr #2

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 = { 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,PromotePass,SROAPass,SimplifyCFGPass,TailCallElimPass