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

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%struct.s2n_debug_info = type { ptr, ptr }
%struct.s2n_result = type { i32 }
%struct.s2n_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_crl_lookup = type { i32, ptr, i16, 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_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_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_config = type { i32, ptr, ptr, %struct.certs_by_type, %struct.s2n_blob, ptr, ptr, ptr, ptr, ptr, ptr, i32, i32, ptr, i64, ptr, i64, i64, ptr, ptr, ptr, ptr, ptr, ptr, i32, i8, i32, i32, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i8, i8, %struct.s2n_x509_trust_store, i16, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i32, i32, i32, ptr, i32, i32, ptr, ptr, i32, %struct.s2n_blob }
%struct.certs_by_type = type { [4 x ptr] }
%struct.s2n_x509_trust_store = type { ptr, i8 }

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

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1

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

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

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

declare i32 @s2n_calculate_stacktrace() #4

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

declare i32 @s2n_array_num_elements(ptr noundef, ptr noundef) #4

declare i32 @s2n_array_get(ptr noundef, i32 noundef, ptr noundef) #4

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

20:                                               ; preds = %2
  %21 = load ptr, ptr %5, align 8, !tbaa !5
  %22 = icmp ne ptr %21, null
  br i1 %22, label %55, label %23

23:                                               ; preds = %20
  br label %24

24:                                               ; preds = %23
  br label %25

25:                                               ; preds = %24
  %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
  store ptr @.str.27, ptr %27, align 8, !tbaa !9
  %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 !9
  %31 = getelementptr inbounds i8, ptr %30, i64 21
  %32 = call ptr @strrchr(ptr noundef %31, i32 noundef 47) #7
  %33 = icmp ne ptr %32, null
  br i1 %33, label %34, label %41

34:                                               ; preds = %25
  %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 !9
  %38 = getelementptr inbounds i8, ptr %37, i64 21
  %39 = call ptr @strrchr(ptr noundef %38, i32 noundef 47) #7
  %40 = getelementptr inbounds i8, ptr %39, i64 1
  br label %46

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

46:                                               ; preds = %41, %34
  %47 = phi ptr [ %40, %34 ], [ %45, %41 ]
  %48 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %49 = getelementptr inbounds %struct.s2n_debug_info, ptr %48, i32 0, i32 1
  store ptr %47, ptr %49, align 8, !tbaa !11
  %50 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  store i32 402653193, ptr %50, align 4, !tbaa !12
  %51 = call i32 @s2n_calculate_stacktrace()
  br label %52

52:                                               ; preds = %46
  %53 = getelementptr inbounds %struct.s2n_result, ptr %3, i32 0, i32 0
  store i32 -1, ptr %53, align 4, !tbaa !14
  br label %369

54:                                               ; No predecessors!
  br label %55

55:                                               ; preds = %54, %20
  br label %56

56:                                               ; preds = %55
  br label %57

57:                                               ; preds = %56
  %58 = load ptr, ptr %5, align 8, !tbaa !5
  %59 = getelementptr inbounds %struct.s2n_x509_validator, ptr %58, i32 0, i32 5
  %60 = load ptr, ptr %59, align 8, !tbaa !16
  %61 = icmp ne ptr %60, null
  br i1 %61, label %94, label %62

62:                                               ; preds = %57
  br label %63

63:                                               ; preds = %62
  br label %64

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

73:                                               ; preds = %64
  %74 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %75 = getelementptr inbounds %struct.s2n_debug_info, ptr %74, i32 0, i32 0
  %76 = load ptr, ptr %75, align 8, !tbaa !9
  %77 = getelementptr inbounds i8, ptr %76, i64 21
  %78 = call ptr @strrchr(ptr noundef %77, i32 noundef 47) #7
  %79 = getelementptr inbounds i8, ptr %78, i64 1
  br label %85

80:                                               ; preds = %64
  %81 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %82 = getelementptr inbounds %struct.s2n_debug_info, ptr %81, i32 0, i32 0
  %83 = load ptr, ptr %82, align 8, !tbaa !9
  %84 = getelementptr inbounds i8, ptr %83, i64 21
  br label %85

85:                                               ; preds = %80, %73
  %86 = phi ptr [ %79, %73 ], [ %84, %80 ]
  %87 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %88 = getelementptr inbounds %struct.s2n_debug_info, ptr %87, i32 0, i32 1
  store ptr %86, ptr %88, align 8, !tbaa !11
  %89 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  store i32 402653193, ptr %89, align 4, !tbaa !12
  %90 = call i32 @s2n_calculate_stacktrace()
  br label %91

91:                                               ; preds = %85
  %92 = getelementptr inbounds %struct.s2n_result, ptr %3, i32 0, i32 0
  store i32 -1, ptr %92, align 4, !tbaa !14
  br label %369

93:                                               ; No predecessors!
  br label %94

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

95:                                               ; preds = %94
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #8
  %96 = load ptr, ptr %5, align 8, !tbaa !5
  %97 = getelementptr inbounds %struct.s2n_x509_validator, ptr %96, i32 0, i32 5
  %98 = load ptr, ptr %97, align 8, !tbaa !16
  %99 = call ptr @ossl_check_const_X509_sk_type(ptr noundef %98)
  %100 = call i32 @OPENSSL_sk_num(ptr noundef %99)
  store i32 %100, ptr %6, align 4, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #8
  %101 = load i32, ptr %6, align 4, !tbaa !12
  %102 = call ptr @s2n_array_new_with_capacity(i32 noundef 32, i32 noundef %101)
  store ptr %102, ptr %7, align 8, !tbaa !5
  br label %103

103:                                              ; preds = %95
  %104 = load ptr, ptr %7, align 8, !tbaa !5
  %105 = icmp ne ptr %104, null
  br i1 %105, label %140, label %106

106:                                              ; preds = %103
  br label %107

107:                                              ; preds = %106
  br label %108

108:                                              ; preds = %107
  %109 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %110 = getelementptr inbounds %struct.s2n_debug_info, ptr %109, i32 0, i32 0
  store ptr @.str.29, ptr %110, align 8, !tbaa !9
  %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
  %115 = call ptr @strrchr(ptr noundef %114, i32 noundef 47) #7
  %116 = icmp ne ptr %115, null
  br i1 %116, label %117, label %124

117:                                              ; preds = %108
  %118 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %119 = getelementptr inbounds %struct.s2n_debug_info, ptr %118, i32 0, i32 0
  %120 = load ptr, ptr %119, align 8, !tbaa !9
  %121 = getelementptr inbounds i8, ptr %120, i64 21
  %122 = call ptr @strrchr(ptr noundef %121, i32 noundef 47) #7
  %123 = getelementptr inbounds i8, ptr %122, i64 1
  br label %129

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

129:                                              ; preds = %124, %117
  %130 = phi ptr [ %123, %117 ], [ %128, %124 ]
  %131 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %132 = getelementptr inbounds %struct.s2n_debug_info, ptr %131, i32 0, i32 1
  store ptr %130, ptr %132, align 8, !tbaa !11
  %133 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  store i32 402653193, ptr %133, align 4, !tbaa !12
  %134 = call i32 @s2n_calculate_stacktrace()
  br label %135

135:                                              ; preds = %129
  br label %136

136:                                              ; preds = %135
  %137 = getelementptr inbounds %struct.s2n_result, ptr %3, i32 0, i32 0
  store i32 -1, ptr %137, align 4, !tbaa !14
  store i32 1, ptr %8, align 4
  br label %366

138:                                              ; No predecessors!
  br label %139

139:                                              ; preds = %138
  br label %140

140:                                              ; preds = %139, %103
  br label %141

141:                                              ; preds = %140
  br label %142

142:                                              ; preds = %141
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #8
  store i32 0, ptr %9, align 4, !tbaa !12
  br label %143

143:                                              ; preds = %218, %142
  %144 = load i32, ptr %9, align 4, !tbaa !12
  %145 = load i32, ptr %6, align 4, !tbaa !12
  %146 = icmp slt i32 %144, %145
  br i1 %146, label %148, label %147

147:                                              ; preds = %143
  store i32 20, ptr %8, align 4
  br label %221

148:                                              ; preds = %143
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #8
  store ptr null, ptr %10, align 8, !tbaa !5
  br label %149

149:                                              ; preds = %148
  %150 = load ptr, ptr %7, align 8, !tbaa !5
  %151 = call i32 @s2n_array_pushback(ptr noundef %150, ptr noundef %10)
  %152 = getelementptr inbounds %struct.s2n_result, ptr %11, i32 0, i32 0
  store i32 %151, ptr %152, align 4
  %153 = getelementptr inbounds %struct.s2n_result, ptr %11, i32 0, i32 0
  %154 = load i32, ptr %153, align 4
  %155 = call zeroext i1 @s2n_result_is_ok(i32 %154)
  br i1 %155, label %158, label %156

156:                                              ; preds = %149
  %157 = getelementptr inbounds %struct.s2n_result, ptr %3, i32 0, i32 0
  store i32 -1, ptr %157, align 4, !tbaa !14
  store i32 1, ptr %8, align 4
  br label %215

158:                                              ; preds = %149
  br label %159

159:                                              ; preds = %158
  br label %160

160:                                              ; preds = %159
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #8
  %161 = load ptr, ptr %5, align 8, !tbaa !5
  %162 = getelementptr inbounds %struct.s2n_x509_validator, ptr %161, i32 0, i32 5
  %163 = load ptr, ptr %162, align 8, !tbaa !16
  %164 = call ptr @ossl_check_const_X509_sk_type(ptr noundef %163)
  %165 = load i32, ptr %9, align 4, !tbaa !12
  %166 = call ptr @OPENSSL_sk_value(ptr noundef %164, i32 noundef %165)
  store ptr %166, ptr %12, align 8, !tbaa !5
  br label %167

167:                                              ; preds = %160
  %168 = load ptr, ptr %12, align 8, !tbaa !5
  %169 = icmp ne ptr %168, null
  br i1 %169, label %204, label %170

170:                                              ; preds = %167
  br label %171

171:                                              ; preds = %170
  br label %172

172:                                              ; preds = %171
  %173 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %174 = getelementptr inbounds %struct.s2n_debug_info, ptr %173, i32 0, i32 0
  store ptr @.str.30, ptr %174, align 8, !tbaa !9
  %175 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %176 = getelementptr inbounds %struct.s2n_debug_info, ptr %175, i32 0, i32 0
  %177 = load ptr, ptr %176, align 8, !tbaa !9
  %178 = getelementptr inbounds i8, ptr %177, i64 21
  %179 = call ptr @strrchr(ptr noundef %178, i32 noundef 47) #7
  %180 = icmp ne ptr %179, null
  br i1 %180, label %181, label %188

181:                                              ; preds = %172
  %182 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %183 = getelementptr inbounds %struct.s2n_debug_info, ptr %182, i32 0, i32 0
  %184 = load ptr, ptr %183, align 8, !tbaa !9
  %185 = getelementptr inbounds i8, ptr %184, i64 21
  %186 = call ptr @strrchr(ptr noundef %185, i32 noundef 47) #7
  %187 = getelementptr inbounds i8, ptr %186, i64 1
  br label %193

188:                                              ; preds = %172
  %189 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %190 = getelementptr inbounds %struct.s2n_debug_info, ptr %189, i32 0, i32 0
  %191 = load ptr, ptr %190, align 8, !tbaa !9
  %192 = getelementptr inbounds i8, ptr %191, i64 21
  br label %193

193:                                              ; preds = %188, %181
  %194 = phi ptr [ %187, %181 ], [ %192, %188 ]
  %195 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %196 = getelementptr inbounds %struct.s2n_debug_info, ptr %195, i32 0, i32 1
  store ptr %194, ptr %196, align 8, !tbaa !11
  %197 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  store i32 402653193, ptr %197, align 4, !tbaa !12
  %198 = call i32 @s2n_calculate_stacktrace()
  br label %199

199:                                              ; preds = %193
  br label %200

200:                                              ; preds = %199
  %201 = getelementptr inbounds %struct.s2n_result, ptr %3, i32 0, i32 0
  store i32 -1, ptr %201, align 4, !tbaa !14
  store i32 1, ptr %8, align 4
  br label %214

202:                                              ; No predecessors!
  br label %203

203:                                              ; preds = %202
  br label %204

204:                                              ; preds = %203, %167
  br label %205

205:                                              ; preds = %204
  br label %206

206:                                              ; preds = %205
  %207 = load ptr, ptr %12, align 8, !tbaa !5
  %208 = load ptr, ptr %10, align 8, !tbaa !5
  %209 = getelementptr inbounds %struct.s2n_crl_lookup, ptr %208, i32 0, i32 1
  store ptr %207, ptr %209, align 8, !tbaa !21
  %210 = load i32, ptr %9, align 4, !tbaa !12
  %211 = trunc i32 %210 to i16
  %212 = load ptr, ptr %10, align 8, !tbaa !5
  %213 = getelementptr inbounds %struct.s2n_crl_lookup, ptr %212, i32 0, i32 2
  store i16 %211, ptr %213, align 8, !tbaa !23
  store i32 0, ptr %8, align 4
  br label %214

214:                                              ; preds = %206, %200
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #8
  br label %215

215:                                              ; preds = %214, %156
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #8
  %216 = load i32, ptr %8, align 4
  switch i32 %216, label %221 [
    i32 0, label %217
  ]

217:                                              ; preds = %215
  br label %218

218:                                              ; preds = %217
  %219 = load i32, ptr %9, align 4, !tbaa !12
  %220 = add nsw i32 %219, 1
  store i32 %220, ptr %9, align 4, !tbaa !12
  br label %143, !llvm.loop !24

221:                                              ; preds = %215, %147
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #8
  %222 = load i32, ptr %8, align 4
  switch i32 %222, label %366 [
    i32 20, label %223
  ]

223:                                              ; preds = %221
  %224 = load ptr, ptr %7, align 8, !tbaa !5
  %225 = load ptr, ptr %5, align 8, !tbaa !5
  %226 = getelementptr inbounds %struct.s2n_x509_validator, ptr %225, i32 0, i32 7
  store ptr %224, ptr %226, align 8, !tbaa !26
  call void @llvm.memset.p0.i64(ptr align 8 %7, i8 0, i64 8, i1 false)
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #8
  store i32 0, ptr %13, align 4, !tbaa !12
  br label %227

227:                                              ; preds = %223
  %228 = load ptr, ptr %5, align 8, !tbaa !5
  %229 = getelementptr inbounds %struct.s2n_x509_validator, ptr %228, i32 0, i32 7
  %230 = load ptr, ptr %229, align 8, !tbaa !26
  %231 = call i32 @s2n_array_num_elements(ptr noundef %230, ptr noundef %13)
  %232 = getelementptr inbounds %struct.s2n_result, ptr %14, i32 0, i32 0
  store i32 %231, ptr %232, align 4
  %233 = getelementptr inbounds %struct.s2n_result, ptr %14, i32 0, i32 0
  %234 = load i32, ptr %233, align 4
  %235 = call zeroext i1 @s2n_result_is_ok(i32 %234)
  br i1 %235, label %238, label %236

236:                                              ; preds = %227
  %237 = getelementptr inbounds %struct.s2n_result, ptr %3, i32 0, i32 0
  store i32 -1, ptr %237, align 4, !tbaa !14
  store i32 1, ptr %8, align 4
  br label %365

238:                                              ; preds = %227
  br label %239

239:                                              ; preds = %238
  br label %240

240:                                              ; preds = %239
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #8
  store i32 0, ptr %15, align 4, !tbaa !12
  br label %241

241:                                              ; preds = %358, %240
  %242 = load i32, ptr %15, align 4, !tbaa !12
  %243 = load i32, ptr %13, align 4, !tbaa !12
  %244 = icmp ult i32 %242, %243
  br i1 %244, label %246, label %245

245:                                              ; preds = %241
  store i32 33, ptr %8, align 4
  br label %361

246:                                              ; preds = %241
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #8
  store ptr null, ptr %16, align 8, !tbaa !5
  br label %247

247:                                              ; preds = %246
  %248 = load ptr, ptr %5, align 8, !tbaa !5
  %249 = getelementptr inbounds %struct.s2n_x509_validator, ptr %248, i32 0, i32 7
  %250 = load ptr, ptr %249, align 8, !tbaa !26
  %251 = load i32, ptr %15, align 4, !tbaa !12
  %252 = call i32 @s2n_array_get(ptr noundef %250, i32 noundef %251, ptr noundef %16)
  %253 = getelementptr inbounds %struct.s2n_result, ptr %17, i32 0, i32 0
  store i32 %252, ptr %253, align 4
  %254 = getelementptr inbounds %struct.s2n_result, ptr %17, i32 0, i32 0
  %255 = load i32, ptr %254, align 4
  %256 = call zeroext i1 @s2n_result_is_ok(i32 %255)
  br i1 %256, label %259, label %257

257:                                              ; preds = %247
  %258 = getelementptr inbounds %struct.s2n_result, ptr %3, i32 0, i32 0
  store i32 -1, ptr %258, align 4, !tbaa !14
  store i32 1, ptr %8, align 4
  br label %355

259:                                              ; preds = %247
  br label %260

260:                                              ; preds = %259
  br label %261

261:                                              ; preds = %260
  br label %262

262:                                              ; preds = %261
  %263 = load ptr, ptr %16, align 8, !tbaa !5
  %264 = icmp ne ptr %263, null
  br i1 %264, label %299, label %265

265:                                              ; preds = %262
  br label %266

266:                                              ; preds = %265
  br label %267

267:                                              ; preds = %266
  %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 0
  store ptr @.str.31, ptr %269, align 8, !tbaa !9
  %270 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %271 = getelementptr inbounds %struct.s2n_debug_info, ptr %270, i32 0, i32 0
  %272 = load ptr, ptr %271, align 8, !tbaa !9
  %273 = getelementptr inbounds i8, ptr %272, i64 21
  %274 = call ptr @strrchr(ptr noundef %273, i32 noundef 47) #7
  %275 = icmp ne ptr %274, null
  br i1 %275, label %276, label %283

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

283:                                              ; preds = %267
  %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 0
  %286 = load ptr, ptr %285, align 8, !tbaa !9
  %287 = getelementptr inbounds i8, ptr %286, i64 21
  br label %288

288:                                              ; preds = %283, %276
  %289 = phi ptr [ %282, %276 ], [ %287, %283 ]
  %290 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %291 = getelementptr inbounds %struct.s2n_debug_info, ptr %290, i32 0, i32 1
  store ptr %289, ptr %291, align 8, !tbaa !11
  %292 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  store i32 402653193, ptr %292, align 4, !tbaa !12
  %293 = call i32 @s2n_calculate_stacktrace()
  br label %294

294:                                              ; preds = %288
  br label %295

295:                                              ; preds = %294
  %296 = getelementptr inbounds %struct.s2n_result, ptr %3, i32 0, i32 0
  store i32 -1, ptr %296, align 4, !tbaa !14
  store i32 1, ptr %8, align 4
  br label %355

297:                                              ; No predecessors!
  br label %298

298:                                              ; preds = %297
  br label %299

299:                                              ; preds = %298, %262
  br label %300

300:                                              ; preds = %299
  br label %301

301:                                              ; preds = %300
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #8
  %302 = load ptr, ptr %4, align 8, !tbaa !5
  %303 = getelementptr inbounds %struct.s2n_connection, ptr %302, i32 0, i32 1
  %304 = load ptr, ptr %303, align 8, !tbaa !27
  %305 = getelementptr inbounds %struct.s2n_config, ptr %304, i32 0, i32 30
  %306 = load ptr, ptr %305, align 8, !tbaa !50
  %307 = load ptr, ptr %16, align 8, !tbaa !5
  %308 = load ptr, ptr %4, align 8, !tbaa !5
  %309 = getelementptr inbounds %struct.s2n_connection, ptr %308, i32 0, i32 1
  %310 = load ptr, ptr %309, align 8, !tbaa !27
  %311 = getelementptr inbounds %struct.s2n_config, ptr %310, i32 0, i32 31
  %312 = load ptr, ptr %311, align 8, !tbaa !54
  %313 = call i32 %306(ptr noundef %307, ptr noundef %312)
  store i32 %313, ptr %18, align 4, !tbaa !12
  br label %314

314:                                              ; preds = %301
  %315 = load i32, ptr %18, align 4, !tbaa !12
  %316 = icmp eq i32 %315, 0
  br i1 %316, label %351, label %317

317:                                              ; preds = %314
  br label %318

318:                                              ; preds = %317
  br label %319

319:                                              ; preds = %318
  %320 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %321 = getelementptr inbounds %struct.s2n_debug_info, ptr %320, i32 0, i32 0
  store ptr @.str.32, ptr %321, align 8, !tbaa !9
  %322 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %323 = getelementptr inbounds %struct.s2n_debug_info, ptr %322, i32 0, i32 0
  %324 = load ptr, ptr %323, align 8, !tbaa !9
  %325 = getelementptr inbounds i8, ptr %324, i64 21
  %326 = call ptr @strrchr(ptr noundef %325, i32 noundef 47) #7
  %327 = icmp ne ptr %326, null
  br i1 %327, label %328, label %335

328:                                              ; preds = %319
  %329 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %330 = getelementptr inbounds %struct.s2n_debug_info, ptr %329, i32 0, i32 0
  %331 = load ptr, ptr %330, align 8, !tbaa !9
  %332 = getelementptr inbounds i8, ptr %331, i64 21
  %333 = call ptr @strrchr(ptr noundef %332, i32 noundef 47) #7
  %334 = getelementptr inbounds i8, ptr %333, i64 1
  br label %340

335:                                              ; preds = %319
  %336 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %337 = getelementptr inbounds %struct.s2n_debug_info, ptr %336, i32 0, i32 0
  %338 = load ptr, ptr %337, align 8, !tbaa !9
  %339 = getelementptr inbounds i8, ptr %338, i64 21
  br label %340

340:                                              ; preds = %335, %328
  %341 = phi ptr [ %334, %328 ], [ %339, %335 ]
  %342 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %343 = getelementptr inbounds %struct.s2n_debug_info, ptr %342, i32 0, i32 1
  store ptr %341, ptr %343, align 8, !tbaa !11
  %344 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  store i32 335544386, ptr %344, align 4, !tbaa !12
  %345 = call i32 @s2n_calculate_stacktrace()
  br label %346

346:                                              ; preds = %340
  br label %347

347:                                              ; preds = %346
  %348 = getelementptr inbounds %struct.s2n_result, ptr %3, i32 0, i32 0
  store i32 -1, ptr %348, align 4, !tbaa !14
  store i32 1, ptr %8, align 4
  br label %354

349:                                              ; No predecessors!
  br label %350

350:                                              ; preds = %349
  br label %351

351:                                              ; preds = %350, %314
  br label %352

352:                                              ; preds = %351
  br label %353

353:                                              ; preds = %352
  store i32 0, ptr %8, align 4
  br label %354

354:                                              ; preds = %353, %347
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #8
  br label %355

355:                                              ; preds = %354, %295, %257
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #8
  %356 = load i32, ptr %8, align 4
  switch i32 %356, label %361 [
    i32 0, label %357
  ]

357:                                              ; preds = %355
  br label %358

358:                                              ; preds = %357
  %359 = load i32, ptr %15, align 4, !tbaa !12
  %360 = add i32 %359, 1
  store i32 %360, ptr %15, align 4, !tbaa !12
  br label %241, !llvm.loop !55

361:                                              ; preds = %355, %245
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #8
  %362 = load i32, ptr %8, align 4
  switch i32 %362, label %365 [
    i32 33, label %363
  ]

363:                                              ; preds = %361
  %364 = getelementptr inbounds %struct.s2n_result, ptr %3, i32 0, i32 0
  store i32 0, ptr %364, align 4, !tbaa !14
  store i32 1, ptr %8, align 4
  br label %365

365:                                              ; preds = %363, %361, %236
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #8
  br label %366

366:                                              ; preds = %365, %221, %136
  %367 = call i32 @s2n_array_free_p(ptr noundef %7)
  %368 = getelementptr inbounds %struct.s2n_result, ptr %19, i32 0, i32 0
  store i32 %367, ptr %368, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #8
  br label %369

369:                                              ; preds = %366, %91, %52
  %370 = getelementptr inbounds %struct.s2n_result, ptr %3, i32 0, i32 0
  %371 = load i32, ptr %370, align 4
  ret i32 %371
}

declare i32 @OPENSSL_sk_num(ptr noundef) #4

; Function Attrs: inlinehint nounwind uwtable
declare hidden ptr @ossl_check_const_X509_sk_type(ptr noundef) #5

declare ptr @s2n_array_new_with_capacity(i32 noundef, i32 noundef) #4

declare i32 @s2n_array_free_p(ptr noundef) #4

declare i32 @s2n_array_pushback(ptr noundef, ptr noundef) #4

declare ptr @OPENSSL_sk_value(ptr noundef, i32 noundef) #4

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"s2n_debug_info", !6, i64 0, !6, i64 8}
!11 = !{!10, !6, i64 8}
!12 = !{!13, !13, i64 0}
!13 = !{!"int", !7, i64 0}
!14 = !{!15, !13, i64 0}
!15 = !{!"", !13, i64 0}
!16 = !{!17, !6, i64 24}
!17 = !{!"s2n_x509_validator", !6, i64 0, !6, i64 8, !7, i64 16, !7, i64 17, !18, i64 18, !6, i64 24, !13, i64 32, !6, i64 40, !19, i64 48, !20, i64 52}
!18 = !{!"short", !7, i64 0}
!19 = !{!"s2n_cert_validation_info", !13, i64 0, !13, i64 0}
!20 = !{!"_Bool", !7, i64 0}
!21 = !{!22, !6, i64 8}
!22 = !{!"s2n_crl_lookup", !13, i64 0, !6, i64 8, !18, i64 16, !6, i64 24}
!23 = !{!22, !18, i64 16}
!24 = distinct !{!24, !25}
!25 = !{!"llvm.loop.mustprogress"}
!26 = !{!17, !6, i64 40}
!27 = !{!28, !6, i64 8}
!28 = !{!"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, !29, i64 160, !30, i64 168, !30, 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, !31, i64 240, !6, i64 632, !6, i64 640, !32, i64 648, !38, i64 1144, !41, i64 1688, !6, i64 1752, !7, i64 1760, !13, i64 1764, !7, i64 1768, !43, i64 1776, !43, i64 1816, !43, i64 1856, !43, i64 1896, !13, i64 1936, !30, i64 1944, !7, i64 1952, !43, i64 1960, !7, i64 2000, !7, i64 2001, !7, i64 2002, !20, i64 2003, !15, i64 2004, !15, i64 2008, !44, i64 2016, !18, i64 2208, !13, i64 2212, !18, i64 2216, !30, i64 2224, !7, i64 2232, !30, i64 2240, !30, i64 2248, !30, i64 2256, !15, i64 2264, !15, i64 2268, !7, i64 2272, !7, i64 2528, !13, i64 2784, !37, i64 2792, !13, i64 2816, !37, i64 2824, !37, i64 2848, !37, i64 2872, !46, i64 2896, !17, i64 3704, !6, i64 3760, !6, i64 3768, !7, i64 3776, !13, i64 3780, !37, i64 3784, !13, i64 3808, !48, i64 3816, !7, i64 3848, !43, i64 3992, !37, i64 4032, !37, i64 4056, !20, i64 4080, !20, i64 4081, !20, i64 4082, !18, i64 4084, !18, i64 4086, !13, i64 4088, !13, i64 4092, !37, i64 4096, !13, i64 4120, !49, i64 4128, !15, i64 4176, !7, i64 4180, !7, i64 4181}
!29 = !{!"s2n_timer", !30, i64 0}
!30 = !{!"long", !7, i64 0}
!31 = !{!"s2n_secrets", !7, i64 0, !13, i64 388}
!32 = !{!"s2n_kex_parameters", !33, i64 0, !34, i64 8, !7, i64 24, !34, i64 56, !35, i64 72, !35, i64 184, !7, i64 296, !36, i64 360, !37, i64 448, !37, i64 472}
!33 = !{!"s2n_dh_params", !6, i64 0}
!34 = !{!"s2n_ecc_evp_params", !6, i64 0, !6, i64 8}
!35 = !{!"s2n_kem_group_params", !6, i64 0, !36, i64 8, !34, i64 96}
!36 = !{!"s2n_kem_params", !6, i64 0, !37, i64 8, !37, i64 32, !37, i64 56, !20, i64 80}
!37 = !{!"s2n_blob", !6, i64 0, !13, i64 8, !13, i64 12, !13, i64 16}
!38 = !{!"s2n_handshake_parameters", !39, i64 0, !39, i64 48, !37, i64 96, !13, i64 120, !40, 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}
!39 = !{!"s2n_pkey", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40}
!40 = !{!"s2n_sig_scheme_list", !7, i64 0, !7, i64 256}
!41 = !{!"s2n_psk_parameters", !13, i64 0, !42, i64 8, !18, i64 40, !18, i64 42, !6, i64 48, !13, i64 56}
!42 = !{!"s2n_array", !37, i64 0, !13, i64 24, !13, i64 28}
!43 = !{!"s2n_stuffer", !37, i64 0, !13, i64 24, !13, i64 28, !13, i64 32, !13, i64 36, !13, i64 36, !13, i64 36}
!44 = !{!"s2n_handshake", !43, 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, !45, i64 176, !13, i64 184, !13, i64 184, !13, i64 184, !13, i64 184, !13, i64 188}
!45 = !{!"s2n_offered_early_data", !6, i64 0}
!46 = !{!"s2n_client_hello", !37, i64 0, !47, i64 24, !37, i64 728, !37, i64 752, !37, 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}
!47 = !{!"", !7, i64 0, !37, i64 672, !18, i64 696}
!48 = !{!"s2n_ticket_fields", !37, i64 0, !13, i64 24}
!49 = !{!"s2n_post_handshake", !43, i64 0, !7, i64 40}
!50 = !{!51, !6, i64 256}
!51 = !{!"s2n_config", !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, !6, i64 8, !6, i64 16, !52, i64 24, !37, i64 56, !6, i64 80, !6, i64 88, !6, i64 96, !6, i64 104, !6, i64 112, !6, i64 120, !13, i64 128, !13, i64 132, !6, i64 136, !30, i64 144, !6, i64 152, !30, i64 160, !30, i64 168, !6, i64 176, !6, i64 184, !6, i64 192, !6, i64 200, !6, i64 208, !6, i64 216, !13, i64 224, !7, i64 228, !13, i64 232, !13, i64 236, !6, i64 240, !6, i64 248, !6, i64 256, !6, i64 264, !6, i64 272, !6, i64 280, !6, i64 288, !7, i64 296, !7, i64 297, !53, i64 304, !18, i64 320, !6, i64 328, !6, i64 336, !6, i64 344, !6, i64 352, !6, i64 360, !6, i64 368, !6, i64 376, !6, i64 384, !13, i64 392, !13, i64 396, !13, i64 400, !6, i64 408, !13, i64 416, !13, i64 420, !6, i64 424, !6, i64 432, !13, i64 440, !37, i64 448}
!52 = !{!"certs_by_type", !7, i64 0}
!53 = !{!"s2n_x509_trust_store", !6, i64 0, !13, i64 8}
!54 = !{!51, !6, i64 264}
!55 = distinct !{!55, !25}


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

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

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

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

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

declare i32 @s2n_calculate_stacktrace() local_unnamed_addr #3

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

declare i32 @s2n_array_num_elements(ptr noundef, ptr noundef) local_unnamed_addr #3

declare i32 @s2n_array_get(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: nounwind uwtable
define dso_local noundef i32 @s2n_crl_invoke_lookup_callbacks(ptr nocapture noundef readonly %0, ptr noundef %1) local_unnamed_addr #5 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca ptr, align 8
  %.not = icmp eq ptr %1, null
  br i1 %.not, label %7, label %15

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

15:                                               ; preds = %2
  %16 = getelementptr inbounds i8, ptr %1, i64 24
  %17 = load ptr, ptr %16, align 8, !tbaa !13
  %.not44 = icmp eq ptr %17, null
  br i1 %.not44, label %18, label %26

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

26:                                               ; preds = %15
  %27 = tail call ptr @ossl_check_const_X509_sk_type(ptr noundef nonnull %17)
  %28 = tail call i32 @OPENSSL_sk_num(ptr noundef %27) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #7
  %29 = tail call ptr @s2n_array_new_with_capacity(i32 noundef 32, i32 noundef %28) #7
  store ptr %29, ptr %3, align 8, !tbaa !18
  %.not46 = icmp eq ptr %29, null
  br i1 %.not46, label %30, label %.preheader61

.preheader61:                                     ; preds = %26
  %.not5068 = icmp sgt i32 %28, 0
  br i1 %.not5068, label %.lr.ph, label %.critedge

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

.lr.ph:                                           ; preds = %.preheader61, %52
  %.03169 = phi i32 [ %57, %52 ], [ 0, %.preheader61 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #7
  store ptr null, ptr %4, align 8, !tbaa !18
  %38 = call i32 @s2n_array_pushback(ptr noundef nonnull %29, ptr noundef nonnull %4) #7
  %39 = call zeroext i1 @s2n_result_is_ok(i32 %38)
  br i1 %39, label %40, label %.loopexit62

40:                                               ; preds = %.lr.ph
  %41 = load ptr, ptr %16, align 8, !tbaa !13
  %42 = call ptr @ossl_check_const_X509_sk_type(ptr noundef %41)
  %43 = call ptr @OPENSSL_sk_value(ptr noundef %42, i32 noundef %.03169) #7
  %.not48 = icmp eq ptr %43, null
  br i1 %.not48, label %44, label %52

44:                                               ; preds = %40
  %45 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  store ptr @.str.30, ptr %45, align 8, !tbaa !5
  %46 = call ptr @strrchr(ptr noundef nonnull dereferenceable(1) getelementptr inbounds (i8, ptr @.str.30, i64 21), i32 noundef 47) #6
  %.not49 = icmp eq ptr %46, null
  %47 = getelementptr inbounds i8, ptr %46, i64 1
  %48 = select i1 %.not49, ptr getelementptr inbounds (i8, ptr @.str.30, i64 21), ptr %47
  %49 = getelementptr inbounds i8, ptr %45, i64 8
  store ptr %48, ptr %49, align 8, !tbaa !10
  %50 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  store i32 402653193, ptr %50, align 4, !tbaa !11
  %51 = call i32 @s2n_calculate_stacktrace() #7
  br label %.loopexit62

52:                                               ; preds = %40
  %53 = load ptr, ptr %4, align 8, !tbaa !18
  %54 = getelementptr inbounds i8, ptr %53, i64 8
  store ptr %43, ptr %54, align 8, !tbaa !19
  %55 = trunc i32 %.03169 to i16
  %56 = getelementptr inbounds i8, ptr %53, i64 16
  store i16 %55, ptr %56, align 8, !tbaa !21
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #7
  %57 = add nuw nsw i32 %.03169, 1
  %exitcond.not = icmp eq i32 %57, %28
  br i1 %exitcond.not, label %.critedge, label %.lr.ph, !llvm.loop !22

.loopexit62:                                      ; preds = %.lr.ph, %44
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #7
  br label %87

.critedge:                                        ; preds = %52, %.preheader61
  %58 = getelementptr inbounds i8, ptr %1, i64 40
  store ptr %29, ptr %58, align 8, !tbaa !24
  store i64 0, ptr %3, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #7
  store i32 0, ptr %5, align 4, !tbaa !11
  %59 = call i32 @s2n_array_num_elements(ptr noundef nonnull %29, ptr noundef nonnull %5) #7
  %60 = call zeroext i1 @s2n_result_is_ok(i32 %59)
  br i1 %60, label %.preheader, label %.loopexit

.preheader:                                       ; preds = %.critedge
  %61 = load i32, ptr %5, align 4, !tbaa !11
  %.not5470.not = icmp eq i32 %61, 0
  br i1 %.not5470.not, label %.loopexit, label %.lr.ph73

.lr.ph73:                                         ; preds = %.preheader
  %62 = getelementptr inbounds i8, ptr %0, i64 8
  br label %63

63:                                               ; preds = %.lr.ph73, %84
  %.03271 = phi i32 [ 0, %.lr.ph73 ], [ %85, %84 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #7
  store ptr null, ptr %6, align 8, !tbaa !18
  %64 = load ptr, ptr %58, align 8, !tbaa !24
  %65 = call i32 @s2n_array_get(ptr noundef %64, i32 noundef %.03271, ptr noundef nonnull %6) #7
  %66 = call zeroext i1 @s2n_result_is_ok(i32 %65)
  br i1 %66, label %67, label %.thread58

67:                                               ; preds = %63
  %68 = load ptr, ptr %6, align 8, !tbaa !18
  %.not51 = icmp eq ptr %68, null
  br i1 %.not51, label %.thread58.sink.split, label %69

69:                                               ; preds = %67
  %70 = load ptr, ptr %62, align 8, !tbaa !25
  %71 = getelementptr inbounds i8, ptr %70, i64 256
  %72 = load ptr, ptr %71, align 8, !tbaa !49
  %73 = getelementptr inbounds i8, ptr %70, i64 264
  %74 = load ptr, ptr %73, align 8, !tbaa !53
  %75 = call i32 %72(ptr noundef nonnull %68, ptr noundef %74) #7
  %76 = icmp eq i32 %75, 0
  br i1 %76, label %84, label %.thread58.sink.split

.thread58.sink.split:                             ; preds = %69, %67
  %.str.31.sink = phi ptr [ @.str.31, %67 ], [ @.str.32, %69 ]
  %.sink86 = phi ptr [ getelementptr inbounds (i8, ptr @.str.31, i64 21), %67 ], [ getelementptr inbounds (i8, ptr @.str.32, i64 21), %69 ]
  %.sink = phi i32 [ 402653193, %67 ], [ 335544386, %69 ]
  %77 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  store ptr %.str.31.sink, ptr %77, align 8, !tbaa !5
  %78 = call ptr @strrchr(ptr noundef nonnull dereferenceable(1) %.sink86, i32 noundef 47) #6
  %.not52 = icmp eq ptr %78, null
  %79 = getelementptr inbounds i8, ptr %78, i64 1
  %80 = select i1 %.not52, ptr %.sink86, ptr %79
  %81 = getelementptr inbounds i8, ptr %77, i64 8
  store ptr %80, ptr %81, align 8, !tbaa !10
  %82 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  store i32 %.sink, ptr %82, align 4, !tbaa !11
  %83 = call i32 @s2n_calculate_stacktrace() #7
  br label %.thread58

.thread58:                                        ; preds = %63, %.thread58.sink.split
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #7
  br label %.loopexit

84:                                               ; preds = %69
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #7
  %85 = add nuw i32 %.03271, 1
  %86 = load i32, ptr %5, align 4, !tbaa !11
  %.not54 = icmp ult i32 %85, %86
  br i1 %.not54, label %63, label %.loopexit, !llvm.loop !54

.loopexit:                                        ; preds = %84, %.thread58, %.preheader, %.critedge
  %.sroa.030.8 = phi i32 [ -1, %.critedge ], [ -1, %.thread58 ], [ 0, %.preheader ], [ 0, %84 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #7
  br label %87

87:                                               ; preds = %.loopexit62, %.loopexit, %30
  %.sroa.030.9 = phi i32 [ %.sroa.030.8, %.loopexit ], [ -1, %.loopexit62 ], [ -1, %30 ]
  %88 = call i32 @s2n_array_free_p(ptr noundef nonnull %3) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #7
  br label %89

89:                                               ; preds = %87, %18, %7
  %.sroa.030.10 = phi i32 [ %.sroa.030.9, %87 ], [ -1, %18 ], [ -1, %7 ]
  ret i32 %.sroa.030.10
}

declare i32 @OPENSSL_sk_num(ptr noundef) local_unnamed_addr #3

; Function Attrs: inlinehint nounwind uwtable
declare hidden ptr @ossl_check_const_X509_sk_type(ptr noundef) local_unnamed_addr #4

declare ptr @s2n_array_new_with_capacity(i32 noundef, i32 noundef) local_unnamed_addr #3

declare i32 @s2n_array_free_p(ptr noundef) local_unnamed_addr #3

declare i32 @s2n_array_pushback(ptr noundef, ptr noundef) local_unnamed_addr #3

declare ptr @OPENSSL_sk_value(ptr noundef, i32 noundef) local_unnamed_addr #3

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { mustprogress nofree nounwind willreturn memory(argmem: read) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nounwind 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, !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 24}
!14 = !{!"s2n_x509_validator", !7, i64 0, !7, i64 8, !8, i64 16, !8, i64 17, !15, i64 18, !7, i64 24, !12, i64 32, !7, i64 40, !16, i64 48, !17, i64 52}
!15 = !{!"short", !8, i64 0}
!16 = !{!"s2n_cert_validation_info", !12, i64 0, !12, i64 0}
!17 = !{!"_Bool", !8, i64 0}
!18 = !{!7, !7, i64 0}
!19 = !{!20, !7, i64 8}
!20 = !{!"s2n_crl_lookup", !12, i64 0, !7, i64 8, !15, i64 16, !7, i64 24}
!21 = !{!20, !15, i64 16}
!22 = distinct !{!22, !23}
!23 = !{!"llvm.loop.mustprogress"}
!24 = !{!14, !7, i64 40}
!25 = !{!26, !7, i64 8}
!26 = !{!"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, !27, i64 160, !28, i64 168, !28, 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, !29, i64 240, !7, i64 632, !7, i64 640, !30, i64 648, !36, i64 1144, !39, i64 1688, !7, i64 1752, !8, i64 1760, !12, i64 1764, !8, i64 1768, !41, i64 1776, !41, i64 1816, !41, i64 1856, !41, i64 1896, !12, i64 1936, !28, i64 1944, !8, i64 1952, !41, i64 1960, !8, i64 2000, !8, i64 2001, !8, i64 2002, !17, i64 2003, !42, i64 2004, !42, i64 2008, !43, i64 2016, !15, i64 2208, !12, i64 2212, !15, i64 2216, !28, i64 2224, !8, i64 2232, !28, i64 2240, !28, i64 2248, !28, i64 2256, !42, i64 2264, !42, i64 2268, !8, i64 2272, !8, i64 2528, !12, i64 2784, !35, i64 2792, !12, i64 2816, !35, i64 2824, !35, i64 2848, !35, i64 2872, !45, i64 2896, !14, i64 3704, !7, i64 3760, !7, i64 3768, !8, i64 3776, !12, i64 3780, !35, i64 3784, !12, i64 3808, !47, i64 3816, !8, i64 3848, !41, i64 3992, !35, i64 4032, !35, i64 4056, !17, i64 4080, !17, i64 4081, !17, i64 4082, !15, i64 4084, !15, i64 4086, !12, i64 4088, !12, i64 4092, !35, i64 4096, !12, i64 4120, !48, i64 4128, !42, i64 4176, !8, i64 4180, !8, i64 4181}
!27 = !{!"s2n_timer", !28, i64 0}
!28 = !{!"long", !8, i64 0}
!29 = !{!"s2n_secrets", !8, i64 0, !12, i64 388}
!30 = !{!"s2n_kex_parameters", !31, i64 0, !32, i64 8, !8, i64 24, !32, i64 56, !33, i64 72, !33, i64 184, !8, i64 296, !34, i64 360, !35, i64 448, !35, i64 472}
!31 = !{!"s2n_dh_params", !7, i64 0}
!32 = !{!"s2n_ecc_evp_params", !7, i64 0, !7, i64 8}
!33 = !{!"s2n_kem_group_params", !7, i64 0, !34, i64 8, !32, i64 96}
!34 = !{!"s2n_kem_params", !7, i64 0, !35, i64 8, !35, i64 32, !35, i64 56, !17, i64 80}
!35 = !{!"s2n_blob", !7, i64 0, !12, i64 8, !12, i64 12, !12, i64 16}
!36 = !{!"s2n_handshake_parameters", !37, i64 0, !37, i64 48, !35, i64 96, !12, i64 120, !38, 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}
!37 = !{!"s2n_pkey", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !7, i64 40}
!38 = !{!"s2n_sig_scheme_list", !8, i64 0, !8, i64 256}
!39 = !{!"s2n_psk_parameters", !12, i64 0, !40, i64 8, !15, i64 40, !15, i64 42, !7, i64 48, !12, i64 56}
!40 = !{!"s2n_array", !35, i64 0, !12, i64 24, !12, i64 28}
!41 = !{!"s2n_stuffer", !35, i64 0, !12, i64 24, !12, i64 28, !12, i64 32, !12, i64 36, !12, i64 36, !12, i64 36}
!42 = !{!"", !12, i64 0}
!43 = !{!"s2n_handshake", !41, 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, !44, i64 176, !12, i64 184, !12, i64 184, !12, i64 184, !12, i64 184, !12, i64 188}
!44 = !{!"s2n_offered_early_data", !7, i64 0}
!45 = !{!"s2n_client_hello", !35, i64 0, !46, i64 24, !35, i64 728, !35, i64 752, !35, 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}
!46 = !{!"", !8, i64 0, !35, i64 672, !15, i64 696}
!47 = !{!"s2n_ticket_fields", !35, i64 0, !12, i64 24}
!48 = !{!"s2n_post_handshake", !41, i64 0, !8, i64 40}
!49 = !{!50, !7, i64 256}
!50 = !{!"s2n_config", !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, !7, i64 8, !7, i64 16, !51, i64 24, !35, i64 56, !7, i64 80, !7, i64 88, !7, i64 96, !7, i64 104, !7, i64 112, !7, i64 120, !12, i64 128, !12, i64 132, !7, i64 136, !28, i64 144, !7, i64 152, !28, i64 160, !28, i64 168, !7, i64 176, !7, i64 184, !7, i64 192, !7, i64 200, !7, i64 208, !7, i64 216, !12, i64 224, !8, i64 228, !12, i64 232, !12, i64 236, !7, i64 240, !7, i64 248, !7, i64 256, !7, i64 264, !7, i64 272, !7, i64 280, !7, i64 288, !8, i64 296, !8, i64 297, !52, i64 304, !15, i64 320, !7, i64 328, !7, i64 336, !7, i64 344, !7, i64 352, !7, i64 360, !7, i64 368, !7, i64 376, !7, i64 384, !12, i64 392, !12, i64 396, !12, i64 400, !7, i64 408, !12, i64 416, !12, i64 420, !7, i64 424, !7, i64 432, !12, i64 440, !35, i64 448}
!51 = !{!"certs_by_type", !8, i64 0}
!52 = !{!"s2n_x509_trust_store", !7, i64 0, !12, i64 8}
!53 = !{!50, !7, i64 264}
!54 = distinct !{!54, !23}


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