; LLVM IR from openanolis/openssl :: test (evp_extra_test)

; 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"

@testctx = external hidden global ptr, align 8
@.str.16 = external hidden unnamed_addr constant [74 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [5 x i8], align 1
@nullprov = external hidden global ptr, align 8
@.str.19 = external hidden unnamed_addr constant [8 x i8], align 1
@deflprov = external hidden global ptr, align 8
@.str.20 = external hidden unnamed_addr constant [7 x i8], align 1
@lgcyprov = external hidden global ptr, align 8
@.str.21 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [22 x i8], align 1
@custom_pmeth = external hidden global ptr, align 8
@.str.37 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.42 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.43 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.44 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.45 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.46 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.47 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.48 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.49 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.50 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.51 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.52 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.53 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.54 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.55 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.56 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.57 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.58 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.59 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.60 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.61 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.62 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.63 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.64 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.65 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.66 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.67 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.68 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.69 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.70 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.71 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.72 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.73 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.74 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.75 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.76 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.77 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.78 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.79 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.80 = external hidden unnamed_addr constant [23 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local i32 @setup_tests() #0 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #3
  br label %4

4:                                                ; preds = %23, %0
  %5 = call i32 @opt_next()
  store i32 %5, ptr %2, align 4, !tbaa !5
  %6 = icmp ne i32 %5, 0
  br i1 %6, label %7, label %24

7:                                                ; preds = %4
  %8 = load i32, ptr %2, align 4, !tbaa !5
  switch i32 %8, label %22 [
    i32 1, label %9
    i32 500, label %21
    i32 501, label %21
    i32 502, label %21
    i32 503, label %21
    i32 504, label %21
    i32 505, label %21
  ]

9:                                                ; preds = %7
  %10 = call ptr @OSSL_LIB_CTX_new()
  store ptr %10, ptr @testctx, align 8, !tbaa !9
  %11 = load ptr, ptr @testctx, align 8, !tbaa !9
  %12 = call i32 @test_ptr(ptr noundef @.str.16, i32 noundef 4951, ptr noundef @.str.17, ptr noundef %11)
  %13 = icmp ne i32 %12, 0
  br i1 %13, label %15, label %14

14:                                               ; preds = %9
  store i32 0, ptr %1, align 4
  store i32 1, ptr %3, align 4
  br label %44

15:                                               ; preds = %9
  %16 = call ptr @OSSL_PROVIDER_load(ptr noundef null, ptr noundef @.str.18)
  store ptr %16, ptr @nullprov, align 8, !tbaa !9
  %17 = load ptr, ptr @testctx, align 8, !tbaa !9
  %18 = call ptr @OSSL_PROVIDER_load(ptr noundef %17, ptr noundef @.str.19)
  store ptr %18, ptr @deflprov, align 8, !tbaa !9
  %19 = load ptr, ptr @testctx, align 8, !tbaa !9
  %20 = call ptr @OSSL_PROVIDER_load(ptr noundef %19, ptr noundef @.str.20)
  store ptr %20, ptr @lgcyprov, align 8, !tbaa !9
  br label %23

21:                                               ; preds = %7, %7, %7, %7, %7, %7
  br label %23

22:                                               ; preds = %7
  store i32 0, ptr %1, align 4
  store i32 1, ptr %3, align 4
  br label %44

23:                                               ; preds = %21, %15
  br label %4, !llvm.loop !11

24:                                               ; preds = %4
  call void @add_test(ptr noundef @.str.21, ptr noundef @test_EVP_set_default_properties)
  call void @add_all_tests(ptr noundef @.str.22, ptr noundef @test_EVP_DigestSignInit, i32 noundef 30, i32 noundef 1)
  call void @add_test(ptr noundef @.str.23, ptr noundef @test_EVP_DigestVerifyInit)
  call void @add_test(ptr noundef @.str.24, ptr noundef @test_siphash_digestsign)
  call void @add_test(ptr noundef @.str.25, ptr noundef @test_EVP_Digest)
  call void @add_test(ptr noundef @.str.26, ptr noundef @test_EVP_md_null)
  call void @add_all_tests(ptr noundef @.str.27, ptr noundef @test_EVP_PKEY_sign, i32 noundef 3, i32 noundef 1)
  call void @add_all_tests(ptr noundef @.str.28, ptr noundef @test_EVP_Enveloped, i32 noundef 2, i32 noundef 1)
  call void @add_all_tests(ptr noundef @.str.29, ptr noundef @test_d2i_AutoPrivateKey, i32 noundef 3, i32 noundef 1)
  call void @add_test(ptr noundef @.str.30, ptr noundef @test_privatekey_to_pkcs8)
  call void @add_test(ptr noundef @.str.31, ptr noundef @test_EVP_PKCS82PKEY_wrong_tag)
  call void @add_test(ptr noundef @.str.32, ptr noundef @test_EVP_PKCS82PKEY)
  call void @add_all_tests(ptr noundef @.str.33, ptr noundef @test_EC_keygen_with_enc, i32 noundef 2, i32 noundef 1)
  call void @add_test(ptr noundef @.str.34, ptr noundef @test_EVP_SM2)
  call void @add_test(ptr noundef @.str.35, ptr noundef @test_EVP_SM2_verify)
  call void @add_all_tests(ptr noundef @.str.36, ptr noundef @test_set_get_raw_keys, i32 noundef 8, i32 noundef 1)
  %25 = call ptr @EVP_PKEY_meth_new(i32 noundef 233811181, i32 noundef 0)
  store ptr %25, ptr @custom_pmeth, align 8, !tbaa !9
  %26 = load ptr, ptr @custom_pmeth, align 8, !tbaa !9
  %27 = call i32 @test_ptr(ptr noundef @.str.16, i32 noundef 4993, ptr noundef @.str.37, ptr noundef %26)
  %28 = icmp ne i32 %27, 0
  br i1 %28, label %30, label %29

29:                                               ; preds = %24
  store i32 0, ptr %1, align 4
  store i32 1, ptr %3, align 4
  br label %44

30:                                               ; preds = %24
  %31 = load ptr, ptr @custom_pmeth, align 8, !tbaa !9
  call void @EVP_PKEY_meth_set_check(ptr noundef %31, ptr noundef @pkey_custom_check)
  %32 = load ptr, ptr @custom_pmeth, align 8, !tbaa !9
  call void @EVP_PKEY_meth_set_public_check(ptr noundef %32, ptr noundef @pkey_custom_pub_check)
  %33 = load ptr, ptr @custom_pmeth, align 8, !tbaa !9
  call void @EVP_PKEY_meth_set_param_check(ptr noundef %33, ptr noundef @pkey_custom_param_check)
  %34 = load ptr, ptr @custom_pmeth, align 8, !tbaa !9
  %35 = call i32 @EVP_PKEY_meth_add0(ptr noundef %34)
  %36 = call i32 @test_int_eq(ptr noundef @.str.16, i32 noundef 4998, ptr noundef @.str.38, ptr noundef @.str.39, i32 noundef %35, i32 noundef 1)
  %37 = icmp ne i32 %36, 0
  br i1 %37, label %39, label %38

38:                                               ; preds = %30
  store i32 0, ptr %1, align 4
  store i32 1, ptr %3, align 4
  br label %44

39:                                               ; preds = %30
  call void @add_all_tests(ptr noundef @.str.40, ptr noundef @test_EVP_PKEY_check, i32 noundef 8, i32 noundef 1)
  call void @add_test(ptr noundef @.str.41, ptr noundef @test_CMAC_keygen)
  call void @add_test(ptr noundef @.str.42, ptr noundef @test_HKDF)
  call void @add_test(ptr noundef @.str.43, ptr noundef @test_emptyikm_HKDF)
  call void @add_test(ptr noundef @.str.44, ptr noundef @test_X509_PUBKEY_inplace)
  call void @add_test(ptr noundef @.str.45, ptr noundef @test_X509_PUBKEY_dup)
  call void @add_all_tests(ptr noundef @.str.46, ptr noundef @test_invalide_ec_char2_pub_range_decode, i32 noundef 3, i32 noundef 1)
  call void @add_test(ptr noundef @.str.47, ptr noundef @test_DSA_get_set_params)
  call void @add_test(ptr noundef @.str.48, ptr noundef @test_DSA_priv_pub)
  call void @add_test(ptr noundef @.str.49, ptr noundef @test_RSA_get_set_params)
  call void @add_test(ptr noundef @.str.50, ptr noundef @test_RSA_OAEP_set_get_params)
  call void @add_test(ptr noundef @.str.51, ptr noundef @test_decrypt_null_chunks)
  call void @add_test(ptr noundef @.str.52, ptr noundef @test_DH_priv_pub)
  call void @add_test(ptr noundef @.str.53, ptr noundef @test_EVP_PKEY_set1_DH)
  call void @add_test(ptr noundef @.str.54, ptr noundef @test_EC_priv_pub)
  call void @add_test(ptr noundef @.str.55, ptr noundef @test_evp_get_ec_pub)
  call void @add_test(ptr noundef @.str.56, ptr noundef @test_EC_priv_only_legacy)
  call void @add_test(ptr noundef @.str.57, ptr noundef @test_evp_get_ec_pub_legacy)
  call void @add_all_tests(ptr noundef @.str.58, ptr noundef @test_keygen_with_empty_template, i32 noundef 2, i32 noundef 1)
  call void @add_all_tests(ptr noundef @.str.59, ptr noundef @test_pkey_ctx_fail_without_provider, i32 noundef 2, i32 noundef 1)
  call void @add_test(ptr noundef @.str.60, ptr noundef @test_rand_agglomeration)
  call void @add_all_tests(ptr noundef @.str.61, ptr noundef @test_evp_iv_aes, i32 noundef 12, i32 noundef 1)
  call void @add_all_tests(ptr noundef @.str.62, ptr noundef @test_evp_iv_des, i32 noundef 6, i32 noundef 1)
  call void @add_all_tests(ptr noundef @.str.63, ptr noundef @test_evp_bf_default_keylen, i32 noundef 4, i32 noundef 1)
  call void @add_test(ptr noundef @.str.64, ptr noundef @test_EVP_rsa_pss_with_keygen_bits)
  call void @add_test(ptr noundef @.str.65, ptr noundef @test_EVP_rsa_pss_set_saltlen)
  call void @add_all_tests(ptr noundef @.str.66, ptr noundef @test_ecpub, i32 noundef 13, i32 noundef 1)
  call void @add_test(ptr noundef @.str.67, ptr noundef @test_names_do_all)
  call void @add_all_tests(ptr noundef @.str.68, ptr noundef @test_evp_init_seq, i32 noundef 8, i32 noundef 1)
  call void @add_all_tests(ptr noundef @.str.69, ptr noundef @test_evp_reset, i32 noundef 2, i32 noundef 1)
  call void @add_all_tests(ptr noundef @.str.70, ptr noundef @test_gcm_reinit, i32 noundef 2, i32 noundef 1)
  call void @add_all_tests(ptr noundef @.str.71, ptr noundef @test_evp_updated_iv, i32 noundef 12, i32 noundef 1)
  call void @add_all_tests(ptr noundef @.str.72, ptr noundef @test_custom_pmeth, i32 noundef 12, i32 noundef 1)
  call void @add_test(ptr noundef @.str.73, ptr noundef @test_evp_md_cipher_meth)
  call void @add_test(ptr noundef @.str.74, ptr noundef @test_custom_md_meth)
  call void @add_test(ptr noundef @.str.75, ptr noundef @test_custom_ciph_meth)
  %40 = load ptr, ptr @testctx, align 8, !tbaa !9
  %41 = icmp eq ptr %40, null
  br i1 %41, label %42, label %43

42:                                               ; preds = %39
  call void @add_all_tests(ptr noundef @.str.76, ptr noundef @test_signatures_with_engine, i32 noundef 3, i32 noundef 1)
  call void @add_test(ptr noundef @.str.77, ptr noundef @test_cipher_with_engine)
  br label %43

43:                                               ; preds = %42, %39
  call void @add_all_tests(ptr noundef @.str.78, ptr noundef @test_ecx_short_keys, i32 noundef 4, i32 noundef 1)
  call void @add_all_tests(ptr noundef @.str.79, ptr noundef @test_ecx_not_private_key, i32 noundef 8, i32 noundef 1)
  call void @add_test(ptr noundef @.str.80, ptr noundef @test_sign_continuation)
  store i32 1, ptr %1, align 4
  store i32 1, ptr %3, align 4
  br label %44

44:                                               ; preds = %43, %38, %29, %22, %14
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #3
  %45 = load i32, ptr %1, align 4
  ret i32 %45
}

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

declare i32 @opt_next() #2

declare ptr @OSSL_LIB_CTX_new() #2

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

declare ptr @OSSL_PROVIDER_load(ptr noundef, ptr noundef) #2

declare void @add_test(ptr noundef, ptr noundef) #2

; Function Attrs: nounwind uwtable
declare hidden i32 @test_EVP_set_default_properties() #0

declare void @add_all_tests(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #2

; Function Attrs: nounwind uwtable
declare hidden i32 @test_EVP_DigestSignInit(i32 noundef) #0

; Function Attrs: nounwind uwtable
declare hidden i32 @test_EVP_DigestVerifyInit() #0

; Function Attrs: nounwind uwtable
declare hidden i32 @test_siphash_digestsign() #0

; Function Attrs: nounwind uwtable
declare hidden i32 @test_EVP_Digest() #0

; Function Attrs: nounwind uwtable
declare hidden i32 @test_EVP_md_null() #0

; Function Attrs: nounwind uwtable
declare hidden i32 @test_EVP_PKEY_sign(i32 noundef) #0

; Function Attrs: nounwind uwtable
declare hidden i32 @test_EVP_Enveloped(i32 noundef) #0

; Function Attrs: nounwind uwtable
declare hidden i32 @test_d2i_AutoPrivateKey(i32 noundef) #0

; Function Attrs: nounwind uwtable
declare hidden i32 @test_privatekey_to_pkcs8() #0

; Function Attrs: nounwind uwtable
declare hidden i32 @test_EVP_PKCS82PKEY_wrong_tag() #0

; Function Attrs: nounwind uwtable
declare hidden i32 @test_EVP_PKCS82PKEY() #0

; Function Attrs: nounwind uwtable
declare hidden i32 @test_EC_keygen_with_enc(i32 noundef) #0

; Function Attrs: nounwind uwtable
declare hidden i32 @test_EVP_SM2() #0

; Function Attrs: nounwind uwtable
declare hidden i32 @test_EVP_SM2_verify() #0

; Function Attrs: nounwind uwtable
declare hidden i32 @test_set_get_raw_keys(i32 noundef) #0

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

declare void @EVP_PKEY_meth_set_check(ptr noundef, ptr noundef) #2

; Function Attrs: nounwind uwtable
declare hidden i32 @pkey_custom_check(ptr noundef) #0

declare void @EVP_PKEY_meth_set_public_check(ptr noundef, ptr noundef) #2

; Function Attrs: nounwind uwtable
declare hidden i32 @pkey_custom_pub_check(ptr noundef) #0

declare void @EVP_PKEY_meth_set_param_check(ptr noundef, ptr noundef) #2

; Function Attrs: nounwind uwtable
declare hidden i32 @pkey_custom_param_check(ptr noundef) #0

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

declare i32 @EVP_PKEY_meth_add0(ptr noundef) #2

; Function Attrs: nounwind uwtable
declare hidden i32 @test_EVP_PKEY_check(i32 noundef) #0

; Function Attrs: nounwind uwtable
declare hidden i32 @test_CMAC_keygen() #0

; Function Attrs: nounwind uwtable
declare hidden i32 @test_HKDF() #0

; Function Attrs: nounwind uwtable
declare hidden i32 @test_emptyikm_HKDF() #0

; Function Attrs: nounwind uwtable
declare hidden i32 @test_X509_PUBKEY_inplace() #0

; Function Attrs: nounwind uwtable
declare hidden i32 @test_X509_PUBKEY_dup() #0

; Function Attrs: nounwind uwtable
declare hidden i32 @test_invalide_ec_char2_pub_range_decode(i32 noundef) #0

; Function Attrs: nounwind uwtable
declare hidden i32 @test_DSA_get_set_params() #0

; Function Attrs: nounwind uwtable
declare hidden i32 @test_DSA_priv_pub() #0

; Function Attrs: nounwind uwtable
declare hidden i32 @test_RSA_get_set_params() #0

; Function Attrs: nounwind uwtable
declare hidden i32 @test_RSA_OAEP_set_get_params() #0

; Function Attrs: nounwind uwtable
declare hidden i32 @test_decrypt_null_chunks() #0

; Function Attrs: nounwind uwtable
declare hidden i32 @test_DH_priv_pub() #0

; Function Attrs: nounwind uwtable
declare hidden i32 @test_EVP_PKEY_set1_DH() #0

; Function Attrs: nounwind uwtable
declare hidden i32 @test_EC_priv_pub() #0

; Function Attrs: nounwind uwtable
declare hidden i32 @test_evp_get_ec_pub() #0

; Function Attrs: nounwind uwtable
declare hidden i32 @test_EC_priv_only_legacy() #0

; Function Attrs: nounwind uwtable
declare hidden i32 @test_evp_get_ec_pub_legacy() #0

; Function Attrs: nounwind uwtable
declare hidden i32 @test_keygen_with_empty_template(i32 noundef) #0

; Function Attrs: nounwind uwtable
declare hidden i32 @test_pkey_ctx_fail_without_provider(i32 noundef) #0

; Function Attrs: nounwind uwtable
declare hidden i32 @test_rand_agglomeration() #0

; Function Attrs: nounwind uwtable
declare hidden i32 @test_evp_iv_aes(i32 noundef) #0

; Function Attrs: nounwind uwtable
declare hidden i32 @test_evp_iv_des(i32 noundef) #0

; Function Attrs: nounwind uwtable
declare hidden i32 @test_evp_bf_default_keylen(i32 noundef) #0

; Function Attrs: nounwind uwtable
declare hidden i32 @test_EVP_rsa_pss_with_keygen_bits() #0

; Function Attrs: nounwind uwtable
declare hidden i32 @test_EVP_rsa_pss_set_saltlen() #0

; Function Attrs: nounwind uwtable
declare hidden i32 @test_ecpub(i32 noundef) #0

; Function Attrs: nounwind uwtable
declare hidden i32 @test_names_do_all() #0

; Function Attrs: nounwind uwtable
declare hidden i32 @test_evp_init_seq(i32 noundef) #0

; Function Attrs: nounwind uwtable
declare hidden i32 @test_evp_reset(i32 noundef) #0

; Function Attrs: nounwind uwtable
declare hidden i32 @test_gcm_reinit(i32 noundef) #0

; Function Attrs: nounwind uwtable
declare hidden i32 @test_evp_updated_iv(i32 noundef) #0

; Function Attrs: nounwind uwtable
declare hidden i32 @test_custom_pmeth(i32 noundef) #0

; Function Attrs: nounwind uwtable
declare hidden i32 @test_evp_md_cipher_meth() #0

; Function Attrs: nounwind uwtable
declare hidden i32 @test_custom_md_meth() #0

; Function Attrs: nounwind uwtable
declare hidden i32 @test_custom_ciph_meth() #0

; Function Attrs: nounwind uwtable
declare hidden i32 @test_signatures_with_engine(i32 noundef) #0

; Function Attrs: nounwind uwtable
declare hidden i32 @test_cipher_with_engine() #0

; Function Attrs: nounwind uwtable
declare hidden i32 @test_ecx_short_keys(i32 noundef) #0

; Function Attrs: nounwind uwtable
declare hidden i32 @test_ecx_not_private_key(i32 noundef) #0

; Function Attrs: nounwind uwtable
declare hidden i32 @test_sign_continuation() #0

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

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 = { "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 }

!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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}


; 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"

@testctx = external hidden local_unnamed_addr global ptr, align 8
@.str.16 = external hidden unnamed_addr constant [74 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [5 x i8], align 1
@nullprov = external hidden local_unnamed_addr global ptr, align 8
@.str.19 = external hidden unnamed_addr constant [8 x i8], align 1
@deflprov = external hidden local_unnamed_addr global ptr, align 8
@.str.20 = external hidden unnamed_addr constant [7 x i8], align 1
@lgcyprov = external hidden local_unnamed_addr global ptr, align 8
@.str.21 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [22 x i8], align 1
@custom_pmeth = external hidden local_unnamed_addr global ptr, align 8
@.str.37 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.42 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.43 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.44 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.45 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.46 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.47 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.48 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.49 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.50 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.51 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.52 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.53 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.54 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.55 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.56 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.57 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.58 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.59 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.60 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.61 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.62 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.63 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.64 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.65 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.66 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.67 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.68 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.69 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.70 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.71 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.72 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.73 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.74 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.75 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.76 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.77 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.78 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.79 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.80 = external hidden unnamed_addr constant [23 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local range(i32 0, 2) i32 @setup_tests() local_unnamed_addr #0 {
  br label %1

1:                                                ; preds = %.backedge, %0
  %2 = tail call i32 @opt_next() #2
  switch i32 %2, label %.loopexit [
    i32 0, label %12
    i32 1, label %3
    i32 500, label %.backedge
    i32 501, label %.backedge
    i32 502, label %.backedge
    i32 503, label %.backedge
    i32 504, label %.backedge
    i32 505, label %.backedge
  ]

.backedge:                                        ; preds = %1, %1, %1, %1, %1, %1, %6
  br label %1, !llvm.loop !5

3:                                                ; preds = %1
  %4 = tail call ptr @OSSL_LIB_CTX_new() #2
  store ptr %4, ptr @testctx, align 8, !tbaa !7
  %5 = tail call i32 @test_ptr(ptr noundef nonnull @.str.16, i32 noundef 4951, ptr noundef nonnull @.str.17, ptr noundef %4) #2
  %.not5 = icmp eq i32 %5, 0
  br i1 %.not5, label %.loopexit, label %6

6:                                                ; preds = %3
  %7 = tail call ptr @OSSL_PROVIDER_load(ptr noundef null, ptr noundef nonnull @.str.18) #2
  store ptr %7, ptr @nullprov, align 8, !tbaa !7
  %8 = load ptr, ptr @testctx, align 8, !tbaa !7
  %9 = tail call ptr @OSSL_PROVIDER_load(ptr noundef %8, ptr noundef nonnull @.str.19) #2
  store ptr %9, ptr @deflprov, align 8, !tbaa !7
  %10 = load ptr, ptr @testctx, align 8, !tbaa !7
  %11 = tail call ptr @OSSL_PROVIDER_load(ptr noundef %10, ptr noundef nonnull @.str.20) #2
  store ptr %11, ptr @lgcyprov, align 8, !tbaa !7
  br label %.backedge

12:                                               ; preds = %1
  tail call void @add_test(ptr noundef nonnull @.str.21, ptr noundef nonnull @test_EVP_set_default_properties) #2
  tail call void @add_all_tests(ptr noundef nonnull @.str.22, ptr noundef nonnull @test_EVP_DigestSignInit, i32 noundef 30, i32 noundef 1) #2
  tail call void @add_test(ptr noundef nonnull @.str.23, ptr noundef nonnull @test_EVP_DigestVerifyInit) #2
  tail call void @add_test(ptr noundef nonnull @.str.24, ptr noundef nonnull @test_siphash_digestsign) #2
  tail call void @add_test(ptr noundef nonnull @.str.25, ptr noundef nonnull @test_EVP_Digest) #2
  tail call void @add_test(ptr noundef nonnull @.str.26, ptr noundef nonnull @test_EVP_md_null) #2
  tail call void @add_all_tests(ptr noundef nonnull @.str.27, ptr noundef nonnull @test_EVP_PKEY_sign, i32 noundef 3, i32 noundef 1) #2
  tail call void @add_all_tests(ptr noundef nonnull @.str.28, ptr noundef nonnull @test_EVP_Enveloped, i32 noundef 2, i32 noundef 1) #2
  tail call void @add_all_tests(ptr noundef nonnull @.str.29, ptr noundef nonnull @test_d2i_AutoPrivateKey, i32 noundef 3, i32 noundef 1) #2
  tail call void @add_test(ptr noundef nonnull @.str.30, ptr noundef nonnull @test_privatekey_to_pkcs8) #2
  tail call void @add_test(ptr noundef nonnull @.str.31, ptr noundef nonnull @test_EVP_PKCS82PKEY_wrong_tag) #2
  tail call void @add_test(ptr noundef nonnull @.str.32, ptr noundef nonnull @test_EVP_PKCS82PKEY) #2
  tail call void @add_all_tests(ptr noundef nonnull @.str.33, ptr noundef nonnull @test_EC_keygen_with_enc, i32 noundef 2, i32 noundef 1) #2
  tail call void @add_test(ptr noundef nonnull @.str.34, ptr noundef nonnull @test_EVP_SM2) #2
  tail call void @add_test(ptr noundef nonnull @.str.35, ptr noundef nonnull @test_EVP_SM2_verify) #2
  tail call void @add_all_tests(ptr noundef nonnull @.str.36, ptr noundef nonnull @test_set_get_raw_keys, i32 noundef 8, i32 noundef 1) #2
  %13 = tail call ptr @EVP_PKEY_meth_new(i32 noundef 233811181, i32 noundef 0) #2
  store ptr %13, ptr @custom_pmeth, align 8, !tbaa !7
  %14 = tail call i32 @test_ptr(ptr noundef nonnull @.str.16, i32 noundef 4993, ptr noundef nonnull @.str.37, ptr noundef %13) #2
  %.not3 = icmp eq i32 %14, 0
  br i1 %.not3, label %.loopexit, label %15

15:                                               ; preds = %12
  %16 = load ptr, ptr @custom_pmeth, align 8, !tbaa !7
  tail call void @EVP_PKEY_meth_set_check(ptr noundef %16, ptr noundef nonnull @pkey_custom_check) #2
  %17 = load ptr, ptr @custom_pmeth, align 8, !tbaa !7
  tail call void @EVP_PKEY_meth_set_public_check(ptr noundef %17, ptr noundef nonnull @pkey_custom_pub_check) #2
  %18 = load ptr, ptr @custom_pmeth, align 8, !tbaa !7
  tail call void @EVP_PKEY_meth_set_param_check(ptr noundef %18, ptr noundef nonnull @pkey_custom_param_check) #2
  %19 = load ptr, ptr @custom_pmeth, align 8, !tbaa !7
  %20 = tail call i32 @EVP_PKEY_meth_add0(ptr noundef %19) #2
  %21 = tail call i32 @test_int_eq(ptr noundef nonnull @.str.16, i32 noundef 4998, ptr noundef nonnull @.str.38, ptr noundef nonnull @.str.39, i32 noundef %20, i32 noundef 1) #2
  %.not4 = icmp eq i32 %21, 0
  br i1 %.not4, label %.loopexit, label %22

22:                                               ; preds = %15
  tail call void @add_all_tests(ptr noundef nonnull @.str.40, ptr noundef nonnull @test_EVP_PKEY_check, i32 noundef 8, i32 noundef 1) #2
  tail call void @add_test(ptr noundef nonnull @.str.41, ptr noundef nonnull @test_CMAC_keygen) #2
  tail call void @add_test(ptr noundef nonnull @.str.42, ptr noundef nonnull @test_HKDF) #2
  tail call void @add_test(ptr noundef nonnull @.str.43, ptr noundef nonnull @test_emptyikm_HKDF) #2
  tail call void @add_test(ptr noundef nonnull @.str.44, ptr noundef nonnull @test_X509_PUBKEY_inplace) #2
  tail call void @add_test(ptr noundef nonnull @.str.45, ptr noundef nonnull @test_X509_PUBKEY_dup) #2
  tail call void @add_all_tests(ptr noundef nonnull @.str.46, ptr noundef nonnull @test_invalide_ec_char2_pub_range_decode, i32 noundef 3, i32 noundef 1) #2
  tail call void @add_test(ptr noundef nonnull @.str.47, ptr noundef nonnull @test_DSA_get_set_params) #2
  tail call void @add_test(ptr noundef nonnull @.str.48, ptr noundef nonnull @test_DSA_priv_pub) #2
  tail call void @add_test(ptr noundef nonnull @.str.49, ptr noundef nonnull @test_RSA_get_set_params) #2
  tail call void @add_test(ptr noundef nonnull @.str.50, ptr noundef nonnull @test_RSA_OAEP_set_get_params) #2
  tail call void @add_test(ptr noundef nonnull @.str.51, ptr noundef nonnull @test_decrypt_null_chunks) #2
  tail call void @add_test(ptr noundef nonnull @.str.52, ptr noundef nonnull @test_DH_priv_pub) #2
  tail call void @add_test(ptr noundef nonnull @.str.53, ptr noundef nonnull @test_EVP_PKEY_set1_DH) #2
  tail call void @add_test(ptr noundef nonnull @.str.54, ptr noundef nonnull @test_EC_priv_pub) #2
  tail call void @add_test(ptr noundef nonnull @.str.55, ptr noundef nonnull @test_evp_get_ec_pub) #2
  tail call void @add_test(ptr noundef nonnull @.str.56, ptr noundef nonnull @test_EC_priv_only_legacy) #2
  tail call void @add_test(ptr noundef nonnull @.str.57, ptr noundef nonnull @test_evp_get_ec_pub_legacy) #2
  tail call void @add_all_tests(ptr noundef nonnull @.str.58, ptr noundef nonnull @test_keygen_with_empty_template, i32 noundef 2, i32 noundef 1) #2
  tail call void @add_all_tests(ptr noundef nonnull @.str.59, ptr noundef nonnull @test_pkey_ctx_fail_without_provider, i32 noundef 2, i32 noundef 1) #2
  tail call void @add_test(ptr noundef nonnull @.str.60, ptr noundef nonnull @test_rand_agglomeration) #2
  tail call void @add_all_tests(ptr noundef nonnull @.str.61, ptr noundef nonnull @test_evp_iv_aes, i32 noundef 12, i32 noundef 1) #2
  tail call void @add_all_tests(ptr noundef nonnull @.str.62, ptr noundef nonnull @test_evp_iv_des, i32 noundef 6, i32 noundef 1) #2
  tail call void @add_all_tests(ptr noundef nonnull @.str.63, ptr noundef nonnull @test_evp_bf_default_keylen, i32 noundef 4, i32 noundef 1) #2
  tail call void @add_test(ptr noundef nonnull @.str.64, ptr noundef nonnull @test_EVP_rsa_pss_with_keygen_bits) #2
  tail call void @add_test(ptr noundef nonnull @.str.65, ptr noundef nonnull @test_EVP_rsa_pss_set_saltlen) #2
  tail call void @add_all_tests(ptr noundef nonnull @.str.66, ptr noundef nonnull @test_ecpub, i32 noundef 13, i32 noundef 1) #2
  tail call void @add_test(ptr noundef nonnull @.str.67, ptr noundef nonnull @test_names_do_all) #2
  tail call void @add_all_tests(ptr noundef nonnull @.str.68, ptr noundef nonnull @test_evp_init_seq, i32 noundef 8, i32 noundef 1) #2
  tail call void @add_all_tests(ptr noundef nonnull @.str.69, ptr noundef nonnull @test_evp_reset, i32 noundef 2, i32 noundef 1) #2
  tail call void @add_all_tests(ptr noundef nonnull @.str.70, ptr noundef nonnull @test_gcm_reinit, i32 noundef 2, i32 noundef 1) #2
  tail call void @add_all_tests(ptr noundef nonnull @.str.71, ptr noundef nonnull @test_evp_updated_iv, i32 noundef 12, i32 noundef 1) #2
  tail call void @add_all_tests(ptr noundef nonnull @.str.72, ptr noundef nonnull @test_custom_pmeth, i32 noundef 12, i32 noundef 1) #2
  tail call void @add_test(ptr noundef nonnull @.str.73, ptr noundef nonnull @test_evp_md_cipher_meth) #2
  tail call void @add_test(ptr noundef nonnull @.str.74, ptr noundef nonnull @test_custom_md_meth) #2
  tail call void @add_test(ptr noundef nonnull @.str.75, ptr noundef nonnull @test_custom_ciph_meth) #2
  %23 = load ptr, ptr @testctx, align 8, !tbaa !7
  %24 = icmp eq ptr %23, null
  br i1 %24, label %25, label %26

25:                                               ; preds = %22
  tail call void @add_all_tests(ptr noundef nonnull @.str.76, ptr noundef nonnull @test_signatures_with_engine, i32 noundef 3, i32 noundef 1) #2
  tail call void @add_test(ptr noundef nonnull @.str.77, ptr noundef nonnull @test_cipher_with_engine) #2
  br label %26

26:                                               ; preds = %25, %22
  tail call void @add_all_tests(ptr noundef nonnull @.str.78, ptr noundef nonnull @test_ecx_short_keys, i32 noundef 4, i32 noundef 1) #2
  tail call void @add_all_tests(ptr noundef nonnull @.str.79, ptr noundef nonnull @test_ecx_not_private_key, i32 noundef 8, i32 noundef 1) #2
  tail call void @add_test(ptr noundef nonnull @.str.80, ptr noundef nonnull @test_sign_continuation) #2
  br label %.loopexit

.loopexit:                                        ; preds = %1, %3, %15, %12, %26
  %.0 = phi i32 [ 1, %26 ], [ 0, %12 ], [ 0, %15 ], [ 0, %3 ], [ 0, %1 ]
  ret i32 %.0
}

declare i32 @opt_next() local_unnamed_addr #1

declare ptr @OSSL_LIB_CTX_new() local_unnamed_addr #1

declare i32 @test_ptr(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

declare ptr @OSSL_PROVIDER_load(ptr noundef, ptr noundef) local_unnamed_addr #1

declare void @add_test(ptr noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare hidden i32 @test_EVP_set_default_properties() #0

declare void @add_all_tests(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare hidden i32 @test_EVP_DigestSignInit(i32 noundef) #0

; Function Attrs: nounwind uwtable
declare hidden i32 @test_EVP_DigestVerifyInit() #0

; Function Attrs: nounwind uwtable
declare hidden i32 @test_siphash_digestsign() #0

; Function Attrs: nounwind uwtable
declare hidden i32 @test_EVP_Digest() #0

; Function Attrs: nounwind uwtable
declare hidden i32 @test_EVP_md_null() #0

; Function Attrs: nounwind uwtable
declare hidden i32 @test_EVP_PKEY_sign(i32 noundef) #0

; Function Attrs: nounwind uwtable
declare hidden i32 @test_EVP_Enveloped(i32 noundef) #0

; Function Attrs: nounwind uwtable
declare hidden i32 @test_d2i_AutoPrivateKey(i32 noundef) #0

; Function Attrs: nounwind uwtable
declare hidden i32 @test_privatekey_to_pkcs8() #0

; Function Attrs: nounwind uwtable
declare hidden i32 @test_EVP_PKCS82PKEY_wrong_tag() #0

; Function Attrs: nounwind uwtable
declare hidden i32 @test_EVP_PKCS82PKEY() #0

; Function Attrs: nounwind uwtable
declare hidden i32 @test_EC_keygen_with_enc(i32 noundef) #0

; Function Attrs: nounwind uwtable
declare hidden i32 @test_EVP_SM2() #0

; Function Attrs: nounwind uwtable
declare hidden i32 @test_EVP_SM2_verify() #0

; Function Attrs: nounwind uwtable
declare hidden i32 @test_set_get_raw_keys(i32 noundef) #0

declare ptr @EVP_PKEY_meth_new(i32 noundef, i32 noundef) local_unnamed_addr #1

declare void @EVP_PKEY_meth_set_check(ptr noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare hidden i32 @pkey_custom_check(ptr noundef) #0

declare void @EVP_PKEY_meth_set_public_check(ptr noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare hidden i32 @pkey_custom_pub_check(ptr noundef) #0

declare void @EVP_PKEY_meth_set_param_check(ptr noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare hidden i32 @pkey_custom_param_check(ptr noundef) #0

declare i32 @test_int_eq(ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1

declare i32 @EVP_PKEY_meth_add0(ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare hidden i32 @test_EVP_PKEY_check(i32 noundef) #0

; Function Attrs: nounwind uwtable
declare hidden i32 @test_CMAC_keygen() #0

; Function Attrs: nounwind uwtable
declare hidden i32 @test_HKDF() #0

; Function Attrs: nounwind uwtable
declare hidden i32 @test_emptyikm_HKDF() #0

; Function Attrs: nounwind uwtable
declare hidden i32 @test_X509_PUBKEY_inplace() #0

; Function Attrs: nounwind uwtable
declare hidden i32 @test_X509_PUBKEY_dup() #0

; Function Attrs: nounwind uwtable
declare hidden i32 @test_invalide_ec_char2_pub_range_decode(i32 noundef) #0

; Function Attrs: nounwind uwtable
declare hidden i32 @test_DSA_get_set_params() #0

; Function Attrs: nounwind uwtable
declare hidden i32 @test_DSA_priv_pub() #0

; Function Attrs: nounwind uwtable
declare hidden i32 @test_RSA_get_set_params() #0

; Function Attrs: nounwind uwtable
declare hidden i32 @test_RSA_OAEP_set_get_params() #0

; Function Attrs: nounwind uwtable
declare hidden i32 @test_decrypt_null_chunks() #0

; Function Attrs: nounwind uwtable
declare hidden i32 @test_DH_priv_pub() #0

; Function Attrs: nounwind uwtable
declare hidden i32 @test_EVP_PKEY_set1_DH() #0

; Function Attrs: nounwind uwtable
declare hidden i32 @test_EC_priv_pub() #0

; Function Attrs: nounwind uwtable
declare hidden i32 @test_evp_get_ec_pub() #0

; Function Attrs: nounwind uwtable
declare hidden i32 @test_EC_priv_only_legacy() #0

; Function Attrs: nounwind uwtable
declare hidden i32 @test_evp_get_ec_pub_legacy() #0

; Function Attrs: nounwind uwtable
declare hidden i32 @test_keygen_with_empty_template(i32 noundef) #0

; Function Attrs: nounwind uwtable
declare hidden i32 @test_pkey_ctx_fail_without_provider(i32 noundef) #0

; Function Attrs: nounwind uwtable
declare hidden i32 @test_rand_agglomeration() #0

; Function Attrs: nounwind uwtable
declare hidden i32 @test_evp_iv_aes(i32 noundef) #0

; Function Attrs: nounwind uwtable
declare hidden i32 @test_evp_iv_des(i32 noundef) #0

; Function Attrs: nounwind uwtable
declare hidden i32 @test_evp_bf_default_keylen(i32 noundef) #0

; Function Attrs: nounwind uwtable
declare hidden i32 @test_EVP_rsa_pss_with_keygen_bits() #0

; Function Attrs: nounwind uwtable
declare hidden i32 @test_EVP_rsa_pss_set_saltlen() #0

; Function Attrs: nounwind uwtable
declare hidden i32 @test_ecpub(i32 noundef) #0

; Function Attrs: nounwind uwtable
declare hidden i32 @test_names_do_all() #0

; Function Attrs: nounwind uwtable
declare hidden i32 @test_evp_init_seq(i32 noundef) #0

; Function Attrs: nounwind uwtable
declare hidden i32 @test_evp_reset(i32 noundef) #0

; Function Attrs: nounwind uwtable
declare hidden i32 @test_gcm_reinit(i32 noundef) #0

; Function Attrs: nounwind uwtable
declare hidden i32 @test_evp_updated_iv(i32 noundef) #0

; Function Attrs: nounwind uwtable
declare hidden i32 @test_custom_pmeth(i32 noundef) #0

; Function Attrs: nounwind uwtable
declare hidden i32 @test_evp_md_cipher_meth() #0

; Function Attrs: nounwind uwtable
declare hidden i32 @test_custom_md_meth() #0

; Function Attrs: nounwind uwtable
declare hidden i32 @test_custom_ciph_meth() #0

; Function Attrs: nounwind uwtable
declare hidden i32 @test_signatures_with_engine(i32 noundef) #0

; Function Attrs: nounwind uwtable
declare hidden i32 @test_cipher_with_engine() #0

; Function Attrs: nounwind uwtable
declare hidden i32 @test_ecx_short_keys(i32 noundef) #0

; Function Attrs: nounwind uwtable
declare hidden i32 @test_ecx_not_private_key(i32 noundef) #0

; Function Attrs: nounwind uwtable
declare hidden i32 @test_sign_continuation() #0

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 = { "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 = { 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 = distinct !{!5, !6}
!6 = !{!"llvm.loop.mustprogress"}
!7 = !{!8, !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass,TailCallElimPass