; LLVM IR from UBIC-repo/core :: TxPool.ll (ZN6TxPool27appendTransactionsFromBlockEP5Block)

; 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::vector.53" = type { %"struct.std::_Vector_base.54" }
%"struct.std::_Vector_base.54" = type { %"struct.std::_Vector_base<Transaction, std::allocator<Transaction>>::_Vector_impl" }
%"struct.std::_Vector_base<Transaction, std::allocator<Transaction>>::_Vector_impl" = type { %"struct.std::_Vector_base<Transaction, std::allocator<Transaction>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Transaction, std::allocator<Transaction>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.__gnu_cxx::__normal_iterator.63" = type { ptr }
%class.Transaction = type <{ i8, [7 x i8], %"class.std::vector.26", %"class.std::vector.31", i32, [4 x i8] }>
%"class.std::vector.26" = type { %"struct.std::_Vector_base.27" }
%"struct.std::_Vector_base.27" = type { %"struct.std::_Vector_base<TxIn, std::allocator<TxIn>>::_Vector_impl" }
%"struct.std::_Vector_base<TxIn, std::allocator<TxIn>>::_Vector_impl" = type { %"struct.std::_Vector_base<TxIn, std::allocator<TxIn>>::_Vector_impl_data" }
%"struct.std::_Vector_base<TxIn, std::allocator<TxIn>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.31" = type { %"struct.std::_Vector_base.32" }
%"struct.std::_Vector_base.32" = type { %"struct.std::_Vector_base<TxOut, std::allocator<TxOut>>::_Vector_impl" }
%"struct.std::_Vector_base<TxOut, std::allocator<TxOut>>::_Vector_impl" = type { %"struct.std::_Vector_base<TxOut, std::allocator<TxOut>>::_Vector_impl_data" }
%"struct.std::_Vector_base<TxOut, std::allocator<TxOut>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.TransactionForNetwork = type { %class.Transaction, i8, %"class.std::vector", i64, i64 }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = 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 }
%"class.__gnu_cxx::__normal_iterator.64" = type { ptr }

; 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: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN11TransactionD2Ev(ptr noundef nonnull align 8 dereferenceable(60)) unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN6TxPool17appendTransactionE21TransactionForNetworkbP16TransactionError(ptr noundef nonnull align 8 dereferenceable(112), ptr noundef, i1 noundef zeroext, ptr noundef) #2 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN11TransactionC2ERKS_(ptr noundef nonnull align 8 dereferenceable(60), ptr noundef nonnull align 8 dereferenceable(60)) unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN6TxPool27appendTransactionsFromBlockEP5Block(ptr noundef nonnull align 8 dereferenceable(112) %0, ptr noundef %1) #2 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca %"class.std::vector.53", align 8
  %7 = alloca %"class.__gnu_cxx::__normal_iterator.63", align 8
  %8 = alloca %"class.__gnu_cxx::__normal_iterator.63", align 8
  %9 = alloca %class.Transaction, align 8
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca %class.TransactionForNetwork, align 8
  %13 = alloca %class.Transaction, align 8
  %14 = alloca %class.TransactionForNetwork, align 8
  %15 = alloca ptr, align 8
  %16 = alloca %"class.__gnu_cxx::__normal_iterator.64", align 8
  %17 = alloca %"class.__gnu_cxx::__normal_iterator.64", align 8
  %18 = alloca %class.Transaction, align 8
  %19 = alloca %class.TransactionForNetwork, align 8
  %20 = alloca %class.Transaction, align 8
  %21 = alloca %class.TransactionForNetwork, align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %22 = load ptr, ptr %3, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr %6) #6
  %23 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN5Block15getTransactionsEv(ptr dead_on_unwind writable sret(%"class.std::vector.53") align 8 %6, ptr noundef nonnull align 8 dereferenceable(424) %23)
  store ptr %6, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #6
  %24 = load ptr, ptr %5, align 8, !tbaa !5
  %25 = call ptr @_ZNSt6vectorI11TransactionSaIS0_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %24) #6
  %26 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.63", ptr %7, i32 0, i32 0
  store ptr %25, ptr %26, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #6
  %27 = load ptr, ptr %5, align 8, !tbaa !5
  %28 = call ptr @_ZNSt6vectorI11TransactionSaIS0_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %27) #6
  %29 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.63", ptr %8, i32 0, i32 0
  store ptr %28, ptr %29, align 8
  br label %30

30:                                               ; preds = %41, %2
  %31 = call noundef zeroext i1 @_ZN9__gnu_cxxneIP11TransactionSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESB_(ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull align 8 dereferenceable(8) %8) #6
  br i1 %31, label %33, label %32

32:                                               ; preds = %30
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #6
  call void @_ZNSt6vectorI11TransactionSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %6) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #6
  br label %61

33:                                               ; preds = %30
  call void @llvm.lifetime.start.p0(i64 64, ptr %9) #6
  %34 = call noundef nonnull align 8 dereferenceable(60) ptr @_ZNK9__gnu_cxx17__normal_iteratorIP11TransactionSt6vectorIS1_SaIS1_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %7) #6
  invoke void @_ZN11TransactionC2ERKS_(ptr noundef nonnull align 8 dereferenceable(60) %9, ptr noundef nonnull align 8 dereferenceable(60) %34)
          to label %35 unwind label %43

35:                                               ; preds = %33
  call void @llvm.lifetime.start.p0(i64 112, ptr %12) #6
  call void @_ZN21TransactionForNetworkC2Ev(ptr noundef nonnull align 8 dereferenceable(112) %12) #6
  invoke void @_ZN11TransactionC2ERKS_(ptr noundef nonnull align 8 dereferenceable(60) %13, ptr noundef nonnull align 8 dereferenceable(60) %9)
          to label %36 unwind label %47

36:                                               ; preds = %35
  invoke void @_ZN21TransactionForNetwork14setTransactionE11Transaction(ptr noundef nonnull align 8 dereferenceable(112) %12, ptr noundef %13)
          to label %37 unwind label %51

37:                                               ; preds = %36
  call void @_ZN11TransactionD2Ev(ptr noundef nonnull align 8 dereferenceable(60) %13) #6
  invoke void @_ZN21TransactionForNetworkC2ERKS_(ptr noundef nonnull align 8 dereferenceable(112) %14, ptr noundef nonnull align 8 dereferenceable(112) %12)
          to label %38 unwind label %47

38:                                               ; preds = %37
  %39 = invoke noundef zeroext i1 @_ZN6TxPool17appendTransactionE21TransactionForNetworkbP16TransactionError(ptr noundef nonnull align 8 dereferenceable(112) %22, ptr noundef %14, i1 noundef zeroext false, ptr noundef null)
          to label %40 unwind label %55

40:                                               ; preds = %38
  call void @_ZN21TransactionForNetworkD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %14) #6
  call void @_ZN21TransactionForNetworkD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %12) #6
  call void @llvm.lifetime.end.p0(i64 112, ptr %12) #6
  call void @_ZN11TransactionD2Ev(ptr noundef nonnull align 8 dereferenceable(60) %9) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr %9) #6
  br label %41

41:                                               ; preds = %40
  %42 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIP11TransactionSt6vectorIS1_SaIS1_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %7) #6
  br label %30

43:                                               ; preds = %33
  %44 = landingpad { ptr, i32 }
          cleanup
  %45 = extractvalue { ptr, i32 } %44, 0
  store ptr %45, ptr %10, align 8
  %46 = extractvalue { ptr, i32 } %44, 1
  store i32 %46, ptr %11, align 4
  br label %60

47:                                               ; preds = %37, %35
  %48 = landingpad { ptr, i32 }
          cleanup
  %49 = extractvalue { ptr, i32 } %48, 0
  store ptr %49, ptr %10, align 8
  %50 = extractvalue { ptr, i32 } %48, 1
  store i32 %50, ptr %11, align 4
  br label %59

51:                                               ; preds = %36
  %52 = landingpad { ptr, i32 }
          cleanup
  %53 = extractvalue { ptr, i32 } %52, 0
  store ptr %53, ptr %10, align 8
  %54 = extractvalue { ptr, i32 } %52, 1
  store i32 %54, ptr %11, align 4
  call void @_ZN11TransactionD2Ev(ptr noundef nonnull align 8 dereferenceable(60) %13) #6
  br label %59

55:                                               ; preds = %38
  %56 = landingpad { ptr, i32 }
          cleanup
  %57 = extractvalue { ptr, i32 } %56, 0
  store ptr %57, ptr %10, align 8
  %58 = extractvalue { ptr, i32 } %56, 1
  store i32 %58, ptr %11, align 4
  call void @_ZN21TransactionForNetworkD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %14) #6
  br label %59

59:                                               ; preds = %55, %51, %47
  call void @_ZN21TransactionForNetworkD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %12) #6
  call void @llvm.lifetime.end.p0(i64 112, ptr %12) #6
  call void @_ZN11TransactionD2Ev(ptr noundef nonnull align 8 dereferenceable(60) %9) #6
  br label %60

60:                                               ; preds = %59, %43
  call void @llvm.lifetime.end.p0(i64 64, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #6
  call void @_ZNSt6vectorI11TransactionSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %6) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #6
  br label %97

61:                                               ; preds = %32
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #6
  %62 = load ptr, ptr %4, align 8, !tbaa !5
  %63 = call noundef ptr @_ZN5Block9getHeaderEv(ptr noundef nonnull align 8 dereferenceable(424) %62)
  %64 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK11BlockHeader8getVotesEv(ptr noundef nonnull align 8 dereferenceable(400) %63)
  store ptr %64, ptr %15, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #6
  %65 = load ptr, ptr %15, align 8, !tbaa !5
  %66 = call ptr @_ZNKSt6vectorI11TransactionSaIS0_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %65) #6
  %67 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.64", ptr %16, i32 0, i32 0
  store ptr %66, ptr %67, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #6
  %68 = load ptr, ptr %15, align 8, !tbaa !5
  %69 = call ptr @_ZNKSt6vectorI11TransactionSaIS0_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %68) #6
  %70 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.64", ptr %17, i32 0, i32 0
  store ptr %69, ptr %70, align 8
  br label %71

71:                                               ; preds = %81, %61
  %72 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPK11TransactionSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %16, ptr noundef nonnull align 8 dereferenceable(8) %17) #6
  br i1 %72, label %74, label %73

73:                                               ; preds = %71
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #6
  br label %96

74:                                               ; preds = %71
  call void @llvm.lifetime.start.p0(i64 64, ptr %18) #6
  %75 = call noundef nonnull align 8 dereferenceable(60) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPK11TransactionSt6vectorIS1_SaIS1_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %16) #6
  call void @_ZN11TransactionC2ERKS_(ptr noundef nonnull align 8 dereferenceable(60) %18, ptr noundef nonnull align 8 dereferenceable(60) %75)
  call void @llvm.lifetime.start.p0(i64 112, ptr %19) #6
  call void @_ZN21TransactionForNetworkC2Ev(ptr noundef nonnull align 8 dereferenceable(112) %19) #6
  invoke void @_ZN11TransactionC2ERKS_(ptr noundef nonnull align 8 dereferenceable(60) %20, ptr noundef nonnull align 8 dereferenceable(60) %18)
          to label %76 unwind label %83

76:                                               ; preds = %74
  invoke void @_ZN21TransactionForNetwork14setTransactionE11Transaction(ptr noundef nonnull align 8 dereferenceable(112) %19, ptr noundef %20)
          to label %77 unwind label %87

77:                                               ; preds = %76
  call void @_ZN11TransactionD2Ev(ptr noundef nonnull align 8 dereferenceable(60) %20) #6
  invoke void @_ZN21TransactionForNetworkC2ERKS_(ptr noundef nonnull align 8 dereferenceable(112) %21, ptr noundef nonnull align 8 dereferenceable(112) %19)
          to label %78 unwind label %83

78:                                               ; preds = %77
  %79 = invoke noundef zeroext i1 @_ZN6TxPool17appendTransactionE21TransactionForNetworkbP16TransactionError(ptr noundef nonnull align 8 dereferenceable(112) %22, ptr noundef %21, i1 noundef zeroext false, ptr noundef null)
          to label %80 unwind label %91

80:                                               ; preds = %78
  call void @_ZN21TransactionForNetworkD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %21) #6
  call void @_ZN21TransactionForNetworkD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %19) #6
  call void @llvm.lifetime.end.p0(i64 112, ptr %19) #6
  call void @_ZN11TransactionD2Ev(ptr noundef nonnull align 8 dereferenceable(60) %18) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr %18) #6
  br label %81

81:                                               ; preds = %80
  %82 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPK11TransactionSt6vectorIS1_SaIS1_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %16) #6
  br label %71

83:                                               ; preds = %77, %74
  %84 = landingpad { ptr, i32 }
          cleanup
  %85 = extractvalue { ptr, i32 } %84, 0
  store ptr %85, ptr %10, align 8
  %86 = extractvalue { ptr, i32 } %84, 1
  store i32 %86, ptr %11, align 4
  br label %95

87:                                               ; preds = %76
  %88 = landingpad { ptr, i32 }
          cleanup
  %89 = extractvalue { ptr, i32 } %88, 0
  store ptr %89, ptr %10, align 8
  %90 = extractvalue { ptr, i32 } %88, 1
  store i32 %90, ptr %11, align 4
  call void @_ZN11TransactionD2Ev(ptr noundef nonnull align 8 dereferenceable(60) %20) #6
  br label %95

91:                                               ; preds = %78
  %92 = landingpad { ptr, i32 }
          cleanup
  %93 = extractvalue { ptr, i32 } %92, 0
  store ptr %93, ptr %10, align 8
  %94 = extractvalue { ptr, i32 } %92, 1
  store i32 %94, ptr %11, align 4
  call void @_ZN21TransactionForNetworkD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %21) #6
  br label %95

95:                                               ; preds = %91, %87, %83
  call void @_ZN21TransactionForNetworkD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %19) #6
  call void @llvm.lifetime.end.p0(i64 112, ptr %19) #6
  call void @_ZN11TransactionD2Ev(ptr noundef nonnull align 8 dereferenceable(60) %18) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #6
  br label %97

96:                                               ; preds = %73
  ret void

97:                                               ; preds = %95, %60
  %98 = load ptr, ptr %10, align 8
  %99 = load i32, ptr %11, align 4
  %100 = insertvalue { ptr, i32 } poison, ptr %98, 0
  %101 = insertvalue { ptr, i32 } %100, i32 %99, 1
  resume { ptr, i32 } %101
}

declare void @_ZN5Block15getTransactionsEv(ptr dead_on_unwind writable sret(%"class.std::vector.53") align 8, ptr noundef nonnull align 8 dereferenceable(424)) #4

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN21TransactionForNetworkC2Ev(ptr noundef nonnull align 8 dereferenceable(112)) unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN21TransactionForNetworkC2ERKS_(ptr noundef nonnull align 8 dereferenceable(112), ptr noundef nonnull align 8 dereferenceable(112)) unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN21TransactionForNetworkD2Ev(ptr noundef nonnull align 8 dereferenceable(112)) unnamed_addr #1 align 2

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

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

declare noundef ptr @_ZN5Block9getHeaderEv(ptr noundef nonnull align 8 dereferenceable(424)) #4

declare noundef nonnull align 8 dereferenceable(24) ptr @_ZNK11BlockHeader8getVotesEv(ptr noundef nonnull align 8 dereferenceable(400)) #4

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

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

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

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

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #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 = { inlinehint 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 #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 = { 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 }

!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"}


; 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::vector.53" = type { %"struct.std::_Vector_base.54" }
%"struct.std::_Vector_base.54" = type { %"struct.std::_Vector_base<Transaction, std::allocator<Transaction>>::_Vector_impl" }
%"struct.std::_Vector_base<Transaction, std::allocator<Transaction>>::_Vector_impl" = type { %"struct.std::_Vector_base<Transaction, std::allocator<Transaction>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Transaction, std::allocator<Transaction>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.__gnu_cxx::__normal_iterator.63" = type { ptr }
%class.Transaction = type <{ i8, [7 x i8], %"class.std::vector.26", %"class.std::vector.31", i32, [4 x i8] }>
%"class.std::vector.26" = type { %"struct.std::_Vector_base.27" }
%"struct.std::_Vector_base.27" = type { %"struct.std::_Vector_base<TxIn, std::allocator<TxIn>>::_Vector_impl" }
%"struct.std::_Vector_base<TxIn, std::allocator<TxIn>>::_Vector_impl" = type { %"struct.std::_Vector_base<TxIn, std::allocator<TxIn>>::_Vector_impl_data" }
%"struct.std::_Vector_base<TxIn, std::allocator<TxIn>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.31" = type { %"struct.std::_Vector_base.32" }
%"struct.std::_Vector_base.32" = type { %"struct.std::_Vector_base<TxOut, std::allocator<TxOut>>::_Vector_impl" }
%"struct.std::_Vector_base<TxOut, std::allocator<TxOut>>::_Vector_impl" = type { %"struct.std::_Vector_base<TxOut, std::allocator<TxOut>>::_Vector_impl_data" }
%"struct.std::_Vector_base<TxOut, std::allocator<TxOut>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.TransactionForNetwork = type { %class.Transaction, i8, %"class.std::vector", i64, i64 }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = 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 }
%"class.__gnu_cxx::__normal_iterator.64" = type { ptr }

; 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: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN11TransactionD2Ev(ptr noundef nonnull align 8 dereferenceable(60)) unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN6TxPool17appendTransactionE21TransactionForNetworkbP16TransactionError(ptr noundef nonnull align 8 dereferenceable(112), ptr noundef, i1 noundef zeroext, ptr noundef) local_unnamed_addr #2 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN11TransactionC2ERKS_(ptr noundef nonnull align 8 dereferenceable(60), ptr noundef nonnull align 8 dereferenceable(60)) unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN6TxPool27appendTransactionsFromBlockEP5Block(ptr noundef nonnull align 8 dereferenceable(112) %0, ptr noundef nonnull %1) local_unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.std::vector.53", align 8
  %4 = alloca %"class.__gnu_cxx::__normal_iterator.63", align 8
  %5 = alloca %"class.__gnu_cxx::__normal_iterator.63", align 8
  %6 = alloca %class.Transaction, align 8
  %7 = alloca %class.TransactionForNetwork, align 8
  %8 = alloca %class.Transaction, align 8
  %9 = alloca %class.TransactionForNetwork, align 8
  %10 = alloca %"class.__gnu_cxx::__normal_iterator.64", align 8
  %11 = alloca %"class.__gnu_cxx::__normal_iterator.64", align 8
  %12 = alloca %class.Transaction, align 8
  %13 = alloca %class.TransactionForNetwork, align 8
  %14 = alloca %class.Transaction, align 8
  %15 = alloca %class.TransactionForNetwork, align 8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %3) #6
  call void @_ZN5Block15getTransactionsEv(ptr dead_on_unwind nonnull writable sret(%"class.std::vector.53") align 8 %3, ptr noundef nonnull align 8 dereferenceable(424) %1)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #6
  %16 = call ptr @_ZNSt6vectorI11TransactionSaIS0_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %3) #6
  store ptr %16, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #6
  %17 = call ptr @_ZNSt6vectorI11TransactionSaIS0_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %3) #6
  store ptr %17, ptr %5, align 8
  %18 = call noundef zeroext i1 @_ZN9__gnu_cxxneIP11TransactionSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESB_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(8) %5) #6
  br i1 %18, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %30, %2
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #6
  call void @_ZNSt6vectorI11TransactionSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #6
  %19 = call noundef ptr @_ZN5Block9getHeaderEv(ptr noundef nonnull align 8 dereferenceable(424) %1)
  %20 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK11BlockHeader8getVotesEv(ptr noundef nonnull align 8 dereferenceable(400) %19)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #6
  %21 = call ptr @_ZNKSt6vectorI11TransactionSaIS0_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %20) #6
  store ptr %21, ptr %10, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #6
  %22 = call ptr @_ZNKSt6vectorI11TransactionSaIS0_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %20) #6
  store ptr %22, ptr %11, align 8
  %23 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPK11TransactionSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull align 8 dereferenceable(8) %11) #6
  br i1 %23, label %.lr.ph18, label %._crit_edge19

.lr.ph:                                           ; preds = %2, %30
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %6) #6
  %24 = call noundef nonnull align 8 dereferenceable(60) ptr @_ZNK9__gnu_cxx17__normal_iteratorIP11TransactionSt6vectorIS1_SaIS1_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #6
  invoke void @_ZN11TransactionC2ERKS_(ptr noundef nonnull align 8 dereferenceable(60) %6, ptr noundef nonnull align 8 dereferenceable(60) %24)
          to label %25 unwind label %33

25:                                               ; preds = %.lr.ph
  call void @llvm.lifetime.start.p0(i64 112, ptr nonnull %7) #6
  call void @_ZN21TransactionForNetworkC2Ev(ptr noundef nonnull align 8 dereferenceable(112) %7) #6
  invoke void @_ZN11TransactionC2ERKS_(ptr noundef nonnull align 8 dereferenceable(60) %8, ptr noundef nonnull align 8 dereferenceable(60) %6)
          to label %26 unwind label %35

26:                                               ; preds = %25
  invoke void @_ZN21TransactionForNetwork14setTransactionE11Transaction(ptr noundef nonnull align 8 dereferenceable(112) %7, ptr noundef nonnull %8)
          to label %27 unwind label %37

27:                                               ; preds = %26
  call void @_ZN11TransactionD2Ev(ptr noundef nonnull align 8 dereferenceable(60) %8) #6
  invoke void @_ZN21TransactionForNetworkC2ERKS_(ptr noundef nonnull align 8 dereferenceable(112) %9, ptr noundef nonnull align 8 dereferenceable(112) %7)
          to label %28 unwind label %35

28:                                               ; preds = %27
  %29 = invoke noundef zeroext i1 @_ZN6TxPool17appendTransactionE21TransactionForNetworkbP16TransactionError(ptr noundef nonnull align 8 dereferenceable(112) %0, ptr noundef nonnull %9, i1 noundef zeroext false, ptr noundef null)
          to label %30 unwind label %39

30:                                               ; preds = %28
  call void @_ZN21TransactionForNetworkD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %9) #6
  call void @_ZN21TransactionForNetworkD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %7) #6
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %7) #6
  call void @_ZN11TransactionD2Ev(ptr noundef nonnull align 8 dereferenceable(60) %6) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %6) #6
  %31 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIP11TransactionSt6vectorIS1_SaIS1_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #6
  %32 = call noundef zeroext i1 @_ZN9__gnu_cxxneIP11TransactionSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESB_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(8) %5) #6
  br i1 %32, label %.lr.ph, label %._crit_edge

33:                                               ; preds = %.lr.ph
  %34 = landingpad { ptr, i32 }
          cleanup
  br label %42

35:                                               ; preds = %27, %25
  %36 = landingpad { ptr, i32 }
          cleanup
  br label %41

37:                                               ; preds = %26
  %38 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN11TransactionD2Ev(ptr noundef nonnull align 8 dereferenceable(60) %8) #6
  br label %41

39:                                               ; preds = %28
  %40 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN21TransactionForNetworkD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %9) #6
  br label %41

41:                                               ; preds = %39, %37, %35
  %.pn13 = phi { ptr, i32 } [ %40, %39 ], [ %36, %35 ], [ %38, %37 ]
  call void @_ZN21TransactionForNetworkD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %7) #6
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %7) #6
  call void @_ZN11TransactionD2Ev(ptr noundef nonnull align 8 dereferenceable(60) %6) #6
  br label %42

42:                                               ; preds = %41, %33
  %.pn13.pn = phi { ptr, i32 } [ %.pn13, %41 ], [ %34, %33 ]
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %6) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #6
  call void @_ZNSt6vectorI11TransactionSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #6
  br label %58

._crit_edge19:                                    ; preds = %48, %._crit_edge
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #6
  ret void

.lr.ph18:                                         ; preds = %._crit_edge, %48
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %12) #6
  %43 = call noundef nonnull align 8 dereferenceable(60) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPK11TransactionSt6vectorIS1_SaIS1_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %10) #6
  call void @_ZN11TransactionC2ERKS_(ptr noundef nonnull align 8 dereferenceable(60) %12, ptr noundef nonnull align 8 dereferenceable(60) %43)
  call void @llvm.lifetime.start.p0(i64 112, ptr nonnull %13) #6
  call void @_ZN21TransactionForNetworkC2Ev(ptr noundef nonnull align 8 dereferenceable(112) %13) #6
  invoke void @_ZN11TransactionC2ERKS_(ptr noundef nonnull align 8 dereferenceable(60) %14, ptr noundef nonnull align 8 dereferenceable(60) %12)
          to label %44 unwind label %51

44:                                               ; preds = %.lr.ph18
  invoke void @_ZN21TransactionForNetwork14setTransactionE11Transaction(ptr noundef nonnull align 8 dereferenceable(112) %13, ptr noundef nonnull %14)
          to label %45 unwind label %53

45:                                               ; preds = %44
  call void @_ZN11TransactionD2Ev(ptr noundef nonnull align 8 dereferenceable(60) %14) #6
  invoke void @_ZN21TransactionForNetworkC2ERKS_(ptr noundef nonnull align 8 dereferenceable(112) %15, ptr noundef nonnull align 8 dereferenceable(112) %13)
          to label %46 unwind label %51

46:                                               ; preds = %45
  %47 = invoke noundef zeroext i1 @_ZN6TxPool17appendTransactionE21TransactionForNetworkbP16TransactionError(ptr noundef nonnull align 8 dereferenceable(112) %0, ptr noundef nonnull %15, i1 noundef zeroext false, ptr noundef null)
          to label %48 unwind label %55

48:                                               ; preds = %46
  call void @_ZN21TransactionForNetworkD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %15) #6
  call void @_ZN21TransactionForNetworkD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %13) #6
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %13) #6
  call void @_ZN11TransactionD2Ev(ptr noundef nonnull align 8 dereferenceable(60) %12) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %12) #6
  %49 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPK11TransactionSt6vectorIS1_SaIS1_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %10) #6
  %50 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPK11TransactionSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull align 8 dereferenceable(8) %11) #6
  br i1 %50, label %.lr.ph18, label %._crit_edge19

51:                                               ; preds = %45, %.lr.ph18
  %52 = landingpad { ptr, i32 }
          cleanup
  br label %57

53:                                               ; preds = %44
  %54 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN11TransactionD2Ev(ptr noundef nonnull align 8 dereferenceable(60) %14) #6
  br label %57

55:                                               ; preds = %46
  %56 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN21TransactionForNetworkD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %15) #6
  br label %57

57:                                               ; preds = %55, %53, %51
  %.pn = phi { ptr, i32 } [ %56, %55 ], [ %52, %51 ], [ %54, %53 ]
  call void @_ZN21TransactionForNetworkD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %13) #6
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %13) #6
  call void @_ZN11TransactionD2Ev(ptr noundef nonnull align 8 dereferenceable(60) %12) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %12) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #6
  br label %58

58:                                               ; preds = %57, %42
  %.pn13.pn.pn = phi { ptr, i32 } [ %.pn13.pn, %42 ], [ %.pn, %57 ]
  resume { ptr, i32 } %.pn13.pn.pn
}

declare void @_ZN5Block15getTransactionsEv(ptr dead_on_unwind writable sret(%"class.std::vector.53") align 8, ptr noundef nonnull align 8 dereferenceable(424)) local_unnamed_addr #4

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN21TransactionForNetworkC2Ev(ptr noundef nonnull align 8 dereferenceable(112)) unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN21TransactionForNetworkC2ERKS_(ptr noundef nonnull align 8 dereferenceable(112), ptr noundef nonnull align 8 dereferenceable(112)) unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN21TransactionForNetworkD2Ev(ptr noundef nonnull align 8 dereferenceable(112)) unnamed_addr #1 align 2

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

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

declare noundef ptr @_ZN5Block9getHeaderEv(ptr noundef nonnull align 8 dereferenceable(424)) local_unnamed_addr #4

declare noundef nonnull align 8 dereferenceable(24) ptr @_ZNK11BlockHeader8getVotesEv(ptr noundef nonnull align 8 dereferenceable(400)) local_unnamed_addr #4

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

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

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

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

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #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 = { inlinehint 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 #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 = { 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 }

!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)"}


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