; LLVM IR from microsoft/Multiverso :: src/zoo.ll (ZN10multiverso3Zoo12RegisterNodeEv)

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

%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::unique_ptr.74" = type { %"struct.std::__uniq_ptr_data.75" }
%"struct.std::__uniq_ptr_data.75" = type { %"class.std::__uniq_ptr_impl.76" }
%"class.std::__uniq_ptr_impl.76" = type { %"class.std::tuple.77" }
%"class.std::tuple.77" = type { %"struct.std::_Tuple_impl.78" }
%"struct.std::_Tuple_impl.78" = type { %"struct.std::_Head_base.81" }
%"struct.std::_Head_base.81" = type { ptr }
%"class.multiverso::Blob" = type { ptr, i64 }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"struct.multiverso::Node" = type { i32, i32, i32, i32 }
%"class.multiverso::Zoo" = type { %"class.std::unordered_map", %"class.std::unique_ptr", ptr, %"class.std::vector", %"class.std::vector.10", %"class.std::vector.10", i32, i32 }
%"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::unique_ptr" = type { %"struct.std::__uniq_ptr_data" }
%"struct.std::__uniq_ptr_data" = type { %"class.std::__uniq_ptr_impl" }
%"class.std::__uniq_ptr_impl" = type { %"class.std::tuple" }
%"class.std::tuple" = type { %"struct.std::_Tuple_impl" }
%"struct.std::_Tuple_impl" = type { %"struct.std::_Head_base.6" }
%"struct.std::_Head_base.6" = type { ptr }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<multiverso::Node, std::allocator<multiverso::Node>>::_Vector_impl" }
%"struct.std::_Vector_base<multiverso::Node, std::allocator<multiverso::Node>>::_Vector_impl" = type { %"struct.std::_Vector_base<multiverso::Node, std::allocator<multiverso::Node>>::_Vector_impl_data" }
%"struct.std::_Vector_base<multiverso::Node, std::allocator<multiverso::Node>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.10" = type { %"struct.std::_Vector_base.11" }
%"struct.std::_Vector_base.11" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }

@_ZN10multiverso5actorL13kCommunicatorB5cxx11E = external hidden global %"class.std::__cxx11::basic_string", align 8
@.str.22 = external hidden unnamed_addr constant [66 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [79 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [56 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [74 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [22 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

declare i32 @__gxx_personality_v0(...)

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

declare void @_ZN10multiverso3Log5DebugEPKcz(ptr noundef, ...) #1

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZNK10multiverso3Zoo4rankEv(ptr noundef nonnull align 8 dereferenceable(152)) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZNK10multiverso3Zoo4sizeEv(ptr noundef nonnull align 8 dereferenceable(152)) #2 align 2

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

declare void @_ZN10multiverso3Log5FatalEPKcz(ptr noundef, ...) #1

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

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

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) #4

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN10multiverso3Zoo12RegisterNodeEv(ptr noundef nonnull align 8 dereferenceable(152) %0) #2 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca ptr, align 8
  %3 = alloca %"class.std::unique_ptr.74", align 8
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca %"class.multiverso::Blob", align 8
  %7 = alloca %"class.multiverso::Blob", align 8
  %8 = alloca %"class.multiverso::Blob", align 8
  %9 = alloca ptr, align 8
  %10 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %11 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %12 = alloca %"struct.multiverso::Node", align 4
  store ptr %0, ptr %2, align 8, !tbaa !5
  %13 = load ptr, ptr %2, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #10
  %14 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 56) #11
  call void @llvm.memset.p0.i64(ptr align 16 %14, i8 0, i64 56, i1 false)
  call void @_ZN10multiverso7MessageC2Ev(ptr noundef nonnull align 8 dereferenceable(56) %14) #10
  call void @_ZNSt10unique_ptrIN10multiverso7MessageESt14default_deleteIS1_EEC2IS3_vEEPS1_(ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef %14) #10
  %15 = call noundef ptr @_ZNKSt10unique_ptrIN10multiverso7MessageESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %3) #10
  %16 = invoke noundef i32 @_ZNK10multiverso3Zoo4rankEv(ptr noundef nonnull align 8 dereferenceable(152) %13)
          to label %17 unwind label %42

17:                                               ; preds = %1
  invoke void @_ZN10multiverso7Message7set_srcEi(ptr noundef nonnull align 8 dereferenceable(56) %15, i32 noundef %16)
          to label %18 unwind label %42

18:                                               ; preds = %17
  %19 = call noundef ptr @_ZNKSt10unique_ptrIN10multiverso7MessageESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %3) #10
  invoke void @_ZN10multiverso7Message7set_dstEi(ptr noundef nonnull align 8 dereferenceable(56) %19, i32 noundef 0)
          to label %20 unwind label %42

20:                                               ; preds = %18
  %21 = call noundef ptr @_ZNKSt10unique_ptrIN10multiverso7MessageESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %3) #10
  invoke void @_ZN10multiverso7Message8set_typeENS_7MsgTypeE(ptr noundef nonnull align 8 dereferenceable(56) %21, i32 noundef 34)
          to label %22 unwind label %42

22:                                               ; preds = %20
  %23 = call noundef ptr @_ZNKSt10unique_ptrIN10multiverso7MessageESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %3) #10
  call void @llvm.lifetime.start.p0(i64 16, ptr %6) #10
  %24 = getelementptr inbounds %"class.multiverso::Zoo", ptr %13, i32 0, i32 3
  %25 = invoke noundef i32 @_ZNK10multiverso3Zoo4rankEv(ptr noundef nonnull align 8 dereferenceable(152) %13)
          to label %26 unwind label %46

26:                                               ; preds = %22
  %27 = sext i32 %25 to i64
  %28 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorIN10multiverso4NodeESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %24, i64 noundef %27) #10
  invoke void @_ZN10multiverso4BlobC1EPvm(ptr noundef nonnull align 8 dereferenceable(16) %6, ptr noundef %28, i64 noundef 16)
          to label %29 unwind label %46

29:                                               ; preds = %26
  invoke void @_ZN10multiverso7Message4PushERKNS_4BlobE(ptr noundef nonnull align 8 dereferenceable(56) %23, ptr noundef nonnull align 8 dereferenceable(16) %6)
          to label %30 unwind label %50

30:                                               ; preds = %29
  call void @_ZN10multiverso4BlobD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %6) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr %6) #10
  invoke void @_ZN10multiverso3Zoo6SendToERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERSt10unique_ptrINS_7MessageESt14default_deleteISA_EE(ptr noundef nonnull align 8 dereferenceable(152) %13, ptr noundef nonnull align 8 dereferenceable(32) @_ZN10multiverso5actorL13kCommunicatorB5cxx11E, ptr noundef nonnull align 8 dereferenceable(8) %3)
          to label %31 unwind label %42

31:                                               ; preds = %30
  %32 = getelementptr inbounds %"class.multiverso::Zoo", ptr %13, i32 0, i32 1
  %33 = call noundef ptr @_ZNKSt10unique_ptrIN10multiverso7MtQueueIS_INS0_7MessageESt14default_deleteIS2_EEEES3_IS6_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %32) #10
  %34 = invoke noundef zeroext i1 @_ZN10multiverso7MtQueueISt10unique_ptrINS_7MessageESt14default_deleteIS2_EEE3PopERS5_(ptr noundef nonnull align 8 dereferenceable(169) %33, ptr noundef nonnull align 8 dereferenceable(8) %3)
          to label %35 unwind label %42

35:                                               ; preds = %31
  %36 = call noundef ptr @_ZNKSt10unique_ptrIN10multiverso7MessageESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %3) #10
  %37 = invoke noundef i32 @_ZNK10multiverso7Message4typeEv(ptr noundef nonnull align 8 dereferenceable(56) %36)
          to label %38 unwind label %42

38:                                               ; preds = %35
  %39 = icmp eq i32 %37, -34
  br i1 %39, label %55, label %40

40:                                               ; preds = %38
  invoke void (ptr, ...) @_ZN10multiverso3Log5FatalEPKcz(ptr noundef @.str.25, ptr noundef @.str.22, i32 noundef 126)
          to label %41 unwind label %42

41:                                               ; preds = %40
  br label %55

42:                                               ; preds = %61, %55, %40, %35, %31, %30, %20, %18, %17, %1
  %43 = landingpad { ptr, i32 }
          cleanup
  %44 = extractvalue { ptr, i32 } %43, 0
  store ptr %44, ptr %4, align 8
  %45 = extractvalue { ptr, i32 } %43, 1
  store i32 %45, ptr %5, align 4
  br label %166

46:                                               ; preds = %26, %22
  %47 = landingpad { ptr, i32 }
          cleanup
  %48 = extractvalue { ptr, i32 } %47, 0
  store ptr %48, ptr %4, align 8
  %49 = extractvalue { ptr, i32 } %47, 1
  store i32 %49, ptr %5, align 4
  br label %54

50:                                               ; preds = %29
  %51 = landingpad { ptr, i32 }
          cleanup
  %52 = extractvalue { ptr, i32 } %51, 0
  store ptr %52, ptr %4, align 8
  %53 = extractvalue { ptr, i32 } %51, 1
  store i32 %53, ptr %5, align 4
  call void @_ZN10multiverso4BlobD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %6) #10
  br label %54

54:                                               ; preds = %50, %46
  call void @llvm.lifetime.end.p0(i64 16, ptr %6) #10
  br label %166

55:                                               ; preds = %41, %38
  %56 = call noundef ptr @_ZNKSt10unique_ptrIN10multiverso7MessageESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %3) #10
  %57 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN10multiverso7Message4dataEv(ptr noundef nonnull align 8 dereferenceable(56) %56)
          to label %58 unwind label %42

58:                                               ; preds = %55
  %59 = call noundef i64 @_ZNKSt6vectorIN10multiverso4BlobESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %57) #10
  %60 = icmp eq i64 %59, 2
  br i1 %60, label %63, label %61

61:                                               ; preds = %58
  invoke void (ptr, ...) @_ZN10multiverso3Log5FatalEPKcz(ptr noundef @.str.26, ptr noundef @.str.22, i32 noundef 127)
          to label %62 unwind label %42

62:                                               ; preds = %61
  br label %63

63:                                               ; preds = %62, %58
  call void @llvm.lifetime.start.p0(i64 16, ptr %7) #10
  %64 = call noundef ptr @_ZNKSt10unique_ptrIN10multiverso7MessageESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %3) #10
  %65 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN10multiverso7Message4dataEv(ptr noundef nonnull align 8 dereferenceable(56) %64)
          to label %66 unwind label %101

66:                                               ; preds = %63
  %67 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorIN10multiverso4BlobESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %65, i64 noundef 0) #10
  invoke void @_ZN10multiverso4BlobC1ERKS0_(ptr noundef nonnull align 8 dereferenceable(16) %7, ptr noundef nonnull align 8 dereferenceable(16) %67)
          to label %68 unwind label %101

68:                                               ; preds = %66
  call void @llvm.lifetime.start.p0(i64 16, ptr %8) #10
  %69 = call noundef ptr @_ZNKSt10unique_ptrIN10multiverso7MessageESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %3) #10
  %70 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN10multiverso7Message4dataEv(ptr noundef nonnull align 8 dereferenceable(56) %69)
          to label %71 unwind label %105

71:                                               ; preds = %68
  %72 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorIN10multiverso4BlobESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %70, i64 noundef 1) #10
  invoke void @_ZN10multiverso4BlobC1ERKS0_(ptr noundef nonnull align 8 dereferenceable(16) %8, ptr noundef nonnull align 8 dereferenceable(16) %72)
          to label %73 unwind label %105

73:                                               ; preds = %71
  %74 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNK10multiverso4Blob2AsIiEERT_m(ptr noundef nonnull align 8 dereferenceable(16) %8, i64 noundef 0)
          to label %75 unwind label %109

75:                                               ; preds = %73
  %76 = load i32, ptr %74, align 4, !tbaa !9
  %77 = getelementptr inbounds %"class.multiverso::Zoo", ptr %13, i32 0, i32 6
  store i32 %76, ptr %77, align 8, !tbaa !11
  %78 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNK10multiverso4Blob2AsIiEERT_m(ptr noundef nonnull align 8 dereferenceable(16) %8, i64 noundef 1)
          to label %79 unwind label %109

79:                                               ; preds = %75
  %80 = load i32, ptr %78, align 4, !tbaa !9
  %81 = getelementptr inbounds %"class.multiverso::Zoo", ptr %13, i32 0, i32 7
  store i32 %80, ptr %81, align 4, !tbaa !33
  %82 = getelementptr inbounds %"class.multiverso::Zoo", ptr %13, i32 0, i32 5
  %83 = getelementptr inbounds %"class.multiverso::Zoo", ptr %13, i32 0, i32 6
  %84 = load i32, ptr %83, align 8, !tbaa !11
  %85 = sext i32 %84 to i64
  invoke void @_ZNSt6vectorIiSaIiEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %82, i64 noundef %85)
          to label %86 unwind label %109

86:                                               ; preds = %79
  %87 = getelementptr inbounds %"class.multiverso::Zoo", ptr %13, i32 0, i32 4
  %88 = getelementptr inbounds %"class.multiverso::Zoo", ptr %13, i32 0, i32 7
  %89 = load i32, ptr %88, align 4, !tbaa !33
  %90 = sext i32 %89 to i64
  invoke void @_ZNSt6vectorIiSaIiEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %87, i64 noundef %90)
          to label %91 unwind label %109

91:                                               ; preds = %86
  %92 = invoke noundef i64 @_ZNK10multiverso4Blob4sizeEv(ptr noundef nonnull align 8 dereferenceable(16) %7)
          to label %93 unwind label %109

93:                                               ; preds = %91
  %94 = invoke noundef i32 @_ZNK10multiverso3Zoo4sizeEv(ptr noundef nonnull align 8 dereferenceable(152) %13)
          to label %95 unwind label %109

95:                                               ; preds = %93
  %96 = sext i32 %94 to i64
  %97 = mul i64 %96, 16
  %98 = icmp eq i64 %92, %97
  br i1 %98, label %113, label %99

99:                                               ; preds = %95
  invoke void (ptr, ...) @_ZN10multiverso3Log5FatalEPKcz(ptr noundef @.str.27, ptr noundef @.str.22, i32 noundef 134)
          to label %100 unwind label %109

100:                                              ; preds = %99
  br label %113

101:                                              ; preds = %66, %63
  %102 = landingpad { ptr, i32 }
          cleanup
  %103 = extractvalue { ptr, i32 } %102, 0
  store ptr %103, ptr %4, align 8
  %104 = extractvalue { ptr, i32 } %102, 1
  store i32 %104, ptr %5, align 4
  br label %165

105:                                              ; preds = %71, %68
  %106 = landingpad { ptr, i32 }
          cleanup
  %107 = extractvalue { ptr, i32 } %106, 0
  store ptr %107, ptr %4, align 8
  %108 = extractvalue { ptr, i32 } %106, 1
  store i32 %108, ptr %5, align 4
  br label %164

109:                                              ; preds = %162, %160, %158, %117, %113, %99, %93, %91, %86, %79, %75, %73
  %110 = landingpad { ptr, i32 }
          cleanup
  %111 = extractvalue { ptr, i32 } %110, 0
  store ptr %111, ptr %4, align 8
  %112 = extractvalue { ptr, i32 } %110, 1
  store i32 %112, ptr %5, align 4
  call void @_ZN10multiverso4BlobD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %8) #10
  br label %164

113:                                              ; preds = %100, %95
  %114 = getelementptr inbounds %"class.multiverso::Zoo", ptr %13, i32 0, i32 3
  %115 = call noundef ptr @_ZNSt6vectorIN10multiverso4NodeESaIS1_EE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %114) #10
  %116 = invoke noundef ptr @_ZNK10multiverso4Blob4dataEv(ptr noundef nonnull align 8 dereferenceable(16) %7)
          to label %117 unwind label %109

117:                                              ; preds = %113
  %118 = invoke noundef i64 @_ZNK10multiverso4Blob4sizeEv(ptr noundef nonnull align 8 dereferenceable(16) %7)
          to label %119 unwind label %109

119:                                              ; preds = %117
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %115, ptr align 1 %116, i64 %118, i1 false)
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #10
  %120 = getelementptr inbounds %"class.multiverso::Zoo", ptr %13, i32 0, i32 3
  store ptr %120, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #10
  %121 = load ptr, ptr %9, align 8, !tbaa !5
  %122 = call ptr @_ZNSt6vectorIN10multiverso4NodeESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %121) #10
  %123 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %10, i32 0, i32 0
  store ptr %122, ptr %123, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #10
  %124 = load ptr, ptr %9, align 8, !tbaa !5
  %125 = call ptr @_ZNSt6vectorIN10multiverso4NodeESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %124) #10
  %126 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %11, i32 0, i32 0
  store ptr %125, ptr %126, align 8
  br label %127

127:                                              ; preds = %156, %119
  %128 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN10multiverso4NodeESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull align 8 dereferenceable(8) %11) #10
  br i1 %128, label %130, label %129

129:                                              ; preds = %127
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #10
  br label %158

130:                                              ; preds = %127
  call void @llvm.lifetime.start.p0(i64 16, ptr %12) #10
  %131 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN10multiverso4NodeESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %10) #10
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %12, ptr align 4 %131, i64 16, i1 false), !tbaa.struct !34
  %132 = getelementptr inbounds %"struct.multiverso::Node", ptr %12, i32 0, i32 2
  %133 = load i32, ptr %132, align 4, !tbaa !35
  %134 = icmp ne i32 %133, -1
  br i1 %134, label %135, label %143

135:                                              ; preds = %130
  %136 = getelementptr inbounds %"struct.multiverso::Node", ptr %12, i32 0, i32 0
  %137 = load i32, ptr %136, align 4, !tbaa !37
  %138 = getelementptr inbounds %"class.multiverso::Zoo", ptr %13, i32 0, i32 5
  %139 = getelementptr inbounds %"struct.multiverso::Node", ptr %12, i32 0, i32 2
  %140 = load i32, ptr %139, align 4, !tbaa !35
  %141 = sext i32 %140 to i64
  %142 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %138, i64 noundef %141) #10
  store i32 %137, ptr %142, align 4, !tbaa !9
  br label %143

143:                                              ; preds = %135, %130
  %144 = getelementptr inbounds %"struct.multiverso::Node", ptr %12, i32 0, i32 3
  %145 = load i32, ptr %144, align 4, !tbaa !38
  %146 = icmp ne i32 %145, -1
  br i1 %146, label %147, label %155

147:                                              ; preds = %143
  %148 = getelementptr inbounds %"struct.multiverso::Node", ptr %12, i32 0, i32 0
  %149 = load i32, ptr %148, align 4, !tbaa !37
  %150 = getelementptr inbounds %"class.multiverso::Zoo", ptr %13, i32 0, i32 4
  %151 = getelementptr inbounds %"struct.multiverso::Node", ptr %12, i32 0, i32 3
  %152 = load i32, ptr %151, align 4, !tbaa !38
  %153 = sext i32 %152 to i64
  %154 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %150, i64 noundef %153) #10
  store i32 %149, ptr %154, align 4, !tbaa !9
  br label %155

155:                                              ; preds = %147, %143
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #10
  br label %156

156:                                              ; preds = %155
  %157 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN10multiverso4NodeESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %10) #10
  br label %127

158:                                              ; preds = %129
  %159 = invoke noundef ptr @_ZN10multiverso3Zoo3GetEv()
          to label %160 unwind label %109

160:                                              ; preds = %158
  %161 = invoke noundef i32 @_ZNK10multiverso3Zoo4rankEv(ptr noundef nonnull align 8 dereferenceable(152) %159)
          to label %162 unwind label %109

162:                                              ; preds = %160
  invoke void (ptr, ...) @_ZN10multiverso3Log5DebugEPKcz(ptr noundef @.str.28, i32 noundef %161)
          to label %163 unwind label %109

163:                                              ; preds = %162
  call void @_ZN10multiverso4BlobD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %8) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr %8) #10
  call void @_ZN10multiverso4BlobD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %7) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr %7) #10
  call void @_ZNSt10unique_ptrIN10multiverso7MessageESt14default_deleteIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %3) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #10
  ret void

164:                                              ; preds = %109, %105
  call void @llvm.lifetime.end.p0(i64 16, ptr %8) #10
  call void @_ZN10multiverso4BlobD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %7) #10
  br label %165

165:                                              ; preds = %164, %101
  call void @llvm.lifetime.end.p0(i64 16, ptr %7) #10
  br label %166

166:                                              ; preds = %165, %54, %42
  call void @_ZNSt10unique_ptrIN10multiverso7MessageESt14default_deleteIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %3) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #10
  br label %167

167:                                              ; preds = %166
  %168 = load ptr, ptr %4, align 8
  %169 = load i32, ptr %5, align 4
  %170 = insertvalue { ptr, i32 } poison, ptr %168, 0
  %171 = insertvalue { ptr, i32 } %170, i32 %169, 1
  resume { ptr, i32 } %171
}

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #5

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN10multiverso7Message7set_srcEi(ptr noundef nonnull align 8 dereferenceable(56), i32 noundef) #6 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN10multiverso7Message7set_dstEi(ptr noundef nonnull align 8 dereferenceable(56), i32 noundef) #6 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN10multiverso7Message8set_typeENS_7MsgTypeE(ptr noundef nonnull align 8 dereferenceable(56), i32 noundef) #6 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN10multiverso7Message4PushERKNS_4BlobE(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 8 dereferenceable(16)) #7 align 2

declare void @_ZN10multiverso4BlobC1EPvm(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef, i64 noundef) unnamed_addr #1

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK10multiverso7Message4typeEv(ptr noundef nonnull align 8 dereferenceable(56)) #3 align 2

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

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

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

declare void @_ZN10multiverso4BlobC1ERKS0_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #1

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNK10multiverso4Blob2AsIiEERT_m(ptr noundef nonnull align 8 dereferenceable(16), i64 noundef) #6 align 2

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

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

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

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #9

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef ptr @_ZN10multiverso3Zoo3GetEv() #7 align 2

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

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

!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 = !{!"int", !7, i64 0}
!11 = !{!12, !10, i64 144}
!12 = !{!"_ZTSN10multiverso3ZooE", !13, i64 0, !19, i64 56, !6, i64 64, !25, i64 72, !29, i64 96, !29, i64 120, !10, i64 144, !10, i64 148}
!13 = !{!"_ZTSSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPN10multiverso5ActorESt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_S8_EEE", !14, i64 0}
!14 = !{!"_ZTSSt10_HashtableINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_PN10multiverso5ActorEESaISB_ENSt8__detail10_Select1stESt8equal_toIS5_ESt4hashIS5_ENSD_18_Mod_range_hashingENSD_20_Default_ranged_hashENSD_20_Prime_rehash_policyENSD_17_Hashtable_traitsILb1ELb0ELb1EEEE", !6, i64 0, !15, i64 8, !16, i64 16, !15, i64 24, !17, i64 32, !6, i64 48}
!15 = !{!"long", !7, i64 0}
!16 = !{!"_ZTSNSt8__detail15_Hash_node_baseE", !6, i64 0}
!17 = !{!"_ZTSNSt8__detail20_Prime_rehash_policyE", !18, i64 0, !15, i64 8}
!18 = !{!"float", !7, i64 0}
!19 = !{!"_ZTSSt10unique_ptrIN10multiverso7MtQueueIS_INS0_7MessageESt14default_deleteIS2_EEEES3_IS6_EE", !20, i64 0}
!20 = !{!"_ZTSSt15__uniq_ptr_dataIN10multiverso7MtQueueISt10unique_ptrINS0_7MessageESt14default_deleteIS3_EEEES4_IS7_ELb1ELb1EE", !21, i64 0}
!21 = !{!"_ZTSSt15__uniq_ptr_implIN10multiverso7MtQueueISt10unique_ptrINS0_7MessageESt14default_deleteIS3_EEEES4_IS7_EE", !22, i64 0}
!22 = !{!"_ZTSSt5tupleIJPN10multiverso7MtQueueISt10unique_ptrINS0_7MessageESt14default_deleteIS3_EEEES4_IS7_EEE", !23, i64 0}
!23 = !{!"_ZTSSt11_Tuple_implILm0EJPN10multiverso7MtQueueISt10unique_ptrINS0_7MessageESt14default_deleteIS3_EEEES4_IS7_EEE", !24, i64 0}
!24 = !{!"_ZTSSt10_Head_baseILm0EPN10multiverso7MtQueueISt10unique_ptrINS0_7MessageESt14default_deleteIS3_EEEELb0EE", !6, i64 0}
!25 = !{!"_ZTSSt6vectorIN10multiverso4NodeESaIS1_EE", !26, i64 0}
!26 = !{!"_ZTSSt12_Vector_baseIN10multiverso4NodeESaIS1_EE", !27, i64 0}
!27 = !{!"_ZTSNSt12_Vector_baseIN10multiverso4NodeESaIS1_EE12_Vector_implE", !28, i64 0}
!28 = !{!"_ZTSNSt12_Vector_baseIN10multiverso4NodeESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!29 = !{!"_ZTSSt6vectorIiSaIiEE", !30, i64 0}
!30 = !{!"_ZTSSt12_Vector_baseIiSaIiEE", !31, i64 0}
!31 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE12_Vector_implE", !32, i64 0}
!32 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!33 = !{!12, !10, i64 148}
!34 = !{i64 0, i64 4, !9, i64 4, i64 4, !9, i64 8, i64 4, !9, i64 12, i64 4, !9}
!35 = !{!36, !10, i64 8}
!36 = !{!"_ZTSN10multiverso4NodeE", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12}
!37 = !{!36, !10, i64 0}
!38 = !{!36, !10, i64 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"

%"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.std::unique_ptr.74" = type { %"struct.std::__uniq_ptr_data.75" }
%"struct.std::__uniq_ptr_data.75" = type { %"class.std::__uniq_ptr_impl.76" }
%"class.std::__uniq_ptr_impl.76" = type { %"class.std::tuple.77" }
%"class.std::tuple.77" = type { %"struct.std::_Tuple_impl.78" }
%"struct.std::_Tuple_impl.78" = type { %"struct.std::_Head_base.81" }
%"struct.std::_Head_base.81" = type { ptr }
%"class.multiverso::Blob" = type { ptr, i64 }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }

@_ZN10multiverso5actorL13kCommunicatorB5cxx11E = external hidden global %"class.std::__cxx11::basic_string", align 8
@.str.22 = external hidden unnamed_addr constant [66 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [79 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [56 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [74 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [22 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

declare i32 @__gxx_personality_v0(...)

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

declare void @_ZN10multiverso3Log5DebugEPKcz(ptr noundef, ...) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZNK10multiverso3Zoo4rankEv(ptr noundef nonnull align 8 dereferenceable(152)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZNK10multiverso3Zoo4sizeEv(ptr noundef nonnull align 8 dereferenceable(152)) local_unnamed_addr #2 align 2

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

declare void @_ZN10multiverso3Log5FatalEPKcz(ptr noundef, ...) local_unnamed_addr #1

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

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

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN10multiverso3Zoo12RegisterNodeEv(ptr noundef nonnull align 8 dereferenceable(152) %0) local_unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca %"class.std::unique_ptr.74", align 8
  %3 = alloca %"class.multiverso::Blob", align 8
  %4 = alloca %"class.multiverso::Blob", align 8
  %5 = alloca %"class.multiverso::Blob", align 8
  %6 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %7 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #10
  %8 = tail call noalias noundef nonnull dereferenceable(56) ptr @_Znwm(i64 noundef 56) #11
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(56) %8, i8 0, i64 56, i1 false)
  tail call void @_ZN10multiverso7MessageC2Ev(ptr noundef nonnull align 8 dereferenceable(56) %8) #10
  call void @_ZNSt10unique_ptrIN10multiverso7MessageESt14default_deleteIS1_EEC2IS3_vEEPS1_(ptr noundef nonnull align 8 dereferenceable(8) %2, ptr noundef nonnull %8) #10
  %9 = call noundef ptr @_ZNKSt10unique_ptrIN10multiverso7MessageESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %2) #10
  %10 = invoke noundef i32 @_ZNK10multiverso3Zoo4rankEv(ptr noundef nonnull align 8 dereferenceable(152) %0)
          to label %11 unwind label %31

11:                                               ; preds = %1
  call void @_ZN10multiverso7Message7set_srcEi(ptr noundef nonnull align 8 dereferenceable(56) %9, i32 noundef %10)
  %12 = call noundef ptr @_ZNKSt10unique_ptrIN10multiverso7MessageESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %2) #10
  call void @_ZN10multiverso7Message7set_dstEi(ptr noundef nonnull align 8 dereferenceable(56) %12, i32 noundef 0)
  %13 = call noundef ptr @_ZNKSt10unique_ptrIN10multiverso7MessageESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %2) #10
  call void @_ZN10multiverso7Message8set_typeENS_7MsgTypeE(ptr noundef nonnull align 8 dereferenceable(56) %13, i32 noundef 34)
  %14 = call noundef ptr @_ZNKSt10unique_ptrIN10multiverso7MessageESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %2) #10
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #10
  %15 = getelementptr inbounds i8, ptr %0, i64 72
  %16 = invoke noundef i32 @_ZNK10multiverso3Zoo4rankEv(ptr noundef nonnull align 8 dereferenceable(152) %0)
          to label %17 unwind label %33

17:                                               ; preds = %11
  %18 = sext i32 %16 to i64
  %19 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorIN10multiverso4NodeESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %15, i64 noundef %18) #10
  invoke void @_ZN10multiverso4BlobC1EPvm(ptr noundef nonnull align 8 dereferenceable(16) %3, ptr noundef nonnull %19, i64 noundef 16)
          to label %20 unwind label %33

20:                                               ; preds = %17
  invoke void @_ZN10multiverso7Message4PushERKNS_4BlobE(ptr noundef nonnull align 8 dereferenceable(56) %14, ptr noundef nonnull align 8 dereferenceable(16) %3)
          to label %21 unwind label %35

21:                                               ; preds = %20
  call void @_ZN10multiverso4BlobD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %3) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #10
  invoke void @_ZN10multiverso3Zoo6SendToERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERSt10unique_ptrINS_7MessageESt14default_deleteISA_EE(ptr noundef nonnull align 8 dereferenceable(152) %0, ptr noundef nonnull align 8 dereferenceable(32) @_ZN10multiverso5actorL13kCommunicatorB5cxx11E, ptr noundef nonnull align 8 dereferenceable(8) %2)
          to label %22 unwind label %31

22:                                               ; preds = %21
  %23 = getelementptr inbounds i8, ptr %0, i64 56
  %24 = call noundef ptr @_ZNKSt10unique_ptrIN10multiverso7MtQueueIS_INS0_7MessageESt14default_deleteIS2_EEEES3_IS6_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %23) #10
  %25 = invoke noundef zeroext i1 @_ZN10multiverso7MtQueueISt10unique_ptrINS_7MessageESt14default_deleteIS2_EEE3PopERS5_(ptr noundef nonnull align 8 dereferenceable(169) %24, ptr noundef nonnull align 8 dereferenceable(8) %2)
          to label %26 unwind label %31

26:                                               ; preds = %22
  %27 = call noundef ptr @_ZNKSt10unique_ptrIN10multiverso7MessageESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %2) #10
  %28 = call noundef i32 @_ZNK10multiverso7Message4typeEv(ptr noundef nonnull align 8 dereferenceable(56) %27)
  %29 = icmp eq i32 %28, -34
  br i1 %29, label %38, label %30

30:                                               ; preds = %26
  invoke void (ptr, ...) @_ZN10multiverso3Log5FatalEPKcz(ptr noundef nonnull @.str.25, ptr noundef nonnull @.str.22, i32 noundef 126)
          to label %38 unwind label %31

31:                                               ; preds = %43, %30, %22, %21, %1
  %32 = landingpad { ptr, i32 }
          cleanup
  br label %105

33:                                               ; preds = %17, %11
  %34 = landingpad { ptr, i32 }
          cleanup
  br label %37

35:                                               ; preds = %20
  %36 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN10multiverso4BlobD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %3) #10
  br label %37

37:                                               ; preds = %35, %33
  %.pn = phi { ptr, i32 } [ %36, %35 ], [ %34, %33 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #10
  br label %105

38:                                               ; preds = %30, %26
  %39 = call noundef ptr @_ZNKSt10unique_ptrIN10multiverso7MessageESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %2) #10
  %40 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZN10multiverso7Message4dataEv(ptr noundef nonnull align 8 dereferenceable(56) %39)
  %41 = call noundef i64 @_ZNKSt6vectorIN10multiverso4BlobESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %40) #10
  %42 = icmp eq i64 %41, 2
  br i1 %42, label %44, label %43

43:                                               ; preds = %38
  invoke void (ptr, ...) @_ZN10multiverso3Log5FatalEPKcz(ptr noundef nonnull @.str.26, ptr noundef nonnull @.str.22, i32 noundef 127)
          to label %44 unwind label %31

44:                                               ; preds = %43, %38
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #10
  %45 = call noundef ptr @_ZNKSt10unique_ptrIN10multiverso7MessageESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %2) #10
  %46 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZN10multiverso7Message4dataEv(ptr noundef nonnull align 8 dereferenceable(56) %45)
  %47 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorIN10multiverso4BlobESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %46, i64 noundef 0) #10
  invoke void @_ZN10multiverso4BlobC1ERKS0_(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef nonnull align 8 dereferenceable(16) %47)
          to label %48 unwind label %74

48:                                               ; preds = %44
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #10
  %49 = call noundef ptr @_ZNKSt10unique_ptrIN10multiverso7MessageESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %2) #10
  %50 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZN10multiverso7Message4dataEv(ptr noundef nonnull align 8 dereferenceable(56) %49)
  %51 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorIN10multiverso4BlobESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %50, i64 noundef 1) #10
  invoke void @_ZN10multiverso4BlobC1ERKS0_(ptr noundef nonnull align 8 dereferenceable(16) %5, ptr noundef nonnull align 8 dereferenceable(16) %51)
          to label %52 unwind label %76

52:                                               ; preds = %48
  %53 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK10multiverso4Blob2AsIiEERT_m(ptr noundef nonnull align 8 dereferenceable(16) %5, i64 noundef 0)
  %54 = load i32, ptr %53, align 4, !tbaa !5
  %55 = getelementptr inbounds i8, ptr %0, i64 144
  store i32 %54, ptr %55, align 8, !tbaa !9
  %56 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK10multiverso4Blob2AsIiEERT_m(ptr noundef nonnull align 8 dereferenceable(16) %5, i64 noundef 1)
  %57 = load i32, ptr %56, align 4, !tbaa !5
  %58 = getelementptr inbounds i8, ptr %0, i64 148
  store i32 %57, ptr %58, align 4, !tbaa !32
  %59 = getelementptr inbounds i8, ptr %0, i64 120
  %60 = load i32, ptr %55, align 8, !tbaa !9
  %61 = sext i32 %60 to i64
  invoke void @_ZNSt6vectorIiSaIiEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %59, i64 noundef %61)
          to label %62 unwind label %78

62:                                               ; preds = %52
  %63 = getelementptr inbounds i8, ptr %0, i64 96
  %64 = load i32, ptr %58, align 4, !tbaa !32
  %65 = sext i32 %64 to i64
  invoke void @_ZNSt6vectorIiSaIiEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %63, i64 noundef %65)
          to label %66 unwind label %78

66:                                               ; preds = %62
  %67 = call noundef i64 @_ZNK10multiverso4Blob4sizeEv(ptr noundef nonnull align 8 dereferenceable(16) %4)
  %68 = invoke noundef i32 @_ZNK10multiverso3Zoo4sizeEv(ptr noundef nonnull align 8 dereferenceable(152) %0)
          to label %69 unwind label %78

69:                                               ; preds = %66
  %70 = sext i32 %68 to i64
  %71 = shl nsw i64 %70, 4
  %72 = icmp eq i64 %67, %71
  br i1 %72, label %80, label %73

73:                                               ; preds = %69
  invoke void (ptr, ...) @_ZN10multiverso3Log5FatalEPKcz(ptr noundef nonnull @.str.27, ptr noundef nonnull @.str.22, i32 noundef 134)
          to label %80 unwind label %78

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

76:                                               ; preds = %48
  %77 = landingpad { ptr, i32 }
          cleanup
  br label %103

78:                                               ; preds = %101, %99, %._crit_edge, %73, %66, %62, %52
  %79 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN10multiverso4BlobD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %5) #10
  br label %103

80:                                               ; preds = %73, %69
  %81 = call noundef ptr @_ZNSt6vectorIN10multiverso4NodeESaIS1_EE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %15) #10
  %82 = call noundef ptr @_ZNK10multiverso4Blob4dataEv(ptr noundef nonnull align 8 dereferenceable(16) %4)
  %83 = call noundef i64 @_ZNK10multiverso4Blob4sizeEv(ptr noundef nonnull align 8 dereferenceable(16) %4)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %81, ptr align 1 %82, i64 %83, i1 false)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #10
  %84 = call ptr @_ZNSt6vectorIN10multiverso4NodeESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %15) #10
  store ptr %84, ptr %6, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #10
  %85 = call ptr @_ZNSt6vectorIN10multiverso4NodeESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %15) #10
  store ptr %85, ptr %7, align 8
  %86 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN10multiverso4NodeESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %7) #10
  br i1 %86, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %96, %80
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #10
  %87 = invoke noundef ptr @_ZN10multiverso3Zoo3GetEv()
          to label %99 unwind label %78

.lr.ph:                                           ; preds = %80, %96
  %88 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN10multiverso4NodeESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %6) #10
  %.sroa.0.0.copyload = load i32, ptr %88, align 4, !tbaa !5
  %.sroa.52.0..sroa_idx = getelementptr inbounds i8, ptr %88, i64 8
  %.sroa.52.0.copyload = load i32, ptr %.sroa.52.0..sroa_idx, align 4, !tbaa !5
  %.sroa.7.0..sroa_idx = getelementptr inbounds i8, ptr %88, i64 12
  %.sroa.7.0.copyload = load i32, ptr %.sroa.7.0..sroa_idx, align 4, !tbaa !5
  %.not = icmp eq i32 %.sroa.52.0.copyload, -1
  br i1 %.not, label %92, label %89

89:                                               ; preds = %.lr.ph
  %90 = sext i32 %.sroa.52.0.copyload to i64
  %91 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %59, i64 noundef %90) #10
  store i32 %.sroa.0.0.copyload, ptr %91, align 4, !tbaa !5
  br label %92

92:                                               ; preds = %89, %.lr.ph
  %.not17 = icmp eq i32 %.sroa.7.0.copyload, -1
  br i1 %.not17, label %96, label %93

93:                                               ; preds = %92
  %94 = sext i32 %.sroa.7.0.copyload to i64
  %95 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %63, i64 noundef %94) #10
  store i32 %.sroa.0.0.copyload, ptr %95, align 4, !tbaa !5
  br label %96

96:                                               ; preds = %93, %92
  %97 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN10multiverso4NodeESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %6) #10
  %98 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN10multiverso4NodeESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %7) #10
  br i1 %98, label %.lr.ph, label %._crit_edge

99:                                               ; preds = %._crit_edge
  %100 = invoke noundef i32 @_ZNK10multiverso3Zoo4rankEv(ptr noundef nonnull align 8 dereferenceable(152) %87)
          to label %101 unwind label %78

101:                                              ; preds = %99
  invoke void (ptr, ...) @_ZN10multiverso3Log5DebugEPKcz(ptr noundef nonnull @.str.28, i32 noundef %100)
          to label %102 unwind label %78

102:                                              ; preds = %101
  call void @_ZN10multiverso4BlobD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %5) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #10
  call void @_ZN10multiverso4BlobD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %4) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #10
  call void @_ZNSt10unique_ptrIN10multiverso7MessageESt14default_deleteIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %2) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #10
  ret void

103:                                              ; preds = %78, %76
  %.pn13 = phi { ptr, i32 } [ %79, %78 ], [ %77, %76 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #10
  call void @_ZN10multiverso4BlobD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %4) #10
  br label %104

104:                                              ; preds = %103, %74
  %.pn13.pn = phi { ptr, i32 } [ %.pn13, %103 ], [ %75, %74 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #10
  br label %105

105:                                              ; preds = %104, %37, %31
  %.pn13.pn.pn = phi { ptr, i32 } [ %.pn13.pn, %104 ], [ %32, %31 ], [ %.pn, %37 ]
  call void @_ZNSt10unique_ptrIN10multiverso7MessageESt14default_deleteIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %2) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #10
  resume { ptr, i32 } %.pn13.pn.pn
}

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #5

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN10multiverso7Message7set_srcEi(ptr noundef nonnull align 8 dereferenceable(56), i32 noundef) local_unnamed_addr #6 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN10multiverso7Message7set_dstEi(ptr noundef nonnull align 8 dereferenceable(56), i32 noundef) local_unnamed_addr #6 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN10multiverso7Message8set_typeENS_7MsgTypeE(ptr noundef nonnull align 8 dereferenceable(56), i32 noundef) local_unnamed_addr #6 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN10multiverso7Message4PushERKNS_4BlobE(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #7 align 2

declare void @_ZN10multiverso4BlobC1EPvm(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef, i64 noundef) unnamed_addr #1

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK10multiverso7Message4typeEv(ptr noundef nonnull align 8 dereferenceable(56)) local_unnamed_addr #3 align 2

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

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

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

declare void @_ZN10multiverso4BlobC1ERKS0_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #1

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

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

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

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

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

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #9

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef ptr @_ZN10multiverso3Zoo3GetEv() local_unnamed_addr #7 align 2

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

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

!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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !6, i64 144}
!10 = !{!"_ZTSN10multiverso3ZooE", !11, i64 0, !18, i64 56, !13, i64 64, !24, i64 72, !28, i64 96, !28, i64 120, !6, i64 144, !6, i64 148}
!11 = !{!"_ZTSSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPN10multiverso5ActorESt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_S8_EEE", !12, i64 0}
!12 = !{!"_ZTSSt10_HashtableINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_PN10multiverso5ActorEESaISB_ENSt8__detail10_Select1stESt8equal_toIS5_ESt4hashIS5_ENSD_18_Mod_range_hashingENSD_20_Default_ranged_hashENSD_20_Prime_rehash_policyENSD_17_Hashtable_traitsILb1ELb0ELb1EEEE", !13, i64 0, !14, i64 8, !15, i64 16, !14, i64 24, !16, i64 32, !13, i64 48}
!13 = !{!"any pointer", !7, i64 0}
!14 = !{!"long", !7, i64 0}
!15 = !{!"_ZTSNSt8__detail15_Hash_node_baseE", !13, i64 0}
!16 = !{!"_ZTSNSt8__detail20_Prime_rehash_policyE", !17, i64 0, !14, i64 8}
!17 = !{!"float", !7, i64 0}
!18 = !{!"_ZTSSt10unique_ptrIN10multiverso7MtQueueIS_INS0_7MessageESt14default_deleteIS2_EEEES3_IS6_EE", !19, i64 0}
!19 = !{!"_ZTSSt15__uniq_ptr_dataIN10multiverso7MtQueueISt10unique_ptrINS0_7MessageESt14default_deleteIS3_EEEES4_IS7_ELb1ELb1EE", !20, i64 0}
!20 = !{!"_ZTSSt15__uniq_ptr_implIN10multiverso7MtQueueISt10unique_ptrINS0_7MessageESt14default_deleteIS3_EEEES4_IS7_EE", !21, i64 0}
!21 = !{!"_ZTSSt5tupleIJPN10multiverso7MtQueueISt10unique_ptrINS0_7MessageESt14default_deleteIS3_EEEES4_IS7_EEE", !22, i64 0}
!22 = !{!"_ZTSSt11_Tuple_implILm0EJPN10multiverso7MtQueueISt10unique_ptrINS0_7MessageESt14default_deleteIS3_EEEES4_IS7_EEE", !23, i64 0}
!23 = !{!"_ZTSSt10_Head_baseILm0EPN10multiverso7MtQueueISt10unique_ptrINS0_7MessageESt14default_deleteIS3_EEEELb0EE", !13, i64 0}
!24 = !{!"_ZTSSt6vectorIN10multiverso4NodeESaIS1_EE", !25, i64 0}
!25 = !{!"_ZTSSt12_Vector_baseIN10multiverso4NodeESaIS1_EE", !26, i64 0}
!26 = !{!"_ZTSNSt12_Vector_baseIN10multiverso4NodeESaIS1_EE12_Vector_implE", !27, i64 0}
!27 = !{!"_ZTSNSt12_Vector_baseIN10multiverso4NodeESaIS1_EE17_Vector_impl_dataE", !13, i64 0, !13, i64 8, !13, i64 16}
!28 = !{!"_ZTSSt6vectorIiSaIiEE", !29, i64 0}
!29 = !{!"_ZTSSt12_Vector_baseIiSaIiEE", !30, i64 0}
!30 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE12_Vector_implE", !31, i64 0}
!31 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE17_Vector_impl_dataE", !13, i64 0, !13, i64 8, !13, i64 16}
!32 = !{!10, !6, i64 148}


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