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

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

@.str = external hidden unnamed_addr constant [96 x i8], align 1
@_s2n_debug_info = external thread_local global %struct.s2n_debug_info, align 8
@s2n_errno = external thread_local global i32, align 4
@.str.1 = external hidden unnamed_addr constant [96 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [96 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [96 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [96 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [97 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local i32 @s2n_record_parse_aead(ptr noundef %0, ptr noundef %1, i8 noundef zeroext %2, i16 noundef zeroext %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7) #0 {
  %9 = alloca i32, align 4
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca i8, align 1
  %13 = alloca i16, align 2
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca ptr, align 8
  %17 = alloca ptr, align 8
  %18 = alloca i32, align 4
  %19 = alloca i64, align 8
  %20 = alloca [13 x i8], align 1
  %21 = alloca i32, align 4
  %22 = alloca %struct.s2n_blob, align 8
  %23 = alloca %struct.s2n_blob, align 8
  %24 = alloca [16 x i8], align 16
  %25 = alloca %struct.s2n_blob, align 8
  %26 = alloca %struct.s2n_stuffer, align 8
  %27 = alloca [4 x i8], align 1
  %28 = alloca i32, align 4
  %29 = alloca i16, align 2
  %30 = alloca %struct.s2n_result, align 4
  %31 = alloca %struct.s2n_result, align 4
  %32 = alloca %struct.s2n_blob, align 8
  store ptr %0, ptr %10, align 8, !tbaa !5
  store ptr %1, ptr %11, align 8, !tbaa !5
  store i8 %2, ptr %12, align 1, !tbaa !9
  store i16 %3, ptr %13, align 2, !tbaa !10
  store ptr %4, ptr %14, align 8, !tbaa !5
  store ptr %5, ptr %15, align 8, !tbaa !5
  store ptr %6, ptr %16, align 8, !tbaa !5
  store ptr %7, ptr %17, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #7
  %33 = load ptr, ptr %10, align 8, !tbaa !5
  %34 = getelementptr inbounds %struct.s2n_cipher_suite, ptr %33, i32 0, i32 6
  %35 = load ptr, ptr %34, align 8, !tbaa !12
  %36 = getelementptr inbounds %struct.s2n_record_algorithm, ptr %35, i32 0, i32 2
  %37 = load i32, ptr %36, align 4, !tbaa !15
  %38 = and i32 %37, 4
  store i32 %38, ptr %18, align 4, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #7
  %39 = load i32, ptr %18, align 4, !tbaa !18
  %40 = icmp ne i32 %39, 0
  %41 = zext i1 %40 to i64
  %42 = select i1 %40, i32 5, i32 13
  %43 = sext i32 %42 to i64
  store i64 %43, ptr %19, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 13, ptr %20) #7
  call void @llvm.memset.p0.i64(ptr align 1 %20, i8 0, i64 13, i1 false)
  br label %44

44:                                               ; preds = %8
  %45 = load i64, ptr %19, align 8, !tbaa !19
  %46 = icmp ule i64 %45, 13
  br i1 %46, label %80, label %47

47:                                               ; preds = %44
  br label %48

48:                                               ; preds = %47
  br label %49

49:                                               ; preds = %48
  %50 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %51 = getelementptr inbounds %struct.s2n_debug_info, ptr %50, i32 0, i32 0
  store ptr @.str, ptr %51, align 8, !tbaa !20
  %52 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %53 = getelementptr inbounds %struct.s2n_debug_info, ptr %52, i32 0, i32 0
  %54 = load ptr, ptr %53, align 8, !tbaa !20
  %55 = getelementptr inbounds i8, ptr %54, i64 21
  %56 = call ptr @strrchr(ptr noundef %55, i32 noundef 47) #8
  %57 = icmp ne ptr %56, null
  br i1 %57, label %58, label %65

58:                                               ; preds = %49
  %59 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %60 = getelementptr inbounds %struct.s2n_debug_info, ptr %59, i32 0, i32 0
  %61 = load ptr, ptr %60, align 8, !tbaa !20
  %62 = getelementptr inbounds i8, ptr %61, i64 21
  %63 = call ptr @strrchr(ptr noundef %62, i32 noundef 47) #8
  %64 = getelementptr inbounds i8, ptr %63, i64 1
  br label %70

65:                                               ; preds = %49
  %66 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %67 = getelementptr inbounds %struct.s2n_debug_info, ptr %66, i32 0, i32 0
  %68 = load ptr, ptr %67, align 8, !tbaa !20
  %69 = getelementptr inbounds i8, ptr %68, i64 21
  br label %70

70:                                               ; preds = %65, %58
  %71 = phi ptr [ %64, %58 ], [ %69, %65 ]
  %72 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %73 = getelementptr inbounds %struct.s2n_debug_info, ptr %72, i32 0, i32 1
  store ptr %71, ptr %73, align 8, !tbaa !22
  %74 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  store i32 402653194, ptr %74, align 4, !tbaa !18
  %75 = call i32 @s2n_calculate_stacktrace()
  br label %76

76:                                               ; preds = %70
  br label %77

77:                                               ; preds = %76
  store i32 -1, ptr %9, align 4
  store i32 1, ptr %21, align 4
  br label %652

78:                                               ; No predecessors!
  br label %79

79:                                               ; preds = %78
  br label %80

80:                                               ; preds = %79, %44
  br label %81

81:                                               ; preds = %80
  br label %82

82:                                               ; preds = %81
  call void @llvm.lifetime.start.p0(i64 24, ptr %22) #7
  call void @llvm.memset.p0.i64(ptr align 8 %22, i8 0, i64 24, i1 false)
  br label %83

83:                                               ; preds = %82
  %84 = getelementptr inbounds [13 x i8], ptr %20, i64 0, i64 0
  %85 = load i64, ptr %19, align 8, !tbaa !19
  %86 = trunc i64 %85 to i32
  %87 = call i32 @s2n_blob_init(ptr noundef %22, ptr noundef %84, i32 noundef %86)
  %88 = icmp sgt i32 %87, -1
  br i1 %88, label %90, label %89

89:                                               ; preds = %83
  store i32 -1, ptr %9, align 4
  store i32 1, ptr %21, align 4
  br label %651

90:                                               ; preds = %83
  br label %91

91:                                               ; preds = %90
  br label %92

92:                                               ; preds = %91
  call void @llvm.lifetime.start.p0(i64 24, ptr %23) #7
  call void @llvm.memset.p0.i64(ptr align 8 %23, i8 0, i64 24, i1 false)
  br label %93

93:                                               ; preds = %92
  %94 = load ptr, ptr %11, align 8, !tbaa !5
  %95 = getelementptr inbounds %struct.s2n_connection, ptr %94, i32 0, i32 40
  %96 = load i16, ptr %13, align 2, !tbaa !10
  %97 = zext i16 %96 to i32
  %98 = call ptr @s2n_stuffer_raw_read(ptr noundef %95, i32 noundef %97)
  %99 = load i16, ptr %13, align 2, !tbaa !10
  %100 = zext i16 %99 to i32
  %101 = call i32 @s2n_blob_init(ptr noundef %23, ptr noundef %98, i32 noundef %100)
  %102 = icmp sgt i32 %101, -1
  br i1 %102, label %104, label %103

103:                                              ; preds = %93
  store i32 -1, ptr %9, align 4
  store i32 1, ptr %21, align 4
  br label %650

104:                                              ; preds = %93
  br label %105

105:                                              ; preds = %104
  br label %106

106:                                              ; preds = %105
  br label %107

107:                                              ; preds = %106
  %108 = getelementptr inbounds %struct.s2n_blob, ptr %23, i32 0, i32 0
  %109 = load ptr, ptr %108, align 8, !tbaa !23
  %110 = icmp ne ptr %109, null
  br i1 %110, label %144, label %111

111:                                              ; preds = %107
  br label %112

112:                                              ; preds = %111
  br label %113

113:                                              ; preds = %112
  %114 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %115 = getelementptr inbounds %struct.s2n_debug_info, ptr %114, i32 0, i32 0
  store ptr @.str.1, ptr %115, align 8, !tbaa !20
  %116 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %117 = getelementptr inbounds %struct.s2n_debug_info, ptr %116, i32 0, i32 0
  %118 = load ptr, ptr %117, align 8, !tbaa !20
  %119 = getelementptr inbounds i8, ptr %118, i64 21
  %120 = call ptr @strrchr(ptr noundef %119, i32 noundef 47) #8
  %121 = icmp ne ptr %120, null
  br i1 %121, label %122, label %129

122:                                              ; preds = %113
  %123 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %124 = getelementptr inbounds %struct.s2n_debug_info, ptr %123, i32 0, i32 0
  %125 = load ptr, ptr %124, align 8, !tbaa !20
  %126 = getelementptr inbounds i8, ptr %125, i64 21
  %127 = call ptr @strrchr(ptr noundef %126, i32 noundef 47) #8
  %128 = getelementptr inbounds i8, ptr %127, i64 1
  br label %134

129:                                              ; preds = %113
  %130 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %131 = getelementptr inbounds %struct.s2n_debug_info, ptr %130, i32 0, i32 0
  %132 = load ptr, ptr %131, align 8, !tbaa !20
  %133 = getelementptr inbounds i8, ptr %132, i64 21
  br label %134

134:                                              ; preds = %129, %122
  %135 = phi ptr [ %128, %122 ], [ %133, %129 ]
  %136 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %137 = getelementptr inbounds %struct.s2n_debug_info, ptr %136, i32 0, i32 1
  store ptr %135, ptr %137, align 8, !tbaa !22
  %138 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  store i32 402653193, ptr %138, align 4, !tbaa !18
  %139 = call i32 @s2n_calculate_stacktrace()
  br label %140

140:                                              ; preds = %134
  br label %141

141:                                              ; preds = %140
  store i32 -1, ptr %9, align 4
  store i32 1, ptr %21, align 4
  br label %650

142:                                              ; No predecessors!
  br label %143

143:                                              ; preds = %142
  br label %144

144:                                              ; preds = %143, %107
  br label %145

145:                                              ; preds = %144
  br label %146

146:                                              ; preds = %145
  br label %147

147:                                              ; preds = %146
  %148 = getelementptr inbounds %struct.s2n_blob, ptr %23, i32 0, i32 1
  %149 = load i32, ptr %148, align 8, !tbaa !25
  %150 = load ptr, ptr %10, align 8, !tbaa !5
  %151 = getelementptr inbounds %struct.s2n_cipher_suite, ptr %150, i32 0, i32 6
  %152 = load ptr, ptr %151, align 8, !tbaa !12
  %153 = getelementptr inbounds %struct.s2n_record_algorithm, ptr %152, i32 0, i32 0
  %154 = load ptr, ptr %153, align 8, !tbaa !26
  %155 = getelementptr inbounds %struct.s2n_cipher, ptr %154, i32 0, i32 1
  %156 = getelementptr inbounds %struct.s2n_aead_cipher, ptr %155, i32 0, i32 1
  %157 = load i8, ptr %156, align 1, !tbaa !9
  %158 = zext i8 %157 to i32
  %159 = icmp uge i32 %149, %158
  br i1 %159, label %193, label %160

160:                                              ; preds = %147
  br label %161

161:                                              ; preds = %160
  br label %162

162:                                              ; preds = %161
  %163 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %164 = getelementptr inbounds %struct.s2n_debug_info, ptr %163, i32 0, i32 0
  store ptr @.str.2, ptr %164, align 8, !tbaa !20
  %165 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %166 = getelementptr inbounds %struct.s2n_debug_info, ptr %165, i32 0, i32 0
  %167 = load ptr, ptr %166, align 8, !tbaa !20
  %168 = getelementptr inbounds i8, ptr %167, i64 21
  %169 = call ptr @strrchr(ptr noundef %168, i32 noundef 47) #8
  %170 = icmp ne ptr %169, null
  br i1 %170, label %171, label %178

171:                                              ; preds = %162
  %172 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %173 = getelementptr inbounds %struct.s2n_debug_info, ptr %172, i32 0, i32 0
  %174 = load ptr, ptr %173, align 8, !tbaa !20
  %175 = getelementptr inbounds i8, ptr %174, i64 21
  %176 = call ptr @strrchr(ptr noundef %175, i32 noundef 47) #8
  %177 = getelementptr inbounds i8, ptr %176, i64 1
  br label %183

178:                                              ; preds = %162
  %179 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %180 = getelementptr inbounds %struct.s2n_debug_info, ptr %179, i32 0, i32 0
  %181 = load ptr, ptr %180, align 8, !tbaa !20
  %182 = getelementptr inbounds i8, ptr %181, i64 21
  br label %183

183:                                              ; preds = %178, %171
  %184 = phi ptr [ %177, %171 ], [ %182, %178 ]
  %185 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %186 = getelementptr inbounds %struct.s2n_debug_info, ptr %185, i32 0, i32 1
  store ptr %184, ptr %186, align 8, !tbaa !22
  %187 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  store i32 402653194, ptr %187, align 4, !tbaa !18
  %188 = call i32 @s2n_calculate_stacktrace()
  br label %189

189:                                              ; preds = %183
  br label %190

190:                                              ; preds = %189
  store i32 -1, ptr %9, align 4
  store i32 1, ptr %21, align 4
  br label %650

191:                                              ; No predecessors!
  br label %192

192:                                              ; preds = %191
  br label %193

193:                                              ; preds = %192, %147
  br label %194

194:                                              ; preds = %193
  br label %195

195:                                              ; preds = %194
  call void @llvm.lifetime.start.p0(i64 16, ptr %24) #7
  call void @llvm.memset.p0.i64(ptr align 16 %24, i8 0, i64 16, i1 false)
  call void @llvm.lifetime.start.p0(i64 24, ptr %25) #7
  call void @llvm.memset.p0.i64(ptr align 8 %25, i8 0, i64 24, i1 false)
  br label %196

196:                                              ; preds = %195
  %197 = getelementptr inbounds [16 x i8], ptr %24, i64 0, i64 0
  %198 = call i32 @s2n_blob_init(ptr noundef %25, ptr noundef %197, i32 noundef 16)
  %199 = icmp sgt i32 %198, -1
  br i1 %199, label %201, label %200

200:                                              ; preds = %196
  store i32 -1, ptr %9, align 4
  store i32 1, ptr %21, align 4
  br label %649

201:                                              ; preds = %196
  br label %202

202:                                              ; preds = %201
  br label %203

203:                                              ; preds = %202
  call void @llvm.lifetime.start.p0(i64 40, ptr %26) #7
  call void @llvm.memset.p0.i64(ptr align 8 %26, i8 0, i64 40, i1 false)
  br label %204

204:                                              ; preds = %203
  %205 = call i32 @s2n_stuffer_init(ptr noundef %26, ptr noundef %25)
  %206 = icmp sgt i32 %205, -1
  br i1 %206, label %208, label %207

207:                                              ; preds = %204
  store i32 -1, ptr %9, align 4
  store i32 1, ptr %21, align 4
  br label %648

208:                                              ; preds = %204
  br label %209

209:                                              ; preds = %208
  br label %210

210:                                              ; preds = %209
  %211 = load ptr, ptr %10, align 8, !tbaa !5
  %212 = getelementptr inbounds %struct.s2n_cipher_suite, ptr %211, i32 0, i32 6
  %213 = load ptr, ptr %212, align 8, !tbaa !12
  %214 = getelementptr inbounds %struct.s2n_record_algorithm, ptr %213, i32 0, i32 2
  %215 = load i32, ptr %214, align 4, !tbaa !15
  %216 = and i32 %215, 1
  %217 = icmp ne i32 %216, 0
  br i1 %217, label %218, label %254

218:                                              ; preds = %210
  br label %219

219:                                              ; preds = %218
  %220 = load ptr, ptr %14, align 8, !tbaa !5
  %221 = load ptr, ptr %10, align 8, !tbaa !5
  %222 = getelementptr inbounds %struct.s2n_cipher_suite, ptr %221, i32 0, i32 6
  %223 = load ptr, ptr %222, align 8, !tbaa !12
  %224 = getelementptr inbounds %struct.s2n_record_algorithm, ptr %223, i32 0, i32 0
  %225 = load ptr, ptr %224, align 8, !tbaa !26
  %226 = getelementptr inbounds %struct.s2n_cipher, ptr %225, i32 0, i32 1
  %227 = getelementptr inbounds %struct.s2n_aead_cipher, ptr %226, i32 0, i32 0
  %228 = load i8, ptr %227, align 8, !tbaa !9
  %229 = zext i8 %228 to i32
  %230 = call i32 @s2n_stuffer_write_bytes(ptr noundef %26, ptr noundef %220, i32 noundef %229)
  %231 = icmp sgt i32 %230, -1
  br i1 %231, label %233, label %232

232:                                              ; preds = %219
  store i32 -1, ptr %9, align 4
  store i32 1, ptr %21, align 4
  br label %648

233:                                              ; preds = %219
  br label %234

234:                                              ; preds = %233
  br label %235

235:                                              ; preds = %234
  br label %236

236:                                              ; preds = %235
  %237 = getelementptr inbounds %struct.s2n_blob, ptr %23, i32 0, i32 0
  %238 = load ptr, ptr %237, align 8, !tbaa !23
  %239 = load ptr, ptr %10, align 8, !tbaa !5
  %240 = getelementptr inbounds %struct.s2n_cipher_suite, ptr %239, i32 0, i32 6
  %241 = load ptr, ptr %240, align 8, !tbaa !12
  %242 = getelementptr inbounds %struct.s2n_record_algorithm, ptr %241, i32 0, i32 0
  %243 = load ptr, ptr %242, align 8, !tbaa !26
  %244 = getelementptr inbounds %struct.s2n_cipher, ptr %243, i32 0, i32 1
  %245 = getelementptr inbounds %struct.s2n_aead_cipher, ptr %244, i32 0, i32 1
  %246 = load i8, ptr %245, align 1, !tbaa !9
  %247 = zext i8 %246 to i32
  %248 = call i32 @s2n_stuffer_write_bytes(ptr noundef %26, ptr noundef %238, i32 noundef %247)
  %249 = icmp sgt i32 %248, -1
  br i1 %249, label %251, label %250

250:                                              ; preds = %236
  store i32 -1, ptr %9, align 4
  store i32 1, ptr %21, align 4
  br label %648

251:                                              ; preds = %236
  br label %252

252:                                              ; preds = %251
  br label %253

253:                                              ; preds = %252
  br label %353

254:                                              ; preds = %210
  %255 = load ptr, ptr %10, align 8, !tbaa !5
  %256 = getelementptr inbounds %struct.s2n_cipher_suite, ptr %255, i32 0, i32 6
  %257 = load ptr, ptr %256, align 8, !tbaa !12
  %258 = getelementptr inbounds %struct.s2n_record_algorithm, ptr %257, i32 0, i32 2
  %259 = load i32, ptr %258, align 4, !tbaa !15
  %260 = and i32 %259, 2
  %261 = icmp ne i32 %260, 0
  br i1 %261, label %265, label %262

262:                                              ; preds = %254
  %263 = load i32, ptr %18, align 4, !tbaa !18
  %264 = icmp ne i32 %263, 0
  br i1 %264, label %265, label %319

265:                                              ; preds = %262, %254
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #7
  call void @llvm.memset.p0.i64(ptr align 1 %27, i8 0, i64 4, i1 false)
  br label %266

266:                                              ; preds = %265
  %267 = getelementptr inbounds [4 x i8], ptr %27, i64 0, i64 0
  %268 = call i32 @s2n_stuffer_write_bytes(ptr noundef %26, ptr noundef %267, i32 noundef 4)
  %269 = icmp sgt i32 %268, -1
  br i1 %269, label %271, label %270

270:                                              ; preds = %266
  store i32 -1, ptr %9, align 4
  store i32 1, ptr %21, align 4
  br label %316

271:                                              ; preds = %266
  br label %272

272:                                              ; preds = %271
  br label %273

273:                                              ; preds = %272
  br label %274

274:                                              ; preds = %273
  %275 = load ptr, ptr %16, align 8, !tbaa !5
  %276 = call i32 @s2n_stuffer_write_bytes(ptr noundef %26, ptr noundef %275, i32 noundef 8)
  %277 = icmp sgt i32 %276, -1
  br i1 %277, label %279, label %278

278:                                              ; preds = %274
  store i32 -1, ptr %9, align 4
  store i32 1, ptr %21, align 4
  br label %316

279:                                              ; preds = %274
  br label %280

280:                                              ; preds = %279
  br label %281

281:                                              ; preds = %280
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #7
  store i32 0, ptr %28, align 4, !tbaa !18
  br label %282

282:                                              ; preds = %312, %281
  %283 = load i32, ptr %28, align 4, !tbaa !18
  %284 = load ptr, ptr %10, align 8, !tbaa !5
  %285 = getelementptr inbounds %struct.s2n_cipher_suite, ptr %284, i32 0, i32 6
  %286 = load ptr, ptr %285, align 8, !tbaa !12
  %287 = getelementptr inbounds %struct.s2n_record_algorithm, ptr %286, i32 0, i32 0
  %288 = load ptr, ptr %287, align 8, !tbaa !26
  %289 = getelementptr inbounds %struct.s2n_cipher, ptr %288, i32 0, i32 1
  %290 = getelementptr inbounds %struct.s2n_aead_cipher, ptr %289, i32 0, i32 0
  %291 = load i8, ptr %290, align 8, !tbaa !9
  %292 = zext i8 %291 to i32
  %293 = icmp slt i32 %283, %292
  br i1 %293, label %295, label %294

294:                                              ; preds = %282
  store i32 36, ptr %21, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #7
  br label %315

295:                                              ; preds = %282
  %296 = load i32, ptr %28, align 4, !tbaa !18
  %297 = sext i32 %296 to i64
  %298 = getelementptr inbounds [16 x i8], ptr %24, i64 0, i64 %297
  %299 = load i8, ptr %298, align 1, !tbaa !9
  %300 = zext i8 %299 to i32
  %301 = load ptr, ptr %14, align 8, !tbaa !5
  %302 = load i32, ptr %28, align 4, !tbaa !18
  %303 = sext i32 %302 to i64
  %304 = getelementptr inbounds i8, ptr %301, i64 %303
  %305 = load i8, ptr %304, align 1, !tbaa !9
  %306 = zext i8 %305 to i32
  %307 = xor i32 %300, %306
  %308 = trunc i32 %307 to i8
  %309 = load i32, ptr %28, align 4, !tbaa !18
  %310 = sext i32 %309 to i64
  %311 = getelementptr inbounds [16 x i8], ptr %24, i64 0, i64 %310
  store i8 %308, ptr %311, align 1, !tbaa !9
  br label %312

312:                                              ; preds = %295
  %313 = load i32, ptr %28, align 4, !tbaa !18
  %314 = add nsw i32 %313, 1
  store i32 %314, ptr %28, align 4, !tbaa !18
  br label %282, !llvm.loop !27

315:                                              ; preds = %294
  store i32 0, ptr %21, align 4
  br label %316

316:                                              ; preds = %315, %278, %270
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #7
  %317 = load i32, ptr %21, align 4
  switch i32 %317, label %648 [
    i32 0, label %318
  ]

318:                                              ; preds = %316
  br label %352

319:                                              ; preds = %262
  br label %320

320:                                              ; preds = %319
  br label %321

321:                                              ; preds = %320
  %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
  store ptr @.str.3, ptr %323, align 8, !tbaa !20
  %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 !20
  %327 = getelementptr inbounds i8, ptr %326, i64 21
  %328 = call ptr @strrchr(ptr noundef %327, i32 noundef 47) #8
  %329 = icmp ne ptr %328, null
  br i1 %329, label %330, label %337

330:                                              ; preds = %321
  %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 !20
  %334 = getelementptr inbounds i8, ptr %333, i64 21
  %335 = call ptr @strrchr(ptr noundef %334, i32 noundef 47) #8
  %336 = getelementptr inbounds i8, ptr %335, i64 1
  br label %342

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

342:                                              ; preds = %337, %330
  %343 = phi ptr [ %336, %330 ], [ %341, %337 ]
  %344 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %345 = getelementptr inbounds %struct.s2n_debug_info, ptr %344, i32 0, i32 1
  store ptr %343, ptr %345, align 8, !tbaa !22
  %346 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  store i32 402653230, ptr %346, align 4, !tbaa !18
  %347 = call i32 @s2n_calculate_stacktrace()
  br label %348

348:                                              ; preds = %342
  br label %349

349:                                              ; preds = %348
  store i32 -1, ptr %9, align 4
  store i32 1, ptr %21, align 4
  br label %648

350:                                              ; No predecessors!
  br label %351

351:                                              ; preds = %350
  br label %352

352:                                              ; preds = %351, %318
  br label %353

353:                                              ; preds = %352, %253
  %354 = getelementptr inbounds %struct.s2n_stuffer, ptr %26, i32 0, i32 2
  %355 = load i32, ptr %354, align 4, !tbaa !29
  %356 = getelementptr inbounds %struct.s2n_stuffer, ptr %26, i32 0, i32 1
  %357 = load i32, ptr %356, align 8, !tbaa !31
  %358 = sub i32 %355, %357
  %359 = getelementptr inbounds %struct.s2n_blob, ptr %25, i32 0, i32 1
  store i32 %358, ptr %359, align 8, !tbaa !25
  call void @llvm.lifetime.start.p0(i64 2, ptr %29) #7
  %360 = load i16, ptr %13, align 2, !tbaa !10
  store i16 %360, ptr %29, align 2, !tbaa !10
  br label %361

361:                                              ; preds = %353
  %362 = load i16, ptr %29, align 2, !tbaa !10
  %363 = zext i16 %362 to i32
  %364 = load ptr, ptr %10, align 8, !tbaa !5
  %365 = getelementptr inbounds %struct.s2n_cipher_suite, ptr %364, i32 0, i32 6
  %366 = load ptr, ptr %365, align 8, !tbaa !12
  %367 = getelementptr inbounds %struct.s2n_record_algorithm, ptr %366, i32 0, i32 0
  %368 = load ptr, ptr %367, align 8, !tbaa !26
  %369 = getelementptr inbounds %struct.s2n_cipher, ptr %368, i32 0, i32 1
  %370 = getelementptr inbounds %struct.s2n_aead_cipher, ptr %369, i32 0, i32 1
  %371 = load i8, ptr %370, align 1, !tbaa !9
  %372 = zext i8 %371 to i32
  %373 = load ptr, ptr %10, align 8, !tbaa !5
  %374 = getelementptr inbounds %struct.s2n_cipher_suite, ptr %373, i32 0, i32 6
  %375 = load ptr, ptr %374, align 8, !tbaa !12
  %376 = getelementptr inbounds %struct.s2n_record_algorithm, ptr %375, i32 0, i32 0
  %377 = load ptr, ptr %376, align 8, !tbaa !26
  %378 = getelementptr inbounds %struct.s2n_cipher, ptr %377, i32 0, i32 1
  %379 = getelementptr inbounds %struct.s2n_aead_cipher, ptr %378, i32 0, i32 2
  %380 = load i8, ptr %379, align 2, !tbaa !9
  %381 = zext i8 %380 to i32
  %382 = add nsw i32 %372, %381
  %383 = icmp sge i32 %363, %382
  br i1 %383, label %417, label %384

384:                                              ; preds = %361
  br label %385

385:                                              ; preds = %384
  br label %386

386:                                              ; preds = %385
  %387 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %388 = getelementptr inbounds %struct.s2n_debug_info, ptr %387, i32 0, i32 0
  store ptr @.str.4, ptr %388, align 8, !tbaa !20
  %389 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %390 = getelementptr inbounds %struct.s2n_debug_info, ptr %389, i32 0, i32 0
  %391 = load ptr, ptr %390, align 8, !tbaa !20
  %392 = getelementptr inbounds i8, ptr %391, i64 21
  %393 = call ptr @strrchr(ptr noundef %392, i32 noundef 47) #8
  %394 = icmp ne ptr %393, null
  br i1 %394, label %395, label %402

395:                                              ; preds = %386
  %396 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %397 = getelementptr inbounds %struct.s2n_debug_info, ptr %396, i32 0, i32 0
  %398 = load ptr, ptr %397, align 8, !tbaa !20
  %399 = getelementptr inbounds i8, ptr %398, i64 21
  %400 = call ptr @strrchr(ptr noundef %399, i32 noundef 47) #8
  %401 = getelementptr inbounds i8, ptr %400, i64 1
  br label %407

402:                                              ; preds = %386
  %403 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %404 = getelementptr inbounds %struct.s2n_debug_info, ptr %403, i32 0, i32 0
  %405 = load ptr, ptr %404, align 8, !tbaa !20
  %406 = getelementptr inbounds i8, ptr %405, i64 21
  br label %407

407:                                              ; preds = %402, %395
  %408 = phi ptr [ %401, %395 ], [ %406, %402 ]
  %409 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %410 = getelementptr inbounds %struct.s2n_debug_info, ptr %409, i32 0, i32 1
  store ptr %408, ptr %410, align 8, !tbaa !22
  %411 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  store i32 402653194, ptr %411, align 4, !tbaa !18
  %412 = call i32 @s2n_calculate_stacktrace()
  br label %413

413:                                              ; preds = %407
  br label %414

414:                                              ; preds = %413
  store i32 -1, ptr %9, align 4
  store i32 1, ptr %21, align 4
  br label %647

415:                                              ; No predecessors!
  br label %416

416:                                              ; preds = %415
  br label %417

417:                                              ; preds = %416, %361
  br label %418

418:                                              ; preds = %417
  br label %419

419:                                              ; preds = %418
  %420 = load ptr, ptr %10, align 8, !tbaa !5
  %421 = getelementptr inbounds %struct.s2n_cipher_suite, ptr %420, i32 0, i32 6
  %422 = load ptr, ptr %421, align 8, !tbaa !12
  %423 = getelementptr inbounds %struct.s2n_record_algorithm, ptr %422, i32 0, i32 0
  %424 = load ptr, ptr %423, align 8, !tbaa !26
  %425 = getelementptr inbounds %struct.s2n_cipher, ptr %424, i32 0, i32 1
  %426 = getelementptr inbounds %struct.s2n_aead_cipher, ptr %425, i32 0, i32 1
  %427 = load i8, ptr %426, align 1, !tbaa !9
  %428 = zext i8 %427 to i32
  %429 = load i16, ptr %29, align 2, !tbaa !10
  %430 = zext i16 %429 to i32
  %431 = sub nsw i32 %430, %428
  %432 = trunc i32 %431 to i16
  store i16 %432, ptr %29, align 2, !tbaa !10
  %433 = load ptr, ptr %10, align 8, !tbaa !5
  %434 = getelementptr inbounds %struct.s2n_cipher_suite, ptr %433, i32 0, i32 6
  %435 = load ptr, ptr %434, align 8, !tbaa !12
  %436 = getelementptr inbounds %struct.s2n_record_algorithm, ptr %435, i32 0, i32 0
  %437 = load ptr, ptr %436, align 8, !tbaa !26
  %438 = getelementptr inbounds %struct.s2n_cipher, ptr %437, i32 0, i32 1
  %439 = getelementptr inbounds %struct.s2n_aead_cipher, ptr %438, i32 0, i32 2
  %440 = load i8, ptr %439, align 2, !tbaa !9
  %441 = zext i8 %440 to i32
  %442 = load i16, ptr %29, align 2, !tbaa !10
  %443 = zext i16 %442 to i32
  %444 = sub nsw i32 %443, %441
  %445 = trunc i32 %444 to i16
  store i16 %445, ptr %29, align 2, !tbaa !10
  %446 = load i32, ptr %18, align 4, !tbaa !18
  %447 = icmp ne i32 %446, 0
  br i1 %447, label %448, label %468

448:                                              ; preds = %419
  br label %449

449:                                              ; preds = %448
  %450 = load i16, ptr %29, align 2, !tbaa !10
  %451 = load ptr, ptr %10, align 8, !tbaa !5
  %452 = getelementptr inbounds %struct.s2n_cipher_suite, ptr %451, i32 0, i32 6
  %453 = load ptr, ptr %452, align 8, !tbaa !12
  %454 = getelementptr inbounds %struct.s2n_record_algorithm, ptr %453, i32 0, i32 0
  %455 = load ptr, ptr %454, align 8, !tbaa !26
  %456 = getelementptr inbounds %struct.s2n_cipher, ptr %455, i32 0, i32 1
  %457 = getelementptr inbounds %struct.s2n_aead_cipher, ptr %456, i32 0, i32 2
  %458 = load i8, ptr %457, align 2, !tbaa !9
  %459 = call i32 @s2n_tls13_aead_aad_init(i16 noundef zeroext %450, i8 noundef zeroext %458, ptr noundef %22)
  %460 = getelementptr inbounds %struct.s2n_result, ptr %30, i32 0, i32 0
  store i32 %459, ptr %460, align 4
  %461 = getelementptr inbounds %struct.s2n_result, ptr %30, i32 0, i32 0
  %462 = load i32, ptr %461, align 4
  %463 = call zeroext i1 @s2n_result_is_ok(i32 %462)
  br i1 %463, label %465, label %464

464:                                              ; preds = %449
  store i32 -1, ptr %9, align 4
  store i32 1, ptr %21, align 4
  br label %647

465:                                              ; preds = %449
  br label %466

466:                                              ; preds = %465
  br label %467

467:                                              ; preds = %466
  br label %483

468:                                              ; preds = %419
  br label %469

469:                                              ; preds = %468
  %470 = load ptr, ptr %11, align 8, !tbaa !5
  %471 = load ptr, ptr %16, align 8, !tbaa !5
  %472 = load i8, ptr %12, align 1, !tbaa !9
  %473 = load i16, ptr %29, align 2, !tbaa !10
  %474 = call i32 @s2n_aead_aad_init(ptr noundef %470, ptr noundef %471, i8 noundef zeroext %472, i16 noundef zeroext %473, ptr noundef %22)
  %475 = getelementptr inbounds %struct.s2n_result, ptr %31, i32 0, i32 0
  store i32 %474, ptr %475, align 4
  %476 = getelementptr inbounds %struct.s2n_result, ptr %31, i32 0, i32 0
  %477 = load i32, ptr %476, align 4
  %478 = call zeroext i1 @s2n_result_is_ok(i32 %477)
  br i1 %478, label %480, label %479

479:                                              ; preds = %469
  store i32 -1, ptr %9, align 4
  store i32 1, ptr %21, align 4
  br label %647

480:                                              ; preds = %469
  br label %481

481:                                              ; preds = %480
  br label %482

482:                                              ; preds = %481
  br label %483

483:                                              ; preds = %482, %467
  %484 = load ptr, ptr %10, align 8, !tbaa !5
  %485 = getelementptr inbounds %struct.s2n_cipher_suite, ptr %484, i32 0, i32 6
  %486 = load ptr, ptr %485, align 8, !tbaa !12
  %487 = getelementptr inbounds %struct.s2n_record_algorithm, ptr %486, i32 0, i32 0
  %488 = load ptr, ptr %487, align 8, !tbaa !26
  %489 = getelementptr inbounds %struct.s2n_cipher, ptr %488, i32 0, i32 1
  %490 = getelementptr inbounds %struct.s2n_aead_cipher, ptr %489, i32 0, i32 1
  %491 = load i8, ptr %490, align 1, !tbaa !9
  %492 = zext i8 %491 to i32
  %493 = getelementptr inbounds %struct.s2n_blob, ptr %23, i32 0, i32 1
  %494 = load i32, ptr %493, align 8, !tbaa !25
  %495 = sub i32 %494, %492
  store i32 %495, ptr %493, align 8, !tbaa !25
  %496 = load ptr, ptr %10, align 8, !tbaa !5
  %497 = getelementptr inbounds %struct.s2n_cipher_suite, ptr %496, i32 0, i32 6
  %498 = load ptr, ptr %497, align 8, !tbaa !12
  %499 = getelementptr inbounds %struct.s2n_record_algorithm, ptr %498, i32 0, i32 0
  %500 = load ptr, ptr %499, align 8, !tbaa !26
  %501 = getelementptr inbounds %struct.s2n_cipher, ptr %500, i32 0, i32 1
  %502 = getelementptr inbounds %struct.s2n_aead_cipher, ptr %501, i32 0, i32 1
  %503 = load i8, ptr %502, align 1, !tbaa !9
  %504 = zext i8 %503 to i32
  %505 = getelementptr inbounds %struct.s2n_blob, ptr %23, i32 0, i32 0
  %506 = load ptr, ptr %505, align 8, !tbaa !23
  %507 = sext i32 %504 to i64
  %508 = getelementptr inbounds i8, ptr %506, i64 %507
  store ptr %508, ptr %505, align 8, !tbaa !23
  br label %509

509:                                              ; preds = %483
  %510 = getelementptr inbounds %struct.s2n_blob, ptr %23, i32 0, i32 1
  %511 = load i32, ptr %510, align 8, !tbaa !25
  %512 = icmp ne i32 %511, 0
  br i1 %512, label %546, label %513

513:                                              ; preds = %509
  br label %514

514:                                              ; preds = %513
  br label %515

515:                                              ; preds = %514
  %516 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %517 = getelementptr inbounds %struct.s2n_debug_info, ptr %516, i32 0, i32 0
  store ptr @.str.5, ptr %517, align 8, !tbaa !20
  %518 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %519 = getelementptr inbounds %struct.s2n_debug_info, ptr %518, i32 0, i32 0
  %520 = load ptr, ptr %519, align 8, !tbaa !20
  %521 = getelementptr inbounds i8, ptr %520, i64 21
  %522 = call ptr @strrchr(ptr noundef %521, i32 noundef 47) #8
  %523 = icmp ne ptr %522, null
  br i1 %523, label %524, label %531

524:                                              ; preds = %515
  %525 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %526 = getelementptr inbounds %struct.s2n_debug_info, ptr %525, i32 0, i32 0
  %527 = load ptr, ptr %526, align 8, !tbaa !20
  %528 = getelementptr inbounds i8, ptr %527, i64 21
  %529 = call ptr @strrchr(ptr noundef %528, i32 noundef 47) #8
  %530 = getelementptr inbounds i8, ptr %529, i64 1
  br label %536

531:                                              ; preds = %515
  %532 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %533 = getelementptr inbounds %struct.s2n_debug_info, ptr %532, i32 0, i32 0
  %534 = load ptr, ptr %533, align 8, !tbaa !20
  %535 = getelementptr inbounds i8, ptr %534, i64 21
  br label %536

536:                                              ; preds = %531, %524
  %537 = phi ptr [ %530, %524 ], [ %535, %531 ]
  %538 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %539 = getelementptr inbounds %struct.s2n_debug_info, ptr %538, i32 0, i32 1
  store ptr %537, ptr %539, align 8, !tbaa !22
  %540 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  store i32 402653194, ptr %540, align 4, !tbaa !18
  %541 = call i32 @s2n_calculate_stacktrace()
  br label %542

542:                                              ; preds = %536
  br label %543

543:                                              ; preds = %542
  store i32 -1, ptr %9, align 4
  store i32 1, ptr %21, align 4
  br label %647

544:                                              ; No predecessors!
  br label %545

545:                                              ; preds = %544
  br label %546

546:                                              ; preds = %545, %509
  br label %547

547:                                              ; preds = %546
  br label %548

548:                                              ; preds = %547
  br label %549

549:                                              ; preds = %548
  %550 = load ptr, ptr %10, align 8, !tbaa !5
  %551 = getelementptr inbounds %struct.s2n_cipher_suite, ptr %550, i32 0, i32 6
  %552 = load ptr, ptr %551, align 8, !tbaa !12
  %553 = getelementptr inbounds %struct.s2n_record_algorithm, ptr %552, i32 0, i32 0
  %554 = load ptr, ptr %553, align 8, !tbaa !26
  %555 = getelementptr inbounds %struct.s2n_cipher, ptr %554, i32 0, i32 1
  %556 = getelementptr inbounds %struct.s2n_aead_cipher, ptr %555, i32 0, i32 3
  %557 = load ptr, ptr %556, align 8, !tbaa !9
  %558 = load ptr, ptr %17, align 8, !tbaa !5
  %559 = call i32 %557(ptr noundef %558, ptr noundef %25, ptr noundef %22, ptr noundef %23, ptr noundef %23)
  %560 = icmp sgt i32 %559, -1
  br i1 %560, label %562, label %561

561:                                              ; preds = %549
  store i32 -1, ptr %9, align 4
  store i32 1, ptr %21, align 4
  br label %647

562:                                              ; preds = %549
  br label %563

563:                                              ; preds = %562
  br label %564

564:                                              ; preds = %563
  call void @llvm.lifetime.start.p0(i64 24, ptr %32) #7
  call void @llvm.memset.p0.i64(ptr align 8 %32, i8 0, i64 24, i1 false)
  br label %565

565:                                              ; preds = %564
  %566 = load ptr, ptr %16, align 8, !tbaa !5
  %567 = call i32 @s2n_blob_init(ptr noundef %32, ptr noundef %566, i32 noundef 8)
  %568 = icmp sgt i32 %567, -1
  br i1 %568, label %570, label %569

569:                                              ; preds = %565
  store i32 -1, ptr %9, align 4
  store i32 1, ptr %21, align 4
  br label %646

570:                                              ; preds = %565
  br label %571

571:                                              ; preds = %570
  br label %572

572:                                              ; preds = %571
  br label %573

573:                                              ; preds = %572
  %574 = call i32 @s2n_increment_sequence_number(ptr noundef %32)
  %575 = icmp sgt i32 %574, -1
  br i1 %575, label %577, label %576

576:                                              ; preds = %573
  store i32 -1, ptr %9, align 4
  store i32 1, ptr %21, align 4
  br label %646

577:                                              ; preds = %573
  br label %578

578:                                              ; preds = %577
  br label %579

579:                                              ; preds = %578
  br label %580

580:                                              ; preds = %579
  %581 = load ptr, ptr %11, align 8, !tbaa !5
  %582 = getelementptr inbounds %struct.s2n_connection, ptr %581, i32 0, i32 40
  %583 = call i32 @s2n_stuffer_reread(ptr noundef %582)
  %584 = icmp sgt i32 %583, -1
  br i1 %584, label %586, label %585

585:                                              ; preds = %580
  store i32 -1, ptr %9, align 4
  store i32 1, ptr %21, align 4
  br label %646

586:                                              ; preds = %580
  br label %587

587:                                              ; preds = %586
  br label %588

588:                                              ; preds = %587
  br label %589

589:                                              ; preds = %588
  %590 = load ptr, ptr %11, align 8, !tbaa !5
  %591 = getelementptr inbounds %struct.s2n_connection, ptr %590, i32 0, i32 38
  %592 = call i32 @s2n_stuffer_reread(ptr noundef %591)
  %593 = icmp sgt i32 %592, -1
  br i1 %593, label %595, label %594

594:                                              ; preds = %589
  store i32 -1, ptr %9, align 4
  store i32 1, ptr %21, align 4
  br label %646

595:                                              ; preds = %589
  br label %596

596:                                              ; preds = %595
  br label %597

597:                                              ; preds = %596
  %598 = load ptr, ptr %11, align 8, !tbaa !5
  %599 = getelementptr inbounds %struct.s2n_connection, ptr %598, i32 0, i32 23
  %600 = load i8, ptr %599, align 4, !tbaa !32
  %601 = zext i8 %600 to i32
  %602 = icmp sge i32 %601, 33
  br i1 %602, label %603, label %622

603:                                              ; preds = %597
  br label %604

604:                                              ; preds = %603
  %605 = load ptr, ptr %11, align 8, !tbaa !5
  %606 = getelementptr inbounds %struct.s2n_connection, ptr %605, i32 0, i32 40
  %607 = load ptr, ptr %10, align 8, !tbaa !5
  %608 = getelementptr inbounds %struct.s2n_cipher_suite, ptr %607, i32 0, i32 6
  %609 = load ptr, ptr %608, align 8, !tbaa !12
  %610 = getelementptr inbounds %struct.s2n_record_algorithm, ptr %609, i32 0, i32 0
  %611 = load ptr, ptr %610, align 8, !tbaa !26
  %612 = getelementptr inbounds %struct.s2n_cipher, ptr %611, i32 0, i32 1
  %613 = getelementptr inbounds %struct.s2n_aead_cipher, ptr %612, i32 0, i32 1
  %614 = load i8, ptr %613, align 1, !tbaa !9
  %615 = zext i8 %614 to i32
  %616 = call i32 @s2n_stuffer_skip_read(ptr noundef %606, i32 noundef %615)
  %617 = icmp sgt i32 %616, -1
  br i1 %617, label %619, label %618

618:                                              ; preds = %604
  store i32 -1, ptr %9, align 4
  store i32 1, ptr %21, align 4
  br label %646

619:                                              ; preds = %604
  br label %620

620:                                              ; preds = %619
  br label %621

621:                                              ; preds = %620
  br label %622

622:                                              ; preds = %621, %597
  br label %623

623:                                              ; preds = %622
  %624 = load ptr, ptr %11, align 8, !tbaa !5
  %625 = getelementptr inbounds %struct.s2n_connection, ptr %624, i32 0, i32 40
  %626 = load ptr, ptr %11, align 8, !tbaa !5
  %627 = getelementptr inbounds %struct.s2n_connection, ptr %626, i32 0, i32 40
  %628 = getelementptr inbounds %struct.s2n_stuffer, ptr %627, i32 0, i32 2
  %629 = load i32, ptr %628, align 4, !tbaa !56
  %630 = load ptr, ptr %11, align 8, !tbaa !5
  %631 = getelementptr inbounds %struct.s2n_connection, ptr %630, i32 0, i32 40
  %632 = getelementptr inbounds %struct.s2n_stuffer, ptr %631, i32 0, i32 1
  %633 = load i32, ptr %632, align 8, !tbaa !57
  %634 = sub i32 %629, %633
  %635 = load i16, ptr %29, align 2, !tbaa !10
  %636 = zext i16 %635 to i32
  %637 = sub i32 %634, %636
  %638 = call i32 @s2n_stuffer_wipe_n(ptr noundef %625, i32 noundef %637)
  %639 = icmp sgt i32 %638, -1
  br i1 %639, label %641, label %640

640:                                              ; preds = %623
  store i32 -1, ptr %9, align 4
  store i32 1, ptr %21, align 4
  br label %646

641:                                              ; preds = %623
  br label %642

642:                                              ; preds = %641
  br label %643

643:                                              ; preds = %642
  %644 = load ptr, ptr %11, align 8, !tbaa !5
  %645 = getelementptr inbounds %struct.s2n_connection, ptr %644, i32 0, i32 42
  store i32 1, ptr %645, align 8, !tbaa !58
  store i32 0, ptr %9, align 4
  store i32 1, ptr %21, align 4
  br label %646

646:                                              ; preds = %643, %640, %618, %594, %585, %576, %569
  call void @llvm.lifetime.end.p0(i64 24, ptr %32) #7
  br label %647

647:                                              ; preds = %646, %561, %543, %479, %464, %414
  call void @llvm.lifetime.end.p0(i64 2, ptr %29) #7
  br label %648

648:                                              ; preds = %647, %349, %316, %250, %232, %207
  call void @llvm.lifetime.end.p0(i64 40, ptr %26) #7
  br label %649

649:                                              ; preds = %648, %200
  call void @llvm.lifetime.end.p0(i64 24, ptr %25) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %24) #7
  br label %650

650:                                              ; preds = %649, %190, %141, %103
  call void @llvm.lifetime.end.p0(i64 24, ptr %23) #7
  br label %651

651:                                              ; preds = %650, %89
  call void @llvm.lifetime.end.p0(i64 24, ptr %22) #7
  br label %652

652:                                              ; preds = %651, %77
  call void @llvm.lifetime.end.p0(i64 13, ptr %20) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #7
  %653 = load i32, ptr %9, align 4
  ret i32 %653
}

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

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

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

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

declare i32 @s2n_calculate_stacktrace() #5

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

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

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

declare i32 @s2n_stuffer_write_bytes(ptr noundef, ptr noundef, i32 noundef) #5

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

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

declare i32 @s2n_tls13_aead_aad_init(i16 noundef zeroext, i8 noundef zeroext, ptr noundef) #5

declare i32 @s2n_aead_aad_init(ptr noundef, ptr noundef, i8 noundef zeroext, i16 noundef zeroext, ptr noundef) #5

declare i32 @s2n_increment_sequence_number(ptr noundef) #5

declare i32 @s2n_stuffer_reread(ptr noundef) #5

declare i32 @s2n_stuffer_skip_read(ptr noundef, i32 noundef) #5

declare i32 @s2n_stuffer_wipe_n(ptr noundef, i32 noundef) #5

attributes #0 = { 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 #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { 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 #5 = { "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 = { 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 #7 = { nounwind }
attributes #8 = { nounwind willreturn memory(read) }

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

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


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%struct.s2n_debug_info = type { ptr, ptr }
%struct.s2n_blob = type { ptr, i32, i32, i8 }
%struct.s2n_stuffer = type { %struct.s2n_blob, i32, i32, i32, i8 }

@_s2n_debug_info = external thread_local local_unnamed_addr global %struct.s2n_debug_info, align 8
@s2n_errno = external thread_local local_unnamed_addr global i32, align 4
@.str.1 = external hidden unnamed_addr constant [96 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [96 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [96 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [96 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [97 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local range(i32 -1, 1) i32 @s2n_record_parse_aead(ptr nocapture noundef readonly %0, ptr noundef %1, i8 noundef zeroext %2, i16 noundef zeroext %3, ptr noundef %4, ptr nocapture noundef readnone %5, ptr noundef %6, ptr noundef %7) local_unnamed_addr #0 {
  %9 = alloca [13 x i8], align 1
  %10 = alloca %struct.s2n_blob, align 8
  %11 = alloca %struct.s2n_blob, align 8
  %12 = alloca [16 x i8], align 16
  %13 = alloca %struct.s2n_blob, align 8
  %14 = alloca %struct.s2n_stuffer, align 8
  %15 = alloca [4 x i8], align 4
  %16 = alloca %struct.s2n_blob, align 8
  %17 = getelementptr inbounds i8, ptr %0, i64 48
  %18 = load ptr, ptr %17, align 8, !tbaa !5
  %19 = getelementptr inbounds i8, ptr %18, i64 12
  %20 = load i32, ptr %19, align 4, !tbaa !11
  %21 = and i32 %20, 4
  %.not67 = icmp eq i32 %21, 0
  call void @llvm.lifetime.start.p0(i64 13, ptr nonnull %9) #7
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 1 dereferenceable(13) %9, i8 0, i64 13, i1 false)
  %22 = select i1 %.not67, i32 13, i32 5
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %10) #7
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %10, i8 0, i64 24, i1 false)
  %23 = call i32 @s2n_blob_init(ptr noundef nonnull %10, ptr noundef nonnull %9, i32 noundef %22) #7
  %24 = icmp sgt i32 %23, -1
  br i1 %24, label %25, label %216

25:                                               ; preds = %8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %11) #7
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %11, i8 0, i64 24, i1 false)
  %26 = getelementptr inbounds i8, ptr %1, i64 1856
  %27 = zext i16 %3 to i32
  %28 = call ptr @s2n_stuffer_raw_read(ptr noundef nonnull %26, i32 noundef %27) #7
  %29 = call i32 @s2n_blob_init(ptr noundef nonnull %11, ptr noundef %28, i32 noundef %27) #7
  %30 = icmp sgt i32 %29, -1
  br i1 %30, label %31, label %215

31:                                               ; preds = %25
  %32 = load ptr, ptr %11, align 8, !tbaa !14
  %.not = icmp eq ptr %32, null
  br i1 %.not, label %33, label %41

33:                                               ; preds = %31
  %34 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  store ptr @.str.1, ptr %34, align 8, !tbaa !16
  %35 = call ptr @strrchr(ptr noundef nonnull dereferenceable(1) getelementptr inbounds (i8, ptr @.str.1, i64 21), i32 noundef 47) #8
  %.not63 = icmp eq ptr %35, null
  %36 = getelementptr inbounds i8, ptr %35, i64 1
  %37 = select i1 %.not63, ptr getelementptr inbounds (i8, ptr @.str.1, i64 21), ptr %36
  %38 = getelementptr inbounds i8, ptr %34, i64 8
  store ptr %37, ptr %38, align 8, !tbaa !18
  %39 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  store i32 402653193, ptr %39, align 4, !tbaa !19
  %40 = call i32 @s2n_calculate_stacktrace() #7
  br label %215

41:                                               ; preds = %31
  %42 = getelementptr inbounds i8, ptr %11, i64 8
  %43 = load i32, ptr %42, align 8, !tbaa !20
  %44 = load ptr, ptr %17, align 8, !tbaa !5
  %45 = load ptr, ptr %44, align 8, !tbaa !21
  %46 = getelementptr inbounds i8, ptr %45, i64 9
  %47 = load i8, ptr %46, align 1, !tbaa !22
  %48 = zext i8 %47 to i32
  %.not64 = icmp ult i32 %43, %48
  br i1 %.not64, label %49, label %57

49:                                               ; preds = %41
  %50 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  store ptr @.str.2, ptr %50, align 8, !tbaa !16
  %51 = call ptr @strrchr(ptr noundef nonnull dereferenceable(1) getelementptr inbounds (i8, ptr @.str.2, i64 21), i32 noundef 47) #8
  %.not65 = icmp eq ptr %51, null
  %52 = getelementptr inbounds i8, ptr %51, i64 1
  %53 = select i1 %.not65, ptr getelementptr inbounds (i8, ptr @.str.2, i64 21), ptr %52
  %54 = getelementptr inbounds i8, ptr %50, i64 8
  store ptr %53, ptr %54, align 8, !tbaa !18
  %55 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  store i32 402653194, ptr %55, align 4, !tbaa !19
  %56 = call i32 @s2n_calculate_stacktrace() #7
  br label %215

57:                                               ; preds = %41
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %12) #7
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %12, i8 0, i64 16, i1 false)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %13) #7
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %13, i8 0, i64 24, i1 false)
  %58 = call i32 @s2n_blob_init(ptr noundef nonnull %13, ptr noundef nonnull %12, i32 noundef 16) #7
  %59 = icmp sgt i32 %58, -1
  br i1 %59, label %60, label %214

60:                                               ; preds = %57
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %14) #7
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(40) %14, i8 0, i64 40, i1 false)
  %61 = call i32 @s2n_stuffer_init(ptr noundef nonnull %14, ptr noundef nonnull %13) #7
  %62 = icmp sgt i32 %61, -1
  br i1 %62, label %63, label %213

63:                                               ; preds = %60
  %64 = load ptr, ptr %17, align 8, !tbaa !5
  %65 = getelementptr inbounds i8, ptr %64, i64 12
  %66 = load i32, ptr %65, align 4, !tbaa !11
  %67 = and i32 %66, 1
  %.not66 = icmp eq i32 %67, 0
  br i1 %.not66, label %84, label %68

68:                                               ; preds = %63
  %69 = load ptr, ptr %64, align 8, !tbaa !21
  %70 = getelementptr inbounds i8, ptr %69, i64 8
  %71 = load i8, ptr %70, align 8, !tbaa !22
  %72 = zext i8 %71 to i32
  %73 = call i32 @s2n_stuffer_write_bytes(ptr noundef nonnull %14, ptr noundef %4, i32 noundef %72) #7
  %74 = icmp sgt i32 %73, -1
  br i1 %74, label %75, label %213

75:                                               ; preds = %68
  %76 = load ptr, ptr %11, align 8, !tbaa !14
  %77 = load ptr, ptr %17, align 8, !tbaa !5
  %78 = load ptr, ptr %77, align 8, !tbaa !21
  %79 = getelementptr inbounds i8, ptr %78, i64 9
  %80 = load i8, ptr %79, align 1, !tbaa !22
  %81 = zext i8 %80 to i32
  %82 = call i32 @s2n_stuffer_write_bytes(ptr noundef nonnull %14, ptr noundef %76, i32 noundef %81) #7
  %83 = icmp sgt i32 %82, -1
  br i1 %83, label %._crit_edge81, label %213

._crit_edge81:                                    ; preds = %75
  %.pre = load ptr, ptr %17, align 8, !tbaa !5
  %.pre82 = load ptr, ptr %.pre, align 8, !tbaa !21
  br label %116

84:                                               ; preds = %63
  %85 = and i32 %66, 2
  %86 = or disjoint i32 %85, %21
  %or.cond.not = icmp eq i32 %86, 0
  br i1 %or.cond.not, label %108, label %87

87:                                               ; preds = %84
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %15) #7
  store i32 0, ptr %15, align 4
  %88 = call i32 @s2n_stuffer_write_bytes(ptr noundef nonnull %14, ptr noundef nonnull %15, i32 noundef 4) #7
  %89 = icmp sgt i32 %88, -1
  br i1 %89, label %90, label %.critedge

90:                                               ; preds = %87
  %91 = call i32 @s2n_stuffer_write_bytes(ptr noundef nonnull %14, ptr noundef %6, i32 noundef 8) #7
  %92 = icmp sgt i32 %91, -1
  br i1 %92, label %.preheader, label %.critedge

.preheader:                                       ; preds = %90
  %93 = load ptr, ptr %17, align 8, !tbaa !5
  %94 = load ptr, ptr %93, align 8, !tbaa !21
  %95 = getelementptr inbounds i8, ptr %94, i64 8
  %96 = load i8, ptr %95, align 8, !tbaa !22
  %.not79 = icmp eq i8 %96, 0
  br i1 %.not79, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %.preheader, %.lr.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph ], [ 0, %.preheader ]
  %97 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 %indvars.iv
  %98 = load i8, ptr %97, align 1, !tbaa !22
  %99 = getelementptr inbounds i8, ptr %4, i64 %indvars.iv
  %100 = load i8, ptr %99, align 1, !tbaa !22
  %101 = xor i8 %100, %98
  store i8 %101, ptr %97, align 1, !tbaa !22
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %102 = load ptr, ptr %93, align 8, !tbaa !21
  %103 = getelementptr inbounds i8, ptr %102, i64 8
  %104 = load i8, ptr %103, align 8, !tbaa !22
  %105 = zext i8 %104 to i64
  %106 = icmp ult i64 %indvars.iv.next, %105
  br i1 %106, label %.lr.ph, label %._crit_edge, !llvm.loop !23

._crit_edge:                                      ; preds = %.lr.ph, %.preheader
  %107 = phi ptr [ %94, %.preheader ], [ %102, %.lr.ph ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %15) #7
  br label %116

108:                                              ; preds = %84
  %109 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  store ptr @.str.3, ptr %109, align 8, !tbaa !16
  %110 = call ptr @strrchr(ptr noundef nonnull dereferenceable(1) getelementptr inbounds (i8, ptr @.str.3, i64 21), i32 noundef 47) #8
  %.not68 = icmp eq ptr %110, null
  %111 = getelementptr inbounds i8, ptr %110, i64 1
  %112 = select i1 %.not68, ptr getelementptr inbounds (i8, ptr @.str.3, i64 21), ptr %111
  %113 = getelementptr inbounds i8, ptr %109, i64 8
  store ptr %112, ptr %113, align 8, !tbaa !18
  %114 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  store i32 402653230, ptr %114, align 4, !tbaa !19
  %115 = call i32 @s2n_calculate_stacktrace() #7
  br label %213

116:                                              ; preds = %._crit_edge81, %._crit_edge
  %117 = phi ptr [ %.pre82, %._crit_edge81 ], [ %107, %._crit_edge ]
  %118 = getelementptr inbounds i8, ptr %14, i64 28
  %119 = load i32, ptr %118, align 4, !tbaa !25
  %120 = getelementptr inbounds i8, ptr %14, i64 24
  %121 = load i32, ptr %120, align 8, !tbaa !27
  %122 = sub i32 %119, %121
  %123 = getelementptr inbounds i8, ptr %13, i64 8
  store i32 %122, ptr %123, align 8, !tbaa !20
  %124 = getelementptr inbounds i8, ptr %117, i64 9
  %125 = load i8, ptr %124, align 1, !tbaa !22
  %126 = zext i8 %125 to i32
  %127 = getelementptr inbounds i8, ptr %117, i64 10
  %128 = load i8, ptr %127, align 2, !tbaa !22
  %129 = zext i8 %128 to i32
  %130 = add nuw nsw i32 %129, %126
  %.not69 = icmp ugt i32 %130, %27
  br i1 %.not69, label %131, label %139

131:                                              ; preds = %116
  %132 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  store ptr @.str.4, ptr %132, align 8, !tbaa !16
  %133 = call ptr @strrchr(ptr noundef nonnull dereferenceable(1) getelementptr inbounds (i8, ptr @.str.4, i64 21), i32 noundef 47) #8
  %.not70 = icmp eq ptr %133, null
  %134 = getelementptr inbounds i8, ptr %133, i64 1
  %135 = select i1 %.not70, ptr getelementptr inbounds (i8, ptr @.str.4, i64 21), ptr %134
  %136 = getelementptr inbounds i8, ptr %132, i64 8
  store ptr %135, ptr %136, align 8, !tbaa !18
  %137 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  store i32 402653194, ptr %137, align 4, !tbaa !19
  %138 = call i32 @s2n_calculate_stacktrace() #7
  br label %213

139:                                              ; preds = %116
  %140 = zext i8 %125 to i16
  %141 = zext i8 %128 to i16
  %142 = add nuw nsw i16 %140, %141
  %143 = sub i16 %3, %142
  br i1 %.not67, label %147, label %144

144:                                              ; preds = %139
  %145 = call i32 @s2n_tls13_aead_aad_init(i16 noundef zeroext %143, i8 noundef zeroext %128, ptr noundef nonnull %10) #7
  %146 = call zeroext i1 @s2n_result_is_ok(i32 %145)
  br i1 %146, label %150, label %213

147:                                              ; preds = %139
  %148 = call i32 @s2n_aead_aad_init(ptr noundef %1, ptr noundef %6, i8 noundef zeroext %2, i16 noundef zeroext %143, ptr noundef nonnull %10) #7
  %149 = call zeroext i1 @s2n_result_is_ok(i32 %148)
  br i1 %149, label %150, label %213

150:                                              ; preds = %147, %144
  %151 = load ptr, ptr %17, align 8, !tbaa !5
  %152 = load ptr, ptr %151, align 8, !tbaa !21
  %153 = getelementptr inbounds i8, ptr %152, i64 9
  %154 = load i8, ptr %153, align 1, !tbaa !22
  %155 = zext i8 %154 to i32
  %156 = load i32, ptr %42, align 8, !tbaa !20
  %157 = sub i32 %156, %155
  store i32 %157, ptr %42, align 8, !tbaa !20
  %158 = load i8, ptr %153, align 1, !tbaa !22
  %159 = load ptr, ptr %11, align 8, !tbaa !14
  %160 = zext i8 %158 to i64
  %161 = getelementptr inbounds i8, ptr %159, i64 %160
  store ptr %161, ptr %11, align 8, !tbaa !14
  %.not71 = icmp eq i32 %156, %155
  br i1 %.not71, label %162, label %170

162:                                              ; preds = %150
  %163 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  store ptr @.str.5, ptr %163, align 8, !tbaa !16
  %164 = call ptr @strrchr(ptr noundef nonnull dereferenceable(1) getelementptr inbounds (i8, ptr @.str.5, i64 21), i32 noundef 47) #8
  %.not72 = icmp eq ptr %164, null
  %165 = getelementptr inbounds i8, ptr %164, i64 1
  %166 = select i1 %.not72, ptr getelementptr inbounds (i8, ptr @.str.5, i64 21), ptr %165
  %167 = getelementptr inbounds i8, ptr %163, i64 8
  store ptr %166, ptr %167, align 8, !tbaa !18
  %168 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  store i32 402653194, ptr %168, align 4, !tbaa !19
  %169 = call i32 @s2n_calculate_stacktrace() #7
  br label %213

170:                                              ; preds = %150
  %171 = getelementptr inbounds i8, ptr %152, i64 16
  %172 = load ptr, ptr %171, align 8, !tbaa !22
  %173 = call i32 %172(ptr noundef %7, ptr noundef nonnull %13, ptr noundef nonnull %10, ptr noundef nonnull %11, ptr noundef nonnull %11) #7
  %174 = icmp sgt i32 %173, -1
  br i1 %174, label %175, label %213

175:                                              ; preds = %170
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %16) #7
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %16, i8 0, i64 24, i1 false)
  %176 = call i32 @s2n_blob_init(ptr noundef nonnull %16, ptr noundef %6, i32 noundef 8) #7
  %177 = icmp sgt i32 %176, -1
  br i1 %177, label %178, label %212

178:                                              ; preds = %175
  %179 = call i32 @s2n_increment_sequence_number(ptr noundef nonnull %16) #7
  %180 = icmp sgt i32 %179, -1
  br i1 %180, label %181, label %212

181:                                              ; preds = %178
  %182 = call i32 @s2n_stuffer_reread(ptr noundef nonnull %26) #7
  %183 = icmp sgt i32 %182, -1
  br i1 %183, label %184, label %212

184:                                              ; preds = %181
  %185 = getelementptr inbounds i8, ptr %1, i64 1776
  %186 = call i32 @s2n_stuffer_reread(ptr noundef nonnull %185) #7
  %187 = icmp sgt i32 %186, -1
  br i1 %187, label %188, label %212

188:                                              ; preds = %184
  %189 = getelementptr inbounds i8, ptr %1, i64 220
  %190 = load i8, ptr %189, align 4, !tbaa !28
  %191 = icmp ugt i8 %190, 32
  br i1 %191, label %192, label %200

192:                                              ; preds = %188
  %193 = load ptr, ptr %17, align 8, !tbaa !5
  %194 = load ptr, ptr %193, align 8, !tbaa !21
  %195 = getelementptr inbounds i8, ptr %194, i64 9
  %196 = load i8, ptr %195, align 1, !tbaa !22
  %197 = zext i8 %196 to i32
  %198 = call i32 @s2n_stuffer_skip_read(ptr noundef nonnull %26, i32 noundef %197) #7
  %199 = icmp sgt i32 %198, -1
  br i1 %199, label %200, label %212

200:                                              ; preds = %188, %192
  %201 = getelementptr inbounds i8, ptr %1, i64 1884
  %202 = load i32, ptr %201, align 4, !tbaa !53
  %203 = getelementptr inbounds i8, ptr %1, i64 1880
  %204 = load i32, ptr %203, align 8, !tbaa !54
  %205 = zext i16 %143 to i32
  %206 = add i32 %204, %205
  %207 = sub i32 %202, %206
  %208 = call i32 @s2n_stuffer_wipe_n(ptr noundef nonnull %26, i32 noundef %207) #7
  %209 = icmp sgt i32 %208, -1
  br i1 %209, label %210, label %212

210:                                              ; preds = %200
  %211 = getelementptr inbounds i8, ptr %1, i64 1936
  store i32 1, ptr %211, align 8, !tbaa !55
  br label %212

212:                                              ; preds = %200, %192, %184, %181, %178, %175, %210
  %.1 = phi i32 [ 0, %210 ], [ -1, %175 ], [ -1, %178 ], [ -1, %181 ], [ -1, %184 ], [ -1, %192 ], [ -1, %200 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %16) #7
  br label %213

.critedge:                                        ; preds = %90, %87
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %15) #7
  br label %213

213:                                              ; preds = %131, %162, %212, %144, %147, %170, %.critedge, %75, %68, %60, %108
  %.3 = phi i32 [ -1, %108 ], [ -1, %60 ], [ -1, %68 ], [ -1, %75 ], [ -1, %.critedge ], [ %.1, %212 ], [ -1, %162 ], [ -1, %131 ], [ -1, %144 ], [ -1, %147 ], [ -1, %170 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %14) #7
  br label %214

214:                                              ; preds = %57, %213
  %.4 = phi i32 [ %.3, %213 ], [ -1, %57 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %13) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #7
  br label %215

215:                                              ; preds = %25, %214, %49, %33
  %.5 = phi i32 [ %.4, %214 ], [ -1, %49 ], [ -1, %33 ], [ -1, %25 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %11) #7
  br label %216

216:                                              ; preds = %8, %215
  %.6 = phi i32 [ %.5, %215 ], [ -1, %8 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #7
  call void @llvm.lifetime.end.p0(i64 13, ptr nonnull %9) #7
  ret i32 %.6
}

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

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

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

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

declare i32 @s2n_calculate_stacktrace() local_unnamed_addr #5

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

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

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

declare i32 @s2n_stuffer_write_bytes(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #5

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

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

declare i32 @s2n_tls13_aead_aad_init(i16 noundef zeroext, i8 noundef zeroext, ptr noundef) local_unnamed_addr #5

declare i32 @s2n_aead_aad_init(ptr noundef, ptr noundef, i8 noundef zeroext, i16 noundef zeroext, ptr noundef) local_unnamed_addr #5

declare i32 @s2n_increment_sequence_number(ptr noundef) local_unnamed_addr #5

declare i32 @s2n_stuffer_reread(ptr noundef) local_unnamed_addr #5

declare i32 @s2n_stuffer_skip_read(ptr noundef, i32 noundef) local_unnamed_addr #5

declare i32 @s2n_stuffer_wipe_n(ptr noundef, i32 noundef) local_unnamed_addr #5

attributes #0 = { 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 #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { 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 #5 = { "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 = { 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 #7 = { nounwind }
attributes #8 = { nounwind willreturn memory(read) }

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

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


; Effective O3 passes: BDCEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,ReassociatePass,SCCPPass,SROAPass,SimplifyCFGPass