; LLVM IR from peacemakr-io/peacemakr-core-crypto :: src/ffi/cpp/test (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"

%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"struct.peacemakr::Plaintext" = type { %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string" }
%"struct.std::pair" = type { ptr, %struct.crypto_config_t }
%struct.crypto_config_t = type { i32, i32, i32, i32 }
%"struct.std::pair.1" = type <{ %"struct.peacemakr::Plaintext", i8, [7 x i8] }>
%"class.peacemakr::RandomDevice" = type { %struct.random_device_t }
%struct.random_device_t = type { ptr, ptr }
%"class.peacemakr::Key" = type { ptr }
%"class.peacemakr::CryptoContext" = type { %"class.std::function" }
%"class.std::function" = type { %"class.std::_Function_base", ptr }
%"class.std::_Function_base" = type { %"union.std::_Any_data", ptr }
%"union.std::_Any_data" = type { %"union.std::_Nocopy_types" }
%"union.std::_Nocopy_types" = type { { i64, i64 } }

@.str = external hidden unnamed_addr constant [21 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [94 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [46 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [44 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [47 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [9 x i8], align 1
@__PRETTY_FUNCTION__._Z20test_sign_asymmetric16symmetric_cipher17asymmetric_cipher24message_digest_algorithm = external hidden unnamed_addr constant [89 x i8], align 1

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z6log_fnRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32)) #0

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z17get_random_stringB5cxx11v(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8) #0

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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN9peacemakr9PlaintextC2Ev(ptr noundef nonnull align 8 dereferenceable(64)) unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) #2 align 2

declare void @_ZN9peacemakr12RandomDeviceC1Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #4

declare void @_ZN9peacemakr3KeyC1E17asymmetric_cipher16symmetric_cipherRNS_12RandomDeviceE(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef, i32 noundef, ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt8functionIFvRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEC2IRS8_vEEOT_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull) unnamed_addr #2 align 2

declare void @_ZN9peacemakr13CryptoContextC1ESt8functionIFvRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEE(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef) unnamed_addr #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #2 align 2

declare noundef ptr @_ZN9peacemakr13CryptoContext7EncryptERKNS_3KeyERKNS_9PlaintextERNS_12RandomDeviceE(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(64), ptr noundef nonnull align 8 dereferenceable(16)) #4

; Function Attrs: mustprogress nounwind uwtable
declare noundef zeroext i1 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(32)) #2 align 2

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #5

declare void @_ZN9peacemakr13CryptoContext9SerializeB5cxx11E24message_digest_algorithmPv(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(32), i32 noundef, ptr noundef) #4

declare void @_ZN9peacemakr13CryptoContext20ExtractUnverifiedAADERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind writable sret(%"struct.peacemakr::Plaintext") align 8, ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) #4

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZSteqIcEN9__gnu_cxx11__enable_ifIXsr9__is_charIT_EE7__valueEbE6__typeERKNSt7__cxx1112basic_stringIS2_St11char_traitsIS2_ESaIS2_EEESC_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN9peacemakr9PlaintextD2Ev(ptr noundef nonnull align 8 dereferenceable(64)) unnamed_addr #3 align 2

declare void @_ZN9peacemakr13CryptoContext11DeserializeERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind writable sret(%"struct.std::pair") align 8, ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) #4

declare void @_ZN9peacemakr13CryptoContext7DecryptERKNS_3KeyEPv(ptr dead_on_unwind writable sret(%"struct.std::pair.1") align 8, ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #4

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZNSt4pairIN9peacemakr9PlaintextEbED2Ev(ptr noundef nonnull align 8 dereferenceable(65)) unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN9peacemakr13CryptoContextD2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #2 align 2

; Function Attrs: nounwind
declare void @_ZN9peacemakr3KeyD1Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #6

declare noundef zeroext i1 @_ZN9peacemakr13CryptoContext4SignERKNS_3KeyERKNS_9PlaintextE24message_digest_algorithmPv(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(64), i32 noundef, ptr noundef) #4

declare noundef zeroext i1 @_ZN9peacemakr13CryptoContext6VerifyERKNS_3KeyERKNS_9PlaintextEPv(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(64), ptr noundef) #4

; Function Attrs: mustprogress uwtable
define dso_local void @_Z20test_sign_asymmetric16symmetric_cipher17asymmetric_cipher24message_digest_algorithm(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 personality ptr @__gxx_personality_v0 {
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca %"struct.peacemakr::Plaintext", align 8
  %8 = alloca %"class.std::__cxx11::basic_string", align 8
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca %"class.std::__cxx11::basic_string", align 8
  %12 = alloca %"class.peacemakr::RandomDevice", align 8
  %13 = alloca %"class.peacemakr::Key", align 8
  %14 = alloca %"class.peacemakr::CryptoContext", align 8
  %15 = alloca %"class.std::function", align 8
  %16 = alloca ptr, align 8
  %17 = alloca i32, align 4
  %18 = alloca %"class.std::__cxx11::basic_string", align 8
  %19 = alloca %"struct.peacemakr::Plaintext", align 8
  %20 = alloca %"struct.std::pair", align 8
  %21 = alloca %"struct.std::pair.1", align 8
  %22 = alloca i8, align 1
  store i32 %0, ptr %4, align 4, !tbaa !5
  store i32 %1, ptr %5, align 4, !tbaa !9
  store i32 %2, ptr %6, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 64, ptr %7) #7
  call void @_ZN9peacemakr9PlaintextC2Ev(ptr noundef nonnull align 8 dereferenceable(64) %7) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr %8) #7
  invoke void @_Z17get_random_stringB5cxx11v(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %8)
          to label %23 unwind label %42

23:                                               ; preds = %3
  %24 = getelementptr inbounds %"struct.peacemakr::Plaintext", ptr %7, i32 0, i32 0
  %25 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(32) %24, ptr noundef nonnull align 8 dereferenceable(32) %8) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %8) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr %11) #7
  invoke void @_Z17get_random_stringB5cxx11v(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %11)
          to label %26 unwind label %46

26:                                               ; preds = %23
  %27 = getelementptr inbounds %"struct.peacemakr::Plaintext", ptr %7, i32 0, i32 1
  %28 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(32) %27, ptr noundef nonnull align 8 dereferenceable(32) %11) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %11) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %12) #7
  invoke void @_ZN9peacemakr12RandomDeviceC1Ev(ptr noundef nonnull align 8 dereferenceable(16) %12)
          to label %29 unwind label %50

29:                                               ; preds = %26
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #7
  %30 = load i32, ptr %5, align 4, !tbaa !9
  %31 = load i32, ptr %4, align 4, !tbaa !5
  invoke void @_ZN9peacemakr3KeyC1E17asymmetric_cipher16symmetric_cipherRNS_12RandomDeviceE(ptr noundef nonnull align 8 dereferenceable(8) %13, i32 noundef %30, i32 noundef %31, ptr noundef nonnull align 8 dereferenceable(16) %12)
          to label %32 unwind label %54

32:                                               ; preds = %29
  call void @llvm.lifetime.start.p0(i64 32, ptr %14) #7
  call void @_ZNSt8functionIFvRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEC2IRS8_vEEOT_(ptr noundef nonnull align 8 dereferenceable(32) %15, ptr noundef nonnull @_Z6log_fnRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE) #7
  invoke void @_ZN9peacemakr13CryptoContextC1ESt8functionIFvRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEE(ptr noundef nonnull align 8 dereferenceable(32) %14, ptr noundef %15)
          to label %33 unwind label %58

33:                                               ; preds = %32
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #7
  %34 = invoke noundef ptr @_ZN9peacemakr13CryptoContext7EncryptERKNS_3KeyERKNS_9PlaintextERNS_12RandomDeviceE(ptr noundef nonnull align 8 dereferenceable(32) %14, ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(64) %7, ptr noundef nonnull align 8 dereferenceable(16) %12)
          to label %35 unwind label %62

35:                                               ; preds = %33
  store ptr %34, ptr %16, align 8, !tbaa !13
  %36 = load ptr, ptr %16, align 8, !tbaa !13
  %37 = icmp eq ptr %36, null
  br i1 %37, label %38, label %66

38:                                               ; preds = %35
  %39 = getelementptr inbounds %"struct.peacemakr::Plaintext", ptr %7, i32 0, i32 0
  %40 = call noundef zeroext i1 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(32) %39) #7
  br i1 %40, label %41, label %66

41:                                               ; preds = %38
  store i32 1, ptr %17, align 4
  br label %170

42:                                               ; preds = %3
  %43 = landingpad { ptr, i32 }
          cleanup
  %44 = extractvalue { ptr, i32 } %43, 0
  store ptr %44, ptr %9, align 8
  %45 = extractvalue { ptr, i32 } %43, 1
  store i32 %45, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %8) #7
  br label %181

46:                                               ; preds = %23
  %47 = landingpad { ptr, i32 }
          cleanup
  %48 = extractvalue { ptr, i32 } %47, 0
  store ptr %48, ptr %9, align 8
  %49 = extractvalue { ptr, i32 } %47, 1
  store i32 %49, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %11) #7
  br label %181

50:                                               ; preds = %26
  %51 = landingpad { ptr, i32 }
          cleanup
  %52 = extractvalue { ptr, i32 } %51, 0
  store ptr %52, ptr %9, align 8
  %53 = extractvalue { ptr, i32 } %51, 1
  store i32 %53, ptr %10, align 4
  br label %180

54:                                               ; preds = %29
  %55 = landingpad { ptr, i32 }
          cleanup
  %56 = extractvalue { ptr, i32 } %55, 0
  store ptr %56, ptr %9, align 8
  %57 = extractvalue { ptr, i32 } %55, 1
  store i32 %57, ptr %10, align 4
  br label %179

58:                                               ; preds = %32
  %59 = landingpad { ptr, i32 }
          cleanup
  %60 = extractvalue { ptr, i32 } %59, 0
  store ptr %60, ptr %9, align 8
  %61 = extractvalue { ptr, i32 } %59, 1
  store i32 %61, ptr %10, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #7
  br label %178

62:                                               ; preds = %73, %33
  %63 = landingpad { ptr, i32 }
          cleanup
  %64 = extractvalue { ptr, i32 } %63, 0
  store ptr %64, ptr %9, align 8
  %65 = extractvalue { ptr, i32 } %63, 1
  store i32 %65, ptr %10, align 4
  br label %177

66:                                               ; preds = %38, %35
  %67 = load ptr, ptr %16, align 8, !tbaa !13
  %68 = icmp ne ptr %67, null
  br i1 %68, label %69, label %70

69:                                               ; preds = %66
  br label %72

70:                                               ; preds = %66
  call void @__assert_fail(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 170, ptr noundef @__PRETTY_FUNCTION__._Z20test_sign_asymmetric16symmetric_cipher17asymmetric_cipher24message_digest_algorithm) #8
  unreachable

71:                                               ; No predecessors!
  br label %72

72:                                               ; preds = %71, %69
  br label %73

73:                                               ; preds = %72
  %74 = load i32, ptr %6, align 4, !tbaa !11
  %75 = load ptr, ptr %16, align 8, !tbaa !13
  %76 = invoke noundef zeroext i1 @_ZN9peacemakr13CryptoContext4SignERKNS_3KeyERKNS_9PlaintextE24message_digest_algorithmPv(ptr noundef nonnull align 8 dereferenceable(32) %14, ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(64) %7, i32 noundef %74, ptr noundef %75)
          to label %77 unwind label %62

77:                                               ; preds = %73
  br i1 %76, label %78, label %79

78:                                               ; preds = %77
  br label %81

79:                                               ; preds = %77
  call void @__assert_fail(ptr noundef @.str.7, ptr noundef @.str.1, i32 noundef 172, ptr noundef @__PRETTY_FUNCTION__._Z20test_sign_asymmetric16symmetric_cipher17asymmetric_cipher24message_digest_algorithm) #8
  unreachable

80:                                               ; No predecessors!
  br label %81

81:                                               ; preds = %80, %78
  call void @llvm.lifetime.start.p0(i64 32, ptr %18) #7
  %82 = load i32, ptr %6, align 4, !tbaa !11
  %83 = load ptr, ptr %16, align 8, !tbaa !13
  invoke void @_ZN9peacemakr13CryptoContext9SerializeB5cxx11E24message_digest_algorithmPv(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %18, ptr noundef nonnull align 8 dereferenceable(32) %14, i32 noundef %82, ptr noundef %83)
          to label %84 unwind label %89

84:                                               ; preds = %81
  %85 = call noundef zeroext i1 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(32) %18) #7
  %86 = xor i1 %85, true
  br i1 %86, label %87, label %88

87:                                               ; preds = %84
  br label %94

88:                                               ; preds = %84
  call void @__assert_fail(ptr noundef @.str.2, ptr noundef @.str.1, i32 noundef 175, ptr noundef @__PRETTY_FUNCTION__._Z20test_sign_asymmetric16symmetric_cipher17asymmetric_cipher24message_digest_algorithm) #8
  unreachable

89:                                               ; preds = %81
  %90 = landingpad { ptr, i32 }
          cleanup
  %91 = extractvalue { ptr, i32 } %90, 0
  store ptr %91, ptr %9, align 8
  %92 = extractvalue { ptr, i32 } %90, 1
  store i32 %92, ptr %10, align 4
  br label %176

93:                                               ; No predecessors!
  br label %94

94:                                               ; preds = %93, %87
  %95 = getelementptr inbounds %"struct.peacemakr::Plaintext", ptr %7, i32 0, i32 1
  %96 = call noundef zeroext i1 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(32) %95) #7
  br i1 %96, label %110, label %97

97:                                               ; preds = %94
  call void @llvm.lifetime.start.p0(i64 64, ptr %19) #7
  invoke void @_ZN9peacemakr13CryptoContext20ExtractUnverifiedAADERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind writable sret(%"struct.peacemakr::Plaintext") align 8 %19, ptr noundef nonnull align 8 dereferenceable(32) %14, ptr noundef nonnull align 8 dereferenceable(32) %18)
          to label %98 unwind label %104

98:                                               ; preds = %97
  %99 = getelementptr inbounds %"struct.peacemakr::Plaintext", ptr %7, i32 0, i32 1
  %100 = getelementptr inbounds %"struct.peacemakr::Plaintext", ptr %19, i32 0, i32 1
  %101 = call noundef zeroext i1 @_ZSteqIcEN9__gnu_cxx11__enable_ifIXsr9__is_charIT_EE7__valueEbE6__typeERKNSt7__cxx1112basic_stringIS2_St11char_traitsIS2_ESaIS2_EEESC_(ptr noundef nonnull align 8 dereferenceable(32) %99, ptr noundef nonnull align 8 dereferenceable(32) %100) #7
  br i1 %101, label %102, label %103

102:                                              ; preds = %98
  br label %109

103:                                              ; preds = %98
  call void @__assert_fail(ptr noundef @.str.3, ptr noundef @.str.1, i32 noundef 179, ptr noundef @__PRETTY_FUNCTION__._Z20test_sign_asymmetric16symmetric_cipher17asymmetric_cipher24message_digest_algorithm) #8
  unreachable

104:                                              ; preds = %97
  %105 = landingpad { ptr, i32 }
          cleanup
  %106 = extractvalue { ptr, i32 } %105, 0
  store ptr %106, ptr %9, align 8
  %107 = extractvalue { ptr, i32 } %105, 1
  store i32 %107, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 64, ptr %19) #7
  br label %175

108:                                              ; No predecessors!
  br label %109

109:                                              ; preds = %108, %102
  call void @_ZN9peacemakr9PlaintextD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %19) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr %19) #7
  br label %110

110:                                              ; preds = %109, %94
  call void @llvm.lifetime.start.p0(i64 24, ptr %20) #7
  invoke void @_ZN9peacemakr13CryptoContext11DeserializeERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind writable sret(%"struct.std::pair") align 8 %20, ptr noundef nonnull align 8 dereferenceable(32) %14, ptr noundef nonnull align 8 dereferenceable(32) %18)
          to label %111 unwind label %120

111:                                              ; preds = %110
  call void @llvm.lifetime.start.p0(i64 72, ptr %21) #7
  %112 = getelementptr inbounds %"struct.std::pair", ptr %20, i32 0, i32 0
  %113 = load ptr, ptr %112, align 8, !tbaa !15
  invoke void @_ZN9peacemakr13CryptoContext7DecryptERKNS_3KeyEPv(ptr dead_on_unwind writable sret(%"struct.std::pair.1") align 8 %21, ptr noundef nonnull align 8 dereferenceable(32) %14, ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef %113)
          to label %114 unwind label %124

114:                                              ; preds = %111
  %115 = getelementptr inbounds %"struct.std::pair.1", ptr %21, i32 0, i32 1
  %116 = load i8, ptr %115, align 8, !tbaa !19, !range !26, !noundef !27
  %117 = trunc i8 %116 to i1
  br i1 %117, label %118, label %119

118:                                              ; preds = %114
  br label %129

119:                                              ; preds = %114
  call void @__assert_fail(ptr noundef @.str.8, ptr noundef @.str.1, i32 noundef 186, ptr noundef @__PRETTY_FUNCTION__._Z20test_sign_asymmetric16symmetric_cipher17asymmetric_cipher24message_digest_algorithm) #8
  unreachable

120:                                              ; preds = %110
  %121 = landingpad { ptr, i32 }
          cleanup
  %122 = extractvalue { ptr, i32 } %121, 0
  store ptr %122, ptr %9, align 8
  %123 = extractvalue { ptr, i32 } %121, 1
  store i32 %123, ptr %10, align 4
  br label %174

124:                                              ; preds = %111
  %125 = landingpad { ptr, i32 }
          cleanup
  %126 = extractvalue { ptr, i32 } %125, 0
  store ptr %126, ptr %9, align 8
  %127 = extractvalue { ptr, i32 } %125, 1
  store i32 %127, ptr %10, align 4
  br label %173

128:                                              ; No predecessors!
  br label %129

129:                                              ; preds = %128, %118
  call void @llvm.lifetime.start.p0(i64 1, ptr %22) #7
  %130 = getelementptr inbounds %"struct.std::pair.1", ptr %21, i32 0, i32 0
  %131 = getelementptr inbounds %"struct.std::pair", ptr %20, i32 0, i32 0
  %132 = load ptr, ptr %131, align 8, !tbaa !15
  %133 = invoke noundef zeroext i1 @_ZN9peacemakr13CryptoContext6VerifyERKNS_3KeyERKNS_9PlaintextEPv(ptr noundef nonnull align 8 dereferenceable(32) %14, ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(64) %130, ptr noundef %132)
          to label %134 unwind label %140

134:                                              ; preds = %129
  %135 = zext i1 %133 to i8
  store i8 %135, ptr %22, align 1, !tbaa !28
  %136 = load i8, ptr %22, align 1, !tbaa !28, !range !26, !noundef !27
  %137 = trunc i8 %136 to i1
  br i1 %137, label %138, label %139

138:                                              ; preds = %134
  br label %145

139:                                              ; preds = %134
  call void @__assert_fail(ptr noundef @.str.9, ptr noundef @.str.1, i32 noundef 188, ptr noundef @__PRETTY_FUNCTION__._Z20test_sign_asymmetric16symmetric_cipher17asymmetric_cipher24message_digest_algorithm) #8
  unreachable

140:                                              ; preds = %129
  %141 = landingpad { ptr, i32 }
          cleanup
  %142 = extractvalue { ptr, i32 } %141, 0
  store ptr %142, ptr %9, align 8
  %143 = extractvalue { ptr, i32 } %141, 1
  store i32 %143, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %22) #7
  call void @_ZNSt4pairIN9peacemakr9PlaintextEbED2Ev(ptr noundef nonnull align 8 dereferenceable(65) %21) #7
  br label %173

144:                                              ; No predecessors!
  br label %145

145:                                              ; preds = %144, %138
  %146 = getelementptr inbounds %"struct.peacemakr::Plaintext", ptr %7, i32 0, i32 0
  %147 = call noundef zeroext i1 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(32) %146) #7
  br i1 %147, label %157, label %148

148:                                              ; preds = %145
  %149 = getelementptr inbounds %"struct.peacemakr::Plaintext", ptr %7, i32 0, i32 0
  %150 = getelementptr inbounds %"struct.std::pair.1", ptr %21, i32 0, i32 0
  %151 = getelementptr inbounds %"struct.peacemakr::Plaintext", ptr %150, i32 0, i32 0
  %152 = call noundef zeroext i1 @_ZSteqIcEN9__gnu_cxx11__enable_ifIXsr9__is_charIT_EE7__valueEbE6__typeERKNSt7__cxx1112basic_stringIS2_St11char_traitsIS2_ESaIS2_EEESC_(ptr noundef nonnull align 8 dereferenceable(32) %149, ptr noundef nonnull align 8 dereferenceable(32) %151) #7
  br i1 %152, label %153, label %154

153:                                              ; preds = %148
  br label %156

154:                                              ; preds = %148
  call void @__assert_fail(ptr noundef @.str.5, ptr noundef @.str.1, i32 noundef 191, ptr noundef @__PRETTY_FUNCTION__._Z20test_sign_asymmetric16symmetric_cipher17asymmetric_cipher24message_digest_algorithm) #8
  unreachable

155:                                              ; No predecessors!
  br label %156

156:                                              ; preds = %155, %153
  br label %157

157:                                              ; preds = %156, %145
  %158 = getelementptr inbounds %"struct.peacemakr::Plaintext", ptr %7, i32 0, i32 1
  %159 = call noundef zeroext i1 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(32) %158) #7
  br i1 %159, label %169, label %160

160:                                              ; preds = %157
  %161 = getelementptr inbounds %"struct.peacemakr::Plaintext", ptr %7, i32 0, i32 1
  %162 = getelementptr inbounds %"struct.std::pair.1", ptr %21, i32 0, i32 0
  %163 = getelementptr inbounds %"struct.peacemakr::Plaintext", ptr %162, i32 0, i32 1
  %164 = call noundef zeroext i1 @_ZSteqIcEN9__gnu_cxx11__enable_ifIXsr9__is_charIT_EE7__valueEbE6__typeERKNSt7__cxx1112basic_stringIS2_St11char_traitsIS2_ESaIS2_EEESC_(ptr noundef nonnull align 8 dereferenceable(32) %161, ptr noundef nonnull align 8 dereferenceable(32) %163) #7
  br i1 %164, label %165, label %166

165:                                              ; preds = %160
  br label %168

166:                                              ; preds = %160
  call void @__assert_fail(ptr noundef @.str.6, ptr noundef @.str.1, i32 noundef 194, ptr noundef @__PRETTY_FUNCTION__._Z20test_sign_asymmetric16symmetric_cipher17asymmetric_cipher24message_digest_algorithm) #8
  unreachable

167:                                              ; No predecessors!
  br label %168

168:                                              ; preds = %167, %165
  br label %169

169:                                              ; preds = %168, %157
  call void @llvm.lifetime.end.p0(i64 1, ptr %22) #7
  call void @_ZNSt4pairIN9peacemakr9PlaintextEbED2Ev(ptr noundef nonnull align 8 dereferenceable(65) %21) #7
  call void @llvm.lifetime.end.p0(i64 72, ptr %21) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %20) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %18) #7
  store i32 0, ptr %17, align 4
  br label %170

170:                                              ; preds = %169, %41
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #7
  call void @_ZN9peacemakr13CryptoContextD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %14) #7
  call void @_ZN9peacemakr3KeyD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %13) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #7
  call void @_ZN9peacemakr9PlaintextD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %7) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr %7) #7
  %171 = load i32, ptr %17, align 4
  switch i32 %171, label %187 [
    i32 0, label %172
    i32 1, label %172
  ]

172:                                              ; preds = %170, %170
  ret void

173:                                              ; preds = %140, %124
  call void @llvm.lifetime.end.p0(i64 72, ptr %21) #7
  br label %174

174:                                              ; preds = %173, %120
  call void @llvm.lifetime.end.p0(i64 24, ptr %20) #7
  br label %175

175:                                              ; preds = %174, %104
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #7
  br label %176

176:                                              ; preds = %175, %89
  call void @llvm.lifetime.end.p0(i64 32, ptr %18) #7
  br label %177

177:                                              ; preds = %176, %62
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #7
  call void @_ZN9peacemakr13CryptoContextD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #7
  br label %178

178:                                              ; preds = %177, %58
  call void @llvm.lifetime.end.p0(i64 32, ptr %14) #7
  call void @_ZN9peacemakr3KeyD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %13) #7
  br label %179

179:                                              ; preds = %178, %54
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #7
  br label %180

180:                                              ; preds = %179, %50
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #7
  br label %181

181:                                              ; preds = %180, %46, %42
  call void @_ZN9peacemakr9PlaintextD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %7) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr %7) #7
  br label %182

182:                                              ; preds = %181
  %183 = load ptr, ptr %9, align 8
  %184 = load i32, ptr %10, align 4
  %185 = insertvalue { ptr, i32 } poison, ptr %183, 0
  %186 = insertvalue { ptr, i32 } %185, i32 %184, 1
  resume { ptr, i32 } %186

187:                                              ; preds = %170
  unreachable
}

attributes #0 = { mustprogress 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 = { mustprogress 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 #3 = { inlinehint mustprogress 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 = { "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 = { noreturn nounwind "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 "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { nounwind }
attributes #8 = { noreturn 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 = !{!"_ZTS16symmetric_cipher", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"_ZTS17asymmetric_cipher", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"_ZTS24message_digest_algorithm", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"any pointer", !7, i64 0}
!15 = !{!16, !14, i64 0}
!16 = !{!"_ZTSSt4pairIPv15crypto_config_tE", !14, i64 0, !17, i64 8}
!17 = !{!"_ZTS15crypto_config_t", !18, i64 0, !6, i64 4, !10, i64 8, !12, i64 12}
!18 = !{!"_ZTS15encryption_mode", !7, i64 0}
!19 = !{!20, !25, i64 64}
!20 = !{!"_ZTSSt4pairIN9peacemakr9PlaintextEbE", !21, i64 0, !25, i64 64}
!21 = !{!"_ZTSN9peacemakr9PlaintextE", !22, i64 0, !22, i64 32}
!22 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !23, i64 0, !24, i64 8, !7, i64 16}
!23 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !14, i64 0}
!24 = !{!"long", !7, i64 0}
!25 = !{!"bool", !7, i64 0}
!26 = !{i8 0, i8 2}
!27 = !{}
!28 = !{!25, !25, 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"

%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"struct.peacemakr::Plaintext" = type { %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string" }
%"struct.std::pair" = type { ptr, %struct.crypto_config_t }
%struct.crypto_config_t = type { i32, i32, i32, i32 }
%"struct.std::pair.1" = type <{ %"struct.peacemakr::Plaintext", i8, [7 x i8] }>
%"class.peacemakr::RandomDevice" = type { %struct.random_device_t }
%struct.random_device_t = type { ptr, ptr }
%"class.peacemakr::Key" = type { ptr }
%"class.peacemakr::CryptoContext" = type { %"class.std::function" }
%"class.std::function" = type { %"class.std::_Function_base", ptr }
%"class.std::_Function_base" = type { %"union.std::_Any_data", ptr }
%"union.std::_Any_data" = type { %"union.std::_Nocopy_types" }
%"union.std::_Nocopy_types" = type { { i64, i64 } }

@.str = external hidden unnamed_addr constant [21 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [94 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [46 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [44 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [47 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [9 x i8], align 1
@__PRETTY_FUNCTION__._Z20test_sign_asymmetric16symmetric_cipher17asymmetric_cipher24message_digest_algorithm = external hidden unnamed_addr constant [89 x i8], align 1

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z6log_fnRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32)) #0

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z17get_random_stringB5cxx11v(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8) local_unnamed_addr #0

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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN9peacemakr9PlaintextC2Ev(ptr noundef nonnull align 8 dereferenceable(64)) unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #2 align 2

declare void @_ZN9peacemakr12RandomDeviceC1Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #4

declare void @_ZN9peacemakr3KeyC1E17asymmetric_cipher16symmetric_cipherRNS_12RandomDeviceE(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef, i32 noundef, ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt8functionIFvRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEC2IRS8_vEEOT_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull) unnamed_addr #2 align 2

declare void @_ZN9peacemakr13CryptoContextC1ESt8functionIFvRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEE(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef) unnamed_addr #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #2 align 2

declare noundef ptr @_ZN9peacemakr13CryptoContext7EncryptERKNS_3KeyERKNS_9PlaintextERNS_12RandomDeviceE(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(64), ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #4

; Function Attrs: mustprogress nounwind uwtable
declare noundef zeroext i1 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #2 align 2

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #5

declare void @_ZN9peacemakr13CryptoContext9SerializeB5cxx11E24message_digest_algorithmPv(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(32), i32 noundef, ptr noundef) local_unnamed_addr #4

declare void @_ZN9peacemakr13CryptoContext20ExtractUnverifiedAADERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind writable sret(%"struct.peacemakr::Plaintext") align 8, ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #4

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZSteqIcEN9__gnu_cxx11__enable_ifIXsr9__is_charIT_EE7__valueEbE6__typeERKNSt7__cxx1112basic_stringIS2_St11char_traitsIS2_ESaIS2_EEESC_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN9peacemakr9PlaintextD2Ev(ptr noundef nonnull align 8 dereferenceable(64)) unnamed_addr #3 align 2

declare void @_ZN9peacemakr13CryptoContext11DeserializeERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind writable sret(%"struct.std::pair") align 8, ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #4

declare void @_ZN9peacemakr13CryptoContext7DecryptERKNS_3KeyEPv(ptr dead_on_unwind writable sret(%"struct.std::pair.1") align 8, ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #4

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZNSt4pairIN9peacemakr9PlaintextEbED2Ev(ptr noundef nonnull align 8 dereferenceable(65)) unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN9peacemakr13CryptoContextD2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #2 align 2

; Function Attrs: nounwind
declare void @_ZN9peacemakr3KeyD1Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #6

declare noundef zeroext i1 @_ZN9peacemakr13CryptoContext4SignERKNS_3KeyERKNS_9PlaintextE24message_digest_algorithmPv(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(64), i32 noundef, ptr noundef) local_unnamed_addr #4

declare noundef zeroext i1 @_ZN9peacemakr13CryptoContext6VerifyERKNS_3KeyERKNS_9PlaintextEPv(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(64), ptr noundef) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
define dso_local void @_Z20test_sign_asymmetric16symmetric_cipher17asymmetric_cipher24message_digest_algorithm(i32 noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 personality ptr @__gxx_personality_v0 {
  %4 = alloca %"struct.peacemakr::Plaintext", align 8
  %5 = alloca %"class.std::__cxx11::basic_string", align 8
  %6 = alloca %"class.std::__cxx11::basic_string", align 8
  %7 = alloca %"class.peacemakr::RandomDevice", align 8
  %8 = alloca %"class.peacemakr::Key", align 8
  %9 = alloca %"class.peacemakr::CryptoContext", align 8
  %10 = alloca %"class.std::function", align 8
  %11 = alloca %"class.std::__cxx11::basic_string", align 8
  %12 = alloca %"struct.peacemakr::Plaintext", align 8
  %13 = alloca %"struct.std::pair", align 8
  %14 = alloca %"struct.std::pair.1", align 8
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %4) #7
  call void @_ZN9peacemakr9PlaintextC2Ev(ptr noundef nonnull align 8 dereferenceable(64) %4) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %5) #7
  invoke void @_Z17get_random_stringB5cxx11v(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %5)
          to label %15 unwind label %27

15:                                               ; preds = %3
  %16 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(32) %4, ptr noundef nonnull align 8 dereferenceable(32) %5) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %6) #7
  invoke void @_Z17get_random_stringB5cxx11v(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %6)
          to label %17 unwind label %29

17:                                               ; preds = %15
  %18 = getelementptr inbounds i8, ptr %4, i64 32
  %19 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(32) %18, ptr noundef nonnull align 8 dereferenceable(32) %6) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7) #7
  invoke void @_ZN9peacemakr12RandomDeviceC1Ev(ptr noundef nonnull align 8 dereferenceable(16) %7)
          to label %20 unwind label %31

20:                                               ; preds = %17
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #7
  invoke void @_ZN9peacemakr3KeyC1E17asymmetric_cipher16symmetric_cipherRNS_12RandomDeviceE(ptr noundef nonnull align 8 dereferenceable(8) %8, i32 noundef %1, i32 noundef %0, ptr noundef nonnull align 8 dereferenceable(16) %7)
          to label %21 unwind label %33

21:                                               ; preds = %20
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %9) #7
  call void @_ZNSt8functionIFvRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEC2IRS8_vEEOT_(ptr noundef nonnull align 8 dereferenceable(32) %10, ptr noundef nonnull @_Z6log_fnRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE) #7
  invoke void @_ZN9peacemakr13CryptoContextC1ESt8functionIFvRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEE(ptr noundef nonnull align 8 dereferenceable(32) %9, ptr noundef nonnull %10)
          to label %22 unwind label %35

22:                                               ; preds = %21
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #7
  %23 = invoke noundef ptr @_ZN9peacemakr13CryptoContext7EncryptERKNS_3KeyERKNS_9PlaintextERNS_12RandomDeviceE(ptr noundef nonnull align 8 dereferenceable(32) %9, ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(64) %4, ptr noundef nonnull align 8 dereferenceable(16) %7)
          to label %24 unwind label %37

24:                                               ; preds = %22
  %cond = icmp eq ptr %23, null
  br i1 %cond, label %25, label %40

25:                                               ; preds = %24
  %26 = call noundef zeroext i1 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(32) %4) #7
  br i1 %26, label %91, label %39

27:                                               ; preds = %3
  %28 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #7
  br label %100

29:                                               ; preds = %15
  %30 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #7
  br label %100

31:                                               ; preds = %17
  %32 = landingpad { ptr, i32 }
          cleanup
  br label %99

33:                                               ; preds = %20
  %34 = landingpad { ptr, i32 }
          cleanup
  br label %98

35:                                               ; preds = %21
  %36 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #7
  br label %97

37:                                               ; preds = %40, %22
  %38 = landingpad { ptr, i32 }
          cleanup
  br label %96

39:                                               ; preds = %25
  call void @__assert_fail(ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, i32 noundef 170, ptr noundef nonnull @__PRETTY_FUNCTION__._Z20test_sign_asymmetric16symmetric_cipher17asymmetric_cipher24message_digest_algorithm) #8
  unreachable

40:                                               ; preds = %24
  %41 = invoke noundef zeroext i1 @_ZN9peacemakr13CryptoContext4SignERKNS_3KeyERKNS_9PlaintextE24message_digest_algorithmPv(ptr noundef nonnull align 8 dereferenceable(32) %9, ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(64) %4, i32 noundef %2, ptr noundef nonnull %23)
          to label %42 unwind label %37

42:                                               ; preds = %40
  br i1 %41, label %44, label %43

43:                                               ; preds = %42
  call void @__assert_fail(ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.1, i32 noundef 172, ptr noundef nonnull @__PRETTY_FUNCTION__._Z20test_sign_asymmetric16symmetric_cipher17asymmetric_cipher24message_digest_algorithm) #8
  unreachable

44:                                               ; preds = %42
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %11) #7
  invoke void @_ZN9peacemakr13CryptoContext9SerializeB5cxx11E24message_digest_algorithmPv(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %11, ptr noundef nonnull align 8 dereferenceable(32) %9, i32 noundef %2, ptr noundef nonnull %23)
          to label %45 unwind label %48

45:                                               ; preds = %44
  %46 = call noundef zeroext i1 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(32) %11) #7
  br i1 %46, label %47, label %50

47:                                               ; preds = %45
  call void @__assert_fail(ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.1, i32 noundef 175, ptr noundef nonnull @__PRETTY_FUNCTION__._Z20test_sign_asymmetric16symmetric_cipher17asymmetric_cipher24message_digest_algorithm) #8
  unreachable

48:                                               ; preds = %44
  %49 = landingpad { ptr, i32 }
          cleanup
  br label %95

50:                                               ; preds = %45
  %51 = call noundef zeroext i1 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(32) %18) #7
  br i1 %51, label %60, label %52

52:                                               ; preds = %50
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %12) #7
  invoke void @_ZN9peacemakr13CryptoContext20ExtractUnverifiedAADERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind nonnull writable sret(%"struct.peacemakr::Plaintext") align 8 %12, ptr noundef nonnull align 8 dereferenceable(32) %9, ptr noundef nonnull align 8 dereferenceable(32) %11)
          to label %53 unwind label %57

53:                                               ; preds = %52
  %54 = getelementptr inbounds i8, ptr %12, i64 32
  %55 = call noundef zeroext i1 @_ZSteqIcEN9__gnu_cxx11__enable_ifIXsr9__is_charIT_EE7__valueEbE6__typeERKNSt7__cxx1112basic_stringIS2_St11char_traitsIS2_ESaIS2_EEESC_(ptr noundef nonnull align 8 dereferenceable(32) %18, ptr noundef nonnull align 8 dereferenceable(32) %54) #7
  br i1 %55, label %59, label %56

56:                                               ; preds = %53
  call void @__assert_fail(ptr noundef nonnull @.str.3, ptr noundef nonnull @.str.1, i32 noundef 179, ptr noundef nonnull @__PRETTY_FUNCTION__._Z20test_sign_asymmetric16symmetric_cipher17asymmetric_cipher24message_digest_algorithm) #8
  unreachable

57:                                               ; preds = %52
  %58 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %12) #7
  br label %94

59:                                               ; preds = %53
  call void @_ZN9peacemakr9PlaintextD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %12) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %12) #7
  br label %60

60:                                               ; preds = %59, %50
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %13) #7
  invoke void @_ZN9peacemakr13CryptoContext11DeserializeERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind nonnull writable sret(%"struct.std::pair") align 8 %13, ptr noundef nonnull align 8 dereferenceable(32) %9, ptr noundef nonnull align 8 dereferenceable(32) %11)
          to label %61 unwind label %68

61:                                               ; preds = %60
  call void @llvm.lifetime.start.p0(i64 72, ptr nonnull %14) #7
  %62 = load ptr, ptr %13, align 8, !tbaa !5
  invoke void @_ZN9peacemakr13CryptoContext7DecryptERKNS_3KeyEPv(ptr dead_on_unwind nonnull writable sret(%"struct.std::pair.1") align 8 %14, ptr noundef nonnull align 8 dereferenceable(32) %9, ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef %62)
          to label %63 unwind label %70

63:                                               ; preds = %61
  %64 = getelementptr inbounds i8, ptr %14, i64 64
  %65 = load i8, ptr %64, align 8, !tbaa !15, !range !22, !noundef !23
  %66 = trunc nuw i8 %65 to i1
  br i1 %66, label %72, label %67

67:                                               ; preds = %63
  call void @__assert_fail(ptr noundef nonnull @.str.8, ptr noundef nonnull @.str.1, i32 noundef 186, ptr noundef nonnull @__PRETTY_FUNCTION__._Z20test_sign_asymmetric16symmetric_cipher17asymmetric_cipher24message_digest_algorithm) #8
  unreachable

68:                                               ; preds = %60
  %69 = landingpad { ptr, i32 }
          cleanup
  br label %93

70:                                               ; preds = %61
  %71 = landingpad { ptr, i32 }
          cleanup
  br label %92

72:                                               ; preds = %63
  %73 = load ptr, ptr %13, align 8, !tbaa !5
  %74 = invoke noundef zeroext i1 @_ZN9peacemakr13CryptoContext6VerifyERKNS_3KeyERKNS_9PlaintextEPv(ptr noundef nonnull align 8 dereferenceable(32) %9, ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(64) %14, ptr noundef %73)
          to label %75 unwind label %77

75:                                               ; preds = %72
  br i1 %74, label %79, label %76

76:                                               ; preds = %75
  call void @__assert_fail(ptr noundef nonnull @.str.9, ptr noundef nonnull @.str.1, i32 noundef 188, ptr noundef nonnull @__PRETTY_FUNCTION__._Z20test_sign_asymmetric16symmetric_cipher17asymmetric_cipher24message_digest_algorithm) #8
  unreachable

77:                                               ; preds = %72
  %78 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt4pairIN9peacemakr9PlaintextEbED2Ev(ptr noundef nonnull align 8 dereferenceable(65) %14) #7
  br label %92

79:                                               ; preds = %75
  %80 = call noundef zeroext i1 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(32) %4) #7
  br i1 %80, label %84, label %81

81:                                               ; preds = %79
  %82 = call noundef zeroext i1 @_ZSteqIcEN9__gnu_cxx11__enable_ifIXsr9__is_charIT_EE7__valueEbE6__typeERKNSt7__cxx1112basic_stringIS2_St11char_traitsIS2_ESaIS2_EEESC_(ptr noundef nonnull align 8 dereferenceable(32) %4, ptr noundef nonnull align 8 dereferenceable(32) %14) #7
  br i1 %82, label %84, label %83

83:                                               ; preds = %81
  call void @__assert_fail(ptr noundef nonnull @.str.5, ptr noundef nonnull @.str.1, i32 noundef 191, ptr noundef nonnull @__PRETTY_FUNCTION__._Z20test_sign_asymmetric16symmetric_cipher17asymmetric_cipher24message_digest_algorithm) #8
  unreachable

84:                                               ; preds = %81, %79
  %85 = call noundef zeroext i1 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(32) %18) #7
  br i1 %85, label %90, label %86

86:                                               ; preds = %84
  %87 = getelementptr inbounds i8, ptr %14, i64 32
  %88 = call noundef zeroext i1 @_ZSteqIcEN9__gnu_cxx11__enable_ifIXsr9__is_charIT_EE7__valueEbE6__typeERKNSt7__cxx1112basic_stringIS2_St11char_traitsIS2_ESaIS2_EEESC_(ptr noundef nonnull align 8 dereferenceable(32) %18, ptr noundef nonnull align 8 dereferenceable(32) %87) #7
  br i1 %88, label %90, label %89

89:                                               ; preds = %86
  call void @__assert_fail(ptr noundef nonnull @.str.6, ptr noundef nonnull @.str.1, i32 noundef 194, ptr noundef nonnull @__PRETTY_FUNCTION__._Z20test_sign_asymmetric16symmetric_cipher17asymmetric_cipher24message_digest_algorithm) #8
  unreachable

90:                                               ; preds = %86, %84
  call void @_ZNSt4pairIN9peacemakr9PlaintextEbED2Ev(ptr noundef nonnull align 8 dereferenceable(65) %14) #7
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %14) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %13) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %11) #7
  br label %91

91:                                               ; preds = %25, %90
  call void @_ZN9peacemakr13CryptoContextD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #7
  call void @_ZN9peacemakr3KeyD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %8) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #7
  call void @_ZN9peacemakr9PlaintextD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %4) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %4) #7
  ret void

92:                                               ; preds = %77, %70
  %.pn = phi { ptr, i32 } [ %78, %77 ], [ %71, %70 ]
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %14) #7
  br label %93

93:                                               ; preds = %92, %68
  %.pn.pn = phi { ptr, i32 } [ %.pn, %92 ], [ %69, %68 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %13) #7
  br label %94

94:                                               ; preds = %93, %57
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %93 ], [ %58, %57 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #7
  br label %95

95:                                               ; preds = %94, %48
  %.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn, %94 ], [ %49, %48 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %11) #7
  br label %96

96:                                               ; preds = %95, %37
  %.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn, %95 ], [ %38, %37 ]
  call void @_ZN9peacemakr13CryptoContextD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #7
  br label %97

97:                                               ; preds = %96, %35
  %.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn, %96 ], [ %36, %35 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #7
  call void @_ZN9peacemakr3KeyD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %8) #7
  br label %98

98:                                               ; preds = %97, %33
  %.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn.pn, %97 ], [ %34, %33 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #7
  br label %99

99:                                               ; preds = %98, %31
  %.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn.pn.pn, %98 ], [ %32, %31 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #7
  br label %100

100:                                              ; preds = %99, %29, %27
  %.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn.pn.pn.pn, %99 ], [ %30, %29 ], [ %28, %27 ]
  call void @_ZN9peacemakr9PlaintextD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %4) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %4) #7
  resume { ptr, i32 } %.pn.pn.pn.pn.pn.pn.pn.pn.pn
}

attributes #0 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress 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 #3 = { inlinehint mustprogress 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 = { "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 = { noreturn nounwind "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 "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { nounwind }
attributes #8 = { noreturn 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 = !{!"_ZTSSt4pairIPv15crypto_config_tE", !7, i64 0, !10, i64 8}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"_ZTS15crypto_config_t", !11, i64 0, !12, i64 4, !13, i64 8, !14, i64 12}
!11 = !{!"_ZTS15encryption_mode", !8, i64 0}
!12 = !{!"_ZTS16symmetric_cipher", !8, i64 0}
!13 = !{!"_ZTS17asymmetric_cipher", !8, i64 0}
!14 = !{!"_ZTS24message_digest_algorithm", !8, i64 0}
!15 = !{!16, !21, i64 64}
!16 = !{!"_ZTSSt4pairIN9peacemakr9PlaintextEbE", !17, i64 0, !21, i64 64}
!17 = !{!"_ZTSN9peacemakr9PlaintextE", !18, i64 0, !18, i64 32}
!18 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !19, i64 0, !20, i64 8, !8, i64 16}
!19 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !7, i64 0}
!20 = !{!"long", !8, i64 0}
!21 = !{!"bool", !8, i64 0}
!22 = !{i8 0, i8 2}
!23 = !{}


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