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

; 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_connection = type { i32, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, [22 x i8], [22 x i8], [22 x i8], i32, i32, %struct.s2n_timer, i64, i64, [32 x i8], i8, i8, i8, i8, i8, i8, i8, ptr, ptr, %struct.s2n_secrets, ptr, ptr, %struct.s2n_kex_parameters, %struct.s2n_handshake_parameters, %struct.s2n_psk_parameters, ptr, i8, i32, [5 x i8], %struct.s2n_stuffer, %struct.s2n_stuffer, %struct.s2n_stuffer, %struct.s2n_stuffer, i32, i64, [2 x i8], %struct.s2n_stuffer, i8, i8, i8, i8, %struct.s2n_atomic_flag, %struct.s2n_atomic_flag, %struct.s2n_handshake, i16, i32, i16, i64, i8, i64, i64, i64, %struct.s2n_atomic_flag, %struct.s2n_atomic_flag, [256 x i8], [256 x i8], i32, %struct.s2n_blob, i32, %struct.s2n_blob, %struct.s2n_blob, %struct.s2n_blob, %struct.s2n_client_hello, %struct.s2n_x509_validator, ptr, ptr, i8, i32, %struct.s2n_blob, i32, %struct.s2n_ticket_fields, [138 x i8], %struct.s2n_stuffer, %struct.s2n_blob, %struct.s2n_blob, i8, i8, i8, i16, i16, i32, i32, %struct.s2n_blob, i32, %struct.s2n_post_handshake, %struct.s2n_atomic_flag, i8, i8 }
%struct.s2n_timer = type { i64 }
%struct.s2n_secrets = type { %union.anon, i32 }
%union.anon = type { %struct.s2n_tls13_secrets }
%struct.s2n_tls13_secrets = type { [48 x i8], [48 x i8], [48 x i8], [48 x i8], [48 x i8], [48 x i8], [48 x i8], [48 x i8], i32 }
%struct.s2n_kex_parameters = type { %struct.s2n_dh_params, %struct.s2n_ecc_evp_params, [4 x ptr], %struct.s2n_ecc_evp_params, %struct.s2n_kem_group_params, %struct.s2n_kem_group_params, [8 x ptr], %struct.s2n_kem_params, %struct.s2n_blob, %struct.s2n_blob }
%struct.s2n_dh_params = type { ptr }
%struct.s2n_ecc_evp_params = type { ptr, ptr }
%struct.s2n_kem_group_params = type { ptr, %struct.s2n_kem_params, %struct.s2n_ecc_evp_params }
%struct.s2n_kem_params = type { ptr, %struct.s2n_blob, %struct.s2n_blob, %struct.s2n_blob, i8 }
%struct.s2n_handshake_parameters = type { %struct.s2n_pkey, %struct.s2n_pkey, %struct.s2n_blob, i32, %struct.s2n_sig_scheme_list, ptr, ptr, ptr, [4 x ptr], [4 x ptr], i8, i8, [32 x i8], [32 x i8] }
%struct.s2n_pkey = type { ptr, ptr, ptr, ptr, ptr, ptr }
%struct.s2n_sig_scheme_list = type { [128 x i16], i8 }
%struct.s2n_psk_parameters = type { i32, %struct.s2n_array, i16, i16, ptr, i32 }
%struct.s2n_array = type { %struct.s2n_blob, i32, i32 }
%struct.s2n_handshake = type { %struct.s2n_stuffer, ptr, [8 x i8], [48 x i8], [48 x i8], i8, i32, i32, i32, i32, %struct.s2n_offered_early_data, i8, i32 }
%struct.s2n_offered_early_data = type { ptr }
%struct.s2n_client_hello = type { %struct.s2n_blob, %struct.s2n_parsed_extensions_list, %struct.s2n_blob, %struct.s2n_blob, %struct.s2n_blob, i8, i8, i8 }
%struct.s2n_parsed_extensions_list = type { [21 x %struct.s2n_parsed_extension], %struct.s2n_blob, i16 }
%struct.s2n_parsed_extension = type { %struct.s2n_blob, i16, i16, i8 }
%struct.s2n_x509_validator = type { ptr, ptr, i8, i8, i16, ptr, i32, ptr, %struct.s2n_cert_validation_info, i8 }
%struct.s2n_cert_validation_info = type { i8, [3 x i8] }
%struct.s2n_ticket_fields = type { %struct.s2n_blob, i32 }
%struct.s2n_stuffer = type { %struct.s2n_blob, i32, i32, i32, i8 }
%struct.s2n_blob = type { ptr, i32, i32, i8 }
%struct.s2n_post_handshake = type { %struct.s2n_stuffer, [4 x i8] }
%struct.s2n_atomic_flag = type { i32 }

@_s2n_debug_info = external thread_local global %struct.s2n_debug_info, align 8
@s2n_errno = external thread_local global i32, align 4
@.str.15 = external hidden unnamed_addr constant [94 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [94 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [94 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [94 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [94 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [94 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [94 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [94 x i8], align 1

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

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

declare i32 @s2n_calculate_stacktrace() #2

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

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

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

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

19:                                               ; preds = %5
  %20 = load i64, ptr %9, align 8, !tbaa !9
  %21 = icmp sge i64 %20, 0
  br i1 %21, label %54, label %22

22:                                               ; preds = %19
  br label %23

23:                                               ; preds = %22
  br label %24

24:                                               ; preds = %23
  %25 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %26 = getelementptr inbounds %struct.s2n_debug_info, ptr %25, i32 0, i32 0
  store ptr @.str.15, ptr %26, align 8, !tbaa !11
  %27 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %28 = getelementptr inbounds %struct.s2n_debug_info, ptr %27, i32 0, i32 0
  %29 = load ptr, ptr %28, align 8, !tbaa !11
  %30 = getelementptr inbounds i8, ptr %29, i64 21
  %31 = call ptr @strrchr(ptr noundef %30, i32 noundef 47) #5
  %32 = icmp ne ptr %31, null
  br i1 %32, label %33, label %40

33:                                               ; preds = %24
  %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 !11
  %37 = getelementptr inbounds i8, ptr %36, i64 21
  %38 = call ptr @strrchr(ptr noundef %37, i32 noundef 47) #5
  %39 = getelementptr inbounds i8, ptr %38, i64 1
  br label %45

40:                                               ; preds = %24
  %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 !11
  %44 = getelementptr inbounds i8, ptr %43, i64 21
  br label %45

45:                                               ; preds = %40, %33
  %46 = phi ptr [ %39, %33 ], [ %44, %40 ]
  %47 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %48 = getelementptr inbounds %struct.s2n_debug_info, ptr %47, i32 0, i32 1
  store ptr %46, ptr %48, align 8, !tbaa !13
  %49 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  store i32 402653194, ptr %49, align 4, !tbaa !14
  %50 = call i32 @s2n_calculate_stacktrace()
  br label %51

51:                                               ; preds = %45
  %52 = getelementptr inbounds %struct.s2n_result, ptr %6, i32 0, i32 0
  store i32 -1, ptr %52, align 4, !tbaa !16
  br label %451

53:                                               ; No predecessors!
  br label %54

54:                                               ; preds = %53, %19
  br label %55

55:                                               ; preds = %54
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #6
  %56 = load i64, ptr %9, align 8, !tbaa !9
  store i64 %56, ptr %12, align 8, !tbaa !9
  br label %57

57:                                               ; preds = %55
  %58 = load ptr, ptr %7, align 8, !tbaa !5
  %59 = icmp ne ptr %58, null
  br i1 %59, label %94, label %60

60:                                               ; preds = %57
  br label %61

61:                                               ; preds = %60
  br label %62

62:                                               ; preds = %61
  %63 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %64 = getelementptr inbounds %struct.s2n_debug_info, ptr %63, i32 0, i32 0
  store ptr @.str.16, ptr %64, align 8, !tbaa !11
  %65 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %66 = getelementptr inbounds %struct.s2n_debug_info, ptr %65, i32 0, i32 0
  %67 = load ptr, ptr %66, align 8, !tbaa !11
  %68 = getelementptr inbounds i8, ptr %67, i64 21
  %69 = call ptr @strrchr(ptr noundef %68, i32 noundef 47) #5
  %70 = icmp ne ptr %69, null
  br i1 %70, label %71, label %78

71:                                               ; preds = %62
  %72 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %73 = getelementptr inbounds %struct.s2n_debug_info, ptr %72, i32 0, i32 0
  %74 = load ptr, ptr %73, align 8, !tbaa !11
  %75 = getelementptr inbounds i8, ptr %74, i64 21
  %76 = call ptr @strrchr(ptr noundef %75, i32 noundef 47) #5
  %77 = getelementptr inbounds i8, ptr %76, i64 1
  br label %83

78:                                               ; preds = %62
  %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
  %81 = load ptr, ptr %80, align 8, !tbaa !11
  %82 = getelementptr inbounds i8, ptr %81, i64 21
  br label %83

83:                                               ; preds = %78, %71
  %84 = phi ptr [ %77, %71 ], [ %82, %78 ]
  %85 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %86 = getelementptr inbounds %struct.s2n_debug_info, ptr %85, i32 0, i32 1
  store ptr %84, ptr %86, align 8, !tbaa !13
  %87 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  store i32 402653193, ptr %87, align 4, !tbaa !14
  %88 = call i32 @s2n_calculate_stacktrace()
  br label %89

89:                                               ; preds = %83
  br label %90

90:                                               ; preds = %89
  %91 = getelementptr inbounds %struct.s2n_result, ptr %6, i32 0, i32 0
  store i32 -1, ptr %91, align 4, !tbaa !16
  store i32 1, ptr %13, align 4
  br label %450

92:                                               ; No predecessors!
  br label %93

93:                                               ; preds = %92
  br label %94

94:                                               ; preds = %93, %57
  br label %95

95:                                               ; preds = %94
  br label %96

96:                                               ; preds = %95
  br label %97

97:                                               ; preds = %96
  %98 = load ptr, ptr %11, align 8, !tbaa !5
  %99 = icmp ne ptr %98, null
  br i1 %99, label %134, label %100

100:                                              ; preds = %97
  br label %101

101:                                              ; preds = %100
  br label %102

102:                                              ; preds = %101
  %103 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %104 = getelementptr inbounds %struct.s2n_debug_info, ptr %103, i32 0, i32 0
  store ptr @.str.17, ptr %104, align 8, !tbaa !11
  %105 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %106 = getelementptr inbounds %struct.s2n_debug_info, ptr %105, i32 0, i32 0
  %107 = load ptr, ptr %106, align 8, !tbaa !11
  %108 = getelementptr inbounds i8, ptr %107, i64 21
  %109 = call ptr @strrchr(ptr noundef %108, i32 noundef 47) #5
  %110 = icmp ne ptr %109, null
  br i1 %110, label %111, label %118

111:                                              ; preds = %102
  %112 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %113 = getelementptr inbounds %struct.s2n_debug_info, ptr %112, i32 0, i32 0
  %114 = load ptr, ptr %113, align 8, !tbaa !11
  %115 = getelementptr inbounds i8, ptr %114, i64 21
  %116 = call ptr @strrchr(ptr noundef %115, i32 noundef 47) #5
  %117 = getelementptr inbounds i8, ptr %116, i64 1
  br label %123

118:                                              ; preds = %102
  %119 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %120 = getelementptr inbounds %struct.s2n_debug_info, ptr %119, i32 0, i32 0
  %121 = load ptr, ptr %120, align 8, !tbaa !11
  %122 = getelementptr inbounds i8, ptr %121, i64 21
  br label %123

123:                                              ; preds = %118, %111
  %124 = phi ptr [ %117, %111 ], [ %122, %118 ]
  %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 1
  store ptr %124, ptr %126, align 8, !tbaa !13
  %127 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  store i32 402653193, ptr %127, align 4, !tbaa !14
  %128 = call i32 @s2n_calculate_stacktrace()
  br label %129

129:                                              ; preds = %123
  br label %130

130:                                              ; preds = %129
  %131 = getelementptr inbounds %struct.s2n_result, ptr %6, i32 0, i32 0
  store i32 -1, ptr %131, align 4, !tbaa !16
  store i32 1, ptr %13, align 4
  br label %450

132:                                              ; No predecessors!
  br label %133

133:                                              ; preds = %132
  br label %134

134:                                              ; preds = %133, %97
  br label %135

135:                                              ; preds = %134
  br label %136

136:                                              ; preds = %135
  %137 = load ptr, ptr %11, align 8, !tbaa !5
  store i32 0, ptr %137, align 4, !tbaa !14
  br label %138

138:                                              ; preds = %136
  %139 = load ptr, ptr %10, align 8, !tbaa !5
  %140 = icmp ne ptr %139, null
  br i1 %140, label %175, label %141

141:                                              ; preds = %138
  br label %142

142:                                              ; preds = %141
  br label %143

143:                                              ; preds = %142
  %144 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %145 = getelementptr inbounds %struct.s2n_debug_info, ptr %144, i32 0, i32 0
  store ptr @.str.18, ptr %145, align 8, !tbaa !11
  %146 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %147 = getelementptr inbounds %struct.s2n_debug_info, ptr %146, i32 0, i32 0
  %148 = load ptr, ptr %147, align 8, !tbaa !11
  %149 = getelementptr inbounds i8, ptr %148, i64 21
  %150 = call ptr @strrchr(ptr noundef %149, i32 noundef 47) #5
  %151 = icmp ne ptr %150, null
  br i1 %151, label %152, label %159

152:                                              ; preds = %143
  %153 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %154 = getelementptr inbounds %struct.s2n_debug_info, ptr %153, i32 0, i32 0
  %155 = load ptr, ptr %154, align 8, !tbaa !11
  %156 = getelementptr inbounds i8, ptr %155, i64 21
  %157 = call ptr @strrchr(ptr noundef %156, i32 noundef 47) #5
  %158 = getelementptr inbounds i8, ptr %157, i64 1
  br label %164

159:                                              ; preds = %143
  %160 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %161 = getelementptr inbounds %struct.s2n_debug_info, ptr %160, i32 0, i32 0
  %162 = load ptr, ptr %161, align 8, !tbaa !11
  %163 = getelementptr inbounds i8, ptr %162, i64 21
  br label %164

164:                                              ; preds = %159, %152
  %165 = phi ptr [ %158, %152 ], [ %163, %159 ]
  %166 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %167 = getelementptr inbounds %struct.s2n_debug_info, ptr %166, i32 0, i32 1
  store ptr %165, ptr %167, align 8, !tbaa !13
  %168 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  store i32 402653193, ptr %168, align 4, !tbaa !14
  %169 = call i32 @s2n_calculate_stacktrace()
  br label %170

170:                                              ; preds = %164
  br label %171

171:                                              ; preds = %170
  %172 = getelementptr inbounds %struct.s2n_result, ptr %6, i32 0, i32 0
  store i32 -1, ptr %172, align 4, !tbaa !16
  store i32 1, ptr %13, align 4
  br label %450

173:                                              ; No predecessors!
  br label %174

174:                                              ; preds = %173
  br label %175

175:                                              ; preds = %174, %138
  br label %176

176:                                              ; preds = %175
  br label %177

177:                                              ; preds = %176
  %178 = load ptr, ptr %10, align 8, !tbaa !5
  store i64 0, ptr %178, align 8, !tbaa !9
  br label %179

179:                                              ; preds = %177
  %180 = load ptr, ptr %7, align 8, !tbaa !5
  %181 = getelementptr inbounds %struct.s2n_connection, ptr %180, i32 0, i32 13
  %182 = load i32, ptr %181, align 4, !tbaa !18
  %183 = icmp eq i32 %182, 1
  br i1 %183, label %218, label %184

184:                                              ; preds = %179
  br label %185

185:                                              ; preds = %184
  br label %186

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

195:                                              ; preds = %186
  %196 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %197 = getelementptr inbounds %struct.s2n_debug_info, ptr %196, i32 0, i32 0
  %198 = load ptr, ptr %197, align 8, !tbaa !11
  %199 = getelementptr inbounds i8, ptr %198, i64 21
  %200 = call ptr @strrchr(ptr noundef %199, i32 noundef 47) #5
  %201 = getelementptr inbounds i8, ptr %200, i64 1
  br label %207

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

207:                                              ; preds = %202, %195
  %208 = phi ptr [ %201, %195 ], [ %206, %202 ]
  %209 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %210 = getelementptr inbounds %struct.s2n_debug_info, ptr %209, i32 0, i32 1
  store ptr %208, ptr %210, align 8, !tbaa !13
  %211 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  store i32 469762049, ptr %211, align 4, !tbaa !14
  %212 = call i32 @s2n_calculate_stacktrace()
  br label %213

213:                                              ; preds = %207
  br label %214

214:                                              ; preds = %213
  %215 = getelementptr inbounds %struct.s2n_result, ptr %6, i32 0, i32 0
  store i32 -1, ptr %215, align 4, !tbaa !16
  store i32 1, ptr %13, align 4
  br label %450

216:                                              ; No predecessors!
  br label %217

217:                                              ; preds = %216
  br label %218

218:                                              ; preds = %217, %179
  br label %219

219:                                              ; preds = %218
  br label %220

220:                                              ; preds = %219
  br label %221

221:                                              ; preds = %220
  %222 = load ptr, ptr %7, align 8, !tbaa !5
  %223 = call zeroext i1 @s2n_connection_supports_tls13(ptr noundef %222)
  br i1 %223, label %258, label %224

224:                                              ; preds = %221
  br label %225

225:                                              ; preds = %224
  br label %226

226:                                              ; preds = %225
  %227 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %228 = getelementptr inbounds %struct.s2n_debug_info, ptr %227, i32 0, i32 0
  store ptr @.str.20, ptr %228, align 8, !tbaa !11
  %229 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %230 = getelementptr inbounds %struct.s2n_debug_info, ptr %229, i32 0, i32 0
  %231 = load ptr, ptr %230, align 8, !tbaa !11
  %232 = getelementptr inbounds i8, ptr %231, i64 21
  %233 = call ptr @strrchr(ptr noundef %232, i32 noundef 47) #5
  %234 = icmp ne ptr %233, null
  br i1 %234, label %235, label %242

235:                                              ; preds = %226
  %236 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %237 = getelementptr inbounds %struct.s2n_debug_info, ptr %236, i32 0, i32 0
  %238 = load ptr, ptr %237, align 8, !tbaa !11
  %239 = getelementptr inbounds i8, ptr %238, i64 21
  %240 = call ptr @strrchr(ptr noundef %239, i32 noundef 47) #5
  %241 = getelementptr inbounds i8, ptr %240, i64 1
  br label %247

242:                                              ; preds = %226
  %243 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %244 = getelementptr inbounds %struct.s2n_debug_info, ptr %243, i32 0, i32 0
  %245 = load ptr, ptr %244, align 8, !tbaa !11
  %246 = getelementptr inbounds i8, ptr %245, i64 21
  br label %247

247:                                              ; preds = %242, %235
  %248 = phi ptr [ %241, %235 ], [ %246, %242 ]
  %249 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %250 = getelementptr inbounds %struct.s2n_debug_info, ptr %249, i32 0, i32 1
  store ptr %248, ptr %250, align 8, !tbaa !13
  %251 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  store i32 335544384, ptr %251, align 4, !tbaa !14
  %252 = call i32 @s2n_calculate_stacktrace()
  br label %253

253:                                              ; preds = %247
  br label %254

254:                                              ; preds = %253
  %255 = getelementptr inbounds %struct.s2n_result, ptr %6, i32 0, i32 0
  store i32 -1, ptr %255, align 4, !tbaa !16
  store i32 1, ptr %13, align 4
  br label %450

256:                                              ; No predecessors!
  br label %257

257:                                              ; preds = %256
  br label %258

258:                                              ; preds = %257, %221
  br label %259

259:                                              ; preds = %258
  br label %260

260:                                              ; preds = %259
  %261 = load ptr, ptr %7, align 8, !tbaa !5
  %262 = call zeroext i1 @s2n_early_data_can_continue(ptr noundef %261)
  br i1 %262, label %265, label %263

263:                                              ; preds = %260
  %264 = getelementptr inbounds %struct.s2n_result, ptr %6, i32 0, i32 0
  store i32 0, ptr %264, align 4, !tbaa !16
  store i32 1, ptr %13, align 4
  br label %450

265:                                              ; preds = %260
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #6
  %266 = load ptr, ptr %7, align 8, !tbaa !5
  %267 = load ptr, ptr %11, align 8, !tbaa !5
  %268 = call i32 @s2n_negotiate(ptr noundef %266, ptr noundef %267)
  store i32 %268, ptr %14, align 4, !tbaa !14
  %269 = load i32, ptr %14, align 4, !tbaa !14
  %270 = icmp slt i32 %269, 0
  br i1 %270, label %271, label %304

271:                                              ; preds = %265
  %272 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %273 = load i32, ptr %272, align 4, !tbaa !14
  %274 = call i32 @s2n_error_get_type(i32 noundef %273)
  %275 = icmp ne i32 %274, 3
  br i1 %275, label %276, label %285

276:                                              ; preds = %271
  br label %277

277:                                              ; preds = %276
  %278 = load i32, ptr %14, align 4, !tbaa !14
  %279 = icmp sgt i32 %278, -1
  br i1 %279, label %282, label %280

280:                                              ; preds = %277
  %281 = getelementptr inbounds %struct.s2n_result, ptr %6, i32 0, i32 0
  store i32 -1, ptr %281, align 4, !tbaa !16
  store i32 1, ptr %13, align 4
  br label %449

282:                                              ; preds = %277
  br label %283

283:                                              ; preds = %282
  br label %284

284:                                              ; preds = %283
  br label %303

285:                                              ; preds = %271
  %286 = load ptr, ptr %11, align 8, !tbaa !5
  %287 = load i32, ptr %286, align 4, !tbaa !14
  %288 = icmp ne i32 %287, 4
  br i1 %288, label %289, label %302

289:                                              ; preds = %285
  %290 = load ptr, ptr %11, align 8, !tbaa !5
  %291 = load i32, ptr %290, align 4, !tbaa !14
  %292 = icmp ne i32 %291, 1
  br i1 %292, label %293, label %302

293:                                              ; preds = %289
  br label %294

294:                                              ; preds = %293
  %295 = load i32, ptr %14, align 4, !tbaa !14
  %296 = icmp sgt i32 %295, -1
  br i1 %296, label %299, label %297

297:                                              ; preds = %294
  %298 = getelementptr inbounds %struct.s2n_result, ptr %6, i32 0, i32 0
  store i32 -1, ptr %298, align 4, !tbaa !16
  store i32 1, ptr %13, align 4
  br label %449

299:                                              ; preds = %294
  br label %300

300:                                              ; preds = %299
  br label %301

301:                                              ; preds = %300
  br label %302

302:                                              ; preds = %301, %289, %285
  br label %303

303:                                              ; preds = %302, %284
  br label %304

304:                                              ; preds = %303, %265
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #6
  %305 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %306 = load i32, ptr %305, align 4, !tbaa !14
  store i32 %306, ptr %15, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #6
  %307 = load ptr, ptr %11, align 8, !tbaa !5
  %308 = load i32, ptr %307, align 4, !tbaa !14
  store i32 %308, ptr %16, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #6
  store i32 0, ptr %17, align 4, !tbaa !14
  br label %309

309:                                              ; preds = %304
  %310 = load ptr, ptr %7, align 8, !tbaa !5
  %311 = call i32 @s2n_connection_get_remaining_early_data_size(ptr noundef %310, ptr noundef %17)
  %312 = icmp sgt i32 %311, -1
  br i1 %312, label %315, label %313

313:                                              ; preds = %309
  %314 = getelementptr inbounds %struct.s2n_result, ptr %6, i32 0, i32 0
  store i32 -1, ptr %314, align 4, !tbaa !16
  store i32 1, ptr %13, align 4
  br label %448

315:                                              ; preds = %309
  br label %316

316:                                              ; preds = %315
  br label %317

317:                                              ; preds = %316
  %318 = load i64, ptr %12, align 8, !tbaa !9
  %319 = load i32, ptr %17, align 4, !tbaa !14
  %320 = zext i32 %319 to i64
  %321 = icmp ult i64 %318, %320
  br i1 %321, label %322, label %324

322:                                              ; preds = %317
  %323 = load i64, ptr %12, align 8, !tbaa !9
  br label %327

324:                                              ; preds = %317
  %325 = load i32, ptr %17, align 4, !tbaa !14
  %326 = zext i32 %325 to i64
  br label %327

327:                                              ; preds = %324, %322
  %328 = phi i64 [ %323, %322 ], [ %326, %324 ]
  %329 = trunc i64 %328 to i32
  store i32 %329, ptr %17, align 4, !tbaa !14
  %330 = load i32, ptr %17, align 4, !tbaa !14
  %331 = icmp ne i32 %330, 0
  br i1 %331, label %332, label %352

332:                                              ; preds = %327
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #6
  %333 = load ptr, ptr %7, align 8, !tbaa !5
  %334 = load ptr, ptr %8, align 8, !tbaa !5
  %335 = load i32, ptr %17, align 4, !tbaa !14
  %336 = zext i32 %335 to i64
  %337 = load ptr, ptr %11, align 8, !tbaa !5
  %338 = call i64 @s2n_send(ptr noundef %333, ptr noundef %334, i64 noundef %336, ptr noundef %337)
  store i64 %338, ptr %18, align 8, !tbaa !9
  br label %339

339:                                              ; preds = %332
  %340 = load i64, ptr %18, align 8, !tbaa !9
  %341 = icmp sgt i64 %340, -1
  br i1 %341, label %344, label %342

342:                                              ; preds = %339
  %343 = getelementptr inbounds %struct.s2n_result, ptr %6, i32 0, i32 0
  store i32 -1, ptr %343, align 4, !tbaa !16
  store i32 1, ptr %13, align 4
  br label %349

344:                                              ; preds = %339
  br label %345

345:                                              ; preds = %344
  br label %346

346:                                              ; preds = %345
  %347 = load i64, ptr %18, align 8, !tbaa !9
  %348 = load ptr, ptr %10, align 8, !tbaa !5
  store i64 %347, ptr %348, align 8, !tbaa !9
  store i32 0, ptr %13, align 4
  br label %349

349:                                              ; preds = %346, %342
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #6
  %350 = load i32, ptr %13, align 4
  switch i32 %350, label %448 [
    i32 0, label %351
  ]

351:                                              ; preds = %349
  br label %352

352:                                              ; preds = %351, %327
  %353 = load ptr, ptr %11, align 8, !tbaa !5
  store i32 0, ptr %353, align 4, !tbaa !14
  %354 = load i32, ptr %14, align 4, !tbaa !14
  %355 = icmp slt i32 %354, 0
  br i1 %355, label %356, label %446

356:                                              ; preds = %352
  br label %357

357:                                              ; preds = %356
  %358 = load i32, ptr %15, align 4, !tbaa !14
  %359 = call i32 @s2n_error_get_type(i32 noundef %358)
  %360 = icmp eq i32 %359, 3
  br i1 %360, label %395, label %361

361:                                              ; preds = %357
  br label %362

362:                                              ; preds = %361
  br label %363

363:                                              ; preds = %362
  %364 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %365 = getelementptr inbounds %struct.s2n_debug_info, ptr %364, i32 0, i32 0
  store ptr @.str.21, ptr %365, align 8, !tbaa !11
  %366 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %367 = getelementptr inbounds %struct.s2n_debug_info, ptr %366, i32 0, i32 0
  %368 = load ptr, ptr %367, align 8, !tbaa !11
  %369 = getelementptr inbounds i8, ptr %368, i64 21
  %370 = call ptr @strrchr(ptr noundef %369, i32 noundef 47) #5
  %371 = icmp ne ptr %370, null
  br i1 %371, label %372, label %379

372:                                              ; preds = %363
  %373 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %374 = getelementptr inbounds %struct.s2n_debug_info, ptr %373, i32 0, i32 0
  %375 = load ptr, ptr %374, align 8, !tbaa !11
  %376 = getelementptr inbounds i8, ptr %375, i64 21
  %377 = call ptr @strrchr(ptr noundef %376, i32 noundef 47) #5
  %378 = getelementptr inbounds i8, ptr %377, i64 1
  br label %384

379:                                              ; preds = %363
  %380 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %381 = getelementptr inbounds %struct.s2n_debug_info, ptr %380, i32 0, i32 0
  %382 = load ptr, ptr %381, align 8, !tbaa !11
  %383 = getelementptr inbounds i8, ptr %382, i64 21
  br label %384

384:                                              ; preds = %379, %372
  %385 = phi ptr [ %378, %372 ], [ %383, %379 ]
  %386 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %387 = getelementptr inbounds %struct.s2n_debug_info, ptr %386, i32 0, i32 1
  store ptr %385, ptr %387, align 8, !tbaa !13
  %388 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  store i32 402653194, ptr %388, align 4, !tbaa !14
  %389 = call i32 @s2n_calculate_stacktrace()
  br label %390

390:                                              ; preds = %384
  br label %391

391:                                              ; preds = %390
  %392 = getelementptr inbounds %struct.s2n_result, ptr %6, i32 0, i32 0
  store i32 -1, ptr %392, align 4, !tbaa !16
  store i32 1, ptr %13, align 4
  br label %448

393:                                              ; No predecessors!
  br label %394

394:                                              ; preds = %393
  br label %395

395:                                              ; preds = %394, %357
  br label %396

396:                                              ; preds = %395
  br label %397

397:                                              ; preds = %396
  %398 = load i32, ptr %16, align 4, !tbaa !14
  %399 = icmp eq i32 %398, 4
  br i1 %399, label %400, label %402

400:                                              ; preds = %397
  %401 = getelementptr inbounds %struct.s2n_result, ptr %6, i32 0, i32 0
  store i32 0, ptr %401, align 4, !tbaa !16
  store i32 1, ptr %13, align 4
  br label %448

402:                                              ; preds = %397
  %403 = load ptr, ptr %7, align 8, !tbaa !5
  %404 = call zeroext i1 @s2n_early_data_can_continue(ptr noundef %403)
  br i1 %404, label %405, label %442

405:                                              ; preds = %402
  %406 = load i32, ptr %16, align 4, !tbaa !14
  %407 = load ptr, ptr %11, align 8, !tbaa !5
  store i32 %406, ptr %407, align 4, !tbaa !14
  br label %408

408:                                              ; preds = %405
  br label %409

409:                                              ; preds = %408
  %410 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %411 = getelementptr inbounds %struct.s2n_debug_info, ptr %410, i32 0, i32 0
  store ptr @.str.22, ptr %411, align 8, !tbaa !11
  %412 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %413 = getelementptr inbounds %struct.s2n_debug_info, ptr %412, i32 0, i32 0
  %414 = load ptr, ptr %413, align 8, !tbaa !11
  %415 = getelementptr inbounds i8, ptr %414, i64 21
  %416 = call ptr @strrchr(ptr noundef %415, i32 noundef 47) #5
  %417 = icmp ne ptr %416, null
  br i1 %417, label %418, label %425

418:                                              ; preds = %409
  %419 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %420 = getelementptr inbounds %struct.s2n_debug_info, ptr %419, i32 0, i32 0
  %421 = load ptr, ptr %420, align 8, !tbaa !11
  %422 = getelementptr inbounds i8, ptr %421, i64 21
  %423 = call ptr @strrchr(ptr noundef %422, i32 noundef 47) #5
  %424 = getelementptr inbounds i8, ptr %423, i64 1
  br label %430

425:                                              ; preds = %409
  %426 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %427 = getelementptr inbounds %struct.s2n_debug_info, ptr %426, i32 0, i32 0
  %428 = load ptr, ptr %427, align 8, !tbaa !11
  %429 = getelementptr inbounds i8, ptr %428, i64 21
  br label %430

430:                                              ; preds = %425, %418
  %431 = phi ptr [ %424, %418 ], [ %429, %425 ]
  %432 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %433 = getelementptr inbounds %struct.s2n_debug_info, ptr %432, i32 0, i32 1
  store ptr %431, ptr %433, align 8, !tbaa !13
  %434 = load i32, ptr %15, align 4, !tbaa !14
  %435 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  store i32 %434, ptr %435, align 4, !tbaa !14
  %436 = call i32 @s2n_calculate_stacktrace()
  br label %437

437:                                              ; preds = %430
  br label %438

438:                                              ; preds = %437
  %439 = getelementptr inbounds %struct.s2n_result, ptr %6, i32 0, i32 0
  store i32 -1, ptr %439, align 4, !tbaa !16
  store i32 1, ptr %13, align 4
  br label %448

440:                                              ; No predecessors!
  br label %441

441:                                              ; preds = %440
  br label %444

442:                                              ; preds = %402
  %443 = getelementptr inbounds %struct.s2n_result, ptr %6, i32 0, i32 0
  store i32 0, ptr %443, align 4, !tbaa !16
  store i32 1, ptr %13, align 4
  br label %448

444:                                              ; preds = %441
  br label %445

445:                                              ; preds = %444
  br label %446

446:                                              ; preds = %445, %352
  %447 = getelementptr inbounds %struct.s2n_result, ptr %6, i32 0, i32 0
  store i32 0, ptr %447, align 4, !tbaa !16
  store i32 1, ptr %13, align 4
  br label %448

448:                                              ; preds = %446, %442, %438, %400, %391, %349, %313
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #6
  br label %449

449:                                              ; preds = %448, %297, %280
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #6
  br label %450

450:                                              ; preds = %449, %263, %254, %214, %171, %130, %90
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  br label %451

451:                                              ; preds = %450, %51
  %452 = getelementptr inbounds %struct.s2n_result, ptr %6, i32 0, i32 0
  %453 = load i32, ptr %452, align 4
  ret i32 %453
}

declare zeroext i1 @s2n_connection_supports_tls13(ptr noundef) #2

; Function Attrs: nounwind uwtable
declare hidden zeroext i1 @s2n_early_data_can_continue(ptr noundef) #4

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

declare i32 @s2n_error_get_type(i32 noundef) #2

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


; 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 }

@_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.15 = external hidden unnamed_addr constant [94 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [94 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [94 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [94 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [94 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [94 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [94 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [94 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 nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #3

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

; Function Attrs: nounwind uwtable
define dso_local range(i32 -1, 1) i32 @s2n_send_early_data_impl(ptr noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef writeonly %3, ptr noundef %4) local_unnamed_addr #4 {
  %6 = alloca i32, align 4
  %7 = icmp sgt i64 %2, -1
  br i1 %7, label %16, label %8

8:                                                ; preds = %5
  %9 = tail call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  store ptr @.str.15, ptr %9, align 8, !tbaa !5
  %10 = tail call ptr @strrchr(ptr noundef nonnull dereferenceable(1) getelementptr inbounds (i8, ptr @.str.15, i64 21), i32 noundef 47) #6
  %.not = icmp eq ptr %10, null
  %11 = getelementptr inbounds i8, ptr %10, i64 1
  %12 = select i1 %.not, ptr getelementptr inbounds (i8, ptr @.str.15, 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 402653194, ptr %14, align 4, !tbaa !11
  %15 = tail call i32 @s2n_calculate_stacktrace() #7
  br label %105

16:                                               ; preds = %5
  %.not53 = icmp eq ptr %0, null
  br i1 %.not53, label %17, label %25

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

25:                                               ; preds = %16
  %.not55 = icmp eq ptr %4, null
  br i1 %.not55, label %26, label %34

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

34:                                               ; preds = %25
  store i32 0, ptr %4, align 4, !tbaa !11
  %.not57 = icmp eq ptr %3, null
  br i1 %.not57, label %35, label %43

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

43:                                               ; preds = %34
  store i64 0, ptr %3, align 8, !tbaa !13
  %44 = getelementptr inbounds i8, ptr %0, i64 148
  %45 = load i32, ptr %44, align 4, !tbaa !15
  %46 = icmp eq i32 %45, 1
  br i1 %46, label %55, label %47

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

55:                                               ; preds = %43
  %56 = tail call zeroext i1 @s2n_connection_supports_tls13(ptr noundef nonnull %0) #7
  br i1 %56, label %65, label %57

57:                                               ; preds = %55
  %58 = tail call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  store ptr @.str.20, ptr %58, align 8, !tbaa !5
  %59 = tail call ptr @strrchr(ptr noundef nonnull dereferenceable(1) getelementptr inbounds (i8, ptr @.str.20, i64 21), i32 noundef 47) #6
  %.not60 = icmp eq ptr %59, null
  %60 = getelementptr inbounds i8, ptr %59, i64 1
  %61 = select i1 %.not60, ptr getelementptr inbounds (i8, ptr @.str.20, i64 21), ptr %60
  %62 = getelementptr inbounds i8, ptr %58, i64 8
  store ptr %61, ptr %62, align 8, !tbaa !10
  %63 = tail call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  store i32 335544384, ptr %63, align 4, !tbaa !11
  %64 = tail call i32 @s2n_calculate_stacktrace() #7
  br label %105

65:                                               ; preds = %55
  %66 = tail call zeroext i1 @s2n_early_data_can_continue(ptr noundef nonnull %0)
  br i1 %66, label %67, label %105

67:                                               ; preds = %65
  %68 = tail call i32 @s2n_negotiate(ptr noundef nonnull %0, ptr noundef nonnull %4) #7
  %69 = icmp slt i32 %68, 0
  br i1 %69, label %70, label %thread-pre-split

70:                                               ; preds = %67
  %71 = tail call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %72 = load i32, ptr %71, align 4, !tbaa !11
  %73 = tail call i32 @s2n_error_get_type(i32 noundef %72) #7
  %.not61 = icmp eq i32 %73, 3
  br i1 %.not61, label %74, label %105

74:                                               ; preds = %70
  %75 = load i32, ptr %4, align 4, !tbaa !11
  switch i32 %75, label %105 [
    i32 4, label %76
    i32 1, label %76
  ]

thread-pre-split:                                 ; preds = %67
  %.pr = load i32, ptr %4, align 4, !tbaa !11
  %.pre = tail call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  br label %76

76:                                               ; preds = %thread-pre-split, %74, %74
  %.pre-phi = phi ptr [ %.pre, %thread-pre-split ], [ %71, %74 ], [ %71, %74 ]
  %77 = phi i32 [ %.pr, %thread-pre-split ], [ %75, %74 ], [ %75, %74 ]
  %78 = load i32, ptr %.pre-phi, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #7
  store i32 0, ptr %6, align 4, !tbaa !11
  %79 = call i32 @s2n_connection_get_remaining_early_data_size(ptr noundef nonnull %0, ptr noundef nonnull %6) #7
  %80 = icmp sgt i32 %79, -1
  br i1 %80, label %81, label %.critedge

81:                                               ; preds = %76
  %82 = load i32, ptr %6, align 4
  %83 = zext i32 %82 to i64
  %84 = call i64 @llvm.umin.i64(i64 %83, i64 %2)
  %85 = trunc nuw i64 %84 to i32
  store i32 %85, ptr %6, align 4, !tbaa !11
  %.not63 = icmp eq i64 %84, 0
  br i1 %.not63, label %90, label %86

86:                                               ; preds = %81
  %87 = call i64 @s2n_send(ptr noundef nonnull %0, ptr noundef %1, i64 noundef %84, ptr noundef nonnull %4) #7
  %88 = icmp sgt i64 %87, -1
  br i1 %88, label %89, label %.critedge

89:                                               ; preds = %86
  store i64 %87, ptr %3, align 8, !tbaa !13
  br label %90

90:                                               ; preds = %89, %81
  store i32 0, ptr %4, align 4, !tbaa !11
  br i1 %69, label %91, label %.critedge

91:                                               ; preds = %90
  %92 = call i32 @s2n_error_get_type(i32 noundef %78) #7
  %93 = icmp eq i32 %92, 3
  br i1 %93, label %94, label %.critedge.sink.split

94:                                               ; preds = %91
  %95 = icmp eq i32 %77, 4
  br i1 %95, label %.critedge, label %96

96:                                               ; preds = %94
  %97 = call zeroext i1 @s2n_early_data_can_continue(ptr noundef nonnull %0)
  br i1 %97, label %98, label %.critedge

98:                                               ; preds = %96
  store i32 %77, ptr %4, align 4, !tbaa !11
  br label %.critedge.sink.split

.critedge.sink.split:                             ; preds = %91, %98
  %.str.22.sink = phi ptr [ @.str.22, %98 ], [ @.str.21, %91 ]
  %.sink73 = phi ptr [ getelementptr inbounds (i8, ptr @.str.22, i64 21), %98 ], [ getelementptr inbounds (i8, ptr @.str.21, i64 21), %91 ]
  %.sink = phi i32 [ %78, %98 ], [ 402653194, %91 ]
  %99 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  store ptr %.str.22.sink, ptr %99, align 8, !tbaa !5
  %100 = call ptr @strrchr(ptr noundef nonnull dereferenceable(1) %.sink73, i32 noundef 47) #6
  %.not65 = icmp eq ptr %100, null
  %101 = getelementptr inbounds i8, ptr %100, i64 1
  %102 = select i1 %.not65, ptr %.sink73, ptr %101
  %103 = getelementptr inbounds i8, ptr %99, i64 8
  store ptr %102, ptr %103, align 8, !tbaa !10
  store i32 %.sink, ptr %.pre-phi, align 4, !tbaa !11
  %104 = call i32 @s2n_calculate_stacktrace() #7
  br label %.critedge

.critedge:                                        ; preds = %.critedge.sink.split, %86, %90, %96, %94, %76
  %.sroa.0.1 = phi i32 [ -1, %76 ], [ 0, %94 ], [ 0, %96 ], [ 0, %90 ], [ -1, %86 ], [ -1, %.critedge.sink.split ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #7
  br label %105

105:                                              ; preds = %17, %26, %35, %47, %57, %65, %74, %70, %.critedge, %8
  %.sroa.0.4 = phi i32 [ -1, %8 ], [ -1, %57 ], [ -1, %47 ], [ -1, %35 ], [ -1, %26 ], [ -1, %17 ], [ 0, %65 ], [ %.sroa.0.1, %.critedge ], [ -1, %70 ], [ -1, %74 ]
  ret i32 %.sroa.0.4
}

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

; Function Attrs: nounwind uwtable
declare hidden zeroext i1 @s2n_early_data_can_continue(ptr noundef) local_unnamed_addr #4

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

declare i32 @s2n_error_get_type(i32 noundef) local_unnamed_addr #2

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

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

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 = { 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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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, !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, !14, i64 0}
!14 = !{!"long", !8, i64 0}
!15 = !{!16, !12, i64 148}
!16 = !{!"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, !17, i64 160, !14, i64 168, !14, 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, !18, i64 240, !7, i64 632, !7, i64 640, !19, i64 648, !26, i64 1144, !29, i64 1688, !7, i64 1752, !8, i64 1760, !12, i64 1764, !8, i64 1768, !32, i64 1776, !32, i64 1816, !32, i64 1856, !32, i64 1896, !12, i64 1936, !14, i64 1944, !8, i64 1952, !32, i64 1960, !8, i64 2000, !8, i64 2001, !8, i64 2002, !25, i64 2003, !33, i64 2004, !33, i64 2008, !34, i64 2016, !31, i64 2208, !12, i64 2212, !31, i64 2216, !14, i64 2224, !8, i64 2232, !14, i64 2240, !14, i64 2248, !14, i64 2256, !33, i64 2264, !33, i64 2268, !8, i64 2272, !8, i64 2528, !12, i64 2784, !24, i64 2792, !12, i64 2816, !24, i64 2824, !24, i64 2848, !24, i64 2872, !36, i64 2896, !38, i64 3704, !7, i64 3760, !7, i64 3768, !8, i64 3776, !12, i64 3780, !24, i64 3784, !12, i64 3808, !40, i64 3816, !8, i64 3848, !32, i64 3992, !24, i64 4032, !24, i64 4056, !25, i64 4080, !25, i64 4081, !25, i64 4082, !31, i64 4084, !31, i64 4086, !12, i64 4088, !12, i64 4092, !24, i64 4096, !12, i64 4120, !41, i64 4128, !33, i64 4176, !8, i64 4180, !8, i64 4181}
!17 = !{!"s2n_timer", !14, i64 0}
!18 = !{!"s2n_secrets", !8, i64 0, !12, i64 388}
!19 = !{!"s2n_kex_parameters", !20, i64 0, !21, i64 8, !8, i64 24, !21, i64 56, !22, i64 72, !22, i64 184, !8, i64 296, !23, i64 360, !24, i64 448, !24, i64 472}
!20 = !{!"s2n_dh_params", !7, i64 0}
!21 = !{!"s2n_ecc_evp_params", !7, i64 0, !7, i64 8}
!22 = !{!"s2n_kem_group_params", !7, i64 0, !23, i64 8, !21, i64 96}
!23 = !{!"s2n_kem_params", !7, i64 0, !24, i64 8, !24, i64 32, !24, i64 56, !25, i64 80}
!24 = !{!"s2n_blob", !7, i64 0, !12, i64 8, !12, i64 12, !12, i64 16}
!25 = !{!"_Bool", !8, i64 0}
!26 = !{!"s2n_handshake_parameters", !27, i64 0, !27, i64 48, !24, i64 96, !12, i64 120, !28, 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}
!27 = !{!"s2n_pkey", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !7, i64 40}
!28 = !{!"s2n_sig_scheme_list", !8, i64 0, !8, i64 256}
!29 = !{!"s2n_psk_parameters", !12, i64 0, !30, i64 8, !31, i64 40, !31, i64 42, !7, i64 48, !12, i64 56}
!30 = !{!"s2n_array", !24, i64 0, !12, i64 24, !12, i64 28}
!31 = !{!"short", !8, i64 0}
!32 = !{!"s2n_stuffer", !24, i64 0, !12, i64 24, !12, i64 28, !12, i64 32, !12, i64 36, !12, i64 36, !12, i64 36}
!33 = !{!"", !12, i64 0}
!34 = !{!"s2n_handshake", !32, 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, !35, i64 176, !12, i64 184, !12, i64 184, !12, i64 184, !12, i64 184, !12, i64 188}
!35 = !{!"s2n_offered_early_data", !7, i64 0}
!36 = !{!"s2n_client_hello", !24, i64 0, !37, i64 24, !24, i64 728, !24, i64 752, !24, 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}
!37 = !{!"", !8, i64 0, !24, i64 672, !31, i64 696}
!38 = !{!"s2n_x509_validator", !7, i64 0, !7, i64 8, !8, i64 16, !8, i64 17, !31, i64 18, !7, i64 24, !12, i64 32, !7, i64 40, !39, i64 48, !25, i64 52}
!39 = !{!"s2n_cert_validation_info", !12, i64 0, !12, i64 0}
!40 = !{!"s2n_ticket_fields", !24, i64 0, !12, i64 24}
!41 = !{!"s2n_post_handshake", !32, i64 0, !8, i64 40}


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