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

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

%struct.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.3 = external hidden unnamed_addr constant [74 x i8], align 1
@.str.301 = external hidden unnamed_addr constant [49 x i8], align 1
@.str.302 = external hidden unnamed_addr constant [52 x i8], align 1
@__PRETTY_FUNCTION__._ZN5ImGui17ClosePopupToLevelEib = external hidden unnamed_addr constant [41 x i8], align 1
@.str.303 = external hidden unnamed_addr constant [46 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: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #2

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

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

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

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

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

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

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

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

23:                                               ; preds = %18, %12
  br label %24

24:                                               ; preds = %23
  br label %25

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

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

35:                                               ; preds = %28, %25
  %36 = phi i1 [ false, %25 ], [ %34, %28 ]
  br i1 %36, label %37, label %38

37:                                               ; preds = %35
  br label %40

38:                                               ; preds = %35
  call void @__assert_fail(ptr noundef @.str.302, ptr noundef @.str.3, i32 noundef 11562, ptr noundef @__PRETTY_FUNCTION__._ZN5ImGui17ClosePopupToLevelEib) #7
  unreachable

39:                                               ; No predecessors!
  br label %40

40:                                               ; preds = %39, %37
  %41 = load ptr, ptr %5, align 8, !tbaa !11
  %42 = getelementptr inbounds %struct.ImGuiContext, ptr %41, i32 0, i32 271
  %43 = load i32, ptr %42, align 4, !tbaa !13
  %44 = and i32 %43, 8
  %45 = icmp ne i32 %44, 0
  br i1 %45, label %46, label %96

46:                                               ; preds = %40
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #6
  %47 = load i32, ptr %3, align 4, !tbaa !5
  store i32 %47, ptr %6, align 4, !tbaa !5
  br label %48

48:                                               ; preds = %92, %46
  %49 = load i32, ptr %6, align 4, !tbaa !5
  %50 = load ptr, ptr %5, align 8, !tbaa !11
  %51 = getelementptr inbounds %struct.ImGuiContext, ptr %50, i32 0, i32 98
  %52 = getelementptr inbounds %struct.ImVector.12, ptr %51, i32 0, i32 0
  %53 = load i32, ptr %52, align 8, !tbaa !95
  %54 = icmp slt i32 %49, %53
  br i1 %54, label %56, label %55

55:                                               ; preds = %48
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #6
  br label %95

56:                                               ; preds = %48
  br label %57

57:                                               ; preds = %56
  %58 = load ptr, ptr %5, align 8, !tbaa !11
  %59 = getelementptr inbounds %struct.ImGuiContext, ptr %58, i32 0, i32 271
  %60 = load i32, ptr %59, align 4, !tbaa !13
  %61 = and i32 %60, 8
  %62 = icmp ne i32 %61, 0
  br i1 %62, label %63, label %89

63:                                               ; preds = %57
  %64 = load ptr, ptr %5, align 8, !tbaa !11
  %65 = getelementptr inbounds %struct.ImGuiContext, ptr %64, i32 0, i32 98
  %66 = load i32, ptr %6, align 4, !tbaa !5
  %67 = call noundef nonnull align 8 dereferenceable(52) ptr @_ZN8ImVectorI14ImGuiPopupDataEixEi(ptr noundef nonnull align 8 dereferenceable(16) %65, i32 noundef %66)
  %68 = getelementptr inbounds %struct.ImGuiPopupData, ptr %67, i32 0, i32 0
  %69 = load i32, ptr %68, align 8, !tbaa !96
  %70 = load ptr, ptr %5, align 8, !tbaa !11
  %71 = getelementptr inbounds %struct.ImGuiContext, ptr %70, i32 0, i32 98
  %72 = load i32, ptr %6, align 4, !tbaa !5
  %73 = call noundef nonnull align 8 dereferenceable(52) ptr @_ZN8ImVectorI14ImGuiPopupDataEixEi(ptr noundef nonnull align 8 dereferenceable(16) %71, i32 noundef %72)
  %74 = getelementptr inbounds %struct.ImGuiPopupData, ptr %73, i32 0, i32 2
  %75 = load ptr, ptr %74, align 8, !tbaa !98
  %76 = icmp ne ptr %75, null
  br i1 %76, label %77, label %86

77:                                               ; preds = %63
  %78 = load ptr, ptr %5, align 8, !tbaa !11
  %79 = getelementptr inbounds %struct.ImGuiContext, ptr %78, i32 0, i32 98
  %80 = load i32, ptr %6, align 4, !tbaa !5
  %81 = call noundef nonnull align 8 dereferenceable(52) ptr @_ZN8ImVectorI14ImGuiPopupDataEixEi(ptr noundef nonnull align 8 dereferenceable(16) %79, i32 noundef %80)
  %82 = getelementptr inbounds %struct.ImGuiPopupData, ptr %81, i32 0, i32 2
  %83 = load ptr, ptr %82, align 8, !tbaa !98
  %84 = getelementptr inbounds %struct.ImGuiWindow, ptr %83, i32 0, i32 1
  %85 = load ptr, ptr %84, align 8, !tbaa !99
  br label %87

86:                                               ; preds = %63
  br label %87

87:                                               ; preds = %86, %77
  %88 = phi ptr [ %85, %77 ], [ null, %86 ]
  call void (ptr, ...) @_ZN5ImGui8DebugLogEPKcz(ptr noundef @.str.303, i32 noundef %69, ptr noundef %88)
  br label %89

89:                                               ; preds = %87, %57
  br label %90

90:                                               ; preds = %89
  br label %91

91:                                               ; preds = %90
  br label %92

92:                                               ; preds = %91
  %93 = load i32, ptr %6, align 4, !tbaa !5
  %94 = add nsw i32 %93, 1
  store i32 %94, ptr %6, align 4, !tbaa !5
  br label %48, !llvm.loop !113

95:                                               ; preds = %55
  br label %96

96:                                               ; preds = %95, %40
  call void @llvm.lifetime.start.p0(i64 56, ptr %7) #6
  %97 = load ptr, ptr %5, align 8, !tbaa !11
  %98 = getelementptr inbounds %struct.ImGuiContext, ptr %97, i32 0, i32 98
  %99 = load i32, ptr %3, align 4, !tbaa !5
  %100 = call noundef nonnull align 8 dereferenceable(52) ptr @_ZN8ImVectorI14ImGuiPopupDataEixEi(ptr noundef nonnull align 8 dereferenceable(16) %98, i32 noundef %99)
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %7, ptr align 8 %100, i64 56, i1 false), !tbaa.struct !115
  %101 = load ptr, ptr %5, align 8, !tbaa !11
  %102 = getelementptr inbounds %struct.ImGuiContext, ptr %101, i32 0, i32 98
  %103 = load i32, ptr %3, align 4, !tbaa !5
  call void @_ZN8ImVectorI14ImGuiPopupDataE6resizeEi(ptr noundef nonnull align 8 dereferenceable(16) %102, i32 noundef %103)
  %104 = load i8, ptr %4, align 1, !tbaa !9, !range !93, !noundef !94
  %105 = trunc i8 %104 to i1
  br i1 %105, label %106, label %145

106:                                              ; preds = %96
  %107 = getelementptr inbounds %struct.ImGuiPopupData, ptr %7, i32 0, i32 2
  %108 = load ptr, ptr %107, align 8, !tbaa !98
  %109 = icmp ne ptr %108, null
  br i1 %109, label %110, label %145

110:                                              ; preds = %106
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #6
  %111 = getelementptr inbounds %struct.ImGuiPopupData, ptr %7, i32 0, i32 2
  %112 = load ptr, ptr %111, align 8, !tbaa !98
  store ptr %112, ptr %8, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #6
  %113 = load ptr, ptr %8, align 8, !tbaa !11
  %114 = getelementptr inbounds %struct.ImGuiWindow, ptr %113, i32 0, i32 3
  %115 = load i32, ptr %114, align 4, !tbaa !117
  %116 = and i32 %115, 268435456
  %117 = icmp ne i32 %116, 0
  br i1 %117, label %118, label %122

118:                                              ; preds = %110
  %119 = load ptr, ptr %8, align 8, !tbaa !11
  %120 = getelementptr inbounds %struct.ImGuiWindow, ptr %119, i32 0, i32 89
  %121 = load ptr, ptr %120, align 8, !tbaa !118
  br label %125

122:                                              ; preds = %110
  %123 = getelementptr inbounds %struct.ImGuiPopupData, ptr %7, i32 0, i32 3
  %124 = load ptr, ptr %123, align 8, !tbaa !119
  br label %125

125:                                              ; preds = %122, %118
  %126 = phi ptr [ %121, %118 ], [ %124, %122 ]
  store ptr %126, ptr %9, align 8, !tbaa !11
  %127 = load ptr, ptr %9, align 8, !tbaa !11
  %128 = icmp ne ptr %127, null
  br i1 %128, label %129, label %136

129:                                              ; preds = %125
  %130 = load ptr, ptr %9, align 8, !tbaa !11
  %131 = getelementptr inbounds %struct.ImGuiWindow, ptr %130, i32 0, i32 37
  %132 = load i8, ptr %131, align 1, !tbaa !120, !range !93, !noundef !94
  %133 = trunc i8 %132 to i1
  br i1 %133, label %136, label %134

134:                                              ; preds = %129
  %135 = load ptr, ptr %8, align 8, !tbaa !11
  call void @_ZN5ImGui26FocusTopMostWindowUnderOneEP11ImGuiWindowS1_P13ImGuiViewporti(ptr noundef %135, ptr noundef null, ptr noundef null, i32 noundef 1)
  br label %144

136:                                              ; preds = %129, %125
  %137 = load ptr, ptr %9, align 8, !tbaa !11
  %138 = load ptr, ptr %5, align 8, !tbaa !11
  %139 = getelementptr inbounds %struct.ImGuiContext, ptr %138, i32 0, i32 109
  %140 = load i32, ptr %139, align 4, !tbaa !121
  %141 = icmp eq i32 %140, 0
  %142 = zext i1 %141 to i64
  %143 = select i1 %141, i32 1, i32 0
  call void @_ZN5ImGui11FocusWindowEP11ImGuiWindowi(ptr noundef %137, i32 noundef %143)
  br label %144

144:                                              ; preds = %136, %134
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #6
  br label %145

145:                                              ; preds = %144, %106, %96
  call void @llvm.lifetime.end.p0(i64 56, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #6
  ret void
}

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

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

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


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

@GImGui = external dso_local local_unnamed_addr global ptr, align 8
@.str.3 = external hidden unnamed_addr constant [74 x i8], align 1
@.str.301 = external hidden unnamed_addr constant [49 x i8], align 1
@.str.302 = external hidden unnamed_addr constant [52 x i8], align 1
@__PRETTY_FUNCTION__._ZN5ImGui17ClosePopupToLevelEib = external hidden unnamed_addr constant [41 x i8], align 1
@.str.303 = external hidden unnamed_addr constant [46 x i8], align 1

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

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

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

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

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

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

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

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

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

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

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

15:                                               ; preds = %11
  %16 = load i32, ptr %4, align 4, !tbaa !9
  %17 = and i32 %16, 8
  %.not34 = icmp eq i32 %17, 0
  br i1 %.not34, label %.loopexit, label %.lr.ph

.lr.ph:                                           ; preds = %15, %35
  %18 = phi i32 [ %36, %35 ], [ %13, %15 ]
  %.039 = phi i32 [ %37, %35 ], [ %0, %15 ]
  %19 = load i32, ptr %4, align 4, !tbaa !9
  %20 = and i32 %19, 8
  %.not37 = icmp eq i32 %20, 0
  br i1 %.not37, label %35, label %21

21:                                               ; preds = %.lr.ph
  %22 = tail call noundef nonnull align 8 dereferenceable(52) ptr @_ZN8ImVectorI14ImGuiPopupDataEixEi(ptr noundef nonnull align 8 dereferenceable(16) %12, i32 noundef %.039)
  %23 = load i32, ptr %22, align 8, !tbaa !92
  %24 = tail call noundef nonnull align 8 dereferenceable(52) ptr @_ZN8ImVectorI14ImGuiPopupDataEixEi(ptr noundef nonnull align 8 dereferenceable(16) %12, i32 noundef %.039)
  %25 = getelementptr inbounds i8, ptr %24, i64 8
  %26 = load ptr, ptr %25, align 8, !tbaa !94
  %.not38 = icmp eq ptr %26, null
  br i1 %.not38, label %33, label %27

27:                                               ; preds = %21
  %28 = tail call noundef nonnull align 8 dereferenceable(52) ptr @_ZN8ImVectorI14ImGuiPopupDataEixEi(ptr noundef nonnull align 8 dereferenceable(16) %12, i32 noundef %.039)
  %29 = getelementptr inbounds i8, ptr %28, i64 8
  %30 = load ptr, ptr %29, align 8, !tbaa !94
  %31 = getelementptr inbounds i8, ptr %30, i64 8
  %32 = load ptr, ptr %31, align 8, !tbaa !95
  br label %33

33:                                               ; preds = %21, %27
  %34 = phi ptr [ %32, %27 ], [ null, %21 ]
  tail call void (ptr, ...) @_ZN5ImGui8DebugLogEPKcz(ptr noundef nonnull @.str.303, i32 noundef %23, ptr noundef %34)
  %.pre = load i32, ptr %12, align 8, !tbaa !91
  br label %35

35:                                               ; preds = %.lr.ph, %33
  %36 = phi i32 [ %18, %.lr.ph ], [ %.pre, %33 ]
  %37 = add nuw nsw i32 %.039, 1
  %38 = icmp slt i32 %37, %36
  br i1 %38, label %.lr.ph, label %.loopexit, !llvm.loop !109

.loopexit:                                        ; preds = %35, %15
  %39 = tail call noundef nonnull align 8 dereferenceable(52) ptr @_ZN8ImVectorI14ImGuiPopupDataEixEi(ptr noundef nonnull align 8 dereferenceable(16) %12, i32 noundef %0)
  %.sroa.3.0..sroa_idx = getelementptr inbounds i8, ptr %39, i64 8
  %.sroa.3.0.copyload = load ptr, ptr %.sroa.3.0..sroa_idx, align 8, !tbaa !5
  %.sroa.5.0..sroa_idx = getelementptr inbounds i8, ptr %39, i64 16
  %.sroa.5.0.copyload = load ptr, ptr %.sroa.5.0..sroa_idx, align 8, !tbaa !5
  tail call void @_ZN8ImVectorI14ImGuiPopupDataE6resizeEi(ptr noundef nonnull align 8 dereferenceable(16) %12, i32 noundef %0)
  %40 = icmp ne ptr %.sroa.3.0.copyload, null
  %or.cond = select i1 %1, i1 %40, i1 false
  br i1 %or.cond, label %41, label %60

41:                                               ; preds = %.loopexit
  %42 = getelementptr inbounds i8, ptr %.sroa.3.0.copyload, i64 20
  %43 = load i32, ptr %42, align 4, !tbaa !111
  %44 = and i32 %43, 268435456
  %.not35 = icmp eq i32 %44, 0
  br i1 %.not35, label %48, label %45

45:                                               ; preds = %41
  %46 = getelementptr inbounds i8, ptr %.sroa.3.0.copyload, i64 912
  %47 = load ptr, ptr %46, align 8, !tbaa !112
  br label %48

48:                                               ; preds = %41, %45
  %49 = phi ptr [ %47, %45 ], [ %.sroa.5.0.copyload, %41 ]
  %.not36 = icmp eq ptr %49, null
  br i1 %.not36, label %55, label %50

50:                                               ; preds = %48
  %51 = getelementptr inbounds i8, ptr %49, i64 203
  %52 = load i8, ptr %51, align 1, !tbaa !113, !range !114, !noundef !115
  %53 = trunc nuw i8 %52 to i1
  br i1 %53, label %55, label %54

54:                                               ; preds = %50
  tail call void @_ZN5ImGui26FocusTopMostWindowUnderOneEP11ImGuiWindowS1_P13ImGuiViewporti(ptr noundef nonnull %.sroa.3.0.copyload, ptr noundef null, ptr noundef null, i32 noundef 1)
  br label %60

55:                                               ; preds = %50, %48
  %56 = getelementptr inbounds i8, ptr %3, i64 7860
  %57 = load i32, ptr %56, align 4, !tbaa !116
  %58 = icmp eq i32 %57, 0
  %59 = zext i1 %58 to i32
  tail call void @_ZN5ImGui11FocusWindowEP11ImGuiWindowi(ptr noundef %49, i32 noundef %59)
  br label %60

60:                                               ; preds = %54, %55, %.loopexit
  ret void
}

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !13, i64 9908}
!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 7776}
!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 = !{!96, !6, i64 8}
!96 = !{!"_ZTS11ImGuiWindow", !6, i64 0, !6, i64 8, !13, i64 16, !13, i64 20, !13, i64 24, !6, i64 32, !14, i64 40, !14, i64 48, !14, i64 56, !14, i64 64, !14, i64 72, !14, i64 80, !14, i64 88, !15, i64 96, !15, i64 100, !15, i64 104, !15, i64 108, !15, i64 112, !15, i64 116, !15, i64 120, !15, i64 124, !15, i64 128, !15, i64 132, !13, i64 136, !13, i64 140, !13, i64 144, !13, i64 148, !14, i64 152, !14, i64 160, !14, i64 168, !14, i64 176, !14, i64 184, !14, i64 192, !11, i64 200, !11, i64 201, !11, i64 202, !11, i64 203, !11, i64 204, !11, i64 205, !11, i64 206, !11, i64 207, !11, i64 208, !11, i64 209, !11, i64 210, !11, i64 211, !11, i64 212, !11, i64 213, !7, i64 214, !7, i64 215, !17, i64 216, !17, i64 218, !17, i64 220, !17, i64 222, !17, i64 224, !7, i64 226, !7, i64 227, !11, i64 228, !21, i64 232, !7, i64 236, !7, i64 237, !7, i64 238, !7, i64 239, !13, i64 240, !13, i64 241, !13, i64 242, !14, i64 244, !14, i64 252, !76, i64 264, !97, i64 280, !40, i64 512, !40, i64 528, !40, i64 544, !40, i64 560, !40, i64 576, !40, i64 592, !40, i64 608, !100, i64 624, !100, i64 628, !13, i64 632, !15, i64 636, !15, i64 640, !29, i64 648, !101, i64 664, !15, i64 680, !13, i64 684, !6, i64 688, !102, i64 696, !6, i64 912, !6, i64 920, !6, i64 928, !6, i64 936, !6, i64 944, !6, i64 952, !6, i64 960, !6, i64 968, !7, i64 976, !7, i64 984, !7, i64 1016, !13, i64 1032, !13, i64 1036, !13, i64 1040, !11, i64 1044}
!97 = !{!"_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, !98, i64 68, !98, i64 72, !98, i64 76, !14, i64 80, !51, i64 88, !17, i64 92, !17, i64 94, !11, i64 96, !11, i64 97, !11, i64 98, !11, i64 99, !14, i64 100, !99, i64 108, !13, i64 136, !13, i64 140, !27, i64 144, !6, i64 160, !6, i64 168, !13, i64 176, !13, i64 180, !13, i64 184, !13, i64 188, !15, i64 192, !15, i64 196, !60, i64 200, !60, i64 216}
!98 = !{!"_ZTS6ImVec1", !15, i64 0}
!99 = !{!"_ZTS16ImGuiMenuColumns", !13, i64 0, !13, i64 4, !17, i64 8, !17, i64 10, !17, i64 12, !17, i64 14, !17, i64 16, !7, i64 18}
!100 = !{!"_ZTS8ImVec2ih", !17, i64 0, !17, i64 2}
!101 = !{!"_ZTS8ImVectorI15ImGuiOldColumnsE", !13, i64 0, !13, i64 4, !6, i64 8}
!102 = !{!"_ZTS10ImDrawList", !103, i64 0, !18, i64 16, !104, i64 32, !13, i64 48, !13, i64 52, !6, i64 56, !6, i64 64, !6, i64 72, !24, i64 80, !105, i64 96, !106, i64 128, !107, i64 152, !108, i64 168, !55, i64 184, !15, i64 200, !6, i64 208}
!103 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !13, i64 0, !13, i64 4, !6, i64 8}
!104 = !{!"_ZTS8ImVectorI10ImDrawVertE", !13, i64 0, !13, i64 4, !6, i64 8}
!105 = !{!"_ZTS15ImDrawCmdHeader", !23, i64 0, !38, i64 16, !13, i64 24}
!106 = !{!"_ZTS18ImDrawListSplitter", !13, i64 0, !13, i64 4, !61, i64 8}
!107 = !{!"_ZTS8ImVectorI6ImVec4E", !13, i64 0, !13, i64 4, !6, i64 8}
!108 = !{!"_ZTS8ImVectorIyE", !13, i64 0, !13, i64 4, !6, i64 8}
!109 = distinct !{!109, !110}
!110 = !{!"llvm.loop.mustprogress"}
!111 = !{!96, !13, i64 20}
!112 = !{!96, !6, i64 912}
!113 = !{!96, !11, i64 203}
!114 = !{i8 0, i8 2}
!115 = !{}
!116 = !{!10, !51, i64 7860}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SCCPPass,SROAPass,SimplifyCFGPass,TailCallElimPass