; LLVM IR from aws/s2n-tls :: tests/unit (s2n_tls13_key_schedule_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_result = type { i32 }
%struct.s2n_blob = type { ptr, i32, i32, i8 }
%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.0, i32 }
%union.anon.0 = 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 }
%union.anon = 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 }

@_s2n_debug_info = external thread_local global %struct.s2n_debug_info, align 8
@s2n_errno = external thread_local global i32, align 4
@.str.29 = external hidden unnamed_addr constant [94 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [94 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [94 x i8], align 1

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

; Function Attrs: nounwind uwtable
declare hidden zeroext i8 @s2n_get_hash_len(i32 noundef) #1

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

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

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

declare i32 @s2n_calculate_stacktrace() #4

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

; Function Attrs: nounwind uwtable
declare dso_local i32 @s2n_derive_resumption_master_secret(ptr noundef) #1

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

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

; Function Attrs: nounwind uwtable
define dso_local i32 @s2n_tls13_secrets_update(ptr noundef %0) #1 {
  %2 = alloca %struct.s2n_result, align 4
  %3 = alloca ptr, align 8
  %4 = alloca i32, align 4
  %5 = alloca %struct.s2n_result, align 4
  %6 = alloca i32, align 4
  %7 = alloca %struct.s2n_result, align 4
  %8 = alloca %struct.s2n_blob, align 8
  %9 = alloca %struct.s2n_result, align 4
  %10 = alloca %struct.s2n_result, align 4
  %11 = alloca %struct.s2n_blob, align 8
  %12 = alloca %struct.s2n_result, align 4
  %13 = alloca %struct.s2n_blob, align 8
  %14 = alloca %struct.s2n_result, align 4
  %15 = alloca %struct.s2n_result, align 4
  %16 = alloca %struct.s2n_blob, align 8
  %17 = alloca %struct.s2n_result, align 4
  %18 = alloca %struct.s2n_blob, align 8
  %19 = alloca %struct.s2n_result, align 4
  %20 = alloca %struct.s2n_blob, align 8
  %21 = alloca %struct.s2n_result, align 4
  %22 = alloca %struct.s2n_result, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  br label %23

23:                                               ; preds = %1
  %24 = load ptr, ptr %3, align 8, !tbaa !5
  %25 = icmp ne ptr %24, null
  br i1 %25, label %58, label %26

26:                                               ; preds = %23
  br label %27

27:                                               ; preds = %26
  br label %28

28:                                               ; preds = %27
  %29 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %30 = getelementptr inbounds %struct.s2n_debug_info, ptr %29, i32 0, i32 0
  store ptr @.str.29, ptr %30, align 8, !tbaa !9
  %31 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %32 = getelementptr inbounds %struct.s2n_debug_info, ptr %31, i32 0, i32 0
  %33 = load ptr, ptr %32, align 8, !tbaa !9
  %34 = getelementptr inbounds i8, ptr %33, i64 21
  %35 = call ptr @strrchr(ptr noundef %34, i32 noundef 47) #6
  %36 = icmp ne ptr %35, null
  br i1 %36, label %37, label %44

37:                                               ; preds = %28
  %38 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %39 = getelementptr inbounds %struct.s2n_debug_info, ptr %38, i32 0, i32 0
  %40 = load ptr, ptr %39, align 8, !tbaa !9
  %41 = getelementptr inbounds i8, ptr %40, i64 21
  %42 = call ptr @strrchr(ptr noundef %41, i32 noundef 47) #6
  %43 = getelementptr inbounds i8, ptr %42, i64 1
  br label %49

44:                                               ; preds = %28
  %45 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %46 = getelementptr inbounds %struct.s2n_debug_info, ptr %45, i32 0, i32 0
  %47 = load ptr, ptr %46, align 8, !tbaa !9
  %48 = getelementptr inbounds i8, ptr %47, i64 21
  br label %49

49:                                               ; preds = %44, %37
  %50 = phi ptr [ %43, %37 ], [ %48, %44 ]
  %51 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %52 = getelementptr inbounds %struct.s2n_debug_info, ptr %51, i32 0, i32 1
  store ptr %50, ptr %52, align 8, !tbaa !11
  %53 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  store i32 402653193, ptr %53, align 4, !tbaa !12
  %54 = call i32 @s2n_calculate_stacktrace()
  br label %55

55:                                               ; preds = %49
  %56 = getelementptr inbounds %struct.s2n_result, ptr %2, i32 0, i32 0
  store i32 -1, ptr %56, align 4, !tbaa !14
  br label %427

57:                                               ; No predecessors!
  br label %58

58:                                               ; preds = %57, %23
  br label %59

59:                                               ; preds = %58
  %60 = load ptr, ptr %3, align 8, !tbaa !5
  %61 = call zeroext i8 @s2n_connection_get_protocol_version(ptr noundef %60)
  %62 = zext i8 %61 to i32
  %63 = icmp slt i32 %62, 34
  br i1 %63, label %64, label %66

64:                                               ; preds = %59
  %65 = getelementptr inbounds %struct.s2n_result, ptr %2, i32 0, i32 0
  store i32 0, ptr %65, align 4, !tbaa !14
  br label %427

66:                                               ; preds = %59
  br label %67

67:                                               ; preds = %66
  %68 = load ptr, ptr %3, align 8, !tbaa !5
  %69 = getelementptr inbounds %struct.s2n_connection, ptr %68, i32 0, i32 27
  %70 = load ptr, ptr %69, align 8, !tbaa !16
  %71 = icmp ne ptr %70, null
  br i1 %71, label %104, label %72

72:                                               ; preds = %67
  br label %73

73:                                               ; preds = %72
  br label %74

74:                                               ; preds = %73
  %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
  store ptr @.str.30, ptr %76, align 8, !tbaa !9
  %77 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %78 = getelementptr inbounds %struct.s2n_debug_info, ptr %77, i32 0, i32 0
  %79 = load ptr, ptr %78, align 8, !tbaa !9
  %80 = getelementptr inbounds i8, ptr %79, i64 21
  %81 = call ptr @strrchr(ptr noundef %80, i32 noundef 47) #6
  %82 = icmp ne ptr %81, null
  br i1 %82, label %83, label %90

83:                                               ; preds = %74
  %84 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %85 = getelementptr inbounds %struct.s2n_debug_info, ptr %84, i32 0, i32 0
  %86 = load ptr, ptr %85, align 8, !tbaa !9
  %87 = getelementptr inbounds i8, ptr %86, i64 21
  %88 = call ptr @strrchr(ptr noundef %87, i32 noundef 47) #6
  %89 = getelementptr inbounds i8, ptr %88, i64 1
  br label %95

90:                                               ; preds = %74
  %91 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %92 = getelementptr inbounds %struct.s2n_debug_info, ptr %91, i32 0, i32 0
  %93 = load ptr, ptr %92, align 8, !tbaa !9
  %94 = getelementptr inbounds i8, ptr %93, i64 21
  br label %95

95:                                               ; preds = %90, %83
  %96 = phi ptr [ %89, %83 ], [ %94, %90 ]
  %97 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %98 = getelementptr inbounds %struct.s2n_debug_info, ptr %97, i32 0, i32 1
  store ptr %96, ptr %98, align 8, !tbaa !11
  %99 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  store i32 402653193, ptr %99, align 4, !tbaa !12
  %100 = call i32 @s2n_calculate_stacktrace()
  br label %101

101:                                              ; preds = %95
  %102 = getelementptr inbounds %struct.s2n_result, ptr %2, i32 0, i32 0
  store i32 -1, ptr %102, align 4, !tbaa !14
  br label %427

103:                                              ; No predecessors!
  br label %104

104:                                              ; preds = %103, %67
  br label %105

105:                                              ; preds = %104
  br label %106

106:                                              ; preds = %105
  %107 = load ptr, ptr %3, align 8, !tbaa !5
  %108 = getelementptr inbounds %struct.s2n_connection, ptr %107, i32 0, i32 27
  %109 = load ptr, ptr %108, align 8, !tbaa !16
  %110 = getelementptr inbounds %struct.s2n_crypto_parameters, ptr %109, i32 0, i32 0
  %111 = load ptr, ptr %110, align 8, !tbaa !43
  %112 = icmp ne ptr %111, null
  br i1 %112, label %145, label %113

113:                                              ; preds = %106
  br label %114

114:                                              ; preds = %113
  br label %115

115:                                              ; preds = %114
  %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
  store ptr @.str.31, ptr %117, align 8, !tbaa !9
  %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 0
  %120 = load ptr, ptr %119, align 8, !tbaa !9
  %121 = getelementptr inbounds i8, ptr %120, i64 21
  %122 = call ptr @strrchr(ptr noundef %121, i32 noundef 47) #6
  %123 = icmp ne ptr %122, null
  br i1 %123, label %124, label %131

124:                                              ; preds = %115
  %125 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %126 = getelementptr inbounds %struct.s2n_debug_info, ptr %125, i32 0, i32 0
  %127 = load ptr, ptr %126, align 8, !tbaa !9
  %128 = getelementptr inbounds i8, ptr %127, i64 21
  %129 = call ptr @strrchr(ptr noundef %128, i32 noundef 47) #6
  %130 = getelementptr inbounds i8, ptr %129, i64 1
  br label %136

131:                                              ; preds = %115
  %132 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %133 = getelementptr inbounds %struct.s2n_debug_info, ptr %132, i32 0, i32 0
  %134 = load ptr, ptr %133, align 8, !tbaa !9
  %135 = getelementptr inbounds i8, ptr %134, i64 21
  br label %136

136:                                              ; preds = %131, %124
  %137 = phi ptr [ %130, %124 ], [ %135, %131 ]
  %138 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %139 = getelementptr inbounds %struct.s2n_debug_info, ptr %138, i32 0, i32 1
  store ptr %137, ptr %139, align 8, !tbaa !11
  %140 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  store i32 402653193, ptr %140, align 4, !tbaa !12
  %141 = call i32 @s2n_calculate_stacktrace()
  br label %142

142:                                              ; preds = %136
  %143 = getelementptr inbounds %struct.s2n_result, ptr %2, i32 0, i32 0
  store i32 -1, ptr %143, align 4, !tbaa !14
  br label %427

144:                                              ; No predecessors!
  br label %145

145:                                              ; preds = %144, %106
  br label %146

146:                                              ; preds = %145
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #7
  %147 = load ptr, ptr %3, align 8, !tbaa !5
  %148 = call i32 @s2n_conn_get_current_message_type(ptr noundef %147)
  store i32 %148, ptr %4, align 4, !tbaa !12
  %149 = load i32, ptr %4, align 4, !tbaa !12
  switch i32 %149, label %423 [
    i32 0, label %150
    i32 1, label %207
    i32 15, label %286
    i32 13, label %398
  ]

150:                                              ; preds = %146
  %151 = load ptr, ptr %3, align 8, !tbaa !5
  %152 = getelementptr inbounds %struct.s2n_connection, ptr %151, i32 0, i32 89
  %153 = load i32, ptr %152, align 8, !tbaa !48
  %154 = icmp eq i32 %153, 1
  br i1 %154, label %160, label %155

155:                                              ; preds = %150
  %156 = load ptr, ptr %3, align 8, !tbaa !5
  %157 = getelementptr inbounds %struct.s2n_connection, ptr %156, i32 0, i32 89
  %158 = load i32, ptr %157, align 8, !tbaa !48
  %159 = icmp eq i32 %158, 3
  br i1 %159, label %160, label %206

160:                                              ; preds = %155, %150
  br label %161

161:                                              ; preds = %160
  %162 = load ptr, ptr %3, align 8, !tbaa !5
  %163 = call i32 @s2n_calculate_transcript_digest(ptr noundef %162)
  %164 = getelementptr inbounds %struct.s2n_result, ptr %5, i32 0, i32 0
  store i32 %163, ptr %164, align 4
  %165 = getelementptr inbounds %struct.s2n_result, ptr %5, i32 0, i32 0
  %166 = load i32, ptr %165, align 4
  %167 = call zeroext i1 @s2n_result_is_ok(i32 %166)
  br i1 %167, label %170, label %168

168:                                              ; preds = %161
  %169 = getelementptr inbounds %struct.s2n_result, ptr %2, i32 0, i32 0
  store i32 -1, ptr %169, align 4, !tbaa !14
  store i32 1, ptr %6, align 4
  br label %426

170:                                              ; preds = %161
  br label %171

171:                                              ; preds = %170
  br label %172

172:                                              ; preds = %171
  br label %173

173:                                              ; preds = %172
  %174 = load ptr, ptr %3, align 8, !tbaa !5
  %175 = getelementptr inbounds %struct.s2n_blob, ptr %8, i32 0, i32 0
  %176 = load ptr, ptr %3, align 8, !tbaa !5
  %177 = getelementptr inbounds %struct.s2n_connection, ptr %176, i32 0, i32 28
  %178 = getelementptr inbounds %struct.s2n_secrets, ptr %177, i32 0, i32 0
  %179 = getelementptr inbounds %struct.s2n_tls13_secrets, ptr %178, i32 0, i32 1
  %180 = getelementptr inbounds [48 x i8], ptr %179, i64 0, i64 0
  store ptr %180, ptr %175, align 8, !tbaa !49
  %181 = getelementptr inbounds %struct.s2n_blob, ptr %8, i32 0, i32 1
  %182 = load ptr, ptr %3, align 8, !tbaa !5
  %183 = getelementptr inbounds %struct.s2n_connection, ptr %182, i32 0, i32 27
  %184 = load ptr, ptr %183, align 8, !tbaa !16
  %185 = getelementptr inbounds %struct.s2n_crypto_parameters, ptr %184, i32 0, i32 0
  %186 = load ptr, ptr %185, align 8, !tbaa !43
  %187 = getelementptr inbounds %struct.s2n_cipher_suite, ptr %186, i32 0, i32 11
  %188 = load i32, ptr %187, align 8, !tbaa !50
  %189 = call zeroext i8 @s2n_get_hash_len(i32 noundef %188)
  %190 = zext i8 %189 to i32
  store i32 %190, ptr %181, align 8, !tbaa !52
  %191 = getelementptr inbounds %struct.s2n_blob, ptr %8, i32 0, i32 2
  store i32 0, ptr %191, align 4, !tbaa !53
  %192 = getelementptr inbounds %struct.s2n_blob, ptr %8, i32 0, i32 3
  %193 = load i8, ptr %192, align 8
  %194 = and i8 %193, -2
  %195 = or i8 %194, 0
  store i8 %195, ptr %192, align 8
  %196 = call i32 @s2n_tls13_derive_secret(ptr noundef %174, i32 noundef 1, i32 noundef 1, ptr noundef %8)
  %197 = getelementptr inbounds %struct.s2n_result, ptr %7, i32 0, i32 0
  store i32 %196, ptr %197, align 4
  %198 = getelementptr inbounds %struct.s2n_result, ptr %7, i32 0, i32 0
  %199 = load i32, ptr %198, align 4
  %200 = call zeroext i1 @s2n_result_is_ok(i32 %199)
  br i1 %200, label %203, label %201

201:                                              ; preds = %173
  %202 = getelementptr inbounds %struct.s2n_result, ptr %2, i32 0, i32 0
  store i32 -1, ptr %202, align 4, !tbaa !14
  store i32 1, ptr %6, align 4
  br label %426

203:                                              ; preds = %173
  br label %204

204:                                              ; preds = %203
  br label %205

205:                                              ; preds = %204
  br label %206

206:                                              ; preds = %205, %155
  br label %424

207:                                              ; preds = %146
  br label %208

208:                                              ; preds = %207
  %209 = load ptr, ptr %3, align 8, !tbaa !5
  %210 = call i32 @s2n_calculate_transcript_digest(ptr noundef %209)
  %211 = getelementptr inbounds %struct.s2n_result, ptr %9, i32 0, i32 0
  store i32 %210, ptr %211, align 4
  %212 = getelementptr inbounds %struct.s2n_result, ptr %9, i32 0, i32 0
  %213 = load i32, ptr %212, align 4
  %214 = call zeroext i1 @s2n_result_is_ok(i32 %213)
  br i1 %214, label %217, label %215

215:                                              ; preds = %208
  %216 = getelementptr inbounds %struct.s2n_result, ptr %2, i32 0, i32 0
  store i32 -1, ptr %216, align 4, !tbaa !14
  store i32 1, ptr %6, align 4
  br label %426

217:                                              ; preds = %208
  br label %218

218:                                              ; preds = %217
  br label %219

219:                                              ; preds = %218
  br label %220

220:                                              ; preds = %219
  %221 = load ptr, ptr %3, align 8, !tbaa !5
  %222 = getelementptr inbounds %struct.s2n_blob, ptr %11, i32 0, i32 0
  %223 = load ptr, ptr %3, align 8, !tbaa !5
  %224 = getelementptr inbounds %struct.s2n_connection, ptr %223, i32 0, i32 28
  %225 = getelementptr inbounds %struct.s2n_secrets, ptr %224, i32 0, i32 0
  %226 = getelementptr inbounds %struct.s2n_tls13_secrets, ptr %225, i32 0, i32 2
  %227 = getelementptr inbounds [48 x i8], ptr %226, i64 0, i64 0
  store ptr %227, ptr %222, align 8, !tbaa !49
  %228 = getelementptr inbounds %struct.s2n_blob, ptr %11, i32 0, i32 1
  %229 = load ptr, ptr %3, align 8, !tbaa !5
  %230 = getelementptr inbounds %struct.s2n_connection, ptr %229, i32 0, i32 27
  %231 = load ptr, ptr %230, align 8, !tbaa !16
  %232 = getelementptr inbounds %struct.s2n_crypto_parameters, ptr %231, i32 0, i32 0
  %233 = load ptr, ptr %232, align 8, !tbaa !43
  %234 = getelementptr inbounds %struct.s2n_cipher_suite, ptr %233, i32 0, i32 11
  %235 = load i32, ptr %234, align 8, !tbaa !50
  %236 = call zeroext i8 @s2n_get_hash_len(i32 noundef %235)
  %237 = zext i8 %236 to i32
  store i32 %237, ptr %228, align 8, !tbaa !52
  %238 = getelementptr inbounds %struct.s2n_blob, ptr %11, i32 0, i32 2
  store i32 0, ptr %238, align 4, !tbaa !53
  %239 = getelementptr inbounds %struct.s2n_blob, ptr %11, i32 0, i32 3
  %240 = load i8, ptr %239, align 8
  %241 = and i8 %240, -2
  %242 = or i8 %241, 0
  store i8 %242, ptr %239, align 8
  %243 = call i32 @s2n_tls13_derive_secret(ptr noundef %221, i32 noundef 2, i32 noundef 1, ptr noundef %11)
  %244 = getelementptr inbounds %struct.s2n_result, ptr %10, i32 0, i32 0
  store i32 %243, ptr %244, align 4
  %245 = getelementptr inbounds %struct.s2n_result, ptr %10, i32 0, i32 0
  %246 = load i32, ptr %245, align 4
  %247 = call zeroext i1 @s2n_result_is_ok(i32 %246)
  br i1 %247, label %250, label %248

248:                                              ; preds = %220
  %249 = getelementptr inbounds %struct.s2n_result, ptr %2, i32 0, i32 0
  store i32 -1, ptr %249, align 4, !tbaa !14
  store i32 1, ptr %6, align 4
  br label %426

250:                                              ; preds = %220
  br label %251

251:                                              ; preds = %250
  br label %252

252:                                              ; preds = %251
  br label %253

253:                                              ; preds = %252
  %254 = load ptr, ptr %3, align 8, !tbaa !5
  %255 = getelementptr inbounds %struct.s2n_blob, ptr %13, i32 0, i32 0
  %256 = load ptr, ptr %3, align 8, !tbaa !5
  %257 = getelementptr inbounds %struct.s2n_connection, ptr %256, i32 0, i32 28
  %258 = getelementptr inbounds %struct.s2n_secrets, ptr %257, i32 0, i32 0
  %259 = getelementptr inbounds %struct.s2n_tls13_secrets, ptr %258, i32 0, i32 3
  %260 = getelementptr inbounds [48 x i8], ptr %259, i64 0, i64 0
  store ptr %260, ptr %255, align 8, !tbaa !49
  %261 = getelementptr inbounds %struct.s2n_blob, ptr %13, i32 0, i32 1
  %262 = load ptr, ptr %3, align 8, !tbaa !5
  %263 = getelementptr inbounds %struct.s2n_connection, ptr %262, i32 0, i32 27
  %264 = load ptr, ptr %263, align 8, !tbaa !16
  %265 = getelementptr inbounds %struct.s2n_crypto_parameters, ptr %264, i32 0, i32 0
  %266 = load ptr, ptr %265, align 8, !tbaa !43
  %267 = getelementptr inbounds %struct.s2n_cipher_suite, ptr %266, i32 0, i32 11
  %268 = load i32, ptr %267, align 8, !tbaa !50
  %269 = call zeroext i8 @s2n_get_hash_len(i32 noundef %268)
  %270 = zext i8 %269 to i32
  store i32 %270, ptr %261, align 8, !tbaa !52
  %271 = getelementptr inbounds %struct.s2n_blob, ptr %13, i32 0, i32 2
  store i32 0, ptr %271, align 4, !tbaa !53
  %272 = getelementptr inbounds %struct.s2n_blob, ptr %13, i32 0, i32 3
  %273 = load i8, ptr %272, align 8
  %274 = and i8 %273, -2
  %275 = or i8 %274, 0
  store i8 %275, ptr %272, align 8
  %276 = call i32 @s2n_tls13_derive_secret(ptr noundef %254, i32 noundef 2, i32 noundef 0, ptr noundef %13)
  %277 = getelementptr inbounds %struct.s2n_result, ptr %12, i32 0, i32 0
  store i32 %276, ptr %277, align 4
  %278 = getelementptr inbounds %struct.s2n_result, ptr %12, i32 0, i32 0
  %279 = load i32, ptr %278, align 4
  %280 = call zeroext i1 @s2n_result_is_ok(i32 %279)
  br i1 %280, label %283, label %281

281:                                              ; preds = %253
  %282 = getelementptr inbounds %struct.s2n_result, ptr %2, i32 0, i32 0
  store i32 -1, ptr %282, align 4, !tbaa !14
  store i32 1, ptr %6, align 4
  br label %426

283:                                              ; preds = %253
  br label %284

284:                                              ; preds = %283
  br label %285

285:                                              ; preds = %284
  br label %424

286:                                              ; preds = %146
  br label %287

287:                                              ; preds = %286
  %288 = load ptr, ptr %3, align 8, !tbaa !5
  %289 = call i32 @s2n_calculate_transcript_digest(ptr noundef %288)
  %290 = getelementptr inbounds %struct.s2n_result, ptr %14, i32 0, i32 0
  store i32 %289, ptr %290, align 4
  %291 = getelementptr inbounds %struct.s2n_result, ptr %14, i32 0, i32 0
  %292 = load i32, ptr %291, align 4
  %293 = call zeroext i1 @s2n_result_is_ok(i32 %292)
  br i1 %293, label %296, label %294

294:                                              ; preds = %287
  %295 = getelementptr inbounds %struct.s2n_result, ptr %2, i32 0, i32 0
  store i32 -1, ptr %295, align 4, !tbaa !14
  store i32 1, ptr %6, align 4
  br label %426

296:                                              ; preds = %287
  br label %297

297:                                              ; preds = %296
  br label %298

298:                                              ; preds = %297
  br label %299

299:                                              ; preds = %298
  %300 = load ptr, ptr %3, align 8, !tbaa !5
  %301 = getelementptr inbounds %struct.s2n_blob, ptr %16, i32 0, i32 0
  %302 = load ptr, ptr %3, align 8, !tbaa !5
  %303 = getelementptr inbounds %struct.s2n_connection, ptr %302, i32 0, i32 28
  %304 = getelementptr inbounds %struct.s2n_secrets, ptr %303, i32 0, i32 0
  %305 = getelementptr inbounds %struct.s2n_tls13_secrets, ptr %304, i32 0, i32 4
  %306 = getelementptr inbounds [48 x i8], ptr %305, i64 0, i64 0
  store ptr %306, ptr %301, align 8, !tbaa !49
  %307 = getelementptr inbounds %struct.s2n_blob, ptr %16, i32 0, i32 1
  %308 = load ptr, ptr %3, align 8, !tbaa !5
  %309 = getelementptr inbounds %struct.s2n_connection, ptr %308, i32 0, i32 27
  %310 = load ptr, ptr %309, align 8, !tbaa !16
  %311 = getelementptr inbounds %struct.s2n_crypto_parameters, ptr %310, i32 0, i32 0
  %312 = load ptr, ptr %311, align 8, !tbaa !43
  %313 = getelementptr inbounds %struct.s2n_cipher_suite, ptr %312, i32 0, i32 11
  %314 = load i32, ptr %313, align 8, !tbaa !50
  %315 = call zeroext i8 @s2n_get_hash_len(i32 noundef %314)
  %316 = zext i8 %315 to i32
  store i32 %316, ptr %307, align 8, !tbaa !52
  %317 = getelementptr inbounds %struct.s2n_blob, ptr %16, i32 0, i32 2
  store i32 0, ptr %317, align 4, !tbaa !53
  %318 = getelementptr inbounds %struct.s2n_blob, ptr %16, i32 0, i32 3
  %319 = load i8, ptr %318, align 8
  %320 = and i8 %319, -2
  %321 = or i8 %320, 0
  store i8 %321, ptr %318, align 8
  %322 = call i32 @s2n_tls13_derive_secret(ptr noundef %300, i32 noundef 3, i32 noundef 1, ptr noundef %16)
  %323 = getelementptr inbounds %struct.s2n_result, ptr %15, i32 0, i32 0
  store i32 %322, ptr %323, align 4
  %324 = getelementptr inbounds %struct.s2n_result, ptr %15, i32 0, i32 0
  %325 = load i32, ptr %324, align 4
  %326 = call zeroext i1 @s2n_result_is_ok(i32 %325)
  br i1 %326, label %329, label %327

327:                                              ; preds = %299
  %328 = getelementptr inbounds %struct.s2n_result, ptr %2, i32 0, i32 0
  store i32 -1, ptr %328, align 4, !tbaa !14
  store i32 1, ptr %6, align 4
  br label %426

329:                                              ; preds = %299
  br label %330

330:                                              ; preds = %329
  br label %331

331:                                              ; preds = %330
  br label %332

332:                                              ; preds = %331
  %333 = load ptr, ptr %3, align 8, !tbaa !5
  %334 = getelementptr inbounds %struct.s2n_blob, ptr %18, i32 0, i32 0
  %335 = load ptr, ptr %3, align 8, !tbaa !5
  %336 = getelementptr inbounds %struct.s2n_connection, ptr %335, i32 0, i32 28
  %337 = getelementptr inbounds %struct.s2n_secrets, ptr %336, i32 0, i32 0
  %338 = getelementptr inbounds %struct.s2n_tls13_secrets, ptr %337, i32 0, i32 5
  %339 = getelementptr inbounds [48 x i8], ptr %338, i64 0, i64 0
  store ptr %339, ptr %334, align 8, !tbaa !49
  %340 = getelementptr inbounds %struct.s2n_blob, ptr %18, i32 0, i32 1
  %341 = load ptr, ptr %3, align 8, !tbaa !5
  %342 = getelementptr inbounds %struct.s2n_connection, ptr %341, i32 0, i32 27
  %343 = load ptr, ptr %342, align 8, !tbaa !16
  %344 = getelementptr inbounds %struct.s2n_crypto_parameters, ptr %343, i32 0, i32 0
  %345 = load ptr, ptr %344, align 8, !tbaa !43
  %346 = getelementptr inbounds %struct.s2n_cipher_suite, ptr %345, i32 0, i32 11
  %347 = load i32, ptr %346, align 8, !tbaa !50
  %348 = call zeroext i8 @s2n_get_hash_len(i32 noundef %347)
  %349 = zext i8 %348 to i32
  store i32 %349, ptr %340, align 8, !tbaa !52
  %350 = getelementptr inbounds %struct.s2n_blob, ptr %18, i32 0, i32 2
  store i32 0, ptr %350, align 4, !tbaa !53
  %351 = getelementptr inbounds %struct.s2n_blob, ptr %18, i32 0, i32 3
  %352 = load i8, ptr %351, align 8
  %353 = and i8 %352, -2
  %354 = or i8 %353, 0
  store i8 %354, ptr %351, align 8
  %355 = call i32 @s2n_tls13_derive_secret(ptr noundef %333, i32 noundef 3, i32 noundef 0, ptr noundef %18)
  %356 = getelementptr inbounds %struct.s2n_result, ptr %17, i32 0, i32 0
  store i32 %355, ptr %356, align 4
  %357 = getelementptr inbounds %struct.s2n_result, ptr %17, i32 0, i32 0
  %358 = load i32, ptr %357, align 4
  %359 = call zeroext i1 @s2n_result_is_ok(i32 %358)
  br i1 %359, label %362, label %360

360:                                              ; preds = %332
  %361 = getelementptr inbounds %struct.s2n_result, ptr %2, i32 0, i32 0
  store i32 -1, ptr %361, align 4, !tbaa !14
  store i32 1, ptr %6, align 4
  br label %426

362:                                              ; preds = %332
  br label %363

363:                                              ; preds = %362
  br label %364

364:                                              ; preds = %363
  br label %365

365:                                              ; preds = %364
  %366 = load ptr, ptr %3, align 8, !tbaa !5
  %367 = getelementptr inbounds %struct.s2n_blob, ptr %20, i32 0, i32 0
  %368 = load ptr, ptr %3, align 8, !tbaa !5
  %369 = getelementptr inbounds %struct.s2n_connection, ptr %368, i32 0, i32 28
  %370 = getelementptr inbounds %struct.s2n_secrets, ptr %369, i32 0, i32 0
  %371 = getelementptr inbounds %struct.s2n_tls13_secrets, ptr %370, i32 0, i32 7
  %372 = getelementptr inbounds [48 x i8], ptr %371, i64 0, i64 0
  store ptr %372, ptr %367, align 8, !tbaa !49
  %373 = getelementptr inbounds %struct.s2n_blob, ptr %20, i32 0, i32 1
  %374 = load ptr, ptr %3, align 8, !tbaa !5
  %375 = getelementptr inbounds %struct.s2n_connection, ptr %374, i32 0, i32 27
  %376 = load ptr, ptr %375, align 8, !tbaa !16
  %377 = getelementptr inbounds %struct.s2n_crypto_parameters, ptr %376, i32 0, i32 0
  %378 = load ptr, ptr %377, align 8, !tbaa !43
  %379 = getelementptr inbounds %struct.s2n_cipher_suite, ptr %378, i32 0, i32 11
  %380 = load i32, ptr %379, align 8, !tbaa !50
  %381 = call zeroext i8 @s2n_get_hash_len(i32 noundef %380)
  %382 = zext i8 %381 to i32
  store i32 %382, ptr %373, align 8, !tbaa !52
  %383 = getelementptr inbounds %struct.s2n_blob, ptr %20, i32 0, i32 2
  store i32 0, ptr %383, align 4, !tbaa !53
  %384 = getelementptr inbounds %struct.s2n_blob, ptr %20, i32 0, i32 3
  %385 = load i8, ptr %384, align 8
  %386 = and i8 %385, -2
  %387 = or i8 %386, 0
  store i8 %387, ptr %384, align 8
  %388 = call i32 @s2n_derive_exporter_master_secret(ptr noundef %366, ptr noundef %20)
  %389 = getelementptr inbounds %struct.s2n_result, ptr %19, i32 0, i32 0
  store i32 %388, ptr %389, align 4
  %390 = getelementptr inbounds %struct.s2n_result, ptr %19, i32 0, i32 0
  %391 = load i32, ptr %390, align 4
  %392 = call zeroext i1 @s2n_result_is_ok(i32 %391)
  br i1 %392, label %395, label %393

393:                                              ; preds = %365
  %394 = getelementptr inbounds %struct.s2n_result, ptr %2, i32 0, i32 0
  store i32 -1, ptr %394, align 4, !tbaa !14
  store i32 1, ptr %6, align 4
  br label %426

395:                                              ; preds = %365
  br label %396

396:                                              ; preds = %395
  br label %397

397:                                              ; preds = %396
  br label %424

398:                                              ; preds = %146
  br label %399

399:                                              ; preds = %398
  %400 = load ptr, ptr %3, align 8, !tbaa !5
  %401 = call i32 @s2n_calculate_transcript_digest(ptr noundef %400)
  %402 = getelementptr inbounds %struct.s2n_result, ptr %21, i32 0, i32 0
  store i32 %401, ptr %402, align 4
  %403 = getelementptr inbounds %struct.s2n_result, ptr %21, i32 0, i32 0
  %404 = load i32, ptr %403, align 4
  %405 = call zeroext i1 @s2n_result_is_ok(i32 %404)
  br i1 %405, label %408, label %406

406:                                              ; preds = %399
  %407 = getelementptr inbounds %struct.s2n_result, ptr %2, i32 0, i32 0
  store i32 -1, ptr %407, align 4, !tbaa !14
  store i32 1, ptr %6, align 4
  br label %426

408:                                              ; preds = %399
  br label %409

409:                                              ; preds = %408
  br label %410

410:                                              ; preds = %409
  br label %411

411:                                              ; preds = %410
  %412 = load ptr, ptr %3, align 8, !tbaa !5
  %413 = call i32 @s2n_derive_resumption_master_secret(ptr noundef %412)
  %414 = getelementptr inbounds %struct.s2n_result, ptr %22, i32 0, i32 0
  store i32 %413, ptr %414, align 4
  %415 = getelementptr inbounds %struct.s2n_result, ptr %22, i32 0, i32 0
  %416 = load i32, ptr %415, align 4
  %417 = call zeroext i1 @s2n_result_is_ok(i32 %416)
  br i1 %417, label %420, label %418

418:                                              ; preds = %411
  %419 = getelementptr inbounds %struct.s2n_result, ptr %2, i32 0, i32 0
  store i32 -1, ptr %419, align 4, !tbaa !14
  store i32 1, ptr %6, align 4
  br label %426

420:                                              ; preds = %411
  br label %421

421:                                              ; preds = %420
  br label %422

422:                                              ; preds = %421
  br label %424

423:                                              ; preds = %146
  br label %424

424:                                              ; preds = %423, %422, %397, %285, %206
  %425 = getelementptr inbounds %struct.s2n_result, ptr %2, i32 0, i32 0
  store i32 0, ptr %425, align 4, !tbaa !14
  store i32 1, ptr %6, align 4
  br label %426

426:                                              ; preds = %424, %418, %406, %393, %360, %327, %294, %281, %248, %215, %201, %168
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #7
  br label %427

427:                                              ; preds = %426, %142, %101, %64, %55
  %428 = getelementptr inbounds %struct.s2n_result, ptr %2, i32 0, i32 0
  %429 = load i32, ptr %428, align 4
  ret i32 %429
}

declare zeroext i8 @s2n_connection_get_protocol_version(ptr noundef) #4

declare i32 @s2n_conn_get_current_message_type(ptr noundef) #4

; Function Attrs: nounwind uwtable
declare hidden i32 @s2n_calculate_transcript_digest(ptr noundef) #1

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind willreturn memory(read) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { 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 willreturn memory(read) }
attributes #7 = { 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, !13, i64 0}
!15 = !{!"", !13, i64 0}
!16 = !{!17, !6, i64 232}
!17 = !{!"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, !18, i64 160, !19, i64 168, !19, 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, !20, i64 240, !6, i64 632, !6, i64 640, !21, i64 648, !28, i64 1144, !31, i64 1688, !6, i64 1752, !7, i64 1760, !13, i64 1764, !7, i64 1768, !34, i64 1776, !34, i64 1816, !34, i64 1856, !34, i64 1896, !13, i64 1936, !19, i64 1944, !7, i64 1952, !34, i64 1960, !7, i64 2000, !7, i64 2001, !7, i64 2002, !27, i64 2003, !15, i64 2004, !15, i64 2008, !35, i64 2016, !33, i64 2208, !13, i64 2212, !33, i64 2216, !19, i64 2224, !7, i64 2232, !19, i64 2240, !19, i64 2248, !19, i64 2256, !15, i64 2264, !15, i64 2268, !7, i64 2272, !7, i64 2528, !13, i64 2784, !26, i64 2792, !13, i64 2816, !26, i64 2824, !26, i64 2848, !26, i64 2872, !37, i64 2896, !39, i64 3704, !6, i64 3760, !6, i64 3768, !7, i64 3776, !13, i64 3780, !26, i64 3784, !13, i64 3808, !41, i64 3816, !7, i64 3848, !34, i64 3992, !26, i64 4032, !26, i64 4056, !27, i64 4080, !27, i64 4081, !27, i64 4082, !33, i64 4084, !33, i64 4086, !13, i64 4088, !13, i64 4092, !26, i64 4096, !13, i64 4120, !42, i64 4128, !15, i64 4176, !7, i64 4180, !7, i64 4181}
!18 = !{!"s2n_timer", !19, i64 0}
!19 = !{!"long", !7, i64 0}
!20 = !{!"s2n_secrets", !7, i64 0, !13, i64 388}
!21 = !{!"s2n_kex_parameters", !22, i64 0, !23, i64 8, !7, i64 24, !23, i64 56, !24, i64 72, !24, i64 184, !7, i64 296, !25, i64 360, !26, i64 448, !26, i64 472}
!22 = !{!"s2n_dh_params", !6, i64 0}
!23 = !{!"s2n_ecc_evp_params", !6, i64 0, !6, i64 8}
!24 = !{!"s2n_kem_group_params", !6, i64 0, !25, i64 8, !23, i64 96}
!25 = !{!"s2n_kem_params", !6, i64 0, !26, i64 8, !26, i64 32, !26, i64 56, !27, i64 80}
!26 = !{!"s2n_blob", !6, i64 0, !13, i64 8, !13, i64 12, !13, i64 16}
!27 = !{!"_Bool", !7, i64 0}
!28 = !{!"s2n_handshake_parameters", !29, i64 0, !29, i64 48, !26, i64 96, !13, i64 120, !30, 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}
!29 = !{!"s2n_pkey", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40}
!30 = !{!"s2n_sig_scheme_list", !7, i64 0, !7, i64 256}
!31 = !{!"s2n_psk_parameters", !13, i64 0, !32, i64 8, !33, i64 40, !33, i64 42, !6, i64 48, !13, i64 56}
!32 = !{!"s2n_array", !26, i64 0, !13, i64 24, !13, i64 28}
!33 = !{!"short", !7, i64 0}
!34 = !{!"s2n_stuffer", !26, i64 0, !13, i64 24, !13, i64 28, !13, i64 32, !13, i64 36, !13, i64 36, !13, i64 36}
!35 = !{!"s2n_handshake", !34, 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, !36, i64 176, !13, i64 184, !13, i64 184, !13, i64 184, !13, i64 184, !13, i64 188}
!36 = !{!"s2n_offered_early_data", !6, i64 0}
!37 = !{!"s2n_client_hello", !26, i64 0, !38, i64 24, !26, i64 728, !26, i64 752, !26, 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}
!38 = !{!"", !7, i64 0, !26, i64 672, !33, i64 696}
!39 = !{!"s2n_x509_validator", !6, i64 0, !6, i64 8, !7, i64 16, !7, i64 17, !33, i64 18, !6, i64 24, !13, i64 32, !6, i64 40, !40, i64 48, !27, i64 52}
!40 = !{!"s2n_cert_validation_info", !13, i64 0, !13, i64 0}
!41 = !{!"s2n_ticket_fields", !26, i64 0, !13, i64 24}
!42 = !{!"s2n_post_handshake", !34, i64 0, !7, i64 40}
!43 = !{!44, !6, i64 0}
!44 = !{!"s2n_crypto_parameters", !6, i64 0, !45, i64 8, !45, i64 16, !46, i64 24, !46, i64 456, !7, i64 888, !7, i64 904, !7, i64 920, !7, i64 928}
!45 = !{!"s2n_session_key", !6, i64 0}
!46 = !{!"s2n_hmac_state", !13, i64 0, !33, i64 4, !13, i64 8, !33, i64 12, !7, i64 14, !47, i64 16, !47, i64 72, !47, i64 128, !47, i64 184, !7, i64 240, !7, i64 368}
!47 = !{!"s2n_hash_state", !6, i64 0, !13, i64 8, !7, i64 12, !19, i64 16, !7, i64 24}
!48 = !{!17, !13, i64 4088}
!49 = !{!26, !6, i64 0}
!50 = !{!51, !13, i64 96}
!51 = !{!"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}
!52 = !{!26, !13, i64 8}
!53 = !{!26, !13, i64 12}


; 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_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.29 = external hidden unnamed_addr constant [94 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [94 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [94 x i8], align 1

; Function Attrs: nounwind uwtable
declare hidden zeroext i8 @s2n_get_hash_len(i32 noundef) local_unnamed_addr #0

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

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

declare i32 @s2n_calculate_stacktrace() local_unnamed_addr #3

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

; Function Attrs: nounwind uwtable
declare dso_local i32 @s2n_derive_resumption_master_secret(ptr noundef) local_unnamed_addr #0

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

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

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

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

16:                                               ; preds = %1
  %17 = tail call zeroext i8 @s2n_connection_get_protocol_version(ptr noundef nonnull %0) #6
  %18 = icmp ult i8 %17, 34
  br i1 %18, label %139, label %19

19:                                               ; preds = %16
  %20 = getelementptr inbounds i8, ptr %0, i64 232
  %21 = load ptr, ptr %20, align 8, !tbaa !13
  %.not47 = icmp eq ptr %21, null
  br i1 %.not47, label %22, label %30

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

30:                                               ; preds = %19
  %31 = load ptr, ptr %21, align 8, !tbaa !41
  %.not49 = icmp eq ptr %31, null
  br i1 %.not49, label %32, label %40

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

40:                                               ; preds = %30
  %41 = tail call i32 @s2n_conn_get_current_message_type(ptr noundef nonnull %0) #6
  switch i32 %41, label %138 [
    i32 0, label %42
    i32 1, label %61
    i32 15, label %90
    i32 13, label %132
  ]

42:                                               ; preds = %40
  %43 = getelementptr inbounds i8, ptr %0, i64 4088
  %44 = load i32, ptr %43, align 8, !tbaa !46
  switch i32 %44, label %138 [
    i32 1, label %45
    i32 3, label %45
  ]

45:                                               ; preds = %42, %42
  %46 = tail call i32 @s2n_calculate_transcript_digest(ptr noundef nonnull %0)
  %47 = tail call zeroext i1 @s2n_result_is_ok(i32 %46)
  br i1 %47, label %48, label %139

48:                                               ; preds = %45
  %49 = getelementptr inbounds i8, ptr %0, i64 288
  store ptr %49, ptr %2, align 8, !tbaa !47
  %50 = getelementptr inbounds i8, ptr %2, i64 8
  %51 = load ptr, ptr %20, align 8, !tbaa !13
  %52 = load ptr, ptr %51, align 8, !tbaa !41
  %53 = getelementptr inbounds i8, ptr %52, i64 96
  %54 = load i32, ptr %53, align 8, !tbaa !48
  %55 = tail call zeroext i8 @s2n_get_hash_len(i32 noundef %54)
  %56 = zext i8 %55 to i32
  store i32 %56, ptr %50, align 8, !tbaa !50
  %57 = getelementptr inbounds i8, ptr %2, i64 12
  store i32 0, ptr %57, align 4, !tbaa !51
  %58 = getelementptr inbounds i8, ptr %2, i64 16
  store i8 0, ptr %58, align 8
  %59 = call i32 @s2n_tls13_derive_secret(ptr noundef nonnull %0, i32 noundef 1, i32 noundef 1, ptr noundef nonnull %2)
  %60 = call zeroext i1 @s2n_result_is_ok(i32 %59)
  br i1 %60, label %138, label %139

61:                                               ; preds = %40
  %62 = tail call i32 @s2n_calculate_transcript_digest(ptr noundef nonnull %0)
  %63 = tail call zeroext i1 @s2n_result_is_ok(i32 %62)
  br i1 %63, label %64, label %139

64:                                               ; preds = %61
  %65 = getelementptr inbounds i8, ptr %0, i64 336
  store ptr %65, ptr %3, align 8, !tbaa !47
  %66 = getelementptr inbounds i8, ptr %3, i64 8
  %67 = load ptr, ptr %20, align 8, !tbaa !13
  %68 = load ptr, ptr %67, align 8, !tbaa !41
  %69 = getelementptr inbounds i8, ptr %68, i64 96
  %70 = load i32, ptr %69, align 8, !tbaa !48
  %71 = tail call zeroext i8 @s2n_get_hash_len(i32 noundef %70)
  %72 = zext i8 %71 to i32
  store i32 %72, ptr %66, align 8, !tbaa !50
  %73 = getelementptr inbounds i8, ptr %3, i64 12
  store i32 0, ptr %73, align 4, !tbaa !51
  %74 = getelementptr inbounds i8, ptr %3, i64 16
  store i8 0, ptr %74, align 8
  %75 = call i32 @s2n_tls13_derive_secret(ptr noundef nonnull %0, i32 noundef 2, i32 noundef 1, ptr noundef nonnull %3)
  %76 = call zeroext i1 @s2n_result_is_ok(i32 %75)
  br i1 %76, label %77, label %139

77:                                               ; preds = %64
  %78 = getelementptr inbounds i8, ptr %0, i64 384
  store ptr %78, ptr %4, align 8, !tbaa !47
  %79 = getelementptr inbounds i8, ptr %4, i64 8
  %80 = load ptr, ptr %20, align 8, !tbaa !13
  %81 = load ptr, ptr %80, align 8, !tbaa !41
  %82 = getelementptr inbounds i8, ptr %81, i64 96
  %83 = load i32, ptr %82, align 8, !tbaa !48
  %84 = call zeroext i8 @s2n_get_hash_len(i32 noundef %83)
  %85 = zext i8 %84 to i32
  store i32 %85, ptr %79, align 8, !tbaa !50
  %86 = getelementptr inbounds i8, ptr %4, i64 12
  store i32 0, ptr %86, align 4, !tbaa !51
  %87 = getelementptr inbounds i8, ptr %4, i64 16
  store i8 0, ptr %87, align 8
  %88 = call i32 @s2n_tls13_derive_secret(ptr noundef nonnull %0, i32 noundef 2, i32 noundef 0, ptr noundef nonnull %4)
  %89 = call zeroext i1 @s2n_result_is_ok(i32 %88)
  br i1 %89, label %138, label %139

90:                                               ; preds = %40
  %91 = tail call i32 @s2n_calculate_transcript_digest(ptr noundef nonnull %0)
  %92 = tail call zeroext i1 @s2n_result_is_ok(i32 %91)
  br i1 %92, label %93, label %139

93:                                               ; preds = %90
  %94 = getelementptr inbounds i8, ptr %0, i64 432
  store ptr %94, ptr %5, align 8, !tbaa !47
  %95 = getelementptr inbounds i8, ptr %5, i64 8
  %96 = load ptr, ptr %20, align 8, !tbaa !13
  %97 = load ptr, ptr %96, align 8, !tbaa !41
  %98 = getelementptr inbounds i8, ptr %97, i64 96
  %99 = load i32, ptr %98, align 8, !tbaa !48
  %100 = tail call zeroext i8 @s2n_get_hash_len(i32 noundef %99)
  %101 = zext i8 %100 to i32
  store i32 %101, ptr %95, align 8, !tbaa !50
  %102 = getelementptr inbounds i8, ptr %5, i64 12
  store i32 0, ptr %102, align 4, !tbaa !51
  %103 = getelementptr inbounds i8, ptr %5, i64 16
  store i8 0, ptr %103, align 8
  %104 = call i32 @s2n_tls13_derive_secret(ptr noundef nonnull %0, i32 noundef 3, i32 noundef 1, ptr noundef nonnull %5)
  %105 = call zeroext i1 @s2n_result_is_ok(i32 %104)
  br i1 %105, label %106, label %139

106:                                              ; preds = %93
  %107 = getelementptr inbounds i8, ptr %0, i64 480
  store ptr %107, ptr %6, align 8, !tbaa !47
  %108 = getelementptr inbounds i8, ptr %6, i64 8
  %109 = load ptr, ptr %20, align 8, !tbaa !13
  %110 = load ptr, ptr %109, align 8, !tbaa !41
  %111 = getelementptr inbounds i8, ptr %110, i64 96
  %112 = load i32, ptr %111, align 8, !tbaa !48
  %113 = call zeroext i8 @s2n_get_hash_len(i32 noundef %112)
  %114 = zext i8 %113 to i32
  store i32 %114, ptr %108, align 8, !tbaa !50
  %115 = getelementptr inbounds i8, ptr %6, i64 12
  store i32 0, ptr %115, align 4, !tbaa !51
  %116 = getelementptr inbounds i8, ptr %6, i64 16
  store i8 0, ptr %116, align 8
  %117 = call i32 @s2n_tls13_derive_secret(ptr noundef nonnull %0, i32 noundef 3, i32 noundef 0, ptr noundef nonnull %6)
  %118 = call zeroext i1 @s2n_result_is_ok(i32 %117)
  br i1 %118, label %119, label %139

119:                                              ; preds = %106
  %120 = getelementptr inbounds i8, ptr %0, i64 576
  store ptr %120, ptr %7, align 8, !tbaa !47
  %121 = getelementptr inbounds i8, ptr %7, i64 8
  %122 = load ptr, ptr %20, align 8, !tbaa !13
  %123 = load ptr, ptr %122, align 8, !tbaa !41
  %124 = getelementptr inbounds i8, ptr %123, i64 96
  %125 = load i32, ptr %124, align 8, !tbaa !48
  %126 = call zeroext i8 @s2n_get_hash_len(i32 noundef %125)
  %127 = zext i8 %126 to i32
  store i32 %127, ptr %121, align 8, !tbaa !50
  %128 = getelementptr inbounds i8, ptr %7, i64 12
  store i32 0, ptr %128, align 4, !tbaa !51
  %129 = getelementptr inbounds i8, ptr %7, i64 16
  store i8 0, ptr %129, align 8
  %130 = call i32 @s2n_derive_exporter_master_secret(ptr noundef nonnull %0, ptr noundef nonnull %7)
  %131 = call zeroext i1 @s2n_result_is_ok(i32 %130)
  br i1 %131, label %138, label %139

132:                                              ; preds = %40
  %133 = tail call i32 @s2n_calculate_transcript_digest(ptr noundef nonnull %0)
  %134 = tail call zeroext i1 @s2n_result_is_ok(i32 %133)
  br i1 %134, label %135, label %139

135:                                              ; preds = %132
  %136 = tail call i32 @s2n_derive_resumption_master_secret(ptr noundef nonnull %0)
  %137 = tail call zeroext i1 @s2n_result_is_ok(i32 %136)
  br i1 %137, label %138, label %139

138:                                              ; preds = %42, %40, %135, %119, %77, %48
  br label %139

139:                                              ; preds = %138, %45, %48, %61, %64, %77, %90, %93, %106, %119, %132, %135, %16, %32, %22, %8
  %.sroa.040.1 = phi i32 [ -1, %32 ], [ -1, %22 ], [ -1, %8 ], [ 0, %16 ], [ 0, %138 ], [ -1, %45 ], [ -1, %48 ], [ -1, %61 ], [ -1, %64 ], [ -1, %77 ], [ -1, %90 ], [ -1, %93 ], [ -1, %106 ], [ -1, %119 ], [ -1, %132 ], [ -1, %135 ]
  ret i32 %.sroa.040.1
}

declare zeroext i8 @s2n_connection_get_protocol_version(ptr noundef) local_unnamed_addr #3

declare i32 @s2n_conn_get_current_message_type(ptr noundef) local_unnamed_addr #3

; Function Attrs: nounwind uwtable
declare hidden i32 @s2n_calculate_transcript_digest(ptr noundef) local_unnamed_addr #0

attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { 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 #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 willreturn memory(read) }
attributes #6 = { 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 = !{!14, !12, i64 4088}
!47 = !{!23, !7, i64 0}
!48 = !{!49, !12, i64 96}
!49 = !{!"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}
!50 = !{!23, !12, i64 8}
!51 = !{!23, !12, i64 12}


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