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

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

%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::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.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.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.Log = type { i8, i8, ptr, %"class.std::basic_filebuf" }
%"class.std::basic_filebuf" = type { %"class.std::basic_streambuf", %union.pthread_mutex_t, %"class.std::__basic_file", i32, %struct.__mbstate_t, %struct.__mbstate_t, %struct.__mbstate_t, ptr, i64, i8, i8, i8, i8, ptr, ptr, i8, ptr, ptr, i64, ptr, ptr }
%"class.std::basic_streambuf" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, %"class.std::locale" }
%"class.std::locale" = type { ptr }
%"class.std::__basic_file" = type <{ ptr, i8, [7 x i8] }>
%struct.__mbstate_t = type { i32, %union.anon.38 }
%union.anon.38 = type { i32 }
%"class.std::allocator" = type { i8 }
%"struct.std::pair.46" = type { %"class.std::__cxx11::basic_string", %class.TransactionForNetwork }
%class.TransactionForNetwork = type { %class.Transaction, i8, %"class.std::vector", i64, i64 }
%"struct.std::pair.44" = type <{ %"struct.std::__detail::_Node_iterator.36", i8, [7 x i8] }>
%"struct.std::__detail::_Node_iterator.36" = type { %"struct.std::__detail::_Node_iterator_base.37" }
%"struct.std::__detail::_Node_iterator_base.37" = type { ptr }
%"struct.std::pair.51" = type { %"class.std::__cxx11::basic_string", %class.TxIn }
%class.TxIn = type { %struct.UAmount, %"class.std::vector", i32, %struct.UScript }
%struct.UAmount = type { %"class.std::map" }
%"class.std::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<unsigned char, std::pair<const unsigned char, unsigned long>, std::_Select1st<std::pair<const unsigned char, unsigned long>>, std::less<unsigned char>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<unsigned char, std::pair<const unsigned char, unsigned long>, std::_Select1st<std::pair<const unsigned char, unsigned long>>, std::less<unsigned char>>::_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.UScript = type { i8, %"class.std::vector" }
%"struct.std::pair.48" = type <{ %"struct.std::__detail::_Node_iterator", i8, [7 x i8] }>
%"struct.std::__detail::_Node_iterator" = type { %"struct.std::__detail::_Node_iterator_base" }
%"struct.std::__detail::_Node_iterator_base" = type { ptr }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"class.std::thread" = type { %"class.std::thread::id" }
%"class.std::thread::id" = type { i64 }
%class.TxPool = type { %"class.std::unordered_map", %"class.std::unordered_map.12" }
%"class.std::unordered_map" = type { %"class.std::_Hashtable" }
%"class.std::_Hashtable" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"struct.std::__detail::_Hash_node_base" = type { ptr }
%"struct.std::__detail::_Prime_rehash_policy" = type { float, i64 }
%"class.std::unordered_map.12" = type { %"class.std::_Hashtable.13" }
%"class.std::_Hashtable.13" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }

@_ZN6TxPool19transactionListLockE = external dso_local global { %union.pthread_mutex_t }, align 8
@_ZN6TxPool12txInputsLockE = external dso_local global { %union.pthread_mutex_t }, align 8
@.str.7 = external hidden unnamed_addr constant [59 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [94 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [71 x i8], align 1

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt5mutex4lockEv(ptr noundef nonnull align 8 dereferenceable(40)) #3 align 2

declare void @_ZN7Hexdump17vectorToHexStringB5cxx11ESt6vectorIhSaIhEE(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef) #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt5mutex6unlockEv(ptr noundef nonnull align 8 dereferenceable(40)) #3 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN21TransactionForNetwork14getTransactionEv(ptr dead_on_unwind noalias writable sret(%class.Transaction) align 8, ptr noundef nonnull align 8 dereferenceable(112)) #3 align 2

declare noundef zeroext i1 @_ZN17TransactionHelper18isRegisterPassportEP11Transaction(ptr noundef) #2

declare noundef ptr @_ZN10X509Helper12vectorToCertESt6vectorIhSaIhEE(ptr noundef) #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN21TransactionForNetwork20getAdditionalPayloadEv(ptr dead_on_unwind noalias writable sret(%"class.std::vector") align 8, ptr noundef nonnull align 8 dereferenceable(112)) #3 align 2

declare void @_ZN17TransactionHelper15getPassportHashEP11TransactionP7x509_st(ptr dead_on_unwind writable sret(%"class.std::vector") align 8, ptr noundef, ptr noundef) #2

declare void @X509_free(ptr noundef) #2

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

declare void @_ZN11Transaction8getTxInsEv(ptr dead_on_unwind writable sret(%"class.std::vector.26") align 8, ptr noundef nonnull align 8 dereferenceable(60)) #2

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

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

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

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

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

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

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

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

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

declare void @_ZN3LogC1Eh(ptr noundef nonnull align 8 dereferenceable(256), i8 noundef zeroext) unnamed_addr #2

declare noundef nonnull align 8 dereferenceable(256) ptr @_ZN3LoglsEPKc(ptr noundef nonnull align 8 dereferenceable(256), ptr noundef) #2

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN6TxPool17appendTransactionE21TransactionForNetworkbP16TransactionError(ptr noundef nonnull align 8 dereferenceable(112) %0, ptr noundef %1, i1 noundef zeroext %2, ptr noundef %3) #3 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca i1, align 1
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i8, align 1
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca %class.Transaction, align 8
  %12 = alloca ptr, align 8
  %13 = alloca i32, align 4
  %14 = alloca %class.Log, align 8
  %15 = alloca i32, align 4
  %16 = alloca %class.Log, align 8
  %17 = alloca %"class.std::__cxx11::basic_string", align 8
  %18 = alloca %"class.std::allocator", align 1
  %19 = alloca %class.Transaction, align 8
  %20 = alloca %"struct.std::pair.46", align 8
  %21 = alloca %"class.std::__cxx11::basic_string", align 8
  %22 = alloca %"class.std::vector", align 8
  %23 = alloca %"struct.std::pair.44", align 8
  %24 = alloca ptr, align 8
  %25 = alloca %"class.std::vector", align 8
  %26 = alloca %"class.std::vector", align 8
  %27 = alloca %"struct.std::pair.51", align 8
  %28 = alloca %"class.std::__cxx11::basic_string", align 8
  %29 = alloca %"class.std::vector", align 8
  %30 = alloca %"class.std::vector.26", align 8
  %31 = alloca %"struct.std::pair.48", align 8
  %32 = alloca ptr, align 8
  %33 = alloca %"class.std::vector.26", align 8
  %34 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %35 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %36 = alloca %class.TxIn, align 8
  %37 = alloca %"struct.std::pair.51", align 8
  %38 = alloca %"class.std::__cxx11::basic_string", align 8
  %39 = alloca %"class.std::vector", align 8
  %40 = alloca %"struct.std::pair.48", align 8
  %41 = alloca %"class.std::thread", align 8
  %42 = alloca ptr, align 8
  store ptr %0, ptr %6, align 8, !tbaa !5
  store ptr %1, ptr %7, align 8, !tbaa !5
  %43 = zext i1 %2 to i8
  store i8 %43, ptr %8, align 1, !tbaa !9
  store ptr %3, ptr %9, align 8, !tbaa !5
  %44 = load ptr, ptr %6, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #7
  %45 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZN5Chain8InstanceEv()
  store ptr %45, ptr %10, align 8, !tbaa !5
  %46 = call noundef i64 @_ZN4Time19getCurrentTimestampEv()
  call void @_ZN21TransactionForNetwork20setTimestampReceivedEm(ptr noundef nonnull align 8 dereferenceable(112) %1, i64 noundef %46)
  %47 = call noundef i64 @_ZN4Time19getCurrentTimestampEv()
  call void @_ZN21TransactionForNetwork27setTimestampLastBroadcastedEm(ptr noundef nonnull align 8 dereferenceable(112) %1, i64 noundef %47)
  call void @llvm.lifetime.start.p0(i64 64, ptr %11) #7
  call void @_ZN21TransactionForNetwork14getTransactionEv(ptr dead_on_unwind writable sret(%class.Transaction) align 8 %11, ptr noundef nonnull align 8 dereferenceable(112) %1)
  %48 = load ptr, ptr %9, align 8, !tbaa !5
  %49 = invoke noundef zeroext i1 @_ZN17TransactionVerify15verifyNetworkTxEP21TransactionForNetworkP16TransactionError(ptr noundef %1, ptr noundef %48)
          to label %50 unwind label %55

50:                                               ; preds = %4
  br i1 %49, label %68, label %51

51:                                               ; preds = %50
  call void @llvm.lifetime.start.p0(i64 256, ptr %14) #7
  invoke void @_ZN3LogC1Eh(ptr noundef nonnull align 8 dereferenceable(256) %14, i8 noundef zeroext 3)
          to label %52 unwind label %59

52:                                               ; preds = %51
  %53 = invoke noundef nonnull align 8 dereferenceable(256) ptr @_ZN3LoglsEPKc(ptr noundef nonnull align 8 dereferenceable(256) %14, ptr noundef @.str.7)
          to label %54 unwind label %63

54:                                               ; preds = %52
  call void @_ZN3LogD1Ev(ptr noundef nonnull align 8 dereferenceable(256) %14) #7
  call void @llvm.lifetime.end.p0(i64 256, ptr %14) #7
  store i1 false, ptr %5, align 1
  store i32 1, ptr %15, align 4
  br label %290

55:                                               ; preds = %120, %115, %108, %106, %104, %102, %77, %68, %4
  %56 = landingpad { ptr, i32 }
          cleanup
  %57 = extractvalue { ptr, i32 } %56, 0
  store ptr %57, ptr %12, align 8
  %58 = extractvalue { ptr, i32 } %56, 1
  store i32 %58, ptr %13, align 4
  br label %292

59:                                               ; preds = %51
  %60 = landingpad { ptr, i32 }
          cleanup
  %61 = extractvalue { ptr, i32 } %60, 0
  store ptr %61, ptr %12, align 8
  %62 = extractvalue { ptr, i32 } %60, 1
  store i32 %62, ptr %13, align 4
  br label %67

63:                                               ; preds = %52
  %64 = landingpad { ptr, i32 }
          cleanup
  %65 = extractvalue { ptr, i32 } %64, 0
  store ptr %65, ptr %12, align 8
  %66 = extractvalue { ptr, i32 } %64, 1
  store i32 %66, ptr %13, align 4
  call void @_ZN3LogD1Ev(ptr noundef nonnull align 8 dereferenceable(256) %14) #7
  br label %67

67:                                               ; preds = %63, %59
  call void @llvm.lifetime.end.p0(i64 256, ptr %14) #7
  br label %292

68:                                               ; preds = %50
  %69 = invoke noundef zeroext i1 @_ZN6TxPool16isTxInputPresentEP21TransactionForNetwork(ptr noundef nonnull align 8 dereferenceable(112) %44, ptr noundef %1)
          to label %70 unwind label %55

70:                                               ; preds = %68
  br i1 %69, label %71, label %102

71:                                               ; preds = %70
  call void @llvm.lifetime.start.p0(i64 256, ptr %16) #7
  invoke void @_ZN3LogC1Eh(ptr noundef nonnull align 8 dereferenceable(256) %16, i8 noundef zeroext 2)
          to label %72 unwind label %83

72:                                               ; preds = %71
  %73 = invoke noundef nonnull align 8 dereferenceable(256) ptr @_ZN3LoglsEPKc(ptr noundef nonnull align 8 dereferenceable(256) %16, ptr noundef @.str.8)
          to label %74 unwind label %87

74:                                               ; preds = %72
  call void @_ZN3LogD1Ev(ptr noundef nonnull align 8 dereferenceable(256) %16) #7
  call void @llvm.lifetime.end.p0(i64 256, ptr %16) #7
  %75 = load ptr, ptr %9, align 8, !tbaa !5
  %76 = icmp ne ptr %75, null
  br i1 %76, label %77, label %101

77:                                               ; preds = %74
  %78 = load ptr, ptr %9, align 8, !tbaa !5
  invoke void @_ZN16TransactionError12setErrorCodeEt(ptr noundef nonnull align 8 dereferenceable(136) %78, i16 noundef zeroext 1)
          to label %79 unwind label %55

79:                                               ; preds = %77
  %80 = load ptr, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %17) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr %18) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %17, ptr noundef @.str.9, ptr noundef nonnull align 1 dereferenceable(1) %18)
          to label %81 unwind label %92

81:                                               ; preds = %79
  invoke void @_ZN16TransactionError15setErrorMessageERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(136) %80, ptr noundef nonnull align 8 dereferenceable(32) %17)
          to label %82 unwind label %96

82:                                               ; preds = %81
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %18) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %17) #7
  br label %101

83:                                               ; preds = %71
  %84 = landingpad { ptr, i32 }
          cleanup
  %85 = extractvalue { ptr, i32 } %84, 0
  store ptr %85, ptr %12, align 8
  %86 = extractvalue { ptr, i32 } %84, 1
  store i32 %86, ptr %13, align 4
  br label %91

87:                                               ; preds = %72
  %88 = landingpad { ptr, i32 }
          cleanup
  %89 = extractvalue { ptr, i32 } %88, 0
  store ptr %89, ptr %12, align 8
  %90 = extractvalue { ptr, i32 } %88, 1
  store i32 %90, ptr %13, align 4
  call void @_ZN3LogD1Ev(ptr noundef nonnull align 8 dereferenceable(256) %16) #7
  br label %91

91:                                               ; preds = %87, %83
  call void @llvm.lifetime.end.p0(i64 256, ptr %16) #7
  br label %292

92:                                               ; preds = %79
  %93 = landingpad { ptr, i32 }
          cleanup
  %94 = extractvalue { ptr, i32 } %93, 0
  store ptr %94, ptr %12, align 8
  %95 = extractvalue { ptr, i32 } %93, 1
  store i32 %95, ptr %13, align 4
  br label %100

96:                                               ; preds = %81
  %97 = landingpad { ptr, i32 }
          cleanup
  %98 = extractvalue { ptr, i32 } %97, 0
  store ptr %98, ptr %12, align 8
  %99 = extractvalue { ptr, i32 } %97, 1
  store i32 %99, ptr %13, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #7
  br label %100

100:                                              ; preds = %96, %92
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %18) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %17) #7
  br label %292

101:                                              ; preds = %82, %74
  store i1 false, ptr %5, align 1
  store i32 1, ptr %15, align 4
  br label %290

102:                                              ; preds = %70
  %103 = invoke noundef i64 @_ZN4Time19getCurrentTimestampEv()
          to label %104 unwind label %55

104:                                              ; preds = %102
  %105 = trunc i64 %103 to i32
  invoke void @_ZN11Transaction12setTimestampEj(ptr noundef nonnull align 8 dereferenceable(60) %11, i32 noundef %105)
          to label %106 unwind label %55

106:                                              ; preds = %104
  invoke void @_ZN11TransactionC2ERKS_(ptr noundef nonnull align 8 dereferenceable(60) %19, ptr noundef nonnull align 8 dereferenceable(60) %11)
          to label %107 unwind label %55

107:                                              ; preds = %106
  invoke void @_ZN21TransactionForNetwork14setTransactionE11Transaction(ptr noundef nonnull align 8 dereferenceable(112) %1, ptr noundef %19)
          to label %108 unwind label %145

108:                                              ; preds = %107
  call void @_ZN11TransactionD2Ev(ptr noundef nonnull align 8 dereferenceable(60) %19) #7
  invoke void @_ZNSt5mutex4lockEv(ptr noundef nonnull align 8 dereferenceable(40) @_ZN6TxPool19transactionListLockE)
          to label %109 unwind label %55

109:                                              ; preds = %108
  %110 = getelementptr inbounds %class.TxPool, ptr %44, i32 0, i32 0
  call void @llvm.lifetime.start.p0(i64 144, ptr %20) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr %21) #7
  invoke void @_ZN17TransactionHelper7getTxIdEP11Transaction(ptr dead_on_unwind writable sret(%"class.std::vector") align 8 %22, ptr noundef %11)
          to label %111 unwind label %149

111:                                              ; preds = %109
  invoke void @_ZN7Hexdump17vectorToHexStringB5cxx11ESt6vectorIhSaIhEE(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %21, ptr noundef %22)
          to label %112 unwind label %153

112:                                              ; preds = %111
  invoke void @_ZNSt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE21TransactionForNetworkEC2IS5_RS6_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairISB_SC_EEEbE4typeELb1EEEOSB_OSC_(ptr noundef nonnull align 8 dereferenceable(144) %20, ptr noundef nonnull align 8 dereferenceable(32) %21, ptr noundef nonnull align 8 dereferenceable(112) %1)
          to label %113 unwind label %157

113:                                              ; preds = %112
  %114 = invoke { ptr, i8 } @_ZNSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE21TransactionForNetworkSt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_S6_EEE6insertISB_IS5_S6_EEENSt9enable_ifIXsr16is_constructibleISD_OT_EE5valueESB_INSt8__detail14_Node_iteratorISD_Lb0ELb1EEEbEE4typeESK_(ptr noundef nonnull align 8 dereferenceable(56) %110, ptr noundef nonnull align 8 dereferenceable(144) %20)
          to label %115 unwind label %161

115:                                              ; preds = %113
  %116 = getelementptr inbounds { ptr, i8 }, ptr %23, i32 0, i32 0
  %117 = extractvalue { ptr, i8 } %114, 0
  store ptr %117, ptr %116, align 8
  %118 = getelementptr inbounds { ptr, i8 }, ptr %23, i32 0, i32 1
  %119 = extractvalue { ptr, i8 } %114, 1
  store i8 %119, ptr %118, align 8
  call void @_ZNSt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE21TransactionForNetworkED2Ev(ptr noundef nonnull align 8 dereferenceable(144) %20) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #7
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %22) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %21) #7
  call void @llvm.lifetime.end.p0(i64 144, ptr %20) #7
  invoke void @_ZNSt5mutex6unlockEv(ptr noundef nonnull align 8 dereferenceable(40) @_ZN6TxPool19transactionListLockE)
          to label %120 unwind label %55

120:                                              ; preds = %115
  %121 = invoke noundef zeroext i1 @_ZN17TransactionHelper18isRegisterPassportEP11Transaction(ptr noundef %11)
          to label %122 unwind label %55

122:                                              ; preds = %120
  br i1 %121, label %123, label %211

123:                                              ; preds = %122
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #7
  invoke void @_ZN21TransactionForNetwork20getAdditionalPayloadEv(ptr dead_on_unwind writable sret(%"class.std::vector") align 8 %25, ptr noundef nonnull align 8 dereferenceable(112) %1)
          to label %124 unwind label %168

124:                                              ; preds = %123
  %125 = invoke noundef ptr @_ZN10X509Helper12vectorToCertESt6vectorIhSaIhEE(ptr noundef %25)
          to label %126 unwind label %172

126:                                              ; preds = %124
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %25) #7
  store ptr %125, ptr %24, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr %26) #7
  %127 = load ptr, ptr %24, align 8, !tbaa !5
  invoke void @_ZN17TransactionHelper15getPassportHashEP11TransactionP7x509_st(ptr dead_on_unwind writable sret(%"class.std::vector") align 8 %26, ptr noundef %11, ptr noundef %127)
          to label %128 unwind label %176

128:                                              ; preds = %126
  %129 = load ptr, ptr %24, align 8, !tbaa !5
  invoke void @X509_free(ptr noundef %129)
          to label %130 unwind label %180

130:                                              ; preds = %128
  invoke void @_ZNSt5mutex4lockEv(ptr noundef nonnull align 8 dereferenceable(40) @_ZN6TxPool12txInputsLockE)
          to label %131 unwind label %180

131:                                              ; preds = %130
  %132 = getelementptr inbounds %class.TxPool, ptr %44, i32 0, i32 1
  call void @llvm.lifetime.start.p0(i64 144, ptr %27) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr %28) #7
  invoke void @_ZNSt6vectorIhSaIhEEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %29, ptr noundef nonnull align 8 dereferenceable(24) %26)
          to label %133 unwind label %184

133:                                              ; preds = %131
  invoke void @_ZN7Hexdump17vectorToHexStringB5cxx11ESt6vectorIhSaIhEE(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %28, ptr noundef %29)
          to label %134 unwind label %188

134:                                              ; preds = %133
  call void @llvm.lifetime.start.p0(i64 24, ptr %30) #7
  invoke void @_ZN11Transaction8getTxInsEv(ptr dead_on_unwind writable sret(%"class.std::vector.26") align 8 %30, ptr noundef nonnull align 8 dereferenceable(60) %11)
          to label %135 unwind label %192

135:                                              ; preds = %134
  %136 = call noundef nonnull align 8 dereferenceable(112) ptr @_ZNSt6vectorI4TxInSaIS0_EE5frontEv(ptr noundef nonnull align 8 dereferenceable(24) %30) #7
  invoke void @_ZSt9make_pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEER4TxInESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS9_INSA_IT0_E4typeEE6__typeEEOSB_OSG_(ptr dead_on_unwind writable sret(%"struct.std::pair.51") align 8 %27, ptr noundef nonnull align 8 dereferenceable(32) %28, ptr noundef nonnull align 8 dereferenceable(112) %136)
          to label %137 unwind label %196

137:                                              ; preds = %135
  %138 = invoke { ptr, i8 } @_ZNSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE4TxInSt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_S6_EEE6insertISB_IS5_S6_EEENSt9enable_ifIXsr16is_constructibleISD_OT_EE5valueESB_INSt8__detail14_Node_iteratorISD_Lb0ELb1EEEbEE4typeESK_(ptr noundef nonnull align 8 dereferenceable(56) %132, ptr noundef nonnull align 8 dereferenceable(144) %27)
          to label %139 unwind label %200

139:                                              ; preds = %137
  %140 = getelementptr inbounds { ptr, i8 }, ptr %31, i32 0, i32 0
  %141 = extractvalue { ptr, i8 } %138, 0
  store ptr %141, ptr %140, align 8
  %142 = getelementptr inbounds { ptr, i8 }, ptr %31, i32 0, i32 1
  %143 = extractvalue { ptr, i8 } %138, 1
  store i8 %143, ptr %142, align 8
  call void @_ZNSt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE4TxInED2Ev(ptr noundef nonnull align 8 dereferenceable(144) %27) #7
  call void @_ZNSt6vectorI4TxInSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %30) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %30) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %28) #7
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %29) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %28) #7
  call void @llvm.lifetime.end.p0(i64 144, ptr %27) #7
  invoke void @_ZNSt5mutex6unlockEv(ptr noundef nonnull align 8 dereferenceable(40) @_ZN6TxPool12txInputsLockE)
          to label %144 unwind label %180

144:                                              ; preds = %139
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %26) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %26) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #7
  br label %274

145:                                              ; preds = %107
  %146 = landingpad { ptr, i32 }
          cleanup
  %147 = extractvalue { ptr, i32 } %146, 0
  store ptr %147, ptr %12, align 8
  %148 = extractvalue { ptr, i32 } %146, 1
  store i32 %148, ptr %13, align 4
  call void @_ZN11TransactionD2Ev(ptr noundef nonnull align 8 dereferenceable(60) %19) #7
  br label %292

149:                                              ; preds = %109
  %150 = landingpad { ptr, i32 }
          cleanup
  %151 = extractvalue { ptr, i32 } %150, 0
  store ptr %151, ptr %12, align 8
  %152 = extractvalue { ptr, i32 } %150, 1
  store i32 %152, ptr %13, align 4
  br label %167

153:                                              ; preds = %111
  %154 = landingpad { ptr, i32 }
          cleanup
  %155 = extractvalue { ptr, i32 } %154, 0
  store ptr %155, ptr %12, align 8
  %156 = extractvalue { ptr, i32 } %154, 1
  store i32 %156, ptr %13, align 4
  br label %166

157:                                              ; preds = %112
  %158 = landingpad { ptr, i32 }
          cleanup
  %159 = extractvalue { ptr, i32 } %158, 0
  store ptr %159, ptr %12, align 8
  %160 = extractvalue { ptr, i32 } %158, 1
  store i32 %160, ptr %13, align 4
  br label %165

161:                                              ; preds = %113
  %162 = landingpad { ptr, i32 }
          cleanup
  %163 = extractvalue { ptr, i32 } %162, 0
  store ptr %163, ptr %12, align 8
  %164 = extractvalue { ptr, i32 } %162, 1
  store i32 %164, ptr %13, align 4
  call void @_ZNSt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE21TransactionForNetworkED2Ev(ptr noundef nonnull align 8 dereferenceable(144) %20) #7
  br label %165

165:                                              ; preds = %161, %157
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #7
  br label %166

166:                                              ; preds = %165, %153
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %22) #7
  br label %167

167:                                              ; preds = %166, %149
  call void @llvm.lifetime.end.p0(i64 32, ptr %21) #7
  call void @llvm.lifetime.end.p0(i64 144, ptr %20) #7
  br label %292

168:                                              ; preds = %123
  %169 = landingpad { ptr, i32 }
          cleanup
  %170 = extractvalue { ptr, i32 } %169, 0
  store ptr %170, ptr %12, align 8
  %171 = extractvalue { ptr, i32 } %169, 1
  store i32 %171, ptr %13, align 4
  br label %210

172:                                              ; preds = %124
  %173 = landingpad { ptr, i32 }
          cleanup
  %174 = extractvalue { ptr, i32 } %173, 0
  store ptr %174, ptr %12, align 8
  %175 = extractvalue { ptr, i32 } %173, 1
  store i32 %175, ptr %13, align 4
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %25) #7
  br label %210

176:                                              ; preds = %126
  %177 = landingpad { ptr, i32 }
          cleanup
  %178 = extractvalue { ptr, i32 } %177, 0
  store ptr %178, ptr %12, align 8
  %179 = extractvalue { ptr, i32 } %177, 1
  store i32 %179, ptr %13, align 4
  br label %209

180:                                              ; preds = %139, %130, %128
  %181 = landingpad { ptr, i32 }
          cleanup
  %182 = extractvalue { ptr, i32 } %181, 0
  store ptr %182, ptr %12, align 8
  %183 = extractvalue { ptr, i32 } %181, 1
  store i32 %183, ptr %13, align 4
  br label %208

184:                                              ; preds = %131
  %185 = landingpad { ptr, i32 }
          cleanup
  %186 = extractvalue { ptr, i32 } %185, 0
  store ptr %186, ptr %12, align 8
  %187 = extractvalue { ptr, i32 } %185, 1
  store i32 %187, ptr %13, align 4
  br label %207

188:                                              ; preds = %133
  %189 = landingpad { ptr, i32 }
          cleanup
  %190 = extractvalue { ptr, i32 } %189, 0
  store ptr %190, ptr %12, align 8
  %191 = extractvalue { ptr, i32 } %189, 1
  store i32 %191, ptr %13, align 4
  br label %206

192:                                              ; preds = %134
  %193 = landingpad { ptr, i32 }
          cleanup
  %194 = extractvalue { ptr, i32 } %193, 0
  store ptr %194, ptr %12, align 8
  %195 = extractvalue { ptr, i32 } %193, 1
  store i32 %195, ptr %13, align 4
  br label %205

196:                                              ; preds = %135
  %197 = landingpad { ptr, i32 }
          cleanup
  %198 = extractvalue { ptr, i32 } %197, 0
  store ptr %198, ptr %12, align 8
  %199 = extractvalue { ptr, i32 } %197, 1
  store i32 %199, ptr %13, align 4
  br label %204

200:                                              ; preds = %137
  %201 = landingpad { ptr, i32 }
          cleanup
  %202 = extractvalue { ptr, i32 } %201, 0
  store ptr %202, ptr %12, align 8
  %203 = extractvalue { ptr, i32 } %201, 1
  store i32 %203, ptr %13, align 4
  call void @_ZNSt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE4TxInED2Ev(ptr noundef nonnull align 8 dereferenceable(144) %27) #7
  br label %204

204:                                              ; preds = %200, %196
  call void @_ZNSt6vectorI4TxInSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %30) #7
  br label %205

205:                                              ; preds = %204, %192
  call void @llvm.lifetime.end.p0(i64 24, ptr %30) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %28) #7
  br label %206

206:                                              ; preds = %205, %188
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %29) #7
  br label %207

207:                                              ; preds = %206, %184
  call void @llvm.lifetime.end.p0(i64 32, ptr %28) #7
  call void @llvm.lifetime.end.p0(i64 144, ptr %27) #7
  br label %208

208:                                              ; preds = %207, %180
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %26) #7
  br label %209

209:                                              ; preds = %208, %176
  call void @llvm.lifetime.end.p0(i64 24, ptr %26) #7
  br label %210

210:                                              ; preds = %209, %172, %168
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #7
  br label %292

211:                                              ; preds = %122
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr %33) #7
  invoke void @_ZN11Transaction8getTxInsEv(ptr dead_on_unwind writable sret(%"class.std::vector.26") align 8 %33, ptr noundef nonnull align 8 dereferenceable(60) %11)
          to label %212 unwind label %222

212:                                              ; preds = %211
  store ptr %33, ptr %32, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #7
  %213 = load ptr, ptr %32, align 8, !tbaa !5
  %214 = call ptr @_ZNSt6vectorI4TxInSaIS0_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %213) #7
  %215 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %34, i32 0, i32 0
  store ptr %214, ptr %215, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #7
  %216 = load ptr, ptr %32, align 8, !tbaa !5
  %217 = call ptr @_ZNSt6vectorI4TxInSaIS0_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %216) #7
  %218 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %35, i32 0, i32 0
  store ptr %217, ptr %218, align 8
  br label %219

219:                                              ; preds = %241, %212
  %220 = call noundef zeroext i1 @_ZN9__gnu_cxxneIP4TxInSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESB_(ptr noundef nonnull align 8 dereferenceable(8) %34, ptr noundef nonnull align 8 dereferenceable(8) %35) #7
  br i1 %220, label %226, label %221

221:                                              ; preds = %219
  store i32 2, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #7
  call void @_ZNSt6vectorI4TxInSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %33) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %33) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #7
  br label %273

222:                                              ; preds = %211
  %223 = landingpad { ptr, i32 }
          cleanup
  %224 = extractvalue { ptr, i32 } %223, 0
  store ptr %224, ptr %12, align 8
  %225 = extractvalue { ptr, i32 } %223, 1
  store i32 %225, ptr %13, align 4
  br label %272

226:                                              ; preds = %219
  call void @llvm.lifetime.start.p0(i64 112, ptr %36) #7
  %227 = call noundef nonnull align 8 dereferenceable(112) ptr @_ZNK9__gnu_cxx17__normal_iteratorIP4TxInSt6vectorIS1_SaIS1_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %34) #7
  invoke void @_ZN4TxInC2ERKS_(ptr noundef nonnull align 8 dereferenceable(112) %36, ptr noundef nonnull align 8 dereferenceable(112) %227)
          to label %228 unwind label %243

228:                                              ; preds = %226
  invoke void @_ZNSt5mutex4lockEv(ptr noundef nonnull align 8 dereferenceable(40) @_ZN6TxPool12txInputsLockE)
          to label %229 unwind label %247

229:                                              ; preds = %228
  %230 = getelementptr inbounds %class.TxPool, ptr %44, i32 0, i32 1
  call void @llvm.lifetime.start.p0(i64 144, ptr %37) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr %38) #7
  invoke void @_ZN4TxIn12getInAddressEv(ptr dead_on_unwind writable sret(%"class.std::vector") align 8 %39, ptr noundef nonnull align 8 dereferenceable(112) %36)
          to label %231 unwind label %251

231:                                              ; preds = %229
  invoke void @_ZN7Hexdump17vectorToHexStringB5cxx11ESt6vectorIhSaIhEE(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %38, ptr noundef %39)
          to label %232 unwind label %255

232:                                              ; preds = %231
  invoke void @_ZSt9make_pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEER4TxInESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS9_INSA_IT0_E4typeEE6__typeEEOSB_OSG_(ptr dead_on_unwind writable sret(%"struct.std::pair.51") align 8 %37, ptr noundef nonnull align 8 dereferenceable(32) %38, ptr noundef nonnull align 8 dereferenceable(112) %36)
          to label %233 unwind label %259

233:                                              ; preds = %232
  %234 = invoke { ptr, i8 } @_ZNSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE4TxInSt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_S6_EEE6insertISB_IS5_S6_EEENSt9enable_ifIXsr16is_constructibleISD_OT_EE5valueESB_INSt8__detail14_Node_iteratorISD_Lb0ELb1EEEbEE4typeESK_(ptr noundef nonnull align 8 dereferenceable(56) %230, ptr noundef nonnull align 8 dereferenceable(144) %37)
          to label %235 unwind label %263

235:                                              ; preds = %233
  %236 = getelementptr inbounds { ptr, i8 }, ptr %40, i32 0, i32 0
  %237 = extractvalue { ptr, i8 } %234, 0
  store ptr %237, ptr %236, align 8
  %238 = getelementptr inbounds { ptr, i8 }, ptr %40, i32 0, i32 1
  %239 = extractvalue { ptr, i8 } %234, 1
  store i8 %239, ptr %238, align 8
  call void @_ZNSt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE4TxInED2Ev(ptr noundef nonnull align 8 dereferenceable(144) %37) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %38) #7
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %39) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %38) #7
  call void @llvm.lifetime.end.p0(i64 144, ptr %37) #7
  invoke void @_ZNSt5mutex6unlockEv(ptr noundef nonnull align 8 dereferenceable(40) @_ZN6TxPool12txInputsLockE)
          to label %240 unwind label %247

240:                                              ; preds = %235
  call void @_ZN4TxInD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %36) #7
  call void @llvm.lifetime.end.p0(i64 112, ptr %36) #7
  br label %241

241:                                              ; preds = %240
  %242 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIP4TxInSt6vectorIS1_SaIS1_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %34) #7
  br label %219

243:                                              ; preds = %226
  %244 = landingpad { ptr, i32 }
          cleanup
  %245 = extractvalue { ptr, i32 } %244, 0
  store ptr %245, ptr %12, align 8
  %246 = extractvalue { ptr, i32 } %244, 1
  store i32 %246, ptr %13, align 4
  br label %271

247:                                              ; preds = %235, %228
  %248 = landingpad { ptr, i32 }
          cleanup
  %249 = extractvalue { ptr, i32 } %248, 0
  store ptr %249, ptr %12, align 8
  %250 = extractvalue { ptr, i32 } %248, 1
  store i32 %250, ptr %13, align 4
  br label %270

251:                                              ; preds = %229
  %252 = landingpad { ptr, i32 }
          cleanup
  %253 = extractvalue { ptr, i32 } %252, 0
  store ptr %253, ptr %12, align 8
  %254 = extractvalue { ptr, i32 } %252, 1
  store i32 %254, ptr %13, align 4
  br label %269

255:                                              ; preds = %231
  %256 = landingpad { ptr, i32 }
          cleanup
  %257 = extractvalue { ptr, i32 } %256, 0
  store ptr %257, ptr %12, align 8
  %258 = extractvalue { ptr, i32 } %256, 1
  store i32 %258, ptr %13, align 4
  br label %268

259:                                              ; preds = %232
  %260 = landingpad { ptr, i32 }
          cleanup
  %261 = extractvalue { ptr, i32 } %260, 0
  store ptr %261, ptr %12, align 8
  %262 = extractvalue { ptr, i32 } %260, 1
  store i32 %262, ptr %13, align 4
  br label %267

263:                                              ; preds = %233
  %264 = landingpad { ptr, i32 }
          cleanup
  %265 = extractvalue { ptr, i32 } %264, 0
  store ptr %265, ptr %12, align 8
  %266 = extractvalue { ptr, i32 } %264, 1
  store i32 %266, ptr %13, align 4
  call void @_ZNSt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE4TxInED2Ev(ptr noundef nonnull align 8 dereferenceable(144) %37) #7
  br label %267

267:                                              ; preds = %263, %259
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %38) #7
  br label %268

268:                                              ; preds = %267, %255
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %39) #7
  br label %269

269:                                              ; preds = %268, %251
  call void @llvm.lifetime.end.p0(i64 32, ptr %38) #7
  call void @llvm.lifetime.end.p0(i64 144, ptr %37) #7
  br label %270

270:                                              ; preds = %269, %247
  call void @_ZN4TxInD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %36) #7
  br label %271

271:                                              ; preds = %270, %243
  call void @llvm.lifetime.end.p0(i64 112, ptr %36) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #7
  call void @_ZNSt6vectorI4TxInSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %33) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %33) #7
  br label %272

272:                                              ; preds = %271, %222
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #7
  br label %292

273:                                              ; preds = %221
  br label %274

274:                                              ; preds = %273, %144
  %275 = load i8, ptr %8, align 1, !tbaa !9, !range !11, !noundef !12
  %276 = trunc i8 %275 to i1
  br i1 %276, label %277, label %289

277:                                              ; preds = %274
  call void @llvm.lifetime.start.p0(i64 8, ptr %41) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %42) #7
  store ptr @_ZN7Network20broadCastTransactionE21TransactionForNetwork, ptr %42, align 8, !tbaa !5
  invoke void @_ZNSt6threadC2IPFv21TransactionForNetworkEJRS1_EvEEOT_DpOT0_(ptr noundef nonnull align 8 dereferenceable(8) %41, ptr noundef nonnull align 8 dereferenceable(8) %42, ptr noundef nonnull align 8 dereferenceable(112) %1)
          to label %278 unwind label %280

278:                                              ; preds = %277
  call void @llvm.lifetime.end.p0(i64 8, ptr %42) #7
  invoke void @_ZNSt6thread6detachEv(ptr noundef nonnull align 8 dereferenceable(8) %41)
          to label %279 unwind label %284

279:                                              ; preds = %278
  call void @_ZNSt6threadD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %41) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #7
  br label %289

280:                                              ; preds = %277
  %281 = landingpad { ptr, i32 }
          cleanup
  %282 = extractvalue { ptr, i32 } %281, 0
  store ptr %282, ptr %12, align 8
  %283 = extractvalue { ptr, i32 } %281, 1
  store i32 %283, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %42) #7
  br label %288

284:                                              ; preds = %278
  %285 = landingpad { ptr, i32 }
          cleanup
  %286 = extractvalue { ptr, i32 } %285, 0
  store ptr %286, ptr %12, align 8
  %287 = extractvalue { ptr, i32 } %285, 1
  store i32 %287, ptr %13, align 4
  call void @_ZNSt6threadD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %41) #7
  br label %288

288:                                              ; preds = %284, %280
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #7
  br label %292

289:                                              ; preds = %279, %274
  store i1 true, ptr %5, align 1
  store i32 1, ptr %15, align 4
  br label %290

290:                                              ; preds = %289, %101, %54
  call void @_ZN11TransactionD2Ev(ptr noundef nonnull align 8 dereferenceable(60) %11) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr %11) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #7
  %291 = load i1, ptr %5, align 1
  ret i1 %291

292:                                              ; preds = %288, %272, %210, %167, %145, %100, %91, %67, %55
  call void @_ZN11TransactionD2Ev(ptr noundef nonnull align 8 dereferenceable(60) %11) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr %11) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #7
  br label %293

293:                                              ; preds = %292
  %294 = load ptr, ptr %12, align 8
  %295 = load i32, ptr %13, align 4
  %296 = insertvalue { ptr, i32 } poison, ptr %294, 0
  %297 = insertvalue { ptr, i32 } %296, i32 %295, 1
  resume { ptr, i32 } %297
}

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZN4Time19getCurrentTimestampEv() #3 align 2

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

declare noundef zeroext i1 @_ZN17TransactionVerify15verifyNetworkTxEP21TransactionForNetworkP16TransactionError(ptr noundef, ptr noundef) #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN16TransactionError12setErrorCodeEt(ptr noundef nonnull align 8 dereferenceable(136), i16 noundef zeroext) #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN16TransactionError15setErrorMessageERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(136), ptr noundef nonnull align 8 dereferenceable(32)) #3 align 2

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

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

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

declare void @_ZN11Transaction12setTimestampEj(ptr noundef nonnull align 8 dereferenceable(60), i32 noundef) #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN21TransactionForNetwork14setTransactionE11Transaction(ptr noundef nonnull align 8 dereferenceable(112), ptr noundef) #3 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 #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local { ptr, i8 } @_ZNSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE21TransactionForNetworkSt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_S6_EEE6insertISB_IS5_S6_EEENSt9enable_ifIXsr16is_constructibleISD_OT_EE5valueESB_INSt8__detail14_Node_iteratorISD_Lb0ELb1EEEbEE4typeESK_(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 8 dereferenceable(144)) #3 align 2

declare void @_ZN17TransactionHelper7getTxIdEP11Transaction(ptr dead_on_unwind writable sret(%"class.std::vector") align 8, ptr noundef) #2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local { ptr, i8 } @_ZNSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE4TxInSt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_S6_EEE6insertISB_IS5_S6_EEENSt9enable_ifIXsr16is_constructibleISD_OT_EE5valueESB_INSt8__detail14_Node_iteratorISD_Lb0ELb1EEEbEE4typeESK_(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 8 dereferenceable(144)) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZSt9make_pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEER4TxInESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS9_INSA_IT0_E4typeEE6__typeEEOSB_OSG_(ptr dead_on_unwind noalias writable sret(%"struct.std::pair.51") align 8, ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(112)) #3

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

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

declare void @_ZN7Network20broadCastTransactionE21TransactionForNetwork(ptr noundef) #2

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

declare void @_ZNSt6thread6detachEv(ptr noundef nonnull align 8 dereferenceable(8)) #2

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"bool", !7, i64 0}
!11 = !{i8 0, i8 2}
!12 = !{}


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

%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::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.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.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.Log = type { i8, i8, ptr, %"class.std::basic_filebuf" }
%"class.std::basic_filebuf" = type { %"class.std::basic_streambuf", %union.pthread_mutex_t, %"class.std::__basic_file", i32, %struct.__mbstate_t, %struct.__mbstate_t, %struct.__mbstate_t, ptr, i64, i8, i8, i8, i8, ptr, ptr, i8, ptr, ptr, i64, ptr, ptr }
%"class.std::basic_streambuf" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, %"class.std::locale" }
%"class.std::locale" = type { ptr }
%"class.std::__basic_file" = type <{ ptr, i8, [7 x i8] }>
%struct.__mbstate_t = type { i32, %union.anon.38 }
%union.anon.38 = type { i32 }
%"class.std::allocator" = type { i8 }
%"struct.std::pair.46" = type { %"class.std::__cxx11::basic_string", %class.TransactionForNetwork }
%class.TransactionForNetwork = type { %class.Transaction, i8, %"class.std::vector", i64, i64 }
%"struct.std::pair.51" = type { %"class.std::__cxx11::basic_string", %class.TxIn }
%class.TxIn = type { %struct.UAmount, %"class.std::vector", i32, %struct.UScript }
%struct.UAmount = type { %"class.std::map" }
%"class.std::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<unsigned char, std::pair<const unsigned char, unsigned long>, std::_Select1st<std::pair<const unsigned char, unsigned long>>, std::less<unsigned char>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<unsigned char, std::pair<const unsigned char, unsigned long>, std::_Select1st<std::pair<const unsigned char, unsigned long>>, std::less<unsigned char>>::_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.UScript = type { i8, %"class.std::vector" }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"class.std::thread" = type { %"class.std::thread::id" }
%"class.std::thread::id" = type { i64 }

@_ZN6TxPool19transactionListLockE = external dso_local global { %union.pthread_mutex_t }, align 8
@_ZN6TxPool12txInputsLockE = external dso_local global { %union.pthread_mutex_t }, align 8
@.str.7 = external hidden unnamed_addr constant [59 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [94 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [71 x i8], align 1

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt5mutex4lockEv(ptr noundef nonnull align 8 dereferenceable(40)) local_unnamed_addr #3 align 2

declare void @_ZN7Hexdump17vectorToHexStringB5cxx11ESt6vectorIhSaIhEE(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt5mutex6unlockEv(ptr noundef nonnull align 8 dereferenceable(40)) local_unnamed_addr #3 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN21TransactionForNetwork14getTransactionEv(ptr dead_on_unwind noalias writable sret(%class.Transaction) align 8, ptr noundef nonnull align 8 dereferenceable(112)) local_unnamed_addr #3 align 2

declare noundef zeroext i1 @_ZN17TransactionHelper18isRegisterPassportEP11Transaction(ptr noundef) local_unnamed_addr #2

declare noundef ptr @_ZN10X509Helper12vectorToCertESt6vectorIhSaIhEE(ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN21TransactionForNetwork20getAdditionalPayloadEv(ptr dead_on_unwind noalias writable sret(%"class.std::vector") align 8, ptr noundef nonnull align 8 dereferenceable(112)) local_unnamed_addr #3 align 2

declare void @_ZN17TransactionHelper15getPassportHashEP11TransactionP7x509_st(ptr dead_on_unwind writable sret(%"class.std::vector") align 8, ptr noundef, ptr noundef) local_unnamed_addr #2

declare void @X509_free(ptr noundef) local_unnamed_addr #2

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

declare void @_ZN11Transaction8getTxInsEv(ptr dead_on_unwind writable sret(%"class.std::vector.26") align 8, ptr noundef nonnull align 8 dereferenceable(60)) local_unnamed_addr #2

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

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

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

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

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

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

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

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

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

declare void @_ZN3LogC1Eh(ptr noundef nonnull align 8 dereferenceable(256), i8 noundef zeroext) unnamed_addr #2

declare noundef nonnull align 8 dereferenceable(256) ptr @_ZN3LoglsEPKc(ptr noundef nonnull align 8 dereferenceable(256), ptr noundef) local_unnamed_addr #2

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN6TxPool17appendTransactionE21TransactionForNetworkbP16TransactionError(ptr noundef nonnull align 8 dereferenceable(112) %0, ptr noundef %1, i1 noundef zeroext %2, ptr noundef %3) local_unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca %class.Transaction, align 8
  %6 = alloca %class.Log, align 8
  %7 = alloca %class.Log, align 8
  %8 = alloca %"class.std::__cxx11::basic_string", align 8
  %9 = alloca %"class.std::allocator", align 1
  %10 = alloca %class.Transaction, align 8
  %11 = alloca %"struct.std::pair.46", align 8
  %12 = alloca %"class.std::__cxx11::basic_string", align 8
  %13 = alloca %"class.std::vector", align 8
  %14 = alloca %"class.std::vector", align 8
  %15 = alloca %"class.std::vector", align 8
  %16 = alloca %"struct.std::pair.51", align 8
  %17 = alloca %"class.std::__cxx11::basic_string", align 8
  %18 = alloca %"class.std::vector", align 8
  %19 = alloca %"class.std::vector.26", align 8
  %20 = alloca %"class.std::vector.26", align 8
  %21 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %22 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %23 = alloca %class.TxIn, align 8
  %24 = alloca %"struct.std::pair.51", align 8
  %25 = alloca %"class.std::__cxx11::basic_string", align 8
  %26 = alloca %"class.std::vector", align 8
  %27 = alloca %"class.std::thread", align 8
  %28 = alloca ptr, align 8
  %29 = tail call noundef nonnull align 8 dereferenceable(32) ptr @_ZN5Chain8InstanceEv()
  %30 = tail call noundef i64 @_ZN4Time19getCurrentTimestampEv()
  tail call void @_ZN21TransactionForNetwork20setTimestampReceivedEm(ptr noundef nonnull align 8 dereferenceable(112) %1, i64 noundef %30)
  %31 = tail call noundef i64 @_ZN4Time19getCurrentTimestampEv()
  tail call void @_ZN21TransactionForNetwork27setTimestampLastBroadcastedEm(ptr noundef nonnull align 8 dereferenceable(112) %1, i64 noundef %31)
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %5) #7
  call void @_ZN21TransactionForNetwork14getTransactionEv(ptr dead_on_unwind nonnull writable sret(%class.Transaction) align 8 %5, ptr noundef nonnull align 8 dereferenceable(112) %1)
  %32 = invoke noundef zeroext i1 @_ZN17TransactionVerify15verifyNetworkTxEP21TransactionForNetworkP16TransactionError(ptr noundef nonnull %1, ptr noundef %3)
          to label %33 unwind label %38

33:                                               ; preds = %4
  br i1 %32, label %45, label %34

34:                                               ; preds = %33
  call void @llvm.lifetime.start.p0(i64 256, ptr nonnull %6) #7
  invoke void @_ZN3LogC1Eh(ptr noundef nonnull align 8 dereferenceable(256) %6, i8 noundef zeroext 3)
          to label %35 unwind label %40

35:                                               ; preds = %34
  %36 = invoke noundef nonnull align 8 dereferenceable(256) ptr @_ZN3LoglsEPKc(ptr noundef nonnull align 8 dereferenceable(256) %6, ptr noundef nonnull @.str.7)
          to label %37 unwind label %42

37:                                               ; preds = %35
  call void @_ZN3LogD1Ev(ptr noundef nonnull align 8 dereferenceable(256) %6) #7
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %6) #7
  br label %180

38:                                               ; preds = %78, %77, %71, %69, %67, %65, %45, %4
  %39 = landingpad { ptr, i32 }
          cleanup
  br label %181

40:                                               ; preds = %34
  %41 = landingpad { ptr, i32 }
          cleanup
  br label %44

42:                                               ; preds = %35
  %43 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3LogD1Ev(ptr noundef nonnull align 8 dereferenceable(256) %6) #7
  br label %44

44:                                               ; preds = %42, %40
  %.pn = phi { ptr, i32 } [ %43, %42 ], [ %41, %40 ]
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %6) #7
  br label %181

45:                                               ; preds = %33
  %46 = invoke noundef zeroext i1 @_ZN6TxPool16isTxInputPresentEP21TransactionForNetwork(ptr noundef nonnull align 8 dereferenceable(112) %0, ptr noundef nonnull %1)
          to label %47 unwind label %38

47:                                               ; preds = %45
  br i1 %46, label %48, label %65

48:                                               ; preds = %47
  call void @llvm.lifetime.start.p0(i64 256, ptr nonnull %7) #7
  invoke void @_ZN3LogC1Eh(ptr noundef nonnull align 8 dereferenceable(256) %7, i8 noundef zeroext 2)
          to label %49 unwind label %55

49:                                               ; preds = %48
  %50 = invoke noundef nonnull align 8 dereferenceable(256) ptr @_ZN3LoglsEPKc(ptr noundef nonnull align 8 dereferenceable(256) %7, ptr noundef nonnull @.str.8)
          to label %51 unwind label %57

51:                                               ; preds = %49
  call void @_ZN3LogD1Ev(ptr noundef nonnull align 8 dereferenceable(256) %7) #7
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %7) #7
  %.not = icmp eq ptr %3, null
  br i1 %.not, label %180, label %52

52:                                               ; preds = %51
  call void @_ZN16TransactionError12setErrorCodeEt(ptr noundef nonnull align 8 dereferenceable(136) %3, i16 noundef zeroext 1)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %8) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %9) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %8, ptr noundef nonnull @.str.9, ptr noundef nonnull align 1 dereferenceable(1) %9)
          to label %53 unwind label %60

53:                                               ; preds = %52
  invoke void @_ZN16TransactionError15setErrorMessageERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(136) %3, ptr noundef nonnull align 8 dereferenceable(32) %8)
          to label %54 unwind label %62

54:                                               ; preds = %53
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %9) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #7
  br label %180

55:                                               ; preds = %48
  %56 = landingpad { ptr, i32 }
          cleanup
  br label %59

57:                                               ; preds = %49
  %58 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3LogD1Ev(ptr noundef nonnull align 8 dereferenceable(256) %7) #7
  br label %59

59:                                               ; preds = %57, %55
  %.pn63 = phi { ptr, i32 } [ %58, %57 ], [ %56, %55 ]
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %7) #7
  br label %181

60:                                               ; preds = %52
  %61 = landingpad { ptr, i32 }
          cleanup
  br label %64

62:                                               ; preds = %53
  %63 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #7
  br label %64

64:                                               ; preds = %62, %60
  %.pn65 = phi { ptr, i32 } [ %63, %62 ], [ %61, %60 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %9) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #7
  br label %181

65:                                               ; preds = %47
  %66 = invoke noundef i64 @_ZN4Time19getCurrentTimestampEv()
          to label %67 unwind label %38

67:                                               ; preds = %65
  %68 = trunc i64 %66 to i32
  invoke void @_ZN11Transaction12setTimestampEj(ptr noundef nonnull align 8 dereferenceable(60) %5, i32 noundef %68)
          to label %69 unwind label %38

69:                                               ; preds = %67
  invoke void @_ZN11TransactionC2ERKS_(ptr noundef nonnull align 8 dereferenceable(60) %10, ptr noundef nonnull align 8 dereferenceable(60) %5)
          to label %70 unwind label %38

70:                                               ; preds = %69
  invoke void @_ZN21TransactionForNetwork14setTransactionE11Transaction(ptr noundef nonnull align 8 dereferenceable(112) %1, ptr noundef nonnull %10)
          to label %71 unwind label %97

71:                                               ; preds = %70
  call void @_ZN11TransactionD2Ev(ptr noundef nonnull align 8 dereferenceable(60) %10) #7
  invoke void @_ZNSt5mutex4lockEv(ptr noundef nonnull align 8 dereferenceable(40) @_ZN6TxPool19transactionListLockE)
          to label %72 unwind label %38

72:                                               ; preds = %71
  call void @llvm.lifetime.start.p0(i64 144, ptr nonnull %11) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %12) #7
  invoke void @_ZN17TransactionHelper7getTxIdEP11Transaction(ptr dead_on_unwind nonnull writable sret(%"class.std::vector") align 8 %13, ptr noundef nonnull %5)
          to label %73 unwind label %99

73:                                               ; preds = %72
  invoke void @_ZN7Hexdump17vectorToHexStringB5cxx11ESt6vectorIhSaIhEE(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %12, ptr noundef nonnull %13)
          to label %74 unwind label %101

74:                                               ; preds = %73
  invoke void @_ZNSt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE21TransactionForNetworkEC2IS5_RS6_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairISB_SC_EEEbE4typeELb1EEEOSB_OSC_(ptr noundef nonnull align 8 dereferenceable(144) %11, ptr noundef nonnull align 8 dereferenceable(32) %12, ptr noundef nonnull align 8 dereferenceable(112) %1)
          to label %75 unwind label %103

75:                                               ; preds = %74
  %76 = invoke { ptr, i8 } @_ZNSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE21TransactionForNetworkSt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_S6_EEE6insertISB_IS5_S6_EEENSt9enable_ifIXsr16is_constructibleISD_OT_EE5valueESB_INSt8__detail14_Node_iteratorISD_Lb0ELb1EEEbEE4typeESK_(ptr noundef nonnull align 8 dereferenceable(56) %0, ptr noundef nonnull align 8 dereferenceable(144) %11)
          to label %77 unwind label %105

77:                                               ; preds = %75
  call void @_ZNSt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE21TransactionForNetworkED2Ev(ptr noundef nonnull align 8 dereferenceable(144) %11) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #7
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %12) #7
  call void @llvm.lifetime.end.p0(i64 144, ptr nonnull %11) #7
  invoke void @_ZNSt5mutex6unlockEv(ptr noundef nonnull align 8 dereferenceable(40) @_ZN6TxPool19transactionListLockE)
          to label %78 unwind label %38

78:                                               ; preds = %77
  %79 = invoke noundef zeroext i1 @_ZN17TransactionHelper18isRegisterPassportEP11Transaction(ptr noundef nonnull %5)
          to label %80 unwind label %38

80:                                               ; preds = %78
  br i1 %79, label %81, label %134

81:                                               ; preds = %80
  invoke void @_ZN21TransactionForNetwork20getAdditionalPayloadEv(ptr dead_on_unwind nonnull writable sret(%"class.std::vector") align 8 %14, ptr noundef nonnull align 8 dereferenceable(112) %1)
          to label %82 unwind label %110

82:                                               ; preds = %81
  %83 = invoke noundef ptr @_ZN10X509Helper12vectorToCertESt6vectorIhSaIhEE(ptr noundef nonnull %14)
          to label %84 unwind label %112

84:                                               ; preds = %82
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %15) #7
  invoke void @_ZN17TransactionHelper15getPassportHashEP11TransactionP7x509_st(ptr dead_on_unwind nonnull writable sret(%"class.std::vector") align 8 %15, ptr noundef nonnull %5, ptr noundef %83)
          to label %85 unwind label %114

85:                                               ; preds = %84
  invoke void @X509_free(ptr noundef %83)
          to label %86 unwind label %116

86:                                               ; preds = %85
  invoke void @_ZNSt5mutex4lockEv(ptr noundef nonnull align 8 dereferenceable(40) @_ZN6TxPool12txInputsLockE)
          to label %87 unwind label %116

87:                                               ; preds = %86
  %88 = getelementptr inbounds i8, ptr %0, i64 56
  call void @llvm.lifetime.start.p0(i64 144, ptr nonnull %16) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %17) #7
  invoke void @_ZNSt6vectorIhSaIhEEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %18, ptr noundef nonnull align 8 dereferenceable(24) %15)
          to label %89 unwind label %118

89:                                               ; preds = %87
  invoke void @_ZN7Hexdump17vectorToHexStringB5cxx11ESt6vectorIhSaIhEE(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %17, ptr noundef nonnull %18)
          to label %90 unwind label %120

90:                                               ; preds = %89
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %19) #7
  invoke void @_ZN11Transaction8getTxInsEv(ptr dead_on_unwind nonnull writable sret(%"class.std::vector.26") align 8 %19, ptr noundef nonnull align 8 dereferenceable(60) %5)
          to label %91 unwind label %122

91:                                               ; preds = %90
  %92 = call noundef nonnull align 8 dereferenceable(112) ptr @_ZNSt6vectorI4TxInSaIS0_EE5frontEv(ptr noundef nonnull align 8 dereferenceable(24) %19) #7
  invoke void @_ZSt9make_pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEER4TxInESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS9_INSA_IT0_E4typeEE6__typeEEOSB_OSG_(ptr dead_on_unwind nonnull writable sret(%"struct.std::pair.51") align 8 %16, ptr noundef nonnull align 8 dereferenceable(32) %17, ptr noundef nonnull align 8 dereferenceable(112) %92)
          to label %93 unwind label %124

93:                                               ; preds = %91
  %94 = invoke { ptr, i8 } @_ZNSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE4TxInSt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_S6_EEE6insertISB_IS5_S6_EEENSt9enable_ifIXsr16is_constructibleISD_OT_EE5valueESB_INSt8__detail14_Node_iteratorISD_Lb0ELb1EEEbEE4typeESK_(ptr noundef nonnull align 8 dereferenceable(56) %88, ptr noundef nonnull align 8 dereferenceable(144) %16)
          to label %95 unwind label %126

95:                                               ; preds = %93
  call void @_ZNSt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE4TxInED2Ev(ptr noundef nonnull align 8 dereferenceable(144) %16) #7
  call void @_ZNSt6vectorI4TxInSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %19) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %19) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #7
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %18) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %17) #7
  call void @llvm.lifetime.end.p0(i64 144, ptr nonnull %16) #7
  invoke void @_ZNSt5mutex6unlockEv(ptr noundef nonnull align 8 dereferenceable(40) @_ZN6TxPool12txInputsLockE)
          to label %96 unwind label %116

96:                                               ; preds = %95
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %15) #7
  br label %171

97:                                               ; preds = %70
  %98 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN11TransactionD2Ev(ptr noundef nonnull align 8 dereferenceable(60) %10) #7
  br label %181

99:                                               ; preds = %72
  %100 = landingpad { ptr, i32 }
          cleanup
  br label %109

101:                                              ; preds = %73
  %102 = landingpad { ptr, i32 }
          cleanup
  br label %108

103:                                              ; preds = %74
  %104 = landingpad { ptr, i32 }
          cleanup
  br label %107

105:                                              ; preds = %75
  %106 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE21TransactionForNetworkED2Ev(ptr noundef nonnull align 8 dereferenceable(144) %11) #7
  br label %107

107:                                              ; preds = %105, %103
  %.pn40 = phi { ptr, i32 } [ %106, %105 ], [ %104, %103 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #7
  br label %108

108:                                              ; preds = %107, %101
  %.pn40.pn = phi { ptr, i32 } [ %.pn40, %107 ], [ %102, %101 ]
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #7
  br label %109

109:                                              ; preds = %108, %99
  %.pn40.pn.pn = phi { ptr, i32 } [ %.pn40.pn, %108 ], [ %100, %99 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %12) #7
  call void @llvm.lifetime.end.p0(i64 144, ptr nonnull %11) #7
  br label %181

110:                                              ; preds = %81
  %111 = landingpad { ptr, i32 }
          cleanup
  br label %181

112:                                              ; preds = %82
  %113 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #7
  br label %181

114:                                              ; preds = %84
  %115 = landingpad { ptr, i32 }
          cleanup
  br label %133

116:                                              ; preds = %95, %86, %85
  %117 = landingpad { ptr, i32 }
          cleanup
  br label %132

118:                                              ; preds = %87
  %119 = landingpad { ptr, i32 }
          cleanup
  br label %131

120:                                              ; preds = %89
  %121 = landingpad { ptr, i32 }
          cleanup
  br label %130

122:                                              ; preds = %90
  %123 = landingpad { ptr, i32 }
          cleanup
  br label %129

124:                                              ; preds = %91
  %125 = landingpad { ptr, i32 }
          cleanup
  br label %128

126:                                              ; preds = %93
  %127 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE4TxInED2Ev(ptr noundef nonnull align 8 dereferenceable(144) %16) #7
  br label %128

128:                                              ; preds = %126, %124
  %.pn52 = phi { ptr, i32 } [ %127, %126 ], [ %125, %124 ]
  call void @_ZNSt6vectorI4TxInSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %19) #7
  br label %129

129:                                              ; preds = %128, %122
  %.pn52.pn = phi { ptr, i32 } [ %.pn52, %128 ], [ %123, %122 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %19) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #7
  br label %130

130:                                              ; preds = %129, %120
  %.pn52.pn.pn = phi { ptr, i32 } [ %.pn52.pn, %129 ], [ %121, %120 ]
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %18) #7
  br label %131

131:                                              ; preds = %130, %118
  %.pn52.pn.pn.pn = phi { ptr, i32 } [ %.pn52.pn.pn, %130 ], [ %119, %118 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %17) #7
  call void @llvm.lifetime.end.p0(i64 144, ptr nonnull %16) #7
  br label %132

132:                                              ; preds = %131, %116
  %.pn57 = phi { ptr, i32 } [ %117, %116 ], [ %.pn52.pn.pn.pn, %131 ]
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #7
  br label %133

133:                                              ; preds = %132, %114
  %.pn57.pn = phi { ptr, i32 } [ %.pn57, %132 ], [ %115, %114 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %15) #7
  br label %181

134:                                              ; preds = %80
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %20) #7
  invoke void @_ZN11Transaction8getTxInsEv(ptr dead_on_unwind nonnull writable sret(%"class.std::vector.26") align 8 %20, ptr noundef nonnull align 8 dereferenceable(60) %5)
          to label %135 unwind label %140

135:                                              ; preds = %134
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %21) #7
  %136 = call ptr @_ZNSt6vectorI4TxInSaIS0_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %20) #7
  store ptr %136, ptr %21, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %22) #7
  %137 = call ptr @_ZNSt6vectorI4TxInSaIS0_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %20) #7
  store ptr %137, ptr %22, align 8
  %138 = call noundef zeroext i1 @_ZN9__gnu_cxxneIP4TxInSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESB_(ptr noundef nonnull align 8 dereferenceable(8) %21, ptr noundef nonnull align 8 dereferenceable(8) %22) #7
  br i1 %138, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %135
  %139 = getelementptr inbounds i8, ptr %0, i64 56
  br label %142

._crit_edge:                                      ; preds = %151, %135
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #7
  call void @_ZNSt6vectorI4TxInSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %20) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %20) #7
  br label %171

140:                                              ; preds = %134
  %141 = landingpad { ptr, i32 }
          cleanup
  br label %181

142:                                              ; preds = %.lr.ph, %151
  call void @llvm.lifetime.start.p0(i64 112, ptr nonnull %23) #7
  %143 = call noundef nonnull align 8 dereferenceable(112) ptr @_ZNK9__gnu_cxx17__normal_iteratorIP4TxInSt6vectorIS1_SaIS1_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %21) #7
  invoke void @_ZN4TxInC2ERKS_(ptr noundef nonnull align 8 dereferenceable(112) %23, ptr noundef nonnull align 8 dereferenceable(112) %143)
          to label %144 unwind label %154

144:                                              ; preds = %142
  invoke void @_ZNSt5mutex4lockEv(ptr noundef nonnull align 8 dereferenceable(40) @_ZN6TxPool12txInputsLockE)
          to label %145 unwind label %156

145:                                              ; preds = %144
  call void @llvm.lifetime.start.p0(i64 144, ptr nonnull %24) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %25) #7
  invoke void @_ZN4TxIn12getInAddressEv(ptr dead_on_unwind nonnull writable sret(%"class.std::vector") align 8 %26, ptr noundef nonnull align 8 dereferenceable(112) %23)
          to label %146 unwind label %158

146:                                              ; preds = %145
  invoke void @_ZN7Hexdump17vectorToHexStringB5cxx11ESt6vectorIhSaIhEE(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %25, ptr noundef nonnull %26)
          to label %147 unwind label %160

147:                                              ; preds = %146
  invoke void @_ZSt9make_pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEER4TxInESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS9_INSA_IT0_E4typeEE6__typeEEOSB_OSG_(ptr dead_on_unwind nonnull writable sret(%"struct.std::pair.51") align 8 %24, ptr noundef nonnull align 8 dereferenceable(32) %25, ptr noundef nonnull align 8 dereferenceable(112) %23)
          to label %148 unwind label %162

148:                                              ; preds = %147
  %149 = invoke { ptr, i8 } @_ZNSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE4TxInSt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_S6_EEE6insertISB_IS5_S6_EEENSt9enable_ifIXsr16is_constructibleISD_OT_EE5valueESB_INSt8__detail14_Node_iteratorISD_Lb0ELb1EEEbEE4typeESK_(ptr noundef nonnull align 8 dereferenceable(56) %139, ptr noundef nonnull align 8 dereferenceable(144) %24)
          to label %150 unwind label %164

150:                                              ; preds = %148
  call void @_ZNSt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE4TxInED2Ev(ptr noundef nonnull align 8 dereferenceable(144) %24) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %25) #7
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %26) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %25) #7
  call void @llvm.lifetime.end.p0(i64 144, ptr nonnull %24) #7
  invoke void @_ZNSt5mutex6unlockEv(ptr noundef nonnull align 8 dereferenceable(40) @_ZN6TxPool12txInputsLockE)
          to label %151 unwind label %156

151:                                              ; preds = %150
  call void @_ZN4TxInD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %23) #7
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %23) #7
  %152 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIP4TxInSt6vectorIS1_SaIS1_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %21) #7
  %153 = call noundef zeroext i1 @_ZN9__gnu_cxxneIP4TxInSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESB_(ptr noundef nonnull align 8 dereferenceable(8) %21, ptr noundef nonnull align 8 dereferenceable(8) %22) #7
  br i1 %153, label %142, label %._crit_edge

154:                                              ; preds = %142
  %155 = landingpad { ptr, i32 }
          cleanup
  br label %170

156:                                              ; preds = %150, %144
  %157 = landingpad { ptr, i32 }
          cleanup
  br label %169

158:                                              ; preds = %145
  %159 = landingpad { ptr, i32 }
          cleanup
  br label %168

160:                                              ; preds = %146
  %161 = landingpad { ptr, i32 }
          cleanup
  br label %167

162:                                              ; preds = %147
  %163 = landingpad { ptr, i32 }
          cleanup
  br label %166

164:                                              ; preds = %148
  %165 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE4TxInED2Ev(ptr noundef nonnull align 8 dereferenceable(144) %24) #7
  br label %166

166:                                              ; preds = %164, %162
  %.pn44 = phi { ptr, i32 } [ %165, %164 ], [ %163, %162 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %25) #7
  br label %167

167:                                              ; preds = %166, %160
  %.pn44.pn = phi { ptr, i32 } [ %.pn44, %166 ], [ %161, %160 ]
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %26) #7
  br label %168

168:                                              ; preds = %167, %158
  %.pn44.pn.pn = phi { ptr, i32 } [ %.pn44.pn, %167 ], [ %159, %158 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %25) #7
  call void @llvm.lifetime.end.p0(i64 144, ptr nonnull %24) #7
  br label %169

169:                                              ; preds = %168, %156
  %.pn48 = phi { ptr, i32 } [ %157, %156 ], [ %.pn44.pn.pn, %168 ]
  call void @_ZN4TxInD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %23) #7
  br label %170

170:                                              ; preds = %169, %154
  %.pn48.pn = phi { ptr, i32 } [ %.pn48, %169 ], [ %155, %154 ]
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %23) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #7
  call void @_ZNSt6vectorI4TxInSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %20) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %20) #7
  br label %181

171:                                              ; preds = %._crit_edge, %96
  br i1 %2, label %172, label %180

172:                                              ; preds = %171
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %27) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %28) #7
  store ptr @_ZN7Network20broadCastTransactionE21TransactionForNetwork, ptr %28, align 8, !tbaa !5
  invoke void @_ZNSt6threadC2IPFv21TransactionForNetworkEJRS1_EvEEOT_DpOT0_(ptr noundef nonnull align 8 dereferenceable(8) %27, ptr noundef nonnull align 8 dereferenceable(8) %28, ptr noundef nonnull align 8 dereferenceable(112) %1)
          to label %173 unwind label %175

173:                                              ; preds = %172
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %28) #7
  invoke void @_ZNSt6thread6detachEv(ptr noundef nonnull align 8 dereferenceable(8) %27)
          to label %174 unwind label %177

174:                                              ; preds = %173
  call void @_ZNSt6threadD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %27) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %27) #7
  br label %180

175:                                              ; preds = %172
  %176 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %28) #7
  br label %179

177:                                              ; preds = %173
  %178 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6threadD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %27) #7
  br label %179

179:                                              ; preds = %177, %175
  %.pn61 = phi { ptr, i32 } [ %178, %177 ], [ %176, %175 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %27) #7
  br label %181

180:                                              ; preds = %171, %174, %51, %54, %37
  %.0 = phi i1 [ false, %37 ], [ false, %54 ], [ false, %51 ], [ true, %174 ], [ true, %171 ]
  call void @_ZN11TransactionD2Ev(ptr noundef nonnull align 8 dereferenceable(60) %5) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %5) #7
  ret i1 %.0

181:                                              ; preds = %140, %170, %110, %112, %133, %179, %109, %97, %64, %59, %44, %38
  %.pn65.pn = phi { ptr, i32 } [ %.pn65, %64 ], [ %.pn63, %59 ], [ %.pn61, %179 ], [ %39, %38 ], [ %.pn40.pn.pn, %109 ], [ %98, %97 ], [ %.pn, %44 ], [ %.pn57.pn, %133 ], [ %113, %112 ], [ %111, %110 ], [ %.pn48.pn, %170 ], [ %141, %140 ]
  call void @_ZN11TransactionD2Ev(ptr noundef nonnull align 8 dereferenceable(60) %5) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %5) #7
  resume { ptr, i32 } %.pn65.pn
}

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZN4Time19getCurrentTimestampEv() local_unnamed_addr #3 align 2

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

declare noundef zeroext i1 @_ZN17TransactionVerify15verifyNetworkTxEP21TransactionForNetworkP16TransactionError(ptr noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN16TransactionError12setErrorCodeEt(ptr noundef nonnull align 8 dereferenceable(136), i16 noundef zeroext) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN16TransactionError15setErrorMessageERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(136), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #3 align 2

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

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

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

declare void @_ZN11Transaction12setTimestampEj(ptr noundef nonnull align 8 dereferenceable(60), i32 noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN21TransactionForNetwork14setTransactionE11Transaction(ptr noundef nonnull align 8 dereferenceable(112), ptr noundef) local_unnamed_addr #3 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 #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local { ptr, i8 } @_ZNSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE21TransactionForNetworkSt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_S6_EEE6insertISB_IS5_S6_EEENSt9enable_ifIXsr16is_constructibleISD_OT_EE5valueESB_INSt8__detail14_Node_iteratorISD_Lb0ELb1EEEbEE4typeESK_(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 8 dereferenceable(144)) local_unnamed_addr #3 align 2

declare void @_ZN17TransactionHelper7getTxIdEP11Transaction(ptr dead_on_unwind writable sret(%"class.std::vector") align 8, ptr noundef) local_unnamed_addr #2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local { ptr, i8 } @_ZNSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE4TxInSt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_S6_EEE6insertISB_IS5_S6_EEENSt9enable_ifIXsr16is_constructibleISD_OT_EE5valueESB_INSt8__detail14_Node_iteratorISD_Lb0ELb1EEEbEE4typeESK_(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 8 dereferenceable(144)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZSt9make_pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEER4TxInESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS9_INSA_IT0_E4typeEE6__typeEEOSB_OSG_(ptr dead_on_unwind noalias writable sret(%"struct.std::pair.51") align 8, ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(112)) local_unnamed_addr #3

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

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

declare void @_ZN7Network20broadCastTransactionE21TransactionForNetwork(ptr noundef) #2

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

declare void @_ZNSt6thread6detachEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #2

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

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

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


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