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

; 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_offered_early_data = type { ptr }
%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_client_hello = type { %struct.s2n_blob, %struct.s2n_parsed_extensions_list, %struct.s2n_blob, %struct.s2n_blob, %struct.s2n_blob, i8, i8, i8 }
%struct.s2n_parsed_extensions_list = type { [21 x %struct.s2n_parsed_extension], %struct.s2n_blob, i16 }
%struct.s2n_parsed_extension = type { %struct.s2n_blob, i16, i16, i8 }
%struct.s2n_x509_validator = type { ptr, ptr, i8, i8, i16, ptr, i32, ptr, %struct.s2n_cert_validation_info, i8 }
%struct.s2n_cert_validation_info = type { i8, [3 x i8] }
%struct.s2n_ticket_fields = type { %struct.s2n_blob, i32 }
%struct.s2n_stuffer = type { %struct.s2n_blob, i32, i32, i32, i8 }
%struct.s2n_blob = type { ptr, i32, i32, i8 }
%struct.s2n_post_handshake = type { %struct.s2n_stuffer, [4 x i8] }
%struct.s2n_atomic_flag = type { i32 }
%struct.s2n_psk = type { i32, %struct.s2n_blob, %struct.s2n_blob, i32, i32, i64, %struct.s2n_blob, %struct.s2n_early_data_config, i64 }
%struct.s2n_early_data_config = type { i32, i8, ptr, %struct.s2n_blob, %struct.s2n_blob }

@_s2n_debug_info = external thread_local global %struct.s2n_debug_info, align 8
@s2n_errno = external thread_local global i32, align 4
@.str.43 = external hidden unnamed_addr constant [91 x i8], align 1
@.str.44 = external hidden unnamed_addr constant [91 x i8], align 1
@.str.45 = external hidden unnamed_addr constant [91 x i8], align 1
@.str.46 = external hidden unnamed_addr constant [91 x i8], align 1
@.str.47 = external hidden unnamed_addr constant [91 x i8], align 1
@.str.48 = external hidden unnamed_addr constant [91 x i8], align 1

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

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

declare i32 @s2n_calculate_stacktrace() #2

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

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

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

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

; Function Attrs: nounwind uwtable
define dso_local i32 @s2n_offered_early_data_get_context(ptr noundef %0, ptr noundef %1, i16 noundef zeroext %2) #5 {
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i16, align 2
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca ptr, align 8
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store i16 %2, ptr %7, align 2, !tbaa !9
  br label %13

13:                                               ; preds = %3
  %14 = load ptr, ptr %6, align 8, !tbaa !5
  %15 = icmp ne ptr %14, null
  br i1 %15, label %47, label %16

16:                                               ; preds = %13
  br label %17

17:                                               ; preds = %16
  br label %18

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

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

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

39:                                               ; preds = %34, %27
  %40 = phi ptr [ %33, %27 ], [ %38, %34 ]
  %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 1
  store ptr %40, ptr %42, align 8, !tbaa !13
  %43 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  store i32 402653193, ptr %43, align 4, !tbaa !14
  %44 = call i32 @s2n_calculate_stacktrace()
  br label %45

45:                                               ; preds = %39
  store i32 -1, ptr %4, align 4
  br label %290

46:                                               ; No predecessors!
  br label %47

47:                                               ; preds = %46, %13
  br label %48

48:                                               ; preds = %47
  br label %49

49:                                               ; preds = %48
  %50 = load ptr, ptr %5, align 8, !tbaa !5
  %51 = icmp ne ptr %50, null
  br i1 %51, label %83, label %52

52:                                               ; preds = %49
  br label %53

53:                                               ; preds = %52
  br label %54

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

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

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

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

81:                                               ; preds = %75
  store i32 -1, ptr %4, align 4
  br label %290

82:                                               ; No predecessors!
  br label %83

83:                                               ; preds = %82, %49
  br label %84

84:                                               ; preds = %83
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #7
  %85 = load ptr, ptr %5, align 8, !tbaa !5
  %86 = getelementptr inbounds %struct.s2n_offered_early_data, ptr %85, i32 0, i32 0
  %87 = load ptr, ptr %86, align 8, !tbaa !16
  store ptr %87, ptr %8, align 8, !tbaa !5
  br label %88

88:                                               ; preds = %84
  %89 = load ptr, ptr %8, align 8, !tbaa !5
  %90 = icmp ne ptr %89, null
  br i1 %90, label %124, label %91

91:                                               ; preds = %88
  br label %92

92:                                               ; preds = %91
  br label %93

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

102:                                              ; preds = %93
  %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
  %105 = load ptr, ptr %104, align 8, !tbaa !11
  %106 = getelementptr inbounds i8, ptr %105, i64 21
  %107 = call ptr @strrchr(ptr noundef %106, i32 noundef 47) #6
  %108 = getelementptr inbounds i8, ptr %107, i64 1
  br label %114

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

114:                                              ; preds = %109, %102
  %115 = phi ptr [ %108, %102 ], [ %113, %109 ]
  %116 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %117 = getelementptr inbounds %struct.s2n_debug_info, ptr %116, i32 0, i32 1
  store ptr %115, ptr %117, align 8, !tbaa !13
  %118 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  store i32 402653193, ptr %118, align 4, !tbaa !14
  %119 = call i32 @s2n_calculate_stacktrace()
  br label %120

120:                                              ; preds = %114
  br label %121

121:                                              ; preds = %120
  store i32 -1, ptr %4, align 4
  store i32 1, ptr %9, align 4
  br label %289

122:                                              ; No predecessors!
  br label %123

123:                                              ; preds = %122
  br label %124

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

125:                                              ; preds = %124
  br label %126

126:                                              ; preds = %125
  br label %127

127:                                              ; preds = %126
  %128 = load ptr, ptr %8, align 8, !tbaa !5
  %129 = getelementptr inbounds %struct.s2n_connection, ptr %128, i32 0, i32 33
  %130 = getelementptr inbounds %struct.s2n_psk_parameters, ptr %129, i32 0, i32 4
  %131 = load ptr, ptr %130, align 8, !tbaa !18
  %132 = icmp ne ptr %131, null
  br i1 %132, label %166, label %133

133:                                              ; preds = %127
  br label %134

134:                                              ; preds = %133
  br label %135

135:                                              ; preds = %134
  %136 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %137 = getelementptr inbounds %struct.s2n_debug_info, ptr %136, i32 0, i32 0
  store ptr @.str.46, ptr %137, align 8, !tbaa !11
  %138 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %139 = getelementptr inbounds %struct.s2n_debug_info, ptr %138, i32 0, i32 0
  %140 = load ptr, ptr %139, align 8, !tbaa !11
  %141 = getelementptr inbounds i8, ptr %140, i64 21
  %142 = call ptr @strrchr(ptr noundef %141, i32 noundef 47) #6
  %143 = icmp ne ptr %142, null
  br i1 %143, label %144, label %151

144:                                              ; preds = %135
  %145 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %146 = getelementptr inbounds %struct.s2n_debug_info, ptr %145, i32 0, i32 0
  %147 = load ptr, ptr %146, align 8, !tbaa !11
  %148 = getelementptr inbounds i8, ptr %147, i64 21
  %149 = call ptr @strrchr(ptr noundef %148, i32 noundef 47) #6
  %150 = getelementptr inbounds i8, ptr %149, i64 1
  br label %156

151:                                              ; preds = %135
  %152 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %153 = getelementptr inbounds %struct.s2n_debug_info, ptr %152, i32 0, i32 0
  %154 = load ptr, ptr %153, align 8, !tbaa !11
  %155 = getelementptr inbounds i8, ptr %154, i64 21
  br label %156

156:                                              ; preds = %151, %144
  %157 = phi ptr [ %150, %144 ], [ %155, %151 ]
  %158 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %159 = getelementptr inbounds %struct.s2n_debug_info, ptr %158, i32 0, i32 1
  store ptr %157, ptr %159, align 8, !tbaa !13
  %160 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  store i32 402653193, ptr %160, align 4, !tbaa !14
  %161 = call i32 @s2n_calculate_stacktrace()
  br label %162

162:                                              ; preds = %156
  br label %163

163:                                              ; preds = %162
  store i32 -1, ptr %4, align 4
  store i32 1, ptr %9, align 4
  br label %289

164:                                              ; No predecessors!
  br label %165

165:                                              ; preds = %164
  br label %166

166:                                              ; preds = %165, %127
  br label %167

167:                                              ; preds = %166
  br label %168

168:                                              ; preds = %167
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #7
  %169 = load ptr, ptr %8, align 8, !tbaa !5
  %170 = getelementptr inbounds %struct.s2n_connection, ptr %169, i32 0, i32 33
  %171 = getelementptr inbounds %struct.s2n_psk_parameters, ptr %170, i32 0, i32 4
  %172 = load ptr, ptr %171, align 8, !tbaa !18
  %173 = getelementptr inbounds %struct.s2n_psk, ptr %172, i32 0, i32 7
  store ptr %173, ptr %10, align 8, !tbaa !5
  br label %174

174:                                              ; preds = %168
  %175 = load ptr, ptr %10, align 8, !tbaa !5
  %176 = getelementptr inbounds %struct.s2n_early_data_config, ptr %175, i32 0, i32 4
  %177 = getelementptr inbounds %struct.s2n_blob, ptr %176, i32 0, i32 1
  %178 = load i32, ptr %177, align 8, !tbaa !44
  %179 = load i16, ptr %7, align 2, !tbaa !9
  %180 = zext i16 %179 to i32
  %181 = icmp ule i32 %178, %180
  br i1 %181, label %215, label %182

182:                                              ; preds = %174
  br label %183

183:                                              ; preds = %182
  br label %184

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

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

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

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

211:                                              ; preds = %205
  br label %212

212:                                              ; preds = %211
  store i32 -1, ptr %4, align 4
  store i32 1, ptr %9, align 4
  br label %288

213:                                              ; No predecessors!
  br label %214

214:                                              ; preds = %213
  br label %215

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

216:                                              ; preds = %215
  br label %217

217:                                              ; preds = %216
  br label %218

218:                                              ; preds = %217
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #7
  %219 = load ptr, ptr %10, align 8, !tbaa !5
  %220 = getelementptr inbounds %struct.s2n_early_data_config, ptr %219, i32 0, i32 4
  %221 = getelementptr inbounds %struct.s2n_blob, ptr %220, i32 0, i32 1
  %222 = load i32, ptr %221, align 8, !tbaa !44
  store i32 %222, ptr %11, align 4, !tbaa !14
  %223 = load i32, ptr %11, align 4, !tbaa !14
  %224 = icmp ne i32 %223, 0
  %225 = xor i1 %224, true
  %226 = xor i1 %225, true
  %227 = zext i1 %226 to i32
  %228 = sext i32 %227 to i64
  %229 = call i64 @llvm.expect.i64(i64 %228, i64 1)
  %230 = icmp ne i64 %229, 0
  br i1 %230, label %231, label %282

231:                                              ; preds = %218
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #7
  %232 = load ptr, ptr %6, align 8, !tbaa !5
  %233 = load ptr, ptr %10, align 8, !tbaa !5
  %234 = getelementptr inbounds %struct.s2n_early_data_config, ptr %233, i32 0, i32 4
  %235 = getelementptr inbounds %struct.s2n_blob, ptr %234, i32 0, i32 0
  %236 = load ptr, ptr %235, align 8, !tbaa !46
  %237 = load i32, ptr %11, align 4, !tbaa !14
  %238 = zext i32 %237 to i64
  %239 = call ptr @s2n_ensure_memmove_trace(ptr noundef %232, ptr noundef %236, i64 noundef %238)
  store ptr %239, ptr %12, align 8, !tbaa !5
  br label %240

240:                                              ; preds = %231
  %241 = load ptr, ptr %12, align 8, !tbaa !5
  %242 = icmp ne ptr %241, null
  br i1 %242, label %276, label %243

243:                                              ; preds = %240
  br label %244

244:                                              ; preds = %243
  br label %245

245:                                              ; preds = %244
  %246 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %247 = getelementptr inbounds %struct.s2n_debug_info, ptr %246, i32 0, i32 0
  store ptr @.str.48, ptr %247, align 8, !tbaa !11
  %248 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %249 = getelementptr inbounds %struct.s2n_debug_info, ptr %248, i32 0, i32 0
  %250 = load ptr, ptr %249, align 8, !tbaa !11
  %251 = getelementptr inbounds i8, ptr %250, i64 21
  %252 = call ptr @strrchr(ptr noundef %251, i32 noundef 47) #6
  %253 = icmp ne ptr %252, null
  br i1 %253, label %254, label %261

254:                                              ; preds = %245
  %255 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %256 = getelementptr inbounds %struct.s2n_debug_info, ptr %255, i32 0, i32 0
  %257 = load ptr, ptr %256, align 8, !tbaa !11
  %258 = getelementptr inbounds i8, ptr %257, i64 21
  %259 = call ptr @strrchr(ptr noundef %258, i32 noundef 47) #6
  %260 = getelementptr inbounds i8, ptr %259, i64 1
  br label %266

261:                                              ; preds = %245
  %262 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %263 = getelementptr inbounds %struct.s2n_debug_info, ptr %262, i32 0, i32 0
  %264 = load ptr, ptr %263, align 8, !tbaa !11
  %265 = getelementptr inbounds i8, ptr %264, i64 21
  br label %266

266:                                              ; preds = %261, %254
  %267 = phi ptr [ %260, %254 ], [ %265, %261 ]
  %268 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %269 = getelementptr inbounds %struct.s2n_debug_info, ptr %268, i32 0, i32 1
  store ptr %267, ptr %269, align 8, !tbaa !13
  %270 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  store i32 402653193, ptr %270, align 4, !tbaa !14
  %271 = call i32 @s2n_calculate_stacktrace()
  br label %272

272:                                              ; preds = %266
  br label %273

273:                                              ; preds = %272
  store i32 -1, ptr %4, align 4
  store i32 1, ptr %9, align 4
  br label %279

274:                                              ; No predecessors!
  br label %275

275:                                              ; preds = %274
  br label %276

276:                                              ; preds = %275, %240
  br label %277

277:                                              ; preds = %276
  br label %278

278:                                              ; preds = %277
  store i32 0, ptr %9, align 4
  br label %279

279:                                              ; preds = %278, %273
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #7
  %280 = load i32, ptr %9, align 4
  switch i32 %280, label %283 [
    i32 0, label %281
  ]

281:                                              ; preds = %279
  br label %282

282:                                              ; preds = %281, %218
  store i32 0, ptr %9, align 4
  br label %283

283:                                              ; preds = %282, %279
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #7
  %284 = load i32, ptr %9, align 4
  switch i32 %284, label %288 [
    i32 0, label %285
  ]

285:                                              ; preds = %283
  br label %286

286:                                              ; preds = %285
  br label %287

287:                                              ; preds = %286
  store i32 0, ptr %4, align 4
  store i32 1, ptr %9, align 4
  br label %288

288:                                              ; preds = %287, %283, %212
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #7
  br label %289

289:                                              ; preds = %288, %163, %121
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #7
  br label %290

290:                                              ; preds = %289, %81, %45
  %291 = load i32, ptr %4, align 4
  ret i32 %291
}

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

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

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

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

; Function Attrs: nounwind uwtable
define dso_local range(i32 -1, 1) i32 @s2n_offered_early_data_get_context(ptr noundef readonly %0, ptr noundef %1, i16 noundef zeroext %2) local_unnamed_addr #3 {
  %.not = icmp eq ptr %1, null
  br i1 %.not, label %.sink.split, label %4

4:                                                ; preds = %3
  %.not30 = icmp eq ptr %0, null
  br i1 %.not30, label %.sink.split, label %5

5:                                                ; preds = %4
  %6 = load ptr, ptr %0, align 8, !tbaa !5
  %.not32 = icmp eq ptr %6, null
  br i1 %.not32, label %.sink.split, label %7

7:                                                ; preds = %5
  %8 = getelementptr inbounds i8, ptr %6, i64 1736
  %9 = load ptr, ptr %8, align 8, !tbaa !10
  %.not34 = icmp eq ptr %9, null
  br i1 %.not34, label %.sink.split, label %10

10:                                               ; preds = %7
  %11 = getelementptr inbounds i8, ptr %9, i64 136
  %12 = getelementptr inbounds i8, ptr %9, i64 144
  %13 = load i32, ptr %12, align 8, !tbaa !38
  %14 = zext i16 %2 to i32
  %.not36 = icmp ugt i32 %13, %14
  br i1 %.not36, label %.sink.split, label %15

15:                                               ; preds = %10
  %.not38 = icmp eq i32 %13, 0
  br i1 %.not38, label %27, label %16, !prof !40

16:                                               ; preds = %15
  %17 = load ptr, ptr %11, align 8, !tbaa !41
  %18 = zext nneg i32 %13 to i64
  %19 = tail call ptr @s2n_ensure_memmove_trace(ptr noundef nonnull %1, ptr noundef %17, i64 noundef %18) #4
  %.not39.not = icmp eq ptr %19, null
  br i1 %.not39.not, label %.sink.split, label %27

.sink.split:                                      ; preds = %16, %10, %7, %5, %4, %3
  %.str.48.sink = phi ptr [ @.str.43, %3 ], [ @.str.44, %4 ], [ @.str.45, %5 ], [ @.str.46, %7 ], [ @.str.47, %10 ], [ @.str.48, %16 ]
  %.sink50 = phi ptr [ getelementptr inbounds (i8, ptr @.str.43, i64 21), %3 ], [ getelementptr inbounds (i8, ptr @.str.44, i64 21), %4 ], [ getelementptr inbounds (i8, ptr @.str.45, i64 21), %5 ], [ getelementptr inbounds (i8, ptr @.str.46, i64 21), %7 ], [ getelementptr inbounds (i8, ptr @.str.47, i64 21), %10 ], [ getelementptr inbounds (i8, ptr @.str.48, i64 21), %16 ]
  %.sink = phi i32 [ 402653193, %3 ], [ 402653193, %4 ], [ 402653193, %5 ], [ 402653193, %7 ], [ 469762120, %10 ], [ 402653193, %16 ]
  %20 = tail call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  store ptr %.str.48.sink, ptr %20, align 8, !tbaa !42
  %21 = tail call ptr @strrchr(ptr noundef nonnull dereferenceable(1) %.sink50, i32 noundef 47) #5
  %.not40 = icmp eq ptr %21, null
  %22 = getelementptr inbounds i8, ptr %21, i64 1
  %23 = select i1 %.not40, ptr %.sink50, ptr %22
  %24 = getelementptr inbounds i8, ptr %20, i64 8
  store ptr %23, ptr %24, align 8, !tbaa !44
  %25 = tail call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  store i32 %.sink, ptr %25, align 4, !tbaa !45
  %26 = tail call i32 @s2n_calculate_stacktrace() #4
  br label %27

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


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