; LLVM IR from ThePhysicsGuys/Physics3D :: tests/ecsTests.ll (ZN3P3D8viewTestEv)

; 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.P3D::Engine::Registry" = type <{ %"class.std::set", %"class.std::vector", %"class.std::unordered_map", %"class.std::queue", i8, [7 x i8] }>
%"class.std::set" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<unsigned short, unsigned short, std::_Identity<unsigned short>, P3D::Engine::Registry<unsigned short>::entity_compare>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<unsigned short, unsigned short, std::_Identity<unsigned short>, P3D::Engine::Registry<unsigned short>::entity_compare>::_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 }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<std::unordered_multimap<unsigned char, P3D::intrusive_ptr<P3D::RC>> *, std::allocator<std::unordered_multimap<unsigned char, P3D::intrusive_ptr<P3D::RC>> *>>::_Vector_impl" }
%"struct.std::_Vector_base<std::unordered_multimap<unsigned char, P3D::intrusive_ptr<P3D::RC>> *, std::allocator<std::unordered_multimap<unsigned char, P3D::intrusive_ptr<P3D::RC>> *>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::unordered_multimap<unsigned char, P3D::intrusive_ptr<P3D::RC>> *, std::allocator<std::unordered_multimap<unsigned char, P3D::intrusive_ptr<P3D::RC>> *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::unordered_multimap<unsigned char, P3D::intrusive_ptr<P3D::RC>> *, std::allocator<std::unordered_multimap<unsigned char, P3D::intrusive_ptr<P3D::RC>> *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"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::queue" = type { %"class.std::deque" }
%"class.std::deque" = type { %"class.std::_Deque_base" }
%"class.std::_Deque_base" = type { %"struct.std::_Deque_base<unsigned char, std::allocator<unsigned char>>::_Deque_impl" }
%"struct.std::_Deque_base<unsigned char, std::allocator<unsigned char>>::_Deque_impl" = type { %"struct.std::_Deque_base<unsigned char, std::allocator<unsigned char>>::_Deque_impl_data" }
%"struct.std::_Deque_base<unsigned char, std::allocator<unsigned char>>::_Deque_impl_data" = type { ptr, i64, %"struct.std::_Deque_iterator", %"struct.std::_Deque_iterator" }
%"struct.std::_Deque_iterator" = type { ptr, ptr, ptr, ptr }
%"class.P3D::intrusive_ptr.14" = type { ptr }
%"class.P3D::intrusive_ptr.15" = type { ptr }
%"class.P3D::intrusive_ptr.16" = type { ptr }
%"class.P3D::Engine::Registry<unsigned short>::basic_view" = type <{ ptr, %class.filter_transform_iterator, [8 x i8] }>
%class.filter_transform_iterator = type <{ %"struct.std::__detail::_Node_iterator", %"struct.std::__detail::_Node_iterator", %class.anon, [8 x i8] }>
%"struct.std::__detail::_Node_iterator" = type { %"struct.std::__detail::_Node_iterator_base" }
%"struct.std::__detail::_Node_iterator_base" = type { ptr }
%class.anon = type { ptr, %"class.std::vector.17" }
%"class.std::vector.17" = type { %"struct.std::_Vector_base.18" }
%"struct.std::_Vector_base.18" = type { %"struct.std::_Vector_base<unsigned short, std::allocator<unsigned short>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned short, std::allocator<unsigned short>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned short, std::allocator<unsigned short>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned short, std::allocator<unsigned short>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%struct.iterator_end = type { i8 }
%class.TestInterface = type <{ i64, i8, [7 x i8] }>

@_ZN3P3D6Engine8RegistryItE11null_entityE = external dso_local global i8, align 1
@.str.3 = external hidden unnamed_addr constant [6 x i8], align 1
@_ZTI14AssertionError = external dso_local constant { ptr, ptr }, align 8

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i8 @_ZN3P3D6Engine8RegistryItE6createERKh(ptr noundef nonnull align 8 dereferenceable(209), ptr noundef nonnull align 1 dereferenceable(1)) #2 align 2

; Function Attrs: uwtable
declare hidden noundef ptr @_ZTW15__testInterface() #3

declare ptr @__cxa_allocate_exception(i64)

declare void @_ZN14AssertionErrorC1EiPKc(ptr noundef nonnull align 8 dereferenceable(12), i32 noundef, ptr noundef) unnamed_addr #4

declare i32 @__gxx_personality_v0(...)

declare void @__cxa_free_exception(ptr)

declare void @__cxa_throw(ptr, ptr, ptr)

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3P3D8viewTestEv() #1 personality ptr @__gxx_personality_v0 {
  %1 = alloca %"class.P3D::Engine::Registry", align 8
  %2 = alloca i8, align 1
  %3 = alloca i8, align 1
  %4 = alloca i8, align 1
  %5 = alloca i8, align 1
  %6 = alloca i8, align 1
  %7 = alloca %"class.P3D::intrusive_ptr.14", align 8
  %8 = alloca %"class.P3D::intrusive_ptr.14", align 8
  %9 = alloca %"class.P3D::intrusive_ptr.14", align 8
  %10 = alloca %"class.P3D::intrusive_ptr.14", align 8
  %11 = alloca %"class.P3D::intrusive_ptr.15", align 8
  %12 = alloca %"class.P3D::intrusive_ptr.15", align 8
  %13 = alloca %"class.P3D::intrusive_ptr.15", align 8
  %14 = alloca %"class.P3D::intrusive_ptr.16", align 8
  %15 = alloca %"class.P3D::intrusive_ptr.16", align 8
  %16 = alloca %"class.P3D::intrusive_ptr.16", align 8
  %17 = alloca %"class.P3D::intrusive_ptr.16", align 8
  %18 = alloca %"class.P3D::intrusive_ptr.16", align 8
  %19 = alloca i64, align 8
  %20 = alloca ptr, align 8
  %21 = alloca %"class.P3D::Engine::Registry<unsigned short>::basic_view", align 8
  %22 = alloca %class.filter_transform_iterator, align 8
  %23 = alloca ptr, align 8
  %24 = alloca i32, align 4
  %25 = alloca %struct.iterator_end, align 1
  %26 = alloca %struct.iterator_end, align 1
  %27 = alloca %struct.iterator_end, align 1
  %28 = alloca i8, align 1
  call void @llvm.lifetime.start.p0(i64 216, ptr %1) #6
  call void @_ZN3P3D6Engine8RegistryItEC2Ev(ptr noundef nonnull align 8 dereferenceable(209) %1)
  call void @llvm.lifetime.start.p0(i64 1, ptr %2) #6
  %29 = call noundef zeroext i8 @_ZN3P3D6Engine8RegistryItE6createERKh(ptr noundef nonnull align 8 dereferenceable(209) %1, ptr noundef nonnull align 1 dereferenceable(1) @_ZN3P3D6Engine8RegistryItE11null_entityE) #6
  store i8 %29, ptr %2, align 1, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %3) #6
  %30 = call noundef zeroext i8 @_ZN3P3D6Engine8RegistryItE6createERKh(ptr noundef nonnull align 8 dereferenceable(209) %1, ptr noundef nonnull align 1 dereferenceable(1) @_ZN3P3D6Engine8RegistryItE11null_entityE) #6
  store i8 %30, ptr %3, align 1, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %4) #6
  %31 = call noundef zeroext i8 @_ZN3P3D6Engine8RegistryItE6createERKh(ptr noundef nonnull align 8 dereferenceable(209) %1, ptr noundef nonnull align 1 dereferenceable(1) @_ZN3P3D6Engine8RegistryItE11null_entityE) #6
  store i8 %31, ptr %4, align 1, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %5) #6
  %32 = call noundef zeroext i8 @_ZN3P3D6Engine8RegistryItE6createERKh(ptr noundef nonnull align 8 dereferenceable(209) %1, ptr noundef nonnull align 1 dereferenceable(1) @_ZN3P3D6Engine8RegistryItE11null_entityE) #6
  store i8 %32, ptr %5, align 1, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %6) #6
  %33 = call noundef zeroext i8 @_ZN3P3D6Engine8RegistryItE6createERKh(ptr noundef nonnull align 8 dereferenceable(209) %1, ptr noundef nonnull align 1 dereferenceable(1) @_ZN3P3D6Engine8RegistryItE11null_entityE) #6
  store i8 %33, ptr %6, align 1, !tbaa !5
  call void @_ZN3P3D6Engine8RegistryItE3addIZNS_8viewTestEvE1AJEEENS_13intrusive_ptrIT_EERKhDpOT0_(ptr dead_on_unwind writable sret(%"class.P3D::intrusive_ptr.14") align 8 %7, ptr noundef nonnull align 8 dereferenceable(209) %1, ptr noundef nonnull align 1 dereferenceable(1) %2) #6
  call void @_ZN3P3D13intrusive_ptrIZNS_8viewTestEvE1AED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %7) #6
  call void @_ZN3P3D6Engine8RegistryItE3addIZNS_8viewTestEvE1AJEEENS_13intrusive_ptrIT_EERKhDpOT0_(ptr dead_on_unwind writable sret(%"class.P3D::intrusive_ptr.14") align 8 %8, ptr noundef nonnull align 8 dereferenceable(209) %1, ptr noundef nonnull align 1 dereferenceable(1) %3) #6
  call void @_ZN3P3D13intrusive_ptrIZNS_8viewTestEvE1AED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %8) #6
  call void @_ZN3P3D6Engine8RegistryItE3addIZNS_8viewTestEvE1AJEEENS_13intrusive_ptrIT_EERKhDpOT0_(ptr dead_on_unwind writable sret(%"class.P3D::intrusive_ptr.14") align 8 %9, ptr noundef nonnull align 8 dereferenceable(209) %1, ptr noundef nonnull align 1 dereferenceable(1) %4) #6
  call void @_ZN3P3D13intrusive_ptrIZNS_8viewTestEvE1AED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %9) #6
  call void @_ZN3P3D6Engine8RegistryItE3addIZNS_8viewTestEvE1AJEEENS_13intrusive_ptrIT_EERKhDpOT0_(ptr dead_on_unwind writable sret(%"class.P3D::intrusive_ptr.14") align 8 %10, ptr noundef nonnull align 8 dereferenceable(209) %1, ptr noundef nonnull align 1 dereferenceable(1) %5) #6
  call void @_ZN3P3D13intrusive_ptrIZNS_8viewTestEvE1AED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %10) #6
  call void @_ZN3P3D6Engine8RegistryItE3addIZNS_8viewTestEvE1BJEEENS_13intrusive_ptrIT_EERKhDpOT0_(ptr dead_on_unwind writable sret(%"class.P3D::intrusive_ptr.15") align 8 %11, ptr noundef nonnull align 8 dereferenceable(209) %1, ptr noundef nonnull align 1 dereferenceable(1) %2) #6
  call void @_ZN3P3D13intrusive_ptrIZNS_8viewTestEvE1BED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %11) #6
  call void @_ZN3P3D6Engine8RegistryItE3addIZNS_8viewTestEvE1BJEEENS_13intrusive_ptrIT_EERKhDpOT0_(ptr dead_on_unwind writable sret(%"class.P3D::intrusive_ptr.15") align 8 %12, ptr noundef nonnull align 8 dereferenceable(209) %1, ptr noundef nonnull align 1 dereferenceable(1) %4) #6
  call void @_ZN3P3D13intrusive_ptrIZNS_8viewTestEvE1BED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %12) #6
  call void @_ZN3P3D6Engine8RegistryItE3addIZNS_8viewTestEvE1BJEEENS_13intrusive_ptrIT_EERKhDpOT0_(ptr dead_on_unwind writable sret(%"class.P3D::intrusive_ptr.15") align 8 %13, ptr noundef nonnull align 8 dereferenceable(209) %1, ptr noundef nonnull align 1 dereferenceable(1) %6) #6
  call void @_ZN3P3D13intrusive_ptrIZNS_8viewTestEvE1BED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %13) #6
  call void @_ZN3P3D6Engine8RegistryItE3addIZNS_8viewTestEvE1CJEEENS_13intrusive_ptrIT_EERKhDpOT0_(ptr dead_on_unwind writable sret(%"class.P3D::intrusive_ptr.16") align 8 %14, ptr noundef nonnull align 8 dereferenceable(209) %1, ptr noundef nonnull align 1 dereferenceable(1) %2) #6
  call void @_ZN3P3D13intrusive_ptrIZNS_8viewTestEvE1CED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %14) #6
  call void @_ZN3P3D6Engine8RegistryItE3addIZNS_8viewTestEvE1CJEEENS_13intrusive_ptrIT_EERKhDpOT0_(ptr dead_on_unwind writable sret(%"class.P3D::intrusive_ptr.16") align 8 %15, ptr noundef nonnull align 8 dereferenceable(209) %1, ptr noundef nonnull align 1 dereferenceable(1) %3) #6
  call void @_ZN3P3D13intrusive_ptrIZNS_8viewTestEvE1CED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %15) #6
  call void @_ZN3P3D6Engine8RegistryItE3addIZNS_8viewTestEvE1CJEEENS_13intrusive_ptrIT_EERKhDpOT0_(ptr dead_on_unwind writable sret(%"class.P3D::intrusive_ptr.16") align 8 %16, ptr noundef nonnull align 8 dereferenceable(209) %1, ptr noundef nonnull align 1 dereferenceable(1) %4) #6
  call void @_ZN3P3D13intrusive_ptrIZNS_8viewTestEvE1CED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %16) #6
  call void @_ZN3P3D6Engine8RegistryItE3addIZNS_8viewTestEvE1CJEEENS_13intrusive_ptrIT_EERKhDpOT0_(ptr dead_on_unwind writable sret(%"class.P3D::intrusive_ptr.16") align 8 %17, ptr noundef nonnull align 8 dereferenceable(209) %1, ptr noundef nonnull align 1 dereferenceable(1) %5) #6
  call void @_ZN3P3D13intrusive_ptrIZNS_8viewTestEvE1CED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %17) #6
  call void @_ZN3P3D6Engine8RegistryItE3addIZNS_8viewTestEvE1CJEEENS_13intrusive_ptrIT_EERKhDpOT0_(ptr dead_on_unwind writable sret(%"class.P3D::intrusive_ptr.16") align 8 %18, ptr noundef nonnull align 8 dereferenceable(209) %1, ptr noundef nonnull align 1 dereferenceable(1) %6) #6
  call void @_ZN3P3D13intrusive_ptrIZNS_8viewTestEvE1CED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %18) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #6
  store i64 0, ptr %19, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #6
  call void @llvm.lifetime.start.p0(i64 72, ptr %21) #6
  call void @_ZN3P3D6Engine8RegistryItE4viewIJZNS_8viewTestEvE1AZNS_8viewTestEvE1BZNS_8viewTestEvE1CEEEDav(ptr dead_on_unwind writable sret(%"class.P3D::Engine::Registry<unsigned short>::basic_view") align 8 %21, ptr noundef nonnull align 8 dereferenceable(209) %1) #6
  store ptr %21, ptr %20, align 8, !tbaa !10
  call void @llvm.lifetime.start.p0(i64 56, ptr %22) #6
  %34 = load ptr, ptr %20, align 8, !tbaa !10
  invoke void @_ZNK3P3D6Engine8RegistryItE10basic_viewINS2_4conjIJZNS_8viewTestEvE1AZNS_8viewTestEvE1BZNS_8viewTestEvE1CEEE25filter_transform_iteratorINSt8__detail14_Node_iteratorISt4pairIKhNS_13intrusive_ptrINS_2RCEEEELb0ELb0EEE12iterator_endZNS2_4viewIS5_JS6_S7_EEEDaNS2_4typeINS4_IJT_DpT0_EEEEEEUlRKSI_E_ZNSK_IS5_JS6_S7_EEEDaSQ_EUlSS_E0_ESJ_E5beginEv(ptr dead_on_unwind writable sret(%class.filter_transform_iterator) align 8 %22, ptr noundef nonnull align 8 dereferenceable(65) %34)
          to label %35 unwind label %42

35:                                               ; preds = %0
  call void @llvm.lifetime.start.p0(i64 1, ptr %25) #6
  %36 = load ptr, ptr %20, align 8, !tbaa !10
  invoke void @_ZNK3P3D6Engine8RegistryItE10basic_viewINS2_4conjIJZNS_8viewTestEvE1AZNS_8viewTestEvE1BZNS_8viewTestEvE1CEEE25filter_transform_iteratorINSt8__detail14_Node_iteratorISt4pairIKhNS_13intrusive_ptrINS_2RCEEEELb0ELb0EEE12iterator_endZNS2_4viewIS5_JS6_S7_EEEDaNS2_4typeINS4_IJT_DpT0_EEEEEEUlRKSI_E_ZNSK_IS5_JS6_S7_EEEDaSQ_EUlSS_E0_ESJ_E3endEv(ptr noundef nonnull align 8 dereferenceable(65) %36)
          to label %37 unwind label %46

37:                                               ; preds = %35
  br label %38

38:                                               ; preds = %57, %37
  %39 = invoke noundef zeroext i1 @_ZNK25filter_transform_iteratorINSt8__detail14_Node_iteratorISt4pairIKhN3P3D13intrusive_ptrINS4_2RCEEEELb0ELb0EEE12iterator_endZNS4_6Engine8RegistryItE4viewIZNS4_8viewTestEvE1AJZNS4_8viewTestEvE1BZNS4_8viewTestEvE1CEEEDaNSD_4typeINSD_4conjIJT_DpT0_EEEEEEUlRKS9_E_ZNSE_ISF_JSG_SH_EEEDaSO_EUlSQ_E0_EneESA_(ptr noundef nonnull align 8 dereferenceable(49) %22)
          to label %40 unwind label %46

40:                                               ; preds = %38
  br i1 %39, label %50, label %41

41:                                               ; preds = %40
  call void @llvm.lifetime.end.p0(i64 1, ptr %25) #6
  call void @_ZN25filter_transform_iteratorINSt8__detail14_Node_iteratorISt4pairIKhN3P3D13intrusive_ptrINS4_2RCEEEELb0ELb0EEE12iterator_endZNS4_6Engine8RegistryItE4viewIZNS4_8viewTestEvE1AJZNS4_8viewTestEvE1BZNS4_8viewTestEvE1CEEEDaNSD_4typeINSD_4conjIJT_DpT0_EEEEEEUlRKS9_E_ZNSE_ISF_JSG_SH_EEEDaSO_EUlSQ_E0_ED2Ev(ptr noundef nonnull align 8 dereferenceable(49) %22) #6
  call void @llvm.lifetime.end.p0(i64 56, ptr %22) #6
  call void @_ZN3P3D6Engine8RegistryItE10basic_viewINS2_4conjIJZNS_8viewTestEvE1AZNS_8viewTestEvE1BZNS_8viewTestEvE1CEEE25filter_transform_iteratorINSt8__detail14_Node_iteratorISt4pairIKhNS_13intrusive_ptrINS_2RCEEEELb0ELb0EEE12iterator_endZNS2_4viewIS5_JS6_S7_EEEDaNS2_4typeINS4_IJT_DpT0_EEEEEEUlRKSI_E_ZNSK_IS5_JS6_S7_EEEDaSQ_EUlSS_E0_ESJ_ED2Ev(ptr noundef nonnull align 8 dereferenceable(65) %21) #6
  call void @llvm.lifetime.end.p0(i64 72, ptr %21) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #6
  br label %64

42:                                               ; preds = %0
  %43 = landingpad { ptr, i32 }
          cleanup
  %44 = extractvalue { ptr, i32 } %43, 0
  store ptr %44, ptr %23, align 8
  %45 = extractvalue { ptr, i32 } %43, 1
  store i32 %45, ptr %24, align 4
  br label %63

46:                                               ; preds = %55, %38, %35
  %47 = landingpad { ptr, i32 }
          cleanup
  %48 = extractvalue { ptr, i32 } %47, 0
  store ptr %48, ptr %23, align 8
  %49 = extractvalue { ptr, i32 } %47, 1
  store i32 %49, ptr %24, align 4
  br label %62

50:                                               ; preds = %40
  call void @llvm.lifetime.start.p0(i64 1, ptr %28) #6
  %51 = invoke noundef zeroext i8 @_ZNK25filter_transform_iteratorINSt8__detail14_Node_iteratorISt4pairIKhN3P3D13intrusive_ptrINS4_2RCEEEELb0ELb0EEE12iterator_endZNS4_6Engine8RegistryItE4viewIZNS4_8viewTestEvE1AJZNS4_8viewTestEvE1BZNS4_8viewTestEvE1CEEEDaNSD_4typeINSD_4conjIJT_DpT0_EEEEEEUlRKS9_E_ZNSE_ISF_JSG_SH_EEEDaSO_EUlSQ_E0_EdeEv(ptr noundef nonnull align 8 dereferenceable(49) %22)
          to label %52 unwind label %58

52:                                               ; preds = %50
  store i8 %51, ptr %28, align 1, !tbaa !5
  %53 = load i64, ptr %19, align 8, !tbaa !8
  %54 = add i64 %53, 1
  store i64 %54, ptr %19, align 8, !tbaa !8
  call void @llvm.lifetime.end.p0(i64 1, ptr %28) #6
  br label %55

55:                                               ; preds = %52
  %56 = invoke noundef nonnull align 8 dereferenceable(49) ptr @_ZN25filter_transform_iteratorINSt8__detail14_Node_iteratorISt4pairIKhN3P3D13intrusive_ptrINS4_2RCEEEELb0ELb0EEE12iterator_endZNS4_6Engine8RegistryItE4viewIZNS4_8viewTestEvE1AJZNS4_8viewTestEvE1BZNS4_8viewTestEvE1CEEEDaNSD_4typeINSD_4conjIJT_DpT0_EEEEEEUlRKS9_E_ZNSE_ISF_JSG_SH_EEEDaSO_EUlSQ_E0_EppEv(ptr noundef nonnull align 8 dereferenceable(49) %22)
          to label %57 unwind label %46

57:                                               ; preds = %55
  br label %38

58:                                               ; preds = %50
  %59 = landingpad { ptr, i32 }
          cleanup
  %60 = extractvalue { ptr, i32 } %59, 0
  store ptr %60, ptr %23, align 8
  %61 = extractvalue { ptr, i32 } %59, 1
  store i32 %61, ptr %24, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %28) #6
  br label %62

62:                                               ; preds = %58, %46
  call void @llvm.lifetime.end.p0(i64 1, ptr %25) #6
  call void @_ZN25filter_transform_iteratorINSt8__detail14_Node_iteratorISt4pairIKhN3P3D13intrusive_ptrINS4_2RCEEEELb0ELb0EEE12iterator_endZNS4_6Engine8RegistryItE4viewIZNS4_8viewTestEvE1AJZNS4_8viewTestEvE1BZNS4_8viewTestEvE1CEEEDaNSD_4typeINSD_4conjIJT_DpT0_EEEEEEUlRKS9_E_ZNSE_ISF_JSG_SH_EEEDaSO_EUlSQ_E0_ED2Ev(ptr noundef nonnull align 8 dereferenceable(49) %22) #6
  br label %63

63:                                               ; preds = %62, %42
  call void @llvm.lifetime.end.p0(i64 56, ptr %22) #6
  call void @_ZN3P3D6Engine8RegistryItE10basic_viewINS2_4conjIJZNS_8viewTestEvE1AZNS_8viewTestEvE1BZNS_8viewTestEvE1CEEE25filter_transform_iteratorINSt8__detail14_Node_iteratorISt4pairIKhNS_13intrusive_ptrINS_2RCEEEELb0ELb0EEE12iterator_endZNS2_4viewIS5_JS6_S7_EEEDaNS2_4typeINS4_IJT_DpT0_EEEEEEUlRKSI_E_ZNSK_IS5_JS6_S7_EEEDaSQ_EUlSS_E0_ESJ_ED2Ev(ptr noundef nonnull align 8 dereferenceable(65) %21) #6
  call void @llvm.lifetime.end.p0(i64 72, ptr %21) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #6
  br label %90

64:                                               ; preds = %41
  br label %65

65:                                               ; preds = %64
  %66 = load i64, ptr %19, align 8, !tbaa !8
  %67 = icmp eq i64 %66, 2
  br i1 %67, label %85, label %68

68:                                               ; preds = %65
  %69 = call ptr @_ZTW15__testInterface()
  %70 = getelementptr inbounds %class.TestInterface, ptr %69, i32 0, i32 1
  %71 = load i8, ptr %70, align 8, !tbaa !12, !range !15, !noundef !16
  %72 = trunc i8 %71 to i1
  br i1 %72, label %73, label %74

73:                                               ; preds = %68
  br label %74

74:                                               ; preds = %73, %68
  %75 = call ptr @__cxa_allocate_exception(i64 16) #6
  invoke void @_ZN14AssertionErrorC1EiPKc(ptr noundef nonnull align 8 dereferenceable(12) %75, i32 noundef 86, ptr noundef @.str.3)
          to label %76 unwind label %77

76:                                               ; preds = %74
  invoke void @__cxa_throw(ptr %75, ptr @_ZTI14AssertionError, ptr null) #7
          to label %96 unwind label %81

77:                                               ; preds = %74
  %78 = landingpad { ptr, i32 }
          cleanup
  %79 = extractvalue { ptr, i32 } %78, 0
  store ptr %79, ptr %23, align 8
  %80 = extractvalue { ptr, i32 } %78, 1
  store i32 %80, ptr %24, align 4
  call void @__cxa_free_exception(ptr %75) #6
  br label %90

81:                                               ; preds = %85, %76
  %82 = landingpad { ptr, i32 }
          cleanup
  %83 = extractvalue { ptr, i32 } %82, 0
  store ptr %83, ptr %23, align 8
  %84 = extractvalue { ptr, i32 } %82, 1
  store i32 %84, ptr %24, align 4
  br label %90

85:                                               ; preds = %65
  %86 = call ptr @_ZTW15__testInterface()
  invoke void @_ZN13TestInterface10markAssertEv(ptr noundef nonnull align 8 dereferenceable(9) %86)
          to label %87 unwind label %81

87:                                               ; preds = %85
  br label %88

88:                                               ; preds = %87
  br label %89

89:                                               ; preds = %88
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %6) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %5) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %4) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %3) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %2) #6
  call void @_ZN3P3D6Engine8RegistryItED2Ev(ptr noundef nonnull align 8 dereferenceable(209) %1) #6
  call void @llvm.lifetime.end.p0(i64 216, ptr %1) #6
  ret void

90:                                               ; preds = %81, %77, %63
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %6) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %5) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %4) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %3) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %2) #6
  call void @_ZN3P3D6Engine8RegistryItED2Ev(ptr noundef nonnull align 8 dereferenceable(209) %1) #6
  call void @llvm.lifetime.end.p0(i64 216, ptr %1) #6
  br label %91

91:                                               ; preds = %90
  %92 = load ptr, ptr %23, align 8
  %93 = load i32, ptr %24, align 4
  %94 = insertvalue { ptr, i32 } poison, ptr %92, 0
  %95 = insertvalue { ptr, i32 } %94, i32 %93, 1
  resume { ptr, i32 } %95

96:                                               ; preds = %76
  unreachable
}

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZN3P3D6Engine8RegistryItE3addIZNS_8viewTestEvE1AJEEENS_13intrusive_ptrIT_EERKhDpOT0_(ptr dead_on_unwind noalias writable sret(%"class.P3D::intrusive_ptr.14") align 8, ptr noundef nonnull align 8 dereferenceable(209), ptr noundef nonnull align 1 dereferenceable(1)) #2 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZN3P3D6Engine8RegistryItE3addIZNS_8viewTestEvE1BJEEENS_13intrusive_ptrIT_EERKhDpOT0_(ptr dead_on_unwind noalias writable sret(%"class.P3D::intrusive_ptr.15") align 8, ptr noundef nonnull align 8 dereferenceable(209), ptr noundef nonnull align 1 dereferenceable(1)) #2 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZN3P3D6Engine8RegistryItE3addIZNS_8viewTestEvE1CJEEENS_13intrusive_ptrIT_EERKhDpOT0_(ptr dead_on_unwind noalias writable sret(%"class.P3D::intrusive_ptr.16") align 8, ptr noundef nonnull align 8 dereferenceable(209), ptr noundef nonnull align 1 dereferenceable(1)) #2 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZN3P3D6Engine8RegistryItE4viewIJZNS_8viewTestEvE1AZNS_8viewTestEvE1BZNS_8viewTestEvE1CEEEDav(ptr dead_on_unwind noalias writable sret(%"class.P3D::Engine::Registry<unsigned short>::basic_view") align 8, ptr noundef nonnull align 8 dereferenceable(209)) #2 align 2

; Function Attrs: mustprogress uwtable
declare hidden void @_ZNK3P3D6Engine8RegistryItE10basic_viewINS2_4conjIJZNS_8viewTestEvE1AZNS_8viewTestEvE1BZNS_8viewTestEvE1CEEE25filter_transform_iteratorINSt8__detail14_Node_iteratorISt4pairIKhNS_13intrusive_ptrINS_2RCEEEELb0ELb0EEE12iterator_endZNS2_4viewIS5_JS6_S7_EEEDaNS2_4typeINS4_IJT_DpT0_EEEEEEUlRKSI_E_ZNSK_IS5_JS6_S7_EEEDaSQ_EUlSS_E0_ESJ_E5beginEv(ptr dead_on_unwind noalias writable sret(%class.filter_transform_iterator) align 8, ptr noundef nonnull align 8 dereferenceable(65)) #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZNK3P3D6Engine8RegistryItE10basic_viewINS2_4conjIJZNS_8viewTestEvE1AZNS_8viewTestEvE1BZNS_8viewTestEvE1CEEE25filter_transform_iteratorINSt8__detail14_Node_iteratorISt4pairIKhNS_13intrusive_ptrINS_2RCEEEELb0ELb0EEE12iterator_endZNS2_4viewIS5_JS6_S7_EEEDaNS2_4typeINS4_IJT_DpT0_EEEEEEUlRKSI_E_ZNSK_IS5_JS6_S7_EEEDaSQ_EUlSS_E0_ESJ_E3endEv(ptr noundef nonnull align 8 dereferenceable(65)) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef zeroext i1 @_ZNK25filter_transform_iteratorINSt8__detail14_Node_iteratorISt4pairIKhN3P3D13intrusive_ptrINS4_2RCEEEELb0ELb0EEE12iterator_endZNS4_6Engine8RegistryItE4viewIZNS4_8viewTestEvE1AJZNS4_8viewTestEvE1BZNS4_8viewTestEvE1CEEEDaNSD_4typeINSD_4conjIJT_DpT0_EEEEEEUlRKS9_E_ZNSE_ISF_JSG_SH_EEEDaSO_EUlSQ_E0_EneESA_(ptr noundef nonnull align 8 dereferenceable(49)) #2 align 2

; Function Attrs: mustprogress uwtable
declare hidden noundef zeroext i8 @_ZNK25filter_transform_iteratorINSt8__detail14_Node_iteratorISt4pairIKhN3P3D13intrusive_ptrINS4_2RCEEEELb0ELb0EEE12iterator_endZNS4_6Engine8RegistryItE4viewIZNS4_8viewTestEvE1AJZNS4_8viewTestEvE1BZNS4_8viewTestEvE1CEEEDaNSD_4typeINSD_4conjIJT_DpT0_EEEEEEUlRKS9_E_ZNSE_ISF_JSG_SH_EEEDaSO_EUlSQ_E0_EdeEv(ptr noundef nonnull align 8 dereferenceable(49)) #1 align 2

; Function Attrs: mustprogress uwtable
declare hidden noundef nonnull align 8 dereferenceable(49) ptr @_ZN25filter_transform_iteratorINSt8__detail14_Node_iteratorISt4pairIKhN3P3D13intrusive_ptrINS4_2RCEEEELb0ELb0EEE12iterator_endZNS4_6Engine8RegistryItE4viewIZNS4_8viewTestEvE1AJZNS4_8viewTestEvE1BZNS4_8viewTestEvE1CEEEDaNSD_4typeINSD_4conjIJT_DpT0_EEEEEEUlRKS9_E_ZNSE_ISF_JSG_SH_EEEDaSO_EUlSQ_E0_EppEv(ptr noundef nonnull align 8 dereferenceable(49)) #1 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden void @_ZN25filter_transform_iteratorINSt8__detail14_Node_iteratorISt4pairIKhN3P3D13intrusive_ptrINS4_2RCEEEELb0ELb0EEE12iterator_endZNS4_6Engine8RegistryItE4viewIZNS4_8viewTestEvE1AJZNS4_8viewTestEvE1BZNS4_8viewTestEvE1CEEEDaNSD_4typeINSD_4conjIJT_DpT0_EEEEEEUlRKS9_E_ZNSE_ISF_JSG_SH_EEEDaSO_EUlSQ_E0_ED2Ev(ptr noundef nonnull align 8 dereferenceable(49)) unnamed_addr #5 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden void @_ZN3P3D6Engine8RegistryItE10basic_viewINS2_4conjIJZNS_8viewTestEvE1AZNS_8viewTestEvE1BZNS_8viewTestEvE1CEEE25filter_transform_iteratorINSt8__detail14_Node_iteratorISt4pairIKhNS_13intrusive_ptrINS_2RCEEEELb0ELb0EEE12iterator_endZNS2_4viewIS5_JS6_S7_EEEDaNS2_4typeINS4_IJT_DpT0_EEEEEEUlRKSI_E_ZNSK_IS5_JS6_S7_EEEDaSQ_EUlSS_E0_ESJ_ED2Ev(ptr noundef nonnull align 8 dereferenceable(65)) unnamed_addr #5 align 2

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

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

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


; 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.P3D::Engine::Registry" = type <{ %"class.std::set", %"class.std::vector", %"class.std::unordered_map", %"class.std::queue", i8, [7 x i8] }>
%"class.std::set" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<unsigned short, unsigned short, std::_Identity<unsigned short>, P3D::Engine::Registry<unsigned short>::entity_compare>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<unsigned short, unsigned short, std::_Identity<unsigned short>, P3D::Engine::Registry<unsigned short>::entity_compare>::_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 }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<std::unordered_multimap<unsigned char, P3D::intrusive_ptr<P3D::RC>> *, std::allocator<std::unordered_multimap<unsigned char, P3D::intrusive_ptr<P3D::RC>> *>>::_Vector_impl" }
%"struct.std::_Vector_base<std::unordered_multimap<unsigned char, P3D::intrusive_ptr<P3D::RC>> *, std::allocator<std::unordered_multimap<unsigned char, P3D::intrusive_ptr<P3D::RC>> *>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::unordered_multimap<unsigned char, P3D::intrusive_ptr<P3D::RC>> *, std::allocator<std::unordered_multimap<unsigned char, P3D::intrusive_ptr<P3D::RC>> *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::unordered_multimap<unsigned char, P3D::intrusive_ptr<P3D::RC>> *, std::allocator<std::unordered_multimap<unsigned char, P3D::intrusive_ptr<P3D::RC>> *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"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::queue" = type { %"class.std::deque" }
%"class.std::deque" = type { %"class.std::_Deque_base" }
%"class.std::_Deque_base" = type { %"struct.std::_Deque_base<unsigned char, std::allocator<unsigned char>>::_Deque_impl" }
%"struct.std::_Deque_base<unsigned char, std::allocator<unsigned char>>::_Deque_impl" = type { %"struct.std::_Deque_base<unsigned char, std::allocator<unsigned char>>::_Deque_impl_data" }
%"struct.std::_Deque_base<unsigned char, std::allocator<unsigned char>>::_Deque_impl_data" = type { ptr, i64, %"struct.std::_Deque_iterator", %"struct.std::_Deque_iterator" }
%"struct.std::_Deque_iterator" = type { ptr, ptr, ptr, ptr }
%"class.P3D::intrusive_ptr.14" = type { ptr }
%"class.P3D::intrusive_ptr.15" = type { ptr }
%"class.P3D::intrusive_ptr.16" = type { ptr }
%"class.P3D::Engine::Registry<unsigned short>::basic_view" = type <{ ptr, %class.filter_transform_iterator, [8 x i8] }>
%class.filter_transform_iterator = type <{ %"struct.std::__detail::_Node_iterator", %"struct.std::__detail::_Node_iterator", %class.anon, [8 x i8] }>
%"struct.std::__detail::_Node_iterator" = type { %"struct.std::__detail::_Node_iterator_base" }
%"struct.std::__detail::_Node_iterator_base" = type { ptr }
%class.anon = type { ptr, %"class.std::vector.17" }
%"class.std::vector.17" = type { %"struct.std::_Vector_base.18" }
%"struct.std::_Vector_base.18" = type { %"struct.std::_Vector_base<unsigned short, std::allocator<unsigned short>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned short, std::allocator<unsigned short>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned short, std::allocator<unsigned short>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned short, std::allocator<unsigned short>>::_Vector_impl_data" = type { ptr, ptr, ptr }

@_ZN3P3D6Engine8RegistryItE11null_entityE = external dso_local global i8, align 1
@.str.3 = external hidden unnamed_addr constant [6 x i8], align 1
@_ZTI14AssertionError = external dso_local constant { ptr, ptr }, align 8

; 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 uwtable
declare dso_local void @_ZN3P3D6Engine8RegistryItEC2Ev(ptr noundef nonnull align 8 dereferenceable(209)) unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i8 @_ZN3P3D6Engine8RegistryItE6createERKh(ptr noundef nonnull align 8 dereferenceable(209), ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #2 align 2

; Function Attrs: uwtable
declare hidden noundef ptr @_ZTW15__testInterface() local_unnamed_addr #3

declare ptr @__cxa_allocate_exception(i64) local_unnamed_addr

declare void @_ZN14AssertionErrorC1EiPKc(ptr noundef nonnull align 8 dereferenceable(12), i32 noundef, ptr noundef) unnamed_addr #4

declare i32 @__gxx_personality_v0(...)

declare void @__cxa_free_exception(ptr) local_unnamed_addr

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3P3D8viewTestEv() local_unnamed_addr #1 personality ptr @__gxx_personality_v0 {
  %1 = alloca %"class.P3D::Engine::Registry", align 8
  %2 = alloca i8, align 1
  %3 = alloca i8, align 1
  %4 = alloca i8, align 1
  %5 = alloca i8, align 1
  %6 = alloca i8, align 1
  %7 = alloca %"class.P3D::intrusive_ptr.14", align 8
  %8 = alloca %"class.P3D::intrusive_ptr.14", align 8
  %9 = alloca %"class.P3D::intrusive_ptr.14", align 8
  %10 = alloca %"class.P3D::intrusive_ptr.14", align 8
  %11 = alloca %"class.P3D::intrusive_ptr.15", align 8
  %12 = alloca %"class.P3D::intrusive_ptr.15", align 8
  %13 = alloca %"class.P3D::intrusive_ptr.15", align 8
  %14 = alloca %"class.P3D::intrusive_ptr.16", align 8
  %15 = alloca %"class.P3D::intrusive_ptr.16", align 8
  %16 = alloca %"class.P3D::intrusive_ptr.16", align 8
  %17 = alloca %"class.P3D::intrusive_ptr.16", align 8
  %18 = alloca %"class.P3D::intrusive_ptr.16", align 8
  %19 = alloca %"class.P3D::Engine::Registry<unsigned short>::basic_view", align 8
  %20 = alloca %class.filter_transform_iterator, align 8
  call void @llvm.lifetime.start.p0(i64 216, ptr nonnull %1) #6
  call void @_ZN3P3D6Engine8RegistryItEC2Ev(ptr noundef nonnull align 8 dereferenceable(209) %1)
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %2) #6
  %21 = call noundef zeroext i8 @_ZN3P3D6Engine8RegistryItE6createERKh(ptr noundef nonnull align 8 dereferenceable(209) %1, ptr noundef nonnull align 1 dereferenceable(1) @_ZN3P3D6Engine8RegistryItE11null_entityE) #6
  store i8 %21, ptr %2, align 1, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %3) #6
  %22 = call noundef zeroext i8 @_ZN3P3D6Engine8RegistryItE6createERKh(ptr noundef nonnull align 8 dereferenceable(209) %1, ptr noundef nonnull align 1 dereferenceable(1) @_ZN3P3D6Engine8RegistryItE11null_entityE) #6
  store i8 %22, ptr %3, align 1, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %4) #6
  %23 = call noundef zeroext i8 @_ZN3P3D6Engine8RegistryItE6createERKh(ptr noundef nonnull align 8 dereferenceable(209) %1, ptr noundef nonnull align 1 dereferenceable(1) @_ZN3P3D6Engine8RegistryItE11null_entityE) #6
  store i8 %23, ptr %4, align 1, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %5) #6
  %24 = call noundef zeroext i8 @_ZN3P3D6Engine8RegistryItE6createERKh(ptr noundef nonnull align 8 dereferenceable(209) %1, ptr noundef nonnull align 1 dereferenceable(1) @_ZN3P3D6Engine8RegistryItE11null_entityE) #6
  store i8 %24, ptr %5, align 1, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %6) #6
  %25 = call noundef zeroext i8 @_ZN3P3D6Engine8RegistryItE6createERKh(ptr noundef nonnull align 8 dereferenceable(209) %1, ptr noundef nonnull align 1 dereferenceable(1) @_ZN3P3D6Engine8RegistryItE11null_entityE) #6
  store i8 %25, ptr %6, align 1, !tbaa !5
  call void @_ZN3P3D6Engine8RegistryItE3addIZNS_8viewTestEvE1AJEEENS_13intrusive_ptrIT_EERKhDpOT0_(ptr dead_on_unwind nonnull writable sret(%"class.P3D::intrusive_ptr.14") align 8 %7, ptr noundef nonnull align 8 dereferenceable(209) %1, ptr noundef nonnull align 1 dereferenceable(1) %2) #6
  call void @_ZN3P3D13intrusive_ptrIZNS_8viewTestEvE1AED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %7) #6
  call void @_ZN3P3D6Engine8RegistryItE3addIZNS_8viewTestEvE1AJEEENS_13intrusive_ptrIT_EERKhDpOT0_(ptr dead_on_unwind nonnull writable sret(%"class.P3D::intrusive_ptr.14") align 8 %8, ptr noundef nonnull align 8 dereferenceable(209) %1, ptr noundef nonnull align 1 dereferenceable(1) %3) #6
  call void @_ZN3P3D13intrusive_ptrIZNS_8viewTestEvE1AED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %8) #6
  call void @_ZN3P3D6Engine8RegistryItE3addIZNS_8viewTestEvE1AJEEENS_13intrusive_ptrIT_EERKhDpOT0_(ptr dead_on_unwind nonnull writable sret(%"class.P3D::intrusive_ptr.14") align 8 %9, ptr noundef nonnull align 8 dereferenceable(209) %1, ptr noundef nonnull align 1 dereferenceable(1) %4) #6
  call void @_ZN3P3D13intrusive_ptrIZNS_8viewTestEvE1AED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %9) #6
  call void @_ZN3P3D6Engine8RegistryItE3addIZNS_8viewTestEvE1AJEEENS_13intrusive_ptrIT_EERKhDpOT0_(ptr dead_on_unwind nonnull writable sret(%"class.P3D::intrusive_ptr.14") align 8 %10, ptr noundef nonnull align 8 dereferenceable(209) %1, ptr noundef nonnull align 1 dereferenceable(1) %5) #6
  call void @_ZN3P3D13intrusive_ptrIZNS_8viewTestEvE1AED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %10) #6
  call void @_ZN3P3D6Engine8RegistryItE3addIZNS_8viewTestEvE1BJEEENS_13intrusive_ptrIT_EERKhDpOT0_(ptr dead_on_unwind nonnull writable sret(%"class.P3D::intrusive_ptr.15") align 8 %11, ptr noundef nonnull align 8 dereferenceable(209) %1, ptr noundef nonnull align 1 dereferenceable(1) %2) #6
  call void @_ZN3P3D13intrusive_ptrIZNS_8viewTestEvE1BED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %11) #6
  call void @_ZN3P3D6Engine8RegistryItE3addIZNS_8viewTestEvE1BJEEENS_13intrusive_ptrIT_EERKhDpOT0_(ptr dead_on_unwind nonnull writable sret(%"class.P3D::intrusive_ptr.15") align 8 %12, ptr noundef nonnull align 8 dereferenceable(209) %1, ptr noundef nonnull align 1 dereferenceable(1) %4) #6
  call void @_ZN3P3D13intrusive_ptrIZNS_8viewTestEvE1BED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %12) #6
  call void @_ZN3P3D6Engine8RegistryItE3addIZNS_8viewTestEvE1BJEEENS_13intrusive_ptrIT_EERKhDpOT0_(ptr dead_on_unwind nonnull writable sret(%"class.P3D::intrusive_ptr.15") align 8 %13, ptr noundef nonnull align 8 dereferenceable(209) %1, ptr noundef nonnull align 1 dereferenceable(1) %6) #6
  call void @_ZN3P3D13intrusive_ptrIZNS_8viewTestEvE1BED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %13) #6
  call void @_ZN3P3D6Engine8RegistryItE3addIZNS_8viewTestEvE1CJEEENS_13intrusive_ptrIT_EERKhDpOT0_(ptr dead_on_unwind nonnull writable sret(%"class.P3D::intrusive_ptr.16") align 8 %14, ptr noundef nonnull align 8 dereferenceable(209) %1, ptr noundef nonnull align 1 dereferenceable(1) %2) #6
  call void @_ZN3P3D13intrusive_ptrIZNS_8viewTestEvE1CED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %14) #6
  call void @_ZN3P3D6Engine8RegistryItE3addIZNS_8viewTestEvE1CJEEENS_13intrusive_ptrIT_EERKhDpOT0_(ptr dead_on_unwind nonnull writable sret(%"class.P3D::intrusive_ptr.16") align 8 %15, ptr noundef nonnull align 8 dereferenceable(209) %1, ptr noundef nonnull align 1 dereferenceable(1) %3) #6
  call void @_ZN3P3D13intrusive_ptrIZNS_8viewTestEvE1CED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %15) #6
  call void @_ZN3P3D6Engine8RegistryItE3addIZNS_8viewTestEvE1CJEEENS_13intrusive_ptrIT_EERKhDpOT0_(ptr dead_on_unwind nonnull writable sret(%"class.P3D::intrusive_ptr.16") align 8 %16, ptr noundef nonnull align 8 dereferenceable(209) %1, ptr noundef nonnull align 1 dereferenceable(1) %4) #6
  call void @_ZN3P3D13intrusive_ptrIZNS_8viewTestEvE1CED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %16) #6
  call void @_ZN3P3D6Engine8RegistryItE3addIZNS_8viewTestEvE1CJEEENS_13intrusive_ptrIT_EERKhDpOT0_(ptr dead_on_unwind nonnull writable sret(%"class.P3D::intrusive_ptr.16") align 8 %17, ptr noundef nonnull align 8 dereferenceable(209) %1, ptr noundef nonnull align 1 dereferenceable(1) %5) #6
  call void @_ZN3P3D13intrusive_ptrIZNS_8viewTestEvE1CED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %17) #6
  call void @_ZN3P3D6Engine8RegistryItE3addIZNS_8viewTestEvE1CJEEENS_13intrusive_ptrIT_EERKhDpOT0_(ptr dead_on_unwind nonnull writable sret(%"class.P3D::intrusive_ptr.16") align 8 %18, ptr noundef nonnull align 8 dereferenceable(209) %1, ptr noundef nonnull align 1 dereferenceable(1) %6) #6
  call void @_ZN3P3D13intrusive_ptrIZNS_8viewTestEvE1CED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %18) #6
  call void @llvm.lifetime.start.p0(i64 72, ptr nonnull %19) #6
  call void @_ZN3P3D6Engine8RegistryItE4viewIJZNS_8viewTestEvE1AZNS_8viewTestEvE1BZNS_8viewTestEvE1CEEEDav(ptr dead_on_unwind nonnull writable sret(%"class.P3D::Engine::Registry<unsigned short>::basic_view") align 8 %19, ptr noundef nonnull align 8 dereferenceable(209) %1) #6
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %20) #6
  invoke void @_ZNK3P3D6Engine8RegistryItE10basic_viewINS2_4conjIJZNS_8viewTestEvE1AZNS_8viewTestEvE1BZNS_8viewTestEvE1CEEE25filter_transform_iteratorINSt8__detail14_Node_iteratorISt4pairIKhNS_13intrusive_ptrINS_2RCEEEELb0ELb0EEE12iterator_endZNS2_4viewIS5_JS6_S7_EEEDaNS2_4typeINS4_IJT_DpT0_EEEEEEUlRKSI_E_ZNSK_IS5_JS6_S7_EEEDaSQ_EUlSS_E0_ESJ_E5beginEv(ptr dead_on_unwind nonnull writable sret(%class.filter_transform_iterator) align 8 %20, ptr noundef nonnull align 8 dereferenceable(65) %19)
          to label %26 unwind label %32

26:                                               ; preds = %0
  call void @_ZNK3P3D6Engine8RegistryItE10basic_viewINS2_4conjIJZNS_8viewTestEvE1AZNS_8viewTestEvE1BZNS_8viewTestEvE1CEEE25filter_transform_iteratorINSt8__detail14_Node_iteratorISt4pairIKhNS_13intrusive_ptrINS_2RCEEEELb0ELb0EEE12iterator_endZNS2_4viewIS5_JS6_S7_EEEDaNS2_4typeINS4_IJT_DpT0_EEEEEEUlRKSI_E_ZNSK_IS5_JS6_S7_EEEDaSQ_EUlSS_E0_ESJ_E3endEv(ptr noundef nonnull align 8 dereferenceable(65) %19)
  br label %27

27:                                               ; preds = %38, %26
  %.0 = phi i64 [ 0, %26 ], [ %39, %38 ]
  %28 = call noundef zeroext i1 @_ZNK25filter_transform_iteratorINSt8__detail14_Node_iteratorISt4pairIKhN3P3D13intrusive_ptrINS4_2RCEEEELb0ELb0EEE12iterator_endZNS4_6Engine8RegistryItE4viewIZNS4_8viewTestEvE1AJZNS4_8viewTestEvE1BZNS4_8viewTestEvE1CEEEDaNSD_4typeINSD_4conjIJT_DpT0_EEEEEEUlRKS9_E_ZNSE_ISF_JSG_SH_EEEDaSO_EUlSQ_E0_EneESA_(ptr noundef nonnull align 8 dereferenceable(49) %20)
  br i1 %28, label %36, label %29

29:                                               ; preds = %27
  call void @_ZN25filter_transform_iteratorINSt8__detail14_Node_iteratorISt4pairIKhN3P3D13intrusive_ptrINS4_2RCEEEELb0ELb0EEE12iterator_endZNS4_6Engine8RegistryItE4viewIZNS4_8viewTestEvE1AJZNS4_8viewTestEvE1BZNS4_8viewTestEvE1CEEEDaNSD_4typeINSD_4conjIJT_DpT0_EEEEEEUlRKS9_E_ZNSE_ISF_JSG_SH_EEEDaSO_EUlSQ_E0_ED2Ev(ptr noundef nonnull align 8 dereferenceable(49) %20) #6
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %20) #6
  call void @_ZN3P3D6Engine8RegistryItE10basic_viewINS2_4conjIJZNS_8viewTestEvE1AZNS_8viewTestEvE1BZNS_8viewTestEvE1CEEE25filter_transform_iteratorINSt8__detail14_Node_iteratorISt4pairIKhNS_13intrusive_ptrINS_2RCEEEELb0ELb0EEE12iterator_endZNS2_4viewIS5_JS6_S7_EEEDaNS2_4typeINS4_IJT_DpT0_EEEEEEUlRKSI_E_ZNSK_IS5_JS6_S7_EEEDaSQ_EUlSS_E0_ESJ_ED2Ev(ptr noundef nonnull align 8 dereferenceable(65) %19) #6
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %19) #6
  %30 = icmp eq i64 %.0, 2
  %31 = call ptr @_ZTW15__testInterface()
  br i1 %30, label %52, label %45

32:                                               ; preds = %0
  %33 = landingpad { ptr, i32 }
          cleanup
  br label %44

34:                                               ; preds = %38
  %35 = landingpad { ptr, i32 }
          cleanup
  br label %43

36:                                               ; preds = %27
  %37 = invoke noundef zeroext i8 @_ZNK25filter_transform_iteratorINSt8__detail14_Node_iteratorISt4pairIKhN3P3D13intrusive_ptrINS4_2RCEEEELb0ELb0EEE12iterator_endZNS4_6Engine8RegistryItE4viewIZNS4_8viewTestEvE1AJZNS4_8viewTestEvE1BZNS4_8viewTestEvE1CEEEDaNSD_4typeINSD_4conjIJT_DpT0_EEEEEEUlRKS9_E_ZNSE_ISF_JSG_SH_EEEDaSO_EUlSQ_E0_EdeEv(ptr noundef nonnull align 8 dereferenceable(49) %20)
          to label %38 unwind label %41

38:                                               ; preds = %36
  %39 = add i64 %.0, 1
  %40 = invoke noundef nonnull align 8 dereferenceable(49) ptr @_ZN25filter_transform_iteratorINSt8__detail14_Node_iteratorISt4pairIKhN3P3D13intrusive_ptrINS4_2RCEEEELb0ELb0EEE12iterator_endZNS4_6Engine8RegistryItE4viewIZNS4_8viewTestEvE1AJZNS4_8viewTestEvE1BZNS4_8viewTestEvE1CEEEDaNSD_4typeINSD_4conjIJT_DpT0_EEEEEEUlRKS9_E_ZNSE_ISF_JSG_SH_EEEDaSO_EUlSQ_E0_EppEv(ptr noundef nonnull align 8 dereferenceable(49) %20)
          to label %27 unwind label %34

41:                                               ; preds = %36
  %42 = landingpad { ptr, i32 }
          cleanup
  br label %43

43:                                               ; preds = %41, %34
  %.pn = phi { ptr, i32 } [ %35, %34 ], [ %42, %41 ]
  call void @_ZN25filter_transform_iteratorINSt8__detail14_Node_iteratorISt4pairIKhN3P3D13intrusive_ptrINS4_2RCEEEELb0ELb0EEE12iterator_endZNS4_6Engine8RegistryItE4viewIZNS4_8viewTestEvE1AJZNS4_8viewTestEvE1BZNS4_8viewTestEvE1CEEEDaNSD_4typeINSD_4conjIJT_DpT0_EEEEEEUlRKS9_E_ZNSE_ISF_JSG_SH_EEEDaSO_EUlSQ_E0_ED2Ev(ptr noundef nonnull align 8 dereferenceable(49) %20) #6
  br label %44

44:                                               ; preds = %43, %32
  %.pn.pn = phi { ptr, i32 } [ %.pn, %43 ], [ %33, %32 ]
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %20) #6
  call void @_ZN3P3D6Engine8RegistryItE10basic_viewINS2_4conjIJZNS_8viewTestEvE1AZNS_8viewTestEvE1BZNS_8viewTestEvE1CEEE25filter_transform_iteratorINSt8__detail14_Node_iteratorISt4pairIKhNS_13intrusive_ptrINS_2RCEEEELb0ELb0EEE12iterator_endZNS2_4viewIS5_JS6_S7_EEEDaNS2_4typeINS4_IJT_DpT0_EEEEEEUlRKSI_E_ZNSK_IS5_JS6_S7_EEEDaSQ_EUlSS_E0_ESJ_ED2Ev(ptr noundef nonnull align 8 dereferenceable(65) %19) #6
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %19) #6
  br label %53

45:                                               ; preds = %29
  %46 = call ptr @__cxa_allocate_exception(i64 16) #6
  invoke void @_ZN14AssertionErrorC1EiPKc(ptr noundef nonnull align 8 dereferenceable(12) %46, i32 noundef 86, ptr noundef nonnull @.str.3)
          to label %47 unwind label %48

47:                                               ; preds = %45
  invoke void @__cxa_throw(ptr nonnull %46, ptr nonnull @_ZTI14AssertionError, ptr null) #7
          to label %54 unwind label %50

48:                                               ; preds = %45
  %49 = landingpad { ptr, i32 }
          cleanup
  call void @__cxa_free_exception(ptr %46) #6
  br label %53

50:                                               ; preds = %47
  %51 = landingpad { ptr, i32 }
          cleanup
  br label %53

52:                                               ; preds = %29
  call void @_ZN13TestInterface10markAssertEv(ptr noundef nonnull align 8 dereferenceable(9) %31)
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %6) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %5) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %4) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %3) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %2) #6
  call void @_ZN3P3D6Engine8RegistryItED2Ev(ptr noundef nonnull align 8 dereferenceable(209) %1) #6
  call void @llvm.lifetime.end.p0(i64 216, ptr nonnull %1) #6
  ret void

53:                                               ; preds = %50, %48, %44
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %44 ], [ %51, %50 ], [ %49, %48 ]
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %6) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %5) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %4) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %3) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %2) #6
  call void @_ZN3P3D6Engine8RegistryItED2Ev(ptr noundef nonnull align 8 dereferenceable(209) %1) #6
  call void @llvm.lifetime.end.p0(i64 216, ptr nonnull %1) #6
  resume { ptr, i32 } %.pn.pn.pn

54:                                               ; preds = %47
  unreachable
}

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZN3P3D6Engine8RegistryItE3addIZNS_8viewTestEvE1AJEEENS_13intrusive_ptrIT_EERKhDpOT0_(ptr dead_on_unwind noalias writable sret(%"class.P3D::intrusive_ptr.14") align 8, ptr noundef nonnull align 8 dereferenceable(209), ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #2 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZN3P3D6Engine8RegistryItE3addIZNS_8viewTestEvE1BJEEENS_13intrusive_ptrIT_EERKhDpOT0_(ptr dead_on_unwind noalias writable sret(%"class.P3D::intrusive_ptr.15") align 8, ptr noundef nonnull align 8 dereferenceable(209), ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #2 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZN3P3D6Engine8RegistryItE3addIZNS_8viewTestEvE1CJEEENS_13intrusive_ptrIT_EERKhDpOT0_(ptr dead_on_unwind noalias writable sret(%"class.P3D::intrusive_ptr.16") align 8, ptr noundef nonnull align 8 dereferenceable(209), ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #2 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZN3P3D6Engine8RegistryItE4viewIJZNS_8viewTestEvE1AZNS_8viewTestEvE1BZNS_8viewTestEvE1CEEEDav(ptr dead_on_unwind noalias writable sret(%"class.P3D::Engine::Registry<unsigned short>::basic_view") align 8, ptr noundef nonnull align 8 dereferenceable(209)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare hidden void @_ZNK3P3D6Engine8RegistryItE10basic_viewINS2_4conjIJZNS_8viewTestEvE1AZNS_8viewTestEvE1BZNS_8viewTestEvE1CEEE25filter_transform_iteratorINSt8__detail14_Node_iteratorISt4pairIKhNS_13intrusive_ptrINS_2RCEEEELb0ELb0EEE12iterator_endZNS2_4viewIS5_JS6_S7_EEEDaNS2_4typeINS4_IJT_DpT0_EEEEEEUlRKSI_E_ZNSK_IS5_JS6_S7_EEEDaSQ_EUlSS_E0_ESJ_E5beginEv(ptr dead_on_unwind noalias writable sret(%class.filter_transform_iterator) align 8, ptr noundef nonnull align 8 dereferenceable(65)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZNK3P3D6Engine8RegistryItE10basic_viewINS2_4conjIJZNS_8viewTestEvE1AZNS_8viewTestEvE1BZNS_8viewTestEvE1CEEE25filter_transform_iteratorINSt8__detail14_Node_iteratorISt4pairIKhNS_13intrusive_ptrINS_2RCEEEELb0ELb0EEE12iterator_endZNS2_4viewIS5_JS6_S7_EEEDaNS2_4typeINS4_IJT_DpT0_EEEEEEUlRKSI_E_ZNSK_IS5_JS6_S7_EEEDaSQ_EUlSS_E0_ESJ_E3endEv(ptr noundef nonnull align 8 dereferenceable(65)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef zeroext i1 @_ZNK25filter_transform_iteratorINSt8__detail14_Node_iteratorISt4pairIKhN3P3D13intrusive_ptrINS4_2RCEEEELb0ELb0EEE12iterator_endZNS4_6Engine8RegistryItE4viewIZNS4_8viewTestEvE1AJZNS4_8viewTestEvE1BZNS4_8viewTestEvE1CEEEDaNSD_4typeINSD_4conjIJT_DpT0_EEEEEEUlRKS9_E_ZNSE_ISF_JSG_SH_EEEDaSO_EUlSQ_E0_EneESA_(ptr noundef nonnull align 8 dereferenceable(49)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare hidden noundef zeroext i8 @_ZNK25filter_transform_iteratorINSt8__detail14_Node_iteratorISt4pairIKhN3P3D13intrusive_ptrINS4_2RCEEEELb0ELb0EEE12iterator_endZNS4_6Engine8RegistryItE4viewIZNS4_8viewTestEvE1AJZNS4_8viewTestEvE1BZNS4_8viewTestEvE1CEEEDaNSD_4typeINSD_4conjIJT_DpT0_EEEEEEUlRKS9_E_ZNSE_ISF_JSG_SH_EEEDaSO_EUlSQ_E0_EdeEv(ptr noundef nonnull align 8 dereferenceable(49)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare hidden noundef nonnull align 8 dereferenceable(49) ptr @_ZN25filter_transform_iteratorINSt8__detail14_Node_iteratorISt4pairIKhN3P3D13intrusive_ptrINS4_2RCEEEELb0ELb0EEE12iterator_endZNS4_6Engine8RegistryItE4viewIZNS4_8viewTestEvE1AJZNS4_8viewTestEvE1BZNS4_8viewTestEvE1CEEEDaNSD_4typeINSD_4conjIJT_DpT0_EEEEEEUlRKS9_E_ZNSE_ISF_JSG_SH_EEEDaSO_EUlSQ_E0_EppEv(ptr noundef nonnull align 8 dereferenceable(49)) local_unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden void @_ZN25filter_transform_iteratorINSt8__detail14_Node_iteratorISt4pairIKhN3P3D13intrusive_ptrINS4_2RCEEEELb0ELb0EEE12iterator_endZNS4_6Engine8RegistryItE4viewIZNS4_8viewTestEvE1AJZNS4_8viewTestEvE1BZNS4_8viewTestEvE1CEEEDaNSD_4typeINSD_4conjIJT_DpT0_EEEEEEUlRKS9_E_ZNSE_ISF_JSG_SH_EEEDaSO_EUlSQ_E0_ED2Ev(ptr noundef nonnull align 8 dereferenceable(49)) unnamed_addr #5 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden void @_ZN3P3D6Engine8RegistryItE10basic_viewINS2_4conjIJZNS_8viewTestEvE1AZNS_8viewTestEvE1BZNS_8viewTestEvE1CEEE25filter_transform_iteratorINSt8__detail14_Node_iteratorISt4pairIKhNS_13intrusive_ptrINS_2RCEEEELb0ELb0EEE12iterator_endZNS2_4viewIS5_JS6_S7_EEEDaNS2_4typeINS4_IJT_DpT0_EEEEEEUlRKSI_E_ZNSK_IS5_JS6_S7_EEEDaSQ_EUlSS_E0_ESJ_ED2Ev(ptr noundef nonnull align 8 dereferenceable(65)) unnamed_addr #5 align 2

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

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

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


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,LCSSAPass,LoopUnrollPass,SROAPass,SimplifyCFGPass