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

; 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_connection = type { i32, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, [22 x i8], [22 x i8], [22 x i8], i32, i32, %struct.s2n_timer, i64, i64, [32 x i8], i8, i8, i8, i8, i8, i8, i8, ptr, ptr, %struct.s2n_secrets, ptr, ptr, %struct.s2n_kex_parameters, %struct.s2n_handshake_parameters, %struct.s2n_psk_parameters, ptr, i8, i32, [5 x i8], %struct.s2n_stuffer, %struct.s2n_stuffer, %struct.s2n_stuffer, %struct.s2n_stuffer, i32, i64, [2 x i8], %struct.s2n_stuffer, i8, i8, i8, i8, %struct.s2n_atomic_flag, %struct.s2n_atomic_flag, %struct.s2n_handshake, i16, i32, i16, i64, i8, i64, i64, i64, %struct.s2n_atomic_flag, %struct.s2n_atomic_flag, [256 x i8], [256 x i8], i32, %struct.s2n_blob, i32, %struct.s2n_blob, %struct.s2n_blob, %struct.s2n_blob, %struct.s2n_client_hello, %struct.s2n_x509_validator, ptr, ptr, i8, i32, %struct.s2n_blob, i32, %struct.s2n_ticket_fields, [138 x i8], %struct.s2n_stuffer, %struct.s2n_blob, %struct.s2n_blob, i8, i8, i8, i16, i16, i32, i32, %struct.s2n_blob, i32, %struct.s2n_post_handshake, %struct.s2n_atomic_flag, i8, i8 }
%struct.s2n_timer = type { i64 }
%struct.s2n_secrets = type { %union.anon.0, i32 }
%union.anon.0 = type { %struct.s2n_tls13_secrets }
%struct.s2n_tls13_secrets = type { [48 x i8], [48 x i8], [48 x i8], [48 x i8], [48 x i8], [48 x i8], [48 x i8], [48 x i8], i32 }
%struct.s2n_kex_parameters = type { %struct.s2n_dh_params, %struct.s2n_ecc_evp_params, [4 x ptr], %struct.s2n_ecc_evp_params, %struct.s2n_kem_group_params, %struct.s2n_kem_group_params, [8 x ptr], %struct.s2n_kem_params, %struct.s2n_blob, %struct.s2n_blob }
%struct.s2n_dh_params = type { ptr }
%struct.s2n_ecc_evp_params = type { ptr, ptr }
%struct.s2n_kem_group_params = type { ptr, %struct.s2n_kem_params, %struct.s2n_ecc_evp_params }
%struct.s2n_kem_params = type { ptr, %struct.s2n_blob, %struct.s2n_blob, %struct.s2n_blob, i8 }
%struct.s2n_handshake_parameters = type { %struct.s2n_pkey, %struct.s2n_pkey, %struct.s2n_blob, i32, %struct.s2n_sig_scheme_list, ptr, ptr, ptr, [4 x ptr], [4 x ptr], i8, i8, [32 x i8], [32 x i8] }
%struct.s2n_pkey = type { ptr, ptr, ptr, ptr, ptr, ptr }
%struct.s2n_sig_scheme_list = type { [128 x i16], i8 }
%struct.s2n_psk_parameters = type { i32, %struct.s2n_array, i16, i16, ptr, i32 }
%struct.s2n_array = type { %struct.s2n_blob, i32, i32 }
%struct.s2n_handshake = type { %struct.s2n_stuffer, ptr, [8 x i8], [48 x i8], [48 x i8], i8, i32, i32, i32, i32, %struct.s2n_offered_early_data, i8, i32 }
%struct.s2n_offered_early_data = type { ptr }
%struct.s2n_client_hello = type { %struct.s2n_blob, %struct.s2n_parsed_extensions_list, %struct.s2n_blob, %struct.s2n_blob, %struct.s2n_blob, i8, i8, i8 }
%struct.s2n_parsed_extensions_list = type { [21 x %struct.s2n_parsed_extension], %struct.s2n_blob, i16 }
%struct.s2n_parsed_extension = type { %struct.s2n_blob, i16, i16, i8 }
%struct.s2n_x509_validator = type { ptr, ptr, i8, i8, i16, ptr, i32, ptr, %struct.s2n_cert_validation_info, i8 }
%struct.s2n_cert_validation_info = type { i8, [3 x i8] }
%struct.s2n_ticket_fields = type { %struct.s2n_blob, i32 }
%struct.s2n_stuffer = type { %struct.s2n_blob, i32, i32, i32, i8 }
%struct.s2n_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_crypto_parameters = type { ptr, %struct.s2n_session_key, %struct.s2n_session_key, %struct.s2n_hmac_state, %struct.s2n_hmac_state, [16 x i8], [16 x i8], [8 x i8], [8 x i8] }
%struct.s2n_session_key = type { ptr }
%struct.s2n_hmac_state = type { i32, i16, i32, i16, i8, %struct.s2n_hash_state, %struct.s2n_hash_state, %struct.s2n_hash_state, %struct.s2n_hash_state, [128 x i8], [64 x i8] }
%struct.s2n_hash_state = type { ptr, i32, i8, i64, %union.anon.1 }
%union.anon.1 = type { %struct.s2n_hash_evp_digest }
%struct.s2n_hash_evp_digest = type { %struct.s2n_evp_digest, %struct.s2n_evp_digest }
%struct.s2n_evp_digest = type { ptr, ptr }
%struct.s2n_security_policy = type { i8, ptr, ptr, ptr, ptr, ptr, ptr, i8, [2 x i8] }
%struct.s2n_cipher_preferences = type { i16, ptr, i8 }
%struct.s2n_cipher_suite = type { i8, ptr, ptr, [2 x i8], ptr, i32, ptr, [2 x ptr], i8, ptr, ptr, i32, i8 }
%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.75 = external hidden unnamed_addr constant [95 x i8], align 1
@.str.76 = external hidden unnamed_addr constant [95 x i8], align 1
@.str.77 = external hidden unnamed_addr constant [95 x i8], align 1
@.str.78 = external hidden unnamed_addr constant [95 x i8], align 1
@.str.79 = external hidden unnamed_addr constant [95 x i8], align 1
@.str.80 = external hidden unnamed_addr constant [95 x i8], align 1
@.str.81 = external hidden unnamed_addr constant [95 x i8], align 1
@.str.82 = external hidden unnamed_addr constant [95 x i8], align 1
@.str.83 = external hidden unnamed_addr constant [95 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

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

11:                                               ; preds = %2
  %12 = load ptr, ptr %4, align 8, !tbaa !5
  %13 = icmp ne ptr %12, null
  br i1 %13, label %45, label %14

14:                                               ; preds = %11
  br label %15

15:                                               ; preds = %14
  br label %16

16:                                               ; preds = %15
  %17 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %18 = getelementptr inbounds %struct.s2n_debug_info, ptr %17, i32 0, i32 0
  store ptr @.str.75, ptr %18, align 8, !tbaa !9
  %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
  %21 = load ptr, ptr %20, align 8, !tbaa !9
  %22 = getelementptr inbounds i8, ptr %21, i64 21
  %23 = call ptr @strrchr(ptr noundef %22, i32 noundef 47) #5
  %24 = icmp ne ptr %23, null
  br i1 %24, label %25, label %32

25:                                               ; preds = %16
  %26 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %27 = getelementptr inbounds %struct.s2n_debug_info, ptr %26, i32 0, i32 0
  %28 = load ptr, ptr %27, align 8, !tbaa !9
  %29 = getelementptr inbounds i8, ptr %28, i64 21
  %30 = call ptr @strrchr(ptr noundef %29, i32 noundef 47) #5
  %31 = getelementptr inbounds i8, ptr %30, i64 1
  br label %37

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

37:                                               ; preds = %32, %25
  %38 = phi ptr [ %31, %25 ], [ %36, %32 ]
  %39 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %40 = getelementptr inbounds %struct.s2n_debug_info, ptr %39, i32 0, i32 1
  store ptr %38, ptr %40, align 8, !tbaa !11
  %41 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  store i32 402653193, ptr %41, align 4, !tbaa !12
  %42 = call i32 @s2n_calculate_stacktrace()
  br label %43

43:                                               ; preds = %37
  store i32 -1, ptr %3, align 4
  br label %472

44:                                               ; No predecessors!
  br label %45

45:                                               ; preds = %44, %11
  br label %46

46:                                               ; preds = %45
  br label %47

47:                                               ; preds = %46
  %48 = load ptr, ptr %4, align 8, !tbaa !5
  %49 = getelementptr inbounds %struct.s2n_connection, ptr %48, i32 0, i32 27
  %50 = load ptr, ptr %49, align 8, !tbaa !14
  %51 = icmp ne ptr %50, null
  br i1 %51, label %83, label %52

52:                                               ; preds = %47
  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.76, ptr %56, align 8, !tbaa !9
  %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 !9
  %60 = getelementptr inbounds i8, ptr %59, i64 21
  %61 = call ptr @strrchr(ptr noundef %60, i32 noundef 47) #5
  %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 !9
  %67 = getelementptr inbounds i8, ptr %66, i64 21
  %68 = call ptr @strrchr(ptr noundef %67, i32 noundef 47) #5
  %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 !9
  %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 !11
  %79 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  store i32 402653193, ptr %79, align 4, !tbaa !12
  %80 = call i32 @s2n_calculate_stacktrace()
  br label %81

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

82:                                               ; No predecessors!
  br label %83

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

84:                                               ; preds = %83
  br label %85

85:                                               ; preds = %84
  %86 = load ptr, ptr %4, align 8, !tbaa !5
  %87 = getelementptr inbounds %struct.s2n_connection, ptr %86, i32 0, i32 27
  %88 = load ptr, ptr %87, align 8, !tbaa !14
  %89 = getelementptr inbounds %struct.s2n_crypto_parameters, ptr %88, i32 0, i32 0
  %90 = load ptr, ptr %89, align 8, !tbaa !42
  %91 = icmp ne ptr %90, null
  br i1 %91, label %123, label %92

92:                                               ; preds = %85
  br label %93

93:                                               ; preds = %92
  br label %94

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

103:                                              ; preds = %94
  %104 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %105 = getelementptr inbounds %struct.s2n_debug_info, ptr %104, i32 0, i32 0
  %106 = load ptr, ptr %105, align 8, !tbaa !9
  %107 = getelementptr inbounds i8, ptr %106, i64 21
  %108 = call ptr @strrchr(ptr noundef %107, i32 noundef 47) #5
  %109 = getelementptr inbounds i8, ptr %108, i64 1
  br label %115

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

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

121:                                              ; preds = %115
  store i32 -1, ptr %3, align 4
  br label %472

122:                                              ; No predecessors!
  br label %123

123:                                              ; preds = %122, %85
  br label %124

124:                                              ; preds = %123
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #6
  store ptr null, ptr %6, align 8, !tbaa !5
  br label %125

125:                                              ; preds = %124
  %126 = load ptr, ptr %4, align 8, !tbaa !5
  %127 = call i32 @s2n_connection_get_security_policy(ptr noundef %126, ptr noundef %6)
  %128 = icmp sgt i32 %127, -1
  br i1 %128, label %130, label %129

129:                                              ; preds = %125
  store i32 -1, ptr %3, align 4
  store i32 1, ptr %7, align 4
  br label %471

130:                                              ; preds = %125
  br label %131

131:                                              ; preds = %130
  br label %132

132:                                              ; preds = %131
  br label %133

133:                                              ; preds = %132
  %134 = load ptr, ptr %6, align 8, !tbaa !5
  %135 = icmp ne ptr %134, null
  br i1 %135, label %169, label %136

136:                                              ; preds = %133
  br label %137

137:                                              ; preds = %136
  br label %138

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

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

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

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

165:                                              ; preds = %159
  br label %166

166:                                              ; preds = %165
  store i32 -1, ptr %3, align 4
  store i32 1, ptr %7, align 4
  br label %471

167:                                              ; No predecessors!
  br label %168

168:                                              ; preds = %167
  br label %169

169:                                              ; preds = %168, %133
  br label %170

170:                                              ; preds = %169
  br label %171

171:                                              ; preds = %170
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #6
  store ptr null, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #6
  store i64 0, ptr %9, align 8, !tbaa !47
  br label %172

172:                                              ; preds = %209, %171
  %173 = load i64, ptr %9, align 8, !tbaa !47
  %174 = load ptr, ptr %6, align 8, !tbaa !5
  %175 = getelementptr inbounds %struct.s2n_security_policy, ptr %174, i32 0, i32 1
  %176 = load ptr, ptr %175, align 8, !tbaa !48
  %177 = getelementptr inbounds %struct.s2n_cipher_preferences, ptr %176, i32 0, i32 0
  %178 = load i16, ptr %177, align 8, !tbaa !50
  %179 = zext i16 %178 to i64
  %180 = icmp ult i64 %173, %179
  br i1 %180, label %182, label %181

181:                                              ; preds = %172
  store i32 28, ptr %7, align 4
  br label %212

182:                                              ; preds = %172
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #6
  %183 = load ptr, ptr %6, align 8, !tbaa !5
  %184 = getelementptr inbounds %struct.s2n_security_policy, ptr %183, i32 0, i32 1
  %185 = load ptr, ptr %184, align 8, !tbaa !48
  %186 = getelementptr inbounds %struct.s2n_cipher_preferences, ptr %185, i32 0, i32 1
  %187 = load ptr, ptr %186, align 8, !tbaa !52
  %188 = load i64, ptr %9, align 8, !tbaa !47
  %189 = getelementptr inbounds ptr, ptr %187, i64 %188
  %190 = load ptr, ptr %189, align 8, !tbaa !5
  %191 = getelementptr inbounds %struct.s2n_cipher_suite, ptr %190, i32 0, i32 3
  %192 = getelementptr inbounds [2 x i8], ptr %191, i64 0, i64 0
  store ptr %192, ptr %10, align 8, !tbaa !5
  %193 = load ptr, ptr %5, align 8, !tbaa !5
  %194 = load ptr, ptr %10, align 8, !tbaa !5
  %195 = call zeroext i1 @s2n_constant_time_equals(ptr noundef %193, ptr noundef %194, i32 noundef 2)
  br i1 %195, label %196, label %205

196:                                              ; preds = %182
  %197 = load ptr, ptr %6, align 8, !tbaa !5
  %198 = getelementptr inbounds %struct.s2n_security_policy, ptr %197, i32 0, i32 1
  %199 = load ptr, ptr %198, align 8, !tbaa !48
  %200 = getelementptr inbounds %struct.s2n_cipher_preferences, ptr %199, i32 0, i32 1
  %201 = load ptr, ptr %200, align 8, !tbaa !52
  %202 = load i64, ptr %9, align 8, !tbaa !47
  %203 = getelementptr inbounds ptr, ptr %201, i64 %202
  %204 = load ptr, ptr %203, align 8, !tbaa !5
  store ptr %204, ptr %8, align 8, !tbaa !5
  store i32 28, ptr %7, align 4
  br label %206

205:                                              ; preds = %182
  store i32 0, ptr %7, align 4
  br label %206

206:                                              ; preds = %205, %196
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #6
  %207 = load i32, ptr %7, align 4
  switch i32 %207, label %212 [
    i32 0, label %208
  ]

208:                                              ; preds = %206
  br label %209

209:                                              ; preds = %208
  %210 = load i64, ptr %9, align 8, !tbaa !47
  %211 = add i64 %210, 1
  store i64 %211, ptr %9, align 8, !tbaa !47
  br label %172, !llvm.loop !53

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

213:                                              ; preds = %212
  br label %214

214:                                              ; preds = %213
  %215 = load ptr, ptr %8, align 8, !tbaa !5
  %216 = icmp ne ptr %215, null
  br i1 %216, label %250, label %217

217:                                              ; preds = %214
  br label %218

218:                                              ; preds = %217
  br label %219

219:                                              ; preds = %218
  %220 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %221 = getelementptr inbounds %struct.s2n_debug_info, ptr %220, i32 0, i32 0
  store ptr @.str.79, ptr %221, align 8, !tbaa !9
  %222 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %223 = getelementptr inbounds %struct.s2n_debug_info, ptr %222, i32 0, i32 0
  %224 = load ptr, ptr %223, align 8, !tbaa !9
  %225 = getelementptr inbounds i8, ptr %224, i64 21
  %226 = call ptr @strrchr(ptr noundef %225, i32 noundef 47) #5
  %227 = icmp ne ptr %226, null
  br i1 %227, label %228, label %235

228:                                              ; preds = %219
  %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 !9
  %232 = getelementptr inbounds i8, ptr %231, i64 21
  %233 = call ptr @strrchr(ptr noundef %232, i32 noundef 47) #5
  %234 = getelementptr inbounds i8, ptr %233, i64 1
  br label %240

235:                                              ; preds = %219
  %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 !9
  %239 = getelementptr inbounds i8, ptr %238, i64 21
  br label %240

240:                                              ; preds = %235, %228
  %241 = phi ptr [ %234, %228 ], [ %239, %235 ]
  %242 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %243 = getelementptr inbounds %struct.s2n_debug_info, ptr %242, i32 0, i32 1
  store ptr %241, ptr %243, align 8, !tbaa !11
  %244 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  store i32 335544334, ptr %244, align 4, !tbaa !12
  %245 = call i32 @s2n_calculate_stacktrace()
  br label %246

246:                                              ; preds = %240
  br label %247

247:                                              ; preds = %246
  store i32 -1, ptr %3, align 4
  store i32 1, ptr %7, align 4
  br label %470

248:                                              ; No predecessors!
  br label %249

249:                                              ; preds = %248
  br label %250

250:                                              ; preds = %249, %214
  br label %251

251:                                              ; preds = %250
  br label %252

252:                                              ; preds = %251
  br label %253

253:                                              ; preds = %252
  %254 = load ptr, ptr %8, align 8, !tbaa !5
  %255 = load i8, ptr %254, align 8
  %256 = and i8 %255, 1
  %257 = zext i8 %256 to i32
  %258 = icmp ne i32 %257, 0
  br i1 %258, label %292, label %259

259:                                              ; preds = %253
  br label %260

260:                                              ; preds = %259
  br label %261

261:                                              ; preds = %260
  %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
  store ptr @.str.80, ptr %263, align 8, !tbaa !9
  %264 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %265 = getelementptr inbounds %struct.s2n_debug_info, ptr %264, i32 0, i32 0
  %266 = load ptr, ptr %265, align 8, !tbaa !9
  %267 = getelementptr inbounds i8, ptr %266, i64 21
  %268 = call ptr @strrchr(ptr noundef %267, i32 noundef 47) #5
  %269 = icmp ne ptr %268, null
  br i1 %269, label %270, label %277

270:                                              ; preds = %261
  %271 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %272 = getelementptr inbounds %struct.s2n_debug_info, ptr %271, i32 0, i32 0
  %273 = load ptr, ptr %272, align 8, !tbaa !9
  %274 = getelementptr inbounds i8, ptr %273, i64 21
  %275 = call ptr @strrchr(ptr noundef %274, i32 noundef 47) #5
  %276 = getelementptr inbounds i8, ptr %275, i64 1
  br label %282

277:                                              ; preds = %261
  %278 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %279 = getelementptr inbounds %struct.s2n_debug_info, ptr %278, i32 0, i32 0
  %280 = load ptr, ptr %279, align 8, !tbaa !9
  %281 = getelementptr inbounds i8, ptr %280, i64 21
  br label %282

282:                                              ; preds = %277, %270
  %283 = phi ptr [ %276, %270 ], [ %281, %277 ]
  %284 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %285 = getelementptr inbounds %struct.s2n_debug_info, ptr %284, i32 0, i32 1
  store ptr %283, ptr %285, align 8, !tbaa !11
  %286 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  store i32 335544334, ptr %286, align 4, !tbaa !12
  %287 = call i32 @s2n_calculate_stacktrace()
  br label %288

288:                                              ; preds = %282
  br label %289

289:                                              ; preds = %288
  store i32 -1, ptr %3, align 4
  store i32 1, ptr %7, align 4
  br label %470

290:                                              ; No predecessors!
  br label %291

291:                                              ; preds = %290
  br label %292

292:                                              ; preds = %291, %253
  br label %293

293:                                              ; preds = %292
  br label %294

294:                                              ; preds = %293
  %295 = load ptr, ptr %4, align 8, !tbaa !5
  %296 = getelementptr inbounds %struct.s2n_connection, ptr %295, i32 0, i32 33
  %297 = getelementptr inbounds %struct.s2n_psk_parameters, ptr %296, i32 0, i32 4
  %298 = load ptr, ptr %297, align 8, !tbaa !55
  %299 = icmp ne ptr %298, null
  br i1 %299, label %300, label %348

300:                                              ; preds = %294
  br label %301

301:                                              ; preds = %300
  %302 = load ptr, ptr %8, align 8, !tbaa !5
  %303 = getelementptr inbounds %struct.s2n_cipher_suite, ptr %302, i32 0, i32 11
  %304 = load i32, ptr %303, align 8, !tbaa !56
  %305 = load ptr, ptr %4, align 8, !tbaa !5
  %306 = getelementptr inbounds %struct.s2n_connection, ptr %305, i32 0, i32 33
  %307 = getelementptr inbounds %struct.s2n_psk_parameters, ptr %306, i32 0, i32 4
  %308 = load ptr, ptr %307, align 8, !tbaa !55
  %309 = getelementptr inbounds %struct.s2n_psk, ptr %308, i32 0, i32 3
  %310 = load i32, ptr %309, align 8, !tbaa !58
  %311 = icmp eq i32 %304, %310
  br i1 %311, label %345, label %312

312:                                              ; preds = %301
  br label %313

313:                                              ; preds = %312
  br label %314

314:                                              ; preds = %313
  %315 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %316 = getelementptr inbounds %struct.s2n_debug_info, ptr %315, i32 0, i32 0
  store ptr @.str.81, ptr %316, align 8, !tbaa !9
  %317 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %318 = getelementptr inbounds %struct.s2n_debug_info, ptr %317, i32 0, i32 0
  %319 = load ptr, ptr %318, align 8, !tbaa !9
  %320 = getelementptr inbounds i8, ptr %319, i64 21
  %321 = call ptr @strrchr(ptr noundef %320, i32 noundef 47) #5
  %322 = icmp ne ptr %321, null
  br i1 %322, label %323, label %330

323:                                              ; preds = %314
  %324 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %325 = getelementptr inbounds %struct.s2n_debug_info, ptr %324, i32 0, i32 0
  %326 = load ptr, ptr %325, align 8, !tbaa !9
  %327 = getelementptr inbounds i8, ptr %326, i64 21
  %328 = call ptr @strrchr(ptr noundef %327, i32 noundef 47) #5
  %329 = getelementptr inbounds i8, ptr %328, i64 1
  br label %335

330:                                              ; preds = %314
  %331 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %332 = getelementptr inbounds %struct.s2n_debug_info, ptr %331, i32 0, i32 0
  %333 = load ptr, ptr %332, align 8, !tbaa !9
  %334 = getelementptr inbounds i8, ptr %333, i64 21
  br label %335

335:                                              ; preds = %330, %323
  %336 = phi ptr [ %329, %323 ], [ %334, %330 ]
  %337 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %338 = getelementptr inbounds %struct.s2n_debug_info, ptr %337, i32 0, i32 1
  store ptr %336, ptr %338, align 8, !tbaa !11
  %339 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  store i32 335544334, ptr %339, align 4, !tbaa !12
  %340 = call i32 @s2n_calculate_stacktrace()
  br label %341

341:                                              ; preds = %335
  br label %342

342:                                              ; preds = %341
  store i32 -1, ptr %3, align 4
  store i32 1, ptr %7, align 4
  br label %470

343:                                              ; No predecessors!
  br label %344

344:                                              ; preds = %343
  br label %345

345:                                              ; preds = %344, %301
  br label %346

346:                                              ; preds = %345
  br label %347

347:                                              ; preds = %346
  br label %348

348:                                              ; preds = %347, %294
  %349 = load ptr, ptr %4, align 8, !tbaa !5
  %350 = call zeroext i1 @s2n_is_hello_retry_handshake(ptr noundef %349)
  br i1 %350, label %351, label %403

351:                                              ; preds = %348
  %352 = load ptr, ptr %4, align 8, !tbaa !5
  %353 = call zeroext i1 @s2n_is_hello_retry_message(ptr noundef %352)
  br i1 %353, label %403, label %354

354:                                              ; preds = %351
  br label %355

355:                                              ; preds = %354
  %356 = load ptr, ptr %4, align 8, !tbaa !5
  %357 = getelementptr inbounds %struct.s2n_connection, ptr %356, i32 0, i32 27
  %358 = load ptr, ptr %357, align 8, !tbaa !14
  %359 = getelementptr inbounds %struct.s2n_crypto_parameters, ptr %358, i32 0, i32 0
  %360 = load ptr, ptr %359, align 8, !tbaa !42
  %361 = getelementptr inbounds %struct.s2n_cipher_suite, ptr %360, i32 0, i32 3
  %362 = getelementptr inbounds [2 x i8], ptr %361, i64 0, i64 0
  %363 = load ptr, ptr %8, align 8, !tbaa !5
  %364 = getelementptr inbounds %struct.s2n_cipher_suite, ptr %363, i32 0, i32 3
  %365 = getelementptr inbounds [2 x i8], ptr %364, i64 0, i64 0
  %366 = icmp eq ptr %362, %365
  br i1 %366, label %400, label %367

367:                                              ; preds = %355
  br label %368

368:                                              ; preds = %367
  br label %369

369:                                              ; preds = %368
  %370 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %371 = getelementptr inbounds %struct.s2n_debug_info, ptr %370, i32 0, i32 0
  store ptr @.str.82, ptr %371, align 8, !tbaa !9
  %372 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %373 = getelementptr inbounds %struct.s2n_debug_info, ptr %372, i32 0, i32 0
  %374 = load ptr, ptr %373, align 8, !tbaa !9
  %375 = getelementptr inbounds i8, ptr %374, i64 21
  %376 = call ptr @strrchr(ptr noundef %375, i32 noundef 47) #5
  %377 = icmp ne ptr %376, null
  br i1 %377, label %378, label %385

378:                                              ; preds = %369
  %379 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %380 = getelementptr inbounds %struct.s2n_debug_info, ptr %379, i32 0, i32 0
  %381 = load ptr, ptr %380, align 8, !tbaa !9
  %382 = getelementptr inbounds i8, ptr %381, i64 21
  %383 = call ptr @strrchr(ptr noundef %382, i32 noundef 47) #5
  %384 = getelementptr inbounds i8, ptr %383, i64 1
  br label %390

385:                                              ; preds = %369
  %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 0
  %388 = load ptr, ptr %387, align 8, !tbaa !9
  %389 = getelementptr inbounds i8, ptr %388, i64 21
  br label %390

390:                                              ; preds = %385, %378
  %391 = phi ptr [ %384, %378 ], [ %389, %385 ]
  %392 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %393 = getelementptr inbounds %struct.s2n_debug_info, ptr %392, i32 0, i32 1
  store ptr %391, ptr %393, align 8, !tbaa !11
  %394 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  store i32 335544334, ptr %394, align 4, !tbaa !12
  %395 = call i32 @s2n_calculate_stacktrace()
  br label %396

396:                                              ; preds = %390
  br label %397

397:                                              ; preds = %396
  store i32 -1, ptr %3, align 4
  store i32 1, ptr %7, align 4
  br label %470

398:                                              ; No predecessors!
  br label %399

399:                                              ; preds = %398
  br label %400

400:                                              ; preds = %399, %355
  br label %401

401:                                              ; preds = %400
  br label %402

402:                                              ; preds = %401
  store i32 0, ptr %3, align 4
  store i32 1, ptr %7, align 4
  br label %470

403:                                              ; preds = %351, %348
  %404 = load ptr, ptr %8, align 8, !tbaa !5
  %405 = load ptr, ptr %4, align 8, !tbaa !5
  %406 = getelementptr inbounds %struct.s2n_connection, ptr %405, i32 0, i32 27
  %407 = load ptr, ptr %406, align 8, !tbaa !14
  %408 = getelementptr inbounds %struct.s2n_crypto_parameters, ptr %407, i32 0, i32 0
  store ptr %404, ptr %408, align 8, !tbaa !42
  %409 = load ptr, ptr %4, align 8, !tbaa !5
  %410 = getelementptr inbounds %struct.s2n_connection, ptr %409, i32 0, i32 23
  %411 = load i8, ptr %410, align 4, !tbaa !61
  %412 = zext i8 %411 to i32
  %413 = icmp eq i32 %412, 30
  br i1 %413, label %414, label %469

414:                                              ; preds = %403
  %415 = load ptr, ptr %4, align 8, !tbaa !5
  %416 = getelementptr inbounds %struct.s2n_connection, ptr %415, i32 0, i32 27
  %417 = load ptr, ptr %416, align 8, !tbaa !14
  %418 = getelementptr inbounds %struct.s2n_crypto_parameters, ptr %417, i32 0, i32 0
  %419 = load ptr, ptr %418, align 8, !tbaa !42
  %420 = getelementptr inbounds %struct.s2n_cipher_suite, ptr %419, i32 0, i32 10
  %421 = load ptr, ptr %420, align 8, !tbaa !62
  %422 = load ptr, ptr %4, align 8, !tbaa !5
  %423 = getelementptr inbounds %struct.s2n_connection, ptr %422, i32 0, i32 27
  %424 = load ptr, ptr %423, align 8, !tbaa !14
  %425 = getelementptr inbounds %struct.s2n_crypto_parameters, ptr %424, i32 0, i32 0
  store ptr %421, ptr %425, align 8, !tbaa !42
  br label %426

426:                                              ; preds = %414
  %427 = load ptr, ptr %4, align 8, !tbaa !5
  %428 = getelementptr inbounds %struct.s2n_connection, ptr %427, i32 0, i32 27
  %429 = load ptr, ptr %428, align 8, !tbaa !14
  %430 = getelementptr inbounds %struct.s2n_crypto_parameters, ptr %429, i32 0, i32 0
  %431 = load ptr, ptr %430, align 8, !tbaa !42
  %432 = icmp ne ptr %431, null
  br i1 %432, label %466, label %433

433:                                              ; preds = %426
  br label %434

434:                                              ; preds = %433
  br label %435

435:                                              ; preds = %434
  %436 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %437 = getelementptr inbounds %struct.s2n_debug_info, ptr %436, i32 0, i32 0
  store ptr @.str.83, ptr %437, align 8, !tbaa !9
  %438 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %439 = getelementptr inbounds %struct.s2n_debug_info, ptr %438, i32 0, i32 0
  %440 = load ptr, ptr %439, align 8, !tbaa !9
  %441 = getelementptr inbounds i8, ptr %440, i64 21
  %442 = call ptr @strrchr(ptr noundef %441, i32 noundef 47) #5
  %443 = icmp ne ptr %442, null
  br i1 %443, label %444, label %451

444:                                              ; preds = %435
  %445 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %446 = getelementptr inbounds %struct.s2n_debug_info, ptr %445, i32 0, i32 0
  %447 = load ptr, ptr %446, align 8, !tbaa !9
  %448 = getelementptr inbounds i8, ptr %447, i64 21
  %449 = call ptr @strrchr(ptr noundef %448, i32 noundef 47) #5
  %450 = getelementptr inbounds i8, ptr %449, i64 1
  br label %456

451:                                              ; preds = %435
  %452 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %453 = getelementptr inbounds %struct.s2n_debug_info, ptr %452, i32 0, i32 0
  %454 = load ptr, ptr %453, align 8, !tbaa !9
  %455 = getelementptr inbounds i8, ptr %454, i64 21
  br label %456

456:                                              ; preds = %451, %444
  %457 = phi ptr [ %450, %444 ], [ %455, %451 ]
  %458 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %459 = getelementptr inbounds %struct.s2n_debug_info, ptr %458, i32 0, i32 1
  store ptr %457, ptr %459, align 8, !tbaa !11
  %460 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  store i32 402653193, ptr %460, align 4, !tbaa !12
  %461 = call i32 @s2n_calculate_stacktrace()
  br label %462

462:                                              ; preds = %456
  br label %463

463:                                              ; preds = %462
  store i32 -1, ptr %3, align 4
  store i32 1, ptr %7, align 4
  br label %470

464:                                              ; No predecessors!
  br label %465

465:                                              ; preds = %464
  br label %466

466:                                              ; preds = %465, %426
  br label %467

467:                                              ; preds = %466
  br label %468

468:                                              ; preds = %467
  br label %469

469:                                              ; preds = %468, %403
  store i32 0, ptr %3, align 4
  store i32 1, ptr %7, align 4
  br label %470

470:                                              ; preds = %469, %463, %402, %397, %342, %289, %247
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #6
  br label %471

471:                                              ; preds = %470, %166, %129
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #6
  br label %472

472:                                              ; preds = %471, %121, %81, %43
  %473 = load i32, ptr %3, align 4
  ret i32 %473
}

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

declare zeroext i1 @s2n_constant_time_equals(ptr noundef, ptr noundef, i32 noundef) #2

declare zeroext i1 @s2n_is_hello_retry_handshake(ptr noundef) #2

declare zeroext i1 @s2n_is_hello_retry_message(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, !6, i64 0}
!10 = !{!"s2n_debug_info", !6, i64 0, !6, i64 8}
!11 = !{!10, !6, i64 8}
!12 = !{!13, !13, i64 0}
!13 = !{!"int", !7, i64 0}
!14 = !{!15, !6, i64 232}
!15 = !{!"s2n_connection", !13, i64 0, !13, i64 0, !13, i64 0, !13, i64 0, !13, i64 0, !13, i64 0, !13, i64 0, !13, i64 0, !13, i64 1, !13, i64 1, !13, i64 1, !13, i64 1, !13, i64 1, !13, i64 1, !13, i64 1, !13, i64 1, !13, i64 2, !13, i64 2, !13, i64 2, !13, i64 2, !13, i64 2, !13, i64 2, !13, i64 2, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !7, i64 80, !7, i64 102, !7, i64 124, !13, i64 148, !13, i64 152, !16, i64 160, !17, i64 168, !17, i64 176, !7, i64 184, !7, i64 216, !7, i64 217, !7, i64 218, !7, i64 219, !7, i64 220, !7, i64 221, !7, i64 222, !6, i64 224, !6, i64 232, !18, i64 240, !6, i64 632, !6, i64 640, !19, i64 648, !26, i64 1144, !29, i64 1688, !6, i64 1752, !7, i64 1760, !13, i64 1764, !7, i64 1768, !32, i64 1776, !32, i64 1816, !32, i64 1856, !32, i64 1896, !13, i64 1936, !17, i64 1944, !7, i64 1952, !32, i64 1960, !7, i64 2000, !7, i64 2001, !7, i64 2002, !25, i64 2003, !33, i64 2004, !33, i64 2008, !34, i64 2016, !31, i64 2208, !13, i64 2212, !31, i64 2216, !17, i64 2224, !7, i64 2232, !17, i64 2240, !17, i64 2248, !17, i64 2256, !33, i64 2264, !33, i64 2268, !7, i64 2272, !7, i64 2528, !13, i64 2784, !24, i64 2792, !13, i64 2816, !24, i64 2824, !24, i64 2848, !24, i64 2872, !36, i64 2896, !38, i64 3704, !6, i64 3760, !6, i64 3768, !7, i64 3776, !13, i64 3780, !24, i64 3784, !13, i64 3808, !40, i64 3816, !7, i64 3848, !32, i64 3992, !24, i64 4032, !24, i64 4056, !25, i64 4080, !25, i64 4081, !25, i64 4082, !31, i64 4084, !31, i64 4086, !13, i64 4088, !13, i64 4092, !24, i64 4096, !13, i64 4120, !41, i64 4128, !33, i64 4176, !7, i64 4180, !7, i64 4181}
!16 = !{!"s2n_timer", !17, i64 0}
!17 = !{!"long", !7, i64 0}
!18 = !{!"s2n_secrets", !7, i64 0, !13, i64 388}
!19 = !{!"s2n_kex_parameters", !20, i64 0, !21, i64 8, !7, i64 24, !21, i64 56, !22, i64 72, !22, i64 184, !7, i64 296, !23, i64 360, !24, i64 448, !24, i64 472}
!20 = !{!"s2n_dh_params", !6, i64 0}
!21 = !{!"s2n_ecc_evp_params", !6, i64 0, !6, i64 8}
!22 = !{!"s2n_kem_group_params", !6, i64 0, !23, i64 8, !21, i64 96}
!23 = !{!"s2n_kem_params", !6, i64 0, !24, i64 8, !24, i64 32, !24, i64 56, !25, i64 80}
!24 = !{!"s2n_blob", !6, i64 0, !13, i64 8, !13, i64 12, !13, i64 16}
!25 = !{!"_Bool", !7, i64 0}
!26 = !{!"s2n_handshake_parameters", !27, i64 0, !27, i64 48, !24, i64 96, !13, i64 120, !28, i64 124, !6, i64 384, !6, i64 392, !6, i64 400, !7, i64 408, !7, i64 440, !7, i64 472, !7, i64 473, !7, i64 474, !7, i64 506}
!27 = !{!"s2n_pkey", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40}
!28 = !{!"s2n_sig_scheme_list", !7, i64 0, !7, i64 256}
!29 = !{!"s2n_psk_parameters", !13, i64 0, !30, i64 8, !31, i64 40, !31, i64 42, !6, i64 48, !13, i64 56}
!30 = !{!"s2n_array", !24, i64 0, !13, i64 24, !13, i64 28}
!31 = !{!"short", !7, i64 0}
!32 = !{!"s2n_stuffer", !24, i64 0, !13, i64 24, !13, i64 28, !13, i64 32, !13, i64 36, !13, i64 36, !13, i64 36}
!33 = !{!"", !13, i64 0}
!34 = !{!"s2n_handshake", !32, i64 0, !6, i64 40, !7, i64 48, !7, i64 56, !7, i64 104, !7, i64 152, !13, i64 156, !13, i64 160, !13, i64 164, !13, i64 168, !35, i64 176, !13, i64 184, !13, i64 184, !13, i64 184, !13, i64 184, !13, i64 188}
!35 = !{!"s2n_offered_early_data", !6, i64 0}
!36 = !{!"s2n_client_hello", !24, i64 0, !37, i64 24, !24, i64 728, !24, i64 752, !24, i64 776, !7, i64 800, !7, i64 801, !13, i64 802, !13, i64 802, !13, i64 802, !13, i64 802, !13, i64 802, !13, i64 802, !13, i64 802}
!37 = !{!"", !7, i64 0, !24, i64 672, !31, i64 696}
!38 = !{!"s2n_x509_validator", !6, i64 0, !6, i64 8, !7, i64 16, !7, i64 17, !31, i64 18, !6, i64 24, !13, i64 32, !6, i64 40, !39, i64 48, !25, i64 52}
!39 = !{!"s2n_cert_validation_info", !13, i64 0, !13, i64 0}
!40 = !{!"s2n_ticket_fields", !24, i64 0, !13, i64 24}
!41 = !{!"s2n_post_handshake", !32, i64 0, !7, i64 40}
!42 = !{!43, !6, i64 0}
!43 = !{!"s2n_crypto_parameters", !6, i64 0, !44, i64 8, !44, i64 16, !45, i64 24, !45, i64 456, !7, i64 888, !7, i64 904, !7, i64 920, !7, i64 928}
!44 = !{!"s2n_session_key", !6, i64 0}
!45 = !{!"s2n_hmac_state", !13, i64 0, !31, i64 4, !13, i64 8, !31, i64 12, !7, i64 14, !46, i64 16, !46, i64 72, !46, i64 128, !46, i64 184, !7, i64 240, !7, i64 368}
!46 = !{!"s2n_hash_state", !6, i64 0, !13, i64 8, !7, i64 12, !17, i64 16, !7, i64 24}
!47 = !{!17, !17, i64 0}
!48 = !{!49, !6, i64 8}
!49 = !{!"s2n_security_policy", !7, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !25, i64 56, !7, i64 57}
!50 = !{!51, !31, i64 0}
!51 = !{!"s2n_cipher_preferences", !31, i64 0, !6, i64 8, !25, i64 16}
!52 = !{!51, !6, i64 8}
!53 = distinct !{!53, !54}
!54 = !{!"llvm.loop.mustprogress"}
!55 = !{!15, !6, i64 1736}
!56 = !{!57, !13, i64 96}
!57 = !{!"s2n_cipher_suite", !13, i64 0, !6, i64 8, !6, i64 16, !7, i64 24, !6, i64 32, !13, i64 40, !6, i64 48, !7, i64 56, !7, i64 72, !6, i64 80, !6, i64 88, !13, i64 96, !7, i64 100}
!58 = !{!59, !13, i64 56}
!59 = !{!"s2n_psk", !13, i64 0, !24, i64 8, !24, i64 32, !13, i64 56, !13, i64 60, !17, i64 64, !24, i64 72, !60, i64 96, !17, i64 160}
!60 = !{!"s2n_early_data_config", !13, i64 0, !7, i64 4, !6, i64 8, !24, i64 16, !24, i64 40}
!61 = !{!15, !7, i64 220}
!62 = !{!57, !6, i64 88}


; 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.75 = external hidden unnamed_addr constant [95 x i8], align 1
@.str.76 = external hidden unnamed_addr constant [95 x i8], align 1
@.str.77 = external hidden unnamed_addr constant [95 x i8], align 1
@.str.78 = external hidden unnamed_addr constant [95 x i8], align 1
@.str.79 = external hidden unnamed_addr constant [95 x i8], align 1
@.str.80 = external hidden unnamed_addr constant [95 x i8], align 1
@.str.81 = external hidden unnamed_addr constant [95 x i8], align 1
@.str.82 = external hidden unnamed_addr constant [95 x i8], align 1
@.str.83 = external hidden unnamed_addr constant [95 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

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

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

12:                                               ; preds = %2
  %13 = getelementptr inbounds i8, ptr %0, i64 232
  %14 = load ptr, ptr %13, align 8, !tbaa !13
  %.not44 = icmp eq ptr %14, null
  br i1 %.not44, label %15, label %23

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

23:                                               ; preds = %12
  %24 = load ptr, ptr %14, align 8, !tbaa !41
  %.not46 = icmp eq ptr %24, null
  br i1 %.not46, label %25, label %33

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

33:                                               ; preds = %23
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #6
  store ptr null, ptr %3, align 8, !tbaa !46
  %34 = call i32 @s2n_connection_get_security_policy(ptr noundef nonnull %0, ptr noundef nonnull %3) #6
  %35 = icmp sgt i32 %34, -1
  br i1 %35, label %36, label %98

36:                                               ; preds = %33
  %37 = load ptr, ptr %3, align 8, !tbaa !46
  %.not48 = icmp eq ptr %37, null
  br i1 %.not48, label %.sink.split, label %.preheader

.preheader:                                       ; preds = %36
  %38 = getelementptr inbounds i8, ptr %37, i64 8
  %39 = load ptr, ptr %38, align 8, !tbaa !47
  %40 = load i16, ptr %39, align 8, !tbaa !49
  %.not62 = icmp eq i16 %40, 0
  br i1 %.not62, label %.sink.split, label %.lr.ph

.lr.ph:                                           ; preds = %.preheader, %48
  %41 = phi ptr [ %52, %48 ], [ %39, %.preheader ]
  %.02661 = phi i64 [ %49, %48 ], [ 0, %.preheader ]
  %42 = getelementptr inbounds i8, ptr %41, i64 8
  %43 = load ptr, ptr %42, align 8, !tbaa !51
  %44 = getelementptr inbounds ptr, ptr %43, i64 %.02661
  %45 = load ptr, ptr %44, align 8, !tbaa !46
  %46 = getelementptr inbounds i8, ptr %45, i64 24
  %47 = call zeroext i1 @s2n_constant_time_equals(ptr noundef %1, ptr noundef nonnull %46, i32 noundef 2) #6
  br i1 %47, label %.loopexit, label %48

48:                                               ; preds = %.lr.ph
  %49 = add nuw nsw i64 %.02661, 1
  %50 = load ptr, ptr %3, align 8, !tbaa !46
  %51 = getelementptr inbounds i8, ptr %50, i64 8
  %52 = load ptr, ptr %51, align 8, !tbaa !47
  %53 = load i16, ptr %52, align 8, !tbaa !49
  %54 = zext i16 %53 to i64
  %55 = icmp ult i64 %49, %54
  br i1 %55, label %.lr.ph, label %.sink.split, !llvm.loop !52

.loopexit:                                        ; preds = %.lr.ph
  %56 = load ptr, ptr %3, align 8, !tbaa !46
  %57 = getelementptr inbounds i8, ptr %56, i64 8
  %58 = load ptr, ptr %57, align 8, !tbaa !47
  %59 = getelementptr inbounds i8, ptr %58, i64 8
  %60 = load ptr, ptr %59, align 8, !tbaa !51
  %61 = getelementptr inbounds ptr, ptr %60, i64 %.02661
  %62 = load ptr, ptr %61, align 8, !tbaa !46
  %.not50 = icmp eq ptr %62, null
  br i1 %.not50, label %.sink.split, label %63

63:                                               ; preds = %.loopexit
  %64 = load i8, ptr %62, align 8
  %65 = and i8 %64, 1
  %.not52 = icmp eq i8 %65, 0
  br i1 %.not52, label %.sink.split, label %66

66:                                               ; preds = %63
  %67 = getelementptr inbounds i8, ptr %0, i64 1736
  %68 = load ptr, ptr %67, align 8, !tbaa !54
  %.not54 = icmp eq ptr %68, null
  br i1 %.not54, label %75, label %69

69:                                               ; preds = %66
  %70 = getelementptr inbounds i8, ptr %62, i64 96
  %71 = load i32, ptr %70, align 8, !tbaa !55
  %72 = getelementptr inbounds i8, ptr %68, i64 56
  %73 = load i32, ptr %72, align 8, !tbaa !57
  %74 = icmp eq i32 %71, %73
  br i1 %74, label %75, label %.sink.split

75:                                               ; preds = %69, %66
  %76 = call zeroext i1 @s2n_is_hello_retry_handshake(ptr noundef nonnull %0) #6
  br i1 %76, label %77, label %83

77:                                               ; preds = %75
  %78 = call zeroext i1 @s2n_is_hello_retry_message(ptr noundef nonnull %0) #6
  br i1 %78, label %83, label %79

79:                                               ; preds = %77
  %80 = load ptr, ptr %13, align 8, !tbaa !13
  %81 = load ptr, ptr %80, align 8, !tbaa !41
  %82 = icmp eq ptr %81, %62
  br i1 %82, label %98, label %.sink.split

83:                                               ; preds = %77, %75
  %84 = load ptr, ptr %13, align 8, !tbaa !13
  store ptr %62, ptr %84, align 8, !tbaa !41
  %85 = getelementptr inbounds i8, ptr %0, i64 220
  %86 = load i8, ptr %85, align 4, !tbaa !60
  %87 = icmp eq i8 %86, 30
  br i1 %87, label %88, label %98

88:                                               ; preds = %83
  %89 = getelementptr inbounds i8, ptr %62, i64 88
  %90 = load ptr, ptr %89, align 8, !tbaa !61
  store ptr %90, ptr %84, align 8, !tbaa !41
  %.not57 = icmp eq ptr %90, null
  br i1 %.not57, label %.sink.split, label %98

.sink.split:                                      ; preds = %48, %88, %79, %69, %63, %.loopexit, %.preheader, %36
  %.str.79.sink = phi ptr [ @.str.78, %36 ], [ @.str.79, %.preheader ], [ @.str.79, %.loopexit ], [ @.str.80, %63 ], [ @.str.81, %69 ], [ @.str.82, %79 ], [ @.str.83, %88 ], [ @.str.79, %48 ]
  %.sink75 = phi ptr [ getelementptr inbounds (i8, ptr @.str.78, i64 21), %36 ], [ getelementptr inbounds (i8, ptr @.str.79, i64 21), %.preheader ], [ getelementptr inbounds (i8, ptr @.str.79, i64 21), %.loopexit ], [ getelementptr inbounds (i8, ptr @.str.80, i64 21), %63 ], [ getelementptr inbounds (i8, ptr @.str.81, i64 21), %69 ], [ getelementptr inbounds (i8, ptr @.str.82, i64 21), %79 ], [ getelementptr inbounds (i8, ptr @.str.83, i64 21), %88 ], [ getelementptr inbounds (i8, ptr @.str.79, i64 21), %48 ]
  %.sink = phi i32 [ 402653193, %36 ], [ 335544334, %.preheader ], [ 335544334, %.loopexit ], [ 335544334, %63 ], [ 335544334, %69 ], [ 335544334, %79 ], [ 402653193, %88 ], [ 335544334, %48 ]
  %91 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  store ptr %.str.79.sink, ptr %91, align 8, !tbaa !5
  %92 = call ptr @strrchr(ptr noundef nonnull dereferenceable(1) %.sink75, i32 noundef 47) #5
  %.not51 = icmp eq ptr %92, null
  %93 = getelementptr inbounds i8, ptr %92, i64 1
  %94 = select i1 %.not51, ptr %.sink75, ptr %93
  %95 = getelementptr inbounds i8, ptr %91, i64 8
  store ptr %94, ptr %95, align 8, !tbaa !10
  %96 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  store i32 %.sink, ptr %96, align 4, !tbaa !11
  %97 = call i32 @s2n_calculate_stacktrace() #6
  br label %98

98:                                               ; preds = %.sink.split, %79, %88, %83, %33
  %.1 = phi i32 [ -1, %33 ], [ 0, %79 ], [ 0, %88 ], [ 0, %83 ], [ -1, %.sink.split ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #6
  br label %99

99:                                               ; preds = %98, %25, %15, %4
  %.2 = phi i32 [ %.1, %98 ], [ -1, %25 ], [ -1, %15 ], [ -1, %4 ]
  ret i32 %.2
}

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

declare zeroext i1 @s2n_constant_time_equals(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"s2n_debug_info", !7, i64 0, !7, i64 8}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!6, !7, i64 8}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !8, i64 0}
!13 = !{!14, !7, i64 232}
!14 = !{!"s2n_connection", !12, i64 0, !12, i64 0, !12, i64 0, !12, i64 0, !12, i64 0, !12, i64 0, !12, i64 0, !12, i64 0, !12, i64 1, !12, i64 1, !12, i64 1, !12, i64 1, !12, i64 1, !12, i64 1, !12, i64 1, !12, i64 1, !12, i64 2, !12, i64 2, !12, i64 2, !12, i64 2, !12, i64 2, !12, i64 2, !12, i64 2, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !7, i64 40, !7, i64 48, !7, i64 56, !7, i64 64, !7, i64 72, !8, i64 80, !8, i64 102, !8, i64 124, !12, i64 148, !12, i64 152, !15, i64 160, !16, i64 168, !16, i64 176, !8, i64 184, !8, i64 216, !8, i64 217, !8, i64 218, !8, i64 219, !8, i64 220, !8, i64 221, !8, i64 222, !7, i64 224, !7, i64 232, !17, i64 240, !7, i64 632, !7, i64 640, !18, i64 648, !25, i64 1144, !28, i64 1688, !7, i64 1752, !8, i64 1760, !12, i64 1764, !8, i64 1768, !31, i64 1776, !31, i64 1816, !31, i64 1856, !31, i64 1896, !12, i64 1936, !16, i64 1944, !8, i64 1952, !31, i64 1960, !8, i64 2000, !8, i64 2001, !8, i64 2002, !24, i64 2003, !32, i64 2004, !32, i64 2008, !33, i64 2016, !30, i64 2208, !12, i64 2212, !30, i64 2216, !16, i64 2224, !8, i64 2232, !16, i64 2240, !16, i64 2248, !16, i64 2256, !32, i64 2264, !32, i64 2268, !8, i64 2272, !8, i64 2528, !12, i64 2784, !23, i64 2792, !12, i64 2816, !23, i64 2824, !23, i64 2848, !23, i64 2872, !35, i64 2896, !37, i64 3704, !7, i64 3760, !7, i64 3768, !8, i64 3776, !12, i64 3780, !23, i64 3784, !12, i64 3808, !39, i64 3816, !8, i64 3848, !31, i64 3992, !23, i64 4032, !23, i64 4056, !24, i64 4080, !24, i64 4081, !24, i64 4082, !30, i64 4084, !30, i64 4086, !12, i64 4088, !12, i64 4092, !23, i64 4096, !12, i64 4120, !40, i64 4128, !32, i64 4176, !8, i64 4180, !8, i64 4181}
!15 = !{!"s2n_timer", !16, i64 0}
!16 = !{!"long", !8, i64 0}
!17 = !{!"s2n_secrets", !8, i64 0, !12, i64 388}
!18 = !{!"s2n_kex_parameters", !19, i64 0, !20, i64 8, !8, i64 24, !20, i64 56, !21, i64 72, !21, i64 184, !8, i64 296, !22, i64 360, !23, i64 448, !23, i64 472}
!19 = !{!"s2n_dh_params", !7, i64 0}
!20 = !{!"s2n_ecc_evp_params", !7, i64 0, !7, i64 8}
!21 = !{!"s2n_kem_group_params", !7, i64 0, !22, i64 8, !20, i64 96}
!22 = !{!"s2n_kem_params", !7, i64 0, !23, i64 8, !23, i64 32, !23, i64 56, !24, i64 80}
!23 = !{!"s2n_blob", !7, i64 0, !12, i64 8, !12, i64 12, !12, i64 16}
!24 = !{!"_Bool", !8, i64 0}
!25 = !{!"s2n_handshake_parameters", !26, i64 0, !26, i64 48, !23, i64 96, !12, i64 120, !27, i64 124, !7, i64 384, !7, i64 392, !7, i64 400, !8, i64 408, !8, i64 440, !8, i64 472, !8, i64 473, !8, i64 474, !8, i64 506}
!26 = !{!"s2n_pkey", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !7, i64 40}
!27 = !{!"s2n_sig_scheme_list", !8, i64 0, !8, i64 256}
!28 = !{!"s2n_psk_parameters", !12, i64 0, !29, i64 8, !30, i64 40, !30, i64 42, !7, i64 48, !12, i64 56}
!29 = !{!"s2n_array", !23, i64 0, !12, i64 24, !12, i64 28}
!30 = !{!"short", !8, i64 0}
!31 = !{!"s2n_stuffer", !23, i64 0, !12, i64 24, !12, i64 28, !12, i64 32, !12, i64 36, !12, i64 36, !12, i64 36}
!32 = !{!"", !12, i64 0}
!33 = !{!"s2n_handshake", !31, i64 0, !7, i64 40, !8, i64 48, !8, i64 56, !8, i64 104, !8, i64 152, !12, i64 156, !12, i64 160, !12, i64 164, !12, i64 168, !34, i64 176, !12, i64 184, !12, i64 184, !12, i64 184, !12, i64 184, !12, i64 188}
!34 = !{!"s2n_offered_early_data", !7, i64 0}
!35 = !{!"s2n_client_hello", !23, i64 0, !36, i64 24, !23, i64 728, !23, i64 752, !23, i64 776, !8, i64 800, !8, i64 801, !12, i64 802, !12, i64 802, !12, i64 802, !12, i64 802, !12, i64 802, !12, i64 802, !12, i64 802}
!36 = !{!"", !8, i64 0, !23, i64 672, !30, i64 696}
!37 = !{!"s2n_x509_validator", !7, i64 0, !7, i64 8, !8, i64 16, !8, i64 17, !30, i64 18, !7, i64 24, !12, i64 32, !7, i64 40, !38, i64 48, !24, i64 52}
!38 = !{!"s2n_cert_validation_info", !12, i64 0, !12, i64 0}
!39 = !{!"s2n_ticket_fields", !23, i64 0, !12, i64 24}
!40 = !{!"s2n_post_handshake", !31, i64 0, !8, i64 40}
!41 = !{!42, !7, i64 0}
!42 = !{!"s2n_crypto_parameters", !7, i64 0, !43, i64 8, !43, i64 16, !44, i64 24, !44, i64 456, !8, i64 888, !8, i64 904, !8, i64 920, !8, i64 928}
!43 = !{!"s2n_session_key", !7, i64 0}
!44 = !{!"s2n_hmac_state", !12, i64 0, !30, i64 4, !12, i64 8, !30, i64 12, !8, i64 14, !45, i64 16, !45, i64 72, !45, i64 128, !45, i64 184, !8, i64 240, !8, i64 368}
!45 = !{!"s2n_hash_state", !7, i64 0, !12, i64 8, !8, i64 12, !16, i64 16, !8, i64 24}
!46 = !{!7, !7, i64 0}
!47 = !{!48, !7, i64 8}
!48 = !{!"s2n_security_policy", !8, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !7, i64 40, !7, i64 48, !24, i64 56, !8, i64 57}
!49 = !{!50, !30, i64 0}
!50 = !{!"s2n_cipher_preferences", !30, i64 0, !7, i64 8, !24, i64 16}
!51 = !{!50, !7, i64 8}
!52 = distinct !{!52, !53}
!53 = !{!"llvm.loop.mustprogress"}
!54 = !{!14, !7, i64 1736}
!55 = !{!56, !12, i64 96}
!56 = !{!"s2n_cipher_suite", !12, i64 0, !7, i64 8, !7, i64 16, !8, i64 24, !7, i64 32, !12, i64 40, !7, i64 48, !8, i64 56, !8, i64 72, !7, i64 80, !7, i64 88, !12, i64 96, !8, i64 100}
!57 = !{!58, !12, i64 56}
!58 = !{!"s2n_psk", !12, i64 0, !23, i64 8, !23, i64 32, !12, i64 56, !12, i64 60, !16, i64 64, !23, i64 72, !59, i64 96, !16, i64 160}
!59 = !{!"s2n_early_data_config", !12, i64 0, !8, i64 4, !7, i64 8, !23, i64 16, !23, i64 40}
!60 = !{!14, !8, i64 220}
!61 = !{!56, !7, i64 88}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass,TailCallElimPass