; LLVM IR from hadryansalles/Luz :: deps/imgui/imgui.ll (ZN5ImGui17ClosePopupToLevelEib)

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

%struct.ImGuiContext = type { i8, i8, %struct.ImGuiIO, %struct.ImGuiPlatformIO, %struct.ImGuiStyle, i32, i32, ptr, float, float, %struct.ImDrawListSharedData, double, i32, i32, i32, i32, i8, i8, i8, i8, i8, ptr, %struct.ImVector.3, %struct.ImVector.3, i32, i32, %struct.ImVector.4, %struct.ImVector.4, %struct.ImVector.4, %struct.ImVector.5, %struct.ImGuiStorage, i32, %struct.ImVec2, i32, ptr, ptr, ptr, ptr, ptr, %struct.ImVec2, i32, i32, float, %struct.ImVec2, %struct.ImVec2, i32, i32, i32, i8, i8, float, float, i32, i32, float, i8, i8, i8, i8, i8, i8, i8, i8, %struct.ImVec2, ptr, i32, i32, i8, i8, ptr, i32, float, double, double, double, %struct.ImBitArray, [154 x %struct.ImGuiKeyOwnerData], %struct.ImGuiKeyRoutingTable, i32, i8, i32, i32, i32, i32, i32, [4 x i8], %struct.ImGuiNextItemData, %struct.ImGuiLastItemData, [4 x i8], %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, i32, %struct.ImVector.16, float, ptr, ptr, ptr, i32, %struct.ImGuiPlatformMonitor, i32, i32, i32, ptr, i32, i32, %struct.ImVector.11, i32, i32, i32, i32, i32, float, i32, i32, i32, i32, i32, i32, i32, i64, i8, i8, i8, i8, i8, i8, i8, i8, %struct.ImGuiNavItemData, i8, i8, i8, i32, i32, i32, i32, i32, i32, %struct.ImRect, %struct.ImRect, i32, i32, i32, %struct.ImGuiNavItemData, %struct.ImGuiNavItemData, %struct.ImGuiNavItemData, %struct.ImGuiNavItemData, i32, i32, ptr, ptr, ptr, float, float, i8, %struct.ImVec2, %struct.ImVec2, float, i8, i8, i8, i32, i32, i32, %struct.ImGuiPayload, %struct.ImRect, %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, i32, i32, float, float, i32, i32, i32, float, %struct.ImVec2, %struct.ImGuiInputTextState, %struct.ImGuiInputTextDeactivatedState, %struct.ImFont, i32, i32, i32, i32, float, float, i32, %struct.ImVec4, %struct.ImGuiComboPreviewData, %struct.ImRect, i8, float, float, i8, i8, float, float, float, float, i16, i16, i16, %struct.ImVector.27, %struct.ImVector.29, %struct.ImGuiTypingSelectState, %struct.ImGuiPlatformImeData, %struct.ImGuiPlatformImeData, i32, [4 x i8], %struct.ImGuiDockContext, ptr, i8, float, %struct.ImGuiTextBuffer, %struct.ImVector.32, %struct.ImChunkStream, %struct.ImChunkStream.33, %struct.ImVector.34, i32, [11 x ptr], i8, i32, ptr, %struct.ImGuiTextBuffer, ptr, ptr, float, i8, i32, i32, i32, i32, %struct.ImGuiTextBuffer, %struct.ImGuiTextIndex, 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.27, [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, float, float, float, float, float, float, i8, i8, i8, i8, i8, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i16, i8, i8, i8, i8, i8, i8, i8, float, i32, i32, i32, i32, %struct.ImVec2, [666 x i32], [666 x i8], [16 x float], ptr, %struct.ImVec2, [5 x i8], float, float, i32, i32, i8, i8, i8, i8, i32, [666 x %struct.ImGuiKeyData], i8, %struct.ImVec2, [5 x %struct.ImVec2], [5 x double], [5 x i8], [5 x i8], [5 x i16], [5 x i16], [5 x i8], [5 x i8], [5 x i8], i8, [5 x float], [5 x float], [5 x %struct.ImVec2], [5 x float], float, i8, i8, i8, i8, i16, %struct.ImVector }
%struct.ImGuiKeyData = type { i8, float, float, float }
%struct.ImVector = type { i32, i32, ptr }
%struct.ImGuiPlatformIO = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, %struct.ImVector.0, %struct.ImVector.1 }
%struct.ImVector.0 = type { i32, i32, ptr }
%struct.ImVector.1 = type { i32, i32, ptr }
%struct.ImGuiStyle = type { float, float, %struct.ImVec2, float, float, %struct.ImVec2, %struct.ImVec2, i32, float, float, float, float, %struct.ImVec2, float, float, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, float, float, float, float, float, float, float, float, float, float, float, i32, %struct.ImVec2, %struct.ImVec2, float, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, float, i8, i8, i8, float, float, [55 x %struct.ImVec4], float, float, float, i32, i32 }
%struct.ImDrawListSharedData = type { %struct.ImVec2, ptr, float, float, float, %struct.ImVec4, i32, %struct.ImVector.2, [48 x %struct.ImVec2], float, [64 x i8], ptr }
%struct.ImVector.2 = type { i32, i32, ptr }
%struct.ImVector.3 = type { i32, i32, ptr }
%struct.ImVector.4 = type { i32, i32, ptr }
%struct.ImVector.5 = type { i32, i32, ptr }
%struct.ImGuiStorage = type { %struct.ImVector.6 }
%struct.ImVector.6 = type { i32, i32, ptr }
%struct.ImBitArray = type { [5 x i32] }
%struct.ImGuiKeyOwnerData = type <{ i32, i32, i8, i8, [2 x i8] }>
%struct.ImGuiKeyRoutingTable = type { [154 x i16], %struct.ImVector.7, %struct.ImVector.7 }
%struct.ImVector.7 = type { i32, i32, ptr }
%struct.ImGuiNextItemData = type <{ i32, i32, i64, float, i32, i8, i8, [6 x i8] }>
%struct.ImGuiLastItemData = type { i32, i32, i32, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImRect }
%struct.ImGuiNextWindowData = type <{ i32, i32, i32, i32, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, i32, i8, i8, [2 x i8], %struct.ImRect, [4 x i8], ptr, ptr, float, i32, i32, %struct.ImGuiWindowClass, %struct.ImVec2, [4 x i8] }>
%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, [4 x i8], i64, float, float, float, [4 x i8] }>
%struct.ImGuiPayload = type <{ ptr, i32, i32, i32, i32, [33 x i8], i8, i8, [5 x i8] }>
%struct.ImVector.17 = type { i32, i32, ptr }
%struct.ImVector.18 = type { i32, i32, ptr }
%struct.ImVector.19 = type { i32, i32, ptr }
%struct.ImPool = type { %struct.ImVector.20, %struct.ImGuiStorage, i32, i32 }
%struct.ImVector.20 = type { i32, i32, ptr }
%struct.ImVector.21 = type { i32, i32, ptr }
%struct.ImVector.22 = type { i32, i32, ptr }
%struct.ImPool.23 = type { %struct.ImVector.24, %struct.ImGuiStorage, i32, i32 }
%struct.ImVector.24 = type { i32, i32, ptr }
%struct.ImVector.25 = type { i32, i32, ptr }
%struct.ImVector.26 = type { i32, i32, ptr }
%struct.ImVec2 = type { float, float }
%struct.ImGuiInputTextState = type <{ ptr, i32, i32, i32, [4 x i8], %struct.ImVector, %struct.ImVector.27, %struct.ImVector.27, i8, [3 x i8], i32, float, %"struct.ImStb::STB_TexteditState", float, i8, i8, i8, i8, i32, [4 x i8] }>
%"struct.ImStb::STB_TexteditState" = type { i32, i32, i32, i8, i32, i8, i8, i8, i8, i8, i8, i8, float, %"struct.ImStb::StbUndoState" }
%"struct.ImStb::StbUndoState" = type { [99 x %"struct.ImStb::StbUndoRecord"], [999 x i16], i16, i16, i32, i32 }
%"struct.ImStb::StbUndoRecord" = type { i32, i32, i32, i32 }
%struct.ImGuiInputTextDeactivatedState = type { i32, %struct.ImVector.27 }
%struct.ImFont = type <{ %struct.ImVector.21, float, float, %struct.ImVector, %struct.ImVector.28, ptr, ptr, ptr, i16, i16, i16, i16, float, float, i8, [3 x i8], float, float, float, i32, [2 x i8], [2 x i8] }>
%struct.ImVector.28 = type { i32, i32, ptr }
%struct.ImGuiComboPreviewData = type { %struct.ImRect, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, i32 }
%struct.ImRect = type { %struct.ImVec2, %struct.ImVec2 }
%struct.ImVector.29 = 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.30, %struct.ImVector.31, i8, [7 x i8] }>
%struct.ImVector.30 = type { i32, i32, ptr }
%struct.ImVector.31 = type { i32, i32, ptr }
%struct.ImVector.32 = type { i32, i32, ptr }
%struct.ImChunkStream = type { %struct.ImVector.27 }
%struct.ImChunkStream.33 = type { %struct.ImVector.27 }
%struct.ImVector.34 = type { i32, i32, ptr }
%struct.ImGuiTextBuffer = type { %struct.ImVector.27 }
%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, i8, i32, i32 }
%struct.ImGuiIDStackTool = type { i32, i32, i32, %struct.ImVector.35, i8, float }
%struct.ImVector.35 = type { i32, i32, ptr }
%struct.ImGuiDebugAllocInfo = type { i32, i32, i16, [6 x %struct.ImGuiDebugAllocEntry] }
%struct.ImGuiDebugAllocEntry = type { i32, i16, i16 }
%struct.ImVector.27 = type { i32, i32, ptr }
%struct.ImGuiPopupData = type <{ i32, [4 x i8], ptr, ptr, i32, i32, i32, %struct.ImVec2, %struct.ImVec2, [4 x i8] }>
%struct.ImGuiWindow = type { ptr, ptr, i32, i32, i32, i32, %struct.ImGuiWindowClass, ptr, i32, %struct.ImVec2, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, float, float, float, float, float, float, float, i32, i32, i32, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i16, i16, i16, i16, i16, i32, i8, i8, i8, i32, i8, i8, i8, i8, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVector.29, %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.38, float, float, i32, 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, i32, %struct.ImRect }
%struct.ImGuiWindowTempData = type { %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, float, i8, i8, %struct.ImVec1, %struct.ImVec1, %struct.ImVec1, %struct.ImVec2, i32, i16, i16, i8, i8, i8, i8, %struct.ImVec2, %struct.ImGuiMenuColumns, i32, i32, %struct.ImVector.4, ptr, ptr, i32, i32, i32, float, float, %struct.ImVector.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.38 = type { i32, i32, ptr }
%struct.ImDrawList = type <{ %struct.ImVector.39, %struct.ImVector, %struct.ImVector.40, i32, i32, ptr, ptr, ptr, ptr, %struct.ImVector.41, %struct.ImVector.42, %struct.ImVector.2, %struct.ImDrawCmdHeader, %struct.ImDrawListSplitter, float, [4 x i8] }>
%struct.ImVector.39 = type { i32, i32, ptr }
%struct.ImVector.40 = type { i32, i32, ptr }
%struct.ImVector.41 = type { i32, i32, ptr }
%struct.ImVector.42 = type { i32, i32, ptr }
%struct.ImDrawCmdHeader = type <{ %struct.ImVec4, ptr, i32, [4 x i8] }>
%struct.ImDrawListSplitter = type { i32, i32, %struct.ImVector.22 }
%struct.ImGuiWindowDockStyle = type { [6 x i32] }

@GImGui = external dso_local global ptr, align 8
@.str.3 = external hidden unnamed_addr constant [72 x i8], align 1
@.str.290 = external hidden unnamed_addr constant [71 x i8], align 1
@.str.291 = external hidden unnamed_addr constant [52 x i8], align 1
@__PRETTY_FUNCTION__._ZN5ImGui17ClosePopupToLevelEib = external hidden unnamed_addr constant [41 x i8], align 1

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

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

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

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

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

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

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

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

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

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

17:                                               ; preds = %11
  %18 = load i32, ptr %3, align 4, !tbaa !5
  %19 = load i8, ptr %4, align 1, !tbaa !9, !range !94, !noundef !95
  %20 = trunc i8 %19 to i1
  %21 = zext i1 %20 to i32
  call void (ptr, ...) @_ZN5ImGui8DebugLogEPKcz(ptr noundef @.str.290, i32 noundef %18, i32 noundef %21)
  br label %22

22:                                               ; preds = %17, %11
  br label %23

23:                                               ; preds = %22
  br label %24

24:                                               ; preds = %23
  %25 = load i32, ptr %3, align 4, !tbaa !5
  %26 = icmp sge i32 %25, 0
  br i1 %26, label %27, label %34

27:                                               ; preds = %24
  %28 = load i32, ptr %3, align 4, !tbaa !5
  %29 = load ptr, ptr %5, align 8, !tbaa !11
  %30 = getelementptr inbounds %struct.ImGuiContext, ptr %29, i32 0, i32 98
  %31 = getelementptr inbounds %struct.ImVector.14, ptr %30, i32 0, i32 0
  %32 = load i32, ptr %31, align 8, !tbaa !96
  %33 = icmp slt i32 %28, %32
  br label %34

34:                                               ; preds = %27, %24
  %35 = phi i1 [ false, %24 ], [ %33, %27 ]
  br i1 %35, label %36, label %37

36:                                               ; preds = %34
  br label %39

37:                                               ; preds = %34
  call void @__assert_fail(ptr noundef @.str.291, ptr noundef @.str.3, i32 noundef 11495, ptr noundef @__PRETTY_FUNCTION__._ZN5ImGui17ClosePopupToLevelEib) #6
  unreachable

38:                                               ; No predecessors!
  br label %39

39:                                               ; preds = %38, %36
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #5
  %40 = load ptr, ptr %5, align 8, !tbaa !11
  %41 = getelementptr inbounds %struct.ImGuiContext, ptr %40, i32 0, i32 98
  %42 = load i32, ptr %3, align 4, !tbaa !5
  %43 = call noundef nonnull align 8 dereferenceable(52) ptr @_ZN8ImVectorI14ImGuiPopupDataEixEi(ptr noundef nonnull align 8 dereferenceable(16) %41, i32 noundef %42)
  %44 = getelementptr inbounds %struct.ImGuiPopupData, ptr %43, i32 0, i32 2
  %45 = load ptr, ptr %44, align 8, !tbaa !97
  store ptr %45, ptr %6, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #5
  %46 = load ptr, ptr %5, align 8, !tbaa !11
  %47 = getelementptr inbounds %struct.ImGuiContext, ptr %46, i32 0, i32 98
  %48 = load i32, ptr %3, align 4, !tbaa !5
  %49 = call noundef nonnull align 8 dereferenceable(52) ptr @_ZN8ImVectorI14ImGuiPopupDataEixEi(ptr noundef nonnull align 8 dereferenceable(16) %47, i32 noundef %48)
  %50 = getelementptr inbounds %struct.ImGuiPopupData, ptr %49, i32 0, i32 3
  %51 = load ptr, ptr %50, align 8, !tbaa !99
  store ptr %51, ptr %7, align 8, !tbaa !11
  %52 = load ptr, ptr %5, align 8, !tbaa !11
  %53 = getelementptr inbounds %struct.ImGuiContext, ptr %52, i32 0, i32 98
  %54 = load i32, ptr %3, align 4, !tbaa !5
  call void @_ZN8ImVectorI14ImGuiPopupDataE6resizeEi(ptr noundef nonnull align 8 dereferenceable(16) %53, i32 noundef %54)
  %55 = load i8, ptr %4, align 1, !tbaa !9, !range !94, !noundef !95
  %56 = trunc i8 %55 to i1
  br i1 %56, label %57, label %95

57:                                               ; preds = %39
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #5
  %58 = load ptr, ptr %6, align 8, !tbaa !11
  %59 = icmp ne ptr %58, null
  br i1 %59, label %60, label %70

60:                                               ; preds = %57
  %61 = load ptr, ptr %6, align 8, !tbaa !11
  %62 = getelementptr inbounds %struct.ImGuiWindow, ptr %61, i32 0, i32 3
  %63 = load i32, ptr %62, align 4, !tbaa !100
  %64 = and i32 %63, 268435456
  %65 = icmp ne i32 %64, 0
  br i1 %65, label %66, label %70

66:                                               ; preds = %60
  %67 = load ptr, ptr %6, align 8, !tbaa !11
  %68 = getelementptr inbounds %struct.ImGuiWindow, ptr %67, i32 0, i32 91
  %69 = load ptr, ptr %68, align 8, !tbaa !115
  br label %72

70:                                               ; preds = %60, %57
  %71 = load ptr, ptr %7, align 8, !tbaa !11
  br label %72

72:                                               ; preds = %70, %66
  %73 = phi ptr [ %69, %66 ], [ %71, %70 ]
  store ptr %73, ptr %8, align 8, !tbaa !11
  %74 = load ptr, ptr %8, align 8, !tbaa !11
  %75 = icmp ne ptr %74, null
  br i1 %75, label %76, label %86

76:                                               ; preds = %72
  %77 = load ptr, ptr %8, align 8, !tbaa !11
  %78 = getelementptr inbounds %struct.ImGuiWindow, ptr %77, i32 0, i32 40
  %79 = load i8, ptr %78, align 4, !tbaa !116, !range !94, !noundef !95
  %80 = trunc i8 %79 to i1
  br i1 %80, label %86, label %81

81:                                               ; preds = %76
  %82 = load ptr, ptr %6, align 8, !tbaa !11
  %83 = icmp ne ptr %82, null
  br i1 %83, label %84, label %86

84:                                               ; preds = %81
  %85 = load ptr, ptr %6, align 8, !tbaa !11
  call void @_ZN5ImGui26FocusTopMostWindowUnderOneEP11ImGuiWindowS1_P13ImGuiViewporti(ptr noundef %85, ptr noundef null, ptr noundef null, i32 noundef 1)
  br label %94

86:                                               ; preds = %81, %76, %72
  %87 = load ptr, ptr %8, align 8, !tbaa !11
  %88 = load ptr, ptr %5, align 8, !tbaa !11
  %89 = getelementptr inbounds %struct.ImGuiContext, ptr %88, i32 0, i32 128
  %90 = load i32, ptr %89, align 8, !tbaa !117
  %91 = icmp eq i32 %90, 0
  %92 = zext i1 %91 to i64
  %93 = select i1 %91, i32 1, i32 0
  call void @_ZN5ImGui11FocusWindowEP11ImGuiWindowi(ptr noundef %87, i32 noundef %93)
  br label %94

94:                                               ; preds = %86, %84
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #5
  br label %95

95:                                               ; preds = %94, %39
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #5
  ret void
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nounwind }
attributes #6 = { noreturn nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !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, !12, i64 0}
!12 = !{!"any pointer", !7, i64 0}
!13 = !{!14, !6, i64 25196}
!14 = !{!"_ZTS12ImGuiContext", !10, i64 0, !10, i64 1, !15, i64 8, !21, i64 14624, !24, i64 14840, !6, i64 15972, !6, i64 15976, !12, i64 15984, !17, i64 15992, !17, i64 15996, !25, i64 16000, !28, i64 16528, !6, i64 16536, !6, i64 16540, !6, i64 16544, !6, i64 16548, !10, i64 16552, !10, i64 16553, !10, i64 16554, !10, i64 16555, !10, i64 16556, !12, i64 16560, !29, i64 16568, !29, i64 16584, !19, i64 16600, !6, i64 16604, !30, i64 16608, !30, i64 16624, !30, i64 16640, !31, i64 16656, !32, i64 16672, !6, i64 16688, !16, i64 16692, !6, i64 16700, !12, i64 16704, !12, i64 16712, !12, i64 16720, !12, i64 16728, !12, i64 16736, !16, i64 16744, !6, i64 16752, !6, i64 16756, !17, i64 16760, !16, i64 16764, !16, i64 16772, !6, i64 16780, !6, i64 16784, !6, i64 16788, !10, i64 16792, !10, i64 16793, !17, i64 16796, !17, i64 16800, !6, i64 16804, !6, i64 16808, !17, i64 16812, !10, i64 16816, !10, i64 16817, !10, i64 16818, !10, i64 16819, !10, i64 16820, !10, i64 16821, !10, i64 16822, !6, i64 16823, !16, i64 16824, !12, i64 16832, !34, i64 16840, !6, i64 16844, !10, i64 16848, !10, i64 16849, !12, i64 16856, !6, i64 16864, !17, i64 16868, !28, i64 16872, !28, i64 16880, !28, i64 16888, !35, i64 16896, !7, i64 16916, !36, i64 18768, !6, i64 19112, !10, i64 19116, !6, i64 19120, !6, i64 19124, !6, i64 19128, !6, i64 19132, !6, i64 19136, !38, i64 19144, !40, i64 19176, !42, i64 19256, !10, i64 19416, !6, i64 19420, !44, i64 19424, !45, i64 19440, !46, i64 19456, !47, i64 19472, !48, i64 19488, !49, i64 19504, !50, i64 19520, !50, i64 19536, !51, i64 19552, !6, i64 19568, !52, i64 19576, !17, i64 19592, !12, i64 19600, !12, i64 19608, !12, i64 19616, !6, i64 19624, !53, i64 19632, !6, i64 19680, !6, i64 19684, !6, i64 19688, !12, i64 19696, !6, i64 19704, !6, i64 19708, !47, i64 19712, !6, i64 19728, !6, i64 19732, !6, i64 19736, !6, i64 19740, !6, i64 19744, !17, i64 19748, !6, i64 19752, !6, i64 19756, !6, i64 19760, !6, i64 19764, !6, i64 19768, !34, i64 19772, !54, i64 19776, !39, i64 19784, !10, i64 19792, !10, i64 19793, !10, i64 19794, !10, i64 19795, !10, i64 19796, !10, i64 19797, !10, i64 19798, !55, i64 19800, !10, i64 19864, !10, i64 19865, !10, i64 19866, !6, i64 19868, !6, i64 19872, !6, i64 19876, !6, i64 19880, !6, i64 19884, !6, i64 19888, !41, i64 19892, !41, i64 19908, !6, i64 19924, !6, i64 19928, !6, i64 19932, !55, i64 19936, !55, i64 20000, !55, i64 20064, !55, i64 20128, !6, i64 20192, !6, i64 20196, !12, i64 20200, !12, i64 20208, !12, i64 20216, !17, i64 20224, !17, i64 20228, !10, i64 20232, !16, i64 20236, !16, i64 20244, !17, i64 20252, !10, i64 20256, !10, i64 20257, !10, i64 20258, !6, i64 20260, !6, i64 20264, !6, i64 20268, !56, i64 20272, !41, i64 20336, !41, i64 20352, !6, i64 20368, !6, i64 20372, !17, i64 20376, !6, i64 20380, !6, i64 20384, !6, i64 20388, !6, i64 20392, !57, i64 20400, !7, i64 20416, !6, i64 20432, !58, i64 20440, !12, i64 20456, !6, i64 20464, !6, i64 20468, !59, i64 20472, !60, i64 20488, !62, i64 20528, !63, i64 20544, !12, i64 20560, !64, i64 20568, !66, i64 20608, !67, i64 20624, !6, i64 20640, !6, i64 20644, !17, i64 20648, !17, i64 20652, !6, i64 20656, !6, i64 20660, !6, i64 20664, !17, i64 20668, !16, i64 20672, !68, i64 20680, !72, i64 24408, !73, i64 24432, !6, i64 24552, !6, i64 24556, !6, i64 24560, !6, i64 24564, !17, i64 24568, !17, i64 24572, !6, i64 24576, !26, i64 24580, !75, i64 24596, !41, i64 24644, !10, i64 24660, !17, i64 24664, !17, i64 24668, !10, i64 24672, !10, i64 24673, !17, i64 24676, !17, i64 24680, !17, i64 24684, !17, i64 24688, !18, i64 24692, !18, i64 24694, !18, i64 24696, !69, i64 24704, !76, i64 24720, !77, i64 24736, !79, i64 24840, !79, i64 24856, !6, i64 24872, !80, i64 24880, !12, i64 24936, !10, i64 24944, !17, i64 24948, !83, i64 24952, !84, i64 24968, !85, i64 24984, !86, i64 25000, !87, i64 25016, !6, i64 25032, !7, i64 25040, !10, i64 25128, !88, i64 25132, !12, i64 25136, !83, i64 25144, !12, i64 25160, !12, i64 25168, !17, i64 25176, !10, i64 25180, !6, i64 25184, !6, i64 25188, !6, i64 25192, !6, i64 25196, !83, i64 25200, !89, i64 25216, !6, i64 25240, !7, i64 25244, !7, i64 25245, !10, i64 25246, !6, i64 25248, !7, i64 25252, !10, i64 25253, !7, i64 25254, !6, i64 25256, !17, i64 25260, !26, i64 25264, !90, i64 25280, !91, i64 25304, !93, i64 25344, !12, i64 25408, !7, i64 25416, !6, i64 25656, !6, i64 25660, !17, i64 25664, !6, i64 25668, !6, i64 25672, !6, i64 25676, !69, i64 25680, !7, i64 25696}
!15 = !{!"_ZTS7ImGuiIO", !6, i64 0, !6, i64 4, !16, i64 8, !17, i64 16, !17, i64 20, !12, i64 24, !12, i64 32, !12, i64 40, !12, i64 48, !17, i64 56, !10, i64 60, !12, i64 64, !16, i64 72, !10, i64 80, !10, i64 81, !10, i64 82, !10, i64 83, !10, i64 84, !10, i64 85, !10, i64 86, !10, i64 87, !10, i64 88, !10, i64 89, !10, i64 90, !10, i64 91, !10, i64 92, !10, i64 93, !10, i64 94, !10, i64 95, !17, i64 96, !17, i64 100, !17, i64 104, !17, i64 108, !17, i64 112, !17, i64 116, !10, i64 120, !10, i64 121, !10, i64 122, !10, i64 123, !10, i64 124, !12, i64 128, !12, i64 136, !12, i64 144, !12, i64 152, !12, i64 160, !12, i64 168, !12, i64 176, !12, i64 184, !12, i64 192, !18, i64 200, !10, i64 202, !10, i64 203, !10, i64 204, !10, i64 205, !10, i64 206, !10, i64 207, !10, i64 208, !17, i64 212, !6, i64 216, !6, i64 220, !6, i64 224, !6, i64 228, !16, i64 232, !7, i64 240, !7, i64 2904, !7, i64 3572, !12, i64 3640, !16, i64 3648, !7, i64 3656, !17, i64 3664, !17, i64 3668, !19, i64 3672, !6, i64 3676, !10, i64 3680, !10, i64 3681, !10, i64 3682, !10, i64 3683, !6, i64 3684, !7, i64 3688, !10, i64 14344, !16, i64 14348, !7, i64 14356, !7, i64 14400, !7, i64 14440, !7, i64 14445, !7, i64 14450, !7, i64 14460, !7, i64 14470, !7, i64 14475, !7, i64 14480, !10, i64 14485, !7, i64 14488, !7, i64 14508, !7, i64 14528, !7, i64 14568, !17, i64 14588, !10, i64 14592, !10, i64 14593, !7, i64 14594, !10, i64 14595, !18, i64 14596, !20, i64 14600}
!16 = !{!"_ZTS6ImVec2", !17, i64 0, !17, i64 4}
!17 = !{!"float", !7, i64 0}
!18 = !{!"short", !7, i64 0}
!19 = !{!"_ZTS16ImGuiMouseSource", !7, i64 0}
!20 = !{!"_ZTS8ImVectorItE", !6, i64 0, !6, i64 4, !12, i64 8}
!21 = !{!"_ZTS15ImGuiPlatformIO", !12, i64 0, !12, i64 8, !12, i64 16, !12, i64 24, !12, i64 32, !12, i64 40, !12, i64 48, !12, i64 56, !12, i64 64, !12, i64 72, !12, i64 80, !12, i64 88, !12, i64 96, !12, i64 104, !12, i64 112, !12, i64 120, !12, i64 128, !12, i64 136, !12, i64 144, !12, i64 152, !12, i64 160, !12, i64 168, !12, i64 176, !22, i64 184, !23, i64 200}
!22 = !{!"_ZTS8ImVectorI20ImGuiPlatformMonitorE", !6, i64 0, !6, i64 4, !12, i64 8}
!23 = !{!"_ZTS8ImVectorIP13ImGuiViewportE", !6, i64 0, !6, i64 4, !12, i64 8}
!24 = !{!"_ZTS10ImGuiStyle", !17, i64 0, !17, i64 4, !16, i64 8, !17, i64 16, !17, i64 20, !16, i64 24, !16, i64 32, !6, i64 40, !17, i64 44, !17, i64 48, !17, i64 52, !17, i64 56, !16, i64 60, !17, i64 68, !17, i64 72, !16, i64 76, !16, i64 84, !16, i64 92, !16, i64 100, !17, i64 108, !17, i64 112, !17, i64 116, !17, i64 120, !17, i64 124, !17, i64 128, !17, i64 132, !17, i64 136, !17, i64 140, !17, i64 144, !17, i64 148, !17, i64 152, !6, i64 156, !16, i64 160, !16, i64 168, !17, i64 176, !16, i64 180, !16, i64 188, !16, i64 196, !16, i64 204, !17, i64 212, !17, i64 216, !10, i64 220, !10, i64 221, !10, i64 222, !17, i64 224, !17, i64 228, !7, i64 232, !17, i64 1112, !17, i64 1116, !17, i64 1120, !6, i64 1124, !6, i64 1128}
!25 = !{!"_ZTS20ImDrawListSharedData", !16, i64 0, !12, i64 8, !17, i64 16, !17, i64 20, !17, i64 24, !26, i64 28, !6, i64 44, !27, i64 48, !7, i64 64, !17, i64 448, !7, i64 452, !12, i64 520}
!26 = !{!"_ZTS6ImVec4", !17, i64 0, !17, i64 4, !17, i64 8, !17, i64 12}
!27 = !{!"_ZTS8ImVectorI6ImVec2E", !6, i64 0, !6, i64 4, !12, i64 8}
!28 = !{!"double", !7, i64 0}
!29 = !{!"_ZTS8ImVectorI15ImGuiInputEventE", !6, i64 0, !6, i64 4, !12, i64 8}
!30 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !6, i64 0, !6, i64 4, !12, i64 8}
!31 = !{!"_ZTS8ImVectorI20ImGuiWindowStackDataE", !6, i64 0, !6, i64 4, !12, i64 8}
!32 = !{!"_ZTS12ImGuiStorage", !33, i64 0}
!33 = !{!"_ZTS8ImVectorIN12ImGuiStorage16ImGuiStoragePairEE", !6, i64 0, !6, i64 4, !12, i64 8}
!34 = !{!"_ZTS16ImGuiInputSource", !7, i64 0}
!35 = !{!"_ZTS10ImBitArrayILi154ELin512EE", !7, i64 0}
!36 = !{!"_ZTS20ImGuiKeyRoutingTable", !7, i64 0, !37, i64 312, !37, i64 328}
!37 = !{!"_ZTS8ImVectorI19ImGuiKeyRoutingDataE", !6, i64 0, !6, i64 4, !12, i64 8}
!38 = !{!"_ZTS17ImGuiNextItemData", !6, i64 0, !6, i64 4, !39, i64 8, !17, i64 16, !6, i64 20, !10, i64 24, !6, i64 25}
!39 = !{!"long long", !7, i64 0}
!40 = !{!"_ZTS17ImGuiLastItemData", !6, i64 0, !6, i64 4, !6, i64 8, !41, i64 12, !41, i64 28, !41, i64 44, !41, i64 60}
!41 = !{!"_ZTS6ImRect", !16, i64 0, !16, i64 8}
!42 = !{!"_ZTS19ImGuiNextWindowData", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12, !6, i64 16, !16, i64 20, !16, i64 28, !16, i64 36, !16, i64 44, !16, i64 52, !6, i64 60, !10, i64 64, !10, i64 65, !41, i64 68, !12, i64 88, !12, i64 96, !17, i64 104, !6, i64 108, !6, i64 112, !43, i64 116, !16, i64 148}
!43 = !{!"_ZTS16ImGuiWindowClass", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12, !6, i64 16, !6, i64 20, !6, i64 24, !10, i64 28, !10, i64 29}
!44 = !{!"_ZTS8ImVectorI13ImGuiColorModE", !6, i64 0, !6, i64 4, !12, i64 8}
!45 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !6, i64 0, !6, i64 4, !12, i64 8}
!46 = !{!"_ZTS8ImVectorIP6ImFontE", !6, i64 0, !6, i64 4, !12, i64 8}
!47 = !{!"_ZTS8ImVectorI19ImGuiFocusScopeDataE", !6, i64 0, !6, i64 4, !12, i64 8}
!48 = !{!"_ZTS8ImVectorIiE", !6, i64 0, !6, i64 4, !12, i64 8}
!49 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !6, i64 0, !6, i64 4, !12, i64 8}
!50 = !{!"_ZTS8ImVectorI14ImGuiPopupDataE", !6, i64 0, !6, i64 4, !12, i64 8}
!51 = !{!"_ZTS8ImVectorI20ImGuiNavTreeNodeDataE", !6, i64 0, !6, i64 4, !12, i64 8}
!52 = !{!"_ZTS8ImVectorIP14ImGuiViewportPE", !6, i64 0, !6, i64 4, !12, i64 8}
!53 = !{!"_ZTS20ImGuiPlatformMonitor", !16, i64 0, !16, i64 8, !16, i64 16, !16, i64 24, !17, i64 32, !12, i64 40}
!54 = !{!"_ZTS13ImGuiNavLayer", !7, i64 0}
!55 = !{!"_ZTS16ImGuiNavItemData", !12, i64 0, !6, i64 8, !6, i64 12, !41, i64 16, !6, i64 32, !39, i64 40, !17, i64 48, !17, i64 52, !17, i64 56}
!56 = !{!"_ZTS12ImGuiPayload", !12, i64 0, !6, i64 8, !6, i64 12, !6, i64 16, !6, i64 20, !7, i64 24, !10, i64 57, !10, i64 58}
!57 = !{!"_ZTS8ImVectorIhE", !6, i64 0, !6, i64 4, !12, i64 8}
!58 = !{!"_ZTS8ImVectorI20ImGuiListClipperDataE", !6, i64 0, !6, i64 4, !12, i64 8}
!59 = !{!"_ZTS8ImVectorI18ImGuiTableTempDataE", !6, i64 0, !6, i64 4, !12, i64 8}
!60 = !{!"_ZTS6ImPoolI10ImGuiTableE", !61, i64 0, !32, i64 16, !6, i64 32, !6, i64 36}
!61 = !{!"_ZTS8ImVectorI10ImGuiTableE", !6, i64 0, !6, i64 4, !12, i64 8}
!62 = !{!"_ZTS8ImVectorIfE", !6, i64 0, !6, i64 4, !12, i64 8}
!63 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !6, i64 0, !6, i64 4, !12, i64 8}
!64 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !65, i64 0, !32, i64 16, !6, i64 32, !6, i64 36}
!65 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !6, i64 0, !6, i64 4, !12, i64 8}
!66 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !6, i64 0, !6, i64 4, !12, i64 8}
!67 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !6, i64 0, !6, i64 4, !12, i64 8}
!68 = !{!"_ZTS19ImGuiInputTextState", !12, i64 0, !6, i64 8, !6, i64 12, !6, i64 16, !20, i64 24, !69, i64 40, !69, i64 56, !10, i64 72, !6, i64 76, !17, i64 80, !70, i64 84, !17, i64 3712, !10, i64 3716, !10, i64 3717, !10, i64 3718, !6, i64 3720}
!69 = !{!"_ZTS8ImVectorIcE", !6, i64 0, !6, i64 4, !12, i64 8}
!70 = !{!"_ZTSN5ImStb17STB_TexteditStateE", !6, i64 0, !6, i64 4, !6, i64 8, !7, i64 12, !6, i64 16, !7, i64 20, !7, i64 21, !7, i64 22, !7, i64 23, !7, i64 24, !7, i64 25, !7, i64 26, !17, i64 28, !71, i64 32}
!71 = !{!"_ZTSN5ImStb12StbUndoStateE", !7, i64 0, !7, i64 1584, !18, i64 3582, !18, i64 3584, !6, i64 3588, !6, i64 3592}
!72 = !{!"_ZTS30ImGuiInputTextDeactivatedState", !6, i64 0, !69, i64 8}
!73 = !{!"_ZTS6ImFont", !62, i64 0, !17, i64 16, !17, i64 20, !20, i64 24, !74, i64 40, !12, i64 56, !12, i64 64, !12, i64 72, !18, i64 80, !18, i64 82, !18, i64 84, !18, i64 86, !17, i64 88, !17, i64 92, !10, i64 96, !17, i64 100, !17, i64 104, !17, i64 108, !6, i64 112, !7, i64 116}
!74 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !6, i64 0, !6, i64 4, !12, i64 8}
!75 = !{!"_ZTS21ImGuiComboPreviewData", !41, i64 0, !16, i64 16, !16, i64 24, !16, i64 32, !17, i64 40, !6, i64 44}
!76 = !{!"_ZTS8ImVectorIjE", !6, i64 0, !6, i64 4, !12, i64 8}
!77 = !{!"_ZTS22ImGuiTypingSelectState", !78, i64 0, !7, i64 24, !6, i64 88, !6, i64 92, !17, i64 96, !10, i64 100}
!78 = !{!"_ZTS24ImGuiTypingSelectRequest", !6, i64 0, !6, i64 4, !12, i64 8, !10, i64 16, !10, i64 17, !7, i64 18}
!79 = !{!"_ZTS20ImGuiPlatformImeData", !10, i64 0, !16, i64 4, !17, i64 12}
!80 = !{!"_ZTS16ImGuiDockContext", !32, i64 0, !81, i64 16, !82, i64 32, !10, i64 48}
!81 = !{!"_ZTS8ImVectorI16ImGuiDockRequestE", !6, i64 0, !6, i64 4, !12, i64 8}
!82 = !{!"_ZTS8ImVectorI21ImGuiDockNodeSettingsE", !6, i64 0, !6, i64 4, !12, i64 8}
!83 = !{!"_ZTS15ImGuiTextBuffer", !69, i64 0}
!84 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !6, i64 0, !6, i64 4, !12, i64 8}
!85 = !{!"_ZTS13ImChunkStreamI19ImGuiWindowSettingsE", !69, i64 0}
!86 = !{!"_ZTS13ImChunkStreamI18ImGuiTableSettingsE", !69, i64 0}
!87 = !{!"_ZTS8ImVectorI16ImGuiContextHookE", !6, i64 0, !6, i64 4, !12, i64 8}
!88 = !{!"_ZTS12ImGuiLogType", !7, i64 0}
!89 = !{!"_ZTS14ImGuiTextIndex", !48, i64 0, !6, i64 16}
!90 = !{!"_ZTS18ImGuiMetricsConfig", !10, i64 0, !10, i64 1, !10, i64 2, !10, i64 3, !10, i64 4, !10, i64 5, !10, i64 6, !10, i64 7, !10, i64 8, !10, i64 9, !6, i64 12, !6, i64 16}
!91 = !{!"_ZTS16ImGuiIDStackTool", !6, i64 0, !6, i64 4, !6, i64 8, !92, i64 16, !10, i64 32, !17, i64 36}
!92 = !{!"_ZTS8ImVectorI19ImGuiStackLevelInfoE", !6, i64 0, !6, i64 4, !12, i64 8}
!93 = !{!"_ZTS19ImGuiDebugAllocInfo", !6, i64 0, !6, i64 4, !18, i64 8, !7, i64 12}
!94 = !{i8 0, i8 2}
!95 = !{}
!96 = !{!14, !6, i64 19520}
!97 = !{!98, !12, i64 8}
!98 = !{!"_ZTS14ImGuiPopupData", !6, i64 0, !12, i64 8, !12, i64 16, !6, i64 24, !6, i64 28, !6, i64 32, !16, i64 36, !16, i64 44}
!99 = !{!98, !12, i64 16}
!100 = !{!101, !6, i64 20}
!101 = !{!"_ZTS11ImGuiWindow", !12, i64 0, !12, i64 8, !6, i64 16, !6, i64 20, !6, i64 24, !6, i64 28, !43, i64 32, !12, i64 64, !6, i64 72, !16, i64 76, !6, i64 84, !16, i64 88, !16, i64 96, !16, i64 104, !16, i64 112, !16, i64 120, !16, i64 128, !16, i64 136, !17, i64 144, !17, i64 148, !17, i64 152, !17, i64 156, !17, i64 160, !17, i64 164, !17, i64 168, !17, i64 172, !6, i64 176, !6, i64 180, !6, i64 184, !6, i64 188, !16, i64 192, !16, i64 200, !16, i64 208, !16, i64 216, !16, i64 224, !16, i64 232, !10, i64 240, !10, i64 241, !10, i64 242, !10, i64 243, !10, i64 244, !10, i64 245, !10, i64 246, !10, i64 247, !10, i64 248, !10, i64 249, !10, i64 250, !10, i64 251, !10, i64 252, !10, i64 253, !7, i64 254, !7, i64 255, !18, i64 256, !18, i64 258, !18, i64 260, !18, i64 262, !18, i64 264, !6, i64 268, !7, i64 272, !7, i64 273, !10, i64 274, !6, i64 276, !7, i64 280, !7, i64 281, !7, i64 282, !7, i64 283, !6, i64 284, !6, i64 285, !6, i64 286, !6, i64 287, !16, i64 288, !16, i64 296, !76, i64 304, !102, i64 320, !41, i64 552, !41, i64 568, !41, i64 584, !41, i64 600, !41, i64 616, !41, i64 632, !41, i64 648, !105, i64 664, !105, i64 668, !6, i64 672, !6, i64 676, !17, i64 680, !17, i64 684, !32, i64 688, !106, i64 704, !17, i64 720, !17, i64 724, !6, i64 728, !12, i64 736, !107, i64 744, !12, i64 944, !12, i64 952, !12, i64 960, !12, i64 968, !12, i64 976, !12, i64 984, !12, i64 992, !12, i64 1000, !12, i64 1008, !7, i64 1016, !7, i64 1024, !7, i64 1056, !6, i64 1072, !6, i64 1076, !6, i64 1080, !10, i64 1084, !10, i64 1085, !10, i64 1085, !10, i64 1085, !10, i64 1085, !18, i64 1086, !114, i64 1088, !12, i64 1112, !12, i64 1120, !6, i64 1128, !6, i64 1132, !41, i64 1136}
!102 = !{!"_ZTS19ImGuiWindowTempData", !16, i64 0, !16, i64 8, !16, i64 16, !16, i64 24, !16, i64 32, !16, i64 40, !16, i64 48, !17, i64 56, !17, i64 60, !10, i64 64, !10, i64 65, !103, i64 68, !103, i64 72, !103, i64 76, !16, i64 80, !54, i64 88, !18, i64 92, !18, i64 94, !10, i64 96, !10, i64 97, !10, i64 98, !10, i64 99, !16, i64 100, !104, i64 108, !6, i64 136, !6, i64 140, !30, i64 144, !12, i64 160, !12, i64 168, !6, i64 176, !6, i64 180, !6, i64 184, !17, i64 188, !17, i64 192, !62, i64 200, !62, i64 216}
!103 = !{!"_ZTS6ImVec1", !17, i64 0}
!104 = !{!"_ZTS16ImGuiMenuColumns", !6, i64 0, !6, i64 4, !18, i64 8, !18, i64 10, !18, i64 12, !18, i64 14, !18, i64 16, !7, i64 18}
!105 = !{!"_ZTS8ImVec2ih", !18, i64 0, !18, i64 2}
!106 = !{!"_ZTS8ImVectorI15ImGuiOldColumnsE", !6, i64 0, !6, i64 4, !12, i64 8}
!107 = !{!"_ZTS10ImDrawList", !108, i64 0, !20, i64 16, !109, i64 32, !6, i64 48, !6, i64 52, !12, i64 56, !12, i64 64, !12, i64 72, !12, i64 80, !110, i64 88, !111, i64 104, !27, i64 120, !112, i64 136, !113, i64 168, !17, i64 192}
!108 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !6, i64 0, !6, i64 4, !12, i64 8}
!109 = !{!"_ZTS8ImVectorI10ImDrawVertE", !6, i64 0, !6, i64 4, !12, i64 8}
!110 = !{!"_ZTS8ImVectorI6ImVec4E", !6, i64 0, !6, i64 4, !12, i64 8}
!111 = !{!"_ZTS8ImVectorIPvE", !6, i64 0, !6, i64 4, !12, i64 8}
!112 = !{!"_ZTS15ImDrawCmdHeader", !26, i64 0, !12, i64 16, !6, i64 24}
!113 = !{!"_ZTS18ImDrawListSplitter", !6, i64 0, !6, i64 4, !63, i64 8}
!114 = !{!"_ZTS20ImGuiWindowDockStyle", !7, i64 0}
!115 = !{!101, !12, i64 944}
!116 = !{!101, !10, i64 244}
!117 = !{!14, !54, i64 19776}


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

@GImGui = external dso_local local_unnamed_addr global ptr, align 8
@.str.3 = external hidden unnamed_addr constant [72 x i8], align 1
@.str.290 = external hidden unnamed_addr constant [71 x i8], align 1
@.str.291 = external hidden unnamed_addr constant [52 x i8], align 1
@__PRETTY_FUNCTION__._ZN5ImGui17ClosePopupToLevelEib = external hidden unnamed_addr constant [41 x i8], align 1

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

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

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

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

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

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

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

7:                                                ; preds = %2
  %8 = zext i1 %1 to i32
  tail call void (ptr, ...) @_ZN5ImGui8DebugLogEPKcz(ptr noundef nonnull @.str.290, i32 noundef %0, i32 noundef %8)
  br label %9

9:                                                ; preds = %7, %2
  %10 = icmp sgt i32 %0, -1
  br i1 %10, label %11, label %.critedge

11:                                               ; preds = %9
  %12 = getelementptr inbounds i8, ptr %3, i64 19520
  %13 = load i32, ptr %12, align 8, !tbaa !92
  %14 = icmp sgt i32 %13, %0
  br i1 %14, label %15, label %.critedge

.critedge:                                        ; preds = %9, %11
  tail call void @__assert_fail(ptr noundef nonnull @.str.291, ptr noundef nonnull @.str.3, i32 noundef 11495, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5ImGui17ClosePopupToLevelEib) #4
  unreachable

15:                                               ; preds = %11
  %16 = tail call noundef nonnull align 8 dereferenceable(52) ptr @_ZN8ImVectorI14ImGuiPopupDataEixEi(ptr noundef nonnull align 8 dereferenceable(16) %12, i32 noundef %0)
  %17 = getelementptr inbounds i8, ptr %16, i64 8
  %18 = load ptr, ptr %17, align 8, !tbaa !93
  %19 = tail call noundef nonnull align 8 dereferenceable(52) ptr @_ZN8ImVectorI14ImGuiPopupDataEixEi(ptr noundef nonnull align 8 dereferenceable(16) %12, i32 noundef %0)
  %20 = getelementptr inbounds i8, ptr %19, i64 16
  %21 = load ptr, ptr %20, align 8, !tbaa !95
  tail call void @_ZN8ImVectorI14ImGuiPopupDataE6resizeEi(ptr noundef nonnull align 8 dereferenceable(16) %12, i32 noundef %0)
  br i1 %1, label %22, label %43

22:                                               ; preds = %15
  %23 = icmp eq ptr %18, null
  br i1 %23, label %31, label %24

24:                                               ; preds = %22
  %25 = getelementptr inbounds i8, ptr %18, i64 20
  %26 = load i32, ptr %25, align 4, !tbaa !96
  %27 = and i32 %26, 268435456
  %.not26 = icmp eq i32 %27, 0
  br i1 %.not26, label %31, label %28

28:                                               ; preds = %24
  %29 = getelementptr inbounds i8, ptr %18, i64 944
  %30 = load ptr, ptr %29, align 8, !tbaa !111
  br label %31

31:                                               ; preds = %22, %24, %28
  %32 = phi ptr [ %30, %28 ], [ %21, %24 ], [ %21, %22 ]
  %.not27 = icmp eq ptr %32, null
  br i1 %.not27, label %38, label %33

33:                                               ; preds = %31
  %34 = getelementptr inbounds i8, ptr %32, i64 244
  %35 = load i8, ptr %34, align 4, !tbaa !112, !range !113, !noundef !114
  %36 = trunc nuw i8 %35 to i1
  %or.cond.not = or i1 %23, %36
  br i1 %or.cond.not, label %38, label %37

37:                                               ; preds = %33
  tail call void @_ZN5ImGui26FocusTopMostWindowUnderOneEP11ImGuiWindowS1_P13ImGuiViewporti(ptr noundef nonnull %18, ptr noundef null, ptr noundef null, i32 noundef 1)
  br label %43

38:                                               ; preds = %33, %31
  %39 = getelementptr inbounds i8, ptr %3, i64 19776
  %40 = load i32, ptr %39, align 8, !tbaa !115
  %41 = icmp eq i32 %40, 0
  %42 = zext i1 %41 to i32
  tail call void @_ZN5ImGui11FocusWindowEP11ImGuiWindowi(ptr noundef %32, i32 noundef %42)
  br label %43

43:                                               ; preds = %37, %38, %15
  ret void
}

attributes #0 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #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 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 = { noreturn nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !13, i64 25196}
!10 = !{!"_ZTS12ImGuiContext", !11, i64 0, !11, i64 1, !12, i64 8, !19, i64 14624, !22, i64 14840, !13, i64 15972, !13, i64 15976, !6, i64 15984, !15, i64 15992, !15, i64 15996, !23, i64 16000, !26, i64 16528, !13, i64 16536, !13, i64 16540, !13, i64 16544, !13, i64 16548, !11, i64 16552, !11, i64 16553, !11, i64 16554, !11, i64 16555, !11, i64 16556, !6, i64 16560, !27, i64 16568, !27, i64 16584, !17, i64 16600, !13, i64 16604, !28, i64 16608, !28, i64 16624, !28, i64 16640, !29, i64 16656, !30, i64 16672, !13, i64 16688, !14, i64 16692, !13, i64 16700, !6, i64 16704, !6, i64 16712, !6, i64 16720, !6, i64 16728, !6, i64 16736, !14, i64 16744, !13, i64 16752, !13, i64 16756, !15, i64 16760, !14, i64 16764, !14, i64 16772, !13, i64 16780, !13, i64 16784, !13, i64 16788, !11, i64 16792, !11, i64 16793, !15, i64 16796, !15, i64 16800, !13, i64 16804, !13, i64 16808, !15, i64 16812, !11, i64 16816, !11, i64 16817, !11, i64 16818, !11, i64 16819, !11, i64 16820, !11, i64 16821, !11, i64 16822, !13, i64 16823, !14, i64 16824, !6, i64 16832, !32, i64 16840, !13, i64 16844, !11, i64 16848, !11, i64 16849, !6, i64 16856, !13, i64 16864, !15, i64 16868, !26, i64 16872, !26, i64 16880, !26, i64 16888, !33, i64 16896, !7, i64 16916, !34, i64 18768, !13, i64 19112, !11, i64 19116, !13, i64 19120, !13, i64 19124, !13, i64 19128, !13, i64 19132, !13, i64 19136, !36, i64 19144, !38, i64 19176, !40, i64 19256, !11, i64 19416, !13, i64 19420, !42, i64 19424, !43, i64 19440, !44, i64 19456, !45, i64 19472, !46, i64 19488, !47, i64 19504, !48, i64 19520, !48, i64 19536, !49, i64 19552, !13, i64 19568, !50, i64 19576, !15, i64 19592, !6, i64 19600, !6, i64 19608, !6, i64 19616, !13, i64 19624, !51, i64 19632, !13, i64 19680, !13, i64 19684, !13, i64 19688, !6, i64 19696, !13, i64 19704, !13, i64 19708, !45, i64 19712, !13, i64 19728, !13, i64 19732, !13, i64 19736, !13, i64 19740, !13, i64 19744, !15, i64 19748, !13, i64 19752, !13, i64 19756, !13, i64 19760, !13, i64 19764, !13, i64 19768, !32, i64 19772, !52, i64 19776, !37, i64 19784, !11, i64 19792, !11, i64 19793, !11, i64 19794, !11, i64 19795, !11, i64 19796, !11, i64 19797, !11, i64 19798, !53, i64 19800, !11, i64 19864, !11, i64 19865, !11, i64 19866, !13, i64 19868, !13, i64 19872, !13, i64 19876, !13, i64 19880, !13, i64 19884, !13, i64 19888, !39, i64 19892, !39, i64 19908, !13, i64 19924, !13, i64 19928, !13, i64 19932, !53, i64 19936, !53, i64 20000, !53, i64 20064, !53, i64 20128, !13, i64 20192, !13, i64 20196, !6, i64 20200, !6, i64 20208, !6, i64 20216, !15, i64 20224, !15, i64 20228, !11, i64 20232, !14, i64 20236, !14, i64 20244, !15, i64 20252, !11, i64 20256, !11, i64 20257, !11, i64 20258, !13, i64 20260, !13, i64 20264, !13, i64 20268, !54, i64 20272, !39, i64 20336, !39, i64 20352, !13, i64 20368, !13, i64 20372, !15, i64 20376, !13, i64 20380, !13, i64 20384, !13, i64 20388, !13, i64 20392, !55, i64 20400, !7, i64 20416, !13, i64 20432, !56, i64 20440, !6, i64 20456, !13, i64 20464, !13, i64 20468, !57, i64 20472, !58, i64 20488, !60, i64 20528, !61, i64 20544, !6, i64 20560, !62, i64 20568, !64, i64 20608, !65, i64 20624, !13, i64 20640, !13, i64 20644, !15, i64 20648, !15, i64 20652, !13, i64 20656, !13, i64 20660, !13, i64 20664, !15, i64 20668, !14, i64 20672, !66, i64 20680, !70, i64 24408, !71, i64 24432, !13, i64 24552, !13, i64 24556, !13, i64 24560, !13, i64 24564, !15, i64 24568, !15, i64 24572, !13, i64 24576, !24, i64 24580, !73, i64 24596, !39, i64 24644, !11, i64 24660, !15, i64 24664, !15, i64 24668, !11, i64 24672, !11, i64 24673, !15, i64 24676, !15, i64 24680, !15, i64 24684, !15, i64 24688, !16, i64 24692, !16, i64 24694, !16, i64 24696, !67, i64 24704, !74, i64 24720, !75, i64 24736, !77, i64 24840, !77, i64 24856, !13, i64 24872, !78, i64 24880, !6, i64 24936, !11, i64 24944, !15, i64 24948, !81, i64 24952, !82, i64 24968, !83, i64 24984, !84, i64 25000, !85, i64 25016, !13, i64 25032, !7, i64 25040, !11, i64 25128, !86, i64 25132, !6, i64 25136, !81, i64 25144, !6, i64 25160, !6, i64 25168, !15, i64 25176, !11, i64 25180, !13, i64 25184, !13, i64 25188, !13, i64 25192, !13, i64 25196, !81, i64 25200, !87, i64 25216, !13, i64 25240, !7, i64 25244, !7, i64 25245, !11, i64 25246, !13, i64 25248, !7, i64 25252, !11, i64 25253, !7, i64 25254, !13, i64 25256, !15, i64 25260, !24, i64 25264, !88, i64 25280, !89, i64 25304, !91, i64 25344, !6, i64 25408, !7, i64 25416, !13, i64 25656, !13, i64 25660, !15, i64 25664, !13, i64 25668, !13, i64 25672, !13, i64 25676, !67, i64 25680, !7, i64 25696}
!11 = !{!"bool", !7, i64 0}
!12 = !{!"_ZTS7ImGuiIO", !13, i64 0, !13, i64 4, !14, i64 8, !15, i64 16, !15, i64 20, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !15, i64 56, !11, i64 60, !6, i64 64, !14, i64 72, !11, i64 80, !11, i64 81, !11, i64 82, !11, i64 83, !11, i64 84, !11, i64 85, !11, i64 86, !11, i64 87, !11, i64 88, !11, i64 89, !11, i64 90, !11, i64 91, !11, i64 92, !11, i64 93, !11, i64 94, !11, i64 95, !15, i64 96, !15, i64 100, !15, i64 104, !15, i64 108, !15, i64 112, !15, i64 116, !11, i64 120, !11, i64 121, !11, i64 122, !11, i64 123, !11, i64 124, !6, i64 128, !6, i64 136, !6, i64 144, !6, i64 152, !6, i64 160, !6, i64 168, !6, i64 176, !6, i64 184, !6, i64 192, !16, i64 200, !11, i64 202, !11, i64 203, !11, i64 204, !11, i64 205, !11, i64 206, !11, i64 207, !11, i64 208, !15, i64 212, !13, i64 216, !13, i64 220, !13, i64 224, !13, i64 228, !14, i64 232, !7, i64 240, !7, i64 2904, !7, i64 3572, !6, i64 3640, !14, i64 3648, !7, i64 3656, !15, i64 3664, !15, i64 3668, !17, i64 3672, !13, i64 3676, !11, i64 3680, !11, i64 3681, !11, i64 3682, !11, i64 3683, !13, i64 3684, !7, i64 3688, !11, i64 14344, !14, i64 14348, !7, i64 14356, !7, i64 14400, !7, i64 14440, !7, i64 14445, !7, i64 14450, !7, i64 14460, !7, i64 14470, !7, i64 14475, !7, i64 14480, !11, i64 14485, !7, i64 14488, !7, i64 14508, !7, i64 14528, !7, i64 14568, !15, i64 14588, !11, i64 14592, !11, i64 14593, !7, i64 14594, !11, i64 14595, !16, i64 14596, !18, i64 14600}
!13 = !{!"int", !7, i64 0}
!14 = !{!"_ZTS6ImVec2", !15, i64 0, !15, i64 4}
!15 = !{!"float", !7, i64 0}
!16 = !{!"short", !7, i64 0}
!17 = !{!"_ZTS16ImGuiMouseSource", !7, i64 0}
!18 = !{!"_ZTS8ImVectorItE", !13, i64 0, !13, i64 4, !6, i64 8}
!19 = !{!"_ZTS15ImGuiPlatformIO", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !6, i64 88, !6, i64 96, !6, i64 104, !6, i64 112, !6, i64 120, !6, i64 128, !6, i64 136, !6, i64 144, !6, i64 152, !6, i64 160, !6, i64 168, !6, i64 176, !20, i64 184, !21, i64 200}
!20 = !{!"_ZTS8ImVectorI20ImGuiPlatformMonitorE", !13, i64 0, !13, i64 4, !6, i64 8}
!21 = !{!"_ZTS8ImVectorIP13ImGuiViewportE", !13, i64 0, !13, i64 4, !6, i64 8}
!22 = !{!"_ZTS10ImGuiStyle", !15, i64 0, !15, i64 4, !14, i64 8, !15, i64 16, !15, i64 20, !14, i64 24, !14, i64 32, !13, i64 40, !15, i64 44, !15, i64 48, !15, i64 52, !15, i64 56, !14, i64 60, !15, i64 68, !15, i64 72, !14, i64 76, !14, i64 84, !14, i64 92, !14, i64 100, !15, i64 108, !15, i64 112, !15, i64 116, !15, i64 120, !15, i64 124, !15, i64 128, !15, i64 132, !15, i64 136, !15, i64 140, !15, i64 144, !15, i64 148, !15, i64 152, !13, i64 156, !14, i64 160, !14, i64 168, !15, i64 176, !14, i64 180, !14, i64 188, !14, i64 196, !14, i64 204, !15, i64 212, !15, i64 216, !11, i64 220, !11, i64 221, !11, i64 222, !15, i64 224, !15, i64 228, !7, i64 232, !15, i64 1112, !15, i64 1116, !15, i64 1120, !13, i64 1124, !13, i64 1128}
!23 = !{!"_ZTS20ImDrawListSharedData", !14, i64 0, !6, i64 8, !15, i64 16, !15, i64 20, !15, i64 24, !24, i64 28, !13, i64 44, !25, i64 48, !7, i64 64, !15, i64 448, !7, i64 452, !6, i64 520}
!24 = !{!"_ZTS6ImVec4", !15, i64 0, !15, i64 4, !15, i64 8, !15, i64 12}
!25 = !{!"_ZTS8ImVectorI6ImVec2E", !13, i64 0, !13, i64 4, !6, i64 8}
!26 = !{!"double", !7, i64 0}
!27 = !{!"_ZTS8ImVectorI15ImGuiInputEventE", !13, i64 0, !13, i64 4, !6, i64 8}
!28 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !13, i64 0, !13, i64 4, !6, i64 8}
!29 = !{!"_ZTS8ImVectorI20ImGuiWindowStackDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!30 = !{!"_ZTS12ImGuiStorage", !31, i64 0}
!31 = !{!"_ZTS8ImVectorIN12ImGuiStorage16ImGuiStoragePairEE", !13, i64 0, !13, i64 4, !6, i64 8}
!32 = !{!"_ZTS16ImGuiInputSource", !7, i64 0}
!33 = !{!"_ZTS10ImBitArrayILi154ELin512EE", !7, i64 0}
!34 = !{!"_ZTS20ImGuiKeyRoutingTable", !7, i64 0, !35, i64 312, !35, i64 328}
!35 = !{!"_ZTS8ImVectorI19ImGuiKeyRoutingDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!36 = !{!"_ZTS17ImGuiNextItemData", !13, i64 0, !13, i64 4, !37, i64 8, !15, i64 16, !13, i64 20, !11, i64 24, !13, i64 25}
!37 = !{!"long long", !7, i64 0}
!38 = !{!"_ZTS17ImGuiLastItemData", !13, i64 0, !13, i64 4, !13, i64 8, !39, i64 12, !39, i64 28, !39, i64 44, !39, i64 60}
!39 = !{!"_ZTS6ImRect", !14, i64 0, !14, i64 8}
!40 = !{!"_ZTS19ImGuiNextWindowData", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12, !13, i64 16, !14, i64 20, !14, i64 28, !14, i64 36, !14, i64 44, !14, i64 52, !13, i64 60, !11, i64 64, !11, i64 65, !39, i64 68, !6, i64 88, !6, i64 96, !15, i64 104, !13, i64 108, !13, i64 112, !41, i64 116, !14, i64 148}
!41 = !{!"_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}
!42 = !{!"_ZTS8ImVectorI13ImGuiColorModE", !13, i64 0, !13, i64 4, !6, i64 8}
!43 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !13, i64 0, !13, i64 4, !6, i64 8}
!44 = !{!"_ZTS8ImVectorIP6ImFontE", !13, i64 0, !13, i64 4, !6, i64 8}
!45 = !{!"_ZTS8ImVectorI19ImGuiFocusScopeDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!46 = !{!"_ZTS8ImVectorIiE", !13, i64 0, !13, i64 4, !6, i64 8}
!47 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!48 = !{!"_ZTS8ImVectorI14ImGuiPopupDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!49 = !{!"_ZTS8ImVectorI20ImGuiNavTreeNodeDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!50 = !{!"_ZTS8ImVectorIP14ImGuiViewportPE", !13, i64 0, !13, i64 4, !6, i64 8}
!51 = !{!"_ZTS20ImGuiPlatformMonitor", !14, i64 0, !14, i64 8, !14, i64 16, !14, i64 24, !15, i64 32, !6, i64 40}
!52 = !{!"_ZTS13ImGuiNavLayer", !7, i64 0}
!53 = !{!"_ZTS16ImGuiNavItemData", !6, i64 0, !13, i64 8, !13, i64 12, !39, i64 16, !13, i64 32, !37, i64 40, !15, i64 48, !15, i64 52, !15, i64 56}
!54 = !{!"_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}
!55 = !{!"_ZTS8ImVectorIhE", !13, i64 0, !13, i64 4, !6, i64 8}
!56 = !{!"_ZTS8ImVectorI20ImGuiListClipperDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!57 = !{!"_ZTS8ImVectorI18ImGuiTableTempDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!58 = !{!"_ZTS6ImPoolI10ImGuiTableE", !59, i64 0, !30, i64 16, !13, i64 32, !13, i64 36}
!59 = !{!"_ZTS8ImVectorI10ImGuiTableE", !13, i64 0, !13, i64 4, !6, i64 8}
!60 = !{!"_ZTS8ImVectorIfE", !13, i64 0, !13, i64 4, !6, i64 8}
!61 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !13, i64 0, !13, i64 4, !6, i64 8}
!62 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !63, i64 0, !30, i64 16, !13, i64 32, !13, i64 36}
!63 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !13, i64 0, !13, i64 4, !6, i64 8}
!64 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !13, i64 0, !13, i64 4, !6, i64 8}
!65 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !13, i64 0, !13, i64 4, !6, i64 8}
!66 = !{!"_ZTS19ImGuiInputTextState", !6, i64 0, !13, i64 8, !13, i64 12, !13, i64 16, !18, i64 24, !67, i64 40, !67, i64 56, !11, i64 72, !13, i64 76, !15, i64 80, !68, i64 84, !15, i64 3712, !11, i64 3716, !11, i64 3717, !11, i64 3718, !13, i64 3720}
!67 = !{!"_ZTS8ImVectorIcE", !13, i64 0, !13, i64 4, !6, i64 8}
!68 = !{!"_ZTSN5ImStb17STB_TexteditStateE", !13, i64 0, !13, i64 4, !13, i64 8, !7, i64 12, !13, i64 16, !7, i64 20, !7, i64 21, !7, i64 22, !7, i64 23, !7, i64 24, !7, i64 25, !7, i64 26, !15, i64 28, !69, i64 32}
!69 = !{!"_ZTSN5ImStb12StbUndoStateE", !7, i64 0, !7, i64 1584, !16, i64 3582, !16, i64 3584, !13, i64 3588, !13, i64 3592}
!70 = !{!"_ZTS30ImGuiInputTextDeactivatedState", !13, i64 0, !67, i64 8}
!71 = !{!"_ZTS6ImFont", !60, i64 0, !15, i64 16, !15, i64 20, !18, i64 24, !72, i64 40, !6, i64 56, !6, i64 64, !6, i64 72, !16, i64 80, !16, i64 82, !16, i64 84, !16, i64 86, !15, i64 88, !15, i64 92, !11, i64 96, !15, i64 100, !15, i64 104, !15, i64 108, !13, i64 112, !7, i64 116}
!72 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !13, i64 0, !13, i64 4, !6, i64 8}
!73 = !{!"_ZTS21ImGuiComboPreviewData", !39, i64 0, !14, i64 16, !14, i64 24, !14, i64 32, !15, i64 40, !13, i64 44}
!74 = !{!"_ZTS8ImVectorIjE", !13, i64 0, !13, i64 4, !6, i64 8}
!75 = !{!"_ZTS22ImGuiTypingSelectState", !76, i64 0, !7, i64 24, !13, i64 88, !13, i64 92, !15, i64 96, !11, i64 100}
!76 = !{!"_ZTS24ImGuiTypingSelectRequest", !13, i64 0, !13, i64 4, !6, i64 8, !11, i64 16, !11, i64 17, !7, i64 18}
!77 = !{!"_ZTS20ImGuiPlatformImeData", !11, i64 0, !14, i64 4, !15, i64 12}
!78 = !{!"_ZTS16ImGuiDockContext", !30, i64 0, !79, i64 16, !80, i64 32, !11, i64 48}
!79 = !{!"_ZTS8ImVectorI16ImGuiDockRequestE", !13, i64 0, !13, i64 4, !6, i64 8}
!80 = !{!"_ZTS8ImVectorI21ImGuiDockNodeSettingsE", !13, i64 0, !13, i64 4, !6, i64 8}
!81 = !{!"_ZTS15ImGuiTextBuffer", !67, i64 0}
!82 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !13, i64 0, !13, i64 4, !6, i64 8}
!83 = !{!"_ZTS13ImChunkStreamI19ImGuiWindowSettingsE", !67, i64 0}
!84 = !{!"_ZTS13ImChunkStreamI18ImGuiTableSettingsE", !67, i64 0}
!85 = !{!"_ZTS8ImVectorI16ImGuiContextHookE", !13, i64 0, !13, i64 4, !6, i64 8}
!86 = !{!"_ZTS12ImGuiLogType", !7, i64 0}
!87 = !{!"_ZTS14ImGuiTextIndex", !46, i64 0, !13, i64 16}
!88 = !{!"_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, !11, i64 9, !13, i64 12, !13, i64 16}
!89 = !{!"_ZTS16ImGuiIDStackTool", !13, i64 0, !13, i64 4, !13, i64 8, !90, i64 16, !11, i64 32, !15, i64 36}
!90 = !{!"_ZTS8ImVectorI19ImGuiStackLevelInfoE", !13, i64 0, !13, i64 4, !6, i64 8}
!91 = !{!"_ZTS19ImGuiDebugAllocInfo", !13, i64 0, !13, i64 4, !16, i64 8, !7, i64 12}
!92 = !{!10, !13, i64 19520}
!93 = !{!94, !6, i64 8}
!94 = !{!"_ZTS14ImGuiPopupData", !13, i64 0, !6, i64 8, !6, i64 16, !13, i64 24, !13, i64 28, !13, i64 32, !14, i64 36, !14, i64 44}
!95 = !{!94, !6, i64 16}
!96 = !{!97, !13, i64 20}
!97 = !{!"_ZTS11ImGuiWindow", !6, i64 0, !6, i64 8, !13, i64 16, !13, i64 20, !13, i64 24, !13, i64 28, !41, 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, !13, i64 176, !13, i64 180, !13, i64 184, !13, i64 188, !14, i64 192, !14, i64 200, !14, i64 208, !14, i64 216, !14, i64 224, !14, i64 232, !11, i64 240, !11, i64 241, !11, i64 242, !11, i64 243, !11, i64 244, !11, i64 245, !11, i64 246, !11, i64 247, !11, i64 248, !11, i64 249, !11, i64 250, !11, i64 251, !11, i64 252, !11, i64 253, !7, i64 254, !7, i64 255, !16, i64 256, !16, i64 258, !16, i64 260, !16, i64 262, !16, i64 264, !13, i64 268, !7, i64 272, !7, i64 273, !11, i64 274, !13, i64 276, !7, i64 280, !7, i64 281, !7, i64 282, !7, i64 283, !13, i64 284, !13, i64 285, !13, i64 286, !13, i64 287, !14, i64 288, !14, i64 296, !74, i64 304, !98, i64 320, !39, i64 552, !39, i64 568, !39, i64 584, !39, i64 600, !39, i64 616, !39, i64 632, !39, i64 648, !101, i64 664, !101, i64 668, !13, i64 672, !13, i64 676, !15, i64 680, !15, i64 684, !30, i64 688, !102, i64 704, !15, i64 720, !15, i64 724, !13, i64 728, !6, i64 736, !103, i64 744, !6, i64 944, !6, i64 952, !6, i64 960, !6, i64 968, !6, i64 976, !6, i64 984, !6, i64 992, !6, i64 1000, !6, i64 1008, !7, i64 1016, !7, i64 1024, !7, i64 1056, !13, i64 1072, !13, i64 1076, !13, i64 1080, !11, i64 1084, !11, i64 1085, !11, i64 1085, !11, i64 1085, !11, i64 1085, !16, i64 1086, !110, i64 1088, !6, i64 1112, !6, i64 1120, !13, i64 1128, !13, i64 1132, !39, i64 1136}
!98 = !{!"_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, !99, i64 68, !99, i64 72, !99, i64 76, !14, i64 80, !52, i64 88, !16, i64 92, !16, i64 94, !11, i64 96, !11, i64 97, !11, i64 98, !11, i64 99, !14, i64 100, !100, i64 108, !13, i64 136, !13, i64 140, !28, i64 144, !6, i64 160, !6, i64 168, !13, i64 176, !13, i64 180, !13, i64 184, !15, i64 188, !15, i64 192, !60, i64 200, !60, i64 216}
!99 = !{!"_ZTS6ImVec1", !15, i64 0}
!100 = !{!"_ZTS16ImGuiMenuColumns", !13, i64 0, !13, i64 4, !16, i64 8, !16, i64 10, !16, i64 12, !16, i64 14, !16, i64 16, !7, i64 18}
!101 = !{!"_ZTS8ImVec2ih", !16, i64 0, !16, i64 2}
!102 = !{!"_ZTS8ImVectorI15ImGuiOldColumnsE", !13, i64 0, !13, i64 4, !6, i64 8}
!103 = !{!"_ZTS10ImDrawList", !104, i64 0, !18, i64 16, !105, i64 32, !13, i64 48, !13, i64 52, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !106, i64 88, !107, i64 104, !25, i64 120, !108, i64 136, !109, i64 168, !15, i64 192}
!104 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !13, i64 0, !13, i64 4, !6, i64 8}
!105 = !{!"_ZTS8ImVectorI10ImDrawVertE", !13, i64 0, !13, i64 4, !6, i64 8}
!106 = !{!"_ZTS8ImVectorI6ImVec4E", !13, i64 0, !13, i64 4, !6, i64 8}
!107 = !{!"_ZTS8ImVectorIPvE", !13, i64 0, !13, i64 4, !6, i64 8}
!108 = !{!"_ZTS15ImDrawCmdHeader", !24, i64 0, !6, i64 16, !13, i64 24}
!109 = !{!"_ZTS18ImDrawListSplitter", !13, i64 0, !13, i64 4, !61, i64 8}
!110 = !{!"_ZTS20ImGuiWindowDockStyle", !7, i64 0}
!111 = !{!97, !6, i64 944}
!112 = !{!97, !11, i64 244}
!113 = !{i8 0, i8 2}
!114 = !{}
!115 = !{!10, !52, i64 19776}


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