; LLVM IR from aws/s2n-tls :: tests/unit (s2n_tls13_pq_handshake_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_debug_info = type { ptr, ptr }
%struct.s2n_kem_group = type { ptr, i16, ptr, ptr, i8 }
%struct.s2n_cipher_preferences = type { i16, ptr, i8 }
%struct.s2n_signature_preferences = type { i8, ptr }
%struct.s2n_ecc_preferences = type { i8, ptr }
%struct.s2n_security_policy = type { i8, ptr, ptr, ptr, ptr, ptr, ptr, i8, [2 x i8] }
%struct.s2n_ecc_named_curve = type { i16, i32, ptr, i8, ptr }
%struct.s2n_kem_preferences = type { i8, ptr, i8, ptr, i8 }
%struct.pq_handshake_test_vector = type { ptr, ptr, ptr, ptr, i8, i8 }

@s2n_use_color_in_output = external dso_local global i8, align 1
@_s2n_debug_info = external thread_local global %struct.s2n_debug_info, align 8
@s2n_errno = external thread_local global i32, align 4
@test_count = external dso_local global i32, align 4
@stdout = external global ptr, align 8
@.str.118 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.119 = external hidden unnamed_addr constant [86 x i8], align 1
@stderr = external global ptr, align 8
@.str.120 = external hidden unnamed_addr constant [101 x i8], align 1
@.str.121 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.122 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.123 = external hidden unnamed_addr constant [90 x i8], align 1
@.str.124 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.125 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.126 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.127 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.128 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.129 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.130 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.131 = external hidden unnamed_addr constant [25 x i8], align 1
@s2n_x25519_kyber_512_r3 = external constant %struct.s2n_kem_group, align 8
@s2n_secp256r1_kyber_768_r3 = external constant %struct.s2n_kem_group, align 8
@s2n_secp384r1_kyber_768_r3 = external constant %struct.s2n_kem_group, align 8
@s2n_secp521r1_kyber_1024_r3 = external constant %struct.s2n_kem_group, align 8
@__const.main.kyber_test_groups = external hidden unnamed_addr constant [6 x ptr], align 16
@cipher_preferences_20190801 = external constant %struct.s2n_cipher_preferences, align 8
@s2n_signature_preferences_20200207 = external constant %struct.s2n_signature_preferences, align 8
@s2n_ecc_preferences_20200310 = external constant %struct.s2n_ecc_preferences, align 8
@__const.main.kyber768_test_kem_groups = external hidden unnamed_addr constant [2 x ptr], align 16
@s2n_ecc_preferences_20201021 = external constant %struct.s2n_ecc_preferences, align 8
@__const.main.kyber1024_test_kem_groups = external hidden unnamed_addr constant [2 x ptr], align 16
@s2n_x25519_mlkem_768 = external constant %struct.s2n_kem_group, align 8
@__const.main.mlkem768_test_groups = external hidden unnamed_addr constant [2 x ptr], align 16
@s2n_ecc_preferences_20240603 = external constant %struct.s2n_ecc_preferences, align 8
@security_policy_pq_tls_1_0_2020_12 = external constant %struct.s2n_security_policy, align 8
@security_policy_test_tls13_retry = external constant %struct.s2n_security_policy, align 8
@s2n_ecc_curve_x25519 = external constant %struct.s2n_ecc_named_curve, align 8
@s2n_ecc_curve_secp256r1 = external constant %struct.s2n_ecc_named_curve, align 8
@ALL_SUPPORTED_KEM_GROUPS = external global [8 x ptr], align 16
@.str.132 = external hidden unnamed_addr constant [211 x i8], align 1
@security_policy_pq_tls_1_3_2023_06_01 = external constant %struct.s2n_security_policy, align 8
@security_policy_pq_tls_1_0_2021_05_24 = external constant %struct.s2n_security_policy, align 8
@security_policy_pq_tls_1_1_2021_05_21 = external constant %struct.s2n_security_policy, align 8
@security_policy_pq_tls_1_0_2021_05_22 = external constant %struct.s2n_security_policy, align 8
@security_policy_pq_tls_1_0_2021_05_23 = external constant %struct.s2n_security_policy, align 8
@security_policy_pq_tls_1_0_2021_05_26 = external constant %struct.s2n_security_policy, align 8
@security_policy_pq_tls_1_0_2023_01_24 = external constant %struct.s2n_security_policy, align 8
@security_policy_test_all_tls13 = external constant %struct.s2n_security_policy, align 8
@.str.133 = external hidden unnamed_addr constant [55 x i8], align 1
@.str.134 = external hidden unnamed_addr constant [113 x i8], align 1
@.str.135 = external hidden unnamed_addr constant [113 x i8], align 1
@.str.136 = external hidden unnamed_addr constant [60 x i8], align 1
@.str.137 = external hidden unnamed_addr constant [111 x i8], align 1
@.str.138 = external hidden unnamed_addr constant [111 x i8], align 1
@.str.139 = external hidden unnamed_addr constant [139 x i8], align 1

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

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

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

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

; Function Attrs: nounwind willreturn memory(read)
declare ptr @strrchr(ptr noundef, i32 noundef) #3

declare i32 @s2n_calculate_stacktrace() #4

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

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

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

declare zeroext i1 @s2n_kem_group_is_available(ptr noundef) #4

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

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

; Function Attrs: nounwind uwtable
define dso_local i32 @main() #7 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca [6 x ptr], align 16
  %8 = alloca %struct.s2n_kem_preferences, align 8
  %9 = alloca %struct.s2n_security_policy, align 8
  %10 = alloca %struct.s2n_kem_preferences, align 8
  %11 = alloca %struct.s2n_security_policy, align 8
  %12 = alloca [2 x ptr], align 16
  %13 = alloca %struct.s2n_kem_preferences, align 8
  %14 = alloca %struct.s2n_security_policy, align 8
  %15 = alloca [2 x ptr], align 16
  %16 = alloca %struct.s2n_kem_preferences, align 8
  %17 = alloca %struct.s2n_security_policy, align 8
  %18 = alloca [2 x ptr], align 16
  %19 = alloca %struct.s2n_kem_preferences, align 8
  %20 = alloca %struct.s2n_security_policy, align 8
  %21 = alloca %struct.s2n_security_policy, align 8
  %22 = alloca ptr, align 8
  %23 = alloca i64, align 8
  %24 = alloca i32, align 4
  %25 = alloca ptr, align 8
  %26 = alloca %struct.s2n_kem_preferences, align 8
  %27 = alloca %struct.s2n_security_policy, align 8
  %28 = alloca %struct.pq_handshake_test_vector, align 8
  %29 = alloca i32, align 4
  %30 = alloca ptr, align 8
  %31 = alloca ptr, align 8
  %32 = alloca [23 x %struct.pq_handshake_test_vector], align 16
  %33 = alloca i64, align 8
  %34 = alloca ptr, align 8
  %35 = alloca ptr, align 8
  %36 = alloca ptr, align 8
  %37 = alloca ptr, align 8
  %38 = alloca ptr, align 8
  %39 = alloca i8, align 1
  %40 = alloca i8, align 1
  %41 = alloca i32, align 4
  %42 = alloca ptr, align 8
  %43 = alloca ptr, align 8
  %44 = alloca i32, align 4
  %45 = alloca i32, align 4
  %46 = alloca i32, align 4
  %47 = alloca ptr, align 8
  %48 = alloca i32, align 4
  %49 = alloca i32, align 4
  %50 = alloca i32, align 4
  store i32 0, ptr %1, align 4
  br label %51

51:                                               ; preds = %0
  br label %52

52:                                               ; preds = %51
  store i32 0, ptr @test_count, align 4, !tbaa !5
  %53 = load ptr, ptr @stdout, align 8, !tbaa !9
  %54 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %53, ptr noundef @.str.118, ptr noundef @.str.119) #10
  %55 = load ptr, ptr @stdout, align 8, !tbaa !9
  %56 = call i32 @fflush(ptr noundef %55)
  br label %57

57:                                               ; preds = %52
  %58 = call i32 @s2n_in_unit_test_set(i1 noundef zeroext true)
  %59 = icmp eq i32 %58, -1
  br i1 %59, label %60, label %111

60:                                               ; preds = %57
  br label %61

61:                                               ; preds = %60
  br label %62

62:                                               ; preds = %61
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #10
  %63 = call ptr @__errno_location() #11
  %64 = load i32, ptr %63, align 4, !tbaa !5
  store i32 %64, ptr %2, align 4, !tbaa !5
  %65 = load ptr, ptr @stderr, align 8, !tbaa !9
  %66 = call i32 @s2n_print_stacktrace(ptr noundef %65)
  %67 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %68 = trunc i8 %67 to i1
  br i1 %68, label %69, label %91

69:                                               ; preds = %62
  %70 = load ptr, ptr @stderr, align 8, !tbaa !9
  %71 = call i32 @fileno(ptr noundef %70) #10
  %72 = call i32 @isatty(i32 noundef %71) #10
  %73 = icmp ne i32 %72, 0
  br i1 %73, label %74, label %91

74:                                               ; preds = %69
  %75 = load i32, ptr %2, align 4, !tbaa !5
  %76 = call ptr @__errno_location() #11
  store i32 %75, ptr %76, align 4, !tbaa !5
  %77 = load ptr, ptr @stderr, align 8, !tbaa !9
  %78 = load i32, ptr @test_count, align 4, !tbaa !5
  %79 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %80 = load i32, ptr %79, align 4, !tbaa !5
  %81 = call ptr @s2n_strerror(i32 noundef %80, ptr noundef @.str.122)
  %82 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %83 = load i32, ptr %82, align 4, !tbaa !5
  %84 = call ptr @s2n_strerror_debug(i32 noundef %83, ptr noundef @.str.122)
  %85 = call ptr @__errno_location() #11
  %86 = load i32, ptr %85, align 4, !tbaa !5
  %87 = call ptr @strerror(i32 noundef %86) #10
  %88 = call ptr @__errno_location() #11
  %89 = load i32, ptr %88, align 4, !tbaa !5
  %90 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %77, ptr noundef @.str.120, i32 noundef %78, ptr noundef @.str.121, ptr noundef @.str.119, i32 noundef 332, ptr noundef %81, ptr noundef %84, ptr noundef %87, i32 noundef %89) #10
  br label %108

91:                                               ; preds = %69, %62
  %92 = load i32, ptr %2, align 4, !tbaa !5
  %93 = call ptr @__errno_location() #11
  store i32 %92, ptr %93, align 4, !tbaa !5
  %94 = load ptr, ptr @stderr, align 8, !tbaa !9
  %95 = load i32, ptr @test_count, align 4, !tbaa !5
  %96 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %97 = load i32, ptr %96, align 4, !tbaa !5
  %98 = call ptr @s2n_strerror(i32 noundef %97, ptr noundef @.str.122)
  %99 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %100 = load i32, ptr %99, align 4, !tbaa !5
  %101 = call ptr @s2n_strerror_debug(i32 noundef %100, ptr noundef @.str.122)
  %102 = call ptr @__errno_location() #11
  %103 = load i32, ptr %102, align 4, !tbaa !5
  %104 = call ptr @strerror(i32 noundef %103) #10
  %105 = call ptr @__errno_location() #11
  %106 = load i32, ptr %105, align 4, !tbaa !5
  %107 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %94, ptr noundef @.str.123, i32 noundef %95, ptr noundef @.str.121, ptr noundef @.str.119, i32 noundef 332, ptr noundef %98, ptr noundef %101, ptr noundef %104, i32 noundef %106) #10
  br label %108

108:                                              ; preds = %91, %74
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #10
  br label %109

109:                                              ; preds = %108
  call void @exit(i32 noundef 1) #12
  unreachable

110:                                              ; No predecessors!
  br label %111

111:                                              ; preds = %110, %57
  br label %112

112:                                              ; preds = %111
  br label %113

113:                                              ; preds = %112
  %114 = load i32, ptr @test_count, align 4, !tbaa !5
  %115 = add nsw i32 %114, 1
  store i32 %115, ptr @test_count, align 4, !tbaa !5
  %116 = call i32 @s2n_enable_atexit()
  %117 = icmp eq i32 %116, -1
  br i1 %117, label %118, label %169

118:                                              ; preds = %113
  br label %119

119:                                              ; preds = %118
  br label %120

120:                                              ; preds = %119
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #10
  %121 = call ptr @__errno_location() #11
  %122 = load i32, ptr %121, align 4, !tbaa !5
  store i32 %122, ptr %3, align 4, !tbaa !5
  %123 = load ptr, ptr @stderr, align 8, !tbaa !9
  %124 = call i32 @s2n_print_stacktrace(ptr noundef %123)
  %125 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %126 = trunc i8 %125 to i1
  br i1 %126, label %127, label %149

127:                                              ; preds = %120
  %128 = load ptr, ptr @stderr, align 8, !tbaa !9
  %129 = call i32 @fileno(ptr noundef %128) #10
  %130 = call i32 @isatty(i32 noundef %129) #10
  %131 = icmp ne i32 %130, 0
  br i1 %131, label %132, label %149

132:                                              ; preds = %127
  %133 = load i32, ptr %3, align 4, !tbaa !5
  %134 = call ptr @__errno_location() #11
  store i32 %133, ptr %134, align 4, !tbaa !5
  %135 = load ptr, ptr @stderr, align 8, !tbaa !9
  %136 = load i32, ptr @test_count, align 4, !tbaa !5
  %137 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %138 = load i32, ptr %137, align 4, !tbaa !5
  %139 = call ptr @s2n_strerror(i32 noundef %138, ptr noundef @.str.122)
  %140 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %141 = load i32, ptr %140, align 4, !tbaa !5
  %142 = call ptr @s2n_strerror_debug(i32 noundef %141, ptr noundef @.str.122)
  %143 = call ptr @__errno_location() #11
  %144 = load i32, ptr %143, align 4, !tbaa !5
  %145 = call ptr @strerror(i32 noundef %144) #10
  %146 = call ptr @__errno_location() #11
  %147 = load i32, ptr %146, align 4, !tbaa !5
  %148 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %135, ptr noundef @.str.120, i32 noundef %136, ptr noundef @.str.124, ptr noundef @.str.119, i32 noundef 332, ptr noundef %139, ptr noundef %142, ptr noundef %145, i32 noundef %147) #10
  br label %166

149:                                              ; preds = %127, %120
  %150 = load i32, ptr %3, align 4, !tbaa !5
  %151 = call ptr @__errno_location() #11
  store i32 %150, ptr %151, align 4, !tbaa !5
  %152 = load ptr, ptr @stderr, align 8, !tbaa !9
  %153 = load i32, ptr @test_count, align 4, !tbaa !5
  %154 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %155 = load i32, ptr %154, align 4, !tbaa !5
  %156 = call ptr @s2n_strerror(i32 noundef %155, ptr noundef @.str.122)
  %157 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %158 = load i32, ptr %157, align 4, !tbaa !5
  %159 = call ptr @s2n_strerror_debug(i32 noundef %158, ptr noundef @.str.122)
  %160 = call ptr @__errno_location() #11
  %161 = load i32, ptr %160, align 4, !tbaa !5
  %162 = call ptr @strerror(i32 noundef %161) #10
  %163 = call ptr @__errno_location() #11
  %164 = load i32, ptr %163, align 4, !tbaa !5
  %165 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %152, ptr noundef @.str.123, i32 noundef %153, ptr noundef @.str.124, ptr noundef @.str.119, i32 noundef 332, ptr noundef %156, ptr noundef %159, ptr noundef %162, i32 noundef %164) #10
  br label %166

166:                                              ; preds = %149, %132
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #10
  br label %167

167:                                              ; preds = %166
  call void @exit(i32 noundef 1) #12
  unreachable

168:                                              ; No predecessors!
  br label %169

169:                                              ; preds = %168, %113
  br label %170

170:                                              ; preds = %169
  br label %171

171:                                              ; preds = %170
  br label %172

172:                                              ; preds = %171
  %173 = call i32 @s2n_init()
  %174 = icmp eq i32 %173, -1
  br i1 %174, label %175, label %226

175:                                              ; preds = %172
  br label %176

176:                                              ; preds = %175
  br label %177

177:                                              ; preds = %176
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #10
  %178 = call ptr @__errno_location() #11
  %179 = load i32, ptr %178, align 4, !tbaa !5
  store i32 %179, ptr %4, align 4, !tbaa !5
  %180 = load ptr, ptr @stderr, align 8, !tbaa !9
  %181 = call i32 @s2n_print_stacktrace(ptr noundef %180)
  %182 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %183 = trunc i8 %182 to i1
  br i1 %183, label %184, label %206

184:                                              ; preds = %177
  %185 = load ptr, ptr @stderr, align 8, !tbaa !9
  %186 = call i32 @fileno(ptr noundef %185) #10
  %187 = call i32 @isatty(i32 noundef %186) #10
  %188 = icmp ne i32 %187, 0
  br i1 %188, label %189, label %206

189:                                              ; preds = %184
  %190 = load i32, ptr %4, align 4, !tbaa !5
  %191 = call ptr @__errno_location() #11
  store i32 %190, ptr %191, align 4, !tbaa !5
  %192 = load ptr, ptr @stderr, align 8, !tbaa !9
  %193 = load i32, ptr @test_count, align 4, !tbaa !5
  %194 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %195 = load i32, ptr %194, align 4, !tbaa !5
  %196 = call ptr @s2n_strerror(i32 noundef %195, ptr noundef @.str.122)
  %197 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %198 = load i32, ptr %197, align 4, !tbaa !5
  %199 = call ptr @s2n_strerror_debug(i32 noundef %198, ptr noundef @.str.122)
  %200 = call ptr @__errno_location() #11
  %201 = load i32, ptr %200, align 4, !tbaa !5
  %202 = call ptr @strerror(i32 noundef %201) #10
  %203 = call ptr @__errno_location() #11
  %204 = load i32, ptr %203, align 4, !tbaa !5
  %205 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %192, ptr noundef @.str.120, i32 noundef %193, ptr noundef @.str.125, ptr noundef @.str.119, i32 noundef 332, ptr noundef %196, ptr noundef %199, ptr noundef %202, i32 noundef %204) #10
  br label %223

206:                                              ; preds = %184, %177
  %207 = load i32, ptr %4, align 4, !tbaa !5
  %208 = call ptr @__errno_location() #11
  store i32 %207, ptr %208, align 4, !tbaa !5
  %209 = load ptr, ptr @stderr, align 8, !tbaa !9
  %210 = load i32, ptr @test_count, align 4, !tbaa !5
  %211 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %212 = load i32, ptr %211, align 4, !tbaa !5
  %213 = call ptr @s2n_strerror(i32 noundef %212, ptr noundef @.str.122)
  %214 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %215 = load i32, ptr %214, align 4, !tbaa !5
  %216 = call ptr @s2n_strerror_debug(i32 noundef %215, ptr noundef @.str.122)
  %217 = call ptr @__errno_location() #11
  %218 = load i32, ptr %217, align 4, !tbaa !5
  %219 = call ptr @strerror(i32 noundef %218) #10
  %220 = call ptr @__errno_location() #11
  %221 = load i32, ptr %220, align 4, !tbaa !5
  %222 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %209, ptr noundef @.str.123, i32 noundef %210, ptr noundef @.str.125, ptr noundef @.str.119, i32 noundef 332, ptr noundef %213, ptr noundef %216, ptr noundef %219, i32 noundef %221) #10
  br label %223

223:                                              ; preds = %206, %189
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #10
  br label %224

224:                                              ; preds = %223
  call void @exit(i32 noundef 1) #12
  unreachable

225:                                              ; No predecessors!
  br label %226

226:                                              ; preds = %225, %172
  br label %227

227:                                              ; preds = %226
  br label %228

228:                                              ; preds = %227
  %229 = call zeroext i1 (...) @s2n_is_tls13_fully_supported()
  br i1 %229, label %377, label %230

230:                                              ; preds = %228
  br label %231

231:                                              ; preds = %230
  br label %232

232:                                              ; preds = %231
  %233 = call i32 @s2n_cleanup()
  %234 = icmp eq i32 %233, -1
  br i1 %234, label %235, label %286

235:                                              ; preds = %232
  br label %236

236:                                              ; preds = %235
  br label %237

237:                                              ; preds = %236
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #10
  %238 = call ptr @__errno_location() #11
  %239 = load i32, ptr %238, align 4, !tbaa !5
  store i32 %239, ptr %5, align 4, !tbaa !5
  %240 = load ptr, ptr @stderr, align 8, !tbaa !9
  %241 = call i32 @s2n_print_stacktrace(ptr noundef %240)
  %242 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %243 = trunc i8 %242 to i1
  br i1 %243, label %244, label %266

244:                                              ; preds = %237
  %245 = load ptr, ptr @stderr, align 8, !tbaa !9
  %246 = call i32 @fileno(ptr noundef %245) #10
  %247 = call i32 @isatty(i32 noundef %246) #10
  %248 = icmp ne i32 %247, 0
  br i1 %248, label %249, label %266

249:                                              ; preds = %244
  %250 = load i32, ptr %5, align 4, !tbaa !5
  %251 = call ptr @__errno_location() #11
  store i32 %250, ptr %251, align 4, !tbaa !5
  %252 = load ptr, ptr @stderr, align 8, !tbaa !9
  %253 = load i32, ptr @test_count, align 4, !tbaa !5
  %254 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %255 = load i32, ptr %254, align 4, !tbaa !5
  %256 = call ptr @s2n_strerror(i32 noundef %255, ptr noundef @.str.122)
  %257 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %258 = load i32, ptr %257, align 4, !tbaa !5
  %259 = call ptr @s2n_strerror_debug(i32 noundef %258, ptr noundef @.str.122)
  %260 = call ptr @__errno_location() #11
  %261 = load i32, ptr %260, align 4, !tbaa !5
  %262 = call ptr @strerror(i32 noundef %261) #10
  %263 = call ptr @__errno_location() #11
  %264 = load i32, ptr %263, align 4, !tbaa !5
  %265 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %252, ptr noundef @.str.120, i32 noundef %253, ptr noundef @.str.126, ptr noundef @.str.119, i32 noundef 335, ptr noundef %256, ptr noundef %259, ptr noundef %262, i32 noundef %264) #10
  br label %283

266:                                              ; preds = %244, %237
  %267 = load i32, ptr %5, align 4, !tbaa !5
  %268 = call ptr @__errno_location() #11
  store i32 %267, ptr %268, align 4, !tbaa !5
  %269 = load ptr, ptr @stderr, align 8, !tbaa !9
  %270 = load i32, ptr @test_count, align 4, !tbaa !5
  %271 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %272 = load i32, ptr %271, align 4, !tbaa !5
  %273 = call ptr @s2n_strerror(i32 noundef %272, ptr noundef @.str.122)
  %274 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %275 = load i32, ptr %274, align 4, !tbaa !5
  %276 = call ptr @s2n_strerror_debug(i32 noundef %275, ptr noundef @.str.122)
  %277 = call ptr @__errno_location() #11
  %278 = load i32, ptr %277, align 4, !tbaa !5
  %279 = call ptr @strerror(i32 noundef %278) #10
  %280 = call ptr @__errno_location() #11
  %281 = load i32, ptr %280, align 4, !tbaa !5
  %282 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %269, ptr noundef @.str.123, i32 noundef %270, ptr noundef @.str.126, ptr noundef @.str.119, i32 noundef 335, ptr noundef %273, ptr noundef %276, ptr noundef %279, i32 noundef %281) #10
  br label %283

283:                                              ; preds = %266, %249
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #10
  br label %284

284:                                              ; preds = %283
  call void @exit(i32 noundef 1) #12
  unreachable

285:                                              ; No predecessors!
  br label %286

286:                                              ; preds = %285, %232
  br label %287

287:                                              ; preds = %286
  br label %288

288:                                              ; preds = %287
  br label %289

289:                                              ; preds = %288
  %290 = call i32 @s2n_in_unit_test_set(i1 noundef zeroext false)
  %291 = icmp eq i32 %290, -1
  br i1 %291, label %292, label %343

292:                                              ; preds = %289
  br label %293

293:                                              ; preds = %292
  br label %294

294:                                              ; preds = %293
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #10
  %295 = call ptr @__errno_location() #11
  %296 = load i32, ptr %295, align 4, !tbaa !5
  store i32 %296, ptr %6, align 4, !tbaa !5
  %297 = load ptr, ptr @stderr, align 8, !tbaa !9
  %298 = call i32 @s2n_print_stacktrace(ptr noundef %297)
  %299 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %300 = trunc i8 %299 to i1
  br i1 %300, label %301, label %323

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

306:                                              ; preds = %301
  %307 = load i32, ptr %6, align 4, !tbaa !5
  %308 = call ptr @__errno_location() #11
  store i32 %307, ptr %308, align 4, !tbaa !5
  %309 = load ptr, ptr @stderr, align 8, !tbaa !9
  %310 = load i32, ptr @test_count, align 4, !tbaa !5
  %311 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %312 = load i32, ptr %311, align 4, !tbaa !5
  %313 = call ptr @s2n_strerror(i32 noundef %312, ptr noundef @.str.122)
  %314 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %315 = load i32, ptr %314, align 4, !tbaa !5
  %316 = call ptr @s2n_strerror_debug(i32 noundef %315, ptr noundef @.str.122)
  %317 = call ptr @__errno_location() #11
  %318 = load i32, ptr %317, align 4, !tbaa !5
  %319 = call ptr @strerror(i32 noundef %318) #10
  %320 = call ptr @__errno_location() #11
  %321 = load i32, ptr %320, align 4, !tbaa !5
  %322 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %309, ptr noundef @.str.120, i32 noundef %310, ptr noundef @.str.127, ptr noundef @.str.119, i32 noundef 335, ptr noundef %313, ptr noundef %316, ptr noundef %319, i32 noundef %321) #10
  br label %340

323:                                              ; preds = %301, %294
  %324 = load i32, ptr %6, align 4, !tbaa !5
  %325 = call ptr @__errno_location() #11
  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.122)
  %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.122)
  %334 = call ptr @__errno_location() #11
  %335 = load i32, ptr %334, align 4, !tbaa !5
  %336 = call ptr @strerror(i32 noundef %335) #10
  %337 = call ptr @__errno_location() #11
  %338 = load i32, ptr %337, align 4, !tbaa !5
  %339 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %326, ptr noundef @.str.123, i32 noundef %327, ptr noundef @.str.127, ptr noundef @.str.119, i32 noundef 335, ptr noundef %330, ptr noundef %333, ptr noundef %336, i32 noundef %338) #10
  br label %340

340:                                              ; preds = %323, %306
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #10
  br label %341

341:                                              ; preds = %340
  call void @exit(i32 noundef 1) #12
  unreachable

342:                                              ; No predecessors!
  br label %343

343:                                              ; preds = %342, %289
  br label %344

344:                                              ; preds = %343
  %345 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %346 = trunc i8 %345 to i1
  br i1 %346, label %347, label %363

347:                                              ; preds = %344
  %348 = load ptr, ptr @stdout, align 8, !tbaa !9
  %349 = call i32 @fileno(ptr noundef %348) #10
  %350 = call i32 @isatty(i32 noundef %349) #10
  %351 = icmp ne i32 %350, 0
  br i1 %351, label %352, label %363

352:                                              ; preds = %347
  %353 = load i32, ptr @test_count, align 4, !tbaa !5
  %354 = icmp ne i32 %353, 0
  br i1 %354, label %355, label %359

355:                                              ; preds = %352
  %356 = load ptr, ptr @stdout, align 8, !tbaa !9
  %357 = load i32, ptr @test_count, align 4, !tbaa !5
  %358 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %356, ptr noundef @.str.128, i32 noundef %357) #10
  br label %362

359:                                              ; preds = %352
  %360 = load ptr, ptr @stdout, align 8, !tbaa !9
  %361 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %360, ptr noundef @.str.129) #10
  br label %362

362:                                              ; preds = %359, %355
  br label %374

363:                                              ; preds = %347, %344
  %364 = load i32, ptr @test_count, align 4, !tbaa !5
  %365 = icmp ne i32 %364, 0
  br i1 %365, label %366, label %370

366:                                              ; preds = %363
  %367 = load ptr, ptr @stdout, align 8, !tbaa !9
  %368 = load i32, ptr @test_count, align 4, !tbaa !5
  %369 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %367, ptr noundef @.str.130, i32 noundef %368) #10
  br label %373

370:                                              ; preds = %363
  %371 = load ptr, ptr @stdout, align 8, !tbaa !9
  %372 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %371, ptr noundef @.str.131) #10
  br label %373

373:                                              ; preds = %370, %366
  br label %374

374:                                              ; preds = %373, %362
  store i32 0, ptr %1, align 4
  br label %1438

375:                                              ; No predecessors!
  br label %376

376:                                              ; preds = %375
  br label %377

377:                                              ; preds = %376, %228
  call void @llvm.lifetime.start.p0(i64 48, ptr %7) #10
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %7, ptr align 16 @__const.main.kyber_test_groups, i64 48, i1 false)
  call void @llvm.lifetime.start.p0(i64 40, ptr %8) #10
  call void @llvm.memset.p0.i64(ptr align 8 %8, i8 0, i64 40, i1 false)
  %378 = getelementptr inbounds %struct.s2n_kem_preferences, ptr %8, i32 0, i32 0
  %379 = getelementptr inbounds %struct.s2n_kem_preferences, ptr %8, i32 0, i32 1
  %380 = getelementptr inbounds %struct.s2n_kem_preferences, ptr %8, i32 0, i32 2
  store i8 6, ptr %380, align 8, !tbaa !15
  %381 = getelementptr inbounds %struct.s2n_kem_preferences, ptr %8, i32 0, i32 3
  %382 = getelementptr inbounds [6 x ptr], ptr %7, i64 0, i64 0
  store ptr %382, ptr %381, align 8, !tbaa !17
  %383 = getelementptr inbounds %struct.s2n_kem_preferences, ptr %8, i32 0, i32 4
  call void @llvm.lifetime.start.p0(i64 64, ptr %9) #10
  %384 = getelementptr inbounds %struct.s2n_security_policy, ptr %9, i32 0, i32 0
  store i8 31, ptr %384, align 8, !tbaa !18
  %385 = getelementptr inbounds %struct.s2n_security_policy, ptr %9, i32 0, i32 1
  store ptr @cipher_preferences_20190801, ptr %385, align 8, !tbaa !20
  %386 = getelementptr inbounds %struct.s2n_security_policy, ptr %9, i32 0, i32 2
  store ptr %8, ptr %386, align 8, !tbaa !21
  %387 = getelementptr inbounds %struct.s2n_security_policy, ptr %9, i32 0, i32 3
  store ptr @s2n_signature_preferences_20200207, ptr %387, align 8, !tbaa !22
  %388 = getelementptr inbounds %struct.s2n_security_policy, ptr %9, i32 0, i32 4
  store ptr null, ptr %388, align 8, !tbaa !23
  %389 = getelementptr inbounds %struct.s2n_security_policy, ptr %9, i32 0, i32 5
  store ptr @s2n_ecc_preferences_20200310, ptr %389, align 8, !tbaa !24
  %390 = getelementptr inbounds %struct.s2n_security_policy, ptr %9, i32 0, i32 6
  store ptr null, ptr %390, align 8, !tbaa !25
  %391 = getelementptr inbounds %struct.s2n_security_policy, ptr %9, i32 0, i32 7
  store i8 0, ptr %391, align 8, !tbaa !26
  %392 = getelementptr inbounds %struct.s2n_security_policy, ptr %9, i32 0, i32 8
  call void @llvm.memset.p0.i64(ptr align 1 %392, i8 0, i64 2, i1 false)
  call void @llvm.lifetime.start.p0(i64 40, ptr %10) #10
  call void @llvm.memset.p0.i64(ptr align 8 %10, i8 0, i64 40, i1 false)
  %393 = getelementptr inbounds %struct.s2n_kem_preferences, ptr %10, i32 0, i32 0
  %394 = getelementptr inbounds %struct.s2n_kem_preferences, ptr %10, i32 0, i32 1
  %395 = getelementptr inbounds %struct.s2n_kem_preferences, ptr %10, i32 0, i32 2
  store i8 6, ptr %395, align 8, !tbaa !15
  %396 = getelementptr inbounds %struct.s2n_kem_preferences, ptr %10, i32 0, i32 3
  %397 = getelementptr inbounds [6 x ptr], ptr %7, i64 0, i64 0
  store ptr %397, ptr %396, align 8, !tbaa !17
  %398 = getelementptr inbounds %struct.s2n_kem_preferences, ptr %10, i32 0, i32 4
  store i8 5, ptr %398, align 8, !tbaa !27
  call void @llvm.lifetime.start.p0(i64 64, ptr %11) #10
  %399 = getelementptr inbounds %struct.s2n_security_policy, ptr %11, i32 0, i32 0
  store i8 31, ptr %399, align 8, !tbaa !18
  %400 = getelementptr inbounds %struct.s2n_security_policy, ptr %11, i32 0, i32 1
  store ptr @cipher_preferences_20190801, ptr %400, align 8, !tbaa !20
  %401 = getelementptr inbounds %struct.s2n_security_policy, ptr %11, i32 0, i32 2
  store ptr %10, ptr %401, align 8, !tbaa !21
  %402 = getelementptr inbounds %struct.s2n_security_policy, ptr %11, i32 0, i32 3
  store ptr @s2n_signature_preferences_20200207, ptr %402, align 8, !tbaa !22
  %403 = getelementptr inbounds %struct.s2n_security_policy, ptr %11, i32 0, i32 4
  store ptr null, ptr %403, align 8, !tbaa !23
  %404 = getelementptr inbounds %struct.s2n_security_policy, ptr %11, i32 0, i32 5
  store ptr @s2n_ecc_preferences_20200310, ptr %404, align 8, !tbaa !24
  %405 = getelementptr inbounds %struct.s2n_security_policy, ptr %11, i32 0, i32 6
  store ptr null, ptr %405, align 8, !tbaa !25
  %406 = getelementptr inbounds %struct.s2n_security_policy, ptr %11, i32 0, i32 7
  store i8 0, ptr %406, align 8, !tbaa !26
  %407 = getelementptr inbounds %struct.s2n_security_policy, ptr %11, i32 0, i32 8
  call void @llvm.memset.p0.i64(ptr align 1 %407, i8 0, i64 2, i1 false)
  call void @llvm.lifetime.start.p0(i64 16, ptr %12) #10
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %12, ptr align 16 @__const.main.kyber768_test_kem_groups, i64 16, i1 false)
  call void @llvm.lifetime.start.p0(i64 40, ptr %13) #10
  call void @llvm.memset.p0.i64(ptr align 8 %13, i8 0, i64 40, i1 false)
  %408 = getelementptr inbounds %struct.s2n_kem_preferences, ptr %13, i32 0, i32 0
  %409 = getelementptr inbounds %struct.s2n_kem_preferences, ptr %13, i32 0, i32 1
  %410 = getelementptr inbounds %struct.s2n_kem_preferences, ptr %13, i32 0, i32 2
  store i8 2, ptr %410, align 8, !tbaa !15
  %411 = getelementptr inbounds %struct.s2n_kem_preferences, ptr %13, i32 0, i32 3
  %412 = getelementptr inbounds [2 x ptr], ptr %12, i64 0, i64 0
  store ptr %412, ptr %411, align 8, !tbaa !17
  %413 = getelementptr inbounds %struct.s2n_kem_preferences, ptr %13, i32 0, i32 4
  store i8 5, ptr %413, align 8, !tbaa !27
  call void @llvm.lifetime.start.p0(i64 64, ptr %14) #10
  %414 = getelementptr inbounds %struct.s2n_security_policy, ptr %14, i32 0, i32 0
  store i8 34, ptr %414, align 8, !tbaa !18
  %415 = getelementptr inbounds %struct.s2n_security_policy, ptr %14, i32 0, i32 1
  store ptr @cipher_preferences_20190801, ptr %415, align 8, !tbaa !20
  %416 = getelementptr inbounds %struct.s2n_security_policy, ptr %14, i32 0, i32 2
  store ptr %13, ptr %416, align 8, !tbaa !21
  %417 = getelementptr inbounds %struct.s2n_security_policy, ptr %14, i32 0, i32 3
  store ptr @s2n_signature_preferences_20200207, ptr %417, align 8, !tbaa !22
  %418 = getelementptr inbounds %struct.s2n_security_policy, ptr %14, i32 0, i32 4
  store ptr null, ptr %418, align 8, !tbaa !23
  %419 = getelementptr inbounds %struct.s2n_security_policy, ptr %14, i32 0, i32 5
  store ptr @s2n_ecc_preferences_20201021, ptr %419, align 8, !tbaa !24
  %420 = getelementptr inbounds %struct.s2n_security_policy, ptr %14, i32 0, i32 6
  store ptr null, ptr %420, align 8, !tbaa !25
  %421 = getelementptr inbounds %struct.s2n_security_policy, ptr %14, i32 0, i32 7
  store i8 0, ptr %421, align 8, !tbaa !26
  %422 = getelementptr inbounds %struct.s2n_security_policy, ptr %14, i32 0, i32 8
  call void @llvm.memset.p0.i64(ptr align 1 %422, i8 0, i64 2, i1 false)
  call void @llvm.lifetime.start.p0(i64 16, ptr %15) #10
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %15, ptr align 16 @__const.main.kyber1024_test_kem_groups, i64 16, i1 false)
  call void @llvm.lifetime.start.p0(i64 40, ptr %16) #10
  call void @llvm.memset.p0.i64(ptr align 8 %16, i8 0, i64 40, i1 false)
  %423 = getelementptr inbounds %struct.s2n_kem_preferences, ptr %16, i32 0, i32 0
  %424 = getelementptr inbounds %struct.s2n_kem_preferences, ptr %16, i32 0, i32 1
  %425 = getelementptr inbounds %struct.s2n_kem_preferences, ptr %16, i32 0, i32 2
  store i8 2, ptr %425, align 8, !tbaa !15
  %426 = getelementptr inbounds %struct.s2n_kem_preferences, ptr %16, i32 0, i32 3
  %427 = getelementptr inbounds [2 x ptr], ptr %15, i64 0, i64 0
  store ptr %427, ptr %426, align 8, !tbaa !17
  %428 = getelementptr inbounds %struct.s2n_kem_preferences, ptr %16, i32 0, i32 4
  store i8 5, ptr %428, align 8, !tbaa !27
  call void @llvm.lifetime.start.p0(i64 64, ptr %17) #10
  %429 = getelementptr inbounds %struct.s2n_security_policy, ptr %17, i32 0, i32 0
  store i8 34, ptr %429, align 8, !tbaa !18
  %430 = getelementptr inbounds %struct.s2n_security_policy, ptr %17, i32 0, i32 1
  store ptr @cipher_preferences_20190801, ptr %430, align 8, !tbaa !20
  %431 = getelementptr inbounds %struct.s2n_security_policy, ptr %17, i32 0, i32 2
  store ptr %16, ptr %431, align 8, !tbaa !21
  %432 = getelementptr inbounds %struct.s2n_security_policy, ptr %17, i32 0, i32 3
  store ptr @s2n_signature_preferences_20200207, ptr %432, align 8, !tbaa !22
  %433 = getelementptr inbounds %struct.s2n_security_policy, ptr %17, i32 0, i32 4
  store ptr null, ptr %433, align 8, !tbaa !23
  %434 = getelementptr inbounds %struct.s2n_security_policy, ptr %17, i32 0, i32 5
  store ptr @s2n_ecc_preferences_20201021, ptr %434, align 8, !tbaa !24
  %435 = getelementptr inbounds %struct.s2n_security_policy, ptr %17, i32 0, i32 6
  store ptr null, ptr %435, align 8, !tbaa !25
  %436 = getelementptr inbounds %struct.s2n_security_policy, ptr %17, i32 0, i32 7
  store i8 0, ptr %436, align 8, !tbaa !26
  %437 = getelementptr inbounds %struct.s2n_security_policy, ptr %17, i32 0, i32 8
  call void @llvm.memset.p0.i64(ptr align 1 %437, i8 0, i64 2, i1 false)
  call void @llvm.lifetime.start.p0(i64 16, ptr %18) #10
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %18, ptr align 16 @__const.main.mlkem768_test_groups, i64 16, i1 false)
  call void @llvm.lifetime.start.p0(i64 40, ptr %19) #10
  call void @llvm.memset.p0.i64(ptr align 8 %19, i8 0, i64 40, i1 false)
  %438 = getelementptr inbounds %struct.s2n_kem_preferences, ptr %19, i32 0, i32 0
  %439 = getelementptr inbounds %struct.s2n_kem_preferences, ptr %19, i32 0, i32 1
  %440 = getelementptr inbounds %struct.s2n_kem_preferences, ptr %19, i32 0, i32 2
  store i8 2, ptr %440, align 8, !tbaa !15
  %441 = getelementptr inbounds %struct.s2n_kem_preferences, ptr %19, i32 0, i32 3
  %442 = getelementptr inbounds [2 x ptr], ptr %18, i64 0, i64 0
  store ptr %442, ptr %441, align 8, !tbaa !17
  %443 = getelementptr inbounds %struct.s2n_kem_preferences, ptr %19, i32 0, i32 4
  store i8 5, ptr %443, align 8, !tbaa !27
  call void @llvm.lifetime.start.p0(i64 64, ptr %20) #10
  %444 = getelementptr inbounds %struct.s2n_security_policy, ptr %20, i32 0, i32 0
  store i8 34, ptr %444, align 8, !tbaa !18
  %445 = getelementptr inbounds %struct.s2n_security_policy, ptr %20, i32 0, i32 1
  store ptr @cipher_preferences_20190801, ptr %445, align 8, !tbaa !20
  %446 = getelementptr inbounds %struct.s2n_security_policy, ptr %20, i32 0, i32 2
  store ptr %19, ptr %446, align 8, !tbaa !21
  %447 = getelementptr inbounds %struct.s2n_security_policy, ptr %20, i32 0, i32 3
  store ptr @s2n_signature_preferences_20200207, ptr %447, align 8, !tbaa !22
  %448 = getelementptr inbounds %struct.s2n_security_policy, ptr %20, i32 0, i32 4
  store ptr null, ptr %448, align 8, !tbaa !23
  %449 = getelementptr inbounds %struct.s2n_security_policy, ptr %20, i32 0, i32 5
  store ptr @s2n_ecc_preferences_20240603, ptr %449, align 8, !tbaa !24
  %450 = getelementptr inbounds %struct.s2n_security_policy, ptr %20, i32 0, i32 6
  store ptr null, ptr %450, align 8, !tbaa !25
  %451 = getelementptr inbounds %struct.s2n_security_policy, ptr %20, i32 0, i32 7
  store i8 0, ptr %451, align 8, !tbaa !26
  %452 = getelementptr inbounds %struct.s2n_security_policy, ptr %20, i32 0, i32 8
  call void @llvm.memset.p0.i64(ptr align 1 %452, i8 0, i64 2, i1 false)
  call void @llvm.lifetime.start.p0(i64 64, ptr %21) #10
  %453 = getelementptr inbounds %struct.s2n_security_policy, ptr %21, i32 0, i32 0
  %454 = load i8, ptr @security_policy_pq_tls_1_0_2020_12, align 8, !tbaa !18
  store i8 %454, ptr %453, align 8, !tbaa !18
  %455 = getelementptr inbounds %struct.s2n_security_policy, ptr %21, i32 0, i32 1
  %456 = load ptr, ptr getelementptr inbounds (%struct.s2n_security_policy, ptr @security_policy_pq_tls_1_0_2020_12, i32 0, i32 1), align 8, !tbaa !20
  store ptr %456, ptr %455, align 8, !tbaa !20
  %457 = getelementptr inbounds %struct.s2n_security_policy, ptr %21, i32 0, i32 2
  %458 = load ptr, ptr getelementptr inbounds (%struct.s2n_security_policy, ptr @security_policy_pq_tls_1_0_2020_12, i32 0, i32 2), align 8, !tbaa !21
  store ptr %458, ptr %457, align 8, !tbaa !21
  %459 = getelementptr inbounds %struct.s2n_security_policy, ptr %21, i32 0, i32 3
  %460 = load ptr, ptr getelementptr inbounds (%struct.s2n_security_policy, ptr @security_policy_pq_tls_1_0_2020_12, i32 0, i32 3), align 8, !tbaa !22
  store ptr %460, ptr %459, align 8, !tbaa !22
  %461 = getelementptr inbounds %struct.s2n_security_policy, ptr %21, i32 0, i32 4
  store ptr null, ptr %461, align 8, !tbaa !23
  %462 = getelementptr inbounds %struct.s2n_security_policy, ptr %21, i32 0, i32 5
  %463 = load ptr, ptr getelementptr inbounds (%struct.s2n_security_policy, ptr @security_policy_test_tls13_retry, i32 0, i32 5), align 8, !tbaa !24
  store ptr %463, ptr %462, align 8, !tbaa !24
  %464 = getelementptr inbounds %struct.s2n_security_policy, ptr %21, i32 0, i32 6
  store ptr null, ptr %464, align 8, !tbaa !25
  %465 = getelementptr inbounds %struct.s2n_security_policy, ptr %21, i32 0, i32 7
  store i8 0, ptr %465, align 8, !tbaa !26
  %466 = getelementptr inbounds %struct.s2n_security_policy, ptr %21, i32 0, i32 8
  call void @llvm.memset.p0.i64(ptr align 1 %466, i8 0, i64 2, i1 false)
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #10
  store ptr @s2n_ecc_curve_x25519, ptr %22, align 8, !tbaa !9
  %467 = call i32 (...) @s2n_is_evp_apis_supported()
  %468 = icmp ne i32 %467, 0
  br i1 %468, label %470, label %469

469:                                              ; preds = %377
  store ptr @s2n_ecc_curve_secp256r1, ptr %22, align 8, !tbaa !9
  br label %470

470:                                              ; preds = %469, %377
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #10
  store i64 0, ptr %23, align 8, !tbaa !28
  br label %471

471:                                              ; preds = %585, %470
  %472 = load i64, ptr %23, align 8, !tbaa !28
  %473 = icmp ult i64 %472, 8
  br i1 %473, label %475, label %474

474:                                              ; preds = %471
  store i32 40, ptr %24, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #10
  br label %588

475:                                              ; preds = %471
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #10
  %476 = load i64, ptr %23, align 8, !tbaa !28
  %477 = getelementptr inbounds [8 x ptr], ptr @ALL_SUPPORTED_KEM_GROUPS, i64 0, i64 %476
  %478 = load ptr, ptr %477, align 8, !tbaa !9
  store ptr %478, ptr %25, align 8, !tbaa !9
  %479 = load ptr, ptr %25, align 8, !tbaa !9
  %480 = icmp eq ptr %479, null
  br i1 %480, label %484, label %481

481:                                              ; preds = %475
  %482 = load ptr, ptr %25, align 8, !tbaa !9
  %483 = call zeroext i1 @s2n_kem_group_is_available(ptr noundef %482)
  br i1 %483, label %485, label %484

484:                                              ; preds = %481, %475
  store i32 42, ptr %24, align 4
  br label %582

485:                                              ; preds = %481
  call void @llvm.lifetime.start.p0(i64 40, ptr %26) #10
  call void @llvm.memset.p0.i64(ptr align 8 %26, i8 0, i64 40, i1 false)
  %486 = getelementptr inbounds %struct.s2n_kem_preferences, ptr %26, i32 0, i32 0
  %487 = getelementptr inbounds %struct.s2n_kem_preferences, ptr %26, i32 0, i32 1
  %488 = getelementptr inbounds %struct.s2n_kem_preferences, ptr %26, i32 0, i32 2
  store i8 1, ptr %488, align 8, !tbaa !15
  %489 = getelementptr inbounds %struct.s2n_kem_preferences, ptr %26, i32 0, i32 3
  store ptr %25, ptr %489, align 8, !tbaa !17
  %490 = getelementptr inbounds %struct.s2n_kem_preferences, ptr %26, i32 0, i32 4
  store i8 5, ptr %490, align 8, !tbaa !27
  call void @llvm.lifetime.start.p0(i64 64, ptr %27) #10
  %491 = getelementptr inbounds %struct.s2n_security_policy, ptr %27, i32 0, i32 0
  store i8 34, ptr %491, align 8, !tbaa !18
  %492 = getelementptr inbounds %struct.s2n_security_policy, ptr %27, i32 0, i32 1
  store ptr @cipher_preferences_20190801, ptr %492, align 8, !tbaa !20
  %493 = getelementptr inbounds %struct.s2n_security_policy, ptr %27, i32 0, i32 2
  store ptr %26, ptr %493, align 8, !tbaa !21
  %494 = getelementptr inbounds %struct.s2n_security_policy, ptr %27, i32 0, i32 3
  store ptr @s2n_signature_preferences_20200207, ptr %494, align 8, !tbaa !22
  %495 = getelementptr inbounds %struct.s2n_security_policy, ptr %27, i32 0, i32 4
  store ptr null, ptr %495, align 8, !tbaa !23
  %496 = getelementptr inbounds %struct.s2n_security_policy, ptr %27, i32 0, i32 5
  store ptr @s2n_ecc_preferences_20240603, ptr %496, align 8, !tbaa !24
  %497 = getelementptr inbounds %struct.s2n_security_policy, ptr %27, i32 0, i32 6
  store ptr null, ptr %497, align 8, !tbaa !25
  %498 = getelementptr inbounds %struct.s2n_security_policy, ptr %27, i32 0, i32 7
  store i8 0, ptr %498, align 8, !tbaa !26
  %499 = getelementptr inbounds %struct.s2n_security_policy, ptr %27, i32 0, i32 8
  call void @llvm.memset.p0.i64(ptr align 1 %499, i8 0, i64 2, i1 false)
  call void @llvm.lifetime.start.p0(i64 40, ptr %28) #10
  %500 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %28, i32 0, i32 0
  store ptr %27, ptr %500, align 8, !tbaa !30
  %501 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %28, i32 0, i32 1
  store ptr %27, ptr %501, align 8, !tbaa !32
  %502 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %28, i32 0, i32 2
  %503 = load ptr, ptr %25, align 8, !tbaa !9
  store ptr %503, ptr %502, align 8, !tbaa !33
  %504 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %28, i32 0, i32 3
  store ptr null, ptr %504, align 8, !tbaa !34
  %505 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %28, i32 0, i32 4
  store i8 0, ptr %505, align 8, !tbaa !35
  %506 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %28, i32 0, i32 5
  store i8 0, ptr %506, align 1, !tbaa !36
  br label %507

507:                                              ; preds = %485
  %508 = load i32, ptr @test_count, align 4, !tbaa !5
  %509 = add nsw i32 %508, 1
  store i32 %509, ptr @test_count, align 4, !tbaa !5
  %510 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %28, i32 0, i32 0
  %511 = load ptr, ptr %510, align 8, !tbaa !30
  %512 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %28, i32 0, i32 1
  %513 = load ptr, ptr %512, align 8, !tbaa !32
  %514 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %28, i32 0, i32 2
  %515 = load ptr, ptr %514, align 8, !tbaa !33
  %516 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %28, i32 0, i32 3
  %517 = load ptr, ptr %516, align 8, !tbaa !34
  %518 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %28, i32 0, i32 4
  %519 = load i8, ptr %518, align 8, !tbaa !35, !range !13, !noundef !14
  %520 = trunc i8 %519 to i1
  %521 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %28, i32 0, i32 5
  %522 = load i8, ptr %521, align 1, !tbaa !36, !range !13, !noundef !14
  %523 = trunc i8 %522 to i1
  %524 = call i32 @s2n_test_tls13_pq_handshake(ptr noundef %511, ptr noundef %513, ptr noundef %515, ptr noundef %517, i1 noundef zeroext %520, i1 noundef zeroext %523)
  %525 = icmp eq i32 %524, -1
  br i1 %525, label %526, label %579

526:                                              ; preds = %507
  br label %527

527:                                              ; preds = %526
  br label %528

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

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

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

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

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

575:                                              ; preds = %574
  br label %576

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

577:                                              ; No predecessors!
  br label %578

578:                                              ; preds = %577
  br label %579

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

580:                                              ; preds = %579
  br label %581

581:                                              ; preds = %580
  call void @llvm.lifetime.end.p0(i64 40, ptr %28) #10
  call void @llvm.lifetime.end.p0(i64 64, ptr %27) #10
  call void @llvm.lifetime.end.p0(i64 40, ptr %26) #10
  store i32 0, ptr %24, align 4
  br label %582

582:                                              ; preds = %581, %484
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #10
  %583 = load i32, ptr %24, align 4
  switch i32 %583, label %1440 [
    i32 0, label %584
    i32 42, label %585
  ]

584:                                              ; preds = %582
  br label %585

585:                                              ; preds = %584, %582
  %586 = load i64, ptr %23, align 8, !tbaa !28
  %587 = add i64 %586, 1
  store i64 %587, ptr %23, align 8, !tbaa !28
  br label %471, !llvm.loop !37

588:                                              ; preds = %474
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #10
  store ptr @s2n_x25519_mlkem_768, ptr %30, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #10
  store ptr null, ptr %31, align 8, !tbaa !9
  %589 = call zeroext i1 @s2n_libcrypto_supports_mlkem()
  br i1 %589, label %592, label %590

590:                                              ; preds = %588
  store ptr null, ptr %30, align 8, !tbaa !9
  %591 = load ptr, ptr %22, align 8, !tbaa !9
  store ptr %591, ptr %31, align 8, !tbaa !9
  br label %592

592:                                              ; preds = %590, %588
  call void @llvm.lifetime.start.p0(i64 920, ptr %32) #10
  %593 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %32, i32 0, i32 0
  store ptr @security_policy_pq_tls_1_3_2023_06_01, ptr %593, align 8, !tbaa !30
  %594 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %32, i32 0, i32 1
  store ptr @security_policy_pq_tls_1_0_2021_05_24, ptr %594, align 8, !tbaa !32
  %595 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %32, i32 0, i32 2
  store ptr @s2n_x25519_kyber_512_r3, ptr %595, align 8, !tbaa !33
  %596 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %32, i32 0, i32 3
  store ptr null, ptr %596, align 8, !tbaa !34
  %597 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %32, i32 0, i32 4
  %598 = call zeroext i1 @s2n_pq_is_enabled()
  %599 = zext i1 %598 to i8
  store i8 %599, ptr %597, align 8, !tbaa !35
  %600 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %32, i32 0, i32 5
  store i8 0, ptr %600, align 1, !tbaa !36
  %601 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %32, i64 1
  %602 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %601, i32 0, i32 0
  store ptr @security_policy_pq_tls_1_1_2021_05_21, ptr %602, align 8, !tbaa !30
  %603 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %601, i32 0, i32 1
  store ptr @security_policy_pq_tls_1_1_2021_05_21, ptr %603, align 8, !tbaa !32
  %604 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %601, i32 0, i32 2
  store ptr @s2n_x25519_kyber_512_r3, ptr %604, align 8, !tbaa !33
  %605 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %601, i32 0, i32 3
  store ptr null, ptr %605, align 8, !tbaa !34
  %606 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %601, i32 0, i32 4
  store i8 0, ptr %606, align 8, !tbaa !35
  %607 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %601, i32 0, i32 5
  store i8 1, ptr %607, align 1, !tbaa !36
  %608 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %32, i64 2
  %609 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %608, i32 0, i32 0
  store ptr @security_policy_pq_tls_1_0_2021_05_22, ptr %609, align 8, !tbaa !30
  %610 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %608, i32 0, i32 1
  store ptr @security_policy_pq_tls_1_0_2021_05_22, ptr %610, align 8, !tbaa !32
  %611 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %608, i32 0, i32 2
  store ptr @s2n_x25519_kyber_512_r3, ptr %611, align 8, !tbaa !33
  %612 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %608, i32 0, i32 3
  store ptr null, ptr %612, align 8, !tbaa !34
  %613 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %608, i32 0, i32 4
  store i8 0, ptr %613, align 8, !tbaa !35
  %614 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %608, i32 0, i32 5
  store i8 1, ptr %614, align 1, !tbaa !36
  %615 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %32, i64 3
  %616 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %615, i32 0, i32 0
  store ptr @security_policy_pq_tls_1_0_2021_05_23, ptr %616, align 8, !tbaa !30
  %617 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %615, i32 0, i32 1
  store ptr @security_policy_pq_tls_1_0_2021_05_23, ptr %617, align 8, !tbaa !32
  %618 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %615, i32 0, i32 2
  store ptr @s2n_x25519_kyber_512_r3, ptr %618, align 8, !tbaa !33
  %619 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %615, i32 0, i32 3
  store ptr null, ptr %619, align 8, !tbaa !34
  %620 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %615, i32 0, i32 4
  store i8 0, ptr %620, align 8, !tbaa !35
  %621 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %615, i32 0, i32 5
  store i8 1, ptr %621, align 1, !tbaa !36
  %622 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %32, i64 4
  %623 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %622, i32 0, i32 0
  store ptr @security_policy_pq_tls_1_0_2021_05_24, ptr %623, align 8, !tbaa !30
  %624 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %622, i32 0, i32 1
  store ptr @security_policy_pq_tls_1_0_2021_05_24, ptr %624, align 8, !tbaa !32
  %625 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %622, i32 0, i32 2
  store ptr @s2n_x25519_kyber_512_r3, ptr %625, align 8, !tbaa !33
  %626 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %622, i32 0, i32 3
  store ptr null, ptr %626, align 8, !tbaa !34
  %627 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %622, i32 0, i32 4
  store i8 0, ptr %627, align 8, !tbaa !35
  %628 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %622, i32 0, i32 5
  store i8 1, ptr %628, align 1, !tbaa !36
  %629 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %32, i64 5
  %630 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %629, i32 0, i32 0
  store ptr @security_policy_pq_tls_1_0_2021_05_26, ptr %630, align 8, !tbaa !30
  %631 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %629, i32 0, i32 1
  store ptr @security_policy_pq_tls_1_0_2021_05_26, ptr %631, align 8, !tbaa !32
  %632 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %629, i32 0, i32 2
  store ptr @s2n_x25519_kyber_512_r3, ptr %632, align 8, !tbaa !33
  %633 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %629, i32 0, i32 3
  store ptr null, ptr %633, align 8, !tbaa !34
  %634 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %629, i32 0, i32 4
  store i8 0, ptr %634, align 8, !tbaa !35
  %635 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %629, i32 0, i32 5
  store i8 1, ptr %635, align 1, !tbaa !36
  %636 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %32, i64 6
  %637 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %636, i32 0, i32 0
  store ptr @security_policy_pq_tls_1_0_2023_01_24, ptr %637, align 8, !tbaa !30
  %638 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %636, i32 0, i32 1
  store ptr @security_policy_pq_tls_1_0_2023_01_24, ptr %638, align 8, !tbaa !32
  %639 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %636, i32 0, i32 2
  store ptr @s2n_x25519_kyber_512_r3, ptr %639, align 8, !tbaa !33
  %640 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %636, i32 0, i32 3
  store ptr null, ptr %640, align 8, !tbaa !34
  %641 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %636, i32 0, i32 4
  store i8 0, ptr %641, align 8, !tbaa !35
  %642 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %636, i32 0, i32 5
  store i8 0, ptr %642, align 1, !tbaa !36
  %643 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %32, i64 7
  %644 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %643, i32 0, i32 0
  store ptr @security_policy_pq_tls_1_3_2023_06_01, ptr %644, align 8, !tbaa !30
  %645 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %643, i32 0, i32 1
  store ptr @security_policy_pq_tls_1_3_2023_06_01, ptr %645, align 8, !tbaa !32
  %646 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %643, i32 0, i32 2
  store ptr @s2n_secp256r1_kyber_768_r3, ptr %646, align 8, !tbaa !33
  %647 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %643, i32 0, i32 3
  store ptr null, ptr %647, align 8, !tbaa !34
  %648 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %643, i32 0, i32 4
  store i8 0, ptr %648, align 8, !tbaa !35
  %649 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %643, i32 0, i32 5
  store i8 0, ptr %649, align 1, !tbaa !36
  %650 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %32, i64 8
  %651 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %650, i32 0, i32 0
  store ptr %17, ptr %651, align 8, !tbaa !30
  %652 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %650, i32 0, i32 1
  store ptr @security_policy_pq_tls_1_3_2023_06_01, ptr %652, align 8, !tbaa !32
  %653 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %650, i32 0, i32 2
  store ptr @s2n_secp521r1_kyber_1024_r3, ptr %653, align 8, !tbaa !33
  %654 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %650, i32 0, i32 3
  store ptr null, ptr %654, align 8, !tbaa !34
  %655 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %650, i32 0, i32 4
  store i8 0, ptr %655, align 8, !tbaa !35
  %656 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %650, i32 0, i32 5
  store i8 0, ptr %656, align 1, !tbaa !36
  %657 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %32, i64 9
  %658 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %657, i32 0, i32 0
  store ptr %14, ptr %658, align 8, !tbaa !30
  %659 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %657, i32 0, i32 1
  store ptr @security_policy_pq_tls_1_3_2023_06_01, ptr %659, align 8, !tbaa !32
  %660 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %657, i32 0, i32 2
  store ptr @s2n_secp384r1_kyber_768_r3, ptr %660, align 8, !tbaa !33
  %661 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %657, i32 0, i32 3
  store ptr null, ptr %661, align 8, !tbaa !34
  %662 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %657, i32 0, i32 4
  store i8 0, ptr %662, align 8, !tbaa !35
  %663 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %657, i32 0, i32 5
  store i8 0, ptr %663, align 1, !tbaa !36
  %664 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %32, i64 10
  %665 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %664, i32 0, i32 0
  store ptr @security_policy_pq_tls_1_1_2021_05_21, ptr %665, align 8, !tbaa !30
  %666 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %664, i32 0, i32 1
  store ptr @security_policy_pq_tls_1_3_2023_06_01, ptr %666, align 8, !tbaa !32
  %667 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %664, i32 0, i32 2
  store ptr @s2n_x25519_kyber_512_r3, ptr %667, align 8, !tbaa !33
  %668 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %664, i32 0, i32 3
  store ptr null, ptr %668, align 8, !tbaa !34
  %669 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %664, i32 0, i32 4
  %670 = call zeroext i1 @s2n_pq_is_enabled()
  %671 = xor i1 %670, true
  %672 = zext i1 %671 to i8
  store i8 %672, ptr %669, align 8, !tbaa !35
  %673 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %664, i32 0, i32 5
  store i8 1, ptr %673, align 1, !tbaa !36
  %674 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %32, i64 11
  %675 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %674, i32 0, i32 0
  store ptr %9, ptr %675, align 8, !tbaa !30
  %676 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %674, i32 0, i32 1
  store ptr %11, ptr %676, align 8, !tbaa !32
  %677 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %674, i32 0, i32 2
  store ptr @s2n_x25519_kyber_512_r3, ptr %677, align 8, !tbaa !33
  %678 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %674, i32 0, i32 3
  store ptr null, ptr %678, align 8, !tbaa !34
  %679 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %674, i32 0, i32 4
  store i8 0, ptr %679, align 8, !tbaa !35
  %680 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %674, i32 0, i32 5
  store i8 1, ptr %680, align 1, !tbaa !36
  %681 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %32, i64 12
  %682 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %681, i32 0, i32 0
  store ptr %11, ptr %682, align 8, !tbaa !30
  %683 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %681, i32 0, i32 1
  store ptr %9, ptr %683, align 8, !tbaa !32
  %684 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %681, i32 0, i32 2
  store ptr @s2n_x25519_kyber_512_r3, ptr %684, align 8, !tbaa !33
  %685 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %681, i32 0, i32 3
  store ptr null, ptr %685, align 8, !tbaa !34
  %686 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %681, i32 0, i32 4
  store i8 0, ptr %686, align 8, !tbaa !35
  %687 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %681, i32 0, i32 5
  store i8 0, ptr %687, align 1, !tbaa !36
  %688 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %32, i64 13
  %689 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %688, i32 0, i32 0
  store ptr @security_policy_pq_tls_1_0_2021_05_24, ptr %689, align 8, !tbaa !30
  %690 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %688, i32 0, i32 1
  store ptr @security_policy_pq_tls_1_0_2023_01_24, ptr %690, align 8, !tbaa !32
  %691 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %688, i32 0, i32 2
  store ptr @s2n_x25519_kyber_512_r3, ptr %691, align 8, !tbaa !33
  %692 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %688, i32 0, i32 3
  store ptr null, ptr %692, align 8, !tbaa !34
  %693 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %688, i32 0, i32 4
  store i8 0, ptr %693, align 8, !tbaa !35
  %694 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %688, i32 0, i32 5
  store i8 1, ptr %694, align 1, !tbaa !36
  %695 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %32, i64 14
  %696 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %695, i32 0, i32 0
  store ptr @security_policy_pq_tls_1_0_2023_01_24, ptr %696, align 8, !tbaa !30
  %697 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %695, i32 0, i32 1
  store ptr @security_policy_pq_tls_1_0_2021_05_24, ptr %697, align 8, !tbaa !32
  %698 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %695, i32 0, i32 2
  store ptr @s2n_x25519_kyber_512_r3, ptr %698, align 8, !tbaa !33
  %699 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %695, i32 0, i32 3
  store ptr null, ptr %699, align 8, !tbaa !34
  %700 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %695, i32 0, i32 4
  store i8 0, ptr %700, align 8, !tbaa !35
  %701 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %695, i32 0, i32 5
  store i8 0, ptr %701, align 1, !tbaa !36
  %702 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %32, i64 15
  %703 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %702, i32 0, i32 0
  store ptr @security_policy_pq_tls_1_0_2020_12, ptr %703, align 8, !tbaa !30
  %704 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %702, i32 0, i32 1
  store ptr @security_policy_pq_tls_1_0_2020_12, ptr %704, align 8, !tbaa !32
  %705 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %702, i32 0, i32 2
  store ptr @s2n_x25519_kyber_512_r3, ptr %705, align 8, !tbaa !33
  %706 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %702, i32 0, i32 3
  store ptr null, ptr %706, align 8, !tbaa !34
  %707 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %702, i32 0, i32 4
  store i8 0, ptr %707, align 8, !tbaa !35
  %708 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %702, i32 0, i32 5
  store i8 1, ptr %708, align 1, !tbaa !36
  %709 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %32, i64 16
  %710 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %709, i32 0, i32 0
  store ptr @security_policy_pq_tls_1_0_2020_12, ptr %710, align 8, !tbaa !30
  %711 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %709, i32 0, i32 1
  store ptr %9, ptr %711, align 8, !tbaa !32
  %712 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %709, i32 0, i32 2
  store ptr @s2n_x25519_kyber_512_r3, ptr %712, align 8, !tbaa !33
  %713 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %709, i32 0, i32 3
  store ptr null, ptr %713, align 8, !tbaa !34
  %714 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %709, i32 0, i32 4
  store i8 0, ptr %714, align 8, !tbaa !35
  %715 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %709, i32 0, i32 5
  store i8 1, ptr %715, align 1, !tbaa !36
  %716 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %32, i64 17
  %717 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %716, i32 0, i32 0
  store ptr @security_policy_pq_tls_1_0_2020_12, ptr %717, align 8, !tbaa !30
  %718 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %716, i32 0, i32 1
  store ptr %11, ptr %718, align 8, !tbaa !32
  %719 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %716, i32 0, i32 2
  store ptr @s2n_x25519_kyber_512_r3, ptr %719, align 8, !tbaa !33
  %720 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %716, i32 0, i32 3
  store ptr null, ptr %720, align 8, !tbaa !34
  %721 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %716, i32 0, i32 4
  store i8 0, ptr %721, align 8, !tbaa !35
  %722 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %716, i32 0, i32 5
  store i8 1, ptr %722, align 1, !tbaa !36
  %723 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %32, i64 18
  %724 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %723, i32 0, i32 0
  store ptr @security_policy_pq_tls_1_0_2020_12, ptr %724, align 8, !tbaa !30
  %725 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %723, i32 0, i32 1
  store ptr @security_policy_test_all_tls13, ptr %725, align 8, !tbaa !32
  %726 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %723, i32 0, i32 2
  store ptr null, ptr %726, align 8, !tbaa !33
  %727 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %723, i32 0, i32 3
  %728 = load ptr, ptr %22, align 8, !tbaa !9
  store ptr %728, ptr %727, align 8, !tbaa !34
  %729 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %723, i32 0, i32 4
  store i8 0, ptr %729, align 8, !tbaa !35
  %730 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %723, i32 0, i32 5
  store i8 1, ptr %730, align 1, !tbaa !36
  %731 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %32, i64 19
  %732 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %731, i32 0, i32 0
  store ptr %21, ptr %732, align 8, !tbaa !30
  %733 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %731, i32 0, i32 1
  store ptr @security_policy_test_all_tls13, ptr %733, align 8, !tbaa !32
  %734 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %731, i32 0, i32 2
  store ptr null, ptr %734, align 8, !tbaa !33
  %735 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %731, i32 0, i32 3
  %736 = load ptr, ptr %22, align 8, !tbaa !9
  store ptr %736, ptr %735, align 8, !tbaa !34
  %737 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %731, i32 0, i32 4
  store i8 1, ptr %737, align 8, !tbaa !35
  %738 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %731, i32 0, i32 5
  store i8 1, ptr %738, align 1, !tbaa !36
  %739 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %32, i64 20
  %740 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %739, i32 0, i32 0
  store ptr @security_policy_test_all_tls13, ptr %740, align 8, !tbaa !30
  %741 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %739, i32 0, i32 1
  store ptr @security_policy_pq_tls_1_0_2020_12, ptr %741, align 8, !tbaa !32
  %742 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %739, i32 0, i32 2
  store ptr null, ptr %742, align 8, !tbaa !33
  %743 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %739, i32 0, i32 3
  %744 = load ptr, ptr %22, align 8, !tbaa !9
  store ptr %744, ptr %743, align 8, !tbaa !34
  %745 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %739, i32 0, i32 4
  store i8 0, ptr %745, align 8, !tbaa !35
  %746 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %739, i32 0, i32 5
  store i8 1, ptr %746, align 1, !tbaa !36
  %747 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %32, i64 21
  %748 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %747, i32 0, i32 0
  store ptr @security_policy_test_tls13_retry, ptr %748, align 8, !tbaa !30
  %749 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %747, i32 0, i32 1
  store ptr @security_policy_pq_tls_1_0_2020_12, ptr %749, align 8, !tbaa !32
  %750 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %747, i32 0, i32 2
  store ptr null, ptr %750, align 8, !tbaa !33
  %751 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %747, i32 0, i32 3
  %752 = load ptr, ptr %22, align 8, !tbaa !9
  store ptr %752, ptr %751, align 8, !tbaa !34
  %753 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %747, i32 0, i32 4
  store i8 1, ptr %753, align 8, !tbaa !35
  %754 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %747, i32 0, i32 5
  store i8 1, ptr %754, align 1, !tbaa !36
  %755 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %32, i64 22
  %756 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %755, i32 0, i32 0
  store ptr %20, ptr %756, align 8, !tbaa !30
  %757 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %755, i32 0, i32 1
  store ptr %20, ptr %757, align 8, !tbaa !32
  %758 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %755, i32 0, i32 2
  %759 = load ptr, ptr %30, align 8, !tbaa !9
  store ptr %759, ptr %758, align 8, !tbaa !33
  %760 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %755, i32 0, i32 3
  %761 = load ptr, ptr %31, align 8, !tbaa !9
  store ptr %761, ptr %760, align 8, !tbaa !34
  %762 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %755, i32 0, i32 4
  store i8 0, ptr %762, align 8, !tbaa !35
  %763 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %755, i32 0, i32 5
  store i8 0, ptr %763, align 1, !tbaa !36
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #10
  store i64 0, ptr %33, align 8, !tbaa !28
  br label %764

764:                                              ; preds = %1276, %592
  %765 = load i64, ptr %33, align 8, !tbaa !28
  %766 = icmp ult i64 %765, 23
  br i1 %766, label %768, label %767

767:                                              ; preds = %764
  store i32 49, ptr %24, align 4
  br label %1279

768:                                              ; preds = %764
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #10
  %769 = load i64, ptr %33, align 8, !tbaa !28
  %770 = getelementptr inbounds [23 x %struct.pq_handshake_test_vector], ptr %32, i64 0, i64 %769
  store ptr %770, ptr %34, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #10
  %771 = load ptr, ptr %34, align 8, !tbaa !9
  %772 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %771, i32 0, i32 0
  %773 = load ptr, ptr %772, align 8, !tbaa !30
  store ptr %773, ptr %35, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #10
  %774 = load ptr, ptr %34, align 8, !tbaa !9
  %775 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %774, i32 0, i32 1
  %776 = load ptr, ptr %775, align 8, !tbaa !32
  store ptr %776, ptr %36, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #10
  %777 = load ptr, ptr %34, align 8, !tbaa !9
  %778 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %777, i32 0, i32 2
  %779 = load ptr, ptr %778, align 8, !tbaa !33
  store ptr %779, ptr %37, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %38) #10
  %780 = load ptr, ptr %34, align 8, !tbaa !9
  %781 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %780, i32 0, i32 3
  %782 = load ptr, ptr %781, align 8, !tbaa !34
  store ptr %782, ptr %38, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %39) #10
  %783 = load ptr, ptr %34, align 8, !tbaa !9
  %784 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %783, i32 0, i32 4
  %785 = load i8, ptr %784, align 8, !tbaa !35, !range !13, !noundef !14
  %786 = trunc i8 %785 to i1
  %787 = zext i1 %786 to i8
  store i8 %787, ptr %39, align 1, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 1, ptr %40) #10
  %788 = load ptr, ptr %34, align 8, !tbaa !9
  %789 = getelementptr inbounds %struct.pq_handshake_test_vector, ptr %788, i32 0, i32 5
  %790 = load i8, ptr %789, align 1, !tbaa !36, !range !13, !noundef !14
  %791 = trunc i8 %790 to i1
  %792 = zext i1 %791 to i8
  store i8 %792, ptr %40, align 1, !tbaa !11
  %793 = call zeroext i1 @s2n_pq_is_enabled()
  br i1 %793, label %1100, label %794

794:                                              ; preds = %768
  br label %795

795:                                              ; preds = %794
  %796 = load i32, ptr @test_count, align 4, !tbaa !5
  %797 = add nsw i32 %796, 1
  store i32 %797, ptr @test_count, align 4, !tbaa !5
  %798 = load ptr, ptr %35, align 8, !tbaa !9
  %799 = getelementptr inbounds %struct.s2n_security_policy, ptr %798, i32 0, i32 5
  %800 = load ptr, ptr %799, align 8, !tbaa !24
  %801 = getelementptr inbounds %struct.s2n_ecc_preferences, ptr %800, i32 0, i32 0
  %802 = load i8, ptr %801, align 8, !tbaa !39
  %803 = zext i8 %802 to i32
  %804 = icmp sgt i32 %803, 0
  br i1 %804, label %858, label %805

805:                                              ; preds = %795
  br label %806

806:                                              ; preds = %805
  br label %807

807:                                              ; preds = %806
  call void @llvm.lifetime.start.p0(i64 4, ptr %41) #10
  %808 = call ptr @__errno_location() #11
  %809 = load i32, ptr %808, align 4, !tbaa !5
  store i32 %809, ptr %41, align 4, !tbaa !5
  %810 = load ptr, ptr @stderr, align 8, !tbaa !9
  %811 = call i32 @s2n_print_stacktrace(ptr noundef %810)
  %812 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %813 = trunc i8 %812 to i1
  br i1 %813, label %814, label %836

814:                                              ; preds = %807
  %815 = load ptr, ptr @stderr, align 8, !tbaa !9
  %816 = call i32 @fileno(ptr noundef %815) #10
  %817 = call i32 @isatty(i32 noundef %816) #10
  %818 = icmp ne i32 %817, 0
  br i1 %818, label %819, label %836

819:                                              ; preds = %814
  %820 = load i32, ptr %41, align 4, !tbaa !5
  %821 = call ptr @__errno_location() #11
  store i32 %820, ptr %821, align 4, !tbaa !5
  %822 = load ptr, ptr @stderr, align 8, !tbaa !9
  %823 = load i32, ptr @test_count, align 4, !tbaa !5
  %824 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %825 = load i32, ptr %824, align 4, !tbaa !5
  %826 = call ptr @s2n_strerror(i32 noundef %825, ptr noundef @.str.122)
  %827 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %828 = load i32, ptr %827, align 4, !tbaa !5
  %829 = call ptr @s2n_strerror_debug(i32 noundef %828, ptr noundef @.str.122)
  %830 = call ptr @__errno_location() #11
  %831 = load i32, ptr %830, align 4, !tbaa !5
  %832 = call ptr @strerror(i32 noundef %831) #10
  %833 = call ptr @__errno_location() #11
  %834 = load i32, ptr %833, align 4, !tbaa !5
  %835 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %822, ptr noundef @.str.120, i32 noundef %823, ptr noundef @.str.133, ptr noundef @.str.119, i32 noundef 753, ptr noundef %826, ptr noundef %829, ptr noundef %832, i32 noundef %834) #10
  br label %853

836:                                              ; preds = %814, %807
  %837 = load i32, ptr %41, align 4, !tbaa !5
  %838 = call ptr @__errno_location() #11
  store i32 %837, ptr %838, align 4, !tbaa !5
  %839 = load ptr, ptr @stderr, align 8, !tbaa !9
  %840 = load i32, ptr @test_count, align 4, !tbaa !5
  %841 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %842 = load i32, ptr %841, align 4, !tbaa !5
  %843 = call ptr @s2n_strerror(i32 noundef %842, ptr noundef @.str.122)
  %844 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %845 = load i32, ptr %844, align 4, !tbaa !5
  %846 = call ptr @s2n_strerror_debug(i32 noundef %845, ptr noundef @.str.122)
  %847 = call ptr @__errno_location() #11
  %848 = load i32, ptr %847, align 4, !tbaa !5
  %849 = call ptr @strerror(i32 noundef %848) #10
  %850 = call ptr @__errno_location() #11
  %851 = load i32, ptr %850, align 4, !tbaa !5
  %852 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %839, ptr noundef @.str.123, i32 noundef %840, ptr noundef @.str.133, ptr noundef @.str.119, i32 noundef 753, ptr noundef %843, ptr noundef %846, ptr noundef %849, i32 noundef %851) #10
  br label %853

853:                                              ; preds = %836, %819
  call void @llvm.lifetime.end.p0(i64 4, ptr %41) #10
  br label %854

854:                                              ; preds = %853
  br label %855

855:                                              ; preds = %854
  call void @exit(i32 noundef 1) #12
  unreachable

856:                                              ; No predecessors!
  br label %857

857:                                              ; preds = %856
  br label %858

858:                                              ; preds = %857, %795
  br label %859

859:                                              ; preds = %858
  br label %860

860:                                              ; preds = %859
  call void @llvm.lifetime.start.p0(i64 8, ptr %42) #10
  %861 = load ptr, ptr %35, align 8, !tbaa !9
  %862 = getelementptr inbounds %struct.s2n_security_policy, ptr %861, i32 0, i32 5
  %863 = load ptr, ptr %862, align 8, !tbaa !24
  %864 = getelementptr inbounds %struct.s2n_ecc_preferences, ptr %863, i32 0, i32 1
  %865 = load ptr, ptr %864, align 8, !tbaa !41
  %866 = getelementptr inbounds ptr, ptr %865, i64 0
  %867 = load ptr, ptr %866, align 8, !tbaa !9
  store ptr %867, ptr %42, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %43) #10
  %868 = load ptr, ptr %35, align 8, !tbaa !9
  %869 = load ptr, ptr %36, align 8, !tbaa !9
  %870 = call ptr @s2n_get_predicted_negotiated_ecdhe_curve(ptr noundef %868, ptr noundef %869)
  store ptr %870, ptr %43, align 8, !tbaa !9
  %871 = load ptr, ptr %35, align 8, !tbaa !9
  %872 = getelementptr inbounds %struct.s2n_security_policy, ptr %871, i32 0, i32 5
  %873 = load ptr, ptr %872, align 8, !tbaa !24
  %874 = load ptr, ptr %22, align 8, !tbaa !9
  %875 = getelementptr inbounds %struct.s2n_ecc_named_curve, ptr %874, i32 0, i32 0
  %876 = load i16, ptr %875, align 8, !tbaa !42
  %877 = call zeroext i1 @s2n_ecc_preferences_includes_curve(ptr noundef %873, i16 noundef zeroext %876)
  br i1 %877, label %878, label %886

878:                                              ; preds = %860
  %879 = load ptr, ptr %36, align 8, !tbaa !9
  %880 = getelementptr inbounds %struct.s2n_security_policy, ptr %879, i32 0, i32 5
  %881 = load ptr, ptr %880, align 8, !tbaa !24
  %882 = load ptr, ptr %22, align 8, !tbaa !9
  %883 = getelementptr inbounds %struct.s2n_ecc_named_curve, ptr %882, i32 0, i32 0
  %884 = load i16, ptr %883, align 8, !tbaa !42
  %885 = call zeroext i1 @s2n_ecc_preferences_includes_curve(ptr noundef %881, i16 noundef zeroext %884)
  br i1 %885, label %1015, label %886

886:                                              ; preds = %878, %860
  br label %887

887:                                              ; preds = %886
  %888 = load i32, ptr @test_count, align 4, !tbaa !5
  %889 = add nsw i32 %888, 1
  store i32 %889, ptr @test_count, align 4, !tbaa !5
  %890 = load ptr, ptr %35, align 8, !tbaa !9
  %891 = getelementptr inbounds %struct.s2n_security_policy, ptr %890, i32 0, i32 5
  %892 = load ptr, ptr %891, align 8, !tbaa !24
  %893 = load i16, ptr @s2n_ecc_curve_secp256r1, align 8, !tbaa !42
  %894 = call zeroext i1 @s2n_ecc_preferences_includes_curve(ptr noundef %892, i16 noundef zeroext %893)
  br i1 %894, label %948, label %895

895:                                              ; preds = %887
  br label %896

896:                                              ; preds = %895
  br label %897

897:                                              ; preds = %896
  call void @llvm.lifetime.start.p0(i64 4, ptr %44) #10
  %898 = call ptr @__errno_location() #11
  %899 = load i32, ptr %898, align 4, !tbaa !5
  store i32 %899, ptr %44, align 4, !tbaa !5
  %900 = load ptr, ptr @stderr, align 8, !tbaa !9
  %901 = call i32 @s2n_print_stacktrace(ptr noundef %900)
  %902 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %903 = trunc i8 %902 to i1
  br i1 %903, label %904, label %926

904:                                              ; preds = %897
  %905 = load ptr, ptr @stderr, align 8, !tbaa !9
  %906 = call i32 @fileno(ptr noundef %905) #10
  %907 = call i32 @isatty(i32 noundef %906) #10
  %908 = icmp ne i32 %907, 0
  br i1 %908, label %909, label %926

909:                                              ; preds = %904
  %910 = load i32, ptr %44, align 4, !tbaa !5
  %911 = call ptr @__errno_location() #11
  store i32 %910, ptr %911, align 4, !tbaa !5
  %912 = load ptr, ptr @stderr, align 8, !tbaa !9
  %913 = load i32, ptr @test_count, align 4, !tbaa !5
  %914 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %915 = load i32, ptr %914, align 4, !tbaa !5
  %916 = call ptr @s2n_strerror(i32 noundef %915, ptr noundef @.str.122)
  %917 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %918 = load i32, ptr %917, align 4, !tbaa !5
  %919 = call ptr @s2n_strerror_debug(i32 noundef %918, ptr noundef @.str.122)
  %920 = call ptr @__errno_location() #11
  %921 = load i32, ptr %920, align 4, !tbaa !5
  %922 = call ptr @strerror(i32 noundef %921) #10
  %923 = call ptr @__errno_location() #11
  %924 = load i32, ptr %923, align 4, !tbaa !5
  %925 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %912, ptr noundef @.str.120, i32 noundef %913, ptr noundef @.str.134, ptr noundef @.str.119, i32 noundef 761, ptr noundef %916, ptr noundef %919, ptr noundef %922, i32 noundef %924) #10
  br label %943

926:                                              ; preds = %904, %897
  %927 = load i32, ptr %44, align 4, !tbaa !5
  %928 = call ptr @__errno_location() #11
  store i32 %927, ptr %928, align 4, !tbaa !5
  %929 = load ptr, ptr @stderr, align 8, !tbaa !9
  %930 = load i32, ptr @test_count, align 4, !tbaa !5
  %931 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %932 = load i32, ptr %931, align 4, !tbaa !5
  %933 = call ptr @s2n_strerror(i32 noundef %932, ptr noundef @.str.122)
  %934 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %935 = load i32, ptr %934, align 4, !tbaa !5
  %936 = call ptr @s2n_strerror_debug(i32 noundef %935, ptr noundef @.str.122)
  %937 = call ptr @__errno_location() #11
  %938 = load i32, ptr %937, align 4, !tbaa !5
  %939 = call ptr @strerror(i32 noundef %938) #10
  %940 = call ptr @__errno_location() #11
  %941 = load i32, ptr %940, align 4, !tbaa !5
  %942 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %929, ptr noundef @.str.123, i32 noundef %930, ptr noundef @.str.134, ptr noundef @.str.119, i32 noundef 761, ptr noundef %933, ptr noundef %936, ptr noundef %939, i32 noundef %941) #10
  br label %943

943:                                              ; preds = %926, %909
  call void @llvm.lifetime.end.p0(i64 4, ptr %44) #10
  br label %944

944:                                              ; preds = %943
  br label %945

945:                                              ; preds = %944
  call void @exit(i32 noundef 1) #12
  unreachable

946:                                              ; No predecessors!
  br label %947

947:                                              ; preds = %946
  br label %948

948:                                              ; preds = %947, %887
  br label %949

949:                                              ; preds = %948
  br label %950

950:                                              ; preds = %949
  br label %951

951:                                              ; preds = %950
  %952 = load i32, ptr @test_count, align 4, !tbaa !5
  %953 = add nsw i32 %952, 1
  store i32 %953, ptr @test_count, align 4, !tbaa !5
  %954 = load ptr, ptr %36, align 8, !tbaa !9
  %955 = getelementptr inbounds %struct.s2n_security_policy, ptr %954, i32 0, i32 5
  %956 = load ptr, ptr %955, align 8, !tbaa !24
  %957 = load i16, ptr @s2n_ecc_curve_secp256r1, align 8, !tbaa !42
  %958 = call zeroext i1 @s2n_ecc_preferences_includes_curve(ptr noundef %956, i16 noundef zeroext %957)
  br i1 %958, label %1012, label %959

959:                                              ; preds = %951
  br label %960

960:                                              ; preds = %959
  br label %961

961:                                              ; preds = %960
  call void @llvm.lifetime.start.p0(i64 4, ptr %45) #10
  %962 = call ptr @__errno_location() #11
  %963 = load i32, ptr %962, align 4, !tbaa !5
  store i32 %963, ptr %45, align 4, !tbaa !5
  %964 = load ptr, ptr @stderr, align 8, !tbaa !9
  %965 = call i32 @s2n_print_stacktrace(ptr noundef %964)
  %966 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %967 = trunc i8 %966 to i1
  br i1 %967, label %968, label %990

968:                                              ; preds = %961
  %969 = load ptr, ptr @stderr, align 8, !tbaa !9
  %970 = call i32 @fileno(ptr noundef %969) #10
  %971 = call i32 @isatty(i32 noundef %970) #10
  %972 = icmp ne i32 %971, 0
  br i1 %972, label %973, label %990

973:                                              ; preds = %968
  %974 = load i32, ptr %45, align 4, !tbaa !5
  %975 = call ptr @__errno_location() #11
  store i32 %974, ptr %975, align 4, !tbaa !5
  %976 = load ptr, ptr @stderr, align 8, !tbaa !9
  %977 = load i32, ptr @test_count, align 4, !tbaa !5
  %978 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %979 = load i32, ptr %978, align 4, !tbaa !5
  %980 = call ptr @s2n_strerror(i32 noundef %979, ptr noundef @.str.122)
  %981 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %982 = load i32, ptr %981, align 4, !tbaa !5
  %983 = call ptr @s2n_strerror_debug(i32 noundef %982, ptr noundef @.str.122)
  %984 = call ptr @__errno_location() #11
  %985 = load i32, ptr %984, align 4, !tbaa !5
  %986 = call ptr @strerror(i32 noundef %985) #10
  %987 = call ptr @__errno_location() #11
  %988 = load i32, ptr %987, align 4, !tbaa !5
  %989 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %976, ptr noundef @.str.120, i32 noundef %977, ptr noundef @.str.135, ptr noundef @.str.119, i32 noundef 762, ptr noundef %980, ptr noundef %983, ptr noundef %986, i32 noundef %988) #10
  br label %1007

990:                                              ; preds = %968, %961
  %991 = load i32, ptr %45, align 4, !tbaa !5
  %992 = call ptr @__errno_location() #11
  store i32 %991, ptr %992, align 4, !tbaa !5
  %993 = load ptr, ptr @stderr, align 8, !tbaa !9
  %994 = load i32, ptr @test_count, align 4, !tbaa !5
  %995 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %996 = load i32, ptr %995, align 4, !tbaa !5
  %997 = call ptr @s2n_strerror(i32 noundef %996, ptr noundef @.str.122)
  %998 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %999 = load i32, ptr %998, align 4, !tbaa !5
  %1000 = call ptr @s2n_strerror_debug(i32 noundef %999, ptr noundef @.str.122)
  %1001 = call ptr @__errno_location() #11
  %1002 = load i32, ptr %1001, align 4, !tbaa !5
  %1003 = call ptr @strerror(i32 noundef %1002) #10
  %1004 = call ptr @__errno_location() #11
  %1005 = load i32, ptr %1004, align 4, !tbaa !5
  %1006 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %993, ptr noundef @.str.123, i32 noundef %994, ptr noundef @.str.135, ptr noundef @.str.119, i32 noundef 762, ptr noundef %997, ptr noundef %1000, ptr noundef %1003, i32 noundef %1005) #10
  br label %1007

1007:                                             ; preds = %990, %973
  call void @llvm.lifetime.end.p0(i64 4, ptr %45) #10
  br label %1008

1008:                                             ; preds = %1007
  br label %1009

1009:                                             ; preds = %1008
  call void @exit(i32 noundef 1) #12
  unreachable

1010:                                             ; No predecessors!
  br label %1011

1011:                                             ; preds = %1010
  br label %1012

1012:                                             ; preds = %1011, %951
  br label %1013

1013:                                             ; preds = %1012
  br label %1014

1014:                                             ; preds = %1013
  store ptr @s2n_ecc_curve_secp256r1, ptr %38, align 8, !tbaa !9
  br label %1015

1015:                                             ; preds = %1014, %878
  %1016 = load ptr, ptr %35, align 8, !tbaa !9
  %1017 = call zeroext i1 @s2n_security_policy_supports_tls13(ptr noundef %1016)
  br i1 %1017, label %1018, label %1031

1018:                                             ; preds = %1015
  %1019 = load ptr, ptr %36, align 8, !tbaa !9
  %1020 = call zeroext i1 @s2n_security_policy_supports_tls13(ptr noundef %1019)
  br i1 %1020, label %1021, label %1031

1021:                                             ; preds = %1018
  %1022 = load ptr, ptr %36, align 8, !tbaa !9
  %1023 = getelementptr inbounds %struct.s2n_security_policy, ptr %1022, i32 0, i32 5
  %1024 = load ptr, ptr %1023, align 8, !tbaa !24
  %1025 = load ptr, ptr %42, align 8, !tbaa !9
  %1026 = getelementptr inbounds %struct.s2n_ecc_named_curve, ptr %1025, i32 0, i32 0
  %1027 = load i16, ptr %1026, align 8, !tbaa !42
  %1028 = call zeroext i1 @s2n_ecc_preferences_includes_curve(ptr noundef %1024, i16 noundef zeroext %1027)
  br i1 %1028, label %1029, label %1031

1029:                                             ; preds = %1021
  %1030 = load ptr, ptr %42, align 8, !tbaa !9
  store ptr %1030, ptr %38, align 8, !tbaa !9
  br label %1031

1031:                                             ; preds = %1029, %1021, %1018, %1015
  br label %1032

1032:                                             ; preds = %1031
  %1033 = load i32, ptr @test_count, align 4, !tbaa !5
  %1034 = add nsw i32 %1033, 1
  store i32 %1034, ptr @test_count, align 4, !tbaa !5
  %1035 = load ptr, ptr %38, align 8, !tbaa !9
  %1036 = getelementptr inbounds %struct.s2n_ecc_named_curve, ptr %1035, i32 0, i32 0
  %1037 = load i16, ptr %1036, align 8, !tbaa !42
  %1038 = zext i16 %1037 to i32
  %1039 = load ptr, ptr %43, align 8, !tbaa !9
  %1040 = getelementptr inbounds %struct.s2n_ecc_named_curve, ptr %1039, i32 0, i32 0
  %1041 = load i16, ptr %1040, align 8, !tbaa !42
  %1042 = zext i16 %1041 to i32
  %1043 = icmp eq i32 %1038, %1042
  br i1 %1043, label %1097, label %1044

1044:                                             ; preds = %1032
  br label %1045

1045:                                             ; preds = %1044
  br label %1046

1046:                                             ; preds = %1045
  call void @llvm.lifetime.start.p0(i64 4, ptr %46) #10
  %1047 = call ptr @__errno_location() #11
  %1048 = load i32, ptr %1047, align 4, !tbaa !5
  store i32 %1048, ptr %46, align 4, !tbaa !5
  %1049 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1050 = call i32 @s2n_print_stacktrace(ptr noundef %1049)
  %1051 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %1052 = trunc i8 %1051 to i1
  br i1 %1052, label %1053, label %1075

1053:                                             ; preds = %1046
  %1054 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1055 = call i32 @fileno(ptr noundef %1054) #10
  %1056 = call i32 @isatty(i32 noundef %1055) #10
  %1057 = icmp ne i32 %1056, 0
  br i1 %1057, label %1058, label %1075

1058:                                             ; preds = %1053
  %1059 = load i32, ptr %46, align 4, !tbaa !5
  %1060 = call ptr @__errno_location() #11
  store i32 %1059, ptr %1060, align 4, !tbaa !5
  %1061 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1062 = load i32, ptr @test_count, align 4, !tbaa !5
  %1063 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1064 = load i32, ptr %1063, align 4, !tbaa !5
  %1065 = call ptr @s2n_strerror(i32 noundef %1064, ptr noundef @.str.122)
  %1066 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1067 = load i32, ptr %1066, align 4, !tbaa !5
  %1068 = call ptr @s2n_strerror_debug(i32 noundef %1067, ptr noundef @.str.122)
  %1069 = call ptr @__errno_location() #11
  %1070 = load i32, ptr %1069, align 4, !tbaa !5
  %1071 = call ptr @strerror(i32 noundef %1070) #10
  %1072 = call ptr @__errno_location() #11
  %1073 = load i32, ptr %1072, align 4, !tbaa !5
  %1074 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1061, ptr noundef @.str.120, i32 noundef %1062, ptr noundef @.str.136, ptr noundef @.str.119, i32 noundef 774, ptr noundef %1065, ptr noundef %1068, ptr noundef %1071, i32 noundef %1073) #10
  br label %1092

1075:                                             ; preds = %1053, %1046
  %1076 = load i32, ptr %46, align 4, !tbaa !5
  %1077 = call ptr @__errno_location() #11
  store i32 %1076, ptr %1077, align 4, !tbaa !5
  %1078 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1079 = load i32, ptr @test_count, align 4, !tbaa !5
  %1080 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1081 = load i32, ptr %1080, align 4, !tbaa !5
  %1082 = call ptr @s2n_strerror(i32 noundef %1081, ptr noundef @.str.122)
  %1083 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1084 = load i32, ptr %1083, align 4, !tbaa !5
  %1085 = call ptr @s2n_strerror_debug(i32 noundef %1084, ptr noundef @.str.122)
  %1086 = call ptr @__errno_location() #11
  %1087 = load i32, ptr %1086, align 4, !tbaa !5
  %1088 = call ptr @strerror(i32 noundef %1087) #10
  %1089 = call ptr @__errno_location() #11
  %1090 = load i32, ptr %1089, align 4, !tbaa !5
  %1091 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1078, ptr noundef @.str.123, i32 noundef %1079, ptr noundef @.str.136, ptr noundef @.str.119, i32 noundef 774, ptr noundef %1082, ptr noundef %1085, ptr noundef %1088, i32 noundef %1090) #10
  br label %1092

1092:                                             ; preds = %1075, %1058
  call void @llvm.lifetime.end.p0(i64 4, ptr %46) #10
  br label %1093

1093:                                             ; preds = %1092
  br label %1094

1094:                                             ; preds = %1093
  call void @exit(i32 noundef 1) #12
  unreachable

1095:                                             ; No predecessors!
  br label %1096

1096:                                             ; preds = %1095
  br label %1097

1097:                                             ; preds = %1096, %1032
  br label %1098

1098:                                             ; preds = %1097
  br label %1099

1099:                                             ; preds = %1098
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %42) #10
  br label %1100

1100:                                             ; preds = %1099, %768
  %1101 = load ptr, ptr %37, align 8, !tbaa !9
  %1102 = call zeroext i1 @s2n_kem_group_is_available(ptr noundef %1101)
  br i1 %1102, label %1104, label %1103

1103:                                             ; preds = %1100
  store ptr null, ptr %37, align 8, !tbaa !9
  br label %1104

1104:                                             ; preds = %1103, %1100
  %1105 = load ptr, ptr %37, align 8, !tbaa !9
  %1106 = icmp ne ptr %1105, null
  br i1 %1106, label %1107, label %1203

1107:                                             ; preds = %1104
  call void @llvm.lifetime.start.p0(i64 8, ptr %47) #10
  %1108 = load ptr, ptr %35, align 8, !tbaa !9
  %1109 = getelementptr inbounds %struct.s2n_security_policy, ptr %1108, i32 0, i32 2
  %1110 = load ptr, ptr %1109, align 8, !tbaa !21
  %1111 = load ptr, ptr %36, align 8, !tbaa !9
  %1112 = getelementptr inbounds %struct.s2n_security_policy, ptr %1111, i32 0, i32 2
  %1113 = load ptr, ptr %1112, align 8, !tbaa !21
  %1114 = call ptr @s2n_get_predicted_negotiated_kem_group(ptr noundef %1110, ptr noundef %1113)
  store ptr %1114, ptr %47, align 8, !tbaa !9
  br label %1115

1115:                                             ; preds = %1107
  %1116 = load ptr, ptr %47, align 8, !tbaa !9
  %1117 = icmp ne ptr %1116, null
  br i1 %1117, label %1151, label %1118

1118:                                             ; preds = %1115
  br label %1119

1119:                                             ; preds = %1118
  br label %1120

1120:                                             ; preds = %1119
  %1121 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %1122 = getelementptr inbounds %struct.s2n_debug_info, ptr %1121, i32 0, i32 0
  store ptr @.str.137, ptr %1122, align 8, !tbaa !45
  %1123 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %1124 = getelementptr inbounds %struct.s2n_debug_info, ptr %1123, i32 0, i32 0
  %1125 = load ptr, ptr %1124, align 8, !tbaa !45
  %1126 = getelementptr inbounds i8, ptr %1125, i64 21
  %1127 = call ptr @strrchr(ptr noundef %1126, i32 noundef 47) #13
  %1128 = icmp ne ptr %1127, null
  br i1 %1128, label %1129, label %1136

1129:                                             ; preds = %1120
  %1130 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %1131 = getelementptr inbounds %struct.s2n_debug_info, ptr %1130, i32 0, i32 0
  %1132 = load ptr, ptr %1131, align 8, !tbaa !45
  %1133 = getelementptr inbounds i8, ptr %1132, i64 21
  %1134 = call ptr @strrchr(ptr noundef %1133, i32 noundef 47) #13
  %1135 = getelementptr inbounds i8, ptr %1134, i64 1
  br label %1141

1136:                                             ; preds = %1120
  %1137 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %1138 = getelementptr inbounds %struct.s2n_debug_info, ptr %1137, i32 0, i32 0
  %1139 = load ptr, ptr %1138, align 8, !tbaa !45
  %1140 = getelementptr inbounds i8, ptr %1139, i64 21
  br label %1141

1141:                                             ; preds = %1136, %1129
  %1142 = phi ptr [ %1135, %1129 ], [ %1140, %1136 ]
  %1143 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %1144 = getelementptr inbounds %struct.s2n_debug_info, ptr %1143, i32 0, i32 1
  store ptr %1142, ptr %1144, align 8, !tbaa !47
  %1145 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  store i32 402653193, ptr %1145, align 4, !tbaa !5
  %1146 = call i32 @s2n_calculate_stacktrace()
  br label %1147

1147:                                             ; preds = %1141
  br label %1148

1148:                                             ; preds = %1147
  store i32 -1, ptr %1, align 4
  store i32 1, ptr %24, align 4
  br label %1200

1149:                                             ; No predecessors!
  br label %1150

1150:                                             ; preds = %1149
  br label %1151

1151:                                             ; preds = %1150, %1115
  br label %1152

1152:                                             ; preds = %1151
  br label %1153

1153:                                             ; preds = %1152
  br label %1154

1154:                                             ; preds = %1153
  %1155 = load ptr, ptr %37, align 8, !tbaa !9
  %1156 = getelementptr inbounds %struct.s2n_kem_group, ptr %1155, i32 0, i32 1
  %1157 = load i16, ptr %1156, align 8, !tbaa !48
  %1158 = zext i16 %1157 to i32
  %1159 = load ptr, ptr %47, align 8, !tbaa !9
  %1160 = getelementptr inbounds %struct.s2n_kem_group, ptr %1159, i32 0, i32 1
  %1161 = load i16, ptr %1160, align 8, !tbaa !48
  %1162 = zext i16 %1161 to i32
  %1163 = icmp eq i32 %1158, %1162
  br i1 %1163, label %1197, label %1164

1164:                                             ; preds = %1154
  br label %1165

1165:                                             ; preds = %1164
  br label %1166

1166:                                             ; preds = %1165
  %1167 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %1168 = getelementptr inbounds %struct.s2n_debug_info, ptr %1167, i32 0, i32 0
  store ptr @.str.138, ptr %1168, align 8, !tbaa !45
  %1169 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %1170 = getelementptr inbounds %struct.s2n_debug_info, ptr %1169, i32 0, i32 0
  %1171 = load ptr, ptr %1170, align 8, !tbaa !45
  %1172 = getelementptr inbounds i8, ptr %1171, i64 21
  %1173 = call ptr @strrchr(ptr noundef %1172, i32 noundef 47) #13
  %1174 = icmp ne ptr %1173, null
  br i1 %1174, label %1175, label %1182

1175:                                             ; preds = %1166
  %1176 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %1177 = getelementptr inbounds %struct.s2n_debug_info, ptr %1176, i32 0, i32 0
  %1178 = load ptr, ptr %1177, align 8, !tbaa !45
  %1179 = getelementptr inbounds i8, ptr %1178, i64 21
  %1180 = call ptr @strrchr(ptr noundef %1179, i32 noundef 47) #13
  %1181 = getelementptr inbounds i8, ptr %1180, i64 1
  br label %1187

1182:                                             ; preds = %1166
  %1183 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %1184 = getelementptr inbounds %struct.s2n_debug_info, ptr %1183, i32 0, i32 0
  %1185 = load ptr, ptr %1184, align 8, !tbaa !45
  %1186 = getelementptr inbounds i8, ptr %1185, i64 21
  br label %1187

1187:                                             ; preds = %1182, %1175
  %1188 = phi ptr [ %1181, %1175 ], [ %1186, %1182 ]
  %1189 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %1190 = getelementptr inbounds %struct.s2n_debug_info, ptr %1189, i32 0, i32 1
  store ptr %1188, ptr %1190, align 8, !tbaa !47
  %1191 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  store i32 402653194, ptr %1191, align 4, !tbaa !5
  %1192 = call i32 @s2n_calculate_stacktrace()
  br label %1193

1193:                                             ; preds = %1187
  br label %1194

1194:                                             ; preds = %1193
  store i32 -1, ptr %1, align 4
  store i32 1, ptr %24, align 4
  br label %1200

1195:                                             ; No predecessors!
  br label %1196

1196:                                             ; preds = %1195
  br label %1197

1197:                                             ; preds = %1196, %1154
  br label %1198

1198:                                             ; preds = %1197
  br label %1199

1199:                                             ; preds = %1198
  store i32 0, ptr %24, align 4
  br label %1200

1200:                                             ; preds = %1199, %1194, %1148
  call void @llvm.lifetime.end.p0(i64 8, ptr %47) #10
  %1201 = load i32, ptr %24, align 4
  switch i32 %1201, label %1273 [
    i32 0, label %1202
  ]

1202:                                             ; preds = %1200
  br label %1203

1203:                                             ; preds = %1202, %1104
  br label %1204

1204:                                             ; preds = %1203
  %1205 = load i32, ptr @test_count, align 4, !tbaa !5
  %1206 = add nsw i32 %1205, 1
  store i32 %1206, ptr @test_count, align 4, !tbaa !5
  %1207 = load ptr, ptr %35, align 8, !tbaa !9
  %1208 = load ptr, ptr %36, align 8, !tbaa !9
  %1209 = load ptr, ptr %37, align 8, !tbaa !9
  %1210 = load ptr, ptr %38, align 8, !tbaa !9
  %1211 = load i8, ptr %39, align 1, !tbaa !11, !range !13, !noundef !14
  %1212 = trunc i8 %1211 to i1
  %1213 = load i8, ptr %40, align 1, !tbaa !11, !range !13, !noundef !14
  %1214 = trunc i8 %1213 to i1
  %1215 = call i32 @s2n_test_tls13_pq_handshake(ptr noundef %1207, ptr noundef %1208, ptr noundef %1209, ptr noundef %1210, i1 noundef zeroext %1212, i1 noundef zeroext %1214)
  %1216 = icmp eq i32 %1215, -1
  br i1 %1216, label %1217, label %1270

1217:                                             ; preds = %1204
  br label %1218

1218:                                             ; preds = %1217
  br label %1219

1219:                                             ; preds = %1218
  call void @llvm.lifetime.start.p0(i64 4, ptr %48) #10
  %1220 = call ptr @__errno_location() #11
  %1221 = load i32, ptr %1220, align 4, !tbaa !5
  store i32 %1221, ptr %48, align 4, !tbaa !5
  %1222 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1223 = call i32 @s2n_print_stacktrace(ptr noundef %1222)
  %1224 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %1225 = trunc i8 %1224 to i1
  br i1 %1225, label %1226, label %1248

1226:                                             ; preds = %1219
  %1227 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1228 = call i32 @fileno(ptr noundef %1227) #10
  %1229 = call i32 @isatty(i32 noundef %1228) #10
  %1230 = icmp ne i32 %1229, 0
  br i1 %1230, label %1231, label %1248

1231:                                             ; preds = %1226
  %1232 = load i32, ptr %48, align 4, !tbaa !5
  %1233 = call ptr @__errno_location() #11
  store i32 %1232, ptr %1233, align 4, !tbaa !5
  %1234 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1235 = load i32, ptr @test_count, align 4, !tbaa !5
  %1236 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1237 = load i32, ptr %1236, align 4, !tbaa !5
  %1238 = call ptr @s2n_strerror(i32 noundef %1237, ptr noundef @.str.122)
  %1239 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1240 = load i32, ptr %1239, align 4, !tbaa !5
  %1241 = call ptr @s2n_strerror_debug(i32 noundef %1240, ptr noundef @.str.122)
  %1242 = call ptr @__errno_location() #11
  %1243 = load i32, ptr %1242, align 4, !tbaa !5
  %1244 = call ptr @strerror(i32 noundef %1243) #10
  %1245 = call ptr @__errno_location() #11
  %1246 = load i32, ptr %1245, align 4, !tbaa !5
  %1247 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1234, ptr noundef @.str.120, i32 noundef %1235, ptr noundef @.str.139, ptr noundef @.str.119, i32 noundef 790, ptr noundef %1238, ptr noundef %1241, ptr noundef %1244, i32 noundef %1246) #10
  br label %1265

1248:                                             ; preds = %1226, %1219
  %1249 = load i32, ptr %48, align 4, !tbaa !5
  %1250 = call ptr @__errno_location() #11
  store i32 %1249, ptr %1250, align 4, !tbaa !5
  %1251 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1252 = load i32, ptr @test_count, align 4, !tbaa !5
  %1253 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1254 = load i32, ptr %1253, align 4, !tbaa !5
  %1255 = call ptr @s2n_strerror(i32 noundef %1254, ptr noundef @.str.122)
  %1256 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1257 = load i32, ptr %1256, align 4, !tbaa !5
  %1258 = call ptr @s2n_strerror_debug(i32 noundef %1257, ptr noundef @.str.122)
  %1259 = call ptr @__errno_location() #11
  %1260 = load i32, ptr %1259, align 4, !tbaa !5
  %1261 = call ptr @strerror(i32 noundef %1260) #10
  %1262 = call ptr @__errno_location() #11
  %1263 = load i32, ptr %1262, align 4, !tbaa !5
  %1264 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1251, ptr noundef @.str.123, i32 noundef %1252, ptr noundef @.str.139, ptr noundef @.str.119, i32 noundef 790, ptr noundef %1255, ptr noundef %1258, ptr noundef %1261, i32 noundef %1263) #10
  br label %1265

1265:                                             ; preds = %1248, %1231
  call void @llvm.lifetime.end.p0(i64 4, ptr %48) #10
  br label %1266

1266:                                             ; preds = %1265
  br label %1267

1267:                                             ; preds = %1266
  call void @exit(i32 noundef 1) #12
  unreachable

1268:                                             ; No predecessors!
  br label %1269

1269:                                             ; preds = %1268
  br label %1270

1270:                                             ; preds = %1269, %1204
  br label %1271

1271:                                             ; preds = %1270
  br label %1272

1272:                                             ; preds = %1271
  store i32 0, ptr %24, align 4
  br label %1273

1273:                                             ; preds = %1272, %1200
  call void @llvm.lifetime.end.p0(i64 1, ptr %40) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr %39) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #10
  %1274 = load i32, ptr %24, align 4
  switch i32 %1274, label %1279 [
    i32 0, label %1275
  ]

1275:                                             ; preds = %1273
  br label %1276

1276:                                             ; preds = %1275
  %1277 = load i64, ptr %33, align 8, !tbaa !28
  %1278 = add i64 %1277, 1
  store i64 %1278, ptr %33, align 8, !tbaa !28
  br label %764, !llvm.loop !50

1279:                                             ; preds = %1273, %767
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #10
  %1280 = load i32, ptr %24, align 4
  switch i32 %1280, label %1436 [
    i32 49, label %1281
  ]

1281:                                             ; preds = %1279
  br label %1282

1282:                                             ; preds = %1281
  br label %1283

1283:                                             ; preds = %1282
  %1284 = call i32 @s2n_cleanup()
  %1285 = icmp eq i32 %1284, -1
  br i1 %1285, label %1286, label %1339

1286:                                             ; preds = %1283
  br label %1287

1287:                                             ; preds = %1286
  br label %1288

1288:                                             ; preds = %1287
  call void @llvm.lifetime.start.p0(i64 4, ptr %49) #10
  %1289 = call ptr @__errno_location() #11
  %1290 = load i32, ptr %1289, align 4, !tbaa !5
  store i32 %1290, ptr %49, align 4, !tbaa !5
  %1291 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1292 = call i32 @s2n_print_stacktrace(ptr noundef %1291)
  %1293 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %1294 = trunc i8 %1293 to i1
  br i1 %1294, label %1295, label %1317

1295:                                             ; preds = %1288
  %1296 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1297 = call i32 @fileno(ptr noundef %1296) #10
  %1298 = call i32 @isatty(i32 noundef %1297) #10
  %1299 = icmp ne i32 %1298, 0
  br i1 %1299, label %1300, label %1317

1300:                                             ; preds = %1295
  %1301 = load i32, ptr %49, align 4, !tbaa !5
  %1302 = call ptr @__errno_location() #11
  store i32 %1301, ptr %1302, align 4, !tbaa !5
  %1303 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1304 = load i32, ptr @test_count, align 4, !tbaa !5
  %1305 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1306 = load i32, ptr %1305, align 4, !tbaa !5
  %1307 = call ptr @s2n_strerror(i32 noundef %1306, ptr noundef @.str.122)
  %1308 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1309 = load i32, ptr %1308, align 4, !tbaa !5
  %1310 = call ptr @s2n_strerror_debug(i32 noundef %1309, ptr noundef @.str.122)
  %1311 = call ptr @__errno_location() #11
  %1312 = load i32, ptr %1311, align 4, !tbaa !5
  %1313 = call ptr @strerror(i32 noundef %1312) #10
  %1314 = call ptr @__errno_location() #11
  %1315 = load i32, ptr %1314, align 4, !tbaa !5
  %1316 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1303, ptr noundef @.str.120, i32 noundef %1304, ptr noundef @.str.126, ptr noundef @.str.119, i32 noundef 793, ptr noundef %1307, ptr noundef %1310, ptr noundef %1313, i32 noundef %1315) #10
  br label %1334

1317:                                             ; preds = %1295, %1288
  %1318 = load i32, ptr %49, align 4, !tbaa !5
  %1319 = call ptr @__errno_location() #11
  store i32 %1318, ptr %1319, align 4, !tbaa !5
  %1320 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1321 = load i32, ptr @test_count, align 4, !tbaa !5
  %1322 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1323 = load i32, ptr %1322, align 4, !tbaa !5
  %1324 = call ptr @s2n_strerror(i32 noundef %1323, ptr noundef @.str.122)
  %1325 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1326 = load i32, ptr %1325, align 4, !tbaa !5
  %1327 = call ptr @s2n_strerror_debug(i32 noundef %1326, ptr noundef @.str.122)
  %1328 = call ptr @__errno_location() #11
  %1329 = load i32, ptr %1328, align 4, !tbaa !5
  %1330 = call ptr @strerror(i32 noundef %1329) #10
  %1331 = call ptr @__errno_location() #11
  %1332 = load i32, ptr %1331, align 4, !tbaa !5
  %1333 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1320, ptr noundef @.str.123, i32 noundef %1321, ptr noundef @.str.126, ptr noundef @.str.119, i32 noundef 793, ptr noundef %1324, ptr noundef %1327, ptr noundef %1330, i32 noundef %1332) #10
  br label %1334

1334:                                             ; preds = %1317, %1300
  call void @llvm.lifetime.end.p0(i64 4, ptr %49) #10
  br label %1335

1335:                                             ; preds = %1334
  br label %1336

1336:                                             ; preds = %1335
  call void @exit(i32 noundef 1) #12
  unreachable

1337:                                             ; No predecessors!
  br label %1338

1338:                                             ; preds = %1337
  br label %1339

1339:                                             ; preds = %1338, %1283
  br label %1340

1340:                                             ; preds = %1339
  br label %1341

1341:                                             ; preds = %1340
  br label %1342

1342:                                             ; preds = %1341
  br label %1343

1343:                                             ; preds = %1342
  %1344 = call i32 @s2n_in_unit_test_set(i1 noundef zeroext false)
  %1345 = icmp eq i32 %1344, -1
  br i1 %1345, label %1346, label %1399

1346:                                             ; preds = %1343
  br label %1347

1347:                                             ; preds = %1346
  br label %1348

1348:                                             ; preds = %1347
  call void @llvm.lifetime.start.p0(i64 4, ptr %50) #10
  %1349 = call ptr @__errno_location() #11
  %1350 = load i32, ptr %1349, align 4, !tbaa !5
  store i32 %1350, ptr %50, align 4, !tbaa !5
  %1351 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1352 = call i32 @s2n_print_stacktrace(ptr noundef %1351)
  %1353 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %1354 = trunc i8 %1353 to i1
  br i1 %1354, label %1355, label %1377

1355:                                             ; preds = %1348
  %1356 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1357 = call i32 @fileno(ptr noundef %1356) #10
  %1358 = call i32 @isatty(i32 noundef %1357) #10
  %1359 = icmp ne i32 %1358, 0
  br i1 %1359, label %1360, label %1377

1360:                                             ; preds = %1355
  %1361 = load i32, ptr %50, align 4, !tbaa !5
  %1362 = call ptr @__errno_location() #11
  store i32 %1361, ptr %1362, align 4, !tbaa !5
  %1363 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1364 = load i32, ptr @test_count, align 4, !tbaa !5
  %1365 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1366 = load i32, ptr %1365, align 4, !tbaa !5
  %1367 = call ptr @s2n_strerror(i32 noundef %1366, ptr noundef @.str.122)
  %1368 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1369 = load i32, ptr %1368, align 4, !tbaa !5
  %1370 = call ptr @s2n_strerror_debug(i32 noundef %1369, ptr noundef @.str.122)
  %1371 = call ptr @__errno_location() #11
  %1372 = load i32, ptr %1371, align 4, !tbaa !5
  %1373 = call ptr @strerror(i32 noundef %1372) #10
  %1374 = call ptr @__errno_location() #11
  %1375 = load i32, ptr %1374, align 4, !tbaa !5
  %1376 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1363, ptr noundef @.str.120, i32 noundef %1364, ptr noundef @.str.127, ptr noundef @.str.119, i32 noundef 793, ptr noundef %1367, ptr noundef %1370, ptr noundef %1373, i32 noundef %1375) #10
  br label %1394

1377:                                             ; preds = %1355, %1348
  %1378 = load i32, ptr %50, align 4, !tbaa !5
  %1379 = call ptr @__errno_location() #11
  store i32 %1378, ptr %1379, align 4, !tbaa !5
  %1380 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1381 = load i32, ptr @test_count, align 4, !tbaa !5
  %1382 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1383 = load i32, ptr %1382, align 4, !tbaa !5
  %1384 = call ptr @s2n_strerror(i32 noundef %1383, ptr noundef @.str.122)
  %1385 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1386 = load i32, ptr %1385, align 4, !tbaa !5
  %1387 = call ptr @s2n_strerror_debug(i32 noundef %1386, ptr noundef @.str.122)
  %1388 = call ptr @__errno_location() #11
  %1389 = load i32, ptr %1388, align 4, !tbaa !5
  %1390 = call ptr @strerror(i32 noundef %1389) #10
  %1391 = call ptr @__errno_location() #11
  %1392 = load i32, ptr %1391, align 4, !tbaa !5
  %1393 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1380, ptr noundef @.str.123, i32 noundef %1381, ptr noundef @.str.127, ptr noundef @.str.119, i32 noundef 793, ptr noundef %1384, ptr noundef %1387, ptr noundef %1390, i32 noundef %1392) #10
  br label %1394

1394:                                             ; preds = %1377, %1360
  call void @llvm.lifetime.end.p0(i64 4, ptr %50) #10
  br label %1395

1395:                                             ; preds = %1394
  br label %1396

1396:                                             ; preds = %1395
  call void @exit(i32 noundef 1) #12
  unreachable

1397:                                             ; No predecessors!
  br label %1398

1398:                                             ; preds = %1397
  br label %1399

1399:                                             ; preds = %1398, %1343
  br label %1400

1400:                                             ; preds = %1399
  br label %1401

1401:                                             ; preds = %1400
  %1402 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %1403 = trunc i8 %1402 to i1
  br i1 %1403, label %1404, label %1420

1404:                                             ; preds = %1401
  %1405 = load ptr, ptr @stdout, align 8, !tbaa !9
  %1406 = call i32 @fileno(ptr noundef %1405) #10
  %1407 = call i32 @isatty(i32 noundef %1406) #10
  %1408 = icmp ne i32 %1407, 0
  br i1 %1408, label %1409, label %1420

1409:                                             ; preds = %1404
  %1410 = load i32, ptr @test_count, align 4, !tbaa !5
  %1411 = icmp ne i32 %1410, 0
  br i1 %1411, label %1412, label %1416

1412:                                             ; preds = %1409
  %1413 = load ptr, ptr @stdout, align 8, !tbaa !9
  %1414 = load i32, ptr @test_count, align 4, !tbaa !5
  %1415 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1413, ptr noundef @.str.128, i32 noundef %1414) #10
  br label %1419

1416:                                             ; preds = %1409
  %1417 = load ptr, ptr @stdout, align 8, !tbaa !9
  %1418 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1417, ptr noundef @.str.129) #10
  br label %1419

1419:                                             ; preds = %1416, %1412
  br label %1431

1420:                                             ; preds = %1404, %1401
  %1421 = load i32, ptr @test_count, align 4, !tbaa !5
  %1422 = icmp ne i32 %1421, 0
  br i1 %1422, label %1423, label %1427

1423:                                             ; preds = %1420
  %1424 = load ptr, ptr @stdout, align 8, !tbaa !9
  %1425 = load i32, ptr @test_count, align 4, !tbaa !5
  %1426 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1424, ptr noundef @.str.130, i32 noundef %1425) #10
  br label %1430

1427:                                             ; preds = %1420
  %1428 = load ptr, ptr @stdout, align 8, !tbaa !9
  %1429 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1428, ptr noundef @.str.131) #10
  br label %1430

1430:                                             ; preds = %1427, %1423
  br label %1431

1431:                                             ; preds = %1430, %1419
  store i32 0, ptr %1, align 4
  store i32 1, ptr %24, align 4
  br label %1436

1432:                                             ; No predecessors!
  br label %1433

1433:                                             ; preds = %1432
  br label %1434

1434:                                             ; preds = %1433
  br label %1435

1435:                                             ; preds = %1434
  store i32 0, ptr %24, align 4
  br label %1436

1436:                                             ; preds = %1435, %1431, %1279
  call void @llvm.lifetime.end.p0(i64 920, ptr %32) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #10
  call void @llvm.lifetime.end.p0(i64 64, ptr %21) #10
  call void @llvm.lifetime.end.p0(i64 64, ptr %20) #10
  call void @llvm.lifetime.end.p0(i64 40, ptr %19) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr %18) #10
  call void @llvm.lifetime.end.p0(i64 64, ptr %17) #10
  call void @llvm.lifetime.end.p0(i64 40, ptr %16) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #10
  call void @llvm.lifetime.end.p0(i64 64, ptr %14) #10
  call void @llvm.lifetime.end.p0(i64 40, ptr %13) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #10
  call void @llvm.lifetime.end.p0(i64 64, ptr %11) #10
  call void @llvm.lifetime.end.p0(i64 40, ptr %10) #10
  call void @llvm.lifetime.end.p0(i64 64, ptr %9) #10
  call void @llvm.lifetime.end.p0(i64 40, ptr %8) #10
  call void @llvm.lifetime.end.p0(i64 48, ptr %7) #10
  %1437 = load i32, ptr %24, align 4
  switch i32 %1437, label %1440 [
    i32 0, label %1438
    i32 1, label %1438
  ]

1438:                                             ; preds = %1436, %1436, %374
  %1439 = load i32, ptr %1, align 4
  ret i32 %1439

1440:                                             ; preds = %1436, %582
  unreachable
}

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

declare i32 @fflush(ptr noundef) #4

declare i32 @s2n_in_unit_test_set(i1 noundef zeroext) #4

declare i32 @s2n_print_stacktrace(ptr noundef) #4

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

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

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

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

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

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

declare i32 @s2n_enable_atexit() #4

declare i32 @s2n_init() #4

declare zeroext i1 @s2n_is_tls13_fully_supported(...) #4

declare i32 @s2n_cleanup() #4

declare i32 @s2n_is_evp_apis_supported(...) #4

declare zeroext i1 @s2n_libcrypto_supports_mlkem() #4

declare zeroext i1 @s2n_pq_is_enabled() #4

declare zeroext i1 @s2n_ecc_preferences_includes_curve(ptr noundef, i16 noundef zeroext) #4

declare zeroext i1 @s2n_security_policy_supports_tls13(ptr noundef) #4

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

!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, !7, i64 16}
!16 = !{!"s2n_kem_preferences", !7, i64 0, !10, i64 8, !7, i64 16, !10, i64 24, !7, i64 32}
!17 = !{!16, !10, i64 24}
!18 = !{!19, !7, i64 0}
!19 = !{!"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}
!20 = !{!19, !10, i64 8}
!21 = !{!19, !10, i64 16}
!22 = !{!19, !10, i64 24}
!23 = !{!19, !10, i64 32}
!24 = !{!19, !10, i64 40}
!25 = !{!19, !10, i64 48}
!26 = !{!19, !12, i64 56}
!27 = !{!16, !7, i64 32}
!28 = !{!29, !29, i64 0}
!29 = !{!"long", !7, i64 0}
!30 = !{!31, !10, i64 0}
!31 = !{!"pq_handshake_test_vector", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !12, i64 32, !12, i64 33}
!32 = !{!31, !10, i64 8}
!33 = !{!31, !10, i64 16}
!34 = !{!31, !10, i64 24}
!35 = !{!31, !12, i64 32}
!36 = !{!31, !12, i64 33}
!37 = distinct !{!37, !38}
!38 = !{!"llvm.loop.mustprogress"}
!39 = !{!40, !7, i64 0}
!40 = !{!"s2n_ecc_preferences", !7, i64 0, !10, i64 8}
!41 = !{!40, !10, i64 8}
!42 = !{!43, !44, i64 0}
!43 = !{!"s2n_ecc_named_curve", !44, i64 0, !6, i64 4, !10, i64 8, !7, i64 16, !10, i64 24}
!44 = !{!"short", !7, i64 0}
!45 = !{!46, !10, i64 0}
!46 = !{!"s2n_debug_info", !10, i64 0, !10, i64 8}
!47 = !{!46, !10, i64 8}
!48 = !{!49, !44, i64 8}
!49 = !{!"s2n_kem_group", !10, i64 0, !44, i64 8, !10, i64 16, !10, i64 24, !12, i64 32}
!50 = distinct !{!50, !38}


; 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_debug_info = type { ptr, ptr }
%struct.s2n_kem_group = type { ptr, i16, ptr, ptr, i8 }
%struct.s2n_cipher_preferences = type { i16, ptr, i8 }
%struct.s2n_signature_preferences = type { i8, ptr }
%struct.s2n_ecc_preferences = type { i8, ptr }
%struct.s2n_security_policy = type { i8, ptr, ptr, ptr, ptr, ptr, ptr, i8, [2 x i8] }
%struct.s2n_ecc_named_curve = type { i16, i32, ptr, i8, ptr }
%struct.s2n_kem_preferences = type { i8, ptr, i8, ptr, i8 }
%struct.pq_handshake_test_vector = type { ptr, ptr, ptr, ptr, i8, i8 }

@s2n_use_color_in_output = external dso_local local_unnamed_addr global i8, align 1
@_s2n_debug_info = external thread_local local_unnamed_addr global %struct.s2n_debug_info, align 8
@s2n_errno = external thread_local local_unnamed_addr global i32, align 4
@test_count = external dso_local local_unnamed_addr global i32, align 4
@stdout = external local_unnamed_addr global ptr, align 8
@.str.118 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.119 = external hidden unnamed_addr constant [86 x i8], align 1
@stderr = external local_unnamed_addr global ptr, align 8
@.str.120 = external hidden unnamed_addr constant [101 x i8], align 1
@.str.121 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.122 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.123 = external hidden unnamed_addr constant [90 x i8], align 1
@.str.124 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.125 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.126 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.127 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.128 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.129 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.130 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.131 = external hidden unnamed_addr constant [25 x i8], align 1
@s2n_x25519_kyber_512_r3 = external constant %struct.s2n_kem_group, align 8
@s2n_secp256r1_kyber_768_r3 = external constant %struct.s2n_kem_group, align 8
@s2n_secp384r1_kyber_768_r3 = external constant %struct.s2n_kem_group, align 8
@s2n_secp521r1_kyber_1024_r3 = external constant %struct.s2n_kem_group, align 8
@__const.main.kyber_test_groups = external hidden unnamed_addr constant [6 x ptr], align 16
@cipher_preferences_20190801 = external constant %struct.s2n_cipher_preferences, align 8
@s2n_signature_preferences_20200207 = external constant %struct.s2n_signature_preferences, align 8
@s2n_ecc_preferences_20200310 = external constant %struct.s2n_ecc_preferences, align 8
@__const.main.kyber768_test_kem_groups = external hidden unnamed_addr constant [2 x ptr], align 16
@s2n_ecc_preferences_20201021 = external constant %struct.s2n_ecc_preferences, align 8
@__const.main.kyber1024_test_kem_groups = external hidden unnamed_addr constant [2 x ptr], align 16
@s2n_x25519_mlkem_768 = external constant %struct.s2n_kem_group, align 8
@__const.main.mlkem768_test_groups = external hidden unnamed_addr constant [2 x ptr], align 16
@s2n_ecc_preferences_20240603 = external constant %struct.s2n_ecc_preferences, align 8
@security_policy_pq_tls_1_0_2020_12 = external constant %struct.s2n_security_policy, align 8
@security_policy_test_tls13_retry = external constant %struct.s2n_security_policy, align 8
@s2n_ecc_curve_x25519 = external constant %struct.s2n_ecc_named_curve, align 8
@s2n_ecc_curve_secp256r1 = external constant %struct.s2n_ecc_named_curve, align 8
@ALL_SUPPORTED_KEM_GROUPS = external local_unnamed_addr global [8 x ptr], align 16
@.str.132 = external hidden unnamed_addr constant [211 x i8], align 1
@security_policy_pq_tls_1_3_2023_06_01 = external constant %struct.s2n_security_policy, align 8
@security_policy_pq_tls_1_0_2021_05_24 = external constant %struct.s2n_security_policy, align 8
@security_policy_pq_tls_1_1_2021_05_21 = external constant %struct.s2n_security_policy, align 8
@security_policy_pq_tls_1_0_2021_05_22 = external constant %struct.s2n_security_policy, align 8
@security_policy_pq_tls_1_0_2021_05_23 = external constant %struct.s2n_security_policy, align 8
@security_policy_pq_tls_1_0_2021_05_26 = external constant %struct.s2n_security_policy, align 8
@security_policy_pq_tls_1_0_2023_01_24 = external constant %struct.s2n_security_policy, align 8
@security_policy_test_all_tls13 = external constant %struct.s2n_security_policy, align 8
@.str.133 = external hidden unnamed_addr constant [55 x i8], align 1
@.str.134 = external hidden unnamed_addr constant [113 x i8], align 1
@.str.135 = external hidden unnamed_addr constant [113 x i8], align 1
@.str.136 = external hidden unnamed_addr constant [60 x i8], align 1
@.str.137 = external hidden unnamed_addr constant [111 x i8], align 1
@.str.138 = external hidden unnamed_addr constant [111 x i8], align 1
@.str.139 = external hidden unnamed_addr constant [139 x i8], align 1

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

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

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

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

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare ptr @strrchr(ptr noundef, i32 noundef) local_unnamed_addr #3

declare i32 @s2n_calculate_stacktrace() local_unnamed_addr #4

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

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

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

declare zeroext i1 @s2n_kem_group_is_available(ptr noundef) local_unnamed_addr #4

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

; Function Attrs: nounwind uwtable
declare dso_local i32 @s2n_test_tls13_pq_handshake(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i1 noundef zeroext, i1 noundef zeroext) local_unnamed_addr #7

; Function Attrs: nounwind uwtable
define dso_local range(i32 -1, 1) i32 @main() local_unnamed_addr #7 {
  %1 = alloca [6 x ptr], align 16
  %2 = alloca %struct.s2n_kem_preferences, align 8
  %3 = alloca %struct.s2n_security_policy, align 8
  %4 = alloca %struct.s2n_kem_preferences, align 8
  %5 = alloca %struct.s2n_security_policy, align 8
  %6 = alloca [2 x ptr], align 16
  %7 = alloca %struct.s2n_kem_preferences, align 8
  %8 = alloca %struct.s2n_security_policy, align 8
  %9 = alloca [2 x ptr], align 16
  %10 = alloca %struct.s2n_kem_preferences, align 8
  %11 = alloca %struct.s2n_security_policy, align 8
  %12 = alloca [2 x ptr], align 16
  %13 = alloca %struct.s2n_kem_preferences, align 8
  %14 = alloca %struct.s2n_security_policy, align 8
  %15 = alloca %struct.s2n_security_policy, align 8
  %16 = alloca ptr, align 8
  %17 = alloca %struct.s2n_kem_preferences, align 8
  %18 = alloca %struct.s2n_security_policy, align 8
  %19 = alloca [23 x %struct.pq_handshake_test_vector], align 16
  store i32 0, ptr @test_count, align 4, !tbaa !5
  %20 = load ptr, ptr @stdout, align 8, !tbaa !9
  %21 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %20, ptr noundef nonnull @.str.118, ptr noundef nonnull @.str.119) #11
  %22 = load ptr, ptr @stdout, align 8, !tbaa !9
  %23 = tail call i32 @fflush(ptr noundef %22)
  %24 = tail call i32 @s2n_in_unit_test_set(i1 noundef zeroext true) #11
  %25 = icmp eq i32 %24, -1
  br i1 %25, label %26, label %50

26:                                               ; preds = %0
  %27 = tail call ptr @__errno_location() #12
  %28 = load i32, ptr %27, align 4, !tbaa !5
  %29 = load ptr, ptr @stderr, align 8, !tbaa !9
  %30 = tail call i32 @s2n_print_stacktrace(ptr noundef %29) #11
  %31 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %32 = trunc nuw i8 %31 to i1
  br i1 %32, label %33, label %37

33:                                               ; preds = %26
  %34 = load ptr, ptr @stderr, align 8, !tbaa !9
  %35 = tail call i32 @fileno(ptr noundef %34) #11
  %36 = tail call i32 @isatty(i32 noundef %35) #11
  %.not123 = icmp eq i32 %36, 0
  br i1 %.not123, label %37, label %38

37:                                               ; preds = %33, %26
  br label %38

38:                                               ; preds = %33, %37
  %.str.123.sink = phi ptr [ @.str.123, %37 ], [ @.str.120, %33 ]
  store i32 %28, ptr %27, align 4, !tbaa !5
  %39 = load ptr, ptr @stderr, align 8, !tbaa !9
  %40 = load i32, ptr @test_count, align 4, !tbaa !5
  %41 = tail call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %42 = load i32, ptr %41, align 4, !tbaa !5
  %43 = tail call ptr @s2n_strerror(i32 noundef %42, ptr noundef nonnull @.str.122) #11
  %44 = load i32, ptr %41, align 4, !tbaa !5
  %45 = tail call ptr @s2n_strerror_debug(i32 noundef %44, ptr noundef nonnull @.str.122) #11
  %46 = load i32, ptr %27, align 4, !tbaa !5
  %47 = tail call ptr @strerror(i32 noundef %46) #11
  %48 = load i32, ptr %27, align 4, !tbaa !5
  %49 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %39, ptr noundef nonnull %.str.123.sink, i32 noundef %40, ptr noundef nonnull @.str.121, ptr noundef nonnull @.str.119, i32 noundef 332, ptr noundef %43, ptr noundef %45, ptr noundef %47, i32 noundef %48) #13
  tail call void @exit(i32 noundef 1) #14
  unreachable

50:                                               ; preds = %0
  %51 = load i32, ptr @test_count, align 4, !tbaa !5
  %52 = add nsw i32 %51, 1
  store i32 %52, ptr @test_count, align 4, !tbaa !5
  %53 = tail call i32 @s2n_enable_atexit() #11
  %54 = icmp eq i32 %53, -1
  br i1 %54, label %55, label %79

55:                                               ; preds = %50
  %56 = tail call ptr @__errno_location() #12
  %57 = load i32, ptr %56, align 4, !tbaa !5
  %58 = load ptr, ptr @stderr, align 8, !tbaa !9
  %59 = tail call i32 @s2n_print_stacktrace(ptr noundef %58) #11
  %60 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %61 = trunc nuw i8 %60 to i1
  br i1 %61, label %62, label %66

62:                                               ; preds = %55
  %63 = load ptr, ptr @stderr, align 8, !tbaa !9
  %64 = tail call i32 @fileno(ptr noundef %63) #11
  %65 = tail call i32 @isatty(i32 noundef %64) #11
  %.not122 = icmp eq i32 %65, 0
  br i1 %.not122, label %66, label %67

66:                                               ; preds = %62, %55
  br label %67

67:                                               ; preds = %62, %66
  %.str.123.sink149 = phi ptr [ @.str.123, %66 ], [ @.str.120, %62 ]
  store i32 %57, ptr %56, align 4, !tbaa !5
  %68 = load ptr, ptr @stderr, align 8, !tbaa !9
  %69 = load i32, ptr @test_count, align 4, !tbaa !5
  %70 = tail call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %71 = load i32, ptr %70, align 4, !tbaa !5
  %72 = tail call ptr @s2n_strerror(i32 noundef %71, ptr noundef nonnull @.str.122) #11
  %73 = load i32, ptr %70, align 4, !tbaa !5
  %74 = tail call ptr @s2n_strerror_debug(i32 noundef %73, ptr noundef nonnull @.str.122) #11
  %75 = load i32, ptr %56, align 4, !tbaa !5
  %76 = tail call ptr @strerror(i32 noundef %75) #11
  %77 = load i32, ptr %56, align 4, !tbaa !5
  %78 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %68, ptr noundef nonnull %.str.123.sink149, i32 noundef %69, ptr noundef nonnull @.str.124, ptr noundef nonnull @.str.119, i32 noundef 332, ptr noundef %72, ptr noundef %74, ptr noundef %76, i32 noundef %77) #13
  tail call void @exit(i32 noundef 1) #14
  unreachable

79:                                               ; preds = %50
  %80 = tail call i32 @s2n_init() #11
  %81 = icmp eq i32 %80, -1
  br i1 %81, label %82, label %106

82:                                               ; preds = %79
  %83 = tail call ptr @__errno_location() #12
  %84 = load i32, ptr %83, align 4, !tbaa !5
  %85 = load ptr, ptr @stderr, align 8, !tbaa !9
  %86 = tail call i32 @s2n_print_stacktrace(ptr noundef %85) #11
  %87 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %88 = trunc nuw i8 %87 to i1
  br i1 %88, label %89, label %93

89:                                               ; preds = %82
  %90 = load ptr, ptr @stderr, align 8, !tbaa !9
  %91 = tail call i32 @fileno(ptr noundef %90) #11
  %92 = tail call i32 @isatty(i32 noundef %91) #11
  %.not121 = icmp eq i32 %92, 0
  br i1 %.not121, label %93, label %94

93:                                               ; preds = %89, %82
  br label %94

94:                                               ; preds = %89, %93
  %.str.123.sink160 = phi ptr [ @.str.123, %93 ], [ @.str.120, %89 ]
  store i32 %84, ptr %83, align 4, !tbaa !5
  %95 = load ptr, ptr @stderr, align 8, !tbaa !9
  %96 = load i32, ptr @test_count, align 4, !tbaa !5
  %97 = tail call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %98 = load i32, ptr %97, align 4, !tbaa !5
  %99 = tail call ptr @s2n_strerror(i32 noundef %98, ptr noundef nonnull @.str.122) #11
  %100 = load i32, ptr %97, align 4, !tbaa !5
  %101 = tail call ptr @s2n_strerror_debug(i32 noundef %100, ptr noundef nonnull @.str.122) #11
  %102 = load i32, ptr %83, align 4, !tbaa !5
  %103 = tail call ptr @strerror(i32 noundef %102) #11
  %104 = load i32, ptr %83, align 4, !tbaa !5
  %105 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %95, ptr noundef nonnull %.str.123.sink160, i32 noundef %96, ptr noundef nonnull @.str.125, ptr noundef nonnull @.str.119, i32 noundef 332, ptr noundef %99, ptr noundef %101, ptr noundef %103, i32 noundef %104) #13
  tail call void @exit(i32 noundef 1) #14
  unreachable

106:                                              ; preds = %79
  %107 = tail call zeroext i1 (...) @s2n_is_tls13_fully_supported() #11
  br i1 %107, label %183, label %108

108:                                              ; preds = %106
  %109 = tail call i32 @s2n_cleanup() #11
  %110 = icmp eq i32 %109, -1
  br i1 %110, label %111, label %135

111:                                              ; preds = %108
  %112 = tail call ptr @__errno_location() #12
  %113 = load i32, ptr %112, align 4, !tbaa !5
  %114 = load ptr, ptr @stderr, align 8, !tbaa !9
  %115 = tail call i32 @s2n_print_stacktrace(ptr noundef %114) #11
  %116 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %117 = trunc nuw i8 %116 to i1
  br i1 %117, label %118, label %122

118:                                              ; preds = %111
  %119 = load ptr, ptr @stderr, align 8, !tbaa !9
  %120 = tail call i32 @fileno(ptr noundef %119) #11
  %121 = tail call i32 @isatty(i32 noundef %120) #11
  %.not103 = icmp eq i32 %121, 0
  br i1 %.not103, label %122, label %123

122:                                              ; preds = %118, %111
  br label %123

123:                                              ; preds = %118, %122
  %.str.123.sink171 = phi ptr [ @.str.123, %122 ], [ @.str.120, %118 ]
  store i32 %113, ptr %112, align 4, !tbaa !5
  %124 = load ptr, ptr @stderr, align 8, !tbaa !9
  %125 = load i32, ptr @test_count, align 4, !tbaa !5
  %126 = tail call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %127 = load i32, ptr %126, align 4, !tbaa !5
  %128 = tail call ptr @s2n_strerror(i32 noundef %127, ptr noundef nonnull @.str.122) #11
  %129 = load i32, ptr %126, align 4, !tbaa !5
  %130 = tail call ptr @s2n_strerror_debug(i32 noundef %129, ptr noundef nonnull @.str.122) #11
  %131 = load i32, ptr %112, align 4, !tbaa !5
  %132 = tail call ptr @strerror(i32 noundef %131) #11
  %133 = load i32, ptr %112, align 4, !tbaa !5
  %134 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %124, ptr noundef nonnull %.str.123.sink171, i32 noundef %125, ptr noundef nonnull @.str.126, ptr noundef nonnull @.str.119, i32 noundef 335, ptr noundef %128, ptr noundef %130, ptr noundef %132, i32 noundef %133) #13
  tail call void @exit(i32 noundef 1) #14
  unreachable

135:                                              ; preds = %108
  %136 = tail call i32 @s2n_in_unit_test_set(i1 noundef zeroext false) #11
  %137 = icmp eq i32 %136, -1
  br i1 %137, label %138, label %162

138:                                              ; preds = %135
  %139 = tail call ptr @__errno_location() #12
  %140 = load i32, ptr %139, align 4, !tbaa !5
  %141 = load ptr, ptr @stderr, align 8, !tbaa !9
  %142 = tail call i32 @s2n_print_stacktrace(ptr noundef %141) #11
  %143 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %144 = trunc nuw i8 %143 to i1
  br i1 %144, label %145, label %149

145:                                              ; preds = %138
  %146 = load ptr, ptr @stderr, align 8, !tbaa !9
  %147 = tail call i32 @fileno(ptr noundef %146) #11
  %148 = tail call i32 @isatty(i32 noundef %147) #11
  %.not102 = icmp eq i32 %148, 0
  br i1 %.not102, label %149, label %150

149:                                              ; preds = %145, %138
  br label %150

150:                                              ; preds = %145, %149
  %.str.123.sink182 = phi ptr [ @.str.123, %149 ], [ @.str.120, %145 ]
  store i32 %140, ptr %139, align 4, !tbaa !5
  %151 = load ptr, ptr @stderr, align 8, !tbaa !9
  %152 = load i32, ptr @test_count, align 4, !tbaa !5
  %153 = tail call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %154 = load i32, ptr %153, align 4, !tbaa !5
  %155 = tail call ptr @s2n_strerror(i32 noundef %154, ptr noundef nonnull @.str.122) #11
  %156 = load i32, ptr %153, align 4, !tbaa !5
  %157 = tail call ptr @s2n_strerror_debug(i32 noundef %156, ptr noundef nonnull @.str.122) #11
  %158 = load i32, ptr %139, align 4, !tbaa !5
  %159 = tail call ptr @strerror(i32 noundef %158) #11
  %160 = load i32, ptr %139, align 4, !tbaa !5
  %161 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %151, ptr noundef nonnull %.str.123.sink182, i32 noundef %152, ptr noundef nonnull @.str.127, ptr noundef nonnull @.str.119, i32 noundef 335, ptr noundef %155, ptr noundef %157, ptr noundef %159, i32 noundef %160) #13
  tail call void @exit(i32 noundef 1) #14
  unreachable

162:                                              ; preds = %135
  %163 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %164 = trunc nuw i8 %163 to i1
  br i1 %164, label %165, label %176

165:                                              ; preds = %162
  %166 = load ptr, ptr @stdout, align 8, !tbaa !9
  %167 = tail call i32 @fileno(ptr noundef %166) #11
  %168 = tail call i32 @isatty(i32 noundef %167) #11
  %.not = icmp eq i32 %168, 0
  br i1 %.not, label %176, label %169

169:                                              ; preds = %165
  %170 = load i32, ptr @test_count, align 4, !tbaa !5
  %.not101 = icmp eq i32 %170, 0
  %171 = load ptr, ptr @stdout, align 8, !tbaa !9
  br i1 %.not101, label %174, label %172

172:                                              ; preds = %169
  %173 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %171, ptr noundef nonnull @.str.128, i32 noundef %170) #11
  br label %817

174:                                              ; preds = %169
  %175 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %171, ptr noundef nonnull @.str.129) #11
  br label %817

176:                                              ; preds = %165, %162
  %177 = load i32, ptr @test_count, align 4, !tbaa !5
  %.not100 = icmp eq i32 %177, 0
  %178 = load ptr, ptr @stdout, align 8, !tbaa !9
  br i1 %.not100, label %181, label %179

179:                                              ; preds = %176
  %180 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %178, ptr noundef nonnull @.str.130, i32 noundef %177) #11
  br label %817

181:                                              ; preds = %176
  %182 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %178, ptr noundef nonnull @.str.131) #11
  br label %817

183:                                              ; preds = %106
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %1) #11
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(48) %1, ptr noundef nonnull align 16 dereferenceable(48) @__const.main.kyber_test_groups, i64 48, i1 false)
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %2) #11
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(40) %2, i8 0, i64 40, i1 false)
  %184 = getelementptr inbounds i8, ptr %2, i64 16
  store i8 6, ptr %184, align 8, !tbaa !15
  %185 = getelementptr inbounds i8, ptr %2, i64 24
  store ptr %1, ptr %185, align 8, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %3) #11
  store i8 31, ptr %3, align 8, !tbaa !18
  %186 = getelementptr inbounds i8, ptr %3, i64 8
  store ptr @cipher_preferences_20190801, ptr %186, align 8, !tbaa !20
  %187 = getelementptr inbounds i8, ptr %3, i64 16
  store ptr %2, ptr %187, align 8, !tbaa !21
  %188 = getelementptr inbounds i8, ptr %3, i64 24
  store ptr @s2n_signature_preferences_20200207, ptr %188, align 8, !tbaa !22
  %189 = getelementptr inbounds i8, ptr %3, i64 32
  store ptr null, ptr %189, align 8, !tbaa !23
  %190 = getelementptr inbounds i8, ptr %3, i64 40
  store ptr @s2n_ecc_preferences_20200310, ptr %190, align 8, !tbaa !24
  %191 = getelementptr inbounds i8, ptr %3, i64 48
  store ptr null, ptr %191, align 8, !tbaa !25
  %192 = getelementptr inbounds i8, ptr %3, i64 56
  store i8 0, ptr %192, align 8, !tbaa !26
  %193 = getelementptr inbounds i8, ptr %3, i64 57
  store i16 0, ptr %193, align 1
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %4) #11
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(40) %4, i8 0, i64 40, i1 false)
  %194 = getelementptr inbounds i8, ptr %4, i64 16
  store i8 6, ptr %194, align 8, !tbaa !15
  %195 = getelementptr inbounds i8, ptr %4, i64 24
  store ptr %1, ptr %195, align 8, !tbaa !17
  %196 = getelementptr inbounds i8, ptr %4, i64 32
  store i8 5, ptr %196, align 8, !tbaa !27
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %5) #11
  store i8 31, ptr %5, align 8, !tbaa !18
  %197 = getelementptr inbounds i8, ptr %5, i64 8
  store ptr @cipher_preferences_20190801, ptr %197, align 8, !tbaa !20
  %198 = getelementptr inbounds i8, ptr %5, i64 16
  store ptr %4, ptr %198, align 8, !tbaa !21
  %199 = getelementptr inbounds i8, ptr %5, i64 24
  store ptr @s2n_signature_preferences_20200207, ptr %199, align 8, !tbaa !22
  %200 = getelementptr inbounds i8, ptr %5, i64 32
  store ptr null, ptr %200, align 8, !tbaa !23
  %201 = getelementptr inbounds i8, ptr %5, i64 40
  store ptr @s2n_ecc_preferences_20200310, ptr %201, align 8, !tbaa !24
  %202 = getelementptr inbounds i8, ptr %5, i64 48
  store ptr null, ptr %202, align 8, !tbaa !25
  %203 = getelementptr inbounds i8, ptr %5, i64 56
  store i8 0, ptr %203, align 8, !tbaa !26
  %204 = getelementptr inbounds i8, ptr %5, i64 57
  store i16 0, ptr %204, align 1
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #11
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %6, ptr noundef nonnull align 16 dereferenceable(16) @__const.main.kyber768_test_kem_groups, i64 16, i1 false)
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %7) #11
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(40) %7, i8 0, i64 40, i1 false)
  %205 = getelementptr inbounds i8, ptr %7, i64 16
  store i8 2, ptr %205, align 8, !tbaa !15
  %206 = getelementptr inbounds i8, ptr %7, i64 24
  store ptr %6, ptr %206, align 8, !tbaa !17
  %207 = getelementptr inbounds i8, ptr %7, i64 32
  store i8 5, ptr %207, align 8, !tbaa !27
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %8) #11
  store i8 34, ptr %8, align 8, !tbaa !18
  %208 = getelementptr inbounds i8, ptr %8, i64 8
  store ptr @cipher_preferences_20190801, ptr %208, align 8, !tbaa !20
  %209 = getelementptr inbounds i8, ptr %8, i64 16
  store ptr %7, ptr %209, align 8, !tbaa !21
  %210 = getelementptr inbounds i8, ptr %8, i64 24
  store ptr @s2n_signature_preferences_20200207, ptr %210, align 8, !tbaa !22
  %211 = getelementptr inbounds i8, ptr %8, i64 32
  store ptr null, ptr %211, align 8, !tbaa !23
  %212 = getelementptr inbounds i8, ptr %8, i64 40
  store ptr @s2n_ecc_preferences_20201021, ptr %212, align 8, !tbaa !24
  %213 = getelementptr inbounds i8, ptr %8, i64 48
  store ptr null, ptr %213, align 8, !tbaa !25
  %214 = getelementptr inbounds i8, ptr %8, i64 56
  store i8 0, ptr %214, align 8, !tbaa !26
  %215 = getelementptr inbounds i8, ptr %8, i64 57
  store i16 0, ptr %215, align 1
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %9) #11
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %9, ptr noundef nonnull align 16 dereferenceable(16) @__const.main.kyber1024_test_kem_groups, i64 16, i1 false)
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %10) #11
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(40) %10, i8 0, i64 40, i1 false)
  %216 = getelementptr inbounds i8, ptr %10, i64 16
  store i8 2, ptr %216, align 8, !tbaa !15
  %217 = getelementptr inbounds i8, ptr %10, i64 24
  store ptr %9, ptr %217, align 8, !tbaa !17
  %218 = getelementptr inbounds i8, ptr %10, i64 32
  store i8 5, ptr %218, align 8, !tbaa !27
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %11) #11
  store i8 34, ptr %11, align 8, !tbaa !18
  %219 = getelementptr inbounds i8, ptr %11, i64 8
  store ptr @cipher_preferences_20190801, ptr %219, align 8, !tbaa !20
  %220 = getelementptr inbounds i8, ptr %11, i64 16
  store ptr %10, ptr %220, align 8, !tbaa !21
  %221 = getelementptr inbounds i8, ptr %11, i64 24
  store ptr @s2n_signature_preferences_20200207, ptr %221, align 8, !tbaa !22
  %222 = getelementptr inbounds i8, ptr %11, i64 32
  store ptr null, ptr %222, align 8, !tbaa !23
  %223 = getelementptr inbounds i8, ptr %11, i64 40
  store ptr @s2n_ecc_preferences_20201021, ptr %223, align 8, !tbaa !24
  %224 = getelementptr inbounds i8, ptr %11, i64 48
  store ptr null, ptr %224, align 8, !tbaa !25
  %225 = getelementptr inbounds i8, ptr %11, i64 56
  store i8 0, ptr %225, align 8, !tbaa !26
  %226 = getelementptr inbounds i8, ptr %11, i64 57
  store i16 0, ptr %226, align 1
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %12) #11
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %12, ptr noundef nonnull align 16 dereferenceable(16) @__const.main.mlkem768_test_groups, i64 16, i1 false)
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %13) #11
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(40) %13, i8 0, i64 40, i1 false)
  %227 = getelementptr inbounds i8, ptr %13, i64 16
  store i8 2, ptr %227, align 8, !tbaa !15
  %228 = getelementptr inbounds i8, ptr %13, i64 24
  store ptr %12, ptr %228, align 8, !tbaa !17
  %229 = getelementptr inbounds i8, ptr %13, i64 32
  store i8 5, ptr %229, align 8, !tbaa !27
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %14) #11
  store i8 34, ptr %14, align 8, !tbaa !18
  %230 = getelementptr inbounds i8, ptr %14, i64 8
  store ptr @cipher_preferences_20190801, ptr %230, align 8, !tbaa !20
  %231 = getelementptr inbounds i8, ptr %14, i64 16
  store ptr %13, ptr %231, align 8, !tbaa !21
  %232 = getelementptr inbounds i8, ptr %14, i64 24
  store ptr @s2n_signature_preferences_20200207, ptr %232, align 8, !tbaa !22
  %233 = getelementptr inbounds i8, ptr %14, i64 32
  store ptr null, ptr %233, align 8, !tbaa !23
  %234 = getelementptr inbounds i8, ptr %14, i64 40
  store ptr @s2n_ecc_preferences_20240603, ptr %234, align 8, !tbaa !24
  %235 = getelementptr inbounds i8, ptr %14, i64 48
  store ptr null, ptr %235, align 8, !tbaa !25
  %236 = getelementptr inbounds i8, ptr %14, i64 56
  store i8 0, ptr %236, align 8, !tbaa !26
  %237 = getelementptr inbounds i8, ptr %14, i64 57
  store i16 0, ptr %237, align 1
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %15) #11
  %238 = load i8, ptr @security_policy_pq_tls_1_0_2020_12, align 8, !tbaa !18
  store i8 %238, ptr %15, align 8, !tbaa !18
  %239 = getelementptr inbounds i8, ptr %15, i64 8
  %240 = load <2 x ptr>, ptr getelementptr inbounds (i8, ptr @security_policy_pq_tls_1_0_2020_12, i64 8), align 8, !tbaa !9
  store <2 x ptr> %240, ptr %239, align 8, !tbaa !9
  %241 = getelementptr inbounds i8, ptr %15, i64 24
  %242 = load ptr, ptr getelementptr inbounds (i8, ptr @security_policy_pq_tls_1_0_2020_12, i64 24), align 8, !tbaa !22
  store ptr %242, ptr %241, align 8, !tbaa !22
  %243 = getelementptr inbounds i8, ptr %15, i64 32
  store ptr null, ptr %243, align 8, !tbaa !23
  %244 = getelementptr inbounds i8, ptr %15, i64 40
  %245 = load ptr, ptr getelementptr inbounds (i8, ptr @security_policy_test_tls13_retry, i64 40), align 8, !tbaa !24
  store ptr %245, ptr %244, align 8, !tbaa !24
  %246 = getelementptr inbounds i8, ptr %15, i64 48
  store ptr null, ptr %246, align 8, !tbaa !25
  %247 = getelementptr inbounds i8, ptr %15, i64 56
  store i8 0, ptr %247, align 8, !tbaa !26
  %248 = getelementptr inbounds i8, ptr %15, i64 57
  store i16 0, ptr %248, align 1
  %249 = call i32 (...) @s2n_is_evp_apis_supported() #11
  %.not104 = icmp eq i32 %249, 0
  %spec.select = select i1 %.not104, ptr @s2n_ecc_curve_secp256r1, ptr @s2n_ecc_curve_x25519
  %250 = getelementptr inbounds i8, ptr %17, i64 16
  %251 = getelementptr inbounds i8, ptr %17, i64 24
  %252 = getelementptr inbounds i8, ptr %17, i64 32
  %253 = getelementptr inbounds i8, ptr %18, i64 8
  %254 = getelementptr inbounds i8, ptr %18, i64 16
  %255 = getelementptr inbounds i8, ptr %18, i64 24
  %256 = getelementptr inbounds i8, ptr %18, i64 32
  %257 = getelementptr inbounds i8, ptr %18, i64 40
  %258 = getelementptr inbounds i8, ptr %18, i64 48
  %259 = getelementptr inbounds i8, ptr %18, i64 56
  %260 = getelementptr inbounds i8, ptr %18, i64 57
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #11
  %261 = load ptr, ptr @ALL_SUPPORTED_KEM_GROUPS, align 16, !tbaa !9
  store ptr %261, ptr %16, align 8, !tbaa !9
  %262 = icmp eq ptr %261, null
  br i1 %262, label %296, label %263

263:                                              ; preds = %183
  %264 = call zeroext i1 @s2n_kem_group_is_available(ptr noundef nonnull %261) #11
  br i1 %264, label %265, label %296

265:                                              ; preds = %263
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %17) #11
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(40) %17, i8 0, i64 40, i1 false)
  store i8 1, ptr %250, align 8, !tbaa !15
  store ptr %16, ptr %251, align 8, !tbaa !17
  store i8 5, ptr %252, align 8, !tbaa !27
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %18) #11
  store i8 34, ptr %18, align 8, !tbaa !18
  store ptr @cipher_preferences_20190801, ptr %253, align 8, !tbaa !20
  store ptr %17, ptr %254, align 8, !tbaa !21
  store ptr @s2n_signature_preferences_20200207, ptr %255, align 8, !tbaa !22
  store ptr null, ptr %256, align 8, !tbaa !23
  store ptr @s2n_ecc_preferences_20240603, ptr %257, align 8, !tbaa !24
  store ptr null, ptr %258, align 8, !tbaa !25
  store i8 0, ptr %259, align 8, !tbaa !26
  store i16 0, ptr %260, align 1
  %266 = load ptr, ptr %16, align 8, !tbaa !9
  %267 = load i32, ptr @test_count, align 4, !tbaa !5
  %268 = add nsw i32 %267, 1
  store i32 %268, ptr @test_count, align 4, !tbaa !5
  %269 = call i32 @s2n_test_tls13_pq_handshake(ptr noundef nonnull %18, ptr noundef nonnull %18, ptr noundef %266, ptr noundef null, i1 noundef zeroext false, i1 noundef zeroext false)
  %270 = icmp eq i32 %269, -1
  br i1 %270, label %271, label %295

271:                                              ; preds = %373, %361, %349, %337, %325, %313, %301, %265
  %272 = tail call ptr @__errno_location() #12
  %273 = load i32, ptr %272, align 4, !tbaa !5
  %274 = load ptr, ptr @stderr, align 8, !tbaa !9
  %275 = call i32 @s2n_print_stacktrace(ptr noundef %274) #11
  %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 = call i32 @fileno(ptr noundef %279) #11
  %281 = call i32 @isatty(i32 noundef %280) #11
  %.not120 = icmp eq i32 %281, 0
  br i1 %.not120, label %282, label %283

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

283:                                              ; preds = %278, %282
  %.str.123.sink193 = phi ptr [ @.str.123, %282 ], [ @.str.120, %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 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %287 = load i32, ptr %286, align 4, !tbaa !5
  %288 = call ptr @s2n_strerror(i32 noundef %287, ptr noundef nonnull @.str.122) #11
  %289 = load i32, ptr %286, align 4, !tbaa !5
  %290 = call ptr @s2n_strerror_debug(i32 noundef %289, ptr noundef nonnull @.str.122) #11
  %291 = load i32, ptr %272, align 4, !tbaa !5
  %292 = call ptr @strerror(i32 noundef %291) #11
  %293 = load i32, ptr %272, align 4, !tbaa !5
  %294 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %284, ptr noundef nonnull %.str.123.sink193, i32 noundef %285, ptr noundef nonnull @.str.132, ptr noundef nonnull @.str.119, i32 noundef 506, ptr noundef %288, ptr noundef %290, ptr noundef %292, i32 noundef %293) #13
  call void @exit(i32 noundef 1) #14
  unreachable

295:                                              ; preds = %265
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %18) #11
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %17) #11
  br label %296

296:                                              ; preds = %183, %263, %295
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #11
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #11
  %297 = load ptr, ptr getelementptr inbounds (i8, ptr @ALL_SUPPORTED_KEM_GROUPS, i64 8), align 8, !tbaa !9
  store ptr %297, ptr %16, align 8, !tbaa !9
  %298 = icmp eq ptr %297, null
  br i1 %298, label %308, label %299

299:                                              ; preds = %296
  %300 = call zeroext i1 @s2n_kem_group_is_available(ptr noundef nonnull %297) #11
  br i1 %300, label %301, label %308

301:                                              ; preds = %299
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %17) #11
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(40) %17, i8 0, i64 40, i1 false)
  store i8 1, ptr %250, align 8, !tbaa !15
  store ptr %16, ptr %251, align 8, !tbaa !17
  store i8 5, ptr %252, align 8, !tbaa !27
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %18) #11
  store i8 34, ptr %18, align 8, !tbaa !18
  store ptr @cipher_preferences_20190801, ptr %253, align 8, !tbaa !20
  store ptr %17, ptr %254, align 8, !tbaa !21
  store ptr @s2n_signature_preferences_20200207, ptr %255, align 8, !tbaa !22
  store ptr null, ptr %256, align 8, !tbaa !23
  store ptr @s2n_ecc_preferences_20240603, ptr %257, align 8, !tbaa !24
  store ptr null, ptr %258, align 8, !tbaa !25
  store i8 0, ptr %259, align 8, !tbaa !26
  store i16 0, ptr %260, align 1
  %302 = load ptr, ptr %16, align 8, !tbaa !9
  %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 = call i32 @s2n_test_tls13_pq_handshake(ptr noundef nonnull %18, ptr noundef nonnull %18, ptr noundef %302, ptr noundef null, i1 noundef zeroext false, i1 noundef zeroext false)
  %306 = icmp eq i32 %305, -1
  br i1 %306, label %271, label %307

307:                                              ; preds = %301
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %18) #11
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %17) #11
  br label %308

308:                                              ; preds = %307, %299, %296
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #11
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #11
  %309 = load ptr, ptr getelementptr inbounds (i8, ptr @ALL_SUPPORTED_KEM_GROUPS, i64 16), align 16, !tbaa !9
  store ptr %309, ptr %16, align 8, !tbaa !9
  %310 = icmp eq ptr %309, null
  br i1 %310, label %320, label %311

311:                                              ; preds = %308
  %312 = call zeroext i1 @s2n_kem_group_is_available(ptr noundef nonnull %309) #11
  br i1 %312, label %313, label %320

313:                                              ; preds = %311
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %17) #11
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(40) %17, i8 0, i64 40, i1 false)
  store i8 1, ptr %250, align 8, !tbaa !15
  store ptr %16, ptr %251, align 8, !tbaa !17
  store i8 5, ptr %252, align 8, !tbaa !27
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %18) #11
  store i8 34, ptr %18, align 8, !tbaa !18
  store ptr @cipher_preferences_20190801, ptr %253, align 8, !tbaa !20
  store ptr %17, ptr %254, align 8, !tbaa !21
  store ptr @s2n_signature_preferences_20200207, ptr %255, align 8, !tbaa !22
  store ptr null, ptr %256, align 8, !tbaa !23
  store ptr @s2n_ecc_preferences_20240603, ptr %257, align 8, !tbaa !24
  store ptr null, ptr %258, align 8, !tbaa !25
  store i8 0, ptr %259, align 8, !tbaa !26
  store i16 0, ptr %260, align 1
  %314 = load ptr, ptr %16, align 8, !tbaa !9
  %315 = load i32, ptr @test_count, align 4, !tbaa !5
  %316 = add nsw i32 %315, 1
  store i32 %316, ptr @test_count, align 4, !tbaa !5
  %317 = call i32 @s2n_test_tls13_pq_handshake(ptr noundef nonnull %18, ptr noundef nonnull %18, ptr noundef %314, ptr noundef null, i1 noundef zeroext false, i1 noundef zeroext false)
  %318 = icmp eq i32 %317, -1
  br i1 %318, label %271, label %319

319:                                              ; preds = %313
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %18) #11
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %17) #11
  br label %320

320:                                              ; preds = %319, %311, %308
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #11
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #11
  %321 = load ptr, ptr getelementptr inbounds (i8, ptr @ALL_SUPPORTED_KEM_GROUPS, i64 24), align 8, !tbaa !9
  store ptr %321, ptr %16, align 8, !tbaa !9
  %322 = icmp eq ptr %321, null
  br i1 %322, label %332, label %323

323:                                              ; preds = %320
  %324 = call zeroext i1 @s2n_kem_group_is_available(ptr noundef nonnull %321) #11
  br i1 %324, label %325, label %332

325:                                              ; preds = %323
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %17) #11
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(40) %17, i8 0, i64 40, i1 false)
  store i8 1, ptr %250, align 8, !tbaa !15
  store ptr %16, ptr %251, align 8, !tbaa !17
  store i8 5, ptr %252, align 8, !tbaa !27
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %18) #11
  store i8 34, ptr %18, align 8, !tbaa !18
  store ptr @cipher_preferences_20190801, ptr %253, align 8, !tbaa !20
  store ptr %17, ptr %254, align 8, !tbaa !21
  store ptr @s2n_signature_preferences_20200207, ptr %255, align 8, !tbaa !22
  store ptr null, ptr %256, align 8, !tbaa !23
  store ptr @s2n_ecc_preferences_20240603, ptr %257, align 8, !tbaa !24
  store ptr null, ptr %258, align 8, !tbaa !25
  store i8 0, ptr %259, align 8, !tbaa !26
  store i16 0, ptr %260, align 1
  %326 = load ptr, ptr %16, align 8, !tbaa !9
  %327 = load i32, ptr @test_count, align 4, !tbaa !5
  %328 = add nsw i32 %327, 1
  store i32 %328, ptr @test_count, align 4, !tbaa !5
  %329 = call i32 @s2n_test_tls13_pq_handshake(ptr noundef nonnull %18, ptr noundef nonnull %18, ptr noundef %326, ptr noundef null, i1 noundef zeroext false, i1 noundef zeroext false)
  %330 = icmp eq i32 %329, -1
  br i1 %330, label %271, label %331

331:                                              ; preds = %325
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %18) #11
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %17) #11
  br label %332

332:                                              ; preds = %331, %323, %320
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #11
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #11
  %333 = load ptr, ptr getelementptr inbounds (i8, ptr @ALL_SUPPORTED_KEM_GROUPS, i64 32), align 16, !tbaa !9
  store ptr %333, ptr %16, align 8, !tbaa !9
  %334 = icmp eq ptr %333, null
  br i1 %334, label %344, label %335

335:                                              ; preds = %332
  %336 = call zeroext i1 @s2n_kem_group_is_available(ptr noundef nonnull %333) #11
  br i1 %336, label %337, label %344

337:                                              ; preds = %335
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %17) #11
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(40) %17, i8 0, i64 40, i1 false)
  store i8 1, ptr %250, align 8, !tbaa !15
  store ptr %16, ptr %251, align 8, !tbaa !17
  store i8 5, ptr %252, align 8, !tbaa !27
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %18) #11
  store i8 34, ptr %18, align 8, !tbaa !18
  store ptr @cipher_preferences_20190801, ptr %253, align 8, !tbaa !20
  store ptr %17, ptr %254, align 8, !tbaa !21
  store ptr @s2n_signature_preferences_20200207, ptr %255, align 8, !tbaa !22
  store ptr null, ptr %256, align 8, !tbaa !23
  store ptr @s2n_ecc_preferences_20240603, ptr %257, align 8, !tbaa !24
  store ptr null, ptr %258, align 8, !tbaa !25
  store i8 0, ptr %259, align 8, !tbaa !26
  store i16 0, ptr %260, align 1
  %338 = load ptr, ptr %16, align 8, !tbaa !9
  %339 = load i32, ptr @test_count, align 4, !tbaa !5
  %340 = add nsw i32 %339, 1
  store i32 %340, ptr @test_count, align 4, !tbaa !5
  %341 = call i32 @s2n_test_tls13_pq_handshake(ptr noundef nonnull %18, ptr noundef nonnull %18, ptr noundef %338, ptr noundef null, i1 noundef zeroext false, i1 noundef zeroext false)
  %342 = icmp eq i32 %341, -1
  br i1 %342, label %271, label %343

343:                                              ; preds = %337
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %18) #11
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %17) #11
  br label %344

344:                                              ; preds = %343, %335, %332
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #11
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #11
  %345 = load ptr, ptr getelementptr inbounds (i8, ptr @ALL_SUPPORTED_KEM_GROUPS, i64 40), align 8, !tbaa !9
  store ptr %345, ptr %16, align 8, !tbaa !9
  %346 = icmp eq ptr %345, null
  br i1 %346, label %356, label %347

347:                                              ; preds = %344
  %348 = call zeroext i1 @s2n_kem_group_is_available(ptr noundef nonnull %345) #11
  br i1 %348, label %349, label %356

349:                                              ; preds = %347
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %17) #11
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(40) %17, i8 0, i64 40, i1 false)
  store i8 1, ptr %250, align 8, !tbaa !15
  store ptr %16, ptr %251, align 8, !tbaa !17
  store i8 5, ptr %252, align 8, !tbaa !27
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %18) #11
  store i8 34, ptr %18, align 8, !tbaa !18
  store ptr @cipher_preferences_20190801, ptr %253, align 8, !tbaa !20
  store ptr %17, ptr %254, align 8, !tbaa !21
  store ptr @s2n_signature_preferences_20200207, ptr %255, align 8, !tbaa !22
  store ptr null, ptr %256, align 8, !tbaa !23
  store ptr @s2n_ecc_preferences_20240603, ptr %257, align 8, !tbaa !24
  store ptr null, ptr %258, align 8, !tbaa !25
  store i8 0, ptr %259, align 8, !tbaa !26
  store i16 0, ptr %260, align 1
  %350 = load ptr, ptr %16, align 8, !tbaa !9
  %351 = load i32, ptr @test_count, align 4, !tbaa !5
  %352 = add nsw i32 %351, 1
  store i32 %352, ptr @test_count, align 4, !tbaa !5
  %353 = call i32 @s2n_test_tls13_pq_handshake(ptr noundef nonnull %18, ptr noundef nonnull %18, ptr noundef %350, ptr noundef null, i1 noundef zeroext false, i1 noundef zeroext false)
  %354 = icmp eq i32 %353, -1
  br i1 %354, label %271, label %355

355:                                              ; preds = %349
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %18) #11
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %17) #11
  br label %356

356:                                              ; preds = %355, %347, %344
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #11
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #11
  %357 = load ptr, ptr getelementptr inbounds (i8, ptr @ALL_SUPPORTED_KEM_GROUPS, i64 48), align 16, !tbaa !9
  store ptr %357, ptr %16, align 8, !tbaa !9
  %358 = icmp eq ptr %357, null
  br i1 %358, label %368, label %359

359:                                              ; preds = %356
  %360 = call zeroext i1 @s2n_kem_group_is_available(ptr noundef nonnull %357) #11
  br i1 %360, label %361, label %368

361:                                              ; preds = %359
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %17) #11
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(40) %17, i8 0, i64 40, i1 false)
  store i8 1, ptr %250, align 8, !tbaa !15
  store ptr %16, ptr %251, align 8, !tbaa !17
  store i8 5, ptr %252, align 8, !tbaa !27
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %18) #11
  store i8 34, ptr %18, align 8, !tbaa !18
  store ptr @cipher_preferences_20190801, ptr %253, align 8, !tbaa !20
  store ptr %17, ptr %254, align 8, !tbaa !21
  store ptr @s2n_signature_preferences_20200207, ptr %255, align 8, !tbaa !22
  store ptr null, ptr %256, align 8, !tbaa !23
  store ptr @s2n_ecc_preferences_20240603, ptr %257, align 8, !tbaa !24
  store ptr null, ptr %258, align 8, !tbaa !25
  store i8 0, ptr %259, align 8, !tbaa !26
  store i16 0, ptr %260, align 1
  %362 = load ptr, ptr %16, align 8, !tbaa !9
  %363 = load i32, ptr @test_count, align 4, !tbaa !5
  %364 = add nsw i32 %363, 1
  store i32 %364, ptr @test_count, align 4, !tbaa !5
  %365 = call i32 @s2n_test_tls13_pq_handshake(ptr noundef nonnull %18, ptr noundef nonnull %18, ptr noundef %362, ptr noundef null, i1 noundef zeroext false, i1 noundef zeroext false)
  %366 = icmp eq i32 %365, -1
  br i1 %366, label %271, label %367

367:                                              ; preds = %361
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %18) #11
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %17) #11
  br label %368

368:                                              ; preds = %367, %359, %356
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #11
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #11
  %369 = load ptr, ptr getelementptr inbounds (i8, ptr @ALL_SUPPORTED_KEM_GROUPS, i64 56), align 8, !tbaa !9
  store ptr %369, ptr %16, align 8, !tbaa !9
  %370 = icmp eq ptr %369, null
  br i1 %370, label %380, label %371

371:                                              ; preds = %368
  %372 = call zeroext i1 @s2n_kem_group_is_available(ptr noundef nonnull %369) #11
  br i1 %372, label %373, label %380

373:                                              ; preds = %371
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %17) #11
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(40) %17, i8 0, i64 40, i1 false)
  store i8 1, ptr %250, align 8, !tbaa !15
  store ptr %16, ptr %251, align 8, !tbaa !17
  store i8 5, ptr %252, align 8, !tbaa !27
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %18) #11
  store i8 34, ptr %18, align 8, !tbaa !18
  store ptr @cipher_preferences_20190801, ptr %253, align 8, !tbaa !20
  store ptr %17, ptr %254, align 8, !tbaa !21
  store ptr @s2n_signature_preferences_20200207, ptr %255, align 8, !tbaa !22
  store ptr null, ptr %256, align 8, !tbaa !23
  store ptr @s2n_ecc_preferences_20240603, ptr %257, align 8, !tbaa !24
  store ptr null, ptr %258, align 8, !tbaa !25
  store i8 0, ptr %259, align 8, !tbaa !26
  store i16 0, ptr %260, align 1
  %374 = load ptr, ptr %16, align 8, !tbaa !9
  %375 = load i32, ptr @test_count, align 4, !tbaa !5
  %376 = add nsw i32 %375, 1
  store i32 %376, ptr @test_count, align 4, !tbaa !5
  %377 = call i32 @s2n_test_tls13_pq_handshake(ptr noundef nonnull %18, ptr noundef nonnull %18, ptr noundef %374, ptr noundef null, i1 noundef zeroext false, i1 noundef zeroext false)
  %378 = icmp eq i32 %377, -1
  br i1 %378, label %271, label %379

379:                                              ; preds = %373
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %18) #11
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %17) #11
  br label %380

380:                                              ; preds = %379, %371, %368
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #11
  %381 = call zeroext i1 @s2n_libcrypto_supports_mlkem() #11
  %spec.select124 = select i1 %381, ptr null, ptr %spec.select
  %spec.select125 = select i1 %381, ptr @s2n_x25519_mlkem_768, ptr null
  call void @llvm.lifetime.start.p0(i64 920, ptr nonnull %19) #11
  store ptr @security_policy_pq_tls_1_3_2023_06_01, ptr %19, align 16, !tbaa !28
  %382 = getelementptr inbounds i8, ptr %19, i64 8
  store ptr @security_policy_pq_tls_1_0_2021_05_24, ptr %382, align 8, !tbaa !30
  %383 = getelementptr inbounds i8, ptr %19, i64 16
  store ptr @s2n_x25519_kyber_512_r3, ptr %383, align 16, !tbaa !31
  %384 = getelementptr inbounds i8, ptr %19, i64 24
  store ptr null, ptr %384, align 8, !tbaa !32
  %385 = getelementptr inbounds i8, ptr %19, i64 32
  %386 = call zeroext i1 @s2n_pq_is_enabled() #11
  %387 = zext i1 %386 to i8
  store i8 %387, ptr %385, align 16, !tbaa !33
  %388 = getelementptr inbounds i8, ptr %19, i64 33
  store i8 0, ptr %388, align 1, !tbaa !34
  %389 = getelementptr inbounds i8, ptr %19, i64 40
  store ptr @security_policy_pq_tls_1_1_2021_05_21, ptr %389, align 8, !tbaa !28
  %390 = getelementptr inbounds i8, ptr %19, i64 48
  store ptr @security_policy_pq_tls_1_1_2021_05_21, ptr %390, align 16, !tbaa !30
  %391 = getelementptr inbounds i8, ptr %19, i64 56
  store ptr @s2n_x25519_kyber_512_r3, ptr %391, align 8, !tbaa !31
  %392 = getelementptr inbounds i8, ptr %19, i64 64
  store ptr null, ptr %392, align 16, !tbaa !32
  %393 = getelementptr inbounds i8, ptr %19, i64 72
  store i8 0, ptr %393, align 8, !tbaa !33
  %394 = getelementptr inbounds i8, ptr %19, i64 73
  store i8 1, ptr %394, align 1, !tbaa !34
  %395 = getelementptr inbounds i8, ptr %19, i64 80
  store ptr @security_policy_pq_tls_1_0_2021_05_22, ptr %395, align 16, !tbaa !28
  %396 = getelementptr inbounds i8, ptr %19, i64 88
  store ptr @security_policy_pq_tls_1_0_2021_05_22, ptr %396, align 8, !tbaa !30
  %397 = getelementptr inbounds i8, ptr %19, i64 96
  store ptr @s2n_x25519_kyber_512_r3, ptr %397, align 16, !tbaa !31
  %398 = getelementptr inbounds i8, ptr %19, i64 104
  store ptr null, ptr %398, align 8, !tbaa !32
  %399 = getelementptr inbounds i8, ptr %19, i64 112
  store i8 0, ptr %399, align 16, !tbaa !33
  %400 = getelementptr inbounds i8, ptr %19, i64 113
  store i8 1, ptr %400, align 1, !tbaa !34
  %401 = getelementptr inbounds i8, ptr %19, i64 120
  store ptr @security_policy_pq_tls_1_0_2021_05_23, ptr %401, align 8, !tbaa !28
  %402 = getelementptr inbounds i8, ptr %19, i64 128
  store ptr @security_policy_pq_tls_1_0_2021_05_23, ptr %402, align 16, !tbaa !30
  %403 = getelementptr inbounds i8, ptr %19, i64 136
  store ptr @s2n_x25519_kyber_512_r3, ptr %403, align 8, !tbaa !31
  %404 = getelementptr inbounds i8, ptr %19, i64 144
  store ptr null, ptr %404, align 16, !tbaa !32
  %405 = getelementptr inbounds i8, ptr %19, i64 152
  store i8 0, ptr %405, align 8, !tbaa !33
  %406 = getelementptr inbounds i8, ptr %19, i64 153
  store i8 1, ptr %406, align 1, !tbaa !34
  %407 = getelementptr inbounds i8, ptr %19, i64 160
  store ptr @security_policy_pq_tls_1_0_2021_05_24, ptr %407, align 16, !tbaa !28
  %408 = getelementptr inbounds i8, ptr %19, i64 168
  store ptr @security_policy_pq_tls_1_0_2021_05_24, ptr %408, align 8, !tbaa !30
  %409 = getelementptr inbounds i8, ptr %19, i64 176
  store ptr @s2n_x25519_kyber_512_r3, ptr %409, align 16, !tbaa !31
  %410 = getelementptr inbounds i8, ptr %19, i64 184
  store ptr null, ptr %410, align 8, !tbaa !32
  %411 = getelementptr inbounds i8, ptr %19, i64 192
  store i8 0, ptr %411, align 16, !tbaa !33
  %412 = getelementptr inbounds i8, ptr %19, i64 193
  store i8 1, ptr %412, align 1, !tbaa !34
  %413 = getelementptr inbounds i8, ptr %19, i64 200
  store ptr @security_policy_pq_tls_1_0_2021_05_26, ptr %413, align 8, !tbaa !28
  %414 = getelementptr inbounds i8, ptr %19, i64 208
  store ptr @security_policy_pq_tls_1_0_2021_05_26, ptr %414, align 16, !tbaa !30
  %415 = getelementptr inbounds i8, ptr %19, i64 216
  store ptr @s2n_x25519_kyber_512_r3, ptr %415, align 8, !tbaa !31
  %416 = getelementptr inbounds i8, ptr %19, i64 224
  store ptr null, ptr %416, align 16, !tbaa !32
  %417 = getelementptr inbounds i8, ptr %19, i64 232
  store i8 0, ptr %417, align 8, !tbaa !33
  %418 = getelementptr inbounds i8, ptr %19, i64 233
  store i8 1, ptr %418, align 1, !tbaa !34
  %419 = getelementptr inbounds i8, ptr %19, i64 240
  store ptr @security_policy_pq_tls_1_0_2023_01_24, ptr %419, align 16, !tbaa !28
  %420 = getelementptr inbounds i8, ptr %19, i64 248
  store ptr @security_policy_pq_tls_1_0_2023_01_24, ptr %420, align 8, !tbaa !30
  %421 = getelementptr inbounds i8, ptr %19, i64 256
  store ptr @s2n_x25519_kyber_512_r3, ptr %421, align 16, !tbaa !31
  %422 = getelementptr inbounds i8, ptr %19, i64 264
  store ptr null, ptr %422, align 8, !tbaa !32
  %423 = getelementptr inbounds i8, ptr %19, i64 272
  store i8 0, ptr %423, align 16, !tbaa !33
  %424 = getelementptr inbounds i8, ptr %19, i64 273
  store i8 0, ptr %424, align 1, !tbaa !34
  %425 = getelementptr inbounds i8, ptr %19, i64 280
  store ptr @security_policy_pq_tls_1_3_2023_06_01, ptr %425, align 8, !tbaa !28
  %426 = getelementptr inbounds i8, ptr %19, i64 288
  store ptr @security_policy_pq_tls_1_3_2023_06_01, ptr %426, align 16, !tbaa !30
  %427 = getelementptr inbounds i8, ptr %19, i64 296
  store ptr @s2n_secp256r1_kyber_768_r3, ptr %427, align 8, !tbaa !31
  %428 = getelementptr inbounds i8, ptr %19, i64 304
  store ptr null, ptr %428, align 16, !tbaa !32
  %429 = getelementptr inbounds i8, ptr %19, i64 312
  store i8 0, ptr %429, align 8, !tbaa !33
  %430 = getelementptr inbounds i8, ptr %19, i64 313
  store i8 0, ptr %430, align 1, !tbaa !34
  %431 = getelementptr inbounds i8, ptr %19, i64 320
  store ptr %11, ptr %431, align 16, !tbaa !28
  %432 = getelementptr inbounds i8, ptr %19, i64 328
  store ptr @security_policy_pq_tls_1_3_2023_06_01, ptr %432, align 8, !tbaa !30
  %433 = getelementptr inbounds i8, ptr %19, i64 336
  store ptr @s2n_secp521r1_kyber_1024_r3, ptr %433, align 16, !tbaa !31
  %434 = getelementptr inbounds i8, ptr %19, i64 344
  store ptr null, ptr %434, align 8, !tbaa !32
  %435 = getelementptr inbounds i8, ptr %19, i64 352
  store i8 0, ptr %435, align 16, !tbaa !33
  %436 = getelementptr inbounds i8, ptr %19, i64 353
  store i8 0, ptr %436, align 1, !tbaa !34
  %437 = getelementptr inbounds i8, ptr %19, i64 360
  store ptr %8, ptr %437, align 8, !tbaa !28
  %438 = getelementptr inbounds i8, ptr %19, i64 368
  store ptr @security_policy_pq_tls_1_3_2023_06_01, ptr %438, align 16, !tbaa !30
  %439 = getelementptr inbounds i8, ptr %19, i64 376
  store ptr @s2n_secp384r1_kyber_768_r3, ptr %439, align 8, !tbaa !31
  %440 = getelementptr inbounds i8, ptr %19, i64 384
  store ptr null, ptr %440, align 16, !tbaa !32
  %441 = getelementptr inbounds i8, ptr %19, i64 392
  store i8 0, ptr %441, align 8, !tbaa !33
  %442 = getelementptr inbounds i8, ptr %19, i64 393
  store i8 0, ptr %442, align 1, !tbaa !34
  %443 = getelementptr inbounds i8, ptr %19, i64 400
  store ptr @security_policy_pq_tls_1_1_2021_05_21, ptr %443, align 16, !tbaa !28
  %444 = getelementptr inbounds i8, ptr %19, i64 408
  store ptr @security_policy_pq_tls_1_3_2023_06_01, ptr %444, align 8, !tbaa !30
  %445 = getelementptr inbounds i8, ptr %19, i64 416
  store ptr @s2n_x25519_kyber_512_r3, ptr %445, align 16, !tbaa !31
  %446 = getelementptr inbounds i8, ptr %19, i64 424
  store ptr null, ptr %446, align 8, !tbaa !32
  %447 = getelementptr inbounds i8, ptr %19, i64 432
  %448 = call zeroext i1 @s2n_pq_is_enabled() #11
  %449 = xor i1 %448, true
  %450 = zext i1 %449 to i8
  store i8 %450, ptr %447, align 16, !tbaa !33
  %451 = getelementptr inbounds i8, ptr %19, i64 433
  store i8 1, ptr %451, align 1, !tbaa !34
  %452 = getelementptr inbounds i8, ptr %19, i64 440
  store ptr %3, ptr %452, align 8, !tbaa !28
  %453 = getelementptr inbounds i8, ptr %19, i64 448
  store ptr %5, ptr %453, align 16, !tbaa !30
  %454 = getelementptr inbounds i8, ptr %19, i64 456
  store ptr @s2n_x25519_kyber_512_r3, ptr %454, align 8, !tbaa !31
  %455 = getelementptr inbounds i8, ptr %19, i64 464
  store ptr null, ptr %455, align 16, !tbaa !32
  %456 = getelementptr inbounds i8, ptr %19, i64 472
  store i8 0, ptr %456, align 8, !tbaa !33
  %457 = getelementptr inbounds i8, ptr %19, i64 473
  store i8 1, ptr %457, align 1, !tbaa !34
  %458 = getelementptr inbounds i8, ptr %19, i64 480
  store ptr %5, ptr %458, align 16, !tbaa !28
  %459 = getelementptr inbounds i8, ptr %19, i64 488
  store ptr %3, ptr %459, align 8, !tbaa !30
  %460 = getelementptr inbounds i8, ptr %19, i64 496
  store ptr @s2n_x25519_kyber_512_r3, ptr %460, align 16, !tbaa !31
  %461 = getelementptr inbounds i8, ptr %19, i64 504
  store ptr null, ptr %461, align 8, !tbaa !32
  %462 = getelementptr inbounds i8, ptr %19, i64 512
  store i8 0, ptr %462, align 16, !tbaa !33
  %463 = getelementptr inbounds i8, ptr %19, i64 513
  store i8 0, ptr %463, align 1, !tbaa !34
  %464 = getelementptr inbounds i8, ptr %19, i64 520
  store ptr @security_policy_pq_tls_1_0_2021_05_24, ptr %464, align 8, !tbaa !28
  %465 = getelementptr inbounds i8, ptr %19, i64 528
  store ptr @security_policy_pq_tls_1_0_2023_01_24, ptr %465, align 16, !tbaa !30
  %466 = getelementptr inbounds i8, ptr %19, i64 536
  store ptr @s2n_x25519_kyber_512_r3, ptr %466, align 8, !tbaa !31
  %467 = getelementptr inbounds i8, ptr %19, i64 544
  store ptr null, ptr %467, align 16, !tbaa !32
  %468 = getelementptr inbounds i8, ptr %19, i64 552
  store i8 0, ptr %468, align 8, !tbaa !33
  %469 = getelementptr inbounds i8, ptr %19, i64 553
  store i8 1, ptr %469, align 1, !tbaa !34
  %470 = getelementptr inbounds i8, ptr %19, i64 560
  store ptr @security_policy_pq_tls_1_0_2023_01_24, ptr %470, align 16, !tbaa !28
  %471 = getelementptr inbounds i8, ptr %19, i64 568
  store ptr @security_policy_pq_tls_1_0_2021_05_24, ptr %471, align 8, !tbaa !30
  %472 = getelementptr inbounds i8, ptr %19, i64 576
  store ptr @s2n_x25519_kyber_512_r3, ptr %472, align 16, !tbaa !31
  %473 = getelementptr inbounds i8, ptr %19, i64 584
  store ptr null, ptr %473, align 8, !tbaa !32
  %474 = getelementptr inbounds i8, ptr %19, i64 592
  store i8 0, ptr %474, align 16, !tbaa !33
  %475 = getelementptr inbounds i8, ptr %19, i64 593
  store i8 0, ptr %475, align 1, !tbaa !34
  %476 = getelementptr inbounds i8, ptr %19, i64 600
  store ptr @security_policy_pq_tls_1_0_2020_12, ptr %476, align 8, !tbaa !28
  %477 = getelementptr inbounds i8, ptr %19, i64 608
  store ptr @security_policy_pq_tls_1_0_2020_12, ptr %477, align 16, !tbaa !30
  %478 = getelementptr inbounds i8, ptr %19, i64 616
  store ptr @s2n_x25519_kyber_512_r3, ptr %478, align 8, !tbaa !31
  %479 = getelementptr inbounds i8, ptr %19, i64 624
  store ptr null, ptr %479, align 16, !tbaa !32
  %480 = getelementptr inbounds i8, ptr %19, i64 632
  store i8 0, ptr %480, align 8, !tbaa !33
  %481 = getelementptr inbounds i8, ptr %19, i64 633
  store i8 1, ptr %481, align 1, !tbaa !34
  %482 = getelementptr inbounds i8, ptr %19, i64 640
  store ptr @security_policy_pq_tls_1_0_2020_12, ptr %482, align 16, !tbaa !28
  %483 = getelementptr inbounds i8, ptr %19, i64 648
  store ptr %3, ptr %483, align 8, !tbaa !30
  %484 = getelementptr inbounds i8, ptr %19, i64 656
  store ptr @s2n_x25519_kyber_512_r3, ptr %484, align 16, !tbaa !31
  %485 = getelementptr inbounds i8, ptr %19, i64 664
  store ptr null, ptr %485, align 8, !tbaa !32
  %486 = getelementptr inbounds i8, ptr %19, i64 672
  store i8 0, ptr %486, align 16, !tbaa !33
  %487 = getelementptr inbounds i8, ptr %19, i64 673
  store i8 1, ptr %487, align 1, !tbaa !34
  %488 = getelementptr inbounds i8, ptr %19, i64 680
  store ptr @security_policy_pq_tls_1_0_2020_12, ptr %488, align 8, !tbaa !28
  %489 = getelementptr inbounds i8, ptr %19, i64 688
  store ptr %5, ptr %489, align 16, !tbaa !30
  %490 = getelementptr inbounds i8, ptr %19, i64 696
  store ptr @s2n_x25519_kyber_512_r3, ptr %490, align 8, !tbaa !31
  %491 = getelementptr inbounds i8, ptr %19, i64 704
  store ptr null, ptr %491, align 16, !tbaa !32
  %492 = getelementptr inbounds i8, ptr %19, i64 712
  store i8 0, ptr %492, align 8, !tbaa !33
  %493 = getelementptr inbounds i8, ptr %19, i64 713
  store i8 1, ptr %493, align 1, !tbaa !34
  %494 = getelementptr inbounds i8, ptr %19, i64 720
  store ptr @security_policy_pq_tls_1_0_2020_12, ptr %494, align 16, !tbaa !28
  %495 = getelementptr inbounds i8, ptr %19, i64 728
  store ptr @security_policy_test_all_tls13, ptr %495, align 8, !tbaa !30
  %496 = getelementptr inbounds i8, ptr %19, i64 736
  store ptr null, ptr %496, align 16, !tbaa !31
  %497 = getelementptr inbounds i8, ptr %19, i64 744
  store ptr %spec.select, ptr %497, align 8, !tbaa !32
  %498 = getelementptr inbounds i8, ptr %19, i64 752
  store i8 0, ptr %498, align 16, !tbaa !33
  %499 = getelementptr inbounds i8, ptr %19, i64 753
  store i8 1, ptr %499, align 1, !tbaa !34
  %500 = getelementptr inbounds i8, ptr %19, i64 760
  store ptr %15, ptr %500, align 8, !tbaa !28
  %501 = getelementptr inbounds i8, ptr %19, i64 768
  store ptr @security_policy_test_all_tls13, ptr %501, align 16, !tbaa !30
  %502 = getelementptr inbounds i8, ptr %19, i64 776
  store ptr null, ptr %502, align 8, !tbaa !31
  %503 = getelementptr inbounds i8, ptr %19, i64 784
  store ptr %spec.select, ptr %503, align 16, !tbaa !32
  %504 = getelementptr inbounds i8, ptr %19, i64 792
  store i8 1, ptr %504, align 8, !tbaa !33
  %505 = getelementptr inbounds i8, ptr %19, i64 793
  store i8 1, ptr %505, align 1, !tbaa !34
  %506 = getelementptr inbounds i8, ptr %19, i64 800
  store ptr @security_policy_test_all_tls13, ptr %506, align 16, !tbaa !28
  %507 = getelementptr inbounds i8, ptr %19, i64 808
  store ptr @security_policy_pq_tls_1_0_2020_12, ptr %507, align 8, !tbaa !30
  %508 = getelementptr inbounds i8, ptr %19, i64 816
  store ptr null, ptr %508, align 16, !tbaa !31
  %509 = getelementptr inbounds i8, ptr %19, i64 824
  store ptr %spec.select, ptr %509, align 8, !tbaa !32
  %510 = getelementptr inbounds i8, ptr %19, i64 832
  store i8 0, ptr %510, align 16, !tbaa !33
  %511 = getelementptr inbounds i8, ptr %19, i64 833
  store i8 1, ptr %511, align 1, !tbaa !34
  %512 = getelementptr inbounds i8, ptr %19, i64 840
  store ptr @security_policy_test_tls13_retry, ptr %512, align 8, !tbaa !28
  %513 = getelementptr inbounds i8, ptr %19, i64 848
  store ptr @security_policy_pq_tls_1_0_2020_12, ptr %513, align 16, !tbaa !30
  %514 = getelementptr inbounds i8, ptr %19, i64 856
  store ptr null, ptr %514, align 8, !tbaa !31
  %515 = getelementptr inbounds i8, ptr %19, i64 864
  store ptr %spec.select, ptr %515, align 16, !tbaa !32
  %516 = getelementptr inbounds i8, ptr %19, i64 872
  store i8 1, ptr %516, align 8, !tbaa !33
  %517 = getelementptr inbounds i8, ptr %19, i64 873
  store i8 1, ptr %517, align 1, !tbaa !34
  %518 = getelementptr inbounds i8, ptr %19, i64 880
  store ptr %14, ptr %518, align 16, !tbaa !28
  %519 = getelementptr inbounds i8, ptr %19, i64 888
  store ptr %14, ptr %519, align 8, !tbaa !30
  %520 = getelementptr inbounds i8, ptr %19, i64 896
  store ptr %spec.select125, ptr %520, align 16, !tbaa !31
  %521 = getelementptr inbounds i8, ptr %19, i64 904
  store ptr %spec.select124, ptr %521, align 8, !tbaa !32
  %522 = getelementptr inbounds i8, ptr %19, i64 912
  store i8 0, ptr %522, align 16, !tbaa !33
  %523 = getelementptr inbounds i8, ptr %19, i64 913
  store i8 0, ptr %523, align 1, !tbaa !34
  %524 = load i16, ptr %spec.select, align 8
  %525 = load i16, ptr @s2n_ecc_curve_secp256r1, align 8
  br label %528

526:                                              ; preds = %713
  %527 = add nuw nsw i64 %.087138, 1
  %exitcond = icmp eq i64 %527, 23
  br i1 %exitcond, label %742, label %528, !llvm.loop !35

528:                                              ; preds = %380, %526
  %.087138 = phi i64 [ 0, %380 ], [ %527, %526 ]
  %529 = getelementptr inbounds [23 x %struct.pq_handshake_test_vector], ptr %19, i64 0, i64 %.087138
  %530 = load ptr, ptr %529, align 8, !tbaa !28
  %531 = getelementptr inbounds i8, ptr %529, i64 8
  %532 = load ptr, ptr %531, align 8, !tbaa !30
  %533 = getelementptr inbounds i8, ptr %529, i64 16
  %534 = load ptr, ptr %533, align 8, !tbaa !31
  %535 = getelementptr inbounds i8, ptr %529, i64 24
  %536 = load ptr, ptr %535, align 8, !tbaa !32
  %537 = getelementptr inbounds i8, ptr %529, i64 32
  %538 = load i8, ptr %537, align 8, !tbaa !33, !range !13, !noundef !14
  %539 = trunc nuw i8 %538 to i1
  %540 = getelementptr inbounds i8, ptr %529, i64 33
  %541 = load i8, ptr %540, align 1, !tbaa !34, !range !13, !noundef !14
  %542 = trunc nuw i8 %541 to i1
  %543 = call zeroext i1 @s2n_pq_is_enabled() #11
  br i1 %543, label %683, label %544

544:                                              ; preds = %528
  %545 = load i32, ptr @test_count, align 4, !tbaa !5
  %546 = add nsw i32 %545, 1
  store i32 %546, ptr @test_count, align 4, !tbaa !5
  %547 = getelementptr inbounds i8, ptr %530, i64 40
  %548 = load ptr, ptr %547, align 8, !tbaa !24
  %549 = load i8, ptr %548, align 8, !tbaa !37
  %.not105 = icmp eq i8 %549, 0
  br i1 %.not105, label %550, label %574

550:                                              ; preds = %544
  %551 = tail call ptr @__errno_location() #12
  %552 = load i32, ptr %551, align 4, !tbaa !5
  %553 = load ptr, ptr @stderr, align 8, !tbaa !9
  %554 = call i32 @s2n_print_stacktrace(ptr noundef %553) #11
  %555 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %556 = trunc nuw i8 %555 to i1
  br i1 %556, label %557, label %561

557:                                              ; preds = %550
  %558 = load ptr, ptr @stderr, align 8, !tbaa !9
  %559 = call i32 @fileno(ptr noundef %558) #11
  %560 = call i32 @isatty(i32 noundef %559) #11
  %.not106 = icmp eq i32 %560, 0
  br i1 %.not106, label %561, label %562

561:                                              ; preds = %557, %550
  br label %562

562:                                              ; preds = %557, %561
  %.str.123.sink204 = phi ptr [ @.str.123, %561 ], [ @.str.120, %557 ]
  store i32 %552, ptr %551, align 4, !tbaa !5
  %563 = load ptr, ptr @stderr, align 8, !tbaa !9
  %564 = load i32, ptr @test_count, align 4, !tbaa !5
  %565 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %566 = load i32, ptr %565, align 4, !tbaa !5
  %567 = call ptr @s2n_strerror(i32 noundef %566, ptr noundef nonnull @.str.122) #11
  %568 = load i32, ptr %565, align 4, !tbaa !5
  %569 = call ptr @s2n_strerror_debug(i32 noundef %568, ptr noundef nonnull @.str.122) #11
  %570 = load i32, ptr %551, align 4, !tbaa !5
  %571 = call ptr @strerror(i32 noundef %570) #11
  %572 = load i32, ptr %551, align 4, !tbaa !5
  %573 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %563, ptr noundef nonnull %.str.123.sink204, i32 noundef %564, ptr noundef nonnull @.str.133, ptr noundef nonnull @.str.119, i32 noundef 753, ptr noundef %567, ptr noundef %569, ptr noundef %571, i32 noundef %572) #13
  call void @exit(i32 noundef 1) #14
  unreachable

574:                                              ; preds = %544
  %575 = getelementptr inbounds i8, ptr %548, i64 8
  %576 = load ptr, ptr %575, align 8, !tbaa !39
  %577 = load ptr, ptr %576, align 8, !tbaa !9
  %578 = call ptr @s2n_get_predicted_negotiated_ecdhe_curve(ptr noundef nonnull %530, ptr noundef %532)
  %579 = load ptr, ptr %547, align 8, !tbaa !24
  %580 = call zeroext i1 @s2n_ecc_preferences_includes_curve(ptr noundef %579, i16 noundef zeroext %524) #11
  br i1 %580, label %581, label %585

581:                                              ; preds = %574
  %582 = getelementptr inbounds i8, ptr %532, i64 40
  %583 = load ptr, ptr %582, align 8, !tbaa !24
  %584 = call zeroext i1 @s2n_ecc_preferences_includes_curve(ptr noundef %583, i16 noundef zeroext %524) #11
  br i1 %584, label %644, label %585

585:                                              ; preds = %574, %581
  %586 = load i32, ptr @test_count, align 4, !tbaa !5
  %587 = add nsw i32 %586, 1
  store i32 %587, ptr @test_count, align 4, !tbaa !5
  %588 = load ptr, ptr %547, align 8, !tbaa !24
  %589 = call zeroext i1 @s2n_ecc_preferences_includes_curve(ptr noundef %588, i16 noundef zeroext %525) #11
  br i1 %589, label %614, label %590

590:                                              ; preds = %585
  %591 = tail call ptr @__errno_location() #12
  %592 = load i32, ptr %591, align 4, !tbaa !5
  %593 = load ptr, ptr @stderr, align 8, !tbaa !9
  %594 = call i32 @s2n_print_stacktrace(ptr noundef %593) #11
  %595 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %596 = trunc nuw i8 %595 to i1
  br i1 %596, label %597, label %601

597:                                              ; preds = %590
  %598 = load ptr, ptr @stderr, align 8, !tbaa !9
  %599 = call i32 @fileno(ptr noundef %598) #11
  %600 = call i32 @isatty(i32 noundef %599) #11
  %.not107 = icmp eq i32 %600, 0
  br i1 %.not107, label %601, label %602

601:                                              ; preds = %597, %590
  br label %602

602:                                              ; preds = %597, %601
  %.str.123.sink215 = phi ptr [ @.str.123, %601 ], [ @.str.120, %597 ]
  store i32 %592, ptr %591, align 4, !tbaa !5
  %603 = load ptr, ptr @stderr, align 8, !tbaa !9
  %604 = load i32, ptr @test_count, align 4, !tbaa !5
  %605 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %606 = load i32, ptr %605, align 4, !tbaa !5
  %607 = call ptr @s2n_strerror(i32 noundef %606, ptr noundef nonnull @.str.122) #11
  %608 = load i32, ptr %605, align 4, !tbaa !5
  %609 = call ptr @s2n_strerror_debug(i32 noundef %608, ptr noundef nonnull @.str.122) #11
  %610 = load i32, ptr %591, align 4, !tbaa !5
  %611 = call ptr @strerror(i32 noundef %610) #11
  %612 = load i32, ptr %591, align 4, !tbaa !5
  %613 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %603, ptr noundef nonnull %.str.123.sink215, i32 noundef %604, ptr noundef nonnull @.str.134, ptr noundef nonnull @.str.119, i32 noundef 761, ptr noundef %607, ptr noundef %609, ptr noundef %611, i32 noundef %612) #13
  call void @exit(i32 noundef 1) #14
  unreachable

614:                                              ; preds = %585
  %615 = load i32, ptr @test_count, align 4, !tbaa !5
  %616 = add nsw i32 %615, 1
  store i32 %616, ptr @test_count, align 4, !tbaa !5
  %617 = getelementptr inbounds i8, ptr %532, i64 40
  %618 = load ptr, ptr %617, align 8, !tbaa !24
  %619 = call zeroext i1 @s2n_ecc_preferences_includes_curve(ptr noundef %618, i16 noundef zeroext %525) #11
  br i1 %619, label %644, label %620

620:                                              ; preds = %614
  %621 = tail call ptr @__errno_location() #12
  %622 = load i32, ptr %621, align 4, !tbaa !5
  %623 = load ptr, ptr @stderr, align 8, !tbaa !9
  %624 = call i32 @s2n_print_stacktrace(ptr noundef %623) #11
  %625 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %626 = trunc nuw i8 %625 to i1
  br i1 %626, label %627, label %631

627:                                              ; preds = %620
  %628 = load ptr, ptr @stderr, align 8, !tbaa !9
  %629 = call i32 @fileno(ptr noundef %628) #11
  %630 = call i32 @isatty(i32 noundef %629) #11
  %.not108 = icmp eq i32 %630, 0
  br i1 %.not108, label %631, label %632

631:                                              ; preds = %627, %620
  br label %632

632:                                              ; preds = %627, %631
  %.str.123.sink226 = phi ptr [ @.str.123, %631 ], [ @.str.120, %627 ]
  store i32 %622, ptr %621, align 4, !tbaa !5
  %633 = load ptr, ptr @stderr, align 8, !tbaa !9
  %634 = load i32, ptr @test_count, align 4, !tbaa !5
  %635 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %636 = load i32, ptr %635, align 4, !tbaa !5
  %637 = call ptr @s2n_strerror(i32 noundef %636, ptr noundef nonnull @.str.122) #11
  %638 = load i32, ptr %635, align 4, !tbaa !5
  %639 = call ptr @s2n_strerror_debug(i32 noundef %638, ptr noundef nonnull @.str.122) #11
  %640 = load i32, ptr %621, align 4, !tbaa !5
  %641 = call ptr @strerror(i32 noundef %640) #11
  %642 = load i32, ptr %621, align 4, !tbaa !5
  %643 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %633, ptr noundef nonnull %.str.123.sink226, i32 noundef %634, ptr noundef nonnull @.str.135, ptr noundef nonnull @.str.119, i32 noundef 762, ptr noundef %637, ptr noundef %639, ptr noundef %641, i32 noundef %642) #13
  call void @exit(i32 noundef 1) #14
  unreachable

644:                                              ; preds = %614, %581
  %.089 = phi ptr [ %536, %581 ], [ @s2n_ecc_curve_secp256r1, %614 ]
  %645 = call zeroext i1 @s2n_security_policy_supports_tls13(ptr noundef nonnull %530) #11
  br i1 %645, label %646, label %653

646:                                              ; preds = %644
  %647 = call zeroext i1 @s2n_security_policy_supports_tls13(ptr noundef nonnull %532) #11
  br i1 %647, label %648, label %653

648:                                              ; preds = %646
  %649 = getelementptr inbounds i8, ptr %532, i64 40
  %650 = load ptr, ptr %649, align 8, !tbaa !24
  %651 = load i16, ptr %577, align 8, !tbaa !40
  %652 = call zeroext i1 @s2n_ecc_preferences_includes_curve(ptr noundef %650, i16 noundef zeroext %651) #11
  %spec.select126 = select i1 %652, ptr %577, ptr %.089
  br label %653

653:                                              ; preds = %648, %644, %646
  %.190 = phi ptr [ %.089, %646 ], [ %.089, %644 ], [ %spec.select126, %648 ]
  %654 = load i32, ptr @test_count, align 4, !tbaa !5
  %655 = add nsw i32 %654, 1
  store i32 %655, ptr @test_count, align 4, !tbaa !5
  %656 = load i16, ptr %.190, align 8, !tbaa !40
  %657 = load i16, ptr %578, align 8, !tbaa !40
  %658 = icmp eq i16 %656, %657
  br i1 %658, label %683, label %659

659:                                              ; preds = %653
  %660 = tail call ptr @__errno_location() #12
  %661 = load i32, ptr %660, align 4, !tbaa !5
  %662 = load ptr, ptr @stderr, align 8, !tbaa !9
  %663 = call i32 @s2n_print_stacktrace(ptr noundef %662) #11
  %664 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %665 = trunc nuw i8 %664 to i1
  br i1 %665, label %666, label %670

666:                                              ; preds = %659
  %667 = load ptr, ptr @stderr, align 8, !tbaa !9
  %668 = call i32 @fileno(ptr noundef %667) #11
  %669 = call i32 @isatty(i32 noundef %668) #11
  %.not109 = icmp eq i32 %669, 0
  br i1 %.not109, label %670, label %671

670:                                              ; preds = %666, %659
  br label %671

671:                                              ; preds = %666, %670
  %.str.123.sink237 = phi ptr [ @.str.123, %670 ], [ @.str.120, %666 ]
  store i32 %661, ptr %660, align 4, !tbaa !5
  %672 = load ptr, ptr @stderr, align 8, !tbaa !9
  %673 = load i32, ptr @test_count, align 4, !tbaa !5
  %674 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %675 = load i32, ptr %674, align 4, !tbaa !5
  %676 = call ptr @s2n_strerror(i32 noundef %675, ptr noundef nonnull @.str.122) #11
  %677 = load i32, ptr %674, align 4, !tbaa !5
  %678 = call ptr @s2n_strerror_debug(i32 noundef %677, ptr noundef nonnull @.str.122) #11
  %679 = load i32, ptr %660, align 4, !tbaa !5
  %680 = call ptr @strerror(i32 noundef %679) #11
  %681 = load i32, ptr %660, align 4, !tbaa !5
  %682 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %672, ptr noundef nonnull %.str.123.sink237, i32 noundef %673, ptr noundef nonnull @.str.136, ptr noundef nonnull @.str.119, i32 noundef 774, ptr noundef %676, ptr noundef %678, ptr noundef %680, i32 noundef %681) #13
  call void @exit(i32 noundef 1) #14
  unreachable

683:                                              ; preds = %653, %528
  %.291 = phi ptr [ %536, %528 ], [ %.190, %653 ]
  %684 = call zeroext i1 @s2n_kem_group_is_available(ptr noundef %534) #11
  %spec.select127 = select i1 %684, ptr %534, ptr null
  %.not110 = icmp eq ptr %spec.select127, null
  br i1 %.not110, label %713, label %685

685:                                              ; preds = %683
  %686 = getelementptr inbounds i8, ptr %530, i64 16
  %687 = load ptr, ptr %686, align 8, !tbaa !21
  %688 = getelementptr inbounds i8, ptr %532, i64 16
  %689 = load ptr, ptr %688, align 8, !tbaa !21
  %690 = call ptr @s2n_get_predicted_negotiated_kem_group(ptr noundef %687, ptr noundef %689)
  %.not111 = icmp eq ptr %690, null
  br i1 %.not111, label %691, label %699

691:                                              ; preds = %685
  %692 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  store ptr @.str.137, ptr %692, align 8, !tbaa !43
  %693 = call ptr @strrchr(ptr noundef nonnull dereferenceable(1) getelementptr inbounds (i8, ptr @.str.137, i64 21), i32 noundef 47) #15
  %.not112 = icmp eq ptr %693, null
  %694 = getelementptr inbounds i8, ptr %693, i64 1
  %695 = select i1 %.not112, ptr getelementptr inbounds (i8, ptr @.str.137, i64 21), ptr %694
  %696 = getelementptr inbounds i8, ptr %692, i64 8
  store ptr %695, ptr %696, align 8, !tbaa !45
  %697 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  store i32 402653193, ptr %697, align 4, !tbaa !5
  %698 = call i32 @s2n_calculate_stacktrace() #11
  br label %.thread135

699:                                              ; preds = %685
  %700 = getelementptr inbounds i8, ptr %spec.select127, i64 8
  %701 = load i16, ptr %700, align 8, !tbaa !46
  %702 = getelementptr inbounds i8, ptr %690, i64 8
  %703 = load i16, ptr %702, align 8, !tbaa !46
  %704 = icmp eq i16 %701, %703
  br i1 %704, label %713, label %705

705:                                              ; preds = %699
  %706 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  store ptr @.str.138, ptr %706, align 8, !tbaa !43
  %707 = call ptr @strrchr(ptr noundef nonnull dereferenceable(1) getelementptr inbounds (i8, ptr @.str.138, i64 21), i32 noundef 47) #15
  %.not113 = icmp eq ptr %707, null
  %708 = getelementptr inbounds i8, ptr %707, i64 1
  %709 = select i1 %.not113, ptr getelementptr inbounds (i8, ptr @.str.138, i64 21), ptr %708
  %710 = getelementptr inbounds i8, ptr %706, i64 8
  store ptr %709, ptr %710, align 8, !tbaa !45
  %711 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  store i32 402653194, ptr %711, align 4, !tbaa !5
  %712 = call i32 @s2n_calculate_stacktrace() #11
  br label %.thread135

713:                                              ; preds = %699, %683
  %714 = load i32, ptr @test_count, align 4, !tbaa !5
  %715 = add nsw i32 %714, 1
  store i32 %715, ptr @test_count, align 4, !tbaa !5
  %716 = call i32 @s2n_test_tls13_pq_handshake(ptr noundef %530, ptr noundef %532, ptr noundef %spec.select127, ptr noundef %.291, i1 noundef zeroext %539, i1 noundef zeroext %542)
  %717 = icmp eq i32 %716, -1
  br i1 %717, label %718, label %526

718:                                              ; preds = %713
  %719 = tail call ptr @__errno_location() #12
  %720 = load i32, ptr %719, align 4, !tbaa !5
  %721 = load ptr, ptr @stderr, align 8, !tbaa !9
  %722 = call i32 @s2n_print_stacktrace(ptr noundef %721) #11
  %723 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %724 = trunc nuw i8 %723 to i1
  br i1 %724, label %725, label %729

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

729:                                              ; preds = %725, %718
  br label %730

730:                                              ; preds = %725, %729
  %.str.123.sink248 = phi ptr [ @.str.123, %729 ], [ @.str.120, %725 ]
  store i32 %720, ptr %719, align 4, !tbaa !5
  %731 = load ptr, ptr @stderr, align 8, !tbaa !9
  %732 = load i32, ptr @test_count, align 4, !tbaa !5
  %733 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %734 = load i32, ptr %733, align 4, !tbaa !5
  %735 = call ptr @s2n_strerror(i32 noundef %734, ptr noundef nonnull @.str.122) #11
  %736 = load i32, ptr %733, align 4, !tbaa !5
  %737 = call ptr @s2n_strerror_debug(i32 noundef %736, ptr noundef nonnull @.str.122) #11
  %738 = load i32, ptr %719, align 4, !tbaa !5
  %739 = call ptr @strerror(i32 noundef %738) #11
  %740 = load i32, ptr %719, align 4, !tbaa !5
  %741 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %731, ptr noundef nonnull %.str.123.sink248, i32 noundef %732, ptr noundef nonnull @.str.139, ptr noundef nonnull @.str.119, i32 noundef 790, ptr noundef %735, ptr noundef %737, ptr noundef %739, i32 noundef %740) #13
  call void @exit(i32 noundef 1) #14
  unreachable

742:                                              ; preds = %526
  %743 = call i32 @s2n_cleanup() #11
  %744 = icmp eq i32 %743, -1
  br i1 %744, label %745, label %769

745:                                              ; preds = %742
  %746 = tail call ptr @__errno_location() #12
  %747 = load i32, ptr %746, align 4, !tbaa !5
  %748 = load ptr, ptr @stderr, align 8, !tbaa !9
  %749 = call i32 @s2n_print_stacktrace(ptr noundef %748) #11
  %750 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %751 = trunc nuw i8 %750 to i1
  br i1 %751, label %752, label %756

752:                                              ; preds = %745
  %753 = load ptr, ptr @stderr, align 8, !tbaa !9
  %754 = call i32 @fileno(ptr noundef %753) #11
  %755 = call i32 @isatty(i32 noundef %754) #11
  %.not118 = icmp eq i32 %755, 0
  br i1 %.not118, label %756, label %757

756:                                              ; preds = %752, %745
  br label %757

757:                                              ; preds = %752, %756
  %.str.123.sink259 = phi ptr [ @.str.123, %756 ], [ @.str.120, %752 ]
  store i32 %747, ptr %746, align 4, !tbaa !5
  %758 = load ptr, ptr @stderr, align 8, !tbaa !9
  %759 = load i32, ptr @test_count, align 4, !tbaa !5
  %760 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %761 = load i32, ptr %760, align 4, !tbaa !5
  %762 = call ptr @s2n_strerror(i32 noundef %761, ptr noundef nonnull @.str.122) #11
  %763 = load i32, ptr %760, align 4, !tbaa !5
  %764 = call ptr @s2n_strerror_debug(i32 noundef %763, ptr noundef nonnull @.str.122) #11
  %765 = load i32, ptr %746, align 4, !tbaa !5
  %766 = call ptr @strerror(i32 noundef %765) #11
  %767 = load i32, ptr %746, align 4, !tbaa !5
  %768 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %758, ptr noundef nonnull %.str.123.sink259, i32 noundef %759, ptr noundef nonnull @.str.126, ptr noundef nonnull @.str.119, i32 noundef 793, ptr noundef %762, ptr noundef %764, ptr noundef %766, i32 noundef %767) #13
  call void @exit(i32 noundef 1) #14
  unreachable

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

772:                                              ; preds = %769
  %773 = tail call ptr @__errno_location() #12
  %774 = load i32, ptr %773, align 4, !tbaa !5
  %775 = load ptr, ptr @stderr, align 8, !tbaa !9
  %776 = call i32 @s2n_print_stacktrace(ptr noundef %775) #11
  %777 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %778 = trunc nuw i8 %777 to i1
  br i1 %778, label %779, label %783

779:                                              ; preds = %772
  %780 = load ptr, ptr @stderr, align 8, !tbaa !9
  %781 = call i32 @fileno(ptr noundef %780) #11
  %782 = call i32 @isatty(i32 noundef %781) #11
  %.not117 = icmp eq i32 %782, 0
  br i1 %.not117, label %783, label %784

783:                                              ; preds = %779, %772
  br label %784

784:                                              ; preds = %779, %783
  %.str.123.sink270 = phi ptr [ @.str.123, %783 ], [ @.str.120, %779 ]
  store i32 %774, ptr %773, align 4, !tbaa !5
  %785 = load ptr, ptr @stderr, align 8, !tbaa !9
  %786 = load i32, ptr @test_count, align 4, !tbaa !5
  %787 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %788 = load i32, ptr %787, align 4, !tbaa !5
  %789 = call ptr @s2n_strerror(i32 noundef %788, ptr noundef nonnull @.str.122) #11
  %790 = load i32, ptr %787, align 4, !tbaa !5
  %791 = call ptr @s2n_strerror_debug(i32 noundef %790, ptr noundef nonnull @.str.122) #11
  %792 = load i32, ptr %773, align 4, !tbaa !5
  %793 = call ptr @strerror(i32 noundef %792) #11
  %794 = load i32, ptr %773, align 4, !tbaa !5
  %795 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %785, ptr noundef nonnull %.str.123.sink270, i32 noundef %786, ptr noundef nonnull @.str.127, ptr noundef nonnull @.str.119, i32 noundef 793, ptr noundef %789, ptr noundef %791, ptr noundef %793, i32 noundef %794) #13
  call void @exit(i32 noundef 1) #14
  unreachable

796:                                              ; preds = %769
  %797 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %798 = trunc nuw i8 %797 to i1
  br i1 %798, label %799, label %810

799:                                              ; preds = %796
  %800 = load ptr, ptr @stdout, align 8, !tbaa !9
  %801 = call i32 @fileno(ptr noundef %800) #11
  %802 = call i32 @isatty(i32 noundef %801) #11
  %.not114 = icmp eq i32 %802, 0
  br i1 %.not114, label %810, label %803

803:                                              ; preds = %799
  %804 = load i32, ptr @test_count, align 4, !tbaa !5
  %.not116 = icmp eq i32 %804, 0
  %805 = load ptr, ptr @stdout, align 8, !tbaa !9
  br i1 %.not116, label %808, label %806

806:                                              ; preds = %803
  %807 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %805, ptr noundef nonnull @.str.128, i32 noundef %804) #11
  br label %.thread135

808:                                              ; preds = %803
  %809 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %805, ptr noundef nonnull @.str.129) #11
  br label %.thread135

810:                                              ; preds = %799, %796
  %811 = load i32, ptr @test_count, align 4, !tbaa !5
  %.not115 = icmp eq i32 %811, 0
  %812 = load ptr, ptr @stdout, align 8, !tbaa !9
  br i1 %.not115, label %815, label %813

813:                                              ; preds = %810
  %814 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %812, ptr noundef nonnull @.str.130, i32 noundef %811) #11
  br label %.thread135

815:                                              ; preds = %810
  %816 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %812, ptr noundef nonnull @.str.131) #11
  br label %.thread135

.thread135:                                       ; preds = %705, %691, %808, %806, %815, %813
  %.5 = phi i32 [ 0, %813 ], [ 0, %815 ], [ 0, %806 ], [ 0, %808 ], [ -1, %691 ], [ -1, %705 ]
  call void @llvm.lifetime.end.p0(i64 920, ptr nonnull %19) #11
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %15) #11
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %14) #11
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %13) #11
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #11
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %11) #11
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %10) #11
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #11
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %8) #11
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %7) #11
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #11
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %5) #11
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %4) #11
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %3) #11
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %2) #11
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %1) #11
  br label %817

817:                                              ; preds = %174, %172, %181, %179, %.thread135
  %.6 = phi i32 [ %.5, %.thread135 ], [ 0, %179 ], [ 0, %181 ], [ 0, %172 ], [ 0, %174 ]
  ret i32 %.6
}

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

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

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

declare i32 @s2n_print_stacktrace(ptr noundef) local_unnamed_addr #4

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

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

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

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

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

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

declare i32 @s2n_enable_atexit() local_unnamed_addr #4

declare i32 @s2n_init() local_unnamed_addr #4

declare zeroext i1 @s2n_is_tls13_fully_supported(...) local_unnamed_addr #4

declare i32 @s2n_cleanup() local_unnamed_addr #4

declare i32 @s2n_is_evp_apis_supported(...) local_unnamed_addr #4

declare zeroext i1 @s2n_libcrypto_supports_mlkem() local_unnamed_addr #4

declare zeroext i1 @s2n_pq_is_enabled() local_unnamed_addr #4

declare zeroext i1 @s2n_ecc_preferences_includes_curve(ptr noundef, i16 noundef zeroext) local_unnamed_addr #4

declare zeroext i1 @s2n_security_policy_supports_tls13(ptr noundef) local_unnamed_addr #4

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

!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, !7, i64 16}
!16 = !{!"s2n_kem_preferences", !7, i64 0, !10, i64 8, !7, i64 16, !10, i64 24, !7, i64 32}
!17 = !{!16, !10, i64 24}
!18 = !{!19, !7, i64 0}
!19 = !{!"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}
!20 = !{!19, !10, i64 8}
!21 = !{!19, !10, i64 16}
!22 = !{!19, !10, i64 24}
!23 = !{!19, !10, i64 32}
!24 = !{!19, !10, i64 40}
!25 = !{!19, !10, i64 48}
!26 = !{!19, !12, i64 56}
!27 = !{!16, !7, i64 32}
!28 = !{!29, !10, i64 0}
!29 = !{!"pq_handshake_test_vector", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !12, i64 32, !12, i64 33}
!30 = !{!29, !10, i64 8}
!31 = !{!29, !10, i64 16}
!32 = !{!29, !10, i64 24}
!33 = !{!29, !12, i64 32}
!34 = !{!29, !12, i64 33}
!35 = distinct !{!35, !36}
!36 = !{!"llvm.loop.mustprogress"}
!37 = !{!38, !7, i64 0}
!38 = !{!"s2n_ecc_preferences", !7, i64 0, !10, i64 8}
!39 = !{!38, !10, i64 8}
!40 = !{!41, !42, i64 0}
!41 = !{!"s2n_ecc_named_curve", !42, i64 0, !6, i64 4, !10, i64 8, !7, i64 16, !10, i64 24}
!42 = !{!"short", !7, i64 0}
!43 = !{!44, !10, i64 0}
!44 = !{!"s2n_debug_info", !10, i64 0, !10, i64 8}
!45 = !{!44, !10, i64 8}
!46 = !{!47, !42, i64 8}
!47 = !{!"s2n_kem_group", !10, i64 0, !42, i64 8, !10, i64 16, !10, i64 24, !12, i64 32}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass