; LLVM IR from khushmmehta/Scorch-V :: src/vendor/imgui/imgui.ll (ZN5ImGui11BeginDockedEP11ImGuiWindowPb)

; 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.ImGuiWindow = type { ptr, ptr, i32, 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, i8, i16, i16, i16, i16, i16, i32, 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.37, 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.ImGuiWindowClass = type <{ i32, i32, i32, i32, i32, i32, i8, i8, [2 x i8] }>
%struct.ImVector.11 = type { i32, i32, ptr }
%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.21, %struct.ImVector.21 }
%struct.ImVec1 = type { float }
%struct.ImGuiMenuColumns = type <{ i32, i32, i16, i16, i16, i16, i16, [4 x i16], [2 x i8] }>
%struct.ImVector.4 = type { i32, i32, ptr }
%struct.ImVector.21 = type { i32, i32, ptr }
%struct.ImVec2ih = type { i16, i16 }
%struct.ImGuiStorage = type { %struct.ImVector.6 }
%struct.ImVector.6 = type { i32, i32, ptr }
%struct.ImVector.37 = type { i32, i32, ptr }
%struct.ImDrawList = type <{ %struct.ImVector.38, %struct.ImVector, %struct.ImVector.39, i32, i32, ptr, ptr, ptr, ptr, %struct.ImVector.40, %struct.ImVector.41, %struct.ImVector.2, %struct.ImDrawCmdHeader, %struct.ImDrawListSplitter, float, [4 x i8] }>
%struct.ImVector.38 = type { i32, i32, ptr }
%struct.ImVector = type { i32, i32, ptr }
%struct.ImVector.39 = type { i32, i32, ptr }
%struct.ImVector.40 = type { i32, i32, ptr }
%struct.ImVector.41 = type { i32, i32, ptr }
%struct.ImVector.2 = type { i32, i32, ptr }
%struct.ImDrawCmdHeader = type <{ %struct.ImVec4, ptr, i32, [4 x i8] }>
%struct.ImVec4 = type { float, float, float, float }
%struct.ImDrawListSplitter = type { i32, i32, %struct.ImVector.22 }
%struct.ImVector.22 = type { i32, i32, ptr }
%struct.ImGuiWindowDockStyle = type { [6 x i32] }
%struct.ImRect = type { %struct.ImVec2, %struct.ImVec2 }
%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, 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, [154 x %struct.ImGuiKeyOwnerData], %struct.ImGuiKeyRoutingTable, i32, i8, i32, i32, i32, i32, %struct.ImGuiNextItemData, %struct.ImGuiLastItemData, %struct.ImGuiNextWindowData, i8, %struct.ImVector.8, %struct.ImVector.9, %struct.ImVector.10, %struct.ImVector.11, %struct.ImVector.12, %struct.ImVector.13, %struct.ImVector.14, %struct.ImVector.14, %struct.ImVector.15, i32, %struct.ImVector.16, float, ptr, ptr, ptr, i32, %struct.ImGuiPlatformMonitor, i32, i32, i32, ptr, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i64, i8, 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.17, [16 x i8], i32, %struct.ImVector.18, ptr, i32, %struct.ImVector.19, %struct.ImPool, %struct.ImVector.21, %struct.ImVector.22, ptr, %struct.ImPool.23, %struct.ImVector.25, %struct.ImVector.26, 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, %struct.ImRect, i8, float, float, i8, i8, float, float, float, float, i16, i16, i16, %struct.ImVector.27, %struct.ImVector.11, %struct.ImGuiTypingSelectState, %struct.ImGuiPlatformImeData, %struct.ImGuiPlatformImeData, i32, [4 x i8], %struct.ImGuiDockContext, ptr, i8, float, %struct.ImGuiTextBuffer, %struct.ImVector.31, %struct.ImChunkStream, %struct.ImChunkStream.32, %struct.ImVector.33, i32, [11 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.ImGuiIDStackTool, %struct.ImGuiDebugAllocInfo, ptr, [60 x float], i32, i32, float, i32, i32, i32, %struct.ImVector.27 }
%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, i16, i8, i8, i8, i8, i8, i8, i8, float, i32, i32, i32, i32, %struct.ImVec2, [666 x i32], [666 x i8], [16 x float], ptr, ptr, %struct.ImVec2, [5 x i8], float, float, i32, i32, i8, i8, i8, i8, i32, [666 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.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, 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.3 = type { i32, i32, ptr }
%struct.ImVector.5 = type { i32, i32, ptr }
%struct.ImGuiKeyOwnerData = type <{ i32, i32, i8, i8, [2 x i8] }>
%struct.ImGuiKeyRoutingTable = type { [154 x i16], %struct.ImVector.7, %struct.ImVector.7 }
%struct.ImVector.7 = type { i32, i32, ptr }
%struct.ImGuiNextItemData = type <{ i32, i32, float, [4 x i8], i64, 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, i32, i8, i8, %struct.ImRect, ptr, ptr, float, i32, i32, %struct.ImGuiWindowClass, %struct.ImVec2 }
%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.ImVector.16 = 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, [4 x i8], i64, float, float, float, [4 x i8] }>
%struct.ImGuiPayload = type <{ ptr, i32, i32, i32, i32, [33 x i8], i8, i8, [5 x i8] }>
%struct.ImVector.17 = type { i32, i32, ptr }
%struct.ImVector.18 = type { i32, i32, ptr }
%struct.ImVector.19 = type { i32, i32, ptr }
%struct.ImPool = type { %struct.ImVector.20, %struct.ImGuiStorage, i32, i32 }
%struct.ImVector.20 = type { i32, i32, ptr }
%struct.ImPool.23 = type { %struct.ImVector.24, %struct.ImGuiStorage, i32, i32 }
%struct.ImVector.24 = type { i32, i32, ptr }
%struct.ImVector.25 = type { i32, i32, ptr }
%struct.ImVector.26 = type { i32, i32, ptr }
%struct.ImGuiInputTextState = type <{ ptr, i32, i32, i32, [4 x i8], %struct.ImVector, %struct.ImVector.27, %struct.ImVector.27, 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.27 }
%struct.ImFont = type <{ %struct.ImVector.21, float, float, %struct.ImVector, %struct.ImVector.28, 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.28 = type { i32, i32, ptr }
%struct.ImGuiComboPreviewData = type { %struct.ImRect, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, i32 }
%struct.ImGuiTypingSelectState = type <{ %struct.ImGuiTypingSelectRequest, [64 x i8], i32, i32, float, i8, [3 x i8] }>
%struct.ImGuiTypingSelectRequest = type { i32, i32, ptr, i8, i8, i8 }
%struct.ImGuiPlatformImeData = type { i8, %struct.ImVec2, float }
%struct.ImGuiDockContext = type <{ %struct.ImGuiStorage, %struct.ImVector.29, %struct.ImVector.30, i8, [7 x i8] }>
%struct.ImVector.29 = type { i32, i32, ptr }
%struct.ImVector.30 = type { i32, i32, ptr }
%struct.ImVector.31 = type { i32, i32, ptr }
%struct.ImChunkStream = type { %struct.ImVector.27 }
%struct.ImChunkStream.32 = type { %struct.ImVector.27 }
%struct.ImVector.33 = type { i32, i32, ptr }
%struct.ImGuiTextBuffer = type { %struct.ImVector.27 }
%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.ImGuiIDStackTool = type { i32, i32, i32, %struct.ImVector.34, i8, float }
%struct.ImVector.34 = type { i32, i32, ptr }
%struct.ImGuiDebugAllocInfo = type { i32, i32, i16, [6 x %struct.ImGuiDebugAllocEntry] }
%struct.ImGuiDebugAllocEntry = type { i32, i16, i16 }
%struct.ImVector.27 = 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] }>

@GImGui = external dso_local global ptr, align 8
@.str.3 = external hidden unnamed_addr constant [81 x i8], align 1
@.str.342 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.377 = external hidden unnamed_addr constant [27 x i8], align 1
@__PRETTY_FUNCTION__._ZN5ImGui11BeginDockedEP11ImGuiWindowPb = external hidden unnamed_addr constant [47 x i8], align 1
@.str.378 = external hidden unnamed_addr constant [27 x i8], align 1
@_ZL22GWindowDockStyleColors = external hidden constant [6 x i32], align 16
@.str.379 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.380 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.381 = external hidden unnamed_addr constant [52 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: mustprogress nounwind uwtable
declare dso_local void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8), float noundef, float noundef) unnamed_addr #1 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN5ImGui23ColorConvertFloat4ToU32ERK6ImVec4(ptr noundef nonnull align 4 dereferenceable(16)) #3

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN11ImGuiWindow5GetIDEPKcS1_(ptr noundef nonnull align 8 dereferenceable(1144), ptr noundef, ptr noundef) #3 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN5ImGui19DockNodeGetRootNodeEP13ImGuiDockNode(ptr noundef) #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui17SetNextWindowSizeERK6ImVec2i(ptr noundef nonnull align 4 dereferenceable(8), i32 noundef) #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN5ImGui28GetWindowAlwaysWantOwnTabBarEP11ImGuiWindow(ptr noundef) #1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN5ImGui11BeginDockedEP11ImGuiWindowPb(ptr noundef %0, ptr noundef %1) #3 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i8, align 1
  %8 = alloca i8, align 1
  %9 = alloca i32, align 4
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  %13 = alloca %struct.ImVec2, align 4
  %14 = alloca ptr, align 8
  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) #6
  %15 = load ptr, ptr @GImGui, align 8, !tbaa !5
  store ptr %15, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #6
  %16 = load ptr, ptr %5, align 8, !tbaa !5
  store ptr %16, ptr %6, align 8, !tbaa !5
  %17 = load ptr, ptr %3, align 8, !tbaa !5
  %18 = getelementptr inbounds %struct.ImGuiWindow, ptr %17, i32 0, i32 106
  %19 = load i8, ptr %18, align 1
  %20 = and i8 %19, -5
  %21 = or i8 %20, 0
  store i8 %21, ptr %18, align 1
  %22 = load ptr, ptr %3, align 8, !tbaa !5
  %23 = getelementptr inbounds %struct.ImGuiWindow, ptr %22, i32 0, i32 106
  %24 = load i8, ptr %23, align 1
  %25 = and i8 %24, -3
  %26 = or i8 %25, 0
  store i8 %26, ptr %23, align 1
  %27 = load ptr, ptr %3, align 8, !tbaa !5
  %28 = getelementptr inbounds %struct.ImGuiWindow, ptr %27, i32 0, i32 106
  %29 = load i8, ptr %28, align 1
  %30 = and i8 %29, -2
  %31 = or i8 %30, 0
  store i8 %31, ptr %28, align 1
  call void @llvm.lifetime.start.p0(i64 1, ptr %7) #6
  %32 = load ptr, ptr %3, align 8, !tbaa !5
  %33 = call noundef zeroext i1 @_ZN5ImGui28GetWindowAlwaysWantOwnTabBarEP11ImGuiWindow(ptr noundef %32)
  %34 = zext i1 %33 to i8
  store i8 %34, ptr %7, align 1, !tbaa !9
  %35 = load i8, ptr %7, align 1, !tbaa !9, !range !11, !noundef !12
  %36 = trunc i8 %35 to i1
  br i1 %36, label %37, label %56

37:                                               ; preds = %2
  %38 = load ptr, ptr %3, align 8, !tbaa !5
  %39 = getelementptr inbounds %struct.ImGuiWindow, ptr %38, i32 0, i32 111
  %40 = load i32, ptr %39, align 8, !tbaa !13
  %41 = icmp eq i32 %40, 0
  br i1 %41, label %42, label %55

42:                                               ; preds = %37
  %43 = load ptr, ptr %3, align 8, !tbaa !5
  %44 = getelementptr inbounds %struct.ImGuiWindow, ptr %43, i32 0, i32 109
  %45 = load ptr, ptr %44, align 8, !tbaa !44
  %46 = icmp eq ptr %45, null
  br i1 %46, label %47, label %48

47:                                               ; preds = %42
  br label %50

48:                                               ; preds = %42
  call void @__assert_fail(ptr noundef @.str.377, ptr noundef @.str.3, i32 noundef 18691, ptr noundef @__PRETTY_FUNCTION__._ZN5ImGui11BeginDockedEP11ImGuiWindowPb) #7
  unreachable

49:                                               ; No predecessors!
  br label %50

50:                                               ; preds = %49, %47
  %51 = load ptr, ptr %5, align 8, !tbaa !5
  %52 = call noundef i32 @_ZN5ImGui20DockContextGenNodeIDEP12ImGuiContext(ptr noundef %51)
  %53 = load ptr, ptr %3, align 8, !tbaa !5
  %54 = getelementptr inbounds %struct.ImGuiWindow, ptr %53, i32 0, i32 111
  store i32 %52, ptr %54, align 8, !tbaa !13
  br label %55

55:                                               ; preds = %50, %37
  br label %111

56:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 1, ptr %8) #6
  store i8 0, ptr %8, align 1, !tbaa !9
  %57 = load ptr, ptr %3, align 8, !tbaa !5
  %58 = getelementptr inbounds %struct.ImGuiWindow, ptr %57, i32 0, i32 3
  %59 = load i32, ptr %58, align 4, !tbaa !45
  %60 = and i32 %59, 524288
  %61 = icmp ne i32 %60, 0
  %62 = zext i1 %61 to i32
  %63 = load i8, ptr %8, align 1, !tbaa !9, !range !11, !noundef !12
  %64 = trunc i8 %63 to i1
  %65 = zext i1 %64 to i32
  %66 = or i32 %65, %62
  %67 = icmp ne i32 %66, 0
  %68 = zext i1 %67 to i8
  store i8 %68, ptr %8, align 1, !tbaa !9
  %69 = load ptr, ptr %6, align 8, !tbaa !5
  %70 = getelementptr inbounds %struct.ImGuiContext, ptr %69, i32 0, i32 80
  %71 = getelementptr inbounds %struct.ImGuiNextWindowData, ptr %70, i32 0, i32 0
  %72 = load i32, ptr %71, align 8, !tbaa !46
  %73 = and i32 %72, 1
  %74 = icmp ne i32 %73, 0
  br i1 %74, label %75, label %93

75:                                               ; preds = %56
  %76 = load ptr, ptr %3, align 8, !tbaa !5
  %77 = getelementptr inbounds %struct.ImGuiWindow, ptr %76, i32 0, i32 66
  %78 = load i32, ptr %77, align 4
  %79 = shl i32 %78, 24
  %80 = ashr i32 %79, 24
  %81 = load ptr, ptr %6, align 8, !tbaa !5
  %82 = getelementptr inbounds %struct.ImGuiContext, ptr %81, i32 0, i32 80
  %83 = getelementptr inbounds %struct.ImGuiNextWindowData, ptr %82, i32 0, i32 1
  %84 = load i32, ptr %83, align 4, !tbaa !110
  %85 = and i32 %80, %84
  %86 = icmp ne i32 %85, 0
  br i1 %86, label %87, label %93

87:                                               ; preds = %75
  %88 = load ptr, ptr %6, align 8, !tbaa !5
  %89 = getelementptr inbounds %struct.ImGuiContext, ptr %88, i32 0, i32 80
  %90 = getelementptr inbounds %struct.ImGuiNextWindowData, ptr %89, i32 0, i32 11
  %91 = load i8, ptr %90, align 8, !tbaa !111, !range !11, !noundef !12
  %92 = trunc i8 %91 to i1
  br label %93

93:                                               ; preds = %87, %75, %56
  %94 = phi i1 [ false, %75 ], [ false, %56 ], [ %92, %87 ]
  %95 = zext i1 %94 to i32
  %96 = load i8, ptr %8, align 1, !tbaa !9, !range !11, !noundef !12
  %97 = trunc i8 %96 to i1
  %98 = zext i1 %97 to i32
  %99 = or i32 %98, %95
  %100 = icmp ne i32 %99, 0
  %101 = zext i1 %100 to i8
  store i8 %101, ptr %8, align 1, !tbaa !9
  %102 = load i8, ptr %8, align 1, !tbaa !9, !range !11, !noundef !12
  %103 = trunc i8 %102 to i1
  br i1 %103, label %104, label %107

104:                                              ; preds = %93
  %105 = load ptr, ptr %5, align 8, !tbaa !5
  %106 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN5ImGui30DockContextProcessUndockWindowEP12ImGuiContextP11ImGuiWindowb(ptr noundef %105, ptr noundef %106, i1 noundef zeroext true)
  store i32 1, ptr %9, align 4
  br label %108

107:                                              ; preds = %93
  store i32 0, ptr %9, align 4
  br label %108

108:                                              ; preds = %107, %104
  call void @llvm.lifetime.end.p0(i64 1, ptr %8) #6
  %109 = load i32, ptr %9, align 4
  switch i32 %109, label %405 [
    i32 0, label %110
  ]

110:                                              ; preds = %108
  br label %111

111:                                              ; preds = %110, %55
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #6
  %112 = load ptr, ptr %3, align 8, !tbaa !5
  %113 = getelementptr inbounds %struct.ImGuiWindow, ptr %112, i32 0, i32 109
  %114 = load ptr, ptr %113, align 8, !tbaa !44
  store ptr %114, ptr %10, align 8, !tbaa !5
  %115 = load ptr, ptr %10, align 8, !tbaa !5
  %116 = icmp ne ptr %115, null
  br i1 %116, label %117, label %129

117:                                              ; preds = %111
  %118 = load ptr, ptr %3, align 8, !tbaa !5
  %119 = getelementptr inbounds %struct.ImGuiWindow, ptr %118, i32 0, i32 111
  %120 = load i32, ptr %119, align 8, !tbaa !13
  %121 = load ptr, ptr %10, align 8, !tbaa !5
  %122 = getelementptr inbounds %struct.ImGuiDockNode, ptr %121, i32 0, i32 0
  %123 = load i32, ptr %122, align 8, !tbaa !112
  %124 = icmp eq i32 %120, %123
  br i1 %124, label %125, label %126

125:                                              ; preds = %117
  br label %128

126:                                              ; preds = %117
  call void @__assert_fail(ptr noundef @.str.378, ptr noundef @.str.3, i32 noundef 18711, ptr noundef @__PRETTY_FUNCTION__._ZN5ImGui11BeginDockedEP11ImGuiWindowPb) #7
  unreachable

127:                                              ; No predecessors!
  br label %128

128:                                              ; preds = %127, %125
  br label %129

129:                                              ; preds = %128, %111
  %130 = load ptr, ptr %3, align 8, !tbaa !5
  %131 = getelementptr inbounds %struct.ImGuiWindow, ptr %130, i32 0, i32 111
  %132 = load i32, ptr %131, align 8, !tbaa !13
  %133 = icmp ne i32 %132, 0
  br i1 %133, label %134, label %145

134:                                              ; preds = %129
  %135 = load ptr, ptr %10, align 8, !tbaa !5
  %136 = icmp eq ptr %135, null
  br i1 %136, label %137, label %145

137:                                              ; preds = %134
  %138 = load ptr, ptr %5, align 8, !tbaa !5
  %139 = load ptr, ptr %3, align 8, !tbaa !5
  %140 = call noundef ptr @_ZN5ImGuiL27DockContextBindNodeToWindowEP12ImGuiContextP11ImGuiWindow(ptr noundef %138, ptr noundef %139)
  store ptr %140, ptr %10, align 8, !tbaa !5
  %141 = load ptr, ptr %10, align 8, !tbaa !5
  %142 = icmp eq ptr %141, null
  br i1 %142, label %143, label %144

143:                                              ; preds = %137
  store i32 1, ptr %9, align 4
  br label %404

144:                                              ; preds = %137
  br label %145

145:                                              ; preds = %144, %134, %129
  %146 = load ptr, ptr %10, align 8, !tbaa !5
  %147 = getelementptr inbounds %struct.ImGuiDockNode, ptr %146, i32 0, i32 22
  %148 = load i32, ptr %147, align 4, !tbaa !116
  %149 = load ptr, ptr %6, align 8, !tbaa !5
  %150 = getelementptr inbounds %struct.ImGuiContext, ptr %149, i32 0, i32 12
  %151 = load i32, ptr %150, align 8, !tbaa !117
  %152 = icmp slt i32 %148, %151
  br i1 %152, label %153, label %173

153:                                              ; preds = %145
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #6
  %154 = load ptr, ptr %10, align 8, !tbaa !5
  %155 = call noundef ptr @_ZN5ImGui19DockNodeGetRootNodeEP13ImGuiDockNode(ptr noundef %154)
  store ptr %155, ptr %11, align 8, !tbaa !5
  %156 = load ptr, ptr %11, align 8, !tbaa !5
  %157 = getelementptr inbounds %struct.ImGuiDockNode, ptr %156, i32 0, i32 22
  %158 = load i32, ptr %157, align 4, !tbaa !116
  %159 = load ptr, ptr %6, align 8, !tbaa !5
  %160 = getelementptr inbounds %struct.ImGuiContext, ptr %159, i32 0, i32 12
  %161 = load i32, ptr %160, align 8, !tbaa !117
  %162 = icmp slt i32 %158, %161
  br i1 %162, label %163, label %166

163:                                              ; preds = %153
  %164 = load ptr, ptr %5, align 8, !tbaa !5
  %165 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN5ImGui30DockContextProcessUndockWindowEP12ImGuiContextP11ImGuiWindowb(ptr noundef %164, ptr noundef %165, i1 noundef zeroext true)
  br label %172

166:                                              ; preds = %153
  %167 = load ptr, ptr %3, align 8, !tbaa !5
  %168 = getelementptr inbounds %struct.ImGuiWindow, ptr %167, i32 0, i32 106
  %169 = load i8, ptr %168, align 1
  %170 = and i8 %169, -2
  %171 = or i8 %170, 1
  store i8 %171, ptr %168, align 1
  br label %172

172:                                              ; preds = %166, %163
  store i32 1, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  br label %404

173:                                              ; preds = %145
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #6
  store i32 0, ptr %12, align 4, !tbaa !118
  br label %174

174:                                              ; preds = %195, %173
  %175 = load i32, ptr %12, align 4, !tbaa !118
  %176 = icmp slt i32 %175, 6
  br i1 %176, label %178, label %177

177:                                              ; preds = %174
  store i32 2, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #6
  br label %198

178:                                              ; preds = %174
  %179 = load ptr, ptr %6, align 8, !tbaa !5
  %180 = getelementptr inbounds %struct.ImGuiContext, ptr %179, i32 0, i32 4
  %181 = getelementptr inbounds %struct.ImGuiStyle, ptr %180, i32 0, i32 46
  %182 = load i32, ptr %12, align 4, !tbaa !118
  %183 = sext i32 %182 to i64
  %184 = getelementptr inbounds [6 x i32], ptr @_ZL22GWindowDockStyleColors, i64 0, i64 %183
  %185 = load i32, ptr %184, align 4, !tbaa !118
  %186 = sext i32 %185 to i64
  %187 = getelementptr inbounds [55 x %struct.ImVec4], ptr %181, i64 0, i64 %186
  %188 = call noundef i32 @_ZN5ImGui23ColorConvertFloat4ToU32ERK6ImVec4(ptr noundef nonnull align 4 dereferenceable(16) %187)
  %189 = load ptr, ptr %3, align 8, !tbaa !5
  %190 = getelementptr inbounds %struct.ImGuiWindow, ptr %189, i32 0, i32 108
  %191 = getelementptr inbounds %struct.ImGuiWindowDockStyle, ptr %190, i32 0, i32 0
  %192 = load i32, ptr %12, align 4, !tbaa !118
  %193 = sext i32 %192 to i64
  %194 = getelementptr inbounds [6 x i32], ptr %191, i64 0, i64 %193
  store i32 %188, ptr %194, align 4, !tbaa !118
  br label %195

195:                                              ; preds = %178
  %196 = load i32, ptr %12, align 4, !tbaa !118
  %197 = add nsw i32 %196, 1
  store i32 %197, ptr %12, align 4, !tbaa !118
  br label %174, !llvm.loop !119

198:                                              ; preds = %177
  %199 = load ptr, ptr %10, align 8, !tbaa !5
  %200 = getelementptr inbounds %struct.ImGuiDockNode, ptr %199, i32 0, i32 17
  %201 = load ptr, ptr %200, align 8, !tbaa !121
  %202 = icmp eq ptr %201, null
  br i1 %202, label %203, label %228

203:                                              ; preds = %198
  %204 = load ptr, ptr %10, align 8, !tbaa !5
  %205 = getelementptr inbounds %struct.ImGuiDockNode, ptr %204, i32 0, i32 5
  %206 = load i32, ptr %205, align 4, !tbaa !122
  %207 = icmp eq i32 %206, 2
  br i1 %207, label %208, label %214

208:                                              ; preds = %203
  %209 = load ptr, ptr %3, align 8, !tbaa !5
  %210 = getelementptr inbounds %struct.ImGuiWindow, ptr %209, i32 0, i32 106
  %211 = load i8, ptr %210, align 1
  %212 = and i8 %211, -2
  %213 = or i8 %212, 1
  store i8 %213, ptr %210, align 1
  br label %214

214:                                              ; preds = %208, %203
  %215 = load ptr, ptr %10, align 8, !tbaa !5
  %216 = getelementptr inbounds %struct.ImGuiDockNode, ptr %215, i32 0, i32 8
  %217 = getelementptr inbounds %struct.ImVector.4, ptr %216, i32 0, i32 0
  %218 = load i32, ptr %217, align 8, !tbaa !123
  %219 = icmp sgt i32 %218, 1
  br i1 %219, label %220, label %227

220:                                              ; preds = %214
  %221 = load ptr, ptr %3, align 8, !tbaa !5
  %222 = getelementptr inbounds %struct.ImGuiWindow, ptr %221, i32 0, i32 45
  %223 = load i8, ptr %222, align 1, !tbaa !124, !range !11, !noundef !12
  %224 = trunc i8 %223 to i1
  br i1 %224, label %225, label %227

225:                                              ; preds = %220
  %226 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZL42DockNodeHideWindowDuringHostWindowCreationP11ImGuiWindow(ptr noundef %226)
  br label %227

227:                                              ; preds = %225, %220, %214
  store i32 1, ptr %9, align 4
  br label %404

228:                                              ; preds = %198
  %229 = load ptr, ptr %10, align 8, !tbaa !5
  %230 = getelementptr inbounds %struct.ImGuiDockNode, ptr %229, i32 0, i32 17
  %231 = load ptr, ptr %230, align 8, !tbaa !121
  %232 = icmp ne ptr %231, null
  br i1 %232, label %233, label %234

233:                                              ; preds = %228
  br label %236

234:                                              ; preds = %228
  call void @__assert_fail(ptr noundef @.str.379, ptr noundef @.str.3, i32 noundef 18758, ptr noundef @__PRETTY_FUNCTION__._ZN5ImGui11BeginDockedEP11ImGuiWindowPb) #7
  unreachable

235:                                              ; No predecessors!
  br label %236

236:                                              ; preds = %235, %233
  %237 = load ptr, ptr %10, align 8, !tbaa !5
  %238 = call noundef zeroext i1 @_ZNK13ImGuiDockNode10IsLeafNodeEv(ptr noundef nonnull align 8 dereferenceable(203) %237)
  br i1 %238, label %239, label %240

239:                                              ; preds = %236
  br label %242

240:                                              ; preds = %236
  call void @__assert_fail(ptr noundef @.str.342, ptr noundef @.str.3, i32 noundef 18759, ptr noundef @__PRETTY_FUNCTION__._ZN5ImGui11BeginDockedEP11ImGuiWindowPb) #7
  unreachable

241:                                              ; No predecessors!
  br label %242

242:                                              ; preds = %241, %239
  %243 = load ptr, ptr %10, align 8, !tbaa !5
  %244 = getelementptr inbounds %struct.ImGuiDockNode, ptr %243, i32 0, i32 11
  %245 = getelementptr inbounds %struct.ImVec2, ptr %244, i32 0, i32 0
  %246 = load float, ptr %245, align 8, !tbaa !125
  %247 = fcmp oge float %246, 0.000000e+00
  br i1 %247, label %248, label %254

248:                                              ; preds = %242
  %249 = load ptr, ptr %10, align 8, !tbaa !5
  %250 = getelementptr inbounds %struct.ImGuiDockNode, ptr %249, i32 0, i32 11
  %251 = getelementptr inbounds %struct.ImVec2, ptr %250, i32 0, i32 1
  %252 = load float, ptr %251, align 4, !tbaa !126
  %253 = fcmp oge float %252, 0.000000e+00
  br label %254

254:                                              ; preds = %248, %242
  %255 = phi i1 [ false, %242 ], [ %253, %248 ]
  br i1 %255, label %256, label %257

256:                                              ; preds = %254
  br label %259

257:                                              ; preds = %254
  call void @__assert_fail(ptr noundef @.str.380, ptr noundef @.str.3, i32 noundef 18760, ptr noundef @__PRETTY_FUNCTION__._ZN5ImGui11BeginDockedEP11ImGuiWindowPb) #7
  unreachable

258:                                              ; No predecessors!
  br label %259

259:                                              ; preds = %258, %256
  %260 = load ptr, ptr %10, align 8, !tbaa !5
  %261 = getelementptr inbounds %struct.ImGuiDockNode, ptr %260, i32 0, i32 5
  store i32 3, ptr %261, align 4, !tbaa !122
  %262 = load ptr, ptr %10, align 8, !tbaa !5
  %263 = getelementptr inbounds %struct.ImGuiDockNode, ptr %262, i32 0, i32 4
  %264 = load i32, ptr %263, align 8, !tbaa !127
  %265 = and i32 %264, 1
  %266 = icmp ne i32 %265, 0
  br i1 %266, label %282, label %267

267:                                              ; preds = %259
  %268 = load ptr, ptr %3, align 8, !tbaa !5
  %269 = getelementptr inbounds %struct.ImGuiWindow, ptr %268, i32 0, i32 55
  %270 = load i16, ptr %269, align 2, !tbaa !128
  %271 = sext i16 %270 to i32
  %272 = load ptr, ptr %10, align 8, !tbaa !5
  %273 = getelementptr inbounds %struct.ImGuiDockNode, ptr %272, i32 0, i32 17
  %274 = load ptr, ptr %273, align 8, !tbaa !121
  %275 = getelementptr inbounds %struct.ImGuiWindow, ptr %274, i32 0, i32 55
  %276 = load i16, ptr %275, align 2, !tbaa !128
  %277 = sext i16 %276 to i32
  %278 = icmp slt i32 %271, %277
  br i1 %278, label %279, label %282

279:                                              ; preds = %267
  %280 = load ptr, ptr %5, align 8, !tbaa !5
  %281 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN5ImGui30DockContextProcessUndockWindowEP12ImGuiContextP11ImGuiWindowb(ptr noundef %280, ptr noundef %281, i1 noundef zeroext true)
  store i32 1, ptr %9, align 4
  br label %404

282:                                              ; preds = %267, %259
  %283 = load ptr, ptr %10, align 8, !tbaa !5
  %284 = getelementptr inbounds %struct.ImGuiDockNode, ptr %283, i32 0, i32 10
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #6
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %13, float noundef 0.000000e+00, float noundef 0.000000e+00)
  call void @_ZN5ImGui16SetNextWindowPosERK6ImVec2iS2_(ptr noundef nonnull align 4 dereferenceable(8) %284, i32 noundef 0, ptr noundef nonnull align 4 dereferenceable(8) %13)
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #6
  %285 = load ptr, ptr %10, align 8, !tbaa !5
  %286 = getelementptr inbounds %struct.ImGuiDockNode, ptr %285, i32 0, i32 11
  call void @_ZN5ImGui17SetNextWindowSizeERK6ImVec2i(ptr noundef nonnull align 4 dereferenceable(8) %286, i32 noundef 0)
  %287 = load ptr, ptr %6, align 8, !tbaa !5
  %288 = getelementptr inbounds %struct.ImGuiContext, ptr %287, i32 0, i32 80
  %289 = getelementptr inbounds %struct.ImGuiNextWindowData, ptr %288, i32 0, i32 11
  store i8 0, ptr %289, align 8, !tbaa !111
  %290 = load ptr, ptr %3, align 8, !tbaa !5
  %291 = getelementptr inbounds %struct.ImGuiWindow, ptr %290, i32 0, i32 106
  %292 = load i8, ptr %291, align 1
  %293 = and i8 %292, -2
  %294 = or i8 %293, 1
  store i8 %294, ptr %291, align 1
  %295 = load ptr, ptr %3, align 8, !tbaa !5
  %296 = getelementptr inbounds %struct.ImGuiWindow, ptr %295, i32 0, i32 106
  %297 = load i8, ptr %296, align 1
  %298 = and i8 %297, -3
  %299 = or i8 %298, 2
  store i8 %299, ptr %296, align 1
  %300 = load ptr, ptr %3, align 8, !tbaa !5
  %301 = getelementptr inbounds %struct.ImGuiWindow, ptr %300, i32 0, i32 106
  %302 = load i8, ptr %301, align 1
  %303 = and i8 %302, -5
  %304 = or i8 %303, 0
  store i8 %304, ptr %301, align 1
  %305 = load ptr, ptr %10, align 8, !tbaa !5
  %306 = getelementptr inbounds %struct.ImGuiDockNode, ptr %305, i32 0, i32 4
  %307 = load i32, ptr %306, align 8, !tbaa !127
  %308 = and i32 %307, 1
  %309 = icmp ne i32 %308, 0
  br i1 %309, label %310, label %311

310:                                              ; preds = %282
  store i32 1, ptr %9, align 4
  br label %404

311:                                              ; preds = %282
  %312 = load ptr, ptr %10, align 8, !tbaa !5
  %313 = getelementptr inbounds %struct.ImGuiDockNode, ptr %312, i32 0, i32 18
  %314 = load ptr, ptr %313, align 8, !tbaa !129
  %315 = load ptr, ptr %3, align 8, !tbaa !5
  %316 = icmp eq ptr %314, %315
  br i1 %316, label %317, label %323

317:                                              ; preds = %311
  %318 = load ptr, ptr %3, align 8, !tbaa !5
  %319 = getelementptr inbounds %struct.ImGuiWindow, ptr %318, i32 0, i32 106
  %320 = load i8, ptr %319, align 1
  %321 = and i8 %320, -5
  %322 = or i8 %321, 4
  store i8 %322, ptr %319, align 1
  br label %323

323:                                              ; preds = %317, %311
  %324 = load ptr, ptr %3, align 8, !tbaa !5
  %325 = getelementptr inbounds %struct.ImGuiWindow, ptr %324, i32 0, i32 3
  %326 = load i32, ptr %325, align 4, !tbaa !45
  %327 = and i32 %326, 16777216
  %328 = icmp eq i32 %327, 0
  br i1 %328, label %329, label %330

329:                                              ; preds = %323
  br label %332

330:                                              ; preds = %323
  call void @__assert_fail(ptr noundef @.str.381, ptr noundef @.str.3, i32 noundef 18785, ptr noundef @__PRETTY_FUNCTION__._ZN5ImGui11BeginDockedEP11ImGuiWindowPb) #7
  unreachable

331:                                              ; No predecessors!
  br label %332

332:                                              ; preds = %331, %329
  %333 = load ptr, ptr %3, align 8, !tbaa !5
  %334 = getelementptr inbounds %struct.ImGuiWindow, ptr %333, i32 0, i32 3
  %335 = load i32, ptr %334, align 4, !tbaa !45
  %336 = or i32 %335, 16777218
  store i32 %336, ptr %334, align 4, !tbaa !45
  %337 = load ptr, ptr %3, align 8, !tbaa !5
  %338 = getelementptr inbounds %struct.ImGuiWindow, ptr %337, i32 0, i32 5
  %339 = load i32, ptr %338, align 4, !tbaa !130
  %340 = or i32 %339, 2
  store i32 %340, ptr %338, align 4, !tbaa !130
  %341 = load ptr, ptr %10, align 8, !tbaa !5
  %342 = call noundef zeroext i1 @_ZNK13ImGuiDockNode14IsHiddenTabBarEv(ptr noundef nonnull align 8 dereferenceable(203) %341)
  br i1 %342, label %346, label %343

343:                                              ; preds = %332
  %344 = load ptr, ptr %10, align 8, !tbaa !5
  %345 = call noundef zeroext i1 @_ZNK13ImGuiDockNode10IsNoTabBarEv(ptr noundef nonnull align 8 dereferenceable(203) %344)
  br i1 %345, label %346, label %351

346:                                              ; preds = %343, %332
  %347 = load ptr, ptr %3, align 8, !tbaa !5
  %348 = getelementptr inbounds %struct.ImGuiWindow, ptr %347, i32 0, i32 3
  %349 = load i32, ptr %348, align 4, !tbaa !45
  %350 = or i32 %349, 1
  store i32 %350, ptr %348, align 4, !tbaa !45
  br label %356

351:                                              ; preds = %343
  %352 = load ptr, ptr %3, align 8, !tbaa !5
  %353 = getelementptr inbounds %struct.ImGuiWindow, ptr %352, i32 0, i32 3
  %354 = load i32, ptr %353, align 4, !tbaa !45
  %355 = and i32 %354, -2
  store i32 %355, ptr %353, align 4, !tbaa !45
  br label %356

356:                                              ; preds = %351, %346
  %357 = load ptr, ptr %10, align 8, !tbaa !5
  %358 = getelementptr inbounds %struct.ImGuiDockNode, ptr %357, i32 0, i32 9
  %359 = load ptr, ptr %358, align 8, !tbaa !131
  %360 = icmp ne ptr %359, null
  br i1 %360, label %361, label %372

361:                                              ; preds = %356
  %362 = load ptr, ptr %3, align 8, !tbaa !5
  %363 = getelementptr inbounds %struct.ImGuiWindow, ptr %362, i32 0, i32 40
  %364 = load i8, ptr %363, align 4, !tbaa !132, !range !11, !noundef !12
  %365 = trunc i8 %364 to i1
  br i1 %365, label %366, label %372

366:                                              ; preds = %361
  %367 = load ptr, ptr %3, align 8, !tbaa !5
  %368 = call noundef i32 @_ZN5ImGuiL19DockNodeGetTabOrderEP11ImGuiWindow(ptr noundef %367)
  %369 = trunc i32 %368 to i16
  %370 = load ptr, ptr %3, align 8, !tbaa !5
  %371 = getelementptr inbounds %struct.ImGuiWindow, ptr %370, i32 0, i32 107
  store i16 %369, ptr %371, align 2, !tbaa !133
  br label %372

372:                                              ; preds = %366, %361, %356
  %373 = load ptr, ptr %10, align 8, !tbaa !5
  %374 = getelementptr inbounds %struct.ImGuiDockNode, ptr %373, i32 0, i32 29
  %375 = load i16, ptr %374, align 8
  %376 = lshr i16 %375, 15
  %377 = trunc i16 %376 to i1
  br i1 %377, label %386, label %378

378:                                              ; preds = %372
  %379 = load ptr, ptr %10, align 8, !tbaa !5
  %380 = getelementptr inbounds %struct.ImGuiDockNode, ptr %379, i32 0, i32 27
  %381 = load i32, ptr %380, align 8, !tbaa !134
  %382 = load ptr, ptr %3, align 8, !tbaa !5
  %383 = getelementptr inbounds %struct.ImGuiWindow, ptr %382, i32 0, i32 28
  %384 = load i32, ptr %383, align 8, !tbaa !135
  %385 = icmp eq i32 %381, %384
  br i1 %385, label %386, label %391

386:                                              ; preds = %378, %372
  %387 = load ptr, ptr %4, align 8, !tbaa !5
  %388 = icmp ne ptr %387, null
  br i1 %388, label %389, label %391

389:                                              ; preds = %386
  %390 = load ptr, ptr %4, align 8, !tbaa !5
  store i8 0, ptr %390, align 1, !tbaa !9
  br label %391

391:                                              ; preds = %389, %386, %378
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #6
  %392 = load ptr, ptr %3, align 8, !tbaa !5
  %393 = getelementptr inbounds %struct.ImGuiWindow, ptr %392, i32 0, i32 109
  %394 = load ptr, ptr %393, align 8, !tbaa !44
  %395 = getelementptr inbounds %struct.ImGuiDockNode, ptr %394, i32 0, i32 17
  %396 = load ptr, ptr %395, align 8, !tbaa !121
  store ptr %396, ptr %14, align 8, !tbaa !5
  %397 = load ptr, ptr %14, align 8, !tbaa !5
  %398 = load ptr, ptr %3, align 8, !tbaa !5
  %399 = getelementptr inbounds %struct.ImGuiWindow, ptr %398, i32 0, i32 1
  %400 = load ptr, ptr %399, align 8, !tbaa !136
  %401 = call noundef i32 @_ZN11ImGuiWindow5GetIDEPKcS1_(ptr noundef nonnull align 8 dereferenceable(1144) %397, ptr noundef %400, ptr noundef null)
  %402 = load ptr, ptr %3, align 8, !tbaa !5
  %403 = getelementptr inbounds %struct.ImGuiWindow, ptr %402, i32 0, i32 29
  store i32 %401, ptr %403, align 4, !tbaa !137
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #6
  store i32 0, ptr %9, align 4
  br label %404

404:                                              ; preds = %391, %310, %279, %227, %172, %143
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #6
  br label %405

405:                                              ; preds = %404, %108
  call void @llvm.lifetime.end.p0(i64 1, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #6
  %406 = load i32, ptr %9, align 4
  switch i32 %406, label %408 [
    i32 0, label %407
    i32 1, label %407
  ]

407:                                              ; preds = %405, %405
  ret void

408:                                              ; preds = %405
  unreachable
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui16SetNextWindowPosERK6ImVec2iS2_(ptr noundef nonnull align 4 dereferenceable(8), i32 noundef, ptr noundef nonnull align 4 dereferenceable(8)) #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui30DockContextProcessUndockWindowEP12ImGuiContextP11ImGuiWindowb(ptr noundef, ptr noundef, i1 noundef zeroext) #5

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN5ImGui20DockContextGenNodeIDEP12ImGuiContext(ptr noundef) #3

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

; Function Attrs: mustprogress uwtable
declare hidden noundef ptr @_ZN5ImGuiL27DockContextBindNodeToWindowEP12ImGuiContextP11ImGuiWindow(ptr noundef, ptr noundef) #5

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZL42DockNodeHideWindowDuringHostWindowCreationP11ImGuiWindow(ptr noundef) #1

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

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #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 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 = { nounwind }
attributes #7 = { 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, !10, i64 0}
!10 = !{!"bool", !7, i64 0}
!11 = !{i8 0, i8 2}
!12 = !{}
!13 = !{!14, !15, i64 1120}
!14 = !{!"_ZTS11ImGuiWindow", !6, i64 0, !6, i64 8, !15, i64 16, !15, i64 20, !15, i64 24, !15, i64 28, !16, i64 32, !6, i64 64, !15, i64 72, !17, i64 76, !15, i64 84, !17, i64 88, !17, i64 96, !17, i64 104, !17, i64 112, !17, i64 120, !17, i64 128, !17, i64 136, !18, i64 144, !18, i64 148, !18, i64 152, !18, i64 156, !18, i64 160, !18, i64 164, !18, i64 168, !18, i64 172, !15, i64 176, !15, i64 180, !15, i64 184, !15, i64 188, !17, i64 192, !17, i64 200, !17, i64 208, !17, i64 216, !17, i64 224, !17, i64 232, !10, i64 240, !10, i64 241, !10, i64 242, !10, i64 243, !10, i64 244, !10, i64 245, !10, i64 246, !10, i64 247, !10, i64 248, !10, i64 249, !10, i64 250, !10, i64 251, !10, i64 252, !10, i64 253, !7, i64 254, !7, i64 255, !19, i64 256, !19, i64 258, !19, i64 260, !19, i64 262, !19, i64 264, !15, i64 268, !7, i64 272, !7, i64 273, !10, i64 274, !15, i64 276, !7, i64 280, !7, i64 281, !7, i64 282, !7, i64 283, !15, i64 284, !15, i64 285, !15, i64 286, !15, i64 287, !17, i64 288, !17, i64 296, !20, i64 304, !21, i64 320, !27, i64 552, !27, i64 568, !27, i64 584, !27, i64 600, !27, i64 616, !27, i64 632, !27, i64 648, !28, i64 664, !28, i64 668, !15, i64 672, !15, i64 676, !18, i64 680, !18, i64 684, !29, i64 688, !31, i64 704, !18, i64 720, !18, i64 724, !15, i64 728, !6, i64 736, !32, i64 744, !6, i64 944, !6, i64 952, !6, i64 960, !6, i64 968, !6, i64 976, !6, i64 984, !6, i64 992, !6, i64 1000, !7, i64 1008, !7, i64 1016, !7, i64 1048, !15, i64 1064, !15, i64 1068, !15, i64 1072, !10, i64 1076, !10, i64 1077, !10, i64 1077, !10, i64 1077, !10, i64 1077, !19, i64 1078, !43, i64 1080, !6, i64 1104, !6, i64 1112, !15, i64 1120, !15, i64 1124, !27, i64 1128}
!15 = !{!"int", !7, i64 0}
!16 = !{!"_ZTS16ImGuiWindowClass", !15, i64 0, !15, i64 4, !15, i64 8, !15, i64 12, !15, i64 16, !15, i64 20, !10, i64 24, !10, i64 25}
!17 = !{!"_ZTS6ImVec2", !18, i64 0, !18, i64 4}
!18 = !{!"float", !7, i64 0}
!19 = !{!"short", !7, i64 0}
!20 = !{!"_ZTS8ImVectorIjE", !15, i64 0, !15, i64 4, !6, i64 8}
!21 = !{!"_ZTS19ImGuiWindowTempData", !17, i64 0, !17, i64 8, !17, i64 16, !17, i64 24, !17, i64 32, !17, i64 40, !17, i64 48, !18, i64 56, !18, i64 60, !10, i64 64, !10, i64 65, !22, i64 68, !22, i64 72, !22, i64 76, !17, i64 80, !23, i64 88, !19, i64 92, !19, i64 94, !10, i64 96, !10, i64 97, !10, i64 98, !10, i64 99, !17, i64 100, !24, i64 108, !15, i64 136, !15, i64 140, !25, i64 144, !6, i64 160, !6, i64 168, !15, i64 176, !15, i64 180, !15, i64 184, !18, i64 188, !18, i64 192, !26, i64 200, !26, i64 216}
!22 = !{!"_ZTS6ImVec1", !18, i64 0}
!23 = !{!"_ZTS13ImGuiNavLayer", !7, i64 0}
!24 = !{!"_ZTS16ImGuiMenuColumns", !15, i64 0, !15, i64 4, !19, i64 8, !19, i64 10, !19, i64 12, !19, i64 14, !19, i64 16, !7, i64 18}
!25 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !15, i64 0, !15, i64 4, !6, i64 8}
!26 = !{!"_ZTS8ImVectorIfE", !15, i64 0, !15, i64 4, !6, i64 8}
!27 = !{!"_ZTS6ImRect", !17, i64 0, !17, i64 8}
!28 = !{!"_ZTS8ImVec2ih", !19, i64 0, !19, i64 2}
!29 = !{!"_ZTS12ImGuiStorage", !30, i64 0}
!30 = !{!"_ZTS8ImVectorIN12ImGuiStorage16ImGuiStoragePairEE", !15, i64 0, !15, i64 4, !6, i64 8}
!31 = !{!"_ZTS8ImVectorI15ImGuiOldColumnsE", !15, i64 0, !15, i64 4, !6, i64 8}
!32 = !{!"_ZTS10ImDrawList", !33, i64 0, !34, i64 16, !35, i64 32, !15, i64 48, !15, i64 52, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !36, i64 88, !37, i64 104, !38, i64 120, !39, i64 136, !41, i64 168, !18, i64 192}
!33 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !15, i64 0, !15, i64 4, !6, i64 8}
!34 = !{!"_ZTS8ImVectorItE", !15, i64 0, !15, i64 4, !6, i64 8}
!35 = !{!"_ZTS8ImVectorI10ImDrawVertE", !15, i64 0, !15, i64 4, !6, i64 8}
!36 = !{!"_ZTS8ImVectorI6ImVec4E", !15, i64 0, !15, i64 4, !6, i64 8}
!37 = !{!"_ZTS8ImVectorIPvE", !15, i64 0, !15, i64 4, !6, i64 8}
!38 = !{!"_ZTS8ImVectorI6ImVec2E", !15, i64 0, !15, i64 4, !6, i64 8}
!39 = !{!"_ZTS15ImDrawCmdHeader", !40, i64 0, !6, i64 16, !15, i64 24}
!40 = !{!"_ZTS6ImVec4", !18, i64 0, !18, i64 4, !18, i64 8, !18, i64 12}
!41 = !{!"_ZTS18ImDrawListSplitter", !15, i64 0, !15, i64 4, !42, i64 8}
!42 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !15, i64 0, !15, i64 4, !6, i64 8}
!43 = !{!"_ZTS20ImGuiWindowDockStyle", !7, i64 0}
!44 = !{!14, !6, i64 1104}
!45 = !{!14, !15, i64 20}
!46 = !{!47, !15, i64 19192}
!47 = !{!"_ZTS12ImGuiContext", !10, i64 0, !10, i64 1, !48, i64 8, !50, i64 14632, !53, i64 14848, !15, i64 15980, !15, i64 15984, !6, i64 15992, !18, i64 16000, !18, i64 16004, !54, i64 16008, !55, i64 16536, !15, i64 16544, !15, i64 16548, !15, i64 16552, !15, i64 16556, !10, i64 16560, !10, i64 16561, !10, i64 16562, !10, i64 16563, !10, i64 16564, !6, i64 16568, !56, i64 16576, !56, i64 16592, !49, i64 16608, !15, i64 16612, !25, i64 16616, !25, i64 16632, !25, i64 16648, !57, i64 16664, !29, i64 16680, !15, i64 16696, !17, i64 16700, !6, i64 16712, !6, i64 16720, !6, i64 16728, !6, i64 16736, !6, i64 16744, !17, i64 16752, !15, i64 16760, !15, i64 16764, !18, i64 16768, !17, i64 16772, !17, i64 16780, !15, i64 16788, !15, i64 16792, !15, i64 16796, !10, i64 16800, !10, i64 16801, !18, i64 16804, !18, i64 16808, !15, i64 16812, !15, i64 16816, !18, i64 16820, !10, i64 16824, !10, i64 16825, !10, i64 16826, !10, i64 16827, !10, i64 16828, !10, i64 16829, !17, i64 16832, !6, i64 16840, !58, i64 16848, !15, i64 16852, !15, i64 16856, !10, i64 16860, !10, i64 16861, !6, i64 16864, !15, i64 16872, !18, i64 16876, !7, i64 16880, !59, i64 18728, !15, i64 19072, !10, i64 19076, !15, i64 19080, !15, i64 19084, !15, i64 19088, !15, i64 19092, !61, i64 19096, !63, i64 19128, !64, i64 19192, !10, i64 19344, !65, i64 19352, !66, i64 19368, !67, i64 19384, !20, i64 19400, !68, i64 19416, !69, i64 19432, !70, i64 19448, !70, i64 19464, !71, i64 19480, !15, i64 19496, !72, i64 19504, !18, i64 19520, !6, i64 19528, !6, i64 19536, !6, i64 19544, !15, i64 19552, !73, i64 19560, !15, i64 19608, !15, i64 19612, !15, i64 19616, !6, i64 19624, !15, i64 19632, !15, i64 19636, !15, i64 19640, !15, i64 19644, !15, i64 19648, !15, i64 19652, !15, i64 19656, !15, i64 19660, !15, i64 19664, !15, i64 19668, !15, i64 19672, !58, i64 19676, !23, i64 19680, !62, i64 19688, !10, i64 19696, !10, i64 19697, !10, i64 19698, !10, i64 19699, !10, i64 19700, !10, i64 19701, !10, i64 19702, !74, i64 19704, !10, i64 19768, !10, i64 19769, !10, i64 19770, !15, i64 19772, !15, i64 19776, !15, i64 19780, !15, i64 19784, !15, i64 19788, !15, i64 19792, !27, i64 19796, !27, i64 19812, !15, i64 19828, !15, i64 19832, !15, i64 19836, !74, i64 19840, !74, i64 19904, !74, i64 19968, !74, i64 20032, !15, i64 20096, !15, i64 20100, !6, i64 20104, !6, i64 20112, !6, i64 20120, !18, i64 20128, !18, i64 20132, !10, i64 20136, !17, i64 20140, !17, i64 20148, !18, i64 20156, !10, i64 20160, !10, i64 20161, !10, i64 20162, !15, i64 20164, !15, i64 20168, !15, i64 20172, !75, i64 20176, !27, i64 20240, !15, i64 20256, !15, i64 20260, !18, i64 20264, !15, i64 20268, !15, i64 20272, !15, i64 20276, !15, i64 20280, !76, i64 20288, !7, i64 20304, !15, i64 20320, !77, i64 20328, !6, i64 20344, !15, i64 20352, !78, i64 20360, !79, i64 20376, !26, i64 20416, !42, i64 20432, !6, i64 20448, !81, i64 20456, !83, i64 20496, !84, i64 20512, !15, i64 20528, !15, i64 20532, !18, i64 20536, !18, i64 20540, !15, i64 20544, !15, i64 20548, !15, i64 20552, !18, i64 20556, !17, i64 20560, !85, i64 20568, !89, i64 24296, !90, i64 24320, !15, i64 24440, !15, i64 24444, !15, i64 24448, !15, i64 24452, !18, i64 24456, !18, i64 24460, !15, i64 24464, !40, i64 24468, !92, i64 24484, !27, i64 24532, !10, i64 24548, !18, i64 24552, !18, i64 24556, !10, i64 24560, !10, i64 24561, !18, i64 24564, !18, i64 24568, !18, i64 24572, !18, i64 24576, !19, i64 24580, !19, i64 24582, !19, i64 24584, !86, i64 24592, !20, i64 24608, !93, i64 24624, !95, i64 24728, !95, i64 24744, !15, i64 24760, !96, i64 24768, !6, i64 24824, !10, i64 24832, !18, i64 24836, !99, i64 24840, !100, i64 24856, !101, i64 24872, !102, i64 24888, !103, i64 24904, !15, i64 24920, !7, i64 24928, !10, i64 25016, !104, i64 25020, !6, i64 25024, !99, i64 25032, !6, i64 25048, !6, i64 25056, !18, i64 25064, !10, i64 25068, !15, i64 25072, !15, i64 25076, !15, i64 25080, !15, i64 25084, !99, i64 25088, !105, i64 25104, !7, i64 25128, !7, i64 25129, !7, i64 25130, !10, i64 25131, !7, i64 25132, !15, i64 25136, !106, i64 25140, !107, i64 25160, !109, i64 25200, !6, i64 25264, !7, i64 25272, !15, i64 25512, !15, i64 25516, !18, i64 25520, !15, i64 25524, !15, i64 25528, !15, i64 25532, !86, i64 25536}
!48 = !{!"_ZTS7ImGuiIO", !15, i64 0, !15, i64 4, !17, i64 8, !18, i64 16, !18, i64 20, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !18, i64 56, !10, i64 60, !6, i64 64, !17, i64 72, !10, i64 80, !10, i64 81, !10, i64 82, !10, i64 83, !10, i64 84, !10, i64 85, !10, i64 86, !10, i64 87, !10, i64 88, !10, i64 89, !10, i64 90, !10, i64 91, !10, i64 92, !10, i64 93, !10, i64 94, !10, i64 95, !18, i64 96, !18, i64 100, !18, i64 104, !18, i64 108, !18, i64 112, !18, i64 116, !10, i64 120, !10, i64 121, !10, i64 122, !10, 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, !19, i64 200, !10, i64 202, !10, i64 203, !10, i64 204, !10, i64 205, !10, i64 206, !10, i64 207, !10, i64 208, !18, i64 212, !15, i64 216, !15, i64 220, !15, i64 224, !15, i64 228, !17, i64 232, !7, i64 240, !7, i64 2904, !7, i64 3572, !6, i64 3640, !6, i64 3648, !17, i64 3656, !7, i64 3664, !18, i64 3672, !18, i64 3676, !49, i64 3680, !15, i64 3684, !10, i64 3688, !10, i64 3689, !10, i64 3690, !10, i64 3691, !15, i64 3692, !7, i64 3696, !10, i64 14352, !17, i64 14356, !7, i64 14364, !7, i64 14408, !7, i64 14448, !7, i64 14453, !7, i64 14458, !7, i64 14468, !7, i64 14478, !7, i64 14483, !7, i64 14488, !10, i64 14493, !7, i64 14496, !7, i64 14516, !7, i64 14536, !7, i64 14576, !18, i64 14596, !10, i64 14600, !10, i64 14601, !7, i64 14602, !10, i64 14603, !19, i64 14604, !34, i64 14608}
!49 = !{!"_ZTS16ImGuiMouseSource", !7, i64 0}
!50 = !{!"_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, !51, i64 184, !52, i64 200}
!51 = !{!"_ZTS8ImVectorI20ImGuiPlatformMonitorE", !15, i64 0, !15, i64 4, !6, i64 8}
!52 = !{!"_ZTS8ImVectorIP13ImGuiViewportE", !15, i64 0, !15, i64 4, !6, i64 8}
!53 = !{!"_ZTS10ImGuiStyle", !18, i64 0, !18, i64 4, !17, i64 8, !18, i64 16, !18, i64 20, !17, i64 24, !17, i64 32, !15, i64 40, !18, i64 44, !18, i64 48, !18, i64 52, !18, i64 56, !17, i64 60, !18, i64 68, !18, i64 72, !17, i64 76, !17, i64 84, !17, i64 92, !17, i64 100, !18, i64 108, !18, i64 112, !18, i64 116, !18, i64 120, !18, i64 124, !18, i64 128, !18, i64 132, !18, i64 136, !18, i64 140, !18, i64 144, !18, i64 148, !18, i64 152, !15, i64 156, !17, i64 160, !17, i64 168, !18, i64 176, !17, i64 180, !17, i64 188, !17, i64 196, !17, i64 204, !18, i64 212, !18, i64 216, !10, i64 220, !10, i64 221, !10, i64 222, !18, i64 224, !18, i64 228, !7, i64 232, !18, i64 1112, !18, i64 1116, !18, i64 1120, !15, i64 1124, !15, i64 1128}
!54 = !{!"_ZTS20ImDrawListSharedData", !17, i64 0, !6, i64 8, !18, i64 16, !18, i64 20, !18, i64 24, !40, i64 28, !15, i64 44, !38, i64 48, !7, i64 64, !18, i64 448, !7, i64 452, !6, i64 520}
!55 = !{!"double", !7, i64 0}
!56 = !{!"_ZTS8ImVectorI15ImGuiInputEventE", !15, i64 0, !15, i64 4, !6, i64 8}
!57 = !{!"_ZTS8ImVectorI20ImGuiWindowStackDataE", !15, i64 0, !15, i64 4, !6, i64 8}
!58 = !{!"_ZTS16ImGuiInputSource", !7, i64 0}
!59 = !{!"_ZTS20ImGuiKeyRoutingTable", !7, i64 0, !60, i64 312, !60, i64 328}
!60 = !{!"_ZTS8ImVectorI19ImGuiKeyRoutingDataE", !15, i64 0, !15, i64 4, !6, i64 8}
!61 = !{!"_ZTS17ImGuiNextItemData", !15, i64 0, !15, i64 4, !18, i64 8, !62, i64 16, !15, i64 24, !10, i64 28}
!62 = !{!"long long", !7, i64 0}
!63 = !{!"_ZTS17ImGuiLastItemData", !15, i64 0, !15, i64 4, !15, i64 8, !27, i64 12, !27, i64 28, !27, i64 44}
!64 = !{!"_ZTS19ImGuiNextWindowData", !15, i64 0, !15, i64 4, !15, i64 8, !15, i64 12, !15, i64 16, !17, i64 20, !17, i64 28, !17, i64 36, !17, i64 44, !17, i64 52, !15, i64 60, !10, i64 64, !10, i64 65, !27, i64 68, !6, i64 88, !6, i64 96, !18, i64 104, !15, i64 108, !15, i64 112, !16, i64 116, !17, i64 144}
!65 = !{!"_ZTS8ImVectorI13ImGuiColorModE", !15, i64 0, !15, i64 4, !6, i64 8}
!66 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !15, i64 0, !15, i64 4, !6, i64 8}
!67 = !{!"_ZTS8ImVectorIP6ImFontE", !15, i64 0, !15, i64 4, !6, i64 8}
!68 = !{!"_ZTS8ImVectorIiE", !15, i64 0, !15, i64 4, !6, i64 8}
!69 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !15, i64 0, !15, i64 4, !6, i64 8}
!70 = !{!"_ZTS8ImVectorI14ImGuiPopupDataE", !15, i64 0, !15, i64 4, !6, i64 8}
!71 = !{!"_ZTS8ImVectorI20ImGuiNavTreeNodeDataE", !15, i64 0, !15, i64 4, !6, i64 8}
!72 = !{!"_ZTS8ImVectorIP14ImGuiViewportPE", !15, i64 0, !15, i64 4, !6, i64 8}
!73 = !{!"_ZTS20ImGuiPlatformMonitor", !17, i64 0, !17, i64 8, !17, i64 16, !17, i64 24, !18, i64 32, !6, i64 40}
!74 = !{!"_ZTS16ImGuiNavItemData", !6, i64 0, !15, i64 8, !15, i64 12, !27, i64 16, !15, i64 32, !62, i64 40, !18, i64 48, !18, i64 52, !18, i64 56}
!75 = !{!"_ZTS12ImGuiPayload", !6, i64 0, !15, i64 8, !15, i64 12, !15, i64 16, !15, i64 20, !7, i64 24, !10, i64 57, !10, i64 58}
!76 = !{!"_ZTS8ImVectorIhE", !15, i64 0, !15, i64 4, !6, i64 8}
!77 = !{!"_ZTS8ImVectorI20ImGuiListClipperDataE", !15, i64 0, !15, i64 4, !6, i64 8}
!78 = !{!"_ZTS8ImVectorI18ImGuiTableTempDataE", !15, i64 0, !15, i64 4, !6, i64 8}
!79 = !{!"_ZTS6ImPoolI10ImGuiTableE", !80, i64 0, !29, i64 16, !15, i64 32, !15, i64 36}
!80 = !{!"_ZTS8ImVectorI10ImGuiTableE", !15, i64 0, !15, i64 4, !6, i64 8}
!81 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !82, i64 0, !29, i64 16, !15, i64 32, !15, i64 36}
!82 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !15, i64 0, !15, i64 4, !6, i64 8}
!83 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !15, i64 0, !15, i64 4, !6, i64 8}
!84 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !15, i64 0, !15, i64 4, !6, i64 8}
!85 = !{!"_ZTS19ImGuiInputTextState", !6, i64 0, !15, i64 8, !15, i64 12, !15, i64 16, !34, i64 24, !86, i64 40, !86, i64 56, !10, i64 72, !15, i64 76, !18, i64 80, !87, i64 84, !18, i64 3712, !10, i64 3716, !10, i64 3717, !10, i64 3718, !15, i64 3720}
!86 = !{!"_ZTS8ImVectorIcE", !15, i64 0, !15, i64 4, !6, i64 8}
!87 = !{!"_ZTSN5ImStb17STB_TexteditStateE", !15, i64 0, !15, i64 4, !15, i64 8, !7, i64 12, !15, i64 16, !7, i64 20, !7, i64 21, !7, i64 22, !7, i64 23, !7, i64 24, !7, i64 25, !7, i64 26, !18, i64 28, !88, i64 32}
!88 = !{!"_ZTSN5ImStb12StbUndoStateE", !7, i64 0, !7, i64 1584, !19, i64 3582, !19, i64 3584, !15, i64 3588, !15, i64 3592}
!89 = !{!"_ZTS30ImGuiInputTextDeactivatedState", !15, i64 0, !86, i64 8}
!90 = !{!"_ZTS6ImFont", !26, i64 0, !18, i64 16, !18, i64 20, !34, i64 24, !91, i64 40, !6, i64 56, !6, i64 64, !6, i64 72, !19, i64 80, !19, i64 82, !19, i64 84, !19, i64 86, !18, i64 88, !18, i64 92, !10, i64 96, !18, i64 100, !18, i64 104, !18, i64 108, !15, i64 112, !7, i64 116}
!91 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !15, i64 0, !15, i64 4, !6, i64 8}
!92 = !{!"_ZTS21ImGuiComboPreviewData", !27, i64 0, !17, i64 16, !17, i64 24, !17, i64 32, !18, i64 40, !15, i64 44}
!93 = !{!"_ZTS22ImGuiTypingSelectState", !94, i64 0, !7, i64 24, !15, i64 88, !15, i64 92, !18, i64 96, !10, i64 100}
!94 = !{!"_ZTS24ImGuiTypingSelectRequest", !15, i64 0, !15, i64 4, !6, i64 8, !10, i64 16, !10, i64 17, !7, i64 18}
!95 = !{!"_ZTS20ImGuiPlatformImeData", !10, i64 0, !17, i64 4, !18, i64 12}
!96 = !{!"_ZTS16ImGuiDockContext", !29, i64 0, !97, i64 16, !98, i64 32, !10, i64 48}
!97 = !{!"_ZTS8ImVectorI16ImGuiDockRequestE", !15, i64 0, !15, i64 4, !6, i64 8}
!98 = !{!"_ZTS8ImVectorI21ImGuiDockNodeSettingsE", !15, i64 0, !15, i64 4, !6, i64 8}
!99 = !{!"_ZTS15ImGuiTextBuffer", !86, i64 0}
!100 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !15, i64 0, !15, i64 4, !6, i64 8}
!101 = !{!"_ZTS13ImChunkStreamI19ImGuiWindowSettingsE", !86, i64 0}
!102 = !{!"_ZTS13ImChunkStreamI18ImGuiTableSettingsE", !86, i64 0}
!103 = !{!"_ZTS8ImVectorI16ImGuiContextHookE", !15, i64 0, !15, i64 4, !6, i64 8}
!104 = !{!"_ZTS12ImGuiLogType", !7, i64 0}
!105 = !{!"_ZTS14ImGuiTextIndex", !68, i64 0, !15, i64 16}
!106 = !{!"_ZTS18ImGuiMetricsConfig", !10, i64 0, !10, i64 1, !10, i64 2, !10, i64 3, !10, i64 4, !10, i64 5, !10, i64 6, !10, i64 7, !10, i64 8, !15, i64 12, !15, i64 16}
!107 = !{!"_ZTS16ImGuiIDStackTool", !15, i64 0, !15, i64 4, !15, i64 8, !108, i64 16, !10, i64 32, !18, i64 36}
!108 = !{!"_ZTS8ImVectorI19ImGuiStackLevelInfoE", !15, i64 0, !15, i64 4, !6, i64 8}
!109 = !{!"_ZTS19ImGuiDebugAllocInfo", !15, i64 0, !15, i64 4, !19, i64 8, !7, i64 12}
!110 = !{!47, !15, i64 19196}
!111 = !{!47, !10, i64 19256}
!112 = !{!113, !15, i64 0}
!113 = !{!"_ZTS13ImGuiDockNode", !15, i64 0, !15, i64 4, !15, i64 8, !15, i64 12, !15, i64 16, !114, i64 20, !6, i64 24, !7, i64 32, !25, i64 48, !6, i64 64, !17, i64 72, !17, i64 80, !17, i64 88, !115, i64 96, !16, i64 100, !15, i64 128, !6, i64 136, !6, i64 144, !6, i64 152, !6, i64 160, !15, i64 168, !15, i64 172, !15, i64 176, !15, i64 180, !15, i64 184, !15, i64 188, !15, i64 192, !15, i64 196, !15, i64 200, !15, i64 200, !15, i64 200, !10, i64 201, !10, i64 201, !10, i64 201, !10, i64 201, !10, i64 201, !10, i64 201, !10, i64 201, !10, i64 202, !10, i64 202, !10, i64 202, !10, i64 202}
!114 = !{!"_ZTS18ImGuiDockNodeState", !7, i64 0}
!115 = !{!"_ZTS9ImGuiAxis", !7, i64 0}
!116 = !{!113, !15, i64 172}
!117 = !{!47, !15, i64 16544}
!118 = !{!15, !15, i64 0}
!119 = distinct !{!119, !120}
!120 = !{!"llvm.loop.mustprogress"}
!121 = !{!113, !6, i64 136}
!122 = !{!113, !114, i64 20}
!123 = !{!113, !15, i64 48}
!124 = !{!14, !10, i64 249}
!125 = !{!113, !18, i64 80}
!126 = !{!113, !18, i64 84}
!127 = !{!113, !15, i64 16}
!128 = !{!14, !19, i64 262}
!129 = !{!113, !6, i64 144}
!130 = !{!14, !15, i64 28}
!131 = !{!113, !6, i64 64}
!132 = !{!14, !10, i64 244}
!133 = !{!14, !19, i64 1078}
!134 = !{!113, !15, i64 192}
!135 = !{!14, !15, i64 184}
!136 = !{!14, !6, i64 8}
!137 = !{!14, !15, i64 188}


; 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 }
%struct.ImVec4 = type { float, float, float, float }

@GImGui = external dso_local local_unnamed_addr global ptr, align 8
@.str.3 = external hidden unnamed_addr constant [81 x i8], align 1
@.str.342 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.377 = external hidden unnamed_addr constant [27 x i8], align 1
@__PRETTY_FUNCTION__._ZN5ImGui11BeginDockedEP11ImGuiWindowPb = external hidden unnamed_addr constant [47 x i8], align 1
@.str.378 = external hidden unnamed_addr constant [27 x i8], align 1
@_ZL22GWindowDockStyleColors = external hidden local_unnamed_addr constant [6 x i32], align 16
@.str.380 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.381 = external hidden unnamed_addr constant [52 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 nounwind uwtable
declare dso_local void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8), float noundef, float noundef) unnamed_addr #1 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN5ImGui23ColorConvertFloat4ToU32ERK6ImVec4(ptr noundef nonnull align 4 dereferenceable(16)) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN11ImGuiWindow5GetIDEPKcS1_(ptr noundef nonnull align 8 dereferenceable(1144), ptr noundef, ptr noundef) local_unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN5ImGui19DockNodeGetRootNodeEP13ImGuiDockNode(ptr noundef) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui17SetNextWindowSizeERK6ImVec2i(ptr noundef nonnull align 4 dereferenceable(8), i32 noundef) local_unnamed_addr #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN5ImGui28GetWindowAlwaysWantOwnTabBarEP11ImGuiWindow(ptr noundef) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN5ImGui11BeginDockedEP11ImGuiWindowPb(ptr noundef %0, ptr noundef writeonly %1) local_unnamed_addr #3 {
  %3 = alloca %struct.ImVec2, align 4
  %4 = load ptr, ptr @GImGui, align 8, !tbaa !5
  %5 = getelementptr inbounds i8, ptr %0, i64 1077
  %6 = load i8, ptr %5, align 1
  %7 = and i8 %6, -8
  store i8 %7, ptr %5, align 1
  %8 = tail call noundef zeroext i1 @_ZN5ImGui28GetWindowAlwaysWantOwnTabBarEP11ImGuiWindow(ptr noundef %0)
  br i1 %8, label %9, label %20

9:                                                ; preds = %2
  %10 = getelementptr inbounds i8, ptr %0, i64 1120
  %11 = load i32, ptr %10, align 8, !tbaa !9
  %12 = icmp eq i32 %11, 0
  br i1 %12, label %13, label %.critedge105

13:                                               ; preds = %9
  %14 = getelementptr inbounds i8, ptr %0, i64 1104
  %15 = load ptr, ptr %14, align 8, !tbaa !41
  %16 = icmp eq ptr %15, null
  br i1 %16, label %18, label %17

17:                                               ; preds = %13
  tail call void @__assert_fail(ptr noundef nonnull @.str.377, ptr noundef nonnull @.str.3, i32 noundef 18691, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5ImGui11BeginDockedEP11ImGuiWindowPb) #6
  unreachable

18:                                               ; preds = %13
  %19 = tail call noundef i32 @_ZN5ImGui20DockContextGenNodeIDEP12ImGuiContext(ptr noundef %4)
  store i32 %19, ptr %10, align 8, !tbaa !9
  br label %.critedge105

20:                                               ; preds = %2
  %21 = getelementptr inbounds i8, ptr %0, i64 20
  %22 = load i32, ptr %21, align 4, !tbaa !42
  %23 = lshr i32 %22, 19
  %24 = getelementptr inbounds i8, ptr %4, i64 19192
  %25 = load i32, ptr %24, align 8, !tbaa !43
  %26 = and i32 %25, 1
  %.not = icmp eq i32 %26, 0
  br i1 %.not, label %39, label %27

27:                                               ; preds = %20
  %28 = getelementptr inbounds i8, ptr %0, i64 284
  %29 = load i32, ptr %28, align 4
  %30 = shl i32 %29, 24
  %31 = ashr exact i32 %30, 24
  %32 = getelementptr inbounds i8, ptr %4, i64 19196
  %33 = load i32, ptr %32, align 4, !tbaa !107
  %34 = and i32 %31, %33
  %.not96 = icmp eq i32 %34, 0
  br i1 %.not96, label %39, label %35

35:                                               ; preds = %27
  %36 = getelementptr inbounds i8, ptr %4, i64 19256
  %37 = load i8, ptr %36, align 8, !tbaa !108, !range !109, !noundef !110
  %38 = zext nneg i8 %37 to i32
  br label %39

39:                                               ; preds = %35, %27, %20
  %40 = phi i32 [ 0, %27 ], [ 0, %20 ], [ %38, %35 ]
  %.lobit97 = or i32 %40, %23
  %41 = and i32 %.lobit97, 1
  %.not98 = icmp eq i32 %41, 0
  br i1 %.not98, label %.critedge105, label %42

42:                                               ; preds = %39
  tail call void @_ZN5ImGui30DockContextProcessUndockWindowEP12ImGuiContextP11ImGuiWindowb(ptr noundef nonnull %4, ptr noundef nonnull %0, i1 noundef zeroext true)
  br label %209

.critedge105:                                     ; preds = %39, %9, %18
  %43 = getelementptr inbounds i8, ptr %0, i64 1104
  %44 = load ptr, ptr %43, align 8, !tbaa !41
  %.not99 = icmp eq ptr %44, null
  %45 = getelementptr inbounds i8, ptr %0, i64 1120
  %46 = load i32, ptr %45, align 8, !tbaa !9
  br i1 %.not99, label %51, label %47

47:                                               ; preds = %.critedge105
  %48 = load i32, ptr %44, align 8, !tbaa !111
  %49 = icmp eq i32 %46, %48
  br i1 %49, label %.thread, label %50

50:                                               ; preds = %47
  tail call void @__assert_fail(ptr noundef nonnull @.str.378, ptr noundef nonnull @.str.3, i32 noundef 18711, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5ImGui11BeginDockedEP11ImGuiWindowPb) #6
  unreachable

51:                                               ; preds = %.critedge105
  %.not108 = icmp eq i32 %46, 0
  br i1 %.not108, label %.thread, label %52

52:                                               ; preds = %51
  %53 = tail call noundef ptr @_ZN5ImGuiL27DockContextBindNodeToWindowEP12ImGuiContextP11ImGuiWindow(ptr noundef %4, ptr noundef nonnull %0)
  %54 = icmp eq ptr %53, null
  br i1 %54, label %209, label %.thread

.thread:                                          ; preds = %47, %52, %51
  %.093 = phi ptr [ %53, %52 ], [ null, %51 ], [ %44, %47 ]
  %55 = getelementptr inbounds i8, ptr %.093, i64 172
  %56 = load i32, ptr %55, align 4, !tbaa !115
  %57 = getelementptr inbounds i8, ptr %4, i64 16544
  %58 = load i32, ptr %57, align 8, !tbaa !116
  %59 = icmp slt i32 %56, %58
  br i1 %59, label %94, label %.preheader

.preheader:                                       ; preds = %.thread
  %60 = getelementptr inbounds i8, ptr %4, i64 15080
  %61 = getelementptr inbounds i8, ptr %0, i64 1080
  %62 = load i32, ptr @_ZL22GWindowDockStyleColors, align 16, !tbaa !117
  %63 = sext i32 %62 to i64
  %64 = getelementptr inbounds [55 x %struct.ImVec4], ptr %60, i64 0, i64 %63
  %65 = tail call noundef i32 @_ZN5ImGui23ColorConvertFloat4ToU32ERK6ImVec4(ptr noundef nonnull align 4 dereferenceable(16) %64)
  store i32 %65, ptr %61, align 4, !tbaa !117
  %66 = load i32, ptr getelementptr inbounds (i8, ptr @_ZL22GWindowDockStyleColors, i64 4), align 4, !tbaa !117
  %67 = sext i32 %66 to i64
  %68 = getelementptr inbounds [55 x %struct.ImVec4], ptr %60, i64 0, i64 %67
  %69 = tail call noundef i32 @_ZN5ImGui23ColorConvertFloat4ToU32ERK6ImVec4(ptr noundef nonnull align 4 dereferenceable(16) %68)
  %70 = getelementptr inbounds i8, ptr %0, i64 1084
  store i32 %69, ptr %70, align 4, !tbaa !117
  %71 = load i32, ptr getelementptr inbounds (i8, ptr @_ZL22GWindowDockStyleColors, i64 8), align 8, !tbaa !117
  %72 = sext i32 %71 to i64
  %73 = getelementptr inbounds [55 x %struct.ImVec4], ptr %60, i64 0, i64 %72
  %74 = tail call noundef i32 @_ZN5ImGui23ColorConvertFloat4ToU32ERK6ImVec4(ptr noundef nonnull align 4 dereferenceable(16) %73)
  %75 = getelementptr inbounds i8, ptr %0, i64 1088
  store i32 %74, ptr %75, align 4, !tbaa !117
  %76 = load i32, ptr getelementptr inbounds (i8, ptr @_ZL22GWindowDockStyleColors, i64 12), align 4, !tbaa !117
  %77 = sext i32 %76 to i64
  %78 = getelementptr inbounds [55 x %struct.ImVec4], ptr %60, i64 0, i64 %77
  %79 = tail call noundef i32 @_ZN5ImGui23ColorConvertFloat4ToU32ERK6ImVec4(ptr noundef nonnull align 4 dereferenceable(16) %78)
  %80 = getelementptr inbounds i8, ptr %0, i64 1092
  store i32 %79, ptr %80, align 4, !tbaa !117
  %81 = load i32, ptr getelementptr inbounds (i8, ptr @_ZL22GWindowDockStyleColors, i64 16), align 16, !tbaa !117
  %82 = sext i32 %81 to i64
  %83 = getelementptr inbounds [55 x %struct.ImVec4], ptr %60, i64 0, i64 %82
  %84 = tail call noundef i32 @_ZN5ImGui23ColorConvertFloat4ToU32ERK6ImVec4(ptr noundef nonnull align 4 dereferenceable(16) %83)
  %85 = getelementptr inbounds i8, ptr %0, i64 1096
  store i32 %84, ptr %85, align 4, !tbaa !117
  %86 = load i32, ptr getelementptr inbounds (i8, ptr @_ZL22GWindowDockStyleColors, i64 20), align 4, !tbaa !117
  %87 = sext i32 %86 to i64
  %88 = getelementptr inbounds [55 x %struct.ImVec4], ptr %60, i64 0, i64 %87
  %89 = tail call noundef i32 @_ZN5ImGui23ColorConvertFloat4ToU32ERK6ImVec4(ptr noundef nonnull align 4 dereferenceable(16) %88)
  %90 = getelementptr inbounds i8, ptr %0, i64 1100
  store i32 %89, ptr %90, align 4, !tbaa !117
  %91 = getelementptr inbounds i8, ptr %.093, i64 136
  %92 = load ptr, ptr %91, align 8, !tbaa !118
  %93 = icmp eq ptr %92, null
  br i1 %93, label %104, label %120

94:                                               ; preds = %.thread
  %95 = tail call noundef ptr @_ZN5ImGui19DockNodeGetRootNodeEP13ImGuiDockNode(ptr noundef nonnull %.093)
  %96 = getelementptr inbounds i8, ptr %95, i64 172
  %97 = load i32, ptr %96, align 4, !tbaa !115
  %98 = load i32, ptr %57, align 8, !tbaa !116
  %99 = icmp slt i32 %97, %98
  br i1 %99, label %100, label %101

100:                                              ; preds = %94
  tail call void @_ZN5ImGui30DockContextProcessUndockWindowEP12ImGuiContextP11ImGuiWindowb(ptr noundef nonnull %4, ptr noundef nonnull %0, i1 noundef zeroext true)
  br label %209

101:                                              ; preds = %94
  %102 = load i8, ptr %5, align 1
  %103 = or i8 %102, 1
  store i8 %103, ptr %5, align 1
  br label %209

104:                                              ; preds = %.preheader
  %105 = getelementptr inbounds i8, ptr %.093, i64 20
  %106 = load i32, ptr %105, align 4, !tbaa !119
  %107 = icmp eq i32 %106, 2
  br i1 %107, label %108, label %111

108:                                              ; preds = %104
  %109 = load i8, ptr %5, align 1
  %110 = or i8 %109, 1
  store i8 %110, ptr %5, align 1
  br label %111

111:                                              ; preds = %108, %104
  %112 = getelementptr inbounds i8, ptr %.093, i64 48
  %113 = load i32, ptr %112, align 8, !tbaa !120
  %114 = icmp sgt i32 %113, 1
  br i1 %114, label %115, label %209

115:                                              ; preds = %111
  %116 = getelementptr inbounds i8, ptr %0, i64 249
  %117 = load i8, ptr %116, align 1, !tbaa !121, !range !109, !noundef !110
  %118 = trunc nuw i8 %117 to i1
  br i1 %118, label %119, label %209

119:                                              ; preds = %115
  tail call void @_ZL42DockNodeHideWindowDuringHostWindowCreationP11ImGuiWindow(ptr noundef nonnull %0)
  br label %209

120:                                              ; preds = %.preheader
  %121 = tail call noundef zeroext i1 @_ZNK13ImGuiDockNode10IsLeafNodeEv(ptr noundef nonnull align 8 dereferenceable(203) %.093)
  br i1 %121, label %123, label %122

122:                                              ; preds = %120
  tail call void @__assert_fail(ptr noundef nonnull @.str.342, ptr noundef nonnull @.str.3, i32 noundef 18759, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5ImGui11BeginDockedEP11ImGuiWindowPb) #6
  unreachable

123:                                              ; preds = %120
  %124 = getelementptr inbounds i8, ptr %.093, i64 80
  %125 = load float, ptr %124, align 8, !tbaa !122
  %126 = fcmp ult float %125, 0.000000e+00
  br i1 %126, label %.critedge, label %127

127:                                              ; preds = %123
  %128 = getelementptr inbounds i8, ptr %.093, i64 84
  %129 = load float, ptr %128, align 4, !tbaa !123
  %130 = fcmp ult float %129, 0.000000e+00
  br i1 %130, label %.critedge, label %131

.critedge:                                        ; preds = %123, %127
  tail call void @__assert_fail(ptr noundef nonnull @.str.380, ptr noundef nonnull @.str.3, i32 noundef 18760, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5ImGui11BeginDockedEP11ImGuiWindowPb) #6
  unreachable

131:                                              ; preds = %127
  %132 = getelementptr inbounds i8, ptr %.093, i64 20
  store i32 3, ptr %132, align 4, !tbaa !119
  %133 = getelementptr inbounds i8, ptr %.093, i64 16
  %134 = load i32, ptr %133, align 8, !tbaa !124
  %135 = and i32 %134, 1
  %.not100 = icmp eq i32 %135, 0
  br i1 %.not100, label %136, label %144

136:                                              ; preds = %131
  %137 = getelementptr inbounds i8, ptr %0, i64 262
  %138 = load i16, ptr %137, align 2, !tbaa !125
  %139 = load ptr, ptr %91, align 8, !tbaa !118
  %140 = getelementptr inbounds i8, ptr %139, i64 262
  %141 = load i16, ptr %140, align 2, !tbaa !125
  %142 = icmp slt i16 %138, %141
  br i1 %142, label %143, label %144

143:                                              ; preds = %136
  tail call void @_ZN5ImGui30DockContextProcessUndockWindowEP12ImGuiContextP11ImGuiWindowb(ptr noundef nonnull %4, ptr noundef nonnull %0, i1 noundef zeroext true)
  br label %209

144:                                              ; preds = %136, %131
  %145 = getelementptr inbounds i8, ptr %.093, i64 72
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #7
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %3, float noundef 0.000000e+00, float noundef 0.000000e+00)
  call void @_ZN5ImGui16SetNextWindowPosERK6ImVec2iS2_(ptr noundef nonnull align 4 dereferenceable(8) %145, i32 noundef 0, ptr noundef nonnull align 4 dereferenceable(8) %3)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #7
  call void @_ZN5ImGui17SetNextWindowSizeERK6ImVec2i(ptr noundef nonnull align 4 dereferenceable(8) %124, i32 noundef 0)
  %146 = getelementptr inbounds i8, ptr %4, i64 19256
  store i8 0, ptr %146, align 8, !tbaa !108
  %147 = load i8, ptr %5, align 1
  %148 = and i8 %147, -8
  %149 = or disjoint i8 %148, 3
  store i8 %149, ptr %5, align 1
  %150 = load i32, ptr %133, align 8, !tbaa !124
  %151 = and i32 %150, 1
  %.not101 = icmp eq i32 %151, 0
  br i1 %.not101, label %152, label %209

152:                                              ; preds = %144
  %153 = getelementptr inbounds i8, ptr %.093, i64 144
  %154 = load ptr, ptr %153, align 8, !tbaa !126
  %155 = icmp eq ptr %154, %0
  br i1 %155, label %156, label %158

156:                                              ; preds = %152
  %157 = or i8 %147, 7
  store i8 %157, ptr %5, align 1
  br label %158

158:                                              ; preds = %156, %152
  %159 = getelementptr inbounds i8, ptr %0, i64 20
  %160 = load i32, ptr %159, align 4, !tbaa !42
  %161 = and i32 %160, 16777216
  %162 = icmp eq i32 %161, 0
  br i1 %162, label %164, label %163

163:                                              ; preds = %158
  call void @__assert_fail(ptr noundef nonnull @.str.381, ptr noundef nonnull @.str.3, i32 noundef 18785, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5ImGui11BeginDockedEP11ImGuiWindowPb) #6
  unreachable

164:                                              ; preds = %158
  %165 = or i32 %160, 16777218
  store i32 %165, ptr %159, align 4, !tbaa !42
  %166 = getelementptr inbounds i8, ptr %0, i64 28
  %167 = load i32, ptr %166, align 4, !tbaa !127
  %168 = or i32 %167, 2
  store i32 %168, ptr %166, align 4, !tbaa !127
  %169 = call noundef zeroext i1 @_ZNK13ImGuiDockNode14IsHiddenTabBarEv(ptr noundef nonnull align 8 dereferenceable(203) %.093)
  br i1 %169, label %172, label %170

170:                                              ; preds = %164
  %171 = call noundef zeroext i1 @_ZNK13ImGuiDockNode10IsNoTabBarEv(ptr noundef nonnull align 8 dereferenceable(203) %.093)
  br i1 %171, label %172, label %175

172:                                              ; preds = %170, %164
  %173 = load i32, ptr %159, align 4, !tbaa !42
  %174 = or i32 %173, 1
  br label %178

175:                                              ; preds = %170
  %176 = load i32, ptr %159, align 4, !tbaa !42
  %177 = and i32 %176, -2
  br label %178

178:                                              ; preds = %175, %172
  %storemerge = phi i32 [ %177, %175 ], [ %174, %172 ]
  store i32 %storemerge, ptr %159, align 4, !tbaa !42
  %179 = getelementptr inbounds i8, ptr %.093, i64 64
  %180 = load ptr, ptr %179, align 8, !tbaa !128
  %.not102 = icmp eq ptr %180, null
  br i1 %.not102, label %189, label %181

181:                                              ; preds = %178
  %182 = getelementptr inbounds i8, ptr %0, i64 244
  %183 = load i8, ptr %182, align 4, !tbaa !129, !range !109, !noundef !110
  %184 = trunc nuw i8 %183 to i1
  br i1 %184, label %185, label %189

185:                                              ; preds = %181
  %186 = call noundef i32 @_ZN5ImGuiL19DockNodeGetTabOrderEP11ImGuiWindow(ptr noundef nonnull %0)
  %187 = trunc i32 %186 to i16
  %188 = getelementptr inbounds i8, ptr %0, i64 1078
  store i16 %187, ptr %188, align 2, !tbaa !130
  br label %189

189:                                              ; preds = %185, %181, %178
  %190 = getelementptr inbounds i8, ptr %.093, i64 200
  %191 = load i16, ptr %190, align 8
  %.not103 = icmp sgt i16 %191, -1
  br i1 %.not103, label %192, label %199

192:                                              ; preds = %189
  %193 = getelementptr inbounds i8, ptr %.093, i64 192
  %194 = load i32, ptr %193, align 8, !tbaa !131
  %195 = getelementptr inbounds i8, ptr %0, i64 184
  %196 = load i32, ptr %195, align 8, !tbaa !132
  %197 = icmp eq i32 %194, %196
  %198 = icmp ne ptr %1, null
  %or.cond3 = and i1 %198, %197
  br i1 %or.cond3, label %200, label %201

199:                                              ; preds = %189
  %.old2.not = icmp eq ptr %1, null
  br i1 %.old2.not, label %201, label %200

200:                                              ; preds = %192, %199
  store i8 0, ptr %1, align 1, !tbaa !133
  br label %201

201:                                              ; preds = %200, %199, %192
  %202 = load ptr, ptr %43, align 8, !tbaa !41
  %203 = getelementptr inbounds i8, ptr %202, i64 136
  %204 = load ptr, ptr %203, align 8, !tbaa !118
  %205 = getelementptr inbounds i8, ptr %0, i64 8
  %206 = load ptr, ptr %205, align 8, !tbaa !134
  %207 = call noundef i32 @_ZN11ImGuiWindow5GetIDEPKcS1_(ptr noundef nonnull align 8 dereferenceable(1144) %204, ptr noundef %206, ptr noundef null)
  %208 = getelementptr inbounds i8, ptr %0, i64 188
  store i32 %207, ptr %208, align 4, !tbaa !135
  br label %209

209:                                              ; preds = %42, %143, %201, %52, %101, %100, %119, %115, %111, %144
  ret void
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui16SetNextWindowPosERK6ImVec2iS2_(ptr noundef nonnull align 4 dereferenceable(8), i32 noundef, ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui30DockContextProcessUndockWindowEP12ImGuiContextP11ImGuiWindowb(ptr noundef, ptr noundef, i1 noundef zeroext) local_unnamed_addr #5

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN5ImGui20DockContextGenNodeIDEP12ImGuiContext(ptr noundef) local_unnamed_addr #3

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

; Function Attrs: mustprogress uwtable
declare hidden noundef ptr @_ZN5ImGuiL27DockContextBindNodeToWindowEP12ImGuiContextP11ImGuiWindow(ptr noundef, ptr noundef) local_unnamed_addr #5

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZL42DockNodeHideWindowDuringHostWindowCreationP11ImGuiWindow(ptr noundef) local_unnamed_addr #1

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

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #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 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, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !11, i64 1120}
!10 = !{!"_ZTS11ImGuiWindow", !6, i64 0, !6, i64 8, !11, i64 16, !11, i64 20, !11, i64 24, !11, i64 28, !12, i64 32, !6, i64 64, !11, i64 72, !14, i64 76, !11, i64 84, !14, i64 88, !14, i64 96, !14, i64 104, !14, i64 112, !14, i64 120, !14, i64 128, !14, i64 136, !15, i64 144, !15, i64 148, !15, i64 152, !15, i64 156, !15, i64 160, !15, i64 164, !15, i64 168, !15, i64 172, !11, i64 176, !11, i64 180, !11, i64 184, !11, i64 188, !14, i64 192, !14, i64 200, !14, i64 208, !14, i64 216, !14, i64 224, !14, i64 232, !13, i64 240, !13, i64 241, !13, i64 242, !13, i64 243, !13, i64 244, !13, i64 245, !13, i64 246, !13, i64 247, !13, i64 248, !13, i64 249, !13, i64 250, !13, i64 251, !13, i64 252, !13, i64 253, !7, i64 254, !7, i64 255, !16, i64 256, !16, i64 258, !16, i64 260, !16, i64 262, !16, i64 264, !11, i64 268, !7, i64 272, !7, i64 273, !13, i64 274, !11, i64 276, !7, i64 280, !7, i64 281, !7, i64 282, !7, i64 283, !11, i64 284, !11, i64 285, !11, i64 286, !11, i64 287, !14, i64 288, !14, i64 296, !17, i64 304, !18, i64 320, !24, i64 552, !24, i64 568, !24, i64 584, !24, i64 600, !24, i64 616, !24, i64 632, !24, i64 648, !25, i64 664, !25, i64 668, !11, i64 672, !11, i64 676, !15, i64 680, !15, i64 684, !26, i64 688, !28, i64 704, !15, i64 720, !15, i64 724, !11, i64 728, !6, i64 736, !29, i64 744, !6, i64 944, !6, i64 952, !6, i64 960, !6, i64 968, !6, i64 976, !6, i64 984, !6, i64 992, !6, i64 1000, !7, i64 1008, !7, i64 1016, !7, i64 1048, !11, i64 1064, !11, i64 1068, !11, i64 1072, !13, i64 1076, !13, i64 1077, !13, i64 1077, !13, i64 1077, !13, i64 1077, !16, i64 1078, !40, i64 1080, !6, i64 1104, !6, i64 1112, !11, i64 1120, !11, i64 1124, !24, i64 1128}
!11 = !{!"int", !7, i64 0}
!12 = !{!"_ZTS16ImGuiWindowClass", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12, !11, i64 16, !11, i64 20, !13, i64 24, !13, i64 25}
!13 = !{!"bool", !7, i64 0}
!14 = !{!"_ZTS6ImVec2", !15, i64 0, !15, i64 4}
!15 = !{!"float", !7, i64 0}
!16 = !{!"short", !7, i64 0}
!17 = !{!"_ZTS8ImVectorIjE", !11, i64 0, !11, i64 4, !6, i64 8}
!18 = !{!"_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, !13, i64 64, !13, i64 65, !19, i64 68, !19, i64 72, !19, i64 76, !14, i64 80, !20, i64 88, !16, i64 92, !16, i64 94, !13, i64 96, !13, i64 97, !13, i64 98, !13, i64 99, !14, i64 100, !21, i64 108, !11, i64 136, !11, i64 140, !22, i64 144, !6, i64 160, !6, i64 168, !11, i64 176, !11, i64 180, !11, i64 184, !15, i64 188, !15, i64 192, !23, i64 200, !23, i64 216}
!19 = !{!"_ZTS6ImVec1", !15, i64 0}
!20 = !{!"_ZTS13ImGuiNavLayer", !7, i64 0}
!21 = !{!"_ZTS16ImGuiMenuColumns", !11, i64 0, !11, i64 4, !16, i64 8, !16, i64 10, !16, i64 12, !16, i64 14, !16, i64 16, !7, i64 18}
!22 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !11, i64 0, !11, i64 4, !6, i64 8}
!23 = !{!"_ZTS8ImVectorIfE", !11, i64 0, !11, i64 4, !6, i64 8}
!24 = !{!"_ZTS6ImRect", !14, i64 0, !14, i64 8}
!25 = !{!"_ZTS8ImVec2ih", !16, i64 0, !16, i64 2}
!26 = !{!"_ZTS12ImGuiStorage", !27, i64 0}
!27 = !{!"_ZTS8ImVectorIN12ImGuiStorage16ImGuiStoragePairEE", !11, i64 0, !11, i64 4, !6, i64 8}
!28 = !{!"_ZTS8ImVectorI15ImGuiOldColumnsE", !11, i64 0, !11, i64 4, !6, i64 8}
!29 = !{!"_ZTS10ImDrawList", !30, i64 0, !31, i64 16, !32, i64 32, !11, i64 48, !11, i64 52, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !33, i64 88, !34, i64 104, !35, i64 120, !36, i64 136, !38, i64 168, !15, i64 192}
!30 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !11, i64 0, !11, i64 4, !6, i64 8}
!31 = !{!"_ZTS8ImVectorItE", !11, i64 0, !11, i64 4, !6, i64 8}
!32 = !{!"_ZTS8ImVectorI10ImDrawVertE", !11, i64 0, !11, i64 4, !6, i64 8}
!33 = !{!"_ZTS8ImVectorI6ImVec4E", !11, i64 0, !11, i64 4, !6, i64 8}
!34 = !{!"_ZTS8ImVectorIPvE", !11, i64 0, !11, i64 4, !6, i64 8}
!35 = !{!"_ZTS8ImVectorI6ImVec2E", !11, i64 0, !11, i64 4, !6, i64 8}
!36 = !{!"_ZTS15ImDrawCmdHeader", !37, i64 0, !6, i64 16, !11, i64 24}
!37 = !{!"_ZTS6ImVec4", !15, i64 0, !15, i64 4, !15, i64 8, !15, i64 12}
!38 = !{!"_ZTS18ImDrawListSplitter", !11, i64 0, !11, i64 4, !39, i64 8}
!39 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !11, i64 0, !11, i64 4, !6, i64 8}
!40 = !{!"_ZTS20ImGuiWindowDockStyle", !7, i64 0}
!41 = !{!10, !6, i64 1104}
!42 = !{!10, !11, i64 20}
!43 = !{!44, !11, i64 19192}
!44 = !{!"_ZTS12ImGuiContext", !13, i64 0, !13, i64 1, !45, i64 8, !47, i64 14632, !50, i64 14848, !11, i64 15980, !11, i64 15984, !6, i64 15992, !15, i64 16000, !15, i64 16004, !51, i64 16008, !52, i64 16536, !11, i64 16544, !11, i64 16548, !11, i64 16552, !11, i64 16556, !13, i64 16560, !13, i64 16561, !13, i64 16562, !13, i64 16563, !13, i64 16564, !6, i64 16568, !53, i64 16576, !53, i64 16592, !46, i64 16608, !11, i64 16612, !22, i64 16616, !22, i64 16632, !22, i64 16648, !54, i64 16664, !26, i64 16680, !11, i64 16696, !14, i64 16700, !6, i64 16712, !6, i64 16720, !6, i64 16728, !6, i64 16736, !6, i64 16744, !14, i64 16752, !11, i64 16760, !11, i64 16764, !15, i64 16768, !14, i64 16772, !14, i64 16780, !11, i64 16788, !11, i64 16792, !11, i64 16796, !13, i64 16800, !13, i64 16801, !15, i64 16804, !15, i64 16808, !11, i64 16812, !11, i64 16816, !15, i64 16820, !13, i64 16824, !13, i64 16825, !13, i64 16826, !13, i64 16827, !13, i64 16828, !13, i64 16829, !14, i64 16832, !6, i64 16840, !55, i64 16848, !11, i64 16852, !11, i64 16856, !13, i64 16860, !13, i64 16861, !6, i64 16864, !11, i64 16872, !15, i64 16876, !7, i64 16880, !56, i64 18728, !11, i64 19072, !13, i64 19076, !11, i64 19080, !11, i64 19084, !11, i64 19088, !11, i64 19092, !58, i64 19096, !60, i64 19128, !61, i64 19192, !13, i64 19344, !62, i64 19352, !63, i64 19368, !64, i64 19384, !17, i64 19400, !65, i64 19416, !66, i64 19432, !67, i64 19448, !67, i64 19464, !68, i64 19480, !11, i64 19496, !69, i64 19504, !15, i64 19520, !6, i64 19528, !6, i64 19536, !6, i64 19544, !11, i64 19552, !70, i64 19560, !11, i64 19608, !11, i64 19612, !11, i64 19616, !6, i64 19624, !11, i64 19632, !11, i64 19636, !11, i64 19640, !11, i64 19644, !11, i64 19648, !11, i64 19652, !11, i64 19656, !11, i64 19660, !11, i64 19664, !11, i64 19668, !11, i64 19672, !55, i64 19676, !20, i64 19680, !59, i64 19688, !13, i64 19696, !13, i64 19697, !13, i64 19698, !13, i64 19699, !13, i64 19700, !13, i64 19701, !13, i64 19702, !71, i64 19704, !13, i64 19768, !13, i64 19769, !13, i64 19770, !11, i64 19772, !11, i64 19776, !11, i64 19780, !11, i64 19784, !11, i64 19788, !11, i64 19792, !24, i64 19796, !24, i64 19812, !11, i64 19828, !11, i64 19832, !11, i64 19836, !71, i64 19840, !71, i64 19904, !71, i64 19968, !71, i64 20032, !11, i64 20096, !11, i64 20100, !6, i64 20104, !6, i64 20112, !6, i64 20120, !15, i64 20128, !15, i64 20132, !13, i64 20136, !14, i64 20140, !14, i64 20148, !15, i64 20156, !13, i64 20160, !13, i64 20161, !13, i64 20162, !11, i64 20164, !11, i64 20168, !11, i64 20172, !72, i64 20176, !24, i64 20240, !11, i64 20256, !11, i64 20260, !15, i64 20264, !11, i64 20268, !11, i64 20272, !11, i64 20276, !11, i64 20280, !73, i64 20288, !7, i64 20304, !11, i64 20320, !74, i64 20328, !6, i64 20344, !11, i64 20352, !75, i64 20360, !76, i64 20376, !23, i64 20416, !39, i64 20432, !6, i64 20448, !78, i64 20456, !80, i64 20496, !81, i64 20512, !11, i64 20528, !11, i64 20532, !15, i64 20536, !15, i64 20540, !11, i64 20544, !11, i64 20548, !11, i64 20552, !15, i64 20556, !14, i64 20560, !82, i64 20568, !86, i64 24296, !87, i64 24320, !11, i64 24440, !11, i64 24444, !11, i64 24448, !11, i64 24452, !15, i64 24456, !15, i64 24460, !11, i64 24464, !37, i64 24468, !89, i64 24484, !24, i64 24532, !13, i64 24548, !15, i64 24552, !15, i64 24556, !13, i64 24560, !13, i64 24561, !15, i64 24564, !15, i64 24568, !15, i64 24572, !15, i64 24576, !16, i64 24580, !16, i64 24582, !16, i64 24584, !83, i64 24592, !17, i64 24608, !90, i64 24624, !92, i64 24728, !92, i64 24744, !11, i64 24760, !93, i64 24768, !6, i64 24824, !13, i64 24832, !15, i64 24836, !96, i64 24840, !97, i64 24856, !98, i64 24872, !99, i64 24888, !100, i64 24904, !11, i64 24920, !7, i64 24928, !13, i64 25016, !101, i64 25020, !6, i64 25024, !96, i64 25032, !6, i64 25048, !6, i64 25056, !15, i64 25064, !13, i64 25068, !11, i64 25072, !11, i64 25076, !11, i64 25080, !11, i64 25084, !96, i64 25088, !102, i64 25104, !7, i64 25128, !7, i64 25129, !7, i64 25130, !13, i64 25131, !7, i64 25132, !11, i64 25136, !103, i64 25140, !104, i64 25160, !106, i64 25200, !6, i64 25264, !7, i64 25272, !11, i64 25512, !11, i64 25516, !15, i64 25520, !11, i64 25524, !11, i64 25528, !11, i64 25532, !83, i64 25536}
!45 = !{!"_ZTS7ImGuiIO", !11, i64 0, !11, 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, !13, i64 60, !6, i64 64, !14, i64 72, !13, i64 80, !13, i64 81, !13, i64 82, !13, i64 83, !13, i64 84, !13, i64 85, !13, i64 86, !13, i64 87, !13, i64 88, !13, i64 89, !13, i64 90, !13, i64 91, !13, i64 92, !13, i64 93, !13, i64 94, !13, i64 95, !15, i64 96, !15, i64 100, !15, i64 104, !15, i64 108, !15, i64 112, !15, i64 116, !13, i64 120, !13, i64 121, !13, i64 122, !13, 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, !16, i64 200, !13, i64 202, !13, i64 203, !13, i64 204, !13, i64 205, !13, i64 206, !13, i64 207, !13, i64 208, !15, i64 212, !11, i64 216, !11, i64 220, !11, i64 224, !11, i64 228, !14, i64 232, !7, i64 240, !7, i64 2904, !7, i64 3572, !6, i64 3640, !6, i64 3648, !14, i64 3656, !7, i64 3664, !15, i64 3672, !15, i64 3676, !46, i64 3680, !11, i64 3684, !13, i64 3688, !13, i64 3689, !13, i64 3690, !13, i64 3691, !11, i64 3692, !7, i64 3696, !13, i64 14352, !14, i64 14356, !7, i64 14364, !7, i64 14408, !7, i64 14448, !7, i64 14453, !7, i64 14458, !7, i64 14468, !7, i64 14478, !7, i64 14483, !7, i64 14488, !13, i64 14493, !7, i64 14496, !7, i64 14516, !7, i64 14536, !7, i64 14576, !15, i64 14596, !13, i64 14600, !13, i64 14601, !7, i64 14602, !13, i64 14603, !16, i64 14604, !31, i64 14608}
!46 = !{!"_ZTS16ImGuiMouseSource", !7, i64 0}
!47 = !{!"_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, !48, i64 184, !49, i64 200}
!48 = !{!"_ZTS8ImVectorI20ImGuiPlatformMonitorE", !11, i64 0, !11, i64 4, !6, i64 8}
!49 = !{!"_ZTS8ImVectorIP13ImGuiViewportE", !11, i64 0, !11, i64 4, !6, i64 8}
!50 = !{!"_ZTS10ImGuiStyle", !15, i64 0, !15, i64 4, !14, i64 8, !15, i64 16, !15, i64 20, !14, i64 24, !14, i64 32, !11, 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, !15, i64 148, !15, i64 152, !11, i64 156, !14, i64 160, !14, i64 168, !15, i64 176, !14, i64 180, !14, i64 188, !14, i64 196, !14, i64 204, !15, i64 212, !15, i64 216, !13, i64 220, !13, i64 221, !13, i64 222, !15, i64 224, !15, i64 228, !7, i64 232, !15, i64 1112, !15, i64 1116, !15, i64 1120, !11, i64 1124, !11, i64 1128}
!51 = !{!"_ZTS20ImDrawListSharedData", !14, i64 0, !6, i64 8, !15, i64 16, !15, i64 20, !15, i64 24, !37, i64 28, !11, i64 44, !35, i64 48, !7, i64 64, !15, i64 448, !7, i64 452, !6, i64 520}
!52 = !{!"double", !7, i64 0}
!53 = !{!"_ZTS8ImVectorI15ImGuiInputEventE", !11, i64 0, !11, i64 4, !6, i64 8}
!54 = !{!"_ZTS8ImVectorI20ImGuiWindowStackDataE", !11, i64 0, !11, i64 4, !6, i64 8}
!55 = !{!"_ZTS16ImGuiInputSource", !7, i64 0}
!56 = !{!"_ZTS20ImGuiKeyRoutingTable", !7, i64 0, !57, i64 312, !57, i64 328}
!57 = !{!"_ZTS8ImVectorI19ImGuiKeyRoutingDataE", !11, i64 0, !11, i64 4, !6, i64 8}
!58 = !{!"_ZTS17ImGuiNextItemData", !11, i64 0, !11, i64 4, !15, i64 8, !59, i64 16, !11, i64 24, !13, i64 28}
!59 = !{!"long long", !7, i64 0}
!60 = !{!"_ZTS17ImGuiLastItemData", !11, i64 0, !11, i64 4, !11, i64 8, !24, i64 12, !24, i64 28, !24, i64 44}
!61 = !{!"_ZTS19ImGuiNextWindowData", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12, !11, i64 16, !14, i64 20, !14, i64 28, !14, i64 36, !14, i64 44, !14, i64 52, !11, i64 60, !13, i64 64, !13, i64 65, !24, i64 68, !6, i64 88, !6, i64 96, !15, i64 104, !11, i64 108, !11, i64 112, !12, i64 116, !14, i64 144}
!62 = !{!"_ZTS8ImVectorI13ImGuiColorModE", !11, i64 0, !11, i64 4, !6, i64 8}
!63 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !11, i64 0, !11, i64 4, !6, i64 8}
!64 = !{!"_ZTS8ImVectorIP6ImFontE", !11, i64 0, !11, i64 4, !6, i64 8}
!65 = !{!"_ZTS8ImVectorIiE", !11, i64 0, !11, i64 4, !6, i64 8}
!66 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !11, i64 0, !11, i64 4, !6, i64 8}
!67 = !{!"_ZTS8ImVectorI14ImGuiPopupDataE", !11, i64 0, !11, i64 4, !6, i64 8}
!68 = !{!"_ZTS8ImVectorI20ImGuiNavTreeNodeDataE", !11, i64 0, !11, i64 4, !6, i64 8}
!69 = !{!"_ZTS8ImVectorIP14ImGuiViewportPE", !11, i64 0, !11, i64 4, !6, i64 8}
!70 = !{!"_ZTS20ImGuiPlatformMonitor", !14, i64 0, !14, i64 8, !14, i64 16, !14, i64 24, !15, i64 32, !6, i64 40}
!71 = !{!"_ZTS16ImGuiNavItemData", !6, i64 0, !11, i64 8, !11, i64 12, !24, i64 16, !11, i64 32, !59, i64 40, !15, i64 48, !15, i64 52, !15, i64 56}
!72 = !{!"_ZTS12ImGuiPayload", !6, i64 0, !11, i64 8, !11, i64 12, !11, i64 16, !11, i64 20, !7, i64 24, !13, i64 57, !13, i64 58}
!73 = !{!"_ZTS8ImVectorIhE", !11, i64 0, !11, i64 4, !6, i64 8}
!74 = !{!"_ZTS8ImVectorI20ImGuiListClipperDataE", !11, i64 0, !11, i64 4, !6, i64 8}
!75 = !{!"_ZTS8ImVectorI18ImGuiTableTempDataE", !11, i64 0, !11, i64 4, !6, i64 8}
!76 = !{!"_ZTS6ImPoolI10ImGuiTableE", !77, i64 0, !26, i64 16, !11, i64 32, !11, i64 36}
!77 = !{!"_ZTS8ImVectorI10ImGuiTableE", !11, i64 0, !11, i64 4, !6, i64 8}
!78 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !79, i64 0, !26, i64 16, !11, i64 32, !11, i64 36}
!79 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !11, i64 0, !11, i64 4, !6, i64 8}
!80 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !11, i64 0, !11, i64 4, !6, i64 8}
!81 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !11, i64 0, !11, i64 4, !6, i64 8}
!82 = !{!"_ZTS19ImGuiInputTextState", !6, i64 0, !11, i64 8, !11, i64 12, !11, i64 16, !31, i64 24, !83, i64 40, !83, i64 56, !13, i64 72, !11, i64 76, !15, i64 80, !84, i64 84, !15, i64 3712, !13, i64 3716, !13, i64 3717, !13, i64 3718, !11, i64 3720}
!83 = !{!"_ZTS8ImVectorIcE", !11, i64 0, !11, i64 4, !6, i64 8}
!84 = !{!"_ZTSN5ImStb17STB_TexteditStateE", !11, i64 0, !11, i64 4, !11, i64 8, !7, i64 12, !11, 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, !85, i64 32}
!85 = !{!"_ZTSN5ImStb12StbUndoStateE", !7, i64 0, !7, i64 1584, !16, i64 3582, !16, i64 3584, !11, i64 3588, !11, i64 3592}
!86 = !{!"_ZTS30ImGuiInputTextDeactivatedState", !11, i64 0, !83, i64 8}
!87 = !{!"_ZTS6ImFont", !23, i64 0, !15, i64 16, !15, i64 20, !31, i64 24, !88, i64 40, !6, i64 56, !6, i64 64, !6, i64 72, !16, i64 80, !16, i64 82, !16, i64 84, !16, i64 86, !15, i64 88, !15, i64 92, !13, i64 96, !15, i64 100, !15, i64 104, !15, i64 108, !11, i64 112, !7, i64 116}
!88 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !11, i64 0, !11, i64 4, !6, i64 8}
!89 = !{!"_ZTS21ImGuiComboPreviewData", !24, i64 0, !14, i64 16, !14, i64 24, !14, i64 32, !15, i64 40, !11, i64 44}
!90 = !{!"_ZTS22ImGuiTypingSelectState", !91, i64 0, !7, i64 24, !11, i64 88, !11, i64 92, !15, i64 96, !13, i64 100}
!91 = !{!"_ZTS24ImGuiTypingSelectRequest", !11, i64 0, !11, i64 4, !6, i64 8, !13, i64 16, !13, i64 17, !7, i64 18}
!92 = !{!"_ZTS20ImGuiPlatformImeData", !13, i64 0, !14, i64 4, !15, i64 12}
!93 = !{!"_ZTS16ImGuiDockContext", !26, i64 0, !94, i64 16, !95, i64 32, !13, i64 48}
!94 = !{!"_ZTS8ImVectorI16ImGuiDockRequestE", !11, i64 0, !11, i64 4, !6, i64 8}
!95 = !{!"_ZTS8ImVectorI21ImGuiDockNodeSettingsE", !11, i64 0, !11, i64 4, !6, i64 8}
!96 = !{!"_ZTS15ImGuiTextBuffer", !83, i64 0}
!97 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !11, i64 0, !11, i64 4, !6, i64 8}
!98 = !{!"_ZTS13ImChunkStreamI19ImGuiWindowSettingsE", !83, i64 0}
!99 = !{!"_ZTS13ImChunkStreamI18ImGuiTableSettingsE", !83, i64 0}
!100 = !{!"_ZTS8ImVectorI16ImGuiContextHookE", !11, i64 0, !11, i64 4, !6, i64 8}
!101 = !{!"_ZTS12ImGuiLogType", !7, i64 0}
!102 = !{!"_ZTS14ImGuiTextIndex", !65, i64 0, !11, i64 16}
!103 = !{!"_ZTS18ImGuiMetricsConfig", !13, i64 0, !13, i64 1, !13, i64 2, !13, i64 3, !13, i64 4, !13, i64 5, !13, i64 6, !13, i64 7, !13, i64 8, !11, i64 12, !11, i64 16}
!104 = !{!"_ZTS16ImGuiIDStackTool", !11, i64 0, !11, i64 4, !11, i64 8, !105, i64 16, !13, i64 32, !15, i64 36}
!105 = !{!"_ZTS8ImVectorI19ImGuiStackLevelInfoE", !11, i64 0, !11, i64 4, !6, i64 8}
!106 = !{!"_ZTS19ImGuiDebugAllocInfo", !11, i64 0, !11, i64 4, !16, i64 8, !7, i64 12}
!107 = !{!44, !11, i64 19196}
!108 = !{!44, !13, i64 19256}
!109 = !{i8 0, i8 2}
!110 = !{}
!111 = !{!112, !11, i64 0}
!112 = !{!"_ZTS13ImGuiDockNode", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12, !11, i64 16, !113, i64 20, !6, i64 24, !7, i64 32, !22, i64 48, !6, i64 64, !14, i64 72, !14, i64 80, !14, i64 88, !114, i64 96, !12, i64 100, !11, i64 128, !6, i64 136, !6, i64 144, !6, i64 152, !6, 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, !13, i64 201, !13, i64 201, !13, i64 201, !13, i64 201, !13, i64 201, !13, i64 201, !13, i64 201, !13, i64 202, !13, i64 202, !13, i64 202, !13, i64 202}
!113 = !{!"_ZTS18ImGuiDockNodeState", !7, i64 0}
!114 = !{!"_ZTS9ImGuiAxis", !7, i64 0}
!115 = !{!112, !11, i64 172}
!116 = !{!44, !11, i64 16544}
!117 = !{!11, !11, i64 0}
!118 = !{!112, !6, i64 136}
!119 = !{!112, !113, i64 20}
!120 = !{!112, !11, i64 48}
!121 = !{!10, !13, i64 249}
!122 = !{!112, !15, i64 80}
!123 = !{!112, !15, i64 84}
!124 = !{!112, !11, i64 16}
!125 = !{!10, !16, i64 262}
!126 = !{!112, !6, i64 144}
!127 = !{!10, !11, i64 28}
!128 = !{!112, !6, i64 64}
!129 = !{!10, !13, i64 244}
!130 = !{!10, !16, i64 1078}
!131 = !{!112, !11, i64 192}
!132 = !{!10, !11, i64 184}
!133 = !{!13, !13, i64 0}
!134 = !{!10, !6, i64 8}
!135 = !{!10, !11, i64 188}


; Effective O3 passes: ConstraintEliminationPass,CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass