; LLVM IR from dynexcoin/Dynex :: src/Transfers (BlockchainSynchronizer)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.Logging::LoggerMessage" = type <{ %"class.std::basic_ostream.base", %"class.std::basic_streambuf", ptr, %"class.std::__cxx11::basic_string", i32, [4 x i8], %"class.std::__cxx11::basic_string", %"class.boost::posix_time::ptime", i8, [7 x i8], %"class.std::basic_ios" }>
%"class.std::basic_ostream.base" = type { ptr }
%"class.std::basic_streambuf" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, %"class.std::locale" }
%"class.std::locale" = type { ptr }
%"class.boost::posix_time::ptime" = type { %"class.boost::date_time::base_time" }
%"class.boost::date_time::base_time" = type { %"struct.boost::date_time::counted_time_rep" }
%"struct.boost::date_time::counted_time_rep" = type { %"class.boost::date_time::int_adapter" }
%"class.boost::date_time::int_adapter" = type { i64 }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"struct.DynexCN::BlockchainSynchronizer::GetBlocksRequest" = type { %"struct.DynexCN::SynchronizationStart", %"class.std::vector.23" }
%"struct.DynexCN::SynchronizationStart" = type { i64, i64 }
%"class.std::vector.23" = type { %"struct.std::_Vector_base.24" }
%"struct.std::_Vector_base.24" = type { %"struct.std::_Vector_base<Crypto::Hash, std::allocator<Crypto::Hash>>::_Vector_impl" }
%"struct.std::_Vector_base<Crypto::Hash, std::allocator<Crypto::Hash>>::_Vector_impl" = type { %"struct.std::_Vector_base<Crypto::Hash, std::allocator<Crypto::Hash>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Crypto::Hash, std::allocator<Crypto::Hash>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::unique_lock" = type <{ ptr, i8, [7 x i8] }>
%"struct.std::_Rb_tree_iterator" = type { ptr }
%"class.DynexCN::BlockchainSynchronizer" = type { %"class.DynexCN::IObservableImpl", %"class.DynexCN::INodeObserver", %"class.Logging::LoggerRef", %"class.std::map", ptr, %"struct.Crypto::Hash", %"struct.Crypto::Hash", i32, i32, %"class.std::unique_ptr", %"class.std::__cxx11::list", %"class.std::__cxx11::list.15", %"class.std::mutex", %"class.std::mutex", %"class.std::condition_variable" }
%"class.DynexCN::IObservableImpl" = type { %"class.DynexCN::IBlockchainSynchronizer", %"class.Tools::ObserverManager" }
%"class.DynexCN::IBlockchainSynchronizer" = type { %"class.DynexCN::IObservable", %"class.DynexCN::IStreamSerializable" }
%"class.DynexCN::IObservable" = type { ptr }
%"class.DynexCN::IStreamSerializable" = type { ptr }
%"class.Tools::ObserverManager" = type { %"class.std::vector", %"class.std::mutex" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<DynexCN::IBlockchainSynchronizerObserver *, std::allocator<DynexCN::IBlockchainSynchronizerObserver *>>::_Vector_impl" }
%"struct.std::_Vector_base<DynexCN::IBlockchainSynchronizerObserver *, std::allocator<DynexCN::IBlockchainSynchronizerObserver *>>::_Vector_impl" = type { %"struct.std::_Vector_base<DynexCN::IBlockchainSynchronizerObserver *, std::allocator<DynexCN::IBlockchainSynchronizerObserver *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<DynexCN::IBlockchainSynchronizerObserver *, std::allocator<DynexCN::IBlockchainSynchronizerObserver *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.DynexCN::INodeObserver" = type { ptr }
%"class.Logging::LoggerRef" = type { ptr, %"class.std::__cxx11::basic_string" }
%"class.std::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<DynexCN::IBlockchainConsumer *, std::pair<DynexCN::IBlockchainConsumer *const, std::shared_ptr<DynexCN::SynchronizationState>>, std::_Select1st<std::pair<DynexCN::IBlockchainConsumer *const, std::shared_ptr<DynexCN::SynchronizationState>>>, std::less<DynexCN::IBlockchainConsumer *>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<DynexCN::IBlockchainConsumer *, std::pair<DynexCN::IBlockchainConsumer *const, std::shared_ptr<DynexCN::SynchronizationState>>, std::_Select1st<std::pair<DynexCN::IBlockchainConsumer *const, std::shared_ptr<DynexCN::SynchronizationState>>>, std::less<DynexCN::IBlockchainConsumer *>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"struct.Crypto::Hash" = type { [32 x i8] }
%"class.std::unique_ptr" = type { %"struct.std::__uniq_ptr_data" }
%"struct.std::__uniq_ptr_data" = type { %"class.std::__uniq_ptr_impl" }
%"class.std::__uniq_ptr_impl" = type { %"class.std::tuple" }
%"class.std::tuple" = type { %"struct.std::_Tuple_impl" }
%"struct.std::_Tuple_impl" = type { %"struct.std::_Head_base.11" }
%"struct.std::_Head_base.11" = type { ptr }
%"class.std::__cxx11::list" = type { %"class.std::__cxx11::_List_base" }
%"class.std::__cxx11::_List_base" = type { %"struct.std::__cxx11::_List_base<std::pair<const DynexCN::ITransactionReader *, std::promise<std::error_code>>, std::allocator<std::pair<const DynexCN::ITransactionReader *, std::promise<std::error_code>>>>::_List_impl" }
%"struct.std::__cxx11::_List_base<std::pair<const DynexCN::ITransactionReader *, std::promise<std::error_code>>, std::allocator<std::pair<const DynexCN::ITransactionReader *, std::promise<std::error_code>>>>::_List_impl" = type { %"struct.std::__detail::_List_node_header" }
%"struct.std::__detail::_List_node_header" = type { %"struct.std::__detail::_List_node_base", i64 }
%"struct.std::__detail::_List_node_base" = type { ptr, ptr }
%"class.std::__cxx11::list.15" = type { %"class.std::__cxx11::_List_base.16" }
%"class.std::__cxx11::_List_base.16" = type { %"struct.std::__cxx11::_List_base<std::pair<const Crypto::Hash *, std::promise<void>>, std::allocator<std::pair<const Crypto::Hash *, std::promise<void>>>>::_List_impl" }
%"struct.std::__cxx11::_List_base<std::pair<const Crypto::Hash *, std::promise<void>>, std::allocator<std::pair<const Crypto::Hash *, std::promise<void>>>>::_List_impl" = type { %"struct.std::__detail::_List_node_header" }
%"class.std::mutex" = type { %"class.std::__mutex_base" }
%"class.std::__mutex_base" = type { %union.pthread_mutex_t }
%union.pthread_mutex_t = type { %struct.__pthread_mutex_s }
%struct.__pthread_mutex_s = type { i32, i32, i32, i32, i32, i16, i16, %struct.__pthread_internal_list }
%struct.__pthread_internal_list = type { ptr, ptr }
%"class.std::condition_variable" = type { %"class.std::__condvar" }
%"class.std::__condvar" = type { %union.pthread_cond_t }
%union.pthread_cond_t = type { %struct.__pthread_cond_s }
%struct.__pthread_cond_s = type { %union.__atomic_wide_counter, %union.__atomic_wide_counter, [2 x i32], [2 x i32], i32, i32, [2 x i32] }
%union.__atomic_wide_counter = type { i64 }
%"struct.std::pair.53" = type { ptr, %"class.std::shared_ptr" }
%"class.std::shared_ptr" = type { %"class.std::__shared_ptr" }
%"class.std::__shared_ptr" = type { ptr, %"class.std::__shared_count" }
%"class.std::__shared_count" = type { ptr }

@_ZN7Logging7DEFAULTB5cxx11E = external global %"class.std::__cxx11::basic_string", align 8
@.str.50 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.51 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.52 = external hidden unnamed_addr constant [21 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 nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1

; 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(...)

declare void @_ZNK7Logging9LoggerRefclENS_5LevelERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind writable sret(%"class.Logging::LoggerMessage") align 8, ptr noundef nonnull align 8 dereferenceable(40), i32 noundef, ptr noundef nonnull align 8 dereferenceable(32)) #2

; Function Attrs: nounwind
declare void @_ZN7Logging13LoggerMessageD1Ev(ptr noundef nonnull align 8 dereferenceable(161)) unnamed_addr #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEmEOT_S3_RKT0_(ptr noundef nonnull align 8 dereferenceable(161), ptr noundef nonnull align 8 dereferenceable(8)) #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt11unique_lockISt5mutexEC2ERS0_(ptr noundef nonnull align 8 dereferenceable(9), ptr noundef nonnull align 8 dereferenceable(40)) unnamed_addr #5 align 2

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNKSt3mapIPN7DynexCN19IBlockchainConsumerESt10shared_ptrINS0_20SynchronizationStateEESt4lessIS2_ESaISt4pairIKS2_S5_EEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(48)) #6 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEjEOT_S3_RKT0_(ptr noundef nonnull align 8 dereferenceable(161), ptr noundef nonnull align 4 dereferenceable(4)) #4

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEA21_cEOT_S4_RKT0_(ptr noundef nonnull align 8 dereferenceable(161), ptr noundef nonnull align 1 dereferenceable(21)) #4

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN7DynexCN22BlockchainSynchronizer16getCommonHistoryEv(ptr dead_on_unwind noalias writable sret(%"struct.DynexCN::BlockchainSynchronizer::GetBlocksRequest") align 8 %0, ptr noundef nonnull align 8 dereferenceable(440) %1) #5 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i1, align 1
  %6 = alloca %"class.std::unique_lock", align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %11 = alloca %"struct.DynexCN::SynchronizationStart", align 8
  %12 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %13 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %14 = alloca %"struct.DynexCN::SynchronizationStart", align 8
  %15 = alloca %"class.Logging::LoggerMessage", align 8
  %16 = alloca i32, align 4
  %17 = alloca %"class.std::vector.23", align 8
  %18 = alloca %"class.Logging::LoggerMessage", align 8
  %19 = alloca i64, align 8
  store ptr %0, ptr %3, align 8
  store ptr %1, ptr %4, align 8, !tbaa !5
  %20 = load ptr, ptr %4, align 8
  store i1 false, ptr %5, align 1
  call void @_ZN7DynexCN22BlockchainSynchronizer16GetBlocksRequestC2Ev(ptr noundef nonnull align 8 dereferenceable(40) %0)
  call void @llvm.lifetime.start.p0(i64 16, ptr %6) #8
  %21 = getelementptr inbounds %"class.DynexCN::BlockchainSynchronizer", ptr %20, i32 0, i32 12
  invoke void @_ZNSt11unique_lockISt5mutexEC2ERS0_(ptr noundef nonnull align 8 dereferenceable(9) %6, ptr noundef nonnull align 8 dereferenceable(40) %21)
          to label %22 unwind label %26

22:                                               ; preds = %2
  %23 = getelementptr inbounds %"class.DynexCN::BlockchainSynchronizer", ptr %20, i32 0, i32 3
  %24 = call noundef zeroext i1 @_ZNKSt3mapIPN7DynexCN19IBlockchainConsumerESt10shared_ptrINS0_20SynchronizationStateEESt4lessIS2_ESaISt4pairIKS2_S5_EEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(48) %23) #8
  br i1 %24, label %25, label %30

25:                                               ; preds = %22
  store i1 true, ptr %5, align 1
  store i32 1, ptr %9, align 4
  br label %178

26:                                               ; preds = %2
  %27 = landingpad { ptr, i32 }
          cleanup
  %28 = extractvalue { ptr, i32 } %27, 0
  store ptr %28, ptr %7, align 8
  %29 = extractvalue { ptr, i32 } %27, 1
  store i32 %29, ptr %8, align 4
  br label %180

30:                                               ; preds = %22
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #8
  %31 = getelementptr inbounds %"class.DynexCN::BlockchainSynchronizer", ptr %20, i32 0, i32 3
  %32 = call ptr @_ZNSt3mapIPN7DynexCN19IBlockchainConsumerESt10shared_ptrINS0_20SynchronizationStateEESt4lessIS2_ESaISt4pairIKS2_S5_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %31) #8
  %33 = getelementptr inbounds %"struct.std::_Rb_tree_iterator", ptr %10, i32 0, i32 0
  store ptr %32, ptr %33, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr %11) #8
  %34 = call noundef ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKPN7DynexCN19IBlockchainConsumerESt10shared_ptrINS1_20SynchronizationStateEEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %10) #8
  %35 = getelementptr inbounds %"struct.std::pair.53", ptr %34, i32 0, i32 0
  %36 = load ptr, ptr %35, align 8, !tbaa !9
  %37 = load ptr, ptr %36, align 8, !tbaa !14
  %38 = getelementptr inbounds ptr, ptr %37, i64 4
  %39 = load ptr, ptr %38, align 8
  %40 = invoke { i64, i64 } %39(ptr noundef nonnull align 8 dereferenceable(8) %36)
          to label %41 unwind label %65

41:                                               ; preds = %30
  %42 = getelementptr inbounds { i64, i64 }, ptr %11, i32 0, i32 0
  %43 = extractvalue { i64, i64 } %40, 0
  store i64 %43, ptr %42, align 8
  %44 = getelementptr inbounds { i64, i64 }, ptr %11, i32 0, i32 1
  %45 = extractvalue { i64, i64 } %40, 1
  store i64 %45, ptr %44, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %12, ptr align 8 %10, i64 8, i1 false), !tbaa.struct !16
  %46 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt17_Rb_tree_iteratorISt4pairIKPN7DynexCN19IBlockchainConsumerESt10shared_ptrINS1_20SynchronizationStateEEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %12) #8
  br label %47

47:                                               ; preds = %98, %41
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #8
  %48 = getelementptr inbounds %"class.DynexCN::BlockchainSynchronizer", ptr %20, i32 0, i32 3
  %49 = call ptr @_ZNSt3mapIPN7DynexCN19IBlockchainConsumerESt10shared_ptrINS0_20SynchronizationStateEESt4lessIS2_ESaISt4pairIKS2_S5_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %48) #8
  %50 = getelementptr inbounds %"struct.std::_Rb_tree_iterator", ptr %13, i32 0, i32 0
  store ptr %49, ptr %50, align 8
  %51 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIKPN7DynexCN19IBlockchainConsumerESt10shared_ptrINS1_20SynchronizationStateEEEESB_(ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull align 8 dereferenceable(8) %13) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #8
  br i1 %51, label %52, label %104

52:                                               ; preds = %47
  %53 = call noundef ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKPN7DynexCN19IBlockchainConsumerESt10shared_ptrINS1_20SynchronizationStateEEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %12) #8
  %54 = getelementptr inbounds %"struct.std::pair.53", ptr %53, i32 0, i32 1
  %55 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN7DynexCN20SynchronizationStateELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %54) #8
  %56 = invoke noundef i32 @_ZNK7DynexCN20SynchronizationState9getHeightEv(ptr noundef nonnull align 8 dereferenceable(32) %55)
          to label %57 unwind label %69

57:                                               ; preds = %52
  %58 = call noundef ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKPN7DynexCN19IBlockchainConsumerESt10shared_ptrINS1_20SynchronizationStateEEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %10) #8
  %59 = getelementptr inbounds %"struct.std::pair.53", ptr %58, i32 0, i32 1
  %60 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN7DynexCN20SynchronizationStateELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %59) #8
  %61 = invoke noundef i32 @_ZNK7DynexCN20SynchronizationState9getHeightEv(ptr noundef nonnull align 8 dereferenceable(32) %60)
          to label %62 unwind label %69

62:                                               ; preds = %57
  %63 = icmp ult i32 %56, %61
  br i1 %63, label %64, label %73

64:                                               ; preds = %62
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %10, ptr align 8 %12, i64 8, i1 false), !tbaa.struct !16
  br label %73

65:                                               ; preds = %30
  %66 = landingpad { ptr, i32 }
          cleanup
  %67 = extractvalue { ptr, i32 } %66, 0
  store ptr %67, ptr %7, align 8
  %68 = extractvalue { ptr, i32 } %66, 1
  store i32 %68, ptr %8, align 4
  br label %177

69:                                               ; preds = %57, %52
  %70 = landingpad { ptr, i32 }
          cleanup
  %71 = extractvalue { ptr, i32 } %70, 0
  store ptr %71, ptr %7, align 8
  %72 = extractvalue { ptr, i32 } %70, 1
  store i32 %72, ptr %8, align 4
  br label %176

73:                                               ; preds = %64, %62
  call void @llvm.lifetime.start.p0(i64 16, ptr %14) #8
  %74 = call noundef ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKPN7DynexCN19IBlockchainConsumerESt10shared_ptrINS1_20SynchronizationStateEEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %12) #8
  %75 = getelementptr inbounds %"struct.std::pair.53", ptr %74, i32 0, i32 0
  %76 = load ptr, ptr %75, align 8, !tbaa !9
  %77 = load ptr, ptr %76, align 8, !tbaa !14
  %78 = getelementptr inbounds ptr, ptr %77, i64 4
  %79 = load ptr, ptr %78, align 8
  %80 = invoke { i64, i64 } %79(ptr noundef nonnull align 8 dereferenceable(8) %76)
          to label %81 unwind label %100

81:                                               ; preds = %73
  %82 = getelementptr inbounds { i64, i64 }, ptr %14, i32 0, i32 0
  %83 = extractvalue { i64, i64 } %80, 0
  store i64 %83, ptr %82, align 8
  %84 = getelementptr inbounds { i64, i64 }, ptr %14, i32 0, i32 1
  %85 = extractvalue { i64, i64 } %80, 1
  store i64 %85, ptr %84, align 8
  %86 = getelementptr inbounds %"struct.DynexCN::SynchronizationStart", ptr %11, i32 0, i32 0
  %87 = getelementptr inbounds %"struct.DynexCN::SynchronizationStart", ptr %14, i32 0, i32 0
  %88 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minImERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %86, ptr noundef nonnull align 8 dereferenceable(8) %87)
          to label %89 unwind label %100

89:                                               ; preds = %81
  %90 = load i64, ptr %88, align 8, !tbaa !17
  %91 = getelementptr inbounds %"struct.DynexCN::SynchronizationStart", ptr %11, i32 0, i32 0
  store i64 %90, ptr %91, align 8, !tbaa !19
  %92 = getelementptr inbounds %"struct.DynexCN::SynchronizationStart", ptr %11, i32 0, i32 1
  %93 = getelementptr inbounds %"struct.DynexCN::SynchronizationStart", ptr %14, i32 0, i32 1
  %94 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minImERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %92, ptr noundef nonnull align 8 dereferenceable(8) %93)
          to label %95 unwind label %100

95:                                               ; preds = %89
  %96 = load i64, ptr %94, align 8, !tbaa !17
  %97 = getelementptr inbounds %"struct.DynexCN::SynchronizationStart", ptr %11, i32 0, i32 1
  store i64 %96, ptr %97, align 8, !tbaa !21
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #8
  br label %98

98:                                               ; preds = %95
  %99 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt17_Rb_tree_iteratorISt4pairIKPN7DynexCN19IBlockchainConsumerESt10shared_ptrINS1_20SynchronizationStateEEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %12) #8
  br label %47, !llvm.loop !22

100:                                              ; preds = %89, %81, %73
  %101 = landingpad { ptr, i32 }
          cleanup
  %102 = extractvalue { ptr, i32 } %101, 0
  store ptr %102, ptr %7, align 8
  %103 = extractvalue { ptr, i32 } %101, 1
  store i32 %103, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #8
  br label %176

104:                                              ; preds = %47
  call void @llvm.lifetime.start.p0(i64 432, ptr %15) #8
  %105 = getelementptr inbounds %"class.DynexCN::BlockchainSynchronizer", ptr %20, i32 0, i32 2
  invoke void @_ZNK7Logging9LoggerRefclENS_5LevelERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind writable sret(%"class.Logging::LoggerMessage") align 8 %15, ptr noundef nonnull align 8 dereferenceable(40) %105, i32 noundef 4, ptr noundef nonnull align 8 dereferenceable(32) @_ZN7Logging7DEFAULTB5cxx11E)
          to label %106 unwind label %144

106:                                              ; preds = %104
  %107 = invoke noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEA21_cEOT_S4_RKT0_(ptr noundef nonnull align 8 dereferenceable(161) %15, ptr noundef nonnull align 1 dereferenceable(21) @.str.50)
          to label %108 unwind label %148

108:                                              ; preds = %106
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #8
  %109 = call noundef ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKPN7DynexCN19IBlockchainConsumerESt10shared_ptrINS1_20SynchronizationStateEEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %10) #8
  %110 = getelementptr inbounds %"struct.std::pair.53", ptr %109, i32 0, i32 1
  %111 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN7DynexCN20SynchronizationStateELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %110) #8
  %112 = invoke noundef i32 @_ZNK7DynexCN20SynchronizationState9getHeightEv(ptr noundef nonnull align 8 dereferenceable(32) %111)
          to label %113 unwind label %152

113:                                              ; preds = %108
  store i32 %112, ptr %16, align 4, !tbaa !24
  %114 = invoke noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEjEOT_S3_RKT0_(ptr noundef nonnull align 8 dereferenceable(161) %107, ptr noundef nonnull align 4 dereferenceable(4) %16)
          to label %115 unwind label %152

115:                                              ; preds = %113
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #8
  call void @_ZN7Logging13LoggerMessageD1Ev(ptr noundef nonnull align 8 dereferenceable(161) %15) #8
  call void @llvm.lifetime.end.p0(i64 432, ptr %15) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr %17) #8
  %116 = call noundef ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKPN7DynexCN19IBlockchainConsumerESt10shared_ptrINS1_20SynchronizationStateEEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %10) #8
  %117 = getelementptr inbounds %"struct.std::pair.53", ptr %116, i32 0, i32 1
  %118 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN7DynexCN20SynchronizationStateELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %117) #8
  %119 = getelementptr inbounds %"class.DynexCN::BlockchainSynchronizer", ptr %20, i32 0, i32 4
  %120 = load ptr, ptr %119, align 8, !tbaa !26
  %121 = load ptr, ptr %120, align 8, !tbaa !14
  %122 = getelementptr inbounds ptr, ptr %121, i64 7
  %123 = load ptr, ptr %122, align 8
  %124 = invoke noundef i32 %123(ptr noundef nonnull align 8 dereferenceable(8) %120)
          to label %125 unwind label %158

125:                                              ; preds = %115
  invoke void @_ZNK7DynexCN20SynchronizationState15getShortHistoryEj(ptr dead_on_unwind writable sret(%"class.std::vector.23") align 8 %17, ptr noundef nonnull align 8 dereferenceable(32) %118, i32 noundef %124)
          to label %126 unwind label %158

126:                                              ; preds = %125
  %127 = getelementptr inbounds %"struct.DynexCN::BlockchainSynchronizer::GetBlocksRequest", ptr %0, i32 0, i32 1
  %128 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIN6Crypto4HashESaIS1_EEaSEOS3_(ptr noundef nonnull align 8 dereferenceable(24) %127, ptr noundef nonnull align 8 dereferenceable(24) %17) #8
  call void @_ZNSt6vectorIN6Crypto4HashESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %17) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %17) #8
  %129 = getelementptr inbounds %"struct.DynexCN::BlockchainSynchronizer::GetBlocksRequest", ptr %0, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %129, ptr align 8 %11, i64 16, i1 false), !tbaa.struct !69
  call void @llvm.lifetime.start.p0(i64 432, ptr %18) #8
  %130 = getelementptr inbounds %"class.DynexCN::BlockchainSynchronizer", ptr %20, i32 0, i32 2
  invoke void @_ZNK7Logging9LoggerRefclENS_5LevelERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind writable sret(%"class.Logging::LoggerMessage") align 8 %18, ptr noundef nonnull align 8 dereferenceable(40) %130, i32 noundef 4, ptr noundef nonnull align 8 dereferenceable(32) @_ZN7Logging7DEFAULTB5cxx11E)
          to label %131 unwind label %162

131:                                              ; preds = %126
  %132 = invoke noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEA35_cEOT_S4_RKT0_(ptr noundef nonnull align 8 dereferenceable(161) %18, ptr noundef nonnull align 1 dereferenceable(35) @.str.51)
          to label %133 unwind label %166

133:                                              ; preds = %131
  %134 = getelementptr inbounds %"struct.DynexCN::BlockchainSynchronizer::GetBlocksRequest", ptr %0, i32 0, i32 0
  %135 = getelementptr inbounds %"struct.DynexCN::SynchronizationStart", ptr %134, i32 0, i32 1
  %136 = invoke noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEmEOT_S3_RKT0_(ptr noundef nonnull align 8 dereferenceable(161) %132, ptr noundef nonnull align 8 dereferenceable(8) %135)
          to label %137 unwind label %166

137:                                              ; preds = %133
  %138 = invoke noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEA21_cEOT_S4_RKT0_(ptr noundef nonnull align 8 dereferenceable(161) %136, ptr noundef nonnull align 1 dereferenceable(21) @.str.52)
          to label %139 unwind label %166

139:                                              ; preds = %137
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #8
  %140 = getelementptr inbounds %"struct.DynexCN::BlockchainSynchronizer::GetBlocksRequest", ptr %0, i32 0, i32 1
  %141 = call noundef i64 @_ZNKSt6vectorIN6Crypto4HashESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %140) #8
  store i64 %141, ptr %19, align 8, !tbaa !17
  %142 = invoke noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEmEOT_S3_RKT0_(ptr noundef nonnull align 8 dereferenceable(161) %138, ptr noundef nonnull align 8 dereferenceable(8) %19)
          to label %143 unwind label %170

143:                                              ; preds = %139
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #8
  call void @_ZN7Logging13LoggerMessageD1Ev(ptr noundef nonnull align 8 dereferenceable(161) %18) #8
  call void @llvm.lifetime.end.p0(i64 432, ptr %18) #8
  store i1 true, ptr %5, align 1
  store i32 1, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %11) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #8
  br label %178

144:                                              ; preds = %104
  %145 = landingpad { ptr, i32 }
          cleanup
  %146 = extractvalue { ptr, i32 } %145, 0
  store ptr %146, ptr %7, align 8
  %147 = extractvalue { ptr, i32 } %145, 1
  store i32 %147, ptr %8, align 4
  br label %157

148:                                              ; preds = %106
  %149 = landingpad { ptr, i32 }
          cleanup
  %150 = extractvalue { ptr, i32 } %149, 0
  store ptr %150, ptr %7, align 8
  %151 = extractvalue { ptr, i32 } %149, 1
  store i32 %151, ptr %8, align 4
  br label %156

152:                                              ; preds = %113, %108
  %153 = landingpad { ptr, i32 }
          cleanup
  %154 = extractvalue { ptr, i32 } %153, 0
  store ptr %154, ptr %7, align 8
  %155 = extractvalue { ptr, i32 } %153, 1
  store i32 %155, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #8
  br label %156

156:                                              ; preds = %152, %148
  call void @_ZN7Logging13LoggerMessageD1Ev(ptr noundef nonnull align 8 dereferenceable(161) %15) #8
  br label %157

157:                                              ; preds = %156, %144
  call void @llvm.lifetime.end.p0(i64 432, ptr %15) #8
  br label %176

158:                                              ; preds = %125, %115
  %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 @llvm.lifetime.end.p0(i64 24, ptr %17) #8
  br label %176

162:                                              ; preds = %126
  %163 = landingpad { ptr, i32 }
          cleanup
  %164 = extractvalue { ptr, i32 } %163, 0
  store ptr %164, ptr %7, align 8
  %165 = extractvalue { ptr, i32 } %163, 1
  store i32 %165, ptr %8, align 4
  br label %175

166:                                              ; preds = %137, %133, %131
  %167 = landingpad { ptr, i32 }
          cleanup
  %168 = extractvalue { ptr, i32 } %167, 0
  store ptr %168, ptr %7, align 8
  %169 = extractvalue { ptr, i32 } %167, 1
  store i32 %169, ptr %8, align 4
  br label %174

170:                                              ; preds = %139
  %171 = landingpad { ptr, i32 }
          cleanup
  %172 = extractvalue { ptr, i32 } %171, 0
  store ptr %172, ptr %7, align 8
  %173 = extractvalue { ptr, i32 } %171, 1
  store i32 %173, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #8
  br label %174

174:                                              ; preds = %170, %166
  call void @_ZN7Logging13LoggerMessageD1Ev(ptr noundef nonnull align 8 dereferenceable(161) %18) #8
  br label %175

175:                                              ; preds = %174, %162
  call void @llvm.lifetime.end.p0(i64 432, ptr %18) #8
  br label %176

176:                                              ; preds = %175, %158, %157, %100, %69
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #8
  br label %177

177:                                              ; preds = %176, %65
  call void @llvm.lifetime.end.p0(i64 16, ptr %11) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #8
  call void @_ZNSt11unique_lockISt5mutexED2Ev(ptr noundef nonnull align 8 dereferenceable(9) %6) #8
  br label %180

178:                                              ; preds = %143, %25
  call void @_ZNSt11unique_lockISt5mutexED2Ev(ptr noundef nonnull align 8 dereferenceable(9) %6) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %6) #8
  %179 = load i1, ptr %5, align 1
  br i1 %179, label %182, label %181

180:                                              ; preds = %177, %26
  call void @llvm.lifetime.end.p0(i64 16, ptr %6) #8
  call void @_ZN7DynexCN22BlockchainSynchronizer16GetBlocksRequestD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %0) #8
  br label %183

181:                                              ; preds = %178
  call void @_ZN7DynexCN22BlockchainSynchronizer16GetBlocksRequestD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %0) #8
  br label %182

182:                                              ; preds = %181, %178
  ret void

183:                                              ; preds = %180
  %184 = load ptr, ptr %7, align 8
  %185 = load i32, ptr %8, align 4
  %186 = insertvalue { ptr, i32 } poison, ptr %184, 0
  %187 = insertvalue { ptr, i32 } %186, i32 %185, 1
  resume { ptr, i32 } %187
}

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNKSt19__shared_ptr_accessIN7DynexCN20SynchronizationStateELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1)) #6 align 2

declare noundef i32 @_ZNK7DynexCN20SynchronizationState9getHeightEv(ptr noundef nonnull align 8 dereferenceable(32)) #2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minImERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #7

declare void @_ZNK7DynexCN20SynchronizationState15getShortHistoryEj(ptr dead_on_unwind writable sret(%"class.std::vector.23") align 8, ptr noundef nonnull align 8 dereferenceable(32), i32 noundef) #2

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEA35_cEOT_S4_RKT0_(ptr noundef nonnull align 8 dereferenceable(161), ptr noundef nonnull align 1 dereferenceable(35)) #4

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN7DynexCN22BlockchainSynchronizer16GetBlocksRequestD2Ev(ptr noundef nonnull align 8 dereferenceable(40)) unnamed_addr #7 align 2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind "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 = { 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 #5 = { 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 #6 = { 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 #7 = { 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 #8 = { 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"}
!9 = !{!10, !6, i64 0}
!10 = !{!"_ZTSSt4pairIKPN7DynexCN19IBlockchainConsumerESt10shared_ptrINS0_20SynchronizationStateEEE", !6, i64 0, !11, i64 8}
!11 = !{!"_ZTSSt10shared_ptrIN7DynexCN20SynchronizationStateEE", !12, i64 0}
!12 = !{!"_ZTSSt12__shared_ptrIN7DynexCN20SynchronizationStateELN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0, !13, i64 8}
!13 = !{!"_ZTSSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"vtable pointer", !8, i64 0}
!16 = !{i64 0, i64 8, !5}
!17 = !{!18, !18, i64 0}
!18 = !{!"long", !7, i64 0}
!19 = !{!20, !18, i64 0}
!20 = !{!"_ZTSN7DynexCN20SynchronizationStartE", !18, i64 0, !18, i64 8}
!21 = !{!20, !18, i64 8}
!22 = distinct !{!22, !23}
!23 = !{!"llvm.loop.mustprogress"}
!24 = !{!25, !25, i64 0}
!25 = !{!"int", !7, i64 0}
!26 = !{!27, !6, i64 176}
!27 = !{!"_ZTSN7DynexCN22BlockchainSynchronizerE", !28, i64 0, !39, i64 80, !40, i64 88, !43, i64 128, !6, i64 176, !51, i64 184, !51, i64 216, !52, i64 248, !52, i64 252, !53, i64 256, !59, i64 264, !64, i64 288, !37, i64 312, !37, i64 352, !67, i64 392}
!28 = !{!"_ZTSN7DynexCN15IObservableImplINS_31IBlockchainSynchronizerObserverENS_23IBlockchainSynchronizerEEE", !29, i64 0, !32, i64 16}
!29 = !{!"_ZTSN7DynexCN23IBlockchainSynchronizerE", !30, i64 0, !31, i64 8}
!30 = !{!"_ZTSN7DynexCN11IObservableINS_31IBlockchainSynchronizerObserverEEE"}
!31 = !{!"_ZTSN7DynexCN19IStreamSerializableE"}
!32 = !{!"_ZTSN5Tools15ObserverManagerIN7DynexCN31IBlockchainSynchronizerObserverEEE", !33, i64 0, !37, i64 24}
!33 = !{!"_ZTSSt6vectorIPN7DynexCN31IBlockchainSynchronizerObserverESaIS2_EE", !34, i64 0}
!34 = !{!"_ZTSSt12_Vector_baseIPN7DynexCN31IBlockchainSynchronizerObserverESaIS2_EE", !35, i64 0}
!35 = !{!"_ZTSNSt12_Vector_baseIPN7DynexCN31IBlockchainSynchronizerObserverESaIS2_EE12_Vector_implE", !36, i64 0}
!36 = !{!"_ZTSNSt12_Vector_baseIPN7DynexCN31IBlockchainSynchronizerObserverESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!37 = !{!"_ZTSSt5mutex", !38, i64 0}
!38 = !{!"_ZTSSt12__mutex_base", !7, i64 0}
!39 = !{!"_ZTSN7DynexCN13INodeObserverE"}
!40 = !{!"_ZTSN7Logging9LoggerRefE", !6, i64 0, !41, i64 8}
!41 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !42, i64 0, !18, i64 8, !7, i64 16}
!42 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!43 = !{!"_ZTSSt3mapIPN7DynexCN19IBlockchainConsumerESt10shared_ptrINS0_20SynchronizationStateEESt4lessIS2_ESaISt4pairIKS2_S5_EEE", !44, i64 0}
!44 = !{!"_ZTSSt8_Rb_treeIPN7DynexCN19IBlockchainConsumerESt4pairIKS2_St10shared_ptrINS0_20SynchronizationStateEEESt10_Select1stIS8_ESt4lessIS2_ESaIS8_EE", !45, i64 0}
!45 = !{!"_ZTSNSt8_Rb_treeIPN7DynexCN19IBlockchainConsumerESt4pairIKS2_St10shared_ptrINS0_20SynchronizationStateEEESt10_Select1stIS8_ESt4lessIS2_ESaIS8_EE13_Rb_tree_implISC_Lb1EEE", !46, i64 0, !48, i64 8}
!46 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessIPN7DynexCN19IBlockchainConsumerEEE", !47, i64 0}
!47 = !{!"_ZTSSt4lessIPN7DynexCN19IBlockchainConsumerEE"}
!48 = !{!"_ZTSSt15_Rb_tree_header", !49, i64 0, !18, i64 32}
!49 = !{!"_ZTSSt18_Rb_tree_node_base", !50, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!50 = !{!"_ZTSSt14_Rb_tree_color", !7, i64 0}
!51 = !{!"_ZTSN6Crypto4HashE", !7, i64 0}
!52 = !{!"_ZTSN7DynexCN22BlockchainSynchronizer5StateE", !7, i64 0}
!53 = !{!"_ZTSSt10unique_ptrISt6threadSt14default_deleteIS0_EE", !54, i64 0}
!54 = !{!"_ZTSSt15__uniq_ptr_dataISt6threadSt14default_deleteIS0_ELb1ELb1EE", !55, i64 0}
!55 = !{!"_ZTSSt15__uniq_ptr_implISt6threadSt14default_deleteIS0_EE", !56, i64 0}
!56 = !{!"_ZTSSt5tupleIJPSt6threadSt14default_deleteIS0_EEE", !57, i64 0}
!57 = !{!"_ZTSSt11_Tuple_implILm0EJPSt6threadSt14default_deleteIS0_EEE", !58, i64 0}
!58 = !{!"_ZTSSt10_Head_baseILm0EPSt6threadLb0EE", !6, i64 0}
!59 = !{!"_ZTSNSt7__cxx114listISt4pairIPKN7DynexCN18ITransactionReaderESt7promiseISt10error_codeEESaIS9_EEE", !60, i64 0}
!60 = !{!"_ZTSNSt7__cxx1110_List_baseISt4pairIPKN7DynexCN18ITransactionReaderESt7promiseISt10error_codeEESaIS9_EEE", !61, i64 0}
!61 = !{!"_ZTSNSt7__cxx1110_List_baseISt4pairIPKN7DynexCN18ITransactionReaderESt7promiseISt10error_codeEESaIS9_EE10_List_implE", !62, i64 0}
!62 = !{!"_ZTSNSt8__detail17_List_node_headerE", !63, i64 0, !18, i64 16}
!63 = !{!"_ZTSNSt8__detail15_List_node_baseE", !6, i64 0, !6, i64 8}
!64 = !{!"_ZTSNSt7__cxx114listISt4pairIPKN6Crypto4HashESt7promiseIvEESaIS8_EEE", !65, i64 0}
!65 = !{!"_ZTSNSt7__cxx1110_List_baseISt4pairIPKN6Crypto4HashESt7promiseIvEESaIS8_EEE", !66, i64 0}
!66 = !{!"_ZTSNSt7__cxx1110_List_baseISt4pairIPKN6Crypto4HashESt7promiseIvEESaIS8_EE10_List_implE", !62, i64 0}
!67 = !{!"_ZTSSt18condition_variable", !68, i64 0}
!68 = !{!"_ZTSSt9__condvar", !7, i64 0}
!69 = !{i64 0, i64 8, !17, i64 8, i64 8, !17}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.Logging::LoggerMessage" = type <{ %"class.std::basic_ostream.base", %"class.std::basic_streambuf", ptr, %"class.std::__cxx11::basic_string", i32, [4 x i8], %"class.std::__cxx11::basic_string", %"class.boost::posix_time::ptime", i8, [7 x i8], %"class.std::basic_ios" }>
%"class.std::basic_ostream.base" = type { ptr }
%"class.std::basic_streambuf" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, %"class.std::locale" }
%"class.std::locale" = type { ptr }
%"class.boost::posix_time::ptime" = type { %"class.boost::date_time::base_time" }
%"class.boost::date_time::base_time" = type { %"struct.boost::date_time::counted_time_rep" }
%"struct.boost::date_time::counted_time_rep" = type { %"class.boost::date_time::int_adapter" }
%"class.boost::date_time::int_adapter" = type { i64 }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"struct.DynexCN::BlockchainSynchronizer::GetBlocksRequest" = type { %"struct.DynexCN::SynchronizationStart", %"class.std::vector.23" }
%"struct.DynexCN::SynchronizationStart" = type { i64, i64 }
%"class.std::vector.23" = type { %"struct.std::_Vector_base.24" }
%"struct.std::_Vector_base.24" = type { %"struct.std::_Vector_base<Crypto::Hash, std::allocator<Crypto::Hash>>::_Vector_impl" }
%"struct.std::_Vector_base<Crypto::Hash, std::allocator<Crypto::Hash>>::_Vector_impl" = type { %"struct.std::_Vector_base<Crypto::Hash, std::allocator<Crypto::Hash>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Crypto::Hash, std::allocator<Crypto::Hash>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::unique_lock" = type <{ ptr, i8, [7 x i8] }>
%"struct.std::_Rb_tree_iterator" = type { ptr }

@_ZN7Logging7DEFAULTB5cxx11E = external global %"class.std::__cxx11::basic_string", align 8
@.str.50 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.51 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.52 = external hidden unnamed_addr constant [21 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 nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1

; 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(...)

declare void @_ZNK7Logging9LoggerRefclENS_5LevelERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind writable sret(%"class.Logging::LoggerMessage") align 8, ptr noundef nonnull align 8 dereferenceable(40), i32 noundef, ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #2

; Function Attrs: nounwind
declare void @_ZN7Logging13LoggerMessageD1Ev(ptr noundef nonnull align 8 dereferenceable(161)) unnamed_addr #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEmEOT_S3_RKT0_(ptr noundef nonnull align 8 dereferenceable(161), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt11unique_lockISt5mutexEC2ERS0_(ptr noundef nonnull align 8 dereferenceable(9), ptr noundef nonnull align 8 dereferenceable(40)) unnamed_addr #5 align 2

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNKSt3mapIPN7DynexCN19IBlockchainConsumerESt10shared_ptrINS0_20SynchronizationStateEESt4lessIS2_ESaISt4pairIKS2_S5_EEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(48)) local_unnamed_addr #6 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEjEOT_S3_RKT0_(ptr noundef nonnull align 8 dereferenceable(161), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #4

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEA21_cEOT_S4_RKT0_(ptr noundef nonnull align 8 dereferenceable(161), ptr noundef nonnull align 1 dereferenceable(21)) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN7DynexCN22BlockchainSynchronizer16getCommonHistoryEv(ptr dead_on_unwind noalias nonnull writable sret(%"struct.DynexCN::BlockchainSynchronizer::GetBlocksRequest") align 8 %0, ptr noundef nonnull align 8 dereferenceable(440) %1) local_unnamed_addr #5 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.std::unique_lock", align 8
  %4 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %5 = alloca %"struct.DynexCN::SynchronizationStart", align 8
  %6 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %7 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %8 = alloca %"struct.DynexCN::SynchronizationStart", align 8
  %9 = alloca %"class.Logging::LoggerMessage", align 8
  %10 = alloca i32, align 4
  %11 = alloca %"class.std::vector.23", align 8
  %12 = alloca %"class.Logging::LoggerMessage", align 8
  %13 = alloca i64, align 8
  tail call void @_ZN7DynexCN22BlockchainSynchronizer16GetBlocksRequestC2Ev(ptr noundef nonnull align 8 dereferenceable(40) %0)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #8
  %14 = getelementptr inbounds i8, ptr %1, i64 312
  invoke void @_ZNSt11unique_lockISt5mutexEC2ERS0_(ptr noundef nonnull align 8 dereferenceable(9) %3, ptr noundef nonnull align 8 dereferenceable(40) %14)
          to label %15 unwind label %18

15:                                               ; preds = %2
  %16 = getelementptr inbounds i8, ptr %1, i64 128
  %17 = call noundef zeroext i1 @_ZNKSt3mapIPN7DynexCN19IBlockchainConsumerESt10shared_ptrINS0_20SynchronizationStateEESt4lessIS2_ESaISt4pairIKS2_S5_EEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(48) %16) #8
  br i1 %17, label %129, label %20

18:                                               ; preds = %2
  %19 = landingpad { ptr, i32 }
          cleanup
  br label %130

20:                                               ; preds = %15
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #8
  %21 = call ptr @_ZNSt3mapIPN7DynexCN19IBlockchainConsumerESt10shared_ptrINS0_20SynchronizationStateEESt4lessIS2_ESaISt4pairIKS2_S5_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %16) #8
  store ptr %21, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #8
  %22 = call noundef ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKPN7DynexCN19IBlockchainConsumerESt10shared_ptrINS1_20SynchronizationStateEEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #8
  %23 = load ptr, ptr %22, align 8, !tbaa !5
  %24 = load ptr, ptr %23, align 8, !tbaa !13
  %25 = getelementptr inbounds i8, ptr %24, i64 32
  %26 = load ptr, ptr %25, align 8
  %27 = invoke { i64, i64 } %26(ptr noundef nonnull align 8 dereferenceable(8) %23)
          to label %28 unwind label %51

28:                                               ; preds = %20
  %29 = extractvalue { i64, i64 } %27, 0
  store i64 %29, ptr %5, align 8
  %30 = getelementptr inbounds i8, ptr %5, i64 8
  %31 = extractvalue { i64, i64 } %27, 1
  store i64 %31, ptr %30, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #8
  %32 = load i64, ptr %4, align 8, !tbaa !15
  store i64 %32, ptr %6, align 8, !tbaa !15
  %33 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt17_Rb_tree_iteratorISt4pairIKPN7DynexCN19IBlockchainConsumerESt10shared_ptrINS1_20SynchronizationStateEEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %6) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #8
  %34 = call ptr @_ZNSt3mapIPN7DynexCN19IBlockchainConsumerESt10shared_ptrINS0_20SynchronizationStateEESt4lessIS2_ESaISt4pairIKS2_S5_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %16) #8
  store ptr %34, ptr %7, align 8
  %35 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIKPN7DynexCN19IBlockchainConsumerESt10shared_ptrINS1_20SynchronizationStateEEEESB_(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %7) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #8
  br i1 %35, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %28
  %36 = getelementptr inbounds i8, ptr %8, i64 8
  br label %37

37:                                               ; preds = %.lr.ph, %62
  %38 = call noundef ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKPN7DynexCN19IBlockchainConsumerESt10shared_ptrINS1_20SynchronizationStateEEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %6) #8
  %39 = getelementptr inbounds i8, ptr %38, i64 8
  %40 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN7DynexCN20SynchronizationStateELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %39) #8
  %41 = invoke noundef i32 @_ZNK7DynexCN20SynchronizationState9getHeightEv(ptr noundef nonnull align 8 dereferenceable(32) %40)
          to label %42 unwind label %53

42:                                               ; preds = %37
  %43 = call noundef ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKPN7DynexCN19IBlockchainConsumerESt10shared_ptrINS1_20SynchronizationStateEEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #8
  %44 = getelementptr inbounds i8, ptr %43, i64 8
  %45 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN7DynexCN20SynchronizationStateELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %44) #8
  %46 = invoke noundef i32 @_ZNK7DynexCN20SynchronizationState9getHeightEv(ptr noundef nonnull align 8 dereferenceable(32) %45)
          to label %47 unwind label %53

47:                                               ; preds = %42
  %48 = icmp ult i32 %41, %46
  br i1 %48, label %49, label %55

49:                                               ; preds = %47
  %50 = load i64, ptr %6, align 8, !tbaa !15
  store i64 %50, ptr %4, align 8, !tbaa !15
  br label %55

51:                                               ; preds = %20
  %52 = landingpad { ptr, i32 }
          cleanup
  br label %128

53:                                               ; preds = %42, %37
  %54 = landingpad { ptr, i32 }
          cleanup
  br label %127

55:                                               ; preds = %49, %47
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8) #8
  %56 = call noundef ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKPN7DynexCN19IBlockchainConsumerESt10shared_ptrINS1_20SynchronizationStateEEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %6) #8
  %57 = load ptr, ptr %56, align 8, !tbaa !5
  %58 = load ptr, ptr %57, align 8, !tbaa !13
  %59 = getelementptr inbounds i8, ptr %58, i64 32
  %60 = load ptr, ptr %59, align 8
  %61 = invoke { i64, i64 } %60(ptr noundef nonnull align 8 dereferenceable(8) %57)
          to label %62 unwind label %72

62:                                               ; preds = %55
  %63 = extractvalue { i64, i64 } %61, 0
  store i64 %63, ptr %8, align 8
  %64 = extractvalue { i64, i64 } %61, 1
  store i64 %64, ptr %36, align 8
  %65 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minImERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef nonnull align 8 dereferenceable(8) %8)
  %66 = load i64, ptr %65, align 8, !tbaa !16
  store i64 %66, ptr %5, align 8, !tbaa !18
  %67 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minImERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %30, ptr noundef nonnull align 8 dereferenceable(8) %36)
  %68 = load i64, ptr %67, align 8, !tbaa !16
  store i64 %68, ptr %30, align 8, !tbaa !20
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #8
  %69 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt17_Rb_tree_iteratorISt4pairIKPN7DynexCN19IBlockchainConsumerESt10shared_ptrINS1_20SynchronizationStateEEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %6) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #8
  %70 = call ptr @_ZNSt3mapIPN7DynexCN19IBlockchainConsumerESt10shared_ptrINS0_20SynchronizationStateEESt4lessIS2_ESaISt4pairIKS2_S5_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %16) #8
  store ptr %70, ptr %7, align 8
  %71 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIKPN7DynexCN19IBlockchainConsumerESt10shared_ptrINS1_20SynchronizationStateEEEESB_(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %7) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #8
  br i1 %71, label %37, label %._crit_edge, !llvm.loop !21

72:                                               ; preds = %55
  %73 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #8
  br label %127

._crit_edge:                                      ; preds = %62, %28
  call void @llvm.lifetime.start.p0(i64 432, ptr nonnull %9) #8
  %74 = getelementptr inbounds i8, ptr %1, i64 88
  invoke void @_ZNK7Logging9LoggerRefclENS_5LevelERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind nonnull writable sret(%"class.Logging::LoggerMessage") align 8 %9, ptr noundef nonnull align 8 dereferenceable(40) %74, i32 noundef 4, ptr noundef nonnull align 8 dereferenceable(32) @_ZN7Logging7DEFAULTB5cxx11E)
          to label %75 unwind label %109

75:                                               ; preds = %._crit_edge
  %76 = invoke noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEA21_cEOT_S4_RKT0_(ptr noundef nonnull align 8 dereferenceable(161) %9, ptr noundef nonnull align 1 dereferenceable(21) @.str.50)
          to label %77 unwind label %111

77:                                               ; preds = %75
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #8
  %78 = call noundef ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKPN7DynexCN19IBlockchainConsumerESt10shared_ptrINS1_20SynchronizationStateEEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #8
  %79 = getelementptr inbounds i8, ptr %78, i64 8
  %80 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN7DynexCN20SynchronizationStateELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %79) #8
  %81 = invoke noundef i32 @_ZNK7DynexCN20SynchronizationState9getHeightEv(ptr noundef nonnull align 8 dereferenceable(32) %80)
          to label %82 unwind label %113

82:                                               ; preds = %77
  store i32 %81, ptr %10, align 4, !tbaa !23
  %83 = invoke noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEjEOT_S3_RKT0_(ptr noundef nonnull align 8 dereferenceable(161) %76, ptr noundef nonnull align 4 dereferenceable(4) %10)
          to label %84 unwind label %113

84:                                               ; preds = %82
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #8
  call void @_ZN7Logging13LoggerMessageD1Ev(ptr noundef nonnull align 8 dereferenceable(161) %9) #8
  call void @llvm.lifetime.end.p0(i64 432, ptr nonnull %9) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %11) #8
  %85 = call noundef ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKPN7DynexCN19IBlockchainConsumerESt10shared_ptrINS1_20SynchronizationStateEEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #8
  %86 = getelementptr inbounds i8, ptr %85, i64 8
  %87 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN7DynexCN20SynchronizationStateELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %86) #8
  %88 = getelementptr inbounds i8, ptr %1, i64 176
  %89 = load ptr, ptr %88, align 8, !tbaa !25
  %90 = load ptr, ptr %89, align 8, !tbaa !13
  %91 = getelementptr inbounds i8, ptr %90, i64 56
  %92 = load ptr, ptr %91, align 8
  %93 = invoke noundef i32 %92(ptr noundef nonnull align 8 dereferenceable(8) %89)
          to label %94 unwind label %117

94:                                               ; preds = %84
  invoke void @_ZNK7DynexCN20SynchronizationState15getShortHistoryEj(ptr dead_on_unwind nonnull writable sret(%"class.std::vector.23") align 8 %11, ptr noundef nonnull align 8 dereferenceable(32) %87, i32 noundef %93)
          to label %95 unwind label %117

95:                                               ; preds = %94
  %96 = getelementptr inbounds i8, ptr %0, i64 16
  %97 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIN6Crypto4HashESaIS1_EEaSEOS3_(ptr noundef nonnull align 8 dereferenceable(24) %96, ptr noundef nonnull align 8 dereferenceable(24) %11) #8
  call void @_ZNSt6vectorIN6Crypto4HashESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %11) #8
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull align 8 dereferenceable(16) %5, i64 16, i1 false), !tbaa.struct !68
  call void @llvm.lifetime.start.p0(i64 432, ptr nonnull %12) #8
  invoke void @_ZNK7Logging9LoggerRefclENS_5LevelERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind nonnull writable sret(%"class.Logging::LoggerMessage") align 8 %12, ptr noundef nonnull align 8 dereferenceable(40) %74, i32 noundef 4, ptr noundef nonnull align 8 dereferenceable(32) @_ZN7Logging7DEFAULTB5cxx11E)
          to label %98 unwind label %119

98:                                               ; preds = %95
  %99 = invoke noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEA35_cEOT_S4_RKT0_(ptr noundef nonnull align 8 dereferenceable(161) %12, ptr noundef nonnull align 1 dereferenceable(35) @.str.51)
          to label %100 unwind label %121

100:                                              ; preds = %98
  %101 = getelementptr inbounds i8, ptr %0, i64 8
  %102 = invoke noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEmEOT_S3_RKT0_(ptr noundef nonnull align 8 dereferenceable(161) %99, ptr noundef nonnull align 8 dereferenceable(8) %101)
          to label %103 unwind label %121

103:                                              ; preds = %100
  %104 = invoke noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEA21_cEOT_S4_RKT0_(ptr noundef nonnull align 8 dereferenceable(161) %102, ptr noundef nonnull align 1 dereferenceable(21) @.str.52)
          to label %105 unwind label %121

105:                                              ; preds = %103
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #8
  %106 = call noundef i64 @_ZNKSt6vectorIN6Crypto4HashESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %96) #8
  store i64 %106, ptr %13, align 8, !tbaa !16
  %107 = invoke noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEmEOT_S3_RKT0_(ptr noundef nonnull align 8 dereferenceable(161) %104, ptr noundef nonnull align 8 dereferenceable(8) %13)
          to label %108 unwind label %123

108:                                              ; preds = %105
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #8
  call void @_ZN7Logging13LoggerMessageD1Ev(ptr noundef nonnull align 8 dereferenceable(161) %12) #8
  call void @llvm.lifetime.end.p0(i64 432, ptr nonnull %12) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #8
  br label %129

109:                                              ; preds = %._crit_edge
  %110 = landingpad { ptr, i32 }
          cleanup
  br label %116

111:                                              ; preds = %75
  %112 = landingpad { ptr, i32 }
          cleanup
  br label %115

113:                                              ; preds = %82, %77
  %114 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #8
  br label %115

115:                                              ; preds = %113, %111
  %.pn = phi { ptr, i32 } [ %114, %113 ], [ %112, %111 ]
  call void @_ZN7Logging13LoggerMessageD1Ev(ptr noundef nonnull align 8 dereferenceable(161) %9) #8
  br label %116

116:                                              ; preds = %115, %109
  %.pn.pn = phi { ptr, i32 } [ %.pn, %115 ], [ %110, %109 ]
  call void @llvm.lifetime.end.p0(i64 432, ptr nonnull %9) #8
  br label %127

117:                                              ; preds = %94, %84
  %118 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %11) #8
  br label %127

119:                                              ; preds = %95
  %120 = landingpad { ptr, i32 }
          cleanup
  br label %126

121:                                              ; preds = %103, %100, %98
  %122 = landingpad { ptr, i32 }
          cleanup
  br label %125

123:                                              ; preds = %105
  %124 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #8
  br label %125

125:                                              ; preds = %123, %121
  %.pn13 = phi { ptr, i32 } [ %124, %123 ], [ %122, %121 ]
  call void @_ZN7Logging13LoggerMessageD1Ev(ptr noundef nonnull align 8 dereferenceable(161) %12) #8
  br label %126

126:                                              ; preds = %125, %119
  %.pn13.pn = phi { ptr, i32 } [ %.pn13, %125 ], [ %120, %119 ]
  call void @llvm.lifetime.end.p0(i64 432, ptr nonnull %12) #8
  br label %127

127:                                              ; preds = %126, %117, %116, %72, %53
  %.pn16 = phi { ptr, i32 } [ %73, %72 ], [ %54, %53 ], [ %.pn13.pn, %126 ], [ %118, %117 ], [ %.pn.pn, %116 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #8
  br label %128

128:                                              ; preds = %127, %51
  %.pn16.pn = phi { ptr, i32 } [ %.pn16, %127 ], [ %52, %51 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #8
  call void @_ZNSt11unique_lockISt5mutexED2Ev(ptr noundef nonnull align 8 dereferenceable(9) %3) #8
  br label %130

129:                                              ; preds = %15, %108
  call void @_ZNSt11unique_lockISt5mutexED2Ev(ptr noundef nonnull align 8 dereferenceable(9) %3) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #8
  ret void

130:                                              ; preds = %128, %18
  %.pn16.pn.pn = phi { ptr, i32 } [ %.pn16.pn, %128 ], [ %19, %18 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #8
  call void @_ZN7DynexCN22BlockchainSynchronizer16GetBlocksRequestD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %0) #8
  resume { ptr, i32 } %.pn16.pn.pn
}

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNKSt19__shared_ptr_accessIN7DynexCN20SynchronizationStateELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #6 align 2

declare noundef i32 @_ZNK7DynexCN20SynchronizationState9getHeightEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minImERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #7

declare void @_ZNK7DynexCN20SynchronizationState15getShortHistoryEj(ptr dead_on_unwind writable sret(%"class.std::vector.23") align 8, ptr noundef nonnull align 8 dereferenceable(32), i32 noundef) local_unnamed_addr #2

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEA35_cEOT_S4_RKT0_(ptr noundef nonnull align 8 dereferenceable(161), ptr noundef nonnull align 1 dereferenceable(35)) local_unnamed_addr #4

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN7DynexCN22BlockchainSynchronizer16GetBlocksRequestD2Ev(ptr noundef nonnull align 8 dereferenceable(40)) unnamed_addr #7 align 2

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind "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 = { 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 #5 = { 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 #6 = { 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 #7 = { 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 #8 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"_ZTSSt4pairIKPN7DynexCN19IBlockchainConsumerESt10shared_ptrINS0_20SynchronizationStateEEE", !7, i64 0, !10, i64 8}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"_ZTSSt10shared_ptrIN7DynexCN20SynchronizationStateEE", !11, i64 0}
!11 = !{!"_ZTSSt12__shared_ptrIN7DynexCN20SynchronizationStateELN9__gnu_cxx12_Lock_policyE2EE", !7, i64 0, !12, i64 8}
!12 = !{!"_ZTSSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EE", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"vtable pointer", !9, i64 0}
!15 = !{!7, !7, i64 0}
!16 = !{!17, !17, i64 0}
!17 = !{!"long", !8, i64 0}
!18 = !{!19, !17, i64 0}
!19 = !{!"_ZTSN7DynexCN20SynchronizationStartE", !17, i64 0, !17, i64 8}
!20 = !{!19, !17, i64 8}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.mustprogress"}
!23 = !{!24, !24, i64 0}
!24 = !{!"int", !8, i64 0}
!25 = !{!26, !7, i64 176}
!26 = !{!"_ZTSN7DynexCN22BlockchainSynchronizerE", !27, i64 0, !38, i64 80, !39, i64 88, !42, i64 128, !7, i64 176, !50, i64 184, !50, i64 216, !51, i64 248, !51, i64 252, !52, i64 256, !58, i64 264, !63, i64 288, !36, i64 312, !36, i64 352, !66, i64 392}
!27 = !{!"_ZTSN7DynexCN15IObservableImplINS_31IBlockchainSynchronizerObserverENS_23IBlockchainSynchronizerEEE", !28, i64 0, !31, i64 16}
!28 = !{!"_ZTSN7DynexCN23IBlockchainSynchronizerE", !29, i64 0, !30, i64 8}
!29 = !{!"_ZTSN7DynexCN11IObservableINS_31IBlockchainSynchronizerObserverEEE"}
!30 = !{!"_ZTSN7DynexCN19IStreamSerializableE"}
!31 = !{!"_ZTSN5Tools15ObserverManagerIN7DynexCN31IBlockchainSynchronizerObserverEEE", !32, i64 0, !36, i64 24}
!32 = !{!"_ZTSSt6vectorIPN7DynexCN31IBlockchainSynchronizerObserverESaIS2_EE", !33, i64 0}
!33 = !{!"_ZTSSt12_Vector_baseIPN7DynexCN31IBlockchainSynchronizerObserverESaIS2_EE", !34, i64 0}
!34 = !{!"_ZTSNSt12_Vector_baseIPN7DynexCN31IBlockchainSynchronizerObserverESaIS2_EE12_Vector_implE", !35, i64 0}
!35 = !{!"_ZTSNSt12_Vector_baseIPN7DynexCN31IBlockchainSynchronizerObserverESaIS2_EE17_Vector_impl_dataE", !7, i64 0, !7, i64 8, !7, i64 16}
!36 = !{!"_ZTSSt5mutex", !37, i64 0}
!37 = !{!"_ZTSSt12__mutex_base", !8, i64 0}
!38 = !{!"_ZTSN7DynexCN13INodeObserverE"}
!39 = !{!"_ZTSN7Logging9LoggerRefE", !7, i64 0, !40, i64 8}
!40 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !41, i64 0, !17, i64 8, !8, i64 16}
!41 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !7, i64 0}
!42 = !{!"_ZTSSt3mapIPN7DynexCN19IBlockchainConsumerESt10shared_ptrINS0_20SynchronizationStateEESt4lessIS2_ESaISt4pairIKS2_S5_EEE", !43, i64 0}
!43 = !{!"_ZTSSt8_Rb_treeIPN7DynexCN19IBlockchainConsumerESt4pairIKS2_St10shared_ptrINS0_20SynchronizationStateEEESt10_Select1stIS8_ESt4lessIS2_ESaIS8_EE", !44, i64 0}
!44 = !{!"_ZTSNSt8_Rb_treeIPN7DynexCN19IBlockchainConsumerESt4pairIKS2_St10shared_ptrINS0_20SynchronizationStateEEESt10_Select1stIS8_ESt4lessIS2_ESaIS8_EE13_Rb_tree_implISC_Lb1EEE", !45, i64 0, !47, i64 8}
!45 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessIPN7DynexCN19IBlockchainConsumerEEE", !46, i64 0}
!46 = !{!"_ZTSSt4lessIPN7DynexCN19IBlockchainConsumerEE"}
!47 = !{!"_ZTSSt15_Rb_tree_header", !48, i64 0, !17, i64 32}
!48 = !{!"_ZTSSt18_Rb_tree_node_base", !49, i64 0, !7, i64 8, !7, i64 16, !7, i64 24}
!49 = !{!"_ZTSSt14_Rb_tree_color", !8, i64 0}
!50 = !{!"_ZTSN6Crypto4HashE", !8, i64 0}
!51 = !{!"_ZTSN7DynexCN22BlockchainSynchronizer5StateE", !8, i64 0}
!52 = !{!"_ZTSSt10unique_ptrISt6threadSt14default_deleteIS0_EE", !53, i64 0}
!53 = !{!"_ZTSSt15__uniq_ptr_dataISt6threadSt14default_deleteIS0_ELb1ELb1EE", !54, i64 0}
!54 = !{!"_ZTSSt15__uniq_ptr_implISt6threadSt14default_deleteIS0_EE", !55, i64 0}
!55 = !{!"_ZTSSt5tupleIJPSt6threadSt14default_deleteIS0_EEE", !56, i64 0}
!56 = !{!"_ZTSSt11_Tuple_implILm0EJPSt6threadSt14default_deleteIS0_EEE", !57, i64 0}
!57 = !{!"_ZTSSt10_Head_baseILm0EPSt6threadLb0EE", !7, i64 0}
!58 = !{!"_ZTSNSt7__cxx114listISt4pairIPKN7DynexCN18ITransactionReaderESt7promiseISt10error_codeEESaIS9_EEE", !59, i64 0}
!59 = !{!"_ZTSNSt7__cxx1110_List_baseISt4pairIPKN7DynexCN18ITransactionReaderESt7promiseISt10error_codeEESaIS9_EEE", !60, i64 0}
!60 = !{!"_ZTSNSt7__cxx1110_List_baseISt4pairIPKN7DynexCN18ITransactionReaderESt7promiseISt10error_codeEESaIS9_EE10_List_implE", !61, i64 0}
!61 = !{!"_ZTSNSt8__detail17_List_node_headerE", !62, i64 0, !17, i64 16}
!62 = !{!"_ZTSNSt8__detail15_List_node_baseE", !7, i64 0, !7, i64 8}
!63 = !{!"_ZTSNSt7__cxx114listISt4pairIPKN6Crypto4HashESt7promiseIvEESaIS8_EEE", !64, i64 0}
!64 = !{!"_ZTSNSt7__cxx1110_List_baseISt4pairIPKN6Crypto4HashESt7promiseIvEESaIS8_EEE", !65, i64 0}
!65 = !{!"_ZTSNSt7__cxx1110_List_baseISt4pairIPKN6Crypto4HashESt7promiseIvEESaIS8_EE10_List_implE", !61, i64 0}
!66 = !{!"_ZTSSt18condition_variable", !67, i64 0}
!67 = !{!"_ZTSSt9__condvar", !8, i64 0}
!68 = !{i64 0, i64 8, !16, i64 8, i64 8, !16}


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