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

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

%struct.s2n_signature_preferences = type { i8, ptr }
%struct.s2n_security_policy_selection = type { ptr, ptr, i8 }
%struct.s2n_signature_scheme = type { i16, ptr, i32, i32, i8, i8, i16, ptr }
%struct.s2n_security_policy = type { i8, ptr, ptr, ptr, ptr, ptr, ptr, i8, [2 x i8] }

@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 [84 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
@s2n_signature_preferences_all = external constant %struct.s2n_signature_preferences, align 8
@security_policy_selection = external global [0 x %struct.s2n_security_policy_selection], align 8
@.str.8 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [58 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [67 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [51 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [62 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [59 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [78 x i8], align 1
@s2n_rsa_pkcs1_md5_sha1 = external constant %struct.s2n_signature_scheme, align 8
@s2n_null_sig_scheme = external constant %struct.s2n_signature_scheme, align 8
@.str.15 = external hidden unnamed_addr constant [55 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [72 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [25 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca ptr, align 8
  %10 = alloca i64, align 8
  %11 = alloca ptr, align 8
  %12 = alloca i8, align 1
  %13 = alloca i64, align 8
  %14 = alloca i32, align 4
  %15 = alloca ptr, align 8
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca i64, align 8
  %23 = alloca ptr, align 8
  %24 = alloca i32, align 4
  %25 = alloca i32, align 4
  %26 = alloca i8, align 1
  %27 = alloca i64, align 8
  %28 = alloca i32, align 4
  %29 = alloca i32, align 4
  %30 = alloca i32, align 4
  %31 = 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 %32

32:                                               ; preds = %2
  br label %33

33:                                               ; preds = %32
  store i32 0, ptr @test_count, align 4, !tbaa !5
  %34 = load ptr, ptr @stdout, align 8, !tbaa !9
  %35 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %34, ptr noundef @.str, ptr noundef @.str.1) #7
  %36 = load ptr, ptr @stdout, align 8, !tbaa !9
  %37 = call i32 @fflush(ptr noundef %36)
  br label %38

38:                                               ; preds = %33
  %39 = call i32 @s2n_in_unit_test_set(i1 noundef zeroext true)
  %40 = icmp eq i32 %39, -1
  br i1 %40, label %41, label %92

41:                                               ; preds = %38
  br label %42

42:                                               ; preds = %41
  br label %43

43:                                               ; preds = %42
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #7
  %44 = call ptr @__errno_location() #8
  %45 = load i32, ptr %44, align 4, !tbaa !5
  store i32 %45, ptr %6, align 4, !tbaa !5
  %46 = load ptr, ptr @stderr, align 8, !tbaa !9
  %47 = call i32 @s2n_print_stacktrace(ptr noundef %46)
  %48 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %49 = trunc i8 %48 to i1
  br i1 %49, label %50, label %72

50:                                               ; preds = %43
  %51 = load ptr, ptr @stderr, align 8, !tbaa !9
  %52 = call i32 @fileno(ptr noundef %51) #7
  %53 = call i32 @isatty(i32 noundef %52) #7
  %54 = icmp ne i32 %53, 0
  br i1 %54, label %55, label %72

55:                                               ; preds = %50
  %56 = load i32, ptr %6, align 4, !tbaa !5
  %57 = call ptr @__errno_location() #8
  store i32 %56, ptr %57, align 4, !tbaa !5
  %58 = load ptr, ptr @stderr, align 8, !tbaa !9
  %59 = load i32, ptr @test_count, align 4, !tbaa !5
  %60 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %61 = load i32, ptr %60, align 4, !tbaa !5
  %62 = call ptr @s2n_strerror(i32 noundef %61, ptr noundef @.str.4)
  %63 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %64 = load i32, ptr %63, align 4, !tbaa !5
  %65 = call ptr @s2n_strerror_debug(i32 noundef %64, ptr noundef @.str.4)
  %66 = call ptr @__errno_location() #8
  %67 = load i32, ptr %66, align 4, !tbaa !5
  %68 = call ptr @strerror(i32 noundef %67) #7
  %69 = call ptr @__errno_location() #8
  %70 = load i32, ptr %69, align 4, !tbaa !5
  %71 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %58, ptr noundef @.str.2, i32 noundef %59, ptr noundef @.str.3, ptr noundef @.str.1, i32 noundef 22, ptr noundef %62, ptr noundef %65, ptr noundef %68, i32 noundef %70) #7
  br label %89

72:                                               ; preds = %50, %43
  %73 = load i32, ptr %6, align 4, !tbaa !5
  %74 = call ptr @__errno_location() #8
  store i32 %73, ptr %74, align 4, !tbaa !5
  %75 = load ptr, ptr @stderr, align 8, !tbaa !9
  %76 = load i32, ptr @test_count, align 4, !tbaa !5
  %77 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %78 = load i32, ptr %77, align 4, !tbaa !5
  %79 = call ptr @s2n_strerror(i32 noundef %78, ptr noundef @.str.4)
  %80 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %81 = load i32, ptr %80, align 4, !tbaa !5
  %82 = call ptr @s2n_strerror_debug(i32 noundef %81, ptr noundef @.str.4)
  %83 = call ptr @__errno_location() #8
  %84 = load i32, ptr %83, align 4, !tbaa !5
  %85 = call ptr @strerror(i32 noundef %84) #7
  %86 = call ptr @__errno_location() #8
  %87 = load i32, ptr %86, align 4, !tbaa !5
  %88 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %75, ptr noundef @.str.5, i32 noundef %76, ptr noundef @.str.3, ptr noundef @.str.1, i32 noundef 22, ptr noundef %79, ptr noundef %82, ptr noundef %85, i32 noundef %87) #7
  br label %89

89:                                               ; preds = %72, %55
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #7
  br label %90

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

91:                                               ; No predecessors!
  br label %92

92:                                               ; preds = %91, %38
  br label %93

93:                                               ; preds = %92
  br label %94

94:                                               ; preds = %93
  %95 = load i32, ptr @test_count, align 4, !tbaa !5
  %96 = add nsw i32 %95, 1
  store i32 %96, ptr @test_count, align 4, !tbaa !5
  %97 = call i32 @s2n_enable_atexit()
  %98 = icmp eq i32 %97, -1
  br i1 %98, label %99, label %150

99:                                               ; preds = %94
  br label %100

100:                                              ; preds = %99
  br label %101

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

108:                                              ; preds = %101
  %109 = load ptr, ptr @stderr, align 8, !tbaa !9
  %110 = call i32 @fileno(ptr noundef %109) #7
  %111 = call i32 @isatty(i32 noundef %110) #7
  %112 = icmp ne i32 %111, 0
  br i1 %112, label %113, label %130

113:                                              ; preds = %108
  %114 = load i32, ptr %7, align 4, !tbaa !5
  %115 = call ptr @__errno_location() #8
  store i32 %114, ptr %115, align 4, !tbaa !5
  %116 = load ptr, ptr @stderr, align 8, !tbaa !9
  %117 = load i32, ptr @test_count, align 4, !tbaa !5
  %118 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %119 = load i32, ptr %118, align 4, !tbaa !5
  %120 = call ptr @s2n_strerror(i32 noundef %119, ptr noundef @.str.4)
  %121 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %122 = load i32, ptr %121, align 4, !tbaa !5
  %123 = call ptr @s2n_strerror_debug(i32 noundef %122, ptr noundef @.str.4)
  %124 = call ptr @__errno_location() #8
  %125 = load i32, ptr %124, align 4, !tbaa !5
  %126 = call ptr @strerror(i32 noundef %125) #7
  %127 = call ptr @__errno_location() #8
  %128 = load i32, ptr %127, align 4, !tbaa !5
  %129 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %116, ptr noundef @.str.2, i32 noundef %117, ptr noundef @.str.6, ptr noundef @.str.1, i32 noundef 22, ptr noundef %120, ptr noundef %123, ptr noundef %126, i32 noundef %128) #7
  br label %147

130:                                              ; preds = %108, %101
  %131 = load i32, ptr %7, align 4, !tbaa !5
  %132 = call ptr @__errno_location() #8
  store i32 %131, ptr %132, align 4, !tbaa !5
  %133 = load ptr, ptr @stderr, align 8, !tbaa !9
  %134 = load i32, ptr @test_count, align 4, !tbaa !5
  %135 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %136 = load i32, ptr %135, align 4, !tbaa !5
  %137 = call ptr @s2n_strerror(i32 noundef %136, ptr noundef @.str.4)
  %138 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %139 = load i32, ptr %138, align 4, !tbaa !5
  %140 = call ptr @s2n_strerror_debug(i32 noundef %139, ptr noundef @.str.4)
  %141 = call ptr @__errno_location() #8
  %142 = load i32, ptr %141, align 4, !tbaa !5
  %143 = call ptr @strerror(i32 noundef %142) #7
  %144 = call ptr @__errno_location() #8
  %145 = load i32, ptr %144, align 4, !tbaa !5
  %146 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %133, ptr noundef @.str.5, i32 noundef %134, ptr noundef @.str.6, ptr noundef @.str.1, i32 noundef 22, ptr noundef %137, ptr noundef %140, ptr noundef %143, i32 noundef %145) #7
  br label %147

147:                                              ; preds = %130, %113
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #7
  br label %148

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

149:                                              ; No predecessors!
  br label %150

150:                                              ; preds = %149, %94
  br label %151

151:                                              ; preds = %150
  br label %152

152:                                              ; preds = %151
  br label %153

153:                                              ; preds = %152
  %154 = call i32 @s2n_init()
  %155 = icmp eq i32 %154, -1
  br i1 %155, label %156, label %207

156:                                              ; preds = %153
  br label %157

157:                                              ; preds = %156
  br label %158

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

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

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

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

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

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

206:                                              ; No predecessors!
  br label %207

207:                                              ; preds = %206, %153
  br label %208

208:                                              ; preds = %207
  br label %209

209:                                              ; preds = %208
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #7
  store ptr @s2n_signature_preferences_all, ptr %9, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #7
  store i64 0, ptr %10, align 8, !tbaa !15
  br label %210

210:                                              ; preds = %942, %209
  %211 = load i64, ptr %10, align 8, !tbaa !15
  %212 = getelementptr inbounds [0 x %struct.s2n_security_policy_selection], ptr @security_policy_selection, i64 0, i64 %211
  %213 = getelementptr inbounds %struct.s2n_security_policy_selection, ptr %212, i32 0, i32 0
  %214 = load ptr, ptr %213, align 8, !tbaa !17
  %215 = icmp ne ptr %214, null
  br i1 %215, label %216, label %945

216:                                              ; preds = %210
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #7
  %217 = load i64, ptr %10, align 8, !tbaa !15
  %218 = getelementptr inbounds [0 x %struct.s2n_security_policy_selection], ptr @security_policy_selection, i64 0, i64 %217
  %219 = getelementptr inbounds %struct.s2n_security_policy_selection, ptr %218, i32 0, i32 1
  %220 = load ptr, ptr %219, align 8, !tbaa !19
  %221 = getelementptr inbounds %struct.s2n_security_policy, ptr %220, i32 0, i32 3
  %222 = load ptr, ptr %221, align 8, !tbaa !20
  store ptr %222, ptr %11, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %12) #7
  store i8 0, ptr %12, align 1, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #7
  store i64 0, ptr %13, align 8, !tbaa !15
  br label %223

223:                                              ; preds = %872, %216
  %224 = load i64, ptr %13, align 8, !tbaa !15
  %225 = load ptr, ptr %11, align 8, !tbaa !9
  %226 = getelementptr inbounds %struct.s2n_signature_preferences, ptr %225, i32 0, i32 0
  %227 = load i8, ptr %226, align 8, !tbaa !22
  %228 = zext i8 %227 to i64
  %229 = icmp ult i64 %224, %228
  br i1 %229, label %231, label %230

230:                                              ; preds = %223
  store i32 26, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #7
  br label %875

231:                                              ; preds = %223
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #7
  %232 = load ptr, ptr %11, align 8, !tbaa !9
  %233 = getelementptr inbounds %struct.s2n_signature_preferences, ptr %232, i32 0, i32 1
  %234 = load ptr, ptr %233, align 8, !tbaa !24
  %235 = load i64, ptr %13, align 8, !tbaa !15
  %236 = getelementptr inbounds ptr, ptr %234, i64 %235
  %237 = load ptr, ptr %236, align 8, !tbaa !9
  store ptr %237, ptr %15, align 8, !tbaa !9
  br label %238

238:                                              ; preds = %231
  %239 = load i32, ptr @test_count, align 4, !tbaa !5
  %240 = add nsw i32 %239, 1
  store i32 %240, ptr @test_count, align 4, !tbaa !5
  %241 = load ptr, ptr %15, align 8, !tbaa !9
  %242 = getelementptr inbounds %struct.s2n_signature_scheme, ptr %241, i32 0, i32 0
  %243 = load i16, ptr %242, align 8, !tbaa !25
  %244 = zext i16 %243 to i32
  %245 = icmp eq i32 %244, 0
  br i1 %245, label %246, label %299

246:                                              ; preds = %238
  br label %247

247:                                              ; preds = %246
  br label %248

248:                                              ; preds = %247
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #7
  %249 = call ptr @__errno_location() #8
  %250 = load i32, ptr %249, align 4, !tbaa !5
  store i32 %250, ptr %16, align 4, !tbaa !5
  %251 = load ptr, ptr @stderr, align 8, !tbaa !9
  %252 = call i32 @s2n_print_stacktrace(ptr noundef %251)
  %253 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %254 = trunc i8 %253 to i1
  br i1 %254, label %255, label %277

255:                                              ; preds = %248
  %256 = load ptr, ptr @stderr, align 8, !tbaa !9
  %257 = call i32 @fileno(ptr noundef %256) #7
  %258 = call i32 @isatty(i32 noundef %257) #7
  %259 = icmp ne i32 %258, 0
  br i1 %259, label %260, label %277

260:                                              ; preds = %255
  %261 = load i32, ptr %16, align 4, !tbaa !5
  %262 = call ptr @__errno_location() #8
  store i32 %261, ptr %262, align 4, !tbaa !5
  %263 = load ptr, ptr @stderr, align 8, !tbaa !9
  %264 = load i32, ptr @test_count, align 4, !tbaa !5
  %265 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %266 = load i32, ptr %265, align 4, !tbaa !5
  %267 = call ptr @s2n_strerror(i32 noundef %266, ptr noundef @.str.4)
  %268 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %269 = load i32, ptr %268, align 4, !tbaa !5
  %270 = call ptr @s2n_strerror_debug(i32 noundef %269, ptr noundef @.str.4)
  %271 = call ptr @__errno_location() #8
  %272 = load i32, ptr %271, align 4, !tbaa !5
  %273 = call ptr @strerror(i32 noundef %272) #7
  %274 = call ptr @__errno_location() #8
  %275 = load i32, ptr %274, align 4, !tbaa !5
  %276 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %263, ptr noundef @.str.2, i32 noundef %264, ptr noundef @.str.8, ptr noundef @.str.1, i32 noundef 37, ptr noundef %267, ptr noundef %270, ptr noundef %273, i32 noundef %275) #7
  br label %294

277:                                              ; preds = %255, %248
  %278 = load i32, ptr %16, align 4, !tbaa !5
  %279 = call ptr @__errno_location() #8
  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() #8
  %289 = load i32, ptr %288, align 4, !tbaa !5
  %290 = call ptr @strerror(i32 noundef %289) #7
  %291 = call ptr @__errno_location() #8
  %292 = load i32, ptr %291, align 4, !tbaa !5
  %293 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %280, ptr noundef @.str.5, i32 noundef %281, ptr noundef @.str.8, ptr noundef @.str.1, i32 noundef 37, ptr noundef %284, ptr noundef %287, ptr noundef %290, i32 noundef %292) #7
  br label %294

294:                                              ; preds = %277, %260
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #7
  br label %295

295:                                              ; preds = %294
  br label %296

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

297:                                              ; No predecessors!
  br label %298

298:                                              ; preds = %297
  br label %299

299:                                              ; preds = %298, %238
  br label %300

300:                                              ; preds = %299
  br label %301

301:                                              ; preds = %300
  br label %302

302:                                              ; preds = %301
  %303 = load i32, ptr @test_count, align 4, !tbaa !5
  %304 = add nsw i32 %303, 1
  store i32 %304, ptr @test_count, align 4, !tbaa !5
  %305 = load ptr, ptr %15, align 8, !tbaa !9
  %306 = getelementptr inbounds %struct.s2n_signature_scheme, ptr %305, i32 0, i32 2
  %307 = load i32, ptr %306, align 8, !tbaa !28
  %308 = icmp eq i32 %307, 0
  br i1 %308, label %309, label %362

309:                                              ; preds = %302
  br label %310

310:                                              ; preds = %309
  br label %311

311:                                              ; preds = %310
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #7
  %312 = call ptr @__errno_location() #8
  %313 = load i32, ptr %312, align 4, !tbaa !5
  store i32 %313, ptr %17, align 4, !tbaa !5
  %314 = load ptr, ptr @stderr, align 8, !tbaa !9
  %315 = call i32 @s2n_print_stacktrace(ptr noundef %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 %340

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

323:                                              ; preds = %318
  %324 = load i32, ptr %17, align 4, !tbaa !5
  %325 = call ptr @__errno_location() #8
  store i32 %324, ptr %325, align 4, !tbaa !5
  %326 = load ptr, ptr @stderr, align 8, !tbaa !9
  %327 = load i32, ptr @test_count, align 4, !tbaa !5
  %328 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %329 = load i32, ptr %328, align 4, !tbaa !5
  %330 = call ptr @s2n_strerror(i32 noundef %329, ptr noundef @.str.4)
  %331 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %332 = load i32, ptr %331, align 4, !tbaa !5
  %333 = call ptr @s2n_strerror_debug(i32 noundef %332, ptr noundef @.str.4)
  %334 = call ptr @__errno_location() #8
  %335 = load i32, ptr %334, align 4, !tbaa !5
  %336 = call ptr @strerror(i32 noundef %335) #7
  %337 = call ptr @__errno_location() #8
  %338 = load i32, ptr %337, align 4, !tbaa !5
  %339 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %326, ptr noundef @.str.2, i32 noundef %327, ptr noundef @.str.9, ptr noundef @.str.1, i32 noundef 38, ptr noundef %330, ptr noundef %333, ptr noundef %336, i32 noundef %338) #7
  br label %357

340:                                              ; preds = %318, %311
  %341 = load i32, ptr %17, align 4, !tbaa !5
  %342 = call ptr @__errno_location() #8
  store i32 %341, ptr %342, align 4, !tbaa !5
  %343 = load ptr, ptr @stderr, align 8, !tbaa !9
  %344 = load i32, ptr @test_count, align 4, !tbaa !5
  %345 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %346 = load i32, ptr %345, align 4, !tbaa !5
  %347 = call ptr @s2n_strerror(i32 noundef %346, ptr noundef @.str.4)
  %348 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %349 = load i32, ptr %348, align 4, !tbaa !5
  %350 = call ptr @s2n_strerror_debug(i32 noundef %349, ptr noundef @.str.4)
  %351 = call ptr @__errno_location() #8
  %352 = load i32, ptr %351, align 4, !tbaa !5
  %353 = call ptr @strerror(i32 noundef %352) #7
  %354 = call ptr @__errno_location() #8
  %355 = load i32, ptr %354, align 4, !tbaa !5
  %356 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %343, ptr noundef @.str.5, i32 noundef %344, ptr noundef @.str.9, ptr noundef @.str.1, i32 noundef 38, ptr noundef %347, ptr noundef %350, ptr noundef %353, i32 noundef %355) #7
  br label %357

357:                                              ; preds = %340, %323
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #7
  br label %358

358:                                              ; preds = %357
  br label %359

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

360:                                              ; No predecessors!
  br label %361

361:                                              ; preds = %360
  br label %362

362:                                              ; preds = %361, %302
  br label %363

363:                                              ; preds = %362
  br label %364

364:                                              ; preds = %363
  br label %365

365:                                              ; preds = %364
  %366 = load i32, ptr @test_count, align 4, !tbaa !5
  %367 = add nsw i32 %366, 1
  store i32 %367, ptr @test_count, align 4, !tbaa !5
  %368 = load ptr, ptr %15, align 8, !tbaa !9
  %369 = getelementptr inbounds %struct.s2n_signature_scheme, ptr %368, i32 0, i32 3
  %370 = load i32, ptr %369, align 4, !tbaa !29
  %371 = icmp eq i32 %370, 0
  br i1 %371, label %372, label %425

372:                                              ; preds = %365
  br label %373

373:                                              ; preds = %372
  br label %374

374:                                              ; preds = %373
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #7
  %375 = call ptr @__errno_location() #8
  %376 = load i32, ptr %375, align 4, !tbaa !5
  store i32 %376, ptr %18, align 4, !tbaa !5
  %377 = load ptr, ptr @stderr, align 8, !tbaa !9
  %378 = call i32 @s2n_print_stacktrace(ptr noundef %377)
  %379 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %380 = trunc i8 %379 to i1
  br i1 %380, label %381, label %403

381:                                              ; preds = %374
  %382 = load ptr, ptr @stderr, align 8, !tbaa !9
  %383 = call i32 @fileno(ptr noundef %382) #7
  %384 = call i32 @isatty(i32 noundef %383) #7
  %385 = icmp ne i32 %384, 0
  br i1 %385, label %386, label %403

386:                                              ; preds = %381
  %387 = load i32, ptr %18, align 4, !tbaa !5
  %388 = call ptr @__errno_location() #8
  store i32 %387, ptr %388, align 4, !tbaa !5
  %389 = load ptr, ptr @stderr, align 8, !tbaa !9
  %390 = load i32, ptr @test_count, align 4, !tbaa !5
  %391 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %392 = load i32, ptr %391, align 4, !tbaa !5
  %393 = call ptr @s2n_strerror(i32 noundef %392, ptr noundef @.str.4)
  %394 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %395 = load i32, ptr %394, align 4, !tbaa !5
  %396 = call ptr @s2n_strerror_debug(i32 noundef %395, ptr noundef @.str.4)
  %397 = call ptr @__errno_location() #8
  %398 = load i32, ptr %397, align 4, !tbaa !5
  %399 = call ptr @strerror(i32 noundef %398) #7
  %400 = call ptr @__errno_location() #8
  %401 = load i32, ptr %400, align 4, !tbaa !5
  %402 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %389, ptr noundef @.str.2, i32 noundef %390, ptr noundef @.str.10, ptr noundef @.str.1, i32 noundef 39, ptr noundef %393, ptr noundef %396, ptr noundef %399, i32 noundef %401) #7
  br label %420

403:                                              ; preds = %381, %374
  %404 = load i32, ptr %18, align 4, !tbaa !5
  %405 = call ptr @__errno_location() #8
  store i32 %404, ptr %405, align 4, !tbaa !5
  %406 = load ptr, ptr @stderr, align 8, !tbaa !9
  %407 = load i32, ptr @test_count, align 4, !tbaa !5
  %408 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %409 = load i32, ptr %408, align 4, !tbaa !5
  %410 = call ptr @s2n_strerror(i32 noundef %409, ptr noundef @.str.4)
  %411 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %412 = load i32, ptr %411, align 4, !tbaa !5
  %413 = call ptr @s2n_strerror_debug(i32 noundef %412, ptr noundef @.str.4)
  %414 = call ptr @__errno_location() #8
  %415 = load i32, ptr %414, align 4, !tbaa !5
  %416 = call ptr @strerror(i32 noundef %415) #7
  %417 = call ptr @__errno_location() #8
  %418 = load i32, ptr %417, align 4, !tbaa !5
  %419 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %406, ptr noundef @.str.5, i32 noundef %407, ptr noundef @.str.10, ptr noundef @.str.1, i32 noundef 39, ptr noundef %410, ptr noundef %413, ptr noundef %416, i32 noundef %418) #7
  br label %420

420:                                              ; preds = %403, %386
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #7
  br label %421

421:                                              ; preds = %420
  br label %422

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

423:                                              ; No predecessors!
  br label %424

424:                                              ; preds = %423
  br label %425

425:                                              ; preds = %424, %365
  br label %426

426:                                              ; preds = %425
  br label %427

427:                                              ; preds = %426
  br label %428

428:                                              ; preds = %427
  %429 = load i32, ptr @test_count, align 4, !tbaa !5
  %430 = add nsw i32 %429, 1
  store i32 %430, ptr @test_count, align 4, !tbaa !5
  %431 = load ptr, ptr %15, align 8, !tbaa !9
  %432 = getelementptr inbounds %struct.s2n_signature_scheme, ptr %431, i32 0, i32 6
  %433 = load i16, ptr %432, align 2, !tbaa !30
  %434 = zext i16 %433 to i32
  %435 = icmp eq i32 %434, 0
  br i1 %435, label %436, label %489

436:                                              ; preds = %428
  br label %437

437:                                              ; preds = %436
  br label %438

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

445:                                              ; preds = %438
  %446 = load ptr, ptr @stderr, align 8, !tbaa !9
  %447 = call i32 @fileno(ptr noundef %446) #7
  %448 = call i32 @isatty(i32 noundef %447) #7
  %449 = icmp ne i32 %448, 0
  br i1 %449, label %450, label %467

450:                                              ; preds = %445
  %451 = load i32, ptr %19, align 4, !tbaa !5
  %452 = call ptr @__errno_location() #8
  store i32 %451, ptr %452, align 4, !tbaa !5
  %453 = load ptr, ptr @stderr, align 8, !tbaa !9
  %454 = load i32, ptr @test_count, align 4, !tbaa !5
  %455 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %456 = load i32, ptr %455, align 4, !tbaa !5
  %457 = call ptr @s2n_strerror(i32 noundef %456, ptr noundef @.str.4)
  %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_debug(i32 noundef %459, ptr noundef @.str.4)
  %461 = call ptr @__errno_location() #8
  %462 = load i32, ptr %461, align 4, !tbaa !5
  %463 = call ptr @strerror(i32 noundef %462) #7
  %464 = call ptr @__errno_location() #8
  %465 = load i32, ptr %464, align 4, !tbaa !5
  %466 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %453, ptr noundef @.str.2, i32 noundef %454, ptr noundef @.str.11, ptr noundef @.str.1, i32 noundef 40, ptr noundef %457, ptr noundef %460, ptr noundef %463, i32 noundef %465) #7
  br label %484

467:                                              ; preds = %445, %438
  %468 = load i32, ptr %19, align 4, !tbaa !5
  %469 = call ptr @__errno_location() #8
  store i32 %468, ptr %469, align 4, !tbaa !5
  %470 = load ptr, ptr @stderr, align 8, !tbaa !9
  %471 = load i32, ptr @test_count, align 4, !tbaa !5
  %472 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %473 = load i32, ptr %472, align 4, !tbaa !5
  %474 = call ptr @s2n_strerror(i32 noundef %473, ptr noundef @.str.4)
  %475 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %476 = load i32, ptr %475, align 4, !tbaa !5
  %477 = call ptr @s2n_strerror_debug(i32 noundef %476, ptr noundef @.str.4)
  %478 = call ptr @__errno_location() #8
  %479 = load i32, ptr %478, align 4, !tbaa !5
  %480 = call ptr @strerror(i32 noundef %479) #7
  %481 = call ptr @__errno_location() #8
  %482 = load i32, ptr %481, align 4, !tbaa !5
  %483 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %470, ptr noundef @.str.5, i32 noundef %471, ptr noundef @.str.11, ptr noundef @.str.1, i32 noundef 40, ptr noundef %474, ptr noundef %477, ptr noundef %480, i32 noundef %482) #7
  br label %484

484:                                              ; preds = %467, %450
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #7
  br label %485

485:                                              ; preds = %484
  br label %486

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

487:                                              ; No predecessors!
  br label %488

488:                                              ; preds = %487
  br label %489

489:                                              ; preds = %488, %428
  br label %490

490:                                              ; preds = %489
  br label %491

491:                                              ; preds = %490
  %492 = load ptr, ptr %15, align 8, !tbaa !9
  %493 = getelementptr inbounds %struct.s2n_signature_scheme, ptr %492, i32 0, i32 3
  %494 = load i32, ptr %493, align 4, !tbaa !29
  %495 = icmp eq i32 %494, 3
  br i1 %495, label %496, label %566

496:                                              ; preds = %491
  %497 = load ptr, ptr %15, align 8, !tbaa !9
  %498 = getelementptr inbounds %struct.s2n_signature_scheme, ptr %497, i32 0, i32 5
  %499 = load i8, ptr %498, align 1, !tbaa !31
  %500 = zext i8 %499 to i32
  %501 = icmp ne i32 %500, 33
  br i1 %501, label %502, label %566

502:                                              ; preds = %496
  br label %503

503:                                              ; preds = %502
  %504 = load i32, ptr @test_count, align 4, !tbaa !5
  %505 = add nsw i32 %504, 1
  store i32 %505, ptr @test_count, align 4, !tbaa !5
  %506 = load ptr, ptr %15, align 8, !tbaa !9
  %507 = getelementptr inbounds %struct.s2n_signature_scheme, ptr %506, i32 0, i32 7
  %508 = load ptr, ptr %507, align 8, !tbaa !32
  %509 = icmp eq ptr %508, null
  br i1 %509, label %510, label %563

510:                                              ; preds = %503
  br label %511

511:                                              ; preds = %510
  br label %512

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

519:                                              ; preds = %512
  %520 = load ptr, ptr @stderr, align 8, !tbaa !9
  %521 = call i32 @fileno(ptr noundef %520) #7
  %522 = call i32 @isatty(i32 noundef %521) #7
  %523 = icmp ne i32 %522, 0
  br i1 %523, label %524, label %541

524:                                              ; preds = %519
  %525 = load i32, ptr %20, align 4, !tbaa !5
  %526 = call ptr @__errno_location() #8
  store i32 %525, ptr %526, align 4, !tbaa !5
  %527 = load ptr, ptr @stderr, align 8, !tbaa !9
  %528 = load i32, ptr @test_count, align 4, !tbaa !5
  %529 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %530 = load i32, ptr %529, align 4, !tbaa !5
  %531 = call ptr @s2n_strerror(i32 noundef %530, ptr noundef @.str.4)
  %532 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %533 = load i32, ptr %532, align 4, !tbaa !5
  %534 = call ptr @s2n_strerror_debug(i32 noundef %533, ptr noundef @.str.4)
  %535 = call ptr @__errno_location() #8
  %536 = load i32, ptr %535, align 4, !tbaa !5
  %537 = call ptr @strerror(i32 noundef %536) #7
  %538 = call ptr @__errno_location() #8
  %539 = load i32, ptr %538, align 4, !tbaa !5
  %540 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %527, ptr noundef @.str.2, i32 noundef %528, ptr noundef @.str.12, ptr noundef @.str.1, i32 noundef 44, ptr noundef %531, ptr noundef %534, ptr noundef %537, i32 noundef %539) #7
  br label %558

541:                                              ; preds = %519, %512
  %542 = load i32, ptr %20, align 4, !tbaa !5
  %543 = call ptr @__errno_location() #8
  store i32 %542, ptr %543, align 4, !tbaa !5
  %544 = load ptr, ptr @stderr, align 8, !tbaa !9
  %545 = load i32, ptr @test_count, align 4, !tbaa !5
  %546 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %547 = load i32, ptr %546, align 4, !tbaa !5
  %548 = call ptr @s2n_strerror(i32 noundef %547, ptr noundef @.str.4)
  %549 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %550 = load i32, ptr %549, align 4, !tbaa !5
  %551 = call ptr @s2n_strerror_debug(i32 noundef %550, ptr noundef @.str.4)
  %552 = call ptr @__errno_location() #8
  %553 = load i32, ptr %552, align 4, !tbaa !5
  %554 = call ptr @strerror(i32 noundef %553) #7
  %555 = call ptr @__errno_location() #8
  %556 = load i32, ptr %555, align 4, !tbaa !5
  %557 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %544, ptr noundef @.str.5, i32 noundef %545, ptr noundef @.str.12, ptr noundef @.str.1, i32 noundef 44, ptr noundef %548, ptr noundef %551, ptr noundef %554, i32 noundef %556) #7
  br label %558

558:                                              ; preds = %541, %524
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #7
  br label %559

559:                                              ; preds = %558
  br label %560

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

561:                                              ; No predecessors!
  br label %562

562:                                              ; preds = %561
  br label %563

563:                                              ; preds = %562, %503
  br label %564

564:                                              ; preds = %563
  br label %565

565:                                              ; preds = %564
  br label %630

566:                                              ; preds = %496, %491
  br label %567

567:                                              ; preds = %566
  %568 = load i32, ptr @test_count, align 4, !tbaa !5
  %569 = add nsw i32 %568, 1
  store i32 %569, ptr @test_count, align 4, !tbaa !5
  %570 = load ptr, ptr %15, align 8, !tbaa !9
  %571 = getelementptr inbounds %struct.s2n_signature_scheme, ptr %570, i32 0, i32 7
  %572 = load ptr, ptr %571, align 8, !tbaa !32
  %573 = icmp eq ptr %572, null
  br i1 %573, label %627, label %574

574:                                              ; preds = %567
  br label %575

575:                                              ; preds = %574
  br label %576

576:                                              ; preds = %575
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #7
  %577 = call ptr @__errno_location() #8
  %578 = load i32, ptr %577, align 4, !tbaa !5
  store i32 %578, ptr %21, align 4, !tbaa !5
  %579 = load ptr, ptr @stderr, align 8, !tbaa !9
  %580 = call i32 @s2n_print_stacktrace(ptr noundef %579)
  %581 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %582 = trunc i8 %581 to i1
  br i1 %582, label %583, label %605

583:                                              ; preds = %576
  %584 = load ptr, ptr @stderr, align 8, !tbaa !9
  %585 = call i32 @fileno(ptr noundef %584) #7
  %586 = call i32 @isatty(i32 noundef %585) #7
  %587 = icmp ne i32 %586, 0
  br i1 %587, label %588, label %605

588:                                              ; preds = %583
  %589 = load i32, ptr %21, align 4, !tbaa !5
  %590 = call ptr @__errno_location() #8
  store i32 %589, ptr %590, align 4, !tbaa !5
  %591 = load ptr, ptr @stderr, align 8, !tbaa !9
  %592 = load i32, ptr @test_count, align 4, !tbaa !5
  %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(i32 noundef %594, ptr noundef @.str.4)
  %596 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %597 = load i32, ptr %596, align 4, !tbaa !5
  %598 = call ptr @s2n_strerror_debug(i32 noundef %597, ptr noundef @.str.4)
  %599 = call ptr @__errno_location() #8
  %600 = load i32, ptr %599, align 4, !tbaa !5
  %601 = call ptr @strerror(i32 noundef %600) #7
  %602 = call ptr @__errno_location() #8
  %603 = load i32, ptr %602, align 4, !tbaa !5
  %604 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %591, ptr noundef @.str.2, i32 noundef %592, ptr noundef @.str.13, ptr noundef @.str.1, i32 noundef 46, ptr noundef %595, ptr noundef %598, ptr noundef %601, i32 noundef %603) #7
  br label %622

605:                                              ; preds = %583, %576
  %606 = load i32, ptr %21, align 4, !tbaa !5
  %607 = call ptr @__errno_location() #8
  store i32 %606, ptr %607, align 4, !tbaa !5
  %608 = load ptr, ptr @stderr, align 8, !tbaa !9
  %609 = load i32, ptr @test_count, align 4, !tbaa !5
  %610 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %611 = load i32, ptr %610, align 4, !tbaa !5
  %612 = call ptr @s2n_strerror(i32 noundef %611, ptr noundef @.str.4)
  %613 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %614 = load i32, ptr %613, align 4, !tbaa !5
  %615 = call ptr @s2n_strerror_debug(i32 noundef %614, ptr noundef @.str.4)
  %616 = call ptr @__errno_location() #8
  %617 = load i32, ptr %616, align 4, !tbaa !5
  %618 = call ptr @strerror(i32 noundef %617) #7
  %619 = call ptr @__errno_location() #8
  %620 = load i32, ptr %619, align 4, !tbaa !5
  %621 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %608, ptr noundef @.str.5, i32 noundef %609, ptr noundef @.str.13, ptr noundef @.str.1, i32 noundef 46, ptr noundef %612, ptr noundef %615, ptr noundef %618, i32 noundef %620) #7
  br label %622

622:                                              ; preds = %605, %588
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #7
  br label %623

623:                                              ; preds = %622
  br label %624

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

625:                                              ; No predecessors!
  br label %626

626:                                              ; preds = %625
  br label %627

627:                                              ; preds = %626, %567
  br label %628

628:                                              ; preds = %627
  br label %629

629:                                              ; preds = %628
  br label %630

630:                                              ; preds = %629, %565
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #7
  store i64 0, ptr %22, align 8, !tbaa !15
  br label %631

631:                                              ; preds = %719, %630
  %632 = load i64, ptr %22, align 8, !tbaa !15
  %633 = load ptr, ptr %11, align 8, !tbaa !9
  %634 = getelementptr inbounds %struct.s2n_signature_preferences, ptr %633, i32 0, i32 0
  %635 = load i8, ptr %634, align 8, !tbaa !22
  %636 = zext i8 %635 to i64
  %637 = icmp ult i64 %632, %636
  br i1 %637, label %639, label %638

638:                                              ; preds = %631
  store i32 65, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #7
  br label %722

639:                                              ; preds = %631
  %640 = load i64, ptr %22, align 8, !tbaa !15
  %641 = load i64, ptr %13, align 8, !tbaa !15
  %642 = icmp eq i64 %640, %641
  br i1 %642, label %643, label %644

643:                                              ; preds = %639
  br label %719

644:                                              ; preds = %639
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #7
  %645 = load ptr, ptr %11, align 8, !tbaa !9
  %646 = getelementptr inbounds %struct.s2n_signature_preferences, ptr %645, i32 0, i32 1
  %647 = load ptr, ptr %646, align 8, !tbaa !24
  %648 = load i64, ptr %22, align 8, !tbaa !15
  %649 = getelementptr inbounds ptr, ptr %647, i64 %648
  %650 = load ptr, ptr %649, align 8, !tbaa !9
  store ptr %650, ptr %23, align 8, !tbaa !9
  br label %651

651:                                              ; preds = %644
  %652 = load i32, ptr @test_count, align 4, !tbaa !5
  %653 = add nsw i32 %652, 1
  store i32 %653, ptr @test_count, align 4, !tbaa !5
  %654 = load ptr, ptr %15, align 8, !tbaa !9
  %655 = getelementptr inbounds %struct.s2n_signature_scheme, ptr %654, i32 0, i32 0
  %656 = load i16, ptr %655, align 8, !tbaa !25
  %657 = zext i16 %656 to i32
  %658 = load ptr, ptr %23, align 8, !tbaa !9
  %659 = getelementptr inbounds %struct.s2n_signature_scheme, ptr %658, i32 0, i32 0
  %660 = load i16, ptr %659, align 8, !tbaa !25
  %661 = zext i16 %660 to i32
  %662 = icmp eq i32 %657, %661
  br i1 %662, label %663, label %716

663:                                              ; preds = %651
  br label %664

664:                                              ; preds = %663
  br label %665

665:                                              ; preds = %664
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #7
  %666 = call ptr @__errno_location() #8
  %667 = load i32, ptr %666, align 4, !tbaa !5
  store i32 %667, ptr %24, align 4, !tbaa !5
  %668 = load ptr, ptr @stderr, align 8, !tbaa !9
  %669 = call i32 @s2n_print_stacktrace(ptr noundef %668)
  %670 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %671 = trunc i8 %670 to i1
  br i1 %671, label %672, label %694

672:                                              ; preds = %665
  %673 = load ptr, ptr @stderr, align 8, !tbaa !9
  %674 = call i32 @fileno(ptr noundef %673) #7
  %675 = call i32 @isatty(i32 noundef %674) #7
  %676 = icmp ne i32 %675, 0
  br i1 %676, label %677, label %694

677:                                              ; preds = %672
  %678 = load i32, ptr %24, align 4, !tbaa !5
  %679 = call ptr @__errno_location() #8
  store i32 %678, ptr %679, align 4, !tbaa !5
  %680 = load ptr, ptr @stderr, align 8, !tbaa !9
  %681 = load i32, ptr @test_count, align 4, !tbaa !5
  %682 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %683 = load i32, ptr %682, align 4, !tbaa !5
  %684 = call ptr @s2n_strerror(i32 noundef %683, ptr noundef @.str.4)
  %685 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %686 = load i32, ptr %685, align 4, !tbaa !5
  %687 = call ptr @s2n_strerror_debug(i32 noundef %686, ptr noundef @.str.4)
  %688 = call ptr @__errno_location() #8
  %689 = load i32, ptr %688, align 4, !tbaa !5
  %690 = call ptr @strerror(i32 noundef %689) #7
  %691 = call ptr @__errno_location() #8
  %692 = load i32, ptr %691, align 4, !tbaa !5
  %693 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %680, ptr noundef @.str.2, i32 noundef %681, ptr noundef @.str.14, ptr noundef @.str.1, i32 noundef 56, ptr noundef %684, ptr noundef %687, ptr noundef %690, i32 noundef %692) #7
  br label %711

694:                                              ; preds = %672, %665
  %695 = load i32, ptr %24, align 4, !tbaa !5
  %696 = call ptr @__errno_location() #8
  store i32 %695, ptr %696, align 4, !tbaa !5
  %697 = load ptr, ptr @stderr, align 8, !tbaa !9
  %698 = load i32, ptr @test_count, align 4, !tbaa !5
  %699 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %700 = load i32, ptr %699, align 4, !tbaa !5
  %701 = call ptr @s2n_strerror(i32 noundef %700, ptr noundef @.str.4)
  %702 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %703 = load i32, ptr %702, align 4, !tbaa !5
  %704 = call ptr @s2n_strerror_debug(i32 noundef %703, ptr noundef @.str.4)
  %705 = call ptr @__errno_location() #8
  %706 = load i32, ptr %705, align 4, !tbaa !5
  %707 = call ptr @strerror(i32 noundef %706) #7
  %708 = call ptr @__errno_location() #8
  %709 = load i32, ptr %708, align 4, !tbaa !5
  %710 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %697, ptr noundef @.str.5, i32 noundef %698, ptr noundef @.str.14, ptr noundef @.str.1, i32 noundef 56, ptr noundef %701, ptr noundef %704, ptr noundef %707, i32 noundef %709) #7
  br label %711

711:                                              ; preds = %694, %677
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #7
  br label %712

712:                                              ; preds = %711
  br label %713

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

714:                                              ; No predecessors!
  br label %715

715:                                              ; preds = %714
  br label %716

716:                                              ; preds = %715, %651
  br label %717

717:                                              ; preds = %716
  br label %718

718:                                              ; preds = %717
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #7
  br label %719

719:                                              ; preds = %718, %643
  %720 = load i64, ptr %22, align 8, !tbaa !15
  %721 = add i64 %720, 1
  store i64 %721, ptr %22, align 8, !tbaa !15
  br label %631, !llvm.loop !33

722:                                              ; preds = %638
  %723 = load ptr, ptr %15, align 8, !tbaa !9
  %724 = icmp eq ptr %723, @s2n_rsa_pkcs1_md5_sha1
  br i1 %724, label %725, label %726

725:                                              ; preds = %722
  store i8 1, ptr %12, align 1, !tbaa !11
  br label %726

726:                                              ; preds = %725, %722
  br label %727

727:                                              ; preds = %726
  %728 = load i32, ptr @test_count, align 4, !tbaa !5
  %729 = add nsw i32 %728, 1
  store i32 %729, ptr @test_count, align 4, !tbaa !5
  %730 = load ptr, ptr %15, align 8, !tbaa !9
  %731 = icmp eq ptr %730, @s2n_null_sig_scheme
  br i1 %731, label %732, label %785

732:                                              ; preds = %727
  br label %733

733:                                              ; preds = %732
  br label %734

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

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

746:                                              ; preds = %741
  %747 = load i32, ptr %25, align 4, !tbaa !5
  %748 = call ptr @__errno_location() #8
  store i32 %747, ptr %748, align 4, !tbaa !5
  %749 = load ptr, ptr @stderr, align 8, !tbaa !9
  %750 = load i32, ptr @test_count, align 4, !tbaa !5
  %751 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %752 = load i32, ptr %751, align 4, !tbaa !5
  %753 = call ptr @s2n_strerror(i32 noundef %752, ptr noundef @.str.4)
  %754 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %755 = load i32, ptr %754, align 4, !tbaa !5
  %756 = call ptr @s2n_strerror_debug(i32 noundef %755, ptr noundef @.str.4)
  %757 = call ptr @__errno_location() #8
  %758 = load i32, ptr %757, align 4, !tbaa !5
  %759 = call ptr @strerror(i32 noundef %758) #7
  %760 = call ptr @__errno_location() #8
  %761 = load i32, ptr %760, align 4, !tbaa !5
  %762 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %749, ptr noundef @.str.2, i32 noundef %750, ptr noundef @.str.15, ptr noundef @.str.1, i32 noundef 66, ptr noundef %753, ptr noundef %756, ptr noundef %759, i32 noundef %761) #7
  br label %780

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

780:                                              ; preds = %763, %746
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #7
  br label %781

781:                                              ; preds = %780
  br label %782

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

783:                                              ; No predecessors!
  br label %784

784:                                              ; preds = %783
  br label %785

785:                                              ; preds = %784, %727
  br label %786

786:                                              ; preds = %785
  br label %787

787:                                              ; preds = %786
  call void @llvm.lifetime.start.p0(i64 1, ptr %26) #7
  store i8 0, ptr %26, align 1, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #7
  store i64 0, ptr %27, align 8, !tbaa !15
  br label %788

788:                                              ; preds = %807, %787
  %789 = load i64, ptr %27, align 8, !tbaa !15
  %790 = load ptr, ptr %9, align 8, !tbaa !9
  %791 = getelementptr inbounds %struct.s2n_signature_preferences, ptr %790, i32 0, i32 0
  %792 = load i8, ptr %791, align 8, !tbaa !22
  %793 = zext i8 %792 to i64
  %794 = icmp ult i64 %789, %793
  br i1 %794, label %796, label %795

795:                                              ; preds = %788
  store i32 80, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #7
  br label %810

796:                                              ; preds = %788
  %797 = load ptr, ptr %15, align 8, !tbaa !9
  %798 = load ptr, ptr %9, align 8, !tbaa !9
  %799 = getelementptr inbounds %struct.s2n_signature_preferences, ptr %798, i32 0, i32 1
  %800 = load ptr, ptr %799, align 8, !tbaa !24
  %801 = load i64, ptr %27, align 8, !tbaa !15
  %802 = getelementptr inbounds ptr, ptr %800, i64 %801
  %803 = load ptr, ptr %802, align 8, !tbaa !9
  %804 = icmp eq ptr %797, %803
  br i1 %804, label %805, label %806

805:                                              ; preds = %796
  store i8 1, ptr %26, align 1, !tbaa !11
  br label %806

806:                                              ; preds = %805, %796
  br label %807

807:                                              ; preds = %806
  %808 = load i64, ptr %27, align 8, !tbaa !15
  %809 = add i64 %808, 1
  store i64 %809, ptr %27, align 8, !tbaa !15
  br label %788, !llvm.loop !35

810:                                              ; preds = %795
  br label %811

811:                                              ; preds = %810
  %812 = load i32, ptr @test_count, align 4, !tbaa !5
  %813 = add nsw i32 %812, 1
  store i32 %813, ptr @test_count, align 4, !tbaa !5
  %814 = load i8, ptr %26, align 1, !tbaa !11, !range !13, !noundef !14
  %815 = trunc i8 %814 to i1
  br i1 %815, label %869, label %816

816:                                              ; preds = %811
  br label %817

817:                                              ; preds = %816
  br label %818

818:                                              ; preds = %817
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #7
  %819 = call ptr @__errno_location() #8
  %820 = load i32, ptr %819, align 4, !tbaa !5
  store i32 %820, ptr %28, align 4, !tbaa !5
  %821 = load ptr, ptr @stderr, align 8, !tbaa !9
  %822 = call i32 @s2n_print_stacktrace(ptr noundef %821)
  %823 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %824 = trunc i8 %823 to i1
  br i1 %824, label %825, label %847

825:                                              ; preds = %818
  %826 = load ptr, ptr @stderr, align 8, !tbaa !9
  %827 = call i32 @fileno(ptr noundef %826) #7
  %828 = call i32 @isatty(i32 noundef %827) #7
  %829 = icmp ne i32 %828, 0
  br i1 %829, label %830, label %847

830:                                              ; preds = %825
  %831 = load i32, ptr %28, align 4, !tbaa !5
  %832 = call ptr @__errno_location() #8
  store i32 %831, ptr %832, align 4, !tbaa !5
  %833 = load ptr, ptr @stderr, align 8, !tbaa !9
  %834 = load i32, ptr @test_count, align 4, !tbaa !5
  %835 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %836 = load i32, ptr %835, align 4, !tbaa !5
  %837 = call ptr @s2n_strerror(i32 noundef %836, ptr noundef @.str.4)
  %838 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %839 = load i32, ptr %838, align 4, !tbaa !5
  %840 = call ptr @s2n_strerror_debug(i32 noundef %839, ptr noundef @.str.4)
  %841 = call ptr @__errno_location() #8
  %842 = load i32, ptr %841, align 4, !tbaa !5
  %843 = call ptr @strerror(i32 noundef %842) #7
  %844 = call ptr @__errno_location() #8
  %845 = load i32, ptr %844, align 4, !tbaa !5
  %846 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %833, ptr noundef @.str.2, i32 noundef %834, ptr noundef @.str.16, ptr noundef @.str.1, i32 noundef 75, ptr noundef %837, ptr noundef %840, ptr noundef %843, i32 noundef %845) #7
  br label %864

847:                                              ; preds = %825, %818
  %848 = load i32, ptr %28, align 4, !tbaa !5
  %849 = call ptr @__errno_location() #8
  store i32 %848, ptr %849, align 4, !tbaa !5
  %850 = load ptr, ptr @stderr, align 8, !tbaa !9
  %851 = load i32, ptr @test_count, align 4, !tbaa !5
  %852 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %853 = load i32, ptr %852, align 4, !tbaa !5
  %854 = call ptr @s2n_strerror(i32 noundef %853, ptr noundef @.str.4)
  %855 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %856 = load i32, ptr %855, align 4, !tbaa !5
  %857 = call ptr @s2n_strerror_debug(i32 noundef %856, ptr noundef @.str.4)
  %858 = call ptr @__errno_location() #8
  %859 = load i32, ptr %858, align 4, !tbaa !5
  %860 = call ptr @strerror(i32 noundef %859) #7
  %861 = call ptr @__errno_location() #8
  %862 = load i32, ptr %861, align 4, !tbaa !5
  %863 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %850, ptr noundef @.str.5, i32 noundef %851, ptr noundef @.str.16, ptr noundef @.str.1, i32 noundef 75, ptr noundef %854, ptr noundef %857, ptr noundef %860, i32 noundef %862) #7
  br label %864

864:                                              ; preds = %847, %830
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #7
  br label %865

865:                                              ; preds = %864
  br label %866

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

867:                                              ; No predecessors!
  br label %868

868:                                              ; preds = %867
  br label %869

869:                                              ; preds = %868, %811
  br label %870

870:                                              ; preds = %869
  br label %871

871:                                              ; preds = %870
  call void @llvm.lifetime.end.p0(i64 1, ptr %26) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #7
  br label %872

872:                                              ; preds = %871
  %873 = load i64, ptr %13, align 8, !tbaa !15
  %874 = add i64 %873, 1
  store i64 %874, ptr %13, align 8, !tbaa !15
  br label %223, !llvm.loop !36

875:                                              ; preds = %230
  br label %876

876:                                              ; preds = %875
  %877 = load i32, ptr @test_count, align 4, !tbaa !5
  %878 = add nsw i32 %877, 1
  store i32 %878, ptr @test_count, align 4, !tbaa !5
  %879 = load i8, ptr %12, align 1, !tbaa !11, !range !13, !noundef !14
  %880 = trunc i8 %879 to i1
  %881 = zext i1 %880 to i32
  %882 = load ptr, ptr %11, align 8, !tbaa !9
  %883 = load ptr, ptr %9, align 8, !tbaa !9
  %884 = icmp eq ptr %882, %883
  %885 = zext i1 %884 to i32
  %886 = icmp eq i32 %881, %885
  br i1 %886, label %940, label %887

887:                                              ; preds = %876
  br label %888

888:                                              ; preds = %887
  br label %889

889:                                              ; preds = %888
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #7
  %890 = call ptr @__errno_location() #8
  %891 = load i32, ptr %890, align 4, !tbaa !5
  store i32 %891, ptr %29, align 4, !tbaa !5
  %892 = load ptr, ptr @stderr, align 8, !tbaa !9
  %893 = call i32 @s2n_print_stacktrace(ptr noundef %892)
  %894 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %895 = trunc i8 %894 to i1
  br i1 %895, label %896, label %918

896:                                              ; preds = %889
  %897 = load ptr, ptr @stderr, align 8, !tbaa !9
  %898 = call i32 @fileno(ptr noundef %897) #7
  %899 = call i32 @isatty(i32 noundef %898) #7
  %900 = icmp ne i32 %899, 0
  br i1 %900, label %901, label %918

901:                                              ; preds = %896
  %902 = load i32, ptr %29, align 4, !tbaa !5
  %903 = call ptr @__errno_location() #8
  store i32 %902, ptr %903, align 4, !tbaa !5
  %904 = load ptr, ptr @stderr, align 8, !tbaa !9
  %905 = load i32, ptr @test_count, align 4, !tbaa !5
  %906 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %907 = load i32, ptr %906, align 4, !tbaa !5
  %908 = call ptr @s2n_strerror(i32 noundef %907, ptr noundef @.str.4)
  %909 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %910 = load i32, ptr %909, align 4, !tbaa !5
  %911 = call ptr @s2n_strerror_debug(i32 noundef %910, ptr noundef @.str.4)
  %912 = call ptr @__errno_location() #8
  %913 = load i32, ptr %912, align 4, !tbaa !5
  %914 = call ptr @strerror(i32 noundef %913) #7
  %915 = call ptr @__errno_location() #8
  %916 = load i32, ptr %915, align 4, !tbaa !5
  %917 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %904, ptr noundef @.str.2, i32 noundef %905, ptr noundef @.str.17, ptr noundef @.str.1, i32 noundef 86, ptr noundef %908, ptr noundef %911, ptr noundef %914, i32 noundef %916) #7
  br label %935

918:                                              ; preds = %896, %889
  %919 = load i32, ptr %29, align 4, !tbaa !5
  %920 = call ptr @__errno_location() #8
  store i32 %919, ptr %920, align 4, !tbaa !5
  %921 = load ptr, ptr @stderr, align 8, !tbaa !9
  %922 = load i32, ptr @test_count, align 4, !tbaa !5
  %923 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %924 = load i32, ptr %923, align 4, !tbaa !5
  %925 = call ptr @s2n_strerror(i32 noundef %924, ptr noundef @.str.4)
  %926 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %927 = load i32, ptr %926, align 4, !tbaa !5
  %928 = call ptr @s2n_strerror_debug(i32 noundef %927, ptr noundef @.str.4)
  %929 = call ptr @__errno_location() #8
  %930 = load i32, ptr %929, align 4, !tbaa !5
  %931 = call ptr @strerror(i32 noundef %930) #7
  %932 = call ptr @__errno_location() #8
  %933 = load i32, ptr %932, align 4, !tbaa !5
  %934 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %921, ptr noundef @.str.5, i32 noundef %922, ptr noundef @.str.17, ptr noundef @.str.1, i32 noundef 86, ptr noundef %925, ptr noundef %928, ptr noundef %931, i32 noundef %933) #7
  br label %935

935:                                              ; preds = %918, %901
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #7
  br label %936

936:                                              ; preds = %935
  br label %937

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

938:                                              ; No predecessors!
  br label %939

939:                                              ; preds = %938
  br label %940

940:                                              ; preds = %939, %876
  br label %941

941:                                              ; preds = %940
  br label %942

942:                                              ; preds = %941
  %943 = load i64, ptr %10, align 8, !tbaa !15
  %944 = add i64 %943, 1
  store i64 %944, ptr %10, align 8, !tbaa !15
  call void @llvm.lifetime.end.p0(i64 1, ptr %12) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #7
  br label %210, !llvm.loop !37

945:                                              ; preds = %210
  br label %946

946:                                              ; preds = %945
  br label %947

947:                                              ; preds = %946
  %948 = call i32 @s2n_cleanup()
  %949 = icmp eq i32 %948, -1
  br i1 %949, label %950, label %1003

950:                                              ; preds = %947
  br label %951

951:                                              ; preds = %950
  br label %952

952:                                              ; preds = %951
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #7
  %953 = call ptr @__errno_location() #8
  %954 = load i32, ptr %953, align 4, !tbaa !5
  store i32 %954, ptr %30, align 4, !tbaa !5
  %955 = load ptr, ptr @stderr, align 8, !tbaa !9
  %956 = call i32 @s2n_print_stacktrace(ptr noundef %955)
  %957 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %958 = trunc i8 %957 to i1
  br i1 %958, label %959, label %981

959:                                              ; preds = %952
  %960 = load ptr, ptr @stderr, align 8, !tbaa !9
  %961 = call i32 @fileno(ptr noundef %960) #7
  %962 = call i32 @isatty(i32 noundef %961) #7
  %963 = icmp ne i32 %962, 0
  br i1 %963, label %964, label %981

964:                                              ; preds = %959
  %965 = load i32, ptr %30, align 4, !tbaa !5
  %966 = call ptr @__errno_location() #8
  store i32 %965, ptr %966, align 4, !tbaa !5
  %967 = load ptr, ptr @stderr, align 8, !tbaa !9
  %968 = load i32, ptr @test_count, align 4, !tbaa !5
  %969 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %970 = load i32, ptr %969, align 4, !tbaa !5
  %971 = call ptr @s2n_strerror(i32 noundef %970, ptr noundef @.str.4)
  %972 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %973 = load i32, ptr %972, align 4, !tbaa !5
  %974 = call ptr @s2n_strerror_debug(i32 noundef %973, ptr noundef @.str.4)
  %975 = call ptr @__errno_location() #8
  %976 = load i32, ptr %975, align 4, !tbaa !5
  %977 = call ptr @strerror(i32 noundef %976) #7
  %978 = call ptr @__errno_location() #8
  %979 = load i32, ptr %978, align 4, !tbaa !5
  %980 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %967, ptr noundef @.str.2, i32 noundef %968, ptr noundef @.str.18, ptr noundef @.str.1, i32 noundef 91, ptr noundef %971, ptr noundef %974, ptr noundef %977, i32 noundef %979) #7
  br label %998

981:                                              ; preds = %959, %952
  %982 = load i32, ptr %30, align 4, !tbaa !5
  %983 = call ptr @__errno_location() #8
  store i32 %982, ptr %983, align 4, !tbaa !5
  %984 = load ptr, ptr @stderr, align 8, !tbaa !9
  %985 = load i32, ptr @test_count, align 4, !tbaa !5
  %986 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %987 = load i32, ptr %986, align 4, !tbaa !5
  %988 = call ptr @s2n_strerror(i32 noundef %987, ptr noundef @.str.4)
  %989 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %990 = load i32, ptr %989, align 4, !tbaa !5
  %991 = call ptr @s2n_strerror_debug(i32 noundef %990, ptr noundef @.str.4)
  %992 = call ptr @__errno_location() #8
  %993 = load i32, ptr %992, align 4, !tbaa !5
  %994 = call ptr @strerror(i32 noundef %993) #7
  %995 = call ptr @__errno_location() #8
  %996 = load i32, ptr %995, align 4, !tbaa !5
  %997 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %984, ptr noundef @.str.5, i32 noundef %985, ptr noundef @.str.18, ptr noundef @.str.1, i32 noundef 91, ptr noundef %988, ptr noundef %991, ptr noundef %994, i32 noundef %996) #7
  br label %998

998:                                              ; preds = %981, %964
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #7
  br label %999

999:                                              ; preds = %998
  br label %1000

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

1001:                                             ; No predecessors!
  br label %1002

1002:                                             ; preds = %1001
  br label %1003

1003:                                             ; preds = %1002, %947
  br label %1004

1004:                                             ; preds = %1003
  br label %1005

1005:                                             ; preds = %1004
  br label %1006

1006:                                             ; preds = %1005
  br label %1007

1007:                                             ; preds = %1006
  %1008 = call i32 @s2n_in_unit_test_set(i1 noundef zeroext false)
  %1009 = icmp eq i32 %1008, -1
  br i1 %1009, label %1010, label %1063

1010:                                             ; preds = %1007
  br label %1011

1011:                                             ; preds = %1010
  br label %1012

1012:                                             ; preds = %1011
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #7
  %1013 = call ptr @__errno_location() #8
  %1014 = load i32, ptr %1013, align 4, !tbaa !5
  store i32 %1014, ptr %31, align 4, !tbaa !5
  %1015 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1016 = call i32 @s2n_print_stacktrace(ptr noundef %1015)
  %1017 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %1018 = trunc i8 %1017 to i1
  br i1 %1018, label %1019, label %1041

1019:                                             ; preds = %1012
  %1020 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1021 = call i32 @fileno(ptr noundef %1020) #7
  %1022 = call i32 @isatty(i32 noundef %1021) #7
  %1023 = icmp ne i32 %1022, 0
  br i1 %1023, label %1024, label %1041

1024:                                             ; preds = %1019
  %1025 = load i32, ptr %31, align 4, !tbaa !5
  %1026 = call ptr @__errno_location() #8
  store i32 %1025, ptr %1026, align 4, !tbaa !5
  %1027 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1028 = load i32, ptr @test_count, align 4, !tbaa !5
  %1029 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1030 = load i32, ptr %1029, align 4, !tbaa !5
  %1031 = call ptr @s2n_strerror(i32 noundef %1030, ptr noundef @.str.4)
  %1032 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1033 = load i32, ptr %1032, align 4, !tbaa !5
  %1034 = call ptr @s2n_strerror_debug(i32 noundef %1033, ptr noundef @.str.4)
  %1035 = call ptr @__errno_location() #8
  %1036 = load i32, ptr %1035, align 4, !tbaa !5
  %1037 = call ptr @strerror(i32 noundef %1036) #7
  %1038 = call ptr @__errno_location() #8
  %1039 = load i32, ptr %1038, align 4, !tbaa !5
  %1040 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1027, ptr noundef @.str.2, i32 noundef %1028, ptr noundef @.str.19, ptr noundef @.str.1, i32 noundef 91, ptr noundef %1031, ptr noundef %1034, ptr noundef %1037, i32 noundef %1039) #7
  br label %1058

1041:                                             ; preds = %1019, %1012
  %1042 = load i32, ptr %31, align 4, !tbaa !5
  %1043 = call ptr @__errno_location() #8
  store i32 %1042, ptr %1043, align 4, !tbaa !5
  %1044 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1045 = load i32, ptr @test_count, align 4, !tbaa !5
  %1046 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1047 = load i32, ptr %1046, align 4, !tbaa !5
  %1048 = call ptr @s2n_strerror(i32 noundef %1047, ptr noundef @.str.4)
  %1049 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1050 = load i32, ptr %1049, align 4, !tbaa !5
  %1051 = call ptr @s2n_strerror_debug(i32 noundef %1050, ptr noundef @.str.4)
  %1052 = call ptr @__errno_location() #8
  %1053 = load i32, ptr %1052, align 4, !tbaa !5
  %1054 = call ptr @strerror(i32 noundef %1053) #7
  %1055 = call ptr @__errno_location() #8
  %1056 = load i32, ptr %1055, align 4, !tbaa !5
  %1057 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1044, ptr noundef @.str.5, i32 noundef %1045, ptr noundef @.str.19, ptr noundef @.str.1, i32 noundef 91, ptr noundef %1048, ptr noundef %1051, ptr noundef %1054, i32 noundef %1056) #7
  br label %1058

1058:                                             ; preds = %1041, %1024
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #7
  br label %1059

1059:                                             ; preds = %1058
  br label %1060

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

1061:                                             ; No predecessors!
  br label %1062

1062:                                             ; preds = %1061
  br label %1063

1063:                                             ; preds = %1062, %1007
  br label %1064

1064:                                             ; preds = %1063
  br label %1065

1065:                                             ; preds = %1064
  %1066 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %1067 = trunc i8 %1066 to i1
  br i1 %1067, label %1068, label %1084

1068:                                             ; preds = %1065
  %1069 = load ptr, ptr @stdout, align 8, !tbaa !9
  %1070 = call i32 @fileno(ptr noundef %1069) #7
  %1071 = call i32 @isatty(i32 noundef %1070) #7
  %1072 = icmp ne i32 %1071, 0
  br i1 %1072, label %1073, label %1084

1073:                                             ; preds = %1068
  %1074 = load i32, ptr @test_count, align 4, !tbaa !5
  %1075 = icmp ne i32 %1074, 0
  br i1 %1075, label %1076, label %1080

1076:                                             ; preds = %1073
  %1077 = load ptr, ptr @stdout, align 8, !tbaa !9
  %1078 = load i32, ptr @test_count, align 4, !tbaa !5
  %1079 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1077, ptr noundef @.str.20, i32 noundef %1078) #7
  br label %1083

1080:                                             ; preds = %1073
  %1081 = load ptr, ptr @stdout, align 8, !tbaa !9
  %1082 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1081, ptr noundef @.str.21) #7
  br label %1083

1083:                                             ; preds = %1080, %1076
  br label %1095

1084:                                             ; preds = %1068, %1065
  %1085 = load i32, ptr @test_count, align 4, !tbaa !5
  %1086 = icmp ne i32 %1085, 0
  br i1 %1086, label %1087, label %1091

1087:                                             ; preds = %1084
  %1088 = load ptr, ptr @stdout, align 8, !tbaa !9
  %1089 = load i32, ptr @test_count, align 4, !tbaa !5
  %1090 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1088, ptr noundef @.str.22, i32 noundef %1089) #7
  br label %1094

1091:                                             ; preds = %1084
  %1092 = load ptr, ptr @stdout, align 8, !tbaa !9
  %1093 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1092, ptr noundef @.str.23) #7
  br label %1094

1094:                                             ; preds = %1091, %1087
  br label %1095

1095:                                             ; preds = %1094, %1083
  store i32 0, ptr %3, align 4
  store i32 1, ptr %14, align 4
  br label %1100

1096:                                             ; No predecessors!
  br label %1097

1097:                                             ; preds = %1096
  br label %1098

1098:                                             ; preds = %1097
  br label %1099

1099:                                             ; preds = %1098
  store i32 0, ptr %14, align 4
  br label %1100

1100:                                             ; preds = %1099, %1095
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #7
  %1101 = load i32, ptr %14, align 4
  switch i32 %1101, label %1104 [
    i32 0, label %1102
    i32 1, label %1102
  ]

1102:                                             ; preds = %1100, %1100
  %1103 = load i32, ptr %3, align 4
  ret i32 %1103

1104:                                             ; preds = %1100
  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

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 = { 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 = !{}
!15 = !{!16, !16, i64 0}
!16 = !{!"long", !7, i64 0}
!17 = !{!18, !10, i64 0}
!18 = !{!"s2n_security_policy_selection", !10, i64 0, !10, i64 8, !6, i64 16, !6, i64 16, !6, i64 16}
!19 = !{!18, !10, i64 8}
!20 = !{!21, !10, i64 24}
!21 = !{!"s2n_security_policy", !7, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !10, i64 40, !10, i64 48, !12, i64 56, !7, i64 57}
!22 = !{!23, !7, i64 0}
!23 = !{!"s2n_signature_preferences", !7, i64 0, !10, i64 8}
!24 = !{!23, !10, i64 8}
!25 = !{!26, !27, i64 0}
!26 = !{!"s2n_signature_scheme", !27, i64 0, !10, i64 8, !6, i64 16, !6, i64 20, !7, i64 24, !7, i64 25, !27, i64 26, !10, i64 32}
!27 = !{!"short", !7, i64 0}
!28 = !{!26, !6, i64 16}
!29 = !{!26, !6, i64 20}
!30 = !{!26, !27, i64 26}
!31 = !{!26, !7, i64 25}
!32 = !{!26, !10, i64 32}
!33 = distinct !{!33, !34}
!34 = !{!"llvm.loop.mustprogress"}
!35 = distinct !{!35, !34}
!36 = distinct !{!36, !34}
!37 = distinct !{!37, !34}


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

%struct.s2n_signature_preferences = type { i8, ptr }
%struct.s2n_security_policy_selection = type { ptr, ptr, i8 }
%struct.s2n_signature_scheme = type { i16, ptr, i32, i32, i8, i8, i16, ptr }

@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 [84 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
@s2n_signature_preferences_all = external constant %struct.s2n_signature_preferences, align 8
@security_policy_selection = external local_unnamed_addr global [0 x %struct.s2n_security_policy_selection], align 8
@.str.8 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [58 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [67 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [51 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [62 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [59 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [78 x i8], align 1
@s2n_rsa_pkcs1_md5_sha1 = external constant %struct.s2n_signature_scheme, align 8
@s2n_null_sig_scheme = external constant %struct.s2n_signature_scheme, align 8
@.str.15 = external hidden unnamed_addr constant [55 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [72 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [25 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local noundef i32 @main(i32 noundef %0, ptr nocapture noundef readnone %1) local_unnamed_addr #0 {
  store i32 0, ptr @test_count, align 4, !tbaa !5
  %3 = load ptr, ptr @stdout, align 8, !tbaa !9
  %4 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %3, ptr noundef nonnull @.str, ptr noundef nonnull @.str.1) #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
  %.not94 = icmp eq i32 %19, 0
  br i1 %.not94, 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 22, 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
  %.not93 = icmp eq i32 %48, 0
  br i1 %.not93, label %49, label %50

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

50:                                               ; preds = %45, %49
  %.str.5.sink191 = 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.sink191, i32 noundef %52, ptr noundef nonnull @.str.6, ptr noundef nonnull @.str.1, i32 noundef 22, 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 %69, label %.preheader96

.preheader96:                                     ; preds = %62
  %65 = load ptr, ptr @security_policy_selection, align 8, !tbaa !15
  %.not131 = icmp eq ptr %65, null
  br i1 %.not131, label %._crit_edge135, label %.lr.ph134

.lr.ph134:                                        ; preds = %.preheader96
  %test_count.promoted = load i32, ptr @test_count, align 4, !tbaa !5
  %66 = load i8, ptr @s2n_signature_preferences_all, align 8
  %67 = zext i8 %66 to i64
  %.not136 = icmp eq i8 %66, 0
  %68 = load ptr, ptr getelementptr inbounds (i8, ptr @s2n_signature_preferences_all, i64 8), align 8
  %min.iters.check = icmp ult i8 %66, 4
  %n.vec = and i64 %67, 252
  %cmp.n = icmp eq i64 %n.vec, %67
  br label %98

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

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

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

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

93:                                               ; preds = %._crit_edge158, %111
  %94 = phi i32 [ %106, %._crit_edge158 ], [ %112, %111 ]
  %95 = add i64 %.0133, 1
  %96 = getelementptr inbounds [0 x %struct.s2n_security_policy_selection], ptr @security_policy_selection, i64 0, i64 %95
  %97 = load ptr, ptr %96, align 8, !tbaa !15
  %.not = icmp eq ptr %97, null
  br i1 %.not, label %._crit_edge135, label %98, !llvm.loop !17

98:                                               ; preds = %.lr.ph134, %93
  %99 = phi ptr [ @security_policy_selection, %.lr.ph134 ], [ %96, %93 ]
  %.0133 = phi i64 [ 0, %.lr.ph134 ], [ %95, %93 ]
  %.lcssa120129132 = phi i32 [ %test_count.promoted, %.lr.ph134 ], [ %94, %93 ]
  %100 = getelementptr inbounds i8, ptr %99, i64 8
  %101 = load ptr, ptr %100, align 8, !tbaa !19
  %102 = getelementptr inbounds i8, ptr %101, i64 24
  %103 = load ptr, ptr %102, align 8, !tbaa !20
  %104 = load i8, ptr %103, align 8, !tbaa !22
  %105 = zext i8 %104 to i64
  %.not137 = icmp eq i8 %104, 0
  br i1 %.not137, label %._crit_edge158, label %.lr.ph116

._crit_edge158:                                   ; preds = %98
  %106 = add nsw i32 %.lcssa120129132, 1
  store i32 %106, ptr @test_count, align 4, !tbaa !5
  %.not345 = icmp eq ptr %103, @s2n_signature_preferences_all
  br i1 %.not345, label %398, label %93

.lr.ph116:                                        ; preds = %98
  %107 = getelementptr inbounds i8, ptr %103, i64 8
  %108 = load ptr, ptr %107, align 8, !tbaa !24
  br label %115

109:                                              ; preds = %._crit_edge
  %110 = add nuw nsw i64 %.068113, 1
  %exitcond157.not = icmp eq i64 %110, %105
  br i1 %exitcond157.not, label %111, label %115, !llvm.loop !25

111:                                              ; preds = %109
  %112 = add nsw i32 %342, 3
  store i32 %112, ptr @test_count, align 4, !tbaa !5
  %113 = icmp ne ptr %103, @s2n_signature_preferences_all
  %114 = xor i1 %113, %spec.select
  br i1 %114, label %93, label %398

115:                                              ; preds = %.lr.ph116, %109
  %.067114 = phi i1 [ false, %.lr.ph116 ], [ %spec.select, %109 ]
  %.068113 = phi i64 [ 0, %.lr.ph116 ], [ %110, %109 ]
  %test_count.promoted111112 = phi i32 [ %.lcssa120129132, %.lr.ph116 ], [ %369, %109 ]
  %116 = getelementptr inbounds ptr, ptr %108, i64 %.068113
  %117 = load ptr, ptr %116, align 8, !tbaa !9
  %118 = load i16, ptr %117, align 8, !tbaa !26
  %119 = icmp eq i16 %118, 0
  br i1 %119, label %120, label %145

120:                                              ; preds = %115
  %121 = add nsw i32 %test_count.promoted111112, 1
  store i32 %121, ptr @test_count, align 4, !tbaa !5
  %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 = %120
  %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
  %.not91 = icmp eq i32 %131, 0
  br i1 %.not91, label %132, label %133

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

133:                                              ; preds = %128, %132
  %.str.5.sink213 = 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.sink213, i32 noundef %135, ptr noundef nonnull @.str.8, ptr noundef nonnull @.str.1, i32 noundef 37, ptr noundef %138, ptr noundef %140, ptr noundef %142, i32 noundef %143) #9
  tail call void @exit(i32 noundef 1) #10
  unreachable

145:                                              ; preds = %115
  %146 = getelementptr inbounds i8, ptr %117, i64 16
  %147 = load i32, ptr %146, align 8, !tbaa !29
  %148 = icmp eq i32 %147, 0
  br i1 %148, label %149, label %174

149:                                              ; preds = %145
  %150 = add nsw i32 %test_count.promoted111112, 2
  store i32 %150, ptr @test_count, align 4, !tbaa !5
  %151 = tail call ptr @__errno_location() #8
  %152 = load i32, ptr %151, align 4, !tbaa !5
  %153 = load ptr, ptr @stderr, align 8, !tbaa !9
  %154 = tail call i32 @s2n_print_stacktrace(ptr noundef %153) #7
  %155 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %156 = trunc nuw i8 %155 to i1
  br i1 %156, label %157, label %161

157:                                              ; preds = %149
  %158 = load ptr, ptr @stderr, align 8, !tbaa !9
  %159 = tail call i32 @fileno(ptr noundef %158) #7
  %160 = tail call i32 @isatty(i32 noundef %159) #7
  %.not90 = icmp eq i32 %160, 0
  br i1 %.not90, label %161, label %162

161:                                              ; preds = %157, %149
  br label %162

162:                                              ; preds = %157, %161
  %.str.5.sink224 = phi ptr [ @.str.5, %161 ], [ @.str.2, %157 ]
  store i32 %152, ptr %151, align 4, !tbaa !5
  %163 = load ptr, ptr @stderr, align 8, !tbaa !9
  %164 = load i32, ptr @test_count, align 4, !tbaa !5
  %165 = tail call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %166 = load i32, ptr %165, align 4, !tbaa !5
  %167 = tail call ptr @s2n_strerror(i32 noundef %166, ptr noundef nonnull @.str.4) #7
  %168 = load i32, ptr %165, align 4, !tbaa !5
  %169 = tail call ptr @s2n_strerror_debug(i32 noundef %168, ptr noundef nonnull @.str.4) #7
  %170 = load i32, ptr %151, align 4, !tbaa !5
  %171 = tail call ptr @strerror(i32 noundef %170) #7
  %172 = load i32, ptr %151, align 4, !tbaa !5
  %173 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %163, ptr noundef nonnull %.str.5.sink224, i32 noundef %164, ptr noundef nonnull @.str.9, ptr noundef nonnull @.str.1, i32 noundef 38, ptr noundef %167, ptr noundef %169, ptr noundef %171, i32 noundef %172) #9
  tail call void @exit(i32 noundef 1) #10
  unreachable

174:                                              ; preds = %145
  %175 = getelementptr inbounds i8, ptr %117, i64 20
  %176 = load i32, ptr %175, align 4, !tbaa !30
  %177 = icmp eq i32 %176, 0
  br i1 %177, label %178, label %203

178:                                              ; preds = %174
  %179 = add nsw i32 %test_count.promoted111112, 3
  store i32 %179, ptr @test_count, align 4, !tbaa !5
  %180 = tail call ptr @__errno_location() #8
  %181 = load i32, ptr %180, align 4, !tbaa !5
  %182 = load ptr, ptr @stderr, align 8, !tbaa !9
  %183 = tail call i32 @s2n_print_stacktrace(ptr noundef %182) #7
  %184 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %185 = trunc nuw i8 %184 to i1
  br i1 %185, label %186, label %190

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

190:                                              ; preds = %186, %178
  br label %191

191:                                              ; preds = %186, %190
  %.str.5.sink235 = phi ptr [ @.str.5, %190 ], [ @.str.2, %186 ]
  store i32 %181, ptr %180, align 4, !tbaa !5
  %192 = load ptr, ptr @stderr, align 8, !tbaa !9
  %193 = load i32, ptr @test_count, align 4, !tbaa !5
  %194 = tail call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %195 = load i32, ptr %194, align 4, !tbaa !5
  %196 = tail call ptr @s2n_strerror(i32 noundef %195, ptr noundef nonnull @.str.4) #7
  %197 = load i32, ptr %194, align 4, !tbaa !5
  %198 = tail call ptr @s2n_strerror_debug(i32 noundef %197, ptr noundef nonnull @.str.4) #7
  %199 = load i32, ptr %180, align 4, !tbaa !5
  %200 = tail call ptr @strerror(i32 noundef %199) #7
  %201 = load i32, ptr %180, align 4, !tbaa !5
  %202 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %192, ptr noundef nonnull %.str.5.sink235, i32 noundef %193, ptr noundef nonnull @.str.10, ptr noundef nonnull @.str.1, i32 noundef 39, ptr noundef %196, ptr noundef %198, ptr noundef %200, i32 noundef %201) #9
  tail call void @exit(i32 noundef 1) #10
  unreachable

203:                                              ; preds = %174
  %204 = getelementptr inbounds i8, ptr %117, i64 26
  %205 = load i16, ptr %204, align 2, !tbaa !31
  %206 = icmp eq i16 %205, 0
  br i1 %206, label %207, label %232

207:                                              ; preds = %203
  %208 = add nsw i32 %test_count.promoted111112, 4
  store i32 %208, ptr @test_count, align 4, !tbaa !5
  %209 = tail call ptr @__errno_location() #8
  %210 = load i32, ptr %209, 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 = %207
  %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
  %.not88 = icmp eq i32 %218, 0
  br i1 %.not88, label %219, label %220

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

220:                                              ; preds = %215, %219
  %.str.5.sink246 = phi ptr [ @.str.5, %219 ], [ @.str.2, %215 ]
  store i32 %210, ptr %209, align 4, !tbaa !5
  %221 = load ptr, ptr @stderr, align 8, !tbaa !9
  %222 = load i32, ptr @test_count, align 4, !tbaa !5
  %223 = tail call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %224 = load i32, ptr %223, align 4, !tbaa !5
  %225 = tail call ptr @s2n_strerror(i32 noundef %224, ptr noundef nonnull @.str.4) #7
  %226 = load i32, ptr %223, align 4, !tbaa !5
  %227 = tail call ptr @s2n_strerror_debug(i32 noundef %226, ptr noundef nonnull @.str.4) #7
  %228 = load i32, ptr %209, align 4, !tbaa !5
  %229 = tail call ptr @strerror(i32 noundef %228) #7
  %230 = load i32, ptr %209, align 4, !tbaa !5
  %231 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %221, ptr noundef nonnull %.str.5.sink246, i32 noundef %222, ptr noundef nonnull @.str.11, ptr noundef nonnull @.str.1, i32 noundef 40, ptr noundef %225, ptr noundef %227, ptr noundef %229, i32 noundef %230) #9
  tail call void @exit(i32 noundef 1) #10
  unreachable

232:                                              ; preds = %203
  %233 = icmp eq i32 %176, 3
  br i1 %233, label %234, label %266

234:                                              ; preds = %232
  %235 = getelementptr inbounds i8, ptr %117, i64 25
  %236 = load i8, ptr %235, align 1, !tbaa !32
  %.not82 = icmp eq i8 %236, 33
  br i1 %.not82, label %266, label %237

237:                                              ; preds = %234
  %238 = add nsw i32 %test_count.promoted111112, 5
  %239 = getelementptr inbounds i8, ptr %117, i64 32
  %240 = load ptr, ptr %239, align 8, !tbaa !33
  %241 = icmp eq ptr %240, null
  br i1 %241, label %242, label %.preheader370

.preheader370:                                    ; preds = %266, %237
  %.ph = phi i32 [ %238, %237 ], [ %267, %266 ]
  br label %308

242:                                              ; preds = %237
  store i32 %238, ptr @test_count, align 4, !tbaa !5
  %243 = tail call ptr @__errno_location() #8
  %244 = load i32, ptr %243, align 4, !tbaa !5
  %245 = load ptr, ptr @stderr, align 8, !tbaa !9
  %246 = tail call i32 @s2n_print_stacktrace(ptr noundef %245) #7
  %247 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %248 = trunc nuw i8 %247 to i1
  br i1 %248, label %249, label %253

249:                                              ; preds = %242
  %250 = load ptr, ptr @stderr, align 8, !tbaa !9
  %251 = tail call i32 @fileno(ptr noundef %250) #7
  %252 = tail call i32 @isatty(i32 noundef %251) #7
  %.not87 = icmp eq i32 %252, 0
  br i1 %.not87, label %253, label %254

253:                                              ; preds = %249, %242
  br label %254

254:                                              ; preds = %249, %253
  %.str.5.sink257 = phi ptr [ @.str.5, %253 ], [ @.str.2, %249 ]
  store i32 %244, ptr %243, align 4, !tbaa !5
  %255 = load ptr, ptr @stderr, align 8, !tbaa !9
  %256 = load i32, ptr @test_count, align 4, !tbaa !5
  %257 = tail call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %258 = load i32, ptr %257, align 4, !tbaa !5
  %259 = tail call ptr @s2n_strerror(i32 noundef %258, ptr noundef nonnull @.str.4) #7
  %260 = load i32, ptr %257, align 4, !tbaa !5
  %261 = tail call ptr @s2n_strerror_debug(i32 noundef %260, ptr noundef nonnull @.str.4) #7
  %262 = load i32, ptr %243, align 4, !tbaa !5
  %263 = tail call ptr @strerror(i32 noundef %262) #7
  %264 = load i32, ptr %243, align 4, !tbaa !5
  %265 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %255, ptr noundef nonnull %.str.5.sink257, i32 noundef %256, ptr noundef nonnull @.str.12, ptr noundef nonnull @.str.1, i32 noundef 44, ptr noundef %259, ptr noundef %261, ptr noundef %263, i32 noundef %264) #9
  tail call void @exit(i32 noundef 1) #10
  unreachable

266:                                              ; preds = %232, %234
  %267 = add nsw i32 %test_count.promoted111112, 5
  %268 = getelementptr inbounds i8, ptr %117, i64 32
  %269 = load ptr, ptr %268, align 8, !tbaa !33
  %270 = icmp eq ptr %269, null
  br i1 %270, label %.preheader370, label %271

271:                                              ; preds = %266
  store i32 %267, ptr @test_count, align 4, !tbaa !5
  %272 = tail call ptr @__errno_location() #8
  %273 = load i32, ptr %272, align 4, !tbaa !5
  %274 = load ptr, ptr @stderr, align 8, !tbaa !9
  %275 = tail call i32 @s2n_print_stacktrace(ptr noundef %274) #7
  %276 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %277 = trunc nuw i8 %276 to i1
  br i1 %277, label %278, label %282

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

282:                                              ; preds = %278, %271
  br label %283

283:                                              ; preds = %278, %282
  %.str.5.sink268 = phi ptr [ @.str.5, %282 ], [ @.str.2, %278 ]
  store i32 %273, ptr %272, align 4, !tbaa !5
  %284 = load ptr, ptr @stderr, align 8, !tbaa !9
  %285 = load i32, ptr @test_count, align 4, !tbaa !5
  %286 = tail call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %287 = load i32, ptr %286, align 4, !tbaa !5
  %288 = tail call ptr @s2n_strerror(i32 noundef %287, ptr noundef nonnull @.str.4) #7
  %289 = load i32, ptr %286, align 4, !tbaa !5
  %290 = tail call ptr @s2n_strerror_debug(i32 noundef %289, ptr noundef nonnull @.str.4) #7
  %291 = load i32, ptr %272, align 4, !tbaa !5
  %292 = tail call ptr @strerror(i32 noundef %291) #7
  %293 = load i32, ptr %272, align 4, !tbaa !5
  %294 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %284, ptr noundef nonnull %.str.5.sink268, i32 noundef %285, ptr noundef nonnull @.str.13, ptr noundef nonnull @.str.1, i32 noundef 46, ptr noundef %288, ptr noundef %290, ptr noundef %292, i32 noundef %293) #9
  tail call void @exit(i32 noundef 1) #10
  unreachable

295:                                              ; preds = %341
  %296 = icmp eq ptr %117, @s2n_rsa_pkcs1_md5_sha1
  %spec.select = select i1 %296, i1 true, i1 %.067114
  %297 = icmp eq ptr %117, @s2n_null_sig_scheme
  br i1 %297, label %344, label %.preheader

.preheader:                                       ; preds = %295
  br i1 %.not136, label %._crit_edge.thread, label %.lr.ph.preheader

.lr.ph.preheader:                                 ; preds = %.preheader
  br i1 %min.iters.check, label %.lr.ph.preheader369, label %vector.ph

.lr.ph.preheader369:                              ; preds = %middle.block, %.lr.ph.preheader
  %.069108.ph = phi i64 [ 0, %.lr.ph.preheader ], [ %n.vec, %middle.block ]
  %.070107.ph = phi i1 [ false, %.lr.ph.preheader ], [ %306, %middle.block ]
  br label %.lr.ph

vector.ph:                                        ; preds = %.lr.ph.preheader
  %broadcast.splatinsert = insertelement <2 x ptr> poison, ptr %117, i64 0
  %broadcast.splat = shufflevector <2 x ptr> %broadcast.splatinsert, <2 x ptr> poison, <2 x i32> zeroinitializer
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %vec.phi = phi <2 x i1> [ zeroinitializer, %vector.ph ], [ %302, %vector.body ]
  %vec.phi367 = phi <2 x i1> [ zeroinitializer, %vector.ph ], [ %303, %vector.body ]
  %298 = getelementptr inbounds ptr, ptr %68, i64 %index
  %299 = getelementptr inbounds i8, ptr %298, i64 16
  %wide.load = load <2 x ptr>, ptr %298, align 8, !tbaa !9
  %wide.load368 = load <2 x ptr>, ptr %299, align 8, !tbaa !9
  %300 = icmp eq <2 x ptr> %broadcast.splat, %wide.load
  %301 = icmp eq <2 x ptr> %broadcast.splat, %wide.load368
  %302 = or <2 x i1> %vec.phi, %300
  %303 = or <2 x i1> %vec.phi367, %301
  %index.next = add nuw i64 %index, 4
  %304 = icmp eq i64 %index.next, %n.vec
  br i1 %304, label %middle.block, label %vector.body, !llvm.loop !34

middle.block:                                     ; preds = %vector.body
  %bin.rdx = or <2 x i1> %303, %302
  %bin.rdx.fr = freeze <2 x i1> %bin.rdx
  %305 = bitcast <2 x i1> %bin.rdx.fr to i2
  %306 = icmp ne i2 %305, 0
  br i1 %cmp.n, label %._crit_edge, label %.lr.ph.preheader369

._crit_edge.thread:                               ; preds = %.preheader
  %307 = add nsw i32 %342, 2
  br label %.loopexit

308:                                              ; preds = %.preheader370, %341
  %.072106 = phi i64 [ %343, %341 ], [ 0, %.preheader370 ]
  %309 = phi i32 [ %342, %341 ], [ %.ph, %.preheader370 ]
  %310 = icmp eq i64 %.072106, %.068113
  br i1 %310, label %341, label %311

311:                                              ; preds = %308
  %312 = getelementptr inbounds ptr, ptr %108, i64 %.072106
  %313 = load ptr, ptr %312, align 8, !tbaa !9
  %314 = add nsw i32 %309, 1
  %315 = load i16, ptr %313, align 8, !tbaa !26
  %316 = icmp eq i16 %118, %315
  br i1 %316, label %317, label %341

317:                                              ; preds = %311
  store i32 %314, ptr @test_count, align 4, !tbaa !5
  %318 = tail call ptr @__errno_location() #8
  %319 = load i32, ptr %318, align 4, !tbaa !5
  %320 = load ptr, ptr @stderr, align 8, !tbaa !9
  %321 = tail call i32 @s2n_print_stacktrace(ptr noundef %320) #7
  %322 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %323 = trunc nuw i8 %322 to i1
  br i1 %323, label %324, label %328

324:                                              ; preds = %317
  %325 = load ptr, ptr @stderr, align 8, !tbaa !9
  %326 = tail call i32 @fileno(ptr noundef %325) #7
  %327 = tail call i32 @isatty(i32 noundef %326) #7
  %.not86 = icmp eq i32 %327, 0
  br i1 %.not86, label %328, label %329

328:                                              ; preds = %324, %317
  br label %329

329:                                              ; preds = %324, %328
  %.str.5.sink279 = phi ptr [ @.str.5, %328 ], [ @.str.2, %324 ]
  store i32 %319, ptr %318, align 4, !tbaa !5
  %330 = load ptr, ptr @stderr, align 8, !tbaa !9
  %331 = load i32, ptr @test_count, align 4, !tbaa !5
  %332 = tail call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %333 = load i32, ptr %332, align 4, !tbaa !5
  %334 = tail call ptr @s2n_strerror(i32 noundef %333, ptr noundef nonnull @.str.4) #7
  %335 = load i32, ptr %332, align 4, !tbaa !5
  %336 = tail call ptr @s2n_strerror_debug(i32 noundef %335, ptr noundef nonnull @.str.4) #7
  %337 = load i32, ptr %318, align 4, !tbaa !5
  %338 = tail call ptr @strerror(i32 noundef %337) #7
  %339 = load i32, ptr %318, align 4, !tbaa !5
  %340 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %330, ptr noundef nonnull %.str.5.sink279, i32 noundef %331, ptr noundef nonnull @.str.14, ptr noundef nonnull @.str.1, i32 noundef 56, ptr noundef %334, ptr noundef %336, ptr noundef %338, i32 noundef %339) #9
  tail call void @exit(i32 noundef 1) #10
  unreachable

341:                                              ; preds = %311, %308
  %342 = phi i32 [ %314, %311 ], [ %309, %308 ]
  %343 = add nuw nsw i64 %.072106, 1
  %exitcond.not = icmp eq i64 %343, %105
  br i1 %exitcond.not, label %295, label %308, !llvm.loop !37

344:                                              ; preds = %295
  %345 = add nsw i32 %342, 1
  store i32 %345, ptr @test_count, align 4, !tbaa !5
  %346 = tail call ptr @__errno_location() #8
  %347 = load i32, ptr %346, align 4, !tbaa !5
  %348 = load ptr, ptr @stderr, align 8, !tbaa !9
  %349 = tail call i32 @s2n_print_stacktrace(ptr noundef %348) #7
  %350 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %351 = trunc nuw i8 %350 to i1
  br i1 %351, label %352, label %356

352:                                              ; preds = %344
  %353 = load ptr, ptr @stderr, align 8, !tbaa !9
  %354 = tail call i32 @fileno(ptr noundef %353) #7
  %355 = tail call i32 @isatty(i32 noundef %354) #7
  %.not85 = icmp eq i32 %355, 0
  br i1 %.not85, label %356, label %357

356:                                              ; preds = %352, %344
  br label %357

357:                                              ; preds = %352, %356
  %.str.5.sink290 = phi ptr [ @.str.5, %356 ], [ @.str.2, %352 ]
  store i32 %347, ptr %346, align 4, !tbaa !5
  %358 = load ptr, ptr @stderr, align 8, !tbaa !9
  %359 = load i32, ptr @test_count, align 4, !tbaa !5
  %360 = tail call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %361 = load i32, ptr %360, align 4, !tbaa !5
  %362 = tail call ptr @s2n_strerror(i32 noundef %361, ptr noundef nonnull @.str.4) #7
  %363 = load i32, ptr %360, align 4, !tbaa !5
  %364 = tail call ptr @s2n_strerror_debug(i32 noundef %363, ptr noundef nonnull @.str.4) #7
  %365 = load i32, ptr %346, align 4, !tbaa !5
  %366 = tail call ptr @strerror(i32 noundef %365) #7
  %367 = load i32, ptr %346, align 4, !tbaa !5
  %368 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %358, ptr noundef nonnull %.str.5.sink290, i32 noundef %359, ptr noundef nonnull @.str.15, ptr noundef nonnull @.str.1, i32 noundef 66, ptr noundef %362, ptr noundef %364, ptr noundef %366, i32 noundef %367) #9
  tail call void @exit(i32 noundef 1) #10
  unreachable

._crit_edge:                                      ; preds = %.lr.ph, %middle.block
  %spec.select95.lcssa = phi i1 [ %306, %middle.block ], [ %spec.select95, %.lr.ph ]
  %369 = add nsw i32 %342, 2
  br i1 %spec.select95.lcssa, label %109, label %.loopexit

.lr.ph:                                           ; preds = %.lr.ph.preheader369, %.lr.ph
  %.069108 = phi i64 [ %373, %.lr.ph ], [ %.069108.ph, %.lr.ph.preheader369 ]
  %.070107 = phi i1 [ %spec.select95, %.lr.ph ], [ %.070107.ph, %.lr.ph.preheader369 ]
  %370 = getelementptr inbounds ptr, ptr %68, i64 %.069108
  %371 = load ptr, ptr %370, align 8, !tbaa !9
  %372 = icmp eq ptr %117, %371
  %spec.select95 = select i1 %372, i1 true, i1 %.070107
  %373 = add nuw nsw i64 %.069108, 1
  %exitcond156.not = icmp eq i64 %373, %67
  br i1 %exitcond156.not, label %._crit_edge, label %.lr.ph, !llvm.loop !38

.loopexit:                                        ; preds = %._crit_edge, %._crit_edge.thread
  %374 = phi i32 [ %307, %._crit_edge.thread ], [ %369, %._crit_edge ]
  store i32 %374, ptr @test_count, align 4, !tbaa !5
  %375 = tail call ptr @__errno_location() #8
  %376 = load i32, ptr %375, align 4, !tbaa !5
  %377 = load ptr, ptr @stderr, align 8, !tbaa !9
  %378 = tail call i32 @s2n_print_stacktrace(ptr noundef %377) #7
  %379 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %380 = trunc nuw i8 %379 to i1
  br i1 %380, label %381, label %385

381:                                              ; preds = %.loopexit
  %382 = load ptr, ptr @stderr, align 8, !tbaa !9
  %383 = tail call i32 @fileno(ptr noundef %382) #7
  %384 = tail call i32 @isatty(i32 noundef %383) #7
  %.not84 = icmp eq i32 %384, 0
  br i1 %.not84, label %385, label %386

385:                                              ; preds = %381, %.loopexit
  br label %386

386:                                              ; preds = %381, %385
  %.str.5.sink301 = phi ptr [ @.str.5, %385 ], [ @.str.2, %381 ]
  store i32 %376, ptr %375, align 4, !tbaa !5
  %387 = load ptr, ptr @stderr, align 8, !tbaa !9
  %388 = load i32, ptr @test_count, align 4, !tbaa !5
  %389 = tail call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %390 = load i32, ptr %389, align 4, !tbaa !5
  %391 = tail call ptr @s2n_strerror(i32 noundef %390, ptr noundef nonnull @.str.4) #7
  %392 = load i32, ptr %389, align 4, !tbaa !5
  %393 = tail call ptr @s2n_strerror_debug(i32 noundef %392, ptr noundef nonnull @.str.4) #7
  %394 = load i32, ptr %375, align 4, !tbaa !5
  %395 = tail call ptr @strerror(i32 noundef %394) #7
  %396 = load i32, ptr %375, align 4, !tbaa !5
  %397 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %387, ptr noundef nonnull %.str.5.sink301, i32 noundef %388, ptr noundef nonnull @.str.16, ptr noundef nonnull @.str.1, i32 noundef 75, ptr noundef %391, ptr noundef %393, ptr noundef %395, i32 noundef %396) #9
  tail call void @exit(i32 noundef 1) #10
  unreachable

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

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

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

410:                                              ; preds = %405, %409
  %.str.5.sink312 = phi ptr [ @.str.5, %409 ], [ @.str.2, %405 ]
  store i32 %400, ptr %399, align 4, !tbaa !5
  %411 = load ptr, ptr @stderr, align 8, !tbaa !9
  %412 = load i32, ptr @test_count, align 4, !tbaa !5
  %413 = tail call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %414 = load i32, ptr %413, align 4, !tbaa !5
  %415 = tail call ptr @s2n_strerror(i32 noundef %414, ptr noundef nonnull @.str.4) #7
  %416 = load i32, ptr %413, align 4, !tbaa !5
  %417 = tail call ptr @s2n_strerror_debug(i32 noundef %416, ptr noundef nonnull @.str.4) #7
  %418 = load i32, ptr %399, align 4, !tbaa !5
  %419 = tail call ptr @strerror(i32 noundef %418) #7
  %420 = load i32, ptr %399, align 4, !tbaa !5
  %421 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %411, ptr noundef nonnull %.str.5.sink312, i32 noundef %412, ptr noundef nonnull @.str.17, ptr noundef nonnull @.str.1, i32 noundef 86, ptr noundef %415, ptr noundef %417, ptr noundef %419, i32 noundef %420) #9
  tail call void @exit(i32 noundef 1) #10
  unreachable

._crit_edge135:                                   ; preds = %93, %.preheader96
  %422 = tail call i32 @s2n_cleanup() #7
  %423 = icmp eq i32 %422, -1
  br i1 %423, label %424, label %448

424:                                              ; preds = %._crit_edge135
  %425 = tail call ptr @__errno_location() #8
  %426 = load i32, ptr %425, align 4, !tbaa !5
  %427 = load ptr, ptr @stderr, align 8, !tbaa !9
  %428 = tail call i32 @s2n_print_stacktrace(ptr noundef %427) #7
  %429 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %430 = trunc nuw i8 %429 to i1
  br i1 %430, label %431, label %435

431:                                              ; preds = %424
  %432 = load ptr, ptr @stderr, align 8, !tbaa !9
  %433 = tail call i32 @fileno(ptr noundef %432) #7
  %434 = tail call i32 @isatty(i32 noundef %433) #7
  %.not80 = icmp eq i32 %434, 0
  br i1 %.not80, label %435, label %436

435:                                              ; preds = %431, %424
  br label %436

436:                                              ; preds = %431, %435
  %.str.5.sink323 = phi ptr [ @.str.5, %435 ], [ @.str.2, %431 ]
  store i32 %426, ptr %425, align 4, !tbaa !5
  %437 = load ptr, ptr @stderr, align 8, !tbaa !9
  %438 = load i32, ptr @test_count, align 4, !tbaa !5
  %439 = tail call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %440 = load i32, ptr %439, align 4, !tbaa !5
  %441 = tail call ptr @s2n_strerror(i32 noundef %440, ptr noundef nonnull @.str.4) #7
  %442 = load i32, ptr %439, align 4, !tbaa !5
  %443 = tail call ptr @s2n_strerror_debug(i32 noundef %442, ptr noundef nonnull @.str.4) #7
  %444 = load i32, ptr %425, align 4, !tbaa !5
  %445 = tail call ptr @strerror(i32 noundef %444) #7
  %446 = load i32, ptr %425, align 4, !tbaa !5
  %447 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %437, ptr noundef nonnull %.str.5.sink323, i32 noundef %438, ptr noundef nonnull @.str.18, ptr noundef nonnull @.str.1, i32 noundef 91, ptr noundef %441, ptr noundef %443, ptr noundef %445, i32 noundef %446) #9
  tail call void @exit(i32 noundef 1) #10
  unreachable

448:                                              ; preds = %._crit_edge135
  %449 = tail call i32 @s2n_in_unit_test_set(i1 noundef zeroext false) #7
  %450 = icmp eq i32 %449, -1
  br i1 %450, label %451, label %475

451:                                              ; preds = %448
  %452 = tail call ptr @__errno_location() #8
  %453 = load i32, ptr %452, align 4, !tbaa !5
  %454 = load ptr, ptr @stderr, align 8, !tbaa !9
  %455 = tail call i32 @s2n_print_stacktrace(ptr noundef %454) #7
  %456 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %457 = trunc nuw i8 %456 to i1
  br i1 %457, label %458, label %462

458:                                              ; preds = %451
  %459 = load ptr, ptr @stderr, align 8, !tbaa !9
  %460 = tail call i32 @fileno(ptr noundef %459) #7
  %461 = tail call i32 @isatty(i32 noundef %460) #7
  %.not79 = icmp eq i32 %461, 0
  br i1 %.not79, label %462, label %463

462:                                              ; preds = %458, %451
  br label %463

463:                                              ; preds = %458, %462
  %.str.5.sink334 = phi ptr [ @.str.5, %462 ], [ @.str.2, %458 ]
  store i32 %453, ptr %452, align 4, !tbaa !5
  %464 = load ptr, ptr @stderr, align 8, !tbaa !9
  %465 = load i32, ptr @test_count, align 4, !tbaa !5
  %466 = tail call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %467 = load i32, ptr %466, align 4, !tbaa !5
  %468 = tail call ptr @s2n_strerror(i32 noundef %467, ptr noundef nonnull @.str.4) #7
  %469 = load i32, ptr %466, align 4, !tbaa !5
  %470 = tail call ptr @s2n_strerror_debug(i32 noundef %469, ptr noundef nonnull @.str.4) #7
  %471 = load i32, ptr %452, align 4, !tbaa !5
  %472 = tail call ptr @strerror(i32 noundef %471) #7
  %473 = load i32, ptr %452, align 4, !tbaa !5
  %474 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %464, ptr noundef nonnull %.str.5.sink334, i32 noundef %465, ptr noundef nonnull @.str.19, ptr noundef nonnull @.str.1, i32 noundef 91, ptr noundef %468, ptr noundef %470, ptr noundef %472, i32 noundef %473) #9
  tail call void @exit(i32 noundef 1) #10
  unreachable

475:                                              ; preds = %448
  %476 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %477 = trunc nuw i8 %476 to i1
  br i1 %477, label %478, label %489

478:                                              ; preds = %475
  %479 = load ptr, ptr @stdout, align 8, !tbaa !9
  %480 = tail call i32 @fileno(ptr noundef %479) #7
  %481 = tail call i32 @isatty(i32 noundef %480) #7
  %.not76 = icmp eq i32 %481, 0
  br i1 %.not76, label %489, label %482

482:                                              ; preds = %478
  %483 = load i32, ptr @test_count, align 4, !tbaa !5
  %.not78 = icmp eq i32 %483, 0
  %484 = load ptr, ptr @stdout, align 8, !tbaa !9
  br i1 %.not78, label %487, label %485

485:                                              ; preds = %482
  %486 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %484, ptr noundef nonnull @.str.20, i32 noundef %483) #7
  br label %496

487:                                              ; preds = %482
  %488 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %484, ptr noundef nonnull @.str.21) #7
  br label %496

489:                                              ; preds = %478, %475
  %490 = load i32, ptr @test_count, align 4, !tbaa !5
  %.not77 = icmp eq i32 %490, 0
  %491 = load ptr, ptr @stdout, align 8, !tbaa !9
  br i1 %.not77, label %494, label %492

492:                                              ; preds = %489
  %493 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %491, ptr noundef nonnull @.str.22, i32 noundef %490) #7
  br label %496

494:                                              ; preds = %489
  %495 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %491, ptr noundef nonnull @.str.23) #7
  br label %496

496:                                              ; preds = %492, %494, %485, %487
  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 = !{}
!15 = !{!16, !10, i64 0}
!16 = !{!"s2n_security_policy_selection", !10, i64 0, !10, i64 8, !6, i64 16, !6, i64 16, !6, i64 16}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = !{!16, !10, i64 8}
!20 = !{!21, !10, i64 24}
!21 = !{!"s2n_security_policy", !7, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !10, i64 40, !10, i64 48, !12, i64 56, !7, i64 57}
!22 = !{!23, !7, i64 0}
!23 = !{!"s2n_signature_preferences", !7, i64 0, !10, i64 8}
!24 = !{!23, !10, i64 8}
!25 = distinct !{!25, !18}
!26 = !{!27, !28, i64 0}
!27 = !{!"s2n_signature_scheme", !28, i64 0, !10, i64 8, !6, i64 16, !6, i64 20, !7, i64 24, !7, i64 25, !28, i64 26, !10, i64 32}
!28 = !{!"short", !7, i64 0}
!29 = !{!27, !6, i64 16}
!30 = !{!27, !6, i64 20}
!31 = !{!27, !28, i64 26}
!32 = !{!27, !7, i64 25}
!33 = !{!27, !10, i64 32}
!34 = distinct !{!34, !18, !35, !36}
!35 = !{!"llvm.loop.isvectorized", i32 1}
!36 = !{!"llvm.loop.unroll.runtime.disable"}
!37 = distinct !{!37, !18}
!38 = distinct !{!38, !18, !36, !35}


; Effective O3 passes: AggressiveInstCombinePass,CorrelatedValuePropagationPass,DSEPass,EarlyCSEPass,GVNPass,GlobalDCEPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopInstSimplifyPass,LoopLoadEliminationPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,LoopVectorizePass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass