; LLVM IR from erwincoumans/tiny-differentiable-simulator :: third_party/dear_imgui (imgui)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%struct.ImGuiDockNode = type <{ i32, i32, i32, [4 x i8], ptr, [2 x ptr], %struct.ImVector.5, ptr, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, i32, %struct.ImGuiWindowClass, i32, [4 x i8], ptr, ptr, ptr, ptr, i32, i32, i32, i32, i32, i32, i16, i8, [5 x i8] }>
%struct.ImVector.5 = type { i32, i32, ptr }
%struct.ImVec2 = type { float, float }
%struct.ImGuiWindowClass = type <{ i32, i32, i32, i32, i32, i32, i8, i8, [2 x i8] }>
%struct.ImGuiWindow = type <{ ptr, i32, i32, i32, %struct.ImGuiWindowClass, ptr, i32, %struct.ImVec2, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, float, i32, i32, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i16, i16, i16, i32, i8, i8, i8, i8, i32, i32, i32, i32, i32, i32, i32, %struct.ImVec2, %struct.ImVec2, [4 x i8], %struct.ImVector.17, %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.23, float, float, i32, [4 x i8], ptr, %struct.ImDrawList, ptr, ptr, ptr, ptr, ptr, ptr, [2 x i32], [2 x %struct.ImRect], i8, [3 x i8], i32, i32, [4 x i8], ptr, ptr, i32, i32, %struct.ImRect, i16, i8, [5 x i8] }>
%struct.ImVector.17 = type { i32, i32, ptr }
%struct.ImGuiWindowTempData = type <{ %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, float, %struct.ImVec1, %struct.ImVec1, %struct.ImVec1, i32, i32, %struct.ImRect, %struct.ImRect, i32, i32, i32, i32, i32, i8, i8, i8, i8, %struct.ImVec2, %struct.ImGuiMenuColumns, i32, i32, %struct.ImVector.5, ptr, ptr, i32, i32, i32, i32, i32, float, float, [4 x i8], %struct.ImVector.21, %struct.ImVector.15, %struct.ImVector.15, %struct.ImVector.22, [6 x i16], [4 x i8] }>
%struct.ImVec1 = type { float }
%struct.ImGuiMenuColumns = type { float, float, float, [3 x float], [3 x float] }
%struct.ImVector.21 = type { i32, i32, ptr }
%struct.ImVector.15 = type { i32, i32, ptr }
%struct.ImVector.22 = type { i32, i32, ptr }
%struct.ImVec2ih = type { i16, i16 }
%struct.ImGuiStorage = type { %struct.ImVector.0 }
%struct.ImVector.0 = type { i32, i32, ptr }
%struct.ImVector.23 = type { i32, i32, ptr }
%struct.ImDrawList = type { %struct.ImVector.24, %struct.ImVector, %struct.ImVector.25, i32, ptr, ptr, i32, ptr, ptr, %struct.ImVector.26, %struct.ImVector.27, %struct.ImVector.28, %struct.ImDrawCmd, %struct.ImDrawListSplitter }
%struct.ImVector.24 = type { i32, i32, ptr }
%struct.ImVector = type { i32, i32, ptr }
%struct.ImVector.25 = type { i32, i32, ptr }
%struct.ImVector.26 = type { i32, i32, ptr }
%struct.ImVector.27 = type { i32, i32, ptr }
%struct.ImVector.28 = type { i32, i32, ptr }
%struct.ImDrawCmd = type { %struct.ImVec4, ptr, i32, i32, i32, ptr, ptr }
%struct.ImVec4 = type { float, float, float, float }
%struct.ImDrawListSplitter = type { i32, i32, %struct.ImVector.29 }
%struct.ImVector.29 = type { i32, i32, ptr }
%struct.ImRect = type { %struct.ImVec2, %struct.ImVec2 }
%struct.ImGuiContext = type <{ i8, i8, [6 x i8], %struct.ImGuiIO, %struct.ImGuiPlatformIO, %struct.ImGuiStyle, i32, i32, [4 x i8], ptr, float, float, %struct.ImDrawListSharedData, double, i32, i32, i32, i32, i8, i8, i8, i8, i32, ptr, %struct.ImVector.5, %struct.ImVector.5, %struct.ImVector.5, %struct.ImVector.5, %struct.ImGuiStorage, i32, [4 x i8], ptr, ptr, ptr, ptr, ptr, ptr, ptr, %struct.ImVec2, float, i32, i32, i8, i8, [2 x i8], float, float, i32, i32, float, i8, i8, i8, i8, i8, i8, [2 x i8], i32, i32, [4 x i8], i64, %struct.ImVec2, ptr, i32, i32, i32, i8, i8, [2 x i8], ptr, i32, float, %struct.ImGuiNextWindowData, %struct.ImGuiNextItemData, [4 x i8], %struct.ImVector.6, %struct.ImVector.7, %struct.ImVector.8, %struct.ImVector.9, %struct.ImVector.9, %struct.ImVector.10, float, [4 x i8], ptr, ptr, ptr, i32, i32, ptr, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, %struct.ImRect, i32, i32, i32, i8, i8, i8, i8, i8, i8, i8, i8, i32, %struct.ImRect, i8, i8, [2 x i8], i32, i32, i32, i32, i32, i32, [4 x i8], %struct.ImGuiNavMoveResult, %struct.ImGuiNavMoveResult, %struct.ImGuiNavMoveResult, ptr, i32, [4 x i8], ptr, ptr, ptr, float, float, i8, [7 x i8], ptr, ptr, i32, i32, i32, i32, i8, [3 x i8], float, i32, i8, i8, i8, i8, i32, i32, i32, [4 x i8], %struct.ImGuiPayload, %struct.ImRect, i32, i32, float, i32, i32, i32, i32, [4 x i8], %struct.ImVector.11, [16 x i8], ptr, %struct.ImPool, %struct.ImVector.13, %struct.ImVector.14, %struct.ImVec2, %struct.ImGuiInputTextState, %struct.ImFont, i32, i32, float, float, [3 x float], %struct.ImVec4, float, i8, i8, [2 x i8], float, float, float, i32, [4 x i8], %struct.ImVector.2, %struct.ImVector.17, %struct.ImVec2, %struct.ImVec2, ptr, %struct.ImGuiDockContext, i8, [3 x i8], float, %struct.ImGuiTextBuffer, %struct.ImVector.20, %struct.ImChunkStream, i8, [3 x i8], i32, ptr, %struct.ImGuiTextBuffer, float, i8, [3 x i8], i32, i32, i32, i8, [3 x i8], i32, [120 x float], i32, float, i32, i32, i32, [3073 x i8], [7 x i8] }>
%struct.ImGuiIO = type { i32, i32, %struct.ImVec2, float, float, ptr, ptr, float, float, float, [22 x i32], float, float, ptr, ptr, float, i8, ptr, %struct.ImVec2, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, float, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, %struct.ImVec2, [5 x i8], float, float, i32, i8, i8, i8, i8, [512 x i8], [21 x float], i8, i8, i8, i8, i8, i8, i8, float, i32, i32, i32, i32, i32, %struct.ImVec2, i32, %struct.ImVec2, [5 x %struct.ImVec2], [5 x double], [5 x i8], [5 x i8], [5 x i8], [5 x i8], [5 x i8], [5 x float], [5 x float], [5 x %struct.ImVec2], [5 x float], [512 x float], [512 x float], [21 x float], [21 x float], float, i16, %struct.ImVector }
%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, ptr, %struct.ImVector.3, ptr, %struct.ImVector.4 }
%struct.ImVector.3 = type { i32, i32, ptr }
%struct.ImVector.4 = type { i32, i32, ptr }
%struct.ImGuiStyle = type { float, %struct.ImVec2, float, float, %struct.ImVec2, %struct.ImVec2, i32, float, float, float, float, %struct.ImVec2, float, float, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, float, float, float, float, float, float, float, float, float, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, i8, i8, i8, float, float, [50 x %struct.ImVec4] }
%struct.ImDrawListSharedData = type { %struct.ImVec2, ptr, float, float, float, %struct.ImVec4, i32, [12 x %struct.ImVec2], [64 x i8], ptr }
%struct.ImGuiNextWindowData = type { i32, i32, i32, i32, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, i8, i8, %struct.ImRect, ptr, ptr, float, i32, i32, %struct.ImGuiWindowClass, %struct.ImVec2 }
%struct.ImGuiNextItemData = type <{ i32, float, i32, i32, i8, [3 x i8] }>
%struct.ImVector.6 = type { i32, i32, ptr }
%struct.ImVector.7 = type { i32, i32, ptr }
%struct.ImVector.8 = type { i32, i32, ptr }
%struct.ImVector.9 = type { i32, i32, ptr }
%struct.ImVector.10 = type { i32, i32, ptr }
%struct.ImGuiNavMoveResult = type <{ ptr, i32, i32, float, float, float, %struct.ImRect, [4 x i8] }>
%struct.ImGuiPayload = type <{ ptr, i32, i32, i32, i32, [33 x i8], i8, i8, [5 x i8] }>
%struct.ImVector.11 = type { i32, i32, ptr }
%struct.ImPool = type <{ %struct.ImVector.12, %struct.ImGuiStorage, i32, [4 x i8] }>
%struct.ImVector.12 = type { i32, i32, ptr }
%struct.ImVector.13 = type { i32, i32, ptr }
%struct.ImVector.14 = type { i32, i32, ptr }
%struct.ImGuiInputTextState = type { i32, i32, i32, %struct.ImVector, %struct.ImVector.2, %struct.ImVector.2, i8, i32, float, %"struct.ImStb::STB_TexteditState", float, i8, i8, i8, i32, ptr, ptr }
%"struct.ImStb::STB_TexteditState" = type { i32, i32, i32, i8, 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.ImFont = type <{ %struct.ImVector.15, float, float, %struct.ImVector, %struct.ImVector.16, ptr, %struct.ImVec2, ptr, ptr, i16, i16, i16, i8, i8, float, float, float, i32, [2 x i8], [6 x i8] }>
%struct.ImVector.16 = type { i32, i32, ptr }
%struct.ImVector.2 = type { i32, i32, ptr }
%struct.ImGuiDockContext = type <{ %struct.ImGuiStorage, %struct.ImVector.18, %struct.ImVector.19, i8, [7 x i8] }>
%struct.ImVector.18 = type { i32, i32, ptr }
%struct.ImVector.19 = type { i32, i32, ptr }
%struct.ImVector.20 = type { i32, i32, ptr }
%struct.ImChunkStream = type { %struct.ImVector.2 }
%struct.ImGuiTextBuffer = type { %struct.ImVector.2 }

@GImGui = external dso_local global ptr, align 8

; 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 @_ZN5ImGui22StartMouseMovingWindowEP11ImGuiWindow(ptr noundef) #1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN5ImGui28StartMouseMovingWindowOrNodeEP11ImGuiWindowP13ImGuiDockNodeb(ptr noundef %0, ptr noundef %1, i1 noundef zeroext %2) #2 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i8, align 1
  %7 = alloca ptr, align 8
  %8 = alloca i8, align 1
  %9 = alloca ptr, align 8
  %10 = alloca i8, align 1
  %11 = alloca i8, align 1
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  %12 = zext i1 %2 to i8
  store i8 %12, ptr %6, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #5
  %13 = load ptr, ptr @GImGui, align 8, !tbaa !5
  store ptr %13, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %8) #5
  store i8 0, ptr %8, align 1, !tbaa !9
  %14 = load ptr, ptr %5, align 8, !tbaa !5
  %15 = icmp ne ptr %14, null
  br i1 %15, label %16, label %51

16:                                               ; preds = %3
  %17 = load ptr, ptr %5, align 8, !tbaa !5
  %18 = getelementptr inbounds %struct.ImGuiDockNode, ptr %17, i32 0, i32 16
  %19 = load ptr, ptr %18, align 8, !tbaa !11
  %20 = icmp ne ptr %19, null
  br i1 %20, label %21, label %51

21:                                               ; preds = %16
  %22 = load ptr, ptr %5, align 8, !tbaa !5
  %23 = getelementptr inbounds %struct.ImGuiDockNode, ptr %22, i32 0, i32 16
  %24 = load ptr, ptr %23, align 8, !tbaa !11
  %25 = getelementptr inbounds %struct.ImGuiWindow, ptr %24, i32 0, i32 2
  %26 = load i32, ptr %25, align 4, !tbaa !20
  %27 = and i32 %26, 4
  %28 = icmp eq i32 %27, 0
  br i1 %28, label %29, label %51

29:                                               ; preds = %21
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #5
  %30 = load ptr, ptr %5, align 8, !tbaa !5
  %31 = call noundef ptr @_ZN5ImGui19DockNodeGetRootNodeEP13ImGuiDockNode(ptr noundef %30)
  store ptr %31, ptr %9, align 8, !tbaa !5
  %32 = load ptr, ptr %9, align 8, !tbaa !5
  %33 = getelementptr inbounds %struct.ImGuiDockNode, ptr %32, i32 0, i32 18
  %34 = load ptr, ptr %33, align 8, !tbaa !47
  %35 = load ptr, ptr %5, align 8, !tbaa !5
  %36 = icmp ne ptr %34, %35
  br i1 %36, label %42, label %37

37:                                               ; preds = %29
  %38 = load ptr, ptr %9, align 8, !tbaa !5
  %39 = getelementptr inbounds %struct.ImGuiDockNode, ptr %38, i32 0, i32 17
  %40 = load ptr, ptr %39, align 8, !tbaa !48
  %41 = icmp ne ptr %40, null
  br i1 %41, label %42, label %50

42:                                               ; preds = %37, %29
  %43 = load i8, ptr %6, align 1, !tbaa !9, !range !49, !noundef !50
  %44 = trunc i8 %43 to i1
  br i1 %44, label %48, label %45

45:                                               ; preds = %42
  %46 = load ptr, ptr %9, align 8, !tbaa !5
  %47 = call noundef zeroext i1 @_ZNK13ImGuiDockNode11IsDockSpaceEv(ptr noundef nonnull align 8 dereferenceable(187) %46)
  br i1 %47, label %48, label %49

48:                                               ; preds = %45, %42
  store i8 1, ptr %8, align 1, !tbaa !9
  br label %49

49:                                               ; preds = %48, %45
  br label %50

50:                                               ; preds = %49, %37
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  br label %51

51:                                               ; preds = %50, %21, %16, %3
  call void @llvm.lifetime.start.p0(i64 1, ptr %10) #5
  %52 = call noundef zeroext i1 @_ZN5ImGui14IsMouseClickedEib(i32 noundef 0, i1 noundef zeroext false)
  %53 = zext i1 %52 to i8
  store i8 %53, ptr %10, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %11) #5
  %54 = load ptr, ptr %7, align 8, !tbaa !5
  %55 = getelementptr inbounds %struct.ImGuiContext, ptr %54, i32 0, i32 3
  %56 = getelementptr inbounds %struct.ImGuiIO, ptr %55, i32 0, i32 9
  %57 = load float, ptr %56, align 8, !tbaa !51
  %58 = fmul float %57, 0x3FFB333340000000
  %59 = call noundef zeroext i1 @_ZN5ImGui15IsMouseDraggingEif(i32 noundef 0, float noundef %58)
  %60 = zext i1 %59 to i8
  store i8 %60, ptr %11, align 1, !tbaa !9
  %61 = load i8, ptr %8, align 1, !tbaa !9, !range !49, !noundef !50
  %62 = trunc i8 %61 to i1
  br i1 %62, label %63, label %69

63:                                               ; preds = %51
  %64 = load i8, ptr %11, align 1, !tbaa !9, !range !49, !noundef !50
  %65 = trunc i8 %64 to i1
  br i1 %65, label %66, label %69

66:                                               ; preds = %63
  %67 = load ptr, ptr %7, align 8, !tbaa !5
  %68 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZN5ImGui26DockContextQueueUndockNodeEP12ImGuiContextP13ImGuiDockNode(ptr noundef %67, ptr noundef %68)
  br label %87

69:                                               ; preds = %63, %51
  %70 = load i8, ptr %8, align 1, !tbaa !9, !range !49, !noundef !50
  %71 = trunc i8 %70 to i1
  br i1 %71, label %86, label %72

72:                                               ; preds = %69
  %73 = load i8, ptr %10, align 1, !tbaa !9, !range !49, !noundef !50
  %74 = trunc i8 %73 to i1
  br i1 %74, label %78, label %75

75:                                               ; preds = %72
  %76 = load i8, ptr %11, align 1, !tbaa !9, !range !49, !noundef !50
  %77 = trunc i8 %76 to i1
  br i1 %77, label %78, label %86

78:                                               ; preds = %75, %72
  %79 = load ptr, ptr %7, align 8, !tbaa !5
  %80 = getelementptr inbounds %struct.ImGuiContext, ptr %79, i32 0, i32 36
  %81 = load ptr, ptr %80, align 8, !tbaa !90
  %82 = load ptr, ptr %4, align 8, !tbaa !5
  %83 = icmp ne ptr %81, %82
  br i1 %83, label %84, label %86

84:                                               ; preds = %78
  %85 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN5ImGui22StartMouseMovingWindowEP11ImGuiWindow(ptr noundef %85)
  br label %86

86:                                               ; preds = %84, %78, %75, %69
  br label %87

87:                                               ; preds = %86, %66
  call void @llvm.lifetime.end.p0(i64 1, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #5
  ret void
}

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN5ImGui14IsMouseClickedEib(i32 noundef, i1 noundef zeroext) #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN5ImGui15IsMouseDraggingEif(i32 noundef, float noundef) #4

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress uwtable "min-legal-vector-width"="64" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { 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 = !{!12, !6, i64 136}
!12 = !{!"_ZTS13ImGuiDockNode", !13, i64 0, !13, i64 4, !13, i64 8, !6, i64 16, !7, i64 24, !14, i64 40, !6, i64 56, !15, i64 64, !15, i64 72, !15, i64 80, !17, i64 88, !18, i64 92, !19, i64 120, !6, i64 128, !6, i64 136, !6, i64 144, !6, i64 152, !13, i64 160, !13, i64 164, !13, i64 168, !13, i64 172, !13, i64 176, !13, i64 180, !13, i64 184, !13, i64 184, !13, i64 184, !10, i64 185, !10, i64 185, !10, i64 185, !10, i64 185, !10, i64 185, !10, i64 185, !10, i64 185, !10, i64 186, !10, i64 186, !10, i64 186, !10, i64 186}
!13 = !{!"int", !7, i64 0}
!14 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !13, i64 0, !13, i64 4, !6, i64 8}
!15 = !{!"_ZTS6ImVec2", !16, i64 0, !16, i64 4}
!16 = !{!"float", !7, i64 0}
!17 = !{!"_ZTS9ImGuiAxis", !7, i64 0}
!18 = !{!"_ZTS16ImGuiWindowClass", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12, !13, i64 16, !13, i64 20, !10, i64 24, !10, i64 25}
!19 = !{!"_ZTS18ImGuiDockNodeState", !7, i64 0}
!20 = !{!21, !13, i64 12}
!21 = !{!"_ZTS11ImGuiWindow", !6, i64 0, !13, i64 8, !13, i64 12, !13, i64 16, !18, i64 20, !6, i64 48, !13, i64 56, !15, i64 60, !13, i64 68, !15, i64 72, !15, i64 80, !15, i64 88, !15, i64 96, !15, i64 104, !15, i64 112, !16, i64 120, !16, i64 124, !13, i64 128, !13, i64 132, !13, i64 136, !15, i64 140, !15, i64 148, !15, i64 156, !15, i64 164, !15, i64 172, !10, i64 180, !10, i64 181, !10, i64 182, !10, i64 183, !10, i64 184, !10, i64 185, !10, i64 186, !10, i64 187, !10, i64 188, !10, i64 189, !10, i64 190, !10, i64 191, !10, i64 192, !7, i64 193, !22, i64 194, !22, i64 196, !22, i64 198, !13, i64 200, !7, i64 204, !7, i64 205, !7, i64 206, !10, i64 207, !13, i64 208, !13, i64 212, !13, i64 216, !13, i64 220, !13, i64 224, !13, i64 228, !13, i64 232, !15, i64 236, !15, i64 244, !23, i64 256, !24, i64 272, !26, i64 600, !26, i64 616, !26, i64 632, !26, i64 648, !26, i64 664, !26, i64 680, !26, i64 696, !32, i64 712, !32, i64 716, !13, i64 720, !13, i64 724, !16, i64 728, !16, i64 732, !33, i64 736, !35, i64 752, !16, i64 768, !16, i64 772, !13, i64 776, !6, i64 784, !36, i64 792, !6, i64 1016, !6, i64 1024, !6, i64 1032, !6, i64 1040, !6, i64 1048, !6, i64 1056, !7, i64 1064, !7, i64 1072, !10, i64 1104, !13, i64 1108, !13, i64 1112, !6, i64 1120, !6, i64 1128, !13, i64 1136, !13, i64 1140, !26, i64 1144, !22, i64 1160, !10, i64 1162, !10, i64 1162, !10, i64 1162}
!22 = !{!"short", !7, i64 0}
!23 = !{!"_ZTS8ImVectorIjE", !13, i64 0, !13, i64 4, !6, i64 8}
!24 = !{!"_ZTS19ImGuiWindowTempData", !15, i64 0, !15, i64 8, !15, i64 16, !15, i64 24, !15, i64 32, !15, i64 40, !16, i64 48, !16, i64 52, !25, i64 56, !25, i64 60, !25, i64 64, !13, i64 68, !13, i64 72, !26, i64 76, !26, i64 92, !27, i64 108, !13, i64 112, !13, i64 116, !13, i64 120, !13, i64 124, !10, i64 128, !10, i64 129, !10, i64 130, !15, i64 132, !28, i64 140, !13, i64 176, !13, i64 180, !14, i64 184, !6, i64 200, !6, i64 208, !13, i64 216, !13, i64 220, !13, i64 224, !13, i64 228, !13, i64 232, !16, i64 236, !16, i64 240, !29, i64 248, !30, i64 264, !30, i64 280, !31, i64 296, !7, i64 312}
!25 = !{!"_ZTS6ImVec1", !16, i64 0}
!26 = !{!"_ZTS6ImRect", !15, i64 0, !15, i64 8}
!27 = !{!"_ZTS13ImGuiNavLayer", !7, i64 0}
!28 = !{!"_ZTS16ImGuiMenuColumns", !16, i64 0, !16, i64 4, !16, i64 8, !7, i64 12, !7, i64 24}
!29 = !{!"_ZTS8ImVectorIiE", !13, i64 0, !13, i64 4, !6, i64 8}
!30 = !{!"_ZTS8ImVectorIfE", !13, i64 0, !13, i64 4, !6, i64 8}
!31 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!32 = !{!"_ZTS8ImVec2ih", !22, i64 0, !22, i64 2}
!33 = !{!"_ZTS12ImGuiStorage", !34, i64 0}
!34 = !{!"_ZTS8ImVectorIN12ImGuiStorage16ImGuiStoragePairEE", !13, i64 0, !13, i64 4, !6, i64 8}
!35 = !{!"_ZTS8ImVectorI12ImGuiColumnsE", !13, i64 0, !13, i64 4, !6, i64 8}
!36 = !{!"_ZTS10ImDrawList", !37, i64 0, !38, i64 16, !39, i64 32, !13, i64 48, !6, i64 56, !6, i64 64, !13, i64 72, !6, i64 80, !6, i64 88, !40, i64 96, !41, i64 112, !42, i64 128, !43, i64 144, !45, i64 200}
!37 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !13, i64 0, !13, i64 4, !6, i64 8}
!38 = !{!"_ZTS8ImVectorItE", !13, i64 0, !13, i64 4, !6, i64 8}
!39 = !{!"_ZTS8ImVectorI10ImDrawVertE", !13, i64 0, !13, i64 4, !6, i64 8}
!40 = !{!"_ZTS8ImVectorI6ImVec4E", !13, i64 0, !13, i64 4, !6, i64 8}
!41 = !{!"_ZTS8ImVectorIPvE", !13, i64 0, !13, i64 4, !6, i64 8}
!42 = !{!"_ZTS8ImVectorI6ImVec2E", !13, i64 0, !13, i64 4, !6, i64 8}
!43 = !{!"_ZTS9ImDrawCmd", !44, i64 0, !6, i64 16, !13, i64 24, !13, i64 28, !13, i64 32, !6, i64 40, !6, i64 48}
!44 = !{!"_ZTS6ImVec4", !16, i64 0, !16, i64 4, !16, i64 8, !16, i64 12}
!45 = !{!"_ZTS18ImDrawListSplitter", !13, i64 0, !13, i64 4, !46, i64 8}
!46 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !13, i64 0, !13, i64 4, !6, i64 8}
!47 = !{!12, !6, i64 152}
!48 = !{!12, !6, i64 144}
!49 = !{i8 0, i8 2}
!50 = !{}
!51 = !{!52, !16, i64 56}
!52 = !{!"_ZTS12ImGuiContext", !10, i64 0, !10, i64 1, !53, i64 8, !54, i64 5472, !57, i64 5704, !13, i64 6692, !13, i64 6696, !6, i64 6704, !16, i64 6712, !16, i64 6716, !58, i64 6720, !59, i64 6936, !13, i64 6944, !13, i64 6948, !13, i64 6952, !13, i64 6956, !10, i64 6960, !10, i64 6961, !10, i64 6962, !10, i64 6963, !13, i64 6964, !6, i64 6968, !14, i64 6976, !14, i64 6992, !14, i64 7008, !14, i64 7024, !33, i64 7040, !13, i64 7056, !6, i64 7064, !6, i64 7072, !6, i64 7080, !6, i64 7088, !6, i64 7096, !6, i64 7104, !6, i64 7112, !15, i64 7120, !16, i64 7128, !13, i64 7132, !13, i64 7136, !10, i64 7140, !10, i64 7141, !16, i64 7144, !16, i64 7148, !13, i64 7152, !13, i64 7156, !16, i64 7160, !10, i64 7164, !10, i64 7165, !10, i64 7166, !10, i64 7167, !10, i64 7168, !10, i64 7169, !13, i64 7172, !13, i64 7176, !60, i64 7184, !15, i64 7192, !6, i64 7200, !61, i64 7208, !13, i64 7212, !13, i64 7216, !10, i64 7220, !10, i64 7221, !6, i64 7224, !13, i64 7232, !16, i64 7236, !62, i64 7240, !63, i64 7384, !64, i64 7408, !65, i64 7424, !66, i64 7440, !67, i64 7456, !67, i64 7472, !68, i64 7488, !16, i64 7504, !6, i64 7512, !6, i64 7520, !6, i64 7528, !13, i64 7536, !13, i64 7540, !6, i64 7544, !13, i64 7552, !13, i64 7556, !13, i64 7560, !13, i64 7564, !13, i64 7568, !13, i64 7572, !13, i64 7576, !13, i64 7580, !13, i64 7584, !13, i64 7588, !13, i64 7592, !61, i64 7596, !26, i64 7600, !13, i64 7616, !27, i64 7620, !13, i64 7624, !10, i64 7628, !10, i64 7629, !10, i64 7630, !10, i64 7631, !10, i64 7632, !10, i64 7633, !10, i64 7634, !13, i64 7636, !26, i64 7640, !10, i64 7656, !10, i64 7657, !13, i64 7660, !69, i64 7664, !13, i64 7668, !13, i64 7672, !13, i64 7676, !13, i64 7680, !70, i64 7688, !70, i64 7736, !70, i64 7784, !6, i64 7832, !13, i64 7840, !6, i64 7848, !6, i64 7856, !6, i64 7864, !16, i64 7872, !16, i64 7876, !10, i64 7880, !6, i64 7888, !6, i64 7896, !13, i64 7904, !13, i64 7908, !13, i64 7912, !13, i64 7916, !10, i64 7920, !16, i64 7924, !13, i64 7928, !10, i64 7932, !10, i64 7933, !10, i64 7934, !13, i64 7936, !13, i64 7940, !13, i64 7944, !71, i64 7952, !26, i64 8016, !13, i64 8032, !13, i64 8036, !16, i64 8040, !13, i64 8044, !13, i64 8048, !13, i64 8052, !13, i64 8056, !72, i64 8064, !7, i64 8080, !6, i64 8096, !73, i64 8104, !75, i64 8144, !76, i64 8160, !15, i64 8176, !77, i64 8184, !81, i64 11912, !13, i64 12032, !13, i64 12036, !16, i64 12040, !16, i64 12044, !7, i64 12048, !44, i64 12060, !16, i64 12076, !10, i64 12080, !10, i64 12081, !16, i64 12084, !16, i64 12088, !16, i64 12092, !13, i64 12096, !78, i64 12104, !23, i64 12120, !15, i64 12136, !15, i64 12144, !6, i64 12152, !83, i64 12160, !10, i64 12216, !16, i64 12220, !86, i64 12224, !87, i64 12240, !88, i64 12256, !10, i64 12272, !89, i64 12276, !6, i64 12280, !86, i64 12288, !16, i64 12304, !10, i64 12308, !13, i64 12312, !13, i64 12316, !13, i64 12320, !10, i64 12324, !13, i64 12328, !7, i64 12332, !13, i64 12812, !16, i64 12816, !13, i64 12820, !13, i64 12824, !13, i64 12828, !7, i64 12832}
!53 = !{!"_ZTS7ImGuiIO", !13, i64 0, !13, i64 4, !15, i64 8, !16, i64 16, !16, i64 20, !6, i64 24, !6, i64 32, !16, i64 40, !16, i64 44, !16, i64 48, !7, i64 52, !16, i64 140, !16, i64 144, !6, i64 152, !6, i64 160, !16, i64 168, !10, i64 172, !6, i64 176, !15, i64 184, !10, i64 192, !10, i64 193, !10, i64 194, !10, i64 195, !10, i64 196, !10, i64 197, !10, i64 198, !10, i64 199, !10, i64 200, !10, i64 201, !10, i64 202, !10, i64 203, !10, i64 204, !16, i64 208, !6, i64 216, !6, i64 224, !6, i64 232, !6, i64 240, !6, i64 248, !6, i64 256, !6, i64 264, !6, i64 272, !6, i64 280, !15, i64 288, !7, i64 296, !16, i64 304, !16, i64 308, !13, i64 312, !10, i64 316, !10, i64 317, !10, i64 318, !10, i64 319, !7, i64 320, !7, i64 832, !10, i64 916, !10, i64 917, !10, i64 918, !10, i64 919, !10, i64 920, !10, i64 921, !10, i64 922, !16, i64 924, !13, i64 928, !13, i64 932, !13, i64 936, !13, i64 940, !13, i64 944, !15, i64 948, !13, i64 956, !15, i64 960, !7, i64 968, !7, i64 1008, !7, i64 1048, !7, i64 1053, !7, i64 1058, !7, i64 1063, !7, i64 1068, !7, i64 1076, !7, i64 1096, !7, i64 1116, !7, i64 1156, !7, i64 1176, !7, i64 3224, !7, i64 5272, !7, i64 5356, !16, i64 5440, !22, i64 5444, !38, i64 5448}
!54 = !{!"_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, !6, i64 184, !55, i64 192, !6, i64 208, !56, i64 216}
!55 = !{!"_ZTS8ImVectorI20ImGuiPlatformMonitorE", !13, i64 0, !13, i64 4, !6, i64 8}
!56 = !{!"_ZTS8ImVectorIP13ImGuiViewportE", !13, i64 0, !13, i64 4, !6, i64 8}
!57 = !{!"_ZTS10ImGuiStyle", !16, i64 0, !15, i64 4, !16, i64 12, !16, i64 16, !15, i64 20, !15, i64 28, !13, i64 36, !16, i64 40, !16, i64 44, !16, i64 48, !16, i64 52, !15, i64 56, !16, i64 64, !16, i64 68, !15, i64 72, !15, i64 80, !15, i64 88, !16, i64 96, !16, i64 100, !16, i64 104, !16, i64 108, !16, i64 112, !16, i64 116, !16, i64 120, !16, i64 124, !16, i64 128, !16, i64 132, !13, i64 136, !15, i64 140, !15, i64 148, !15, i64 156, !15, i64 164, !16, i64 172, !10, i64 176, !10, i64 177, !10, i64 178, !16, i64 180, !16, i64 184, !7, i64 188}
!58 = !{!"_ZTS20ImDrawListSharedData", !15, i64 0, !6, i64 8, !16, i64 16, !16, i64 20, !16, i64 24, !44, i64 28, !13, i64 44, !7, i64 48, !7, i64 144, !6, i64 208}
!59 = !{!"double", !7, i64 0}
!60 = !{!"long long", !7, i64 0}
!61 = !{!"_ZTS16ImGuiInputSource", !7, i64 0}
!62 = !{!"_ZTS19ImGuiNextWindowData", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12, !13, i64 16, !15, i64 20, !15, i64 28, !15, i64 36, !15, i64 44, !15, i64 52, !10, i64 60, !10, i64 61, !26, i64 64, !6, i64 80, !6, i64 88, !16, i64 96, !13, i64 100, !13, i64 104, !18, i64 108, !15, i64 136}
!63 = !{!"_ZTS17ImGuiNextItemData", !13, i64 0, !16, i64 4, !13, i64 8, !13, i64 12, !10, i64 16}
!64 = !{!"_ZTS8ImVectorI13ImGuiColorModE", !13, i64 0, !13, i64 4, !6, i64 8}
!65 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !13, i64 0, !13, i64 4, !6, i64 8}
!66 = !{!"_ZTS8ImVectorIP6ImFontE", !13, i64 0, !13, i64 4, !6, i64 8}
!67 = !{!"_ZTS8ImVectorI14ImGuiPopupDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!68 = !{!"_ZTS8ImVectorIP14ImGuiViewportPE", !13, i64 0, !13, i64 4, !6, i64 8}
!69 = !{!"_ZTS15ImGuiNavForward", !7, i64 0}
!70 = !{!"_ZTS18ImGuiNavMoveResult", !6, i64 0, !13, i64 8, !13, i64 12, !16, i64 16, !16, i64 20, !16, i64 24, !26, i64 28}
!71 = !{!"_ZTS12ImGuiPayload", !6, i64 0, !13, i64 8, !13, i64 12, !13, i64 16, !13, i64 20, !7, i64 24, !10, i64 57, !10, i64 58}
!72 = !{!"_ZTS8ImVectorIhE", !13, i64 0, !13, i64 4, !6, i64 8}
!73 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !74, i64 0, !33, i64 16, !13, i64 32}
!74 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !13, i64 0, !13, i64 4, !6, i64 8}
!75 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !13, i64 0, !13, i64 4, !6, i64 8}
!76 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !13, i64 0, !13, i64 4, !6, i64 8}
!77 = !{!"_ZTS19ImGuiInputTextState", !13, i64 0, !13, i64 4, !13, i64 8, !38, i64 16, !78, i64 32, !78, i64 48, !10, i64 64, !13, i64 68, !16, i64 72, !79, i64 76, !16, i64 3696, !10, i64 3700, !10, i64 3701, !10, i64 3702, !13, i64 3704, !6, i64 3712, !6, i64 3720}
!78 = !{!"_ZTS8ImVectorIcE", !13, i64 0, !13, i64 4, !6, i64 8}
!79 = !{!"_ZTSN5ImStb17STB_TexteditStateE", !13, i64 0, !13, i64 4, !13, i64 8, !7, i64 12, !7, i64 13, !7, i64 14, !7, i64 15, !7, i64 16, !7, i64 17, !7, i64 18, !7, i64 19, !16, i64 20, !80, i64 24}
!80 = !{!"_ZTSN5ImStb12StbUndoStateE", !7, i64 0, !7, i64 1584, !22, i64 3582, !22, i64 3584, !13, i64 3588, !13, i64 3592}
!81 = !{!"_ZTS6ImFont", !30, i64 0, !16, i64 16, !16, i64 20, !38, i64 24, !82, i64 40, !6, i64 56, !15, i64 64, !6, i64 72, !6, i64 80, !22, i64 88, !22, i64 90, !22, i64 92, !10, i64 94, !16, i64 96, !16, i64 100, !16, i64 104, !13, i64 108, !7, i64 112}
!82 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !13, i64 0, !13, i64 4, !6, i64 8}
!83 = !{!"_ZTS16ImGuiDockContext", !33, i64 0, !84, i64 16, !85, i64 32, !10, i64 48}
!84 = !{!"_ZTS8ImVectorI16ImGuiDockRequestE", !13, i64 0, !13, i64 4, !6, i64 8}
!85 = !{!"_ZTS8ImVectorI21ImGuiDockNodeSettingsE", !13, i64 0, !13, i64 4, !6, i64 8}
!86 = !{!"_ZTS15ImGuiTextBuffer", !78, i64 0}
!87 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !13, i64 0, !13, i64 4, !6, i64 8}
!88 = !{!"_ZTS13ImChunkStreamI19ImGuiWindowSettingsE", !78, i64 0}
!89 = !{!"_ZTS12ImGuiLogType", !7, i64 0}
!90 = !{!52, !6, i64 7104}


; 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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN5ImGui28StartMouseMovingWindowOrNodeEP11ImGuiWindowP13ImGuiDockNodeb(ptr noundef %0, ptr noundef %1, i1 noundef zeroext %2) local_unnamed_addr #1 {
  %4 = load ptr, ptr @GImGui, align 8, !tbaa !5
  %.not = icmp eq ptr %1, null
  br i1 %.not, label %24, label %5

5:                                                ; preds = %3
  %6 = getelementptr inbounds i8, ptr %1, i64 136
  %7 = load ptr, ptr %6, align 8, !tbaa !9
  %.not22 = icmp eq ptr %7, null
  br i1 %.not22, label %24, label %8

8:                                                ; preds = %5
  %9 = getelementptr inbounds i8, ptr %7, i64 12
  %10 = load i32, ptr %9, align 4, !tbaa !19
  %11 = and i32 %10, 4
  %12 = icmp eq i32 %11, 0
  br i1 %12, label %13, label %24

13:                                               ; preds = %8
  %14 = tail call noundef ptr @_ZN5ImGui19DockNodeGetRootNodeEP13ImGuiDockNode(ptr noundef nonnull %1)
  %15 = getelementptr inbounds i8, ptr %14, i64 152
  %16 = load ptr, ptr %15, align 8, !tbaa !46
  %.not23 = icmp eq ptr %16, %1
  br i1 %.not23, label %17, label %20

17:                                               ; preds = %13
  %18 = getelementptr inbounds i8, ptr %14, i64 144
  %19 = load ptr, ptr %18, align 8, !tbaa !47
  %.not24 = icmp eq ptr %19, null
  br i1 %.not24, label %24, label %20

20:                                               ; preds = %17, %13
  br i1 %2, label %23, label %21

21:                                               ; preds = %20
  %22 = tail call noundef zeroext i1 @_ZNK13ImGuiDockNode11IsDockSpaceEv(ptr noundef nonnull align 8 dereferenceable(187) %14)
  br i1 %22, label %23, label %24

23:                                               ; preds = %21, %20
  br label %24

24:                                               ; preds = %17, %23, %21, %8, %5, %3
  %.1.not = phi i1 [ true, %8 ], [ true, %5 ], [ true, %3 ], [ false, %23 ], [ true, %21 ], [ true, %17 ]
  %25 = tail call noundef zeroext i1 @_ZN5ImGui14IsMouseClickedEib(i32 noundef 0, i1 noundef zeroext false)
  %26 = getelementptr inbounds i8, ptr %4, i64 56
  %27 = load float, ptr %26, align 8, !tbaa !48
  %28 = fmul float %27, 0x3FFB333340000000
  %29 = tail call noundef zeroext i1 @_ZN5ImGui15IsMouseDraggingEif(i32 noundef 0, float noundef %28)
  %.not26 = xor i1 %29, true
  %brmerge = or i1 %.1.not, %.not26
  br i1 %brmerge, label %31, label %30

30:                                               ; preds = %24
  tail call void @_ZN5ImGui26DockContextQueueUndockNodeEP12ImGuiContextP13ImGuiDockNode(ptr noundef nonnull %4, ptr noundef %1)
  br label %36

31:                                               ; preds = %24
  %brmerge27 = or i1 %25, %29
  %or.cond = and i1 %.1.not, %brmerge27
  br i1 %or.cond, label %32, label %36

32:                                               ; preds = %31
  %33 = getelementptr inbounds i8, ptr %4, i64 7104
  %34 = load ptr, ptr %33, align 8, !tbaa !87
  %.not25 = icmp eq ptr %34, %0
  br i1 %.not25, label %36, label %35

35:                                               ; preds = %32
  tail call void @_ZN5ImGui22StartMouseMovingWindowEP11ImGuiWindow(ptr noundef %0)
  br label %36

36:                                               ; preds = %31, %32, %35, %30
  ret void
}

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN5ImGui14IsMouseClickedEib(i32 noundef, i1 noundef zeroext) local_unnamed_addr #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN5ImGui15IsMouseDraggingEif(i32 noundef, float noundef) local_unnamed_addr #3

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

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

!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, !6, i64 136}
!10 = !{!"_ZTS13ImGuiDockNode", !11, i64 0, !11, i64 4, !11, i64 8, !6, i64 16, !7, i64 24, !12, i64 40, !6, i64 56, !13, i64 64, !13, i64 72, !13, i64 80, !15, i64 88, !16, i64 92, !18, i64 120, !6, i64 128, !6, i64 136, !6, i64 144, !6, i64 152, !11, i64 160, !11, i64 164, !11, i64 168, !11, i64 172, !11, i64 176, !11, i64 180, !11, i64 184, !11, i64 184, !11, i64 184, !17, i64 185, !17, i64 185, !17, i64 185, !17, i64 185, !17, i64 185, !17, i64 185, !17, i64 185, !17, i64 186, !17, i64 186, !17, i64 186, !17, i64 186}
!11 = !{!"int", !7, i64 0}
!12 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !11, i64 0, !11, i64 4, !6, i64 8}
!13 = !{!"_ZTS6ImVec2", !14, i64 0, !14, i64 4}
!14 = !{!"float", !7, i64 0}
!15 = !{!"_ZTS9ImGuiAxis", !7, i64 0}
!16 = !{!"_ZTS16ImGuiWindowClass", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12, !11, i64 16, !11, i64 20, !17, i64 24, !17, i64 25}
!17 = !{!"bool", !7, i64 0}
!18 = !{!"_ZTS18ImGuiDockNodeState", !7, i64 0}
!19 = !{!20, !11, i64 12}
!20 = !{!"_ZTS11ImGuiWindow", !6, i64 0, !11, i64 8, !11, i64 12, !11, i64 16, !16, i64 20, !6, i64 48, !11, i64 56, !13, i64 60, !11, i64 68, !13, i64 72, !13, i64 80, !13, i64 88, !13, i64 96, !13, i64 104, !13, i64 112, !14, i64 120, !14, i64 124, !11, i64 128, !11, i64 132, !11, i64 136, !13, i64 140, !13, i64 148, !13, i64 156, !13, i64 164, !13, i64 172, !17, i64 180, !17, i64 181, !17, i64 182, !17, i64 183, !17, i64 184, !17, i64 185, !17, i64 186, !17, i64 187, !17, i64 188, !17, i64 189, !17, i64 190, !17, i64 191, !17, i64 192, !7, i64 193, !21, i64 194, !21, i64 196, !21, i64 198, !11, i64 200, !7, i64 204, !7, i64 205, !7, i64 206, !17, i64 207, !11, i64 208, !11, i64 212, !11, i64 216, !11, i64 220, !11, i64 224, !11, i64 228, !11, i64 232, !13, i64 236, !13, i64 244, !22, i64 256, !23, i64 272, !25, i64 600, !25, i64 616, !25, i64 632, !25, i64 648, !25, i64 664, !25, i64 680, !25, i64 696, !31, i64 712, !31, i64 716, !11, i64 720, !11, i64 724, !14, i64 728, !14, i64 732, !32, i64 736, !34, i64 752, !14, i64 768, !14, i64 772, !11, i64 776, !6, i64 784, !35, i64 792, !6, i64 1016, !6, i64 1024, !6, i64 1032, !6, i64 1040, !6, i64 1048, !6, i64 1056, !7, i64 1064, !7, i64 1072, !17, i64 1104, !11, i64 1108, !11, i64 1112, !6, i64 1120, !6, i64 1128, !11, i64 1136, !11, i64 1140, !25, i64 1144, !21, i64 1160, !17, i64 1162, !17, i64 1162, !17, i64 1162}
!21 = !{!"short", !7, i64 0}
!22 = !{!"_ZTS8ImVectorIjE", !11, i64 0, !11, i64 4, !6, i64 8}
!23 = !{!"_ZTS19ImGuiWindowTempData", !13, i64 0, !13, i64 8, !13, i64 16, !13, i64 24, !13, i64 32, !13, i64 40, !14, i64 48, !14, i64 52, !24, i64 56, !24, i64 60, !24, i64 64, !11, i64 68, !11, i64 72, !25, i64 76, !25, i64 92, !26, i64 108, !11, i64 112, !11, i64 116, !11, i64 120, !11, i64 124, !17, i64 128, !17, i64 129, !17, i64 130, !13, i64 132, !27, i64 140, !11, i64 176, !11, i64 180, !12, i64 184, !6, i64 200, !6, i64 208, !11, i64 216, !11, i64 220, !11, i64 224, !11, i64 228, !11, i64 232, !14, i64 236, !14, i64 240, !28, i64 248, !29, i64 264, !29, i64 280, !30, i64 296, !7, i64 312}
!24 = !{!"_ZTS6ImVec1", !14, i64 0}
!25 = !{!"_ZTS6ImRect", !13, i64 0, !13, i64 8}
!26 = !{!"_ZTS13ImGuiNavLayer", !7, i64 0}
!27 = !{!"_ZTS16ImGuiMenuColumns", !14, i64 0, !14, i64 4, !14, i64 8, !7, i64 12, !7, i64 24}
!28 = !{!"_ZTS8ImVectorIiE", !11, i64 0, !11, i64 4, !6, i64 8}
!29 = !{!"_ZTS8ImVectorIfE", !11, i64 0, !11, i64 4, !6, i64 8}
!30 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !11, i64 0, !11, i64 4, !6, i64 8}
!31 = !{!"_ZTS8ImVec2ih", !21, i64 0, !21, i64 2}
!32 = !{!"_ZTS12ImGuiStorage", !33, i64 0}
!33 = !{!"_ZTS8ImVectorIN12ImGuiStorage16ImGuiStoragePairEE", !11, i64 0, !11, i64 4, !6, i64 8}
!34 = !{!"_ZTS8ImVectorI12ImGuiColumnsE", !11, i64 0, !11, i64 4, !6, i64 8}
!35 = !{!"_ZTS10ImDrawList", !36, i64 0, !37, i64 16, !38, i64 32, !11, i64 48, !6, i64 56, !6, i64 64, !11, i64 72, !6, i64 80, !6, i64 88, !39, i64 96, !40, i64 112, !41, i64 128, !42, i64 144, !44, i64 200}
!36 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !11, i64 0, !11, i64 4, !6, i64 8}
!37 = !{!"_ZTS8ImVectorItE", !11, i64 0, !11, i64 4, !6, i64 8}
!38 = !{!"_ZTS8ImVectorI10ImDrawVertE", !11, i64 0, !11, i64 4, !6, i64 8}
!39 = !{!"_ZTS8ImVectorI6ImVec4E", !11, i64 0, !11, i64 4, !6, i64 8}
!40 = !{!"_ZTS8ImVectorIPvE", !11, i64 0, !11, i64 4, !6, i64 8}
!41 = !{!"_ZTS8ImVectorI6ImVec2E", !11, i64 0, !11, i64 4, !6, i64 8}
!42 = !{!"_ZTS9ImDrawCmd", !43, i64 0, !6, i64 16, !11, i64 24, !11, i64 28, !11, i64 32, !6, i64 40, !6, i64 48}
!43 = !{!"_ZTS6ImVec4", !14, i64 0, !14, i64 4, !14, i64 8, !14, i64 12}
!44 = !{!"_ZTS18ImDrawListSplitter", !11, i64 0, !11, i64 4, !45, i64 8}
!45 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !11, i64 0, !11, i64 4, !6, i64 8}
!46 = !{!10, !6, i64 152}
!47 = !{!10, !6, i64 144}
!48 = !{!49, !14, i64 56}
!49 = !{!"_ZTS12ImGuiContext", !17, i64 0, !17, i64 1, !50, i64 8, !51, i64 5472, !54, i64 5704, !11, i64 6692, !11, i64 6696, !6, i64 6704, !14, i64 6712, !14, i64 6716, !55, i64 6720, !56, i64 6936, !11, i64 6944, !11, i64 6948, !11, i64 6952, !11, i64 6956, !17, i64 6960, !17, i64 6961, !17, i64 6962, !17, i64 6963, !11, i64 6964, !6, i64 6968, !12, i64 6976, !12, i64 6992, !12, i64 7008, !12, i64 7024, !32, i64 7040, !11, i64 7056, !6, i64 7064, !6, i64 7072, !6, i64 7080, !6, i64 7088, !6, i64 7096, !6, i64 7104, !6, i64 7112, !13, i64 7120, !14, i64 7128, !11, i64 7132, !11, i64 7136, !17, i64 7140, !17, i64 7141, !14, i64 7144, !14, i64 7148, !11, i64 7152, !11, i64 7156, !14, i64 7160, !17, i64 7164, !17, i64 7165, !17, i64 7166, !17, i64 7167, !17, i64 7168, !17, i64 7169, !11, i64 7172, !11, i64 7176, !57, i64 7184, !13, i64 7192, !6, i64 7200, !58, i64 7208, !11, i64 7212, !11, i64 7216, !17, i64 7220, !17, i64 7221, !6, i64 7224, !11, i64 7232, !14, i64 7236, !59, i64 7240, !60, i64 7384, !61, i64 7408, !62, i64 7424, !63, i64 7440, !64, i64 7456, !64, i64 7472, !65, i64 7488, !14, i64 7504, !6, i64 7512, !6, i64 7520, !6, i64 7528, !11, i64 7536, !11, i64 7540, !6, i64 7544, !11, i64 7552, !11, i64 7556, !11, i64 7560, !11, i64 7564, !11, i64 7568, !11, i64 7572, !11, i64 7576, !11, i64 7580, !11, i64 7584, !11, i64 7588, !11, i64 7592, !58, i64 7596, !25, i64 7600, !11, i64 7616, !26, i64 7620, !11, i64 7624, !17, i64 7628, !17, i64 7629, !17, i64 7630, !17, i64 7631, !17, i64 7632, !17, i64 7633, !17, i64 7634, !11, i64 7636, !25, i64 7640, !17, i64 7656, !17, i64 7657, !11, i64 7660, !66, i64 7664, !11, i64 7668, !11, i64 7672, !11, i64 7676, !11, i64 7680, !67, i64 7688, !67, i64 7736, !67, i64 7784, !6, i64 7832, !11, i64 7840, !6, i64 7848, !6, i64 7856, !6, i64 7864, !14, i64 7872, !14, i64 7876, !17, i64 7880, !6, i64 7888, !6, i64 7896, !11, i64 7904, !11, i64 7908, !11, i64 7912, !11, i64 7916, !17, i64 7920, !14, i64 7924, !11, i64 7928, !17, i64 7932, !17, i64 7933, !17, i64 7934, !11, i64 7936, !11, i64 7940, !11, i64 7944, !68, i64 7952, !25, i64 8016, !11, i64 8032, !11, i64 8036, !14, i64 8040, !11, i64 8044, !11, i64 8048, !11, i64 8052, !11, i64 8056, !69, i64 8064, !7, i64 8080, !6, i64 8096, !70, i64 8104, !72, i64 8144, !73, i64 8160, !13, i64 8176, !74, i64 8184, !78, i64 11912, !11, i64 12032, !11, i64 12036, !14, i64 12040, !14, i64 12044, !7, i64 12048, !43, i64 12060, !14, i64 12076, !17, i64 12080, !17, i64 12081, !14, i64 12084, !14, i64 12088, !14, i64 12092, !11, i64 12096, !75, i64 12104, !22, i64 12120, !13, i64 12136, !13, i64 12144, !6, i64 12152, !80, i64 12160, !17, i64 12216, !14, i64 12220, !83, i64 12224, !84, i64 12240, !85, i64 12256, !17, i64 12272, !86, i64 12276, !6, i64 12280, !83, i64 12288, !14, i64 12304, !17, i64 12308, !11, i64 12312, !11, i64 12316, !11, i64 12320, !17, i64 12324, !11, i64 12328, !7, i64 12332, !11, i64 12812, !14, i64 12816, !11, i64 12820, !11, i64 12824, !11, i64 12828, !7, i64 12832}
!50 = !{!"_ZTS7ImGuiIO", !11, i64 0, !11, i64 4, !13, i64 8, !14, i64 16, !14, i64 20, !6, i64 24, !6, i64 32, !14, i64 40, !14, i64 44, !14, i64 48, !7, i64 52, !14, i64 140, !14, i64 144, !6, i64 152, !6, i64 160, !14, i64 168, !17, i64 172, !6, i64 176, !13, i64 184, !17, i64 192, !17, i64 193, !17, i64 194, !17, i64 195, !17, i64 196, !17, i64 197, !17, i64 198, !17, i64 199, !17, i64 200, !17, i64 201, !17, i64 202, !17, i64 203, !17, i64 204, !14, i64 208, !6, i64 216, !6, i64 224, !6, i64 232, !6, i64 240, !6, i64 248, !6, i64 256, !6, i64 264, !6, i64 272, !6, i64 280, !13, i64 288, !7, i64 296, !14, i64 304, !14, i64 308, !11, i64 312, !17, i64 316, !17, i64 317, !17, i64 318, !17, i64 319, !7, i64 320, !7, i64 832, !17, i64 916, !17, i64 917, !17, i64 918, !17, i64 919, !17, i64 920, !17, i64 921, !17, i64 922, !14, i64 924, !11, i64 928, !11, i64 932, !11, i64 936, !11, i64 940, !11, i64 944, !13, i64 948, !11, i64 956, !13, i64 960, !7, i64 968, !7, i64 1008, !7, i64 1048, !7, i64 1053, !7, i64 1058, !7, i64 1063, !7, i64 1068, !7, i64 1076, !7, i64 1096, !7, i64 1116, !7, i64 1156, !7, i64 1176, !7, i64 3224, !7, i64 5272, !7, i64 5356, !14, i64 5440, !21, i64 5444, !37, i64 5448}
!51 = !{!"_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, !6, i64 184, !52, i64 192, !6, i64 208, !53, i64 216}
!52 = !{!"_ZTS8ImVectorI20ImGuiPlatformMonitorE", !11, i64 0, !11, i64 4, !6, i64 8}
!53 = !{!"_ZTS8ImVectorIP13ImGuiViewportE", !11, i64 0, !11, i64 4, !6, i64 8}
!54 = !{!"_ZTS10ImGuiStyle", !14, i64 0, !13, i64 4, !14, i64 12, !14, i64 16, !13, i64 20, !13, i64 28, !11, i64 36, !14, i64 40, !14, i64 44, !14, i64 48, !14, i64 52, !13, i64 56, !14, i64 64, !14, i64 68, !13, i64 72, !13, i64 80, !13, i64 88, !14, i64 96, !14, i64 100, !14, i64 104, !14, i64 108, !14, i64 112, !14, i64 116, !14, i64 120, !14, i64 124, !14, i64 128, !14, i64 132, !11, i64 136, !13, i64 140, !13, i64 148, !13, i64 156, !13, i64 164, !14, i64 172, !17, i64 176, !17, i64 177, !17, i64 178, !14, i64 180, !14, i64 184, !7, i64 188}
!55 = !{!"_ZTS20ImDrawListSharedData", !13, i64 0, !6, i64 8, !14, i64 16, !14, i64 20, !14, i64 24, !43, i64 28, !11, i64 44, !7, i64 48, !7, i64 144, !6, i64 208}
!56 = !{!"double", !7, i64 0}
!57 = !{!"long long", !7, i64 0}
!58 = !{!"_ZTS16ImGuiInputSource", !7, i64 0}
!59 = !{!"_ZTS19ImGuiNextWindowData", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12, !11, i64 16, !13, i64 20, !13, i64 28, !13, i64 36, !13, i64 44, !13, i64 52, !17, i64 60, !17, i64 61, !25, i64 64, !6, i64 80, !6, i64 88, !14, i64 96, !11, i64 100, !11, i64 104, !16, i64 108, !13, i64 136}
!60 = !{!"_ZTS17ImGuiNextItemData", !11, i64 0, !14, i64 4, !11, i64 8, !11, i64 12, !17, i64 16}
!61 = !{!"_ZTS8ImVectorI13ImGuiColorModE", !11, i64 0, !11, i64 4, !6, i64 8}
!62 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !11, i64 0, !11, i64 4, !6, i64 8}
!63 = !{!"_ZTS8ImVectorIP6ImFontE", !11, i64 0, !11, i64 4, !6, i64 8}
!64 = !{!"_ZTS8ImVectorI14ImGuiPopupDataE", !11, i64 0, !11, i64 4, !6, i64 8}
!65 = !{!"_ZTS8ImVectorIP14ImGuiViewportPE", !11, i64 0, !11, i64 4, !6, i64 8}
!66 = !{!"_ZTS15ImGuiNavForward", !7, i64 0}
!67 = !{!"_ZTS18ImGuiNavMoveResult", !6, i64 0, !11, i64 8, !11, i64 12, !14, i64 16, !14, i64 20, !14, i64 24, !25, i64 28}
!68 = !{!"_ZTS12ImGuiPayload", !6, i64 0, !11, i64 8, !11, i64 12, !11, i64 16, !11, i64 20, !7, i64 24, !17, i64 57, !17, i64 58}
!69 = !{!"_ZTS8ImVectorIhE", !11, i64 0, !11, i64 4, !6, i64 8}
!70 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !71, i64 0, !32, i64 16, !11, i64 32}
!71 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !11, i64 0, !11, i64 4, !6, i64 8}
!72 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !11, i64 0, !11, i64 4, !6, i64 8}
!73 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !11, i64 0, !11, i64 4, !6, i64 8}
!74 = !{!"_ZTS19ImGuiInputTextState", !11, i64 0, !11, i64 4, !11, i64 8, !37, i64 16, !75, i64 32, !75, i64 48, !17, i64 64, !11, i64 68, !14, i64 72, !76, i64 76, !14, i64 3696, !17, i64 3700, !17, i64 3701, !17, i64 3702, !11, i64 3704, !6, i64 3712, !6, i64 3720}
!75 = !{!"_ZTS8ImVectorIcE", !11, i64 0, !11, i64 4, !6, i64 8}
!76 = !{!"_ZTSN5ImStb17STB_TexteditStateE", !11, i64 0, !11, i64 4, !11, i64 8, !7, i64 12, !7, i64 13, !7, i64 14, !7, i64 15, !7, i64 16, !7, i64 17, !7, i64 18, !7, i64 19, !14, i64 20, !77, i64 24}
!77 = !{!"_ZTSN5ImStb12StbUndoStateE", !7, i64 0, !7, i64 1584, !21, i64 3582, !21, i64 3584, !11, i64 3588, !11, i64 3592}
!78 = !{!"_ZTS6ImFont", !29, i64 0, !14, i64 16, !14, i64 20, !37, i64 24, !79, i64 40, !6, i64 56, !13, i64 64, !6, i64 72, !6, i64 80, !21, i64 88, !21, i64 90, !21, i64 92, !17, i64 94, !14, i64 96, !14, i64 100, !14, i64 104, !11, i64 108, !7, i64 112}
!79 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !11, i64 0, !11, i64 4, !6, i64 8}
!80 = !{!"_ZTS16ImGuiDockContext", !32, i64 0, !81, i64 16, !82, i64 32, !17, i64 48}
!81 = !{!"_ZTS8ImVectorI16ImGuiDockRequestE", !11, i64 0, !11, i64 4, !6, i64 8}
!82 = !{!"_ZTS8ImVectorI21ImGuiDockNodeSettingsE", !11, i64 0, !11, i64 4, !6, i64 8}
!83 = !{!"_ZTS15ImGuiTextBuffer", !75, i64 0}
!84 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !11, i64 0, !11, i64 4, !6, i64 8}
!85 = !{!"_ZTS13ImChunkStreamI19ImGuiWindowSettingsE", !75, i64 0}
!86 = !{!"_ZTS12ImGuiLogType", !7, i64 0}
!87 = !{!49, !6, i64 7104}


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