; LLVM IR from xhub/reshop :: gui/external/imgui/imgui.ll (ZN5ImGui11OpenPopupExEji)

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

@GImGui = external dso_local global ptr, align 8
@.str.297 = external hidden unnamed_addr constant [29 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 nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN5ImGui11IsPopupOpenEji(i32 noundef, i32 noundef) #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: inlinehint mustprogress uwtable
declare dso_local void @_ZN8ImVectorI14ImGuiPopupDataE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(52)) #5 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN5ImGui11OpenPopupExEji(i32 noundef %0, i32 noundef %1) #6 {
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca %struct.ImGuiPopupData, align 8
  %10 = alloca %struct.ImVec2, align 4
  %11 = alloca i8, align 1
  store i32 %0, ptr %3, align 4, !tbaa !5
  store i32 %1, ptr %4, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #7
  %12 = load ptr, ptr @GImGui, align 8, !tbaa !9
  store ptr %12, ptr %5, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #7
  %13 = load ptr, ptr %5, align 8, !tbaa !9
  %14 = getelementptr inbounds %struct.ImGuiContext, ptr %13, i32 0, i32 34
  %15 = load ptr, ptr %14, align 8, !tbaa !11
  store ptr %15, ptr %6, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #7
  %16 = load ptr, ptr %5, align 8, !tbaa !9
  %17 = getelementptr inbounds %struct.ImGuiContext, ptr %16, i32 0, i32 99
  %18 = getelementptr inbounds %struct.ImVector.12, ptr %17, i32 0, i32 0
  %19 = load i32, ptr %18, align 8, !tbaa !92
  store i32 %19, ptr %7, align 4, !tbaa !5
  %20 = load i32, ptr %4, align 4, !tbaa !5
  %21 = and i32 %20, 128
  %22 = icmp ne i32 %21, 0
  br i1 %22, label %23, label %27

23:                                               ; preds = %2
  %24 = call noundef zeroext i1 @_ZN5ImGui11IsPopupOpenEji(i32 noundef 0, i32 noundef 1024)
  br i1 %24, label %25, label %26

25:                                               ; preds = %23
  store i32 1, ptr %8, align 4
  br label %124

26:                                               ; preds = %23
  br label %27

27:                                               ; preds = %26, %2
  call void @llvm.lifetime.start.p0(i64 56, ptr %9) #7
  call void @_ZN14ImGuiPopupDataC2Ev(ptr noundef nonnull align 8 dereferenceable(52) %9)
  %28 = load i32, ptr %3, align 4, !tbaa !5
  %29 = getelementptr inbounds %struct.ImGuiPopupData, ptr %9, i32 0, i32 0
  store i32 %28, ptr %29, align 8, !tbaa !93
  %30 = getelementptr inbounds %struct.ImGuiPopupData, ptr %9, i32 0, i32 2
  store ptr null, ptr %30, align 8, !tbaa !95
  %31 = load ptr, ptr %5, align 8, !tbaa !9
  %32 = getelementptr inbounds %struct.ImGuiContext, ptr %31, i32 0, i32 107
  %33 = load ptr, ptr %32, align 8, !tbaa !96
  %34 = getelementptr inbounds %struct.ImGuiPopupData, ptr %9, i32 0, i32 3
  store ptr %33, ptr %34, align 8, !tbaa !97
  %35 = load ptr, ptr %5, align 8, !tbaa !9
  %36 = getelementptr inbounds %struct.ImGuiContext, ptr %35, i32 0, i32 12
  %37 = load i32, ptr %36, align 8, !tbaa !98
  %38 = getelementptr inbounds %struct.ImGuiPopupData, ptr %9, i32 0, i32 5
  store i32 %37, ptr %38, align 4, !tbaa !99
  %39 = load ptr, ptr %6, align 8, !tbaa !9
  %40 = getelementptr inbounds %struct.ImGuiWindow, ptr %39, i32 0, i32 68
  %41 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN8ImVectorIjE4backEv(ptr noundef nonnull align 8 dereferenceable(16) %40)
  %42 = load i32, ptr %41, align 4, !tbaa !5
  %43 = getelementptr inbounds %struct.ImGuiPopupData, ptr %9, i32 0, i32 6
  store i32 %42, ptr %43, align 8, !tbaa !100
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #7
  %44 = call <2 x float> @_ZN5ImGuiL22NavCalcPreferredRefPosEv()
  store <2 x float> %44, ptr %10, align 4
  %45 = getelementptr inbounds %struct.ImGuiPopupData, ptr %9, i32 0, i32 7
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %45, ptr align 4 %10, i64 8, i1 false), !tbaa.struct !101
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #7
  %46 = load ptr, ptr %5, align 8, !tbaa !9
  %47 = getelementptr inbounds %struct.ImGuiContext, ptr %46, i32 0, i32 2
  %48 = getelementptr inbounds %struct.ImGuiIO, ptr %47, i32 0, i32 65
  %49 = call noundef zeroext i1 @_ZN5ImGui15IsMousePosValidEPK6ImVec2(ptr noundef %48)
  br i1 %49, label %50, label %54

50:                                               ; preds = %27
  %51 = load ptr, ptr %5, align 8, !tbaa !9
  %52 = getelementptr inbounds %struct.ImGuiContext, ptr %51, i32 0, i32 2
  %53 = getelementptr inbounds %struct.ImGuiIO, ptr %52, i32 0, i32 65
  br label %56

54:                                               ; preds = %27
  %55 = getelementptr inbounds %struct.ImGuiPopupData, ptr %9, i32 0, i32 7
  br label %56

56:                                               ; preds = %54, %50
  %57 = phi ptr [ %53, %50 ], [ %55, %54 ]
  %58 = getelementptr inbounds %struct.ImGuiPopupData, ptr %9, i32 0, i32 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %58, ptr align 4 %57, i64 8, i1 false), !tbaa.struct !101
  br label %59

59:                                               ; preds = %56
  %60 = load ptr, ptr %5, align 8, !tbaa !9
  %61 = getelementptr inbounds %struct.ImGuiContext, ptr %60, i32 0, i32 271
  %62 = load i32, ptr %61, align 4, !tbaa !103
  %63 = and i32 %62, 8
  %64 = icmp ne i32 %63, 0
  br i1 %64, label %65, label %67

65:                                               ; preds = %59
  %66 = load i32, ptr %3, align 4, !tbaa !5
  call void (ptr, ...) @_ZN5ImGui8DebugLogEPKcz(ptr noundef @.str.297, i32 noundef %66)
  br label %67

67:                                               ; preds = %65, %59
  br label %68

68:                                               ; preds = %67
  br label %69

69:                                               ; preds = %68
  %70 = load ptr, ptr %5, align 8, !tbaa !9
  %71 = getelementptr inbounds %struct.ImGuiContext, ptr %70, i32 0, i32 98
  %72 = getelementptr inbounds %struct.ImVector.12, ptr %71, i32 0, i32 0
  %73 = load i32, ptr %72, align 8, !tbaa !104
  %74 = load i32, ptr %7, align 4, !tbaa !5
  %75 = add nsw i32 %74, 1
  %76 = icmp slt i32 %73, %75
  br i1 %76, label %77, label %80

77:                                               ; preds = %69
  %78 = load ptr, ptr %5, align 8, !tbaa !9
  %79 = getelementptr inbounds %struct.ImGuiContext, ptr %78, i32 0, i32 98
  call void @_ZN8ImVectorI14ImGuiPopupDataE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(16) %79, ptr noundef nonnull align 8 dereferenceable(52) %9)
  br label %123

80:                                               ; preds = %69
  call void @llvm.lifetime.start.p0(i64 1, ptr %11) #7
  store i8 0, ptr %11, align 1, !tbaa !105
  %81 = load ptr, ptr %5, align 8, !tbaa !9
  %82 = getelementptr inbounds %struct.ImGuiContext, ptr %81, i32 0, i32 98
  %83 = load i32, ptr %7, align 4, !tbaa !5
  %84 = call noundef nonnull align 8 dereferenceable(52) ptr @_ZN8ImVectorI14ImGuiPopupDataEixEi(ptr noundef nonnull align 8 dereferenceable(16) %82, i32 noundef %83)
  %85 = getelementptr inbounds %struct.ImGuiPopupData, ptr %84, i32 0, i32 0
  %86 = load i32, ptr %85, align 8, !tbaa !93
  %87 = load i32, ptr %3, align 4, !tbaa !5
  %88 = icmp eq i32 %86, %87
  br i1 %88, label %89, label %107

89:                                               ; preds = %80
  %90 = load ptr, ptr %5, align 8, !tbaa !9
  %91 = getelementptr inbounds %struct.ImGuiContext, ptr %90, i32 0, i32 98
  %92 = load i32, ptr %7, align 4, !tbaa !5
  %93 = call noundef nonnull align 8 dereferenceable(52) ptr @_ZN8ImVectorI14ImGuiPopupDataEixEi(ptr noundef nonnull align 8 dereferenceable(16) %91, i32 noundef %92)
  %94 = getelementptr inbounds %struct.ImGuiPopupData, ptr %93, i32 0, i32 5
  %95 = load i32, ptr %94, align 4, !tbaa !99
  %96 = load ptr, ptr %5, align 8, !tbaa !9
  %97 = getelementptr inbounds %struct.ImGuiContext, ptr %96, i32 0, i32 12
  %98 = load i32, ptr %97, align 8, !tbaa !98
  %99 = sub nsw i32 %98, 1
  %100 = icmp eq i32 %95, %99
  br i1 %100, label %105, label %101

101:                                              ; preds = %89
  %102 = load i32, ptr %4, align 4, !tbaa !5
  %103 = and i32 %102, 32
  %104 = icmp ne i32 %103, 0
  br i1 %104, label %105, label %106

105:                                              ; preds = %101, %89
  store i8 1, ptr %11, align 1, !tbaa !105
  br label %106

106:                                              ; preds = %105, %101
  br label %107

107:                                              ; preds = %106, %80
  %108 = load i8, ptr %11, align 1, !tbaa !105, !range !106, !noundef !107
  %109 = trunc i8 %108 to i1
  br i1 %109, label %110, label %118

110:                                              ; preds = %107
  %111 = getelementptr inbounds %struct.ImGuiPopupData, ptr %9, i32 0, i32 5
  %112 = load i32, ptr %111, align 4, !tbaa !99
  %113 = load ptr, ptr %5, align 8, !tbaa !9
  %114 = getelementptr inbounds %struct.ImGuiContext, ptr %113, i32 0, i32 98
  %115 = load i32, ptr %7, align 4, !tbaa !5
  %116 = call noundef nonnull align 8 dereferenceable(52) ptr @_ZN8ImVectorI14ImGuiPopupDataEixEi(ptr noundef nonnull align 8 dereferenceable(16) %114, i32 noundef %115)
  %117 = getelementptr inbounds %struct.ImGuiPopupData, ptr %116, i32 0, i32 5
  store i32 %112, ptr %117, align 4, !tbaa !99
  br label %122

118:                                              ; preds = %107
  %119 = load i32, ptr %7, align 4, !tbaa !5
  call void @_ZN5ImGui17ClosePopupToLevelEib(i32 noundef %119, i1 noundef zeroext true)
  %120 = load ptr, ptr %5, align 8, !tbaa !9
  %121 = getelementptr inbounds %struct.ImGuiContext, ptr %120, i32 0, i32 98
  call void @_ZN8ImVectorI14ImGuiPopupDataE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(16) %121, ptr noundef nonnull align 8 dereferenceable(52) %9)
  br label %122

122:                                              ; preds = %118, %110
  call void @llvm.lifetime.end.p0(i64 1, ptr %11) #7
  br label %123

123:                                              ; preds = %122, %77
  call void @llvm.lifetime.end.p0(i64 56, ptr %9) #7
  store i32 0, ptr %8, align 4
  br label %124

124:                                              ; preds = %123, %25
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #7
  %125 = load i32, ptr %8, align 4
  switch i32 %125, label %127 [
    i32 0, label %126
    i32 1, label %126
  ]

126:                                              ; preds = %124, %124
  ret void

127:                                              ; preds = %124
  unreachable
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN14ImGuiPopupDataC2Ev(ptr noundef nonnull align 8 dereferenceable(52)) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare hidden <2 x float> @_ZN5ImGuiL22NavCalcPreferredRefPosEv() #6

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !10, i64 4968}
!12 = !{!"_ZTS12ImGuiContext", !13, i64 0, !13, i64 1, !14, i64 8, !20, i64 2984, !21, i64 3056, !10, i64 4216, !16, i64 4224, !16, i64 4228, !16, i64 4232, !16, i64 4236, !23, i64 4240, !26, i64 4776, !6, i64 4784, !6, i64 4788, !6, i64 4792, !6, i64 4796, !13, i64 4800, !13, i64 4801, !13, i64 4802, !13, i64 4803, !10, i64 4808, !7, i64 4816, !27, i64 4832, !27, i64 4848, !17, i64 4864, !6, i64 4868, !28, i64 4872, !28, i64 4888, !28, i64 4904, !29, i64 4920, !30, i64 4936, !6, i64 4952, !15, i64 4956, !6, i64 4964, !10, i64 4968, !10, i64 4976, !10, i64 4984, !10, i64 4992, !10, i64 5000, !10, i64 5008, !15, i64 5016, !6, i64 5024, !6, i64 5028, !16, i64 5032, !15, i64 5036, !15, i64 5044, !6, i64 5052, !6, i64 5056, !6, i64 5060, !6, i64 5064, !6, i64 5068, !16, i64 5072, !16, i64 5076, !13, i64 5080, !13, i64 5081, !13, i64 5082, !6, i64 5084, !6, i64 5088, !16, i64 5092, !13, i64 5096, !13, i64 5097, !13, i64 5098, !13, i64 5099, !13, i64 5100, !13, i64 5101, !13, i64 5102, !6, i64 5103, !15, i64 5104, !10, i64 5112, !32, i64 5120, !6, i64 5124, !33, i64 5128, !34, i64 5140, !6, i64 5148, !16, i64 5152, !26, i64 5160, !26, i64 5168, !26, i64 5176, !35, i64 5184, !7, i64 5204, !36, i64 7056, !6, i64 7400, !13, i64 7404, !6, i64 7408, !6, i64 7412, !6, i64 7416, !6, i64 7420, !38, i64 7424, !40, i64 7480, !42, i64 7560, !13, i64 7672, !6, i64 7676, !43, i64 7680, !44, i64 7696, !45, i64 7712, !46, i64 7728, !47, i64 7744, !48, i64 7760, !49, i64 7776, !49, i64 7792, !50, i64 7808, !51, i64 7824, !13, i64 7840, !13, i64 7841, !13, i64 7842, !13, i64 7843, !6, i64 7844, !10, i64 7848, !6, i64 7856, !52, i64 7860, !6, i64 7864, !6, i64 7868, !6, i64 7872, !6, i64 7876, !46, i64 7880, !6, i64 7896, !16, i64 7900, !6, i64 7904, !6, i64 7908, !32, i64 7912, !39, i64 7920, !7, i64 7928, !13, i64 7929, !13, i64 7930, !13, i64 7931, !53, i64 7936, !13, i64 7992, !13, i64 7993, !13, i64 7994, !6, i64 7996, !6, i64 8000, !6, i64 8004, !22, i64 8008, !22, i64 8012, !22, i64 8016, !41, i64 8020, !41, i64 8036, !6, i64 8052, !6, i64 8056, !6, i64 8060, !53, i64 8064, !53, i64 8120, !53, i64 8176, !53, i64 8232, !6, i64 8288, !6, i64 8292, !6, i64 8296, !6, i64 8300, !13, i64 8304, !13, i64 8305, !6, i64 8308, !6, i64 8312, !10, i64 8320, !10, i64 8328, !10, i64 8336, !16, i64 8344, !16, i64 8348, !13, i64 8352, !54, i64 8356, !15, i64 8360, !15, i64 8368, !16, i64 8376, !13, i64 8380, !13, i64 8381, !13, i64 8382, !6, i64 8384, !6, i64 8388, !6, i64 8392, !55, i64 8400, !41, i64 8464, !41, i64 8480, !6, i64 8496, !6, i64 8500, !16, i64 8504, !6, i64 8508, !6, i64 8512, !6, i64 8516, !6, i64 8520, !56, i64 8528, !7, i64 8544, !6, i64 8560, !57, i64 8568, !10, i64 8584, !6, i64 8592, !6, i64 8596, !58, i64 8600, !59, i64 8616, !61, i64 8656, !62, i64 8672, !10, i64 8688, !63, i64 8696, !65, i64 8736, !66, i64 8752, !67, i64 8768, !10, i64 8872, !6, i64 8880, !68, i64 8888, !69, i64 8904, !6, i64 8944, !6, i64 8948, !16, i64 8952, !16, i64 8956, !6, i64 8960, !6, i64 8964, !6, i64 8968, !16, i64 8972, !15, i64 8976, !71, i64 8984, !73, i64 9104, !74, i64 9128, !6, i64 9248, !34, i64 9252, !6, i64 9260, !6, i64 9264, !6, i64 9268, !6, i64 9272, !6, i64 9276, !16, i64 9280, !16, i64 9284, !6, i64 9288, !24, i64 9292, !76, i64 9308, !41, i64 9356, !13, i64 9372, !18, i64 9374, !16, i64 9376, !16, i64 9380, !16, i64 9384, !13, i64 9388, !13, i64 9389, !16, i64 9392, !16, i64 9396, !16, i64 9400, !18, i64 9404, !18, i64 9406, !10, i64 9408, !72, i64 9416, !77, i64 9432, !78, i64 9448, !80, i64 9552, !80, i64 9568, !13, i64 9584, !16, i64 9588, !81, i64 9592, !82, i64 9608, !83, i64 9624, !84, i64 9640, !85, i64 9656, !6, i64 9672, !7, i64 9680, !13, i64 9760, !6, i64 9764, !10, i64 9768, !10, i64 9776, !81, i64 9784, !10, i64 9800, !10, i64 9808, !16, i64 9816, !13, i64 9820, !6, i64 9824, !6, i64 9828, !6, i64 9832, !10, i64 9840, !10, i64 9848, !15, i64 9856, !13, i64 9864, !6, i64 9868, !86, i64 9872, !10, i64 9896, !6, i64 9904, !6, i64 9908, !81, i64 9912, !87, i64 9928, !6, i64 9952, !6, i64 9956, !7, i64 9960, !7, i64 9961, !13, i64 9962, !6, i64 9964, !7, i64 9968, !13, i64 9969, !7, i64 9970, !6, i64 9972, !16, i64 9976, !24, i64 9980, !88, i64 9996, !89, i64 10024, !91, i64 10064, !7, i64 10124, !6, i64 10364, !6, i64 10368, !16, i64 10372, !6, i64 10376, !6, i64 10380, !6, i64 10384, !72, i64 10392, !7, i64 10408}
!13 = !{!"bool", !7, i64 0}
!14 = !{!"_ZTS7ImGuiIO", !6, i64 0, !6, i64 4, !15, i64 8, !16, i64 16, !16, i64 20, !10, i64 24, !10, i64 32, !10, i64 40, !10, i64 48, !16, i64 56, !13, i64 60, !10, i64 64, !15, i64 72, !13, i64 80, !13, i64 81, !13, i64 82, !13, i64 83, !13, i64 84, !13, i64 85, !13, i64 86, !13, i64 87, !13, i64 88, !13, i64 89, !13, i64 90, !13, i64 91, !13, i64 92, !13, i64 93, !13, i64 94, !13, i64 95, !13, i64 96, !16, i64 100, !16, i64 104, !16, i64 108, !16, i64 112, !16, i64 116, !16, i64 120, !13, i64 124, !13, i64 125, !13, i64 126, !13, i64 127, !13, i64 128, !13, i64 129, !13, i64 130, !13, i64 131, !13, i64 132, !13, i64 133, !10, i64 136, !10, i64 144, !10, i64 152, !10, i64 160, !10, i64 168, !13, i64 176, !13, i64 177, !13, i64 178, !13, i64 179, !13, i64 180, !13, i64 181, !13, i64 182, !16, i64 184, !6, i64 188, !6, i64 192, !6, i64 196, !6, i64 200, !15, i64 204, !10, i64 216, !15, i64 224, !7, i64 232, !16, i64 240, !16, i64 244, !17, i64 248, !13, i64 252, !13, i64 253, !13, i64 254, !13, i64 255, !6, i64 256, !7, i64 260, !13, i64 2724, !15, i64 2728, !7, i64 2736, !7, i64 2776, !7, i64 2816, !7, i64 2821, !7, i64 2826, !7, i64 2836, !7, i64 2846, !7, i64 2851, !7, i64 2856, !13, i64 2861, !13, i64 2862, !7, i64 2864, !7, i64 2884, !7, i64 2904, !16, i64 2924, !13, i64 2928, !13, i64 2929, !18, i64 2930, !19, i64 2936, !10, i64 2952, !10, i64 2960, !10, i64 2968}
!15 = !{!"_ZTS6ImVec2", !16, i64 0, !16, i64 4}
!16 = !{!"float", !7, i64 0}
!17 = !{!"_ZTS16ImGuiMouseSource", !7, i64 0}
!18 = !{!"short", !7, i64 0}
!19 = !{!"_ZTS8ImVectorItE", !6, i64 0, !6, i64 4, !10, i64 8}
!20 = !{!"_ZTS15ImGuiPlatformIO", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !10, i64 40, !10, i64 48, !18, i64 56, !10, i64 64}
!21 = !{!"_ZTS10ImGuiStyle", !16, i64 0, !16, i64 4, !15, i64 8, !16, i64 16, !16, i64 20, !15, i64 24, !15, i64 32, !22, 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, !16, i64 156, !15, i64 160, !22, i64 168, !15, i64 172, !15, i64 180, !16, i64 188, !15, i64 192, !15, i64 200, !15, i64 208, !15, i64 216, !16, i64 224, !13, i64 228, !13, i64 229, !13, i64 230, !16, i64 232, !16, i64 236, !7, i64 240, !16, i64 1136, !16, i64 1140, !16, i64 1144, !6, i64 1148, !6, i64 1152}
!22 = !{!"_ZTS8ImGuiDir", !7, i64 0}
!23 = !{!"_ZTS20ImDrawListSharedData", !15, i64 0, !10, i64 8, !10, i64 16, !16, i64 24, !16, i64 28, !16, i64 32, !16, i64 36, !24, i64 40, !6, i64 56, !25, i64 64, !7, i64 80, !16, i64 464, !7, i64 468}
!24 = !{!"_ZTS6ImVec4", !16, i64 0, !16, i64 4, !16, i64 8, !16, i64 12}
!25 = !{!"_ZTS8ImVectorI6ImVec2E", !6, i64 0, !6, i64 4, !10, i64 8}
!26 = !{!"double", !7, i64 0}
!27 = !{!"_ZTS8ImVectorI15ImGuiInputEventE", !6, i64 0, !6, i64 4, !10, i64 8}
!28 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !6, i64 0, !6, i64 4, !10, i64 8}
!29 = !{!"_ZTS8ImVectorI20ImGuiWindowStackDataE", !6, i64 0, !6, i64 4, !10, i64 8}
!30 = !{!"_ZTS12ImGuiStorage", !31, i64 0}
!31 = !{!"_ZTS8ImVectorI16ImGuiStoragePairE", !6, i64 0, !6, i64 4, !10, i64 8}
!32 = !{!"_ZTS16ImGuiInputSource", !7, i64 0}
!33 = !{!"_ZTS24ImGuiDeactivatedItemData", !6, i64 0, !6, i64 4, !13, i64 8, !13, i64 9}
!34 = !{!"_ZTS20ImGuiDataTypeStorage", !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, !10, i64 8}
!38 = !{!"_ZTS17ImGuiNextItemData", !6, i64 0, !6, i64 4, !6, i64 8, !39, i64 16, !16, i64 24, !6, i64 28, !6, i64 32, !13, i64 36, !7, i64 37, !34, i64 38, !6, i64 48}
!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, !6, i64 76}
!41 = !{!"_ZTS6ImRect", !15, i64 0, !15, i64 8}
!42 = !{!"_ZTS19ImGuiNextWindowData", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12, !15, i64 16, !15, i64 24, !15, i64 32, !15, i64 40, !15, i64 48, !6, i64 56, !13, i64 60, !41, i64 64, !10, i64 80, !10, i64 88, !16, i64 96, !15, i64 100, !6, i64 108}
!43 = !{!"_ZTS8ImVectorI13ImGuiColorModE", !6, i64 0, !6, i64 4, !10, i64 8}
!44 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !6, i64 0, !6, i64 4, !10, i64 8}
!45 = !{!"_ZTS8ImVectorIP6ImFontE", !6, i64 0, !6, i64 4, !10, i64 8}
!46 = !{!"_ZTS8ImVectorI19ImGuiFocusScopeDataE", !6, i64 0, !6, i64 4, !10, i64 8}
!47 = !{!"_ZTS8ImVectorIiE", !6, i64 0, !6, i64 4, !10, i64 8}
!48 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !6, i64 0, !6, i64 4, !10, i64 8}
!49 = !{!"_ZTS8ImVectorI14ImGuiPopupDataE", !6, i64 0, !6, i64 4, !10, i64 8}
!50 = !{!"_ZTS8ImVectorI22ImGuiTreeNodeStackDataE", !6, i64 0, !6, i64 4, !10, i64 8}
!51 = !{!"_ZTS8ImVectorIP14ImGuiViewportPE", !6, i64 0, !6, i64 4, !10, i64 8}
!52 = !{!"_ZTS13ImGuiNavLayer", !7, i64 0}
!53 = !{!"_ZTS16ImGuiNavItemData", !10, i64 0, !6, i64 8, !6, i64 12, !41, i64 16, !6, i64 32, !16, i64 36, !16, i64 40, !16, i64 44, !39, i64 48}
!54 = !{!"_ZTS8ImGuiKey", !7, i64 0}
!55 = !{!"_ZTS12ImGuiPayload", !10, i64 0, !6, i64 8, !6, i64 12, !6, i64 16, !6, i64 20, !7, i64 24, !13, i64 57, !13, i64 58}
!56 = !{!"_ZTS8ImVectorIhE", !6, i64 0, !6, i64 4, !10, i64 8}
!57 = !{!"_ZTS8ImVectorI20ImGuiListClipperDataE", !6, i64 0, !6, i64 4, !10, i64 8}
!58 = !{!"_ZTS8ImVectorI18ImGuiTableTempDataE", !6, i64 0, !6, i64 4, !10, i64 8}
!59 = !{!"_ZTS6ImPoolI10ImGuiTableE", !60, i64 0, !30, i64 16, !6, i64 32, !6, i64 36}
!60 = !{!"_ZTS8ImVectorI10ImGuiTableE", !6, i64 0, !6, i64 4, !10, i64 8}
!61 = !{!"_ZTS8ImVectorIfE", !6, i64 0, !6, i64 4, !10, i64 8}
!62 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !6, i64 0, !6, i64 4, !10, i64 8}
!63 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !64, i64 0, !30, i64 16, !6, i64 32, !6, i64 36}
!64 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !6, i64 0, !6, i64 4, !10, i64 8}
!65 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !6, i64 0, !6, i64 4, !10, i64 8}
!66 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !6, i64 0, !6, i64 4, !10, i64 8}
!67 = !{!"_ZTS19ImGuiBoxSelectState", !6, i64 0, !13, i64 4, !13, i64 5, !13, i64 6, !13, i64 7, !13, i64 8, !6, i64 9, !15, i64 12, !15, i64 20, !15, i64 28, !10, i64 40, !13, i64 48, !41, i64 52, !41, i64 68, !41, i64 84}
!68 = !{!"_ZTS8ImVectorI24ImGuiMultiSelectTempDataE", !6, i64 0, !6, i64 4, !10, i64 8}
!69 = !{!"_ZTS6ImPoolI21ImGuiMultiSelectStateE", !70, i64 0, !30, i64 16, !6, i64 32, !6, i64 36}
!70 = !{!"_ZTS8ImVectorI21ImGuiMultiSelectStateE", !6, i64 0, !6, i64 4, !10, i64 8}
!71 = !{!"_ZTS19ImGuiInputTextState", !10, i64 0, !10, i64 8, !6, i64 16, !6, i64 20, !6, i64 24, !10, i64 32, !72, i64 40, !72, i64 56, !72, i64 72, !6, i64 88, !15, i64 92, !16, i64 100, !13, i64 104, !13, i64 105, !13, i64 106, !13, i64 107, !6, i64 108, !6, i64 112}
!72 = !{!"_ZTS8ImVectorIcE", !6, i64 0, !6, i64 4, !10, i64 8}
!73 = !{!"_ZTS30ImGuiInputTextDeactivatedState", !6, i64 0, !72, i64 8}
!74 = !{!"_ZTS6ImFont", !61, i64 0, !16, i64 16, !16, i64 20, !19, i64 24, !75, i64 40, !10, i64 56, !10, i64 64, !10, i64 72, !18, i64 80, !18, i64 82, !18, i64 84, !18, i64 86, !16, i64 88, !16, i64 92, !13, i64 96, !16, i64 100, !16, i64 104, !16, i64 108, !6, i64 112, !7, i64 116}
!75 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !6, i64 0, !6, i64 4, !10, i64 8}
!76 = !{!"_ZTS21ImGuiComboPreviewData", !41, i64 0, !15, i64 16, !15, i64 24, !15, i64 32, !16, i64 40, !6, i64 44}
!77 = !{!"_ZTS8ImVectorIjE", !6, i64 0, !6, i64 4, !10, i64 8}
!78 = !{!"_ZTS22ImGuiTypingSelectState", !79, i64 0, !7, i64 24, !6, i64 88, !6, i64 92, !16, i64 96, !13, i64 100}
!79 = !{!"_ZTS24ImGuiTypingSelectRequest", !6, i64 0, !6, i64 4, !10, i64 8, !13, i64 16, !13, i64 17, !7, i64 18}
!80 = !{!"_ZTS20ImGuiPlatformImeData", !13, i64 0, !15, i64 4, !16, i64 12}
!81 = !{!"_ZTS15ImGuiTextBuffer", !72, i64 0}
!82 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !6, i64 0, !6, i64 4, !10, i64 8}
!83 = !{!"_ZTS13ImChunkStreamI19ImGuiWindowSettingsE", !72, i64 0}
!84 = !{!"_ZTS13ImChunkStreamI18ImGuiTableSettingsE", !72, i64 0}
!85 = !{!"_ZTS8ImVectorI16ImGuiContextHookE", !6, i64 0, !6, i64 4, !10, i64 8}
!86 = !{!"_ZTS23ImGuiErrorRecoveryState", !18, i64 0, !18, i64 2, !18, i64 4, !18, i64 6, !18, i64 8, !18, i64 10, !18, i64 12, !18, i64 14, !18, i64 16, !18, i64 18, !18, i64 20}
!87 = !{!"_ZTS14ImGuiTextIndex", !47, i64 0, !6, i64 16}
!88 = !{!"_ZTS18ImGuiMetricsConfig", !13, i64 0, !13, i64 1, !13, i64 2, !13, i64 3, !13, i64 4, !13, i64 5, !13, i64 6, !13, i64 7, !13, i64 8, !6, i64 12, !6, i64 16, !6, i64 20, !6, i64 24}
!89 = !{!"_ZTS16ImGuiIDStackTool", !6, i64 0, !6, i64 4, !6, i64 8, !90, i64 16, !13, i64 32, !16, i64 36}
!90 = !{!"_ZTS8ImVectorI19ImGuiStackLevelInfoE", !6, i64 0, !6, i64 4, !10, i64 8}
!91 = !{!"_ZTS19ImGuiDebugAllocInfo", !6, i64 0, !6, i64 4, !18, i64 8, !7, i64 12}
!92 = !{!12, !6, i64 7792}
!93 = !{!94, !6, i64 0}
!94 = !{!"_ZTS14ImGuiPopupData", !6, i64 0, !10, i64 8, !10, i64 16, !6, i64 24, !6, i64 28, !6, i64 32, !15, i64 36, !15, i64 44}
!95 = !{!94, !10, i64 8}
!96 = !{!12, !10, i64 7848}
!97 = !{!94, !10, i64 16}
!98 = !{!12, !6, i64 4784}
!99 = !{!94, !6, i64 28}
!100 = !{!94, !6, i64 32}
!101 = !{i64 0, i64 4, !102, i64 4, i64 4, !102}
!102 = !{!16, !16, i64 0}
!103 = !{!12, !6, i64 9908}
!104 = !{!12, !6, i64 7776}
!105 = !{!13, !13, i64 0}
!106 = !{i8 0, i8 2}
!107 = !{}


; 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.ImGuiPopupData = type <{ i32, [4 x i8], ptr, ptr, i32, i32, i32, %struct.ImVec2, %struct.ImVec2, [4 x i8] }>
%struct.ImVec2 = type { float, float }

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

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

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

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

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

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

; 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: inlinehint mustprogress uwtable
declare dso_local void @_ZN8ImVectorI14ImGuiPopupDataE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(52)) local_unnamed_addr #4 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN5ImGui11OpenPopupExEji(i32 noundef %0, i32 noundef %1) local_unnamed_addr #5 {
  %3 = alloca %struct.ImGuiPopupData, align 8
  %4 = load ptr, ptr @GImGui, align 8, !tbaa !5
  %5 = getelementptr inbounds i8, ptr %4, i64 4968
  %6 = load ptr, ptr %5, align 8, !tbaa !9
  %7 = getelementptr inbounds i8, ptr %4, i64 7792
  %8 = load i32, ptr %7, align 8, !tbaa !91
  %9 = and i32 %1, 128
  %.not = icmp eq i32 %9, 0
  br i1 %.not, label %12, label %10

10:                                               ; preds = %2
  %11 = tail call noundef zeroext i1 @_ZN5ImGui11IsPopupOpenEji(i32 noundef 0, i32 noundef 1024)
  br i1 %11, label %56, label %12

12:                                               ; preds = %10, %2
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %3) #6
  call void @_ZN14ImGuiPopupDataC2Ev(ptr noundef nonnull align 8 dereferenceable(52) %3)
  store i32 %0, ptr %3, align 8, !tbaa !92
  %13 = getelementptr inbounds i8, ptr %3, i64 8
  store ptr null, ptr %13, align 8, !tbaa !94
  %14 = getelementptr inbounds i8, ptr %4, i64 7848
  %15 = load ptr, ptr %14, align 8, !tbaa !95
  %16 = getelementptr inbounds i8, ptr %3, i64 16
  store ptr %15, ptr %16, align 8, !tbaa !96
  %17 = getelementptr inbounds i8, ptr %4, i64 4784
  %18 = load i32, ptr %17, align 8, !tbaa !97
  %19 = getelementptr inbounds i8, ptr %3, i64 28
  store i32 %18, ptr %19, align 4, !tbaa !98
  %20 = getelementptr inbounds i8, ptr %6, i64 264
  %21 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN8ImVectorIjE4backEv(ptr noundef nonnull align 8 dereferenceable(16) %20)
  %22 = load i32, ptr %21, align 4, !tbaa !99
  %23 = getelementptr inbounds i8, ptr %3, i64 32
  store i32 %22, ptr %23, align 8, !tbaa !100
  %24 = call <2 x float> @_ZN5ImGuiL22NavCalcPreferredRefPosEv()
  %25 = getelementptr inbounds i8, ptr %3, i64 36
  store <2 x float> %24, ptr %25, align 4
  %26 = getelementptr inbounds i8, ptr %4, i64 232
  %27 = call noundef zeroext i1 @_ZN5ImGui15IsMousePosValidEPK6ImVec2(ptr noundef nonnull %26)
  %28 = select i1 %27, ptr %26, ptr %25
  %29 = getelementptr inbounds i8, ptr %3, i64 44
  %30 = load i64, ptr %28, align 4
  store i64 %30, ptr %29, align 4
  %31 = getelementptr inbounds i8, ptr %4, i64 9908
  %32 = load i32, ptr %31, align 4, !tbaa !101
  %33 = and i32 %32, 8
  %.not25 = icmp eq i32 %33, 0
  br i1 %.not25, label %35, label %34

34:                                               ; preds = %12
  call void (ptr, ...) @_ZN5ImGui8DebugLogEPKcz(ptr noundef nonnull @.str.297, i32 noundef %0)
  br label %35

35:                                               ; preds = %34, %12
  %36 = getelementptr inbounds i8, ptr %4, i64 7776
  %37 = load i32, ptr %36, align 8, !tbaa !102
  %.not26 = icmp sgt i32 %37, %8
  br i1 %.not26, label %39, label %38

38:                                               ; preds = %35
  call void @_ZN8ImVectorI14ImGuiPopupDataE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(16) %36, ptr noundef nonnull align 8 dereferenceable(52) %3)
  br label %55

39:                                               ; preds = %35
  %40 = call noundef nonnull align 8 dereferenceable(52) ptr @_ZN8ImVectorI14ImGuiPopupDataEixEi(ptr noundef nonnull align 8 dereferenceable(16) %36, i32 noundef %8)
  %41 = load i32, ptr %40, align 8, !tbaa !92
  %42 = icmp eq i32 %41, %0
  br i1 %42, label %43, label %54

43:                                               ; preds = %39
  %44 = call noundef nonnull align 8 dereferenceable(52) ptr @_ZN8ImVectorI14ImGuiPopupDataEixEi(ptr noundef nonnull align 8 dereferenceable(16) %36, i32 noundef %8)
  %45 = getelementptr inbounds i8, ptr %44, i64 28
  %46 = load i32, ptr %45, align 4, !tbaa !98
  %47 = load i32, ptr %17, align 8, !tbaa !97
  %48 = add nsw i32 %47, -1
  %49 = icmp ne i32 %46, %48
  %50 = and i32 %1, 32
  %.not27 = icmp eq i32 %50, 0
  %or.cond = and i1 %.not27, %49
  br i1 %or.cond, label %54, label %.critedge

.critedge:                                        ; preds = %43
  %51 = load i32, ptr %19, align 4, !tbaa !98
  %52 = call noundef nonnull align 8 dereferenceable(52) ptr @_ZN8ImVectorI14ImGuiPopupDataEixEi(ptr noundef nonnull align 8 dereferenceable(16) %36, i32 noundef %8)
  %53 = getelementptr inbounds i8, ptr %52, i64 28
  store i32 %51, ptr %53, align 4, !tbaa !98
  br label %55

54:                                               ; preds = %39, %43
  call void @_ZN5ImGui17ClosePopupToLevelEib(i32 noundef %8, i1 noundef zeroext true)
  call void @_ZN8ImVectorI14ImGuiPopupDataE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(16) %36, ptr noundef nonnull align 8 dereferenceable(52) %3)
  br label %55

55:                                               ; preds = %.critedge, %54, %38
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %3) #6
  br label %56

56:                                               ; preds = %10, %55
  ret void
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN14ImGuiPopupDataC2Ev(ptr noundef nonnull align 8 dereferenceable(52)) unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare hidden <2 x float> @_ZN5ImGuiL22NavCalcPreferredRefPosEv() local_unnamed_addr #5

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 = { 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 #5 = { 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 #6 = { 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 4968}
!10 = !{!"_ZTS12ImGuiContext", !11, i64 0, !11, i64 1, !12, i64 8, !19, i64 2984, !20, i64 3056, !6, i64 4216, !15, i64 4224, !15, i64 4228, !15, i64 4232, !15, i64 4236, !22, i64 4240, !25, i64 4776, !13, i64 4784, !13, i64 4788, !13, i64 4792, !13, i64 4796, !11, i64 4800, !11, i64 4801, !11, i64 4802, !11, i64 4803, !6, i64 4808, !7, i64 4816, !26, i64 4832, !26, i64 4848, !16, i64 4864, !13, i64 4868, !27, i64 4872, !27, i64 4888, !27, i64 4904, !28, i64 4920, !29, i64 4936, !13, i64 4952, !14, i64 4956, !13, i64 4964, !6, i64 4968, !6, i64 4976, !6, i64 4984, !6, i64 4992, !6, i64 5000, !6, i64 5008, !14, i64 5016, !13, i64 5024, !13, i64 5028, !15, i64 5032, !14, i64 5036, !14, i64 5044, !13, i64 5052, !13, i64 5056, !13, i64 5060, !13, i64 5064, !13, i64 5068, !15, i64 5072, !15, i64 5076, !11, i64 5080, !11, i64 5081, !11, i64 5082, !13, i64 5084, !13, i64 5088, !15, i64 5092, !11, i64 5096, !11, i64 5097, !11, i64 5098, !11, i64 5099, !11, i64 5100, !11, i64 5101, !11, i64 5102, !13, i64 5103, !14, i64 5104, !6, i64 5112, !31, i64 5120, !13, i64 5124, !32, i64 5128, !33, i64 5140, !13, i64 5148, !15, i64 5152, !25, i64 5160, !25, i64 5168, !25, i64 5176, !34, i64 5184, !7, i64 5204, !35, i64 7056, !13, i64 7400, !11, i64 7404, !13, i64 7408, !13, i64 7412, !13, i64 7416, !13, i64 7420, !37, i64 7424, !39, i64 7480, !41, i64 7560, !11, i64 7672, !13, i64 7676, !42, i64 7680, !43, i64 7696, !44, i64 7712, !45, i64 7728, !46, i64 7744, !47, i64 7760, !48, i64 7776, !48, i64 7792, !49, i64 7808, !50, i64 7824, !11, i64 7840, !11, i64 7841, !11, i64 7842, !11, i64 7843, !13, i64 7844, !6, i64 7848, !13, i64 7856, !51, i64 7860, !13, i64 7864, !13, i64 7868, !13, i64 7872, !13, i64 7876, !45, i64 7880, !13, i64 7896, !15, i64 7900, !13, i64 7904, !13, i64 7908, !31, i64 7912, !38, i64 7920, !7, i64 7928, !11, i64 7929, !11, i64 7930, !11, i64 7931, !52, i64 7936, !11, i64 7992, !11, i64 7993, !11, i64 7994, !13, i64 7996, !13, i64 8000, !13, i64 8004, !21, i64 8008, !21, i64 8012, !21, i64 8016, !40, i64 8020, !40, i64 8036, !13, i64 8052, !13, i64 8056, !13, i64 8060, !52, i64 8064, !52, i64 8120, !52, i64 8176, !52, i64 8232, !13, i64 8288, !13, i64 8292, !13, i64 8296, !13, i64 8300, !11, i64 8304, !11, i64 8305, !13, i64 8308, !13, i64 8312, !6, i64 8320, !6, i64 8328, !6, i64 8336, !15, i64 8344, !15, i64 8348, !11, i64 8352, !53, i64 8356, !14, i64 8360, !14, i64 8368, !15, i64 8376, !11, i64 8380, !11, i64 8381, !11, i64 8382, !13, i64 8384, !13, i64 8388, !13, i64 8392, !54, i64 8400, !40, i64 8464, !40, i64 8480, !13, i64 8496, !13, i64 8500, !15, i64 8504, !13, i64 8508, !13, i64 8512, !13, i64 8516, !13, i64 8520, !55, i64 8528, !7, i64 8544, !13, i64 8560, !56, i64 8568, !6, i64 8584, !13, i64 8592, !13, i64 8596, !57, i64 8600, !58, i64 8616, !60, i64 8656, !61, i64 8672, !6, i64 8688, !62, i64 8696, !64, i64 8736, !65, i64 8752, !66, i64 8768, !6, i64 8872, !13, i64 8880, !67, i64 8888, !68, i64 8904, !13, i64 8944, !13, i64 8948, !15, i64 8952, !15, i64 8956, !13, i64 8960, !13, i64 8964, !13, i64 8968, !15, i64 8972, !14, i64 8976, !70, i64 8984, !72, i64 9104, !73, i64 9128, !13, i64 9248, !33, i64 9252, !13, i64 9260, !13, i64 9264, !13, i64 9268, !13, i64 9272, !13, i64 9276, !15, i64 9280, !15, i64 9284, !13, i64 9288, !23, i64 9292, !75, i64 9308, !40, i64 9356, !11, i64 9372, !17, i64 9374, !15, i64 9376, !15, i64 9380, !15, i64 9384, !11, i64 9388, !11, i64 9389, !15, i64 9392, !15, i64 9396, !15, i64 9400, !17, i64 9404, !17, i64 9406, !6, i64 9408, !71, i64 9416, !76, i64 9432, !77, i64 9448, !79, i64 9552, !79, i64 9568, !11, i64 9584, !15, i64 9588, !80, i64 9592, !81, i64 9608, !82, i64 9624, !83, i64 9640, !84, i64 9656, !13, i64 9672, !7, i64 9680, !11, i64 9760, !13, i64 9764, !6, i64 9768, !6, i64 9776, !80, i64 9784, !6, i64 9800, !6, i64 9808, !15, i64 9816, !11, i64 9820, !13, i64 9824, !13, i64 9828, !13, i64 9832, !6, i64 9840, !6, i64 9848, !14, i64 9856, !11, i64 9864, !13, i64 9868, !85, i64 9872, !6, i64 9896, !13, i64 9904, !13, i64 9908, !80, i64 9912, !86, i64 9928, !13, i64 9952, !13, i64 9956, !7, i64 9960, !7, i64 9961, !11, i64 9962, !13, i64 9964, !7, i64 9968, !11, i64 9969, !7, i64 9970, !13, i64 9972, !15, i64 9976, !23, i64 9980, !87, i64 9996, !88, i64 10024, !90, i64 10064, !7, i64 10124, !13, i64 10364, !13, i64 10368, !15, i64 10372, !13, i64 10376, !13, i64 10380, !13, i64 10384, !71, i64 10392, !7, i64 10408}
!11 = !{!"bool", !7, i64 0}
!12 = !{!"_ZTS7ImGuiIO", !13, i64 0, !13, i64 4, !14, i64 8, !15, i64 16, !15, i64 20, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !15, i64 56, !11, i64 60, !6, i64 64, !14, i64 72, !11, i64 80, !11, i64 81, !11, i64 82, !11, i64 83, !11, i64 84, !11, i64 85, !11, i64 86, !11, i64 87, !11, i64 88, !11, i64 89, !11, i64 90, !11, i64 91, !11, i64 92, !11, i64 93, !11, i64 94, !11, i64 95, !11, i64 96, !15, i64 100, !15, i64 104, !15, i64 108, !15, i64 112, !15, i64 116, !15, i64 120, !11, i64 124, !11, i64 125, !11, i64 126, !11, i64 127, !11, i64 128, !11, i64 129, !11, i64 130, !11, i64 131, !11, i64 132, !11, i64 133, !6, i64 136, !6, i64 144, !6, i64 152, !6, i64 160, !6, i64 168, !11, i64 176, !11, i64 177, !11, i64 178, !11, i64 179, !11, i64 180, !11, i64 181, !11, i64 182, !15, i64 184, !13, i64 188, !13, i64 192, !13, i64 196, !13, i64 200, !14, i64 204, !6, i64 216, !14, i64 224, !7, i64 232, !15, i64 240, !15, i64 244, !16, i64 248, !11, i64 252, !11, i64 253, !11, i64 254, !11, i64 255, !13, i64 256, !7, i64 260, !11, i64 2724, !14, i64 2728, !7, i64 2736, !7, i64 2776, !7, i64 2816, !7, i64 2821, !7, i64 2826, !7, i64 2836, !7, i64 2846, !7, i64 2851, !7, i64 2856, !11, i64 2861, !11, i64 2862, !7, i64 2864, !7, i64 2884, !7, i64 2904, !15, i64 2924, !11, i64 2928, !11, i64 2929, !17, i64 2930, !18, i64 2936, !6, i64 2952, !6, i64 2960, !6, i64 2968}
!13 = !{!"int", !7, i64 0}
!14 = !{!"_ZTS6ImVec2", !15, i64 0, !15, i64 4}
!15 = !{!"float", !7, i64 0}
!16 = !{!"_ZTS16ImGuiMouseSource", !7, i64 0}
!17 = !{!"short", !7, i64 0}
!18 = !{!"_ZTS8ImVectorItE", !13, i64 0, !13, i64 4, !6, i64 8}
!19 = !{!"_ZTS15ImGuiPlatformIO", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !17, i64 56, !6, i64 64}
!20 = !{!"_ZTS10ImGuiStyle", !15, i64 0, !15, i64 4, !14, i64 8, !15, i64 16, !15, i64 20, !14, i64 24, !14, i64 32, !21, 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, !15, i64 156, !14, i64 160, !21, i64 168, !14, i64 172, !14, i64 180, !15, i64 188, !14, i64 192, !14, i64 200, !14, i64 208, !14, i64 216, !15, i64 224, !11, i64 228, !11, i64 229, !11, i64 230, !15, i64 232, !15, i64 236, !7, i64 240, !15, i64 1136, !15, i64 1140, !15, i64 1144, !13, i64 1148, !13, i64 1152}
!21 = !{!"_ZTS8ImGuiDir", !7, i64 0}
!22 = !{!"_ZTS20ImDrawListSharedData", !14, i64 0, !6, i64 8, !6, i64 16, !15, i64 24, !15, i64 28, !15, i64 32, !15, i64 36, !23, i64 40, !13, i64 56, !24, i64 64, !7, i64 80, !15, i64 464, !7, i64 468}
!23 = !{!"_ZTS6ImVec4", !15, i64 0, !15, i64 4, !15, i64 8, !15, i64 12}
!24 = !{!"_ZTS8ImVectorI6ImVec2E", !13, i64 0, !13, i64 4, !6, i64 8}
!25 = !{!"double", !7, i64 0}
!26 = !{!"_ZTS8ImVectorI15ImGuiInputEventE", !13, i64 0, !13, i64 4, !6, i64 8}
!27 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !13, i64 0, !13, i64 4, !6, i64 8}
!28 = !{!"_ZTS8ImVectorI20ImGuiWindowStackDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!29 = !{!"_ZTS12ImGuiStorage", !30, i64 0}
!30 = !{!"_ZTS8ImVectorI16ImGuiStoragePairE", !13, i64 0, !13, i64 4, !6, i64 8}
!31 = !{!"_ZTS16ImGuiInputSource", !7, i64 0}
!32 = !{!"_ZTS24ImGuiDeactivatedItemData", !13, i64 0, !13, i64 4, !11, i64 8, !11, i64 9}
!33 = !{!"_ZTS20ImGuiDataTypeStorage", !7, i64 0}
!34 = !{!"_ZTS10ImBitArrayILi154ELin512EE", !7, i64 0}
!35 = !{!"_ZTS20ImGuiKeyRoutingTable", !7, i64 0, !36, i64 312, !36, i64 328}
!36 = !{!"_ZTS8ImVectorI19ImGuiKeyRoutingDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!37 = !{!"_ZTS17ImGuiNextItemData", !13, i64 0, !13, i64 4, !13, i64 8, !38, i64 16, !15, i64 24, !13, i64 28, !13, i64 32, !11, i64 36, !7, i64 37, !33, i64 38, !13, i64 48}
!38 = !{!"long long", !7, i64 0}
!39 = !{!"_ZTS17ImGuiLastItemData", !13, i64 0, !13, i64 4, !13, i64 8, !40, i64 12, !40, i64 28, !40, i64 44, !40, i64 60, !13, i64 76}
!40 = !{!"_ZTS6ImRect", !14, i64 0, !14, i64 8}
!41 = !{!"_ZTS19ImGuiNextWindowData", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12, !14, i64 16, !14, i64 24, !14, i64 32, !14, i64 40, !14, i64 48, !13, i64 56, !11, i64 60, !40, i64 64, !6, i64 80, !6, i64 88, !15, i64 96, !14, i64 100, !13, i64 108}
!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 = !{!"_ZTS8ImVectorI22ImGuiTreeNodeStackDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!50 = !{!"_ZTS8ImVectorIP14ImGuiViewportPE", !13, i64 0, !13, i64 4, !6, i64 8}
!51 = !{!"_ZTS13ImGuiNavLayer", !7, i64 0}
!52 = !{!"_ZTS16ImGuiNavItemData", !6, i64 0, !13, i64 8, !13, i64 12, !40, i64 16, !13, i64 32, !15, i64 36, !15, i64 40, !15, i64 44, !38, i64 48}
!53 = !{!"_ZTS8ImGuiKey", !7, i64 0}
!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, !29, 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, !29, 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 = !{!"_ZTS19ImGuiBoxSelectState", !13, i64 0, !11, i64 4, !11, i64 5, !11, i64 6, !11, i64 7, !11, i64 8, !13, i64 9, !14, i64 12, !14, i64 20, !14, i64 28, !6, i64 40, !11, i64 48, !40, i64 52, !40, i64 68, !40, i64 84}
!67 = !{!"_ZTS8ImVectorI24ImGuiMultiSelectTempDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!68 = !{!"_ZTS6ImPoolI21ImGuiMultiSelectStateE", !69, i64 0, !29, i64 16, !13, i64 32, !13, i64 36}
!69 = !{!"_ZTS8ImVectorI21ImGuiMultiSelectStateE", !13, i64 0, !13, i64 4, !6, i64 8}
!70 = !{!"_ZTS19ImGuiInputTextState", !6, i64 0, !6, i64 8, !13, i64 16, !13, i64 20, !13, i64 24, !6, i64 32, !71, i64 40, !71, i64 56, !71, i64 72, !13, i64 88, !14, i64 92, !15, i64 100, !11, i64 104, !11, i64 105, !11, i64 106, !11, i64 107, !13, i64 108, !13, i64 112}
!71 = !{!"_ZTS8ImVectorIcE", !13, i64 0, !13, i64 4, !6, i64 8}
!72 = !{!"_ZTS30ImGuiInputTextDeactivatedState", !13, i64 0, !71, i64 8}
!73 = !{!"_ZTS6ImFont", !60, i64 0, !15, i64 16, !15, i64 20, !18, i64 24, !74, i64 40, !6, i64 56, !6, i64 64, !6, i64 72, !17, i64 80, !17, i64 82, !17, i64 84, !17, i64 86, !15, i64 88, !15, i64 92, !11, i64 96, !15, i64 100, !15, i64 104, !15, i64 108, !13, i64 112, !7, i64 116}
!74 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !13, i64 0, !13, i64 4, !6, i64 8}
!75 = !{!"_ZTS21ImGuiComboPreviewData", !40, i64 0, !14, i64 16, !14, i64 24, !14, i64 32, !15, i64 40, !13, i64 44}
!76 = !{!"_ZTS8ImVectorIjE", !13, i64 0, !13, i64 4, !6, i64 8}
!77 = !{!"_ZTS22ImGuiTypingSelectState", !78, i64 0, !7, i64 24, !13, i64 88, !13, i64 92, !15, i64 96, !11, i64 100}
!78 = !{!"_ZTS24ImGuiTypingSelectRequest", !13, i64 0, !13, i64 4, !6, i64 8, !11, i64 16, !11, i64 17, !7, i64 18}
!79 = !{!"_ZTS20ImGuiPlatformImeData", !11, i64 0, !14, i64 4, !15, i64 12}
!80 = !{!"_ZTS15ImGuiTextBuffer", !71, i64 0}
!81 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !13, i64 0, !13, i64 4, !6, i64 8}
!82 = !{!"_ZTS13ImChunkStreamI19ImGuiWindowSettingsE", !71, i64 0}
!83 = !{!"_ZTS13ImChunkStreamI18ImGuiTableSettingsE", !71, i64 0}
!84 = !{!"_ZTS8ImVectorI16ImGuiContextHookE", !13, i64 0, !13, i64 4, !6, i64 8}
!85 = !{!"_ZTS23ImGuiErrorRecoveryState", !17, i64 0, !17, i64 2, !17, i64 4, !17, i64 6, !17, i64 8, !17, i64 10, !17, i64 12, !17, i64 14, !17, i64 16, !17, i64 18, !17, i64 20}
!86 = !{!"_ZTS14ImGuiTextIndex", !46, i64 0, !13, i64 16}
!87 = !{!"_ZTS18ImGuiMetricsConfig", !11, i64 0, !11, i64 1, !11, i64 2, !11, i64 3, !11, i64 4, !11, i64 5, !11, i64 6, !11, i64 7, !11, i64 8, !13, i64 12, !13, i64 16, !13, i64 20, !13, i64 24}
!88 = !{!"_ZTS16ImGuiIDStackTool", !13, i64 0, !13, i64 4, !13, i64 8, !89, i64 16, !11, i64 32, !15, i64 36}
!89 = !{!"_ZTS8ImVectorI19ImGuiStackLevelInfoE", !13, i64 0, !13, i64 4, !6, i64 8}
!90 = !{!"_ZTS19ImGuiDebugAllocInfo", !13, i64 0, !13, i64 4, !17, i64 8, !7, i64 12}
!91 = !{!10, !13, i64 7792}
!92 = !{!93, !13, i64 0}
!93 = !{!"_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}
!94 = !{!93, !6, i64 8}
!95 = !{!10, !6, i64 7848}
!96 = !{!93, !6, i64 16}
!97 = !{!10, !13, i64 4784}
!98 = !{!93, !13, i64 28}
!99 = !{!13, !13, i64 0}
!100 = !{!93, !13, i64 32}
!101 = !{!10, !13, i64 9908}
!102 = !{!10, !13, i64 7776}


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