; LLVM IR from yangfengzzz/DigitalVox4 :: editor (imgui_node_editor)

; 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.__gnu_cxx::__normal_iterator.71" = type { ptr }
%struct.ImVec2 = type { float, float }
%struct.ImRect = type { %struct.ImVec2, %struct.ImVec2 }
%"class.std::vector.62" = type { %"struct.std::_Vector_base.63" }
%"struct.std::_Vector_base.63" = type { %"struct.std::_Vector_base<vox::NodeEditor::Detail::Node *, std::allocator<vox::NodeEditor::Detail::Node *>>::_Vector_impl" }
%"struct.std::_Vector_base<vox::NodeEditor::Detail::Node *, std::allocator<vox::NodeEditor::Detail::Node *>>::_Vector_impl" = type { %"struct.std::_Vector_base<vox::NodeEditor::Detail::Node *, std::allocator<vox::NodeEditor::Detail::Node *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<vox::NodeEditor::Detail::Node *, std::allocator<vox::NodeEditor::Detail::Node *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.87" = type { %"struct.std::_Vector_base.88" }
%"struct.std::_Vector_base.88" = type { %"struct.std::_Vector_base<vox::NodeEditor::Detail::Link *, std::allocator<vox::NodeEditor::Detail::Link *>>::_Vector_impl" }
%"struct.std::_Vector_base<vox::NodeEditor::Detail::Link *, std::allocator<vox::NodeEditor::Detail::Link *>>::_Vector_impl" = type { %"struct.std::_Vector_base<vox::NodeEditor::Detail::Link *, std::allocator<vox::NodeEditor::Detail::Link *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<vox::NodeEditor::Detail::Link *, std::allocator<vox::NodeEditor::Detail::Link *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.__gnu_cxx::__normal_iterator.143" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.139" = type { ptr }
%class.anon.144 = type { i8 }
%"class.__gnu_cxx::__normal_iterator.86" = type { ptr }
%class.anon.146 = type { i8 }
%"struct.vox::NodeEditor::Detail::SelectAction" = type { %"struct.vox::NodeEditor::Detail::EditorAction", i8, i8, i8, i8, %struct.ImVec2, %struct.ImVec2, %"class.std::vector.28", %"class.std::vector.28", %"struct.vox::NodeEditor::Detail::Animation" }
%"struct.vox::NodeEditor::Detail::EditorAction" = type { ptr, ptr }
%"class.std::vector.28" = type { %"struct.std::_Vector_base.29" }
%"struct.std::_Vector_base.29" = type { %"struct.std::_Vector_base<vox::NodeEditor::Detail::Object *, std::allocator<vox::NodeEditor::Detail::Object *>>::_Vector_impl" }
%"struct.std::_Vector_base<vox::NodeEditor::Detail::Object *, std::allocator<vox::NodeEditor::Detail::Object *>>::_Vector_impl" = type { %"struct.std::_Vector_base<vox::NodeEditor::Detail::Object *, std::allocator<vox::NodeEditor::Detail::Object *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<vox::NodeEditor::Detail::Object *, std::allocator<vox::NodeEditor::Detail::Object *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.vox::NodeEditor::Detail::Animation" = type <{ ptr, ptr, i32, float, float, [4 x i8] }>

; 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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3vox10NodeEditor6Detail13EditorContext15FindNodesInRectERK6ImRectRSt6vectorIPNS1_4NodeESaIS8_EEbb(ptr noundef nonnull align 8 dereferenceable(2040), ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(24), i1 noundef zeroext, i1 noundef zeroext) #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef, float noundef) #3

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3vox10NodeEditor6Detail13EditorContext14ClearSelectionEv(ptr noundef nonnull align 8 dereferenceable(2040)) #4 align 2

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3vox10NodeEditor6Detail13EditorContext15FindLinksInRectERK6ImRectRSt6vectorIPNS1_4LinkESaIS8_EEb(ptr noundef nonnull align 8 dereferenceable(2040), ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(24), i1 noundef zeroext) #2 align 2

declare <2 x float> @_ZN5ImGui11GetMousePosEv() #5

declare noundef zeroext i1 @_ZN5ImGui15IsMouseDraggingEif(i32 noundef, float noundef) #5

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN3vox10NodeEditor6Detail12SelectAction7ProcessERKNS1_7ControlE(ptr noundef nonnull align 8 dereferenceable(120) %0, ptr noundef nonnull align 8 dereferenceable(132) %1) unnamed_addr #6 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca i1, align 1
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca %"class.__gnu_cxx::__normal_iterator.71", align 8
  %8 = alloca %"class.__gnu_cxx::__normal_iterator.71", align 8
  %9 = alloca ptr, align 8
  %10 = alloca %struct.ImVec2, align 4
  %11 = alloca %struct.ImVec2, align 4
  %12 = alloca %struct.ImVec2, align 4
  %13 = alloca %struct.ImRect, align 4
  %14 = alloca %"class.std::vector.62", align 8
  %15 = alloca %"class.std::vector.87", align 8
  %16 = alloca ptr, align 8
  %17 = alloca i32, align 4
  %18 = alloca %"class.__gnu_cxx::__normal_iterator.143", align 8
  %19 = alloca %"class.__gnu_cxx::__normal_iterator.143", align 8
  %20 = alloca %"class.__gnu_cxx::__normal_iterator.139", align 8
  %21 = alloca %"class.__gnu_cxx::__normal_iterator.139", align 8
  %22 = alloca %"class.__gnu_cxx::__normal_iterator.71", align 8
  %23 = alloca %"class.__gnu_cxx::__normal_iterator.71", align 8
  %24 = alloca %"class.__gnu_cxx::__normal_iterator.71", align 8
  %25 = alloca %class.anon.144, align 1
  %26 = alloca %"class.__gnu_cxx::__normal_iterator.86", align 8
  %27 = alloca %"class.__gnu_cxx::__normal_iterator.86", align 8
  %28 = alloca %"class.__gnu_cxx::__normal_iterator.71", align 8
  %29 = alloca %"class.__gnu_cxx::__normal_iterator.71", align 8
  %30 = alloca %"class.__gnu_cxx::__normal_iterator.71", align 8
  %31 = alloca %"class.__gnu_cxx::__normal_iterator.71", align 8
  %32 = alloca %"class.__gnu_cxx::__normal_iterator.71", align 8
  %33 = alloca %class.anon.146, align 1
  %34 = alloca %"class.__gnu_cxx::__normal_iterator.86", align 8
  %35 = alloca %"class.__gnu_cxx::__normal_iterator.86", align 8
  %36 = alloca %"class.__gnu_cxx::__normal_iterator.71", align 8
  %37 = alloca %"class.__gnu_cxx::__normal_iterator.71", align 8
  %38 = alloca %"class.__gnu_cxx::__normal_iterator.86", align 8
  %39 = alloca %"class.__gnu_cxx::__normal_iterator.71", align 8
  %40 = alloca %"class.__gnu_cxx::__normal_iterator.71", align 8
  %41 = alloca %"class.__gnu_cxx::__normal_iterator.71", align 8
  %42 = alloca %"class.__gnu_cxx::__normal_iterator.71", align 8
  %43 = alloca %"class.__gnu_cxx::__normal_iterator.71", align 8
  %44 = alloca %"class.__gnu_cxx::__normal_iterator.71", align 8
  %45 = alloca %"class.__gnu_cxx::__normal_iterator.86", align 8
  %46 = alloca %"class.__gnu_cxx::__normal_iterator.71", align 8
  %47 = alloca %"class.__gnu_cxx::__normal_iterator.71", align 8
  %48 = alloca %"class.__gnu_cxx::__normal_iterator.71", align 8
  %49 = alloca %"class.__gnu_cxx::__normal_iterator.86", align 8
  %50 = alloca %"class.__gnu_cxx::__normal_iterator.71", align 8
  %51 = alloca %"class.__gnu_cxx::__normal_iterator.71", align 8
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  %52 = load ptr, ptr %4, align 8
  %53 = load ptr, ptr %5, align 8, !tbaa !5
  %54 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::SelectAction", ptr %52, i32 0, i32 4
  %55 = load i8, ptr %54, align 1, !tbaa !9, !range !21, !noundef !22
  %56 = trunc i8 %55 to i1
  br i1 %56, label %57, label %81

57:                                               ; preds = %2
  %58 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::EditorAction", ptr %52, i32 0, i32 1
  %59 = load ptr, ptr %58, align 8, !tbaa !23
  call void @_ZN3vox10NodeEditor6Detail13EditorContext14ClearSelectionEv(ptr noundef nonnull align 8 dereferenceable(2040) %59)
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #8
  %60 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::SelectAction", ptr %52, i32 0, i32 7
  store ptr %60, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #8
  %61 = load ptr, ptr %6, align 8, !tbaa !5
  %62 = call ptr @_ZNSt6vectorIPN3vox10NodeEditor6Detail6ObjectESaIS4_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %61) #8
  %63 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.71", ptr %7, i32 0, i32 0
  store ptr %62, ptr %63, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #8
  %64 = load ptr, ptr %6, align 8, !tbaa !5
  %65 = call ptr @_ZNSt6vectorIPN3vox10NodeEditor6Detail6ObjectESaIS4_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %64) #8
  %66 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.71", ptr %8, i32 0, i32 0
  store ptr %65, ptr %66, align 8
  br label %67

67:                                               ; preds = %76, %57
  %68 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPPN3vox10NodeEditor6Detail6ObjectESt6vectorIS5_SaIS5_EEEEbRKNS_17__normal_iteratorIT_T0_EESF_(ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull align 8 dereferenceable(8) %8) #8
  br i1 %68, label %70, label %69

69:                                               ; preds = %67
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #8
  br label %78

70:                                               ; preds = %67
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #8
  %71 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPPN3vox10NodeEditor6Detail6ObjectESt6vectorIS5_SaIS5_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %7) #8
  %72 = load ptr, ptr %71, align 8, !tbaa !5
  store ptr %72, ptr %9, align 8, !tbaa !5
  %73 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::EditorAction", ptr %52, i32 0, i32 1
  %74 = load ptr, ptr %73, align 8, !tbaa !23
  %75 = load ptr, ptr %9, align 8, !tbaa !5
  call void @_ZN3vox10NodeEditor6Detail13EditorContext12SelectObjectEPNS1_6ObjectE(ptr noundef nonnull align 8 dereferenceable(2040) %74, ptr noundef %75)
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #8
  br label %76

76:                                               ; preds = %70
  %77 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPPN3vox10NodeEditor6Detail6ObjectESt6vectorIS5_SaIS5_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %7) #8
  br label %67

78:                                               ; preds = %69
  %79 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::SelectAction", ptr %52, i32 0, i32 7
  call void @_ZNSt6vectorIPN3vox10NodeEditor6Detail6ObjectESaIS4_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %79) #8
  %80 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::SelectAction", ptr %52, i32 0, i32 4
  store i8 0, ptr %80, align 1, !tbaa !9
  br label %81

81:                                               ; preds = %78, %2
  %82 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::SelectAction", ptr %52, i32 0, i32 1
  %83 = load i8, ptr %82, align 8, !tbaa !24, !range !21, !noundef !22
  %84 = trunc i8 %83 to i1
  br i1 %84, label %86, label %85

85:                                               ; preds = %81
  store i1 false, ptr %3, align 1
  br label %321

86:                                               ; preds = %81
  %87 = call noundef zeroext i1 @_ZN5ImGui15IsMouseDraggingEif(i32 noundef 0, float noundef 0.000000e+00)
  br i1 %87, label %88, label %313

88:                                               ; preds = %86
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #8
  %89 = call <2 x float> @_ZN5ImGui11GetMousePosEv()
  store <2 x float> %89, ptr %10, align 4
  %90 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::SelectAction", ptr %52, i32 0, i32 6
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %90, ptr align 4 %10, i64 8, i1 false), !tbaa.struct !25
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #8
  %91 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::SelectAction", ptr %52, i32 0, i32 5
  %92 = getelementptr inbounds %struct.ImVec2, ptr %91, i32 0, i32 0
  %93 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::SelectAction", ptr %52, i32 0, i32 6
  %94 = getelementptr inbounds %struct.ImVec2, ptr %93, i32 0, i32 0
  %95 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %92, ptr noundef nonnull align 4 dereferenceable(4) %94)
  %96 = load float, ptr %95, align 4, !tbaa !26
  %97 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::SelectAction", ptr %52, i32 0, i32 5
  %98 = getelementptr inbounds %struct.ImVec2, ptr %97, i32 0, i32 1
  %99 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::SelectAction", ptr %52, i32 0, i32 6
  %100 = getelementptr inbounds %struct.ImVec2, ptr %99, i32 0, i32 1
  %101 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %98, ptr noundef nonnull align 4 dereferenceable(4) %100)
  %102 = load float, ptr %101, align 4, !tbaa !26
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %11, float noundef %96, float noundef %102)
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #8
  %103 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::SelectAction", ptr %52, i32 0, i32 5
  %104 = getelementptr inbounds %struct.ImVec2, ptr %103, i32 0, i32 0
  %105 = load float, ptr %104, align 4, !tbaa !27
  %106 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::SelectAction", ptr %52, i32 0, i32 6
  %107 = getelementptr inbounds %struct.ImVec2, ptr %106, i32 0, i32 0
  %108 = load float, ptr %107, align 4, !tbaa !28
  %109 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %105, float noundef %108)
  %110 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::SelectAction", ptr %52, i32 0, i32 5
  %111 = getelementptr inbounds %struct.ImVec2, ptr %110, i32 0, i32 1
  %112 = load float, ptr %111, align 4, !tbaa !29
  %113 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::SelectAction", ptr %52, i32 0, i32 6
  %114 = getelementptr inbounds %struct.ImVec2, ptr %113, i32 0, i32 1
  %115 = load float, ptr %114, align 4, !tbaa !30
  %116 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %112, float noundef %115)
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %12, float noundef %109, float noundef %116)
  call void @llvm.lifetime.start.p0(i64 16, ptr %13) #8
  call void @_ZN6ImRectC2ERK6ImVec2S2_(ptr noundef nonnull align 4 dereferenceable(16) %13, ptr noundef nonnull align 4 dereferenceable(8) %11, ptr noundef nonnull align 4 dereferenceable(8) %12)
  %117 = call noundef float @_ZNK6ImRect8GetWidthEv(ptr noundef nonnull align 4 dereferenceable(16) %13)
  %118 = fcmp ole float %117, 0.000000e+00
  br i1 %118, label %119, label %126

119:                                              ; preds = %88
  %120 = getelementptr inbounds %struct.ImRect, ptr %13, i32 0, i32 0
  %121 = getelementptr inbounds %struct.ImVec2, ptr %120, i32 0, i32 0
  %122 = load float, ptr %121, align 4, !tbaa !31
  %123 = fadd float %122, 1.000000e+00
  %124 = getelementptr inbounds %struct.ImRect, ptr %13, i32 0, i32 1
  %125 = getelementptr inbounds %struct.ImVec2, ptr %124, i32 0, i32 0
  store float %123, ptr %125, align 4, !tbaa !33
  br label %126

126:                                              ; preds = %119, %88
  %127 = call noundef float @_ZNK6ImRect9GetHeightEv(ptr noundef nonnull align 4 dereferenceable(16) %13)
  %128 = fcmp ole float %127, 0.000000e+00
  br i1 %128, label %129, label %136

129:                                              ; preds = %126
  %130 = getelementptr inbounds %struct.ImRect, ptr %13, i32 0, i32 0
  %131 = getelementptr inbounds %struct.ImVec2, ptr %130, i32 0, i32 1
  %132 = load float, ptr %131, align 4, !tbaa !34
  %133 = fadd float %132, 1.000000e+00
  %134 = getelementptr inbounds %struct.ImRect, ptr %13, i32 0, i32 1
  %135 = getelementptr inbounds %struct.ImVec2, ptr %134, i32 0, i32 1
  store float %133, ptr %135, align 4, !tbaa !35
  br label %136

136:                                              ; preds = %129, %126
  call void @llvm.lifetime.start.p0(i64 24, ptr %14) #8
  call void @_ZNSt6vectorIPN3vox10NodeEditor6Detail4NodeESaIS4_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr %15) #8
  call void @_ZNSt6vectorIPN3vox10NodeEditor6Detail4LinkESaIS4_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #8
  %137 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::SelectAction", ptr %52, i32 0, i32 3
  %138 = load i8, ptr %137, align 2, !tbaa !36, !range !21, !noundef !22
  %139 = trunc i8 %138 to i1
  br i1 %139, label %140, label %158

140:                                              ; preds = %136
  %141 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::EditorAction", ptr %52, i32 0, i32 1
  %142 = load ptr, ptr %141, align 8, !tbaa !23
  invoke void @_ZN3vox10NodeEditor6Detail13EditorContext15FindLinksInRectERK6ImRectRSt6vectorIPNS1_4LinkESaIS8_EEb(ptr noundef nonnull align 8 dereferenceable(2040) %142, ptr noundef nonnull align 4 dereferenceable(16) %13, ptr noundef nonnull align 8 dereferenceable(24) %15, i1 noundef zeroext false)
          to label %143 unwind label %154

143:                                              ; preds = %140
  %144 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::SelectAction", ptr %52, i32 0, i32 7
  %145 = call ptr @_ZNSt6vectorIPN3vox10NodeEditor6Detail4LinkESaIS4_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %15) #8
  %146 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.143", ptr %18, i32 0, i32 0
  store ptr %145, ptr %146, align 8
  %147 = call ptr @_ZNSt6vectorIPN3vox10NodeEditor6Detail4LinkESaIS4_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %15) #8
  %148 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.143", ptr %19, i32 0, i32 0
  store ptr %147, ptr %148, align 8
  %149 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.143", ptr %18, i32 0, i32 0
  %150 = load ptr, ptr %149, align 8
  %151 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.143", ptr %19, i32 0, i32 0
  %152 = load ptr, ptr %151, align 8
  invoke void @_ZNSt6vectorIPN3vox10NodeEditor6Detail6ObjectESaIS4_EE6assignIN9__gnu_cxx17__normal_iteratorIPPNS2_4LinkES_ISB_SaISB_EEEEvEEvT_SG_(ptr noundef nonnull align 8 dereferenceable(24) %144, ptr %150, ptr %152)
          to label %153 unwind label %154

153:                                              ; preds = %143
  br label %244

154:                                              ; preds = %262, %161, %158, %143, %140
  %155 = landingpad { ptr, i32 }
          cleanup
  %156 = extractvalue { ptr, i32 } %155, 0
  store ptr %156, ptr %16, align 8
  %157 = extractvalue { ptr, i32 } %155, 1
  store i32 %157, ptr %17, align 4
  br label %312

158:                                              ; preds = %136
  %159 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::EditorAction", ptr %52, i32 0, i32 1
  %160 = load ptr, ptr %159, align 8, !tbaa !23
  invoke void @_ZN3vox10NodeEditor6Detail13EditorContext15FindNodesInRectERK6ImRectRSt6vectorIPNS1_4NodeESaIS8_EEbb(ptr noundef nonnull align 8 dereferenceable(2040) %160, ptr noundef nonnull align 4 dereferenceable(16) %13, ptr noundef nonnull align 8 dereferenceable(24) %14, i1 noundef zeroext false, i1 noundef zeroext true)
          to label %161 unwind label %154

161:                                              ; preds = %158
  %162 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::SelectAction", ptr %52, i32 0, i32 7
  %163 = call ptr @_ZNSt6vectorIPN3vox10NodeEditor6Detail4NodeESaIS4_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %14) #8
  %164 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.139", ptr %20, i32 0, i32 0
  store ptr %163, ptr %164, align 8
  %165 = call ptr @_ZNSt6vectorIPN3vox10NodeEditor6Detail4NodeESaIS4_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %14) #8
  %166 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.139", ptr %21, i32 0, i32 0
  store ptr %165, ptr %166, align 8
  %167 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.139", ptr %20, i32 0, i32 0
  %168 = load ptr, ptr %167, align 8
  %169 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.139", ptr %21, i32 0, i32 0
  %170 = load ptr, ptr %169, align 8
  invoke void @_ZNSt6vectorIPN3vox10NodeEditor6Detail6ObjectESaIS4_EE6assignIN9__gnu_cxx17__normal_iteratorIPPNS2_4NodeES_ISB_SaISB_EEEEvEEvT_SG_(ptr noundef nonnull align 8 dereferenceable(24) %162, ptr %168, ptr %170)
          to label %171 unwind label %154

171:                                              ; preds = %161
  %172 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::SelectAction", ptr %52, i32 0, i32 2
  %173 = load i8, ptr %172, align 1, !tbaa !37, !range !21, !noundef !22
  %174 = trunc i8 %173 to i1
  br i1 %174, label %175, label %209

175:                                              ; preds = %171
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #8
  %176 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::SelectAction", ptr %52, i32 0, i32 7
  %177 = call ptr @_ZNSt6vectorIPN3vox10NodeEditor6Detail6ObjectESaIS4_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %176) #8
  %178 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.71", ptr %23, i32 0, i32 0
  store ptr %177, ptr %178, align 8
  %179 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::SelectAction", ptr %52, i32 0, i32 7
  %180 = call ptr @_ZNSt6vectorIPN3vox10NodeEditor6Detail6ObjectESaIS4_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %179) #8
  %181 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.71", ptr %24, i32 0, i32 0
  store ptr %180, ptr %181, align 8
  %182 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.71", ptr %23, i32 0, i32 0
  %183 = load ptr, ptr %182, align 8
  %184 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.71", ptr %24, i32 0, i32 0
  %185 = load ptr, ptr %184, align 8
  %186 = invoke ptr @"_ZSt9remove_ifIN9__gnu_cxx17__normal_iteratorIPPN3vox10NodeEditor6Detail6ObjectESt6vectorIS6_SaIS6_EEEEZNS4_12SelectAction7ProcessERKNS4_7ControlEE3$_0ET_SH_SH_T0_"(ptr %183, ptr %185)
          to label %187 unwind label %200

187:                                              ; preds = %175
  %188 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.71", ptr %22, i32 0, i32 0
  store ptr %186, ptr %188, align 8
  %189 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::SelectAction", ptr %52, i32 0, i32 7
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKPN3vox10NodeEditor6Detail6ObjectESt6vectorIS5_SaIS5_EEEC2IPS5_vEERKNS0_IT_SA_EE(ptr noundef nonnull align 8 dereferenceable(8) %26, ptr noundef nonnull align 8 dereferenceable(8) %22) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #8
  %190 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::SelectAction", ptr %52, i32 0, i32 7
  %191 = call ptr @_ZNSt6vectorIPN3vox10NodeEditor6Detail6ObjectESaIS4_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %190) #8
  %192 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.71", ptr %28, i32 0, i32 0
  store ptr %191, ptr %192, align 8
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKPN3vox10NodeEditor6Detail6ObjectESt6vectorIS5_SaIS5_EEEC2IPS5_vEERKNS0_IT_SA_EE(ptr noundef nonnull align 8 dereferenceable(8) %27, ptr noundef nonnull align 8 dereferenceable(8) %28) #8
  %193 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.86", ptr %26, i32 0, i32 0
  %194 = load ptr, ptr %193, align 8
  %195 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.86", ptr %27, i32 0, i32 0
  %196 = load ptr, ptr %195, align 8
  %197 = invoke ptr @_ZNSt6vectorIPN3vox10NodeEditor6Detail6ObjectESaIS4_EE5eraseEN9__gnu_cxx17__normal_iteratorIPKS4_S6_EESB_(ptr noundef nonnull align 8 dereferenceable(24) %189, ptr %194, ptr %196)
          to label %198 unwind label %204

198:                                              ; preds = %187
  %199 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.71", ptr %29, i32 0, i32 0
  store ptr %197, ptr %199, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #8
  br label %243

200:                                              ; preds = %175
  %201 = landingpad { ptr, i32 }
          cleanup
  %202 = extractvalue { ptr, i32 } %201, 0
  store ptr %202, ptr %16, align 8
  %203 = extractvalue { ptr, i32 } %201, 1
  store i32 %203, ptr %17, align 4
  br label %208

204:                                              ; preds = %187
  %205 = landingpad { ptr, i32 }
          cleanup
  %206 = extractvalue { ptr, i32 } %205, 0
  store ptr %206, ptr %16, align 8
  %207 = extractvalue { ptr, i32 } %205, 1
  store i32 %207, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #8
  br label %208

208:                                              ; preds = %204, %200
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #8
  br label %312

209:                                              ; preds = %171
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #8
  %210 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::SelectAction", ptr %52, i32 0, i32 7
  %211 = call ptr @_ZNSt6vectorIPN3vox10NodeEditor6Detail6ObjectESaIS4_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %210) #8
  %212 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.71", ptr %31, i32 0, i32 0
  store ptr %211, ptr %212, align 8
  %213 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::SelectAction", ptr %52, i32 0, i32 7
  %214 = call ptr @_ZNSt6vectorIPN3vox10NodeEditor6Detail6ObjectESaIS4_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %213) #8
  %215 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.71", ptr %32, i32 0, i32 0
  store ptr %214, ptr %215, align 8
  %216 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.71", ptr %31, i32 0, i32 0
  %217 = load ptr, ptr %216, align 8
  %218 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.71", ptr %32, i32 0, i32 0
  %219 = load ptr, ptr %218, align 8
  %220 = invoke ptr @"_ZSt9remove_ifIN9__gnu_cxx17__normal_iteratorIPPN3vox10NodeEditor6Detail6ObjectESt6vectorIS6_SaIS6_EEEEZNS4_12SelectAction7ProcessERKNS4_7ControlEE3$_1ET_SH_SH_T0_"(ptr %217, ptr %219)
          to label %221 unwind label %234

221:                                              ; preds = %209
  %222 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.71", ptr %30, i32 0, i32 0
  store ptr %220, ptr %222, align 8
  %223 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::SelectAction", ptr %52, i32 0, i32 7
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKPN3vox10NodeEditor6Detail6ObjectESt6vectorIS5_SaIS5_EEEC2IPS5_vEERKNS0_IT_SA_EE(ptr noundef nonnull align 8 dereferenceable(8) %34, ptr noundef nonnull align 8 dereferenceable(8) %30) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #8
  %224 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::SelectAction", ptr %52, i32 0, i32 7
  %225 = call ptr @_ZNSt6vectorIPN3vox10NodeEditor6Detail6ObjectESaIS4_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %224) #8
  %226 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.71", ptr %36, i32 0, i32 0
  store ptr %225, ptr %226, align 8
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKPN3vox10NodeEditor6Detail6ObjectESt6vectorIS5_SaIS5_EEEC2IPS5_vEERKNS0_IT_SA_EE(ptr noundef nonnull align 8 dereferenceable(8) %35, ptr noundef nonnull align 8 dereferenceable(8) %36) #8
  %227 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.86", ptr %34, i32 0, i32 0
  %228 = load ptr, ptr %227, align 8
  %229 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.86", ptr %35, i32 0, i32 0
  %230 = load ptr, ptr %229, align 8
  %231 = invoke ptr @_ZNSt6vectorIPN3vox10NodeEditor6Detail6ObjectESaIS4_EE5eraseEN9__gnu_cxx17__normal_iteratorIPKS4_S6_EESB_(ptr noundef nonnull align 8 dereferenceable(24) %223, ptr %228, ptr %230)
          to label %232 unwind label %238

232:                                              ; preds = %221
  %233 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.71", ptr %37, i32 0, i32 0
  store ptr %231, ptr %233, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #8
  br label %243

234:                                              ; preds = %209
  %235 = landingpad { ptr, i32 }
          cleanup
  %236 = extractvalue { ptr, i32 } %235, 0
  store ptr %236, ptr %16, align 8
  %237 = extractvalue { ptr, i32 } %235, 1
  store i32 %237, ptr %17, align 4
  br label %242

238:                                              ; preds = %221
  %239 = landingpad { ptr, i32 }
          cleanup
  %240 = extractvalue { ptr, i32 } %239, 0
  store ptr %240, ptr %16, align 8
  %241 = extractvalue { ptr, i32 } %239, 1
  store i32 %241, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #8
  br label %242

242:                                              ; preds = %238, %234
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #8
  br label %312

243:                                              ; preds = %232, %198
  br label %244

244:                                              ; preds = %243, %153
  %245 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::SelectAction", ptr %52, i32 0, i32 7
  call void @llvm.lifetime.start.p0(i64 8, ptr %39) #8
  %246 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::SelectAction", ptr %52, i32 0, i32 7
  %247 = call ptr @_ZNSt6vectorIPN3vox10NodeEditor6Detail6ObjectESaIS4_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %246) #8
  %248 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.71", ptr %39, i32 0, i32 0
  store ptr %247, ptr %248, align 8
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKPN3vox10NodeEditor6Detail6ObjectESt6vectorIS5_SaIS5_EEEC2IPS5_vEERKNS0_IT_SA_EE(ptr noundef nonnull align 8 dereferenceable(8) %38, ptr noundef nonnull align 8 dereferenceable(8) %39) #8
  %249 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::SelectAction", ptr %52, i32 0, i32 8
  %250 = call ptr @_ZNSt6vectorIPN3vox10NodeEditor6Detail6ObjectESaIS4_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %249) #8
  %251 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.71", ptr %40, i32 0, i32 0
  store ptr %250, ptr %251, align 8
  %252 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::SelectAction", ptr %52, i32 0, i32 8
  %253 = call ptr @_ZNSt6vectorIPN3vox10NodeEditor6Detail6ObjectESaIS4_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %252) #8
  %254 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.71", ptr %41, i32 0, i32 0
  store ptr %253, ptr %254, align 8
  %255 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.86", ptr %38, i32 0, i32 0
  %256 = load ptr, ptr %255, align 8
  %257 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.71", ptr %40, i32 0, i32 0
  %258 = load ptr, ptr %257, align 8
  %259 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.71", ptr %41, i32 0, i32 0
  %260 = load ptr, ptr %259, align 8
  %261 = invoke ptr @_ZNSt6vectorIPN3vox10NodeEditor6Detail6ObjectESaIS4_EE6insertIN9__gnu_cxx17__normal_iteratorIPS4_S6_EEvEESB_NS9_IPKS4_S6_EET_SF_(ptr noundef nonnull align 8 dereferenceable(24) %245, ptr %256, ptr %258, ptr %260)
          to label %262 unwind label %299

262:                                              ; preds = %244
  %263 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.71", ptr %42, i32 0, i32 0
  store ptr %261, ptr %263, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #8
  %264 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::SelectAction", ptr %52, i32 0, i32 7
  %265 = call ptr @_ZNSt6vectorIPN3vox10NodeEditor6Detail6ObjectESaIS4_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %264) #8
  %266 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.71", ptr %43, i32 0, i32 0
  store ptr %265, ptr %266, align 8
  %267 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::SelectAction", ptr %52, i32 0, i32 7
  %268 = call ptr @_ZNSt6vectorIPN3vox10NodeEditor6Detail6ObjectESaIS4_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %267) #8
  %269 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.71", ptr %44, i32 0, i32 0
  store ptr %268, ptr %269, align 8
  %270 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.71", ptr %43, i32 0, i32 0
  %271 = load ptr, ptr %270, align 8
  %272 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.71", ptr %44, i32 0, i32 0
  %273 = load ptr, ptr %272, align 8
  invoke void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPPN3vox10NodeEditor6Detail6ObjectESt6vectorIS6_SaIS6_EEEEEvT_SC_(ptr %271, ptr %273)
          to label %274 unwind label %154

274:                                              ; preds = %262
  %275 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::SelectAction", ptr %52, i32 0, i32 7
  call void @llvm.lifetime.start.p0(i64 8, ptr %46) #8
  %276 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::SelectAction", ptr %52, i32 0, i32 7
  %277 = call ptr @_ZNSt6vectorIPN3vox10NodeEditor6Detail6ObjectESaIS4_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %276) #8
  %278 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.71", ptr %47, i32 0, i32 0
  store ptr %277, ptr %278, align 8
  %279 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::SelectAction", ptr %52, i32 0, i32 7
  %280 = call ptr @_ZNSt6vectorIPN3vox10NodeEditor6Detail6ObjectESaIS4_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %279) #8
  %281 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.71", ptr %48, i32 0, i32 0
  store ptr %280, ptr %281, align 8
  %282 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.71", ptr %47, i32 0, i32 0
  %283 = load ptr, ptr %282, align 8
  %284 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.71", ptr %48, i32 0, i32 0
  %285 = load ptr, ptr %284, align 8
  %286 = invoke ptr @_ZSt6uniqueIN9__gnu_cxx17__normal_iteratorIPPN3vox10NodeEditor6Detail6ObjectESt6vectorIS6_SaIS6_EEEEET_SC_SC_(ptr %283, ptr %285)
          to label %287 unwind label %303

287:                                              ; preds = %274
  %288 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.71", ptr %46, i32 0, i32 0
  store ptr %286, ptr %288, align 8
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKPN3vox10NodeEditor6Detail6ObjectESt6vectorIS5_SaIS5_EEEC2IPS5_vEERKNS0_IT_SA_EE(ptr noundef nonnull align 8 dereferenceable(8) %45, ptr noundef nonnull align 8 dereferenceable(8) %46) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %50) #8
  %289 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::SelectAction", ptr %52, i32 0, i32 7
  %290 = call ptr @_ZNSt6vectorIPN3vox10NodeEditor6Detail6ObjectESaIS4_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %289) #8
  %291 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.71", ptr %50, i32 0, i32 0
  store ptr %290, ptr %291, align 8
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKPN3vox10NodeEditor6Detail6ObjectESt6vectorIS5_SaIS5_EEEC2IPS5_vEERKNS0_IT_SA_EE(ptr noundef nonnull align 8 dereferenceable(8) %49, ptr noundef nonnull align 8 dereferenceable(8) %50) #8
  %292 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.86", ptr %45, i32 0, i32 0
  %293 = load ptr, ptr %292, align 8
  %294 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.86", ptr %49, i32 0, i32 0
  %295 = load ptr, ptr %294, align 8
  %296 = invoke ptr @_ZNSt6vectorIPN3vox10NodeEditor6Detail6ObjectESaIS4_EE5eraseEN9__gnu_cxx17__normal_iteratorIPKS4_S6_EESB_(ptr noundef nonnull align 8 dereferenceable(24) %275, ptr %293, ptr %295)
          to label %297 unwind label %307

297:                                              ; preds = %287
  %298 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.71", ptr %51, i32 0, i32 0
  store ptr %296, ptr %298, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr %50) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %46) #8
  call void @_ZNSt6vectorIPN3vox10NodeEditor6Detail4LinkESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %15) #8
  call void @_ZNSt6vectorIPN3vox10NodeEditor6Detail4NodeESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %14) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #8
  br label %317

299:                                              ; preds = %244
  %300 = landingpad { ptr, i32 }
          cleanup
  %301 = extractvalue { ptr, i32 } %300, 0
  store ptr %301, ptr %16, align 8
  %302 = extractvalue { ptr, i32 } %300, 1
  store i32 %302, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #8
  br label %312

303:                                              ; preds = %274
  %304 = landingpad { ptr, i32 }
          cleanup
  %305 = extractvalue { ptr, i32 } %304, 0
  store ptr %305, ptr %16, align 8
  %306 = extractvalue { ptr, i32 } %304, 1
  store i32 %306, ptr %17, align 4
  br label %311

307:                                              ; preds = %287
  %308 = landingpad { ptr, i32 }
          cleanup
  %309 = extractvalue { ptr, i32 } %308, 0
  store ptr %309, ptr %16, align 8
  %310 = extractvalue { ptr, i32 } %308, 1
  store i32 %310, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %50) #8
  br label %311

311:                                              ; preds = %307, %303
  call void @llvm.lifetime.end.p0(i64 8, ptr %46) #8
  br label %312

312:                                              ; preds = %311, %299, %242, %208, %154
  call void @_ZNSt6vectorIPN3vox10NodeEditor6Detail4LinkESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %15) #8
  call void @_ZNSt6vectorIPN3vox10NodeEditor6Detail4NodeESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %14) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #8
  br label %323

313:                                              ; preds = %86
  %314 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::SelectAction", ptr %52, i32 0, i32 1
  store i8 0, ptr %314, align 8, !tbaa !24
  %315 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::SelectAction", ptr %52, i32 0, i32 9
  call void @_ZN3vox10NodeEditor6Detail9Animation4PlayEf(ptr noundef nonnull align 8 dereferenceable(28) %315, float noundef 0x3FC3333340000000)
  %316 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::SelectAction", ptr %52, i32 0, i32 4
  store i8 1, ptr %316, align 1, !tbaa !9
  store i1 true, ptr %3, align 1
  br label %321

317:                                              ; preds = %297
  %318 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::SelectAction", ptr %52, i32 0, i32 1
  %319 = load i8, ptr %318, align 8, !tbaa !24, !range !21, !noundef !22
  %320 = trunc i8 %319 to i1
  store i1 %320, ptr %3, align 1
  br label %321

321:                                              ; preds = %317, %313, %85
  %322 = load i1, ptr %3, align 1
  ret i1 %322

323:                                              ; preds = %312
  %324 = load ptr, ptr %16, align 8
  %325 = load i32, ptr %17, align 4
  %326 = insertvalue { ptr, i32 } poison, ptr %324, 0
  %327 = insertvalue { ptr, i32 } %326, i32 %325, 1
  resume { ptr, i32 } %327
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) #3

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

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden ptr @"_ZSt9remove_ifIN9__gnu_cxx17__normal_iteratorIPPN3vox10NodeEditor6Detail6ObjectESt6vectorIS6_SaIS6_EEEEZNS4_12SelectAction7ProcessERKNS4_7ControlEE3$_0ET_SH_SH_T0_"(ptr, ptr) #7

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden ptr @"_ZSt9remove_ifIN9__gnu_cxx17__normal_iteratorIPPN3vox10NodeEditor6Detail6ObjectESt6vectorIS6_SaIS6_EEEEZNS4_12SelectAction7ProcessERKNS4_7ControlEE3$_1ET_SH_SH_T0_"(ptr, ptr) #7

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPPN3vox10NodeEditor6Detail6ObjectESt6vectorIS6_SaIS6_EEEEEvT_SC_(ptr, ptr) #7

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local ptr @_ZSt6uniqueIN9__gnu_cxx17__normal_iteratorIPPN3vox10NodeEditor6Detail6ObjectESt6vectorIS6_SaIS6_EEEEET_SC_SC_(ptr, ptr) #7

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

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

!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, !12, i64 19}
!10 = !{!"_ZTSN3vox10NodeEditor6Detail12SelectActionE", !11, i64 0, !12, i64 16, !12, i64 17, !12, i64 18, !12, i64 19, !13, i64 20, !13, i64 28, !15, i64 40, !15, i64 64, !19, i64 88}
!11 = !{!"_ZTSN3vox10NodeEditor6Detail12EditorActionE", !6, i64 8}
!12 = !{!"bool", !7, i64 0}
!13 = !{!"_ZTS6ImVec2", !14, i64 0, !14, i64 4}
!14 = !{!"float", !7, i64 0}
!15 = !{!"_ZTSSt6vectorIPN3vox10NodeEditor6Detail6ObjectESaIS4_EE", !16, i64 0}
!16 = !{!"_ZTSSt12_Vector_baseIPN3vox10NodeEditor6Detail6ObjectESaIS4_EE", !17, i64 0}
!17 = !{!"_ZTSNSt12_Vector_baseIPN3vox10NodeEditor6Detail6ObjectESaIS4_EE12_Vector_implE", !18, i64 0}
!18 = !{!"_ZTSNSt12_Vector_baseIPN3vox10NodeEditor6Detail6ObjectESaIS4_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!19 = !{!"_ZTSN3vox10NodeEditor6Detail9AnimationE", !6, i64 8, !20, i64 16, !14, i64 20, !14, i64 24}
!20 = !{!"_ZTSN3vox10NodeEditor6Detail9Animation5StateE", !7, i64 0}
!21 = !{i8 0, i8 2}
!22 = !{}
!23 = !{!11, !6, i64 8}
!24 = !{!10, !12, i64 16}
!25 = !{i64 0, i64 4, !26, i64 4, i64 4, !26}
!26 = !{!14, !14, i64 0}
!27 = !{!10, !14, i64 20}
!28 = !{!10, !14, i64 28}
!29 = !{!10, !14, i64 24}
!30 = !{!10, !14, i64 32}
!31 = !{!32, !14, i64 0}
!32 = !{!"_ZTS6ImRect", !13, i64 0, !13, i64 8}
!33 = !{!32, !14, i64 8}
!34 = !{!32, !14, i64 4}
!35 = !{!32, !14, i64 12}
!36 = !{!10, !12, i64 18}
!37 = !{!10, !12, i64 17}


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

%"class.__gnu_cxx::__normal_iterator.71" = type { ptr }
%struct.ImVec2 = type { float, float }
%struct.ImRect = type { %struct.ImVec2, %struct.ImVec2 }
%"class.std::vector.62" = type { %"struct.std::_Vector_base.63" }
%"struct.std::_Vector_base.63" = type { %"struct.std::_Vector_base<vox::NodeEditor::Detail::Node *, std::allocator<vox::NodeEditor::Detail::Node *>>::_Vector_impl" }
%"struct.std::_Vector_base<vox::NodeEditor::Detail::Node *, std::allocator<vox::NodeEditor::Detail::Node *>>::_Vector_impl" = type { %"struct.std::_Vector_base<vox::NodeEditor::Detail::Node *, std::allocator<vox::NodeEditor::Detail::Node *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<vox::NodeEditor::Detail::Node *, std::allocator<vox::NodeEditor::Detail::Node *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.87" = type { %"struct.std::_Vector_base.88" }
%"struct.std::_Vector_base.88" = type { %"struct.std::_Vector_base<vox::NodeEditor::Detail::Link *, std::allocator<vox::NodeEditor::Detail::Link *>>::_Vector_impl" }
%"struct.std::_Vector_base<vox::NodeEditor::Detail::Link *, std::allocator<vox::NodeEditor::Detail::Link *>>::_Vector_impl" = type { %"struct.std::_Vector_base<vox::NodeEditor::Detail::Link *, std::allocator<vox::NodeEditor::Detail::Link *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<vox::NodeEditor::Detail::Link *, std::allocator<vox::NodeEditor::Detail::Link *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.__gnu_cxx::__normal_iterator.86" = type { ptr }

; 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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3vox10NodeEditor6Detail13EditorContext15FindNodesInRectERK6ImRectRSt6vectorIPNS1_4NodeESaIS8_EEbb(ptr noundef nonnull align 8 dereferenceable(2040), ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(24), i1 noundef zeroext, i1 noundef zeroext) local_unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef, float noundef) local_unnamed_addr #2

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNSt6vectorIPN3vox10NodeEditor6Detail6ObjectESaIS4_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_cxxneIPPN3vox10NodeEditor6Detail6ObjectESt6vectorIS5_SaIS5_EEEEbRKNS_17__normal_iteratorIT_T0_EESF_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPPN3vox10NodeEditor6Detail6ObjectESt6vectorIS5_SaIS5_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 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPPN3vox10NodeEditor6Detail6ObjectESt6vectorIS5_SaIS5_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #3 align 2

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3vox10NodeEditor6Detail13EditorContext15FindLinksInRectERK6ImRectRSt6vectorIPNS1_4LinkESaIS8_EEb(ptr noundef nonnull align 8 dereferenceable(2040), ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(24), i1 noundef zeroext) local_unnamed_addr #1 align 2

declare <2 x float> @_ZN5ImGui11GetMousePosEv() local_unnamed_addr #4

declare noundef zeroext i1 @_ZN5ImGui15IsMouseDraggingEif(i32 noundef, float noundef) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3vox10NodeEditor6Detail9Animation4PlayEf(ptr noundef nonnull align 8 dereferenceable(28), float noundef) local_unnamed_addr #1 align 2

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN3vox10NodeEditor6Detail12SelectAction7ProcessERKNS1_7ControlE(ptr noundef nonnull align 8 dereferenceable(120) %0, ptr nocapture noundef nonnull readnone align 8 dereferenceable(132) %1) unnamed_addr #5 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.__gnu_cxx::__normal_iterator.71", align 8
  %4 = alloca %"class.__gnu_cxx::__normal_iterator.71", align 8
  %5 = alloca %struct.ImVec2, align 4
  %6 = alloca %struct.ImVec2, align 4
  %7 = alloca %struct.ImRect, align 4
  %8 = alloca %"class.std::vector.62", align 8
  %9 = alloca %"class.std::vector.87", align 8
  %10 = alloca %"class.__gnu_cxx::__normal_iterator.71", align 8
  %11 = alloca %"class.__gnu_cxx::__normal_iterator.86", align 8
  %12 = alloca %"class.__gnu_cxx::__normal_iterator.86", align 8
  %13 = alloca %"class.__gnu_cxx::__normal_iterator.71", align 8
  %14 = alloca %"class.__gnu_cxx::__normal_iterator.71", align 8
  %15 = alloca %"class.__gnu_cxx::__normal_iterator.86", align 8
  %16 = alloca %"class.__gnu_cxx::__normal_iterator.86", align 8
  %17 = alloca %"class.__gnu_cxx::__normal_iterator.71", align 8
  %18 = alloca %"class.__gnu_cxx::__normal_iterator.86", align 8
  %19 = alloca %"class.__gnu_cxx::__normal_iterator.71", align 8
  %20 = alloca %"class.__gnu_cxx::__normal_iterator.86", align 8
  %21 = alloca %"class.__gnu_cxx::__normal_iterator.71", align 8
  %22 = alloca %"class.__gnu_cxx::__normal_iterator.86", align 8
  %23 = alloca %"class.__gnu_cxx::__normal_iterator.71", align 8
  %24 = getelementptr inbounds i8, ptr %0, i64 19
  %25 = load i8, ptr %24, align 1, !tbaa !5, !range !20, !noundef !21
  %26 = trunc nuw i8 %25 to i1
  br i1 %26, label %27, label %39

27:                                               ; preds = %2
  %28 = getelementptr inbounds i8, ptr %0, i64 8
  %29 = load ptr, ptr %28, align 8, !tbaa !22
  tail call void @_ZN3vox10NodeEditor6Detail13EditorContext14ClearSelectionEv(ptr noundef nonnull align 8 dereferenceable(2040) %29)
  %30 = getelementptr inbounds i8, ptr %0, i64 40
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #7
  %31 = tail call ptr @_ZNSt6vectorIPN3vox10NodeEditor6Detail6ObjectESaIS4_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %30) #7
  store ptr %31, ptr %3, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #7
  %32 = tail call ptr @_ZNSt6vectorIPN3vox10NodeEditor6Detail6ObjectESaIS4_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %30) #7
  store ptr %32, ptr %4, align 8
  %33 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPPN3vox10NodeEditor6Detail6ObjectESt6vectorIS5_SaIS5_EEEEbRKNS_17__normal_iteratorIT_T0_EESF_(ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef nonnull align 8 dereferenceable(8) %4) #7
  br i1 %33, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %.lr.ph, %27
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #7
  call void @_ZNSt6vectorIPN3vox10NodeEditor6Detail6ObjectESaIS4_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %30) #7
  store i8 0, ptr %24, align 1, !tbaa !5
  br label %39

.lr.ph:                                           ; preds = %27, %.lr.ph
  %34 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPPN3vox10NodeEditor6Detail6ObjectESt6vectorIS5_SaIS5_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %3) #7
  %35 = load ptr, ptr %34, align 8, !tbaa !23
  %36 = load ptr, ptr %28, align 8, !tbaa !22
  call void @_ZN3vox10NodeEditor6Detail13EditorContext12SelectObjectEPNS1_6ObjectE(ptr noundef nonnull align 8 dereferenceable(2040) %36, ptr noundef %35)
  %37 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPPN3vox10NodeEditor6Detail6ObjectESt6vectorIS5_SaIS5_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %3) #7
  %38 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPPN3vox10NodeEditor6Detail6ObjectESt6vectorIS5_SaIS5_EEEEbRKNS_17__normal_iteratorIT_T0_EESF_(ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef nonnull align 8 dereferenceable(8) %4) #7
  br i1 %38, label %.lr.ph, label %._crit_edge

39:                                               ; preds = %._crit_edge, %2
  %40 = getelementptr inbounds i8, ptr %0, i64 16
  %41 = load i8, ptr %40, align 8, !tbaa !24, !range !20, !noundef !21
  %42 = trunc nuw i8 %41 to i1
  br i1 %42, label %43, label %160

43:                                               ; preds = %39
  %44 = call noundef zeroext i1 @_ZN5ImGui15IsMouseDraggingEif(i32 noundef 0, float noundef 0.000000e+00)
  br i1 %44, label %45, label %158

45:                                               ; preds = %43
  %46 = call <2 x float> @_ZN5ImGui11GetMousePosEv()
  %47 = getelementptr inbounds i8, ptr %0, i64 28
  store <2 x float> %46, ptr %47, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #7
  %48 = getelementptr inbounds i8, ptr %0, i64 20
  %49 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %48, ptr noundef nonnull align 4 dereferenceable(4) %47)
  %50 = load float, ptr %49, align 4, !tbaa !25
  %51 = getelementptr inbounds i8, ptr %0, i64 24
  %52 = getelementptr inbounds i8, ptr %0, i64 32
  %53 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %51, ptr noundef nonnull align 4 dereferenceable(4) %52)
  %54 = load float, ptr %53, align 4, !tbaa !25
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %5, float noundef %50, float noundef %54)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #7
  %55 = load float, ptr %48, align 4, !tbaa !26
  %56 = load float, ptr %47, align 4, !tbaa !27
  %57 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %55, float noundef %56)
  %58 = load float, ptr %51, align 8, !tbaa !28
  %59 = load float, ptr %52, align 8, !tbaa !29
  %60 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %58, float noundef %59)
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %6, float noundef %57, float noundef %60)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7) #7
  call void @_ZN6ImRectC2ERK6ImVec2S2_(ptr noundef nonnull align 4 dereferenceable(16) %7, ptr noundef nonnull align 4 dereferenceable(8) %5, ptr noundef nonnull align 4 dereferenceable(8) %6)
  %61 = call noundef float @_ZNK6ImRect8GetWidthEv(ptr noundef nonnull align 4 dereferenceable(16) %7)
  %62 = fcmp ugt float %61, 0.000000e+00
  br i1 %62, label %67, label %63

63:                                               ; preds = %45
  %64 = load float, ptr %7, align 4, !tbaa !30
  %65 = fadd float %64, 1.000000e+00
  %66 = getelementptr inbounds i8, ptr %7, i64 8
  store float %65, ptr %66, align 4, !tbaa !32
  br label %67

67:                                               ; preds = %63, %45
  %68 = call noundef float @_ZNK6ImRect9GetHeightEv(ptr noundef nonnull align 4 dereferenceable(16) %7)
  %69 = fcmp ugt float %68, 0.000000e+00
  br i1 %69, label %75, label %70

70:                                               ; preds = %67
  %71 = getelementptr inbounds i8, ptr %7, i64 4
  %72 = load float, ptr %71, align 4, !tbaa !33
  %73 = fadd float %72, 1.000000e+00
  %74 = getelementptr inbounds i8, ptr %7, i64 12
  store float %73, ptr %74, align 4, !tbaa !34
  br label %75

75:                                               ; preds = %70, %67
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %8) #7
  call void @_ZNSt6vectorIPN3vox10NodeEditor6Detail4NodeESaIS4_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %9) #7
  call void @_ZNSt6vectorIPN3vox10NodeEditor6Detail4LinkESaIS4_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #7
  %76 = getelementptr inbounds i8, ptr %0, i64 18
  %77 = load i8, ptr %76, align 2, !tbaa !35, !range !20, !noundef !21
  %78 = trunc nuw i8 %77 to i1
  %79 = getelementptr inbounds i8, ptr %0, i64 8
  %80 = load ptr, ptr %79, align 8, !tbaa !22
  br i1 %78, label %81, label %88

81:                                               ; preds = %75
  invoke void @_ZN3vox10NodeEditor6Detail13EditorContext15FindLinksInRectERK6ImRectRSt6vectorIPNS1_4LinkESaIS8_EEb(ptr noundef nonnull align 8 dereferenceable(2040) %80, ptr noundef nonnull align 4 dereferenceable(16) %7, ptr noundef nonnull align 8 dereferenceable(24) %9, i1 noundef zeroext false)
          to label %82 unwind label %86

82:                                               ; preds = %81
  %83 = getelementptr inbounds i8, ptr %0, i64 40
  %84 = call ptr @_ZNSt6vectorIPN3vox10NodeEditor6Detail4LinkESaIS4_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %9) #7
  %85 = call ptr @_ZNSt6vectorIPN3vox10NodeEditor6Detail4LinkESaIS4_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %9) #7
  invoke void @_ZNSt6vectorIPN3vox10NodeEditor6Detail6ObjectESaIS4_EE6assignIN9__gnu_cxx17__normal_iteratorIPPNS2_4LinkES_ISB_SaISB_EEEEvEEvT_SG_(ptr noundef nonnull align 8 dereferenceable(24) %83, ptr %84, ptr %85)
          to label %127 unwind label %86

86:                                               ; preds = %135, %89, %88, %82, %81
  %87 = landingpad { ptr, i32 }
          cleanup
  br label %157

88:                                               ; preds = %75
  invoke void @_ZN3vox10NodeEditor6Detail13EditorContext15FindNodesInRectERK6ImRectRSt6vectorIPNS1_4NodeESaIS8_EEbb(ptr noundef nonnull align 8 dereferenceable(2040) %80, ptr noundef nonnull align 4 dereferenceable(16) %7, ptr noundef nonnull align 8 dereferenceable(24) %8, i1 noundef zeroext false, i1 noundef zeroext true)
          to label %89 unwind label %86

89:                                               ; preds = %88
  %90 = getelementptr inbounds i8, ptr %0, i64 40
  %91 = call ptr @_ZNSt6vectorIPN3vox10NodeEditor6Detail4NodeESaIS4_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %8) #7
  %92 = call ptr @_ZNSt6vectorIPN3vox10NodeEditor6Detail4NodeESaIS4_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %8) #7
  invoke void @_ZNSt6vectorIPN3vox10NodeEditor6Detail6ObjectESaIS4_EE6assignIN9__gnu_cxx17__normal_iteratorIPPNS2_4NodeES_ISB_SaISB_EEEEvEEvT_SG_(ptr noundef nonnull align 8 dereferenceable(24) %90, ptr %91, ptr %92)
          to label %93 unwind label %86

93:                                               ; preds = %89
  %94 = getelementptr inbounds i8, ptr %0, i64 17
  %95 = load i8, ptr %94, align 1, !tbaa !36, !range !20, !noundef !21
  %96 = trunc nuw i8 %95 to i1
  br i1 %96, label %97, label %112

97:                                               ; preds = %93
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #7
  %98 = call ptr @_ZNSt6vectorIPN3vox10NodeEditor6Detail6ObjectESaIS4_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %90) #7
  %99 = call ptr @_ZNSt6vectorIPN3vox10NodeEditor6Detail6ObjectESaIS4_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %90) #7
  %100 = invoke ptr @"_ZSt9remove_ifIN9__gnu_cxx17__normal_iteratorIPPN3vox10NodeEditor6Detail6ObjectESt6vectorIS6_SaIS6_EEEEZNS4_12SelectAction7ProcessERKNS4_7ControlEE3$_0ET_SH_SH_T0_"(ptr %98, ptr %99)
          to label %101 unwind label %107

101:                                              ; preds = %97
  store ptr %100, ptr %10, align 8
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKPN3vox10NodeEditor6Detail6ObjectESt6vectorIS5_SaIS5_EEEC2IPS5_vEERKNS0_IT_SA_EE(ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef nonnull align 8 dereferenceable(8) %10) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #7
  %102 = call ptr @_ZNSt6vectorIPN3vox10NodeEditor6Detail6ObjectESaIS4_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %90) #7
  store ptr %102, ptr %13, align 8
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKPN3vox10NodeEditor6Detail6ObjectESt6vectorIS5_SaIS5_EEEC2IPS5_vEERKNS0_IT_SA_EE(ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull align 8 dereferenceable(8) %13) #7
  %103 = load ptr, ptr %11, align 8
  %104 = load ptr, ptr %12, align 8
  %105 = invoke ptr @_ZNSt6vectorIPN3vox10NodeEditor6Detail6ObjectESaIS4_EE5eraseEN9__gnu_cxx17__normal_iteratorIPKS4_S6_EESB_(ptr noundef nonnull align 8 dereferenceable(24) %90, ptr %103, ptr %104)
          to label %106 unwind label %109

106:                                              ; preds = %101
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #7
  br label %127

107:                                              ; preds = %97
  %108 = landingpad { ptr, i32 }
          cleanup
  br label %111

109:                                              ; preds = %101
  %110 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #7
  br label %111

111:                                              ; preds = %109, %107
  %.pn31 = phi { ptr, i32 } [ %110, %109 ], [ %108, %107 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #7
  br label %157

112:                                              ; preds = %93
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #7
  %113 = call ptr @_ZNSt6vectorIPN3vox10NodeEditor6Detail6ObjectESaIS4_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %90) #7
  %114 = call ptr @_ZNSt6vectorIPN3vox10NodeEditor6Detail6ObjectESaIS4_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %90) #7
  %115 = invoke ptr @"_ZSt9remove_ifIN9__gnu_cxx17__normal_iteratorIPPN3vox10NodeEditor6Detail6ObjectESt6vectorIS6_SaIS6_EEEEZNS4_12SelectAction7ProcessERKNS4_7ControlEE3$_1ET_SH_SH_T0_"(ptr %113, ptr %114)
          to label %116 unwind label %122

116:                                              ; preds = %112
  store ptr %115, ptr %14, align 8
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKPN3vox10NodeEditor6Detail6ObjectESt6vectorIS5_SaIS5_EEEC2IPS5_vEERKNS0_IT_SA_EE(ptr noundef nonnull align 8 dereferenceable(8) %15, ptr noundef nonnull align 8 dereferenceable(8) %14) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #7
  %117 = call ptr @_ZNSt6vectorIPN3vox10NodeEditor6Detail6ObjectESaIS4_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %90) #7
  store ptr %117, ptr %17, align 8
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKPN3vox10NodeEditor6Detail6ObjectESt6vectorIS5_SaIS5_EEEC2IPS5_vEERKNS0_IT_SA_EE(ptr noundef nonnull align 8 dereferenceable(8) %16, ptr noundef nonnull align 8 dereferenceable(8) %17) #7
  %118 = load ptr, ptr %15, align 8
  %119 = load ptr, ptr %16, align 8
  %120 = invoke ptr @_ZNSt6vectorIPN3vox10NodeEditor6Detail6ObjectESaIS4_EE5eraseEN9__gnu_cxx17__normal_iteratorIPKS4_S6_EESB_(ptr noundef nonnull align 8 dereferenceable(24) %90, ptr %118, ptr %119)
          to label %121 unwind label %124

121:                                              ; preds = %116
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #7
  br label %127

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

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

126:                                              ; preds = %124, %122
  %.pn = phi { ptr, i32 } [ %125, %124 ], [ %123, %122 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #7
  br label %157

127:                                              ; preds = %106, %121, %82
  %128 = getelementptr inbounds i8, ptr %0, i64 40
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #7
  %129 = call ptr @_ZNSt6vectorIPN3vox10NodeEditor6Detail6ObjectESaIS4_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %128) #7
  store ptr %129, ptr %19, align 8
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKPN3vox10NodeEditor6Detail6ObjectESt6vectorIS5_SaIS5_EEEC2IPS5_vEERKNS0_IT_SA_EE(ptr noundef nonnull align 8 dereferenceable(8) %18, ptr noundef nonnull align 8 dereferenceable(8) %19) #7
  %130 = getelementptr inbounds i8, ptr %0, i64 64
  %131 = call ptr @_ZNSt6vectorIPN3vox10NodeEditor6Detail6ObjectESaIS4_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %130) #7
  %132 = call ptr @_ZNSt6vectorIPN3vox10NodeEditor6Detail6ObjectESaIS4_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %130) #7
  %133 = load ptr, ptr %18, align 8
  %134 = invoke ptr @_ZNSt6vectorIPN3vox10NodeEditor6Detail6ObjectESaIS4_EE6insertIN9__gnu_cxx17__normal_iteratorIPS4_S6_EEvEESB_NS9_IPKS4_S6_EET_SF_(ptr noundef nonnull align 8 dereferenceable(24) %128, ptr %133, ptr %131, ptr %132)
          to label %135 unwind label %150

135:                                              ; preds = %127
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #7
  %136 = call ptr @_ZNSt6vectorIPN3vox10NodeEditor6Detail6ObjectESaIS4_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %128) #7
  %137 = call ptr @_ZNSt6vectorIPN3vox10NodeEditor6Detail6ObjectESaIS4_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %128) #7
  invoke void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPPN3vox10NodeEditor6Detail6ObjectESt6vectorIS6_SaIS6_EEEEEvT_SC_(ptr %136, ptr %137)
          to label %138 unwind label %86

138:                                              ; preds = %135
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %21) #7
  %139 = call ptr @_ZNSt6vectorIPN3vox10NodeEditor6Detail6ObjectESaIS4_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %128) #7
  %140 = call ptr @_ZNSt6vectorIPN3vox10NodeEditor6Detail6ObjectESaIS4_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %128) #7
  %141 = invoke ptr @_ZSt6uniqueIN9__gnu_cxx17__normal_iteratorIPPN3vox10NodeEditor6Detail6ObjectESt6vectorIS6_SaIS6_EEEEET_SC_SC_(ptr %139, ptr %140)
          to label %142 unwind label %152

142:                                              ; preds = %138
  store ptr %141, ptr %21, align 8
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKPN3vox10NodeEditor6Detail6ObjectESt6vectorIS5_SaIS5_EEEC2IPS5_vEERKNS0_IT_SA_EE(ptr noundef nonnull align 8 dereferenceable(8) %20, ptr noundef nonnull align 8 dereferenceable(8) %21) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %23) #7
  %143 = call ptr @_ZNSt6vectorIPN3vox10NodeEditor6Detail6ObjectESaIS4_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %128) #7
  store ptr %143, ptr %23, align 8
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKPN3vox10NodeEditor6Detail6ObjectESt6vectorIS5_SaIS5_EEEC2IPS5_vEERKNS0_IT_SA_EE(ptr noundef nonnull align 8 dereferenceable(8) %22, ptr noundef nonnull align 8 dereferenceable(8) %23) #7
  %144 = load ptr, ptr %20, align 8
  %145 = load ptr, ptr %22, align 8
  %146 = invoke ptr @_ZNSt6vectorIPN3vox10NodeEditor6Detail6ObjectESaIS4_EE5eraseEN9__gnu_cxx17__normal_iteratorIPKS4_S6_EESB_(ptr noundef nonnull align 8 dereferenceable(24) %128, ptr %144, ptr %145)
          to label %147 unwind label %154

147:                                              ; preds = %142
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %23) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #7
  call void @_ZNSt6vectorIPN3vox10NodeEditor6Detail4LinkESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #7
  call void @_ZNSt6vectorIPN3vox10NodeEditor6Detail4NodeESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #7
  %148 = load i8, ptr %40, align 8, !tbaa !24, !range !20, !noundef !21
  %149 = trunc nuw i8 %148 to i1
  br label %160

150:                                              ; preds = %127
  %151 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #7
  br label %157

152:                                              ; preds = %138
  %153 = landingpad { ptr, i32 }
          cleanup
  br label %156

154:                                              ; preds = %142
  %155 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %23) #7
  br label %156

156:                                              ; preds = %154, %152
  %.pn33 = phi { ptr, i32 } [ %155, %154 ], [ %153, %152 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #7
  br label %157

157:                                              ; preds = %156, %150, %126, %111, %86
  %.pn33.pn = phi { ptr, i32 } [ %.pn33, %156 ], [ %87, %86 ], [ %151, %150 ], [ %.pn31, %111 ], [ %.pn, %126 ]
  call void @_ZNSt6vectorIPN3vox10NodeEditor6Detail4LinkESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #7
  call void @_ZNSt6vectorIPN3vox10NodeEditor6Detail4NodeESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #7
  resume { ptr, i32 } %.pn33.pn

158:                                              ; preds = %43
  store i8 0, ptr %40, align 8, !tbaa !24
  %159 = getelementptr inbounds i8, ptr %0, i64 88
  call void @_ZN3vox10NodeEditor6Detail9Animation4PlayEf(ptr noundef nonnull align 8 dereferenceable(28) %159, float noundef 0x3FC3333340000000)
  store i8 1, ptr %24, align 1, !tbaa !5
  br label %160

160:                                              ; preds = %39, %147, %158
  %.0 = phi i1 [ %149, %147 ], [ true, %158 ], [ false, %39 ]
  ret i1 %.0
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #2

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

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden ptr @"_ZSt9remove_ifIN9__gnu_cxx17__normal_iteratorIPPN3vox10NodeEditor6Detail6ObjectESt6vectorIS6_SaIS6_EEEEZNS4_12SelectAction7ProcessERKNS4_7ControlEE3$_0ET_SH_SH_T0_"(ptr, ptr) local_unnamed_addr #6

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden ptr @"_ZSt9remove_ifIN9__gnu_cxx17__normal_iteratorIPPN3vox10NodeEditor6Detail6ObjectESt6vectorIS6_SaIS6_EEEEZNS4_12SelectAction7ProcessERKNS4_7ControlEE3$_1ET_SH_SH_T0_"(ptr, ptr) local_unnamed_addr #6

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPPN3vox10NodeEditor6Detail6ObjectESt6vectorIS6_SaIS6_EEEEEvT_SC_(ptr, ptr) local_unnamed_addr #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local ptr @_ZSt6uniqueIN9__gnu_cxx17__normal_iteratorIPPN3vox10NodeEditor6Detail6ObjectESt6vectorIS6_SaIS6_EEEEET_SC_SC_(ptr, ptr) local_unnamed_addr #6

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIPN3vox10NodeEditor6Detail4LinkESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #3 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 = { 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 #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 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { mustprogress uwtable "min-legal-vector-width"="64" "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 = { 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 #7 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !11, i64 19}
!6 = !{!"_ZTSN3vox10NodeEditor6Detail12SelectActionE", !7, i64 0, !11, i64 16, !11, i64 17, !11, i64 18, !11, i64 19, !12, i64 20, !12, i64 28, !14, i64 40, !14, i64 64, !18, i64 88}
!7 = !{!"_ZTSN3vox10NodeEditor6Detail12EditorActionE", !8, i64 8}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C++ TBAA"}
!11 = !{!"bool", !9, i64 0}
!12 = !{!"_ZTS6ImVec2", !13, i64 0, !13, i64 4}
!13 = !{!"float", !9, i64 0}
!14 = !{!"_ZTSSt6vectorIPN3vox10NodeEditor6Detail6ObjectESaIS4_EE", !15, i64 0}
!15 = !{!"_ZTSSt12_Vector_baseIPN3vox10NodeEditor6Detail6ObjectESaIS4_EE", !16, i64 0}
!16 = !{!"_ZTSNSt12_Vector_baseIPN3vox10NodeEditor6Detail6ObjectESaIS4_EE12_Vector_implE", !17, i64 0}
!17 = !{!"_ZTSNSt12_Vector_baseIPN3vox10NodeEditor6Detail6ObjectESaIS4_EE17_Vector_impl_dataE", !8, i64 0, !8, i64 8, !8, i64 16}
!18 = !{!"_ZTSN3vox10NodeEditor6Detail9AnimationE", !8, i64 8, !19, i64 16, !13, i64 20, !13, i64 24}
!19 = !{!"_ZTSN3vox10NodeEditor6Detail9Animation5StateE", !9, i64 0}
!20 = !{i8 0, i8 2}
!21 = !{}
!22 = !{!7, !8, i64 8}
!23 = !{!8, !8, i64 0}
!24 = !{!6, !11, i64 16}
!25 = !{!13, !13, i64 0}
!26 = !{!6, !13, i64 20}
!27 = !{!6, !13, i64 28}
!28 = !{!6, !13, i64 24}
!29 = !{!6, !13, i64 32}
!30 = !{!31, !13, i64 0}
!31 = !{!"_ZTS6ImRect", !12, i64 0, !12, i64 8}
!32 = !{!31, !13, i64 8}
!33 = !{!31, !13, i64 4}
!34 = !{!31, !13, i64 12}
!35 = !{!6, !11, i64 18}
!36 = !{!6, !11, i64 17}


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