; LLVM IR from aws/s2n-tls :: tests/unit (s2n_self_talk_npn_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_ecc_named_curve = type { i16, i32, ptr, i8, ptr }
%struct.s2n_result = type { i32 }
%struct.s2n_connection = type { i32, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, [22 x i8], [22 x i8], [22 x i8], i32, i32, %struct.s2n_timer, i64, i64, [32 x i8], i8, i8, i8, i8, i8, i8, i8, ptr, ptr, %struct.s2n_secrets, ptr, ptr, %struct.s2n_kex_parameters, %struct.s2n_handshake_parameters, %struct.s2n_psk_parameters, ptr, i8, i32, [5 x i8], %struct.s2n_stuffer, %struct.s2n_stuffer, %struct.s2n_stuffer, %struct.s2n_stuffer, i32, i64, [2 x i8], %struct.s2n_stuffer, i8, i8, i8, i8, %struct.s2n_atomic_flag, %struct.s2n_atomic_flag, %struct.s2n_handshake, i16, i32, i16, i64, i8, i64, i64, i64, %struct.s2n_atomic_flag, %struct.s2n_atomic_flag, [256 x i8], [256 x i8], i32, %struct.s2n_blob, i32, %struct.s2n_blob, %struct.s2n_blob, %struct.s2n_blob, %struct.s2n_client_hello, %struct.s2n_x509_validator, ptr, ptr, i8, i32, %struct.s2n_blob, i32, %struct.s2n_ticket_fields, [138 x i8], %struct.s2n_stuffer, %struct.s2n_blob, %struct.s2n_blob, i8, i8, i8, i16, i16, i32, i32, %struct.s2n_blob, i32, %struct.s2n_post_handshake, %struct.s2n_atomic_flag, i8, i8 }
%struct.s2n_timer = type { i64 }
%struct.s2n_secrets = type { %union.anon, i32 }
%union.anon = type { %struct.s2n_tls13_secrets }
%struct.s2n_tls13_secrets = type { [48 x i8], [48 x i8], [48 x i8], [48 x i8], [48 x i8], [48 x i8], [48 x i8], [48 x i8], i32 }
%struct.s2n_kex_parameters = type { %struct.s2n_dh_params, %struct.s2n_ecc_evp_params, [4 x ptr], %struct.s2n_ecc_evp_params, %struct.s2n_kem_group_params, %struct.s2n_kem_group_params, [8 x ptr], %struct.s2n_kem_params, %struct.s2n_blob, %struct.s2n_blob }
%struct.s2n_dh_params = type { ptr }
%struct.s2n_ecc_evp_params = type { ptr, ptr }
%struct.s2n_kem_group_params = type { ptr, %struct.s2n_kem_params, %struct.s2n_ecc_evp_params }
%struct.s2n_kem_params = type { ptr, %struct.s2n_blob, %struct.s2n_blob, %struct.s2n_blob, i8 }
%struct.s2n_handshake_parameters = type { %struct.s2n_pkey, %struct.s2n_pkey, %struct.s2n_blob, i32, %struct.s2n_sig_scheme_list, ptr, ptr, ptr, [4 x ptr], [4 x ptr], i8, i8, [32 x i8], [32 x i8] }
%struct.s2n_pkey = type { ptr, ptr, ptr, ptr, ptr, ptr }
%struct.s2n_sig_scheme_list = type { [128 x i16], i8 }
%struct.s2n_psk_parameters = type { i32, %struct.s2n_array, i16, i16, ptr, i32 }
%struct.s2n_array = type { %struct.s2n_blob, i32, i32 }
%struct.s2n_handshake = type { %struct.s2n_stuffer, ptr, [8 x i8], [48 x i8], [48 x i8], i8, i32, i32, i32, i32, %struct.s2n_offered_early_data, i8, i32 }
%struct.s2n_offered_early_data = type { ptr }
%struct.s2n_client_hello = type { %struct.s2n_blob, %struct.s2n_parsed_extensions_list, %struct.s2n_blob, %struct.s2n_blob, %struct.s2n_blob, i8, i8, i8 }
%struct.s2n_parsed_extensions_list = type { [21 x %struct.s2n_parsed_extension], %struct.s2n_blob, i16 }
%struct.s2n_parsed_extension = type { %struct.s2n_blob, i16, i16, i8 }
%struct.s2n_x509_validator = type { ptr, ptr, i8, i8, i16, ptr, i32, ptr, %struct.s2n_cert_validation_info, i8 }
%struct.s2n_cert_validation_info = type { i8, [3 x i8] }
%struct.s2n_ticket_fields = type { %struct.s2n_blob, i32 }
%struct.s2n_stuffer = type { %struct.s2n_blob, i32, i32, i32, i8 }
%struct.s2n_blob = type { ptr, i32, i32, i8 }
%struct.s2n_post_handshake = type { %struct.s2n_stuffer, [4 x i8] }
%struct.s2n_atomic_flag = type { i32 }
%struct.s2n_crypto_parameters = type { ptr, %struct.s2n_session_key, %struct.s2n_session_key, %struct.s2n_hmac_state, %struct.s2n_hmac_state, [16 x i8], [16 x i8], [8 x i8], [8 x i8] }
%struct.s2n_session_key = type { ptr }
%struct.s2n_hmac_state = type { i32, i16, i32, i16, i8, %struct.s2n_hash_state, %struct.s2n_hash_state, %struct.s2n_hash_state, %struct.s2n_hash_state, [128 x i8], [64 x i8] }
%struct.s2n_hash_state = type { ptr, i32, i8, i64, %union.anon.0 }
%union.anon.0 = type { %struct.s2n_hash_evp_digest }
%struct.s2n_hash_evp_digest = type { %struct.s2n_evp_digest, %struct.s2n_evp_digest }
%struct.s2n_evp_digest = type { ptr, 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_cipher_suite = type { i8, ptr, ptr, [2 x i8], ptr, i32, ptr, [2 x ptr], i8, ptr, ptr, i32, i8 }

@_s2n_debug_info = external thread_local global %struct.s2n_debug_info, align 8
@s2n_errno = external thread_local global i32, align 4
@.str.37 = external hidden unnamed_addr constant [93 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [93 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [93 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [93 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [93 x i8], align 1
@s2n_ecc_curve_secp256r1 = external constant %struct.s2n_ecc_named_curve, align 8
@.str.42 = external hidden unnamed_addr constant [93 x i8], align 1
@.str.43 = external hidden unnamed_addr constant [93 x i8], align 1
@.str.44 = external hidden unnamed_addr constant [93 x i8], align 1
@.str.45 = external hidden unnamed_addr constant [93 x i8], align 1

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

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

declare i32 @s2n_calculate_stacktrace() #2

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

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(none)
declare i64 @llvm.expect.i64(i64, i64) #4

declare ptr @s2n_ensure_memmove_trace(ptr noundef, ptr noundef, i64 noundef) #2

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

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

declare zeroext i1 @s2n_is_hello_retry_handshake(ptr noundef) #2

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

; Function Attrs: nounwind uwtable
define dso_local i32 @s2n_process_client_hello(ptr noundef %0) #7 {
  %2 = alloca i32, align 4
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca ptr, align 8
  %8 = alloca [2 x i8], align 1
  %9 = alloca i32, align 4
  %10 = alloca ptr, align 8
  %11 = alloca %struct.s2n_result, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  br label %12

12:                                               ; preds = %1
  %13 = load ptr, ptr %3, align 8, !tbaa !5
  %14 = icmp ne ptr %13, null
  br i1 %14, label %46, label %15

15:                                               ; preds = %12
  br label %16

16:                                               ; preds = %15
  br label %17

17:                                               ; preds = %16
  %18 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %19 = getelementptr inbounds %struct.s2n_debug_info, ptr %18, i32 0, i32 0
  store ptr @.str.37, ptr %19, align 8, !tbaa !9
  %20 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %21 = getelementptr inbounds %struct.s2n_debug_info, ptr %20, i32 0, i32 0
  %22 = load ptr, ptr %21, align 8, !tbaa !9
  %23 = getelementptr inbounds i8, ptr %22, i64 21
  %24 = call ptr @strrchr(ptr noundef %23, i32 noundef 47) #8
  %25 = icmp ne ptr %24, null
  br i1 %25, label %26, label %33

26:                                               ; preds = %17
  %27 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %28 = getelementptr inbounds %struct.s2n_debug_info, ptr %27, i32 0, i32 0
  %29 = load ptr, ptr %28, align 8, !tbaa !9
  %30 = getelementptr inbounds i8, ptr %29, i64 21
  %31 = call ptr @strrchr(ptr noundef %30, i32 noundef 47) #8
  %32 = getelementptr inbounds i8, ptr %31, i64 1
  br label %38

33:                                               ; preds = %17
  %34 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %35 = getelementptr inbounds %struct.s2n_debug_info, ptr %34, i32 0, i32 0
  %36 = load ptr, ptr %35, align 8, !tbaa !9
  %37 = getelementptr inbounds i8, ptr %36, i64 21
  br label %38

38:                                               ; preds = %33, %26
  %39 = phi ptr [ %32, %26 ], [ %37, %33 ]
  %40 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %41 = getelementptr inbounds %struct.s2n_debug_info, ptr %40, i32 0, i32 1
  store ptr %39, ptr %41, align 8, !tbaa !11
  %42 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  store i32 402653193, ptr %42, align 4, !tbaa !12
  %43 = call i32 @s2n_calculate_stacktrace()
  br label %44

44:                                               ; preds = %38
  store i32 -1, ptr %2, align 4
  br label %645

45:                                               ; No predecessors!
  br label %46

46:                                               ; preds = %45, %12
  br label %47

47:                                               ; preds = %46
  br label %48

48:                                               ; preds = %47
  %49 = load ptr, ptr %3, align 8, !tbaa !5
  %50 = getelementptr inbounds %struct.s2n_connection, ptr %49, i32 0, i32 27
  %51 = load ptr, ptr %50, align 8, !tbaa !14
  %52 = icmp ne ptr %51, null
  br i1 %52, label %84, label %53

53:                                               ; preds = %48
  br label %54

54:                                               ; preds = %53
  br label %55

55:                                               ; preds = %54
  %56 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %57 = getelementptr inbounds %struct.s2n_debug_info, ptr %56, i32 0, i32 0
  store ptr @.str.38, ptr %57, align 8, !tbaa !9
  %58 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %59 = getelementptr inbounds %struct.s2n_debug_info, ptr %58, i32 0, i32 0
  %60 = load ptr, ptr %59, align 8, !tbaa !9
  %61 = getelementptr inbounds i8, ptr %60, i64 21
  %62 = call ptr @strrchr(ptr noundef %61, i32 noundef 47) #8
  %63 = icmp ne ptr %62, null
  br i1 %63, label %64, label %71

64:                                               ; preds = %55
  %65 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %66 = getelementptr inbounds %struct.s2n_debug_info, ptr %65, i32 0, i32 0
  %67 = load ptr, ptr %66, align 8, !tbaa !9
  %68 = getelementptr inbounds i8, ptr %67, i64 21
  %69 = call ptr @strrchr(ptr noundef %68, i32 noundef 47) #8
  %70 = getelementptr inbounds i8, ptr %69, i64 1
  br label %76

71:                                               ; preds = %55
  %72 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %73 = getelementptr inbounds %struct.s2n_debug_info, ptr %72, i32 0, i32 0
  %74 = load ptr, ptr %73, align 8, !tbaa !9
  %75 = getelementptr inbounds i8, ptr %74, i64 21
  br label %76

76:                                               ; preds = %71, %64
  %77 = phi ptr [ %70, %64 ], [ %75, %71 ]
  %78 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %79 = getelementptr inbounds %struct.s2n_debug_info, ptr %78, i32 0, i32 1
  store ptr %77, ptr %79, align 8, !tbaa !11
  %80 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  store i32 402653193, ptr %80, align 4, !tbaa !12
  %81 = call i32 @s2n_calculate_stacktrace()
  br label %82

82:                                               ; preds = %76
  store i32 -1, ptr %2, align 4
  br label %645

83:                                               ; No predecessors!
  br label %84

84:                                               ; preds = %83, %48
  br label %85

85:                                               ; preds = %84
  br label %86

86:                                               ; preds = %85
  %87 = load ptr, ptr %3, align 8, !tbaa !5
  %88 = getelementptr inbounds %struct.s2n_connection, ptr %87, i32 0, i32 27
  %89 = load ptr, ptr %88, align 8, !tbaa !14
  %90 = getelementptr inbounds %struct.s2n_crypto_parameters, ptr %89, i32 0, i32 0
  %91 = load ptr, ptr %90, align 8, !tbaa !42
  %92 = icmp ne ptr %91, null
  br i1 %92, label %124, label %93

93:                                               ; preds = %86
  br label %94

94:                                               ; preds = %93
  br label %95

95:                                               ; preds = %94
  %96 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %97 = getelementptr inbounds %struct.s2n_debug_info, ptr %96, i32 0, i32 0
  store ptr @.str.39, ptr %97, align 8, !tbaa !9
  %98 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %99 = getelementptr inbounds %struct.s2n_debug_info, ptr %98, i32 0, i32 0
  %100 = load ptr, ptr %99, align 8, !tbaa !9
  %101 = getelementptr inbounds i8, ptr %100, i64 21
  %102 = call ptr @strrchr(ptr noundef %101, i32 noundef 47) #8
  %103 = icmp ne ptr %102, null
  br i1 %103, label %104, label %111

104:                                              ; preds = %95
  %105 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %106 = getelementptr inbounds %struct.s2n_debug_info, ptr %105, i32 0, i32 0
  %107 = load ptr, ptr %106, align 8, !tbaa !9
  %108 = getelementptr inbounds i8, ptr %107, i64 21
  %109 = call ptr @strrchr(ptr noundef %108, i32 noundef 47) #8
  %110 = getelementptr inbounds i8, ptr %109, i64 1
  br label %116

111:                                              ; preds = %95
  %112 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %113 = getelementptr inbounds %struct.s2n_debug_info, ptr %112, i32 0, i32 0
  %114 = load ptr, ptr %113, align 8, !tbaa !9
  %115 = getelementptr inbounds i8, ptr %114, i64 21
  br label %116

116:                                              ; preds = %111, %104
  %117 = phi ptr [ %110, %104 ], [ %115, %111 ]
  %118 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %119 = getelementptr inbounds %struct.s2n_debug_info, ptr %118, i32 0, i32 1
  store ptr %117, ptr %119, align 8, !tbaa !11
  %120 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  store i32 402653193, ptr %120, align 4, !tbaa !12
  %121 = call i32 @s2n_calculate_stacktrace()
  br label %122

122:                                              ; preds = %116
  store i32 -1, ptr %2, align 4
  br label %645

123:                                              ; No predecessors!
  br label %124

124:                                              ; preds = %123, %86
  br label %125

125:                                              ; preds = %124
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #9
  %126 = load ptr, ptr %3, align 8, !tbaa !5
  %127 = getelementptr inbounds %struct.s2n_connection, ptr %126, i32 0, i32 71
  store ptr %127, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #9
  store ptr null, ptr %5, align 8, !tbaa !5
  br label %128

128:                                              ; preds = %125
  %129 = load ptr, ptr %3, align 8, !tbaa !5
  %130 = call i32 @s2n_connection_get_security_policy(ptr noundef %129, ptr noundef %5)
  %131 = icmp sgt i32 %130, -1
  br i1 %131, label %133, label %132

132:                                              ; preds = %128
  store i32 -1, ptr %2, align 4
  store i32 1, ptr %6, align 4
  br label %644

133:                                              ; preds = %128
  br label %134

134:                                              ; preds = %133
  br label %135

135:                                              ; preds = %134
  %136 = load ptr, ptr %3, align 8, !tbaa !5
  %137 = call zeroext i1 @s2n_connection_supports_tls13(ptr noundef %136)
  br i1 %137, label %138, label %141

138:                                              ; preds = %135
  %139 = load ptr, ptr %5, align 8, !tbaa !5
  %140 = call zeroext i1 @s2n_security_policy_supports_tls13(ptr noundef %139)
  br i1 %140, label %174, label %141

141:                                              ; preds = %138, %135
  %142 = load ptr, ptr %3, align 8, !tbaa !5
  %143 = getelementptr inbounds %struct.s2n_connection, ptr %142, i32 0, i32 22
  %144 = load i8, ptr %143, align 1, !tbaa !47
  %145 = zext i8 %144 to i32
  %146 = icmp slt i32 %145, 33
  br i1 %146, label %147, label %152

147:                                              ; preds = %141
  %148 = load ptr, ptr %3, align 8, !tbaa !5
  %149 = getelementptr inbounds %struct.s2n_connection, ptr %148, i32 0, i32 22
  %150 = load i8, ptr %149, align 1, !tbaa !47
  %151 = zext i8 %150 to i32
  br label %153

152:                                              ; preds = %141
  br label %153

153:                                              ; preds = %152, %147
  %154 = phi i32 [ %151, %147 ], [ 33, %152 ]
  %155 = trunc i32 %154 to i8
  %156 = load ptr, ptr %3, align 8, !tbaa !5
  %157 = getelementptr inbounds %struct.s2n_connection, ptr %156, i32 0, i32 22
  store i8 %155, ptr %157, align 1, !tbaa !47
  %158 = load ptr, ptr %3, align 8, !tbaa !5
  %159 = getelementptr inbounds %struct.s2n_connection, ptr %158, i32 0, i32 22
  %160 = load i8, ptr %159, align 1, !tbaa !47
  %161 = zext i8 %160 to i32
  %162 = icmp slt i32 %161, 33
  br i1 %162, label %163, label %168

163:                                              ; preds = %153
  %164 = load ptr, ptr %3, align 8, !tbaa !5
  %165 = getelementptr inbounds %struct.s2n_connection, ptr %164, i32 0, i32 22
  %166 = load i8, ptr %165, align 1, !tbaa !47
  %167 = zext i8 %166 to i32
  br label %169

168:                                              ; preds = %153
  br label %169

169:                                              ; preds = %168, %163
  %170 = phi i32 [ %167, %163 ], [ 33, %168 ]
  %171 = trunc i32 %170 to i8
  %172 = load ptr, ptr %3, align 8, !tbaa !5
  %173 = getelementptr inbounds %struct.s2n_connection, ptr %172, i32 0, i32 23
  store i8 %171, ptr %173, align 4, !tbaa !48
  br label %174

174:                                              ; preds = %169, %138
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #9
  store ptr null, ptr %7, align 8, !tbaa !5
  br label %175

175:                                              ; preds = %174
  %176 = load ptr, ptr %3, align 8, !tbaa !5
  %177 = call i32 @s2n_connection_get_ecc_preferences(ptr noundef %176, ptr noundef %7)
  %178 = icmp sgt i32 %177, -1
  br i1 %178, label %180, label %179

179:                                              ; preds = %175
  store i32 -1, ptr %2, align 4
  store i32 1, ptr %6, align 4
  br label %643

180:                                              ; preds = %175
  br label %181

181:                                              ; preds = %180
  br label %182

182:                                              ; preds = %181
  br label %183

183:                                              ; preds = %182
  %184 = load ptr, ptr %7, align 8, !tbaa !5
  %185 = icmp ne ptr %184, null
  br i1 %185, label %219, label %186

186:                                              ; preds = %183
  br label %187

187:                                              ; preds = %186
  br label %188

188:                                              ; preds = %187
  %189 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %190 = getelementptr inbounds %struct.s2n_debug_info, ptr %189, i32 0, i32 0
  store ptr @.str.40, ptr %190, align 8, !tbaa !9
  %191 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %192 = getelementptr inbounds %struct.s2n_debug_info, ptr %191, i32 0, i32 0
  %193 = load ptr, ptr %192, align 8, !tbaa !9
  %194 = getelementptr inbounds i8, ptr %193, i64 21
  %195 = call ptr @strrchr(ptr noundef %194, i32 noundef 47) #8
  %196 = icmp ne ptr %195, null
  br i1 %196, label %197, label %204

197:                                              ; preds = %188
  %198 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %199 = getelementptr inbounds %struct.s2n_debug_info, ptr %198, i32 0, i32 0
  %200 = load ptr, ptr %199, align 8, !tbaa !9
  %201 = getelementptr inbounds i8, ptr %200, i64 21
  %202 = call ptr @strrchr(ptr noundef %201, i32 noundef 47) #8
  %203 = getelementptr inbounds i8, ptr %202, i64 1
  br label %209

204:                                              ; preds = %188
  %205 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %206 = getelementptr inbounds %struct.s2n_debug_info, ptr %205, i32 0, i32 0
  %207 = load ptr, ptr %206, align 8, !tbaa !9
  %208 = getelementptr inbounds i8, ptr %207, i64 21
  br label %209

209:                                              ; preds = %204, %197
  %210 = phi ptr [ %203, %197 ], [ %208, %204 ]
  %211 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %212 = getelementptr inbounds %struct.s2n_debug_info, ptr %211, i32 0, i32 1
  store ptr %210, ptr %212, align 8, !tbaa !11
  %213 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  store i32 402653193, ptr %213, align 4, !tbaa !12
  %214 = call i32 @s2n_calculate_stacktrace()
  br label %215

215:                                              ; preds = %209
  br label %216

216:                                              ; preds = %215
  store i32 -1, ptr %2, align 4
  store i32 1, ptr %6, align 4
  br label %643

217:                                              ; No predecessors!
  br label %218

218:                                              ; preds = %217
  br label %219

219:                                              ; preds = %218, %183
  br label %220

220:                                              ; preds = %219
  br label %221

221:                                              ; preds = %220
  br label %222

222:                                              ; preds = %221
  %223 = load ptr, ptr %7, align 8, !tbaa !5
  %224 = getelementptr inbounds %struct.s2n_ecc_preferences, ptr %223, i32 0, i32 0
  %225 = load i8, ptr %224, align 8, !tbaa !49
  %226 = zext i8 %225 to i32
  %227 = icmp sgt i32 %226, 0
  br i1 %227, label %261, label %228

228:                                              ; preds = %222
  br label %229

229:                                              ; preds = %228
  br label %230

230:                                              ; preds = %229
  %231 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %232 = getelementptr inbounds %struct.s2n_debug_info, ptr %231, i32 0, i32 0
  store ptr @.str.41, ptr %232, align 8, !tbaa !9
  %233 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %234 = getelementptr inbounds %struct.s2n_debug_info, ptr %233, i32 0, i32 0
  %235 = load ptr, ptr %234, align 8, !tbaa !9
  %236 = getelementptr inbounds i8, ptr %235, i64 21
  %237 = call ptr @strrchr(ptr noundef %236, i32 noundef 47) #8
  %238 = icmp ne ptr %237, null
  br i1 %238, label %239, label %246

239:                                              ; preds = %230
  %240 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %241 = getelementptr inbounds %struct.s2n_debug_info, ptr %240, i32 0, i32 0
  %242 = load ptr, ptr %241, align 8, !tbaa !9
  %243 = getelementptr inbounds i8, ptr %242, i64 21
  %244 = call ptr @strrchr(ptr noundef %243, i32 noundef 47) #8
  %245 = getelementptr inbounds i8, ptr %244, i64 1
  br label %251

246:                                              ; preds = %230
  %247 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %248 = getelementptr inbounds %struct.s2n_debug_info, ptr %247, i32 0, i32 0
  %249 = load ptr, ptr %248, align 8, !tbaa !9
  %250 = getelementptr inbounds i8, ptr %249, i64 21
  br label %251

251:                                              ; preds = %246, %239
  %252 = phi ptr [ %245, %239 ], [ %250, %246 ]
  %253 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %254 = getelementptr inbounds %struct.s2n_debug_info, ptr %253, i32 0, i32 1
  store ptr %252, ptr %254, align 8, !tbaa !11
  %255 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  store i32 402653194, ptr %255, align 4, !tbaa !12
  %256 = call i32 @s2n_calculate_stacktrace()
  br label %257

257:                                              ; preds = %251
  br label %258

258:                                              ; preds = %257
  store i32 -1, ptr %2, align 4
  store i32 1, ptr %6, align 4
  br label %643

259:                                              ; No predecessors!
  br label %260

260:                                              ; preds = %259
  br label %261

261:                                              ; preds = %260, %222
  br label %262

262:                                              ; preds = %261
  br label %263

263:                                              ; preds = %262
  %264 = load ptr, ptr %7, align 8, !tbaa !5
  %265 = call zeroext i1 @s2n_ecc_preferences_includes_curve(ptr noundef %264, i16 noundef zeroext 23)
  br i1 %265, label %266, label %271

266:                                              ; preds = %263
  %267 = load ptr, ptr %3, align 8, !tbaa !5
  %268 = getelementptr inbounds %struct.s2n_connection, ptr %267, i32 0, i32 31
  %269 = getelementptr inbounds %struct.s2n_kex_parameters, ptr %268, i32 0, i32 1
  %270 = getelementptr inbounds %struct.s2n_ecc_evp_params, ptr %269, i32 0, i32 0
  store ptr @s2n_ecc_curve_secp256r1, ptr %270, align 8, !tbaa !51
  br label %281

271:                                              ; preds = %263
  %272 = load ptr, ptr %7, align 8, !tbaa !5
  %273 = getelementptr inbounds %struct.s2n_ecc_preferences, ptr %272, i32 0, i32 1
  %274 = load ptr, ptr %273, align 8, !tbaa !52
  %275 = getelementptr inbounds ptr, ptr %274, i64 0
  %276 = load ptr, ptr %275, align 8, !tbaa !5
  %277 = load ptr, ptr %3, align 8, !tbaa !5
  %278 = getelementptr inbounds %struct.s2n_connection, ptr %277, i32 0, i32 31
  %279 = getelementptr inbounds %struct.s2n_kex_parameters, ptr %278, i32 0, i32 1
  %280 = getelementptr inbounds %struct.s2n_ecc_evp_params, ptr %279, i32 0, i32 0
  store ptr %276, ptr %280, align 8, !tbaa !51
  br label %281

281:                                              ; preds = %271, %266
  br label %282

282:                                              ; preds = %281
  %283 = load ptr, ptr %3, align 8, !tbaa !5
  %284 = load ptr, ptr %3, align 8, !tbaa !5
  %285 = getelementptr inbounds %struct.s2n_connection, ptr %284, i32 0, i32 71
  %286 = getelementptr inbounds %struct.s2n_client_hello, ptr %285, i32 0, i32 1
  %287 = call i32 @s2n_extension_list_process(i32 noundef 0, ptr noundef %283, ptr noundef %286)
  %288 = icmp sgt i32 %287, -1
  br i1 %288, label %290, label %289

289:                                              ; preds = %282
  store i32 -1, ptr %2, align 4
  store i32 1, ptr %6, align 4
  br label %643

290:                                              ; preds = %282
  br label %291

291:                                              ; preds = %290
  br label %292

292:                                              ; preds = %291
  %293 = load ptr, ptr %3, align 8, !tbaa !5
  %294 = getelementptr inbounds %struct.s2n_connection, ptr %293, i32 0, i32 23
  %295 = load i8, ptr %294, align 4, !tbaa !48
  %296 = zext i8 %295 to i32
  %297 = icmp sge i32 %296, 34
  br i1 %297, label %298, label %307

298:                                              ; preds = %292
  br label %299

299:                                              ; preds = %298
  %300 = load ptr, ptr %3, align 8, !tbaa !5
  %301 = call i32 @s2n_extensions_server_key_share_select(ptr noundef %300)
  %302 = icmp sgt i32 %301, -1
  br i1 %302, label %304, label %303

303:                                              ; preds = %299
  store i32 -1, ptr %2, align 4
  store i32 1, ptr %6, align 4
  br label %643

304:                                              ; preds = %299
  br label %305

305:                                              ; preds = %304
  br label %306

306:                                              ; preds = %305
  br label %307

307:                                              ; preds = %306, %292
  %308 = load ptr, ptr %3, align 8, !tbaa !5
  %309 = getelementptr inbounds %struct.s2n_connection, ptr %308, i32 0, i32 23
  %310 = load i8, ptr %309, align 4, !tbaa !48
  %311 = zext i8 %310 to i32
  %312 = icmp slt i32 %311, 34
  br i1 %312, label %313, label %338

313:                                              ; preds = %307
  %314 = load ptr, ptr %3, align 8, !tbaa !5
  %315 = getelementptr inbounds %struct.s2n_connection, ptr %314, i32 0, i32 22
  %316 = load i8, ptr %315, align 1, !tbaa !47
  %317 = zext i8 %316 to i32
  %318 = load ptr, ptr %3, align 8, !tbaa !5
  %319 = getelementptr inbounds %struct.s2n_connection, ptr %318, i32 0, i32 21
  %320 = load i8, ptr %319, align 2, !tbaa !53
  %321 = zext i8 %320 to i32
  %322 = icmp slt i32 %317, %321
  br i1 %322, label %323, label %328

323:                                              ; preds = %313
  %324 = load ptr, ptr %3, align 8, !tbaa !5
  %325 = getelementptr inbounds %struct.s2n_connection, ptr %324, i32 0, i32 22
  %326 = load i8, ptr %325, align 1, !tbaa !47
  %327 = zext i8 %326 to i32
  br label %333

328:                                              ; preds = %313
  %329 = load ptr, ptr %3, align 8, !tbaa !5
  %330 = getelementptr inbounds %struct.s2n_connection, ptr %329, i32 0, i32 21
  %331 = load i8, ptr %330, align 2, !tbaa !53
  %332 = zext i8 %331 to i32
  br label %333

333:                                              ; preds = %328, %323
  %334 = phi i32 [ %327, %323 ], [ %332, %328 ]
  %335 = trunc i32 %334 to i8
  %336 = load ptr, ptr %3, align 8, !tbaa !5
  %337 = getelementptr inbounds %struct.s2n_connection, ptr %336, i32 0, i32 23
  store i8 %335, ptr %337, align 4, !tbaa !48
  br label %338

338:                                              ; preds = %333, %307
  %339 = load ptr, ptr %3, align 8, !tbaa !5
  %340 = getelementptr inbounds %struct.s2n_connection, ptr %339, i32 0, i32 21
  %341 = load i8, ptr %340, align 2, !tbaa !53
  %342 = zext i8 %341 to i32
  %343 = load ptr, ptr %5, align 8, !tbaa !5
  %344 = getelementptr inbounds %struct.s2n_security_policy, ptr %343, i32 0, i32 0
  %345 = load i8, ptr %344, align 8, !tbaa !54
  %346 = zext i8 %345 to i32
  %347 = icmp slt i32 %342, %346
  br i1 %347, label %348, label %389

348:                                              ; preds = %338
  br label %349

349:                                              ; preds = %348
  %350 = load ptr, ptr %3, align 8, !tbaa !5
  %351 = call i32 @s2n_queue_reader_unsupported_protocol_version_alert(ptr noundef %350)
  %352 = icmp sgt i32 %351, -1
  br i1 %352, label %354, label %353

353:                                              ; preds = %349
  store i32 -1, ptr %2, align 4
  store i32 1, ptr %6, align 4
  br label %643

354:                                              ; preds = %349
  br label %355

355:                                              ; preds = %354
  br label %356

356:                                              ; preds = %355
  br label %357

357:                                              ; preds = %356
  br label %358

358:                                              ; preds = %357
  %359 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %360 = getelementptr inbounds %struct.s2n_debug_info, ptr %359, i32 0, i32 0
  store ptr @.str.42, ptr %360, align 8, !tbaa !9
  %361 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %362 = getelementptr inbounds %struct.s2n_debug_info, ptr %361, i32 0, i32 0
  %363 = load ptr, ptr %362, align 8, !tbaa !9
  %364 = getelementptr inbounds i8, ptr %363, i64 21
  %365 = call ptr @strrchr(ptr noundef %364, i32 noundef 47) #8
  %366 = icmp ne ptr %365, null
  br i1 %366, label %367, label %374

367:                                              ; preds = %358
  %368 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %369 = getelementptr inbounds %struct.s2n_debug_info, ptr %368, i32 0, i32 0
  %370 = load ptr, ptr %369, align 8, !tbaa !9
  %371 = getelementptr inbounds i8, ptr %370, i64 21
  %372 = call ptr @strrchr(ptr noundef %371, i32 noundef 47) #8
  %373 = getelementptr inbounds i8, ptr %372, i64 1
  br label %379

374:                                              ; preds = %358
  %375 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %376 = getelementptr inbounds %struct.s2n_debug_info, ptr %375, i32 0, i32 0
  %377 = load ptr, ptr %376, align 8, !tbaa !9
  %378 = getelementptr inbounds i8, ptr %377, i64 21
  br label %379

379:                                              ; preds = %374, %367
  %380 = phi ptr [ %373, %367 ], [ %378, %374 ]
  %381 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %382 = getelementptr inbounds %struct.s2n_debug_info, ptr %381, i32 0, i32 1
  store ptr %380, ptr %382, align 8, !tbaa !11
  %383 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  store i32 335544384, ptr %383, align 4, !tbaa !12
  %384 = call i32 @s2n_calculate_stacktrace()
  br label %385

385:                                              ; preds = %379
  br label %386

386:                                              ; preds = %385
  store i32 -1, ptr %2, align 4
  store i32 1, ptr %6, align 4
  br label %643

387:                                              ; No predecessors!
  br label %388

388:                                              ; preds = %387
  br label %389

389:                                              ; preds = %388, %338
  %390 = load ptr, ptr %3, align 8, !tbaa !5
  %391 = call zeroext i1 @s2n_connection_is_quic_enabled(ptr noundef %390)
  br i1 %391, label %392, label %435

392:                                              ; preds = %389
  br label %393

393:                                              ; preds = %392
  %394 = load ptr, ptr %3, align 8, !tbaa !5
  %395 = getelementptr inbounds %struct.s2n_connection, ptr %394, i32 0, i32 23
  %396 = load i8, ptr %395, align 4, !tbaa !48
  %397 = zext i8 %396 to i32
  %398 = icmp sge i32 %397, 34
  br i1 %398, label %432, label %399

399:                                              ; preds = %393
  br label %400

400:                                              ; preds = %399
  br label %401

401:                                              ; preds = %400
  %402 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %403 = getelementptr inbounds %struct.s2n_debug_info, ptr %402, i32 0, i32 0
  store ptr @.str.43, ptr %403, align 8, !tbaa !9
  %404 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %405 = getelementptr inbounds %struct.s2n_debug_info, ptr %404, i32 0, i32 0
  %406 = load ptr, ptr %405, align 8, !tbaa !9
  %407 = getelementptr inbounds i8, ptr %406, i64 21
  %408 = call ptr @strrchr(ptr noundef %407, i32 noundef 47) #8
  %409 = icmp ne ptr %408, null
  br i1 %409, label %410, label %417

410:                                              ; preds = %401
  %411 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %412 = getelementptr inbounds %struct.s2n_debug_info, ptr %411, i32 0, i32 0
  %413 = load ptr, ptr %412, align 8, !tbaa !9
  %414 = getelementptr inbounds i8, ptr %413, i64 21
  %415 = call ptr @strrchr(ptr noundef %414, i32 noundef 47) #8
  %416 = getelementptr inbounds i8, ptr %415, i64 1
  br label %422

417:                                              ; preds = %401
  %418 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %419 = getelementptr inbounds %struct.s2n_debug_info, ptr %418, i32 0, i32 0
  %420 = load ptr, ptr %419, align 8, !tbaa !9
  %421 = getelementptr inbounds i8, ptr %420, i64 21
  br label %422

422:                                              ; preds = %417, %410
  %423 = phi ptr [ %416, %410 ], [ %421, %417 ]
  %424 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %425 = getelementptr inbounds %struct.s2n_debug_info, ptr %424, i32 0, i32 1
  store ptr %423, ptr %425, align 8, !tbaa !11
  %426 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  store i32 335544384, ptr %426, align 4, !tbaa !12
  %427 = call i32 @s2n_calculate_stacktrace()
  br label %428

428:                                              ; preds = %422
  br label %429

429:                                              ; preds = %428
  store i32 -1, ptr %2, align 4
  store i32 1, ptr %6, align 4
  br label %643

430:                                              ; No predecessors!
  br label %431

431:                                              ; preds = %430
  br label %432

432:                                              ; preds = %431, %393
  br label %433

433:                                              ; preds = %432
  br label %434

434:                                              ; preds = %433
  br label %435

435:                                              ; preds = %434, %389
  br label %436

436:                                              ; preds = %435
  %437 = load ptr, ptr %3, align 8, !tbaa !5
  %438 = call i32 @s2n_conn_find_name_matching_certs(ptr noundef %437)
  %439 = icmp sgt i32 %438, -1
  br i1 %439, label %441, label %440

440:                                              ; preds = %436
  store i32 -1, ptr %2, align 4
  store i32 1, ptr %6, align 4
  br label %643

441:                                              ; preds = %436
  br label %442

442:                                              ; preds = %441
  br label %443

443:                                              ; preds = %442
  call void @llvm.lifetime.start.p0(i64 2, ptr %8) #9
  call void @llvm.memset.p0.i64(ptr align 1 %8, i8 0, i64 2, i1 false)
  br label %444

444:                                              ; preds = %443
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #9
  store i32 2, ptr %9, align 4, !tbaa !12
  %445 = load i32, ptr %9, align 4, !tbaa !12
  %446 = icmp ne i32 %445, 0
  %447 = xor i1 %446, true
  %448 = xor i1 %447, true
  %449 = zext i1 %448 to i32
  %450 = sext i32 %449 to i64
  %451 = call i64 @llvm.expect.i64(i64 %450, i64 1)
  %452 = icmp ne i64 %451, 0
  br i1 %452, label %453, label %507

453:                                              ; preds = %444
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #9
  %454 = getelementptr inbounds [2 x i8], ptr %8, i64 0, i64 0
  %455 = load ptr, ptr %3, align 8, !tbaa !5
  %456 = getelementptr inbounds %struct.s2n_connection, ptr %455, i32 0, i32 27
  %457 = load ptr, ptr %456, align 8, !tbaa !14
  %458 = getelementptr inbounds %struct.s2n_crypto_parameters, ptr %457, i32 0, i32 0
  %459 = load ptr, ptr %458, align 8, !tbaa !42
  %460 = getelementptr inbounds %struct.s2n_cipher_suite, ptr %459, i32 0, i32 3
  %461 = getelementptr inbounds [2 x i8], ptr %460, i64 0, i64 0
  %462 = load i32, ptr %9, align 4, !tbaa !12
  %463 = sext i32 %462 to i64
  %464 = call ptr @s2n_ensure_memmove_trace(ptr noundef %454, ptr noundef %461, i64 noundef %463)
  store ptr %464, ptr %10, align 8, !tbaa !5
  br label %465

465:                                              ; preds = %453
  %466 = load ptr, ptr %10, align 8, !tbaa !5
  %467 = icmp ne ptr %466, null
  br i1 %467, label %501, label %468

468:                                              ; preds = %465
  br label %469

469:                                              ; preds = %468
  br label %470

470:                                              ; preds = %469
  %471 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %472 = getelementptr inbounds %struct.s2n_debug_info, ptr %471, i32 0, i32 0
  store ptr @.str.44, ptr %472, align 8, !tbaa !9
  %473 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %474 = getelementptr inbounds %struct.s2n_debug_info, ptr %473, i32 0, i32 0
  %475 = load ptr, ptr %474, align 8, !tbaa !9
  %476 = getelementptr inbounds i8, ptr %475, i64 21
  %477 = call ptr @strrchr(ptr noundef %476, i32 noundef 47) #8
  %478 = icmp ne ptr %477, null
  br i1 %478, label %479, label %486

479:                                              ; preds = %470
  %480 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %481 = getelementptr inbounds %struct.s2n_debug_info, ptr %480, i32 0, i32 0
  %482 = load ptr, ptr %481, align 8, !tbaa !9
  %483 = getelementptr inbounds i8, ptr %482, i64 21
  %484 = call ptr @strrchr(ptr noundef %483, i32 noundef 47) #8
  %485 = getelementptr inbounds i8, ptr %484, i64 1
  br label %491

486:                                              ; preds = %470
  %487 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %488 = getelementptr inbounds %struct.s2n_debug_info, ptr %487, i32 0, i32 0
  %489 = load ptr, ptr %488, align 8, !tbaa !9
  %490 = getelementptr inbounds i8, ptr %489, i64 21
  br label %491

491:                                              ; preds = %486, %479
  %492 = phi ptr [ %485, %479 ], [ %490, %486 ]
  %493 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %494 = getelementptr inbounds %struct.s2n_debug_info, ptr %493, i32 0, i32 1
  store ptr %492, ptr %494, align 8, !tbaa !11
  %495 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  store i32 402653193, ptr %495, align 4, !tbaa !12
  %496 = call i32 @s2n_calculate_stacktrace()
  br label %497

497:                                              ; preds = %491
  br label %498

498:                                              ; preds = %497
  store i32 -1, ptr %2, align 4
  store i32 1, ptr %6, align 4
  br label %504

499:                                              ; No predecessors!
  br label %500

500:                                              ; preds = %499
  br label %501

501:                                              ; preds = %500, %465
  br label %502

502:                                              ; preds = %501
  br label %503

503:                                              ; preds = %502
  store i32 0, ptr %6, align 4
  br label %504

504:                                              ; preds = %503, %498
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #9
  %505 = load i32, ptr %6, align 4
  switch i32 %505, label %508 [
    i32 0, label %506
  ]

506:                                              ; preds = %504
  br label %507

507:                                              ; preds = %506, %444
  store i32 0, ptr %6, align 4
  br label %508

508:                                              ; preds = %507, %504
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #9
  %509 = load i32, ptr %6, align 4
  switch i32 %509, label %642 [
    i32 0, label %510
  ]

510:                                              ; preds = %508
  br label %511

511:                                              ; preds = %510
  br label %512

512:                                              ; preds = %511
  %513 = load ptr, ptr %3, align 8, !tbaa !5
  %514 = getelementptr inbounds %struct.s2n_connection, ptr %513, i32 0, i32 20
  %515 = load i8, ptr %514, align 1, !tbaa !56
  %516 = zext i8 %515 to i32
  %517 = icmp eq i32 %516, 20
  br i1 %517, label %518, label %537

518:                                              ; preds = %512
  br label %519

519:                                              ; preds = %518
  %520 = load ptr, ptr %3, align 8, !tbaa !5
  %521 = load ptr, ptr %4, align 8, !tbaa !5
  %522 = getelementptr inbounds %struct.s2n_client_hello, ptr %521, i32 0, i32 2
  %523 = getelementptr inbounds %struct.s2n_blob, ptr %522, i32 0, i32 0
  %524 = load ptr, ptr %523, align 8, !tbaa !57
  %525 = load ptr, ptr %4, align 8, !tbaa !5
  %526 = getelementptr inbounds %struct.s2n_client_hello, ptr %525, i32 0, i32 2
  %527 = getelementptr inbounds %struct.s2n_blob, ptr %526, i32 0, i32 1
  %528 = load i32, ptr %527, align 8, !tbaa !58
  %529 = udiv i32 %528, 3
  %530 = trunc i32 %529 to i16
  %531 = call i32 @s2n_set_cipher_as_sslv2_server(ptr noundef %520, ptr noundef %524, i16 noundef zeroext %530)
  %532 = icmp sgt i32 %531, -1
  br i1 %532, label %534, label %533

533:                                              ; preds = %519
  store i32 -1, ptr %2, align 4
  store i32 1, ptr %6, align 4
  br label %642

534:                                              ; preds = %519
  br label %535

535:                                              ; preds = %534
  br label %536

536:                                              ; preds = %535
  br label %556

537:                                              ; preds = %512
  br label %538

538:                                              ; preds = %537
  %539 = load ptr, ptr %3, align 8, !tbaa !5
  %540 = load ptr, ptr %4, align 8, !tbaa !5
  %541 = getelementptr inbounds %struct.s2n_client_hello, ptr %540, i32 0, i32 2
  %542 = getelementptr inbounds %struct.s2n_blob, ptr %541, i32 0, i32 0
  %543 = load ptr, ptr %542, align 8, !tbaa !57
  %544 = load ptr, ptr %4, align 8, !tbaa !5
  %545 = getelementptr inbounds %struct.s2n_client_hello, ptr %544, i32 0, i32 2
  %546 = getelementptr inbounds %struct.s2n_blob, ptr %545, i32 0, i32 1
  %547 = load i32, ptr %546, align 8, !tbaa !58
  %548 = udiv i32 %547, 2
  %549 = trunc i32 %548 to i16
  %550 = call i32 @s2n_set_cipher_as_tls_server(ptr noundef %539, ptr noundef %543, i16 noundef zeroext %549)
  %551 = icmp sgt i32 %550, -1
  br i1 %551, label %553, label %552

552:                                              ; preds = %538
  store i32 -1, ptr %2, align 4
  store i32 1, ptr %6, align 4
  br label %642

553:                                              ; preds = %538
  br label %554

554:                                              ; preds = %553
  br label %555

555:                                              ; preds = %554
  br label %556

556:                                              ; preds = %555, %536
  %557 = load ptr, ptr %3, align 8, !tbaa !5
  %558 = call zeroext i1 @s2n_is_hello_retry_handshake(ptr noundef %557)
  br i1 %558, label %559, label %612

559:                                              ; preds = %556
  %560 = load ptr, ptr %3, align 8, !tbaa !5
  %561 = getelementptr inbounds %struct.s2n_connection, ptr %560, i32 0, i32 52
  %562 = getelementptr inbounds %struct.s2n_handshake, ptr %561, i32 0, i32 7
  %563 = load i32, ptr %562, align 8, !tbaa !59
  %564 = icmp sgt i32 %563, 0
  br i1 %564, label %565, label %612

565:                                              ; preds = %559
  br label %566

566:                                              ; preds = %565
  %567 = getelementptr inbounds [2 x i8], ptr %8, i64 0, i64 0
  %568 = load ptr, ptr %3, align 8, !tbaa !5
  %569 = getelementptr inbounds %struct.s2n_connection, ptr %568, i32 0, i32 27
  %570 = load ptr, ptr %569, align 8, !tbaa !14
  %571 = getelementptr inbounds %struct.s2n_crypto_parameters, ptr %570, i32 0, i32 0
  %572 = load ptr, ptr %571, align 8, !tbaa !42
  %573 = getelementptr inbounds %struct.s2n_cipher_suite, ptr %572, i32 0, i32 3
  %574 = getelementptr inbounds [2 x i8], ptr %573, i64 0, i64 0
  %575 = call zeroext i1 @s2n_constant_time_equals(ptr noundef %567, ptr noundef %574, i32 noundef 2)
  br i1 %575, label %609, label %576

576:                                              ; preds = %566
  br label %577

577:                                              ; preds = %576
  br label %578

578:                                              ; preds = %577
  %579 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %580 = getelementptr inbounds %struct.s2n_debug_info, ptr %579, i32 0, i32 0
  store ptr @.str.45, ptr %580, align 8, !tbaa !9
  %581 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %582 = getelementptr inbounds %struct.s2n_debug_info, ptr %581, i32 0, i32 0
  %583 = load ptr, ptr %582, align 8, !tbaa !9
  %584 = getelementptr inbounds i8, ptr %583, i64 21
  %585 = call ptr @strrchr(ptr noundef %584, i32 noundef 47) #8
  %586 = icmp ne ptr %585, null
  br i1 %586, label %587, label %594

587:                                              ; preds = %578
  %588 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %589 = getelementptr inbounds %struct.s2n_debug_info, ptr %588, i32 0, i32 0
  %590 = load ptr, ptr %589, align 8, !tbaa !9
  %591 = getelementptr inbounds i8, ptr %590, i64 21
  %592 = call ptr @strrchr(ptr noundef %591, i32 noundef 47) #8
  %593 = getelementptr inbounds i8, ptr %592, i64 1
  br label %599

594:                                              ; preds = %578
  %595 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %596 = getelementptr inbounds %struct.s2n_debug_info, ptr %595, i32 0, i32 0
  %597 = load ptr, ptr %596, align 8, !tbaa !9
  %598 = getelementptr inbounds i8, ptr %597, i64 21
  br label %599

599:                                              ; preds = %594, %587
  %600 = phi ptr [ %593, %587 ], [ %598, %594 ]
  %601 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %602 = getelementptr inbounds %struct.s2n_debug_info, ptr %601, i32 0, i32 1
  store ptr %600, ptr %602, align 8, !tbaa !11
  %603 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  store i32 335544322, ptr %603, align 4, !tbaa !12
  %604 = call i32 @s2n_calculate_stacktrace()
  br label %605

605:                                              ; preds = %599
  br label %606

606:                                              ; preds = %605
  store i32 -1, ptr %2, align 4
  store i32 1, ptr %6, align 4
  br label %642

607:                                              ; No predecessors!
  br label %608

608:                                              ; preds = %607
  br label %609

609:                                              ; preds = %608, %566
  br label %610

610:                                              ; preds = %609
  br label %611

611:                                              ; preds = %610
  br label %612

612:                                              ; preds = %611, %559, %556
  %613 = load ptr, ptr %3, align 8, !tbaa !5
  %614 = getelementptr inbounds %struct.s2n_connection, ptr %613, i32 0, i32 33
  %615 = getelementptr inbounds %struct.s2n_psk_parameters, ptr %614, i32 0, i32 4
  %616 = load ptr, ptr %615, align 8, !tbaa !60
  %617 = icmp ne ptr %616, null
  br i1 %617, label %618, label %619

618:                                              ; preds = %612
  store i32 0, ptr %2, align 4
  store i32 1, ptr %6, align 4
  br label %642

619:                                              ; preds = %612
  br label %620

620:                                              ; preds = %619
  %621 = load ptr, ptr %3, align 8, !tbaa !5
  %622 = call i32 @s2n_signature_algorithm_select(ptr noundef %621)
  %623 = getelementptr inbounds %struct.s2n_result, ptr %11, i32 0, i32 0
  store i32 %622, ptr %623, align 4
  %624 = getelementptr inbounds %struct.s2n_result, ptr %11, i32 0, i32 0
  %625 = load i32, ptr %624, align 4
  %626 = call zeroext i1 @s2n_result_is_ok(i32 %625)
  br i1 %626, label %628, label %627

627:                                              ; preds = %620
  store i32 -1, ptr %2, align 4
  store i32 1, ptr %6, align 4
  br label %642

628:                                              ; preds = %620
  br label %629

629:                                              ; preds = %628
  br label %630

630:                                              ; preds = %629
  br label %631

631:                                              ; preds = %630
  %632 = load ptr, ptr %3, align 8, !tbaa !5
  %633 = load ptr, ptr %3, align 8, !tbaa !5
  %634 = getelementptr inbounds %struct.s2n_connection, ptr %633, i32 0, i32 32
  %635 = getelementptr inbounds %struct.s2n_handshake_parameters, ptr %634, i32 0, i32 7
  %636 = call i32 @s2n_select_certs_for_server_auth(ptr noundef %632, ptr noundef %635)
  %637 = icmp sgt i32 %636, -1
  br i1 %637, label %639, label %638

638:                                              ; preds = %631
  store i32 -1, ptr %2, align 4
  store i32 1, ptr %6, align 4
  br label %642

639:                                              ; preds = %631
  br label %640

640:                                              ; preds = %639
  br label %641

641:                                              ; preds = %640
  store i32 0, ptr %2, align 4
  store i32 1, ptr %6, align 4
  br label %642

642:                                              ; preds = %641, %638, %627, %618, %606, %552, %533, %508
  call void @llvm.lifetime.end.p0(i64 2, ptr %8) #9
  br label %643

643:                                              ; preds = %642, %440, %429, %386, %353, %303, %289, %258, %216, %179
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #9
  br label %644

644:                                              ; preds = %643, %132
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #9
  br label %645

645:                                              ; preds = %644, %122, %82, %44
  %646 = load i32, ptr %2, align 4
  ret i32 %646
}

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

declare zeroext i1 @s2n_connection_supports_tls13(ptr noundef) #2

declare zeroext i1 @s2n_security_policy_supports_tls13(ptr noundef) #2

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

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

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

declare i32 @s2n_extensions_server_key_share_select(ptr noundef) #2

declare i32 @s2n_queue_reader_unsupported_protocol_version_alert(ptr noundef) #2

declare zeroext i1 @s2n_connection_is_quic_enabled(ptr noundef) #2

declare i32 @s2n_conn_find_name_matching_certs(ptr noundef) #2

declare i32 @s2n_set_cipher_as_sslv2_server(ptr noundef, ptr noundef, i16 noundef zeroext) #2

declare i32 @s2n_set_cipher_as_tls_server(ptr noundef, ptr noundef, i16 noundef zeroext) #2

declare zeroext i1 @s2n_constant_time_equals(ptr noundef, ptr noundef, i32 noundef) #2

declare i32 @s2n_signature_algorithm_select(ptr noundef) #2

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

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

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"s2n_debug_info", !6, i64 0, !6, i64 8}
!11 = !{!10, !6, i64 8}
!12 = !{!13, !13, i64 0}
!13 = !{!"int", !7, i64 0}
!14 = !{!15, !6, i64 232}
!15 = !{!"s2n_connection", !13, i64 0, !13, i64 0, !13, i64 0, !13, i64 0, !13, i64 0, !13, i64 0, !13, i64 0, !13, i64 0, !13, i64 1, !13, i64 1, !13, i64 1, !13, i64 1, !13, i64 1, !13, i64 1, !13, i64 1, !13, i64 1, !13, i64 2, !13, i64 2, !13, i64 2, !13, i64 2, !13, i64 2, !13, i64 2, !13, i64 2, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !7, i64 80, !7, i64 102, !7, i64 124, !13, i64 148, !13, i64 152, !16, i64 160, !17, i64 168, !17, i64 176, !7, i64 184, !7, i64 216, !7, i64 217, !7, i64 218, !7, i64 219, !7, i64 220, !7, i64 221, !7, i64 222, !6, i64 224, !6, i64 232, !18, i64 240, !6, i64 632, !6, i64 640, !19, i64 648, !26, i64 1144, !29, i64 1688, !6, i64 1752, !7, i64 1760, !13, i64 1764, !7, i64 1768, !32, i64 1776, !32, i64 1816, !32, i64 1856, !32, i64 1896, !13, i64 1936, !17, i64 1944, !7, i64 1952, !32, i64 1960, !7, i64 2000, !7, i64 2001, !7, i64 2002, !25, i64 2003, !33, i64 2004, !33, i64 2008, !34, i64 2016, !31, i64 2208, !13, i64 2212, !31, i64 2216, !17, i64 2224, !7, i64 2232, !17, i64 2240, !17, i64 2248, !17, i64 2256, !33, i64 2264, !33, i64 2268, !7, i64 2272, !7, i64 2528, !13, i64 2784, !24, i64 2792, !13, i64 2816, !24, i64 2824, !24, i64 2848, !24, i64 2872, !36, i64 2896, !38, i64 3704, !6, i64 3760, !6, i64 3768, !7, i64 3776, !13, i64 3780, !24, i64 3784, !13, i64 3808, !40, i64 3816, !7, i64 3848, !32, i64 3992, !24, i64 4032, !24, i64 4056, !25, i64 4080, !25, i64 4081, !25, i64 4082, !31, i64 4084, !31, i64 4086, !13, i64 4088, !13, i64 4092, !24, i64 4096, !13, i64 4120, !41, i64 4128, !33, i64 4176, !7, i64 4180, !7, i64 4181}
!16 = !{!"s2n_timer", !17, i64 0}
!17 = !{!"long", !7, i64 0}
!18 = !{!"s2n_secrets", !7, i64 0, !13, i64 388}
!19 = !{!"s2n_kex_parameters", !20, i64 0, !21, i64 8, !7, i64 24, !21, i64 56, !22, i64 72, !22, i64 184, !7, i64 296, !23, i64 360, !24, i64 448, !24, i64 472}
!20 = !{!"s2n_dh_params", !6, i64 0}
!21 = !{!"s2n_ecc_evp_params", !6, i64 0, !6, i64 8}
!22 = !{!"s2n_kem_group_params", !6, i64 0, !23, i64 8, !21, i64 96}
!23 = !{!"s2n_kem_params", !6, i64 0, !24, i64 8, !24, i64 32, !24, i64 56, !25, i64 80}
!24 = !{!"s2n_blob", !6, i64 0, !13, i64 8, !13, i64 12, !13, i64 16}
!25 = !{!"_Bool", !7, i64 0}
!26 = !{!"s2n_handshake_parameters", !27, i64 0, !27, i64 48, !24, i64 96, !13, i64 120, !28, i64 124, !6, i64 384, !6, i64 392, !6, i64 400, !7, i64 408, !7, i64 440, !7, i64 472, !7, i64 473, !7, i64 474, !7, i64 506}
!27 = !{!"s2n_pkey", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40}
!28 = !{!"s2n_sig_scheme_list", !7, i64 0, !7, i64 256}
!29 = !{!"s2n_psk_parameters", !13, i64 0, !30, i64 8, !31, i64 40, !31, i64 42, !6, i64 48, !13, i64 56}
!30 = !{!"s2n_array", !24, i64 0, !13, i64 24, !13, i64 28}
!31 = !{!"short", !7, i64 0}
!32 = !{!"s2n_stuffer", !24, i64 0, !13, i64 24, !13, i64 28, !13, i64 32, !13, i64 36, !13, i64 36, !13, i64 36}
!33 = !{!"", !13, i64 0}
!34 = !{!"s2n_handshake", !32, i64 0, !6, i64 40, !7, i64 48, !7, i64 56, !7, i64 104, !7, i64 152, !13, i64 156, !13, i64 160, !13, i64 164, !13, i64 168, !35, i64 176, !13, i64 184, !13, i64 184, !13, i64 184, !13, i64 184, !13, i64 188}
!35 = !{!"s2n_offered_early_data", !6, i64 0}
!36 = !{!"s2n_client_hello", !24, i64 0, !37, i64 24, !24, i64 728, !24, i64 752, !24, i64 776, !7, i64 800, !7, i64 801, !13, i64 802, !13, i64 802, !13, i64 802, !13, i64 802, !13, i64 802, !13, i64 802, !13, i64 802}
!37 = !{!"", !7, i64 0, !24, i64 672, !31, i64 696}
!38 = !{!"s2n_x509_validator", !6, i64 0, !6, i64 8, !7, i64 16, !7, i64 17, !31, i64 18, !6, i64 24, !13, i64 32, !6, i64 40, !39, i64 48, !25, i64 52}
!39 = !{!"s2n_cert_validation_info", !13, i64 0, !13, i64 0}
!40 = !{!"s2n_ticket_fields", !24, i64 0, !13, i64 24}
!41 = !{!"s2n_post_handshake", !32, i64 0, !7, i64 40}
!42 = !{!43, !6, i64 0}
!43 = !{!"s2n_crypto_parameters", !6, i64 0, !44, i64 8, !44, i64 16, !45, i64 24, !45, i64 456, !7, i64 888, !7, i64 904, !7, i64 920, !7, i64 928}
!44 = !{!"s2n_session_key", !6, i64 0}
!45 = !{!"s2n_hmac_state", !13, i64 0, !31, i64 4, !13, i64 8, !31, i64 12, !7, i64 14, !46, i64 16, !46, i64 72, !46, i64 128, !46, i64 184, !7, i64 240, !7, i64 368}
!46 = !{!"s2n_hash_state", !6, i64 0, !13, i64 8, !7, i64 12, !17, i64 16, !7, i64 24}
!47 = !{!15, !7, i64 219}
!48 = !{!15, !7, i64 220}
!49 = !{!50, !7, i64 0}
!50 = !{!"s2n_ecc_preferences", !7, i64 0, !6, i64 8}
!51 = !{!15, !6, i64 656}
!52 = !{!50, !6, i64 8}
!53 = !{!15, !7, i64 218}
!54 = !{!55, !7, i64 0}
!55 = !{!"s2n_security_policy", !7, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !25, i64 56, !7, i64 57}
!56 = !{!15, !7, i64 217}
!57 = !{!36, !6, i64 728}
!58 = !{!36, !13, i64 736}
!59 = !{!15, !13, i64 2176}
!60 = !{!15, !6, i64 1736}


; 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_ecc_named_curve = type { i16, i32, ptr, i8, ptr }

@_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
@.str.37 = external hidden unnamed_addr constant [93 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [93 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [93 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [93 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [93 x i8], align 1
@s2n_ecc_curve_secp256r1 = external constant %struct.s2n_ecc_named_curve, align 8
@.str.42 = external hidden unnamed_addr constant [93 x i8], align 1
@.str.43 = external hidden unnamed_addr constant [93 x i8], align 1
@.str.44 = external hidden unnamed_addr constant [93 x i8], align 1
@.str.45 = external hidden unnamed_addr constant [93 x i8], align 1

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

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

declare i32 @s2n_calculate_stacktrace() local_unnamed_addr #2

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

declare ptr @s2n_ensure_memmove_trace(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2

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

declare zeroext i1 @s2n_is_hello_retry_handshake(ptr noundef) local_unnamed_addr #2

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

; Function Attrs: nounwind uwtable
define dso_local range(i32 -1, 1) i32 @s2n_process_client_hello(ptr noundef %0) local_unnamed_addr #5 {
  %2 = alloca ptr, align 8
  %3 = alloca ptr, align 8
  %4 = alloca [2 x i8], align 2
  %.not = icmp eq ptr %0, null
  br i1 %.not, label %5, label %13

5:                                                ; preds = %1
  %6 = tail call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  store ptr @.str.37, ptr %6, align 8, !tbaa !5
  %7 = tail call ptr @strrchr(ptr noundef nonnull dereferenceable(1) getelementptr inbounds (i8, ptr @.str.37, i64 21), i32 noundef 47) #7
  %.not68 = icmp eq ptr %7, null
  %8 = getelementptr inbounds i8, ptr %7, i64 1
  %9 = select i1 %.not68, ptr getelementptr inbounds (i8, ptr @.str.37, i64 21), ptr %8
  %10 = getelementptr inbounds i8, ptr %6, i64 8
  store ptr %9, ptr %10, align 8, !tbaa !10
  %11 = tail call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  store i32 402653193, ptr %11, align 4, !tbaa !11
  %12 = tail call i32 @s2n_calculate_stacktrace() #8
  br label %186

13:                                               ; preds = %1
  %14 = getelementptr inbounds i8, ptr %0, i64 232
  %15 = load ptr, ptr %14, align 8, !tbaa !13
  %.not69 = icmp eq ptr %15, null
  br i1 %.not69, label %16, label %24

16:                                               ; preds = %13
  %17 = tail call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  store ptr @.str.38, ptr %17, align 8, !tbaa !5
  %18 = tail call ptr @strrchr(ptr noundef nonnull dereferenceable(1) getelementptr inbounds (i8, ptr @.str.38, i64 21), i32 noundef 47) #7
  %.not70 = icmp eq ptr %18, null
  %19 = getelementptr inbounds i8, ptr %18, i64 1
  %20 = select i1 %.not70, ptr getelementptr inbounds (i8, ptr @.str.38, i64 21), ptr %19
  %21 = getelementptr inbounds i8, ptr %17, i64 8
  store ptr %20, ptr %21, align 8, !tbaa !10
  %22 = tail call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  store i32 402653193, ptr %22, align 4, !tbaa !11
  %23 = tail call i32 @s2n_calculate_stacktrace() #8
  br label %186

24:                                               ; preds = %13
  %25 = load ptr, ptr %15, align 8, !tbaa !41
  %.not71 = icmp eq ptr %25, null
  br i1 %.not71, label %26, label %34

26:                                               ; preds = %24
  %27 = tail call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  store ptr @.str.39, ptr %27, align 8, !tbaa !5
  %28 = tail call ptr @strrchr(ptr noundef nonnull dereferenceable(1) getelementptr inbounds (i8, ptr @.str.39, i64 21), i32 noundef 47) #7
  %.not72 = icmp eq ptr %28, null
  %29 = getelementptr inbounds i8, ptr %28, i64 1
  %30 = select i1 %.not72, ptr getelementptr inbounds (i8, ptr @.str.39, i64 21), ptr %29
  %31 = getelementptr inbounds i8, ptr %27, i64 8
  store ptr %30, ptr %31, align 8, !tbaa !10
  %32 = tail call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  store i32 402653193, ptr %32, align 4, !tbaa !11
  %33 = tail call i32 @s2n_calculate_stacktrace() #8
  br label %186

34:                                               ; preds = %24
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #8
  store ptr null, ptr %2, align 8, !tbaa !46
  %35 = call i32 @s2n_connection_get_security_policy(ptr noundef nonnull %0, ptr noundef nonnull %2) #8
  %36 = icmp sgt i32 %35, -1
  br i1 %36, label %37, label %185

37:                                               ; preds = %34
  %38 = call zeroext i1 @s2n_connection_supports_tls13(ptr noundef nonnull %0) #8
  br i1 %38, label %39, label %42

39:                                               ; preds = %37
  %40 = load ptr, ptr %2, align 8, !tbaa !46
  %41 = call zeroext i1 @s2n_security_policy_supports_tls13(ptr noundef %40) #8
  br i1 %41, label %46, label %42

42:                                               ; preds = %39, %37
  %43 = getelementptr inbounds i8, ptr %0, i64 219
  %44 = load i8, ptr %43, align 1, !tbaa !47
  %spec.select = call i8 @llvm.umin.i8(i8 %44, i8 33)
  store i8 %spec.select, ptr %43, align 1, !tbaa !47
  %45 = getelementptr inbounds i8, ptr %0, i64 220
  store i8 %spec.select, ptr %45, align 4, !tbaa !48
  br label %46

46:                                               ; preds = %42, %39
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #8
  store ptr null, ptr %3, align 8, !tbaa !46
  %47 = call i32 @s2n_connection_get_ecc_preferences(ptr noundef nonnull %0, ptr noundef nonnull %3) #8
  %48 = icmp sgt i32 %47, -1
  br i1 %48, label %49, label %184

49:                                               ; preds = %46
  %50 = load ptr, ptr %3, align 8, !tbaa !46
  %.not73 = icmp eq ptr %50, null
  br i1 %.not73, label %51, label %59

51:                                               ; preds = %49
  %52 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  store ptr @.str.40, ptr %52, align 8, !tbaa !5
  %53 = call ptr @strrchr(ptr noundef nonnull dereferenceable(1) getelementptr inbounds (i8, ptr @.str.40, i64 21), i32 noundef 47) #7
  %.not74 = icmp eq ptr %53, null
  %54 = getelementptr inbounds i8, ptr %53, i64 1
  %55 = select i1 %.not74, ptr getelementptr inbounds (i8, ptr @.str.40, i64 21), ptr %54
  %56 = getelementptr inbounds i8, ptr %52, i64 8
  store ptr %55, ptr %56, align 8, !tbaa !10
  %57 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  store i32 402653193, ptr %57, align 4, !tbaa !11
  %58 = call i32 @s2n_calculate_stacktrace() #8
  br label %184

59:                                               ; preds = %49
  %60 = load i8, ptr %50, align 8, !tbaa !49
  %.not75 = icmp eq i8 %60, 0
  br i1 %.not75, label %61, label %69

61:                                               ; preds = %59
  %62 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  store ptr @.str.41, ptr %62, align 8, !tbaa !5
  %63 = call ptr @strrchr(ptr noundef nonnull dereferenceable(1) getelementptr inbounds (i8, ptr @.str.41, i64 21), i32 noundef 47) #7
  %.not76 = icmp eq ptr %63, null
  %64 = getelementptr inbounds i8, ptr %63, i64 1
  %65 = select i1 %.not76, ptr getelementptr inbounds (i8, ptr @.str.41, i64 21), ptr %64
  %66 = getelementptr inbounds i8, ptr %62, i64 8
  store ptr %65, ptr %66, align 8, !tbaa !10
  %67 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  store i32 402653194, ptr %67, align 4, !tbaa !11
  %68 = call i32 @s2n_calculate_stacktrace() #8
  br label %184

69:                                               ; preds = %59
  %70 = call zeroext i1 @s2n_ecc_preferences_includes_curve(ptr noundef nonnull %50, i16 noundef zeroext 23) #8
  br i1 %70, label %76, label %71

71:                                               ; preds = %69
  %72 = load ptr, ptr %3, align 8, !tbaa !46
  %73 = getelementptr inbounds i8, ptr %72, i64 8
  %74 = load ptr, ptr %73, align 8, !tbaa !51
  %75 = load ptr, ptr %74, align 8, !tbaa !46
  br label %76

76:                                               ; preds = %69, %71
  %.sink = phi ptr [ %75, %71 ], [ @s2n_ecc_curve_secp256r1, %69 ]
  %77 = getelementptr inbounds i8, ptr %0, i64 656
  store ptr %.sink, ptr %77, align 8
  %78 = getelementptr inbounds i8, ptr %0, i64 2920
  %79 = call i32 @s2n_extension_list_process(i32 noundef 0, ptr noundef nonnull %0, ptr noundef nonnull %78) #8
  %80 = icmp sgt i32 %79, -1
  br i1 %80, label %81, label %184

81:                                               ; preds = %76
  %82 = getelementptr inbounds i8, ptr %0, i64 220
  %83 = load i8, ptr %82, align 4, !tbaa !48
  %84 = icmp ugt i8 %83, 33
  br i1 %84, label %85, label %.thread

85:                                               ; preds = %81
  %86 = call i32 @s2n_extensions_server_key_share_select(ptr noundef nonnull %0) #8
  %87 = icmp sgt i32 %86, -1
  br i1 %87, label %88, label %184

88:                                               ; preds = %85
  %.pr = load i8, ptr %82, align 4, !tbaa !48
  %89 = icmp ult i8 %.pr, 34
  br i1 %89, label %.thread, label %._crit_edge

._crit_edge:                                      ; preds = %88
  %.phi.trans.insert = getelementptr inbounds i8, ptr %0, i64 218
  %.pre = load i8, ptr %.phi.trans.insert, align 2, !tbaa !52
  br label %94

.thread:                                          ; preds = %81, %88
  %90 = getelementptr inbounds i8, ptr %0, i64 219
  %91 = load i8, ptr %90, align 1, !tbaa !47
  %92 = getelementptr inbounds i8, ptr %0, i64 218
  %93 = load i8, ptr %92, align 2, !tbaa !52
  %. = call i8 @llvm.umin.i8(i8 %91, i8 %93)
  store i8 %., ptr %82, align 4, !tbaa !48
  br label %94

94:                                               ; preds = %._crit_edge, %.thread
  %95 = phi i8 [ %.pre, %._crit_edge ], [ %93, %.thread ]
  %96 = load ptr, ptr %2, align 8, !tbaa !46
  %97 = load i8, ptr %96, align 8, !tbaa !53
  %98 = icmp ult i8 %95, %97
  br i1 %98, label %99, label %110

99:                                               ; preds = %94
  %100 = call i32 @s2n_queue_reader_unsupported_protocol_version_alert(ptr noundef nonnull %0) #8
  %101 = icmp sgt i32 %100, -1
  br i1 %101, label %102, label %184

102:                                              ; preds = %99
  %103 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  store ptr @.str.42, ptr %103, align 8, !tbaa !5
  %104 = call ptr @strrchr(ptr noundef nonnull dereferenceable(1) getelementptr inbounds (i8, ptr @.str.42, i64 21), i32 noundef 47) #7
  %.not82 = icmp eq ptr %104, null
  %105 = getelementptr inbounds i8, ptr %104, i64 1
  %106 = select i1 %.not82, ptr getelementptr inbounds (i8, ptr @.str.42, i64 21), ptr %105
  %107 = getelementptr inbounds i8, ptr %103, i64 8
  store ptr %106, ptr %107, align 8, !tbaa !10
  %108 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  store i32 335544384, ptr %108, align 4, !tbaa !11
  %109 = call i32 @s2n_calculate_stacktrace() #8
  br label %184

110:                                              ; preds = %94
  %111 = call zeroext i1 @s2n_connection_is_quic_enabled(ptr noundef nonnull %0) #8
  br i1 %111, label %112, label %123

112:                                              ; preds = %110
  %113 = load i8, ptr %82, align 4, !tbaa !48
  %114 = icmp ugt i8 %113, 33
  br i1 %114, label %123, label %115

115:                                              ; preds = %112
  %116 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  store ptr @.str.43, ptr %116, align 8, !tbaa !5
  %117 = call ptr @strrchr(ptr noundef nonnull dereferenceable(1) getelementptr inbounds (i8, ptr @.str.43, i64 21), i32 noundef 47) #7
  %.not77 = icmp eq ptr %117, null
  %118 = getelementptr inbounds i8, ptr %117, i64 1
  %119 = select i1 %.not77, ptr getelementptr inbounds (i8, ptr @.str.43, i64 21), ptr %118
  %120 = getelementptr inbounds i8, ptr %116, i64 8
  store ptr %119, ptr %120, align 8, !tbaa !10
  %121 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  store i32 335544384, ptr %121, align 4, !tbaa !11
  %122 = call i32 @s2n_calculate_stacktrace() #8
  br label %184

123:                                              ; preds = %110, %112
  %124 = call i32 @s2n_conn_find_name_matching_certs(ptr noundef nonnull %0) #8
  %125 = icmp sgt i32 %124, -1
  br i1 %125, label %126, label %184

126:                                              ; preds = %123
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %4) #8
  store i16 0, ptr %4, align 2
  %127 = load ptr, ptr %14, align 8, !tbaa !13
  %128 = load ptr, ptr %127, align 8, !tbaa !41
  %129 = getelementptr inbounds i8, ptr %128, i64 24
  %130 = call ptr @s2n_ensure_memmove_trace(ptr noundef nonnull %4, ptr noundef nonnull %129, i64 noundef 2) #8
  %.not78.not.not = icmp eq ptr %130, null
  br i1 %.not78.not.not, label %.critedge, label %.critedge84

.critedge:                                        ; preds = %126
  %131 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  store ptr @.str.44, ptr %131, align 8, !tbaa !5
  %132 = call ptr @strrchr(ptr noundef nonnull dereferenceable(1) getelementptr inbounds (i8, ptr @.str.44, i64 21), i32 noundef 47) #7
  %.not79 = icmp eq ptr %132, null
  %133 = getelementptr inbounds i8, ptr %132, i64 1
  %134 = select i1 %.not79, ptr getelementptr inbounds (i8, ptr @.str.44, i64 21), ptr %133
  %135 = getelementptr inbounds i8, ptr %131, i64 8
  store ptr %134, ptr %135, align 8, !tbaa !10
  %136 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  store i32 402653193, ptr %136, align 4, !tbaa !11
  %137 = call i32 @s2n_calculate_stacktrace() #8
  br label %183

.critedge84:                                      ; preds = %126
  %138 = getelementptr inbounds i8, ptr %0, i64 217
  %139 = load i8, ptr %138, align 1, !tbaa !55
  %140 = icmp eq i8 %139, 20
  %141 = getelementptr inbounds i8, ptr %0, i64 3624
  %142 = load ptr, ptr %141, align 8, !tbaa !56
  %143 = getelementptr inbounds i8, ptr %0, i64 3632
  %144 = load i32, ptr %143, align 8, !tbaa !57
  br i1 %140, label %145, label %150

145:                                              ; preds = %.critedge84
  %146 = udiv i32 %144, 3
  %147 = trunc i32 %146 to i16
  %148 = call i32 @s2n_set_cipher_as_sslv2_server(ptr noundef nonnull %0, ptr noundef %142, i16 noundef zeroext %147) #8
  %149 = icmp sgt i32 %148, -1
  br i1 %149, label %155, label %183

150:                                              ; preds = %.critedge84
  %151 = lshr i32 %144, 1
  %152 = trunc i32 %151 to i16
  %153 = call i32 @s2n_set_cipher_as_tls_server(ptr noundef nonnull %0, ptr noundef %142, i16 noundef zeroext %152) #8
  %154 = icmp sgt i32 %153, -1
  br i1 %154, label %155, label %183

155:                                              ; preds = %150, %145
  %156 = call zeroext i1 @s2n_is_hello_retry_handshake(ptr noundef nonnull %0) #8
  br i1 %156, label %157, label %174

157:                                              ; preds = %155
  %158 = getelementptr inbounds i8, ptr %0, i64 2176
  %159 = load i32, ptr %158, align 8, !tbaa !58
  %160 = icmp sgt i32 %159, 0
  br i1 %160, label %161, label %174

161:                                              ; preds = %157
  %162 = load ptr, ptr %14, align 8, !tbaa !13
  %163 = load ptr, ptr %162, align 8, !tbaa !41
  %164 = getelementptr inbounds i8, ptr %163, i64 24
  %165 = call zeroext i1 @s2n_constant_time_equals(ptr noundef nonnull %4, ptr noundef nonnull %164, i32 noundef 2) #8
  br i1 %165, label %174, label %166

166:                                              ; preds = %161
  %167 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  store ptr @.str.45, ptr %167, align 8, !tbaa !5
  %168 = call ptr @strrchr(ptr noundef nonnull dereferenceable(1) getelementptr inbounds (i8, ptr @.str.45, i64 21), i32 noundef 47) #7
  %.not80 = icmp eq ptr %168, null
  %169 = getelementptr inbounds i8, ptr %168, i64 1
  %170 = select i1 %.not80, ptr getelementptr inbounds (i8, ptr @.str.45, i64 21), ptr %169
  %171 = getelementptr inbounds i8, ptr %167, i64 8
  store ptr %170, ptr %171, align 8, !tbaa !10
  %172 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  store i32 335544322, ptr %172, align 4, !tbaa !11
  %173 = call i32 @s2n_calculate_stacktrace() #8
  br label %183

174:                                              ; preds = %161, %157, %155
  %175 = getelementptr inbounds i8, ptr %0, i64 1736
  %176 = load ptr, ptr %175, align 8, !tbaa !59
  %.not81 = icmp eq ptr %176, null
  br i1 %.not81, label %177, label %183

177:                                              ; preds = %174
  %178 = call i32 @s2n_signature_algorithm_select(ptr noundef nonnull %0) #8
  %179 = call zeroext i1 @s2n_result_is_ok(i32 %178)
  br i1 %179, label %180, label %183

180:                                              ; preds = %177
  %181 = getelementptr inbounds i8, ptr %0, i64 1544
  %182 = call i32 @s2n_select_certs_for_server_auth(ptr noundef nonnull %0, ptr noundef nonnull %181) #8
  %.lobit = ashr i32 %182, 31
  br label %183

183:                                              ; preds = %.critedge, %180, %177, %174, %150, %145, %166
  %.3 = phi i32 [ -1, %166 ], [ -1, %.critedge ], [ -1, %145 ], [ -1, %150 ], [ 0, %174 ], [ -1, %177 ], [ %.lobit, %180 ]
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %4) #8
  br label %184

184:                                              ; preds = %123, %99, %85, %76, %46, %183, %115, %102, %61, %51
  %.4 = phi i32 [ -1, %102 ], [ %.3, %183 ], [ -1, %115 ], [ -1, %61 ], [ -1, %51 ], [ -1, %46 ], [ -1, %76 ], [ -1, %85 ], [ -1, %99 ], [ -1, %123 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #8
  br label %185

185:                                              ; preds = %34, %184
  %.5 = phi i32 [ %.4, %184 ], [ -1, %34 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #8
  br label %186

186:                                              ; preds = %185, %26, %16, %5
  %.6 = phi i32 [ %.5, %185 ], [ -1, %26 ], [ -1, %16 ], [ -1, %5 ]
  ret i32 %.6
}

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

declare zeroext i1 @s2n_connection_supports_tls13(ptr noundef) local_unnamed_addr #2

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

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

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

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

declare i32 @s2n_extensions_server_key_share_select(ptr noundef) local_unnamed_addr #2

declare i32 @s2n_queue_reader_unsupported_protocol_version_alert(ptr noundef) local_unnamed_addr #2

declare zeroext i1 @s2n_connection_is_quic_enabled(ptr noundef) local_unnamed_addr #2

declare i32 @s2n_conn_find_name_matching_certs(ptr noundef) local_unnamed_addr #2

declare i32 @s2n_set_cipher_as_sslv2_server(ptr noundef, ptr noundef, i16 noundef zeroext) local_unnamed_addr #2

declare i32 @s2n_set_cipher_as_tls_server(ptr noundef, ptr noundef, i16 noundef zeroext) local_unnamed_addr #2

declare zeroext i1 @s2n_constant_time_equals(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2

declare i32 @s2n_signature_algorithm_select(ptr noundef) local_unnamed_addr #2

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i8 @llvm.umin.i8(i8, i8) #6

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

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"s2n_debug_info", !7, i64 0, !7, i64 8}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!6, !7, i64 8}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !8, i64 0}
!13 = !{!14, !7, i64 232}
!14 = !{!"s2n_connection", !12, i64 0, !12, i64 0, !12, i64 0, !12, i64 0, !12, i64 0, !12, i64 0, !12, i64 0, !12, i64 0, !12, i64 1, !12, i64 1, !12, i64 1, !12, i64 1, !12, i64 1, !12, i64 1, !12, i64 1, !12, i64 1, !12, i64 2, !12, i64 2, !12, i64 2, !12, i64 2, !12, i64 2, !12, i64 2, !12, i64 2, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !7, i64 40, !7, i64 48, !7, i64 56, !7, i64 64, !7, i64 72, !8, i64 80, !8, i64 102, !8, i64 124, !12, i64 148, !12, i64 152, !15, i64 160, !16, i64 168, !16, i64 176, !8, i64 184, !8, i64 216, !8, i64 217, !8, i64 218, !8, i64 219, !8, i64 220, !8, i64 221, !8, i64 222, !7, i64 224, !7, i64 232, !17, i64 240, !7, i64 632, !7, i64 640, !18, i64 648, !25, i64 1144, !28, i64 1688, !7, i64 1752, !8, i64 1760, !12, i64 1764, !8, i64 1768, !31, i64 1776, !31, i64 1816, !31, i64 1856, !31, i64 1896, !12, i64 1936, !16, i64 1944, !8, i64 1952, !31, i64 1960, !8, i64 2000, !8, i64 2001, !8, i64 2002, !24, i64 2003, !32, i64 2004, !32, i64 2008, !33, i64 2016, !30, i64 2208, !12, i64 2212, !30, i64 2216, !16, i64 2224, !8, i64 2232, !16, i64 2240, !16, i64 2248, !16, i64 2256, !32, i64 2264, !32, i64 2268, !8, i64 2272, !8, i64 2528, !12, i64 2784, !23, i64 2792, !12, i64 2816, !23, i64 2824, !23, i64 2848, !23, i64 2872, !35, i64 2896, !37, i64 3704, !7, i64 3760, !7, i64 3768, !8, i64 3776, !12, i64 3780, !23, i64 3784, !12, i64 3808, !39, i64 3816, !8, i64 3848, !31, i64 3992, !23, i64 4032, !23, i64 4056, !24, i64 4080, !24, i64 4081, !24, i64 4082, !30, i64 4084, !30, i64 4086, !12, i64 4088, !12, i64 4092, !23, i64 4096, !12, i64 4120, !40, i64 4128, !32, i64 4176, !8, i64 4180, !8, i64 4181}
!15 = !{!"s2n_timer", !16, i64 0}
!16 = !{!"long", !8, i64 0}
!17 = !{!"s2n_secrets", !8, i64 0, !12, i64 388}
!18 = !{!"s2n_kex_parameters", !19, i64 0, !20, i64 8, !8, i64 24, !20, i64 56, !21, i64 72, !21, i64 184, !8, i64 296, !22, i64 360, !23, i64 448, !23, i64 472}
!19 = !{!"s2n_dh_params", !7, i64 0}
!20 = !{!"s2n_ecc_evp_params", !7, i64 0, !7, i64 8}
!21 = !{!"s2n_kem_group_params", !7, i64 0, !22, i64 8, !20, i64 96}
!22 = !{!"s2n_kem_params", !7, i64 0, !23, i64 8, !23, i64 32, !23, i64 56, !24, i64 80}
!23 = !{!"s2n_blob", !7, i64 0, !12, i64 8, !12, i64 12, !12, i64 16}
!24 = !{!"_Bool", !8, i64 0}
!25 = !{!"s2n_handshake_parameters", !26, i64 0, !26, i64 48, !23, i64 96, !12, i64 120, !27, i64 124, !7, i64 384, !7, i64 392, !7, i64 400, !8, i64 408, !8, i64 440, !8, i64 472, !8, i64 473, !8, i64 474, !8, i64 506}
!26 = !{!"s2n_pkey", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !7, i64 40}
!27 = !{!"s2n_sig_scheme_list", !8, i64 0, !8, i64 256}
!28 = !{!"s2n_psk_parameters", !12, i64 0, !29, i64 8, !30, i64 40, !30, i64 42, !7, i64 48, !12, i64 56}
!29 = !{!"s2n_array", !23, i64 0, !12, i64 24, !12, i64 28}
!30 = !{!"short", !8, i64 0}
!31 = !{!"s2n_stuffer", !23, i64 0, !12, i64 24, !12, i64 28, !12, i64 32, !12, i64 36, !12, i64 36, !12, i64 36}
!32 = !{!"", !12, i64 0}
!33 = !{!"s2n_handshake", !31, i64 0, !7, i64 40, !8, i64 48, !8, i64 56, !8, i64 104, !8, i64 152, !12, i64 156, !12, i64 160, !12, i64 164, !12, i64 168, !34, i64 176, !12, i64 184, !12, i64 184, !12, i64 184, !12, i64 184, !12, i64 188}
!34 = !{!"s2n_offered_early_data", !7, i64 0}
!35 = !{!"s2n_client_hello", !23, i64 0, !36, i64 24, !23, i64 728, !23, i64 752, !23, i64 776, !8, i64 800, !8, i64 801, !12, i64 802, !12, i64 802, !12, i64 802, !12, i64 802, !12, i64 802, !12, i64 802, !12, i64 802}
!36 = !{!"", !8, i64 0, !23, i64 672, !30, i64 696}
!37 = !{!"s2n_x509_validator", !7, i64 0, !7, i64 8, !8, i64 16, !8, i64 17, !30, i64 18, !7, i64 24, !12, i64 32, !7, i64 40, !38, i64 48, !24, i64 52}
!38 = !{!"s2n_cert_validation_info", !12, i64 0, !12, i64 0}
!39 = !{!"s2n_ticket_fields", !23, i64 0, !12, i64 24}
!40 = !{!"s2n_post_handshake", !31, i64 0, !8, i64 40}
!41 = !{!42, !7, i64 0}
!42 = !{!"s2n_crypto_parameters", !7, i64 0, !43, i64 8, !43, i64 16, !44, i64 24, !44, i64 456, !8, i64 888, !8, i64 904, !8, i64 920, !8, i64 928}
!43 = !{!"s2n_session_key", !7, i64 0}
!44 = !{!"s2n_hmac_state", !12, i64 0, !30, i64 4, !12, i64 8, !30, i64 12, !8, i64 14, !45, i64 16, !45, i64 72, !45, i64 128, !45, i64 184, !8, i64 240, !8, i64 368}
!45 = !{!"s2n_hash_state", !7, i64 0, !12, i64 8, !8, i64 12, !16, i64 16, !8, i64 24}
!46 = !{!7, !7, i64 0}
!47 = !{!14, !8, i64 219}
!48 = !{!14, !8, i64 220}
!49 = !{!50, !8, i64 0}
!50 = !{!"s2n_ecc_preferences", !8, i64 0, !7, i64 8}
!51 = !{!50, !7, i64 8}
!52 = !{!14, !8, i64 218}
!53 = !{!54, !8, i64 0}
!54 = !{!"s2n_security_policy", !8, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !7, i64 40, !7, i64 48, !24, i64 56, !8, i64 57}
!55 = !{!14, !8, i64 217}
!56 = !{!35, !7, i64 728}
!57 = !{!35, !12, i64 736}
!58 = !{!14, !12, i64 2176}
!59 = !{!14, !7, i64 1736}


; Effective O3 passes: BDCEPass,CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LowerExpectIntrinsicPass,MergedLoadStoreMotionPass,SROAPass,SimplifyCFGPass,TailCallElimPass