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

; 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_pkey = type { ptr, ptr, ptr, ptr, ptr, ptr }
%struct.s2n_hash_state = type { ptr, i32, i8, i64, %union.anon }
%union.anon = type { %struct.s2n_hash_evp_digest }
%struct.s2n_hash_evp_digest = type { %struct.s2n_evp_digest, %struct.s2n_evp_digest }
%struct.s2n_evp_digest = type { ptr, ptr }

@_s2n_debug_info = external thread_local global %struct.s2n_debug_info, align 8
@s2n_errno = external thread_local global i32, align 4
@.str.6 = external hidden unnamed_addr constant [92 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [92 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [92 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [92 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [92 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [92 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [92 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: nounwind uwtable
declare hidden ptr @s2n_evp_pkey_ctx_new(ptr noundef, i32 noundef) #4

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

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

declare ptr @s2n_hash_alg_to_evp_md(i32 noundef) #2

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

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

; Function Attrs: nounwind uwtable
declare hidden i32 @s2n_evp_pkey_set_rsa_pss_saltlen(ptr noundef) #4

declare zeroext i1 @s2n_libcrypto_is_awslc_fips() #2

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

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

14:                                               ; preds = %4
  %15 = load ptr, ptr %6, align 8, !tbaa !5
  %16 = icmp ne ptr %15, null
  br i1 %16, label %48, label %17

17:                                               ; preds = %14
  br label %18

18:                                               ; preds = %17
  br label %19

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

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

35:                                               ; preds = %19
  %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 0
  %38 = load ptr, ptr %37, align 8, !tbaa !11
  %39 = getelementptr inbounds i8, ptr %38, i64 21
  br label %40

40:                                               ; preds = %35, %28
  %41 = phi ptr [ %34, %28 ], [ %39, %35 ]
  %42 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %43 = getelementptr inbounds %struct.s2n_debug_info, ptr %42, i32 0, i32 1
  store ptr %41, ptr %43, align 8, !tbaa !13
  %44 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  store i32 402653193, ptr %44, align 4, !tbaa !9
  %45 = call i32 @s2n_calculate_stacktrace()
  br label %46

46:                                               ; preds = %40
  store i32 -1, ptr %5, align 4
  br label %349

47:                                               ; No predecessors!
  br label %48

48:                                               ; preds = %47, %14
  br label %49

49:                                               ; preds = %48
  br label %50

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

53:                                               ; preds = %50
  br label %54

54:                                               ; preds = %53
  br label %55

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

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

71:                                               ; preds = %55
  %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 0
  %74 = load ptr, ptr %73, align 8, !tbaa !11
  %75 = getelementptr inbounds i8, ptr %74, i64 21
  br label %76

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

82:                                               ; preds = %76
  store i32 -1, ptr %5, align 4
  br label %349

83:                                               ; No predecessors!
  br label %84

84:                                               ; preds = %83, %50
  br label %85

85:                                               ; preds = %84
  br label %86

86:                                               ; preds = %85
  %87 = load ptr, ptr %9, align 8, !tbaa !5
  %88 = icmp ne ptr %87, null
  br i1 %88, label %120, label %89

89:                                               ; preds = %86
  br label %90

90:                                               ; preds = %89
  br label %91

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

100:                                              ; preds = %91
  %101 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %102 = getelementptr inbounds %struct.s2n_debug_info, ptr %101, i32 0, i32 0
  %103 = load ptr, ptr %102, align 8, !tbaa !11
  %104 = getelementptr inbounds i8, ptr %103, i64 21
  %105 = call ptr @strrchr(ptr noundef %104, i32 noundef 47) #6
  %106 = getelementptr inbounds i8, ptr %105, i64 1
  br label %112

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

112:                                              ; preds = %107, %100
  %113 = phi ptr [ %106, %100 ], [ %111, %107 ]
  %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 1
  store ptr %113, ptr %115, align 8, !tbaa !13
  %116 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  store i32 402653193, ptr %116, align 4, !tbaa !9
  %117 = call i32 @s2n_calculate_stacktrace()
  br label %118

118:                                              ; preds = %112
  store i32 -1, ptr %5, align 4
  br label %349

119:                                              ; No predecessors!
  br label %120

120:                                              ; preds = %119, %86
  br label %121

121:                                              ; preds = %120
  br label %122

122:                                              ; preds = %121
  %123 = load ptr, ptr %6, align 8, !tbaa !5
  %124 = load i32, ptr %7, align 4, !tbaa !9
  %125 = call i32 @s2n_pkey_evp_validate_sig_alg(ptr noundef %123, i32 noundef %124)
  %126 = getelementptr inbounds %struct.s2n_result, ptr %10, i32 0, i32 0
  store i32 %125, ptr %126, align 4
  %127 = getelementptr inbounds %struct.s2n_result, ptr %10, i32 0, i32 0
  %128 = load i32, ptr %127, align 4
  %129 = call zeroext i1 @s2n_result_is_ok(i32 %128)
  br i1 %129, label %131, label %130

130:                                              ; preds = %122
  store i32 -1, ptr %5, align 4
  br label %349

131:                                              ; preds = %122
  br label %132

132:                                              ; preds = %131
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #7
  %133 = load ptr, ptr %6, align 8, !tbaa !5
  %134 = getelementptr inbounds %struct.s2n_pkey, ptr %133, i32 0, i32 0
  %135 = load ptr, ptr %134, align 8, !tbaa !14
  %136 = load ptr, ptr %8, align 8, !tbaa !5
  %137 = getelementptr inbounds %struct.s2n_hash_state, ptr %136, i32 0, i32 1
  %138 = load i32, ptr %137, align 8, !tbaa !16
  %139 = call ptr @s2n_evp_pkey_ctx_new(ptr noundef %135, i32 noundef %138)
  store ptr %139, ptr %11, align 8, !tbaa !5
  br label %140

140:                                              ; preds = %132
  %141 = load ptr, ptr %11, align 8, !tbaa !5
  %142 = icmp ne ptr %141, null
  br i1 %142, label %176, label %143

143:                                              ; preds = %140
  br label %144

144:                                              ; preds = %143
  br label %145

145:                                              ; preds = %144
  %146 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %147 = getelementptr inbounds %struct.s2n_debug_info, ptr %146, i32 0, i32 0
  store ptr @.str.9, ptr %147, align 8, !tbaa !11
  %148 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %149 = getelementptr inbounds %struct.s2n_debug_info, ptr %148, i32 0, i32 0
  %150 = load ptr, ptr %149, align 8, !tbaa !11
  %151 = getelementptr inbounds i8, ptr %150, i64 21
  %152 = call ptr @strrchr(ptr noundef %151, i32 noundef 47) #6
  %153 = icmp ne ptr %152, null
  br i1 %153, label %154, label %161

154:                                              ; preds = %145
  %155 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %156 = getelementptr inbounds %struct.s2n_debug_info, ptr %155, i32 0, i32 0
  %157 = load ptr, ptr %156, align 8, !tbaa !11
  %158 = getelementptr inbounds i8, ptr %157, i64 21
  %159 = call ptr @strrchr(ptr noundef %158, i32 noundef 47) #6
  %160 = getelementptr inbounds i8, ptr %159, i64 1
  br label %166

161:                                              ; preds = %145
  %162 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %163 = getelementptr inbounds %struct.s2n_debug_info, ptr %162, i32 0, i32 0
  %164 = load ptr, ptr %163, align 8, !tbaa !11
  %165 = getelementptr inbounds i8, ptr %164, i64 21
  br label %166

166:                                              ; preds = %161, %154
  %167 = phi ptr [ %160, %154 ], [ %165, %161 ]
  %168 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %169 = getelementptr inbounds %struct.s2n_debug_info, ptr %168, i32 0, i32 1
  store ptr %167, ptr %169, align 8, !tbaa !13
  %170 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  store i32 402653193, ptr %170, align 4, !tbaa !9
  %171 = call i32 @s2n_calculate_stacktrace()
  br label %172

172:                                              ; preds = %166
  br label %173

173:                                              ; preds = %172
  store i32 -1, ptr %5, align 4
  store i32 1, ptr %12, align 4
  br label %348

174:                                              ; No predecessors!
  br label %175

175:                                              ; preds = %174
  br label %176

176:                                              ; preds = %175, %140
  br label %177

177:                                              ; preds = %176
  br label %178

178:                                              ; preds = %177
  br label %179

179:                                              ; preds = %178
  %180 = load ptr, ptr %11, align 8, !tbaa !5
  %181 = call i32 @EVP_PKEY_verify_init(ptr noundef %180)
  %182 = icmp eq i32 %181, 1
  br i1 %182, label %216, label %183

183:                                              ; preds = %179
  br label %184

184:                                              ; preds = %183
  br label %185

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

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

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

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

212:                                              ; preds = %206
  br label %213

213:                                              ; preds = %212
  store i32 -1, ptr %5, align 4
  store i32 1, ptr %12, align 4
  br label %348

214:                                              ; No predecessors!
  br label %215

215:                                              ; preds = %214
  br label %216

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

217:                                              ; preds = %216
  br label %218

218:                                              ; preds = %217
  br label %219

219:                                              ; preds = %218
  %220 = load ptr, ptr %11, align 8, !tbaa !5
  %221 = load ptr, ptr %8, align 8, !tbaa !5
  %222 = getelementptr inbounds %struct.s2n_hash_state, ptr %221, i32 0, i32 1
  %223 = load i32, ptr %222, align 8, !tbaa !16
  %224 = call ptr @s2n_hash_alg_to_evp_md(i32 noundef %223)
  %225 = ptrtoint ptr %224 to i64
  %226 = inttoptr i64 %225 to ptr
  %227 = call i32 @EVP_PKEY_CTX_set_signature_md(ptr noundef %220, ptr noundef %226)
  %228 = icmp eq i32 %227, 1
  br i1 %228, label %262, label %229

229:                                              ; preds = %219
  br label %230

230:                                              ; preds = %229
  br label %231

231:                                              ; preds = %230
  %232 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %233 = getelementptr inbounds %struct.s2n_debug_info, ptr %232, i32 0, i32 0
  store ptr @.str.11, ptr %233, align 8, !tbaa !11
  %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 !11
  %237 = getelementptr inbounds i8, ptr %236, i64 21
  %238 = call ptr @strrchr(ptr noundef %237, i32 noundef 47) #6
  %239 = icmp ne ptr %238, null
  br i1 %239, label %240, label %247

240:                                              ; preds = %231
  %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 !11
  %244 = getelementptr inbounds i8, ptr %243, i64 21
  %245 = call ptr @strrchr(ptr noundef %244, i32 noundef 47) #6
  %246 = getelementptr inbounds i8, ptr %245, i64 1
  br label %252

247:                                              ; preds = %231
  %248 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %249 = getelementptr inbounds %struct.s2n_debug_info, ptr %248, i32 0, i32 0
  %250 = load ptr, ptr %249, align 8, !tbaa !11
  %251 = getelementptr inbounds i8, ptr %250, i64 21
  br label %252

252:                                              ; preds = %247, %240
  %253 = phi ptr [ %246, %240 ], [ %251, %247 ]
  %254 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %255 = getelementptr inbounds %struct.s2n_debug_info, ptr %254, i32 0, i32 1
  store ptr %253, ptr %255, align 8, !tbaa !13
  %256 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  store i32 402653263, ptr %256, align 4, !tbaa !9
  %257 = call i32 @s2n_calculate_stacktrace()
  br label %258

258:                                              ; preds = %252
  br label %259

259:                                              ; preds = %258
  store i32 -1, ptr %5, align 4
  store i32 1, ptr %12, align 4
  br label %348

260:                                              ; No predecessors!
  br label %261

261:                                              ; preds = %260
  br label %262

262:                                              ; preds = %261, %219
  br label %263

263:                                              ; preds = %262
  br label %264

264:                                              ; preds = %263
  %265 = load i32, ptr %7, align 4, !tbaa !9
  %266 = icmp eq i32 %265, 224
  br i1 %266, label %270, label %267

267:                                              ; preds = %264
  %268 = load i32, ptr %7, align 4, !tbaa !9
  %269 = icmp eq i32 %268, 225
  br i1 %269, label %270, label %322

270:                                              ; preds = %267, %264
  br label %271

271:                                              ; preds = %270
  %272 = load ptr, ptr %11, align 8, !tbaa !5
  %273 = call i32 @EVP_PKEY_CTX_set_rsa_padding(ptr noundef %272, i32 noundef 6)
  %274 = icmp eq i32 %273, 1
  br i1 %274, label %308, label %275

275:                                              ; preds = %271
  br label %276

276:                                              ; preds = %275
  br label %277

277:                                              ; preds = %276
  %278 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %279 = getelementptr inbounds %struct.s2n_debug_info, ptr %278, i32 0, i32 0
  store ptr @.str.12, ptr %279, align 8, !tbaa !11
  %280 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %281 = getelementptr inbounds %struct.s2n_debug_info, ptr %280, i32 0, i32 0
  %282 = load ptr, ptr %281, align 8, !tbaa !11
  %283 = getelementptr inbounds i8, ptr %282, i64 21
  %284 = call ptr @strrchr(ptr noundef %283, i32 noundef 47) #6
  %285 = icmp ne ptr %284, null
  br i1 %285, label %286, label %293

286:                                              ; preds = %277
  %287 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %288 = getelementptr inbounds %struct.s2n_debug_info, ptr %287, i32 0, i32 0
  %289 = load ptr, ptr %288, align 8, !tbaa !11
  %290 = getelementptr inbounds i8, ptr %289, i64 21
  %291 = call ptr @strrchr(ptr noundef %290, i32 noundef 47) #6
  %292 = getelementptr inbounds i8, ptr %291, i64 1
  br label %298

293:                                              ; preds = %277
  %294 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %295 = getelementptr inbounds %struct.s2n_debug_info, ptr %294, i32 0, i32 0
  %296 = load ptr, ptr %295, align 8, !tbaa !11
  %297 = getelementptr inbounds i8, ptr %296, i64 21
  br label %298

298:                                              ; preds = %293, %286
  %299 = phi ptr [ %292, %286 ], [ %297, %293 ]
  %300 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %301 = getelementptr inbounds %struct.s2n_debug_info, ptr %300, i32 0, i32 1
  store ptr %299, ptr %301, align 8, !tbaa !13
  %302 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  store i32 402653263, ptr %302, align 4, !tbaa !9
  %303 = call i32 @s2n_calculate_stacktrace()
  br label %304

304:                                              ; preds = %298
  br label %305

305:                                              ; preds = %304
  store i32 -1, ptr %5, align 4
  store i32 1, ptr %12, align 4
  br label %348

306:                                              ; No predecessors!
  br label %307

307:                                              ; preds = %306
  br label %308

308:                                              ; preds = %307, %271
  br label %309

309:                                              ; preds = %308
  br label %310

310:                                              ; preds = %309
  br label %311

311:                                              ; preds = %310
  %312 = load ptr, ptr %11, align 8, !tbaa !5
  %313 = call i32 @s2n_evp_pkey_set_rsa_pss_saltlen(ptr noundef %312)
  %314 = getelementptr inbounds %struct.s2n_result, ptr %13, i32 0, i32 0
  store i32 %313, ptr %314, align 4
  %315 = getelementptr inbounds %struct.s2n_result, ptr %13, i32 0, i32 0
  %316 = load i32, ptr %315, align 4
  %317 = call zeroext i1 @s2n_result_is_ok(i32 %316)
  br i1 %317, label %319, label %318

318:                                              ; preds = %311
  store i32 -1, ptr %5, align 4
  store i32 1, ptr %12, align 4
  br label %348

319:                                              ; preds = %311
  br label %320

320:                                              ; preds = %319
  br label %321

321:                                              ; preds = %320
  br label %322

322:                                              ; preds = %321, %267
  %323 = call zeroext i1 @s2n_libcrypto_is_awslc_fips()
  br i1 %323, label %324, label %336

324:                                              ; preds = %322
  br label %325

325:                                              ; preds = %324
  %326 = load ptr, ptr %11, align 8, !tbaa !5
  %327 = load i32, ptr %7, align 4, !tbaa !9
  %328 = load ptr, ptr %8, align 8, !tbaa !5
  %329 = load ptr, ptr %9, align 8, !tbaa !5
  %330 = call i32 @s2n_pkey_evp_digest_and_verify(ptr noundef %326, i32 noundef %327, ptr noundef %328, ptr noundef %329)
  %331 = icmp sgt i32 %330, -1
  br i1 %331, label %333, label %332

332:                                              ; preds = %325
  store i32 -1, ptr %5, align 4
  store i32 1, ptr %12, align 4
  br label %348

333:                                              ; preds = %325
  br label %334

334:                                              ; preds = %333
  br label %335

335:                                              ; preds = %334
  br label %347

336:                                              ; preds = %322
  br label %337

337:                                              ; preds = %336
  %338 = load ptr, ptr %11, align 8, !tbaa !5
  %339 = load ptr, ptr %8, align 8, !tbaa !5
  %340 = load ptr, ptr %9, align 8, !tbaa !5
  %341 = call i32 @s2n_pkey_evp_digest_then_verify(ptr noundef %338, ptr noundef %339, ptr noundef %340)
  %342 = icmp sgt i32 %341, -1
  br i1 %342, label %344, label %343

343:                                              ; preds = %337
  store i32 -1, ptr %5, align 4
  store i32 1, ptr %12, align 4
  br label %348

344:                                              ; preds = %337
  br label %345

345:                                              ; preds = %344
  br label %346

346:                                              ; preds = %345
  br label %347

347:                                              ; preds = %346, %335
  store i32 0, ptr %5, align 4
  store i32 1, ptr %12, align 4
  br label %348

348:                                              ; preds = %347, %343, %332, %318, %305, %259, %213, %173
  call void @EVP_PKEY_CTX_free_pointer(ptr noundef %11)
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #7
  br label %349

349:                                              ; preds = %348, %130, %118, %82, %46
  %350 = load i32, ptr %5, align 4
  ret i32 %350
}

; Function Attrs: nounwind uwtable
declare hidden i32 @s2n_pkey_evp_validate_sig_alg(ptr noundef, i32 noundef) #4

declare i32 @EVP_PKEY_verify_init(ptr noundef) #2

; Function Attrs: nounwind uwtable
declare hidden i32 @s2n_pkey_evp_digest_and_verify(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #4

; Function Attrs: nounwind uwtable
declare hidden i32 @s2n_pkey_evp_digest_then_verify(ptr noundef, ptr noundef, ptr noundef) #4

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 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { nounwind willreturn memory(read) }
attributes #7 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !6, i64 0}
!12 = !{!"s2n_debug_info", !6, i64 0, !6, i64 8}
!13 = !{!12, !6, i64 8}
!14 = !{!15, !6, i64 0}
!15 = !{!"s2n_pkey", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40}
!16 = !{!17, !10, i64 8}
!17 = !{!"s2n_hash_state", !6, i64 0, !10, i64 8, !7, i64 12, !18, i64 16, !7, i64 24}
!18 = !{!"long", !7, i64 0}


; 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.6 = external hidden unnamed_addr constant [92 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [92 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [92 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [92 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [92 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [92 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [92 x i8], align 1

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

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

declare i32 @s2n_calculate_stacktrace() local_unnamed_addr #2

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

; Function Attrs: nounwind uwtable
declare hidden ptr @s2n_evp_pkey_ctx_new(ptr noundef, i32 noundef) local_unnamed_addr #4

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

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

declare ptr @s2n_hash_alg_to_evp_md(i32 noundef) local_unnamed_addr #2

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

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

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

declare zeroext i1 @s2n_libcrypto_is_awslc_fips() local_unnamed_addr #2

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

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

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

14:                                               ; preds = %4
  %.not29 = icmp eq ptr %2, null
  br i1 %.not29, label %15, label %23

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

23:                                               ; preds = %14
  %.not31 = icmp eq ptr %3, null
  br i1 %.not31, label %24, label %32

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

32:                                               ; preds = %23
  %33 = tail call i32 @s2n_pkey_evp_validate_sig_alg(ptr noundef nonnull %0, i32 noundef %1)
  %34 = tail call zeroext i1 @s2n_result_is_ok(i32 %33)
  br i1 %34, label %35, label %98

35:                                               ; preds = %32
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #7
  %36 = load ptr, ptr %0, align 8, !tbaa !13
  %37 = getelementptr inbounds i8, ptr %2, i64 8
  %38 = load i32, ptr %37, align 8, !tbaa !15
  %39 = tail call ptr @s2n_evp_pkey_ctx_new(ptr noundef %36, i32 noundef %38)
  store ptr %39, ptr %5, align 8, !tbaa !18
  %.not33 = icmp eq ptr %39, null
  br i1 %.not33, label %40, label %48

40:                                               ; preds = %35
  %41 = tail call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  store ptr @.str.9, ptr %41, align 8, !tbaa !5
  %42 = tail call ptr @strrchr(ptr noundef nonnull dereferenceable(1) getelementptr inbounds (i8, ptr @.str.9, i64 21), i32 noundef 47) #6
  %.not34 = icmp eq ptr %42, null
  %43 = getelementptr inbounds i8, ptr %42, i64 1
  %44 = select i1 %.not34, ptr getelementptr inbounds (i8, ptr @.str.9, i64 21), ptr %43
  %45 = getelementptr inbounds i8, ptr %41, i64 8
  store ptr %44, ptr %45, align 8, !tbaa !10
  %46 = tail call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  store i32 402653193, ptr %46, align 4, !tbaa !11
  %47 = tail call i32 @s2n_calculate_stacktrace() #7
  br label %97

48:                                               ; preds = %35
  %49 = tail call i32 @EVP_PKEY_verify_init(ptr noundef nonnull %39) #7
  %50 = icmp eq i32 %49, 1
  br i1 %50, label %59, label %51

51:                                               ; preds = %48
  %52 = tail call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  store ptr @.str.10, ptr %52, align 8, !tbaa !5
  %53 = tail call ptr @strrchr(ptr noundef nonnull dereferenceable(1) getelementptr inbounds (i8, ptr @.str.10, i64 21), i32 noundef 47) #6
  %.not35 = icmp eq ptr %53, null
  %54 = getelementptr inbounds i8, ptr %53, i64 1
  %55 = select i1 %.not35, ptr getelementptr inbounds (i8, ptr @.str.10, i64 21), ptr %54
  %56 = getelementptr inbounds i8, ptr %52, i64 8
  store ptr %55, ptr %56, align 8, !tbaa !10
  %57 = tail call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  store i32 402653263, ptr %57, align 4, !tbaa !11
  %58 = tail call i32 @s2n_calculate_stacktrace() #7
  br label %97

59:                                               ; preds = %48
  %60 = load i32, ptr %37, align 8, !tbaa !15
  %61 = tail call ptr @s2n_hash_alg_to_evp_md(i32 noundef %60) #7
  %62 = tail call i32 @EVP_PKEY_CTX_set_signature_md(ptr noundef nonnull %39, ptr noundef %61) #7
  %63 = icmp eq i32 %62, 1
  br i1 %63, label %72, label %64

64:                                               ; preds = %59
  %65 = tail call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  store ptr @.str.11, ptr %65, align 8, !tbaa !5
  %66 = tail call ptr @strrchr(ptr noundef nonnull dereferenceable(1) getelementptr inbounds (i8, ptr @.str.11, i64 21), i32 noundef 47) #6
  %.not36 = icmp eq ptr %66, null
  %67 = getelementptr inbounds i8, ptr %66, i64 1
  %68 = select i1 %.not36, ptr getelementptr inbounds (i8, ptr @.str.11, i64 21), ptr %67
  %69 = getelementptr inbounds i8, ptr %65, i64 8
  store ptr %68, ptr %69, align 8, !tbaa !10
  %70 = tail call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  store i32 402653263, ptr %70, align 4, !tbaa !11
  %71 = tail call i32 @s2n_calculate_stacktrace() #7
  br label %97

72:                                               ; preds = %59
  %73 = and i32 %1, -2
  %or.cond = icmp eq i32 %73, 224
  br i1 %or.cond, label %74, label %88

74:                                               ; preds = %72
  %75 = tail call i32 @EVP_PKEY_CTX_set_rsa_padding(ptr noundef nonnull %39, i32 noundef 6) #7
  %76 = icmp eq i32 %75, 1
  br i1 %76, label %85, label %77

77:                                               ; preds = %74
  %78 = tail call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  store ptr @.str.12, ptr %78, align 8, !tbaa !5
  %79 = tail call ptr @strrchr(ptr noundef nonnull dereferenceable(1) getelementptr inbounds (i8, ptr @.str.12, i64 21), i32 noundef 47) #6
  %.not37 = icmp eq ptr %79, null
  %80 = getelementptr inbounds i8, ptr %79, i64 1
  %81 = select i1 %.not37, ptr getelementptr inbounds (i8, ptr @.str.12, i64 21), ptr %80
  %82 = getelementptr inbounds i8, ptr %78, i64 8
  store ptr %81, ptr %82, align 8, !tbaa !10
  %83 = tail call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  store i32 402653263, ptr %83, align 4, !tbaa !11
  %84 = tail call i32 @s2n_calculate_stacktrace() #7
  br label %97

85:                                               ; preds = %74
  %86 = tail call i32 @s2n_evp_pkey_set_rsa_pss_saltlen(ptr noundef nonnull %39)
  %87 = tail call zeroext i1 @s2n_result_is_ok(i32 %86)
  br i1 %87, label %88, label %97

88:                                               ; preds = %85, %72
  %89 = tail call zeroext i1 @s2n_libcrypto_is_awslc_fips() #7
  br i1 %89, label %90, label %93

90:                                               ; preds = %88
  %91 = tail call i32 @s2n_pkey_evp_digest_and_verify(ptr noundef nonnull %39, i32 noundef %1, ptr noundef nonnull %2, ptr noundef nonnull %3)
  %92 = icmp sgt i32 %91, -1
  br i1 %92, label %96, label %97

93:                                               ; preds = %88
  %94 = tail call i32 @s2n_pkey_evp_digest_then_verify(ptr noundef nonnull %39, ptr noundef nonnull %2, ptr noundef nonnull %3)
  %95 = icmp sgt i32 %94, -1
  br i1 %95, label %96, label %97

96:                                               ; preds = %93, %90
  br label %97

97:                                               ; preds = %93, %90, %85, %96, %77, %64, %51, %40
  %.0 = phi i32 [ 0, %96 ], [ -1, %77 ], [ -1, %64 ], [ -1, %51 ], [ -1, %40 ], [ -1, %85 ], [ -1, %90 ], [ -1, %93 ]
  call void @EVP_PKEY_CTX_free_pointer(ptr noundef nonnull %5)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #7
  br label %98

98:                                               ; preds = %32, %97, %24, %15, %6
  %.1 = phi i32 [ %.0, %97 ], [ -1, %24 ], [ -1, %15 ], [ -1, %6 ], [ -1, %32 ]
  ret i32 %.1
}

; Function Attrs: nounwind uwtable
declare hidden i32 @s2n_pkey_evp_validate_sig_alg(ptr noundef, i32 noundef) local_unnamed_addr #4

declare i32 @EVP_PKEY_verify_init(ptr noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
declare hidden i32 @s2n_pkey_evp_digest_and_verify(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #4

; Function Attrs: nounwind uwtable
declare hidden i32 @s2n_pkey_evp_digest_then_verify(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #4

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"s2n_debug_info", !7, i64 0, !7, i64 8}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!6, !7, i64 8}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !8, i64 0}
!13 = !{!14, !7, i64 0}
!14 = !{!"s2n_pkey", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !7, i64 40}
!15 = !{!16, !12, i64 8}
!16 = !{!"s2n_hash_state", !7, i64 0, !12, i64 8, !8, i64 12, !17, i64 16, !8, i64 24}
!17 = !{!"long", !8, i64 0}
!18 = !{!7, !7, i64 0}


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