; LLVM IR from aap/librw :: skeleton/imgui/imgui.ll (ZN5ImGui25FindBestWindowPosForPopupEP11ImGuiWindow)

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

%struct.ImVec2 = type { float, float }
%struct.ImRect = type { %struct.ImVec2, %struct.ImVec2 }
%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.ImVector.30 = type { i32, i32, ptr }
%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.ImVector.2 = type { i32, i32, ptr }
%struct.ImVector.19 = type { i32, i32, ptr }
%struct.ImVec2ih = type { i16, i16 }
%struct.ImGuiStorage = type { %struct.ImVector.4 }
%struct.ImVector.4 = type { i32, i32, ptr }
%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 = type { i32, i32, ptr }
%struct.ImVector.39 = type { i32, i32, ptr }
%struct.ImVector.0 = type { i32, i32, ptr }
%struct.ImDrawCmdHeader = type <{ %struct.ImVec4, ptr, i32, [4 x i8] }>
%struct.ImVec4 = type { float, float, float, float }
%struct.ImDrawListSplitter = type { i32, i32, %struct.ImVector.20 }
%struct.ImVector.20 = type { i32, i32, ptr }
%struct.ImVector.40 = type { i32, i32, ptr }
%struct.ImVector.41 = type { i32, i32, ptr }
%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.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.1 = type { i32, i32, ptr }
%struct.ImVector.3 = 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.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.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.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.ImGuiWindowStackData = type <{ ptr, %struct.ImGuiLastItemData, %struct.ImGuiStackSizes, i8, [5 x i8] }>
%struct.ImGuiStackSizes = type { i16, i16, i16, i16, i16, i16, i16, i16, i16 }

@GImGui = external dso_local global ptr, align 8
@.str.3 = external hidden unnamed_addr constant [68 x i8], align 1
@.str.92 = external hidden unnamed_addr constant [2 x i8], align 1
@_ZL22TOOLTIP_DEFAULT_OFFSET = external hidden constant %struct.ImVec2, align 4
@.str.292 = external hidden unnamed_addr constant [26 x i8], align 1
@__PRETTY_FUNCTION__._ZN5ImGui25FindBestWindowPosForPopupEP11ImGuiWindow = external hidden unnamed_addr constant [55 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: inlinehint mustprogress uwtable
declare hidden <2 x float> @_ZmlRK6ImVec2f(ptr noundef nonnull align 4 dereferenceable(8), float noundef) #2

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #4

; Function Attrs: inlinehint mustprogress uwtable
declare hidden <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8)) #2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6ImRectC2Ev(ptr noundef nonnull align 4 dereferenceable(16)) unnamed_addr #6 align 2

; Function Attrs: mustprogress uwtable
define dso_local <2 x float> @_ZN5ImGui25FindBestWindowPosForPopupEP11ImGuiWindow(ptr noundef %0) #7 {
  %2 = alloca %struct.ImVec2, align 4
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca %struct.ImRect, align 4
  %6 = alloca ptr, align 8
  %7 = alloca float, align 4
  %8 = alloca %struct.ImRect, align 4
  %9 = alloca %struct.ImRect, align 4
  %10 = alloca %struct.ImRect, align 4
  %11 = alloca i32, align 4
  %12 = alloca %struct.ImRect, align 4
  %13 = alloca float, align 4
  %14 = alloca %struct.ImVec2, align 4
  %15 = alloca %struct.ImVec2, align 4
  %16 = alloca %struct.ImVec2, align 4
  %17 = alloca %struct.ImRect, align 4
  %18 = alloca %struct.ImRect, align 4
  %19 = alloca %struct.ImRect, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #9
  %20 = load ptr, ptr @GImGui, align 8, !tbaa !5
  store ptr %20, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %5) #9
  %21 = load ptr, ptr %3, align 8, !tbaa !5
  %22 = call { <2 x float>, <2 x float> } @_ZN5ImGui25GetPopupAllowedExtentRectEP11ImGuiWindow(ptr noundef %21)
  %23 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %5, i32 0, i32 0
  %24 = extractvalue { <2 x float>, <2 x float> } %22, 0
  store <2 x float> %24, ptr %23, align 4
  %25 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %5, i32 0, i32 1
  %26 = extractvalue { <2 x float>, <2 x float> } %22, 1
  store <2 x float> %26, ptr %25, align 4
  %27 = load ptr, ptr %3, align 8, !tbaa !5
  %28 = getelementptr inbounds %struct.ImGuiWindow, ptr %27, i32 0, i32 3
  %29 = load i32, ptr %28, align 4, !tbaa !9
  %30 = and i32 %29, 268435456
  %31 = icmp ne i32 %30, 0
  br i1 %31, label %32, label %104

32:                                               ; preds = %1
  %33 = load ptr, ptr %4, align 8, !tbaa !5
  %34 = getelementptr inbounds %struct.ImGuiContext, ptr %33, i32 0, i32 34
  %35 = load ptr, ptr %34, align 8, !tbaa !40
  %36 = load ptr, ptr %3, align 8, !tbaa !5
  %37 = icmp eq ptr %35, %36
  br i1 %37, label %38, label %39

38:                                               ; preds = %32
  br label %41

39:                                               ; preds = %32
  call void @__assert_fail(ptr noundef @.str.292, ptr noundef @.str.3, i32 noundef 11586, ptr noundef @__PRETTY_FUNCTION__._ZN5ImGui25FindBestWindowPosForPopupEP11ImGuiWindow) #10
  unreachable

40:                                               ; No predecessors!
  br label %41

41:                                               ; preds = %40, %38
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #9
  %42 = load ptr, ptr %4, align 8, !tbaa !5
  %43 = getelementptr inbounds %struct.ImGuiContext, ptr %42, i32 0, i32 29
  %44 = load ptr, ptr %4, align 8, !tbaa !5
  %45 = getelementptr inbounds %struct.ImGuiContext, ptr %44, i32 0, i32 29
  %46 = getelementptr inbounds %struct.ImVector.3, ptr %45, i32 0, i32 0
  %47 = load i32, ptr %46, align 8, !tbaa !105
  %48 = sub nsw i32 %47, 2
  %49 = call noundef nonnull align 8 dereferenceable(107) ptr @_ZN8ImVectorI20ImGuiWindowStackDataEixEi(ptr noundef nonnull align 8 dereferenceable(16) %43, i32 noundef %48)
  %50 = getelementptr inbounds %struct.ImGuiWindowStackData, ptr %49, i32 0, i32 0
  %51 = load ptr, ptr %50, align 8, !tbaa !106
  store ptr %51, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #9
  %52 = load ptr, ptr %4, align 8, !tbaa !5
  %53 = getelementptr inbounds %struct.ImGuiContext, ptr %52, i32 0, i32 4
  %54 = getelementptr inbounds %struct.ImGuiStyle, ptr %53, i32 0, i32 16
  %55 = getelementptr inbounds %struct.ImVec2, ptr %54, i32 0, i32 0
  %56 = load float, ptr %55, align 4, !tbaa !109
  store float %56, ptr %7, align 4, !tbaa !110
  call void @llvm.lifetime.start.p0(i64 16, ptr %8) #9
  call void @_ZN6ImRectC2Ev(ptr noundef nonnull align 4 dereferenceable(16) %8)
  %57 = load ptr, ptr %6, align 8, !tbaa !5
  %58 = getelementptr inbounds %struct.ImGuiWindow, ptr %57, i32 0, i32 69
  %59 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %58, i32 0, i32 21
  %60 = load i8, ptr %59, align 1, !tbaa !111, !range !112, !noundef !113
  %61 = trunc i8 %60 to i1
  br i1 %61, label %62, label %73

62:                                               ; preds = %41
  call void @llvm.lifetime.start.p0(i64 16, ptr %9) #9
  %63 = load ptr, ptr %6, align 8, !tbaa !5
  %64 = getelementptr inbounds %struct.ImGuiWindow, ptr %63, i32 0, i32 75
  %65 = getelementptr inbounds %struct.ImRect, ptr %64, i32 0, i32 0
  %66 = getelementptr inbounds %struct.ImVec2, ptr %65, i32 0, i32 1
  %67 = load float, ptr %66, align 4, !tbaa !114
  %68 = load ptr, ptr %6, align 8, !tbaa !5
  %69 = getelementptr inbounds %struct.ImGuiWindow, ptr %68, i32 0, i32 75
  %70 = getelementptr inbounds %struct.ImRect, ptr %69, i32 0, i32 1
  %71 = getelementptr inbounds %struct.ImVec2, ptr %70, i32 0, i32 1
  %72 = load float, ptr %71, align 4, !tbaa !115
  call void @_ZN6ImRectC2Effff(ptr noundef nonnull align 4 dereferenceable(16) %9, float noundef 0xC7EFFFFFE0000000, float noundef %67, float noundef 0x47EFFFFFE0000000, float noundef %72)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %8, ptr align 4 %9, i64 16, i1 false), !tbaa.struct !116
  call void @llvm.lifetime.end.p0(i64 16, ptr %9) #9
  br label %96

73:                                               ; preds = %41
  call void @llvm.lifetime.start.p0(i64 16, ptr %10) #9
  %74 = load ptr, ptr %6, align 8, !tbaa !5
  %75 = getelementptr inbounds %struct.ImGuiWindow, ptr %74, i32 0, i32 7
  %76 = getelementptr inbounds %struct.ImVec2, ptr %75, i32 0, i32 0
  %77 = load float, ptr %76, align 8, !tbaa !117
  %78 = load float, ptr %7, align 4, !tbaa !110
  %79 = fadd float %77, %78
  %80 = load ptr, ptr %6, align 8, !tbaa !5
  %81 = getelementptr inbounds %struct.ImGuiWindow, ptr %80, i32 0, i32 7
  %82 = getelementptr inbounds %struct.ImVec2, ptr %81, i32 0, i32 0
  %83 = load float, ptr %82, align 8, !tbaa !117
  %84 = load ptr, ptr %6, align 8, !tbaa !5
  %85 = getelementptr inbounds %struct.ImGuiWindow, ptr %84, i32 0, i32 8
  %86 = getelementptr inbounds %struct.ImVec2, ptr %85, i32 0, i32 0
  %87 = load float, ptr %86, align 8, !tbaa !118
  %88 = fadd float %83, %87
  %89 = load float, ptr %7, align 4, !tbaa !110
  %90 = fsub float %88, %89
  %91 = load ptr, ptr %6, align 8, !tbaa !5
  %92 = getelementptr inbounds %struct.ImGuiWindow, ptr %91, i32 0, i32 33
  %93 = getelementptr inbounds %struct.ImVec2, ptr %92, i32 0, i32 0
  %94 = load float, ptr %93, align 8, !tbaa !119
  %95 = fsub float %90, %94
  call void @_ZN6ImRectC2Effff(ptr noundef nonnull align 4 dereferenceable(16) %10, float noundef %79, float noundef 0xC7EFFFFFE0000000, float noundef %95, float noundef 0x47EFFFFFE0000000)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %8, ptr align 4 %10, i64 16, i1 false), !tbaa.struct !116
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #9
  br label %96

96:                                               ; preds = %73, %62
  %97 = load ptr, ptr %3, align 8, !tbaa !5
  %98 = getelementptr inbounds %struct.ImGuiWindow, ptr %97, i32 0, i32 7
  %99 = load ptr, ptr %3, align 8, !tbaa !5
  %100 = getelementptr inbounds %struct.ImGuiWindow, ptr %99, i32 0, i32 8
  %101 = load ptr, ptr %3, align 8, !tbaa !5
  %102 = getelementptr inbounds %struct.ImGuiWindow, ptr %101, i32 0, i32 59
  %103 = call <2 x float> @_ZN5ImGui27FindBestWindowPosForPopupExERK6ImVec2S2_P8ImGuiDirRK6ImRectS7_24ImGuiPopupPositionPolicy(ptr noundef nonnull align 4 dereferenceable(8) %98, ptr noundef nonnull align 4 dereferenceable(8) %100, ptr noundef %102, ptr noundef nonnull align 4 dereferenceable(16) %5, ptr noundef nonnull align 4 dereferenceable(16) %8, i32 noundef 0)
  store <2 x float> %103, ptr %2, align 4
  store i32 1, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %8) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #9
  br label %197

104:                                              ; preds = %1
  %105 = load ptr, ptr %3, align 8, !tbaa !5
  %106 = getelementptr inbounds %struct.ImGuiWindow, ptr %105, i32 0, i32 3
  %107 = load i32, ptr %106, align 4, !tbaa !9
  %108 = and i32 %107, 67108864
  %109 = icmp ne i32 %108, 0
  br i1 %109, label %110, label %122

110:                                              ; preds = %104
  %111 = load ptr, ptr %3, align 8, !tbaa !5
  %112 = getelementptr inbounds %struct.ImGuiWindow, ptr %111, i32 0, i32 7
  %113 = load ptr, ptr %3, align 8, !tbaa !5
  %114 = getelementptr inbounds %struct.ImGuiWindow, ptr %113, i32 0, i32 8
  %115 = load ptr, ptr %3, align 8, !tbaa !5
  %116 = getelementptr inbounds %struct.ImGuiWindow, ptr %115, i32 0, i32 59
  call void @llvm.lifetime.start.p0(i64 16, ptr %12) #9
  %117 = load ptr, ptr %3, align 8, !tbaa !5
  %118 = getelementptr inbounds %struct.ImGuiWindow, ptr %117, i32 0, i32 7
  %119 = load ptr, ptr %3, align 8, !tbaa !5
  %120 = getelementptr inbounds %struct.ImGuiWindow, ptr %119, i32 0, i32 7
  call void @_ZN6ImRectC2ERK6ImVec2S2_(ptr noundef nonnull align 4 dereferenceable(16) %12, ptr noundef nonnull align 4 dereferenceable(8) %118, ptr noundef nonnull align 4 dereferenceable(8) %120)
  %121 = call <2 x float> @_ZN5ImGui27FindBestWindowPosForPopupExERK6ImVec2S2_P8ImGuiDirRK6ImRectS7_24ImGuiPopupPositionPolicy(ptr noundef nonnull align 4 dereferenceable(8) %112, ptr noundef nonnull align 4 dereferenceable(8) %114, ptr noundef %116, ptr noundef nonnull align 4 dereferenceable(16) %5, ptr noundef nonnull align 4 dereferenceable(16) %12, i32 noundef 0)
  store <2 x float> %121, ptr %2, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #9
  store i32 1, ptr %11, align 4
  br label %197

122:                                              ; preds = %104
  %123 = load ptr, ptr %3, align 8, !tbaa !5
  %124 = getelementptr inbounds %struct.ImGuiWindow, ptr %123, i32 0, i32 3
  %125 = load i32, ptr %124, align 4, !tbaa !9
  %126 = and i32 %125, 33554432
  %127 = icmp ne i32 %126, 0
  br i1 %127, label %128, label %196

128:                                              ; preds = %122
  %129 = load ptr, ptr %4, align 8, !tbaa !5
  %130 = getelementptr inbounds %struct.ImGuiContext, ptr %129, i32 0, i32 34
  %131 = load ptr, ptr %130, align 8, !tbaa !40
  %132 = load ptr, ptr %3, align 8, !tbaa !5
  %133 = icmp eq ptr %131, %132
  br i1 %133, label %134, label %135

134:                                              ; preds = %128
  br label %137

135:                                              ; preds = %128
  call void @__assert_fail(ptr noundef @.str.292, ptr noundef @.str.3, i32 noundef 11605, ptr noundef @__PRETTY_FUNCTION__._ZN5ImGui25FindBestWindowPosForPopupEP11ImGuiWindow) #10
  unreachable

136:                                              ; No predecessors!
  br label %137

137:                                              ; preds = %136, %134
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #9
  %138 = load ptr, ptr %4, align 8, !tbaa !5
  %139 = getelementptr inbounds %struct.ImGuiContext, ptr %138, i32 0, i32 4
  %140 = getelementptr inbounds %struct.ImGuiStyle, ptr %139, i32 0, i32 41
  %141 = load float, ptr %140, align 8, !tbaa !120
  store float %141, ptr %13, align 4, !tbaa !110
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #9
  %142 = call <2 x float> @_ZN5ImGuiL22NavCalcPreferredRefPosEv()
  store <2 x float> %142, ptr %14, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #9
  %143 = load float, ptr %13, align 4, !tbaa !110
  %144 = call <2 x float> @_ZmlRK6ImVec2f(ptr noundef nonnull align 4 dereferenceable(8) @_ZL22TOOLTIP_DEFAULT_OFFSET, float noundef %143)
  store <2 x float> %144, ptr %16, align 4
  %145 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %14, ptr noundef nonnull align 4 dereferenceable(8) %16)
  store <2 x float> %145, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #9
  call void @llvm.lifetime.start.p0(i64 16, ptr %17) #9
  call void @_ZN6ImRectC2Ev(ptr noundef nonnull align 4 dereferenceable(16) %17)
  %146 = load ptr, ptr %4, align 8, !tbaa !5
  %147 = getelementptr inbounds %struct.ImGuiContext, ptr %146, i32 0, i32 118
  %148 = load i8, ptr %147, align 2, !tbaa !121, !range !112, !noundef !113
  %149 = trunc i8 %148 to i1
  br i1 %149, label %175, label %150

150:                                              ; preds = %137
  %151 = load ptr, ptr %4, align 8, !tbaa !5
  %152 = getelementptr inbounds %struct.ImGuiContext, ptr %151, i32 0, i32 119
  %153 = load i8, ptr %152, align 1, !tbaa !122, !range !112, !noundef !113
  %154 = trunc i8 %153 to i1
  br i1 %154, label %155, label %175

155:                                              ; preds = %150
  %156 = load ptr, ptr %4, align 8, !tbaa !5
  %157 = getelementptr inbounds %struct.ImGuiContext, ptr %156, i32 0, i32 3
  %158 = getelementptr inbounds %struct.ImGuiIO, ptr %157, i32 0, i32 0
  %159 = load i32, ptr %158, align 8, !tbaa !123
  %160 = and i32 %159, 4
  %161 = icmp ne i32 %160, 0
  br i1 %161, label %175, label %162

162:                                              ; preds = %155
  call void @llvm.lifetime.start.p0(i64 16, ptr %18) #9
  %163 = getelementptr inbounds %struct.ImVec2, ptr %14, i32 0, i32 0
  %164 = load float, ptr %163, align 4, !tbaa !124
  %165 = fsub float %164, 1.600000e+01
  %166 = getelementptr inbounds %struct.ImVec2, ptr %14, i32 0, i32 1
  %167 = load float, ptr %166, align 4, !tbaa !125
  %168 = fsub float %167, 8.000000e+00
  %169 = getelementptr inbounds %struct.ImVec2, ptr %14, i32 0, i32 0
  %170 = load float, ptr %169, align 4, !tbaa !124
  %171 = fadd float %170, 1.600000e+01
  %172 = getelementptr inbounds %struct.ImVec2, ptr %14, i32 0, i32 1
  %173 = load float, ptr %172, align 4, !tbaa !125
  %174 = fadd float %173, 8.000000e+00
  call void @_ZN6ImRectC2Effff(ptr noundef nonnull align 4 dereferenceable(16) %18, float noundef %165, float noundef %168, float noundef %171, float noundef %174)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %17, ptr align 4 %18, i64 16, i1 false), !tbaa.struct !116
  call void @llvm.lifetime.end.p0(i64 16, ptr %18) #9
  br label %190

175:                                              ; preds = %155, %150, %137
  call void @llvm.lifetime.start.p0(i64 16, ptr %19) #9
  %176 = getelementptr inbounds %struct.ImVec2, ptr %14, i32 0, i32 0
  %177 = load float, ptr %176, align 4, !tbaa !124
  %178 = fsub float %177, 1.600000e+01
  %179 = getelementptr inbounds %struct.ImVec2, ptr %14, i32 0, i32 1
  %180 = load float, ptr %179, align 4, !tbaa !125
  %181 = fsub float %180, 8.000000e+00
  %182 = getelementptr inbounds %struct.ImVec2, ptr %14, i32 0, i32 0
  %183 = load float, ptr %182, align 4, !tbaa !124
  %184 = load float, ptr %13, align 4, !tbaa !110
  %185 = call float @llvm.fmuladd.f32(float 2.400000e+01, float %184, float %183)
  %186 = getelementptr inbounds %struct.ImVec2, ptr %14, i32 0, i32 1
  %187 = load float, ptr %186, align 4, !tbaa !125
  %188 = load float, ptr %13, align 4, !tbaa !110
  %189 = call float @llvm.fmuladd.f32(float 2.400000e+01, float %188, float %187)
  call void @_ZN6ImRectC2Effff(ptr noundef nonnull align 4 dereferenceable(16) %19, float noundef %178, float noundef %181, float noundef %185, float noundef %189)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %17, ptr align 4 %19, i64 16, i1 false), !tbaa.struct !116
  call void @llvm.lifetime.end.p0(i64 16, ptr %19) #9
  br label %190

190:                                              ; preds = %175, %162
  %191 = load ptr, ptr %3, align 8, !tbaa !5
  %192 = getelementptr inbounds %struct.ImGuiWindow, ptr %191, i32 0, i32 8
  %193 = load ptr, ptr %3, align 8, !tbaa !5
  %194 = getelementptr inbounds %struct.ImGuiWindow, ptr %193, i32 0, i32 59
  %195 = call <2 x float> @_ZN5ImGui27FindBestWindowPosForPopupExERK6ImVec2S2_P8ImGuiDirRK6ImRectS7_24ImGuiPopupPositionPolicy(ptr noundef nonnull align 4 dereferenceable(8) %15, ptr noundef nonnull align 4 dereferenceable(8) %192, ptr noundef %194, ptr noundef nonnull align 4 dereferenceable(16) %5, ptr noundef nonnull align 4 dereferenceable(16) %17, i32 noundef 2)
  store <2 x float> %195, ptr %2, align 4
  store i32 1, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #9
  br label %197

196:                                              ; preds = %122
  call void @__assert_fail(ptr noundef @.str.92, ptr noundef @.str.3, i32 noundef 11617, ptr noundef @__PRETTY_FUNCTION__._ZN5ImGui25FindBestWindowPosForPopupEP11ImGuiWindow) #10
  unreachable

197:                                              ; preds = %190, %110, %96
  call void @llvm.lifetime.end.p0(i64 16, ptr %5) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #9
  %198 = load <2 x float>, ptr %2, align 4
  ret <2 x float> %198
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6ImRectC2Effff(ptr noundef nonnull align 4 dereferenceable(16), float noundef, float noundef, float noundef, float noundef) unnamed_addr #6 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local <2 x float> @_ZN5ImGui27FindBestWindowPosForPopupExERK6ImVec2S2_P8ImGuiDirRK6ImRectS7_24ImGuiPopupPositionPolicy(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8), ptr noundef, ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(16), i32 noundef) #7

; Function Attrs: mustprogress uwtable
declare dso_local { <2 x float>, <2 x float> } @_ZN5ImGui25GetPopupAllowedExtentRectEP11ImGuiWindow(ptr noundef) #7

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

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


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

%struct.ImVec2 = type { float, float }
%struct.ImRect = type { %struct.ImVec2, %struct.ImVec2 }

@GImGui = external dso_local local_unnamed_addr global ptr, align 8
@.str.3 = external hidden unnamed_addr constant [68 x i8], align 1
@.str.92 = external hidden unnamed_addr constant [2 x i8], align 1
@_ZL22TOOLTIP_DEFAULT_OFFSET = external hidden constant %struct.ImVec2, align 4
@.str.292 = external hidden unnamed_addr constant [26 x i8], align 1
@__PRETTY_FUNCTION__._ZN5ImGui25FindBestWindowPosForPopupEP11ImGuiWindow = external hidden unnamed_addr constant [55 x i8], align 1

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

; Function Attrs: mustprogress nocallback nofree 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: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: inlinehint mustprogress uwtable
declare hidden <2 x float> @_ZmlRK6ImVec2f(ptr noundef nonnull align 4 dereferenceable(8), float noundef) local_unnamed_addr #2

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

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #4

; Function Attrs: inlinehint mustprogress uwtable
declare hidden <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6ImRectC2Ev(ptr noundef nonnull align 4 dereferenceable(16)) unnamed_addr #6 align 2

; Function Attrs: mustprogress uwtable
define dso_local <2 x float> @_ZN5ImGui25FindBestWindowPosForPopupEP11ImGuiWindow(ptr noundef %0) local_unnamed_addr #7 {
  %2 = alloca %struct.ImRect, align 8
  %3 = alloca %struct.ImRect, align 4
  %4 = alloca %struct.ImRect, align 4
  %5 = alloca %struct.ImRect, align 4
  %6 = alloca %struct.ImRect, align 4
  %7 = alloca %struct.ImVec2, align 8
  %8 = alloca %struct.ImVec2, align 8
  %9 = alloca %struct.ImVec2, align 8
  %10 = alloca %struct.ImRect, align 4
  %11 = alloca %struct.ImRect, align 4
  %12 = alloca %struct.ImRect, align 4
  %13 = load ptr, ptr @GImGui, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %2) #9
  %14 = tail call { <2 x float>, <2 x float> } @_ZN5ImGui25GetPopupAllowedExtentRectEP11ImGuiWindow(ptr noundef %0)
  %15 = extractvalue { <2 x float>, <2 x float> } %14, 0
  store <2 x float> %15, ptr %2, align 8
  %16 = getelementptr inbounds i8, ptr %2, i64 8
  %17 = extractvalue { <2 x float>, <2 x float> } %14, 1
  store <2 x float> %17, ptr %16, align 8
  %18 = getelementptr inbounds i8, ptr %0, i64 20
  %19 = load i32, ptr %18, align 4, !tbaa !9
  %20 = and i32 %19, 268435456
  %.not = icmp eq i32 %20, 0
  br i1 %.not, label %58, label %21

21:                                               ; preds = %1
  %22 = getelementptr inbounds i8, ptr %13, i64 16504
  %23 = load ptr, ptr %22, align 8, !tbaa !40
  %24 = icmp eq ptr %23, %0
  br i1 %24, label %26, label %25

25:                                               ; preds = %21
  tail call void @__assert_fail(ptr noundef nonnull @.str.292, ptr noundef nonnull @.str.3, i32 noundef 11586, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5ImGui25FindBestWindowPosForPopupEP11ImGuiWindow) #10
  unreachable

26:                                               ; preds = %21
  %27 = getelementptr inbounds i8, ptr %13, i64 16456
  %28 = load i32, ptr %27, align 8, !tbaa !105
  %29 = add nsw i32 %28, -2
  %30 = tail call noundef nonnull align 8 dereferenceable(107) ptr @_ZN8ImVectorI20ImGuiWindowStackDataEixEi(ptr noundef nonnull align 8 dereferenceable(16) %27, i32 noundef %29)
  %31 = load ptr, ptr %30, align 8, !tbaa !106
  %32 = getelementptr inbounds i8, ptr %13, i64 14676
  %33 = load float, ptr %32, align 4, !tbaa !109
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #9
  call void @_ZN6ImRectC2Ev(ptr noundef nonnull align 4 dereferenceable(16) %3)
  %34 = getelementptr inbounds i8, ptr %31, i64 379
  %35 = load i8, ptr %34, align 1, !tbaa !110, !range !111, !noundef !112
  %36 = trunc nuw i8 %35 to i1
  br i1 %36, label %37, label %42

37:                                               ; preds = %26
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #9
  %38 = getelementptr inbounds i8, ptr %31, i64 596
  %39 = load float, ptr %38, align 4, !tbaa !113
  %40 = getelementptr inbounds i8, ptr %31, i64 604
  %41 = load float, ptr %40, align 4, !tbaa !114
  call void @_ZN6ImRectC2Effff(ptr noundef nonnull align 4 dereferenceable(16) %4, float noundef 0xC7EFFFFFE0000000, float noundef %39, float noundef 0x47EFFFFFE0000000, float noundef %41)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(16) %3, ptr noundef nonnull align 4 dereferenceable(16) %4, i64 16, i1 false), !tbaa.struct !115
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #9
  br label %53

42:                                               ; preds = %26
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #9
  %43 = getelementptr inbounds i8, ptr %31, i64 40
  %44 = load float, ptr %43, align 8, !tbaa !117
  %45 = fadd float %33, %44
  %46 = getelementptr inbounds i8, ptr %31, i64 48
  %47 = load float, ptr %46, align 8, !tbaa !118
  %48 = fadd float %44, %47
  %49 = fsub float %48, %33
  %50 = getelementptr inbounds i8, ptr %31, i64 192
  %51 = load float, ptr %50, align 8, !tbaa !119
  %52 = fsub float %49, %51
  call void @_ZN6ImRectC2Effff(ptr noundef nonnull align 4 dereferenceable(16) %5, float noundef %45, float noundef 0xC7EFFFFFE0000000, float noundef %52, float noundef 0x47EFFFFFE0000000)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(16) %3, ptr noundef nonnull align 4 dereferenceable(16) %5, i64 16, i1 false), !tbaa.struct !115
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #9
  br label %53

53:                                               ; preds = %42, %37
  %54 = getelementptr inbounds i8, ptr %0, i64 40
  %55 = getelementptr inbounds i8, ptr %0, i64 48
  %56 = getelementptr inbounds i8, ptr %0, i64 232
  %57 = call <2 x float> @_ZN5ImGui27FindBestWindowPosForPopupExERK6ImVec2S2_P8ImGuiDirRK6ImRectS7_24ImGuiPopupPositionPolicy(ptr noundef nonnull align 4 dereferenceable(8) %54, ptr noundef nonnull align 4 dereferenceable(8) %55, ptr noundef nonnull %56, ptr noundef nonnull align 4 dereferenceable(16) %2, ptr noundef nonnull align 4 dereferenceable(16) %3, i32 noundef 0)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #9
  br label %110

58:                                               ; preds = %1
  %59 = and i32 %19, 67108864
  %.not37 = icmp eq i32 %59, 0
  br i1 %.not37, label %65, label %60

60:                                               ; preds = %58
  %61 = getelementptr inbounds i8, ptr %0, i64 40
  %62 = getelementptr inbounds i8, ptr %0, i64 48
  %63 = getelementptr inbounds i8, ptr %0, i64 232
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #9
  call void @_ZN6ImRectC2ERK6ImVec2S2_(ptr noundef nonnull align 4 dereferenceable(16) %6, ptr noundef nonnull align 4 dereferenceable(8) %61, ptr noundef nonnull align 4 dereferenceable(8) %61)
  %64 = call <2 x float> @_ZN5ImGui27FindBestWindowPosForPopupExERK6ImVec2S2_P8ImGuiDirRK6ImRectS7_24ImGuiPopupPositionPolicy(ptr noundef nonnull align 4 dereferenceable(8) %61, ptr noundef nonnull align 4 dereferenceable(8) %62, ptr noundef nonnull %63, ptr noundef nonnull align 4 dereferenceable(16) %2, ptr noundef nonnull align 4 dereferenceable(16) %6, i32 noundef 0)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #9
  br label %110

65:                                               ; preds = %58
  %66 = and i32 %19, 33554432
  %.not38 = icmp eq i32 %66, 0
  br i1 %.not38, label %109, label %67

67:                                               ; preds = %65
  %68 = getelementptr inbounds i8, ptr %13, i64 16504
  %69 = load ptr, ptr %68, align 8, !tbaa !40
  %70 = icmp eq ptr %69, %0
  br i1 %70, label %72, label %71

71:                                               ; preds = %67
  tail call void @__assert_fail(ptr noundef nonnull @.str.292, ptr noundef nonnull @.str.3, i32 noundef 11605, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5ImGui25FindBestWindowPosForPopupEP11ImGuiWindow) #10
  unreachable

72:                                               ; preds = %67
  %73 = getelementptr inbounds i8, ptr %13, i64 14816
  %74 = load float, ptr %73, align 8, !tbaa !120
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #9
  %75 = tail call <2 x float> @_ZN5ImGuiL22NavCalcPreferredRefPosEv()
  store <2 x float> %75, ptr %7, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #9
  %76 = tail call <2 x float> @_ZmlRK6ImVec2f(ptr noundef nonnull align 4 dereferenceable(8) @_ZL22TOOLTIP_DEFAULT_OFFSET, float noundef %74)
  store <2 x float> %76, ptr %9, align 8
  %77 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %7, ptr noundef nonnull align 4 dereferenceable(8) %9)
  store <2 x float> %77, ptr %8, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #9
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %10) #9
  call void @_ZN6ImRectC2Ev(ptr noundef nonnull align 4 dereferenceable(16) %10)
  %78 = getelementptr inbounds i8, ptr %13, i64 19450
  %79 = load i8, ptr %78, align 2, !tbaa !121, !range !111, !noundef !112
  %80 = trunc nuw i8 %79 to i1
  br i1 %80, label %97, label %81

81:                                               ; preds = %72
  %82 = getelementptr inbounds i8, ptr %13, i64 19451
  %83 = load i8, ptr %82, align 1, !tbaa !122, !range !111, !noundef !112
  %84 = trunc nuw i8 %83 to i1
  br i1 %84, label %85, label %97

85:                                               ; preds = %81
  %86 = getelementptr inbounds i8, ptr %13, i64 8
  %87 = load i32, ptr %86, align 8, !tbaa !123
  %88 = and i32 %87, 4
  %.not39 = icmp eq i32 %88, 0
  br i1 %.not39, label %89, label %97

89:                                               ; preds = %85
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %11) #9
  %90 = load float, ptr %7, align 8, !tbaa !124
  %91 = fadd float %90, -1.600000e+01
  %92 = getelementptr inbounds i8, ptr %7, i64 4
  %93 = load float, ptr %92, align 4, !tbaa !125
  %94 = fadd float %93, -8.000000e+00
  %95 = fadd float %90, 1.600000e+01
  %96 = fadd float %93, 8.000000e+00
  call void @_ZN6ImRectC2Effff(ptr noundef nonnull align 4 dereferenceable(16) %11, float noundef %91, float noundef %94, float noundef %95, float noundef %96)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(16) %10, ptr noundef nonnull align 4 dereferenceable(16) %11, i64 16, i1 false), !tbaa.struct !115
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) #9
  br label %105

97:                                               ; preds = %85, %81, %72
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %12) #9
  %98 = load float, ptr %7, align 8, !tbaa !124
  %99 = fadd float %98, -1.600000e+01
  %100 = getelementptr inbounds i8, ptr %7, i64 4
  %101 = load float, ptr %100, align 4, !tbaa !125
  %102 = fadd float %101, -8.000000e+00
  %103 = call float @llvm.fmuladd.f32(float %74, float 2.400000e+01, float %98)
  %104 = call float @llvm.fmuladd.f32(float %74, float 2.400000e+01, float %101)
  call void @_ZN6ImRectC2Effff(ptr noundef nonnull align 4 dereferenceable(16) %12, float noundef %99, float noundef %102, float noundef %103, float noundef %104)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(16) %10, ptr noundef nonnull align 4 dereferenceable(16) %12, i64 16, i1 false), !tbaa.struct !115
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #9
  br label %105

105:                                              ; preds = %97, %89
  %106 = getelementptr inbounds i8, ptr %0, i64 48
  %107 = getelementptr inbounds i8, ptr %0, i64 232
  %108 = call <2 x float> @_ZN5ImGui27FindBestWindowPosForPopupExERK6ImVec2S2_P8ImGuiDirRK6ImRectS7_24ImGuiPopupPositionPolicy(ptr noundef nonnull align 4 dereferenceable(8) %8, ptr noundef nonnull align 4 dereferenceable(8) %106, ptr noundef nonnull %107, ptr noundef nonnull align 4 dereferenceable(16) %2, ptr noundef nonnull align 4 dereferenceable(16) %10, i32 noundef 2)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #9
  br label %110

109:                                              ; preds = %65
  tail call void @__assert_fail(ptr noundef nonnull @.str.92, ptr noundef nonnull @.str.3, i32 noundef 11617, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5ImGui25FindBestWindowPosForPopupEP11ImGuiWindow) #10
  unreachable

110:                                              ; preds = %105, %60, %53
  %.sroa.0.0 = phi <2 x float> [ %57, %53 ], [ %64, %60 ], [ %108, %105 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #9
  ret <2 x float> %.sroa.0.0
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6ImRectC2Effff(ptr noundef nonnull align 4 dereferenceable(16), float noundef, float noundef, float noundef, float noundef) unnamed_addr #6 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local <2 x float> @_ZN5ImGui27FindBestWindowPosForPopupExERK6ImVec2S2_P8ImGuiDirRK6ImRectS7_24ImGuiPopupPositionPolicy(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8), ptr noundef, ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(16), i32 noundef) local_unnamed_addr #7

; Function Attrs: mustprogress uwtable
declare dso_local { <2 x float>, <2 x float> } @_ZN5ImGui25GetPopupAllowedExtentRectEP11ImGuiWindow(ptr noundef) local_unnamed_addr #7

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

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


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