; LLVM IR from dynexcoin/Dynex :: src/DynexCNCore (DynexCNSerialization)

; 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.__gnu_cxx::__normal_iterator" = type { ptr }
%"class.Common::StringView" = type { ptr, i64 }
%"class.std::vector.19" = type { %"struct.std::_Vector_base.20" }
%"struct.std::_Vector_base.20" = type { %"struct.std::_Vector_base<Crypto::Signature, std::allocator<Crypto::Signature>>::_Vector_impl" }
%"struct.std::_Vector_base<Crypto::Signature, std::allocator<Crypto::Signature>>::_Vector_impl" = type { %"struct.std::_Vector_base<Crypto::Signature, std::allocator<Crypto::Signature>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Crypto::Signature, std::allocator<Crypto::Signature>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.21" = type { i8 }
%"struct.DynexCN::TransactionPrefix" = type { i8, i64, %"class.std::vector", %"class.std::vector.4", %"class.std::vector.9" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<boost::variant<DynexCN::BaseInput, DynexCN::KeyInput, DynexCN::MultisignatureInput>, std::allocator<boost::variant<DynexCN::BaseInput, DynexCN::KeyInput, DynexCN::MultisignatureInput>>>::_Vector_impl" }
%"struct.std::_Vector_base<boost::variant<DynexCN::BaseInput, DynexCN::KeyInput, DynexCN::MultisignatureInput>, std::allocator<boost::variant<DynexCN::BaseInput, DynexCN::KeyInput, DynexCN::MultisignatureInput>>>::_Vector_impl" = type { %"struct.std::_Vector_base<boost::variant<DynexCN::BaseInput, DynexCN::KeyInput, DynexCN::MultisignatureInput>, std::allocator<boost::variant<DynexCN::BaseInput, DynexCN::KeyInput, DynexCN::MultisignatureInput>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<boost::variant<DynexCN::BaseInput, DynexCN::KeyInput, DynexCN::MultisignatureInput>, std::allocator<boost::variant<DynexCN::BaseInput, DynexCN::KeyInput, DynexCN::MultisignatureInput>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.4" = type { %"struct.std::_Vector_base.5" }
%"struct.std::_Vector_base.5" = type { %"struct.std::_Vector_base<DynexCN::TransactionOutput, std::allocator<DynexCN::TransactionOutput>>::_Vector_impl" }
%"struct.std::_Vector_base<DynexCN::TransactionOutput, std::allocator<DynexCN::TransactionOutput>>::_Vector_impl" = type { %"struct.std::_Vector_base<DynexCN::TransactionOutput, std::allocator<DynexCN::TransactionOutput>>::_Vector_impl_data" }
%"struct.std::_Vector_base<DynexCN::TransactionOutput, std::allocator<DynexCN::TransactionOutput>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.9" = type { %"struct.std::_Vector_base.10" }
%"struct.std::_Vector_base.10" = type { %"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.DynexCN::Transaction" = type { %"struct.DynexCN::TransactionPrefix", %"class.std::vector.14" }
%"class.std::vector.14" = type { %"struct.std::_Vector_base.15" }
%"struct.std::_Vector_base.15" = type { %"struct.std::_Vector_base<std::vector<Crypto::Signature>, std::allocator<std::vector<Crypto::Signature>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<Crypto::Signature>, std::allocator<std::vector<Crypto::Signature>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<Crypto::Signature>, std::allocator<std::vector<Crypto::Signature>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<Crypto::Signature>, std::allocator<std::vector<Crypto::Signature>>>::_Vector_impl_data" = type { ptr, ptr, ptr }

@_ZTISt13runtime_error = external constant ptr
@_ZTIN7DynexCN9BaseInputE = external dso_local constant { ptr, ptr }, align 8
@.str.8 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [49 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [1 x i8], align 1

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

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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: nounwind
declare void @_ZN6Common10StringViewD1Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #1

; Function Attrs: mustprogress uwtable
declare hidden noundef zeroext i1 @_ZN12_GLOBAL__N_112serializePodIN6Crypto9SignatureEEEbRT_N6Common10StringViewERN7DynexCN11ISerializerE(ptr noundef nonnull align 1 dereferenceable(64), ptr noundef, ptr noundef nonnull align 8 dereferenceable(8)) #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7DynexCN9serializeERNS_17TransactionPrefixERNS_11ISerializerE(ptr noundef nonnull align 8 dereferenceable(88), ptr noundef nonnull align 8 dereferenceable(8)) #2

declare ptr @__cxa_allocate_exception(i64)

declare void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef) unnamed_addr #3

declare void @__cxa_free_exception(ptr)

; Function Attrs: nounwind
declare void @_ZNSt13runtime_errorD1Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #1

declare void @__cxa_throw(ptr, ptr, ptr)

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN7DynexCN9serializeERNS_11TransactionERNS_11ISerializerE(ptr noundef nonnull align 8 dereferenceable(112) %0, ptr noundef nonnull align 8 dereferenceable(8) %1) #2 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i64, align 8
  %6 = alloca i8, align 1
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca i64, align 8
  %10 = alloca i32, align 4
  %11 = alloca i64, align 8
  %12 = alloca ptr, align 8
  %13 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %14 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %15 = alloca ptr, align 8
  %16 = alloca %"class.Common::StringView", align 8
  %17 = alloca %"class.std::vector.19", align 8
  %18 = alloca %"class.std::allocator.21", align 1
  %19 = alloca ptr, align 8
  %20 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %21 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %22 = alloca ptr, align 8
  %23 = alloca %"class.Common::StringView", align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %24 = load ptr, ptr %3, align 8, !tbaa !5
  %25 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN7DynexCN9serializeERNS_17TransactionPrefixERNS_11ISerializerE(ptr noundef nonnull align 8 dereferenceable(88) %24, ptr noundef nonnull align 8 dereferenceable(8) %25)
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #6
  %26 = load ptr, ptr %3, align 8, !tbaa !5
  %27 = getelementptr inbounds %"struct.DynexCN::TransactionPrefix", ptr %26, i32 0, i32 2
  %28 = call noundef i64 @_ZNKSt6vectorIN5boost7variantIN7DynexCN9BaseInputEJNS2_8KeyInputENS2_19MultisignatureInputEEEESaIS6_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %27) #6
  store i64 %28, ptr %5, align 8, !tbaa !9
  %29 = load ptr, ptr %4, align 8, !tbaa !5
  %30 = load ptr, ptr %29, align 8, !tbaa !11
  %31 = getelementptr inbounds ptr, ptr %30, i64 2
  %32 = load ptr, ptr %31, align 8
  %33 = call noundef i32 %32(ptr noundef nonnull align 8 dereferenceable(8) %29)
  %34 = icmp eq i32 %33, 0
  br i1 %34, label %35, label %48

35:                                               ; preds = %2
  %36 = load i64, ptr %5, align 8, !tbaa !9
  %37 = icmp eq i64 %36, 1
  br i1 %37, label %38, label %44

38:                                               ; preds = %35
  %39 = load ptr, ptr %3, align 8, !tbaa !5
  %40 = getelementptr inbounds %"struct.DynexCN::TransactionPrefix", ptr %39, i32 0, i32 2
  %41 = call noundef nonnull align 8 dereferenceable(72) ptr @_ZNSt6vectorIN5boost7variantIN7DynexCN9BaseInputEJNS2_8KeyInputENS2_19MultisignatureInputEEEESaIS6_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %40, i64 noundef 0) #6
  %42 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK5boost7variantIN7DynexCN9BaseInputEJNS1_8KeyInputENS1_19MultisignatureInputEEE4typeEv(ptr noundef nonnull align 8 dereferenceable(72) %41)
  %43 = call noundef zeroext i1 @_ZNKSt9type_infoeqERKS_(ptr noundef nonnull align 8 dereferenceable(16) %42, ptr noundef nonnull align 8 dereferenceable(16) @_ZTIN7DynexCN9BaseInputE) #6
  br i1 %43, label %48, label %44

44:                                               ; preds = %38, %35
  %45 = load ptr, ptr %3, align 8, !tbaa !5
  %46 = getelementptr inbounds %"struct.DynexCN::Transaction", ptr %45, i32 0, i32 1
  %47 = load i64, ptr %5, align 8, !tbaa !9
  call void @_ZNSt6vectorIS_IN6Crypto9SignatureESaIS1_EESaIS3_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %46, i64 noundef %47)
  br label %48

48:                                               ; preds = %44, %38, %2
  call void @llvm.lifetime.start.p0(i64 1, ptr %6) #6
  %49 = load ptr, ptr %3, align 8, !tbaa !5
  %50 = getelementptr inbounds %"struct.DynexCN::Transaction", ptr %49, i32 0, i32 1
  %51 = call noundef zeroext i1 @_ZNKSt6vectorIS_IN6Crypto9SignatureESaIS1_EESaIS3_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %50) #6
  %52 = zext i1 %51 to i8
  store i8 %52, ptr %6, align 1, !tbaa !13
  %53 = load i8, ptr %6, align 1, !tbaa !13, !range !15, !noundef !16
  %54 = trunc i8 %53 to i1
  br i1 %54, label %70, label %55

55:                                               ; preds = %48
  %56 = load ptr, ptr %3, align 8, !tbaa !5
  %57 = getelementptr inbounds %"struct.DynexCN::TransactionPrefix", ptr %56, i32 0, i32 2
  %58 = call noundef i64 @_ZNKSt6vectorIN5boost7variantIN7DynexCN9BaseInputEJNS2_8KeyInputENS2_19MultisignatureInputEEEESaIS6_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %57) #6
  %59 = load ptr, ptr %3, align 8, !tbaa !5
  %60 = getelementptr inbounds %"struct.DynexCN::Transaction", ptr %59, i32 0, i32 1
  %61 = call noundef i64 @_ZNKSt6vectorIS_IN6Crypto9SignatureESaIS1_EESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %60) #6
  %62 = icmp ne i64 %58, %61
  br i1 %62, label %63, label %70

63:                                               ; preds = %55
  %64 = call ptr @__cxa_allocate_exception(i64 16) #6
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %64, ptr noundef @.str.8)
          to label %65 unwind label %66

65:                                               ; preds = %63
  call void @__cxa_throw(ptr %64, ptr @_ZTISt13runtime_error, ptr @_ZNSt13runtime_errorD1Ev) #7
  unreachable

66:                                               ; preds = %63
  %67 = landingpad { ptr, i32 }
          cleanup
  %68 = extractvalue { ptr, i32 } %67, 0
  store ptr %68, ptr %7, align 8
  %69 = extractvalue { ptr, i32 } %67, 1
  store i32 %69, ptr %8, align 4
  call void @__cxa_free_exception(ptr %64) #6
  br label %196

70:                                               ; preds = %55, %48
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #6
  store i64 0, ptr %9, align 8, !tbaa !9
  br label %71

71:                                               ; preds = %191, %70
  %72 = load i64, ptr %9, align 8, !tbaa !9
  %73 = load ptr, ptr %3, align 8, !tbaa !5
  %74 = getelementptr inbounds %"struct.DynexCN::TransactionPrefix", ptr %73, i32 0, i32 2
  %75 = call noundef i64 @_ZNKSt6vectorIN5boost7variantIN7DynexCN9BaseInputEJNS2_8KeyInputENS2_19MultisignatureInputEEEESaIS6_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %74) #6
  %76 = icmp ult i64 %72, %75
  br i1 %76, label %78, label %77

77:                                               ; preds = %71
  store i32 2, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  br label %195

78:                                               ; preds = %71
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #6
  %79 = load ptr, ptr %3, align 8, !tbaa !5
  %80 = getelementptr inbounds %"struct.DynexCN::TransactionPrefix", ptr %79, i32 0, i32 2
  %81 = load i64, ptr %9, align 8, !tbaa !9
  %82 = call noundef nonnull align 8 dereferenceable(72) ptr @_ZNSt6vectorIN5boost7variantIN7DynexCN9BaseInputEJNS2_8KeyInputENS2_19MultisignatureInputEEEESaIS6_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %80, i64 noundef %81) #6
  %83 = call noundef i64 @_ZN12_GLOBAL__N_118getSignaturesCountERKN5boost7variantIN7DynexCN9BaseInputEJNS2_8KeyInputENS2_19MultisignatureInputEEEE(ptr noundef nonnull align 8 dereferenceable(72) %82)
  store i64 %83, ptr %11, align 8, !tbaa !9
  %84 = load i8, ptr %6, align 1, !tbaa !13, !range !15, !noundef !16
  %85 = trunc i8 %84 to i1
  br i1 %85, label %86, label %97

86:                                               ; preds = %78
  %87 = load i64, ptr %11, align 8, !tbaa !9
  %88 = icmp eq i64 %87, 0
  br i1 %88, label %89, label %90

89:                                               ; preds = %86
  store i32 4, ptr %10, align 4
  br label %188

90:                                               ; preds = %86
  %91 = call ptr @__cxa_allocate_exception(i64 16) #6
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %91, ptr noundef @.str.9)
          to label %92 unwind label %93

92:                                               ; preds = %90
  call void @__cxa_throw(ptr %91, ptr @_ZTISt13runtime_error, ptr @_ZNSt13runtime_errorD1Ev) #7
  unreachable

93:                                               ; preds = %90
  %94 = landingpad { ptr, i32 }
          cleanup
  %95 = extractvalue { ptr, i32 } %94, 0
  store ptr %95, ptr %7, align 8
  %96 = extractvalue { ptr, i32 } %94, 1
  store i32 %96, ptr %8, align 4
  call void @__cxa_free_exception(ptr %91) #6
  br label %194

97:                                               ; preds = %78
  %98 = load ptr, ptr %4, align 8, !tbaa !5
  %99 = load ptr, ptr %98, align 8, !tbaa !11
  %100 = getelementptr inbounds ptr, ptr %99, i64 2
  %101 = load ptr, ptr %100, align 8
  %102 = call noundef i32 %101(ptr noundef nonnull align 8 dereferenceable(8) %98)
  %103 = icmp eq i32 %102, 1
  br i1 %103, label %104, label %146

104:                                              ; preds = %97
  %105 = load i64, ptr %11, align 8, !tbaa !9
  %106 = load ptr, ptr %3, align 8, !tbaa !5
  %107 = getelementptr inbounds %"struct.DynexCN::Transaction", ptr %106, i32 0, i32 1
  %108 = load i64, ptr %9, align 8, !tbaa !9
  %109 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IN6Crypto9SignatureESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %107, i64 noundef %108) #6
  %110 = call noundef i64 @_ZNKSt6vectorIN6Crypto9SignatureESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %109) #6
  %111 = icmp ne i64 %105, %110
  br i1 %111, label %112, label %119

112:                                              ; preds = %104
  %113 = call ptr @__cxa_allocate_exception(i64 16) #6
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %113, ptr noundef @.str.8)
          to label %114 unwind label %115

114:                                              ; preds = %112
  call void @__cxa_throw(ptr %113, ptr @_ZTISt13runtime_error, ptr @_ZNSt13runtime_errorD1Ev) #7
  unreachable

115:                                              ; preds = %112
  %116 = landingpad { ptr, i32 }
          cleanup
  %117 = extractvalue { ptr, i32 } %116, 0
  store ptr %117, ptr %7, align 8
  %118 = extractvalue { ptr, i32 } %116, 1
  store i32 %118, ptr %8, align 4
  call void @__cxa_free_exception(ptr %113) #6
  br label %194

119:                                              ; preds = %104
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #6
  %120 = load ptr, ptr %3, align 8, !tbaa !5
  %121 = getelementptr inbounds %"struct.DynexCN::Transaction", ptr %120, i32 0, i32 1
  %122 = load i64, ptr %9, align 8, !tbaa !9
  %123 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IN6Crypto9SignatureESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %121, i64 noundef %122) #6
  store ptr %123, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #6
  %124 = load ptr, ptr %12, align 8, !tbaa !5
  %125 = call ptr @_ZNSt6vectorIN6Crypto9SignatureESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %124) #6
  %126 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %13, i32 0, i32 0
  store ptr %125, ptr %126, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #6
  %127 = load ptr, ptr %12, align 8, !tbaa !5
  %128 = call ptr @_ZNSt6vectorIN6Crypto9SignatureESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %127) #6
  %129 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %14, i32 0, i32 0
  store ptr %128, ptr %129, align 8
  br label %130

130:                                              ; preds = %139, %119
  %131 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN6Crypto9SignatureESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(8) %14) #6
  br i1 %131, label %133, label %132

132:                                              ; preds = %130
  store i32 5, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  br label %145

133:                                              ; preds = %130
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #6
  %134 = call noundef nonnull align 1 dereferenceable(64) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN6Crypto9SignatureESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %13) #6
  store ptr %134, ptr %15, align 8, !tbaa !5
  %135 = load ptr, ptr %15, align 8, !tbaa !5
  call void @_ZN6Common10StringViewC2ILm1EEERAT__Kc(ptr noundef nonnull align 8 dereferenceable(16) %16, ptr noundef nonnull align 1 dereferenceable(1) @.str.10)
  %136 = load ptr, ptr %4, align 8, !tbaa !5
  %137 = invoke noundef zeroext i1 @_ZN12_GLOBAL__N_112serializePodIN6Crypto9SignatureEEEbRT_N6Common10StringViewERN7DynexCN11ISerializerE(ptr noundef nonnull align 1 dereferenceable(64) %135, ptr noundef %16, ptr noundef nonnull align 8 dereferenceable(8) %136)
          to label %138 unwind label %141

138:                                              ; preds = %133
  call void @_ZN6Common10StringViewD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %16) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #6
  br label %139

139:                                              ; preds = %138
  %140 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN6Crypto9SignatureESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %13) #6
  br label %130

141:                                              ; preds = %133
  %142 = landingpad { ptr, i32 }
          cleanup
  %143 = extractvalue { ptr, i32 } %142, 0
  store ptr %143, ptr %7, align 8
  %144 = extractvalue { ptr, i32 } %142, 1
  store i32 %144, ptr %8, align 4
  call void @_ZN6Common10StringViewD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %16) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  br label %194

145:                                              ; preds = %132
  br label %187

146:                                              ; preds = %97
  call void @llvm.lifetime.start.p0(i64 24, ptr %17) #6
  %147 = load i64, ptr %11, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %18) #6
  call void @_ZNSaIN6Crypto9SignatureEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #6
  invoke void @_ZNSt6vectorIN6Crypto9SignatureESaIS1_EEC2EmRKS2_(ptr noundef nonnull align 8 dereferenceable(24) %17, i64 noundef %147, ptr noundef nonnull align 1 dereferenceable(1) %18)
          to label %148 unwind label %158

148:                                              ; preds = %146
  call void @_ZNSt15__new_allocatorIN6Crypto9SignatureEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %18) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #6
  store ptr %17, ptr %19, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #6
  %149 = load ptr, ptr %19, align 8, !tbaa !5
  %150 = call ptr @_ZNSt6vectorIN6Crypto9SignatureESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %149) #6
  %151 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %20, i32 0, i32 0
  store ptr %150, ptr %151, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #6
  %152 = load ptr, ptr %19, align 8, !tbaa !5
  %153 = call ptr @_ZNSt6vectorIN6Crypto9SignatureESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %152) #6
  %154 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %21, i32 0, i32 0
  store ptr %153, ptr %154, align 8
  br label %155

155:                                              ; preds = %169, %148
  %156 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN6Crypto9SignatureESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %20, ptr noundef nonnull align 8 dereferenceable(8) %21) #6
  br i1 %156, label %162, label %157

157:                                              ; preds = %155
  store i32 7, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #6
  br label %180

158:                                              ; preds = %146
  %159 = landingpad { ptr, i32 }
          cleanup
  %160 = extractvalue { ptr, i32 } %159, 0
  store ptr %160, ptr %7, align 8
  %161 = extractvalue { ptr, i32 } %159, 1
  store i32 %161, ptr %8, align 4
  call void @_ZNSt15__new_allocatorIN6Crypto9SignatureEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %18) #6
  br label %186

162:                                              ; preds = %155
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #6
  %163 = call noundef nonnull align 1 dereferenceable(64) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN6Crypto9SignatureESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %20) #6
  store ptr %163, ptr %22, align 8, !tbaa !5
  %164 = load ptr, ptr %22, align 8, !tbaa !5
  invoke void @_ZN6Common10StringViewC2ILm1EEERAT__Kc(ptr noundef nonnull align 8 dereferenceable(16) %23, ptr noundef nonnull align 1 dereferenceable(1) @.str.10)
          to label %165 unwind label %171

165:                                              ; preds = %162
  %166 = load ptr, ptr %4, align 8, !tbaa !5
  %167 = invoke noundef zeroext i1 @_ZN12_GLOBAL__N_112serializePodIN6Crypto9SignatureEEEbRT_N6Common10StringViewERN7DynexCN11ISerializerE(ptr noundef nonnull align 1 dereferenceable(64) %164, ptr noundef %23, ptr noundef nonnull align 8 dereferenceable(8) %166)
          to label %168 unwind label %175

168:                                              ; preds = %165
  call void @_ZN6Common10StringViewD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %23) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #6
  br label %169

169:                                              ; preds = %168
  %170 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN6Crypto9SignatureESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %20) #6
  br label %155

171:                                              ; preds = %162
  %172 = landingpad { ptr, i32 }
          cleanup
  %173 = extractvalue { ptr, i32 } %172, 0
  store ptr %173, ptr %7, align 8
  %174 = extractvalue { ptr, i32 } %172, 1
  store i32 %174, ptr %8, align 4
  br label %179

175:                                              ; preds = %165
  %176 = landingpad { ptr, i32 }
          cleanup
  %177 = extractvalue { ptr, i32 } %176, 0
  store ptr %177, ptr %7, align 8
  %178 = extractvalue { ptr, i32 } %176, 1
  store i32 %178, ptr %8, align 4
  call void @_ZN6Common10StringViewD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %23) #6
  br label %179

179:                                              ; preds = %175, %171
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #6
  call void @_ZNSt6vectorIN6Crypto9SignatureESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %17) #6
  br label %186

180:                                              ; preds = %157
  %181 = load ptr, ptr %3, align 8, !tbaa !5
  %182 = getelementptr inbounds %"struct.DynexCN::Transaction", ptr %181, i32 0, i32 1
  %183 = load i64, ptr %9, align 8, !tbaa !9
  %184 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IN6Crypto9SignatureESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %182, i64 noundef %183) #6
  %185 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIN6Crypto9SignatureESaIS1_EEaSEOS3_(ptr noundef nonnull align 8 dereferenceable(24) %184, ptr noundef nonnull align 8 dereferenceable(24) %17) #6
  call void @_ZNSt6vectorIN6Crypto9SignatureESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %17) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %17) #6
  br label %187

186:                                              ; preds = %179, %158
  call void @llvm.lifetime.end.p0(i64 24, ptr %17) #6
  br label %194

187:                                              ; preds = %180, %145
  store i32 0, ptr %10, align 4
  br label %188

188:                                              ; preds = %187, %89
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  %189 = load i32, ptr %10, align 4
  switch i32 %189, label %202 [
    i32 0, label %190
    i32 4, label %191
  ]

190:                                              ; preds = %188
  br label %191

191:                                              ; preds = %190, %188
  %192 = load i64, ptr %9, align 8, !tbaa !9
  %193 = add i64 %192, 1
  store i64 %193, ptr %9, align 8, !tbaa !9
  br label %71, !llvm.loop !17

194:                                              ; preds = %186, %141, %115, %93
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  br label %196

195:                                              ; preds = %77
  call void @llvm.lifetime.end.p0(i64 1, ptr %6) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #6
  ret void

196:                                              ; preds = %194, %66
  call void @llvm.lifetime.end.p0(i64 1, ptr %6) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #6
  br label %197

197:                                              ; preds = %196
  %198 = load ptr, ptr %7, align 8
  %199 = load i32, ptr %8, align 4
  %200 = insertvalue { ptr, i32 } poison, ptr %198, 0
  %201 = insertvalue { ptr, i32 } %200, i32 %199, 1
  resume { ptr, i32 } %201

202:                                              ; preds = %188
  unreachable
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6vectorIN5boost7variantIN7DynexCN9BaseInputEJNS2_8KeyInputENS2_19MultisignatureInputEEEESaIS6_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(72) ptr @_ZNSt6vectorIN5boost7variantIN7DynexCN9BaseInputEJNS2_8KeyInputENS2_19MultisignatureInputEEEESaIS6_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZNK5boost7variantIN7DynexCN9BaseInputEJNS1_8KeyInputENS1_19MultisignatureInputEEE4typeEv(ptr noundef nonnull align 8 dereferenceable(72)) #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNKSt9type_infoeqERKS_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIS_IN6Crypto9SignatureESaIS1_EESaIS3_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNKSt6vectorIS_IN6Crypto9SignatureESaIS1_EESaIS3_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24)) #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6vectorIS_IN6Crypto9SignatureESaIS1_EESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) #4 align 2

; Function Attrs: mustprogress uwtable
declare hidden noundef i64 @_ZN12_GLOBAL__N_118getSignaturesCountERKN5boost7variantIN7DynexCN9BaseInputEJNS2_8KeyInputENS2_19MultisignatureInputEEEE(ptr noundef nonnull align 8 dereferenceable(72)) #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IN6Crypto9SignatureESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6vectorIN6Crypto9SignatureESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) #4 align 2

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 1 dereferenceable(64) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN6Crypto9SignatureESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8)) #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN6Common10StringViewC2ILm1EEERAT__Kc(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN6Crypto9SignatureESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8)) #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSaIN6Crypto9SignatureEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIN6Crypto9SignatureESaIS1_EEC2EmRKS2_(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIN6Crypto9SignatureESaIS1_EEaSEOS3_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) #4 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorIN6Crypto9SignatureEED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #4 align 2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { 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 #3 = { "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 = { 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 #5 = { 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 #6 = { nounwind }
attributes #7 = { noreturn }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"vtable pointer", !8, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"bool", !7, i64 0}
!15 = !{i8 0, i8 2}
!16 = !{}
!17 = distinct !{!17, !18}
!18 = !{!"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"

%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"class.Common::StringView" = type { ptr, i64 }
%"class.std::vector.19" = type { %"struct.std::_Vector_base.20" }
%"struct.std::_Vector_base.20" = type { %"struct.std::_Vector_base<Crypto::Signature, std::allocator<Crypto::Signature>>::_Vector_impl" }
%"struct.std::_Vector_base<Crypto::Signature, std::allocator<Crypto::Signature>>::_Vector_impl" = type { %"struct.std::_Vector_base<Crypto::Signature, std::allocator<Crypto::Signature>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Crypto::Signature, std::allocator<Crypto::Signature>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.21" = type { i8 }

@_ZTISt13runtime_error = external constant ptr
@_ZTIN7DynexCN9BaseInputE = external dso_local constant { ptr, ptr }, align 8
@.str.8 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [49 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [1 x i8], align 1

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

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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: nounwind
declare void @_ZN6Common10StringViewD1Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #1

; Function Attrs: mustprogress uwtable
declare hidden noundef zeroext i1 @_ZN12_GLOBAL__N_112serializePodIN6Crypto9SignatureEEEbRT_N6Common10StringViewERN7DynexCN11ISerializerE(ptr noundef nonnull align 1 dereferenceable(64), ptr noundef, ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7DynexCN9serializeERNS_17TransactionPrefixERNS_11ISerializerE(ptr noundef nonnull align 8 dereferenceable(88), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #2

declare ptr @__cxa_allocate_exception(i64) local_unnamed_addr

declare void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef) unnamed_addr #3

declare void @__cxa_free_exception(ptr) local_unnamed_addr

; Function Attrs: nounwind
declare void @_ZNSt13runtime_errorD1Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #1

declare void @__cxa_throw(ptr, ptr, ptr) local_unnamed_addr

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN7DynexCN9serializeERNS_11TransactionERNS_11ISerializerE(ptr noundef nonnull align 8 dereferenceable(112) %0, ptr noundef nonnull align 8 dereferenceable(8) %1) local_unnamed_addr #2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %4 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %5 = alloca %"class.Common::StringView", align 8
  %6 = alloca %"class.std::vector.19", align 8
  %7 = alloca %"class.std::allocator.21", align 1
  %8 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %9 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %10 = alloca %"class.Common::StringView", align 8
  tail call void @_ZN7DynexCN9serializeERNS_17TransactionPrefixERNS_11ISerializerE(ptr noundef nonnull align 8 dereferenceable(88) %0, ptr noundef nonnull align 8 dereferenceable(8) %1)
  %11 = getelementptr inbounds i8, ptr %0, i64 16
  %12 = tail call noundef i64 @_ZNKSt6vectorIN5boost7variantIN7DynexCN9BaseInputEJNS2_8KeyInputENS2_19MultisignatureInputEEEESaIS6_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %11) #6
  %13 = load ptr, ptr %1, align 8, !tbaa !5
  %14 = getelementptr inbounds i8, ptr %13, i64 16
  %15 = load ptr, ptr %14, align 8
  %16 = tail call noundef i32 %15(ptr noundef nonnull align 8 dereferenceable(8) %1)
  %17 = icmp eq i32 %16, 0
  br i1 %17, label %18, label %26

18:                                               ; preds = %2
  %19 = icmp eq i64 %12, 1
  br i1 %19, label %20, label %24

20:                                               ; preds = %18
  %21 = tail call noundef nonnull align 8 dereferenceable(72) ptr @_ZNSt6vectorIN5boost7variantIN7DynexCN9BaseInputEJNS2_8KeyInputENS2_19MultisignatureInputEEEESaIS6_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef 0) #6
  %22 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK5boost7variantIN7DynexCN9BaseInputEJNS1_8KeyInputENS1_19MultisignatureInputEEE4typeEv(ptr noundef nonnull align 8 dereferenceable(72) %21)
  %23 = tail call noundef zeroext i1 @_ZNKSt9type_infoeqERKS_(ptr noundef nonnull align 8 dereferenceable(16) %22, ptr noundef nonnull align 8 dereferenceable(16) @_ZTIN7DynexCN9BaseInputE) #6
  br i1 %23, label %26, label %24

24:                                               ; preds = %20, %18
  %25 = getelementptr inbounds i8, ptr %0, i64 88
  tail call void @_ZNSt6vectorIS_IN6Crypto9SignatureESaIS1_EESaIS3_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %25, i64 noundef %12)
  br label %26

26:                                               ; preds = %24, %20, %2
  %27 = getelementptr inbounds i8, ptr %0, i64 88
  %28 = tail call noundef zeroext i1 @_ZNKSt6vectorIS_IN6Crypto9SignatureESaIS1_EESaIS3_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %27) #6
  br i1 %28, label %37, label %29

29:                                               ; preds = %26
  %30 = tail call noundef i64 @_ZNKSt6vectorIN5boost7variantIN7DynexCN9BaseInputEJNS2_8KeyInputENS2_19MultisignatureInputEEEESaIS6_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %11) #6
  %31 = tail call noundef i64 @_ZNKSt6vectorIS_IN6Crypto9SignatureESaIS1_EESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %27) #6
  %.not = icmp eq i64 %30, %31
  br i1 %.not, label %.thread, label %32

32:                                               ; preds = %29
  %33 = tail call ptr @__cxa_allocate_exception(i64 16) #6
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %33, ptr noundef nonnull @.str.8)
          to label %34 unwind label %35

34:                                               ; preds = %32
  tail call void @__cxa_throw(ptr nonnull %33, ptr nonnull @_ZTISt13runtime_error, ptr nonnull @_ZNSt13runtime_errorD1Ev) #7
  unreachable

35:                                               ; preds = %32
  %36 = landingpad { ptr, i32 }
          cleanup
  tail call void @__cxa_free_exception(ptr %33) #6
  br label %99

37:                                               ; preds = %26
  %38 = tail call noundef i64 @_ZNKSt6vectorIN5boost7variantIN7DynexCN9BaseInputEJNS2_8KeyInputENS2_19MultisignatureInputEEEESaIS6_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %11) #6
  %.not53 = icmp eq i64 %38, 0
  br i1 %.not53, label %._crit_edge52, label %.lr.ph51.split.us

.thread:                                          ; preds = %29
  %39 = tail call noundef i64 @_ZNKSt6vectorIN5boost7variantIN7DynexCN9BaseInputEJNS2_8KeyInputENS2_19MultisignatureInputEEEESaIS6_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %11) #6
  %.not5355 = icmp eq i64 %39, 0
  br i1 %.not5355, label %._crit_edge52, label %.lr.ph51.split

.lr.ph51.split.us:                                ; preds = %37, %43
  %.04049.us = phi i64 [ %44, %43 ], [ 0, %37 ]
  %40 = tail call noundef nonnull align 8 dereferenceable(72) ptr @_ZNSt6vectorIN5boost7variantIN7DynexCN9BaseInputEJNS2_8KeyInputENS2_19MultisignatureInputEEEESaIS6_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %.04049.us) #6
  %41 = tail call noundef i64 @_ZN12_GLOBAL__N_118getSignaturesCountERKN5boost7variantIN7DynexCN9BaseInputEJNS2_8KeyInputENS2_19MultisignatureInputEEEE(ptr noundef nonnull align 8 dereferenceable(72) %40)
  %42 = icmp eq i64 %41, 0
  br i1 %42, label %43, label %.split.us

43:                                               ; preds = %.lr.ph51.split.us
  %44 = add nuw i64 %.04049.us, 1
  %45 = tail call noundef i64 @_ZNKSt6vectorIN5boost7variantIN7DynexCN9BaseInputEJNS2_8KeyInputENS2_19MultisignatureInputEEEESaIS6_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %11) #6
  %46 = icmp ult i64 %44, %45
  br i1 %46, label %.lr.ph51.split.us, label %._crit_edge52, !llvm.loop !8

._crit_edge52:                                    ; preds = %95, %43, %.thread, %37
  ret void

.lr.ph51.split:                                   ; preds = %.thread, %95
  %.04049 = phi i64 [ %96, %95 ], [ 0, %.thread ]
  %47 = call noundef nonnull align 8 dereferenceable(72) ptr @_ZNSt6vectorIN5boost7variantIN7DynexCN9BaseInputEJNS2_8KeyInputENS2_19MultisignatureInputEEEESaIS6_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %.04049) #6
  %48 = call noundef i64 @_ZN12_GLOBAL__N_118getSignaturesCountERKN5boost7variantIN7DynexCN9BaseInputEJNS2_8KeyInputENS2_19MultisignatureInputEEEE(ptr noundef nonnull align 8 dereferenceable(72) %47)
  %49 = load ptr, ptr %1, align 8, !tbaa !5
  %50 = getelementptr inbounds i8, ptr %49, i64 16
  %51 = load ptr, ptr %50, align 8
  %52 = call noundef i32 %51(ptr noundef nonnull align 8 dereferenceable(8) %1)
  %53 = icmp eq i32 %52, 1
  br i1 %53, label %58, label %78

.split.us:                                        ; preds = %.lr.ph51.split.us
  %54 = tail call ptr @__cxa_allocate_exception(i64 16) #6
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %54, ptr noundef nonnull @.str.9)
          to label %55 unwind label %56

55:                                               ; preds = %.split.us
  tail call void @__cxa_throw(ptr nonnull %54, ptr nonnull @_ZTISt13runtime_error, ptr nonnull @_ZNSt13runtime_errorD1Ev) #7
  unreachable

56:                                               ; preds = %.split.us
  %57 = landingpad { ptr, i32 }
          cleanup
  tail call void @__cxa_free_exception(ptr %54) #6
  br label %99

58:                                               ; preds = %.lr.ph51.split
  %59 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IN6Crypto9SignatureESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %27, i64 noundef %.04049) #6
  %60 = call noundef i64 @_ZNKSt6vectorIN6Crypto9SignatureESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %59) #6
  %.not42 = icmp eq i64 %48, %60
  br i1 %.not42, label %66, label %61

61:                                               ; preds = %58
  %62 = call ptr @__cxa_allocate_exception(i64 16) #6
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %62, ptr noundef nonnull @.str.8)
          to label %63 unwind label %64

63:                                               ; preds = %61
  call void @__cxa_throw(ptr nonnull %62, ptr nonnull @_ZTISt13runtime_error, ptr nonnull @_ZNSt13runtime_errorD1Ev) #7
  unreachable

64:                                               ; preds = %61
  %65 = landingpad { ptr, i32 }
          cleanup
  call void @__cxa_free_exception(ptr %62) #6
  br label %99

66:                                               ; preds = %58
  %67 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IN6Crypto9SignatureESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %27, i64 noundef %.04049) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #6
  %68 = call ptr @_ZNSt6vectorIN6Crypto9SignatureESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %67) #6
  store ptr %68, ptr %3, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #6
  %69 = call ptr @_ZNSt6vectorIN6Crypto9SignatureESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %67) #6
  store ptr %69, ptr %4, align 8
  %70 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN6Crypto9SignatureESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef nonnull align 8 dereferenceable(8) %4) #6
  br i1 %70, label %.lr.ph47, label %._crit_edge48

._crit_edge48:                                    ; preds = %73, %66
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #6
  br label %95

.lr.ph47:                                         ; preds = %66, %73
  %71 = call noundef nonnull align 1 dereferenceable(64) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN6Crypto9SignatureESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %3) #6
  call void @_ZN6Common10StringViewC2ILm1EEERAT__Kc(ptr noundef nonnull align 8 dereferenceable(16) %5, ptr noundef nonnull align 1 dereferenceable(1) @.str.10)
  %72 = invoke noundef zeroext i1 @_ZN12_GLOBAL__N_112serializePodIN6Crypto9SignatureEEEbRT_N6Common10StringViewERN7DynexCN11ISerializerE(ptr noundef nonnull align 1 dereferenceable(64) %71, ptr noundef nonnull %5, ptr noundef nonnull align 8 dereferenceable(8) %1)
          to label %73 unwind label %76

73:                                               ; preds = %.lr.ph47
  call void @_ZN6Common10StringViewD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %5) #6
  %74 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN6Crypto9SignatureESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %3) #6
  %75 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN6Crypto9SignatureESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef nonnull align 8 dereferenceable(8) %4) #6
  br i1 %75, label %.lr.ph47, label %._crit_edge48

76:                                               ; preds = %.lr.ph47
  %77 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6Common10StringViewD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %5) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #6
  br label %99

78:                                               ; preds = %.lr.ph51.split
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %6) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %7) #6
  call void @_ZNSaIN6Crypto9SignatureEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #6
  invoke void @_ZNSt6vectorIN6Crypto9SignatureESaIS1_EEC2EmRKS2_(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %48, ptr noundef nonnull align 1 dereferenceable(1) %7)
          to label %79 unwind label %85

79:                                               ; preds = %78
  call void @_ZNSt15__new_allocatorIN6Crypto9SignatureEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %7) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #6
  %80 = call ptr @_ZNSt6vectorIN6Crypto9SignatureESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #6
  store ptr %80, ptr %8, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #6
  %81 = call ptr @_ZNSt6vectorIN6Crypto9SignatureESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #6
  store ptr %81, ptr %9, align 8
  %82 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN6Crypto9SignatureESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %9) #6
  br i1 %82, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %89, %79
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #6
  %83 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IN6Crypto9SignatureESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %27, i64 noundef %.04049) #6
  %84 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIN6Crypto9SignatureESaIS1_EEaSEOS3_(ptr noundef nonnull align 8 dereferenceable(24) %83, ptr noundef nonnull align 8 dereferenceable(24) %6) #6
  call void @_ZNSt6vectorIN6Crypto9SignatureESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #6
  br label %95

85:                                               ; preds = %78
  %86 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIN6Crypto9SignatureEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %7) #6
  br label %94

.lr.ph:                                           ; preds = %79, %89
  %87 = call noundef nonnull align 1 dereferenceable(64) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN6Crypto9SignatureESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %8) #6
  call void @_ZN6Common10StringViewC2ILm1EEERAT__Kc(ptr noundef nonnull align 8 dereferenceable(16) %10, ptr noundef nonnull align 1 dereferenceable(1) @.str.10)
  %88 = invoke noundef zeroext i1 @_ZN12_GLOBAL__N_112serializePodIN6Crypto9SignatureEEEbRT_N6Common10StringViewERN7DynexCN11ISerializerE(ptr noundef nonnull align 1 dereferenceable(64) %87, ptr noundef nonnull %10, ptr noundef nonnull align 8 dereferenceable(8) %1)
          to label %89 unwind label %92

89:                                               ; preds = %.lr.ph
  call void @_ZN6Common10StringViewD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %10) #6
  %90 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN6Crypto9SignatureESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %8) #6
  %91 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN6Crypto9SignatureESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %9) #6
  br i1 %91, label %.lr.ph, label %._crit_edge

92:                                               ; preds = %.lr.ph
  %93 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6Common10StringViewD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %10) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #6
  call void @_ZNSt6vectorIN6Crypto9SignatureESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #6
  br label %94

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

95:                                               ; preds = %._crit_edge48, %._crit_edge
  %96 = add nuw i64 %.04049, 1
  %97 = call noundef i64 @_ZNKSt6vectorIN5boost7variantIN7DynexCN9BaseInputEJNS2_8KeyInputENS2_19MultisignatureInputEEEESaIS6_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %11) #6
  %98 = icmp ult i64 %96, %97
  br i1 %98, label %.lr.ph51.split, label %._crit_edge52, !llvm.loop !8

99:                                               ; preds = %56, %64, %76, %94, %35
  %.pn43.pn = phi { ptr, i32 } [ %36, %35 ], [ %57, %56 ], [ %65, %64 ], [ %77, %76 ], [ %.pn, %94 ]
  resume { ptr, i32 } %.pn43.pn
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6vectorIN5boost7variantIN7DynexCN9BaseInputEJNS2_8KeyInputENS2_19MultisignatureInputEEEESaIS6_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(72) ptr @_ZNSt6vectorIN5boost7variantIN7DynexCN9BaseInputEJNS2_8KeyInputENS2_19MultisignatureInputEEEESaIS6_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZNK5boost7variantIN7DynexCN9BaseInputEJNS1_8KeyInputENS1_19MultisignatureInputEEE4typeEv(ptr noundef nonnull align 8 dereferenceable(72)) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNKSt9type_infoeqERKS_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIS_IN6Crypto9SignatureESaIS1_EESaIS3_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNKSt6vectorIS_IN6Crypto9SignatureESaIS1_EESaIS3_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6vectorIS_IN6Crypto9SignatureESaIS1_EESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare hidden noundef i64 @_ZN12_GLOBAL__N_118getSignaturesCountERKN5boost7variantIN7DynexCN9BaseInputEJNS2_8KeyInputENS2_19MultisignatureInputEEEE(ptr noundef nonnull align 8 dereferenceable(72)) local_unnamed_addr #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IN6Crypto9SignatureESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6vectorIN6Crypto9SignatureESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNSt6vectorIN6Crypto9SignatureESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNSt6vectorIN6Crypto9SignatureESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #4 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 1 dereferenceable(64) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN6Crypto9SignatureESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN6Common10StringViewC2ILm1EEERAT__Kc(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN6Crypto9SignatureESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSaIN6Crypto9SignatureEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIN6Crypto9SignatureESaIS1_EEC2EmRKS2_(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIN6Crypto9SignatureESaIS1_EEaSEOS3_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #4 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorIN6Crypto9SignatureEED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #4 align 2

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { 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 #3 = { "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 = { 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 #5 = { 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 #6 = { nounwind }
attributes #7 = { noreturn }

!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 = !{!"vtable pointer", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = distinct !{!8, !9}
!9 = !{!"llvm.loop.mustprogress"}


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