; LLVM IR from aws/s2n-tls :: tls (s2n_prf)

; 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_key_material = type { [160 x i8], %struct.s2n_blob, %struct.s2n_blob, %struct.s2n_blob, %struct.s2n_blob, %struct.s2n_blob, %struct.s2n_blob }
%struct.s2n_blob = type { ptr, i32, i32, i8 }
%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_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_cipher_suite = type { i8, ptr, ptr, [2 x i8], ptr, i32, ptr, [2 x ptr], i8, ptr, ptr, i32, i8 }
%struct.s2n_record_algorithm = type { ptr, i32, i32, i64 }
%struct.s2n_cipher = type { i32, %union.anon.1, i8, ptr, ptr, ptr, ptr, ptr, ptr }
%union.anon.1 = type { %struct.s2n_composite_cipher }
%struct.s2n_composite_cipher = type { i8, i8, i8, ptr, ptr, ptr, ptr }

@_s2n_debug_info = external thread_local global %struct.s2n_debug_info, align 8
@s2n_errno = external thread_local global i32, align 4
@.str.50 = external hidden unnamed_addr constant [84 x i8], align 1
@.str.51 = external hidden unnamed_addr constant [84 x i8], align 1
@.str.52 = external hidden unnamed_addr constant [84 x i8], align 1
@.str.53 = external hidden unnamed_addr constant [84 x i8], align 1
@.str.54 = external hidden unnamed_addr constant [84 x i8], align 1
@.str.55 = external hidden unnamed_addr constant [84 x i8], align 1
@.str.56 = external hidden unnamed_addr constant [84 x i8], align 1
@.str.57 = external hidden unnamed_addr constant [84 x i8], align 1
@.str.58 = external hidden unnamed_addr constant [84 x i8], align 1
@.str.59 = external hidden unnamed_addr constant [84 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 nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #4

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

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

; Function Attrs: nounwind uwtable
declare dso_local i32 @s2n_prf_generate_key_material(ptr noundef, ptr noundef) #6

; Function Attrs: nounwind uwtable
define dso_local i32 @s2n_prf_key_expansion(ptr noundef %0) #6 {
  %2 = alloca i32, align 4
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca ptr, align 8
  %7 = alloca %struct.s2n_key_material, align 8
  %8 = alloca %struct.s2n_result, align 4
  %9 = alloca %struct.s2n_result, align 4
  %10 = alloca %struct.s2n_result, align 4
  %11 = alloca i32, align 4
  %12 = alloca ptr, align 8
  %13 = alloca i32, align 4
  %14 = alloca ptr, align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  br label %15

15:                                               ; preds = %1
  %16 = load ptr, ptr %3, align 8, !tbaa !5
  %17 = icmp ne ptr %16, null
  br i1 %17, label %49, label %18

18:                                               ; preds = %15
  br label %19

19:                                               ; preds = %18
  br label %20

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

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

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

41:                                               ; preds = %36, %29
  %42 = phi ptr [ %35, %29 ], [ %40, %36 ]
  %43 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %44 = getelementptr inbounds %struct.s2n_debug_info, ptr %43, i32 0, i32 1
  store ptr %42, ptr %44, align 8, !tbaa !11
  %45 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  store i32 402653193, ptr %45, align 4, !tbaa !12
  %46 = call i32 @s2n_calculate_stacktrace()
  br label %47

47:                                               ; preds = %41
  store i32 -1, ptr %2, align 4
  br label %671

48:                                               ; No predecessors!
  br label %49

49:                                               ; preds = %48, %15
  br label %50

50:                                               ; preds = %49
  br label %51

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

56:                                               ; preds = %51
  br label %57

57:                                               ; preds = %56
  br label %58

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

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

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

79:                                               ; preds = %74, %67
  %80 = phi ptr [ %73, %67 ], [ %78, %74 ]
  %81 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %82 = getelementptr inbounds %struct.s2n_debug_info, ptr %81, i32 0, i32 1
  store ptr %80, ptr %82, align 8, !tbaa !11
  %83 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  store i32 402653193, ptr %83, align 4, !tbaa !12
  %84 = call i32 @s2n_calculate_stacktrace()
  br label %85

85:                                               ; preds = %79
  store i32 -1, ptr %2, align 4
  br label %671

86:                                               ; No predecessors!
  br label %87

87:                                               ; preds = %86, %51
  br label %88

88:                                               ; preds = %87
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #9
  %89 = load ptr, ptr %3, align 8, !tbaa !5
  %90 = getelementptr inbounds %struct.s2n_connection, ptr %89, i32 0, i32 27
  %91 = load ptr, ptr %90, align 8, !tbaa !14
  %92 = getelementptr inbounds %struct.s2n_crypto_parameters, ptr %91, i32 0, i32 0
  %93 = load ptr, ptr %92, align 8, !tbaa !42
  store ptr %93, ptr %4, align 8, !tbaa !5
  br label %94

94:                                               ; preds = %88
  %95 = load ptr, ptr %4, align 8, !tbaa !5
  %96 = icmp ne ptr %95, null
  br i1 %96, label %130, label %97

97:                                               ; preds = %94
  br label %98

98:                                               ; preds = %97
  br label %99

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

108:                                              ; preds = %99
  %109 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %110 = getelementptr inbounds %struct.s2n_debug_info, ptr %109, i32 0, i32 0
  %111 = load ptr, ptr %110, align 8, !tbaa !9
  %112 = getelementptr inbounds i8, ptr %111, i64 21
  %113 = call ptr @strrchr(ptr noundef %112, i32 noundef 47) #8
  %114 = getelementptr inbounds i8, ptr %113, i64 1
  br label %120

115:                                              ; preds = %99
  %116 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %117 = getelementptr inbounds %struct.s2n_debug_info, ptr %116, i32 0, i32 0
  %118 = load ptr, ptr %117, align 8, !tbaa !9
  %119 = getelementptr inbounds i8, ptr %118, i64 21
  br label %120

120:                                              ; preds = %115, %108
  %121 = phi ptr [ %114, %108 ], [ %119, %115 ]
  %122 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %123 = getelementptr inbounds %struct.s2n_debug_info, ptr %122, i32 0, i32 1
  store ptr %121, ptr %123, align 8, !tbaa !11
  %124 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  store i32 402653193, ptr %124, align 4, !tbaa !12
  %125 = call i32 @s2n_calculate_stacktrace()
  br label %126

126:                                              ; preds = %120
  br label %127

127:                                              ; preds = %126
  store i32 -1, ptr %2, align 4
  store i32 1, ptr %5, align 4
  br label %670

128:                                              ; No predecessors!
  br label %129

129:                                              ; preds = %128
  br label %130

130:                                              ; preds = %129, %94
  br label %131

131:                                              ; preds = %130
  br label %132

132:                                              ; preds = %131
  br label %133

133:                                              ; preds = %132
  %134 = load ptr, ptr %4, align 8, !tbaa !5
  %135 = getelementptr inbounds %struct.s2n_cipher_suite, ptr %134, i32 0, i32 6
  %136 = load ptr, ptr %135, align 8, !tbaa !47
  %137 = icmp ne ptr %136, null
  br i1 %137, label %171, label %138

138:                                              ; preds = %133
  br label %139

139:                                              ; preds = %138
  br label %140

140:                                              ; preds = %139
  %141 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %142 = getelementptr inbounds %struct.s2n_debug_info, ptr %141, i32 0, i32 0
  store ptr @.str.53, ptr %142, align 8, !tbaa !9
  %143 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %144 = getelementptr inbounds %struct.s2n_debug_info, ptr %143, i32 0, i32 0
  %145 = load ptr, ptr %144, align 8, !tbaa !9
  %146 = getelementptr inbounds i8, ptr %145, i64 21
  %147 = call ptr @strrchr(ptr noundef %146, i32 noundef 47) #8
  %148 = icmp ne ptr %147, null
  br i1 %148, label %149, label %156

149:                                              ; preds = %140
  %150 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %151 = getelementptr inbounds %struct.s2n_debug_info, ptr %150, i32 0, i32 0
  %152 = load ptr, ptr %151, align 8, !tbaa !9
  %153 = getelementptr inbounds i8, ptr %152, i64 21
  %154 = call ptr @strrchr(ptr noundef %153, i32 noundef 47) #8
  %155 = getelementptr inbounds i8, ptr %154, i64 1
  br label %161

156:                                              ; preds = %140
  %157 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %158 = getelementptr inbounds %struct.s2n_debug_info, ptr %157, i32 0, i32 0
  %159 = load ptr, ptr %158, align 8, !tbaa !9
  %160 = getelementptr inbounds i8, ptr %159, i64 21
  br label %161

161:                                              ; preds = %156, %149
  %162 = phi ptr [ %155, %149 ], [ %160, %156 ]
  %163 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %164 = getelementptr inbounds %struct.s2n_debug_info, ptr %163, i32 0, i32 1
  store ptr %162, ptr %164, align 8, !tbaa !11
  %165 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  store i32 402653193, ptr %165, align 4, !tbaa !12
  %166 = call i32 @s2n_calculate_stacktrace()
  br label %167

167:                                              ; preds = %161
  br label %168

168:                                              ; preds = %167
  store i32 -1, ptr %2, align 4
  store i32 1, ptr %5, align 4
  br label %670

169:                                              ; No predecessors!
  br label %170

170:                                              ; preds = %169
  br label %171

171:                                              ; preds = %170, %133
  br label %172

172:                                              ; preds = %171
  br label %173

173:                                              ; preds = %172
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #9
  %174 = load ptr, ptr %4, align 8, !tbaa !5
  %175 = getelementptr inbounds %struct.s2n_cipher_suite, ptr %174, i32 0, i32 6
  %176 = load ptr, ptr %175, align 8, !tbaa !47
  %177 = getelementptr inbounds %struct.s2n_record_algorithm, ptr %176, i32 0, i32 0
  %178 = load ptr, ptr %177, align 8, !tbaa !49
  store ptr %178, ptr %6, align 8, !tbaa !5
  br label %179

179:                                              ; preds = %173
  %180 = load ptr, ptr %6, align 8, !tbaa !5
  %181 = icmp ne ptr %180, null
  br i1 %181, label %215, label %182

182:                                              ; preds = %179
  br label %183

183:                                              ; preds = %182
  br label %184

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

193:                                              ; preds = %184
  %194 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %195 = getelementptr inbounds %struct.s2n_debug_info, ptr %194, i32 0, i32 0
  %196 = load ptr, ptr %195, align 8, !tbaa !9
  %197 = getelementptr inbounds i8, ptr %196, i64 21
  %198 = call ptr @strrchr(ptr noundef %197, i32 noundef 47) #8
  %199 = getelementptr inbounds i8, ptr %198, i64 1
  br label %205

200:                                              ; preds = %184
  %201 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %202 = getelementptr inbounds %struct.s2n_debug_info, ptr %201, i32 0, i32 0
  %203 = load ptr, ptr %202, align 8, !tbaa !9
  %204 = getelementptr inbounds i8, ptr %203, i64 21
  br label %205

205:                                              ; preds = %200, %193
  %206 = phi ptr [ %199, %193 ], [ %204, %200 ]
  %207 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %208 = getelementptr inbounds %struct.s2n_debug_info, ptr %207, i32 0, i32 1
  store ptr %206, ptr %208, align 8, !tbaa !11
  %209 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  store i32 402653193, ptr %209, align 4, !tbaa !12
  %210 = call i32 @s2n_calculate_stacktrace()
  br label %211

211:                                              ; preds = %205
  br label %212

212:                                              ; preds = %211
  store i32 -1, ptr %2, align 4
  store i32 1, ptr %5, align 4
  br label %669

213:                                              ; No predecessors!
  br label %214

214:                                              ; preds = %213
  br label %215

215:                                              ; preds = %214, %179
  br label %216

216:                                              ; preds = %215
  br label %217

217:                                              ; preds = %216
  call void @llvm.lifetime.start.p0(i64 304, ptr %7) #9
  call void @llvm.memset.p0.i64(ptr align 8 %7, i8 0, i64 304, i1 false)
  br label %218

218:                                              ; preds = %217
  %219 = load ptr, ptr %3, align 8, !tbaa !5
  %220 = call i32 @s2n_prf_generate_key_material(ptr noundef %219, ptr noundef %7)
  %221 = getelementptr inbounds %struct.s2n_result, ptr %8, i32 0, i32 0
  store i32 %220, ptr %221, align 4
  %222 = getelementptr inbounds %struct.s2n_result, ptr %8, i32 0, i32 0
  %223 = load i32, ptr %222, align 4
  %224 = call zeroext i1 @s2n_result_is_ok(i32 %223)
  br i1 %224, label %226, label %225

225:                                              ; preds = %218
  store i32 -1, ptr %2, align 4
  store i32 1, ptr %5, align 4
  br label %668

226:                                              ; preds = %218
  br label %227

227:                                              ; preds = %226
  br label %228

228:                                              ; preds = %227
  br label %229

229:                                              ; preds = %228
  %230 = load ptr, ptr %4, align 8, !tbaa !5
  %231 = load i8, ptr %230, align 8
  %232 = and i8 %231, 1
  %233 = zext i8 %232 to i32
  %234 = icmp ne i32 %233, 0
  br i1 %234, label %268, label %235

235:                                              ; preds = %229
  br label %236

236:                                              ; preds = %235
  br label %237

237:                                              ; preds = %236
  %238 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %239 = getelementptr inbounds %struct.s2n_debug_info, ptr %238, i32 0, i32 0
  store ptr @.str.55, ptr %239, align 8, !tbaa !9
  %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 = icmp ne ptr %244, null
  br i1 %245, label %246, label %253

246:                                              ; preds = %237
  %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
  %251 = call ptr @strrchr(ptr noundef %250, i32 noundef 47) #8
  %252 = getelementptr inbounds i8, ptr %251, i64 1
  br label %258

253:                                              ; preds = %237
  %254 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %255 = getelementptr inbounds %struct.s2n_debug_info, ptr %254, i32 0, i32 0
  %256 = load ptr, ptr %255, align 8, !tbaa !9
  %257 = getelementptr inbounds i8, ptr %256, i64 21
  br label %258

258:                                              ; preds = %253, %246
  %259 = phi ptr [ %252, %246 ], [ %257, %253 ]
  %260 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %261 = getelementptr inbounds %struct.s2n_debug_info, ptr %260, i32 0, i32 1
  store ptr %259, ptr %261, align 8, !tbaa !11
  %262 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  store i32 402653206, ptr %262, align 4, !tbaa !12
  %263 = call i32 @s2n_calculate_stacktrace()
  br label %264

264:                                              ; preds = %258
  br label %265

265:                                              ; preds = %264
  store i32 -1, ptr %2, align 4
  store i32 1, ptr %5, align 4
  br label %668

266:                                              ; No predecessors!
  br label %267

267:                                              ; preds = %266
  br label %268

268:                                              ; preds = %267, %229
  br label %269

269:                                              ; preds = %268
  br label %270

270:                                              ; preds = %269
  br label %271

271:                                              ; preds = %270
  %272 = load ptr, ptr %6, align 8, !tbaa !5
  %273 = getelementptr inbounds %struct.s2n_cipher, ptr %272, i32 0, i32 4
  %274 = load ptr, ptr %273, align 8, !tbaa !51
  %275 = load ptr, ptr %3, align 8, !tbaa !5
  %276 = getelementptr inbounds %struct.s2n_connection, ptr %275, i32 0, i32 27
  %277 = load ptr, ptr %276, align 8, !tbaa !14
  %278 = getelementptr inbounds %struct.s2n_crypto_parameters, ptr %277, i32 0, i32 1
  %279 = call i32 %274(ptr noundef %278)
  %280 = getelementptr inbounds %struct.s2n_result, ptr %9, i32 0, i32 0
  store i32 %279, ptr %280, align 4
  %281 = getelementptr inbounds %struct.s2n_result, ptr %9, i32 0, i32 0
  %282 = load i32, ptr %281, align 4
  %283 = call zeroext i1 @s2n_result_is_ok(i32 %282)
  br i1 %283, label %285, label %284

284:                                              ; preds = %271
  store i32 -1, ptr %2, align 4
  store i32 1, ptr %5, align 4
  br label %668

285:                                              ; preds = %271
  br label %286

286:                                              ; preds = %285
  br label %287

287:                                              ; preds = %286
  br label %288

288:                                              ; preds = %287
  %289 = load ptr, ptr %6, align 8, !tbaa !5
  %290 = getelementptr inbounds %struct.s2n_cipher, ptr %289, i32 0, i32 4
  %291 = load ptr, ptr %290, align 8, !tbaa !51
  %292 = load ptr, ptr %3, align 8, !tbaa !5
  %293 = getelementptr inbounds %struct.s2n_connection, ptr %292, i32 0, i32 27
  %294 = load ptr, ptr %293, align 8, !tbaa !14
  %295 = getelementptr inbounds %struct.s2n_crypto_parameters, ptr %294, i32 0, i32 2
  %296 = call i32 %291(ptr noundef %295)
  %297 = getelementptr inbounds %struct.s2n_result, ptr %10, i32 0, i32 0
  store i32 %296, ptr %297, align 4
  %298 = getelementptr inbounds %struct.s2n_result, ptr %10, i32 0, i32 0
  %299 = load i32, ptr %298, align 4
  %300 = call zeroext i1 @s2n_result_is_ok(i32 %299)
  br i1 %300, label %302, label %301

301:                                              ; preds = %288
  store i32 -1, ptr %2, align 4
  store i32 1, ptr %5, align 4
  br label %668

302:                                              ; preds = %288
  br label %303

303:                                              ; preds = %302
  br label %304

304:                                              ; preds = %303
  br label %305

305:                                              ; preds = %304
  %306 = load ptr, ptr %3, align 8, !tbaa !5
  %307 = getelementptr inbounds %struct.s2n_connection, ptr %306, i32 0, i32 27
  %308 = load ptr, ptr %307, align 8, !tbaa !14
  %309 = getelementptr inbounds %struct.s2n_crypto_parameters, ptr %308, i32 0, i32 3
  %310 = call i32 @s2n_hmac_reset(ptr noundef %309)
  %311 = icmp sgt i32 %310, -1
  br i1 %311, label %313, label %312

312:                                              ; preds = %305
  store i32 -1, ptr %2, align 4
  store i32 1, ptr %5, align 4
  br label %668

313:                                              ; preds = %305
  br label %314

314:                                              ; preds = %313
  br label %315

315:                                              ; preds = %314
  br label %316

316:                                              ; preds = %315
  %317 = load ptr, ptr %3, align 8, !tbaa !5
  %318 = getelementptr inbounds %struct.s2n_connection, ptr %317, i32 0, i32 27
  %319 = load ptr, ptr %318, align 8, !tbaa !14
  %320 = getelementptr inbounds %struct.s2n_crypto_parameters, ptr %319, i32 0, i32 3
  %321 = load ptr, ptr %4, align 8, !tbaa !5
  %322 = getelementptr inbounds %struct.s2n_cipher_suite, ptr %321, i32 0, i32 6
  %323 = load ptr, ptr %322, align 8, !tbaa !47
  %324 = getelementptr inbounds %struct.s2n_record_algorithm, ptr %323, i32 0, i32 1
  %325 = load i32, ptr %324, align 8, !tbaa !53
  %326 = getelementptr inbounds %struct.s2n_key_material, ptr %7, i32 0, i32 1
  %327 = getelementptr inbounds %struct.s2n_blob, ptr %326, i32 0, i32 0
  %328 = load ptr, ptr %327, align 8, !tbaa !54
  %329 = getelementptr inbounds %struct.s2n_key_material, ptr %7, i32 0, i32 1
  %330 = getelementptr inbounds %struct.s2n_blob, ptr %329, i32 0, i32 1
  %331 = load i32, ptr %330, align 8, !tbaa !56
  %332 = call i32 @s2n_hmac_init(ptr noundef %320, i32 noundef %325, ptr noundef %328, i32 noundef %331)
  %333 = icmp sgt i32 %332, -1
  br i1 %333, label %335, label %334

334:                                              ; preds = %316
  store i32 -1, ptr %2, align 4
  store i32 1, ptr %5, align 4
  br label %668

335:                                              ; preds = %316
  br label %336

336:                                              ; preds = %335
  br label %337

337:                                              ; preds = %336
  br label %338

338:                                              ; preds = %337
  %339 = load ptr, ptr %3, align 8, !tbaa !5
  %340 = getelementptr inbounds %struct.s2n_connection, ptr %339, i32 0, i32 27
  %341 = load ptr, ptr %340, align 8, !tbaa !14
  %342 = getelementptr inbounds %struct.s2n_crypto_parameters, ptr %341, i32 0, i32 4
  %343 = call i32 @s2n_hmac_reset(ptr noundef %342)
  %344 = icmp sgt i32 %343, -1
  br i1 %344, label %346, label %345

345:                                              ; preds = %338
  store i32 -1, ptr %2, align 4
  store i32 1, ptr %5, align 4
  br label %668

346:                                              ; preds = %338
  br label %347

347:                                              ; preds = %346
  br label %348

348:                                              ; preds = %347
  br label %349

349:                                              ; preds = %348
  %350 = load ptr, ptr %3, align 8, !tbaa !5
  %351 = getelementptr inbounds %struct.s2n_connection, ptr %350, i32 0, i32 27
  %352 = load ptr, ptr %351, align 8, !tbaa !14
  %353 = getelementptr inbounds %struct.s2n_crypto_parameters, ptr %352, i32 0, i32 4
  %354 = load ptr, ptr %3, align 8, !tbaa !5
  %355 = getelementptr inbounds %struct.s2n_connection, ptr %354, i32 0, i32 27
  %356 = load ptr, ptr %355, align 8, !tbaa !14
  %357 = getelementptr inbounds %struct.s2n_crypto_parameters, ptr %356, i32 0, i32 0
  %358 = load ptr, ptr %357, align 8, !tbaa !42
  %359 = getelementptr inbounds %struct.s2n_cipher_suite, ptr %358, i32 0, i32 6
  %360 = load ptr, ptr %359, align 8, !tbaa !47
  %361 = getelementptr inbounds %struct.s2n_record_algorithm, ptr %360, i32 0, i32 1
  %362 = load i32, ptr %361, align 8, !tbaa !53
  %363 = getelementptr inbounds %struct.s2n_key_material, ptr %7, i32 0, i32 2
  %364 = getelementptr inbounds %struct.s2n_blob, ptr %363, i32 0, i32 0
  %365 = load ptr, ptr %364, align 8, !tbaa !57
  %366 = getelementptr inbounds %struct.s2n_key_material, ptr %7, i32 0, i32 2
  %367 = getelementptr inbounds %struct.s2n_blob, ptr %366, i32 0, i32 1
  %368 = load i32, ptr %367, align 8, !tbaa !58
  %369 = call i32 @s2n_hmac_init(ptr noundef %353, i32 noundef %362, ptr noundef %365, i32 noundef %368)
  %370 = icmp sgt i32 %369, -1
  br i1 %370, label %372, label %371

371:                                              ; preds = %349
  store i32 -1, ptr %2, align 4
  store i32 1, ptr %5, align 4
  br label %668

372:                                              ; preds = %349
  br label %373

373:                                              ; preds = %372
  br label %374

374:                                              ; preds = %373
  br label %375

375:                                              ; preds = %374
  %376 = load ptr, ptr %3, align 8, !tbaa !5
  %377 = call i32 @s2n_prf_make_client_key(ptr noundef %376, ptr noundef %7)
  %378 = icmp sgt i32 %377, -1
  br i1 %378, label %380, label %379

379:                                              ; preds = %375
  store i32 -1, ptr %2, align 4
  store i32 1, ptr %5, align 4
  br label %668

380:                                              ; preds = %375
  br label %381

381:                                              ; preds = %380
  br label %382

382:                                              ; preds = %381
  br label %383

383:                                              ; preds = %382
  %384 = load ptr, ptr %3, align 8, !tbaa !5
  %385 = call i32 @s2n_prf_make_server_key(ptr noundef %384, ptr noundef %7)
  %386 = icmp sgt i32 %385, -1
  br i1 %386, label %388, label %387

387:                                              ; preds = %383
  store i32 -1, ptr %2, align 4
  store i32 1, ptr %5, align 4
  br label %668

388:                                              ; preds = %383
  br label %389

389:                                              ; preds = %388
  br label %390

390:                                              ; preds = %389
  %391 = load ptr, ptr %6, align 8, !tbaa !5
  %392 = getelementptr inbounds %struct.s2n_cipher, ptr %391, i32 0, i32 0
  %393 = load i32, ptr %392, align 8, !tbaa !59
  %394 = icmp eq i32 %393, 3
  br i1 %394, label %395, label %438

395:                                              ; preds = %390
  br label %396

396:                                              ; preds = %395
  %397 = load ptr, ptr %6, align 8, !tbaa !5
  %398 = getelementptr inbounds %struct.s2n_cipher, ptr %397, i32 0, i32 1
  %399 = getelementptr inbounds %struct.s2n_composite_cipher, ptr %398, i32 0, i32 5
  %400 = load ptr, ptr %399, align 8, !tbaa !60
  %401 = load ptr, ptr %3, align 8, !tbaa !5
  %402 = getelementptr inbounds %struct.s2n_connection, ptr %401, i32 0, i32 27
  %403 = load ptr, ptr %402, align 8, !tbaa !14
  %404 = getelementptr inbounds %struct.s2n_crypto_parameters, ptr %403, i32 0, i32 1
  %405 = getelementptr inbounds %struct.s2n_key_material, ptr %7, i32 0, i32 1
  %406 = getelementptr inbounds %struct.s2n_blob, ptr %405, i32 0, i32 0
  %407 = load ptr, ptr %406, align 8, !tbaa !54
  %408 = getelementptr inbounds %struct.s2n_key_material, ptr %7, i32 0, i32 1
  %409 = getelementptr inbounds %struct.s2n_blob, ptr %408, i32 0, i32 1
  %410 = load i32, ptr %409, align 8, !tbaa !56
  %411 = call i32 %400(ptr noundef %404, ptr noundef %407, i32 noundef %410)
  %412 = icmp sgt i32 %411, -1
  br i1 %412, label %414, label %413

413:                                              ; preds = %396
  store i32 -1, ptr %2, align 4
  store i32 1, ptr %5, align 4
  br label %668

414:                                              ; preds = %396
  br label %415

415:                                              ; preds = %414
  br label %416

416:                                              ; preds = %415
  br label %417

417:                                              ; preds = %416
  %418 = load ptr, ptr %6, align 8, !tbaa !5
  %419 = getelementptr inbounds %struct.s2n_cipher, ptr %418, i32 0, i32 1
  %420 = getelementptr inbounds %struct.s2n_composite_cipher, ptr %419, i32 0, i32 5
  %421 = load ptr, ptr %420, align 8, !tbaa !60
  %422 = load ptr, ptr %3, align 8, !tbaa !5
  %423 = getelementptr inbounds %struct.s2n_connection, ptr %422, i32 0, i32 27
  %424 = load ptr, ptr %423, align 8, !tbaa !14
  %425 = getelementptr inbounds %struct.s2n_crypto_parameters, ptr %424, i32 0, i32 2
  %426 = getelementptr inbounds %struct.s2n_key_material, ptr %7, i32 0, i32 2
  %427 = getelementptr inbounds %struct.s2n_blob, ptr %426, i32 0, i32 0
  %428 = load ptr, ptr %427, align 8, !tbaa !57
  %429 = getelementptr inbounds %struct.s2n_key_material, ptr %7, i32 0, i32 2
  %430 = getelementptr inbounds %struct.s2n_blob, ptr %429, i32 0, i32 1
  %431 = load i32, ptr %430, align 8, !tbaa !58
  %432 = call i32 %421(ptr noundef %425, ptr noundef %428, i32 noundef %431)
  %433 = icmp sgt i32 %432, -1
  br i1 %433, label %435, label %434

434:                                              ; preds = %417
  store i32 -1, ptr %2, align 4
  store i32 1, ptr %5, align 4
  br label %668

435:                                              ; preds = %417
  br label %436

436:                                              ; preds = %435
  br label %437

437:                                              ; preds = %436
  br label %438

438:                                              ; preds = %437, %390
  br label %439

439:                                              ; preds = %438
  %440 = getelementptr inbounds %struct.s2n_key_material, ptr %7, i32 0, i32 5
  %441 = getelementptr inbounds %struct.s2n_blob, ptr %440, i32 0, i32 1
  %442 = load i32, ptr %441, align 8, !tbaa !61
  %443 = getelementptr inbounds %struct.s2n_key_material, ptr %7, i32 0, i32 6
  %444 = getelementptr inbounds %struct.s2n_blob, ptr %443, i32 0, i32 1
  %445 = load i32, ptr %444, align 8, !tbaa !62
  %446 = icmp eq i32 %442, %445
  br i1 %446, label %480, label %447

447:                                              ; preds = %439
  br label %448

448:                                              ; preds = %447
  br label %449

449:                                              ; preds = %448
  %450 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %451 = getelementptr inbounds %struct.s2n_debug_info, ptr %450, i32 0, i32 0
  store ptr @.str.56, ptr %451, align 8, !tbaa !9
  %452 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %453 = getelementptr inbounds %struct.s2n_debug_info, ptr %452, i32 0, i32 0
  %454 = load ptr, ptr %453, align 8, !tbaa !9
  %455 = getelementptr inbounds i8, ptr %454, i64 21
  %456 = call ptr @strrchr(ptr noundef %455, i32 noundef 47) #8
  %457 = icmp ne ptr %456, null
  br i1 %457, label %458, label %465

458:                                              ; preds = %449
  %459 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %460 = getelementptr inbounds %struct.s2n_debug_info, ptr %459, i32 0, i32 0
  %461 = load ptr, ptr %460, align 8, !tbaa !9
  %462 = getelementptr inbounds i8, ptr %461, i64 21
  %463 = call ptr @strrchr(ptr noundef %462, i32 noundef 47) #8
  %464 = getelementptr inbounds i8, ptr %463, i64 1
  br label %470

465:                                              ; preds = %449
  %466 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %467 = getelementptr inbounds %struct.s2n_debug_info, ptr %466, i32 0, i32 0
  %468 = load ptr, ptr %467, align 8, !tbaa !9
  %469 = getelementptr inbounds i8, ptr %468, i64 21
  br label %470

470:                                              ; preds = %465, %458
  %471 = phi ptr [ %464, %458 ], [ %469, %465 ]
  %472 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %473 = getelementptr inbounds %struct.s2n_debug_info, ptr %472, i32 0, i32 1
  store ptr %471, ptr %473, align 8, !tbaa !11
  %474 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  store i32 402653194, ptr %474, align 4, !tbaa !12
  %475 = call i32 @s2n_calculate_stacktrace()
  br label %476

476:                                              ; preds = %470
  br label %477

477:                                              ; preds = %476
  store i32 -1, ptr %2, align 4
  store i32 1, ptr %5, align 4
  br label %668

478:                                              ; No predecessors!
  br label %479

479:                                              ; preds = %478
  br label %480

480:                                              ; preds = %479, %439
  br label %481

481:                                              ; preds = %480
  br label %482

482:                                              ; preds = %481
  br label %483

483:                                              ; preds = %482
  %484 = getelementptr inbounds %struct.s2n_key_material, ptr %7, i32 0, i32 5
  %485 = getelementptr inbounds %struct.s2n_blob, ptr %484, i32 0, i32 1
  %486 = load i32, ptr %485, align 8, !tbaa !61
  %487 = icmp ule i32 %486, 16
  br i1 %487, label %521, label %488

488:                                              ; preds = %483
  br label %489

489:                                              ; preds = %488
  br label %490

490:                                              ; preds = %489
  %491 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %492 = getelementptr inbounds %struct.s2n_debug_info, ptr %491, i32 0, i32 0
  store ptr @.str.57, ptr %492, align 8, !tbaa !9
  %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 0
  %495 = load ptr, ptr %494, align 8, !tbaa !9
  %496 = getelementptr inbounds i8, ptr %495, i64 21
  %497 = call ptr @strrchr(ptr noundef %496, i32 noundef 47) #8
  %498 = icmp ne ptr %497, null
  br i1 %498, label %499, label %506

499:                                              ; preds = %490
  %500 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %501 = getelementptr inbounds %struct.s2n_debug_info, ptr %500, i32 0, i32 0
  %502 = load ptr, ptr %501, align 8, !tbaa !9
  %503 = getelementptr inbounds i8, ptr %502, i64 21
  %504 = call ptr @strrchr(ptr noundef %503, i32 noundef 47) #8
  %505 = getelementptr inbounds i8, ptr %504, i64 1
  br label %511

506:                                              ; preds = %490
  %507 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %508 = getelementptr inbounds %struct.s2n_debug_info, ptr %507, i32 0, i32 0
  %509 = load ptr, ptr %508, align 8, !tbaa !9
  %510 = getelementptr inbounds i8, ptr %509, i64 21
  br label %511

511:                                              ; preds = %506, %499
  %512 = phi ptr [ %505, %499 ], [ %510, %506 ]
  %513 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %514 = getelementptr inbounds %struct.s2n_debug_info, ptr %513, i32 0, i32 1
  store ptr %512, ptr %514, align 8, !tbaa !11
  %515 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  store i32 402653194, ptr %515, align 4, !tbaa !12
  %516 = call i32 @s2n_calculate_stacktrace()
  br label %517

517:                                              ; preds = %511
  br label %518

518:                                              ; preds = %517
  store i32 -1, ptr %2, align 4
  store i32 1, ptr %5, align 4
  br label %668

519:                                              ; No predecessors!
  br label %520

520:                                              ; preds = %519
  br label %521

521:                                              ; preds = %520, %483
  br label %522

522:                                              ; preds = %521
  br label %523

523:                                              ; preds = %522
  br label %524

524:                                              ; preds = %523
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #9
  %525 = getelementptr inbounds %struct.s2n_key_material, ptr %7, i32 0, i32 5
  %526 = getelementptr inbounds %struct.s2n_blob, ptr %525, i32 0, i32 1
  %527 = load i32, ptr %526, align 8, !tbaa !61
  store i32 %527, ptr %11, align 4, !tbaa !12
  %528 = load i32, ptr %11, align 4, !tbaa !12
  %529 = icmp ne i32 %528, 0
  %530 = xor i1 %529, true
  %531 = xor i1 %530, true
  %532 = zext i1 %531 to i32
  %533 = sext i32 %532 to i64
  %534 = call i64 @llvm.expect.i64(i64 %533, i64 1)
  %535 = icmp ne i64 %534, 0
  br i1 %535, label %536, label %590

536:                                              ; preds = %524
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #9
  %537 = load ptr, ptr %3, align 8, !tbaa !5
  %538 = getelementptr inbounds %struct.s2n_connection, ptr %537, i32 0, i32 27
  %539 = load ptr, ptr %538, align 8, !tbaa !14
  %540 = getelementptr inbounds %struct.s2n_crypto_parameters, ptr %539, i32 0, i32 5
  %541 = getelementptr inbounds [16 x i8], ptr %540, i64 0, i64 0
  %542 = getelementptr inbounds %struct.s2n_key_material, ptr %7, i32 0, i32 5
  %543 = getelementptr inbounds %struct.s2n_blob, ptr %542, i32 0, i32 0
  %544 = load ptr, ptr %543, align 8, !tbaa !63
  %545 = load i32, ptr %11, align 4, !tbaa !12
  %546 = zext i32 %545 to i64
  %547 = call ptr @s2n_ensure_memmove_trace(ptr noundef %541, ptr noundef %544, i64 noundef %546)
  store ptr %547, ptr %12, align 8, !tbaa !5
  br label %548

548:                                              ; preds = %536
  %549 = load ptr, ptr %12, align 8, !tbaa !5
  %550 = icmp ne ptr %549, null
  br i1 %550, label %584, label %551

551:                                              ; preds = %548
  br label %552

552:                                              ; preds = %551
  br label %553

553:                                              ; preds = %552
  %554 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %555 = getelementptr inbounds %struct.s2n_debug_info, ptr %554, i32 0, i32 0
  store ptr @.str.58, ptr %555, align 8, !tbaa !9
  %556 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %557 = getelementptr inbounds %struct.s2n_debug_info, ptr %556, i32 0, i32 0
  %558 = load ptr, ptr %557, align 8, !tbaa !9
  %559 = getelementptr inbounds i8, ptr %558, i64 21
  %560 = call ptr @strrchr(ptr noundef %559, i32 noundef 47) #8
  %561 = icmp ne ptr %560, null
  br i1 %561, label %562, label %569

562:                                              ; preds = %553
  %563 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %564 = getelementptr inbounds %struct.s2n_debug_info, ptr %563, i32 0, i32 0
  %565 = load ptr, ptr %564, align 8, !tbaa !9
  %566 = getelementptr inbounds i8, ptr %565, i64 21
  %567 = call ptr @strrchr(ptr noundef %566, i32 noundef 47) #8
  %568 = getelementptr inbounds i8, ptr %567, i64 1
  br label %574

569:                                              ; preds = %553
  %570 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %571 = getelementptr inbounds %struct.s2n_debug_info, ptr %570, i32 0, i32 0
  %572 = load ptr, ptr %571, align 8, !tbaa !9
  %573 = getelementptr inbounds i8, ptr %572, i64 21
  br label %574

574:                                              ; preds = %569, %562
  %575 = phi ptr [ %568, %562 ], [ %573, %569 ]
  %576 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %577 = getelementptr inbounds %struct.s2n_debug_info, ptr %576, i32 0, i32 1
  store ptr %575, ptr %577, align 8, !tbaa !11
  %578 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  store i32 402653193, ptr %578, align 4, !tbaa !12
  %579 = call i32 @s2n_calculate_stacktrace()
  br label %580

580:                                              ; preds = %574
  br label %581

581:                                              ; preds = %580
  store i32 -1, ptr %2, align 4
  store i32 1, ptr %5, align 4
  br label %587

582:                                              ; No predecessors!
  br label %583

583:                                              ; preds = %582
  br label %584

584:                                              ; preds = %583, %548
  br label %585

585:                                              ; preds = %584
  br label %586

586:                                              ; preds = %585
  store i32 0, ptr %5, align 4
  br label %587

587:                                              ; preds = %586, %581
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #9
  %588 = load i32, ptr %5, align 4
  switch i32 %588, label %591 [
    i32 0, label %589
  ]

589:                                              ; preds = %587
  br label %590

590:                                              ; preds = %589, %524
  store i32 0, ptr %5, align 4
  br label %591

591:                                              ; preds = %590, %587
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #9
  %592 = load i32, ptr %5, align 4
  switch i32 %592, label %668 [
    i32 0, label %593
  ]

593:                                              ; preds = %591
  br label %594

594:                                              ; preds = %593
  br label %595

595:                                              ; preds = %594
  br label %596

596:                                              ; preds = %595
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #9
  %597 = getelementptr inbounds %struct.s2n_key_material, ptr %7, i32 0, i32 6
  %598 = getelementptr inbounds %struct.s2n_blob, ptr %597, i32 0, i32 1
  %599 = load i32, ptr %598, align 8, !tbaa !62
  store i32 %599, ptr %13, align 4, !tbaa !12
  %600 = load i32, ptr %13, align 4, !tbaa !12
  %601 = icmp ne i32 %600, 0
  %602 = xor i1 %601, true
  %603 = xor i1 %602, true
  %604 = zext i1 %603 to i32
  %605 = sext i32 %604 to i64
  %606 = call i64 @llvm.expect.i64(i64 %605, i64 1)
  %607 = icmp ne i64 %606, 0
  br i1 %607, label %608, label %662

608:                                              ; preds = %596
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #9
  %609 = load ptr, ptr %3, align 8, !tbaa !5
  %610 = getelementptr inbounds %struct.s2n_connection, ptr %609, i32 0, i32 27
  %611 = load ptr, ptr %610, align 8, !tbaa !14
  %612 = getelementptr inbounds %struct.s2n_crypto_parameters, ptr %611, i32 0, i32 6
  %613 = getelementptr inbounds [16 x i8], ptr %612, i64 0, i64 0
  %614 = getelementptr inbounds %struct.s2n_key_material, ptr %7, i32 0, i32 6
  %615 = getelementptr inbounds %struct.s2n_blob, ptr %614, i32 0, i32 0
  %616 = load ptr, ptr %615, align 8, !tbaa !64
  %617 = load i32, ptr %13, align 4, !tbaa !12
  %618 = zext i32 %617 to i64
  %619 = call ptr @s2n_ensure_memmove_trace(ptr noundef %613, ptr noundef %616, i64 noundef %618)
  store ptr %619, ptr %14, align 8, !tbaa !5
  br label %620

620:                                              ; preds = %608
  %621 = load ptr, ptr %14, align 8, !tbaa !5
  %622 = icmp ne ptr %621, null
  br i1 %622, label %656, label %623

623:                                              ; preds = %620
  br label %624

624:                                              ; preds = %623
  br label %625

625:                                              ; preds = %624
  %626 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %627 = getelementptr inbounds %struct.s2n_debug_info, ptr %626, i32 0, i32 0
  store ptr @.str.59, ptr %627, align 8, !tbaa !9
  %628 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %629 = getelementptr inbounds %struct.s2n_debug_info, ptr %628, i32 0, i32 0
  %630 = load ptr, ptr %629, align 8, !tbaa !9
  %631 = getelementptr inbounds i8, ptr %630, i64 21
  %632 = call ptr @strrchr(ptr noundef %631, i32 noundef 47) #8
  %633 = icmp ne ptr %632, null
  br i1 %633, label %634, label %641

634:                                              ; preds = %625
  %635 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %636 = getelementptr inbounds %struct.s2n_debug_info, ptr %635, i32 0, i32 0
  %637 = load ptr, ptr %636, align 8, !tbaa !9
  %638 = getelementptr inbounds i8, ptr %637, i64 21
  %639 = call ptr @strrchr(ptr noundef %638, i32 noundef 47) #8
  %640 = getelementptr inbounds i8, ptr %639, i64 1
  br label %646

641:                                              ; preds = %625
  %642 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %643 = getelementptr inbounds %struct.s2n_debug_info, ptr %642, i32 0, i32 0
  %644 = load ptr, ptr %643, align 8, !tbaa !9
  %645 = getelementptr inbounds i8, ptr %644, i64 21
  br label %646

646:                                              ; preds = %641, %634
  %647 = phi ptr [ %640, %634 ], [ %645, %641 ]
  %648 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %649 = getelementptr inbounds %struct.s2n_debug_info, ptr %648, i32 0, i32 1
  store ptr %647, ptr %649, align 8, !tbaa !11
  %650 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  store i32 402653193, ptr %650, align 4, !tbaa !12
  %651 = call i32 @s2n_calculate_stacktrace()
  br label %652

652:                                              ; preds = %646
  br label %653

653:                                              ; preds = %652
  store i32 -1, ptr %2, align 4
  store i32 1, ptr %5, align 4
  br label %659

654:                                              ; No predecessors!
  br label %655

655:                                              ; preds = %654
  br label %656

656:                                              ; preds = %655, %620
  br label %657

657:                                              ; preds = %656
  br label %658

658:                                              ; preds = %657
  store i32 0, ptr %5, align 4
  br label %659

659:                                              ; preds = %658, %653
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #9
  %660 = load i32, ptr %5, align 4
  switch i32 %660, label %663 [
    i32 0, label %661
  ]

661:                                              ; preds = %659
  br label %662

662:                                              ; preds = %661, %596
  store i32 0, ptr %5, align 4
  br label %663

663:                                              ; preds = %662, %659
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #9
  %664 = load i32, ptr %5, align 4
  switch i32 %664, label %668 [
    i32 0, label %665
  ]

665:                                              ; preds = %663
  br label %666

666:                                              ; preds = %665
  br label %667

667:                                              ; preds = %666
  store i32 0, ptr %2, align 4
  store i32 1, ptr %5, align 4
  br label %668

668:                                              ; preds = %667, %663, %591, %518, %477, %434, %413, %387, %379, %371, %345, %334, %312, %301, %284, %265, %225
  call void @llvm.lifetime.end.p0(i64 304, ptr %7) #9
  br label %669

669:                                              ; preds = %668, %212
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #9
  br label %670

670:                                              ; preds = %669, %168, %127
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #9
  br label %671

671:                                              ; preds = %670, %85, %47
  %672 = load i32, ptr %2, align 4
  ret i32 %672
}

declare i32 @s2n_hmac_reset(ptr noundef) #2

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

; Function Attrs: nounwind uwtable
declare hidden i32 @s2n_prf_make_client_key(ptr noundef, ptr noundef) #6

; Function Attrs: nounwind uwtable
declare hidden i32 @s2n_prf_make_server_key(ptr noundef, ptr noundef) #6

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

declare ptr @s2n_ensure_memmove_trace(ptr noundef, ptr noundef, i64 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 nounwind willreturn memory(argmem: write) }
attributes #5 = { 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 #6 = { 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 = { nocallback nofree nosync nounwind willreturn memory(none) }
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 = !{!48, !6, i64 48}
!48 = !{!"s2n_cipher_suite", !13, i64 0, !6, i64 8, !6, i64 16, !7, i64 24, !6, i64 32, !13, i64 40, !6, i64 48, !7, i64 56, !7, i64 72, !6, i64 80, !6, i64 88, !13, i64 96, !7, i64 100}
!49 = !{!50, !6, i64 0}
!50 = !{!"s2n_record_algorithm", !6, i64 0, !13, i64 8, !13, i64 12, !17, i64 16}
!51 = !{!52, !6, i64 64}
!52 = !{!"s2n_cipher", !13, i64 0, !7, i64 8, !7, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !6, i64 88, !6, i64 96}
!53 = !{!50, !13, i64 8}
!54 = !{!55, !6, i64 160}
!55 = !{!"s2n_key_material", !7, i64 0, !24, i64 160, !24, i64 184, !24, i64 208, !24, i64 232, !24, i64 256, !24, i64 280}
!56 = !{!55, !13, i64 168}
!57 = !{!55, !6, i64 184}
!58 = !{!55, !13, i64 192}
!59 = !{!52, !13, i64 0}
!60 = !{!7, !7, i64 0}
!61 = !{!55, !13, i64 264}
!62 = !{!55, !13, i64 288}
!63 = !{!55, !6, i64 256}
!64 = !{!55, !6, i64 280}


; 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_key_material = type { [160 x i8], %struct.s2n_blob, %struct.s2n_blob, %struct.s2n_blob, %struct.s2n_blob, %struct.s2n_blob, %struct.s2n_blob }
%struct.s2n_blob = type { ptr, i32, i32, i8 }

@_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.50 = external hidden unnamed_addr constant [84 x i8], align 1
@.str.51 = external hidden unnamed_addr constant [84 x i8], align 1
@.str.52 = external hidden unnamed_addr constant [84 x i8], align 1
@.str.53 = external hidden unnamed_addr constant [84 x i8], align 1
@.str.54 = external hidden unnamed_addr constant [84 x i8], align 1
@.str.55 = external hidden unnamed_addr constant [84 x i8], align 1
@.str.56 = external hidden unnamed_addr constant [84 x i8], align 1
@.str.57 = external hidden unnamed_addr constant [84 x i8], align 1
@.str.58 = external hidden unnamed_addr constant [84 x i8], align 1
@.str.59 = external hidden unnamed_addr constant [84 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

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

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

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

; Function Attrs: nounwind uwtable
declare dso_local i32 @s2n_prf_generate_key_material(ptr noundef, ptr noundef) local_unnamed_addr #6

; Function Attrs: nounwind uwtable
define dso_local range(i32 -1, 1) i32 @s2n_prf_key_expansion(ptr noundef %0) local_unnamed_addr #6 {
  %2 = alloca %struct.s2n_key_material, align 8
  %.not = icmp eq ptr %0, null
  br i1 %.not, label %3, label %11

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

11:                                               ; preds = %1
  %12 = getelementptr inbounds i8, ptr %0, i64 232
  %13 = load ptr, ptr %12, align 8, !tbaa !13
  %.not64 = icmp eq ptr %13, null
  br i1 %.not64, label %14, label %22

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

22:                                               ; preds = %11
  %23 = load ptr, ptr %13, align 8, !tbaa !41
  %.not66 = icmp eq ptr %23, null
  br i1 %.not66, label %24, label %32

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

32:                                               ; preds = %22
  %33 = getelementptr inbounds i8, ptr %23, i64 48
  %34 = load ptr, ptr %33, align 8, !tbaa !46
  %.not68 = icmp eq ptr %34, null
  br i1 %.not68, label %35, label %43

35:                                               ; preds = %32
  %36 = tail call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  store ptr @.str.53, ptr %36, align 8, !tbaa !5
  %37 = tail call ptr @strrchr(ptr noundef nonnull dereferenceable(1) getelementptr inbounds (i8, ptr @.str.53, i64 21), i32 noundef 47) #7
  %.not69 = icmp eq ptr %37, null
  %38 = getelementptr inbounds i8, ptr %37, i64 1
  %39 = select i1 %.not69, ptr getelementptr inbounds (i8, ptr @.str.53, i64 21), ptr %38
  %40 = getelementptr inbounds i8, ptr %36, i64 8
  store ptr %39, ptr %40, align 8, !tbaa !10
  %41 = tail call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  store i32 402653193, ptr %41, align 4, !tbaa !11
  %42 = tail call i32 @s2n_calculate_stacktrace() #8
  br label %164

43:                                               ; preds = %32
  %44 = load ptr, ptr %34, align 8, !tbaa !48
  %.not70 = icmp eq ptr %44, null
  br i1 %.not70, label %45, label %53

45:                                               ; preds = %43
  %46 = tail call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  store ptr @.str.54, ptr %46, align 8, !tbaa !5
  %47 = tail call ptr @strrchr(ptr noundef nonnull dereferenceable(1) getelementptr inbounds (i8, ptr @.str.54, i64 21), i32 noundef 47) #7
  %.not71 = icmp eq ptr %47, null
  %48 = getelementptr inbounds i8, ptr %47, i64 1
  %49 = select i1 %.not71, ptr getelementptr inbounds (i8, ptr @.str.54, i64 21), ptr %48
  %50 = getelementptr inbounds i8, ptr %46, i64 8
  store ptr %49, ptr %50, align 8, !tbaa !10
  %51 = tail call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  store i32 402653193, ptr %51, align 4, !tbaa !11
  %52 = tail call i32 @s2n_calculate_stacktrace() #8
  br label %164

53:                                               ; preds = %43
  call void @llvm.lifetime.start.p0(i64 304, ptr nonnull %2) #8
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(304) %2, i8 0, i64 304, i1 false)
  %54 = call i32 @s2n_prf_generate_key_material(ptr noundef nonnull %0, ptr noundef nonnull %2)
  %55 = call zeroext i1 @s2n_result_is_ok(i32 %54)
  br i1 %55, label %56, label %.critedge83.thread

56:                                               ; preds = %53
  %57 = load i8, ptr %23, align 8
  %58 = and i8 %57, 1
  %.not72 = icmp eq i8 %58, 0
  br i1 %.not72, label %.critedge83.thread.sink.split, label %59

59:                                               ; preds = %56
  %60 = getelementptr inbounds i8, ptr %44, i64 64
  %61 = load ptr, ptr %60, align 8, !tbaa !50
  %62 = load ptr, ptr %12, align 8, !tbaa !13
  %63 = getelementptr inbounds i8, ptr %62, i64 8
  %64 = call i32 %61(ptr noundef nonnull %63) #8
  %65 = call zeroext i1 @s2n_result_is_ok(i32 %64)
  br i1 %65, label %66, label %.critedge83.thread

66:                                               ; preds = %59
  %67 = load ptr, ptr %60, align 8, !tbaa !50
  %68 = load ptr, ptr %12, align 8, !tbaa !13
  %69 = getelementptr inbounds i8, ptr %68, i64 16
  %70 = call i32 %67(ptr noundef nonnull %69) #8
  %71 = call zeroext i1 @s2n_result_is_ok(i32 %70)
  br i1 %71, label %72, label %.critedge83.thread

72:                                               ; preds = %66
  %73 = load ptr, ptr %12, align 8, !tbaa !13
  %74 = getelementptr inbounds i8, ptr %73, i64 24
  %75 = call i32 @s2n_hmac_reset(ptr noundef nonnull %74) #8
  %76 = icmp sgt i32 %75, -1
  br i1 %76, label %77, label %.critedge83.thread

77:                                               ; preds = %72
  %78 = load ptr, ptr %12, align 8, !tbaa !13
  %79 = getelementptr inbounds i8, ptr %78, i64 24
  %80 = load ptr, ptr %33, align 8, !tbaa !46
  %81 = getelementptr inbounds i8, ptr %80, i64 8
  %82 = load i32, ptr %81, align 8, !tbaa !52
  %83 = getelementptr inbounds i8, ptr %2, i64 160
  %84 = load ptr, ptr %83, align 8, !tbaa !53
  %85 = getelementptr inbounds i8, ptr %2, i64 168
  %86 = load i32, ptr %85, align 8, !tbaa !55
  %87 = call i32 @s2n_hmac_init(ptr noundef nonnull %79, i32 noundef %82, ptr noundef %84, i32 noundef %86) #8
  %88 = icmp sgt i32 %87, -1
  br i1 %88, label %89, label %.critedge83.thread

89:                                               ; preds = %77
  %90 = load ptr, ptr %12, align 8, !tbaa !13
  %91 = getelementptr inbounds i8, ptr %90, i64 456
  %92 = call i32 @s2n_hmac_reset(ptr noundef nonnull %91) #8
  %93 = icmp sgt i32 %92, -1
  br i1 %93, label %94, label %.critedge83.thread

94:                                               ; preds = %89
  %95 = load ptr, ptr %12, align 8, !tbaa !13
  %96 = getelementptr inbounds i8, ptr %95, i64 456
  %97 = load ptr, ptr %95, align 8, !tbaa !41
  %98 = getelementptr inbounds i8, ptr %97, i64 48
  %99 = load ptr, ptr %98, align 8, !tbaa !46
  %100 = getelementptr inbounds i8, ptr %99, i64 8
  %101 = load i32, ptr %100, align 8, !tbaa !52
  %102 = getelementptr inbounds i8, ptr %2, i64 184
  %103 = load ptr, ptr %102, align 8, !tbaa !56
  %104 = getelementptr inbounds i8, ptr %2, i64 192
  %105 = load i32, ptr %104, align 8, !tbaa !57
  %106 = call i32 @s2n_hmac_init(ptr noundef nonnull %96, i32 noundef %101, ptr noundef %103, i32 noundef %105) #8
  %107 = icmp sgt i32 %106, -1
  br i1 %107, label %108, label %.critedge83.thread

108:                                              ; preds = %94
  %109 = call i32 @s2n_prf_make_client_key(ptr noundef nonnull %0, ptr noundef nonnull %2)
  %110 = icmp sgt i32 %109, -1
  br i1 %110, label %111, label %.critedge83.thread

111:                                              ; preds = %108
  %112 = call i32 @s2n_prf_make_server_key(ptr noundef nonnull %0, ptr noundef nonnull %2)
  %113 = icmp sgt i32 %112, -1
  br i1 %113, label %114, label %.critedge83.thread

114:                                              ; preds = %111
  %115 = load i32, ptr %44, align 8, !tbaa !58
  %116 = icmp eq i32 %115, 3
  br i1 %116, label %117, label %134

117:                                              ; preds = %114
  %118 = getelementptr inbounds i8, ptr %44, i64 32
  %119 = load ptr, ptr %118, align 8, !tbaa !59
  %120 = load ptr, ptr %12, align 8, !tbaa !13
  %121 = getelementptr inbounds i8, ptr %120, i64 8
  %122 = load ptr, ptr %83, align 8, !tbaa !53
  %123 = load i32, ptr %85, align 8, !tbaa !55
  %124 = call i32 %119(ptr noundef nonnull %121, ptr noundef %122, i32 noundef %123) #8
  %125 = icmp sgt i32 %124, -1
  br i1 %125, label %126, label %.critedge83.thread

126:                                              ; preds = %117
  %127 = load ptr, ptr %118, align 8, !tbaa !59
  %128 = load ptr, ptr %12, align 8, !tbaa !13
  %129 = getelementptr inbounds i8, ptr %128, i64 16
  %130 = load ptr, ptr %102, align 8, !tbaa !56
  %131 = load i32, ptr %104, align 8, !tbaa !57
  %132 = call i32 %127(ptr noundef nonnull %129, ptr noundef %130, i32 noundef %131) #8
  %133 = icmp sgt i32 %132, -1
  br i1 %133, label %134, label %.critedge83.thread

134:                                              ; preds = %114, %126
  %135 = getelementptr inbounds i8, ptr %2, i64 256
  %136 = getelementptr inbounds i8, ptr %2, i64 264
  %137 = load i32, ptr %136, align 8, !tbaa !60
  %138 = getelementptr inbounds i8, ptr %2, i64 280
  %139 = getelementptr inbounds i8, ptr %2, i64 288
  %140 = load i32, ptr %139, align 8, !tbaa !61
  %141 = icmp eq i32 %137, %140
  br i1 %141, label %142, label %.critedge83.thread.sink.split

142:                                              ; preds = %134
  %143 = icmp ult i32 %137, 17
  br i1 %143, label %144, label %.critedge83.thread.sink.split

144:                                              ; preds = %142
  %.not76 = icmp eq i32 %137, 0
  br i1 %.not76, label %.critedge83.thread, label %145, !prof !62

145:                                              ; preds = %144
  %146 = load ptr, ptr %12, align 8, !tbaa !13
  %147 = getelementptr inbounds i8, ptr %146, i64 888
  %148 = load ptr, ptr %135, align 8, !tbaa !63
  %149 = zext nneg i32 %137 to i64
  %150 = call ptr @s2n_ensure_memmove_trace(ptr noundef nonnull %147, ptr noundef %148, i64 noundef %149) #8
  %.not77.not = icmp eq ptr %150, null
  br i1 %.not77.not, label %.critedge83.thread.sink.split, label %.critedge83

.critedge83:                                      ; preds = %145
  %.pre = load i32, ptr %139, align 8, !tbaa !61
  %.not79 = icmp eq i32 %.pre, 0
  br i1 %.not79, label %.critedge83.thread, label %151, !prof !64

151:                                              ; preds = %.critedge83
  %152 = load ptr, ptr %12, align 8, !tbaa !13
  %153 = getelementptr inbounds i8, ptr %152, i64 904
  %154 = load ptr, ptr %138, align 8, !tbaa !65
  %155 = zext i32 %.pre to i64
  %156 = call ptr @s2n_ensure_memmove_trace(ptr noundef nonnull %153, ptr noundef %154, i64 noundef %155) #8
  %.not80.not = icmp eq ptr %156, null
  br i1 %.not80.not, label %.critedge83.thread.sink.split, label %.critedge83.thread

.critedge83.thread.sink.split:                    ; preds = %151, %145, %142, %134, %56
  %.str.59.sink = phi ptr [ @.str.55, %56 ], [ @.str.56, %134 ], [ @.str.57, %142 ], [ @.str.58, %145 ], [ @.str.59, %151 ]
  %.sink96 = phi ptr [ getelementptr inbounds (i8, ptr @.str.55, i64 21), %56 ], [ getelementptr inbounds (i8, ptr @.str.56, i64 21), %134 ], [ getelementptr inbounds (i8, ptr @.str.57, i64 21), %142 ], [ getelementptr inbounds (i8, ptr @.str.58, i64 21), %145 ], [ getelementptr inbounds (i8, ptr @.str.59, i64 21), %151 ]
  %.sink = phi i32 [ 402653206, %56 ], [ 402653194, %134 ], [ 402653194, %142 ], [ 402653193, %145 ], [ 402653193, %151 ]
  %157 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  store ptr %.str.59.sink, ptr %157, align 8, !tbaa !5
  %158 = call ptr @strrchr(ptr noundef nonnull dereferenceable(1) %.sink96, i32 noundef 47) #7
  %.not81 = icmp eq ptr %158, null
  %159 = getelementptr inbounds i8, ptr %158, i64 1
  %160 = select i1 %.not81, ptr %.sink96, ptr %159
  %161 = getelementptr inbounds i8, ptr %157, i64 8
  store ptr %160, ptr %161, align 8, !tbaa !10
  %162 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  store i32 %.sink, ptr %162, align 4, !tbaa !11
  %163 = call i32 @s2n_calculate_stacktrace() #8
  br label %.critedge83.thread

.critedge83.thread:                               ; preds = %.critedge83.thread.sink.split, %144, %151, %.critedge83, %126, %117, %111, %108, %94, %89, %77, %72, %66, %59, %53
  %.6 = phi i32 [ -1, %53 ], [ -1, %59 ], [ -1, %66 ], [ -1, %72 ], [ -1, %77 ], [ -1, %89 ], [ -1, %94 ], [ -1, %108 ], [ -1, %111 ], [ -1, %117 ], [ -1, %126 ], [ 0, %151 ], [ 0, %.critedge83 ], [ 0, %144 ], [ -1, %.critedge83.thread.sink.split ]
  call void @llvm.lifetime.end.p0(i64 304, ptr nonnull %2) #8
  br label %164

164:                                              ; preds = %24, %35, %.critedge83.thread, %45, %14, %3
  %.9 = phi i32 [ -1, %14 ], [ -1, %3 ], [ -1, %35 ], [ -1, %24 ], [ %.6, %.critedge83.thread ], [ -1, %45 ]
  ret i32 %.9
}

declare i32 @s2n_hmac_reset(ptr noundef) local_unnamed_addr #2

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

; Function Attrs: nounwind uwtable
declare hidden i32 @s2n_prf_make_client_key(ptr noundef, ptr noundef) local_unnamed_addr #6

; Function Attrs: nounwind uwtable
declare hidden i32 @s2n_prf_make_server_key(ptr noundef, ptr noundef) local_unnamed_addr #6

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

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 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #5 = { 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 #6 = { 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 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 = !{!47, !7, i64 48}
!47 = !{!"s2n_cipher_suite", !12, i64 0, !7, i64 8, !7, i64 16, !8, i64 24, !7, i64 32, !12, i64 40, !7, i64 48, !8, i64 56, !8, i64 72, !7, i64 80, !7, i64 88, !12, i64 96, !8, i64 100}
!48 = !{!49, !7, i64 0}
!49 = !{!"s2n_record_algorithm", !7, i64 0, !12, i64 8, !12, i64 12, !16, i64 16}
!50 = !{!51, !7, i64 64}
!51 = !{!"s2n_cipher", !12, i64 0, !8, i64 8, !8, i64 48, !7, i64 56, !7, i64 64, !7, i64 72, !7, i64 80, !7, i64 88, !7, i64 96}
!52 = !{!49, !12, i64 8}
!53 = !{!54, !7, i64 160}
!54 = !{!"s2n_key_material", !8, i64 0, !23, i64 160, !23, i64 184, !23, i64 208, !23, i64 232, !23, i64 256, !23, i64 280}
!55 = !{!54, !12, i64 168}
!56 = !{!54, !7, i64 184}
!57 = !{!54, !12, i64 192}
!58 = !{!51, !12, i64 0}
!59 = !{!8, !8, i64 0}
!60 = !{!54, !12, i64 264}
!61 = !{!54, !12, i64 288}
!62 = !{!"branch_weights", !"expected", i32 1, i32 2000}
!63 = !{!54, !7, i64 256}
!64 = !{!"branch_weights", !"expected", i32 0, i32 -2147483648}
!65 = !{!54, !7, i64 280}


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