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

; 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_kem_params = type { ptr, %struct.s2n_blob, %struct.s2n_blob, %struct.s2n_blob, i8 }
%struct.s2n_blob = type { ptr, i32, i32, i8 }
%struct.s2n_kem = type { ptr, i32, i16, i16, i16, i16, i16, ptr, ptr, ptr }

@_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
@.str.33 = external hidden unnamed_addr constant [84 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [84 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [84 x i8], align 1

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

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

declare i32 @s2n_calculate_stacktrace() #2

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

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

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

; Function Attrs: nounwind uwtable
define dso_local i32 @s2n_kem_decapsulate(ptr noundef %0, ptr noundef %1) #4 {
  %3 = alloca %struct.s2n_result, align 4
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  br label %8

8:                                                ; preds = %2
  %9 = load ptr, ptr %4, align 8, !tbaa !5
  %10 = icmp ne ptr %9, null
  br i1 %10, label %43, label %11

11:                                               ; preds = %8
  br label %12

12:                                               ; preds = %11
  br label %13

13:                                               ; preds = %12
  %14 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %15 = getelementptr inbounds %struct.s2n_debug_info, ptr %14, i32 0, i32 0
  store ptr @.str.27, ptr %15, align 8, !tbaa !9
  %16 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %17 = getelementptr inbounds %struct.s2n_debug_info, ptr %16, i32 0, i32 0
  %18 = load ptr, ptr %17, align 8, !tbaa !9
  %19 = getelementptr inbounds i8, ptr %18, i64 21
  %20 = call ptr @strrchr(ptr noundef %19, i32 noundef 47) #5
  %21 = icmp ne ptr %20, null
  br i1 %21, label %22, label %29

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

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

34:                                               ; preds = %29, %22
  %35 = phi ptr [ %28, %22 ], [ %33, %29 ]
  %36 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %37 = getelementptr inbounds %struct.s2n_debug_info, ptr %36, i32 0, i32 1
  store ptr %35, ptr %37, align 8, !tbaa !11
  %38 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  store i32 402653193, ptr %38, align 4, !tbaa !12
  %39 = call i32 @s2n_calculate_stacktrace()
  br label %40

40:                                               ; preds = %34
  %41 = getelementptr inbounds %struct.s2n_result, ptr %3, i32 0, i32 0
  store i32 -1, ptr %41, align 4, !tbaa !14
  br label %418

42:                                               ; No predecessors!
  br label %43

43:                                               ; preds = %42, %8
  br label %44

44:                                               ; preds = %43
  br label %45

45:                                               ; preds = %44
  %46 = load ptr, ptr %4, align 8, !tbaa !5
  %47 = getelementptr inbounds %struct.s2n_kem_params, ptr %46, i32 0, i32 0
  %48 = load ptr, ptr %47, align 8, !tbaa !16
  %49 = icmp ne ptr %48, null
  br i1 %49, label %82, label %50

50:                                               ; preds = %45
  br label %51

51:                                               ; preds = %50
  br label %52

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

61:                                               ; preds = %52
  %62 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %63 = getelementptr inbounds %struct.s2n_debug_info, ptr %62, i32 0, i32 0
  %64 = load ptr, ptr %63, align 8, !tbaa !9
  %65 = getelementptr inbounds i8, ptr %64, i64 21
  %66 = call ptr @strrchr(ptr noundef %65, i32 noundef 47) #5
  %67 = getelementptr inbounds i8, ptr %66, i64 1
  br label %73

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

73:                                               ; preds = %68, %61
  %74 = phi ptr [ %67, %61 ], [ %72, %68 ]
  %75 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %76 = getelementptr inbounds %struct.s2n_debug_info, ptr %75, i32 0, i32 1
  store ptr %74, ptr %76, align 8, !tbaa !11
  %77 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  store i32 402653193, ptr %77, align 4, !tbaa !12
  %78 = call i32 @s2n_calculate_stacktrace()
  br label %79

79:                                               ; preds = %73
  %80 = getelementptr inbounds %struct.s2n_result, ptr %3, i32 0, i32 0
  store i32 -1, ptr %80, align 4, !tbaa !14
  br label %418

81:                                               ; No predecessors!
  br label %82

82:                                               ; preds = %81, %45
  br label %83

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

87:                                               ; preds = %83
  %88 = load ptr, ptr %6, align 8, !tbaa !5
  %89 = getelementptr inbounds %struct.s2n_kem, ptr %88, i32 0, i32 9
  %90 = load ptr, ptr %89, align 8, !tbaa !20
  %91 = icmp ne ptr %90, null
  br i1 %91, label %126, label %92

92:                                               ; preds = %87
  br label %93

93:                                               ; preds = %92
  br label %94

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

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

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

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

121:                                              ; preds = %115
  br label %122

122:                                              ; preds = %121
  %123 = getelementptr inbounds %struct.s2n_result, ptr %3, i32 0, i32 0
  store i32 -1, ptr %123, align 4, !tbaa !14
  store i32 1, ptr %7, align 4
  br label %417

124:                                              ; No predecessors!
  br label %125

125:                                              ; preds = %124
  br label %126

126:                                              ; preds = %125, %87
  br label %127

127:                                              ; preds = %126
  br label %128

128:                                              ; preds = %127
  br label %129

129:                                              ; preds = %128
  %130 = load ptr, ptr %4, align 8, !tbaa !5
  %131 = getelementptr inbounds %struct.s2n_kem_params, ptr %130, i32 0, i32 2
  %132 = getelementptr inbounds %struct.s2n_blob, ptr %131, i32 0, i32 1
  %133 = load i32, ptr %132, align 8, !tbaa !23
  %134 = load ptr, ptr %6, align 8, !tbaa !5
  %135 = getelementptr inbounds %struct.s2n_kem, ptr %134, i32 0, i32 4
  %136 = load i16, ptr %135, align 8, !tbaa !24
  %137 = zext i16 %136 to i32
  %138 = icmp eq i32 %133, %137
  br i1 %138, label %173, label %139

139:                                              ; preds = %129
  br label %140

140:                                              ; preds = %139
  br label %141

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

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

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

162:                                              ; preds = %157, %150
  %163 = phi ptr [ %156, %150 ], [ %161, %157 ]
  %164 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %165 = getelementptr inbounds %struct.s2n_debug_info, ptr %164, i32 0, i32 1
  store ptr %163, ptr %165, align 8, !tbaa !11
  %166 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  store i32 402653194, ptr %166, align 4, !tbaa !12
  %167 = call i32 @s2n_calculate_stacktrace()
  br label %168

168:                                              ; preds = %162
  br label %169

169:                                              ; preds = %168
  %170 = getelementptr inbounds %struct.s2n_result, ptr %3, i32 0, i32 0
  store i32 -1, ptr %170, align 4, !tbaa !14
  store i32 1, ptr %7, align 4
  br label %417

171:                                              ; No predecessors!
  br label %172

172:                                              ; preds = %171
  br label %173

173:                                              ; preds = %172, %129
  br label %174

174:                                              ; preds = %173
  br label %175

175:                                              ; preds = %174
  br label %176

176:                                              ; preds = %175
  %177 = load ptr, ptr %4, align 8, !tbaa !5
  %178 = getelementptr inbounds %struct.s2n_kem_params, ptr %177, i32 0, i32 2
  %179 = getelementptr inbounds %struct.s2n_blob, ptr %178, i32 0, i32 0
  %180 = load ptr, ptr %179, align 8, !tbaa !25
  %181 = icmp ne ptr %180, null
  br i1 %181, label %216, label %182

182:                                              ; preds = %176
  br label %183

183:                                              ; preds = %182
  br label %184

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

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

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

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

211:                                              ; preds = %205
  br label %212

212:                                              ; preds = %211
  %213 = getelementptr inbounds %struct.s2n_result, ptr %3, i32 0, i32 0
  store i32 -1, ptr %213, align 4, !tbaa !14
  store i32 1, ptr %7, align 4
  br label %417

214:                                              ; No predecessors!
  br label %215

215:                                              ; preds = %214
  br label %216

216:                                              ; preds = %215, %176
  br label %217

217:                                              ; preds = %216
  br label %218

218:                                              ; preds = %217
  br label %219

219:                                              ; preds = %218
  %220 = load ptr, ptr %5, align 8, !tbaa !5
  %221 = icmp ne ptr %220, null
  br i1 %221, label %256, label %222

222:                                              ; preds = %219
  br label %223

223:                                              ; preds = %222
  br label %224

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

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

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

245:                                              ; preds = %240, %233
  %246 = phi ptr [ %239, %233 ], [ %244, %240 ]
  %247 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %248 = getelementptr inbounds %struct.s2n_debug_info, ptr %247, i32 0, i32 1
  store ptr %246, ptr %248, align 8, !tbaa !11
  %249 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  store i32 402653193, ptr %249, align 4, !tbaa !12
  %250 = call i32 @s2n_calculate_stacktrace()
  br label %251

251:                                              ; preds = %245
  br label %252

252:                                              ; preds = %251
  %253 = getelementptr inbounds %struct.s2n_result, ptr %3, i32 0, i32 0
  store i32 -1, ptr %253, align 4, !tbaa !14
  store i32 1, ptr %7, align 4
  br label %417

254:                                              ; No predecessors!
  br label %255

255:                                              ; preds = %254
  br label %256

256:                                              ; preds = %255, %219
  br label %257

257:                                              ; preds = %256
  br label %258

258:                                              ; preds = %257
  br label %259

259:                                              ; preds = %258
  %260 = load ptr, ptr %5, align 8, !tbaa !5
  %261 = getelementptr inbounds %struct.s2n_blob, ptr %260, i32 0, i32 0
  %262 = load ptr, ptr %261, align 8, !tbaa !26
  %263 = icmp ne ptr %262, null
  br i1 %263, label %298, label %264

264:                                              ; preds = %259
  br label %265

265:                                              ; preds = %264
  br label %266

266:                                              ; preds = %265
  %267 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %268 = getelementptr inbounds %struct.s2n_debug_info, ptr %267, i32 0, i32 0
  store ptr @.str.33, ptr %268, align 8, !tbaa !9
  %269 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %270 = getelementptr inbounds %struct.s2n_debug_info, ptr %269, i32 0, i32 0
  %271 = load ptr, ptr %270, align 8, !tbaa !9
  %272 = getelementptr inbounds i8, ptr %271, i64 21
  %273 = call ptr @strrchr(ptr noundef %272, i32 noundef 47) #5
  %274 = icmp ne ptr %273, null
  br i1 %274, label %275, label %282

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

282:                                              ; preds = %266
  %283 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %284 = getelementptr inbounds %struct.s2n_debug_info, ptr %283, i32 0, i32 0
  %285 = load ptr, ptr %284, align 8, !tbaa !9
  %286 = getelementptr inbounds i8, ptr %285, i64 21
  br label %287

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

293:                                              ; preds = %287
  br label %294

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

296:                                              ; No predecessors!
  br label %297

297:                                              ; preds = %296
  br label %298

298:                                              ; preds = %297, %259
  br label %299

299:                                              ; preds = %298
  br label %300

300:                                              ; preds = %299
  br label %301

301:                                              ; preds = %300
  %302 = load ptr, ptr %5, align 8, !tbaa !5
  %303 = getelementptr inbounds %struct.s2n_blob, ptr %302, i32 0, i32 1
  %304 = load i32, ptr %303, align 8, !tbaa !27
  %305 = load ptr, ptr %6, align 8, !tbaa !5
  %306 = getelementptr inbounds %struct.s2n_kem, ptr %305, i32 0, i32 6
  %307 = load i16, ptr %306, align 4, !tbaa !28
  %308 = zext i16 %307 to i32
  %309 = icmp eq i32 %304, %308
  br i1 %309, label %344, label %310

310:                                              ; preds = %301
  br label %311

311:                                              ; preds = %310
  br label %312

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

321:                                              ; preds = %312
  %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) #5
  %327 = getelementptr inbounds i8, ptr %326, i64 1
  br label %333

328:                                              ; preds = %312
  %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
  br label %333

333:                                              ; preds = %328, %321
  %334 = phi ptr [ %327, %321 ], [ %332, %328 ]
  %335 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %336 = getelementptr inbounds %struct.s2n_debug_info, ptr %335, i32 0, i32 1
  store ptr %334, ptr %336, align 8, !tbaa !11
  %337 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  store i32 402653194, ptr %337, align 4, !tbaa !12
  %338 = call i32 @s2n_calculate_stacktrace()
  br label %339

339:                                              ; preds = %333
  br label %340

340:                                              ; preds = %339
  %341 = getelementptr inbounds %struct.s2n_result, ptr %3, i32 0, i32 0
  store i32 -1, ptr %341, align 4, !tbaa !14
  store i32 1, ptr %7, align 4
  br label %417

342:                                              ; No predecessors!
  br label %343

343:                                              ; preds = %342
  br label %344

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

345:                                              ; preds = %344
  br label %346

346:                                              ; preds = %345
  br label %347

347:                                              ; preds = %346
  %348 = load ptr, ptr %4, align 8, !tbaa !5
  %349 = getelementptr inbounds %struct.s2n_kem_params, ptr %348, i32 0, i32 3
  %350 = load ptr, ptr %6, align 8, !tbaa !5
  %351 = getelementptr inbounds %struct.s2n_kem, ptr %350, i32 0, i32 5
  %352 = load i16, ptr %351, align 2, !tbaa !29
  %353 = zext i16 %352 to i32
  %354 = call i32 @s2n_alloc(ptr noundef %349, i32 noundef %353)
  %355 = icmp sgt i32 %354, -1
  br i1 %355, label %358, label %356

356:                                              ; preds = %347
  %357 = getelementptr inbounds %struct.s2n_result, ptr %3, i32 0, i32 0
  store i32 -1, ptr %357, align 4, !tbaa !14
  store i32 1, ptr %7, align 4
  br label %417

358:                                              ; preds = %347
  br label %359

359:                                              ; preds = %358
  br label %360

360:                                              ; preds = %359
  br label %361

361:                                              ; preds = %360
  %362 = load ptr, ptr %6, align 8, !tbaa !5
  %363 = getelementptr inbounds %struct.s2n_kem, ptr %362, i32 0, i32 9
  %364 = load ptr, ptr %363, align 8, !tbaa !20
  %365 = load ptr, ptr %6, align 8, !tbaa !5
  %366 = load ptr, ptr %4, align 8, !tbaa !5
  %367 = getelementptr inbounds %struct.s2n_kem_params, ptr %366, i32 0, i32 3
  %368 = getelementptr inbounds %struct.s2n_blob, ptr %367, i32 0, i32 0
  %369 = load ptr, ptr %368, align 8, !tbaa !30
  %370 = load ptr, ptr %5, align 8, !tbaa !5
  %371 = getelementptr inbounds %struct.s2n_blob, ptr %370, i32 0, i32 0
  %372 = load ptr, ptr %371, align 8, !tbaa !26
  %373 = load ptr, ptr %4, align 8, !tbaa !5
  %374 = getelementptr inbounds %struct.s2n_kem_params, ptr %373, i32 0, i32 2
  %375 = getelementptr inbounds %struct.s2n_blob, ptr %374, i32 0, i32 0
  %376 = load ptr, ptr %375, align 8, !tbaa !25
  %377 = call i32 %364(ptr noundef %365, ptr noundef %369, ptr noundef %372, ptr noundef %376)
  %378 = icmp eq i32 %377, 0
  br i1 %378, label %413, label %379

379:                                              ; preds = %361
  br label %380

380:                                              ; preds = %379
  br label %381

381:                                              ; preds = %380
  %382 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %383 = getelementptr inbounds %struct.s2n_debug_info, ptr %382, i32 0, i32 0
  store ptr @.str.35, ptr %383, align 8, !tbaa !9
  %384 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %385 = getelementptr inbounds %struct.s2n_debug_info, ptr %384, i32 0, i32 0
  %386 = load ptr, ptr %385, align 8, !tbaa !9
  %387 = getelementptr inbounds i8, ptr %386, i64 21
  %388 = call ptr @strrchr(ptr noundef %387, i32 noundef 47) #5
  %389 = icmp ne ptr %388, null
  br i1 %389, label %390, label %397

390:                                              ; preds = %381
  %391 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %392 = getelementptr inbounds %struct.s2n_debug_info, ptr %391, i32 0, i32 0
  %393 = load ptr, ptr %392, align 8, !tbaa !9
  %394 = getelementptr inbounds i8, ptr %393, i64 21
  %395 = call ptr @strrchr(ptr noundef %394, i32 noundef 47) #5
  %396 = getelementptr inbounds i8, ptr %395, i64 1
  br label %402

397:                                              ; preds = %381
  %398 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %399 = getelementptr inbounds %struct.s2n_debug_info, ptr %398, i32 0, i32 0
  %400 = load ptr, ptr %399, align 8, !tbaa !9
  %401 = getelementptr inbounds i8, ptr %400, i64 21
  br label %402

402:                                              ; preds = %397, %390
  %403 = phi ptr [ %396, %390 ], [ %401, %397 ]
  %404 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %405 = getelementptr inbounds %struct.s2n_debug_info, ptr %404, i32 0, i32 1
  store ptr %403, ptr %405, align 8, !tbaa !11
  %406 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  store i32 402653260, ptr %406, align 4, !tbaa !12
  %407 = call i32 @s2n_calculate_stacktrace()
  br label %408

408:                                              ; preds = %402
  br label %409

409:                                              ; preds = %408
  %410 = getelementptr inbounds %struct.s2n_result, ptr %3, i32 0, i32 0
  store i32 -1, ptr %410, align 4, !tbaa !14
  store i32 1, ptr %7, align 4
  br label %417

411:                                              ; No predecessors!
  br label %412

412:                                              ; preds = %411
  br label %413

413:                                              ; preds = %412, %361
  br label %414

414:                                              ; preds = %413
  br label %415

415:                                              ; preds = %414
  %416 = getelementptr inbounds %struct.s2n_result, ptr %3, i32 0, i32 0
  store i32 0, ptr %416, align 4, !tbaa !14
  store i32 1, ptr %7, align 4
  br label %417

417:                                              ; preds = %415, %409, %356, %340, %294, %252, %212, %169, %122
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #6
  br label %418

418:                                              ; preds = %417, %79, %40
  %419 = getelementptr inbounds %struct.s2n_result, ptr %3, i32 0, i32 0
  %420 = load i32, ptr %419, align 4
  ret i32 %420
}

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"s2n_debug_info", !6, i64 0, !6, i64 8}
!11 = !{!10, !6, i64 8}
!12 = !{!13, !13, i64 0}
!13 = !{!"int", !7, i64 0}
!14 = !{!15, !13, i64 0}
!15 = !{!"", !13, i64 0}
!16 = !{!17, !6, i64 0}
!17 = !{!"s2n_kem_params", !6, i64 0, !18, i64 8, !18, i64 32, !18, i64 56, !19, i64 80}
!18 = !{!"s2n_blob", !6, i64 0, !13, i64 8, !13, i64 12, !13, i64 16}
!19 = !{!"_Bool", !7, i64 0}
!20 = !{!21, !6, i64 40}
!21 = !{!"s2n_kem", !6, i64 0, !13, i64 8, !22, i64 12, !22, i64 14, !22, i64 16, !22, i64 18, !22, i64 20, !6, i64 24, !6, i64 32, !6, i64 40}
!22 = !{!"short", !7, i64 0}
!23 = !{!17, !13, i64 40}
!24 = !{!21, !22, i64 16}
!25 = !{!17, !6, i64 32}
!26 = !{!18, !6, i64 0}
!27 = !{!18, !13, i64 8}
!28 = !{!21, !22, i64 20}
!29 = !{!21, !22, i64 18}
!30 = !{!17, !6, i64 56}


; 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
@.str.33 = external hidden unnamed_addr constant [84 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [84 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [84 x i8], align 1

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

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

declare i32 @s2n_calculate_stacktrace() local_unnamed_addr #2

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

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

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

5:                                                ; preds = %3
  %6 = getelementptr inbounds i8, ptr %4, i64 40
  %7 = load ptr, ptr %6, align 8, !tbaa !13
  %.not32 = icmp eq ptr %7, null
  br i1 %.not32, label %.sink.split, label %8

8:                                                ; preds = %5
  %9 = getelementptr inbounds i8, ptr %0, i64 32
  %10 = getelementptr inbounds i8, ptr %0, i64 40
  %11 = load i32, ptr %10, align 8, !tbaa !16
  %12 = getelementptr inbounds i8, ptr %4, i64 16
  %13 = load i16, ptr %12, align 8, !tbaa !17
  %14 = zext i16 %13 to i32
  %15 = icmp eq i32 %11, %14
  br i1 %15, label %16, label %.sink.split

16:                                               ; preds = %8
  %17 = load ptr, ptr %9, align 8, !tbaa !18
  %.not35 = icmp eq ptr %17, null
  br i1 %.not35, label %.sink.split, label %18

18:                                               ; preds = %16
  %.not37 = icmp eq ptr %1, null
  br i1 %.not37, label %.sink.split, label %19

19:                                               ; preds = %18
  %20 = load ptr, ptr %1, align 8, !tbaa !19
  %.not39 = icmp eq ptr %20, null
  br i1 %.not39, label %.sink.split, label %21

21:                                               ; preds = %19
  %22 = getelementptr inbounds i8, ptr %1, i64 8
  %23 = load i32, ptr %22, align 8, !tbaa !20
  %24 = getelementptr inbounds i8, ptr %4, i64 20
  %25 = load i16, ptr %24, align 4, !tbaa !21
  %26 = zext i16 %25 to i32
  %27 = icmp eq i32 %23, %26
  br i1 %27, label %28, label %.sink.split

28:                                               ; preds = %21
  %29 = getelementptr inbounds i8, ptr %0, i64 56
  %30 = getelementptr inbounds i8, ptr %4, i64 18
  %31 = load i16, ptr %30, align 2, !tbaa !22
  %32 = zext i16 %31 to i32
  %33 = tail call i32 @s2n_alloc(ptr noundef nonnull %29, i32 noundef %32) #4
  %34 = icmp sgt i32 %33, -1
  br i1 %34, label %35, label %49

35:                                               ; preds = %28
  %36 = load ptr, ptr %6, align 8, !tbaa !13
  %37 = load ptr, ptr %29, align 8, !tbaa !23
  %38 = load ptr, ptr %1, align 8, !tbaa !19
  %39 = load ptr, ptr %9, align 8, !tbaa !18
  %40 = tail call i32 %36(ptr noundef nonnull %4, ptr noundef %37, ptr noundef %38, ptr noundef %39) #4
  %41 = icmp eq i32 %40, 0
  br i1 %41, label %49, label %.sink.split

.sink.split:                                      ; preds = %35, %21, %19, %18, %16, %8, %5, %3, %2
  %.str.29.sink = phi ptr [ @.str.27, %2 ], [ @.str.28, %3 ], [ @.str.29, %5 ], [ @.str.30, %8 ], [ @.str.31, %16 ], [ @.str.32, %18 ], [ @.str.33, %19 ], [ @.str.34, %21 ], [ @.str.35, %35 ]
  %.sink51 = phi ptr [ getelementptr inbounds (i8, ptr @.str.27, i64 21), %2 ], [ getelementptr inbounds (i8, ptr @.str.28, i64 21), %3 ], [ getelementptr inbounds (i8, ptr @.str.29, i64 21), %5 ], [ getelementptr inbounds (i8, ptr @.str.30, i64 21), %8 ], [ getelementptr inbounds (i8, ptr @.str.31, i64 21), %16 ], [ getelementptr inbounds (i8, ptr @.str.32, i64 21), %18 ], [ getelementptr inbounds (i8, ptr @.str.33, i64 21), %19 ], [ getelementptr inbounds (i8, ptr @.str.34, i64 21), %21 ], [ getelementptr inbounds (i8, ptr @.str.35, i64 21), %35 ]
  %.sink = phi i32 [ 402653193, %2 ], [ 402653193, %3 ], [ 402653193, %5 ], [ 402653194, %8 ], [ 402653193, %16 ], [ 402653193, %18 ], [ 402653193, %19 ], [ 402653194, %21 ], [ 402653260, %35 ]
  %42 = tail call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  store ptr %.str.29.sink, ptr %42, align 8, !tbaa !24
  %43 = tail call ptr @strrchr(ptr noundef nonnull dereferenceable(1) %.sink51, i32 noundef 47) #5
  %.not33 = icmp eq ptr %43, null
  %44 = getelementptr inbounds i8, ptr %43, i64 1
  %45 = select i1 %.not33, ptr %.sink51, ptr %44
  %46 = getelementptr inbounds i8, ptr %42, i64 8
  store ptr %45, ptr %46, align 8, !tbaa !26
  %47 = tail call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  store i32 %.sink, ptr %47, align 4, !tbaa !27
  %48 = tail call i32 @s2n_calculate_stacktrace() #4
  br label %49

49:                                               ; preds = %.sink.split, %28, %35
  %.sroa.0.1 = phi i32 [ -1, %28 ], [ 0, %35 ], [ -1, %.sink.split ]
  ret i32 %.sroa.0.1
}

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"s2n_kem_params", !7, i64 0, !10, i64 8, !10, i64 32, !10, i64 56, !12, i64 80}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"s2n_blob", !7, i64 0, !11, i64 8, !11, i64 12, !11, i64 16}
!11 = !{!"int", !8, i64 0}
!12 = !{!"_Bool", !8, i64 0}
!13 = !{!14, !7, i64 40}
!14 = !{!"s2n_kem", !7, i64 0, !11, i64 8, !15, i64 12, !15, i64 14, !15, i64 16, !15, i64 18, !15, i64 20, !7, i64 24, !7, i64 32, !7, i64 40}
!15 = !{!"short", !8, i64 0}
!16 = !{!6, !11, i64 40}
!17 = !{!14, !15, i64 16}
!18 = !{!6, !7, i64 32}
!19 = !{!10, !7, i64 0}
!20 = !{!10, !11, i64 8}
!21 = !{!14, !15, i64 20}
!22 = !{!14, !15, i64 18}
!23 = !{!6, !7, i64 56}
!24 = !{!25, !7, i64 0}
!25 = !{!"s2n_debug_info", !7, i64 0, !7, i64 8}
!26 = !{!25, !7, i64 8}
!27 = !{!11, !11, i64 0}


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