; LLVM IR from aap/librw :: skeleton/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, [6 x i8], %struct.ImGuiIO, %struct.ImGuiStyle, ptr, float, float, float, float, %struct.ImDrawListSharedData, double, i32, i32, i32, i8, 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, float, float, i8, i8, i8, i32, i32, float, i8, i8, i8, i8, i8, i8, i8, i8, %struct.ImVec2, ptr, i32, i32, i8, i8, ptr, i32, float, double, double, double, %struct.ImBitArray, [154 x %struct.ImGuiKeyOwnerData], %struct.ImGuiKeyRoutingTable, i32, i8, i32, i32, i32, i32, %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, ptr, i32, i32, i32, i32, i32, i32, i32, %struct.ImVector.9, i32, float, i32, i32, i32, i64, i8, i8, i8, i8, i8, i8, i8, %struct.ImGuiNavItemData, i8, i8, i8, i32, i32, i32, i32, i32, i32, %struct.ImRect, %struct.ImRect, i32, i32, i32, %struct.ImGuiNavItemData, %struct.ImGuiNavItemData, %struct.ImGuiNavItemData, %struct.ImGuiNavItemData, i32, i32, 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, i16, %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, [9 x ptr], i8, i32, ptr, %struct.ImGuiTextBuffer, ptr, ptr, float, i8, i32, i32, i32, i32, %struct.ImGuiTextBuffer, %struct.ImGuiTextIndex, i32, i8, i8, i8, i32, i8, i8, i8, i32, float, %struct.ImVec4, %struct.ImGuiMetricsConfig, %struct.ImGuiIDStackTool, %struct.ImGuiDebugAllocInfo, [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, [3 x i8], ptr, %struct.ImVec2, i8, i8, i8, i8, i8, i8, i8, i8, i8, [3 x i8], float, float, float, float, float, float, i8, i8, i8, i8, i8, [7 x i8], ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i16, i8, i8, i8, i8, i8, i8, i8, [3 x i8], float, i32, i32, i32, i32, %struct.ImVec2, ptr, %struct.ImVec2, [5 x i8], [3 x i8], float, float, i32, i8, i8, i8, i8, i32, [666 x %struct.ImGuiKeyData], i8, [3 x 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, i8, [5 x float], [5 x float], [5 x float], float, i8, i8, i8, i8, i16, [2 x i8], %struct.ImVector, [666 x i32], [666 x i8], [2 x i8], [16 x float], [4 x i8] }>
%struct.ImGuiKeyData = type { i8, float, float, float }
%struct.ImVector = type { i32, i32, ptr }
%struct.ImGuiStyle = type { float, float, %struct.ImVec2, float, float, %struct.ImVec2, %struct.ImVec2, i32, float, float, float, float, %struct.ImVec2, float, float, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, float, float, float, float, float, float, float, float, float, float, float, 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, float, float, float, float, %struct.ImVec4, i32, %struct.ImVector.0, [48 x %struct.ImVec2], float, [64 x i8], ptr }
%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.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, i32, i32, i32, %struct.ImVector, %struct.ImVector.28, %struct.ImVector.28, i8, i32, float, %"struct.ImStb::STB_TexteditState", float, i8, i8, i8, i32, i8, i32, i32 }
%"struct.ImStb::STB_TexteditState" = type { i32, i32, i32, i8, i32, i8, i8, i8, i8, i8, i8, i8, float, %"struct.ImStb::StbUndoState" }
%"struct.ImStb::StbUndoState" = type { [99 x %"struct.ImStb::StbUndoRecord"], [999 x i16], i16, i16, i32, i32 }
%"struct.ImStb::StbUndoRecord" = type { i32, i32, i32, i32 }
%struct.ImGuiInputTextDeactivatedState = type { i32, %struct.ImVector.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.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, float, ptr }
%struct.ImVector.38 = type { i32, i32, ptr }
%struct.ImVector.39 = type { i32, i32, ptr }
%struct.ImDrawCmdHeader = type <{ %struct.ImVec4, ptr, 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 [68 x i8], align 1
@.str.282 = external hidden unnamed_addr constant [49 x i8], align 1
@.str.283 = external hidden unnamed_addr constant [52 x i8], align 1
@__PRETTY_FUNCTION__._ZN5ImGui17ClosePopupToLevelEib = external hidden unnamed_addr constant [41 x i8], align 1

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

; Function Attrs: nocallback nofree 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 %struct.ImGuiPopupData, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  store i32 %0, ptr %3, align 4, !tbaa !5
  %9 = zext i1 %1 to i8
  store i8 %9, ptr %4, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #6
  %10 = load ptr, ptr @GImGui, align 8, !tbaa !11
  store ptr %10, ptr %5, align 8, !tbaa !11
  br label %11

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

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

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

23:                                               ; preds = %22
  br label %24

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

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

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

36:                                               ; preds = %34
  br label %39

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

38:                                               ; No predecessors!
  br label %39

39:                                               ; preds = %38, %36
  call void @llvm.lifetime.start.p0(i64 56, ptr %6) #6
  %40 = load ptr, ptr %5, align 8, !tbaa !11
  %41 = getelementptr inbounds %struct.ImGuiContext, ptr %40, i32 0, i32 97
  %42 = load i32, ptr %3, align 4, !tbaa !5
  %43 = call noundef nonnull align 8 dereferenceable(52) ptr @_ZN8ImVectorI14ImGuiPopupDataEixEi(ptr noundef nonnull align 8 dereferenceable(16) %41, i32 noundef %42)
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %6, ptr align 8 %43, i64 56, i1 false), !tbaa.struct !96
  %44 = load ptr, ptr %5, align 8, !tbaa !11
  %45 = getelementptr inbounds %struct.ImGuiContext, ptr %44, i32 0, i32 97
  %46 = load i32, ptr %3, align 4, !tbaa !5
  call void @_ZN8ImVectorI14ImGuiPopupDataE6resizeEi(ptr noundef nonnull align 8 dereferenceable(16) %45, i32 noundef %46)
  %47 = load i8, ptr %4, align 1, !tbaa !9, !range !93, !noundef !94
  %48 = trunc i8 %47 to i1
  br i1 %48, label %49, label %88

49:                                               ; preds = %39
  %50 = getelementptr inbounds %struct.ImGuiPopupData, ptr %6, i32 0, i32 2
  %51 = load ptr, ptr %50, align 8, !tbaa !98
  %52 = icmp ne ptr %51, null
  br i1 %52, label %53, label %88

53:                                               ; preds = %49
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #6
  %54 = getelementptr inbounds %struct.ImGuiPopupData, ptr %6, i32 0, i32 2
  %55 = load ptr, ptr %54, align 8, !tbaa !98
  store ptr %55, ptr %7, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #6
  %56 = load ptr, ptr %7, align 8, !tbaa !11
  %57 = getelementptr inbounds %struct.ImGuiWindow, ptr %56, i32 0, i32 3
  %58 = load i32, ptr %57, align 4, !tbaa !100
  %59 = and i32 %58, 268435456
  %60 = icmp ne i32 %59, 0
  br i1 %60, label %61, label %65

61:                                               ; preds = %53
  %62 = load ptr, ptr %7, align 8, !tbaa !11
  %63 = getelementptr inbounds %struct.ImGuiWindow, ptr %62, i32 0, i32 89
  %64 = load ptr, ptr %63, align 8, !tbaa !114
  br label %68

65:                                               ; preds = %53
  %66 = getelementptr inbounds %struct.ImGuiPopupData, ptr %6, i32 0, i32 3
  %67 = load ptr, ptr %66, align 8, !tbaa !115
  br label %68

68:                                               ; preds = %65, %61
  %69 = phi ptr [ %64, %61 ], [ %67, %65 ]
  store ptr %69, ptr %8, align 8, !tbaa !11
  %70 = load ptr, ptr %8, align 8, !tbaa !11
  %71 = icmp ne ptr %70, null
  br i1 %71, label %72, label %79

72:                                               ; preds = %68
  %73 = load ptr, ptr %8, align 8, !tbaa !11
  %74 = getelementptr inbounds %struct.ImGuiWindow, ptr %73, i32 0, i32 37
  %75 = load i8, ptr %74, align 1, !tbaa !116, !range !93, !noundef !94
  %76 = trunc i8 %75 to i1
  br i1 %76, label %79, label %77

77:                                               ; preds = %72
  %78 = load ptr, ptr %7, align 8, !tbaa !11
  call void @_ZN5ImGui26FocusTopMostWindowUnderOneEP11ImGuiWindowS1_P13ImGuiViewporti(ptr noundef %78, ptr noundef null, ptr noundef null, i32 noundef 1)
  br label %87

79:                                               ; preds = %72, %68
  %80 = load ptr, ptr %8, align 8, !tbaa !11
  %81 = load ptr, ptr %5, align 8, !tbaa !11
  %82 = getelementptr inbounds %struct.ImGuiContext, ptr %81, i32 0, i32 104
  %83 = load i32, ptr %82, align 8, !tbaa !117
  %84 = icmp eq i32 %83, 0
  %85 = zext i1 %84 to i64
  %86 = select i1 %84, i32 1, i32 0
  call void @_ZN5ImGui11FocusWindowEP11ImGuiWindowi(ptr noundef %80, i32 noundef %86)
  br label %87

87:                                               ; preds = %79, %77
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #6
  br label %88

88:                                               ; preds = %87, %49, %39
  call void @llvm.lifetime.end.p0(i64 56, ptr %6) #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 24956}
!14 = !{!"_ZTS12ImGuiContext", !10, i64 0, !10, i64 1, !15, i64 8, !21, i64 14592, !12, i64 15752, !17, i64 15760, !17, i64 15764, !17, i64 15768, !17, i64 15772, !23, i64 15776, !26, i64 16312, !6, i64 16320, !6, i64 16324, !6, i64 16328, !10, i64 16332, !10, i64 16333, !10, i64 16334, !10, i64 16335, !10, i64 16336, !12, i64 16344, !7, i64 16352, !27, i64 16368, !27, i64 16384, !19, i64 16400, !6, i64 16404, !28, i64 16408, !28, i64 16424, !28, i64 16440, !29, i64 16456, !30, i64 16472, !6, i64 16488, !16, i64 16492, !6, i64 16500, !12, i64 16504, !12, i64 16512, !12, i64 16520, !12, i64 16528, !12, i64 16536, !12, i64 16544, !16, i64 16552, !6, i64 16560, !6, i64 16564, !17, i64 16568, !16, i64 16572, !16, i64 16580, !6, i64 16588, !6, i64 16592, !6, i64 16596, !17, i64 16600, !17, i64 16604, !10, i64 16608, !10, i64 16609, !10, i64 16610, !6, i64 16612, !6, i64 16616, !17, i64 16620, !10, i64 16624, !10, i64 16625, !10, i64 16626, !10, i64 16627, !10, i64 16628, !10, i64 16629, !10, i64 16630, !6, i64 16631, !16, i64 16632, !12, i64 16640, !32, i64 16648, !6, i64 16652, !10, i64 16656, !10, i64 16657, !12, i64 16664, !6, i64 16672, !17, i64 16676, !26, i64 16680, !26, i64 16688, !26, i64 16696, !33, i64 16704, !7, i64 16724, !34, i64 18576, !6, i64 18920, !10, i64 18924, !6, i64 18928, !6, i64 18932, !6, i64 18936, !6, i64 18940, !36, i64 18944, !39, i64 19000, !41, i64 19080, !10, i64 19192, !6, i64 19196, !42, i64 19200, !43, i64 19216, !44, i64 19232, !45, i64 19248, !46, i64 19264, !47, i64 19280, !48, i64 19296, !48, i64 19312, !49, i64 19328, !50, i64 19344, !12, i64 19360, !6, i64 19368, !6, i64 19372, !51, i64 19376, !6, i64 19380, !6, i64 19384, !6, i64 19388, !6, i64 19392, !45, i64 19400, !6, i64 19416, !17, i64 19420, !6, i64 19424, !6, i64 19428, !32, i64 19432, !37, i64 19440, !10, i64 19448, !10, i64 19449, !10, i64 19450, !10, i64 19451, !10, i64 19452, !10, i64 19453, !10, i64 19454, !52, i64 19456, !10, i64 19512, !10, i64 19513, !10, i64 19514, !6, i64 19516, !6, i64 19520, !6, i64 19524, !22, i64 19528, !22, i64 19532, !22, i64 19536, !40, i64 19540, !40, i64 19556, !6, i64 19572, !6, i64 19576, !6, i64 19580, !52, i64 19584, !52, i64 19640, !52, i64 19696, !52, i64 19752, !6, i64 19808, !6, i64 19812, !6, i64 19816, !6, i64 19820, !10, i64 19824, !10, i64 19825, !6, i64 19828, !6, i64 19832, !12, i64 19840, !12, i64 19848, !12, i64 19856, !17, i64 19864, !17, i64 19868, !10, i64 19872, !53, i64 19876, !16, i64 19880, !16, i64 19888, !17, i64 19896, !10, i64 19900, !10, i64 19901, !10, i64 19902, !6, i64 19904, !6, i64 19908, !6, i64 19912, !54, i64 19920, !40, i64 19984, !40, i64 20000, !6, i64 20016, !6, i64 20020, !17, i64 20024, !6, i64 20028, !6, i64 20032, !6, i64 20036, !6, i64 20040, !55, i64 20048, !7, i64 20064, !6, i64 20080, !56, i64 20088, !12, i64 20104, !6, i64 20112, !6, i64 20116, !57, i64 20120, !58, i64 20136, !60, i64 20176, !61, i64 20192, !12, i64 20208, !62, i64 20216, !64, i64 20256, !65, i64 20272, !66, i64 20288, !12, i64 20392, !6, i64 20400, !67, i64 20408, !68, i64 20424, !6, i64 20464, !6, i64 20468, !17, i64 20472, !17, i64 20476, !6, i64 20480, !6, i64 20484, !6, i64 20488, !17, i64 20492, !16, i64 20496, !70, i64 20504, !74, i64 24240, !75, i64 24264, !6, i64 24384, !38, i64 24388, !6, i64 24396, !6, i64 24400, !6, i64 24404, !6, i64 24408, !6, i64 24412, !17, i64 24416, !17, i64 24420, !6, i64 24424, !24, i64 24428, !77, i64 24444, !40, i64 24492, !10, i64 24508, !18, i64 24510, !17, i64 24512, !17, i64 24516, !17, i64 24520, !10, i64 24524, !10, i64 24525, !17, i64 24528, !17, i64 24532, !17, i64 24536, !18, i64 24540, !18, i64 24542, !18, i64 24544, !71, i64 24552, !78, i64 24568, !79, i64 24584, !81, i64 24688, !81, i64 24704, !10, i64 24720, !17, i64 24724, !82, i64 24728, !83, i64 24744, !84, i64 24760, !85, i64 24776, !86, i64 24792, !6, i64 24808, !7, i64 24816, !10, i64 24888, !87, i64 24892, !12, i64 24896, !82, i64 24904, !12, i64 24920, !12, i64 24928, !17, i64 24936, !10, i64 24940, !6, i64 24944, !6, i64 24948, !6, i64 24952, !6, i64 24956, !82, i64 24960, !88, i64 24976, !6, i64 25000, !7, i64 25004, !7, i64 25005, !10, i64 25006, !6, i64 25008, !7, i64 25012, !10, i64 25013, !7, i64 25014, !6, i64 25016, !17, i64 25020, !24, i64 25024, !89, i64 25040, !90, i64 25072, !92, i64 25112, !7, i64 25172, !6, i64 25412, !6, i64 25416, !17, i64 25420, !6, i64 25424, !6, i64 25428, !6, i64 25432, !71, i64 25440, !7, i64 25456}
!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, !17, i64 92, !17, i64 96, !17, i64 100, !17, i64 104, !17, i64 108, !17, i64 112, !10, i64 116, !10, i64 117, !10, i64 118, !10, i64 119, !10, i64 120, !12, i64 128, !12, i64 136, !12, i64 144, !12, i64 152, !12, i64 160, !12, i64 168, !12, i64 176, !12, i64 184, !12, i64 192, !12, i64 200, !12, i64 208, !18, i64 216, !10, i64 218, !10, i64 219, !10, i64 220, !10, i64 221, !10, i64 222, !10, i64 223, !10, i64 224, !17, i64 228, !6, i64 232, !6, i64 236, !6, i64 240, !6, i64 244, !16, i64 248, !12, i64 256, !16, i64 264, !7, i64 272, !17, i64 280, !17, i64 284, !19, i64 288, !10, i64 292, !10, i64 293, !10, i64 294, !10, i64 295, !6, i64 296, !7, i64 300, !10, i64 10956, !16, i64 10960, !7, i64 10968, !7, i64 11008, !7, i64 11048, !7, i64 11053, !7, i64 11058, !7, i64 11068, !7, i64 11078, !7, i64 11083, !7, i64 11088, !10, i64 11093, !10, i64 11094, !7, i64 11096, !7, i64 11116, !7, i64 11136, !17, i64 11156, !10, i64 11160, !10, i64 11161, !7, i64 11162, !10, i64 11163, !18, i64 11164, !20, i64 11168, !7, i64 11184, !7, i64 13848, !7, i64 14516}
!16 = !{!"_ZTS6ImVec2", !17, i64 0, !17, i64 4}
!17 = !{!"float", !7, i64 0}
!18 = !{!"short", !7, i64 0}
!19 = !{!"_ZTS16ImGuiMouseSource", !7, i64 0}
!20 = !{!"_ZTS8ImVectorItE", !6, i64 0, !6, i64 4, !12, i64 8}
!21 = !{!"_ZTS10ImGuiStyle", !17, i64 0, !17, i64 4, !16, i64 8, !17, i64 16, !17, i64 20, !16, i64 24, !16, i64 32, !22, 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, !22, 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}
!22 = !{!"_ZTS8ImGuiDir", !7, i64 0}
!23 = !{!"_ZTS20ImDrawListSharedData", !16, i64 0, !12, i64 8, !17, i64 16, !17, i64 20, !17, i64 24, !17, i64 28, !24, i64 32, !6, i64 48, !25, i64 56, !7, i64 72, !17, i64 456, !7, i64 460, !12, i64 528}
!24 = !{!"_ZTS6ImVec4", !17, i64 0, !17, i64 4, !17, i64 8, !17, i64 12}
!25 = !{!"_ZTS8ImVectorI6ImVec2E", !6, i64 0, !6, i64 4, !12, i64 8}
!26 = !{!"double", !7, i64 0}
!27 = !{!"_ZTS8ImVectorI15ImGuiInputEventE", !6, i64 0, !6, i64 4, !12, i64 8}
!28 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !6, i64 0, !6, i64 4, !12, i64 8}
!29 = !{!"_ZTS8ImVectorI20ImGuiWindowStackDataE", !6, i64 0, !6, i64 4, !12, i64 8}
!30 = !{!"_ZTS12ImGuiStorage", !31, i64 0}
!31 = !{!"_ZTS8ImVectorI16ImGuiStoragePairE", !6, i64 0, !6, i64 4, !12, i64 8}
!32 = !{!"_ZTS16ImGuiInputSource", !7, i64 0}
!33 = !{!"_ZTS10ImBitArrayILi154ELin512EE", !7, i64 0}
!34 = !{!"_ZTS20ImGuiKeyRoutingTable", !7, i64 0, !35, i64 312, !35, i64 328}
!35 = !{!"_ZTS8ImVectorI19ImGuiKeyRoutingDataE", !6, i64 0, !6, i64 4, !12, i64 8}
!36 = !{!"_ZTS17ImGuiNextItemData", !6, i64 0, !6, i64 4, !6, i64 8, !37, i64 16, !17, i64 24, !6, i64 28, !6, i64 32, !10, i64 36, !7, i64 37, !38, i64 38, !6, i64 48}
!37 = !{!"long long", !7, i64 0}
!38 = !{!"_ZTS20ImGuiDataTypeStorage", !7, i64 0}
!39 = !{!"_ZTS17ImGuiLastItemData", !6, i64 0, !6, i64 4, !6, i64 8, !40, i64 12, !40, i64 28, !40, i64 44, !40, i64 60, !6, i64 76}
!40 = !{!"_ZTS6ImRect", !16, i64 0, !16, i64 8}
!41 = !{!"_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, !40, i64 64, !12, i64 80, !12, i64 88, !17, i64 96, !16, i64 100, !6, i64 108}
!42 = !{!"_ZTS8ImVectorI13ImGuiColorModE", !6, i64 0, !6, i64 4, !12, i64 8}
!43 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !6, i64 0, !6, i64 4, !12, i64 8}
!44 = !{!"_ZTS8ImVectorIP6ImFontE", !6, i64 0, !6, i64 4, !12, i64 8}
!45 = !{!"_ZTS8ImVectorI19ImGuiFocusScopeDataE", !6, i64 0, !6, i64 4, !12, i64 8}
!46 = !{!"_ZTS8ImVectorIiE", !6, i64 0, !6, i64 4, !12, i64 8}
!47 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !6, i64 0, !6, i64 4, !12, i64 8}
!48 = !{!"_ZTS8ImVectorI14ImGuiPopupDataE", !6, i64 0, !6, i64 4, !12, i64 8}
!49 = !{!"_ZTS8ImVectorI22ImGuiTreeNodeStackDataE", !6, i64 0, !6, i64 4, !12, i64 8}
!50 = !{!"_ZTS8ImVectorIP14ImGuiViewportPE", !6, i64 0, !6, i64 4, !12, i64 8}
!51 = !{!"_ZTS13ImGuiNavLayer", !7, i64 0}
!52 = !{!"_ZTS16ImGuiNavItemData", !12, i64 0, !6, i64 8, !6, i64 12, !40, i64 16, !6, i64 32, !17, i64 36, !17, i64 40, !17, i64 44, !37, i64 48}
!53 = !{!"_ZTS8ImGuiKey", !7, i64 0}
!54 = !{!"_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}
!55 = !{!"_ZTS8ImVectorIhE", !6, i64 0, !6, i64 4, !12, i64 8}
!56 = !{!"_ZTS8ImVectorI20ImGuiListClipperDataE", !6, i64 0, !6, i64 4, !12, i64 8}
!57 = !{!"_ZTS8ImVectorI18ImGuiTableTempDataE", !6, i64 0, !6, i64 4, !12, i64 8}
!58 = !{!"_ZTS6ImPoolI10ImGuiTableE", !59, i64 0, !30, i64 16, !6, i64 32, !6, i64 36}
!59 = !{!"_ZTS8ImVectorI10ImGuiTableE", !6, i64 0, !6, i64 4, !12, i64 8}
!60 = !{!"_ZTS8ImVectorIfE", !6, i64 0, !6, i64 4, !12, i64 8}
!61 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !6, i64 0, !6, i64 4, !12, i64 8}
!62 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !63, i64 0, !30, i64 16, !6, i64 32, !6, i64 36}
!63 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !6, i64 0, !6, i64 4, !12, i64 8}
!64 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !6, i64 0, !6, i64 4, !12, i64 8}
!65 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !6, i64 0, !6, i64 4, !12, i64 8}
!66 = !{!"_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, !40, i64 52, !40, i64 68, !40, i64 84}
!67 = !{!"_ZTS8ImVectorI24ImGuiMultiSelectTempDataE", !6, i64 0, !6, i64 4, !12, i64 8}
!68 = !{!"_ZTS6ImPoolI21ImGuiMultiSelectStateE", !69, i64 0, !30, i64 16, !6, i64 32, !6, i64 36}
!69 = !{!"_ZTS8ImVectorI21ImGuiMultiSelectStateE", !6, i64 0, !6, i64 4, !12, i64 8}
!70 = !{!"_ZTS19ImGuiInputTextState", !12, i64 0, !6, i64 8, !6, i64 12, !6, i64 16, !20, i64 24, !71, i64 40, !71, i64 56, !10, i64 72, !6, i64 76, !17, i64 80, !72, i64 84, !17, i64 3712, !10, i64 3716, !10, i64 3717, !10, i64 3718, !6, i64 3720, !10, i64 3724, !6, i64 3728, !6, i64 3732}
!71 = !{!"_ZTS8ImVectorIcE", !6, i64 0, !6, i64 4, !12, i64 8}
!72 = !{!"_ZTSN5ImStb17STB_TexteditStateE", !6, i64 0, !6, i64 4, !6, i64 8, !7, i64 12, !6, i64 16, !7, i64 20, !7, i64 21, !7, i64 22, !7, i64 23, !7, i64 24, !7, i64 25, !7, i64 26, !17, i64 28, !73, i64 32}
!73 = !{!"_ZTSN5ImStb12StbUndoStateE", !7, i64 0, !7, i64 1584, !18, i64 3582, !18, i64 3584, !6, i64 3588, !6, i64 3592}
!74 = !{!"_ZTS30ImGuiInputTextDeactivatedState", !6, i64 0, !71, i64 8}
!75 = !{!"_ZTS6ImFont", !60, i64 0, !17, i64 16, !17, i64 20, !20, i64 24, !76, i64 40, !12, i64 56, !12, i64 64, !12, i64 72, !18, i64 80, !18, i64 82, !18, i64 84, !18, i64 86, !17, i64 88, !17, i64 92, !10, i64 96, !17, i64 100, !17, i64 104, !17, i64 108, !6, i64 112, !7, i64 116}
!76 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !6, i64 0, !6, i64 4, !12, i64 8}
!77 = !{!"_ZTS21ImGuiComboPreviewData", !40, 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", !71, i64 0}
!83 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !6, i64 0, !6, i64 4, !12, i64 8}
!84 = !{!"_ZTS13ImChunkStreamI19ImGuiWindowSettingsE", !71, i64 0}
!85 = !{!"_ZTS13ImChunkStreamI18ImGuiTableSettingsE", !71, i64 0}
!86 = !{!"_ZTS8ImVectorI16ImGuiContextHookE", !6, i64 0, !6, i64 4, !12, i64 8}
!87 = !{!"_ZTS12ImGuiLogType", !7, i64 0}
!88 = !{!"_ZTS14ImGuiTextIndex", !46, 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, !18, i64 8, !7, i64 12}
!93 = !{i8 0, i8 2}
!94 = !{}
!95 = !{!14, !6, i64 19296}
!96 = !{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, !97, i64 40, i64 4, !97, i64 44, i64 4, !97, i64 48, i64 4, !97}
!97 = !{!17, !17, i64 0}
!98 = !{!99, !12, i64 8}
!99 = !{!"_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}
!100 = !{!101, !6, i64 20}
!101 = !{!"_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, !18, i64 216, !18, i64 218, !18, i64 220, !18, i64 222, !18, i64 224, !7, i64 226, !7, i64 227, !10, i64 228, !22, 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, !102, i64 280, !40, i64 512, !40, i64 528, !40, i64 544, !40, i64 560, !40, i64 576, !40, i64 592, !40, i64 608, !105, i64 624, !105, i64 628, !6, i64 632, !17, i64 636, !17, i64 640, !30, i64 648, !106, i64 664, !17, i64 680, !6, i64 684, !12, i64 688, !107, i64 696, !12, i64 896, !12, i64 904, !12, i64 912, !12, i64 920, !12, i64 928, !12, i64 936, !12, i64 944, !12, i64 952, !7, i64 960, !7, i64 968, !7, i64 1000, !6, i64 1016, !6, i64 1020, !6, i64 1024, !10, i64 1028}
!102 = !{!"_ZTS19ImGuiWindowTempData", !16, i64 0, !16, i64 8, !16, i64 16, !16, i64 24, !16, i64 32, !16, i64 40, !16, i64 48, !17, i64 56, !17, i64 60, !10, i64 64, !10, i64 65, !103, i64 68, !103, i64 72, !103, i64 76, !16, i64 80, !51, i64 88, !18, i64 92, !18, i64 94, !10, i64 96, !10, i64 97, !10, i64 98, !10, i64 99, !16, i64 100, !104, i64 108, !6, i64 136, !6, i64 140, !28, 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, !60, i64 200, !60, i64 216}
!103 = !{!"_ZTS6ImVec1", !17, i64 0}
!104 = !{!"_ZTS16ImGuiMenuColumns", !6, i64 0, !6, i64 4, !18, i64 8, !18, i64 10, !18, i64 12, !18, i64 14, !18, i64 16, !7, i64 18}
!105 = !{!"_ZTS8ImVec2ih", !18, i64 0, !18, i64 2}
!106 = !{!"_ZTS8ImVectorI15ImGuiOldColumnsE", !6, i64 0, !6, i64 4, !12, i64 8}
!107 = !{!"_ZTS10ImDrawList", !108, i64 0, !20, i64 16, !109, i64 32, !6, i64 48, !6, i64 52, !12, i64 56, !12, i64 64, !12, i64 72, !25, i64 80, !110, i64 96, !111, i64 128, !112, i64 152, !113, i64 168, !17, i64 184, !12, i64 192}
!108 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !6, i64 0, !6, i64 4, !12, i64 8}
!109 = !{!"_ZTS8ImVectorI10ImDrawVertE", !6, i64 0, !6, i64 4, !12, i64 8}
!110 = !{!"_ZTS15ImDrawCmdHeader", !24, i64 0, !12, i64 16, !6, i64 24}
!111 = !{!"_ZTS18ImDrawListSplitter", !6, i64 0, !6, i64 4, !61, i64 8}
!112 = !{!"_ZTS8ImVectorI6ImVec4E", !6, i64 0, !6, i64 4, !12, i64 8}
!113 = !{!"_ZTS8ImVectorIPvE", !6, i64 0, !6, i64 4, !12, i64 8}
!114 = !{!101, !12, i64 896}
!115 = !{!99, !12, i64 16}
!116 = !{!101, !10, i64 203}
!117 = !{!14, !51, i64 19376}


; 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 [68 x i8], align 1
@.str.282 = external hidden unnamed_addr constant [49 x i8], align 1
@.str.283 = external hidden unnamed_addr constant [52 x i8], align 1
@__PRETTY_FUNCTION__._ZN5ImGui17ClosePopupToLevelEib = external hidden unnamed_addr constant [41 x i8], align 1

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN5ImGui17ClosePopupToLevelEib(i32 noundef %0, i1 noundef zeroext %1) local_unnamed_addr #1 {
  %3 = load ptr, ptr @GImGui, align 8, !tbaa !5
  %4 = getelementptr inbounds i8, ptr %3, i64 24956
  %5 = load i32, ptr %4, align 4, !tbaa !9
  %6 = and i32 %5, 4
  %.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.282, 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 19296
  %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.283, ptr noundef nonnull @.str.3, i32 noundef 11270, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5ImGui17ClosePopupToLevelEib) #4
  unreachable

15:                                               ; preds = %11
  %16 = tail call noundef nonnull align 8 dereferenceable(52) ptr @_ZN8ImVectorI14ImGuiPopupDataEixEi(ptr noundef nonnull align 8 dereferenceable(16) %12, i32 noundef %0)
  %.sroa.3.0..sroa_idx = getelementptr inbounds i8, ptr %16, 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 %16, 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)
  %17 = icmp ne ptr %.sroa.3.0.copyload, null
  %or.cond = select i1 %1, i1 %17, i1 false
  br i1 %or.cond, label %18, label %37

18:                                               ; preds = %15
  %19 = getelementptr inbounds i8, ptr %.sroa.3.0.copyload, i64 20
  %20 = load i32, ptr %19, align 4, !tbaa !92
  %21 = and i32 %20, 268435456
  %.not21 = icmp eq i32 %21, 0
  br i1 %.not21, label %25, label %22

22:                                               ; preds = %18
  %23 = getelementptr inbounds i8, ptr %.sroa.3.0.copyload, i64 896
  %24 = load ptr, ptr %23, align 8, !tbaa !106
  br label %25

25:                                               ; preds = %18, %22
  %26 = phi ptr [ %24, %22 ], [ %.sroa.5.0.copyload, %18 ]
  %.not22 = icmp eq ptr %26, null
  br i1 %.not22, label %32, label %27

27:                                               ; preds = %25
  %28 = getelementptr inbounds i8, ptr %26, i64 203
  %29 = load i8, ptr %28, align 1, !tbaa !107, !range !108, !noundef !109
  %30 = trunc nuw i8 %29 to i1
  br i1 %30, label %32, label %31

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

32:                                               ; preds = %27, %25
  %33 = getelementptr inbounds i8, ptr %3, i64 19376
  %34 = load i32, ptr %33, align 8, !tbaa !110
  %35 = icmp eq i32 %34, 0
  %36 = zext i1 %35 to i32
  tail call void @_ZN5ImGui11FocusWindowEP11ImGuiWindowi(ptr noundef %26, i32 noundef %36)
  br label %37

37:                                               ; preds = %31, %32, %15
  ret void
}

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !13, i64 24956}
!10 = !{!"_ZTS12ImGuiContext", !11, i64 0, !11, i64 1, !12, i64 8, !19, i64 14592, !6, i64 15752, !15, i64 15760, !15, i64 15764, !15, i64 15768, !15, i64 15772, !21, i64 15776, !24, i64 16312, !13, i64 16320, !13, i64 16324, !13, i64 16328, !11, i64 16332, !11, i64 16333, !11, i64 16334, !11, i64 16335, !11, i64 16336, !6, i64 16344, !7, i64 16352, !25, i64 16368, !25, i64 16384, !17, i64 16400, !13, i64 16404, !26, i64 16408, !26, i64 16424, !26, i64 16440, !27, i64 16456, !28, i64 16472, !13, i64 16488, !14, i64 16492, !13, i64 16500, !6, i64 16504, !6, i64 16512, !6, i64 16520, !6, i64 16528, !6, i64 16536, !6, i64 16544, !14, i64 16552, !13, i64 16560, !13, i64 16564, !15, i64 16568, !14, i64 16572, !14, i64 16580, !13, i64 16588, !13, i64 16592, !13, i64 16596, !15, i64 16600, !15, i64 16604, !11, i64 16608, !11, i64 16609, !11, i64 16610, !13, i64 16612, !13, i64 16616, !15, i64 16620, !11, i64 16624, !11, i64 16625, !11, i64 16626, !11, i64 16627, !11, i64 16628, !11, i64 16629, !11, i64 16630, !13, i64 16631, !14, i64 16632, !6, i64 16640, !30, i64 16648, !13, i64 16652, !11, i64 16656, !11, i64 16657, !6, i64 16664, !13, i64 16672, !15, i64 16676, !24, i64 16680, !24, i64 16688, !24, i64 16696, !31, i64 16704, !7, i64 16724, !32, i64 18576, !13, i64 18920, !11, i64 18924, !13, i64 18928, !13, i64 18932, !13, i64 18936, !13, i64 18940, !34, i64 18944, !37, i64 19000, !39, i64 19080, !11, i64 19192, !13, i64 19196, !40, i64 19200, !41, i64 19216, !42, i64 19232, !43, i64 19248, !44, i64 19264, !45, i64 19280, !46, i64 19296, !46, i64 19312, !47, i64 19328, !48, i64 19344, !6, i64 19360, !13, i64 19368, !13, i64 19372, !49, i64 19376, !13, i64 19380, !13, i64 19384, !13, i64 19388, !13, i64 19392, !43, i64 19400, !13, i64 19416, !15, i64 19420, !13, i64 19424, !13, i64 19428, !30, i64 19432, !35, i64 19440, !11, i64 19448, !11, i64 19449, !11, i64 19450, !11, i64 19451, !11, i64 19452, !11, i64 19453, !11, i64 19454, !50, i64 19456, !11, i64 19512, !11, i64 19513, !11, i64 19514, !13, i64 19516, !13, i64 19520, !13, i64 19524, !20, i64 19528, !20, i64 19532, !20, i64 19536, !38, i64 19540, !38, i64 19556, !13, i64 19572, !13, i64 19576, !13, i64 19580, !50, i64 19584, !50, i64 19640, !50, i64 19696, !50, i64 19752, !13, i64 19808, !13, i64 19812, !13, i64 19816, !13, i64 19820, !11, i64 19824, !11, i64 19825, !13, i64 19828, !13, i64 19832, !6, i64 19840, !6, i64 19848, !6, i64 19856, !15, i64 19864, !15, i64 19868, !11, i64 19872, !51, i64 19876, !14, i64 19880, !14, i64 19888, !15, i64 19896, !11, i64 19900, !11, i64 19901, !11, i64 19902, !13, i64 19904, !13, i64 19908, !13, i64 19912, !52, i64 19920, !38, i64 19984, !38, i64 20000, !13, i64 20016, !13, i64 20020, !15, i64 20024, !13, i64 20028, !13, i64 20032, !13, i64 20036, !13, i64 20040, !53, i64 20048, !7, i64 20064, !13, i64 20080, !54, i64 20088, !6, i64 20104, !13, i64 20112, !13, i64 20116, !55, i64 20120, !56, i64 20136, !58, i64 20176, !59, i64 20192, !6, i64 20208, !60, i64 20216, !62, i64 20256, !63, i64 20272, !64, i64 20288, !6, i64 20392, !13, i64 20400, !65, i64 20408, !66, i64 20424, !13, i64 20464, !13, i64 20468, !15, i64 20472, !15, i64 20476, !13, i64 20480, !13, i64 20484, !13, i64 20488, !15, i64 20492, !14, i64 20496, !68, i64 20504, !72, i64 24240, !73, i64 24264, !13, i64 24384, !36, i64 24388, !13, i64 24396, !13, i64 24400, !13, i64 24404, !13, i64 24408, !13, i64 24412, !15, i64 24416, !15, i64 24420, !13, i64 24424, !22, i64 24428, !75, i64 24444, !38, i64 24492, !11, i64 24508, !16, i64 24510, !15, i64 24512, !15, i64 24516, !15, i64 24520, !11, i64 24524, !11, i64 24525, !15, i64 24528, !15, i64 24532, !15, i64 24536, !16, i64 24540, !16, i64 24542, !16, i64 24544, !69, i64 24552, !76, i64 24568, !77, i64 24584, !79, i64 24688, !79, i64 24704, !11, i64 24720, !15, i64 24724, !80, i64 24728, !81, i64 24744, !82, i64 24760, !83, i64 24776, !84, i64 24792, !13, i64 24808, !7, i64 24816, !11, i64 24888, !85, i64 24892, !6, i64 24896, !80, i64 24904, !6, i64 24920, !6, i64 24928, !15, i64 24936, !11, i64 24940, !13, i64 24944, !13, i64 24948, !13, i64 24952, !13, i64 24956, !80, i64 24960, !86, i64 24976, !13, i64 25000, !7, i64 25004, !7, i64 25005, !11, i64 25006, !13, i64 25008, !7, i64 25012, !11, i64 25013, !7, i64 25014, !13, i64 25016, !15, i64 25020, !22, i64 25024, !87, i64 25040, !88, i64 25072, !90, i64 25112, !7, i64 25172, !13, i64 25412, !13, i64 25416, !15, i64 25420, !13, i64 25424, !13, i64 25428, !13, i64 25432, !69, i64 25440, !7, i64 25456}
!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, !15, i64 92, !15, i64 96, !15, i64 100, !15, i64 104, !15, i64 108, !15, i64 112, !11, i64 116, !11, i64 117, !11, i64 118, !11, i64 119, !11, i64 120, !6, i64 128, !6, i64 136, !6, i64 144, !6, i64 152, !6, i64 160, !6, i64 168, !6, i64 176, !6, i64 184, !6, i64 192, !6, i64 200, !6, i64 208, !16, i64 216, !11, i64 218, !11, i64 219, !11, i64 220, !11, i64 221, !11, i64 222, !11, i64 223, !11, i64 224, !15, i64 228, !13, i64 232, !13, i64 236, !13, i64 240, !13, i64 244, !14, i64 248, !6, i64 256, !14, i64 264, !7, i64 272, !15, i64 280, !15, i64 284, !17, i64 288, !11, i64 292, !11, i64 293, !11, i64 294, !11, i64 295, !13, i64 296, !7, i64 300, !11, i64 10956, !14, i64 10960, !7, i64 10968, !7, i64 11008, !7, i64 11048, !7, i64 11053, !7, i64 11058, !7, i64 11068, !7, i64 11078, !7, i64 11083, !7, i64 11088, !11, i64 11093, !11, i64 11094, !7, i64 11096, !7, i64 11116, !7, i64 11136, !15, i64 11156, !11, i64 11160, !11, i64 11161, !7, i64 11162, !11, i64 11163, !16, i64 11164, !18, i64 11168, !7, i64 11184, !7, i64 13848, !7, i64 14516}
!13 = !{!"int", !7, i64 0}
!14 = !{!"_ZTS6ImVec2", !15, i64 0, !15, i64 4}
!15 = !{!"float", !7, i64 0}
!16 = !{!"short", !7, i64 0}
!17 = !{!"_ZTS16ImGuiMouseSource", !7, i64 0}
!18 = !{!"_ZTS8ImVectorItE", !13, i64 0, !13, i64 4, !6, i64 8}
!19 = !{!"_ZTS10ImGuiStyle", !15, i64 0, !15, i64 4, !14, i64 8, !15, i64 16, !15, i64 20, !14, i64 24, !14, i64 32, !20, 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, !20, 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}
!20 = !{!"_ZTS8ImGuiDir", !7, i64 0}
!21 = !{!"_ZTS20ImDrawListSharedData", !14, i64 0, !6, i64 8, !15, i64 16, !15, i64 20, !15, i64 24, !15, i64 28, !22, i64 32, !13, i64 48, !23, i64 56, !7, i64 72, !15, i64 456, !7, i64 460, !6, i64 528}
!22 = !{!"_ZTS6ImVec4", !15, i64 0, !15, i64 4, !15, i64 8, !15, i64 12}
!23 = !{!"_ZTS8ImVectorI6ImVec2E", !13, i64 0, !13, i64 4, !6, i64 8}
!24 = !{!"double", !7, i64 0}
!25 = !{!"_ZTS8ImVectorI15ImGuiInputEventE", !13, i64 0, !13, i64 4, !6, i64 8}
!26 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !13, i64 0, !13, i64 4, !6, i64 8}
!27 = !{!"_ZTS8ImVectorI20ImGuiWindowStackDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!28 = !{!"_ZTS12ImGuiStorage", !29, i64 0}
!29 = !{!"_ZTS8ImVectorI16ImGuiStoragePairE", !13, i64 0, !13, i64 4, !6, i64 8}
!30 = !{!"_ZTS16ImGuiInputSource", !7, i64 0}
!31 = !{!"_ZTS10ImBitArrayILi154ELin512EE", !7, i64 0}
!32 = !{!"_ZTS20ImGuiKeyRoutingTable", !7, i64 0, !33, i64 312, !33, i64 328}
!33 = !{!"_ZTS8ImVectorI19ImGuiKeyRoutingDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!34 = !{!"_ZTS17ImGuiNextItemData", !13, i64 0, !13, i64 4, !13, i64 8, !35, i64 16, !15, i64 24, !13, i64 28, !13, i64 32, !11, i64 36, !7, i64 37, !36, i64 38, !13, i64 48}
!35 = !{!"long long", !7, i64 0}
!36 = !{!"_ZTS20ImGuiDataTypeStorage", !7, i64 0}
!37 = !{!"_ZTS17ImGuiLastItemData", !13, i64 0, !13, i64 4, !13, i64 8, !38, i64 12, !38, i64 28, !38, i64 44, !38, i64 60, !13, i64 76}
!38 = !{!"_ZTS6ImRect", !14, i64 0, !14, i64 8}
!39 = !{!"_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, !38, i64 64, !6, i64 80, !6, i64 88, !15, i64 96, !14, i64 100, !13, i64 108}
!40 = !{!"_ZTS8ImVectorI13ImGuiColorModE", !13, i64 0, !13, i64 4, !6, i64 8}
!41 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !13, i64 0, !13, i64 4, !6, i64 8}
!42 = !{!"_ZTS8ImVectorIP6ImFontE", !13, i64 0, !13, i64 4, !6, i64 8}
!43 = !{!"_ZTS8ImVectorI19ImGuiFocusScopeDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!44 = !{!"_ZTS8ImVectorIiE", !13, i64 0, !13, i64 4, !6, i64 8}
!45 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!46 = !{!"_ZTS8ImVectorI14ImGuiPopupDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!47 = !{!"_ZTS8ImVectorI22ImGuiTreeNodeStackDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!48 = !{!"_ZTS8ImVectorIP14ImGuiViewportPE", !13, i64 0, !13, i64 4, !6, i64 8}
!49 = !{!"_ZTS13ImGuiNavLayer", !7, i64 0}
!50 = !{!"_ZTS16ImGuiNavItemData", !6, i64 0, !13, i64 8, !13, i64 12, !38, i64 16, !13, i64 32, !15, i64 36, !15, i64 40, !15, i64 44, !35, i64 48}
!51 = !{!"_ZTS8ImGuiKey", !7, i64 0}
!52 = !{!"_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}
!53 = !{!"_ZTS8ImVectorIhE", !13, i64 0, !13, i64 4, !6, i64 8}
!54 = !{!"_ZTS8ImVectorI20ImGuiListClipperDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!55 = !{!"_ZTS8ImVectorI18ImGuiTableTempDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!56 = !{!"_ZTS6ImPoolI10ImGuiTableE", !57, i64 0, !28, i64 16, !13, i64 32, !13, i64 36}
!57 = !{!"_ZTS8ImVectorI10ImGuiTableE", !13, i64 0, !13, i64 4, !6, i64 8}
!58 = !{!"_ZTS8ImVectorIfE", !13, i64 0, !13, i64 4, !6, i64 8}
!59 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !13, i64 0, !13, i64 4, !6, i64 8}
!60 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !61, i64 0, !28, i64 16, !13, i64 32, !13, i64 36}
!61 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !13, i64 0, !13, i64 4, !6, i64 8}
!62 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !13, i64 0, !13, i64 4, !6, i64 8}
!63 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !13, i64 0, !13, i64 4, !6, i64 8}
!64 = !{!"_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, !38, i64 52, !38, i64 68, !38, i64 84}
!65 = !{!"_ZTS8ImVectorI24ImGuiMultiSelectTempDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!66 = !{!"_ZTS6ImPoolI21ImGuiMultiSelectStateE", !67, i64 0, !28, i64 16, !13, i64 32, !13, i64 36}
!67 = !{!"_ZTS8ImVectorI21ImGuiMultiSelectStateE", !13, i64 0, !13, i64 4, !6, i64 8}
!68 = !{!"_ZTS19ImGuiInputTextState", !6, i64 0, !13, i64 8, !13, i64 12, !13, i64 16, !18, i64 24, !69, i64 40, !69, i64 56, !11, i64 72, !13, i64 76, !15, i64 80, !70, i64 84, !15, i64 3712, !11, i64 3716, !11, i64 3717, !11, i64 3718, !13, i64 3720, !11, i64 3724, !13, i64 3728, !13, i64 3732}
!69 = !{!"_ZTS8ImVectorIcE", !13, i64 0, !13, i64 4, !6, i64 8}
!70 = !{!"_ZTSN5ImStb17STB_TexteditStateE", !13, i64 0, !13, i64 4, !13, i64 8, !7, i64 12, !13, i64 16, !7, i64 20, !7, i64 21, !7, i64 22, !7, i64 23, !7, i64 24, !7, i64 25, !7, i64 26, !15, i64 28, !71, i64 32}
!71 = !{!"_ZTSN5ImStb12StbUndoStateE", !7, i64 0, !7, i64 1584, !16, i64 3582, !16, i64 3584, !13, i64 3588, !13, i64 3592}
!72 = !{!"_ZTS30ImGuiInputTextDeactivatedState", !13, i64 0, !69, i64 8}
!73 = !{!"_ZTS6ImFont", !58, i64 0, !15, i64 16, !15, i64 20, !18, i64 24, !74, i64 40, !6, i64 56, !6, i64 64, !6, i64 72, !16, i64 80, !16, i64 82, !16, i64 84, !16, i64 86, !15, i64 88, !15, i64 92, !11, i64 96, !15, i64 100, !15, i64 104, !15, i64 108, !13, i64 112, !7, i64 116}
!74 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !13, i64 0, !13, i64 4, !6, i64 8}
!75 = !{!"_ZTS21ImGuiComboPreviewData", !38, 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", !69, i64 0}
!81 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !13, i64 0, !13, i64 4, !6, i64 8}
!82 = !{!"_ZTS13ImChunkStreamI19ImGuiWindowSettingsE", !69, i64 0}
!83 = !{!"_ZTS13ImChunkStreamI18ImGuiTableSettingsE", !69, i64 0}
!84 = !{!"_ZTS8ImVectorI16ImGuiContextHookE", !13, i64 0, !13, i64 4, !6, i64 8}
!85 = !{!"_ZTS12ImGuiLogType", !7, i64 0}
!86 = !{!"_ZTS14ImGuiTextIndex", !44, 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, !16, i64 8, !7, i64 12}
!91 = !{!10, !13, i64 19296}
!92 = !{!93, !13, i64 20}
!93 = !{!"_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, !16, i64 216, !16, i64 218, !16, i64 220, !16, i64 222, !16, i64 224, !7, i64 226, !7, i64 227, !11, i64 228, !20, 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, !94, i64 280, !38, i64 512, !38, i64 528, !38, i64 544, !38, i64 560, !38, i64 576, !38, i64 592, !38, i64 608, !97, i64 624, !97, i64 628, !13, i64 632, !15, i64 636, !15, i64 640, !28, i64 648, !98, i64 664, !15, i64 680, !13, i64 684, !6, i64 688, !99, i64 696, !6, i64 896, !6, i64 904, !6, i64 912, !6, i64 920, !6, i64 928, !6, i64 936, !6, i64 944, !6, i64 952, !7, i64 960, !7, i64 968, !7, i64 1000, !13, i64 1016, !13, i64 1020, !13, i64 1024, !11, i64 1028}
!94 = !{!"_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, !95, i64 68, !95, i64 72, !95, i64 76, !14, i64 80, !49, i64 88, !16, i64 92, !16, i64 94, !11, i64 96, !11, i64 97, !11, i64 98, !11, i64 99, !14, i64 100, !96, i64 108, !13, i64 136, !13, i64 140, !26, 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, !58, i64 200, !58, i64 216}
!95 = !{!"_ZTS6ImVec1", !15, i64 0}
!96 = !{!"_ZTS16ImGuiMenuColumns", !13, i64 0, !13, i64 4, !16, i64 8, !16, i64 10, !16, i64 12, !16, i64 14, !16, i64 16, !7, i64 18}
!97 = !{!"_ZTS8ImVec2ih", !16, i64 0, !16, i64 2}
!98 = !{!"_ZTS8ImVectorI15ImGuiOldColumnsE", !13, i64 0, !13, i64 4, !6, i64 8}
!99 = !{!"_ZTS10ImDrawList", !100, i64 0, !18, i64 16, !101, i64 32, !13, i64 48, !13, i64 52, !6, i64 56, !6, i64 64, !6, i64 72, !23, i64 80, !102, i64 96, !103, i64 128, !104, i64 152, !105, i64 168, !15, i64 184, !6, i64 192}
!100 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !13, i64 0, !13, i64 4, !6, i64 8}
!101 = !{!"_ZTS8ImVectorI10ImDrawVertE", !13, i64 0, !13, i64 4, !6, i64 8}
!102 = !{!"_ZTS15ImDrawCmdHeader", !22, i64 0, !6, i64 16, !13, i64 24}
!103 = !{!"_ZTS18ImDrawListSplitter", !13, i64 0, !13, i64 4, !59, i64 8}
!104 = !{!"_ZTS8ImVectorI6ImVec4E", !13, i64 0, !13, i64 4, !6, i64 8}
!105 = !{!"_ZTS8ImVectorIPvE", !13, i64 0, !13, i64 4, !6, i64 8}
!106 = !{!93, !6, i64 896}
!107 = !{!93, !11, i64 203}
!108 = !{i8 0, i8 2}
!109 = !{}
!110 = !{!10, !49, i64 19376}


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