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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8), float noundef, float noundef) unnamed_addr #1 align 2

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN5ImGui5BeginEPKcPbi(ptr noundef, ptr noundef, i32 noundef) #3

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN5ImGui15GetMainViewportEv() #2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN19ImGuiNextWindowData10ClearFlagsEv(ptr noundef nonnull align 8 dereferenceable(156)) #4 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui8EndPopupEv() #2

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN5ImGui15BeginPopupModalEPKcPbi(ptr noundef %0, ptr noundef %1, i32 noundef %2) #3 {
  %4 = alloca i1, align 1
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca ptr, align 8
  %13 = alloca %struct.ImVec2, align 4
  %14 = alloca %struct.ImVec2, align 4
  %15 = alloca i8, align 1
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store i32 %2, ptr %7, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #5
  %16 = load ptr, ptr @GImGui, align 8, !tbaa !5
  store ptr %16, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #5
  %17 = load ptr, ptr %8, align 8, !tbaa !5
  %18 = getelementptr inbounds %struct.ImGuiContext, ptr %17, i32 0, i32 34
  %19 = load ptr, ptr %18, align 8, !tbaa !11
  store ptr %19, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #5
  %20 = load ptr, ptr %9, align 8, !tbaa !5
  %21 = load ptr, ptr %5, align 8, !tbaa !5
  %22 = call noundef i32 @_ZN11ImGuiWindow5GetIDEPKcS1_(ptr noundef nonnull align 8 dereferenceable(1152) %20, ptr noundef %21, ptr noundef null)
  store i32 %22, ptr %10, align 4, !tbaa !9
  %23 = load i32, ptr %10, align 4, !tbaa !9
  %24 = call noundef zeroext i1 @_ZN5ImGui11IsPopupOpenEji(i32 noundef %23, i32 noundef 0)
  br i1 %24, label %37, label %25

25:                                               ; preds = %3
  %26 = load ptr, ptr %8, align 8, !tbaa !5
  %27 = getelementptr inbounds %struct.ImGuiContext, ptr %26, i32 0, i32 89
  call void @_ZN19ImGuiNextWindowData10ClearFlagsEv(ptr noundef nonnull align 8 dereferenceable(156) %27)
  %28 = load ptr, ptr %6, align 8, !tbaa !5
  %29 = icmp ne ptr %28, null
  br i1 %29, label %30, label %36

30:                                               ; preds = %25
  %31 = load ptr, ptr %6, align 8, !tbaa !5
  %32 = load i8, ptr %31, align 1, !tbaa !93, !range !94, !noundef !95
  %33 = trunc i8 %32 to i1
  br i1 %33, label %34, label %36

34:                                               ; preds = %30
  %35 = load ptr, ptr %6, align 8, !tbaa !5
  store i8 0, ptr %35, align 1, !tbaa !93
  br label %36

36:                                               ; preds = %34, %30, %25
  store i1 false, ptr %4, align 1
  store i32 1, ptr %11, align 4
  br label %89

37:                                               ; preds = %3
  %38 = load ptr, ptr %8, align 8, !tbaa !5
  %39 = getelementptr inbounds %struct.ImGuiContext, ptr %38, i32 0, i32 89
  %40 = getelementptr inbounds %struct.ImGuiNextWindowData, ptr %39, i32 0, i32 0
  %41 = load i32, ptr %40, align 8, !tbaa !96
  %42 = and i32 %41, 1
  %43 = icmp eq i32 %42, 0
  br i1 %43, label %44, label %59

44:                                               ; preds = %37
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #5
  %45 = load ptr, ptr %9, align 8, !tbaa !5
  %46 = getelementptr inbounds %struct.ImGuiWindow, ptr %45, i32 0, i32 40
  %47 = load i8, ptr %46, align 4, !tbaa !97, !range !94, !noundef !95
  %48 = trunc i8 %47 to i1
  br i1 %48, label %49, label %53

49:                                               ; preds = %44
  %50 = load ptr, ptr %9, align 8, !tbaa !5
  %51 = getelementptr inbounds %struct.ImGuiWindow, ptr %50, i32 0, i32 7
  %52 = load ptr, ptr %51, align 8, !tbaa !112
  br label %55

53:                                               ; preds = %44
  %54 = call noundef ptr @_ZN5ImGui15GetMainViewportEv()
  br label %55

55:                                               ; preds = %53, %49
  %56 = phi ptr [ %52, %49 ], [ %54, %53 ]
  store ptr %56, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #5
  %57 = load ptr, ptr %12, align 8, !tbaa !5
  %58 = call <2 x float> @_ZNK13ImGuiViewport9GetCenterEv(ptr noundef nonnull align 8 dereferenceable(92) %57)
  store <2 x float> %58, ptr %13, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #5
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %14, float noundef 5.000000e-01, float noundef 5.000000e-01)
  call void @_ZN5ImGui16SetNextWindowPosERK6ImVec2iS2_(ptr noundef nonnull align 4 dereferenceable(8) %13, i32 noundef 4, ptr noundef nonnull align 4 dereferenceable(8) %14)
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #5
  br label %59

59:                                               ; preds = %55, %37
  %60 = load i32, ptr %7, align 4, !tbaa !9
  %61 = or i32 %60, 201850912
  store i32 %61, ptr %7, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %15) #5
  %62 = load ptr, ptr %5, align 8, !tbaa !5
  %63 = load ptr, ptr %6, align 8, !tbaa !5
  %64 = load i32, ptr %7, align 4, !tbaa !9
  %65 = call noundef zeroext i1 @_ZN5ImGui5BeginEPKcPbi(ptr noundef %62, ptr noundef %63, i32 noundef %64)
  %66 = zext i1 %65 to i8
  store i8 %66, ptr %15, align 1, !tbaa !93
  %67 = load i8, ptr %15, align 1, !tbaa !93, !range !94, !noundef !95
  %68 = trunc i8 %67 to i1
  br i1 %68, label %69, label %76

69:                                               ; preds = %59
  %70 = load ptr, ptr %6, align 8, !tbaa !5
  %71 = icmp ne ptr %70, null
  br i1 %71, label %72, label %85

72:                                               ; preds = %69
  %73 = load ptr, ptr %6, align 8, !tbaa !5
  %74 = load i8, ptr %73, align 1, !tbaa !93, !range !94, !noundef !95
  %75 = trunc i8 %74 to i1
  br i1 %75, label %85, label %76

76:                                               ; preds = %72, %59
  call void @_ZN5ImGui8EndPopupEv()
  %77 = load i8, ptr %15, align 1, !tbaa !93, !range !94, !noundef !95
  %78 = trunc i8 %77 to i1
  br i1 %78, label %79, label %84

79:                                               ; preds = %76
  %80 = load ptr, ptr %8, align 8, !tbaa !5
  %81 = getelementptr inbounds %struct.ImGuiContext, ptr %80, i32 0, i32 99
  %82 = getelementptr inbounds %struct.ImVector.14, ptr %81, i32 0, i32 0
  %83 = load i32, ptr %82, align 8, !tbaa !113
  call void @_ZN5ImGui17ClosePopupToLevelEib(i32 noundef %83, i1 noundef zeroext true)
  br label %84

84:                                               ; preds = %79, %76
  store i1 false, ptr %4, align 1
  store i32 1, ptr %11, align 4
  br label %88

85:                                               ; preds = %72, %69
  %86 = load i8, ptr %15, align 1, !tbaa !93, !range !94, !noundef !95
  %87 = trunc i8 %86 to i1
  store i1 %87, ptr %4, align 1
  store i32 1, ptr %11, align 4
  br label %88

88:                                               ; preds = %85, %84
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #5
  br label %89

89:                                               ; preds = %88, %36
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #5
  %90 = load i1, ptr %4, align 1
  ret i1 %90
}

; Function Attrs: mustprogress uwtable
declare dso_local <2 x float> @_ZNK13ImGuiViewport9GetCenterEv(ptr noundef nonnull align 8 dereferenceable(92)) #3 align 2

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

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

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


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

%struct.ImVec2 = type { float, float }

@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 nounwind uwtable
declare dso_local void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8), float noundef, float noundef) unnamed_addr #1 align 2

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

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

; 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 noundef zeroext i1 @_ZN5ImGui5BeginEPKcPbi(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #3

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN19ImGuiNextWindowData10ClearFlagsEv(ptr noundef nonnull align 8 dereferenceable(156)) local_unnamed_addr #4 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui8EndPopupEv() local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN5ImGui15BeginPopupModalEPKcPbi(ptr noundef %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #3 {
  %4 = alloca %struct.ImVec2, align 8
  %5 = alloca %struct.ImVec2, align 4
  %6 = load ptr, ptr @GImGui, align 8, !tbaa !5
  %7 = getelementptr inbounds i8, ptr %6, i64 16704
  %8 = load ptr, ptr %7, align 8, !tbaa !9
  %9 = tail call noundef i32 @_ZN11ImGuiWindow5GetIDEPKcS1_(ptr noundef nonnull align 8 dereferenceable(1152) %8, ptr noundef %0, ptr noundef null)
  %10 = tail call noundef zeroext i1 @_ZN5ImGui11IsPopupOpenEji(i32 noundef %9, i32 noundef 0)
  %11 = getelementptr inbounds i8, ptr %6, i64 19256
  br i1 %10, label %17, label %12

12:                                               ; preds = %3
  tail call void @_ZN19ImGuiNextWindowData10ClearFlagsEv(ptr noundef nonnull align 8 dereferenceable(156) %11)
  %.not = icmp eq ptr %1, null
  br i1 %.not, label %43, label %13

13:                                               ; preds = %12
  %14 = load i8, ptr %1, align 1, !tbaa !92, !range !93, !noundef !94
  %15 = trunc nuw i8 %14 to i1
  br i1 %15, label %16, label %43

16:                                               ; preds = %13
  store i8 0, ptr %1, align 1, !tbaa !92
  br label %43

17:                                               ; preds = %3
  %18 = load i32, ptr %11, align 8, !tbaa !95
  %19 = and i32 %18, 1
  %20 = icmp eq i32 %19, 0
  br i1 %20, label %21, label %33

21:                                               ; preds = %17
  %22 = getelementptr inbounds i8, ptr %8, i64 244
  %23 = load i8, ptr %22, align 4, !tbaa !96, !range !93, !noundef !94
  %24 = trunc nuw i8 %23 to i1
  br i1 %24, label %25, label %28

25:                                               ; preds = %21
  %26 = getelementptr inbounds i8, ptr %8, i64 64
  %27 = load ptr, ptr %26, align 8, !tbaa !111
  br label %30

28:                                               ; preds = %21
  %29 = tail call noundef ptr @_ZN5ImGui15GetMainViewportEv()
  br label %30

30:                                               ; preds = %28, %25
  %31 = phi ptr [ %27, %25 ], [ %29, %28 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #5
  %32 = tail call <2 x float> @_ZNK13ImGuiViewport9GetCenterEv(ptr noundef nonnull align 8 dereferenceable(92) %31)
  store <2 x float> %32, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #5
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %5, float noundef 5.000000e-01, float noundef 5.000000e-01)
  call void @_ZN5ImGui16SetNextWindowPosERK6ImVec2iS2_(ptr noundef nonnull align 4 dereferenceable(8) %4, i32 noundef 4, ptr noundef nonnull align 4 dereferenceable(8) %5)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #5
  br label %33

33:                                               ; preds = %30, %17
  %34 = or i32 %2, 201850912
  %35 = call noundef zeroext i1 @_ZN5ImGui5BeginEPKcPbi(ptr noundef %0, ptr noundef %1, i32 noundef %34)
  br i1 %35, label %36, label %.critedge

36:                                               ; preds = %33
  %.not25 = icmp eq ptr %1, null
  br i1 %.not25, label %43, label %37

37:                                               ; preds = %36
  %38 = load i8, ptr %1, align 1, !tbaa !92, !range !93, !noundef !94
  %39 = trunc nuw i8 %38 to i1
  br i1 %39, label %43, label %40

40:                                               ; preds = %37
  call void @_ZN5ImGui8EndPopupEv()
  %41 = getelementptr inbounds i8, ptr %6, i64 19536
  %42 = load i32, ptr %41, align 8, !tbaa !112
  call void @_ZN5ImGui17ClosePopupToLevelEib(i32 noundef %42, i1 noundef zeroext true)
  br label %43

.critedge:                                        ; preds = %33
  call void @_ZN5ImGui8EndPopupEv()
  br label %43

43:                                               ; preds = %.critedge, %40, %37, %36, %12, %13, %16
  %.1 = phi i1 [ false, %16 ], [ false, %13 ], [ false, %12 ], [ false, %.critedge ], [ false, %40 ], [ true, %37 ], [ true, %36 ]
  ret i1 %.1
}

; Function Attrs: mustprogress uwtable
declare dso_local <2 x float> @_ZNK13ImGuiViewport9GetCenterEv(ptr noundef nonnull align 8 dereferenceable(92)) local_unnamed_addr #3 align 2

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !6, i64 16704}
!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 = !{!11, !11, i64 0}
!93 = !{i8 0, i8 2}
!94 = !{}
!95 = !{!10, !13, i64 19256}
!96 = !{!97, !11, i64 244}
!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 64}
!112 = !{!10, !13, i64 19536}


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