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

%struct.ImVec2 = type { float, float }
%class.anon.135 = type { ptr, ptr, ptr }
%struct.ImRect = type { %struct.ImVec2, %struct.ImVec2 }
%"struct.vox::NodeEditor::Detail::NavigateAction" = type <{ %"struct.vox::NodeEditor::Detail::EditorAction", i8, [3 x i8], float, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, ptr, %struct.ImVec2, %struct.ImVec2, %"struct.vox::NodeEditor::Detail::NavigateAnimation", i32, [4 x i8], i64, ptr, i8, [3 x i8], %struct.ImVec2, [4 x i8] }>
%"struct.vox::NodeEditor::Detail::EditorAction" = type { ptr, ptr }
%"struct.vox::NodeEditor::Detail::NavigateAnimation" = type { %"struct.vox::NodeEditor::Detail::Animation.base", ptr, %struct.ImRect, %struct.ImRect }
%"struct.vox::NodeEditor::Detail::Animation.base" = type <{ ptr, ptr, i32, float, float }>
%struct.ImGuiIO = type { i32, i32, %struct.ImVec2, float, float, ptr, ptr, float, float, float, float, float, ptr, ptr, float, i8, ptr, %struct.ImVec2, i8, i8, i8, i8, i8, i8, i8, float, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i8, i8, i8, i8, i8, i8, i8, float, i32, i32, i32, i32, i32, %struct.ImVec2, [641 x i32], [512 x i8], %struct.ImVec2, [5 x i8], float, float, i8, i8, i8, i8, [20 x float], i32, i32, [641 x %struct.ImGuiKeyData], i8, %struct.ImVec2, [5 x %struct.ImVec2], [5 x double], [5 x i8], [5 x i8], [5 x i16], [5 x i16], [5 x i8], [5 x i8], [5 x i8], [5 x float], [5 x float], [5 x float], [20 x float], [20 x float], float, i8, i8, i8, i16, %struct.ImVector.0 }
%struct.ImGuiKeyData = type { i8, float, float, float }
%struct.ImVector.0 = type { i32, i32, ptr }

@.str.1 = external hidden unnamed_addr constant [86 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [12 x i8], align 1
@__PRETTY_FUNCTION__._ZN3vox10NodeEditor6Detail14NavigateAction6AcceptERKNS1_7ControlE = external hidden unnamed_addr constant [104 x i8], align 1

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

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

; 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: inlinehint mustprogress uwtable
declare hidden <2 x float> @_ZmlRK6ImVec2f(ptr noundef nonnull align 4 dereferenceable(8), float noundef) #2

; Function Attrs: inlinehint mustprogress uwtable
declare hidden <2 x float> @_ZmiRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8)) #2

declare noundef zeroext i1 @_ZN5ImGui15IsWindowFocusedEi(i32 noundef) #3

declare noundef nonnull align 8 dereferenceable(14080) ptr @_ZN5ImGui5GetIOEv() #3

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN3vox10NodeEditor6Detail14NavigateAction6AcceptERKNS1_7ControlE(ptr noundef nonnull align 8 dereferenceable(184) %0, ptr noundef nonnull align 8 dereferenceable(132) %1) unnamed_addr #4 align 2 {
  %3 = alloca i32, align 4
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca %struct.ImVec2, align 4
  %7 = alloca %struct.ImVec2, align 4
  %8 = alloca %struct.ImVec2, align 4
  %9 = alloca ptr, align 8
  %10 = alloca i8, align 1
  %11 = alloca %class.anon.135, align 8
  %12 = alloca i8, align 1
  %13 = alloca %struct.ImRect, align 4
  %14 = alloca ptr, align 8
  %15 = alloca %struct.ImRect, align 4
  %16 = alloca %struct.ImRect, align 4
  %17 = alloca i32, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  %18 = load ptr, ptr %4, align 8
  %19 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::NavigateAction", ptr %18, i32 0, i32 1
  %20 = load i8, ptr %19, align 8, !tbaa !9, !range !21, !noundef !22
  %21 = trunc i8 %20 to i1
  %22 = xor i1 %21, true
  br i1 %22, label %23, label %24

23:                                               ; preds = %2
  br label %26

24:                                               ; preds = %2
  call void @__assert_fail(ptr noundef @.str.30, ptr noundef @.str.1, i32 noundef 2599, ptr noundef @__PRETTY_FUNCTION__._ZN3vox10NodeEditor6Detail14NavigateAction6AcceptERKNS1_7ControlE) #8
  unreachable

25:                                               ; No predecessors!
  br label %26

26:                                               ; preds = %25, %23
  %27 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::NavigateAction", ptr %18, i32 0, i32 1
  %28 = load i8, ptr %27, align 8, !tbaa !9, !range !21, !noundef !22
  %29 = trunc i8 %28 to i1
  br i1 %29, label %30, label %31

30:                                               ; preds = %26
  store i32 0, ptr %3, align 4
  br label %160

31:                                               ; preds = %26
  %32 = call noundef zeroext i1 @_ZN5ImGui15IsWindowHoveredEi(i32 noundef 0)
  br i1 %32, label %33, label %48

33:                                               ; preds = %31
  %34 = call noundef zeroext i1 @_ZN5ImGui15IsMouseDraggingEif(i32 noundef 1, float noundef 0.000000e+00)
  br i1 %34, label %35, label %48

35:                                               ; preds = %33
  %36 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::NavigateAction", ptr %18, i32 0, i32 1
  store i8 1, ptr %36, align 8, !tbaa !9
  %37 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::NavigateAction", ptr %18, i32 0, i32 4
  %38 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::NavigateAction", ptr %18, i32 0, i32 5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %38, ptr align 8 %37, i64 8, i1 false), !tbaa.struct !23
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #9
  %39 = call <2 x float> @_ZN5ImGui17GetMouseDragDeltaEif(i32 noundef 1, float noundef -1.000000e+00)
  store <2 x float> %39, ptr %6, align 4
  %40 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::NavigateAction", ptr %18, i32 0, i32 6
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %40, ptr align 4 %6, i64 8, i1 false), !tbaa.struct !23
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #9
  %41 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::NavigateAction", ptr %18, i32 0, i32 5
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #9
  %42 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::NavigateAction", ptr %18, i32 0, i32 6
  %43 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::NavigateAction", ptr %18, i32 0, i32 3
  %44 = load float, ptr %43, align 4, !tbaa !25
  %45 = call <2 x float> @_ZmlRK6ImVec2f(ptr noundef nonnull align 4 dereferenceable(8) %42, float noundef %44)
  store <2 x float> %45, ptr %8, align 4
  %46 = call <2 x float> @_ZmiRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %41, ptr noundef nonnull align 4 dereferenceable(8) %8)
  store <2 x float> %46, ptr %7, align 4
  %47 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::NavigateAction", ptr %18, i32 0, i32 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %47, ptr align 4 %7, i64 8, i1 false), !tbaa.struct !23
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #9
  br label %48

48:                                               ; preds = %35, %33, %31
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #9
  %49 = call noundef nonnull align 8 dereferenceable(14080) ptr @_ZN5ImGui5GetIOEv()
  store ptr %49, ptr %9, align 8, !tbaa !5
  %50 = call noundef zeroext i1 @_ZN5ImGui15IsWindowFocusedEi(i32 noundef 0)
  br i1 %50, label %51, label %149

51:                                               ; preds = %48
  %52 = call noundef i32 @_ZN3vox10NodeEditor6DetailL15GetKeyIndexForFEv()
  %53 = call noundef zeroext i1 @_ZN5ImGui12IsKeyPressedEib(i32 noundef %52, i1 noundef zeroext true)
  br i1 %53, label %54, label %149

54:                                               ; preds = %51
  %55 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::EditorAction", ptr %18, i32 0, i32 1
  %56 = load ptr, ptr %55, align 8, !tbaa !26
  %57 = call noundef zeroext i1 @_ZN3vox10NodeEditor6Detail13EditorContext19AreShortcutsEnabledEv(ptr noundef nonnull align 8 dereferenceable(2040) %56)
  br i1 %57, label %58, label %149

58:                                               ; preds = %54
  call void @llvm.lifetime.start.p0(i64 1, ptr %10) #9
  %59 = load ptr, ptr %9, align 8, !tbaa !5
  %60 = getelementptr inbounds %struct.ImGuiIO, ptr %59, i32 0, i32 57
  %61 = load i8, ptr %60, align 1, !tbaa !27, !range !21, !noundef !22
  %62 = trunc i8 %61 to i1
  %63 = zext i1 %62 to i8
  store i8 %63, ptr %10, align 1, !tbaa !32
  call void @llvm.lifetime.start.p0(i64 24, ptr %11) #9
  %64 = getelementptr inbounds %class.anon.135, ptr %11, i32 0, i32 0
  store ptr %18, ptr %64, align 8, !tbaa !33
  %65 = getelementptr inbounds %class.anon.135, ptr %11, i32 0, i32 1
  %66 = load ptr, ptr %5, align 8, !tbaa !5
  store ptr %66, ptr %65, align 8, !tbaa !5
  %67 = getelementptr inbounds %class.anon.135, ptr %11, i32 0, i32 2
  %68 = load ptr, ptr %9, align 8, !tbaa !5
  store ptr %68, ptr %67, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %12) #9
  store i8 0, ptr %12, align 1, !tbaa !32
  %69 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::EditorAction", ptr %18, i32 0, i32 1
  %70 = load ptr, ptr %69, align 8, !tbaa !26
  %71 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZN3vox10NodeEditor6Detail13EditorContext18GetSelectedObjectsEv(ptr noundef nonnull align 8 dereferenceable(2040) %70)
  %72 = call noundef zeroext i1 @_ZNKSt6vectorIPN3vox10NodeEditor6Detail6ObjectESaIS4_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %71) #9
  br i1 %72, label %103, label %73

73:                                               ; preds = %58
  %74 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::NavigateAction", ptr %18, i32 0, i32 11
  %75 = load i32, ptr %74, align 8, !tbaa !35
  %76 = icmp ne i32 %75, 2
  br i1 %76, label %87, label %77

77:                                               ; preds = %73
  %78 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::NavigateAction", ptr %18, i32 0, i32 13
  %79 = load i64, ptr %78, align 8, !tbaa !36
  %80 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::EditorAction", ptr %18, i32 0, i32 1
  %81 = load ptr, ptr %80, align 8, !tbaa !26
  %82 = call noundef i64 @_ZNK3vox10NodeEditor6Detail13EditorContext14GetSelectionIdEv(ptr noundef nonnull align 8 dereferenceable(2040) %81)
  %83 = icmp ne i64 %79, %82
  br i1 %83, label %87, label %84

84:                                               ; preds = %77
  %85 = load i8, ptr %10, align 1, !tbaa !32, !range !21, !noundef !22
  %86 = trunc i8 %85 to i1
  br i1 %86, label %87, label %101

87:                                               ; preds = %84, %77, %73
  %88 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::EditorAction", ptr %18, i32 0, i32 1
  %89 = load ptr, ptr %88, align 8, !tbaa !26
  %90 = call noundef i64 @_ZNK3vox10NodeEditor6Detail13EditorContext14GetSelectionIdEv(ptr noundef nonnull align 8 dereferenceable(2040) %89)
  %91 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::NavigateAction", ptr %18, i32 0, i32 13
  store i64 %90, ptr %91, align 8, !tbaa !36
  call void @llvm.lifetime.start.p0(i64 16, ptr %13) #9
  %92 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::EditorAction", ptr %18, i32 0, i32 1
  %93 = load ptr, ptr %92, align 8, !tbaa !26
  %94 = call { <2 x float>, <2 x float> } @_ZN3vox10NodeEditor6Detail13EditorContext18GetSelectionBoundsEv(ptr noundef nonnull align 8 dereferenceable(2040) %93)
  %95 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %13, i32 0, i32 0
  %96 = extractvalue { <2 x float>, <2 x float> } %94, 0
  store <2 x float> %96, ptr %95, align 4
  %97 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %13, i32 0, i32 1
  %98 = extractvalue { <2 x float>, <2 x float> } %94, 1
  store <2 x float> %98, ptr %97, align 4
  %99 = load i8, ptr %10, align 1, !tbaa !32, !range !21, !noundef !22
  %100 = trunc i8 %99 to i1
  call void @_ZN3vox10NodeEditor6Detail14NavigateAction10NavigateToERK6ImRectbfNS2_16NavigationReasonE(ptr noundef nonnull align 8 dereferenceable(184) %18, ptr noundef nonnull align 4 dereferenceable(16) %13, i1 noundef zeroext %100, float noundef -1.000000e+00, i32 noundef 2)
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #9
  br label %102

101:                                              ; preds = %84
  store i8 1, ptr %12, align 1, !tbaa !32
  br label %102

102:                                              ; preds = %101, %87
  br label %137

103:                                              ; preds = %58
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #9
  %104 = call noundef ptr @"_ZZN3vox10NodeEditor6Detail14NavigateAction6AcceptERKNS1_7ControlEENK3$_0clEv"(ptr noundef nonnull align 8 dereferenceable(24) %11)
  store ptr %104, ptr %14, align 8, !tbaa !5
  %105 = load ptr, ptr %14, align 8, !tbaa !5
  %106 = icmp ne ptr %105, null
  br i1 %106, label %107, label %135

107:                                              ; preds = %103
  %108 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::NavigateAction", ptr %18, i32 0, i32 11
  %109 = load i32, ptr %108, align 8, !tbaa !35
  %110 = icmp ne i32 %109, 3
  br i1 %110, label %119, label %111

111:                                              ; preds = %107
  %112 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::NavigateAction", ptr %18, i32 0, i32 14
  %113 = load ptr, ptr %112, align 8, !tbaa !37
  %114 = load ptr, ptr %14, align 8, !tbaa !5
  %115 = icmp ne ptr %113, %114
  br i1 %115, label %119, label %116

116:                                              ; preds = %111
  %117 = load i8, ptr %10, align 1, !tbaa !32, !range !21, !noundef !22
  %118 = trunc i8 %117 to i1
  br i1 %118, label %119, label %133

119:                                              ; preds = %116, %111, %107
  %120 = load ptr, ptr %14, align 8, !tbaa !5
  %121 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::NavigateAction", ptr %18, i32 0, i32 14
  store ptr %120, ptr %121, align 8, !tbaa !37
  call void @llvm.lifetime.start.p0(i64 16, ptr %15) #9
  %122 = load ptr, ptr %14, align 8, !tbaa !5
  %123 = load ptr, ptr %122, align 8, !tbaa !38
  %124 = getelementptr inbounds ptr, ptr %123, i64 13
  %125 = load ptr, ptr %124, align 8
  %126 = call { <2 x float>, <2 x float> } %125(ptr noundef nonnull align 8 dereferenceable(17) %122)
  %127 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %15, i32 0, i32 0
  %128 = extractvalue { <2 x float>, <2 x float> } %126, 0
  store <2 x float> %128, ptr %127, align 4
  %129 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %15, i32 0, i32 1
  %130 = extractvalue { <2 x float>, <2 x float> } %126, 1
  store <2 x float> %130, ptr %129, align 4
  %131 = load i8, ptr %10, align 1, !tbaa !32, !range !21, !noundef !22
  %132 = trunc i8 %131 to i1
  call void @_ZN3vox10NodeEditor6Detail14NavigateAction10NavigateToERK6ImRectbfNS2_16NavigationReasonE(ptr noundef nonnull align 8 dereferenceable(184) %18, ptr noundef nonnull align 4 dereferenceable(16) %15, i1 noundef zeroext %132, float noundef -1.000000e+00, i32 noundef 3)
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #9
  br label %134

133:                                              ; preds = %116
  store i8 1, ptr %12, align 1, !tbaa !32
  br label %134

134:                                              ; preds = %133, %119
  br label %136

135:                                              ; preds = %103
  store i8 1, ptr %12, align 1, !tbaa !32
  br label %136

136:                                              ; preds = %135, %134
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #9
  br label %137

137:                                              ; preds = %136, %102
  %138 = load i8, ptr %12, align 1, !tbaa !32, !range !21, !noundef !22
  %139 = trunc i8 %138 to i1
  br i1 %139, label %140, label %148

140:                                              ; preds = %137
  call void @llvm.lifetime.start.p0(i64 16, ptr %16) #9
  %141 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::EditorAction", ptr %18, i32 0, i32 1
  %142 = load ptr, ptr %141, align 8, !tbaa !26
  %143 = call { <2 x float>, <2 x float> } @_ZN3vox10NodeEditor6Detail13EditorContext16GetContentBoundsEv(ptr noundef nonnull align 8 dereferenceable(2040) %142)
  %144 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %16, i32 0, i32 0
  %145 = extractvalue { <2 x float>, <2 x float> } %143, 0
  store <2 x float> %145, ptr %144, align 4
  %146 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %16, i32 0, i32 1
  %147 = extractvalue { <2 x float>, <2 x float> } %143, 1
  store <2 x float> %147, ptr %146, align 4
  call void @_ZN3vox10NodeEditor6Detail14NavigateAction10NavigateToERK6ImRectbfNS2_16NavigationReasonE(ptr noundef nonnull align 8 dereferenceable(184) %18, ptr noundef nonnull align 4 dereferenceable(16) %16, i1 noundef zeroext true, float noundef -1.000000e+00, i32 noundef 4)
  call void @llvm.lifetime.end.p0(i64 16, ptr %16) #9
  br label %148

148:                                              ; preds = %140, %137
  call void @llvm.lifetime.end.p0(i64 1, ptr %12) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %11) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %10) #9
  br label %149

149:                                              ; preds = %148, %54, %51, %48
  %150 = load ptr, ptr %5, align 8, !tbaa !5
  %151 = call noundef zeroext i1 @_ZN3vox10NodeEditor6Detail14NavigateAction10HandleZoomERKNS1_7ControlE(ptr noundef nonnull align 8 dereferenceable(184) %18, ptr noundef nonnull align 8 dereferenceable(132) %150)
  br i1 %151, label %152, label %153

152:                                              ; preds = %149
  store i32 1, ptr %3, align 4
  store i32 1, ptr %17, align 4
  br label %159

153:                                              ; preds = %149
  %154 = getelementptr inbounds %"struct.vox::NodeEditor::Detail::NavigateAction", ptr %18, i32 0, i32 1
  %155 = load i8, ptr %154, align 8, !tbaa !9, !range !21, !noundef !22
  %156 = trunc i8 %155 to i1
  %157 = zext i1 %156 to i64
  %158 = select i1 %156, i32 1, i32 0
  store i32 %158, ptr %3, align 4
  store i32 1, ptr %17, align 4
  br label %159

159:                                              ; preds = %153, %152
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #9
  br label %160

160:                                              ; preds = %159, %30
  %161 = load i32, ptr %3, align 4
  ret i32 %161
}

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

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #6

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN3vox10NodeEditor6Detail13EditorContext19AreShortcutsEnabledEv(ptr noundef nonnull align 8 dereferenceable(2040)) #5 align 2

declare noundef zeroext i1 @_ZN5ImGui15IsWindowHoveredEi(i32 noundef) #3

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

declare <2 x float> @_ZN5ImGui17GetMouseDragDeltaEif(i32 noundef, float noundef) #3

declare noundef zeroext i1 @_ZN5ImGui12IsKeyPressedEib(i32 noundef, i1 noundef zeroext) #3

; Function Attrs: inlinehint mustprogress uwtable
declare hidden noundef i32 @_ZN3vox10NodeEditor6DetailL15GetKeyIndexForFEv() #7

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNKSt6vectorIPN3vox10NodeEditor6Detail6ObjectESaIS4_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24)) #5 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNK3vox10NodeEditor6Detail13EditorContext14GetSelectionIdEv(ptr noundef nonnull align 8 dereferenceable(2040)) #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3vox10NodeEditor6Detail14NavigateAction10NavigateToERK6ImRectbfNS2_16NavigationReasonE(ptr noundef nonnull align 8 dereferenceable(184), ptr noundef nonnull align 4 dereferenceable(16), i1 noundef zeroext, float noundef, i32 noundef) #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local { <2 x float>, <2 x float> } @_ZN3vox10NodeEditor6Detail13EditorContext18GetSelectionBoundsEv(ptr noundef nonnull align 8 dereferenceable(2040)) #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare hidden noundef ptr @"_ZZN3vox10NodeEditor6Detail14NavigateAction6AcceptERKNS1_7ControlEENK3$_0clEv"(ptr noundef nonnull align 8 dereferenceable(24)) #7 align 2

; Function Attrs: mustprogress uwtable
declare dso_local { <2 x float>, <2 x float> } @_ZN3vox10NodeEditor6Detail13EditorContext16GetContentBoundsEv(ptr noundef nonnull align 8 dereferenceable(2040)) #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN3vox10NodeEditor6Detail14NavigateAction10HandleZoomERKNS1_7ControlE(ptr noundef nonnull align 8 dereferenceable(184), ptr noundef nonnull align 8 dereferenceable(132)) #4 align 2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { inlinehint 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 #3 = { "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 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 #5 = { 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 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { 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 = { noreturn nounwind }
attributes #9 = { 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 16}
!10 = !{!"_ZTSN3vox10NodeEditor6Detail14NavigateActionE", !11, i64 0, !12, i64 16, !13, i64 20, !14, i64 24, !14, i64 32, !14, i64 40, !6, i64 48, !14, i64 56, !14, i64 64, !15, i64 72, !19, i64 144, !20, i64 152, !6, i64 160, !12, i64 168, !14, i64 172}
!11 = !{!"_ZTSN3vox10NodeEditor6Detail12EditorActionE", !6, i64 8}
!12 = !{!"bool", !7, i64 0}
!13 = !{!"float", !7, i64 0}
!14 = !{!"_ZTS6ImVec2", !13, i64 0, !13, i64 4}
!15 = !{!"_ZTSN3vox10NodeEditor6Detail17NavigateAnimationE", !16, i64 0, !6, i64 32, !18, i64 40, !18, i64 56}
!16 = !{!"_ZTSN3vox10NodeEditor6Detail9AnimationE", !6, i64 8, !17, i64 16, !13, i64 20, !13, i64 24}
!17 = !{!"_ZTSN3vox10NodeEditor6Detail9Animation5StateE", !7, i64 0}
!18 = !{!"_ZTS6ImRect", !14, i64 0, !14, i64 8}
!19 = !{!"_ZTSN3vox10NodeEditor6Detail14NavigateAction16NavigationReasonE", !7, i64 0}
!20 = !{!"long", !7, i64 0}
!21 = !{i8 0, i8 2}
!22 = !{}
!23 = !{i64 0, i64 4, !24, i64 4, i64 4, !24}
!24 = !{!13, !13, i64 0}
!25 = !{!10, !13, i64 20}
!26 = !{!11, !6, i64 8}
!27 = !{!28, !12, i64 3341}
!28 = !{!"_ZTS7ImGuiIO", !29, i64 0, !29, i64 4, !14, i64 8, !13, i64 16, !13, i64 20, !6, i64 24, !6, i64 32, !13, i64 40, !13, i64 44, !13, i64 48, !13, i64 52, !13, i64 56, !6, i64 64, !6, i64 72, !13, i64 80, !12, i64 84, !6, i64 88, !14, i64 96, !12, i64 104, !12, i64 105, !12, i64 106, !12, i64 107, !12, i64 108, !12, i64 109, !12, i64 110, !13, i64 112, !6, i64 120, !6, i64 128, !6, i64 136, !6, i64 144, !6, i64 152, !6, i64 160, !6, i64 168, !6, i64 176, !6, i64 184, !6, i64 192, !12, i64 200, !12, i64 201, !12, i64 202, !12, i64 203, !12, i64 204, !12, i64 205, !12, i64 206, !13, i64 208, !29, i64 212, !29, i64 216, !29, i64 220, !29, i64 224, !29, i64 228, !14, i64 232, !7, i64 240, !7, i64 2804, !14, i64 3316, !7, i64 3324, !13, i64 3332, !13, i64 3336, !12, i64 3340, !12, i64 3341, !12, i64 3342, !12, i64 3343, !7, i64 3344, !29, i64 3424, !29, i64 3428, !7, i64 3432, !12, i64 13688, !14, i64 13692, !7, i64 13700, !7, i64 13744, !7, i64 13784, !7, i64 13789, !7, i64 13794, !7, i64 13804, !7, i64 13814, !7, i64 13819, !7, i64 13824, !7, i64 13832, !7, i64 13852, !7, i64 13872, !7, i64 13892, !7, i64 13972, !13, i64 14052, !12, i64 14056, !7, i64 14057, !12, i64 14058, !30, i64 14060, !31, i64 14064}
!29 = !{!"int", !7, i64 0}
!30 = !{!"short", !7, i64 0}
!31 = !{!"_ZTS8ImVectorItE", !29, i64 0, !29, i64 4, !6, i64 8}
!32 = !{!12, !12, i64 0}
!33 = !{!34, !6, i64 0}
!34 = !{!"_ZTSZN3vox10NodeEditor6Detail14NavigateAction6AcceptERKNS1_7ControlEE3$_0", !6, i64 0, !6, i64 8, !6, i64 16}
!35 = !{!10, !19, i64 144}
!36 = !{!10, !20, i64 152}
!37 = !{!10, !6, i64 160}
!38 = !{!39, !39, i64 0}
!39 = !{!"vtable pointer", !8, i64 0}


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

%struct.ImVec2 = type { float, float }
%class.anon.135 = type { ptr, ptr, ptr }
%struct.ImRect = type { %struct.ImVec2, %struct.ImVec2 }

@.str.1 = external hidden unnamed_addr constant [86 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [12 x i8], align 1
@__PRETTY_FUNCTION__._ZN3vox10NodeEditor6Detail14NavigateAction6AcceptERKNS1_7ControlE = external hidden unnamed_addr constant [104 x i8], align 1

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden <2 x float> @_ZmlRK6ImVec2f(ptr noundef nonnull align 4 dereferenceable(8), float noundef) local_unnamed_addr #1

; Function Attrs: inlinehint mustprogress uwtable
declare hidden <2 x float> @_ZmiRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #1

declare noundef zeroext i1 @_ZN5ImGui15IsWindowFocusedEi(i32 noundef) local_unnamed_addr #2

declare noundef nonnull align 8 dereferenceable(14080) ptr @_ZN5ImGui5GetIOEv() local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
define dso_local noundef range(i32 0, 2) i32 @_ZN3vox10NodeEditor6Detail14NavigateAction6AcceptERKNS1_7ControlE(ptr noundef nonnull align 8 dereferenceable(184) %0, ptr noundef nonnull align 8 dereferenceable(132) %1) unnamed_addr #3 align 2 {
  %3 = alloca %struct.ImVec2, align 8
  %4 = alloca %class.anon.135, align 8
  %5 = alloca %struct.ImRect, align 8
  %6 = alloca %struct.ImRect, align 8
  %7 = alloca %struct.ImRect, align 8
  %8 = getelementptr inbounds i8, ptr %0, i64 16
  %9 = load i8, ptr %8, align 8, !tbaa !5, !range !20, !noundef !21
  %10 = trunc nuw i8 %9 to i1
  br i1 %10, label %11, label %12

11:                                               ; preds = %2
  tail call void @__assert_fail(ptr noundef nonnull @.str.30, ptr noundef nonnull @.str.1, i32 noundef 2599, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN3vox10NodeEditor6Detail14NavigateAction6AcceptERKNS1_7ControlE) #7
  unreachable

12:                                               ; preds = %2
  %13 = tail call noundef zeroext i1 @_ZN5ImGui15IsWindowHoveredEi(i32 noundef 0)
  br i1 %13, label %14, label %26

14:                                               ; preds = %12
  %15 = tail call noundef zeroext i1 @_ZN5ImGui15IsMouseDraggingEif(i32 noundef 1, float noundef 0.000000e+00)
  br i1 %15, label %16, label %26

16:                                               ; preds = %14
  store i8 1, ptr %8, align 8, !tbaa !5
  %17 = getelementptr inbounds i8, ptr %0, i64 24
  %18 = getelementptr inbounds i8, ptr %0, i64 32
  %19 = load i64, ptr %17, align 8
  store i64 %19, ptr %18, align 8
  %20 = tail call <2 x float> @_ZN5ImGui17GetMouseDragDeltaEif(i32 noundef 1, float noundef -1.000000e+00)
  %21 = getelementptr inbounds i8, ptr %0, i64 40
  store <2 x float> %20, ptr %21, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #8
  %22 = getelementptr inbounds i8, ptr %0, i64 20
  %23 = load float, ptr %22, align 4, !tbaa !22
  %24 = tail call <2 x float> @_ZmlRK6ImVec2f(ptr noundef nonnull align 4 dereferenceable(8) %21, float noundef %23)
  store <2 x float> %24, ptr %3, align 8
  %25 = call <2 x float> @_ZmiRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %18, ptr noundef nonnull align 4 dereferenceable(8) %3)
  store <2 x float> %25, ptr %17, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #8
  br label %26

26:                                               ; preds = %16, %14, %12
  %27 = call noundef nonnull align 8 dereferenceable(14080) ptr @_ZN5ImGui5GetIOEv()
  %28 = call noundef zeroext i1 @_ZN5ImGui15IsWindowFocusedEi(i32 noundef 0)
  br i1 %28, label %29, label %83

29:                                               ; preds = %26
  %30 = call noundef i32 @_ZN3vox10NodeEditor6DetailL15GetKeyIndexForFEv()
  %31 = call noundef zeroext i1 @_ZN5ImGui12IsKeyPressedEib(i32 noundef %30, i1 noundef zeroext true)
  br i1 %31, label %32, label %83

32:                                               ; preds = %29
  %33 = getelementptr inbounds i8, ptr %0, i64 8
  %34 = load ptr, ptr %33, align 8, !tbaa !23
  %35 = call noundef zeroext i1 @_ZN3vox10NodeEditor6Detail13EditorContext19AreShortcutsEnabledEv(ptr noundef nonnull align 8 dereferenceable(2040) %34)
  br i1 %35, label %36, label %83

36:                                               ; preds = %32
  %37 = getelementptr inbounds i8, ptr %27, i64 3341
  %38 = load i8, ptr %37, align 1, !tbaa !24, !range !20, !noundef !21
  %39 = trunc nuw i8 %38 to i1
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %4) #8
  store ptr %0, ptr %4, align 8, !tbaa !29
  %40 = getelementptr inbounds i8, ptr %4, i64 8
  store ptr %1, ptr %40, align 8, !tbaa !31
  %41 = getelementptr inbounds i8, ptr %4, i64 16
  store ptr %27, ptr %41, align 8, !tbaa !31
  %42 = load ptr, ptr %33, align 8, !tbaa !23
  %43 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZN3vox10NodeEditor6Detail13EditorContext18GetSelectedObjectsEv(ptr noundef nonnull align 8 dereferenceable(2040) %42)
  %44 = call noundef zeroext i1 @_ZNKSt6vectorIPN3vox10NodeEditor6Detail6ObjectESaIS4_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %43) #8
  br i1 %44, label %62, label %45

45:                                               ; preds = %36
  %46 = getelementptr inbounds i8, ptr %0, i64 144
  %47 = load i32, ptr %46, align 8, !tbaa !32
  %.not = icmp eq i32 %47, 2
  br i1 %.not, label %48, label %53

48:                                               ; preds = %45
  %49 = getelementptr inbounds i8, ptr %0, i64 152
  %50 = load i64, ptr %49, align 8, !tbaa !33
  %51 = load ptr, ptr %33, align 8, !tbaa !23
  %52 = call noundef i64 @_ZNK3vox10NodeEditor6Detail13EditorContext14GetSelectionIdEv(ptr noundef nonnull align 8 dereferenceable(2040) %51)
  %.not18 = icmp ne i64 %50, %52
  %brmerge = select i1 %.not18, i1 true, i1 %39
  br i1 %brmerge, label %53, label %77

53:                                               ; preds = %48, %45
  %54 = load ptr, ptr %33, align 8, !tbaa !23
  %55 = call noundef i64 @_ZNK3vox10NodeEditor6Detail13EditorContext14GetSelectionIdEv(ptr noundef nonnull align 8 dereferenceable(2040) %54)
  %56 = getelementptr inbounds i8, ptr %0, i64 152
  store i64 %55, ptr %56, align 8, !tbaa !33
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #8
  %57 = load ptr, ptr %33, align 8, !tbaa !23
  %58 = call { <2 x float>, <2 x float> } @_ZN3vox10NodeEditor6Detail13EditorContext18GetSelectionBoundsEv(ptr noundef nonnull align 8 dereferenceable(2040) %57)
  %59 = extractvalue { <2 x float>, <2 x float> } %58, 0
  store <2 x float> %59, ptr %5, align 8
  %60 = getelementptr inbounds i8, ptr %5, i64 8
  %61 = extractvalue { <2 x float>, <2 x float> } %58, 1
  store <2 x float> %61, ptr %60, align 8
  call void @_ZN3vox10NodeEditor6Detail14NavigateAction10NavigateToERK6ImRectbfNS2_16NavigationReasonE(ptr noundef nonnull align 8 dereferenceable(184) %0, ptr noundef nonnull align 4 dereferenceable(16) %5, i1 noundef zeroext %39, float noundef -1.000000e+00, i32 noundef 2)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #8
  br label %.critedge

62:                                               ; preds = %36
  %63 = call noundef ptr @"_ZZN3vox10NodeEditor6Detail14NavigateAction6AcceptERKNS1_7ControlEENK3$_0clEv"(ptr noundef nonnull align 8 dereferenceable(24) %4)
  %.not19 = icmp eq ptr %63, null
  br i1 %.not19, label %77, label %64

64:                                               ; preds = %62
  %65 = getelementptr inbounds i8, ptr %0, i64 144
  %66 = load i32, ptr %65, align 8, !tbaa !32
  %.not20 = icmp ne i32 %66, 3
  %67 = getelementptr inbounds i8, ptr %0, i64 160
  %68 = load ptr, ptr %67, align 8
  %.not21 = icmp ne ptr %68, %63
  %or.cond.not24 = select i1 %.not20, i1 true, i1 %.not21
  %brmerge23 = select i1 %or.cond.not24, i1 true, i1 %39
  br i1 %brmerge23, label %69, label %77

69:                                               ; preds = %64
  store ptr %63, ptr %67, align 8, !tbaa !34
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #8
  %70 = load ptr, ptr %63, align 8, !tbaa !35
  %71 = getelementptr inbounds i8, ptr %70, i64 104
  %72 = load ptr, ptr %71, align 8
  %73 = call { <2 x float>, <2 x float> } %72(ptr noundef nonnull align 8 dereferenceable(17) %63)
  %74 = extractvalue { <2 x float>, <2 x float> } %73, 0
  store <2 x float> %74, ptr %6, align 8
  %75 = getelementptr inbounds i8, ptr %6, i64 8
  %76 = extractvalue { <2 x float>, <2 x float> } %73, 1
  store <2 x float> %76, ptr %75, align 8
  call void @_ZN3vox10NodeEditor6Detail14NavigateAction10NavigateToERK6ImRectbfNS2_16NavigationReasonE(ptr noundef nonnull align 8 dereferenceable(184) %0, ptr noundef nonnull align 4 dereferenceable(16) %6, i1 noundef zeroext %39, float noundef -1.000000e+00, i32 noundef 3)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #8
  br label %.critedge

77:                                               ; preds = %48, %62, %64
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7) #8
  %78 = load ptr, ptr %33, align 8, !tbaa !23
  %79 = call { <2 x float>, <2 x float> } @_ZN3vox10NodeEditor6Detail13EditorContext16GetContentBoundsEv(ptr noundef nonnull align 8 dereferenceable(2040) %78)
  %80 = extractvalue { <2 x float>, <2 x float> } %79, 0
  store <2 x float> %80, ptr %7, align 8
  %81 = getelementptr inbounds i8, ptr %7, i64 8
  %82 = extractvalue { <2 x float>, <2 x float> } %79, 1
  store <2 x float> %82, ptr %81, align 8
  call void @_ZN3vox10NodeEditor6Detail14NavigateAction10NavigateToERK6ImRectbfNS2_16NavigationReasonE(ptr noundef nonnull align 8 dereferenceable(184) %0, ptr noundef nonnull align 4 dereferenceable(16) %7, i1 noundef zeroext true, float noundef -1.000000e+00, i32 noundef 4)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #8
  br label %.critedge

.critedge:                                        ; preds = %53, %69, %77
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #8
  br label %83

83:                                               ; preds = %.critedge, %32, %29, %26
  %84 = call noundef zeroext i1 @_ZN3vox10NodeEditor6Detail14NavigateAction10HandleZoomERKNS1_7ControlE(ptr noundef nonnull align 8 dereferenceable(184) %0, ptr noundef nonnull align 8 dereferenceable(132) %1)
  %85 = load i8, ptr %8, align 8, !range !20
  %86 = zext nneg i8 %85 to i32
  %.0 = select i1 %84, i32 1, i32 %86
  ret i32 %.0
}

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

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #5

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN3vox10NodeEditor6Detail13EditorContext19AreShortcutsEnabledEv(ptr noundef nonnull align 8 dereferenceable(2040)) local_unnamed_addr #4 align 2

declare noundef zeroext i1 @_ZN5ImGui15IsWindowHoveredEi(i32 noundef) local_unnamed_addr #2

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

declare <2 x float> @_ZN5ImGui17GetMouseDragDeltaEif(i32 noundef, float noundef) local_unnamed_addr #2

declare noundef zeroext i1 @_ZN5ImGui12IsKeyPressedEib(i32 noundef, i1 noundef zeroext) local_unnamed_addr #2

; Function Attrs: inlinehint mustprogress uwtable
declare hidden noundef i32 @_ZN3vox10NodeEditor6DetailL15GetKeyIndexForFEv() local_unnamed_addr #6

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3vox10NodeEditor6Detail14NavigateAction10NavigateToERK6ImRectbfNS2_16NavigationReasonE(ptr noundef nonnull align 8 dereferenceable(184), ptr noundef nonnull align 4 dereferenceable(16), i1 noundef zeroext, float noundef, i32 noundef) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local { <2 x float>, <2 x float> } @_ZN3vox10NodeEditor6Detail13EditorContext18GetSelectionBoundsEv(ptr noundef nonnull align 8 dereferenceable(2040)) local_unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare hidden noundef ptr @"_ZZN3vox10NodeEditor6Detail14NavigateAction6AcceptERKNS1_7ControlEENK3$_0clEv"(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #6 align 2

; Function Attrs: mustprogress uwtable
declare dso_local { <2 x float>, <2 x float> } @_ZN3vox10NodeEditor6Detail13EditorContext16GetContentBoundsEv(ptr noundef nonnull align 8 dereferenceable(2040)) local_unnamed_addr #3 align 2

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { inlinehint 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 #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress uwtable "min-legal-vector-width"="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 #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 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #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 = { noreturn nounwind }
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, !11, i64 16}
!6 = !{!"_ZTSN3vox10NodeEditor6Detail14NavigateActionE", !7, i64 0, !11, i64 16, !12, i64 20, !13, i64 24, !13, i64 32, !13, i64 40, !8, i64 48, !13, i64 56, !13, i64 64, !14, i64 72, !18, i64 144, !19, i64 152, !8, i64 160, !11, i64 168, !13, i64 172}
!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 = !{!"float", !9, i64 0}
!13 = !{!"_ZTS6ImVec2", !12, i64 0, !12, i64 4}
!14 = !{!"_ZTSN3vox10NodeEditor6Detail17NavigateAnimationE", !15, i64 0, !8, i64 32, !17, i64 40, !17, i64 56}
!15 = !{!"_ZTSN3vox10NodeEditor6Detail9AnimationE", !8, i64 8, !16, i64 16, !12, i64 20, !12, i64 24}
!16 = !{!"_ZTSN3vox10NodeEditor6Detail9Animation5StateE", !9, i64 0}
!17 = !{!"_ZTS6ImRect", !13, i64 0, !13, i64 8}
!18 = !{!"_ZTSN3vox10NodeEditor6Detail14NavigateAction16NavigationReasonE", !9, i64 0}
!19 = !{!"long", !9, i64 0}
!20 = !{i8 0, i8 2}
!21 = !{}
!22 = !{!6, !12, i64 20}
!23 = !{!7, !8, i64 8}
!24 = !{!25, !11, i64 3341}
!25 = !{!"_ZTS7ImGuiIO", !26, i64 0, !26, i64 4, !13, i64 8, !12, i64 16, !12, i64 20, !8, i64 24, !8, i64 32, !12, i64 40, !12, i64 44, !12, i64 48, !12, i64 52, !12, i64 56, !8, i64 64, !8, i64 72, !12, i64 80, !11, i64 84, !8, i64 88, !13, i64 96, !11, i64 104, !11, i64 105, !11, i64 106, !11, i64 107, !11, i64 108, !11, i64 109, !11, i64 110, !12, i64 112, !8, i64 120, !8, i64 128, !8, i64 136, !8, i64 144, !8, i64 152, !8, i64 160, !8, i64 168, !8, i64 176, !8, i64 184, !8, i64 192, !11, i64 200, !11, i64 201, !11, i64 202, !11, i64 203, !11, i64 204, !11, i64 205, !11, i64 206, !12, i64 208, !26, i64 212, !26, i64 216, !26, i64 220, !26, i64 224, !26, i64 228, !13, i64 232, !9, i64 240, !9, i64 2804, !13, i64 3316, !9, i64 3324, !12, i64 3332, !12, i64 3336, !11, i64 3340, !11, i64 3341, !11, i64 3342, !11, i64 3343, !9, i64 3344, !26, i64 3424, !26, i64 3428, !9, i64 3432, !11, i64 13688, !13, i64 13692, !9, i64 13700, !9, i64 13744, !9, i64 13784, !9, i64 13789, !9, i64 13794, !9, i64 13804, !9, i64 13814, !9, i64 13819, !9, i64 13824, !9, i64 13832, !9, i64 13852, !9, i64 13872, !9, i64 13892, !9, i64 13972, !12, i64 14052, !11, i64 14056, !9, i64 14057, !11, i64 14058, !27, i64 14060, !28, i64 14064}
!26 = !{!"int", !9, i64 0}
!27 = !{!"short", !9, i64 0}
!28 = !{!"_ZTS8ImVectorItE", !26, i64 0, !26, i64 4, !8, i64 8}
!29 = !{!30, !8, i64 0}
!30 = !{!"_ZTSZN3vox10NodeEditor6Detail14NavigateAction6AcceptERKNS1_7ControlEE3$_0", !8, i64 0, !8, i64 8, !8, i64 16}
!31 = !{!8, !8, i64 0}
!32 = !{!6, !18, i64 144}
!33 = !{!6, !19, i64 152}
!34 = !{!6, !8, i64 160}
!35 = !{!36, !36, i64 0}
!36 = !{!"vtable pointer", !10, i64 0}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,SROAPass,SimplifyCFGPass,TailCallElimPass