; LLVM IR from Overload-Technologies/Overload :: Dependencies/ImGui/src/imgui.ll (ZN5ImGui31UpdateMouseMovingWindowEndFrameEv)

; 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.ImRect = type { %struct.ImVec2, %struct.ImVec2 }
%struct.ImVec2 = type { float, float }
%struct.ImGuiContext = type { i8, i8, %struct.ImGuiIO, %struct.ImGuiPlatformIO, %struct.ImGuiStyle, i32, i32, ptr, float, float, float, float, %struct.ImDrawListSharedData, double, i32, i32, i32, i32, i32, i8, i8, i8, i8, ptr, [16 x i8], %struct.ImVector.3, %struct.ImVector.3, i32, i32, %struct.ImVector.4, %struct.ImVector.4, %struct.ImVector.4, %struct.ImVector.5, %struct.ImGuiStorage, i32, float, i32, ptr, ptr, ptr, ptr, ptr, ptr, %struct.ImVec2, i32, i32, float, %struct.ImVec2, %struct.ImVec2, i32, i32, i32, i32, i32, float, float, i8, i8, i8, i32, i32, float, i8, i8, i8, i8, i8, i8, i8, i8, %struct.ImVec2, ptr, i32, i32, %struct.ImGuiDeactivatedItemData, %struct.ImGuiDataTypeStorage, i32, float, double, double, double, %struct.ImBitArray, [155 x %struct.ImGuiKeyOwnerData], %struct.ImGuiKeyRoutingTable, i32, i8, i32, i32, i32, i32, %struct.ImGuiNextItemData, %struct.ImGuiLastItemData, %struct.ImGuiNextWindowData, i8, i32, %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, %struct.ImVector.16, ptr, ptr, ptr, i32, %struct.ImGuiPlatformMonitor, %struct.ImRect, i32, i32, i32, i8, i8, i8, i8, i32, ptr, i32, i32, i32, i32, i32, i32, %struct.ImVector.11, i32, float, i32, i32, i32, i64, 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, i32, i32, i8, i8, i32, i32, ptr, ptr, ptr, float, float, i8, i32, %struct.ImVec2, %struct.ImVec2, float, i8, i8, i8, i32, i32, i32, [4 x i8], %struct.ImGuiPayload, %struct.ImRect, %struct.ImRect, i32, i32, float, i32, i32, i32, i32, %struct.ImVector.17, [16 x i8], i32, %struct.ImVector.18, ptr, i32, i32, %struct.ImVector.19, %struct.ImPool, %struct.ImVector.21, %struct.ImVector.22, ptr, %struct.ImPool.23, %struct.ImVector.25, %struct.ImVector.26, %struct.ImGuiBoxSelectState, ptr, i32, %struct.ImVector.27, %struct.ImPool.28, i32, i32, float, float, i32, i32, i32, float, %struct.ImVec2, %struct.ImGuiInputTextState, %struct.ImGuiInputTextDeactivatedState, %struct.ImFont, i32, %struct.ImGuiDataTypeStorage, i32, i32, i32, i32, i32, float, float, i32, %struct.ImVec4, %struct.ImGuiComboPreviewData, %struct.ImRect, i8, i16, float, float, float, i8, i8, float, float, float, i16, i16, ptr, %struct.ImVector.30, %struct.ImVector.32, %struct.ImGuiTypingSelectState, %struct.ImGuiPlatformImeData, %struct.ImGuiPlatformImeData, i32, [4 x i8], %struct.ImGuiDockContext, ptr, i8, float, %struct.ImGuiTextBuffer, %struct.ImVector.35, %struct.ImChunkStream, %struct.ImChunkStream.36, %struct.ImVector.37, i32, [13 x ptr], i8, i32, ptr, ptr, %struct.ImGuiTextBuffer, ptr, ptr, float, i8, i32, i32, i32, ptr, ptr, %struct.ImVec2, i8, i32, %struct.ImGuiErrorRecoveryState, ptr, i32, i32, %struct.ImGuiTextBuffer, %struct.ImGuiTextIndex, i32, i32, i8, i8, i8, i32, i8, i8, i8, i32, float, %struct.ImVec4, %struct.ImGuiMetricsConfig, %struct.ImGuiIDStackTool, %struct.ImGuiDebugAllocInfo, ptr, [60 x float], i32, i32, float, i32, i32, i32, %struct.ImVector.30, [64 x i8] }
%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, i8, i8, i8, i8, i8, i8, i8, i8, i8, float, float, float, float, float, float, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, ptr, ptr, ptr, ptr, ptr, i8, i8, i8, i8, i8, i8, i8, float, i32, i32, i32, i32, %struct.ImVec2, ptr, %struct.ImVec2, [5 x i8], float, float, i32, i32, i8, i8, i8, i8, i32, [155 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 double], [5 x i8], [5 x i8], i8, i8, [5 x float], [5 x float], [5 x %struct.ImVec2], [5 x float], float, i8, i8, i16, %struct.ImVector, ptr, ptr, ptr }
%struct.ImGuiKeyData = type { i8, float, float, float }
%struct.ImVector = type { i32, i32, ptr }
%struct.ImGuiPlatformIO = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, i16, ptr, 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.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, 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, float, float, float, %struct.ImVec2, i32, %struct.ImVec2, %struct.ImVec2, float, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, float, i8, i8, i8, float, float, [58 x %struct.ImVec4], float, float, float, i32, i32 }
%struct.ImDrawListSharedData = type <{ %struct.ImVec2, ptr, ptr, float, float, float, float, float, i32, %struct.ImVec4, %struct.ImVector.2, [48 x %struct.ImVec2], float, [64 x i8], [4 x i8] }>
%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.ImGuiDeactivatedItemData = type { i32, i32, i8, i8 }
%struct.ImBitArray = type { [5 x i32] }
%struct.ImGuiKeyOwnerData = type <{ i32, i32, i8, i8, [2 x i8] }>
%struct.ImGuiKeyRoutingTable = type { [155 x i16], %struct.ImVector.7, %struct.ImVector.7 }
%struct.ImVector.7 = type { i32, i32, ptr }
%struct.ImGuiNextItemData = type <{ i32, i32, i32, [4 x i8], i64, float, i32, i32, i8, i8, %struct.ImGuiDataTypeStorage, [2 x i8], i32, [4 x i8] }>
%struct.ImGuiLastItemData = type { i32, i32, i32, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImRect, i32 }
%struct.ImGuiNextWindowData = type { i32, i32, i32, i32, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, i32, i32, i8, i8, %struct.ImRect, ptr, ptr, float, i32, i32, %struct.ImGuiWindowClass, %struct.ImVec2, i32 }
%struct.ImGuiWindowClass = type <{ i32, 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.ImVector.11 = type { i32, i32, ptr }
%struct.ImGuiNavItemData = type { ptr, i32, i32, %struct.ImRect, i32, float, float, float, i64 }
%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.ImGuiBoxSelectState = type <{ i32, i8, i8, i8, i8, i8, i16, i8, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, [4 x i8], ptr, i8, [3 x i8], %struct.ImRect, %struct.ImRect, %struct.ImRect, [4 x i8] }>
%struct.ImVector.27 = type { i32, i32, ptr }
%struct.ImPool.28 = type { %struct.ImVector.29, %struct.ImGuiStorage, i32, i32 }
%struct.ImVector.29 = type { i32, i32, ptr }
%struct.ImGuiInputTextState = type <{ ptr, ptr, i32, i32, i32, [4 x i8], ptr, %struct.ImVector.30, %struct.ImVector.30, %struct.ImVector.30, i32, %struct.ImVec2, float, i8, i8, i8, i8, i32, i32, [4 x i8] }>
%struct.ImGuiInputTextDeactivatedState = type { i32, %struct.ImVector.30 }
%struct.ImFont = type <{ %struct.ImVector.21, float, float, %struct.ImVector, %struct.ImVector.31, ptr, ptr, ptr, i16, i16, i16, i16, float, float, float, float, float, i32, i8, [1 x i8], [6 x i8] }>
%struct.ImVector.31 = type { i32, i32, ptr }
%struct.ImGuiDataTypeStorage = type { [8 x i8] }
%struct.ImGuiComboPreviewData = type { %struct.ImRect, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, i32 }
%struct.ImVector.32 = 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.33, %struct.ImVector.34, i8, [7 x i8] }>
%struct.ImVector.33 = type { i32, i32, ptr }
%struct.ImVector.34 = type { i32, i32, ptr }
%struct.ImVector.35 = type { i32, i32, ptr }
%struct.ImChunkStream = type { %struct.ImVector.30 }
%struct.ImChunkStream.36 = type { %struct.ImVector.30 }
%struct.ImVector.37 = type { i32, i32, ptr }
%struct.ImGuiErrorRecoveryState = type { i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16 }
%struct.ImGuiTextBuffer = type { %struct.ImVector.30 }
%struct.ImGuiTextIndex = type <{ %struct.ImVector.12, i32, [4 x i8] }>
%struct.ImVec4 = type { float, float, float, float }
%struct.ImGuiMetricsConfig = type { i8, i8, i8, i8, i8, i8, i8, i8, i8, i32, i32, i32, i32 }
%struct.ImGuiIDStackTool = type { i32, i32, i32, %struct.ImVector.38, i8, float, %struct.ImGuiTextBuffer }
%struct.ImVector.38 = type { i32, i32, ptr }
%struct.ImGuiDebugAllocInfo = type { i32, i32, i16, [6 x %struct.ImGuiDebugAllocEntry] }
%struct.ImGuiDebugAllocEntry = type { i32, i16, i16 }
%struct.ImVector.30 = type { i32, i32, ptr }
%struct.ImGuiWindow = type <{ ptr, ptr, i32, i32, i32, i32, %struct.ImGuiWindowClass, ptr, i32, %struct.ImVec2, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, float, float, float, float, float, float, float, float, float, i32, i32, i32, i32, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i16, i16, i16, i16, i16, i8, i8, i8, [3 x i8], i32, i8, i8, i8, i8, i32, %struct.ImVec2, %struct.ImVec2, [4 x i8], %struct.ImVector.32, %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.41, float, float, float, float, i32, [4 x i8], ptr, %struct.ImDrawList, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, [2 x i32], [2 x %struct.ImRect], [2 x %struct.ImVec2], i32, i32, i32, i8, i8, i16, %struct.ImGuiWindowDockStyle, ptr, ptr, i32, [4 x i8] }>
%struct.ImGuiWindowTempData = type { %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, float, i8, i8, %struct.ImVec1, %struct.ImVec1, %struct.ImVec1, %struct.ImVec2, i32, i16, i16, i8, i8, i8, i8, %struct.ImVec2, %struct.ImGuiMenuColumns, i32, i32, %struct.ImVector.4, ptr, ptr, i32, i32, i32, i32, i32, i32, i32, %struct.ImRect, float, float, %struct.ImVector.21, %struct.ImVector.21 }
%struct.ImVec1 = type { float }
%struct.ImGuiMenuColumns = type <{ i32, i32, i16, i16, i16, i16, i16, [4 x i16], [2 x i8] }>
%struct.ImVec2ih = type { i16, i16 }
%struct.ImVector.41 = type { i32, i32, ptr }
%struct.ImDrawList = type { %struct.ImVector.42, %struct.ImVector, %struct.ImVector.43, i32, i32, ptr, ptr, ptr, %struct.ImVector.2, %struct.ImDrawCmdHeader, %struct.ImDrawListSplitter, %struct.ImVector.44, %struct.ImVector.45, %struct.ImVector.17, float, ptr }
%struct.ImVector.42 = type { i32, i32, ptr }
%struct.ImVector.43 = type { i32, i32, ptr }
%struct.ImDrawCmdHeader = type <{ %struct.ImVec4, i64, i32, [4 x i8] }>
%struct.ImDrawListSplitter = type { i32, i32, %struct.ImVector.22 }
%struct.ImVector.44 = type { i32, i32, ptr }
%struct.ImVector.45 = type { i32, i32, ptr }
%struct.ImGuiWindowDockStyle = type { [8 x i32] }

@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
declare dso_local void @_ZN5ImGui11FocusWindowEP11ImGuiWindowi(ptr noundef, i32 noundef) #2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN5ImGui31UpdateMouseMovingWindowEndFrameEv() #1 {
  %1 = alloca ptr, align 8
  %2 = alloca i32, align 4
  %3 = alloca ptr, align 8
  %4 = alloca i8, align 1
  %5 = alloca %struct.ImRect, align 4
  %6 = alloca ptr, align 8
  %7 = alloca i8, align 1
  call void @llvm.lifetime.start.p0(i64 8, ptr %1) #4
  %8 = load ptr, ptr @GImGui, align 8, !tbaa !5
  store ptr %8, ptr %1, align 8, !tbaa !5
  %9 = load ptr, ptr %1, align 8, !tbaa !5
  %10 = getelementptr inbounds %struct.ImGuiContext, ptr %9, i32 0, i32 59
  %11 = load i32, ptr %10, align 4, !tbaa !9
  %12 = icmp ne i32 %11, 0
  br i1 %12, label %23, label %13

13:                                               ; preds = %0
  %14 = load ptr, ptr %1, align 8, !tbaa !5
  %15 = getelementptr inbounds %struct.ImGuiContext, ptr %14, i32 0, i32 51
  %16 = load i32, ptr %15, align 4, !tbaa !98
  %17 = icmp ne i32 %16, 0
  br i1 %17, label %18, label %24

18:                                               ; preds = %13
  %19 = load ptr, ptr %1, align 8, !tbaa !5
  %20 = getelementptr inbounds %struct.ImGuiContext, ptr %19, i32 0, i32 57
  %21 = load i8, ptr %20, align 1, !tbaa !99, !range !100, !noundef !101
  %22 = trunc i8 %21 to i1
  br i1 %22, label %24, label %23

23:                                               ; preds = %18, %0
  store i32 1, ptr %2, align 4
  br label %182

24:                                               ; preds = %18, %13
  %25 = load ptr, ptr %1, align 8, !tbaa !5
  %26 = getelementptr inbounds %struct.ImGuiContext, ptr %25, i32 0, i32 119
  %27 = load ptr, ptr %26, align 8, !tbaa !102
  %28 = icmp ne ptr %27, null
  br i1 %28, label %29, label %37

29:                                               ; preds = %24
  %30 = load ptr, ptr %1, align 8, !tbaa !5
  %31 = getelementptr inbounds %struct.ImGuiContext, ptr %30, i32 0, i32 119
  %32 = load ptr, ptr %31, align 8, !tbaa !102
  %33 = getelementptr inbounds %struct.ImGuiWindow, ptr %32, i32 0, i32 51
  %34 = load i8, ptr %33, align 8, !tbaa !103, !range !100, !noundef !101
  %35 = trunc i8 %34 to i1
  br i1 %35, label %36, label %37

36:                                               ; preds = %29
  store i32 1, ptr %2, align 4
  br label %182

37:                                               ; preds = %29, %24
  %38 = load ptr, ptr %1, align 8, !tbaa !5
  %39 = getelementptr inbounds %struct.ImGuiContext, ptr %38, i32 0, i32 2
  %40 = getelementptr inbounds %struct.ImGuiIO, ptr %39, i32 0, i32 90
  %41 = getelementptr inbounds [5 x i8], ptr %40, i64 0, i64 0
  %42 = load i8, ptr %41, align 8, !tbaa !118, !range !100, !noundef !101
  %43 = trunc i8 %42 to i1
  br i1 %43, label %44, label %139

44:                                               ; preds = %37
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #4
  %45 = load ptr, ptr %1, align 8, !tbaa !5
  %46 = getelementptr inbounds %struct.ImGuiContext, ptr %45, i32 0, i32 38
  %47 = load ptr, ptr %46, align 8, !tbaa !119
  %48 = icmp ne ptr %47, null
  br i1 %48, label %49, label %55

49:                                               ; preds = %44
  %50 = load ptr, ptr %1, align 8, !tbaa !5
  %51 = getelementptr inbounds %struct.ImGuiContext, ptr %50, i32 0, i32 38
  %52 = load ptr, ptr %51, align 8, !tbaa !119
  %53 = getelementptr inbounds %struct.ImGuiWindow, ptr %52, i32 0, i32 104
  %54 = load ptr, ptr %53, align 8, !tbaa !120
  br label %56

55:                                               ; preds = %44
  br label %56

56:                                               ; preds = %55, %49
  %57 = phi ptr [ %54, %49 ], [ null, %55 ]
  store ptr %57, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %4) #4
  %58 = load ptr, ptr %3, align 8, !tbaa !5
  %59 = icmp ne ptr %58, null
  br i1 %59, label %60, label %72

60:                                               ; preds = %56
  %61 = load ptr, ptr %3, align 8, !tbaa !5
  %62 = getelementptr inbounds %struct.ImGuiWindow, ptr %61, i32 0, i32 3
  %63 = load i32, ptr %62, align 4, !tbaa !121
  %64 = and i32 %63, 67108864
  %65 = icmp ne i32 %64, 0
  br i1 %65, label %66, label %72

66:                                               ; preds = %60
  %67 = load ptr, ptr %3, align 8, !tbaa !5
  %68 = getelementptr inbounds %struct.ImGuiWindow, ptr %67, i32 0, i32 32
  %69 = load i32, ptr %68, align 8, !tbaa !122
  %70 = call noundef zeroext i1 @_ZN5ImGui11IsPopupOpenEji(i32 noundef %69, i32 noundef 2048)
  %71 = xor i1 %70, true
  br label %72

72:                                               ; preds = %66, %60, %56
  %73 = phi i1 [ false, %60 ], [ false, %56 ], [ %71, %66 ]
  %74 = zext i1 %73 to i8
  store i8 %74, ptr %4, align 1, !tbaa !118
  %75 = load ptr, ptr %3, align 8, !tbaa !5
  %76 = icmp ne ptr %75, null
  br i1 %76, label %77, label %128

77:                                               ; preds = %72
  %78 = load i8, ptr %4, align 1, !tbaa !118, !range !100, !noundef !101
  %79 = trunc i8 %78 to i1
  br i1 %79, label %128, label %80

80:                                               ; preds = %77
  %81 = load ptr, ptr %1, align 8, !tbaa !5
  %82 = getelementptr inbounds %struct.ImGuiContext, ptr %81, i32 0, i32 38
  %83 = load ptr, ptr %82, align 8, !tbaa !119
  call void @_ZN5ImGui22StartMouseMovingWindowEP11ImGuiWindow(ptr noundef %83)
  %84 = load ptr, ptr %1, align 8, !tbaa !5
  %85 = getelementptr inbounds %struct.ImGuiContext, ptr %84, i32 0, i32 2
  %86 = getelementptr inbounds %struct.ImGuiIO, ptr %85, i32 0, i32 35
  %87 = load i8, ptr %86, align 2, !tbaa !123, !range !100, !noundef !101
  %88 = trunc i8 %87 to i1
  br i1 %88, label %89, label %119

89:                                               ; preds = %80
  %90 = load ptr, ptr %3, align 8, !tbaa !5
  %91 = getelementptr inbounds %struct.ImGuiWindow, ptr %90, i32 0, i32 3
  %92 = load i32, ptr %91, align 4, !tbaa !121
  %93 = and i32 %92, 1
  %94 = icmp ne i32 %93, 0
  br i1 %94, label %95, label %101

95:                                               ; preds = %89
  %96 = load ptr, ptr %3, align 8, !tbaa !5
  %97 = getelementptr inbounds %struct.ImGuiWindow, ptr %96, i32 0, i32 118
  %98 = load i8, ptr %97, align 1
  %99 = and i8 %98, 1
  %100 = trunc i8 %99 to i1
  br i1 %100, label %101, label %118

101:                                              ; preds = %95, %89
  call void @llvm.lifetime.start.p0(i64 16, ptr %5) #4
  %102 = load ptr, ptr %3, align 8, !tbaa !5
  %103 = call { <2 x float>, <2 x float> } @_ZNK11ImGuiWindow12TitleBarRectEv(ptr noundef nonnull align 8 dereferenceable(1212) %102)
  %104 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %5, i32 0, i32 0
  %105 = extractvalue { <2 x float>, <2 x float> } %103, 0
  store <2 x float> %105, ptr %104, align 4
  %106 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %5, i32 0, i32 1
  %107 = extractvalue { <2 x float>, <2 x float> } %103, 1
  store <2 x float> %107, ptr %106, align 4
  %108 = load ptr, ptr %1, align 8, !tbaa !5
  %109 = getelementptr inbounds %struct.ImGuiContext, ptr %108, i32 0, i32 2
  %110 = getelementptr inbounds %struct.ImGuiIO, ptr %109, i32 0, i32 88
  %111 = getelementptr inbounds [5 x %struct.ImVec2], ptr %110, i64 0, i64 0
  %112 = call noundef zeroext i1 @_ZNK6ImRect8ContainsERK6ImVec2(ptr noundef nonnull align 4 dereferenceable(16) %5, ptr noundef nonnull align 4 dereferenceable(8) %111)
  %113 = xor i1 %112, true
  call void @llvm.lifetime.end.p0(i64 16, ptr %5) #4
  br i1 %113, label %114, label %117

114:                                              ; preds = %101
  %115 = load ptr, ptr %1, align 8, !tbaa !5
  %116 = getelementptr inbounds %struct.ImGuiContext, ptr %115, i32 0, i32 41
  store ptr null, ptr %116, align 8, !tbaa !124
  br label %117

117:                                              ; preds = %114, %101
  br label %118

118:                                              ; preds = %117, %95
  br label %119

119:                                              ; preds = %118, %80
  %120 = load ptr, ptr %1, align 8, !tbaa !5
  %121 = getelementptr inbounds %struct.ImGuiContext, ptr %120, i32 0, i32 57
  %122 = load i8, ptr %121, align 1, !tbaa !99, !range !100, !noundef !101
  %123 = trunc i8 %122 to i1
  br i1 %123, label %124, label %127

124:                                              ; preds = %119
  %125 = load ptr, ptr %1, align 8, !tbaa !5
  %126 = getelementptr inbounds %struct.ImGuiContext, ptr %125, i32 0, i32 41
  store ptr null, ptr %126, align 8, !tbaa !124
  br label %127

127:                                              ; preds = %124, %119
  br label %138

128:                                              ; preds = %77, %72
  %129 = load ptr, ptr %3, align 8, !tbaa !5
  %130 = icmp eq ptr %129, null
  br i1 %130, label %131, label %137

131:                                              ; preds = %128
  %132 = load ptr, ptr %1, align 8, !tbaa !5
  %133 = getelementptr inbounds %struct.ImGuiContext, ptr %132, i32 0, i32 119
  %134 = load ptr, ptr %133, align 8, !tbaa !102
  %135 = icmp ne ptr %134, null
  br i1 %135, label %136, label %137

136:                                              ; preds = %131
  call void @_ZN5ImGui11FocusWindowEP11ImGuiWindowi(ptr noundef null, i32 noundef 2)
  br label %137

137:                                              ; preds = %136, %131, %128
  br label %138

138:                                              ; preds = %137, %127
  call void @llvm.lifetime.end.p0(i64 1, ptr %4) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #4
  br label %139

139:                                              ; preds = %138, %37
  %140 = load ptr, ptr %1, align 8, !tbaa !5
  %141 = getelementptr inbounds %struct.ImGuiContext, ptr %140, i32 0, i32 2
  %142 = getelementptr inbounds %struct.ImGuiIO, ptr %141, i32 0, i32 90
  %143 = getelementptr inbounds [5 x i8], ptr %142, i64 0, i64 1
  %144 = load i8, ptr %143, align 1, !tbaa !118, !range !100, !noundef !101
  %145 = trunc i8 %144 to i1
  br i1 %145, label %146, label %181

146:                                              ; preds = %139
  %147 = load ptr, ptr %1, align 8, !tbaa !5
  %148 = getelementptr inbounds %struct.ImGuiContext, ptr %147, i32 0, i32 51
  %149 = load i32, ptr %148, align 4, !tbaa !98
  %150 = icmp eq i32 %149, 0
  br i1 %150, label %151, label %181

151:                                              ; preds = %146
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #4
  %152 = call noundef ptr @_ZN5ImGui20GetTopMostPopupModalEv()
  store ptr %152, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %7) #4
  %153 = load ptr, ptr %1, align 8, !tbaa !5
  %154 = getelementptr inbounds %struct.ImGuiContext, ptr %153, i32 0, i32 38
  %155 = load ptr, ptr %154, align 8, !tbaa !119
  %156 = icmp ne ptr %155, null
  br i1 %156, label %157, label %168

157:                                              ; preds = %151
  %158 = load ptr, ptr %6, align 8, !tbaa !5
  %159 = icmp eq ptr %158, null
  br i1 %159, label %166, label %160

160:                                              ; preds = %157
  %161 = load ptr, ptr %1, align 8, !tbaa !5
  %162 = getelementptr inbounds %struct.ImGuiContext, ptr %161, i32 0, i32 38
  %163 = load ptr, ptr %162, align 8, !tbaa !119
  %164 = load ptr, ptr %6, align 8, !tbaa !5
  %165 = call noundef zeroext i1 @_ZN5ImGui13IsWindowAboveEP11ImGuiWindowS1_(ptr noundef %163, ptr noundef %164)
  br label %166

166:                                              ; preds = %160, %157
  %167 = phi i1 [ true, %157 ], [ %165, %160 ]
  br label %168

168:                                              ; preds = %166, %151
  %169 = phi i1 [ false, %151 ], [ %167, %166 ]
  %170 = zext i1 %169 to i8
  store i8 %170, ptr %7, align 1, !tbaa !118
  %171 = load i8, ptr %7, align 1, !tbaa !118, !range !100, !noundef !101
  %172 = trunc i8 %171 to i1
  br i1 %172, label %173, label %177

173:                                              ; preds = %168
  %174 = load ptr, ptr %1, align 8, !tbaa !5
  %175 = getelementptr inbounds %struct.ImGuiContext, ptr %174, i32 0, i32 38
  %176 = load ptr, ptr %175, align 8, !tbaa !119
  br label %179

177:                                              ; preds = %168
  %178 = load ptr, ptr %6, align 8, !tbaa !5
  br label %179

179:                                              ; preds = %177, %173
  %180 = phi ptr [ %176, %173 ], [ %178, %177 ]
  call void @_ZN5ImGui21ClosePopupsOverWindowEP11ImGuiWindowb(ptr noundef %180, i1 noundef zeroext true)
  call void @llvm.lifetime.end.p0(i64 1, ptr %7) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #4
  br label %181

181:                                              ; preds = %179, %146, %139
  store i32 0, ptr %2, align 4
  br label %182

182:                                              ; preds = %181, %36, %23
  call void @llvm.lifetime.end.p0(i64 8, ptr %1) #4
  %183 = load i32, ptr %2, align 4
  switch i32 %183, label %185 [
    i32 0, label %184
    i32 1, label %184
  ]

184:                                              ; preds = %182, %182
  ret void

185:                                              ; preds = %182
  unreachable
}

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN5ImGui11IsPopupOpenEji(i32 noundef, i32 noundef) #2

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN5ImGui13IsWindowAboveEP11ImGuiWindowS1_(ptr noundef, ptr noundef) #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui21ClosePopupsOverWindowEP11ImGuiWindowb(ptr noundef, i1 noundef zeroext) #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 = { 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 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !13, i64 5476}
!10 = !{!"_ZTS12ImGuiContext", !11, i64 0, !11, i64 1, !12, i64 8, !19, i64 3096, !22, i64 3392, !13, i64 4596, !13, i64 4600, !6, i64 4608, !15, i64 4616, !15, i64 4620, !15, i64 4624, !15, i64 4628, !24, i64 4632, !27, i64 5168, !13, i64 5176, !13, i64 5180, !13, i64 5184, !13, i64 5188, !13, i64 5192, !11, i64 5196, !11, i64 5197, !11, i64 5198, !11, i64 5199, !6, i64 5200, !7, i64 5208, !28, i64 5224, !28, i64 5240, !16, i64 5256, !13, i64 5260, !29, i64 5264, !29, i64 5280, !29, i64 5296, !30, i64 5312, !31, i64 5328, !13, i64 5344, !15, i64 5348, !13, i64 5352, !6, i64 5360, !6, i64 5368, !6, i64 5376, !6, i64 5384, !6, i64 5392, !6, i64 5400, !14, i64 5408, !13, i64 5416, !13, i64 5420, !15, i64 5424, !14, i64 5428, !14, i64 5436, !13, i64 5444, !13, i64 5448, !13, i64 5452, !13, i64 5456, !13, i64 5460, !15, i64 5464, !15, i64 5468, !11, i64 5472, !11, i64 5473, !11, i64 5474, !13, i64 5476, !13, i64 5480, !15, i64 5484, !11, i64 5488, !11, i64 5489, !11, i64 5490, !11, i64 5491, !11, i64 5492, !11, i64 5493, !11, i64 5494, !13, i64 5495, !14, i64 5496, !6, i64 5504, !33, i64 5512, !13, i64 5516, !34, i64 5520, !35, i64 5532, !13, i64 5540, !15, i64 5544, !27, i64 5552, !27, i64 5560, !27, i64 5568, !36, i64 5576, !7, i64 5596, !37, i64 7456, !13, i64 7800, !11, i64 7804, !13, i64 7808, !13, i64 7812, !13, i64 7816, !13, i64 7820, !39, i64 7824, !41, i64 7880, !43, i64 7960, !11, i64 8120, !13, i64 8124, !45, i64 8128, !46, i64 8144, !47, i64 8160, !48, i64 8176, !49, i64 8192, !50, i64 8208, !51, i64 8224, !51, i64 8240, !52, i64 8256, !53, i64 8272, !6, i64 8288, !6, i64 8296, !6, i64 8304, !13, i64 8312, !54, i64 8320, !42, i64 8368, !13, i64 8384, !13, i64 8388, !13, i64 8392, !11, i64 8396, !11, i64 8397, !11, i64 8398, !11, i64 8399, !13, i64 8400, !6, i64 8408, !13, i64 8416, !55, i64 8420, !13, i64 8424, !13, i64 8428, !13, i64 8432, !13, i64 8436, !48, i64 8440, !13, i64 8456, !15, i64 8460, !13, i64 8464, !13, i64 8468, !33, i64 8472, !40, i64 8480, !7, i64 8488, !11, i64 8489, !11, i64 8490, !11, i64 8491, !56, i64 8496, !11, i64 8552, !11, i64 8553, !11, i64 8554, !13, i64 8556, !13, i64 8560, !13, i64 8564, !23, i64 8568, !23, i64 8572, !23, i64 8576, !42, i64 8580, !42, i64 8596, !13, i64 8612, !13, i64 8616, !13, i64 8620, !56, i64 8624, !56, i64 8680, !56, i64 8736, !56, i64 8792, !13, i64 8848, !13, i64 8852, !13, i64 8856, !13, i64 8860, !11, i64 8864, !11, i64 8865, !13, i64 8868, !13, i64 8872, !6, i64 8880, !6, i64 8888, !6, i64 8896, !15, i64 8904, !15, i64 8908, !11, i64 8912, !57, i64 8916, !14, i64 8920, !14, i64 8928, !15, i64 8936, !11, i64 8940, !11, i64 8941, !11, i64 8942, !13, i64 8944, !13, i64 8948, !13, i64 8952, !58, i64 8960, !42, i64 9024, !42, i64 9040, !13, i64 9056, !13, i64 9060, !15, i64 9064, !13, i64 9068, !13, i64 9072, !13, i64 9076, !13, i64 9080, !59, i64 9088, !7, i64 9104, !13, i64 9120, !60, i64 9128, !6, i64 9144, !13, i64 9152, !13, i64 9156, !61, i64 9160, !62, i64 9176, !64, i64 9216, !65, i64 9232, !6, i64 9248, !66, i64 9256, !68, i64 9296, !69, i64 9312, !70, i64 9328, !6, i64 9432, !13, i64 9440, !71, i64 9448, !72, i64 9464, !13, i64 9504, !13, i64 9508, !15, i64 9512, !15, i64 9516, !13, i64 9520, !13, i64 9524, !13, i64 9528, !15, i64 9532, !14, i64 9536, !74, i64 9544, !76, i64 9664, !77, i64 9688, !13, i64 9808, !35, i64 9812, !13, i64 9820, !13, i64 9824, !13, i64 9828, !13, i64 9832, !13, i64 9836, !15, i64 9840, !15, i64 9844, !13, i64 9848, !25, i64 9852, !79, i64 9868, !42, i64 9916, !11, i64 9932, !17, i64 9934, !15, i64 9936, !15, i64 9940, !15, i64 9944, !11, i64 9948, !11, i64 9949, !15, i64 9952, !15, i64 9956, !15, i64 9960, !17, i64 9964, !17, i64 9966, !6, i64 9968, !75, i64 9976, !80, i64 9992, !81, i64 10008, !83, i64 10112, !83, i64 10128, !13, i64 10144, !84, i64 10152, !6, i64 10208, !11, i64 10216, !15, i64 10220, !87, i64 10224, !88, i64 10240, !89, i64 10256, !90, i64 10272, !91, i64 10288, !13, i64 10304, !7, i64 10312, !11, i64 10416, !13, i64 10420, !6, i64 10424, !6, i64 10432, !87, i64 10440, !6, i64 10456, !6, i64 10464, !15, i64 10472, !11, i64 10476, !13, i64 10480, !13, i64 10484, !13, i64 10488, !6, i64 10496, !6, i64 10504, !14, i64 10512, !11, i64 10520, !13, i64 10524, !92, i64 10528, !6, i64 10552, !13, i64 10560, !13, i64 10564, !87, i64 10568, !93, i64 10584, !13, i64 10608, !13, i64 10612, !7, i64 10616, !7, i64 10617, !11, i64 10618, !13, i64 10620, !7, i64 10624, !11, i64 10625, !7, i64 10626, !13, i64 10628, !15, i64 10632, !25, i64 10636, !94, i64 10652, !95, i64 10680, !97, i64 10736, !6, i64 10800, !7, i64 10808, !13, i64 11048, !13, i64 11052, !15, i64 11056, !13, i64 11060, !13, i64 11064, !13, i64 11068, !75, i64 11072, !7, i64 11088}
!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, !11, i64 96, !11, i64 97, !11, i64 98, !11, i64 99, !11, i64 100, !11, i64 101, !11, i64 102, !11, i64 103, !11, i64 104, !15, i64 108, !15, i64 112, !15, i64 116, !15, i64 120, !15, i64 124, !15, i64 128, !11, i64 132, !11, i64 133, !11, i64 134, !11, i64 135, !11, i64 136, !11, i64 137, !11, i64 138, !11, i64 139, !11, i64 140, !11, i64 141, !11, i64 142, !6, i64 144, !6, i64 152, !6, i64 160, !6, i64 168, !6, i64 176, !11, i64 184, !11, i64 185, !11, i64 186, !11, i64 187, !11, i64 188, !11, i64 189, !11, i64 190, !15, i64 192, !13, i64 196, !13, i64 200, !13, i64 204, !13, i64 208, !14, i64 212, !6, i64 224, !14, i64 232, !7, i64 240, !15, i64 248, !15, i64 252, !16, i64 256, !13, i64 260, !11, i64 264, !11, i64 265, !11, i64 266, !11, i64 267, !13, i64 268, !7, i64 272, !11, i64 2752, !14, i64 2756, !7, i64 2764, !7, i64 2808, !7, i64 2848, !7, i64 2853, !7, i64 2858, !7, i64 2868, !7, i64 2878, !7, i64 2888, !7, i64 2928, !7, i64 2933, !11, i64 2938, !11, i64 2939, !7, i64 2940, !7, i64 2960, !7, i64 2980, !7, i64 3020, !15, i64 3040, !11, i64 3044, !11, i64 3045, !17, i64 3046, !18, i64 3048, !6, i64 3064, !6, i64 3072, !6, i64 3080}
!13 = !{!"int", !7, i64 0}
!14 = !{!"_ZTS6ImVec2", !15, i64 0, !15, i64 4}
!15 = !{!"float", !7, i64 0}
!16 = !{!"_ZTS16ImGuiMouseSource", !7, i64 0}
!17 = !{!"short", !7, i64 0}
!18 = !{!"_ZTS8ImVectorItE", !13, i64 0, !13, i64 4, !6, i64 8}
!19 = !{!"_ZTS15ImGuiPlatformIO", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !17, 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, !6, i64 192, !6, i64 200, !6, i64 208, !6, i64 216, !6, i64 224, !6, i64 232, !6, i64 240, !6, i64 248, !6, i64 256, !20, i64 264, !21, i64 280}
!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, !15, i64 24, !14, i64 28, !14, i64 36, !23, i64 44, !15, i64 48, !15, i64 52, !15, i64 56, !15, i64 60, !14, i64 64, !15, i64 72, !15, i64 76, !14, i64 80, !14, i64 88, !14, i64 96, !14, i64 104, !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, !15, i64 156, !15, i64 160, !15, i64 164, !15, i64 168, !14, i64 172, !23, i64 180, !14, i64 184, !14, i64 192, !15, i64 200, !14, i64 204, !14, i64 212, !14, i64 220, !14, i64 228, !15, i64 236, !15, i64 240, !11, i64 244, !11, i64 245, !11, i64 246, !15, i64 248, !15, i64 252, !7, i64 256, !15, i64 1184, !15, i64 1188, !15, i64 1192, !13, i64 1196, !13, i64 1200}
!23 = !{!"_ZTS8ImGuiDir", !7, i64 0}
!24 = !{!"_ZTS20ImDrawListSharedData", !14, i64 0, !6, i64 8, !6, i64 16, !15, i64 24, !15, i64 28, !15, i64 32, !15, i64 36, !15, i64 40, !13, i64 44, !25, i64 48, !26, i64 64, !7, i64 80, !15, i64 464, !7, i64 468}
!25 = !{!"_ZTS6ImVec4", !15, i64 0, !15, i64 4, !15, i64 8, !15, i64 12}
!26 = !{!"_ZTS8ImVectorI6ImVec2E", !13, i64 0, !13, i64 4, !6, i64 8}
!27 = !{!"double", !7, i64 0}
!28 = !{!"_ZTS8ImVectorI15ImGuiInputEventE", !13, i64 0, !13, i64 4, !6, i64 8}
!29 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !13, i64 0, !13, i64 4, !6, i64 8}
!30 = !{!"_ZTS8ImVectorI20ImGuiWindowStackDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!31 = !{!"_ZTS12ImGuiStorage", !32, i64 0}
!32 = !{!"_ZTS8ImVectorI16ImGuiStoragePairE", !13, i64 0, !13, i64 4, !6, i64 8}
!33 = !{!"_ZTS16ImGuiInputSource", !7, i64 0}
!34 = !{!"_ZTS24ImGuiDeactivatedItemData", !13, i64 0, !13, i64 4, !11, i64 8, !11, i64 9}
!35 = !{!"_ZTS20ImGuiDataTypeStorage", !7, i64 0}
!36 = !{!"_ZTS10ImBitArrayILi155ELin512EE", !7, i64 0}
!37 = !{!"_ZTS20ImGuiKeyRoutingTable", !7, i64 0, !38, i64 312, !38, i64 328}
!38 = !{!"_ZTS8ImVectorI19ImGuiKeyRoutingDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!39 = !{!"_ZTS17ImGuiNextItemData", !13, i64 0, !13, i64 4, !13, i64 8, !40, i64 16, !15, i64 24, !13, i64 28, !13, i64 32, !11, i64 36, !7, i64 37, !35, i64 38, !13, i64 48}
!40 = !{!"long long", !7, i64 0}
!41 = !{!"_ZTS17ImGuiLastItemData", !13, i64 0, !13, i64 4, !13, i64 8, !42, i64 12, !42, i64 28, !42, i64 44, !42, i64 60, !13, i64 76}
!42 = !{!"_ZTS6ImRect", !14, i64 0, !14, i64 8}
!43 = !{!"_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, !13, i64 64, !11, i64 68, !11, i64 69, !42, i64 72, !6, i64 88, !6, i64 96, !15, i64 104, !13, i64 108, !13, i64 112, !44, i64 116, !14, i64 148, !13, i64 156}
!44 = !{!"_ZTS16ImGuiWindowClass", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12, !13, i64 16, !13, i64 20, !13, i64 24, !11, i64 28, !11, i64 29}
!45 = !{!"_ZTS8ImVectorI13ImGuiColorModE", !13, i64 0, !13, i64 4, !6, i64 8}
!46 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !13, i64 0, !13, i64 4, !6, i64 8}
!47 = !{!"_ZTS8ImVectorIP6ImFontE", !13, i64 0, !13, i64 4, !6, i64 8}
!48 = !{!"_ZTS8ImVectorI19ImGuiFocusScopeDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!49 = !{!"_ZTS8ImVectorIiE", !13, i64 0, !13, i64 4, !6, i64 8}
!50 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!51 = !{!"_ZTS8ImVectorI14ImGuiPopupDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!52 = !{!"_ZTS8ImVectorI22ImGuiTreeNodeStackDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!53 = !{!"_ZTS8ImVectorIP14ImGuiViewportPE", !13, i64 0, !13, i64 4, !6, i64 8}
!54 = !{!"_ZTS20ImGuiPlatformMonitor", !14, i64 0, !14, i64 8, !14, i64 16, !14, i64 24, !15, i64 32, !6, i64 40}
!55 = !{!"_ZTS13ImGuiNavLayer", !7, i64 0}
!56 = !{!"_ZTS16ImGuiNavItemData", !6, i64 0, !13, i64 8, !13, i64 12, !42, i64 16, !13, i64 32, !15, i64 36, !15, i64 40, !15, i64 44, !40, i64 48}
!57 = !{!"_ZTS8ImGuiKey", !7, i64 0}
!58 = !{!"_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}
!59 = !{!"_ZTS8ImVectorIhE", !13, i64 0, !13, i64 4, !6, i64 8}
!60 = !{!"_ZTS8ImVectorI20ImGuiListClipperDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!61 = !{!"_ZTS8ImVectorI18ImGuiTableTempDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!62 = !{!"_ZTS6ImPoolI10ImGuiTableE", !63, i64 0, !31, i64 16, !13, i64 32, !13, i64 36}
!63 = !{!"_ZTS8ImVectorI10ImGuiTableE", !13, i64 0, !13, i64 4, !6, i64 8}
!64 = !{!"_ZTS8ImVectorIfE", !13, i64 0, !13, i64 4, !6, i64 8}
!65 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !13, i64 0, !13, i64 4, !6, i64 8}
!66 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !67, i64 0, !31, i64 16, !13, i64 32, !13, i64 36}
!67 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !13, i64 0, !13, i64 4, !6, i64 8}
!68 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !13, i64 0, !13, i64 4, !6, i64 8}
!69 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !13, i64 0, !13, i64 4, !6, i64 8}
!70 = !{!"_ZTS19ImGuiBoxSelectState", !13, i64 0, !11, i64 4, !11, i64 5, !11, i64 6, !11, i64 7, !11, i64 8, !13, i64 9, !14, i64 12, !14, i64 20, !14, i64 28, !6, i64 40, !11, i64 48, !42, i64 52, !42, i64 68, !42, i64 84}
!71 = !{!"_ZTS8ImVectorI24ImGuiMultiSelectTempDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!72 = !{!"_ZTS6ImPoolI21ImGuiMultiSelectStateE", !73, i64 0, !31, i64 16, !13, i64 32, !13, i64 36}
!73 = !{!"_ZTS8ImVectorI21ImGuiMultiSelectStateE", !13, i64 0, !13, i64 4, !6, i64 8}
!74 = !{!"_ZTS19ImGuiInputTextState", !6, i64 0, !6, i64 8, !13, i64 16, !13, i64 20, !13, i64 24, !6, i64 32, !75, i64 40, !75, i64 56, !75, i64 72, !13, i64 88, !14, i64 92, !15, i64 100, !11, i64 104, !11, i64 105, !11, i64 106, !11, i64 107, !13, i64 108, !13, i64 112}
!75 = !{!"_ZTS8ImVectorIcE", !13, i64 0, !13, i64 4, !6, i64 8}
!76 = !{!"_ZTS30ImGuiInputTextDeactivatedState", !13, i64 0, !75, i64 8}
!77 = !{!"_ZTS6ImFont", !64, i64 0, !15, i64 16, !15, i64 20, !18, i64 24, !78, i64 40, !6, i64 56, !6, i64 64, !6, i64 72, !17, i64 80, !17, i64 82, !17, i64 84, !17, i64 86, !15, i64 88, !15, i64 92, !15, i64 96, !15, i64 100, !15, i64 104, !13, i64 108, !11, i64 112, !7, i64 113}
!78 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !13, i64 0, !13, i64 4, !6, i64 8}
!79 = !{!"_ZTS21ImGuiComboPreviewData", !42, i64 0, !14, i64 16, !14, i64 24, !14, i64 32, !15, i64 40, !13, i64 44}
!80 = !{!"_ZTS8ImVectorIjE", !13, i64 0, !13, i64 4, !6, i64 8}
!81 = !{!"_ZTS22ImGuiTypingSelectState", !82, i64 0, !7, i64 24, !13, i64 88, !13, i64 92, !15, i64 96, !11, i64 100}
!82 = !{!"_ZTS24ImGuiTypingSelectRequest", !13, i64 0, !13, i64 4, !6, i64 8, !11, i64 16, !11, i64 17, !7, i64 18}
!83 = !{!"_ZTS20ImGuiPlatformImeData", !11, i64 0, !14, i64 4, !15, i64 12}
!84 = !{!"_ZTS16ImGuiDockContext", !31, i64 0, !85, i64 16, !86, i64 32, !11, i64 48}
!85 = !{!"_ZTS8ImVectorI16ImGuiDockRequestE", !13, i64 0, !13, i64 4, !6, i64 8}
!86 = !{!"_ZTS8ImVectorI21ImGuiDockNodeSettingsE", !13, i64 0, !13, i64 4, !6, i64 8}
!87 = !{!"_ZTS15ImGuiTextBuffer", !75, i64 0}
!88 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !13, i64 0, !13, i64 4, !6, i64 8}
!89 = !{!"_ZTS13ImChunkStreamI19ImGuiWindowSettingsE", !75, i64 0}
!90 = !{!"_ZTS13ImChunkStreamI18ImGuiTableSettingsE", !75, i64 0}
!91 = !{!"_ZTS8ImVectorI16ImGuiContextHookE", !13, i64 0, !13, i64 4, !6, i64 8}
!92 = !{!"_ZTS23ImGuiErrorRecoveryState", !17, i64 0, !17, i64 2, !17, i64 4, !17, i64 6, !17, i64 8, !17, i64 10, !17, i64 12, !17, i64 14, !17, i64 16, !17, i64 18, !17, i64 20}
!93 = !{!"_ZTS14ImGuiTextIndex", !49, i64 0, !13, i64 16}
!94 = !{!"_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, !13, i64 20, !13, i64 24}
!95 = !{!"_ZTS16ImGuiIDStackTool", !13, i64 0, !13, i64 4, !13, i64 8, !96, i64 16, !11, i64 32, !15, i64 36, !87, i64 40}
!96 = !{!"_ZTS8ImVectorI19ImGuiStackLevelInfoE", !13, i64 0, !13, i64 4, !6, i64 8}
!97 = !{!"_ZTS19ImGuiDebugAllocInfo", !13, i64 0, !13, i64 4, !17, i64 8, !7, i64 12}
!98 = !{!10, !13, i64 5452}
!99 = !{!10, !11, i64 5473}
!100 = !{i8 0, i8 2}
!101 = !{}
!102 = !{!10, !6, i64 8408}
!103 = !{!104, !11, i64 264}
!104 = !{!"_ZTS11ImGuiWindow", !6, i64 0, !6, i64 8, !13, i64 16, !13, i64 20, !13, i64 24, !13, i64 28, !44, i64 32, !6, i64 64, !13, i64 72, !14, i64 76, !13, i64 84, !14, i64 88, !14, i64 96, !14, i64 104, !14, i64 112, !14, i64 120, !14, i64 128, !14, i64 136, !15, i64 144, !15, i64 148, !15, i64 152, !15, i64 156, !15, i64 160, !15, i64 164, !15, i64 168, !15, i64 172, !15, i64 176, !15, i64 180, !13, i64 184, !13, i64 188, !13, i64 192, !13, i64 196, !13, i64 200, !14, i64 204, !14, i64 212, !14, i64 220, !14, i64 228, !14, i64 236, !14, i64 244, !11, i64 252, !11, i64 253, !11, i64 254, !7, i64 255, !11, i64 256, !11, i64 257, !11, i64 258, !11, i64 259, !11, i64 260, !11, i64 261, !11, i64 262, !11, i64 263, !11, i64 264, !11, i64 265, !11, i64 266, !11, i64 267, !11, i64 268, !7, i64 269, !7, i64 270, !17, i64 272, !17, i64 274, !17, i64 276, !17, i64 278, !17, i64 280, !7, i64 282, !7, i64 283, !11, i64 284, !23, i64 288, !7, i64 292, !7, i64 293, !7, i64 294, !7, i64 295, !13, i64 296, !13, i64 297, !13, i64 298, !13, i64 299, !14, i64 300, !14, i64 308, !80, i64 320, !105, i64 336, !42, i64 600, !42, i64 616, !42, i64 632, !42, i64 648, !42, i64 664, !42, i64 680, !42, i64 696, !108, i64 712, !108, i64 716, !13, i64 720, !13, i64 724, !15, i64 728, !15, i64 732, !31, i64 736, !109, i64 752, !15, i64 768, !15, i64 772, !15, i64 776, !15, i64 780, !13, i64 784, !6, i64 792, !110, i64 800, !6, i64 1016, !6, i64 1024, !6, i64 1032, !6, i64 1040, !6, i64 1048, !6, i64 1056, !6, i64 1064, !6, i64 1072, !6, i64 1080, !7, i64 1088, !7, i64 1096, !7, i64 1128, !13, i64 1144, !13, i64 1148, !13, i64 1152, !11, i64 1156, !11, i64 1157, !11, i64 1157, !11, i64 1157, !11, i64 1157, !17, i64 1158, !117, i64 1160, !6, i64 1192, !6, i64 1200, !13, i64 1208}
!105 = !{!"_ZTS19ImGuiWindowTempData", !14, i64 0, !14, i64 8, !14, i64 16, !14, i64 24, !14, i64 32, !14, i64 40, !14, i64 48, !15, i64 56, !15, i64 60, !11, i64 64, !11, i64 65, !106, i64 68, !106, i64 72, !106, i64 76, !14, i64 80, !55, i64 88, !17, i64 92, !17, i64 94, !11, i64 96, !11, i64 97, !11, i64 98, !11, i64 99, !14, i64 100, !107, i64 108, !13, i64 136, !13, i64 140, !29, i64 144, !6, i64 160, !6, i64 168, !13, i64 176, !13, i64 180, !13, i64 184, !13, i64 188, !13, i64 192, !13, i64 196, !13, i64 200, !42, i64 204, !15, i64 220, !15, i64 224, !64, i64 232, !64, i64 248}
!106 = !{!"_ZTS6ImVec1", !15, i64 0}
!107 = !{!"_ZTS16ImGuiMenuColumns", !13, i64 0, !13, i64 4, !17, i64 8, !17, i64 10, !17, i64 12, !17, i64 14, !17, i64 16, !7, i64 18}
!108 = !{!"_ZTS8ImVec2ih", !17, i64 0, !17, i64 2}
!109 = !{!"_ZTS8ImVectorI15ImGuiOldColumnsE", !13, i64 0, !13, i64 4, !6, i64 8}
!110 = !{!"_ZTS10ImDrawList", !111, i64 0, !18, i64 16, !112, i64 32, !13, i64 48, !13, i64 52, !6, i64 56, !6, i64 64, !6, i64 72, !26, i64 80, !113, i64 96, !114, i64 128, !115, i64 152, !116, i64 168, !59, i64 184, !15, i64 200, !6, i64 208}
!111 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !13, i64 0, !13, i64 4, !6, i64 8}
!112 = !{!"_ZTS8ImVectorI10ImDrawVertE", !13, i64 0, !13, i64 4, !6, i64 8}
!113 = !{!"_ZTS15ImDrawCmdHeader", !25, i64 0, !40, i64 16, !13, i64 24}
!114 = !{!"_ZTS18ImDrawListSplitter", !13, i64 0, !13, i64 4, !65, i64 8}
!115 = !{!"_ZTS8ImVectorI6ImVec4E", !13, i64 0, !13, i64 4, !6, i64 8}
!116 = !{!"_ZTS8ImVectorIyE", !13, i64 0, !13, i64 4, !6, i64 8}
!117 = !{!"_ZTS20ImGuiWindowDockStyle", !7, i64 0}
!118 = !{!11, !11, i64 0}
!119 = !{!10, !6, i64 5368}
!120 = !{!104, !6, i64 1032}
!121 = !{!104, !13, i64 20}
!122 = !{!104, !13, i64 200}
!123 = !{!10, !11, i64 110}
!124 = !{!10, !6, i64 5392}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%struct.ImRect = type { %struct.ImVec2, %struct.ImVec2 }
%struct.ImVec2 = type { float, float }

@GImGui = external dso_local local_unnamed_addr global ptr, align 8

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN5ImGui31UpdateMouseMovingWindowEndFrameEv() local_unnamed_addr #1 {
  %1 = alloca %struct.ImRect, align 8
  %2 = load ptr, ptr @GImGui, align 8, !tbaa !5
  %3 = getelementptr inbounds i8, ptr %2, i64 5476
  %4 = load i32, ptr %3, align 4, !tbaa !9
  %.not = icmp eq i32 %4, 0
  br i1 %.not, label %5, label %80

5:                                                ; preds = %0
  %6 = getelementptr inbounds i8, ptr %2, i64 5452
  %7 = load i32, ptr %6, align 4, !tbaa !98
  %.not36 = icmp eq i32 %7, 0
  br i1 %.not36, label %12, label %8

8:                                                ; preds = %5
  %9 = getelementptr inbounds i8, ptr %2, i64 5473
  %10 = load i8, ptr %9, align 1, !tbaa !99, !range !100, !noundef !101
  %11 = trunc nuw i8 %10 to i1
  br i1 %11, label %12, label %80

12:                                               ; preds = %8, %5
  %13 = getelementptr inbounds i8, ptr %2, i64 8408
  %14 = load ptr, ptr %13, align 8, !tbaa !102
  %.not37 = icmp eq ptr %14, null
  br i1 %.not37, label %19, label %15

15:                                               ; preds = %12
  %16 = getelementptr inbounds i8, ptr %14, i64 264
  %17 = load i8, ptr %16, align 8, !tbaa !103, !range !100, !noundef !101
  %18 = trunc nuw i8 %17 to i1
  br i1 %18, label %80, label %19

19:                                               ; preds = %15, %12
  %20 = getelementptr inbounds i8, ptr %2, i64 2856
  %21 = load i8, ptr %20, align 8, !tbaa !118, !range !100, !noundef !101
  %22 = trunc nuw i8 %21 to i1
  br i1 %22, label %23, label %64

23:                                               ; preds = %19
  %24 = getelementptr inbounds i8, ptr %2, i64 5368
  %25 = load ptr, ptr %24, align 8, !tbaa !119
  %.not38 = icmp eq ptr %25, null
  br i1 %.not38, label %.thread, label %26

26:                                               ; preds = %23
  %27 = getelementptr inbounds i8, ptr %25, i64 1032
  %28 = load ptr, ptr %27, align 8, !tbaa !120
  %.not39 = icmp eq ptr %28, null
  br i1 %.not39, label %.thread, label %29

29:                                               ; preds = %26
  %30 = getelementptr inbounds i8, ptr %28, i64 20
  %31 = load i32, ptr %30, align 4, !tbaa !121
  %32 = and i32 %31, 67108864
  %.not40 = icmp eq i32 %32, 0
  br i1 %.not40, label %.critedge55, label %33

33:                                               ; preds = %29
  %34 = getelementptr inbounds i8, ptr %28, i64 200
  %35 = load i32, ptr %34, align 8, !tbaa !122
  %36 = tail call noundef zeroext i1 @_ZN5ImGui11IsPopupOpenEji(i32 noundef %35, i32 noundef 2048)
  br i1 %36, label %..critedge55_crit_edge, label %64

..critedge55_crit_edge:                           ; preds = %33
  %.pre = load ptr, ptr %24, align 8, !tbaa !119
  br label %.critedge55

.critedge55:                                      ; preds = %..critedge55_crit_edge, %29
  %37 = phi ptr [ %.pre, %..critedge55_crit_edge ], [ %25, %29 ]
  tail call void @_ZN5ImGui22StartMouseMovingWindowEP11ImGuiWindow(ptr noundef %37)
  %38 = getelementptr inbounds i8, ptr %2, i64 110
  %39 = load i8, ptr %38, align 2, !tbaa !123, !range !100, !noundef !101
  %40 = trunc nuw i8 %39 to i1
  br i1 %40, label %41, label %57

41:                                               ; preds = %.critedge55
  %42 = load i32, ptr %30, align 4, !tbaa !121
  %43 = and i32 %42, 1
  %.not41 = icmp eq i32 %43, 0
  br i1 %.not41, label %48, label %44

44:                                               ; preds = %41
  %45 = getelementptr inbounds i8, ptr %28, i64 1157
  %46 = load i8, ptr %45, align 1
  %47 = trunc i8 %46 to i1
  br i1 %47, label %48, label %57

48:                                               ; preds = %44, %41
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %1) #4
  %49 = tail call { <2 x float>, <2 x float> } @_ZNK11ImGuiWindow12TitleBarRectEv(ptr noundef nonnull align 8 dereferenceable(1212) %28)
  %50 = extractvalue { <2 x float>, <2 x float> } %49, 0
  store <2 x float> %50, ptr %1, align 8
  %51 = getelementptr inbounds i8, ptr %1, i64 8
  %52 = extractvalue { <2 x float>, <2 x float> } %49, 1
  store <2 x float> %52, ptr %51, align 8
  %53 = getelementptr inbounds i8, ptr %2, i64 2772
  %54 = call noundef zeroext i1 @_ZNK6ImRect8ContainsERK6ImVec2(ptr noundef nonnull align 4 dereferenceable(16) %1, ptr noundef nonnull align 4 dereferenceable(8) %53)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %1) #4
  br i1 %54, label %57, label %55

55:                                               ; preds = %48
  %56 = getelementptr inbounds i8, ptr %2, i64 5392
  store ptr null, ptr %56, align 8, !tbaa !124
  br label %57

57:                                               ; preds = %44, %55, %48, %.critedge55
  %58 = getelementptr inbounds i8, ptr %2, i64 5473
  %59 = load i8, ptr %58, align 1, !tbaa !99, !range !100, !noundef !101
  %60 = trunc nuw i8 %59 to i1
  br i1 %60, label %61, label %64

61:                                               ; preds = %57
  %62 = getelementptr inbounds i8, ptr %2, i64 5392
  store ptr null, ptr %62, align 8, !tbaa !124
  br label %64

.thread:                                          ; preds = %23, %26
  br i1 %.not37, label %64, label %63

63:                                               ; preds = %.thread
  tail call void @_ZN5ImGui11FocusWindowEP11ImGuiWindowi(ptr noundef null, i32 noundef 2)
  br label %64

64:                                               ; preds = %33, %61, %57, %63, %.thread, %19
  %65 = getelementptr inbounds i8, ptr %2, i64 2857
  %66 = load i8, ptr %65, align 1, !tbaa !118, !range !100, !noundef !101
  %67 = trunc nuw i8 %66 to i1
  br i1 %67, label %68, label %80

68:                                               ; preds = %64
  %69 = load i32, ptr %6, align 4, !tbaa !98
  %70 = icmp eq i32 %69, 0
  br i1 %70, label %71, label %80

71:                                               ; preds = %68
  %72 = call noundef ptr @_ZN5ImGui20GetTopMostPopupModalEv()
  %73 = getelementptr inbounds i8, ptr %2, i64 5368
  %74 = load ptr, ptr %73, align 8, !tbaa !119
  %.not43 = icmp eq ptr %74, null
  br i1 %.not43, label %.critedge, label %75

75:                                               ; preds = %71
  %76 = icmp eq ptr %72, null
  br i1 %76, label %.critedge, label %77

77:                                               ; preds = %75
  %78 = call noundef zeroext i1 @_ZN5ImGui13IsWindowAboveEP11ImGuiWindowS1_(ptr noundef nonnull %74, ptr noundef nonnull %72)
  br i1 %78, label %..critedge45_crit_edge, label %.critedge

..critedge45_crit_edge:                           ; preds = %77
  %.pre56 = load ptr, ptr %73, align 8, !tbaa !119
  br label %.critedge

.critedge:                                        ; preds = %75, %..critedge45_crit_edge, %77, %71
  %79 = phi ptr [ %72, %71 ], [ %72, %77 ], [ %.pre56, %..critedge45_crit_edge ], [ %74, %75 ]
  call void @_ZN5ImGui21ClosePopupsOverWindowEP11ImGuiWindowb(ptr noundef %79, i1 noundef zeroext true)
  br label %80

80:                                               ; preds = %64, %68, %.critedge, %15, %0, %8
  ret void
}

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN5ImGui11IsPopupOpenEji(i32 noundef, i32 noundef) local_unnamed_addr #2

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN5ImGui13IsWindowAboveEP11ImGuiWindowS1_(ptr noundef, ptr noundef) local_unnamed_addr #2

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !13, i64 5476}
!10 = !{!"_ZTS12ImGuiContext", !11, i64 0, !11, i64 1, !12, i64 8, !19, i64 3096, !22, i64 3392, !13, i64 4596, !13, i64 4600, !6, i64 4608, !15, i64 4616, !15, i64 4620, !15, i64 4624, !15, i64 4628, !24, i64 4632, !27, i64 5168, !13, i64 5176, !13, i64 5180, !13, i64 5184, !13, i64 5188, !13, i64 5192, !11, i64 5196, !11, i64 5197, !11, i64 5198, !11, i64 5199, !6, i64 5200, !7, i64 5208, !28, i64 5224, !28, i64 5240, !16, i64 5256, !13, i64 5260, !29, i64 5264, !29, i64 5280, !29, i64 5296, !30, i64 5312, !31, i64 5328, !13, i64 5344, !15, i64 5348, !13, i64 5352, !6, i64 5360, !6, i64 5368, !6, i64 5376, !6, i64 5384, !6, i64 5392, !6, i64 5400, !14, i64 5408, !13, i64 5416, !13, i64 5420, !15, i64 5424, !14, i64 5428, !14, i64 5436, !13, i64 5444, !13, i64 5448, !13, i64 5452, !13, i64 5456, !13, i64 5460, !15, i64 5464, !15, i64 5468, !11, i64 5472, !11, i64 5473, !11, i64 5474, !13, i64 5476, !13, i64 5480, !15, i64 5484, !11, i64 5488, !11, i64 5489, !11, i64 5490, !11, i64 5491, !11, i64 5492, !11, i64 5493, !11, i64 5494, !13, i64 5495, !14, i64 5496, !6, i64 5504, !33, i64 5512, !13, i64 5516, !34, i64 5520, !35, i64 5532, !13, i64 5540, !15, i64 5544, !27, i64 5552, !27, i64 5560, !27, i64 5568, !36, i64 5576, !7, i64 5596, !37, i64 7456, !13, i64 7800, !11, i64 7804, !13, i64 7808, !13, i64 7812, !13, i64 7816, !13, i64 7820, !39, i64 7824, !41, i64 7880, !43, i64 7960, !11, i64 8120, !13, i64 8124, !45, i64 8128, !46, i64 8144, !47, i64 8160, !48, i64 8176, !49, i64 8192, !50, i64 8208, !51, i64 8224, !51, i64 8240, !52, i64 8256, !53, i64 8272, !6, i64 8288, !6, i64 8296, !6, i64 8304, !13, i64 8312, !54, i64 8320, !42, i64 8368, !13, i64 8384, !13, i64 8388, !13, i64 8392, !11, i64 8396, !11, i64 8397, !11, i64 8398, !11, i64 8399, !13, i64 8400, !6, i64 8408, !13, i64 8416, !55, i64 8420, !13, i64 8424, !13, i64 8428, !13, i64 8432, !13, i64 8436, !48, i64 8440, !13, i64 8456, !15, i64 8460, !13, i64 8464, !13, i64 8468, !33, i64 8472, !40, i64 8480, !7, i64 8488, !11, i64 8489, !11, i64 8490, !11, i64 8491, !56, i64 8496, !11, i64 8552, !11, i64 8553, !11, i64 8554, !13, i64 8556, !13, i64 8560, !13, i64 8564, !23, i64 8568, !23, i64 8572, !23, i64 8576, !42, i64 8580, !42, i64 8596, !13, i64 8612, !13, i64 8616, !13, i64 8620, !56, i64 8624, !56, i64 8680, !56, i64 8736, !56, i64 8792, !13, i64 8848, !13, i64 8852, !13, i64 8856, !13, i64 8860, !11, i64 8864, !11, i64 8865, !13, i64 8868, !13, i64 8872, !6, i64 8880, !6, i64 8888, !6, i64 8896, !15, i64 8904, !15, i64 8908, !11, i64 8912, !57, i64 8916, !14, i64 8920, !14, i64 8928, !15, i64 8936, !11, i64 8940, !11, i64 8941, !11, i64 8942, !13, i64 8944, !13, i64 8948, !13, i64 8952, !58, i64 8960, !42, i64 9024, !42, i64 9040, !13, i64 9056, !13, i64 9060, !15, i64 9064, !13, i64 9068, !13, i64 9072, !13, i64 9076, !13, i64 9080, !59, i64 9088, !7, i64 9104, !13, i64 9120, !60, i64 9128, !6, i64 9144, !13, i64 9152, !13, i64 9156, !61, i64 9160, !62, i64 9176, !64, i64 9216, !65, i64 9232, !6, i64 9248, !66, i64 9256, !68, i64 9296, !69, i64 9312, !70, i64 9328, !6, i64 9432, !13, i64 9440, !71, i64 9448, !72, i64 9464, !13, i64 9504, !13, i64 9508, !15, i64 9512, !15, i64 9516, !13, i64 9520, !13, i64 9524, !13, i64 9528, !15, i64 9532, !14, i64 9536, !74, i64 9544, !76, i64 9664, !77, i64 9688, !13, i64 9808, !35, i64 9812, !13, i64 9820, !13, i64 9824, !13, i64 9828, !13, i64 9832, !13, i64 9836, !15, i64 9840, !15, i64 9844, !13, i64 9848, !25, i64 9852, !79, i64 9868, !42, i64 9916, !11, i64 9932, !17, i64 9934, !15, i64 9936, !15, i64 9940, !15, i64 9944, !11, i64 9948, !11, i64 9949, !15, i64 9952, !15, i64 9956, !15, i64 9960, !17, i64 9964, !17, i64 9966, !6, i64 9968, !75, i64 9976, !80, i64 9992, !81, i64 10008, !83, i64 10112, !83, i64 10128, !13, i64 10144, !84, i64 10152, !6, i64 10208, !11, i64 10216, !15, i64 10220, !87, i64 10224, !88, i64 10240, !89, i64 10256, !90, i64 10272, !91, i64 10288, !13, i64 10304, !7, i64 10312, !11, i64 10416, !13, i64 10420, !6, i64 10424, !6, i64 10432, !87, i64 10440, !6, i64 10456, !6, i64 10464, !15, i64 10472, !11, i64 10476, !13, i64 10480, !13, i64 10484, !13, i64 10488, !6, i64 10496, !6, i64 10504, !14, i64 10512, !11, i64 10520, !13, i64 10524, !92, i64 10528, !6, i64 10552, !13, i64 10560, !13, i64 10564, !87, i64 10568, !93, i64 10584, !13, i64 10608, !13, i64 10612, !7, i64 10616, !7, i64 10617, !11, i64 10618, !13, i64 10620, !7, i64 10624, !11, i64 10625, !7, i64 10626, !13, i64 10628, !15, i64 10632, !25, i64 10636, !94, i64 10652, !95, i64 10680, !97, i64 10736, !6, i64 10800, !7, i64 10808, !13, i64 11048, !13, i64 11052, !15, i64 11056, !13, i64 11060, !13, i64 11064, !13, i64 11068, !75, i64 11072, !7, i64 11088}
!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, !11, i64 96, !11, i64 97, !11, i64 98, !11, i64 99, !11, i64 100, !11, i64 101, !11, i64 102, !11, i64 103, !11, i64 104, !15, i64 108, !15, i64 112, !15, i64 116, !15, i64 120, !15, i64 124, !15, i64 128, !11, i64 132, !11, i64 133, !11, i64 134, !11, i64 135, !11, i64 136, !11, i64 137, !11, i64 138, !11, i64 139, !11, i64 140, !11, i64 141, !11, i64 142, !6, i64 144, !6, i64 152, !6, i64 160, !6, i64 168, !6, i64 176, !11, i64 184, !11, i64 185, !11, i64 186, !11, i64 187, !11, i64 188, !11, i64 189, !11, i64 190, !15, i64 192, !13, i64 196, !13, i64 200, !13, i64 204, !13, i64 208, !14, i64 212, !6, i64 224, !14, i64 232, !7, i64 240, !15, i64 248, !15, i64 252, !16, i64 256, !13, i64 260, !11, i64 264, !11, i64 265, !11, i64 266, !11, i64 267, !13, i64 268, !7, i64 272, !11, i64 2752, !14, i64 2756, !7, i64 2764, !7, i64 2808, !7, i64 2848, !7, i64 2853, !7, i64 2858, !7, i64 2868, !7, i64 2878, !7, i64 2888, !7, i64 2928, !7, i64 2933, !11, i64 2938, !11, i64 2939, !7, i64 2940, !7, i64 2960, !7, i64 2980, !7, i64 3020, !15, i64 3040, !11, i64 3044, !11, i64 3045, !17, i64 3046, !18, i64 3048, !6, i64 3064, !6, i64 3072, !6, i64 3080}
!13 = !{!"int", !7, i64 0}
!14 = !{!"_ZTS6ImVec2", !15, i64 0, !15, i64 4}
!15 = !{!"float", !7, i64 0}
!16 = !{!"_ZTS16ImGuiMouseSource", !7, i64 0}
!17 = !{!"short", !7, i64 0}
!18 = !{!"_ZTS8ImVectorItE", !13, i64 0, !13, i64 4, !6, i64 8}
!19 = !{!"_ZTS15ImGuiPlatformIO", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !17, 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, !6, i64 192, !6, i64 200, !6, i64 208, !6, i64 216, !6, i64 224, !6, i64 232, !6, i64 240, !6, i64 248, !6, i64 256, !20, i64 264, !21, i64 280}
!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, !15, i64 24, !14, i64 28, !14, i64 36, !23, i64 44, !15, i64 48, !15, i64 52, !15, i64 56, !15, i64 60, !14, i64 64, !15, i64 72, !15, i64 76, !14, i64 80, !14, i64 88, !14, i64 96, !14, i64 104, !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, !15, i64 156, !15, i64 160, !15, i64 164, !15, i64 168, !14, i64 172, !23, i64 180, !14, i64 184, !14, i64 192, !15, i64 200, !14, i64 204, !14, i64 212, !14, i64 220, !14, i64 228, !15, i64 236, !15, i64 240, !11, i64 244, !11, i64 245, !11, i64 246, !15, i64 248, !15, i64 252, !7, i64 256, !15, i64 1184, !15, i64 1188, !15, i64 1192, !13, i64 1196, !13, i64 1200}
!23 = !{!"_ZTS8ImGuiDir", !7, i64 0}
!24 = !{!"_ZTS20ImDrawListSharedData", !14, i64 0, !6, i64 8, !6, i64 16, !15, i64 24, !15, i64 28, !15, i64 32, !15, i64 36, !15, i64 40, !13, i64 44, !25, i64 48, !26, i64 64, !7, i64 80, !15, i64 464, !7, i64 468}
!25 = !{!"_ZTS6ImVec4", !15, i64 0, !15, i64 4, !15, i64 8, !15, i64 12}
!26 = !{!"_ZTS8ImVectorI6ImVec2E", !13, i64 0, !13, i64 4, !6, i64 8}
!27 = !{!"double", !7, i64 0}
!28 = !{!"_ZTS8ImVectorI15ImGuiInputEventE", !13, i64 0, !13, i64 4, !6, i64 8}
!29 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !13, i64 0, !13, i64 4, !6, i64 8}
!30 = !{!"_ZTS8ImVectorI20ImGuiWindowStackDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!31 = !{!"_ZTS12ImGuiStorage", !32, i64 0}
!32 = !{!"_ZTS8ImVectorI16ImGuiStoragePairE", !13, i64 0, !13, i64 4, !6, i64 8}
!33 = !{!"_ZTS16ImGuiInputSource", !7, i64 0}
!34 = !{!"_ZTS24ImGuiDeactivatedItemData", !13, i64 0, !13, i64 4, !11, i64 8, !11, i64 9}
!35 = !{!"_ZTS20ImGuiDataTypeStorage", !7, i64 0}
!36 = !{!"_ZTS10ImBitArrayILi155ELin512EE", !7, i64 0}
!37 = !{!"_ZTS20ImGuiKeyRoutingTable", !7, i64 0, !38, i64 312, !38, i64 328}
!38 = !{!"_ZTS8ImVectorI19ImGuiKeyRoutingDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!39 = !{!"_ZTS17ImGuiNextItemData", !13, i64 0, !13, i64 4, !13, i64 8, !40, i64 16, !15, i64 24, !13, i64 28, !13, i64 32, !11, i64 36, !7, i64 37, !35, i64 38, !13, i64 48}
!40 = !{!"long long", !7, i64 0}
!41 = !{!"_ZTS17ImGuiLastItemData", !13, i64 0, !13, i64 4, !13, i64 8, !42, i64 12, !42, i64 28, !42, i64 44, !42, i64 60, !13, i64 76}
!42 = !{!"_ZTS6ImRect", !14, i64 0, !14, i64 8}
!43 = !{!"_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, !13, i64 64, !11, i64 68, !11, i64 69, !42, i64 72, !6, i64 88, !6, i64 96, !15, i64 104, !13, i64 108, !13, i64 112, !44, i64 116, !14, i64 148, !13, i64 156}
!44 = !{!"_ZTS16ImGuiWindowClass", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12, !13, i64 16, !13, i64 20, !13, i64 24, !11, i64 28, !11, i64 29}
!45 = !{!"_ZTS8ImVectorI13ImGuiColorModE", !13, i64 0, !13, i64 4, !6, i64 8}
!46 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !13, i64 0, !13, i64 4, !6, i64 8}
!47 = !{!"_ZTS8ImVectorIP6ImFontE", !13, i64 0, !13, i64 4, !6, i64 8}
!48 = !{!"_ZTS8ImVectorI19ImGuiFocusScopeDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!49 = !{!"_ZTS8ImVectorIiE", !13, i64 0, !13, i64 4, !6, i64 8}
!50 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!51 = !{!"_ZTS8ImVectorI14ImGuiPopupDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!52 = !{!"_ZTS8ImVectorI22ImGuiTreeNodeStackDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!53 = !{!"_ZTS8ImVectorIP14ImGuiViewportPE", !13, i64 0, !13, i64 4, !6, i64 8}
!54 = !{!"_ZTS20ImGuiPlatformMonitor", !14, i64 0, !14, i64 8, !14, i64 16, !14, i64 24, !15, i64 32, !6, i64 40}
!55 = !{!"_ZTS13ImGuiNavLayer", !7, i64 0}
!56 = !{!"_ZTS16ImGuiNavItemData", !6, i64 0, !13, i64 8, !13, i64 12, !42, i64 16, !13, i64 32, !15, i64 36, !15, i64 40, !15, i64 44, !40, i64 48}
!57 = !{!"_ZTS8ImGuiKey", !7, i64 0}
!58 = !{!"_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}
!59 = !{!"_ZTS8ImVectorIhE", !13, i64 0, !13, i64 4, !6, i64 8}
!60 = !{!"_ZTS8ImVectorI20ImGuiListClipperDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!61 = !{!"_ZTS8ImVectorI18ImGuiTableTempDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!62 = !{!"_ZTS6ImPoolI10ImGuiTableE", !63, i64 0, !31, i64 16, !13, i64 32, !13, i64 36}
!63 = !{!"_ZTS8ImVectorI10ImGuiTableE", !13, i64 0, !13, i64 4, !6, i64 8}
!64 = !{!"_ZTS8ImVectorIfE", !13, i64 0, !13, i64 4, !6, i64 8}
!65 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !13, i64 0, !13, i64 4, !6, i64 8}
!66 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !67, i64 0, !31, i64 16, !13, i64 32, !13, i64 36}
!67 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !13, i64 0, !13, i64 4, !6, i64 8}
!68 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !13, i64 0, !13, i64 4, !6, i64 8}
!69 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !13, i64 0, !13, i64 4, !6, i64 8}
!70 = !{!"_ZTS19ImGuiBoxSelectState", !13, i64 0, !11, i64 4, !11, i64 5, !11, i64 6, !11, i64 7, !11, i64 8, !13, i64 9, !14, i64 12, !14, i64 20, !14, i64 28, !6, i64 40, !11, i64 48, !42, i64 52, !42, i64 68, !42, i64 84}
!71 = !{!"_ZTS8ImVectorI24ImGuiMultiSelectTempDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!72 = !{!"_ZTS6ImPoolI21ImGuiMultiSelectStateE", !73, i64 0, !31, i64 16, !13, i64 32, !13, i64 36}
!73 = !{!"_ZTS8ImVectorI21ImGuiMultiSelectStateE", !13, i64 0, !13, i64 4, !6, i64 8}
!74 = !{!"_ZTS19ImGuiInputTextState", !6, i64 0, !6, i64 8, !13, i64 16, !13, i64 20, !13, i64 24, !6, i64 32, !75, i64 40, !75, i64 56, !75, i64 72, !13, i64 88, !14, i64 92, !15, i64 100, !11, i64 104, !11, i64 105, !11, i64 106, !11, i64 107, !13, i64 108, !13, i64 112}
!75 = !{!"_ZTS8ImVectorIcE", !13, i64 0, !13, i64 4, !6, i64 8}
!76 = !{!"_ZTS30ImGuiInputTextDeactivatedState", !13, i64 0, !75, i64 8}
!77 = !{!"_ZTS6ImFont", !64, i64 0, !15, i64 16, !15, i64 20, !18, i64 24, !78, i64 40, !6, i64 56, !6, i64 64, !6, i64 72, !17, i64 80, !17, i64 82, !17, i64 84, !17, i64 86, !15, i64 88, !15, i64 92, !15, i64 96, !15, i64 100, !15, i64 104, !13, i64 108, !11, i64 112, !7, i64 113}
!78 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !13, i64 0, !13, i64 4, !6, i64 8}
!79 = !{!"_ZTS21ImGuiComboPreviewData", !42, i64 0, !14, i64 16, !14, i64 24, !14, i64 32, !15, i64 40, !13, i64 44}
!80 = !{!"_ZTS8ImVectorIjE", !13, i64 0, !13, i64 4, !6, i64 8}
!81 = !{!"_ZTS22ImGuiTypingSelectState", !82, i64 0, !7, i64 24, !13, i64 88, !13, i64 92, !15, i64 96, !11, i64 100}
!82 = !{!"_ZTS24ImGuiTypingSelectRequest", !13, i64 0, !13, i64 4, !6, i64 8, !11, i64 16, !11, i64 17, !7, i64 18}
!83 = !{!"_ZTS20ImGuiPlatformImeData", !11, i64 0, !14, i64 4, !15, i64 12}
!84 = !{!"_ZTS16ImGuiDockContext", !31, i64 0, !85, i64 16, !86, i64 32, !11, i64 48}
!85 = !{!"_ZTS8ImVectorI16ImGuiDockRequestE", !13, i64 0, !13, i64 4, !6, i64 8}
!86 = !{!"_ZTS8ImVectorI21ImGuiDockNodeSettingsE", !13, i64 0, !13, i64 4, !6, i64 8}
!87 = !{!"_ZTS15ImGuiTextBuffer", !75, i64 0}
!88 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !13, i64 0, !13, i64 4, !6, i64 8}
!89 = !{!"_ZTS13ImChunkStreamI19ImGuiWindowSettingsE", !75, i64 0}
!90 = !{!"_ZTS13ImChunkStreamI18ImGuiTableSettingsE", !75, i64 0}
!91 = !{!"_ZTS8ImVectorI16ImGuiContextHookE", !13, i64 0, !13, i64 4, !6, i64 8}
!92 = !{!"_ZTS23ImGuiErrorRecoveryState", !17, i64 0, !17, i64 2, !17, i64 4, !17, i64 6, !17, i64 8, !17, i64 10, !17, i64 12, !17, i64 14, !17, i64 16, !17, i64 18, !17, i64 20}
!93 = !{!"_ZTS14ImGuiTextIndex", !49, i64 0, !13, i64 16}
!94 = !{!"_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, !13, i64 20, !13, i64 24}
!95 = !{!"_ZTS16ImGuiIDStackTool", !13, i64 0, !13, i64 4, !13, i64 8, !96, i64 16, !11, i64 32, !15, i64 36, !87, i64 40}
!96 = !{!"_ZTS8ImVectorI19ImGuiStackLevelInfoE", !13, i64 0, !13, i64 4, !6, i64 8}
!97 = !{!"_ZTS19ImGuiDebugAllocInfo", !13, i64 0, !13, i64 4, !17, i64 8, !7, i64 12}
!98 = !{!10, !13, i64 5452}
!99 = !{!10, !11, i64 5473}
!100 = !{i8 0, i8 2}
!101 = !{}
!102 = !{!10, !6, i64 8408}
!103 = !{!104, !11, i64 264}
!104 = !{!"_ZTS11ImGuiWindow", !6, i64 0, !6, i64 8, !13, i64 16, !13, i64 20, !13, i64 24, !13, i64 28, !44, i64 32, !6, i64 64, !13, i64 72, !14, i64 76, !13, i64 84, !14, i64 88, !14, i64 96, !14, i64 104, !14, i64 112, !14, i64 120, !14, i64 128, !14, i64 136, !15, i64 144, !15, i64 148, !15, i64 152, !15, i64 156, !15, i64 160, !15, i64 164, !15, i64 168, !15, i64 172, !15, i64 176, !15, i64 180, !13, i64 184, !13, i64 188, !13, i64 192, !13, i64 196, !13, i64 200, !14, i64 204, !14, i64 212, !14, i64 220, !14, i64 228, !14, i64 236, !14, i64 244, !11, i64 252, !11, i64 253, !11, i64 254, !7, i64 255, !11, i64 256, !11, i64 257, !11, i64 258, !11, i64 259, !11, i64 260, !11, i64 261, !11, i64 262, !11, i64 263, !11, i64 264, !11, i64 265, !11, i64 266, !11, i64 267, !11, i64 268, !7, i64 269, !7, i64 270, !17, i64 272, !17, i64 274, !17, i64 276, !17, i64 278, !17, i64 280, !7, i64 282, !7, i64 283, !11, i64 284, !23, i64 288, !7, i64 292, !7, i64 293, !7, i64 294, !7, i64 295, !13, i64 296, !13, i64 297, !13, i64 298, !13, i64 299, !14, i64 300, !14, i64 308, !80, i64 320, !105, i64 336, !42, i64 600, !42, i64 616, !42, i64 632, !42, i64 648, !42, i64 664, !42, i64 680, !42, i64 696, !108, i64 712, !108, i64 716, !13, i64 720, !13, i64 724, !15, i64 728, !15, i64 732, !31, i64 736, !109, i64 752, !15, i64 768, !15, i64 772, !15, i64 776, !15, i64 780, !13, i64 784, !6, i64 792, !110, i64 800, !6, i64 1016, !6, i64 1024, !6, i64 1032, !6, i64 1040, !6, i64 1048, !6, i64 1056, !6, i64 1064, !6, i64 1072, !6, i64 1080, !7, i64 1088, !7, i64 1096, !7, i64 1128, !13, i64 1144, !13, i64 1148, !13, i64 1152, !11, i64 1156, !11, i64 1157, !11, i64 1157, !11, i64 1157, !11, i64 1157, !17, i64 1158, !117, i64 1160, !6, i64 1192, !6, i64 1200, !13, i64 1208}
!105 = !{!"_ZTS19ImGuiWindowTempData", !14, i64 0, !14, i64 8, !14, i64 16, !14, i64 24, !14, i64 32, !14, i64 40, !14, i64 48, !15, i64 56, !15, i64 60, !11, i64 64, !11, i64 65, !106, i64 68, !106, i64 72, !106, i64 76, !14, i64 80, !55, i64 88, !17, i64 92, !17, i64 94, !11, i64 96, !11, i64 97, !11, i64 98, !11, i64 99, !14, i64 100, !107, i64 108, !13, i64 136, !13, i64 140, !29, i64 144, !6, i64 160, !6, i64 168, !13, i64 176, !13, i64 180, !13, i64 184, !13, i64 188, !13, i64 192, !13, i64 196, !13, i64 200, !42, i64 204, !15, i64 220, !15, i64 224, !64, i64 232, !64, i64 248}
!106 = !{!"_ZTS6ImVec1", !15, i64 0}
!107 = !{!"_ZTS16ImGuiMenuColumns", !13, i64 0, !13, i64 4, !17, i64 8, !17, i64 10, !17, i64 12, !17, i64 14, !17, i64 16, !7, i64 18}
!108 = !{!"_ZTS8ImVec2ih", !17, i64 0, !17, i64 2}
!109 = !{!"_ZTS8ImVectorI15ImGuiOldColumnsE", !13, i64 0, !13, i64 4, !6, i64 8}
!110 = !{!"_ZTS10ImDrawList", !111, i64 0, !18, i64 16, !112, i64 32, !13, i64 48, !13, i64 52, !6, i64 56, !6, i64 64, !6, i64 72, !26, i64 80, !113, i64 96, !114, i64 128, !115, i64 152, !116, i64 168, !59, i64 184, !15, i64 200, !6, i64 208}
!111 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !13, i64 0, !13, i64 4, !6, i64 8}
!112 = !{!"_ZTS8ImVectorI10ImDrawVertE", !13, i64 0, !13, i64 4, !6, i64 8}
!113 = !{!"_ZTS15ImDrawCmdHeader", !25, i64 0, !40, i64 16, !13, i64 24}
!114 = !{!"_ZTS18ImDrawListSplitter", !13, i64 0, !13, i64 4, !65, i64 8}
!115 = !{!"_ZTS8ImVectorI6ImVec4E", !13, i64 0, !13, i64 4, !6, i64 8}
!116 = !{!"_ZTS8ImVectorIyE", !13, i64 0, !13, i64 4, !6, i64 8}
!117 = !{!"_ZTS20ImGuiWindowDockStyle", !7, i64 0}
!118 = !{!11, !11, i64 0}
!119 = !{!10, !6, i64 5368}
!120 = !{!104, !6, i64 1032}
!121 = !{!104, !13, i64 20}
!122 = !{!104, !13, i64 200}
!123 = !{!10, !11, i64 110}
!124 = !{!10, !6, i64 5392}


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