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

; 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_stuffer = type { %struct.s2n_blob, i32, i32, i32, i8 }
%struct.s2n_blob = type { ptr, i32, i32, i8 }
%struct.s2n_kex_raw_server_data = type { %struct.s2n_ecdhe_raw_server_params, %struct.s2n_dhe_raw_server_points, %struct.s2n_kem_raw_server_params }
%struct.s2n_ecdhe_raw_server_params = type { %struct.s2n_blob, %struct.s2n_blob }
%struct.s2n_dhe_raw_server_points = type { %struct.s2n_blob, %struct.s2n_blob, %struct.s2n_blob }
%struct.s2n_kem_raw_server_params = type { %struct.s2n_blob, %struct.s2n_blob }
%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_post_handshake = type { %struct.s2n_stuffer, [4 x i8] }
%struct.s2n_atomic_flag = type { i32 }

@_s2n_debug_info = external thread_local global %struct.s2n_debug_info, align 8
@s2n_errno = external thread_local global i32, align 4
@.str.13 = external hidden unnamed_addr constant [100 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [100 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

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

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

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

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

; Function Attrs: nounwind uwtable
define dso_local i32 @s2n_kem_server_key_recv_read_data(ptr noundef %0, ptr noundef %1, ptr noundef %2) #5 {
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca %struct.s2n_stuffer, align 8
  %12 = alloca [2 x i8], align 1
  %13 = alloca i16, align 2
  %14 = alloca %struct.s2n_blob, align 8
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store ptr %2, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #6
  %15 = load ptr, ptr %7, align 8, !tbaa !5
  %16 = getelementptr inbounds %struct.s2n_kex_raw_server_data, ptr %15, i32 0, i32 2
  store ptr %16, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #6
  %17 = load ptr, ptr %5, align 8, !tbaa !5
  %18 = getelementptr inbounds %struct.s2n_connection, ptr %17, i32 0, i32 52
  %19 = getelementptr inbounds %struct.s2n_handshake, ptr %18, i32 0, i32 0
  store ptr %19, ptr %9, align 8, !tbaa !5
  %20 = load ptr, ptr %9, align 8, !tbaa !5
  %21 = call ptr @s2n_stuffer_raw_read(ptr noundef %20, i32 noundef 0)
  %22 = load ptr, ptr %6, align 8, !tbaa !5
  %23 = getelementptr inbounds %struct.s2n_blob, ptr %22, i32 0, i32 0
  store ptr %21, ptr %23, align 8, !tbaa !9
  br label %24

24:                                               ; preds = %3
  %25 = load ptr, ptr %6, align 8, !tbaa !5
  %26 = getelementptr inbounds %struct.s2n_blob, ptr %25, i32 0, i32 0
  %27 = load ptr, ptr %26, align 8, !tbaa !9
  %28 = icmp ne ptr %27, null
  br i1 %28, label %62, label %29

29:                                               ; preds = %24
  br label %30

30:                                               ; preds = %29
  br label %31

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

40:                                               ; preds = %31
  %41 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %42 = getelementptr inbounds %struct.s2n_debug_info, ptr %41, i32 0, i32 0
  %43 = load ptr, ptr %42, align 8, !tbaa !12
  %44 = getelementptr inbounds i8, ptr %43, i64 21
  %45 = call ptr @strrchr(ptr noundef %44, i32 noundef 47) #7
  %46 = getelementptr inbounds i8, ptr %45, i64 1
  br label %52

47:                                               ; preds = %31
  %48 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %49 = getelementptr inbounds %struct.s2n_debug_info, ptr %48, i32 0, i32 0
  %50 = load ptr, ptr %49, align 8, !tbaa !12
  %51 = getelementptr inbounds i8, ptr %50, i64 21
  br label %52

52:                                               ; preds = %47, %40
  %53 = phi ptr [ %46, %40 ], [ %51, %47 ]
  %54 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %55 = getelementptr inbounds %struct.s2n_debug_info, ptr %54, i32 0, i32 1
  store ptr %53, ptr %55, align 8, !tbaa !14
  %56 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  store i32 402653193, ptr %56, align 4, !tbaa !15
  %57 = call i32 @s2n_calculate_stacktrace()
  br label %58

58:                                               ; preds = %52
  br label %59

59:                                               ; preds = %58
  store i32 -1, ptr %4, align 4
  store i32 1, ptr %10, align 4
  br label %201

60:                                               ; No predecessors!
  br label %61

61:                                               ; preds = %60
  br label %62

62:                                               ; preds = %61, %24
  br label %63

63:                                               ; preds = %62
  br label %64

64:                                               ; preds = %63
  %65 = load ptr, ptr %9, align 8, !tbaa !5
  %66 = call ptr @s2n_stuffer_raw_read(ptr noundef %65, i32 noundef 2)
  %67 = load ptr, ptr %8, align 8, !tbaa !5
  %68 = getelementptr inbounds %struct.s2n_kem_raw_server_params, ptr %67, i32 0, i32 0
  %69 = getelementptr inbounds %struct.s2n_blob, ptr %68, i32 0, i32 0
  store ptr %66, ptr %69, align 8, !tbaa !16
  br label %70

70:                                               ; preds = %64
  %71 = load ptr, ptr %8, align 8, !tbaa !5
  %72 = getelementptr inbounds %struct.s2n_kem_raw_server_params, ptr %71, i32 0, i32 0
  %73 = getelementptr inbounds %struct.s2n_blob, ptr %72, i32 0, i32 0
  %74 = load ptr, ptr %73, align 8, !tbaa !16
  %75 = icmp ne ptr %74, null
  br i1 %75, label %109, label %76

76:                                               ; preds = %70
  br label %77

77:                                               ; preds = %76
  br label %78

78:                                               ; preds = %77
  %79 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %80 = getelementptr inbounds %struct.s2n_debug_info, ptr %79, i32 0, i32 0
  store ptr @.str.14, ptr %80, align 8, !tbaa !12
  %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 0
  %83 = load ptr, ptr %82, align 8, !tbaa !12
  %84 = getelementptr inbounds i8, ptr %83, i64 21
  %85 = call ptr @strrchr(ptr noundef %84, i32 noundef 47) #7
  %86 = icmp ne ptr %85, null
  br i1 %86, label %87, label %94

87:                                               ; preds = %78
  %88 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %89 = getelementptr inbounds %struct.s2n_debug_info, ptr %88, i32 0, i32 0
  %90 = load ptr, ptr %89, align 8, !tbaa !12
  %91 = getelementptr inbounds i8, ptr %90, i64 21
  %92 = call ptr @strrchr(ptr noundef %91, i32 noundef 47) #7
  %93 = getelementptr inbounds i8, ptr %92, i64 1
  br label %99

94:                                               ; preds = %78
  %95 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %96 = getelementptr inbounds %struct.s2n_debug_info, ptr %95, i32 0, i32 0
  %97 = load ptr, ptr %96, align 8, !tbaa !12
  %98 = getelementptr inbounds i8, ptr %97, i64 21
  br label %99

99:                                               ; preds = %94, %87
  %100 = phi ptr [ %93, %87 ], [ %98, %94 ]
  %101 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %102 = getelementptr inbounds %struct.s2n_debug_info, ptr %101, i32 0, i32 1
  store ptr %100, ptr %102, align 8, !tbaa !14
  %103 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  store i32 402653193, ptr %103, align 4, !tbaa !15
  %104 = call i32 @s2n_calculate_stacktrace()
  br label %105

105:                                              ; preds = %99
  br label %106

106:                                              ; preds = %105
  store i32 -1, ptr %4, align 4
  store i32 1, ptr %10, align 4
  br label %201

107:                                              ; No predecessors!
  br label %108

108:                                              ; preds = %107
  br label %109

109:                                              ; preds = %108, %70
  br label %110

110:                                              ; preds = %109
  br label %111

111:                                              ; preds = %110
  %112 = load ptr, ptr %8, align 8, !tbaa !5
  %113 = getelementptr inbounds %struct.s2n_kem_raw_server_params, ptr %112, i32 0, i32 0
  %114 = getelementptr inbounds %struct.s2n_blob, ptr %113, i32 0, i32 1
  store i32 2, ptr %114, align 8, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 40, ptr %11) #6
  call void @llvm.memset.p0.i64(ptr align 8 %11, i8 0, i64 40, i1 false)
  call void @llvm.lifetime.start.p0(i64 2, ptr %12) #6
  call void @llvm.lifetime.start.p0(i64 2, ptr %13) #6
  store i16 0, ptr %13, align 2, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 24, ptr %14) #6
  call void @llvm.memset.p0.i64(ptr align 8 %14, i8 0, i64 24, i1 false)
  br label %115

115:                                              ; preds = %111
  %116 = getelementptr inbounds [2 x i8], ptr %12, i64 0, i64 0
  %117 = call i32 @s2n_blob_init(ptr noundef %14, ptr noundef %116, i32 noundef 2)
  %118 = icmp sgt i32 %117, -1
  br i1 %118, label %120, label %119

119:                                              ; preds = %115
  store i32 -1, ptr %4, align 4
  store i32 1, ptr %10, align 4
  br label %200

120:                                              ; preds = %115
  br label %121

121:                                              ; preds = %120
  br label %122

122:                                              ; preds = %121
  br label %123

123:                                              ; preds = %122
  %124 = call i32 @s2n_stuffer_init(ptr noundef %11, ptr noundef %14)
  %125 = icmp sgt i32 %124, -1
  br i1 %125, label %127, label %126

126:                                              ; preds = %123
  store i32 -1, ptr %4, align 4
  store i32 1, ptr %10, align 4
  br label %200

127:                                              ; preds = %123
  br label %128

128:                                              ; preds = %127
  br label %129

129:                                              ; preds = %128
  br label %130

130:                                              ; preds = %129
  %131 = load ptr, ptr %8, align 8, !tbaa !5
  %132 = getelementptr inbounds %struct.s2n_kem_raw_server_params, ptr %131, i32 0, i32 0
  %133 = call i32 @s2n_stuffer_write(ptr noundef %11, ptr noundef %132)
  %134 = icmp sgt i32 %133, -1
  br i1 %134, label %136, label %135

135:                                              ; preds = %130
  store i32 -1, ptr %4, align 4
  store i32 1, ptr %10, align 4
  br label %200

136:                                              ; preds = %130
  br label %137

137:                                              ; preds = %136
  br label %138

138:                                              ; preds = %137
  br label %139

139:                                              ; preds = %138
  %140 = call i32 @s2n_stuffer_read_uint16(ptr noundef %11, ptr noundef %13)
  %141 = icmp sgt i32 %140, -1
  br i1 %141, label %143, label %142

142:                                              ; preds = %139
  store i32 -1, ptr %4, align 4
  store i32 1, ptr %10, align 4
  br label %200

143:                                              ; preds = %139
  br label %144

144:                                              ; preds = %143
  br label %145

145:                                              ; preds = %144
  br label %146

146:                                              ; preds = %145
  %147 = load i16, ptr %13, align 2, !tbaa !19
  %148 = load ptr, ptr %5, align 8, !tbaa !5
  %149 = getelementptr inbounds %struct.s2n_connection, ptr %148, i32 0, i32 31
  %150 = getelementptr inbounds %struct.s2n_kex_parameters, ptr %149, i32 0, i32 7
  %151 = getelementptr inbounds %struct.s2n_kem_params, ptr %150, i32 0, i32 0
  %152 = call i32 @s2n_get_kem_from_extension_id(i16 noundef zeroext %147, ptr noundef %151)
  %153 = icmp sgt i32 %152, -1
  br i1 %153, label %155, label %154

154:                                              ; preds = %146
  store i32 -1, ptr %4, align 4
  store i32 1, ptr %10, align 4
  br label %200

155:                                              ; preds = %146
  br label %156

156:                                              ; preds = %155
  br label %157

157:                                              ; preds = %156
  %158 = load ptr, ptr %5, align 8, !tbaa !5
  %159 = getelementptr inbounds %struct.s2n_connection, ptr %158, i32 0, i32 31
  %160 = getelementptr inbounds %struct.s2n_kex_parameters, ptr %159, i32 0, i32 7
  %161 = getelementptr inbounds %struct.s2n_kem_params, ptr %160, i32 0, i32 4
  store i8 1, ptr %161, align 8, !tbaa !21
  br label %162

162:                                              ; preds = %157
  %163 = load ptr, ptr %9, align 8, !tbaa !5
  %164 = load ptr, ptr %5, align 8, !tbaa !5
  %165 = getelementptr inbounds %struct.s2n_connection, ptr %164, i32 0, i32 31
  %166 = getelementptr inbounds %struct.s2n_kex_parameters, ptr %165, i32 0, i32 7
  %167 = call i32 @s2n_kem_recv_public_key(ptr noundef %163, ptr noundef %166)
  %168 = icmp sgt i32 %167, -1
  br i1 %168, label %170, label %169

169:                                              ; preds = %162
  store i32 -1, ptr %4, align 4
  store i32 1, ptr %10, align 4
  br label %200

170:                                              ; preds = %162
  br label %171

171:                                              ; preds = %170
  br label %172

172:                                              ; preds = %171
  %173 = load ptr, ptr %5, align 8, !tbaa !5
  %174 = getelementptr inbounds %struct.s2n_connection, ptr %173, i32 0, i32 31
  %175 = getelementptr inbounds %struct.s2n_kex_parameters, ptr %174, i32 0, i32 7
  %176 = getelementptr inbounds %struct.s2n_kem_params, ptr %175, i32 0, i32 1
  %177 = getelementptr inbounds %struct.s2n_blob, ptr %176, i32 0, i32 0
  %178 = load ptr, ptr %177, align 8, !tbaa !47
  %179 = load ptr, ptr %8, align 8, !tbaa !5
  %180 = getelementptr inbounds %struct.s2n_kem_raw_server_params, ptr %179, i32 0, i32 1
  %181 = getelementptr inbounds %struct.s2n_blob, ptr %180, i32 0, i32 0
  store ptr %178, ptr %181, align 8, !tbaa !48
  %182 = load ptr, ptr %5, align 8, !tbaa !5
  %183 = getelementptr inbounds %struct.s2n_connection, ptr %182, i32 0, i32 31
  %184 = getelementptr inbounds %struct.s2n_kex_parameters, ptr %183, i32 0, i32 7
  %185 = getelementptr inbounds %struct.s2n_kem_params, ptr %184, i32 0, i32 1
  %186 = getelementptr inbounds %struct.s2n_blob, ptr %185, i32 0, i32 1
  %187 = load i32, ptr %186, align 8, !tbaa !49
  %188 = load ptr, ptr %8, align 8, !tbaa !5
  %189 = getelementptr inbounds %struct.s2n_kem_raw_server_params, ptr %188, i32 0, i32 1
  %190 = getelementptr inbounds %struct.s2n_blob, ptr %189, i32 0, i32 1
  store i32 %187, ptr %190, align 8, !tbaa !50
  %191 = load ptr, ptr %8, align 8, !tbaa !5
  %192 = getelementptr inbounds %struct.s2n_kem_raw_server_params, ptr %191, i32 0, i32 1
  %193 = getelementptr inbounds %struct.s2n_blob, ptr %192, i32 0, i32 1
  %194 = load i32, ptr %193, align 8, !tbaa !50
  %195 = zext i32 %194 to i64
  %196 = add i64 4, %195
  %197 = trunc i64 %196 to i32
  %198 = load ptr, ptr %6, align 8, !tbaa !5
  %199 = getelementptr inbounds %struct.s2n_blob, ptr %198, i32 0, i32 1
  store i32 %197, ptr %199, align 8, !tbaa !51
  store i32 0, ptr %4, align 4
  store i32 1, ptr %10, align 4
  br label %200

200:                                              ; preds = %172, %169, %154, %142, %135, %126, %119
  call void @llvm.lifetime.end.p0(i64 24, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 2, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 2, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 40, ptr %11) #6
  br label %201

201:                                              ; preds = %200, %106, %59
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #6
  %202 = load i32, ptr %4, align 4
  ret i32 %202
}

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

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

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

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

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

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

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


; 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_stuffer = type { %struct.s2n_blob, i32, i32, i32, i8 }
%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.13 = external hidden unnamed_addr constant [100 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [100 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

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

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

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

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

; Function Attrs: nounwind uwtable
define dso_local range(i32 -1, 1) i32 @s2n_kem_server_key_recv_read_data(ptr noundef %0, ptr nocapture noundef writeonly %1, ptr noundef %2) local_unnamed_addr #5 {
  %4 = alloca %struct.s2n_stuffer, align 8
  %5 = alloca [2 x i8], align 1
  %6 = alloca i16, align 2
  %7 = alloca %struct.s2n_blob, align 8
  %8 = getelementptr inbounds i8, ptr %2, i64 120
  %9 = getelementptr inbounds i8, ptr %0, i64 2016
  %10 = tail call ptr @s2n_stuffer_raw_read(ptr noundef nonnull %9, i32 noundef 0) #6
  store ptr %10, ptr %1, align 8, !tbaa !5
  %.not = icmp eq ptr %10, null
  br i1 %.not, label %11, label %19

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

19:                                               ; preds = %3
  %20 = tail call ptr @s2n_stuffer_raw_read(ptr noundef nonnull %9, i32 noundef 2) #6
  store ptr %20, ptr %8, align 8, !tbaa !15
  %.not23 = icmp eq ptr %20, null
  br i1 %.not23, label %21, label %29

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

29:                                               ; preds = %19
  %30 = getelementptr inbounds i8, ptr %2, i64 128
  store i32 2, ptr %30, align 8, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %4) #6
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(40) %4, i8 0, i64 40, i1 false)
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %5) #6
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %6) #6
  store i16 0, ptr %6, align 2, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %7) #6
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %7, i8 0, i64 24, i1 false)
  %31 = call i32 @s2n_blob_init(ptr noundef nonnull %7, ptr noundef nonnull %5, i32 noundef 2) #6
  %32 = icmp sgt i32 %31, -1
  br i1 %32, label %33, label %60

33:                                               ; preds = %29
  %34 = call i32 @s2n_stuffer_init(ptr noundef nonnull %4, ptr noundef nonnull %7) #6
  %35 = icmp sgt i32 %34, -1
  br i1 %35, label %36, label %60

36:                                               ; preds = %33
  %37 = call i32 @s2n_stuffer_write(ptr noundef nonnull %4, ptr noundef nonnull %8) #6
  %38 = icmp sgt i32 %37, -1
  br i1 %38, label %39, label %60

39:                                               ; preds = %36
  %40 = call i32 @s2n_stuffer_read_uint16(ptr noundef nonnull %4, ptr noundef nonnull %6) #6
  %41 = icmp sgt i32 %40, -1
  br i1 %41, label %42, label %60

42:                                               ; preds = %39
  %43 = load i16, ptr %6, align 2, !tbaa !18
  %44 = getelementptr inbounds i8, ptr %0, i64 1008
  %45 = call i32 @s2n_get_kem_from_extension_id(i16 noundef zeroext %43, ptr noundef nonnull %44) #6
  %46 = icmp sgt i32 %45, -1
  br i1 %46, label %47, label %60

47:                                               ; preds = %42
  %48 = getelementptr inbounds i8, ptr %0, i64 1088
  store i8 1, ptr %48, align 8, !tbaa !20
  %49 = call i32 @s2n_kem_recv_public_key(ptr noundef nonnull %9, ptr noundef nonnull %44) #6
  %50 = icmp sgt i32 %49, -1
  br i1 %50, label %51, label %60

51:                                               ; preds = %47
  %52 = getelementptr inbounds i8, ptr %0, i64 1016
  %53 = load ptr, ptr %52, align 8, !tbaa !46
  %54 = getelementptr inbounds i8, ptr %2, i64 144
  store ptr %53, ptr %54, align 8, !tbaa !47
  %55 = getelementptr inbounds i8, ptr %0, i64 1024
  %56 = load i32, ptr %55, align 8, !tbaa !48
  %57 = getelementptr inbounds i8, ptr %2, i64 152
  store i32 %56, ptr %57, align 8, !tbaa !49
  %58 = add i32 %56, 4
  %59 = getelementptr inbounds i8, ptr %1, i64 8
  store i32 %58, ptr %59, align 8, !tbaa !50
  br label %60

60:                                               ; preds = %47, %42, %39, %36, %33, %29, %51
  %.0 = phi i32 [ 0, %51 ], [ -1, %29 ], [ -1, %33 ], [ -1, %36 ], [ -1, %39 ], [ -1, %42 ], [ -1, %47 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #6
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %6) #6
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %5) #6
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %4) #6
  br label %61

61:                                               ; preds = %60, %21, %11
  %.1 = phi i32 [ %.0, %60 ], [ -1, %21 ], [ -1, %11 ]
  ret i32 %.1
}

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

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

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

declare i32 @s2n_kem_recv_public_key(ptr noundef, ptr 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 = { 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 }
attributes #7 = { nounwind willreturn memory(read) }

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

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


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