; LLVM IR from JawherBenjeddou/GraphicsRenderer :: Graphics/vendor/ImGui (imgui)

; 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 }
%struct.ImGuiContext = type { i8, i8, %struct.ImGuiIO, %struct.ImGuiPlatformIO, %struct.ImGuiStyle, i32, i32, ptr, float, float, %struct.ImDrawListSharedData, double, i32, i32, i32, i32, i8, i8, i8, i8, i8, ptr, %struct.ImVector.3, %struct.ImVector.3, i32, i32, %struct.ImVector.4, %struct.ImVector.4, %struct.ImVector.4, %struct.ImVector.5, %struct.ImGuiStorage, i32, %struct.ImVec2, ptr, ptr, ptr, ptr, ptr, %struct.ImVec2, i32, float, %struct.ImVec2, %struct.ImVec2, i32, i32, i32, i8, i8, float, float, i32, i32, float, i8, i8, i8, i8, i8, i8, %struct.ImVec2, ptr, i32, i32, i32, i8, i8, ptr, i32, float, [140 x %struct.ImGuiKeyOwnerData], %struct.ImGuiKeyRoutingTable, i32, i8, i32, i32, i32, i32, %struct.ImGuiNextItemData, %struct.ImGuiLastItemData, %struct.ImGuiNextWindowData, %struct.ImVector.8, %struct.ImVector.9, %struct.ImVector.10, %struct.ImVector.11, %struct.ImVector.12, %struct.ImVector.13, %struct.ImVector.14, %struct.ImVector.14, i32, %struct.ImVector.15, float, ptr, ptr, ptr, i32, %struct.ImGuiPlatformMonitor, i32, i32, i32, ptr, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i8, i8, i8, i8, i8, i8, i8, %struct.ImGuiNavItemData, i8, i8, i8, i32, i32, i32, i32, i32, i32, %struct.ImRect, %struct.ImRect, i32, i32, i32, %struct.ImGuiNavItemData, %struct.ImGuiNavItemData, %struct.ImGuiNavItemData, %struct.ImGuiNavItemData, i32, i32, ptr, ptr, ptr, float, float, i8, %struct.ImVec2, %struct.ImVec2, float, i8, i8, i8, i32, i32, i32, %struct.ImGuiPayload, %struct.ImRect, i32, i32, float, i32, i32, i32, i32, %struct.ImVector.16, [16 x i8], i32, %struct.ImVector.17, ptr, i32, %struct.ImVector.18, %struct.ImPool, %struct.ImVector.20, %struct.ImVector.21, ptr, %struct.ImPool.22, %struct.ImVector.24, %struct.ImVector.25, i32, i32, float, float, i32, i32, i32, float, %struct.ImVec2, %struct.ImGuiInputTextState, %struct.ImGuiInputTextDeactivatedState, %struct.ImFont, i32, i32, i32, i32, float, float, i32, %struct.ImVec4, %struct.ImGuiComboPreviewData, float, float, i8, i8, float, float, float, float, i16, i16, %struct.ImVector.26, %struct.ImVector.11, %struct.ImGuiPlatformImeData, %struct.ImGuiPlatformImeData, i32, i8, [3 x i8], %struct.ImGuiDockContext, ptr, i8, float, %struct.ImGuiTextBuffer, %struct.ImVector.30, %struct.ImChunkStream, %struct.ImChunkStream.31, %struct.ImVector.32, i32, [9 x ptr], i8, i32, ptr, %struct.ImGuiTextBuffer, ptr, ptr, float, i8, i32, i32, i32, i32, %struct.ImGuiTextBuffer, %struct.ImGuiTextIndex, i8, i8, i8, i8, i8, i32, %struct.ImGuiMetricsConfig, %struct.ImGuiStackTool, ptr, [60 x float], i32, i32, float, i32, i32, i32, %struct.ImVector.26 }
%struct.ImGuiIO = type { i32, i32, %struct.ImVec2, float, float, ptr, ptr, ptr, ptr, float, i8, ptr, %struct.ImVec2, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, float, float, float, float, float, float, i8, i8, i8, i8, 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, [652 x i32], [652 x i8], [16 x float], ptr, %struct.ImVec2, [5 x i8], float, float, i32, i32, i8, i8, i8, i8, i32, [652 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], i8, [5 x float], [5 x float], [5 x %struct.ImVec2], [5 x float], float, i8, i8, i8, i8, i16, %struct.ImVector }
%struct.ImGuiKeyData = type { i8, float, float, float }
%struct.ImVector = type { i32, i32, ptr }
%struct.ImGuiPlatformIO = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, %struct.ImVector.0, %struct.ImVector.1 }
%struct.ImVector.0 = type { i32, i32, ptr }
%struct.ImVector.1 = type { i32, i32, ptr }
%struct.ImGuiStyle = type { float, float, %struct.ImVec2, float, float, %struct.ImVec2, %struct.ImVec2, i32, float, float, float, float, %struct.ImVec2, float, float, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, float, float, float, float, float, float, float, float, float, i32, %struct.ImVec2, %struct.ImVec2, float, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, float, i8, i8, i8, float, float, [55 x %struct.ImVec4], float, float, float, i32, i32 }
%struct.ImDrawListSharedData = type { %struct.ImVec2, ptr, float, float, float, %struct.ImVec4, i32, %struct.ImVector.2, [48 x %struct.ImVec2], float, [64 x i8], ptr }
%struct.ImVector.2 = type { i32, i32, ptr }
%struct.ImVector.3 = type { i32, i32, ptr }
%struct.ImVector.4 = type { i32, i32, ptr }
%struct.ImVector.5 = type { i32, i32, ptr }
%struct.ImGuiStorage = type { %struct.ImVector.6 }
%struct.ImVector.6 = type { i32, i32, ptr }
%struct.ImGuiKeyOwnerData = type <{ i32, i32, i8, i8, [2 x i8] }>
%struct.ImGuiKeyRoutingTable = type { [140 x i16], %struct.ImVector.7, %struct.ImVector.7 }
%struct.ImVector.7 = type { i32, i32, ptr }
%struct.ImGuiNextItemData = type <{ i32, i32, float, i32, i32, i8, [3 x i8] }>
%struct.ImGuiLastItemData = type { i32, i32, i32, %struct.ImRect, %struct.ImRect, %struct.ImRect }
%struct.ImGuiNextWindowData = type { i32, i32, i32, i32, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, i8, i8, %struct.ImRect, ptr, ptr, float, i32, i32, %struct.ImGuiWindowClass, %struct.ImVec2 }
%struct.ImGuiWindowClass = type <{ i32, i32, i32, i32, i32, i32, i8, i8, [2 x i8] }>
%struct.ImVector.8 = type { i32, i32, ptr }
%struct.ImVector.9 = type { i32, i32, ptr }
%struct.ImVector.10 = type { i32, i32, ptr }
%struct.ImVector.12 = type { i32, i32, ptr }
%struct.ImVector.13 = type { i32, i32, ptr }
%struct.ImVector.14 = type { i32, i32, ptr }
%struct.ImVector.15 = type { i32, i32, ptr }
%struct.ImGuiPlatformMonitor = type { %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, ptr }
%struct.ImGuiNavItemData = type { ptr, i32, i32, %struct.ImRect, i32, float, float, float }
%struct.ImGuiPayload = type <{ ptr, i32, i32, i32, i32, [33 x i8], i8, i8, [5 x i8] }>
%struct.ImRect = type { %struct.ImVec2, %struct.ImVec2 }
%struct.ImVector.16 = type { i32, i32, ptr }
%struct.ImVector.17 = type { i32, i32, ptr }
%struct.ImVector.18 = type { i32, i32, ptr }
%struct.ImPool = type { %struct.ImVector.19, %struct.ImGuiStorage, i32, i32 }
%struct.ImVector.19 = type { i32, i32, ptr }
%struct.ImVector.20 = type { i32, i32, ptr }
%struct.ImVector.21 = type { i32, i32, ptr }
%struct.ImPool.22 = type { %struct.ImVector.23, %struct.ImGuiStorage, i32, i32 }
%struct.ImVector.23 = type { i32, i32, ptr }
%struct.ImVector.24 = type { i32, i32, ptr }
%struct.ImVector.25 = type { i32, i32, ptr }
%struct.ImGuiInputTextState = type <{ ptr, i32, i32, i32, [4 x i8], %struct.ImVector, %struct.ImVector.26, %struct.ImVector.26, i8, [3 x i8], i32, float, %"struct.ImStb::STB_TexteditState", float, i8, i8, i8, i8, i32, [4 x i8] }>
%"struct.ImStb::STB_TexteditState" = type { i32, i32, i32, i8, i32, i8, i8, i8, i8, i8, i8, i8, float, %"struct.ImStb::StbUndoState" }
%"struct.ImStb::StbUndoState" = type { [99 x %"struct.ImStb::StbUndoRecord"], [999 x i16], i16, i16, i32, i32 }
%"struct.ImStb::StbUndoRecord" = type { i32, i32, i32, i32 }
%struct.ImGuiInputTextDeactivatedState = type { i32, %struct.ImVector.26 }
%struct.ImFont = type <{ %struct.ImVector.20, float, float, %struct.ImVector, %struct.ImVector.27, ptr, ptr, ptr, i16, i16, i16, i16, float, float, i8, [3 x i8], float, float, float, i32, [2 x i8], [2 x i8] }>
%struct.ImVector.27 = type { i32, i32, ptr }
%struct.ImVec4 = type { float, float, float, float }
%struct.ImGuiComboPreviewData = type { %struct.ImRect, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, i32 }
%struct.ImVector.11 = type { i32, i32, ptr }
%struct.ImGuiPlatformImeData = type { i8, %struct.ImVec2, float }
%struct.ImGuiDockContext = type <{ %struct.ImGuiStorage, %struct.ImVector.28, %struct.ImVector.29, i8, [7 x i8] }>
%struct.ImVector.28 = type { i32, i32, ptr }
%struct.ImVector.29 = type { i32, i32, ptr }
%struct.ImVector.30 = type { i32, i32, ptr }
%struct.ImChunkStream = type { %struct.ImVector.26 }
%struct.ImChunkStream.31 = type { %struct.ImVector.26 }
%struct.ImVector.32 = type { i32, i32, ptr }
%struct.ImGuiTextBuffer = type { %struct.ImVector.26 }
%struct.ImGuiTextIndex = type <{ %struct.ImVector.12, i32, [4 x i8] }>
%struct.ImGuiMetricsConfig = type { i8, i8, i8, i8, i8, i8, i8, i8, i8, i32, i32 }
%struct.ImGuiStackTool = type { i32, i32, i32, %struct.ImVector.33, i8, float }
%struct.ImVector.33 = type { i32, i32, ptr }
%struct.ImVector.26 = type { i32, i32, ptr }
%struct.ImGuiDockNode = type <{ i32, i32, i32, i32, i32, i32, ptr, [2 x ptr], %struct.ImVector.4, ptr, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, i32, %struct.ImGuiWindowClass, i32, [4 x i8], ptr, ptr, ptr, ptr, i32, i32, i32, i32, i32, i32, i32, i32, i16, i8, [5 x i8] }>
%struct.ImGuiWindow = type { ptr, ptr, i32, i32, i32, %struct.ImGuiWindowClass, ptr, i32, %struct.ImVec2, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, float, float, float, float, float, float, float, i32, i32, i32, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i16, i16, i16, i16, i16, i32, i8, i8, i8, i8, i32, i8, i8, i8, i8, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVector.11, %struct.ImGuiWindowTempData, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImVec2ih, %struct.ImVec2ih, i32, i32, float, float, %struct.ImGuiStorage, %struct.ImVector.36, float, float, i32, ptr, %struct.ImDrawList, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, [2 x i32], [2 x %struct.ImRect], [2 x %struct.ImVec2], i32, i32, i32, i8, i8, i16, %struct.ImGuiWindowDockStyle, ptr, ptr, i32, i32, %struct.ImRect }
%struct.ImGuiWindowTempData = type { %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, float, i8, i8, %struct.ImVec1, %struct.ImVec1, %struct.ImVec1, %struct.ImVec2, i32, i16, i16, i8, i8, i8, i8, %struct.ImVec2, %struct.ImGuiMenuColumns, i32, i32, %struct.ImVector.4, ptr, ptr, i32, i32, i32, float, float, %struct.ImVector.20, %struct.ImVector.20 }
%struct.ImVec1 = type { float }
%struct.ImGuiMenuColumns = type <{ i32, i32, i16, i16, i16, i16, i16, [4 x i16], [2 x i8] }>
%struct.ImVec2ih = type { i16, i16 }
%struct.ImVector.36 = type { i32, i32, ptr }
%struct.ImDrawList = type <{ %struct.ImVector.37, %struct.ImVector, %struct.ImVector.38, i32, i32, ptr, ptr, ptr, ptr, %struct.ImVector.39, %struct.ImVector.40, %struct.ImVector.2, %struct.ImDrawCmdHeader, %struct.ImDrawListSplitter, float, [4 x i8] }>
%struct.ImVector.37 = type { i32, i32, ptr }
%struct.ImVector.38 = type { i32, i32, ptr }
%struct.ImVector.39 = type { i32, i32, ptr }
%struct.ImVector.40 = type { i32, i32, ptr }
%struct.ImDrawCmdHeader = type <{ %struct.ImVec4, ptr, i32, [4 x i8] }>
%struct.ImDrawListSplitter = type { i32, i32, %struct.ImVector.21 }
%struct.ImGuiWindowDockStyle = type { [6 x i32] }

@.str.3 = external hidden unnamed_addr constant [98 x i8], align 1
@.str.332 = external hidden unnamed_addr constant [50 x i8], align 1
@.str.333 = external hidden unnamed_addr constant [19 x i8], align 1
@__PRETTY_FUNCTION__._ZN5ImGui28DockContextProcessUndockNodeEP12ImGuiContextP13ImGuiDockNode = external hidden unnamed_addr constant [74 x i8], align 1
@.str.334 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.335 = external hidden unnamed_addr constant [83 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 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: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui8DebugLogEPKcz(ptr noundef, ...) #3

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN5ImGui30UpdateWindowParentAndRootLinksEP11ImGuiWindowiS1_(ptr noundef, i32 noundef, ptr noundef) #5

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN5ImGui20MarkIniSettingsDirtyEv() #5

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN5ImGui28DockContextProcessUndockNodeEP12ImGuiContextP13ImGuiDockNode(ptr noundef %0, ptr noundef %1) #6 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca ptr, align 8
  %10 = alloca %struct.ImVec2, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #7
  %11 = load ptr, ptr %3, align 8, !tbaa !5
  store ptr %11, ptr %5, align 8, !tbaa !5
  br label %12

12:                                               ; preds = %2
  %13 = load ptr, ptr %5, align 8, !tbaa !5
  %14 = getelementptr inbounds %struct.ImGuiContext, ptr %13, i32 0, i32 239
  %15 = load i32, ptr %14, align 4, !tbaa !9
  %16 = and i32 %15, 128
  %17 = icmp ne i32 %16, 0
  br i1 %17, label %18, label %22

18:                                               ; preds = %12
  %19 = load ptr, ptr %4, align 8, !tbaa !5
  %20 = getelementptr inbounds %struct.ImGuiDockNode, ptr %19, i32 0, i32 0
  %21 = load i32, ptr %20, align 8, !tbaa !85
  call void (ptr, ...) @_ZN5ImGui8DebugLogEPKcz(ptr noundef @.str.332, i32 noundef %21)
  br label %22

22:                                               ; preds = %18, %12
  br label %23

23:                                               ; preds = %22
  br label %24

24:                                               ; preds = %23
  %25 = load ptr, ptr %4, align 8, !tbaa !5
  %26 = call noundef zeroext i1 @_ZNK13ImGuiDockNode10IsLeafNodeEv(ptr noundef nonnull align 8 dereferenceable(203) %25)
  br i1 %26, label %27, label %28

27:                                               ; preds = %24
  br label %30

28:                                               ; preds = %24
  call void @__assert_fail(ptr noundef @.str.333, ptr noundef @.str.3, i32 noundef 15733, ptr noundef @__PRETTY_FUNCTION__._ZN5ImGui28DockContextProcessUndockNodeEP12ImGuiContextP13ImGuiDockNode) #8
  unreachable

29:                                               ; No predecessors!
  br label %30

30:                                               ; preds = %29, %27
  %31 = load ptr, ptr %4, align 8, !tbaa !5
  %32 = getelementptr inbounds %struct.ImGuiDockNode, ptr %31, i32 0, i32 8
  %33 = getelementptr inbounds %struct.ImVector.4, ptr %32, i32 0, i32 0
  %34 = load i32, ptr %33, align 8, !tbaa !89
  %35 = icmp sge i32 %34, 1
  br i1 %35, label %36, label %37

36:                                               ; preds = %30
  br label %39

37:                                               ; preds = %30
  call void @__assert_fail(ptr noundef @.str.334, ptr noundef @.str.3, i32 noundef 15734, ptr noundef @__PRETTY_FUNCTION__._ZN5ImGui28DockContextProcessUndockNodeEP12ImGuiContextP13ImGuiDockNode) #8
  unreachable

38:                                               ; No predecessors!
  br label %39

39:                                               ; preds = %38, %36
  %40 = load ptr, ptr %4, align 8, !tbaa !5
  %41 = call noundef zeroext i1 @_ZNK13ImGuiDockNode10IsRootNodeEv(ptr noundef nonnull align 8 dereferenceable(203) %40)
  br i1 %41, label %45, label %42

42:                                               ; preds = %39
  %43 = load ptr, ptr %4, align 8, !tbaa !5
  %44 = call noundef zeroext i1 @_ZNK13ImGuiDockNode13IsCentralNodeEv(ptr noundef nonnull align 8 dereferenceable(203) %43)
  br i1 %44, label %45, label %69

45:                                               ; preds = %42, %39
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #7
  %46 = load ptr, ptr %3, align 8, !tbaa !5
  %47 = call noundef ptr @_ZN5ImGuiL18DockContextAddNodeEP12ImGuiContextj(ptr noundef %46, i32 noundef 0)
  store ptr %47, ptr %6, align 8, !tbaa !5
  %48 = load ptr, ptr %4, align 8, !tbaa !5
  %49 = getelementptr inbounds %struct.ImGuiDockNode, ptr %48, i32 0, i32 10
  %50 = load ptr, ptr %6, align 8, !tbaa !5
  %51 = getelementptr inbounds %struct.ImGuiDockNode, ptr %50, i32 0, i32 10
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %51, ptr align 8 %49, i64 8, i1 false), !tbaa.struct !90
  %52 = load ptr, ptr %4, align 8, !tbaa !5
  %53 = getelementptr inbounds %struct.ImGuiDockNode, ptr %52, i32 0, i32 11
  %54 = load ptr, ptr %6, align 8, !tbaa !5
  %55 = getelementptr inbounds %struct.ImGuiDockNode, ptr %54, i32 0, i32 11
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %55, ptr align 8 %53, i64 8, i1 false), !tbaa.struct !90
  %56 = load ptr, ptr %4, align 8, !tbaa !5
  %57 = getelementptr inbounds %struct.ImGuiDockNode, ptr %56, i32 0, i32 12
  %58 = load ptr, ptr %6, align 8, !tbaa !5
  %59 = getelementptr inbounds %struct.ImGuiDockNode, ptr %58, i32 0, i32 12
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %59, ptr align 8 %57, i64 8, i1 false), !tbaa.struct !90
  %60 = load ptr, ptr %6, align 8, !tbaa !5
  %61 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN5ImGuiL19DockNodeMoveWindowsEP13ImGuiDockNodeS1_(ptr noundef %60, ptr noundef %61)
  %62 = load ptr, ptr %4, align 8, !tbaa !5
  %63 = getelementptr inbounds %struct.ImGuiDockNode, ptr %62, i32 0, i32 0
  %64 = load i32, ptr %63, align 8, !tbaa !85
  %65 = load ptr, ptr %6, align 8, !tbaa !5
  %66 = getelementptr inbounds %struct.ImGuiDockNode, ptr %65, i32 0, i32 0
  %67 = load i32, ptr %66, align 8, !tbaa !85
  call void @_ZN5ImGuiL32DockSettingsRenameNodeReferencesEjj(i32 noundef %64, i32 noundef %67)
  %68 = load ptr, ptr %6, align 8, !tbaa !5
  store ptr %68, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #7
  br label %132

69:                                               ; preds = %42
  %70 = load ptr, ptr %4, align 8, !tbaa !5
  %71 = getelementptr inbounds %struct.ImGuiDockNode, ptr %70, i32 0, i32 6
  %72 = load ptr, ptr %71, align 8, !tbaa !92
  %73 = getelementptr inbounds %struct.ImGuiDockNode, ptr %72, i32 0, i32 7
  %74 = getelementptr inbounds [2 x ptr], ptr %73, i64 0, i64 0
  %75 = load ptr, ptr %74, align 8, !tbaa !5
  %76 = load ptr, ptr %4, align 8, !tbaa !5
  %77 = icmp eq ptr %75, %76
  br i1 %77, label %87, label %78

78:                                               ; preds = %69
  %79 = load ptr, ptr %4, align 8, !tbaa !5
  %80 = getelementptr inbounds %struct.ImGuiDockNode, ptr %79, i32 0, i32 6
  %81 = load ptr, ptr %80, align 8, !tbaa !92
  %82 = getelementptr inbounds %struct.ImGuiDockNode, ptr %81, i32 0, i32 7
  %83 = getelementptr inbounds [2 x ptr], ptr %82, i64 0, i64 1
  %84 = load ptr, ptr %83, align 8, !tbaa !5
  %85 = load ptr, ptr %4, align 8, !tbaa !5
  %86 = icmp eq ptr %84, %85
  br label %87

87:                                               ; preds = %78, %69
  %88 = phi i1 [ true, %69 ], [ %86, %78 ]
  br i1 %88, label %89, label %90

89:                                               ; preds = %87
  br label %92

90:                                               ; preds = %87
  call void @__assert_fail(ptr noundef @.str.335, ptr noundef @.str.3, i32 noundef 15750, ptr noundef @__PRETTY_FUNCTION__._ZN5ImGui28DockContextProcessUndockNodeEP12ImGuiContextP13ImGuiDockNode) #8
  unreachable

91:                                               ; No predecessors!
  br label %92

92:                                               ; preds = %91, %89
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #7
  %93 = load ptr, ptr %4, align 8, !tbaa !5
  %94 = getelementptr inbounds %struct.ImGuiDockNode, ptr %93, i32 0, i32 6
  %95 = load ptr, ptr %94, align 8, !tbaa !92
  %96 = getelementptr inbounds %struct.ImGuiDockNode, ptr %95, i32 0, i32 7
  %97 = getelementptr inbounds [2 x ptr], ptr %96, i64 0, i64 0
  %98 = load ptr, ptr %97, align 8, !tbaa !5
  %99 = load ptr, ptr %4, align 8, !tbaa !5
  %100 = icmp eq ptr %98, %99
  %101 = zext i1 %100 to i64
  %102 = select i1 %100, i32 0, i32 1
  store i32 %102, ptr %7, align 4, !tbaa !93
  %103 = load ptr, ptr %4, align 8, !tbaa !5
  %104 = getelementptr inbounds %struct.ImGuiDockNode, ptr %103, i32 0, i32 6
  %105 = load ptr, ptr %104, align 8, !tbaa !92
  %106 = getelementptr inbounds %struct.ImGuiDockNode, ptr %105, i32 0, i32 7
  %107 = load i32, ptr %7, align 4, !tbaa !93
  %108 = sext i32 %107 to i64
  %109 = getelementptr inbounds [2 x ptr], ptr %106, i64 0, i64 %108
  store ptr null, ptr %109, align 8, !tbaa !5
  %110 = load ptr, ptr %3, align 8, !tbaa !5
  %111 = load ptr, ptr %4, align 8, !tbaa !5
  %112 = getelementptr inbounds %struct.ImGuiDockNode, ptr %111, i32 0, i32 6
  %113 = load ptr, ptr %112, align 8, !tbaa !92
  %114 = load ptr, ptr %4, align 8, !tbaa !5
  %115 = getelementptr inbounds %struct.ImGuiDockNode, ptr %114, i32 0, i32 6
  %116 = load ptr, ptr %115, align 8, !tbaa !92
  %117 = getelementptr inbounds %struct.ImGuiDockNode, ptr %116, i32 0, i32 7
  %118 = load i32, ptr %7, align 4, !tbaa !93
  %119 = xor i32 %118, 1
  %120 = sext i32 %119 to i64
  %121 = getelementptr inbounds [2 x ptr], ptr %117, i64 0, i64 %120
  %122 = load ptr, ptr %121, align 8, !tbaa !5
  call void @_ZN5ImGuiL17DockNodeTreeMergeEP12ImGuiContextP13ImGuiDockNodeS3_(ptr noundef %110, ptr noundef %113, ptr noundef %122)
  %123 = load ptr, ptr %4, align 8, !tbaa !5
  %124 = getelementptr inbounds %struct.ImGuiDockNode, ptr %123, i32 0, i32 6
  %125 = load ptr, ptr %124, align 8, !tbaa !92
  %126 = getelementptr inbounds %struct.ImGuiDockNode, ptr %125, i32 0, i32 29
  %127 = load i16, ptr %126, align 8
  %128 = and i16 %127, -449
  %129 = or i16 %128, 128
  store i16 %129, ptr %126, align 8
  %130 = load ptr, ptr %4, align 8, !tbaa !5
  %131 = getelementptr inbounds %struct.ImGuiDockNode, ptr %130, i32 0, i32 6
  store ptr null, ptr %131, align 8, !tbaa !92
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #7
  br label %132

132:                                              ; preds = %92, %45
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #7
  store i32 0, ptr %8, align 4, !tbaa !93
  br label %133

133:                                              ; preds = %167, %132
  %134 = load i32, ptr %8, align 4, !tbaa !93
  %135 = load ptr, ptr %4, align 8, !tbaa !5
  %136 = getelementptr inbounds %struct.ImGuiDockNode, ptr %135, i32 0, i32 8
  %137 = getelementptr inbounds %struct.ImVector.4, ptr %136, i32 0, i32 0
  %138 = load i32, ptr %137, align 8, !tbaa !89
  %139 = icmp slt i32 %134, %138
  br i1 %139, label %141, label %140

140:                                              ; preds = %133
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #7
  br label %170

141:                                              ; preds = %133
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #7
  %142 = load ptr, ptr %4, align 8, !tbaa !5
  %143 = getelementptr inbounds %struct.ImGuiDockNode, ptr %142, i32 0, i32 8
  %144 = load i32, ptr %8, align 4, !tbaa !93
  %145 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8ImVectorIP11ImGuiWindowEixEi(ptr noundef nonnull align 8 dereferenceable(16) %143, i32 noundef %144)
  %146 = load ptr, ptr %145, align 8, !tbaa !5
  store ptr %146, ptr %9, align 8, !tbaa !5
  %147 = load ptr, ptr %9, align 8, !tbaa !5
  %148 = getelementptr inbounds %struct.ImGuiWindow, ptr %147, i32 0, i32 3
  %149 = load i32, ptr %148, align 4, !tbaa !94
  %150 = and i32 %149, -16777217
  store i32 %150, ptr %148, align 4, !tbaa !94
  %151 = load ptr, ptr %9, align 8, !tbaa !5
  %152 = getelementptr inbounds %struct.ImGuiWindow, ptr %151, i32 0, i32 90
  %153 = load ptr, ptr %152, align 8, !tbaa !109
  %154 = icmp ne ptr %153, null
  br i1 %154, label %155, label %162

155:                                              ; preds = %141
  %156 = load ptr, ptr %9, align 8, !tbaa !5
  %157 = getelementptr inbounds %struct.ImGuiWindow, ptr %156, i32 0, i32 90
  %158 = load ptr, ptr %157, align 8, !tbaa !109
  %159 = getelementptr inbounds %struct.ImGuiWindow, ptr %158, i32 0, i32 69
  %160 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %159, i32 0, i32 26
  %161 = call noundef zeroext i1 @_ZN8ImVectorIP11ImGuiWindowE10find_eraseERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %160, ptr noundef nonnull align 8 dereferenceable(8) %9)
  br label %162

162:                                              ; preds = %155, %141
  %163 = load ptr, ptr %9, align 8, !tbaa !5
  %164 = load ptr, ptr %9, align 8, !tbaa !5
  %165 = getelementptr inbounds %struct.ImGuiWindow, ptr %164, i32 0, i32 3
  %166 = load i32, ptr %165, align 4, !tbaa !94
  call void @_ZN5ImGui30UpdateWindowParentAndRootLinksEP11ImGuiWindowiS1_(ptr noundef %163, i32 noundef %166, ptr noundef null)
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #7
  br label %167

167:                                              ; preds = %162
  %168 = load i32, ptr %8, align 4, !tbaa !93
  %169 = add nsw i32 %168, 1
  store i32 %169, ptr %8, align 4, !tbaa !93
  br label %133, !llvm.loop !110

170:                                              ; preds = %140
  %171 = load ptr, ptr %4, align 8, !tbaa !5
  %172 = getelementptr inbounds %struct.ImGuiDockNode, ptr %171, i32 0, i32 29
  %173 = load i16, ptr %172, align 8
  %174 = and i16 %173, -57
  %175 = or i16 %174, 8
  store i16 %175, ptr %172, align 8
  %176 = load ptr, ptr %4, align 8, !tbaa !5
  %177 = getelementptr inbounds %struct.ImGuiDockNode, ptr %176, i32 0, i32 29
  %178 = load i16, ptr %177, align 8
  %179 = and i16 %178, -8
  %180 = or i16 %179, 1
  store i16 %180, ptr %177, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #7
  %181 = load ptr, ptr %4, align 8, !tbaa !5
  %182 = getelementptr inbounds %struct.ImGuiDockNode, ptr %181, i32 0, i32 11
  %183 = load ptr, ptr %4, align 8, !tbaa !5
  %184 = getelementptr inbounds %struct.ImGuiDockNode, ptr %183, i32 0, i32 8
  %185 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8ImVectorIP11ImGuiWindowEixEi(ptr noundef nonnull align 8 dereferenceable(16) %184, i32 noundef 0)
  %186 = load ptr, ptr %185, align 8, !tbaa !5
  %187 = getelementptr inbounds %struct.ImGuiWindow, ptr %186, i32 0, i32 6
  %188 = load ptr, ptr %187, align 8, !tbaa !112
  %189 = call <2 x float> @_ZL28FixLargeWindowsWhenUndockingRK6ImVec2P13ImGuiViewport(ptr noundef nonnull align 4 dereferenceable(8) %182, ptr noundef %188)
  store <2 x float> %189, ptr %10, align 4
  %190 = load ptr, ptr %4, align 8, !tbaa !5
  %191 = getelementptr inbounds %struct.ImGuiDockNode, ptr %190, i32 0, i32 11
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %191, ptr align 4 %10, i64 8, i1 false), !tbaa.struct !90
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #7
  %192 = load ptr, ptr %4, align 8, !tbaa !5
  %193 = getelementptr inbounds %struct.ImGuiDockNode, ptr %192, i32 0, i32 30
  %194 = load i8, ptr %193, align 2
  %195 = and i8 %194, -3
  %196 = or i8 %195, 2
  store i8 %196, ptr %193, align 2
  call void @_ZN5ImGui20MarkIniSettingsDirtyEv()
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #7
  ret void
}

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

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

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

; Function Attrs: mustprogress uwtable
declare hidden noundef ptr @_ZN5ImGuiL18DockContextAddNodeEP12ImGuiContextj(ptr noundef, i32 noundef) #3

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN5ImGuiL19DockNodeMoveWindowsEP13ImGuiDockNodeS1_(ptr noundef, ptr noundef) #3

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN5ImGuiL32DockSettingsRenameNodeReferencesEjj(i32 noundef, i32 noundef) #3

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN5ImGuiL17DockNodeTreeMergeEP12ImGuiContextP13ImGuiDockNodeS3_(ptr noundef, ptr noundef, ptr noundef) #3

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #3 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { 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 = { 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 = { nounwind }
attributes #8 = { noreturn 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, !13, i64 24308}
!10 = !{!"_ZTS12ImGuiContext", !11, i64 0, !11, i64 1, !12, i64 8, !19, i64 14336, !22, i64 14552, !13, i64 15676, !13, i64 15680, !6, i64 15688, !15, i64 15696, !15, i64 15700, !23, i64 15704, !26, i64 16232, !13, i64 16240, !13, i64 16244, !13, i64 16248, !13, i64 16252, !11, i64 16256, !11, i64 16257, !11, i64 16258, !11, i64 16259, !11, i64 16260, !6, i64 16264, !27, i64 16272, !27, i64 16288, !16, i64 16304, !13, i64 16308, !28, i64 16312, !28, i64 16328, !28, i64 16344, !29, i64 16360, !30, i64 16376, !13, i64 16392, !14, i64 16396, !6, i64 16408, !6, i64 16416, !6, i64 16424, !6, i64 16432, !6, i64 16440, !14, i64 16448, !13, i64 16456, !15, i64 16460, !14, i64 16464, !14, i64 16472, !13, i64 16480, !13, i64 16484, !13, i64 16488, !11, i64 16492, !11, i64 16493, !15, i64 16496, !15, i64 16500, !13, i64 16504, !13, i64 16508, !15, i64 16512, !11, i64 16516, !11, i64 16517, !11, i64 16518, !11, i64 16519, !11, i64 16520, !11, i64 16521, !14, i64 16524, !6, i64 16536, !32, i64 16544, !13, i64 16548, !13, i64 16552, !11, i64 16556, !11, i64 16557, !6, i64 16560, !13, i64 16568, !15, i64 16572, !7, i64 16576, !33, i64 18256, !13, i64 18568, !11, i64 18572, !13, i64 18576, !13, i64 18580, !13, i64 18584, !13, i64 18588, !35, i64 18592, !36, i64 18616, !38, i64 18680, !40, i64 18824, !41, i64 18840, !42, i64 18856, !43, i64 18872, !44, i64 18888, !45, i64 18904, !46, i64 18920, !46, i64 18936, !13, i64 18952, !47, i64 18960, !15, i64 18976, !6, i64 18984, !6, i64 18992, !6, i64 19000, !13, i64 19008, !48, i64 19016, !13, i64 19064, !13, i64 19068, !13, i64 19072, !6, i64 19080, !13, i64 19088, !13, i64 19092, !13, i64 19096, !13, i64 19100, !13, i64 19104, !13, i64 19108, !13, i64 19112, !13, i64 19116, !13, i64 19120, !13, i64 19124, !13, i64 19128, !32, i64 19132, !49, i64 19136, !11, i64 19140, !11, i64 19141, !11, i64 19142, !11, i64 19143, !11, i64 19144, !11, i64 19145, !11, i64 19146, !50, i64 19152, !11, i64 19200, !11, i64 19201, !11, i64 19202, !13, i64 19204, !13, i64 19208, !13, i64 19212, !13, i64 19216, !13, i64 19220, !13, i64 19224, !37, i64 19228, !37, i64 19244, !13, i64 19260, !13, i64 19264, !13, i64 19268, !50, i64 19272, !50, i64 19320, !50, i64 19368, !50, i64 19416, !13, i64 19464, !13, i64 19468, !6, i64 19472, !6, i64 19480, !6, i64 19488, !15, i64 19496, !15, i64 19500, !11, i64 19504, !14, i64 19508, !14, i64 19516, !15, i64 19524, !11, i64 19528, !11, i64 19529, !11, i64 19530, !13, i64 19532, !13, i64 19536, !13, i64 19540, !51, i64 19544, !37, i64 19608, !13, i64 19624, !13, i64 19628, !15, i64 19632, !13, i64 19636, !13, i64 19640, !13, i64 19644, !13, i64 19648, !52, i64 19656, !7, i64 19672, !13, i64 19688, !53, i64 19696, !6, i64 19712, !13, i64 19720, !54, i64 19728, !55, i64 19744, !57, i64 19784, !58, i64 19800, !6, i64 19816, !59, i64 19824, !61, i64 19864, !62, i64 19880, !13, i64 19896, !13, i64 19900, !15, i64 19904, !15, i64 19908, !13, i64 19912, !13, i64 19916, !13, i64 19920, !15, i64 19924, !14, i64 19928, !63, i64 19936, !67, i64 23664, !68, i64 23688, !13, i64 23808, !13, i64 23812, !13, i64 23816, !13, i64 23820, !15, i64 23824, !15, i64 23828, !13, i64 23832, !24, i64 23836, !70, i64 23852, !15, i64 23900, !15, i64 23904, !11, i64 23908, !11, i64 23909, !15, i64 23912, !15, i64 23916, !15, i64 23920, !15, i64 23924, !17, i64 23928, !17, i64 23930, !64, i64 23936, !43, i64 23952, !71, i64 23968, !71, i64 23984, !13, i64 24000, !7, i64 24004, !72, i64 24008, !6, i64 24064, !11, i64 24072, !15, i64 24076, !75, i64 24080, !76, i64 24096, !77, i64 24112, !78, i64 24128, !79, i64 24144, !13, i64 24160, !7, i64 24168, !11, i64 24240, !80, i64 24244, !6, i64 24248, !75, i64 24256, !6, i64 24272, !6, i64 24280, !15, i64 24288, !11, i64 24292, !13, i64 24296, !13, i64 24300, !13, i64 24304, !13, i64 24308, !75, i64 24312, !81, i64 24328, !7, i64 24352, !7, i64 24353, !7, i64 24354, !11, i64 24355, !7, i64 24356, !13, i64 24360, !82, i64 24364, !83, i64 24384, !6, i64 24424, !7, i64 24432, !13, i64 24672, !13, i64 24676, !15, i64 24680, !13, i64 24684, !13, i64 24688, !13, i64 24692, !64, i64 24696}
!11 = !{!"bool", !7, i64 0}
!12 = !{!"_ZTS7ImGuiIO", !13, i64 0, !13, i64 4, !14, i64 8, !15, i64 16, !15, i64 20, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !15, i64 56, !11, i64 60, !6, i64 64, !14, i64 72, !11, i64 80, !11, i64 81, !11, i64 82, !11, i64 83, !11, i64 84, !11, i64 85, !11, i64 86, !11, i64 87, !11, i64 88, !11, i64 89, !11, i64 90, !11, i64 91, !11, i64 92, !11, i64 93, !11, i64 94, !11, i64 95, !15, i64 96, !15, i64 100, !15, i64 104, !15, i64 108, !15, i64 112, !15, i64 116, !11, i64 120, !11, i64 121, !11, i64 122, !11, i64 123, !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, !6, i64 200, !11, i64 208, !11, i64 209, !11, i64 210, !11, i64 211, !11, i64 212, !11, i64 213, !11, i64 214, !15, i64 216, !13, i64 220, !13, i64 224, !13, i64 228, !13, i64 232, !13, i64 236, !14, i64 240, !7, i64 248, !7, i64 2856, !7, i64 3508, !6, i64 3576, !14, i64 3584, !7, i64 3592, !15, i64 3600, !15, i64 3604, !16, i64 3608, !13, i64 3612, !11, i64 3616, !11, i64 3617, !11, i64 3618, !11, i64 3619, !13, i64 3620, !7, i64 3624, !11, i64 14056, !14, i64 14060, !7, i64 14068, !7, i64 14112, !7, i64 14152, !7, i64 14157, !7, i64 14162, !7, i64 14172, !7, i64 14182, !7, i64 14187, !7, i64 14192, !11, i64 14197, !7, i64 14200, !7, i64 14220, !7, i64 14240, !7, i64 14280, !15, i64 14300, !11, i64 14304, !11, i64 14305, !7, i64 14306, !11, i64 14307, !17, i64 14308, !18, i64 14312}
!13 = !{!"int", !7, i64 0}
!14 = !{!"_ZTS6ImVec2", !15, i64 0, !15, i64 4}
!15 = !{!"float", !7, i64 0}
!16 = !{!"_ZTS16ImGuiMouseSource", !7, i64 0}
!17 = !{!"short", !7, i64 0}
!18 = !{!"_ZTS8ImVectorItE", !13, i64 0, !13, i64 4, !6, i64 8}
!19 = !{!"_ZTS15ImGuiPlatformIO", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !6, i64 88, !6, i64 96, !6, i64 104, !6, 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, !20, i64 184, !21, i64 200}
!20 = !{!"_ZTS8ImVectorI20ImGuiPlatformMonitorE", !13, i64 0, !13, i64 4, !6, i64 8}
!21 = !{!"_ZTS8ImVectorIP13ImGuiViewportE", !13, i64 0, !13, i64 4, !6, i64 8}
!22 = !{!"_ZTS10ImGuiStyle", !15, i64 0, !15, i64 4, !14, i64 8, !15, i64 16, !15, i64 20, !14, i64 24, !14, i64 32, !13, i64 40, !15, i64 44, !15, i64 48, !15, i64 52, !15, i64 56, !14, i64 60, !15, i64 68, !15, i64 72, !14, i64 76, !14, i64 84, !14, i64 92, !14, i64 100, !15, i64 108, !15, i64 112, !15, i64 116, !15, i64 120, !15, i64 124, !15, i64 128, !15, i64 132, !15, i64 136, !15, i64 140, !15, i64 144, !13, i64 148, !14, i64 152, !14, i64 160, !15, i64 168, !14, i64 172, !14, i64 180, !14, i64 188, !14, i64 196, !15, i64 204, !15, i64 208, !11, i64 212, !11, i64 213, !11, i64 214, !15, i64 216, !15, i64 220, !7, i64 224, !15, i64 1104, !15, i64 1108, !15, i64 1112, !13, i64 1116, !13, i64 1120}
!23 = !{!"_ZTS20ImDrawListSharedData", !14, i64 0, !6, i64 8, !15, i64 16, !15, i64 20, !15, i64 24, !24, i64 28, !13, i64 44, !25, i64 48, !7, i64 64, !15, i64 448, !7, i64 452, !6, i64 520}
!24 = !{!"_ZTS6ImVec4", !15, i64 0, !15, i64 4, !15, i64 8, !15, i64 12}
!25 = !{!"_ZTS8ImVectorI6ImVec2E", !13, i64 0, !13, i64 4, !6, i64 8}
!26 = !{!"double", !7, i64 0}
!27 = !{!"_ZTS8ImVectorI15ImGuiInputEventE", !13, i64 0, !13, i64 4, !6, i64 8}
!28 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !13, i64 0, !13, i64 4, !6, i64 8}
!29 = !{!"_ZTS8ImVectorI20ImGuiWindowStackDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!30 = !{!"_ZTS12ImGuiStorage", !31, i64 0}
!31 = !{!"_ZTS8ImVectorIN12ImGuiStorage16ImGuiStoragePairEE", !13, i64 0, !13, i64 4, !6, i64 8}
!32 = !{!"_ZTS16ImGuiInputSource", !7, i64 0}
!33 = !{!"_ZTS20ImGuiKeyRoutingTable", !7, i64 0, !34, i64 280, !34, i64 296}
!34 = !{!"_ZTS8ImVectorI19ImGuiKeyRoutingDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!35 = !{!"_ZTS17ImGuiNextItemData", !13, i64 0, !13, i64 4, !15, i64 8, !13, i64 12, !13, i64 16, !11, i64 20}
!36 = !{!"_ZTS17ImGuiLastItemData", !13, i64 0, !13, i64 4, !13, i64 8, !37, i64 12, !37, i64 28, !37, i64 44}
!37 = !{!"_ZTS6ImRect", !14, i64 0, !14, i64 8}
!38 = !{!"_ZTS19ImGuiNextWindowData", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12, !13, i64 16, !14, i64 20, !14, i64 28, !14, i64 36, !14, i64 44, !14, i64 52, !11, i64 60, !11, i64 61, !37, i64 64, !6, i64 80, !6, i64 88, !15, i64 96, !13, i64 100, !13, i64 104, !39, i64 108, !14, i64 136}
!39 = !{!"_ZTS16ImGuiWindowClass", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12, !13, i64 16, !13, i64 20, !11, i64 24, !11, i64 25}
!40 = !{!"_ZTS8ImVectorI13ImGuiColorModE", !13, i64 0, !13, i64 4, !6, i64 8}
!41 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !13, i64 0, !13, i64 4, !6, i64 8}
!42 = !{!"_ZTS8ImVectorIP6ImFontE", !13, i64 0, !13, i64 4, !6, i64 8}
!43 = !{!"_ZTS8ImVectorIjE", !13, i64 0, !13, i64 4, !6, i64 8}
!44 = !{!"_ZTS8ImVectorIiE", !13, i64 0, !13, i64 4, !6, i64 8}
!45 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!46 = !{!"_ZTS8ImVectorI14ImGuiPopupDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!47 = !{!"_ZTS8ImVectorIP14ImGuiViewportPE", !13, i64 0, !13, i64 4, !6, i64 8}
!48 = !{!"_ZTS20ImGuiPlatformMonitor", !14, i64 0, !14, i64 8, !14, i64 16, !14, i64 24, !15, i64 32, !6, i64 40}
!49 = !{!"_ZTS13ImGuiNavLayer", !7, i64 0}
!50 = !{!"_ZTS16ImGuiNavItemData", !6, i64 0, !13, i64 8, !13, i64 12, !37, i64 16, !13, i64 32, !15, i64 36, !15, i64 40, !15, i64 44}
!51 = !{!"_ZTS12ImGuiPayload", !6, i64 0, !13, i64 8, !13, i64 12, !13, i64 16, !13, i64 20, !7, i64 24, !11, i64 57, !11, i64 58}
!52 = !{!"_ZTS8ImVectorIhE", !13, i64 0, !13, i64 4, !6, i64 8}
!53 = !{!"_ZTS8ImVectorI20ImGuiListClipperDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!54 = !{!"_ZTS8ImVectorI18ImGuiTableTempDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!55 = !{!"_ZTS6ImPoolI10ImGuiTableE", !56, i64 0, !30, i64 16, !13, i64 32, !13, i64 36}
!56 = !{!"_ZTS8ImVectorI10ImGuiTableE", !13, i64 0, !13, i64 4, !6, i64 8}
!57 = !{!"_ZTS8ImVectorIfE", !13, i64 0, !13, i64 4, !6, i64 8}
!58 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !13, i64 0, !13, i64 4, !6, i64 8}
!59 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !60, i64 0, !30, i64 16, !13, i64 32, !13, i64 36}
!60 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !13, i64 0, !13, i64 4, !6, i64 8}
!61 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !13, i64 0, !13, i64 4, !6, i64 8}
!62 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !13, i64 0, !13, i64 4, !6, i64 8}
!63 = !{!"_ZTS19ImGuiInputTextState", !6, i64 0, !13, i64 8, !13, i64 12, !13, i64 16, !18, i64 24, !64, i64 40, !64, i64 56, !11, i64 72, !13, i64 76, !15, i64 80, !65, i64 84, !15, i64 3712, !11, i64 3716, !11, i64 3717, !11, i64 3718, !13, i64 3720}
!64 = !{!"_ZTS8ImVectorIcE", !13, i64 0, !13, i64 4, !6, i64 8}
!65 = !{!"_ZTSN5ImStb17STB_TexteditStateE", !13, i64 0, !13, i64 4, !13, i64 8, !7, i64 12, !13, i64 16, !7, i64 20, !7, i64 21, !7, i64 22, !7, i64 23, !7, i64 24, !7, i64 25, !7, i64 26, !15, i64 28, !66, i64 32}
!66 = !{!"_ZTSN5ImStb12StbUndoStateE", !7, i64 0, !7, i64 1584, !17, i64 3582, !17, i64 3584, !13, i64 3588, !13, i64 3592}
!67 = !{!"_ZTS30ImGuiInputTextDeactivatedState", !13, i64 0, !64, i64 8}
!68 = !{!"_ZTS6ImFont", !57, i64 0, !15, i64 16, !15, i64 20, !18, i64 24, !69, i64 40, !6, i64 56, !6, i64 64, !6, i64 72, !17, i64 80, !17, i64 82, !17, i64 84, !17, i64 86, !15, i64 88, !15, i64 92, !11, i64 96, !15, i64 100, !15, i64 104, !15, i64 108, !13, i64 112, !7, i64 116}
!69 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !13, i64 0, !13, i64 4, !6, i64 8}
!70 = !{!"_ZTS21ImGuiComboPreviewData", !37, i64 0, !14, i64 16, !14, i64 24, !14, i64 32, !15, i64 40, !13, i64 44}
!71 = !{!"_ZTS20ImGuiPlatformImeData", !11, i64 0, !14, i64 4, !15, i64 12}
!72 = !{!"_ZTS16ImGuiDockContext", !30, i64 0, !73, i64 16, !74, i64 32, !11, i64 48}
!73 = !{!"_ZTS8ImVectorI16ImGuiDockRequestE", !13, i64 0, !13, i64 4, !6, i64 8}
!74 = !{!"_ZTS8ImVectorI21ImGuiDockNodeSettingsE", !13, i64 0, !13, i64 4, !6, i64 8}
!75 = !{!"_ZTS15ImGuiTextBuffer", !64, i64 0}
!76 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !13, i64 0, !13, i64 4, !6, i64 8}
!77 = !{!"_ZTS13ImChunkStreamI19ImGuiWindowSettingsE", !64, i64 0}
!78 = !{!"_ZTS13ImChunkStreamI18ImGuiTableSettingsE", !64, i64 0}
!79 = !{!"_ZTS8ImVectorI16ImGuiContextHookE", !13, i64 0, !13, i64 4, !6, i64 8}
!80 = !{!"_ZTS12ImGuiLogType", !7, i64 0}
!81 = !{!"_ZTS14ImGuiTextIndex", !44, i64 0, !13, i64 16}
!82 = !{!"_ZTS18ImGuiMetricsConfig", !11, i64 0, !11, i64 1, !11, i64 2, !11, i64 3, !11, i64 4, !11, i64 5, !11, i64 6, !11, i64 7, !11, i64 8, !13, i64 12, !13, i64 16}
!83 = !{!"_ZTS14ImGuiStackTool", !13, i64 0, !13, i64 4, !13, i64 8, !84, i64 16, !11, i64 32, !15, i64 36}
!84 = !{!"_ZTS8ImVectorI19ImGuiStackLevelInfoE", !13, i64 0, !13, i64 4, !6, i64 8}
!85 = !{!86, !13, i64 0}
!86 = !{!"_ZTS13ImGuiDockNode", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12, !13, i64 16, !87, i64 20, !6, i64 24, !7, i64 32, !28, i64 48, !6, i64 64, !14, i64 72, !14, i64 80, !14, i64 88, !88, i64 96, !39, i64 100, !13, i64 128, !6, i64 136, !6, i64 144, !6, i64 152, !6, i64 160, !13, i64 168, !13, i64 172, !13, i64 176, !13, i64 180, !13, i64 184, !13, i64 188, !13, i64 192, !13, i64 196, !13, i64 200, !13, i64 200, !13, i64 200, !11, i64 201, !11, i64 201, !11, i64 201, !11, i64 201, !11, i64 201, !11, i64 201, !11, i64 201, !11, i64 202, !11, i64 202, !11, i64 202, !11, i64 202}
!87 = !{!"_ZTS18ImGuiDockNodeState", !7, i64 0}
!88 = !{!"_ZTS9ImGuiAxis", !7, i64 0}
!89 = !{!86, !13, i64 48}
!90 = !{i64 0, i64 4, !91, i64 4, i64 4, !91}
!91 = !{!15, !15, i64 0}
!92 = !{!86, !6, i64 24}
!93 = !{!13, !13, i64 0}
!94 = !{!95, !13, i64 20}
!95 = !{!"_ZTS11ImGuiWindow", !6, i64 0, !6, i64 8, !13, i64 16, !13, i64 20, !13, i64 24, !39, i64 28, !6, i64 56, !13, i64 64, !14, i64 68, !13, i64 76, !14, i64 80, !14, i64 88, !14, i64 96, !14, i64 104, !14, i64 112, !14, i64 120, !14, i64 128, !15, i64 136, !15, i64 140, !15, i64 144, !15, i64 148, !15, i64 152, !15, i64 156, !15, i64 160, !15, i64 164, !13, i64 168, !13, i64 172, !13, i64 176, !13, i64 180, !14, i64 184, !14, i64 192, !14, i64 200, !14, i64 208, !14, i64 216, !14, i64 224, !11, i64 232, !11, i64 233, !11, i64 234, !11, i64 235, !11, i64 236, !11, i64 237, !11, i64 238, !11, i64 239, !11, i64 240, !11, i64 241, !11, i64 242, !11, i64 243, !11, i64 244, !11, i64 245, !7, i64 246, !17, i64 248, !17, i64 250, !17, i64 252, !17, i64 254, !17, i64 256, !13, i64 260, !7, i64 264, !7, i64 265, !7, i64 266, !11, i64 267, !13, i64 268, !7, i64 272, !7, i64 273, !7, i64 274, !7, i64 275, !13, i64 276, !13, i64 277, !13, i64 278, !13, i64 279, !14, i64 280, !14, i64 288, !43, i64 296, !96, i64 312, !37, i64 544, !37, i64 560, !37, i64 576, !37, i64 592, !37, i64 608, !37, i64 624, !37, i64 640, !99, i64 656, !99, i64 660, !13, i64 664, !13, i64 668, !15, i64 672, !15, i64 676, !30, i64 680, !100, i64 696, !15, i64 712, !15, i64 716, !13, i64 720, !6, i64 728, !101, i64 736, !6, i64 936, !6, i64 944, !6, i64 952, !6, i64 960, !6, i64 968, !6, i64 976, !6, i64 984, !6, i64 992, !7, i64 1000, !7, i64 1008, !7, i64 1040, !13, i64 1056, !13, i64 1060, !13, i64 1064, !11, i64 1068, !11, i64 1069, !11, i64 1069, !11, i64 1069, !11, i64 1069, !17, i64 1070, !108, i64 1072, !6, i64 1096, !6, i64 1104, !13, i64 1112, !13, i64 1116, !37, i64 1120}
!96 = !{!"_ZTS19ImGuiWindowTempData", !14, i64 0, !14, i64 8, !14, i64 16, !14, i64 24, !14, i64 32, !14, i64 40, !14, i64 48, !15, i64 56, !15, i64 60, !11, i64 64, !11, i64 65, !97, i64 68, !97, i64 72, !97, i64 76, !14, i64 80, !49, i64 88, !17, i64 92, !17, i64 94, !11, i64 96, !11, i64 97, !11, i64 98, !11, i64 99, !14, i64 100, !98, i64 108, !13, i64 136, !13, i64 140, !28, i64 144, !6, i64 160, !6, i64 168, !13, i64 176, !13, i64 180, !13, i64 184, !15, i64 188, !15, i64 192, !57, i64 200, !57, i64 216}
!97 = !{!"_ZTS6ImVec1", !15, i64 0}
!98 = !{!"_ZTS16ImGuiMenuColumns", !13, i64 0, !13, i64 4, !17, i64 8, !17, i64 10, !17, i64 12, !17, i64 14, !17, i64 16, !7, i64 18}
!99 = !{!"_ZTS8ImVec2ih", !17, i64 0, !17, i64 2}
!100 = !{!"_ZTS8ImVectorI15ImGuiOldColumnsE", !13, i64 0, !13, i64 4, !6, i64 8}
!101 = !{!"_ZTS10ImDrawList", !102, i64 0, !18, i64 16, !103, i64 32, !13, i64 48, !13, i64 52, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !104, i64 88, !105, i64 104, !25, i64 120, !106, i64 136, !107, i64 168, !15, i64 192}
!102 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !13, i64 0, !13, i64 4, !6, i64 8}
!103 = !{!"_ZTS8ImVectorI10ImDrawVertE", !13, i64 0, !13, i64 4, !6, i64 8}
!104 = !{!"_ZTS8ImVectorI6ImVec4E", !13, i64 0, !13, i64 4, !6, i64 8}
!105 = !{!"_ZTS8ImVectorIPvE", !13, i64 0, !13, i64 4, !6, i64 8}
!106 = !{!"_ZTS15ImDrawCmdHeader", !24, i64 0, !6, i64 16, !13, i64 24}
!107 = !{!"_ZTS18ImDrawListSplitter", !13, i64 0, !13, i64 4, !58, i64 8}
!108 = !{!"_ZTS20ImGuiWindowDockStyle", !7, i64 0}
!109 = !{!95, !6, i64 936}
!110 = distinct !{!110, !111}
!111 = !{!"llvm.loop.mustprogress"}
!112 = !{!95, !6, i64 56}


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

@.str.3 = external hidden unnamed_addr constant [98 x i8], align 1
@.str.332 = external hidden unnamed_addr constant [50 x i8], align 1
@.str.333 = external hidden unnamed_addr constant [19 x i8], align 1
@__PRETTY_FUNCTION__._ZN5ImGui28DockContextProcessUndockNodeEP12ImGuiContextP13ImGuiDockNode = external hidden unnamed_addr constant [74 x i8], align 1
@.str.334 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.335 = external hidden unnamed_addr constant [83 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: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui8DebugLogEPKcz(ptr noundef, ...) local_unnamed_addr #2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN5ImGui30UpdateWindowParentAndRootLinksEP11ImGuiWindowiS1_(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN5ImGui20MarkIniSettingsDirtyEv() local_unnamed_addr #4

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN5ImGui28DockContextProcessUndockNodeEP12ImGuiContextP13ImGuiDockNode(ptr noundef %0, ptr noundef %1) local_unnamed_addr #5 {
  %3 = alloca ptr, align 8
  %4 = getelementptr inbounds i8, ptr %0, i64 24308
  %5 = load i32, ptr %4, align 4, !tbaa !5
  %6 = and i32 %5, 128
  %.not = icmp eq i32 %6, 0
  br i1 %.not, label %9, label %7

7:                                                ; preds = %2
  %8 = load i32, ptr %1, align 8, !tbaa !84
  tail call void (ptr, ...) @_ZN5ImGui8DebugLogEPKcz(ptr noundef nonnull @.str.332, i32 noundef %8)
  br label %9

9:                                                ; preds = %7, %2
  %10 = tail call noundef zeroext i1 @_ZNK13ImGuiDockNode10IsLeafNodeEv(ptr noundef nonnull align 8 dereferenceable(203) %1)
  br i1 %10, label %12, label %11

11:                                               ; preds = %9
  tail call void @__assert_fail(ptr noundef nonnull @.str.333, ptr noundef nonnull @.str.3, i32 noundef 15733, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5ImGui28DockContextProcessUndockNodeEP12ImGuiContextP13ImGuiDockNode) #6
  unreachable

12:                                               ; preds = %9
  %13 = getelementptr inbounds i8, ptr %1, i64 48
  %14 = load i32, ptr %13, align 8, !tbaa !88
  %15 = icmp sgt i32 %14, 0
  br i1 %15, label %17, label %16

16:                                               ; preds = %12
  tail call void @__assert_fail(ptr noundef nonnull @.str.334, ptr noundef nonnull @.str.3, i32 noundef 15734, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5ImGui28DockContextProcessUndockNodeEP12ImGuiContextP13ImGuiDockNode) #6
  unreachable

17:                                               ; preds = %12
  %18 = tail call noundef zeroext i1 @_ZNK13ImGuiDockNode10IsRootNodeEv(ptr noundef nonnull align 8 dereferenceable(203) %1)
  br i1 %18, label %21, label %19

19:                                               ; preds = %17
  %20 = tail call noundef zeroext i1 @_ZNK13ImGuiDockNode13IsCentralNodeEv(ptr noundef nonnull align 8 dereferenceable(203) %1)
  br i1 %20, label %21, label %34

21:                                               ; preds = %19, %17
  %22 = tail call noundef ptr @_ZN5ImGuiL18DockContextAddNodeEP12ImGuiContextj(ptr noundef nonnull %0, i32 noundef 0)
  %23 = getelementptr inbounds i8, ptr %1, i64 72
  %24 = getelementptr inbounds i8, ptr %22, i64 72
  %25 = load i64, ptr %23, align 8
  store i64 %25, ptr %24, align 8
  %26 = getelementptr inbounds i8, ptr %1, i64 80
  %27 = getelementptr inbounds i8, ptr %22, i64 80
  %28 = load i64, ptr %26, align 8
  store i64 %28, ptr %27, align 8
  %29 = getelementptr inbounds i8, ptr %1, i64 88
  %30 = getelementptr inbounds i8, ptr %22, i64 88
  %31 = load i64, ptr %29, align 8
  store i64 %31, ptr %30, align 8
  tail call void @_ZN5ImGuiL19DockNodeMoveWindowsEP13ImGuiDockNodeS1_(ptr noundef %22, ptr noundef nonnull %1)
  %32 = load i32, ptr %1, align 8, !tbaa !84
  %33 = load i32, ptr %22, align 8, !tbaa !84
  tail call void @_ZN5ImGuiL32DockSettingsRenameNodeReferencesEjj(i32 noundef %32, i32 noundef %33)
  br label %59

34:                                               ; preds = %19
  %35 = getelementptr inbounds i8, ptr %1, i64 24
  %36 = load ptr, ptr %35, align 8, !tbaa !89
  %37 = getelementptr inbounds i8, ptr %36, i64 32
  %38 = load ptr, ptr %37, align 8, !tbaa !90
  %39 = icmp eq ptr %38, %1
  br i1 %39, label %.critedge, label %40

40:                                               ; preds = %34
  %41 = getelementptr inbounds i8, ptr %36, i64 40
  %42 = load ptr, ptr %41, align 8, !tbaa !90
  %43 = icmp eq ptr %42, %1
  br i1 %43, label %.critedge, label %44

44:                                               ; preds = %40
  tail call void @__assert_fail(ptr noundef nonnull @.str.335, ptr noundef nonnull @.str.3, i32 noundef 15750, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5ImGui28DockContextProcessUndockNodeEP12ImGuiContextP13ImGuiDockNode) #6
  unreachable

.critedge:                                        ; preds = %34, %40
  %45 = icmp ne ptr %38, %1
  %46 = zext i1 %45 to i64
  %47 = getelementptr inbounds [2 x ptr], ptr %37, i64 0, i64 %46
  store ptr null, ptr %47, align 8, !tbaa !90
  %48 = load ptr, ptr %35, align 8, !tbaa !89
  %49 = getelementptr inbounds i8, ptr %48, i64 32
  %50 = xor i1 %45, true
  %51 = zext i1 %50 to i64
  %52 = getelementptr inbounds [2 x ptr], ptr %49, i64 0, i64 %51
  %53 = load ptr, ptr %52, align 8, !tbaa !90
  tail call void @_ZN5ImGuiL17DockNodeTreeMergeEP12ImGuiContextP13ImGuiDockNodeS3_(ptr noundef nonnull %0, ptr noundef %48, ptr noundef %53)
  %54 = load ptr, ptr %35, align 8, !tbaa !89
  %55 = getelementptr inbounds i8, ptr %54, i64 200
  %56 = load i16, ptr %55, align 8
  %57 = and i16 %56, -449
  %58 = or disjoint i16 %57, 128
  store i16 %58, ptr %55, align 8
  store ptr null, ptr %35, align 8, !tbaa !89
  br label %59

59:                                               ; preds = %.critedge, %21
  %.0 = phi ptr [ %22, %21 ], [ %1, %.critedge ]
  %60 = getelementptr inbounds i8, ptr %.0, i64 48
  %61 = load i32, ptr %60, align 8, !tbaa !88
  %62 = icmp sgt i32 %61, 0
  br i1 %62, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %86, %59
  %63 = getelementptr inbounds i8, ptr %.0, i64 200
  %64 = load i16, ptr %63, align 8
  %65 = and i16 %64, -64
  %66 = or disjoint i16 %65, 9
  store i16 %66, ptr %63, align 8
  %67 = getelementptr inbounds i8, ptr %.0, i64 80
  %68 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8ImVectorIP11ImGuiWindowEixEi(ptr noundef nonnull align 8 dereferenceable(16) %60, i32 noundef 0)
  %69 = load ptr, ptr %68, align 8, !tbaa !90
  %70 = getelementptr inbounds i8, ptr %69, i64 56
  %71 = load ptr, ptr %70, align 8, !tbaa !91
  %72 = call <2 x float> @_ZL28FixLargeWindowsWhenUndockingRK6ImVec2P13ImGuiViewport(ptr noundef nonnull align 4 dereferenceable(8) %67, ptr noundef %71)
  store <2 x float> %72, ptr %67, align 8
  %73 = getelementptr inbounds i8, ptr %.0, i64 202
  %74 = load i8, ptr %73, align 2
  %75 = or i8 %74, 2
  store i8 %75, ptr %73, align 2
  call void @_ZN5ImGui20MarkIniSettingsDirtyEv()
  ret void

.lr.ph:                                           ; preds = %59, %86
  %.04347 = phi i32 [ %89, %86 ], [ 0, %59 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #7
  %76 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8ImVectorIP11ImGuiWindowEixEi(ptr noundef nonnull align 8 dereferenceable(16) %60, i32 noundef %.04347)
  %77 = load ptr, ptr %76, align 8, !tbaa !90
  store ptr %77, ptr %3, align 8, !tbaa !90
  %78 = getelementptr inbounds i8, ptr %77, i64 20
  %79 = load i32, ptr %78, align 4, !tbaa !106
  %80 = and i32 %79, -16777217
  store i32 %80, ptr %78, align 4, !tbaa !106
  %81 = getelementptr inbounds i8, ptr %77, i64 936
  %82 = load ptr, ptr %81, align 8, !tbaa !107
  %.not46 = icmp eq ptr %82, null
  br i1 %.not46, label %86, label %83

83:                                               ; preds = %.lr.ph
  %84 = getelementptr inbounds i8, ptr %82, i64 456
  %85 = call noundef zeroext i1 @_ZN8ImVectorIP11ImGuiWindowE10find_eraseERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %84, ptr noundef nonnull align 8 dereferenceable(8) %3)
  %.pre = load ptr, ptr %3, align 8, !tbaa !90
  %.phi.trans.insert = getelementptr inbounds i8, ptr %.pre, i64 20
  %.pre48 = load i32, ptr %.phi.trans.insert, align 4, !tbaa !106
  br label %86

86:                                               ; preds = %83, %.lr.ph
  %87 = phi i32 [ %.pre48, %83 ], [ %80, %.lr.ph ]
  %88 = phi ptr [ %.pre, %83 ], [ %77, %.lr.ph ]
  call void @_ZN5ImGui30UpdateWindowParentAndRootLinksEP11ImGuiWindowiS1_(ptr noundef nonnull %88, i32 noundef %87, ptr noundef null)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #7
  %89 = add nuw nsw i32 %.04347, 1
  %90 = load i32, ptr %60, align 8, !tbaa !88
  %91 = icmp slt i32 %89, %90
  br i1 %91, label %.lr.ph, label %._crit_edge, !llvm.loop !108
}

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

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

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

; Function Attrs: mustprogress uwtable
declare hidden noundef ptr @_ZN5ImGuiL18DockContextAddNodeEP12ImGuiContextj(ptr noundef, i32 noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN5ImGuiL19DockNodeMoveWindowsEP13ImGuiDockNodeS1_(ptr noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN5ImGuiL32DockSettingsRenameNodeReferencesEjj(i32 noundef, i32 noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN5ImGuiL17DockNodeTreeMergeEP12ImGuiContextP13ImGuiDockNodeS3_(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #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 = { 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 = { noreturn nounwind }
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 24308}
!6 = !{!"_ZTS12ImGuiContext", !7, i64 0, !7, i64 1, !10, i64 8, !18, i64 14336, !21, i64 14552, !11, i64 15676, !11, i64 15680, !14, i64 15688, !13, i64 15696, !13, i64 15700, !22, i64 15704, !25, i64 16232, !11, i64 16240, !11, i64 16244, !11, i64 16248, !11, i64 16252, !7, i64 16256, !7, i64 16257, !7, i64 16258, !7, i64 16259, !7, i64 16260, !14, i64 16264, !26, i64 16272, !26, i64 16288, !15, i64 16304, !11, i64 16308, !27, i64 16312, !27, i64 16328, !27, i64 16344, !28, i64 16360, !29, i64 16376, !11, i64 16392, !12, i64 16396, !14, i64 16408, !14, i64 16416, !14, i64 16424, !14, i64 16432, !14, i64 16440, !12, i64 16448, !11, i64 16456, !13, i64 16460, !12, i64 16464, !12, i64 16472, !11, i64 16480, !11, i64 16484, !11, i64 16488, !7, i64 16492, !7, i64 16493, !13, i64 16496, !13, i64 16500, !11, i64 16504, !11, i64 16508, !13, i64 16512, !7, i64 16516, !7, i64 16517, !7, i64 16518, !7, i64 16519, !7, i64 16520, !7, i64 16521, !12, i64 16524, !14, i64 16536, !31, i64 16544, !11, i64 16548, !11, i64 16552, !7, i64 16556, !7, i64 16557, !14, i64 16560, !11, i64 16568, !13, i64 16572, !8, i64 16576, !32, i64 18256, !11, i64 18568, !7, i64 18572, !11, i64 18576, !11, i64 18580, !11, i64 18584, !11, i64 18588, !34, i64 18592, !35, i64 18616, !37, i64 18680, !39, i64 18824, !40, i64 18840, !41, i64 18856, !42, i64 18872, !43, i64 18888, !44, i64 18904, !45, i64 18920, !45, i64 18936, !11, i64 18952, !46, i64 18960, !13, i64 18976, !14, i64 18984, !14, i64 18992, !14, i64 19000, !11, i64 19008, !47, i64 19016, !11, i64 19064, !11, i64 19068, !11, i64 19072, !14, i64 19080, !11, i64 19088, !11, i64 19092, !11, i64 19096, !11, i64 19100, !11, i64 19104, !11, i64 19108, !11, i64 19112, !11, i64 19116, !11, i64 19120, !11, i64 19124, !11, i64 19128, !31, i64 19132, !48, i64 19136, !7, i64 19140, !7, i64 19141, !7, i64 19142, !7, i64 19143, !7, i64 19144, !7, i64 19145, !7, i64 19146, !49, i64 19152, !7, i64 19200, !7, i64 19201, !7, i64 19202, !11, i64 19204, !11, i64 19208, !11, i64 19212, !11, i64 19216, !11, i64 19220, !11, i64 19224, !36, i64 19228, !36, i64 19244, !11, i64 19260, !11, i64 19264, !11, i64 19268, !49, i64 19272, !49, i64 19320, !49, i64 19368, !49, i64 19416, !11, i64 19464, !11, i64 19468, !14, i64 19472, !14, i64 19480, !14, i64 19488, !13, i64 19496, !13, i64 19500, !7, i64 19504, !12, i64 19508, !12, i64 19516, !13, i64 19524, !7, i64 19528, !7, i64 19529, !7, i64 19530, !11, i64 19532, !11, i64 19536, !11, i64 19540, !50, i64 19544, !36, i64 19608, !11, i64 19624, !11, i64 19628, !13, i64 19632, !11, i64 19636, !11, i64 19640, !11, i64 19644, !11, i64 19648, !51, i64 19656, !8, i64 19672, !11, i64 19688, !52, i64 19696, !14, i64 19712, !11, i64 19720, !53, i64 19728, !54, i64 19744, !56, i64 19784, !57, i64 19800, !14, i64 19816, !58, i64 19824, !60, i64 19864, !61, i64 19880, !11, i64 19896, !11, i64 19900, !13, i64 19904, !13, i64 19908, !11, i64 19912, !11, i64 19916, !11, i64 19920, !13, i64 19924, !12, i64 19928, !62, i64 19936, !66, i64 23664, !67, i64 23688, !11, i64 23808, !11, i64 23812, !11, i64 23816, !11, i64 23820, !13, i64 23824, !13, i64 23828, !11, i64 23832, !23, i64 23836, !69, i64 23852, !13, i64 23900, !13, i64 23904, !7, i64 23908, !7, i64 23909, !13, i64 23912, !13, i64 23916, !13, i64 23920, !13, i64 23924, !16, i64 23928, !16, i64 23930, !63, i64 23936, !42, i64 23952, !70, i64 23968, !70, i64 23984, !11, i64 24000, !8, i64 24004, !71, i64 24008, !14, i64 24064, !7, i64 24072, !13, i64 24076, !74, i64 24080, !75, i64 24096, !76, i64 24112, !77, i64 24128, !78, i64 24144, !11, i64 24160, !8, i64 24168, !7, i64 24240, !79, i64 24244, !14, i64 24248, !74, i64 24256, !14, i64 24272, !14, i64 24280, !13, i64 24288, !7, i64 24292, !11, i64 24296, !11, i64 24300, !11, i64 24304, !11, i64 24308, !74, i64 24312, !80, i64 24328, !8, i64 24352, !8, i64 24353, !8, i64 24354, !7, i64 24355, !8, i64 24356, !11, i64 24360, !81, i64 24364, !82, i64 24384, !14, i64 24424, !8, i64 24432, !11, i64 24672, !11, i64 24676, !13, i64 24680, !11, i64 24684, !11, i64 24688, !11, i64 24692, !63, i64 24696}
!7 = !{!"bool", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"_ZTS7ImGuiIO", !11, i64 0, !11, i64 4, !12, i64 8, !13, i64 16, !13, i64 20, !14, i64 24, !14, i64 32, !14, i64 40, !14, i64 48, !13, i64 56, !7, i64 60, !14, i64 64, !12, i64 72, !7, i64 80, !7, i64 81, !7, i64 82, !7, i64 83, !7, i64 84, !7, i64 85, !7, i64 86, !7, i64 87, !7, i64 88, !7, i64 89, !7, i64 90, !7, i64 91, !7, i64 92, !7, i64 93, !7, i64 94, !7, i64 95, !13, i64 96, !13, i64 100, !13, i64 104, !13, i64 108, !13, i64 112, !13, i64 116, !7, i64 120, !7, i64 121, !7, i64 122, !7, i64 123, !14, i64 128, !14, i64 136, !14, i64 144, !14, i64 152, !14, i64 160, !14, i64 168, !14, i64 176, !14, i64 184, !14, i64 192, !14, i64 200, !7, i64 208, !7, i64 209, !7, i64 210, !7, i64 211, !7, i64 212, !7, i64 213, !7, i64 214, !13, i64 216, !11, i64 220, !11, i64 224, !11, i64 228, !11, i64 232, !11, i64 236, !12, i64 240, !8, i64 248, !8, i64 2856, !8, i64 3508, !14, i64 3576, !12, i64 3584, !8, i64 3592, !13, i64 3600, !13, i64 3604, !15, i64 3608, !11, i64 3612, !7, i64 3616, !7, i64 3617, !7, i64 3618, !7, i64 3619, !11, i64 3620, !8, i64 3624, !7, i64 14056, !12, i64 14060, !8, i64 14068, !8, i64 14112, !8, i64 14152, !8, i64 14157, !8, i64 14162, !8, i64 14172, !8, i64 14182, !8, i64 14187, !8, i64 14192, !7, i64 14197, !8, i64 14200, !8, i64 14220, !8, i64 14240, !8, i64 14280, !13, i64 14300, !7, i64 14304, !7, i64 14305, !8, i64 14306, !7, i64 14307, !16, i64 14308, !17, i64 14312}
!11 = !{!"int", !8, i64 0}
!12 = !{!"_ZTS6ImVec2", !13, i64 0, !13, i64 4}
!13 = !{!"float", !8, i64 0}
!14 = !{!"any pointer", !8, i64 0}
!15 = !{!"_ZTS16ImGuiMouseSource", !8, i64 0}
!16 = !{!"short", !8, i64 0}
!17 = !{!"_ZTS8ImVectorItE", !11, i64 0, !11, i64 4, !14, i64 8}
!18 = !{!"_ZTS15ImGuiPlatformIO", !14, i64 0, !14, i64 8, !14, i64 16, !14, i64 24, !14, i64 32, !14, i64 40, !14, i64 48, !14, i64 56, !14, i64 64, !14, i64 72, !14, i64 80, !14, i64 88, !14, i64 96, !14, i64 104, !14, i64 112, !14, i64 120, !14, i64 128, !14, i64 136, !14, i64 144, !14, i64 152, !14, i64 160, !14, i64 168, !14, i64 176, !19, i64 184, !20, i64 200}
!19 = !{!"_ZTS8ImVectorI20ImGuiPlatformMonitorE", !11, i64 0, !11, i64 4, !14, i64 8}
!20 = !{!"_ZTS8ImVectorIP13ImGuiViewportE", !11, i64 0, !11, i64 4, !14, i64 8}
!21 = !{!"_ZTS10ImGuiStyle", !13, i64 0, !13, i64 4, !12, i64 8, !13, i64 16, !13, i64 20, !12, i64 24, !12, i64 32, !11, i64 40, !13, i64 44, !13, i64 48, !13, i64 52, !13, i64 56, !12, i64 60, !13, i64 68, !13, i64 72, !12, i64 76, !12, i64 84, !12, i64 92, !12, i64 100, !13, i64 108, !13, i64 112, !13, i64 116, !13, i64 120, !13, i64 124, !13, i64 128, !13, i64 132, !13, i64 136, !13, i64 140, !13, i64 144, !11, i64 148, !12, i64 152, !12, i64 160, !13, i64 168, !12, i64 172, !12, i64 180, !12, i64 188, !12, i64 196, !13, i64 204, !13, i64 208, !7, i64 212, !7, i64 213, !7, i64 214, !13, i64 216, !13, i64 220, !8, i64 224, !13, i64 1104, !13, i64 1108, !13, i64 1112, !11, i64 1116, !11, i64 1120}
!22 = !{!"_ZTS20ImDrawListSharedData", !12, i64 0, !14, i64 8, !13, i64 16, !13, i64 20, !13, i64 24, !23, i64 28, !11, i64 44, !24, i64 48, !8, i64 64, !13, i64 448, !8, i64 452, !14, i64 520}
!23 = !{!"_ZTS6ImVec4", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12}
!24 = !{!"_ZTS8ImVectorI6ImVec2E", !11, i64 0, !11, i64 4, !14, i64 8}
!25 = !{!"double", !8, i64 0}
!26 = !{!"_ZTS8ImVectorI15ImGuiInputEventE", !11, i64 0, !11, i64 4, !14, i64 8}
!27 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !11, i64 0, !11, i64 4, !14, i64 8}
!28 = !{!"_ZTS8ImVectorI20ImGuiWindowStackDataE", !11, i64 0, !11, i64 4, !14, i64 8}
!29 = !{!"_ZTS12ImGuiStorage", !30, i64 0}
!30 = !{!"_ZTS8ImVectorIN12ImGuiStorage16ImGuiStoragePairEE", !11, i64 0, !11, i64 4, !14, i64 8}
!31 = !{!"_ZTS16ImGuiInputSource", !8, i64 0}
!32 = !{!"_ZTS20ImGuiKeyRoutingTable", !8, i64 0, !33, i64 280, !33, i64 296}
!33 = !{!"_ZTS8ImVectorI19ImGuiKeyRoutingDataE", !11, i64 0, !11, i64 4, !14, i64 8}
!34 = !{!"_ZTS17ImGuiNextItemData", !11, i64 0, !11, i64 4, !13, i64 8, !11, i64 12, !11, i64 16, !7, i64 20}
!35 = !{!"_ZTS17ImGuiLastItemData", !11, i64 0, !11, i64 4, !11, i64 8, !36, i64 12, !36, i64 28, !36, i64 44}
!36 = !{!"_ZTS6ImRect", !12, i64 0, !12, i64 8}
!37 = !{!"_ZTS19ImGuiNextWindowData", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12, !11, i64 16, !12, i64 20, !12, i64 28, !12, i64 36, !12, i64 44, !12, i64 52, !7, i64 60, !7, i64 61, !36, i64 64, !14, i64 80, !14, i64 88, !13, i64 96, !11, i64 100, !11, i64 104, !38, i64 108, !12, i64 136}
!38 = !{!"_ZTS16ImGuiWindowClass", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12, !11, i64 16, !11, i64 20, !7, i64 24, !7, i64 25}
!39 = !{!"_ZTS8ImVectorI13ImGuiColorModE", !11, i64 0, !11, i64 4, !14, i64 8}
!40 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !11, i64 0, !11, i64 4, !14, i64 8}
!41 = !{!"_ZTS8ImVectorIP6ImFontE", !11, i64 0, !11, i64 4, !14, i64 8}
!42 = !{!"_ZTS8ImVectorIjE", !11, i64 0, !11, i64 4, !14, i64 8}
!43 = !{!"_ZTS8ImVectorIiE", !11, i64 0, !11, i64 4, !14, i64 8}
!44 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !11, i64 0, !11, i64 4, !14, i64 8}
!45 = !{!"_ZTS8ImVectorI14ImGuiPopupDataE", !11, i64 0, !11, i64 4, !14, i64 8}
!46 = !{!"_ZTS8ImVectorIP14ImGuiViewportPE", !11, i64 0, !11, i64 4, !14, i64 8}
!47 = !{!"_ZTS20ImGuiPlatformMonitor", !12, i64 0, !12, i64 8, !12, i64 16, !12, i64 24, !13, i64 32, !14, i64 40}
!48 = !{!"_ZTS13ImGuiNavLayer", !8, i64 0}
!49 = !{!"_ZTS16ImGuiNavItemData", !14, i64 0, !11, i64 8, !11, i64 12, !36, i64 16, !11, i64 32, !13, i64 36, !13, i64 40, !13, i64 44}
!50 = !{!"_ZTS12ImGuiPayload", !14, i64 0, !11, i64 8, !11, i64 12, !11, i64 16, !11, i64 20, !8, i64 24, !7, i64 57, !7, i64 58}
!51 = !{!"_ZTS8ImVectorIhE", !11, i64 0, !11, i64 4, !14, i64 8}
!52 = !{!"_ZTS8ImVectorI20ImGuiListClipperDataE", !11, i64 0, !11, i64 4, !14, i64 8}
!53 = !{!"_ZTS8ImVectorI18ImGuiTableTempDataE", !11, i64 0, !11, i64 4, !14, i64 8}
!54 = !{!"_ZTS6ImPoolI10ImGuiTableE", !55, i64 0, !29, i64 16, !11, i64 32, !11, i64 36}
!55 = !{!"_ZTS8ImVectorI10ImGuiTableE", !11, i64 0, !11, i64 4, !14, i64 8}
!56 = !{!"_ZTS8ImVectorIfE", !11, i64 0, !11, i64 4, !14, i64 8}
!57 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !11, i64 0, !11, i64 4, !14, i64 8}
!58 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !59, i64 0, !29, i64 16, !11, i64 32, !11, i64 36}
!59 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !11, i64 0, !11, i64 4, !14, i64 8}
!60 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !11, i64 0, !11, i64 4, !14, i64 8}
!61 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !11, i64 0, !11, i64 4, !14, i64 8}
!62 = !{!"_ZTS19ImGuiInputTextState", !14, i64 0, !11, i64 8, !11, i64 12, !11, i64 16, !17, i64 24, !63, i64 40, !63, i64 56, !7, i64 72, !11, i64 76, !13, i64 80, !64, i64 84, !13, i64 3712, !7, i64 3716, !7, i64 3717, !7, i64 3718, !11, i64 3720}
!63 = !{!"_ZTS8ImVectorIcE", !11, i64 0, !11, i64 4, !14, i64 8}
!64 = !{!"_ZTSN5ImStb17STB_TexteditStateE", !11, i64 0, !11, i64 4, !11, i64 8, !8, i64 12, !11, i64 16, !8, i64 20, !8, i64 21, !8, i64 22, !8, i64 23, !8, i64 24, !8, i64 25, !8, i64 26, !13, i64 28, !65, i64 32}
!65 = !{!"_ZTSN5ImStb12StbUndoStateE", !8, i64 0, !8, i64 1584, !16, i64 3582, !16, i64 3584, !11, i64 3588, !11, i64 3592}
!66 = !{!"_ZTS30ImGuiInputTextDeactivatedState", !11, i64 0, !63, i64 8}
!67 = !{!"_ZTS6ImFont", !56, i64 0, !13, i64 16, !13, i64 20, !17, i64 24, !68, i64 40, !14, i64 56, !14, i64 64, !14, i64 72, !16, i64 80, !16, i64 82, !16, i64 84, !16, i64 86, !13, i64 88, !13, i64 92, !7, i64 96, !13, i64 100, !13, i64 104, !13, i64 108, !11, i64 112, !8, i64 116}
!68 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !11, i64 0, !11, i64 4, !14, i64 8}
!69 = !{!"_ZTS21ImGuiComboPreviewData", !36, i64 0, !12, i64 16, !12, i64 24, !12, i64 32, !13, i64 40, !11, i64 44}
!70 = !{!"_ZTS20ImGuiPlatformImeData", !7, i64 0, !12, i64 4, !13, i64 12}
!71 = !{!"_ZTS16ImGuiDockContext", !29, i64 0, !72, i64 16, !73, i64 32, !7, i64 48}
!72 = !{!"_ZTS8ImVectorI16ImGuiDockRequestE", !11, i64 0, !11, i64 4, !14, i64 8}
!73 = !{!"_ZTS8ImVectorI21ImGuiDockNodeSettingsE", !11, i64 0, !11, i64 4, !14, i64 8}
!74 = !{!"_ZTS15ImGuiTextBuffer", !63, i64 0}
!75 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !11, i64 0, !11, i64 4, !14, i64 8}
!76 = !{!"_ZTS13ImChunkStreamI19ImGuiWindowSettingsE", !63, i64 0}
!77 = !{!"_ZTS13ImChunkStreamI18ImGuiTableSettingsE", !63, i64 0}
!78 = !{!"_ZTS8ImVectorI16ImGuiContextHookE", !11, i64 0, !11, i64 4, !14, i64 8}
!79 = !{!"_ZTS12ImGuiLogType", !8, i64 0}
!80 = !{!"_ZTS14ImGuiTextIndex", !43, i64 0, !11, i64 16}
!81 = !{!"_ZTS18ImGuiMetricsConfig", !7, i64 0, !7, i64 1, !7, i64 2, !7, i64 3, !7, i64 4, !7, i64 5, !7, i64 6, !7, i64 7, !7, i64 8, !11, i64 12, !11, i64 16}
!82 = !{!"_ZTS14ImGuiStackTool", !11, i64 0, !11, i64 4, !11, i64 8, !83, i64 16, !7, i64 32, !13, i64 36}
!83 = !{!"_ZTS8ImVectorI19ImGuiStackLevelInfoE", !11, i64 0, !11, i64 4, !14, i64 8}
!84 = !{!85, !11, i64 0}
!85 = !{!"_ZTS13ImGuiDockNode", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12, !11, i64 16, !86, i64 20, !14, i64 24, !8, i64 32, !27, i64 48, !14, i64 64, !12, i64 72, !12, i64 80, !12, i64 88, !87, i64 96, !38, i64 100, !11, i64 128, !14, i64 136, !14, i64 144, !14, i64 152, !14, i64 160, !11, i64 168, !11, i64 172, !11, i64 176, !11, i64 180, !11, i64 184, !11, i64 188, !11, i64 192, !11, i64 196, !11, i64 200, !11, i64 200, !11, i64 200, !7, i64 201, !7, i64 201, !7, i64 201, !7, i64 201, !7, i64 201, !7, i64 201, !7, i64 201, !7, i64 202, !7, i64 202, !7, i64 202, !7, i64 202}
!86 = !{!"_ZTS18ImGuiDockNodeState", !8, i64 0}
!87 = !{!"_ZTS9ImGuiAxis", !8, i64 0}
!88 = !{!85, !11, i64 48}
!89 = !{!85, !14, i64 24}
!90 = !{!14, !14, i64 0}
!91 = !{!92, !14, i64 56}
!92 = !{!"_ZTS11ImGuiWindow", !14, i64 0, !14, i64 8, !11, i64 16, !11, i64 20, !11, i64 24, !38, i64 28, !14, i64 56, !11, i64 64, !12, i64 68, !11, i64 76, !12, i64 80, !12, i64 88, !12, i64 96, !12, i64 104, !12, i64 112, !12, i64 120, !12, i64 128, !13, i64 136, !13, i64 140, !13, i64 144, !13, i64 148, !13, i64 152, !13, i64 156, !13, i64 160, !13, i64 164, !11, i64 168, !11, i64 172, !11, i64 176, !11, i64 180, !12, i64 184, !12, i64 192, !12, i64 200, !12, i64 208, !12, i64 216, !12, i64 224, !7, i64 232, !7, i64 233, !7, i64 234, !7, i64 235, !7, i64 236, !7, i64 237, !7, i64 238, !7, i64 239, !7, i64 240, !7, i64 241, !7, i64 242, !7, i64 243, !7, i64 244, !7, i64 245, !8, i64 246, !16, i64 248, !16, i64 250, !16, i64 252, !16, i64 254, !16, i64 256, !11, i64 260, !8, i64 264, !8, i64 265, !8, i64 266, !7, i64 267, !11, i64 268, !8, i64 272, !8, i64 273, !8, i64 274, !8, i64 275, !11, i64 276, !11, i64 277, !11, i64 278, !11, i64 279, !12, i64 280, !12, i64 288, !42, i64 296, !93, i64 312, !36, i64 544, !36, i64 560, !36, i64 576, !36, i64 592, !36, i64 608, !36, i64 624, !36, i64 640, !96, i64 656, !96, i64 660, !11, i64 664, !11, i64 668, !13, i64 672, !13, i64 676, !29, i64 680, !97, i64 696, !13, i64 712, !13, i64 716, !11, i64 720, !14, i64 728, !98, i64 736, !14, i64 936, !14, i64 944, !14, i64 952, !14, i64 960, !14, i64 968, !14, i64 976, !14, i64 984, !14, i64 992, !8, i64 1000, !8, i64 1008, !8, i64 1040, !11, i64 1056, !11, i64 1060, !11, i64 1064, !7, i64 1068, !7, i64 1069, !7, i64 1069, !7, i64 1069, !7, i64 1069, !16, i64 1070, !105, i64 1072, !14, i64 1096, !14, i64 1104, !11, i64 1112, !11, i64 1116, !36, i64 1120}
!93 = !{!"_ZTS19ImGuiWindowTempData", !12, i64 0, !12, i64 8, !12, i64 16, !12, i64 24, !12, i64 32, !12, i64 40, !12, i64 48, !13, i64 56, !13, i64 60, !7, i64 64, !7, i64 65, !94, i64 68, !94, i64 72, !94, i64 76, !12, i64 80, !48, i64 88, !16, i64 92, !16, i64 94, !7, i64 96, !7, i64 97, !7, i64 98, !7, i64 99, !12, i64 100, !95, i64 108, !11, i64 136, !11, i64 140, !27, i64 144, !14, i64 160, !14, i64 168, !11, i64 176, !11, i64 180, !11, i64 184, !13, i64 188, !13, i64 192, !56, i64 200, !56, i64 216}
!94 = !{!"_ZTS6ImVec1", !13, i64 0}
!95 = !{!"_ZTS16ImGuiMenuColumns", !11, i64 0, !11, i64 4, !16, i64 8, !16, i64 10, !16, i64 12, !16, i64 14, !16, i64 16, !8, i64 18}
!96 = !{!"_ZTS8ImVec2ih", !16, i64 0, !16, i64 2}
!97 = !{!"_ZTS8ImVectorI15ImGuiOldColumnsE", !11, i64 0, !11, i64 4, !14, i64 8}
!98 = !{!"_ZTS10ImDrawList", !99, i64 0, !17, i64 16, !100, i64 32, !11, i64 48, !11, i64 52, !14, i64 56, !14, i64 64, !14, i64 72, !14, i64 80, !101, i64 88, !102, i64 104, !24, i64 120, !103, i64 136, !104, i64 168, !13, i64 192}
!99 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !11, i64 0, !11, i64 4, !14, i64 8}
!100 = !{!"_ZTS8ImVectorI10ImDrawVertE", !11, i64 0, !11, i64 4, !14, i64 8}
!101 = !{!"_ZTS8ImVectorI6ImVec4E", !11, i64 0, !11, i64 4, !14, i64 8}
!102 = !{!"_ZTS8ImVectorIPvE", !11, i64 0, !11, i64 4, !14, i64 8}
!103 = !{!"_ZTS15ImDrawCmdHeader", !23, i64 0, !14, i64 16, !11, i64 24}
!104 = !{!"_ZTS18ImDrawListSplitter", !11, i64 0, !11, i64 4, !57, i64 8}
!105 = !{!"_ZTS20ImGuiWindowDockStyle", !8, i64 0}
!106 = !{!92, !11, i64 20}
!107 = !{!92, !14, i64 936}
!108 = distinct !{!108, !109}
!109 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: BDCEPass,CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass,TailCallElimPass