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

; 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.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.ImVector = type { i32, i32, ptr }
%struct.ImGuiPlatformIO = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, %struct.ImVector.0, %struct.ImVector.1 }
%struct.ImVector.0 = type { i32, i32, ptr }
%struct.ImVector.1 = type { i32, i32, ptr }
%struct.ImGuiStyle = type { float, float, %struct.ImVec2, float, float, %struct.ImVec2, %struct.ImVec2, i32, float, float, float, float, %struct.ImVec2, float, float, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, float, float, float, float, float, float, float, float, float, float, float, i32, %struct.ImVec2, %struct.ImVec2, float, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, float, i8, i8, i8, float, float, [55 x %struct.ImVec4], float, float, float, i32, i32 }
%struct.ImDrawListSharedData = type { %struct.ImVec2, ptr, float, float, float, %struct.ImVec4, i32, %struct.ImVector.2, [48 x %struct.ImVec2], float, [64 x i8], ptr }
%struct.ImVector.2 = type { i32, i32, ptr }
%struct.ImVector.3 = type { i32, i32, ptr }
%struct.ImVector.4 = type { i32, i32, ptr }
%struct.ImVector.5 = type { i32, i32, ptr }
%struct.ImGuiStorage = type { %struct.ImVector.6 }
%struct.ImVector.6 = type { i32, i32, ptr }
%struct.ImGuiKeyOwnerData = type <{ i32, i32, i8, i8, [2 x i8] }>
%struct.ImGuiKeyRoutingTable = type { [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.ImGuiWindowClass = type <{ i32, i32, i32, i32, i32, i32, i8, i8, [2 x i8] }>
%struct.ImVector.8 = type { i32, i32, ptr }
%struct.ImVector.9 = type { i32, i32, ptr }
%struct.ImVector.10 = type { i32, i32, ptr }
%struct.ImVector.12 = type { i32, i32, ptr }
%struct.ImVector.13 = type { i32, i32, ptr }
%struct.ImVector.14 = type { i32, i32, ptr }
%struct.ImVector.15 = type { i32, i32, ptr }
%struct.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.ImVector.21 = type { i32, i32, ptr }
%struct.ImVector.22 = 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.ImVec2 = type { float, float }
%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.ImVec4 = type { float, float, float, float }
%struct.ImGuiComboPreviewData = type { %struct.ImRect, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, i32 }
%struct.ImRect = type { %struct.ImVec2, %struct.ImVec2 }
%struct.ImVector.11 = type { i32, i32, ptr }
%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.359 = external hidden unnamed_addr constant [40 x i8], align 1

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui34DockBuilderRemoveNodeDockedWindowsEjb(i32 noundef, i1 noundef zeroext) #1

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui31DockBuilderRemoveNodeChildNodesEj(i32 noundef) #1

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN5ImGui23DockContextFindNodeByIDEP12ImGuiContextj(ptr noundef, i32 noundef) #1

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN13ImGuiDockNode13SetLocalFlagsEi(ptr noundef nonnull align 8 dereferenceable(203), i32 noundef) #2 align 2

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

10:                                               ; preds = %1
  %11 = load ptr, ptr %4, align 8, !tbaa !9
  %12 = getelementptr inbounds %struct.ImGuiContext, ptr %11, i32 0, i32 247
  %13 = load i32, ptr %12, align 4, !tbaa !11
  %14 = and i32 %13, 128
  %15 = icmp ne i32 %14, 0
  br i1 %15, label %16, label %18

16:                                               ; preds = %10
  %17 = load i32, ptr %2, align 4, !tbaa !5
  call void (ptr, ...) @_ZN5ImGui8DebugLogEPKcz(ptr noundef @.str.359, i32 noundef %17)
  br label %18

18:                                               ; preds = %16, %10
  br label %19

19:                                               ; preds = %18
  br label %20

20:                                               ; preds = %19
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #3
  %21 = load ptr, ptr %3, align 8, !tbaa !9
  %22 = load i32, ptr %2, align 4, !tbaa !5
  %23 = call noundef ptr @_ZN5ImGui23DockContextFindNodeByIDEP12ImGuiContextj(ptr noundef %21, i32 noundef %22)
  store ptr %23, ptr %5, align 8, !tbaa !9
  %24 = load ptr, ptr %5, align 8, !tbaa !9
  %25 = icmp eq ptr %24, null
  br i1 %25, label %26, label %27

26:                                               ; preds = %20
  store i32 1, ptr %6, align 4
  br label %57

27:                                               ; preds = %20
  %28 = load i32, ptr %2, align 4, !tbaa !5
  call void @_ZN5ImGui34DockBuilderRemoveNodeDockedWindowsEjb(i32 noundef %28, i1 noundef zeroext true)
  %29 = load i32, ptr %2, align 4, !tbaa !5
  call void @_ZN5ImGui31DockBuilderRemoveNodeChildNodesEj(i32 noundef %29)
  %30 = load ptr, ptr %3, align 8, !tbaa !9
  %31 = load i32, ptr %2, align 4, !tbaa !5
  %32 = call noundef ptr @_ZN5ImGui23DockContextFindNodeByIDEP12ImGuiContextj(ptr noundef %30, i32 noundef %31)
  store ptr %32, ptr %5, align 8, !tbaa !9
  %33 = load ptr, ptr %5, align 8, !tbaa !9
  %34 = icmp eq ptr %33, null
  br i1 %34, label %35, label %36

35:                                               ; preds = %27
  store i32 1, ptr %6, align 4
  br label %57

36:                                               ; preds = %27
  %37 = load ptr, ptr %5, align 8, !tbaa !9
  %38 = call noundef zeroext i1 @_ZNK13ImGuiDockNode13IsCentralNodeEv(ptr noundef nonnull align 8 dereferenceable(203) %37)
  br i1 %38, label %39, label %54

39:                                               ; preds = %36
  %40 = load ptr, ptr %5, align 8, !tbaa !9
  %41 = getelementptr inbounds %struct.ImGuiDockNode, ptr %40, i32 0, i32 6
  %42 = load ptr, ptr %41, align 8, !tbaa !91
  %43 = icmp ne ptr %42, null
  br i1 %43, label %44, label %54

44:                                               ; preds = %39
  %45 = load ptr, ptr %5, align 8, !tbaa !9
  %46 = getelementptr inbounds %struct.ImGuiDockNode, ptr %45, i32 0, i32 6
  %47 = load ptr, ptr %46, align 8, !tbaa !91
  %48 = load ptr, ptr %5, align 8, !tbaa !9
  %49 = getelementptr inbounds %struct.ImGuiDockNode, ptr %48, i32 0, i32 6
  %50 = load ptr, ptr %49, align 8, !tbaa !91
  %51 = getelementptr inbounds %struct.ImGuiDockNode, ptr %50, i32 0, i32 2
  %52 = load i32, ptr %51, align 8, !tbaa !95
  %53 = or i32 %52, 2048
  call void @_ZN13ImGuiDockNode13SetLocalFlagsEi(ptr noundef nonnull align 8 dereferenceable(203) %47, i32 noundef %53)
  br label %54

54:                                               ; preds = %44, %39, %36
  %55 = load ptr, ptr %3, align 8, !tbaa !9
  %56 = load ptr, ptr %5, align 8, !tbaa !9
  call void @_ZN5ImGuiL21DockContextRemoveNodeEP12ImGuiContextP13ImGuiDockNodeb(ptr noundef %55, ptr noundef %56, i1 noundef zeroext true)
  store i32 0, ptr %6, align 4
  br label %57

57:                                               ; preds = %54, %35, %26
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #3
  %58 = load i32, ptr %6, align 4
  switch i32 %58, label %60 [
    i32 0, label %59
    i32 1, label %59
  ]

59:                                               ; preds = %57, %57
  ret void

60:                                               ; preds = %57
  unreachable
}

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN5ImGuiL21DockContextRemoveNodeEP12ImGuiContextP13ImGuiDockNodeb(ptr noundef, ptr noundef, i1 noundef zeroext) #1

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !6, i64 25084}
!12 = !{!"_ZTS12ImGuiContext", !13, i64 0, !13, i64 1, !14, i64 8, !20, i64 14632, !23, i64 14848, !6, i64 15980, !6, i64 15984, !10, i64 15992, !16, i64 16000, !16, i64 16004, !24, i64 16008, !27, i64 16536, !6, i64 16544, !6, i64 16548, !6, i64 16552, !6, i64 16556, !13, i64 16560, !13, i64 16561, !13, i64 16562, !13, i64 16563, !13, i64 16564, !10, i64 16568, !28, i64 16576, !28, i64 16592, !18, i64 16608, !6, i64 16612, !29, i64 16616, !29, i64 16632, !29, i64 16648, !30, i64 16664, !31, i64 16680, !6, i64 16696, !15, i64 16700, !10, i64 16712, !10, i64 16720, !10, i64 16728, !10, i64 16736, !10, i64 16744, !15, i64 16752, !6, i64 16760, !6, i64 16764, !16, i64 16768, !15, i64 16772, !15, i64 16780, !6, i64 16788, !6, i64 16792, !6, i64 16796, !13, i64 16800, !13, i64 16801, !16, i64 16804, !16, i64 16808, !6, i64 16812, !6, i64 16816, !16, i64 16820, !13, i64 16824, !13, i64 16825, !13, i64 16826, !13, i64 16827, !13, i64 16828, !13, i64 16829, !15, i64 16832, !10, i64 16840, !33, i64 16848, !6, i64 16852, !6, i64 16856, !13, i64 16860, !13, i64 16861, !10, i64 16864, !6, i64 16872, !16, i64 16876, !7, i64 16880, !34, i64 18728, !6, i64 19072, !13, i64 19076, !6, i64 19080, !6, i64 19084, !6, i64 19088, !6, i64 19092, !36, i64 19096, !38, i64 19128, !40, i64 19192, !13, i64 19344, !42, i64 19352, !43, i64 19368, !44, i64 19384, !45, i64 19400, !46, i64 19416, !47, i64 19432, !48, i64 19448, !48, i64 19464, !49, i64 19480, !6, i64 19496, !50, i64 19504, !16, i64 19520, !10, i64 19528, !10, i64 19536, !10, i64 19544, !6, i64 19552, !51, i64 19560, !6, i64 19608, !6, i64 19612, !6, i64 19616, !10, i64 19624, !6, i64 19632, !6, i64 19636, !6, i64 19640, !6, i64 19644, !6, i64 19648, !6, i64 19652, !6, i64 19656, !6, i64 19660, !6, i64 19664, !6, i64 19668, !6, i64 19672, !33, i64 19676, !52, i64 19680, !37, i64 19688, !13, i64 19696, !13, i64 19697, !13, i64 19698, !13, i64 19699, !13, i64 19700, !13, i64 19701, !13, i64 19702, !53, i64 19704, !13, i64 19768, !13, i64 19769, !13, i64 19770, !6, i64 19772, !6, i64 19776, !6, i64 19780, !6, i64 19784, !6, i64 19788, !6, i64 19792, !39, i64 19796, !39, i64 19812, !6, i64 19828, !6, i64 19832, !6, i64 19836, !53, i64 19840, !53, i64 19904, !53, i64 19968, !53, i64 20032, !6, i64 20096, !6, i64 20100, !10, i64 20104, !10, i64 20112, !10, i64 20120, !16, i64 20128, !16, i64 20132, !13, i64 20136, !15, i64 20140, !15, i64 20148, !16, i64 20156, !13, i64 20160, !13, i64 20161, !13, i64 20162, !6, i64 20164, !6, i64 20168, !6, i64 20172, !54, i64 20176, !39, i64 20240, !6, i64 20256, !6, i64 20260, !16, i64 20264, !6, i64 20268, !6, i64 20272, !6, i64 20276, !6, i64 20280, !55, i64 20288, !7, i64 20304, !6, i64 20320, !56, i64 20328, !10, i64 20344, !6, i64 20352, !57, i64 20360, !58, i64 20376, !60, i64 20416, !61, i64 20432, !10, i64 20448, !62, i64 20456, !64, i64 20496, !65, i64 20512, !6, i64 20528, !6, i64 20532, !16, i64 20536, !16, i64 20540, !6, i64 20544, !6, i64 20548, !6, i64 20552, !16, i64 20556, !15, i64 20560, !66, i64 20568, !70, i64 24296, !71, i64 24320, !6, i64 24440, !6, i64 24444, !6, i64 24448, !6, i64 24452, !16, i64 24456, !16, i64 24460, !6, i64 24464, !25, i64 24468, !73, i64 24484, !39, i64 24532, !13, i64 24548, !16, i64 24552, !16, i64 24556, !13, i64 24560, !13, i64 24561, !16, i64 24564, !16, i64 24568, !16, i64 24572, !16, i64 24576, !17, i64 24580, !17, i64 24582, !17, i64 24584, !67, i64 24592, !45, i64 24608, !74, i64 24624, !76, i64 24728, !76, i64 24744, !6, i64 24760, !77, i64 24768, !10, i64 24824, !13, i64 24832, !16, i64 24836, !80, i64 24840, !81, i64 24856, !82, i64 24872, !83, i64 24888, !84, i64 24904, !6, i64 24920, !7, i64 24928, !13, i64 25016, !85, i64 25020, !10, i64 25024, !80, i64 25032, !10, i64 25048, !10, i64 25056, !16, i64 25064, !13, i64 25068, !6, i64 25072, !6, i64 25076, !6, i64 25080, !6, i64 25084, !80, i64 25088, !86, i64 25104, !7, i64 25128, !7, i64 25129, !7, i64 25130, !13, i64 25131, !7, i64 25132, !6, i64 25136, !87, i64 25140, !88, i64 25160, !90, i64 25200, !10, i64 25264, !7, i64 25272, !6, i64 25512, !6, i64 25516, !16, i64 25520, !6, i64 25524, !6, i64 25528, !6, i64 25532, !67, i64 25536}
!13 = !{!"bool", !7, i64 0}
!14 = !{!"_ZTS7ImGuiIO", !6, i64 0, !6, i64 4, !15, i64 8, !16, i64 16, !16, i64 20, !10, i64 24, !10, i64 32, !10, i64 40, !10, i64 48, !16, i64 56, !13, i64 60, !10, i64 64, !15, 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, !16, i64 96, !16, i64 100, !16, i64 104, !16, i64 108, !16, i64 112, !16, i64 116, !13, i64 120, !13, i64 121, !13, i64 122, !13, i64 123, !10, i64 128, !10, i64 136, !10, i64 144, !10, i64 152, !10, i64 160, !10, i64 168, !10, i64 176, !10, i64 184, !10, i64 192, !17, i64 200, !13, i64 202, !13, i64 203, !13, i64 204, !13, i64 205, !13, i64 206, !13, i64 207, !13, i64 208, !16, i64 212, !6, i64 216, !6, i64 220, !6, i64 224, !6, i64 228, !15, i64 232, !7, i64 240, !7, i64 2904, !7, i64 3572, !10, i64 3640, !10, i64 3648, !15, i64 3656, !7, i64 3664, !16, i64 3672, !16, i64 3676, !18, i64 3680, !6, i64 3684, !13, i64 3688, !13, i64 3689, !13, i64 3690, !13, i64 3691, !6, i64 3692, !7, i64 3696, !13, i64 14352, !15, 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, !16, i64 14596, !13, i64 14600, !13, i64 14601, !7, i64 14602, !13, i64 14603, !17, i64 14604, !19, i64 14608}
!15 = !{!"_ZTS6ImVec2", !16, i64 0, !16, i64 4}
!16 = !{!"float", !7, i64 0}
!17 = !{!"short", !7, i64 0}
!18 = !{!"_ZTS16ImGuiMouseSource", !7, i64 0}
!19 = !{!"_ZTS8ImVectorItE", !6, i64 0, !6, i64 4, !10, i64 8}
!20 = !{!"_ZTS15ImGuiPlatformIO", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !10, i64 40, !10, i64 48, !10, i64 56, !10, i64 64, !10, i64 72, !10, i64 80, !10, i64 88, !10, i64 96, !10, i64 104, !10, i64 112, !10, i64 120, !10, i64 128, !10, i64 136, !10, i64 144, !10, i64 152, !10, i64 160, !10, i64 168, !10, i64 176, !21, i64 184, !22, i64 200}
!21 = !{!"_ZTS8ImVectorI20ImGuiPlatformMonitorE", !6, i64 0, !6, i64 4, !10, i64 8}
!22 = !{!"_ZTS8ImVectorIP13ImGuiViewportE", !6, i64 0, !6, i64 4, !10, i64 8}
!23 = !{!"_ZTS10ImGuiStyle", !16, i64 0, !16, i64 4, !15, i64 8, !16, i64 16, !16, i64 20, !15, i64 24, !15, i64 32, !6, i64 40, !16, i64 44, !16, i64 48, !16, i64 52, !16, i64 56, !15, i64 60, !16, i64 68, !16, i64 72, !15, i64 76, !15, i64 84, !15, i64 92, !15, i64 100, !16, i64 108, !16, i64 112, !16, i64 116, !16, i64 120, !16, i64 124, !16, i64 128, !16, i64 132, !16, i64 136, !16, i64 140, !16, i64 144, !16, i64 148, !16, i64 152, !6, i64 156, !15, i64 160, !15, i64 168, !16, i64 176, !15, i64 180, !15, i64 188, !15, i64 196, !15, i64 204, !16, i64 212, !16, i64 216, !13, i64 220, !13, i64 221, !13, i64 222, !16, i64 224, !16, i64 228, !7, i64 232, !16, i64 1112, !16, i64 1116, !16, i64 1120, !6, i64 1124, !6, i64 1128}
!24 = !{!"_ZTS20ImDrawListSharedData", !15, i64 0, !10, i64 8, !16, i64 16, !16, i64 20, !16, i64 24, !25, i64 28, !6, i64 44, !26, i64 48, !7, i64 64, !16, i64 448, !7, i64 452, !10, i64 520}
!25 = !{!"_ZTS6ImVec4", !16, i64 0, !16, i64 4, !16, i64 8, !16, i64 12}
!26 = !{!"_ZTS8ImVectorI6ImVec2E", !6, i64 0, !6, i64 4, !10, i64 8}
!27 = !{!"double", !7, i64 0}
!28 = !{!"_ZTS8ImVectorI15ImGuiInputEventE", !6, i64 0, !6, i64 4, !10, i64 8}
!29 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !6, i64 0, !6, i64 4, !10, i64 8}
!30 = !{!"_ZTS8ImVectorI20ImGuiWindowStackDataE", !6, i64 0, !6, i64 4, !10, i64 8}
!31 = !{!"_ZTS12ImGuiStorage", !32, i64 0}
!32 = !{!"_ZTS8ImVectorIN12ImGuiStorage16ImGuiStoragePairEE", !6, i64 0, !6, i64 4, !10, i64 8}
!33 = !{!"_ZTS16ImGuiInputSource", !7, i64 0}
!34 = !{!"_ZTS20ImGuiKeyRoutingTable", !7, i64 0, !35, i64 312, !35, i64 328}
!35 = !{!"_ZTS8ImVectorI19ImGuiKeyRoutingDataE", !6, i64 0, !6, i64 4, !10, i64 8}
!36 = !{!"_ZTS17ImGuiNextItemData", !6, i64 0, !6, i64 4, !16, i64 8, !37, i64 16, !6, i64 24, !13, i64 28}
!37 = !{!"long long", !7, i64 0}
!38 = !{!"_ZTS17ImGuiLastItemData", !6, i64 0, !6, i64 4, !6, i64 8, !39, i64 12, !39, i64 28, !39, i64 44}
!39 = !{!"_ZTS6ImRect", !15, i64 0, !15, i64 8}
!40 = !{!"_ZTS19ImGuiNextWindowData", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12, !6, i64 16, !15, i64 20, !15, i64 28, !15, i64 36, !15, i64 44, !15, i64 52, !6, i64 60, !13, i64 64, !13, i64 65, !39, i64 68, !10, i64 88, !10, i64 96, !16, i64 104, !6, i64 108, !6, i64 112, !41, i64 116, !15, i64 144}
!41 = !{!"_ZTS16ImGuiWindowClass", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12, !6, i64 16, !6, i64 20, !13, i64 24, !13, i64 25}
!42 = !{!"_ZTS8ImVectorI13ImGuiColorModE", !6, i64 0, !6, i64 4, !10, i64 8}
!43 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !6, i64 0, !6, i64 4, !10, i64 8}
!44 = !{!"_ZTS8ImVectorIP6ImFontE", !6, i64 0, !6, i64 4, !10, i64 8}
!45 = !{!"_ZTS8ImVectorIjE", !6, i64 0, !6, i64 4, !10, i64 8}
!46 = !{!"_ZTS8ImVectorIiE", !6, i64 0, !6, i64 4, !10, i64 8}
!47 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !6, i64 0, !6, i64 4, !10, i64 8}
!48 = !{!"_ZTS8ImVectorI14ImGuiPopupDataE", !6, i64 0, !6, i64 4, !10, i64 8}
!49 = !{!"_ZTS8ImVectorI20ImGuiNavTreeNodeDataE", !6, i64 0, !6, i64 4, !10, i64 8}
!50 = !{!"_ZTS8ImVectorIP14ImGuiViewportPE", !6, i64 0, !6, i64 4, !10, i64 8}
!51 = !{!"_ZTS20ImGuiPlatformMonitor", !15, i64 0, !15, i64 8, !15, i64 16, !15, i64 24, !16, i64 32, !10, i64 40}
!52 = !{!"_ZTS13ImGuiNavLayer", !7, i64 0}
!53 = !{!"_ZTS16ImGuiNavItemData", !10, i64 0, !6, i64 8, !6, i64 12, !39, i64 16, !6, i64 32, !37, i64 40, !16, i64 48, !16, i64 52, !16, i64 56}
!54 = !{!"_ZTS12ImGuiPayload", !10, i64 0, !6, i64 8, !6, i64 12, !6, i64 16, !6, i64 20, !7, i64 24, !13, i64 57, !13, i64 58}
!55 = !{!"_ZTS8ImVectorIhE", !6, i64 0, !6, i64 4, !10, i64 8}
!56 = !{!"_ZTS8ImVectorI20ImGuiListClipperDataE", !6, i64 0, !6, i64 4, !10, i64 8}
!57 = !{!"_ZTS8ImVectorI18ImGuiTableTempDataE", !6, i64 0, !6, i64 4, !10, i64 8}
!58 = !{!"_ZTS6ImPoolI10ImGuiTableE", !59, i64 0, !31, i64 16, !6, i64 32, !6, i64 36}
!59 = !{!"_ZTS8ImVectorI10ImGuiTableE", !6, i64 0, !6, i64 4, !10, i64 8}
!60 = !{!"_ZTS8ImVectorIfE", !6, i64 0, !6, i64 4, !10, i64 8}
!61 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !6, i64 0, !6, i64 4, !10, i64 8}
!62 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !63, i64 0, !31, i64 16, !6, i64 32, !6, i64 36}
!63 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !6, i64 0, !6, i64 4, !10, i64 8}
!64 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !6, i64 0, !6, i64 4, !10, i64 8}
!65 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !6, i64 0, !6, i64 4, !10, i64 8}
!66 = !{!"_ZTS19ImGuiInputTextState", !10, i64 0, !6, i64 8, !6, i64 12, !6, i64 16, !19, i64 24, !67, i64 40, !67, i64 56, !13, i64 72, !6, i64 76, !16, i64 80, !68, i64 84, !16, i64 3712, !13, i64 3716, !13, i64 3717, !13, i64 3718, !6, i64 3720}
!67 = !{!"_ZTS8ImVectorIcE", !6, i64 0, !6, i64 4, !10, i64 8}
!68 = !{!"_ZTSN5ImStb17STB_TexteditStateE", !6, i64 0, !6, i64 4, !6, i64 8, !7, i64 12, !6, i64 16, !7, i64 20, !7, i64 21, !7, i64 22, !7, i64 23, !7, i64 24, !7, i64 25, !7, i64 26, !16, i64 28, !69, i64 32}
!69 = !{!"_ZTSN5ImStb12StbUndoStateE", !7, i64 0, !7, i64 1584, !17, i64 3582, !17, i64 3584, !6, i64 3588, !6, i64 3592}
!70 = !{!"_ZTS30ImGuiInputTextDeactivatedState", !6, i64 0, !67, i64 8}
!71 = !{!"_ZTS6ImFont", !60, i64 0, !16, i64 16, !16, i64 20, !19, i64 24, !72, i64 40, !10, i64 56, !10, i64 64, !10, i64 72, !17, i64 80, !17, i64 82, !17, i64 84, !17, i64 86, !16, i64 88, !16, i64 92, !13, i64 96, !16, i64 100, !16, i64 104, !16, i64 108, !6, i64 112, !7, i64 116}
!72 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !6, i64 0, !6, i64 4, !10, i64 8}
!73 = !{!"_ZTS21ImGuiComboPreviewData", !39, i64 0, !15, i64 16, !15, i64 24, !15, i64 32, !16, i64 40, !6, i64 44}
!74 = !{!"_ZTS22ImGuiTypingSelectState", !75, i64 0, !7, i64 24, !6, i64 88, !6, i64 92, !16, i64 96, !13, i64 100}
!75 = !{!"_ZTS24ImGuiTypingSelectRequest", !6, i64 0, !6, i64 4, !10, i64 8, !13, i64 16, !13, i64 17, !7, i64 18}
!76 = !{!"_ZTS20ImGuiPlatformImeData", !13, i64 0, !15, i64 4, !16, i64 12}
!77 = !{!"_ZTS16ImGuiDockContext", !31, i64 0, !78, i64 16, !79, i64 32, !13, i64 48}
!78 = !{!"_ZTS8ImVectorI16ImGuiDockRequestE", !6, i64 0, !6, i64 4, !10, i64 8}
!79 = !{!"_ZTS8ImVectorI21ImGuiDockNodeSettingsE", !6, i64 0, !6, i64 4, !10, i64 8}
!80 = !{!"_ZTS15ImGuiTextBuffer", !67, i64 0}
!81 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !6, i64 0, !6, i64 4, !10, i64 8}
!82 = !{!"_ZTS13ImChunkStreamI19ImGuiWindowSettingsE", !67, i64 0}
!83 = !{!"_ZTS13ImChunkStreamI18ImGuiTableSettingsE", !67, i64 0}
!84 = !{!"_ZTS8ImVectorI16ImGuiContextHookE", !6, i64 0, !6, i64 4, !10, i64 8}
!85 = !{!"_ZTS12ImGuiLogType", !7, i64 0}
!86 = !{!"_ZTS14ImGuiTextIndex", !46, i64 0, !6, i64 16}
!87 = !{!"_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, !6, i64 12, !6, i64 16}
!88 = !{!"_ZTS16ImGuiIDStackTool", !6, i64 0, !6, i64 4, !6, i64 8, !89, i64 16, !13, i64 32, !16, i64 36}
!89 = !{!"_ZTS8ImVectorI19ImGuiStackLevelInfoE", !6, i64 0, !6, i64 4, !10, i64 8}
!90 = !{!"_ZTS19ImGuiDebugAllocInfo", !6, i64 0, !6, i64 4, !17, i64 8, !7, i64 12}
!91 = !{!92, !10, i64 24}
!92 = !{!"_ZTS13ImGuiDockNode", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12, !6, i64 16, !93, i64 20, !10, i64 24, !7, i64 32, !29, i64 48, !10, i64 64, !15, i64 72, !15, i64 80, !15, i64 88, !94, i64 96, !41, i64 100, !6, i64 128, !10, i64 136, !10, i64 144, !10, i64 152, !10, i64 160, !6, i64 168, !6, i64 172, !6, i64 176, !6, i64 180, !6, i64 184, !6, i64 188, !6, i64 192, !6, i64 196, !6, i64 200, !6, i64 200, !6, 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}
!93 = !{!"_ZTS18ImGuiDockNodeState", !7, i64 0}
!94 = !{!"_ZTS9ImGuiAxis", !7, i64 0}
!95 = !{!92, !6, i64 8}


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

@GImGui = external dso_local local_unnamed_addr global ptr, align 8
@.str.359 = external hidden unnamed_addr constant [40 x i8], align 1

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui34DockBuilderRemoveNodeDockedWindowsEjb(i32 noundef, i1 noundef zeroext) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui31DockBuilderRemoveNodeChildNodesEj(i32 noundef) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN5ImGui23DockContextFindNodeByIDEP12ImGuiContextj(ptr noundef, i32 noundef) local_unnamed_addr #0

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN13ImGuiDockNode13SetLocalFlagsEi(ptr noundef nonnull align 8 dereferenceable(203), i32 noundef) local_unnamed_addr #1 align 2

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

6:                                                ; preds = %1
  tail call void (ptr, ...) @_ZN5ImGui8DebugLogEPKcz(ptr noundef nonnull @.str.359, i32 noundef %0)
  br label %7

7:                                                ; preds = %6, %1
  %8 = tail call noundef ptr @_ZN5ImGui23DockContextFindNodeByIDEP12ImGuiContextj(ptr noundef nonnull %2, i32 noundef %0)
  %9 = icmp eq ptr %8, null
  br i1 %9, label %23, label %10

10:                                               ; preds = %7
  tail call void @_ZN5ImGui34DockBuilderRemoveNodeDockedWindowsEjb(i32 noundef %0, i1 noundef zeroext true)
  tail call void @_ZN5ImGui31DockBuilderRemoveNodeChildNodesEj(i32 noundef %0)
  %11 = tail call noundef ptr @_ZN5ImGui23DockContextFindNodeByIDEP12ImGuiContextj(ptr noundef nonnull %2, i32 noundef %0)
  %12 = icmp eq ptr %11, null
  br i1 %12, label %23, label %13

13:                                               ; preds = %10
  %14 = tail call noundef zeroext i1 @_ZNK13ImGuiDockNode13IsCentralNodeEv(ptr noundef nonnull align 8 dereferenceable(203) %11)
  br i1 %14, label %15, label %22

15:                                               ; preds = %13
  %16 = getelementptr inbounds i8, ptr %11, i64 24
  %17 = load ptr, ptr %16, align 8, !tbaa !90
  %.not18 = icmp eq ptr %17, null
  br i1 %.not18, label %22, label %18

18:                                               ; preds = %15
  %19 = getelementptr inbounds i8, ptr %17, i64 8
  %20 = load i32, ptr %19, align 8, !tbaa !94
  %21 = or i32 %20, 2048
  tail call void @_ZN13ImGuiDockNode13SetLocalFlagsEi(ptr noundef nonnull align 8 dereferenceable(203) %17, i32 noundef %21)
  br label %22

22:                                               ; preds = %18, %15, %13
  tail call void @_ZN5ImGuiL21DockContextRemoveNodeEP12ImGuiContextP13ImGuiDockNodeb(ptr noundef nonnull %2, ptr noundef nonnull %11, i1 noundef zeroext true)
  br label %23

23:                                               ; preds = %10, %7, %22
  ret void
}

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN5ImGuiL21DockContextRemoveNodeEP12ImGuiContextP13ImGuiDockNodeb(ptr noundef, ptr noundef, i1 noundef zeroext) local_unnamed_addr #0

attributes #0 = { 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 #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" }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !13, i64 25084}
!10 = !{!"_ZTS12ImGuiContext", !11, i64 0, !11, i64 1, !12, i64 8, !19, i64 14632, !22, i64 14848, !13, i64 15980, !13, i64 15984, !6, i64 15992, !15, i64 16000, !15, i64 16004, !23, i64 16008, !26, i64 16536, !13, i64 16544, !13, i64 16548, !13, i64 16552, !13, i64 16556, !11, i64 16560, !11, i64 16561, !11, i64 16562, !11, i64 16563, !11, i64 16564, !6, i64 16568, !27, i64 16576, !27, i64 16592, !17, i64 16608, !13, i64 16612, !28, i64 16616, !28, i64 16632, !28, i64 16648, !29, i64 16664, !30, i64 16680, !13, i64 16696, !14, i64 16700, !6, i64 16712, !6, i64 16720, !6, i64 16728, !6, i64 16736, !6, i64 16744, !14, i64 16752, !13, i64 16760, !13, i64 16764, !15, i64 16768, !14, i64 16772, !14, i64 16780, !13, i64 16788, !13, i64 16792, !13, i64 16796, !11, i64 16800, !11, i64 16801, !15, i64 16804, !15, i64 16808, !13, i64 16812, !13, i64 16816, !15, i64 16820, !11, i64 16824, !11, i64 16825, !11, i64 16826, !11, i64 16827, !11, i64 16828, !11, i64 16829, !14, i64 16832, !6, i64 16840, !32, i64 16848, !13, i64 16852, !13, i64 16856, !11, i64 16860, !11, i64 16861, !6, i64 16864, !13, i64 16872, !15, i64 16876, !7, i64 16880, !33, i64 18728, !13, i64 19072, !11, i64 19076, !13, i64 19080, !13, i64 19084, !13, i64 19088, !13, i64 19092, !35, i64 19096, !37, i64 19128, !39, i64 19192, !11, i64 19344, !41, i64 19352, !42, i64 19368, !43, i64 19384, !44, i64 19400, !45, i64 19416, !46, i64 19432, !47, i64 19448, !47, i64 19464, !48, i64 19480, !13, i64 19496, !49, i64 19504, !15, i64 19520, !6, i64 19528, !6, i64 19536, !6, i64 19544, !13, i64 19552, !50, i64 19560, !13, i64 19608, !13, i64 19612, !13, i64 19616, !6, i64 19624, !13, i64 19632, !13, i64 19636, !13, i64 19640, !13, i64 19644, !13, i64 19648, !13, i64 19652, !13, i64 19656, !13, i64 19660, !13, i64 19664, !13, i64 19668, !13, i64 19672, !32, i64 19676, !51, i64 19680, !36, i64 19688, !11, i64 19696, !11, i64 19697, !11, i64 19698, !11, i64 19699, !11, i64 19700, !11, i64 19701, !11, i64 19702, !52, i64 19704, !11, i64 19768, !11, i64 19769, !11, i64 19770, !13, i64 19772, !13, i64 19776, !13, i64 19780, !13, i64 19784, !13, i64 19788, !13, i64 19792, !38, i64 19796, !38, i64 19812, !13, i64 19828, !13, i64 19832, !13, i64 19836, !52, i64 19840, !52, i64 19904, !52, i64 19968, !52, i64 20032, !13, i64 20096, !13, i64 20100, !6, i64 20104, !6, i64 20112, !6, i64 20120, !15, i64 20128, !15, i64 20132, !11, i64 20136, !14, i64 20140, !14, i64 20148, !15, i64 20156, !11, i64 20160, !11, i64 20161, !11, i64 20162, !13, i64 20164, !13, i64 20168, !13, i64 20172, !53, i64 20176, !38, i64 20240, !13, i64 20256, !13, i64 20260, !15, i64 20264, !13, i64 20268, !13, i64 20272, !13, i64 20276, !13, i64 20280, !54, i64 20288, !7, i64 20304, !13, i64 20320, !55, i64 20328, !6, i64 20344, !13, i64 20352, !56, i64 20360, !57, i64 20376, !59, i64 20416, !60, i64 20432, !6, i64 20448, !61, i64 20456, !63, i64 20496, !64, i64 20512, !13, i64 20528, !13, i64 20532, !15, i64 20536, !15, i64 20540, !13, i64 20544, !13, i64 20548, !13, i64 20552, !15, i64 20556, !14, i64 20560, !65, i64 20568, !69, i64 24296, !70, i64 24320, !13, i64 24440, !13, i64 24444, !13, i64 24448, !13, i64 24452, !15, i64 24456, !15, i64 24460, !13, i64 24464, !24, i64 24468, !72, i64 24484, !38, i64 24532, !11, i64 24548, !15, i64 24552, !15, i64 24556, !11, i64 24560, !11, i64 24561, !15, i64 24564, !15, i64 24568, !15, i64 24572, !15, i64 24576, !16, i64 24580, !16, i64 24582, !16, i64 24584, !66, i64 24592, !44, i64 24608, !73, i64 24624, !75, i64 24728, !75, i64 24744, !13, i64 24760, !76, i64 24768, !6, i64 24824, !11, i64 24832, !15, i64 24836, !79, i64 24840, !80, i64 24856, !81, i64 24872, !82, i64 24888, !83, i64 24904, !13, i64 24920, !7, i64 24928, !11, i64 25016, !84, i64 25020, !6, i64 25024, !79, i64 25032, !6, i64 25048, !6, i64 25056, !15, i64 25064, !11, i64 25068, !13, i64 25072, !13, i64 25076, !13, i64 25080, !13, i64 25084, !79, i64 25088, !85, i64 25104, !7, i64 25128, !7, i64 25129, !7, i64 25130, !11, i64 25131, !7, i64 25132, !13, i64 25136, !86, i64 25140, !87, i64 25160, !89, i64 25200, !6, i64 25264, !7, i64 25272, !13, i64 25512, !13, i64 25516, !15, i64 25520, !13, i64 25524, !13, i64 25528, !13, i64 25532, !66, i64 25536}
!11 = !{!"bool", !7, i64 0}
!12 = !{!"_ZTS7ImGuiIO", !13, i64 0, !13, i64 4, !14, i64 8, !15, i64 16, !15, i64 20, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !15, i64 56, !11, i64 60, !6, i64 64, !14, i64 72, !11, i64 80, !11, i64 81, !11, i64 82, !11, i64 83, !11, i64 84, !11, i64 85, !11, i64 86, !11, i64 87, !11, i64 88, !11, i64 89, !11, i64 90, !11, i64 91, !11, i64 92, !11, i64 93, !11, i64 94, !11, i64 95, !15, i64 96, !15, i64 100, !15, i64 104, !15, i64 108, !15, i64 112, !15, i64 116, !11, i64 120, !11, i64 121, !11, i64 122, !11, i64 123, !6, i64 128, !6, i64 136, !6, i64 144, !6, i64 152, !6, i64 160, !6, i64 168, !6, i64 176, !6, i64 184, !6, i64 192, !16, i64 200, !11, i64 202, !11, i64 203, !11, i64 204, !11, i64 205, !11, i64 206, !11, i64 207, !11, i64 208, !15, i64 212, !13, i64 216, !13, i64 220, !13, i64 224, !13, 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, !17, i64 3680, !13, i64 3684, !11, i64 3688, !11, i64 3689, !11, i64 3690, !11, i64 3691, !13, i64 3692, !7, i64 3696, !11, 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, !11, i64 14493, !7, i64 14496, !7, i64 14516, !7, i64 14536, !7, i64 14576, !15, i64 14596, !11, i64 14600, !11, i64 14601, !7, i64 14602, !11, i64 14603, !16, i64 14604, !18, i64 14608}
!13 = !{!"int", !7, i64 0}
!14 = !{!"_ZTS6ImVec2", !15, i64 0, !15, i64 4}
!15 = !{!"float", !7, i64 0}
!16 = !{!"short", !7, i64 0}
!17 = !{!"_ZTS16ImGuiMouseSource", !7, i64 0}
!18 = !{!"_ZTS8ImVectorItE", !13, i64 0, !13, i64 4, !6, i64 8}
!19 = !{!"_ZTS15ImGuiPlatformIO", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !6, i64 88, !6, i64 96, !6, i64 104, !6, i64 112, !6, i64 120, !6, i64 128, !6, i64 136, !6, i64 144, !6, i64 152, !6, i64 160, !6, i64 168, !6, i64 176, !20, i64 184, !21, i64 200}
!20 = !{!"_ZTS8ImVectorI20ImGuiPlatformMonitorE", !13, i64 0, !13, i64 4, !6, i64 8}
!21 = !{!"_ZTS8ImVectorIP13ImGuiViewportE", !13, i64 0, !13, i64 4, !6, i64 8}
!22 = !{!"_ZTS10ImGuiStyle", !15, i64 0, !15, i64 4, !14, i64 8, !15, i64 16, !15, i64 20, !14, i64 24, !14, i64 32, !13, i64 40, !15, i64 44, !15, i64 48, !15, i64 52, !15, i64 56, !14, i64 60, !15, i64 68, !15, i64 72, !14, i64 76, !14, i64 84, !14, i64 92, !14, i64 100, !15, i64 108, !15, i64 112, !15, i64 116, !15, i64 120, !15, i64 124, !15, i64 128, !15, i64 132, !15, i64 136, !15, i64 140, !15, i64 144, !15, i64 148, !15, i64 152, !13, 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, !11, i64 220, !11, i64 221, !11, i64 222, !15, i64 224, !15, i64 228, !7, i64 232, !15, i64 1112, !15, i64 1116, !15, i64 1120, !13, i64 1124, !13, i64 1128}
!23 = !{!"_ZTS20ImDrawListSharedData", !14, i64 0, !6, i64 8, !15, i64 16, !15, i64 20, !15, i64 24, !24, i64 28, !13, i64 44, !25, i64 48, !7, i64 64, !15, i64 448, !7, i64 452, !6, i64 520}
!24 = !{!"_ZTS6ImVec4", !15, i64 0, !15, i64 4, !15, i64 8, !15, i64 12}
!25 = !{!"_ZTS8ImVectorI6ImVec2E", !13, i64 0, !13, i64 4, !6, i64 8}
!26 = !{!"double", !7, i64 0}
!27 = !{!"_ZTS8ImVectorI15ImGuiInputEventE", !13, i64 0, !13, i64 4, !6, i64 8}
!28 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !13, i64 0, !13, i64 4, !6, i64 8}
!29 = !{!"_ZTS8ImVectorI20ImGuiWindowStackDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!30 = !{!"_ZTS12ImGuiStorage", !31, i64 0}
!31 = !{!"_ZTS8ImVectorIN12ImGuiStorage16ImGuiStoragePairEE", !13, i64 0, !13, i64 4, !6, i64 8}
!32 = !{!"_ZTS16ImGuiInputSource", !7, i64 0}
!33 = !{!"_ZTS20ImGuiKeyRoutingTable", !7, i64 0, !34, i64 312, !34, i64 328}
!34 = !{!"_ZTS8ImVectorI19ImGuiKeyRoutingDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!35 = !{!"_ZTS17ImGuiNextItemData", !13, i64 0, !13, i64 4, !15, i64 8, !36, i64 16, !13, i64 24, !11, i64 28}
!36 = !{!"long long", !7, i64 0}
!37 = !{!"_ZTS17ImGuiLastItemData", !13, i64 0, !13, i64 4, !13, i64 8, !38, i64 12, !38, i64 28, !38, i64 44}
!38 = !{!"_ZTS6ImRect", !14, i64 0, !14, i64 8}
!39 = !{!"_ZTS19ImGuiNextWindowData", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12, !13, i64 16, !14, i64 20, !14, i64 28, !14, i64 36, !14, i64 44, !14, i64 52, !13, i64 60, !11, i64 64, !11, i64 65, !38, i64 68, !6, i64 88, !6, i64 96, !15, i64 104, !13, i64 108, !13, i64 112, !40, i64 116, !14, i64 144}
!40 = !{!"_ZTS16ImGuiWindowClass", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12, !13, i64 16, !13, i64 20, !11, i64 24, !11, i64 25}
!41 = !{!"_ZTS8ImVectorI13ImGuiColorModE", !13, i64 0, !13, i64 4, !6, i64 8}
!42 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !13, i64 0, !13, i64 4, !6, i64 8}
!43 = !{!"_ZTS8ImVectorIP6ImFontE", !13, i64 0, !13, i64 4, !6, i64 8}
!44 = !{!"_ZTS8ImVectorIjE", !13, i64 0, !13, i64 4, !6, i64 8}
!45 = !{!"_ZTS8ImVectorIiE", !13, i64 0, !13, i64 4, !6, i64 8}
!46 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!47 = !{!"_ZTS8ImVectorI14ImGuiPopupDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!48 = !{!"_ZTS8ImVectorI20ImGuiNavTreeNodeDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!49 = !{!"_ZTS8ImVectorIP14ImGuiViewportPE", !13, i64 0, !13, i64 4, !6, i64 8}
!50 = !{!"_ZTS20ImGuiPlatformMonitor", !14, i64 0, !14, i64 8, !14, i64 16, !14, i64 24, !15, i64 32, !6, i64 40}
!51 = !{!"_ZTS13ImGuiNavLayer", !7, i64 0}
!52 = !{!"_ZTS16ImGuiNavItemData", !6, i64 0, !13, i64 8, !13, i64 12, !38, i64 16, !13, i64 32, !36, i64 40, !15, i64 48, !15, i64 52, !15, i64 56}
!53 = !{!"_ZTS12ImGuiPayload", !6, i64 0, !13, i64 8, !13, i64 12, !13, i64 16, !13, i64 20, !7, i64 24, !11, i64 57, !11, i64 58}
!54 = !{!"_ZTS8ImVectorIhE", !13, i64 0, !13, i64 4, !6, i64 8}
!55 = !{!"_ZTS8ImVectorI20ImGuiListClipperDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!56 = !{!"_ZTS8ImVectorI18ImGuiTableTempDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!57 = !{!"_ZTS6ImPoolI10ImGuiTableE", !58, i64 0, !30, i64 16, !13, i64 32, !13, i64 36}
!58 = !{!"_ZTS8ImVectorI10ImGuiTableE", !13, i64 0, !13, i64 4, !6, i64 8}
!59 = !{!"_ZTS8ImVectorIfE", !13, i64 0, !13, i64 4, !6, i64 8}
!60 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !13, i64 0, !13, i64 4, !6, i64 8}
!61 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !62, i64 0, !30, i64 16, !13, i64 32, !13, i64 36}
!62 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !13, i64 0, !13, i64 4, !6, i64 8}
!63 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !13, i64 0, !13, i64 4, !6, i64 8}
!64 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !13, i64 0, !13, i64 4, !6, i64 8}
!65 = !{!"_ZTS19ImGuiInputTextState", !6, i64 0, !13, i64 8, !13, i64 12, !13, i64 16, !18, i64 24, !66, i64 40, !66, i64 56, !11, i64 72, !13, i64 76, !15, i64 80, !67, i64 84, !15, i64 3712, !11, i64 3716, !11, i64 3717, !11, i64 3718, !13, i64 3720}
!66 = !{!"_ZTS8ImVectorIcE", !13, i64 0, !13, i64 4, !6, i64 8}
!67 = !{!"_ZTSN5ImStb17STB_TexteditStateE", !13, i64 0, !13, i64 4, !13, i64 8, !7, i64 12, !13, i64 16, !7, i64 20, !7, i64 21, !7, i64 22, !7, i64 23, !7, i64 24, !7, i64 25, !7, i64 26, !15, i64 28, !68, i64 32}
!68 = !{!"_ZTSN5ImStb12StbUndoStateE", !7, i64 0, !7, i64 1584, !16, i64 3582, !16, i64 3584, !13, i64 3588, !13, i64 3592}
!69 = !{!"_ZTS30ImGuiInputTextDeactivatedState", !13, i64 0, !66, i64 8}
!70 = !{!"_ZTS6ImFont", !59, i64 0, !15, i64 16, !15, i64 20, !18, i64 24, !71, 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, !11, i64 96, !15, i64 100, !15, i64 104, !15, i64 108, !13, i64 112, !7, i64 116}
!71 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !13, i64 0, !13, i64 4, !6, i64 8}
!72 = !{!"_ZTS21ImGuiComboPreviewData", !38, i64 0, !14, i64 16, !14, i64 24, !14, i64 32, !15, i64 40, !13, i64 44}
!73 = !{!"_ZTS22ImGuiTypingSelectState", !74, i64 0, !7, i64 24, !13, i64 88, !13, i64 92, !15, i64 96, !11, i64 100}
!74 = !{!"_ZTS24ImGuiTypingSelectRequest", !13, i64 0, !13, i64 4, !6, i64 8, !11, i64 16, !11, i64 17, !7, i64 18}
!75 = !{!"_ZTS20ImGuiPlatformImeData", !11, i64 0, !14, i64 4, !15, i64 12}
!76 = !{!"_ZTS16ImGuiDockContext", !30, i64 0, !77, i64 16, !78, i64 32, !11, i64 48}
!77 = !{!"_ZTS8ImVectorI16ImGuiDockRequestE", !13, i64 0, !13, i64 4, !6, i64 8}
!78 = !{!"_ZTS8ImVectorI21ImGuiDockNodeSettingsE", !13, i64 0, !13, i64 4, !6, i64 8}
!79 = !{!"_ZTS15ImGuiTextBuffer", !66, i64 0}
!80 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !13, i64 0, !13, i64 4, !6, i64 8}
!81 = !{!"_ZTS13ImChunkStreamI19ImGuiWindowSettingsE", !66, i64 0}
!82 = !{!"_ZTS13ImChunkStreamI18ImGuiTableSettingsE", !66, i64 0}
!83 = !{!"_ZTS8ImVectorI16ImGuiContextHookE", !13, i64 0, !13, i64 4, !6, i64 8}
!84 = !{!"_ZTS12ImGuiLogType", !7, i64 0}
!85 = !{!"_ZTS14ImGuiTextIndex", !45, i64 0, !13, i64 16}
!86 = !{!"_ZTS18ImGuiMetricsConfig", !11, i64 0, !11, i64 1, !11, i64 2, !11, i64 3, !11, i64 4, !11, i64 5, !11, i64 6, !11, i64 7, !11, i64 8, !13, i64 12, !13, i64 16}
!87 = !{!"_ZTS16ImGuiIDStackTool", !13, i64 0, !13, i64 4, !13, i64 8, !88, i64 16, !11, i64 32, !15, i64 36}
!88 = !{!"_ZTS8ImVectorI19ImGuiStackLevelInfoE", !13, i64 0, !13, i64 4, !6, i64 8}
!89 = !{!"_ZTS19ImGuiDebugAllocInfo", !13, i64 0, !13, i64 4, !16, i64 8, !7, i64 12}
!90 = !{!91, !6, i64 24}
!91 = !{!"_ZTS13ImGuiDockNode", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12, !13, i64 16, !92, i64 20, !6, i64 24, !7, i64 32, !28, i64 48, !6, i64 64, !14, i64 72, !14, i64 80, !14, i64 88, !93, i64 96, !40, i64 100, !13, i64 128, !6, i64 136, !6, i64 144, !6, i64 152, !6, i64 160, !13, i64 168, !13, i64 172, !13, i64 176, !13, i64 180, !13, i64 184, !13, i64 188, !13, i64 192, !13, i64 196, !13, i64 200, !13, i64 200, !13, i64 200, !11, i64 201, !11, i64 201, !11, i64 201, !11, i64 201, !11, i64 201, !11, i64 201, !11, i64 201, !11, i64 202, !11, i64 202, !11, i64 202, !11, i64 202}
!92 = !{!"_ZTS18ImGuiDockNodeState", !7, i64 0}
!93 = !{!"_ZTS9ImGuiAxis", !7, i64 0}
!94 = !{!91, !13, i64 8}


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