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

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

%struct.ImVec2 = type { float, float }
%struct.ImGuiContext = type { i8, i8, %struct.ImGuiIO, %struct.ImGuiPlatformIO, %struct.ImGuiStyle, i32, i32, ptr, float, float, %struct.ImDrawListSharedData, double, i32, i32, i32, i32, i8, i8, i8, i8, i8, ptr, %struct.ImVector.3, %struct.ImVector.3, i32, i32, %struct.ImVector.4, %struct.ImVector.4, %struct.ImVector.4, %struct.ImVector.5, %struct.ImGuiStorage, i32, %struct.ImVec2, i32, ptr, ptr, ptr, ptr, ptr, %struct.ImVec2, i32, i32, float, %struct.ImVec2, %struct.ImVec2, i32, i32, i32, i8, i8, float, float, i32, i32, float, i8, i8, i8, i8, i8, i8, i8, i8, %struct.ImVec2, ptr, i32, i32, i8, i8, ptr, i32, float, double, double, double, %struct.ImBitArray, [154 x %struct.ImGuiKeyOwnerData], %struct.ImGuiKeyRoutingTable, i32, i8, i32, i32, i32, i32, i32, [4 x i8], %struct.ImGuiNextItemData, %struct.ImGuiLastItemData, [4 x i8], %struct.ImGuiNextWindowData, i8, i32, %struct.ImVector.8, %struct.ImVector.9, %struct.ImVector.10, %struct.ImVector.11, %struct.ImVector.12, %struct.ImVector.13, %struct.ImVector.14, %struct.ImVector.14, %struct.ImVector.15, i32, %struct.ImVector.16, float, ptr, ptr, ptr, i32, %struct.ImGuiPlatformMonitor, i32, i32, i32, ptr, i32, i32, %struct.ImVector.11, i32, i32, i32, i32, i32, float, i32, i32, i32, i32, i32, i32, i32, i64, i8, i8, i8, i8, i8, i8, i8, i8, %struct.ImGuiNavItemData, i8, i8, i8, i32, i32, i32, i32, i32, i32, %struct.ImRect, %struct.ImRect, i32, i32, i32, %struct.ImGuiNavItemData, %struct.ImGuiNavItemData, %struct.ImGuiNavItemData, %struct.ImGuiNavItemData, i32, i32, ptr, ptr, ptr, float, float, i8, %struct.ImVec2, %struct.ImVec2, float, i8, i8, i8, i32, i32, i32, %struct.ImGuiPayload, %struct.ImRect, %struct.ImRect, i32, i32, float, i32, i32, i32, i32, %struct.ImVector.17, [16 x i8], i32, %struct.ImVector.18, ptr, i32, i32, %struct.ImVector.19, %struct.ImPool, %struct.ImVector.21, %struct.ImVector.22, ptr, %struct.ImPool.23, %struct.ImVector.25, %struct.ImVector.26, i32, i32, float, float, i32, i32, i32, float, %struct.ImVec2, %struct.ImGuiInputTextState, %struct.ImGuiInputTextDeactivatedState, %struct.ImFont, i32, i32, i32, i32, float, float, i32, %struct.ImVec4, %struct.ImGuiComboPreviewData, %struct.ImRect, i8, float, float, i8, i8, float, float, float, float, i16, i16, i16, %struct.ImVector.27, %struct.ImVector.29, %struct.ImGuiTypingSelectState, %struct.ImGuiPlatformImeData, %struct.ImGuiPlatformImeData, i32, [4 x i8], %struct.ImGuiDockContext, ptr, i8, float, %struct.ImGuiTextBuffer, %struct.ImVector.32, %struct.ImChunkStream, %struct.ImChunkStream.33, %struct.ImVector.34, i32, [11 x ptr], i8, i32, ptr, %struct.ImGuiTextBuffer, ptr, ptr, float, i8, i32, i32, i32, i32, %struct.ImGuiTextBuffer, %struct.ImGuiTextIndex, i32, i8, i8, i8, i32, i8, i8, i8, i32, float, %struct.ImVec4, %struct.ImGuiMetricsConfig, %struct.ImGuiIDStackTool, %struct.ImGuiDebugAllocInfo, ptr, [60 x float], i32, i32, float, i32, i32, i32, %struct.ImVector.27, [64 x i8] }
%struct.ImGuiIO = type { i32, i32, %struct.ImVec2, float, float, ptr, ptr, ptr, ptr, float, i8, ptr, %struct.ImVec2, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, float, float, float, float, float, float, i8, i8, i8, i8, i8, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i16, i8, i8, i8, i8, i8, i8, i8, float, i32, i32, i32, i32, %struct.ImVec2, [666 x i32], [666 x i8], [16 x float], ptr, %struct.ImVec2, [5 x i8], float, float, i32, i32, i8, i8, i8, i8, i32, [666 x %struct.ImGuiKeyData], i8, %struct.ImVec2, [5 x %struct.ImVec2], [5 x double], [5 x i8], [5 x i8], [5 x i16], [5 x i16], [5 x i8], [5 x i8], [5 x i8], i8, [5 x float], [5 x float], [5 x %struct.ImVec2], [5 x float], float, i8, i8, i8, i8, i16, %struct.ImVector }
%struct.ImGuiKeyData = type { i8, float, float, float }
%struct.ImVector = type { i32, i32, ptr }
%struct.ImGuiPlatformIO = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, %struct.ImVector.0, %struct.ImVector.1 }
%struct.ImVector.0 = type { i32, i32, ptr }
%struct.ImVector.1 = type { i32, i32, ptr }
%struct.ImGuiStyle = type { float, float, %struct.ImVec2, float, float, %struct.ImVec2, %struct.ImVec2, i32, float, float, float, float, %struct.ImVec2, float, float, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, float, float, float, float, float, float, float, float, float, float, float, i32, %struct.ImVec2, %struct.ImVec2, float, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, float, i8, i8, i8, float, float, [55 x %struct.ImVec4], float, float, float, i32, i32 }
%struct.ImDrawListSharedData = type { %struct.ImVec2, ptr, float, float, float, %struct.ImVec4, i32, %struct.ImVector.2, [48 x %struct.ImVec2], float, [64 x i8], ptr }
%struct.ImVector.2 = type { i32, i32, ptr }
%struct.ImVector.3 = type { i32, i32, ptr }
%struct.ImVector.4 = type { i32, i32, ptr }
%struct.ImVector.5 = type { i32, i32, ptr }
%struct.ImGuiStorage = type { %struct.ImVector.6 }
%struct.ImVector.6 = type { i32, i32, ptr }
%struct.ImBitArray = type { [5 x i32] }
%struct.ImGuiKeyOwnerData = type <{ i32, i32, i8, i8, [2 x i8] }>
%struct.ImGuiKeyRoutingTable = type { [154 x i16], %struct.ImVector.7, %struct.ImVector.7 }
%struct.ImVector.7 = type { i32, i32, ptr }
%struct.ImGuiNextItemData = type <{ i32, i32, i64, float, i32, i8, i8, [6 x i8] }>
%struct.ImGuiLastItemData = type { i32, i32, i32, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImRect }
%struct.ImGuiNextWindowData = type <{ i32, i32, i32, i32, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, i32, i8, i8, [2 x i8], %struct.ImRect, [4 x i8], ptr, ptr, float, i32, i32, %struct.ImGuiWindowClass, %struct.ImVec2, [4 x i8] }>
%struct.ImGuiWindowClass = type <{ i32, i32, i32, i32, i32, i32, i32, i8, i8, [2 x i8] }>
%struct.ImVector.8 = type { i32, i32, ptr }
%struct.ImVector.9 = type { i32, i32, ptr }
%struct.ImVector.10 = type { i32, i32, ptr }
%struct.ImVector.12 = type { i32, i32, ptr }
%struct.ImVector.13 = type { i32, i32, ptr }
%struct.ImVector.14 = type { i32, i32, ptr }
%struct.ImVector.15 = type { i32, i32, ptr }
%struct.ImVector.16 = type { i32, i32, ptr }
%struct.ImGuiPlatformMonitor = type { %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, ptr }
%struct.ImVector.11 = type { i32, i32, ptr }
%struct.ImGuiNavItemData = type <{ ptr, i32, i32, %struct.ImRect, i32, [4 x i8], i64, float, float, float, [4 x i8] }>
%struct.ImGuiPayload = type <{ ptr, i32, i32, i32, i32, [33 x i8], i8, i8, [5 x i8] }>
%struct.ImVector.17 = type { i32, i32, ptr }
%struct.ImVector.18 = type { i32, i32, ptr }
%struct.ImVector.19 = type { i32, i32, ptr }
%struct.ImPool = type { %struct.ImVector.20, %struct.ImGuiStorage, i32, i32 }
%struct.ImVector.20 = type { i32, i32, ptr }
%struct.ImVector.21 = type { i32, i32, ptr }
%struct.ImVector.22 = type { i32, i32, ptr }
%struct.ImPool.23 = type { %struct.ImVector.24, %struct.ImGuiStorage, i32, i32 }
%struct.ImVector.24 = type { i32, i32, ptr }
%struct.ImVector.25 = type { i32, i32, ptr }
%struct.ImVector.26 = type { i32, i32, ptr }
%struct.ImGuiInputTextState = type <{ ptr, i32, i32, i32, [4 x i8], %struct.ImVector, %struct.ImVector.27, %struct.ImVector.27, i8, [3 x i8], i32, float, %"struct.ImStb::STB_TexteditState", float, i8, i8, i8, i8, i32, [4 x i8] }>
%"struct.ImStb::STB_TexteditState" = type { i32, i32, i32, i8, i32, i8, i8, i8, i8, i8, i8, i8, float, %"struct.ImStb::StbUndoState" }
%"struct.ImStb::StbUndoState" = type { [99 x %"struct.ImStb::StbUndoRecord"], [999 x i16], i16, i16, i32, i32 }
%"struct.ImStb::StbUndoRecord" = type { i32, i32, i32, i32 }
%struct.ImGuiInputTextDeactivatedState = type { i32, %struct.ImVector.27 }
%struct.ImFont = type <{ %struct.ImVector.21, float, float, %struct.ImVector, %struct.ImVector.28, ptr, ptr, ptr, i16, i16, i16, i16, float, float, i8, [3 x i8], float, float, float, i32, [2 x i8], [2 x i8] }>
%struct.ImVector.28 = type { i32, i32, ptr }
%struct.ImGuiComboPreviewData = type { %struct.ImRect, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, i32 }
%struct.ImRect = type { %struct.ImVec2, %struct.ImVec2 }
%struct.ImVector.29 = type { i32, i32, ptr }
%struct.ImGuiTypingSelectState = type <{ %struct.ImGuiTypingSelectRequest, [64 x i8], i32, i32, float, i8, [3 x i8] }>
%struct.ImGuiTypingSelectRequest = type { i32, i32, ptr, i8, i8, i8 }
%struct.ImGuiPlatformImeData = type { i8, %struct.ImVec2, float }
%struct.ImGuiDockContext = type <{ %struct.ImGuiStorage, %struct.ImVector.30, %struct.ImVector.31, i8, [7 x i8] }>
%struct.ImVector.30 = type { i32, i32, ptr }
%struct.ImVector.31 = type { i32, i32, ptr }
%struct.ImVector.32 = type { i32, i32, ptr }
%struct.ImChunkStream = type { %struct.ImVector.27 }
%struct.ImChunkStream.33 = type { %struct.ImVector.27 }
%struct.ImVector.34 = type { i32, i32, ptr }
%struct.ImGuiTextBuffer = type { %struct.ImVector.27 }
%struct.ImGuiTextIndex = type <{ %struct.ImVector.12, i32, [4 x i8] }>
%struct.ImVec4 = type { float, float, float, float }
%struct.ImGuiMetricsConfig = type { i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i32, i32 }
%struct.ImGuiIDStackTool = type { i32, i32, i32, %struct.ImVector.35, i8, float }
%struct.ImVector.35 = type { i32, i32, ptr }
%struct.ImGuiDebugAllocInfo = type { i32, i32, i16, [6 x %struct.ImGuiDebugAllocEntry] }
%struct.ImGuiDebugAllocEntry = type { i32, i16, i16 }
%struct.ImVector.27 = type { i32, i32, ptr }
%struct.ImGuiViewportP = type { %struct.ImGuiViewport.base, ptr, i32, i32, i32, i32, %struct.ImVec2, float, float, i8, i16, [2 x i32], [2 x ptr], %struct.ImDrawData, %struct.ImDrawDataBuilder, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2 }
%struct.ImGuiViewport.base = type <{ i32, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, i32, ptr, ptr, ptr, ptr, ptr, i8, i8, i8, i8 }>
%struct.ImDrawData = type { i8, i32, i32, i32, %struct.ImVector.51, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, ptr }
%struct.ImVector.51 = type { i32, i32, ptr }
%struct.ImDrawDataBuilder = type { [2 x ptr], %struct.ImVector.51 }
%struct.ImGuiViewport = type <{ i32, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, i32, ptr, ptr, ptr, ptr, ptr, i8, i8, i8, i8, [4 x i8] }>
%struct.ImGuiWindow = type { ptr, ptr, i32, i32, i32, i32, %struct.ImGuiWindowClass, ptr, i32, %struct.ImVec2, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, float, float, float, float, float, float, float, i32, i32, i32, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i16, i16, i16, i16, i16, i32, i8, i8, i8, i32, i8, i8, i8, i8, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVector.29, %struct.ImGuiWindowTempData, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImVec2ih, %struct.ImVec2ih, i32, i32, float, float, %struct.ImGuiStorage, %struct.ImVector.38, float, float, i32, ptr, %struct.ImDrawList, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, [2 x i32], [2 x %struct.ImRect], [2 x %struct.ImVec2], i32, i32, i32, i8, i8, i16, %struct.ImGuiWindowDockStyle, ptr, ptr, i32, i32, %struct.ImRect }
%struct.ImGuiWindowTempData = type { %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, float, i8, i8, %struct.ImVec1, %struct.ImVec1, %struct.ImVec1, %struct.ImVec2, i32, i16, i16, i8, i8, i8, i8, %struct.ImVec2, %struct.ImGuiMenuColumns, i32, i32, %struct.ImVector.4, ptr, ptr, i32, i32, i32, float, float, %struct.ImVector.21, %struct.ImVector.21 }
%struct.ImVec1 = type { float }
%struct.ImGuiMenuColumns = type <{ i32, i32, i16, i16, i16, i16, i16, [4 x i16], [2 x i8] }>
%struct.ImVec2ih = type { i16, i16 }
%struct.ImVector.38 = type { i32, i32, ptr }
%struct.ImDrawList = type <{ %struct.ImVector.39, %struct.ImVector, %struct.ImVector.40, i32, i32, ptr, ptr, ptr, ptr, %struct.ImVector.41, %struct.ImVector.42, %struct.ImVector.2, %struct.ImDrawCmdHeader, %struct.ImDrawListSplitter, float, [4 x i8] }>
%struct.ImVector.39 = type { i32, i32, ptr }
%struct.ImVector.40 = type { i32, i32, ptr }
%struct.ImVector.41 = type { i32, i32, ptr }
%struct.ImVector.42 = type { i32, i32, ptr }
%struct.ImDrawCmdHeader = type <{ %struct.ImVec4, ptr, i32, [4 x i8] }>
%struct.ImDrawListSplitter = type { i32, i32, %struct.ImVector.22 }
%struct.ImGuiWindowDockStyle = type { [6 x i32] }

@GImGui = external dso_local global ptr, align 8
@.str.3 = external hidden unnamed_addr constant [72 x i8], align 1
@.str.345 = external hidden unnamed_addr constant [109 x i8], align 1
@__PRETTY_FUNCTION__._ZN5ImGui21UpdatePlatformWindowsEv = external hidden unnamed_addr constant [36 x i8], align 1
@.str.346 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.347 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.348 = external hidden unnamed_addr constant [4 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: mustprogress nounwind uwtable
declare dso_local void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8), float noundef, float noundef) unnamed_addr #1 align 2

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2

; 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) #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_Z9ImHashStrPKcmj(ptr noundef, i64 noundef, i32 noundef) #1

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN5ImGui19FindRenderedTextEndEPKcS1_(ptr noundef, ptr noundef) #1

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

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef zeroext i1 @_ZL24IsWindowActiveAndVisibleP11ImGuiWindow(ptr noundef) #1

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

24:                                               ; preds = %0
  br label %25

25:                                               ; preds = %24, %0
  %26 = phi i1 [ false, %0 ], [ true, %24 ]
  br i1 %26, label %27, label %28

27:                                               ; preds = %25
  br label %30

28:                                               ; preds = %25
  call void @__assert_fail(ptr noundef @.str.345, ptr noundef @.str.3, i32 noundef 15185, ptr noundef @__PRETTY_FUNCTION__._ZN5ImGui21UpdatePlatformWindowsEv) #8
  unreachable

29:                                               ; No predecessors!
  br label %30

30:                                               ; preds = %29, %27
  %31 = load ptr, ptr %1, align 8, !tbaa !5
  %32 = getelementptr inbounds %struct.ImGuiContext, ptr %31, i32 0, i32 14
  %33 = load i32, ptr %32, align 8, !tbaa !93
  %34 = load ptr, ptr %1, align 8, !tbaa !5
  %35 = getelementptr inbounds %struct.ImGuiContext, ptr %34, i32 0, i32 12
  %36 = load i32, ptr %35, align 8, !tbaa !92
  %37 = icmp slt i32 %33, %36
  br i1 %37, label %38, label %39

38:                                               ; preds = %30
  br label %41

39:                                               ; preds = %30
  call void @__assert_fail(ptr noundef @.str.346, ptr noundef @.str.3, i32 noundef 15186, ptr noundef @__PRETTY_FUNCTION__._ZN5ImGui21UpdatePlatformWindowsEv) #8
  unreachable

40:                                               ; No predecessors!
  br label %41

41:                                               ; preds = %40, %38
  %42 = load ptr, ptr %1, align 8, !tbaa !5
  %43 = getelementptr inbounds %struct.ImGuiContext, ptr %42, i32 0, i32 12
  %44 = load i32, ptr %43, align 8, !tbaa !92
  %45 = load ptr, ptr %1, align 8, !tbaa !5
  %46 = getelementptr inbounds %struct.ImGuiContext, ptr %45, i32 0, i32 14
  store i32 %44, ptr %46, align 8, !tbaa !93
  %47 = load ptr, ptr %1, align 8, !tbaa !5
  %48 = getelementptr inbounds %struct.ImGuiContext, ptr %47, i32 0, i32 5
  %49 = load i32, ptr %48, align 4, !tbaa !94
  %50 = and i32 %49, 1024
  %51 = icmp ne i32 %50, 0
  br i1 %51, label %53, label %52

52:                                               ; preds = %41
  store i32 1, ptr %2, align 4
  br label %436

53:                                               ; preds = %41
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #7
  store i32 1, ptr %3, align 4, !tbaa !95
  br label %54

54:                                               ; preds = %432, %53
  %55 = load i32, ptr %3, align 4, !tbaa !95
  %56 = load ptr, ptr %1, align 8, !tbaa !5
  %57 = getelementptr inbounds %struct.ImGuiContext, ptr %56, i32 0, i32 102
  %58 = getelementptr inbounds %struct.ImVector.16, ptr %57, i32 0, i32 0
  %59 = load i32, ptr %58, align 8, !tbaa !96
  %60 = icmp slt i32 %55, %59
  br i1 %60, label %62, label %61

61:                                               ; preds = %54
  store i32 2, ptr %2, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #7
  br label %435

62:                                               ; preds = %54
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #7
  %63 = load ptr, ptr %1, align 8, !tbaa !5
  %64 = getelementptr inbounds %struct.ImGuiContext, ptr %63, i32 0, i32 102
  %65 = load i32, ptr %3, align 4, !tbaa !95
  %66 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8ImVectorIP14ImGuiViewportPEixEi(ptr noundef nonnull align 8 dereferenceable(16) %64, i32 noundef %65)
  %67 = load ptr, ptr %66, align 8, !tbaa !5
  store ptr %67, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %5) #7
  store i8 0, ptr %5, align 1, !tbaa !97
  %68 = load ptr, ptr %4, align 8, !tbaa !5
  %69 = getelementptr inbounds %struct.ImGuiViewportP, ptr %68, i32 0, i32 3
  %70 = load i32, ptr %69, align 4, !tbaa !98
  %71 = load ptr, ptr %1, align 8, !tbaa !5
  %72 = getelementptr inbounds %struct.ImGuiContext, ptr %71, i32 0, i32 12
  %73 = load i32, ptr %72, align 8, !tbaa !92
  %74 = sub nsw i32 %73, 1
  %75 = icmp slt i32 %70, %74
  %76 = zext i1 %75 to i32
  %77 = load i8, ptr %5, align 1, !tbaa !97, !range !104, !noundef !105
  %78 = trunc i8 %77 to i1
  %79 = zext i1 %78 to i32
  %80 = or i32 %79, %76
  %81 = icmp ne i32 %80, 0
  %82 = zext i1 %81 to i8
  store i8 %82, ptr %5, align 1, !tbaa !97
  %83 = load ptr, ptr %4, align 8, !tbaa !5
  %84 = getelementptr inbounds %struct.ImGuiViewportP, ptr %83, i32 0, i32 1
  %85 = load ptr, ptr %84, align 8, !tbaa !106
  %86 = icmp ne ptr %85, null
  br i1 %86, label %87, label %93

87:                                               ; preds = %62
  %88 = load ptr, ptr %4, align 8, !tbaa !5
  %89 = getelementptr inbounds %struct.ImGuiViewportP, ptr %88, i32 0, i32 1
  %90 = load ptr, ptr %89, align 8, !tbaa !106
  %91 = call noundef zeroext i1 @_ZL24IsWindowActiveAndVisibleP11ImGuiWindow(ptr noundef %90)
  %92 = xor i1 %91, true
  br label %93

93:                                               ; preds = %87, %62
  %94 = phi i1 [ false, %62 ], [ %92, %87 ]
  %95 = zext i1 %94 to i32
  %96 = load i8, ptr %5, align 1, !tbaa !97, !range !104, !noundef !105
  %97 = trunc i8 %96 to i1
  %98 = zext i1 %97 to i32
  %99 = or i32 %98, %95
  %100 = icmp ne i32 %99, 0
  %101 = zext i1 %100 to i8
  store i8 %101, ptr %5, align 1, !tbaa !97
  %102 = load i8, ptr %5, align 1, !tbaa !97, !range !104, !noundef !105
  %103 = trunc i8 %102 to i1
  br i1 %103, label %104, label %106

104:                                              ; preds = %93
  %105 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN5ImGui21DestroyPlatformWindowEP14ImGuiViewportP(ptr noundef %105)
  store i32 4, ptr %2, align 4
  br label %429

106:                                              ; preds = %93
  %107 = load ptr, ptr %4, align 8, !tbaa !5
  %108 = getelementptr inbounds %struct.ImGuiViewportP, ptr %107, i32 0, i32 3
  %109 = load i32, ptr %108, align 4, !tbaa !98
  %110 = load ptr, ptr %1, align 8, !tbaa !5
  %111 = getelementptr inbounds %struct.ImGuiContext, ptr %110, i32 0, i32 12
  %112 = load i32, ptr %111, align 8, !tbaa !92
  %113 = icmp slt i32 %109, %112
  br i1 %113, label %126, label %114

114:                                              ; preds = %106
  %115 = load ptr, ptr %4, align 8, !tbaa !5
  %116 = getelementptr inbounds %struct.ImGuiViewport, ptr %115, i32 0, i32 3
  %117 = getelementptr inbounds %struct.ImVec2, ptr %116, i32 0, i32 0
  %118 = load float, ptr %117, align 8, !tbaa !107
  %119 = fcmp ole float %118, 0.000000e+00
  br i1 %119, label %126, label %120

120:                                              ; preds = %114
  %121 = load ptr, ptr %4, align 8, !tbaa !5
  %122 = getelementptr inbounds %struct.ImGuiViewport, ptr %121, i32 0, i32 3
  %123 = getelementptr inbounds %struct.ImVec2, ptr %122, i32 0, i32 1
  %124 = load float, ptr %123, align 4, !tbaa !108
  %125 = fcmp ole float %124, 0.000000e+00
  br i1 %125, label %126, label %127

126:                                              ; preds = %120, %114, %106
  store i32 4, ptr %2, align 4
  br label %429

127:                                              ; preds = %120
  call void @llvm.lifetime.start.p0(i64 1, ptr %6) #7
  %128 = load ptr, ptr %4, align 8, !tbaa !5
  %129 = getelementptr inbounds %struct.ImGuiViewport, ptr %128, i32 0, i32 13
  %130 = load i8, ptr %129, align 8, !tbaa !109, !range !104, !noundef !105
  %131 = trunc i8 %130 to i1
  %132 = zext i1 %131 to i32
  %133 = icmp eq i32 %132, 0
  %134 = zext i1 %133 to i8
  store i8 %134, ptr %6, align 1, !tbaa !97
  %135 = load i8, ptr %6, align 1, !tbaa !97, !range !104, !noundef !105
  %136 = trunc i8 %135 to i1
  br i1 %136, label %137, label %197

137:                                              ; preds = %127
  br label %138

138:                                              ; preds = %137
  %139 = load ptr, ptr %1, align 8, !tbaa !5
  %140 = getelementptr inbounds %struct.ImGuiContext, ptr %139, i32 0, i32 262
  %141 = load i32, ptr %140, align 4, !tbaa !110
  %142 = and i32 %141, 512
  %143 = icmp ne i32 %142, 0
  br i1 %143, label %144, label %161

144:                                              ; preds = %138
  %145 = load ptr, ptr %4, align 8, !tbaa !5
  %146 = getelementptr inbounds %struct.ImGuiViewport, ptr %145, i32 0, i32 0
  %147 = load i32, ptr %146, align 8, !tbaa !111
  %148 = load ptr, ptr %4, align 8, !tbaa !5
  %149 = getelementptr inbounds %struct.ImGuiViewportP, ptr %148, i32 0, i32 1
  %150 = load ptr, ptr %149, align 8, !tbaa !106
  %151 = icmp ne ptr %150, null
  br i1 %151, label %152, label %158

152:                                              ; preds = %144
  %153 = load ptr, ptr %4, align 8, !tbaa !5
  %154 = getelementptr inbounds %struct.ImGuiViewportP, ptr %153, i32 0, i32 1
  %155 = load ptr, ptr %154, align 8, !tbaa !106
  %156 = getelementptr inbounds %struct.ImGuiWindow, ptr %155, i32 0, i32 1
  %157 = load ptr, ptr %156, align 8, !tbaa !112
  br label %159

158:                                              ; preds = %144
  br label %159

159:                                              ; preds = %158, %152
  %160 = phi ptr [ %157, %152 ], [ @.str.348, %158 ]
  call void (ptr, ...) @_ZN5ImGui8DebugLogEPKcz(ptr noundef @.str.347, i32 noundef %147, ptr noundef %160)
  br label %161

161:                                              ; preds = %159, %138
  br label %162

162:                                              ; preds = %161
  br label %163

163:                                              ; preds = %162
  %164 = load ptr, ptr %1, align 8, !tbaa !5
  %165 = getelementptr inbounds %struct.ImGuiContext, ptr %164, i32 0, i32 3
  %166 = getelementptr inbounds %struct.ImGuiPlatformIO, ptr %165, i32 0, i32 0
  %167 = load ptr, ptr %166, align 8, !tbaa !127
  %168 = load ptr, ptr %4, align 8, !tbaa !5
  call void %167(ptr noundef %168)
  %169 = load ptr, ptr %1, align 8, !tbaa !5
  %170 = getelementptr inbounds %struct.ImGuiContext, ptr %169, i32 0, i32 3
  %171 = getelementptr inbounds %struct.ImGuiPlatformIO, ptr %170, i32 0, i32 18
  %172 = load ptr, ptr %171, align 8, !tbaa !128
  %173 = icmp ne ptr %172, null
  br i1 %173, label %174, label %180

174:                                              ; preds = %163
  %175 = load ptr, ptr %1, align 8, !tbaa !5
  %176 = getelementptr inbounds %struct.ImGuiContext, ptr %175, i32 0, i32 3
  %177 = getelementptr inbounds %struct.ImGuiPlatformIO, ptr %176, i32 0, i32 18
  %178 = load ptr, ptr %177, align 8, !tbaa !128
  %179 = load ptr, ptr %4, align 8, !tbaa !5
  call void %178(ptr noundef %179)
  br label %180

180:                                              ; preds = %174, %163
  %181 = load ptr, ptr %1, align 8, !tbaa !5
  %182 = getelementptr inbounds %struct.ImGuiContext, ptr %181, i32 0, i32 110
  %183 = load i32, ptr %182, align 4, !tbaa !129
  %184 = add nsw i32 %183, 1
  store i32 %184, ptr %182, align 4, !tbaa !129
  %185 = load ptr, ptr %4, align 8, !tbaa !5
  %186 = getelementptr inbounds %struct.ImGuiViewportP, ptr %185, i32 0, i32 5
  store i32 0, ptr %186, align 4, !tbaa !130
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #7
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %7, float noundef 0x47EFFFFFE0000000, float noundef 0x47EFFFFFE0000000)
  %187 = load ptr, ptr %4, align 8, !tbaa !5
  %188 = getelementptr inbounds %struct.ImGuiViewportP, ptr %187, i32 0, i32 16
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %188, ptr align 4 %7, i64 8, i1 false), !tbaa.struct !131
  %189 = load ptr, ptr %4, align 8, !tbaa !5
  %190 = getelementptr inbounds %struct.ImGuiViewportP, ptr %189, i32 0, i32 15
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %190, ptr align 4 %188, i64 8, i1 false), !tbaa.struct !131
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #7
  %191 = load ptr, ptr %4, align 8, !tbaa !5
  %192 = getelementptr inbounds %struct.ImGuiViewport, ptr %191, i32 0, i32 3
  %193 = load ptr, ptr %4, align 8, !tbaa !5
  %194 = getelementptr inbounds %struct.ImGuiViewportP, ptr %193, i32 0, i32 17
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %194, ptr align 8 %192, i64 8, i1 false), !tbaa.struct !131
  %195 = load ptr, ptr %4, align 8, !tbaa !5
  %196 = getelementptr inbounds %struct.ImGuiViewport, ptr %195, i32 0, i32 13
  store i8 1, ptr %196, align 8, !tbaa !109
  br label %197

197:                                              ; preds = %180, %127
  %198 = load ptr, ptr %4, align 8, !tbaa !5
  %199 = getelementptr inbounds %struct.ImGuiViewportP, ptr %198, i32 0, i32 15
  %200 = getelementptr inbounds %struct.ImVec2, ptr %199, i32 0, i32 0
  %201 = load float, ptr %200, align 8, !tbaa !133
  %202 = load ptr, ptr %4, align 8, !tbaa !5
  %203 = getelementptr inbounds %struct.ImGuiViewport, ptr %202, i32 0, i32 2
  %204 = getelementptr inbounds %struct.ImVec2, ptr %203, i32 0, i32 0
  %205 = load float, ptr %204, align 8, !tbaa !134
  %206 = fcmp une float %201, %205
  br i1 %206, label %217, label %207

207:                                              ; preds = %197
  %208 = load ptr, ptr %4, align 8, !tbaa !5
  %209 = getelementptr inbounds %struct.ImGuiViewportP, ptr %208, i32 0, i32 15
  %210 = getelementptr inbounds %struct.ImVec2, ptr %209, i32 0, i32 1
  %211 = load float, ptr %210, align 4, !tbaa !135
  %212 = load ptr, ptr %4, align 8, !tbaa !5
  %213 = getelementptr inbounds %struct.ImGuiViewport, ptr %212, i32 0, i32 2
  %214 = getelementptr inbounds %struct.ImVec2, ptr %213, i32 0, i32 1
  %215 = load float, ptr %214, align 4, !tbaa !136
  %216 = fcmp une float %211, %215
  br i1 %216, label %217, label %231

217:                                              ; preds = %207, %197
  %218 = load ptr, ptr %4, align 8, !tbaa !5
  %219 = getelementptr inbounds %struct.ImGuiViewport, ptr %218, i32 0, i32 14
  %220 = load i8, ptr %219, align 1, !tbaa !137, !range !104, !noundef !105
  %221 = trunc i8 %220 to i1
  br i1 %221, label %231, label %222

222:                                              ; preds = %217
  %223 = load ptr, ptr %1, align 8, !tbaa !5
  %224 = getelementptr inbounds %struct.ImGuiContext, ptr %223, i32 0, i32 3
  %225 = getelementptr inbounds %struct.ImGuiPlatformIO, ptr %224, i32 0, i32 3
  %226 = load ptr, ptr %225, align 8, !tbaa !138
  %227 = load ptr, ptr %4, align 8, !tbaa !5
  %228 = load ptr, ptr %4, align 8, !tbaa !5
  %229 = getelementptr inbounds %struct.ImGuiViewport, ptr %228, i32 0, i32 2
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %8, ptr align 8 %229, i64 8, i1 false), !tbaa.struct !131
  %230 = load <2 x float>, ptr %8, align 4
  call void %226(ptr noundef %227, <2 x float> %230)
  br label %231

231:                                              ; preds = %222, %217, %207
  %232 = load ptr, ptr %4, align 8, !tbaa !5
  %233 = getelementptr inbounds %struct.ImGuiViewportP, ptr %232, i32 0, i32 16
  %234 = getelementptr inbounds %struct.ImVec2, ptr %233, i32 0, i32 0
  %235 = load float, ptr %234, align 8, !tbaa !139
  %236 = load ptr, ptr %4, align 8, !tbaa !5
  %237 = getelementptr inbounds %struct.ImGuiViewport, ptr %236, i32 0, i32 3
  %238 = getelementptr inbounds %struct.ImVec2, ptr %237, i32 0, i32 0
  %239 = load float, ptr %238, align 8, !tbaa !107
  %240 = fcmp une float %235, %239
  br i1 %240, label %251, label %241

241:                                              ; preds = %231
  %242 = load ptr, ptr %4, align 8, !tbaa !5
  %243 = getelementptr inbounds %struct.ImGuiViewportP, ptr %242, i32 0, i32 16
  %244 = getelementptr inbounds %struct.ImVec2, ptr %243, i32 0, i32 1
  %245 = load float, ptr %244, align 4, !tbaa !140
  %246 = load ptr, ptr %4, align 8, !tbaa !5
  %247 = getelementptr inbounds %struct.ImGuiViewport, ptr %246, i32 0, i32 3
  %248 = getelementptr inbounds %struct.ImVec2, ptr %247, i32 0, i32 1
  %249 = load float, ptr %248, align 4, !tbaa !108
  %250 = fcmp une float %245, %249
  br i1 %250, label %251, label %265

251:                                              ; preds = %241, %231
  %252 = load ptr, ptr %4, align 8, !tbaa !5
  %253 = getelementptr inbounds %struct.ImGuiViewport, ptr %252, i32 0, i32 15
  %254 = load i8, ptr %253, align 2, !tbaa !141, !range !104, !noundef !105
  %255 = trunc i8 %254 to i1
  br i1 %255, label %265, label %256

256:                                              ; preds = %251
  %257 = load ptr, ptr %1, align 8, !tbaa !5
  %258 = getelementptr inbounds %struct.ImGuiContext, ptr %257, i32 0, i32 3
  %259 = getelementptr inbounds %struct.ImGuiPlatformIO, ptr %258, i32 0, i32 5
  %260 = load ptr, ptr %259, align 8, !tbaa !142
  %261 = load ptr, ptr %4, align 8, !tbaa !5
  %262 = load ptr, ptr %4, align 8, !tbaa !5
  %263 = getelementptr inbounds %struct.ImGuiViewport, ptr %262, i32 0, i32 3
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %9, ptr align 8 %263, i64 8, i1 false), !tbaa.struct !131
  %264 = load <2 x float>, ptr %9, align 4
  call void %260(ptr noundef %261, <2 x float> %264)
  br label %265

265:                                              ; preds = %256, %251, %241
  %266 = load ptr, ptr %4, align 8, !tbaa !5
  %267 = getelementptr inbounds %struct.ImGuiViewportP, ptr %266, i32 0, i32 17
  %268 = getelementptr inbounds %struct.ImVec2, ptr %267, i32 0, i32 0
  %269 = load float, ptr %268, align 8, !tbaa !143
  %270 = load ptr, ptr %4, align 8, !tbaa !5
  %271 = getelementptr inbounds %struct.ImGuiViewport, ptr %270, i32 0, i32 3
  %272 = getelementptr inbounds %struct.ImVec2, ptr %271, i32 0, i32 0
  %273 = load float, ptr %272, align 8, !tbaa !107
  %274 = fcmp une float %269, %273
  br i1 %274, label %285, label %275

275:                                              ; preds = %265
  %276 = load ptr, ptr %4, align 8, !tbaa !5
  %277 = getelementptr inbounds %struct.ImGuiViewportP, ptr %276, i32 0, i32 17
  %278 = getelementptr inbounds %struct.ImVec2, ptr %277, i32 0, i32 1
  %279 = load float, ptr %278, align 4, !tbaa !144
  %280 = load ptr, ptr %4, align 8, !tbaa !5
  %281 = getelementptr inbounds %struct.ImGuiViewport, ptr %280, i32 0, i32 3
  %282 = getelementptr inbounds %struct.ImVec2, ptr %281, i32 0, i32 1
  %283 = load float, ptr %282, align 4, !tbaa !108
  %284 = fcmp une float %279, %283
  br i1 %284, label %285, label %300

285:                                              ; preds = %275, %265
  %286 = load ptr, ptr %1, align 8, !tbaa !5
  %287 = getelementptr inbounds %struct.ImGuiContext, ptr %286, i32 0, i32 3
  %288 = getelementptr inbounds %struct.ImGuiPlatformIO, ptr %287, i32 0, i32 20
  %289 = load ptr, ptr %288, align 8, !tbaa !145
  %290 = icmp ne ptr %289, null
  br i1 %290, label %291, label %300

291:                                              ; preds = %285
  %292 = load ptr, ptr %1, align 8, !tbaa !5
  %293 = getelementptr inbounds %struct.ImGuiContext, ptr %292, i32 0, i32 3
  %294 = getelementptr inbounds %struct.ImGuiPlatformIO, ptr %293, i32 0, i32 20
  %295 = load ptr, ptr %294, align 8, !tbaa !145
  %296 = load ptr, ptr %4, align 8, !tbaa !5
  %297 = load ptr, ptr %4, align 8, !tbaa !5
  %298 = getelementptr inbounds %struct.ImGuiViewport, ptr %297, i32 0, i32 3
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %10, ptr align 8 %298, i64 8, i1 false), !tbaa.struct !131
  %299 = load <2 x float>, ptr %10, align 4
  call void %295(ptr noundef %296, <2 x float> %299)
  br label %300

300:                                              ; preds = %291, %285, %275
  %301 = load ptr, ptr %4, align 8, !tbaa !5
  %302 = getelementptr inbounds %struct.ImGuiViewport, ptr %301, i32 0, i32 2
  %303 = load ptr, ptr %4, align 8, !tbaa !5
  %304 = getelementptr inbounds %struct.ImGuiViewportP, ptr %303, i32 0, i32 15
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %304, ptr align 8 %302, i64 8, i1 false), !tbaa.struct !131
  %305 = load ptr, ptr %4, align 8, !tbaa !5
  %306 = getelementptr inbounds %struct.ImGuiViewport, ptr %305, i32 0, i32 3
  %307 = load ptr, ptr %4, align 8, !tbaa !5
  %308 = getelementptr inbounds %struct.ImGuiViewportP, ptr %307, i32 0, i32 17
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %308, ptr align 8 %306, i64 8, i1 false), !tbaa.struct !131
  %309 = load ptr, ptr %4, align 8, !tbaa !5
  %310 = getelementptr inbounds %struct.ImGuiViewportP, ptr %309, i32 0, i32 16
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %310, ptr align 4 %308, i64 8, i1 false), !tbaa.struct !131
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #7
  %311 = load ptr, ptr %4, align 8, !tbaa !5
  %312 = getelementptr inbounds %struct.ImGuiViewportP, ptr %311, i32 0, i32 1
  %313 = load ptr, ptr %312, align 8, !tbaa !106
  %314 = call noundef ptr @_ZL24GetWindowForTitleDisplayP11ImGuiWindow(ptr noundef %313)
  store ptr %314, ptr %11, align 8, !tbaa !5
  %315 = load ptr, ptr %11, align 8, !tbaa !5
  %316 = icmp ne ptr %315, null
  br i1 %316, label %317, label %353

317:                                              ; preds = %300
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #7
  %318 = load ptr, ptr %11, align 8, !tbaa !5
  %319 = getelementptr inbounds %struct.ImGuiWindow, ptr %318, i32 0, i32 1
  %320 = load ptr, ptr %319, align 8, !tbaa !112
  store ptr %320, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #7
  %321 = load ptr, ptr %12, align 8, !tbaa !5
  %322 = call noundef ptr @_ZN5ImGui19FindRenderedTextEndEPKcS1_(ptr noundef %321, ptr noundef null)
  %323 = ptrtoint ptr %322 to i64
  %324 = inttoptr i64 %323 to ptr
  store ptr %324, ptr %13, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #7
  %325 = load ptr, ptr %12, align 8, !tbaa !5
  %326 = load ptr, ptr %13, align 8, !tbaa !5
  %327 = load ptr, ptr %12, align 8, !tbaa !5
  %328 = ptrtoint ptr %326 to i64
  %329 = ptrtoint ptr %327 to i64
  %330 = sub i64 %328, %329
  %331 = call noundef i32 @_Z9ImHashStrPKcmj(ptr noundef %325, i64 noundef %330, i32 noundef 0)
  store i32 %331, ptr %14, align 4, !tbaa !95
  %332 = load ptr, ptr %4, align 8, !tbaa !5
  %333 = getelementptr inbounds %struct.ImGuiViewportP, ptr %332, i32 0, i32 5
  %334 = load i32, ptr %333, align 4, !tbaa !130
  %335 = load i32, ptr %14, align 4, !tbaa !95
  %336 = icmp ne i32 %334, %335
  br i1 %336, label %337, label %352

337:                                              ; preds = %317
  call void @llvm.lifetime.start.p0(i64 1, ptr %15) #7
  %338 = load ptr, ptr %13, align 8, !tbaa !5
  %339 = load i8, ptr %338, align 1, !tbaa !146
  store i8 %339, ptr %15, align 1, !tbaa !146
  %340 = load ptr, ptr %13, align 8, !tbaa !5
  store i8 0, ptr %340, align 1, !tbaa !146
  %341 = load ptr, ptr %1, align 8, !tbaa !5
  %342 = getelementptr inbounds %struct.ImGuiContext, ptr %341, i32 0, i32 3
  %343 = getelementptr inbounds %struct.ImGuiPlatformIO, ptr %342, i32 0, i32 10
  %344 = load ptr, ptr %343, align 8, !tbaa !147
  %345 = load ptr, ptr %4, align 8, !tbaa !5
  %346 = load ptr, ptr %12, align 8, !tbaa !5
  call void %344(ptr noundef %345, ptr noundef %346)
  %347 = load i8, ptr %15, align 1, !tbaa !146
  %348 = load ptr, ptr %13, align 8, !tbaa !5
  store i8 %347, ptr %348, align 1, !tbaa !146
  %349 = load i32, ptr %14, align 4, !tbaa !95
  %350 = load ptr, ptr %4, align 8, !tbaa !5
  %351 = getelementptr inbounds %struct.ImGuiViewportP, ptr %350, i32 0, i32 5
  store i32 %349, ptr %351, align 4, !tbaa !130
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #7
  br label %352

352:                                              ; preds = %337, %317
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #7
  br label %353

353:                                              ; preds = %352, %300
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #7
  %354 = load ptr, ptr %4, align 8, !tbaa !5
  %355 = getelementptr inbounds %struct.ImGuiViewportP, ptr %354, i32 0, i32 8
  %356 = load float, ptr %355, align 4, !tbaa !148
  %357 = load ptr, ptr %4, align 8, !tbaa !5
  %358 = getelementptr inbounds %struct.ImGuiViewportP, ptr %357, i32 0, i32 7
  %359 = load float, ptr %358, align 8, !tbaa !149
  %360 = fcmp une float %356, %359
  br i1 %360, label %361, label %376

361:                                              ; preds = %353
  %362 = load ptr, ptr %1, align 8, !tbaa !5
  %363 = getelementptr inbounds %struct.ImGuiContext, ptr %362, i32 0, i32 3
  %364 = getelementptr inbounds %struct.ImGuiPlatformIO, ptr %363, i32 0, i32 11
  %365 = load ptr, ptr %364, align 8, !tbaa !150
  %366 = icmp ne ptr %365, null
  br i1 %366, label %367, label %376

367:                                              ; preds = %361
  %368 = load ptr, ptr %1, align 8, !tbaa !5
  %369 = getelementptr inbounds %struct.ImGuiContext, ptr %368, i32 0, i32 3
  %370 = getelementptr inbounds %struct.ImGuiPlatformIO, ptr %369, i32 0, i32 11
  %371 = load ptr, ptr %370, align 8, !tbaa !150
  %372 = load ptr, ptr %4, align 8, !tbaa !5
  %373 = load ptr, ptr %4, align 8, !tbaa !5
  %374 = getelementptr inbounds %struct.ImGuiViewportP, ptr %373, i32 0, i32 7
  %375 = load float, ptr %374, align 8, !tbaa !149
  call void %371(ptr noundef %372, float noundef %375)
  br label %376

376:                                              ; preds = %367, %361, %353
  %377 = load ptr, ptr %4, align 8, !tbaa !5
  %378 = getelementptr inbounds %struct.ImGuiViewportP, ptr %377, i32 0, i32 7
  %379 = load float, ptr %378, align 8, !tbaa !149
  %380 = load ptr, ptr %4, align 8, !tbaa !5
  %381 = getelementptr inbounds %struct.ImGuiViewportP, ptr %380, i32 0, i32 8
  store float %379, ptr %381, align 4, !tbaa !148
  %382 = load ptr, ptr %1, align 8, !tbaa !5
  %383 = getelementptr inbounds %struct.ImGuiContext, ptr %382, i32 0, i32 3
  %384 = getelementptr inbounds %struct.ImGuiPlatformIO, ptr %383, i32 0, i32 12
  %385 = load ptr, ptr %384, align 8, !tbaa !151
  %386 = icmp ne ptr %385, null
  br i1 %386, label %387, label %393

387:                                              ; preds = %376
  %388 = load ptr, ptr %1, align 8, !tbaa !5
  %389 = getelementptr inbounds %struct.ImGuiContext, ptr %388, i32 0, i32 3
  %390 = getelementptr inbounds %struct.ImGuiPlatformIO, ptr %389, i32 0, i32 12
  %391 = load ptr, ptr %390, align 8, !tbaa !151
  %392 = load ptr, ptr %4, align 8, !tbaa !5
  call void %391(ptr noundef %392)
  br label %393

393:                                              ; preds = %387, %376
  %394 = load i8, ptr %6, align 1, !tbaa !97, !range !104, !noundef !105
  %395 = trunc i8 %394 to i1
  br i1 %395, label %396, label %427

396:                                              ; preds = %393
  %397 = load ptr, ptr %1, align 8, !tbaa !5
  %398 = getelementptr inbounds %struct.ImGuiContext, ptr %397, i32 0, i32 12
  %399 = load i32, ptr %398, align 8, !tbaa !92
  %400 = icmp slt i32 %399, 3
  br i1 %400, label %401, label %406

401:                                              ; preds = %396
  %402 = load ptr, ptr %4, align 8, !tbaa !5
  %403 = getelementptr inbounds %struct.ImGuiViewport, ptr %402, i32 0, i32 1
  %404 = load i32, ptr %403, align 4, !tbaa !152
  %405 = or i32 %404, 32
  store i32 %405, ptr %403, align 4, !tbaa !152
  br label %406

406:                                              ; preds = %401, %396
  %407 = load ptr, ptr %1, align 8, !tbaa !5
  %408 = getelementptr inbounds %struct.ImGuiContext, ptr %407, i32 0, i32 3
  %409 = getelementptr inbounds %struct.ImGuiPlatformIO, ptr %408, i32 0, i32 2
  %410 = load ptr, ptr %409, align 8, !tbaa !153
  %411 = load ptr, ptr %4, align 8, !tbaa !5
  call void %410(ptr noundef %411)
  %412 = load ptr, ptr %4, align 8, !tbaa !5
  %413 = getelementptr inbounds %struct.ImGuiViewportP, ptr %412, i32 0, i32 4
  %414 = load i32, ptr %413, align 8, !tbaa !154
  %415 = load ptr, ptr %1, align 8, !tbaa !5
  %416 = getelementptr inbounds %struct.ImGuiContext, ptr %415, i32 0, i32 111
  %417 = load i32, ptr %416, align 8, !tbaa !155
  %418 = icmp ne i32 %414, %417
  br i1 %418, label %419, label %426

419:                                              ; preds = %406
  %420 = load ptr, ptr %1, align 8, !tbaa !5
  %421 = getelementptr inbounds %struct.ImGuiContext, ptr %420, i32 0, i32 111
  %422 = load i32, ptr %421, align 8, !tbaa !155
  %423 = add nsw i32 %422, 1
  store i32 %423, ptr %421, align 8, !tbaa !155
  %424 = load ptr, ptr %4, align 8, !tbaa !5
  %425 = getelementptr inbounds %struct.ImGuiViewportP, ptr %424, i32 0, i32 4
  store i32 %423, ptr %425, align 8, !tbaa !154
  br label %426

426:                                              ; preds = %419, %406
  br label %427

427:                                              ; preds = %426, %393
  %428 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN14ImGuiViewportP17ClearRequestFlagsEv(ptr noundef nonnull align 8 dereferenceable(320) %428)
  call void @llvm.lifetime.end.p0(i64 1, ptr %6) #7
  store i32 0, ptr %2, align 4
  br label %429

429:                                              ; preds = %427, %126, %104
  call void @llvm.lifetime.end.p0(i64 1, ptr %5) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #7
  %430 = load i32, ptr %2, align 4
  switch i32 %430, label %439 [
    i32 0, label %431
    i32 4, label %432
  ]

431:                                              ; preds = %429
  br label %432

432:                                              ; preds = %431, %429
  %433 = load i32, ptr %3, align 4, !tbaa !95
  %434 = add nsw i32 %433, 1
  store i32 %434, ptr %3, align 4, !tbaa !95
  br label %54, !llvm.loop !156

435:                                              ; preds = %61
  store i32 0, ptr %2, align 4
  br label %436

436:                                              ; preds = %435, %52
  call void @llvm.lifetime.end.p0(i64 8, ptr %1) #7
  %437 = load i32, ptr %2, align 4
  switch i32 %437, label %439 [
    i32 0, label %438
    i32 1, label %438
  ]

438:                                              ; preds = %436, %436
  ret void

439:                                              ; preds = %436, %429
  unreachable
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui21DestroyPlatformWindowEP14ImGuiViewportP(ptr noundef) #4

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef ptr @_ZL24GetWindowForTitleDisplayP11ImGuiWindow(ptr noundef) #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN14ImGuiViewportP17ClearRequestFlagsEv(ptr noundef nonnull align 8 dereferenceable(320)) #1 align 2

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


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

%struct.ImVec2 = type { float, float }

@GImGui = external dso_local local_unnamed_addr global ptr, align 8
@.str.3 = external hidden unnamed_addr constant [72 x i8], align 1
@.str.345 = external hidden unnamed_addr constant [109 x i8], align 1
@__PRETTY_FUNCTION__._ZN5ImGui21UpdatePlatformWindowsEv = external hidden unnamed_addr constant [36 x i8], align 1
@.str.346 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.347 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.348 = external hidden unnamed_addr constant [4 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 nounwind uwtable
declare dso_local void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8), float noundef, float noundef) unnamed_addr #1 align 2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_Z9ImHashStrPKcmj(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN5ImGui19FindRenderedTextEndEPKcS1_(ptr noundef, ptr noundef) local_unnamed_addr #1

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

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef zeroext i1 @_ZL24IsWindowActiveAndVisibleP11ImGuiWindow(ptr noundef) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN5ImGui21UpdatePlatformWindowsEv() local_unnamed_addr #5 {
  %1 = alloca %struct.ImVec2, align 8
  %2 = load ptr, ptr @GImGui, align 8, !tbaa !5
  %3 = getelementptr inbounds i8, ptr %2, i64 16540
  %4 = load i32, ptr %3, align 4, !tbaa !9
  %5 = getelementptr inbounds i8, ptr %2, i64 16536
  %6 = load i32, ptr %5, align 8, !tbaa !92
  %7 = icmp eq i32 %4, %6
  br i1 %7, label %9, label %8

8:                                                ; preds = %0
  tail call void @__assert_fail(ptr noundef nonnull @.str.345, ptr noundef nonnull @.str.3, i32 noundef 15185, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5ImGui21UpdatePlatformWindowsEv) #6
  unreachable

9:                                                ; preds = %0
  %10 = getelementptr inbounds i8, ptr %2, i64 16544
  %11 = load i32, ptr %10, align 8, !tbaa !93
  %12 = icmp slt i32 %11, %4
  br i1 %12, label %14, label %13

13:                                               ; preds = %9
  tail call void @__assert_fail(ptr noundef nonnull @.str.346, ptr noundef nonnull @.str.3, i32 noundef 15186, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5ImGui21UpdatePlatformWindowsEv) #6
  unreachable

14:                                               ; preds = %9
  store i32 %4, ptr %10, align 8, !tbaa !93
  %15 = getelementptr inbounds i8, ptr %2, i64 15972
  %16 = load i32, ptr %15, align 4, !tbaa !94
  %17 = and i32 %16, 1024
  %.not = icmp eq i32 %17, 0
  br i1 %.not, label %.loopexit, label %.preheader

.preheader:                                       ; preds = %14
  %18 = getelementptr inbounds i8, ptr %2, i64 19576
  %19 = load i32, ptr %18, align 8, !tbaa !95
  %20 = icmp sgt i32 %19, 1
  br i1 %20, label %.lr.ph, label %.loopexit

.lr.ph:                                           ; preds = %.preheader
  %21 = getelementptr inbounds i8, ptr %2, i64 25196
  %22 = getelementptr inbounds i8, ptr %2, i64 14624
  %23 = getelementptr inbounds i8, ptr %2, i64 14768
  %24 = getelementptr inbounds i8, ptr %2, i64 19684
  %25 = getelementptr inbounds i8, ptr %2, i64 14648
  %26 = getelementptr inbounds i8, ptr %2, i64 14664
  %27 = getelementptr inbounds i8, ptr %2, i64 14784
  %28 = getelementptr inbounds i8, ptr %2, i64 14704
  %29 = getelementptr inbounds i8, ptr %2, i64 14712
  %30 = getelementptr inbounds i8, ptr %2, i64 14720
  %31 = getelementptr inbounds i8, ptr %2, i64 14640
  %32 = getelementptr inbounds i8, ptr %2, i64 19688
  br label %33

33:                                               ; preds = %.lr.ph, %189
  %.0132 = phi i32 [ 1, %.lr.ph ], [ %190, %189 ]
  %34 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8ImVectorIP14ImGuiViewportPEixEi(ptr noundef nonnull align 8 dereferenceable(16) %18, i32 noundef %.0132)
  %35 = load ptr, ptr %34, align 8, !tbaa !5
  %36 = getelementptr inbounds i8, ptr %35, i64 108
  %37 = load i32, ptr %36, align 4, !tbaa !96
  %38 = load i32, ptr %5, align 8, !tbaa !92
  %39 = add nsw i32 %38, -1
  %40 = icmp slt i32 %37, %39
  %41 = getelementptr inbounds i8, ptr %35, i64 96
  %42 = load ptr, ptr %41, align 8, !tbaa !102
  %.not122 = icmp eq ptr %42, null
  br i1 %.not122, label %46, label %43

43:                                               ; preds = %33
  %44 = call noundef zeroext i1 @_ZL24IsWindowActiveAndVisibleP11ImGuiWindow(ptr noundef nonnull %42)
  %45 = xor i1 %44, true
  br label %46

46:                                               ; preds = %43, %33
  %47 = phi i1 [ false, %33 ], [ %45, %43 ]
  %48 = or i1 %40, %47
  br i1 %48, label %49, label %50

49:                                               ; preds = %46
  call void @_ZN5ImGui21DestroyPlatformWindowEP14ImGuiViewportP(ptr noundef nonnull %35)
  br label %189

50:                                               ; preds = %46
  %51 = load i32, ptr %36, align 4, !tbaa !96
  %52 = load i32, ptr %5, align 8, !tbaa !92
  %53 = icmp slt i32 %51, %52
  br i1 %53, label %189, label %54

54:                                               ; preds = %50
  %55 = getelementptr inbounds i8, ptr %35, i64 16
  %56 = load float, ptr %55, align 8, !tbaa !103
  %57 = fcmp ugt float %56, 0.000000e+00
  br i1 %57, label %58, label %189

58:                                               ; preds = %54
  %59 = getelementptr inbounds i8, ptr %35, i64 20
  %60 = load float, ptr %59, align 4, !tbaa !104
  %61 = fcmp ugt float %60, 0.000000e+00
  br i1 %61, label %62, label %189

62:                                               ; preds = %58
  %63 = getelementptr inbounds i8, ptr %35, i64 88
  %64 = load i8, ptr %63, align 8, !tbaa !105, !range !106, !noundef !107
  %65 = icmp eq i8 %64, 0
  br i1 %65, label %66, label %._crit_edge

._crit_edge:                                      ; preds = %62
  %.phi.trans.insert = getelementptr inbounds i8, ptr %35, i64 264
  %.pre = load float, ptr %.phi.trans.insert, align 8, !tbaa !108
  br label %94

66:                                               ; preds = %62
  %67 = load i32, ptr %21, align 4, !tbaa !109
  %68 = and i32 %67, 512
  %.not123 = icmp eq i32 %68, 0
  br i1 %.not123, label %77, label %69

69:                                               ; preds = %66
  %70 = load i32, ptr %35, align 8, !tbaa !110
  %71 = load ptr, ptr %41, align 8, !tbaa !102
  %.not124 = icmp eq ptr %71, null
  br i1 %.not124, label %75, label %72

72:                                               ; preds = %69
  %73 = getelementptr inbounds i8, ptr %71, i64 8
  %74 = load ptr, ptr %73, align 8, !tbaa !111
  br label %75

75:                                               ; preds = %69, %72
  %76 = phi ptr [ %74, %72 ], [ @.str.348, %69 ]
  call void (ptr, ...) @_ZN5ImGui8DebugLogEPKcz(ptr noundef nonnull @.str.347, i32 noundef %70, ptr noundef %76)
  br label %77

77:                                               ; preds = %75, %66
  %78 = load ptr, ptr %22, align 8, !tbaa !126
  call void %78(ptr noundef nonnull %35)
  %79 = load ptr, ptr %23, align 8, !tbaa !127
  %.not125 = icmp eq ptr %79, null
  br i1 %.not125, label %81, label %80

80:                                               ; preds = %77
  call void %79(ptr noundef nonnull %35)
  br label %81

81:                                               ; preds = %80, %77
  %82 = load i32, ptr %24, align 4, !tbaa !128
  %83 = add nsw i32 %82, 1
  store i32 %83, ptr %24, align 4, !tbaa !128
  %84 = getelementptr inbounds i8, ptr %35, i64 116
  store i32 0, ptr %84, align 4, !tbaa !129
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %1) #7
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %1, float noundef 0x47EFFFFFE0000000, float noundef 0x47EFFFFFE0000000)
  %85 = getelementptr inbounds i8, ptr %35, i64 272
  %86 = load i64, ptr %1, align 8
  store i64 %86, ptr %85, align 8
  %87 = getelementptr inbounds i8, ptr %35, i64 264
  store i64 %86, ptr %87, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #7
  %88 = getelementptr inbounds i8, ptr %35, i64 280
  %89 = load i64, ptr %55, align 8
  store i64 %89, ptr %88, align 8
  store i8 1, ptr %63, align 8, !tbaa !105
  %90 = trunc i64 %86 to i32
  %91 = bitcast i32 %90 to float
  %92 = trunc i64 %89 to i32
  %93 = bitcast i32 %92 to float
  br label %94

94:                                               ; preds = %._crit_edge, %81
  %95 = phi float [ %56, %._crit_edge ], [ %93, %81 ]
  %96 = phi float [ %.pre, %._crit_edge ], [ %91, %81 ]
  %97 = getelementptr inbounds i8, ptr %35, i64 264
  %98 = getelementptr inbounds i8, ptr %35, i64 8
  %99 = load float, ptr %98, align 8, !tbaa !130
  %100 = fcmp une float %96, %99
  br i1 %100, label %107, label %101

101:                                              ; preds = %94
  %102 = getelementptr inbounds i8, ptr %35, i64 268
  %103 = load float, ptr %102, align 4, !tbaa !131
  %104 = getelementptr inbounds i8, ptr %35, i64 12
  %105 = load float, ptr %104, align 4, !tbaa !132
  %106 = fcmp une float %103, %105
  br i1 %106, label %107, label %113

107:                                              ; preds = %101, %94
  %108 = getelementptr inbounds i8, ptr %35, i64 89
  %109 = load i8, ptr %108, align 1, !tbaa !133, !range !106, !noundef !107
  %110 = trunc nuw i8 %109 to i1
  br i1 %110, label %113, label %111

111:                                              ; preds = %107
  %112 = load ptr, ptr %25, align 8, !tbaa !134
  %.sroa.013.0.copyload = load <2 x float>, ptr %98, align 8
  call void %112(ptr noundef nonnull %35, <2 x float> %.sroa.013.0.copyload)
  %.pre133 = load float, ptr %55, align 8, !tbaa !103
  br label %113

113:                                              ; preds = %111, %107, %101
  %114 = phi float [ %.pre133, %111 ], [ %95, %107 ], [ %95, %101 ]
  %115 = getelementptr inbounds i8, ptr %35, i64 272
  %116 = load float, ptr %115, align 8, !tbaa !135
  %117 = fcmp une float %116, %114
  br i1 %117, label %123, label %118

118:                                              ; preds = %113
  %119 = getelementptr inbounds i8, ptr %35, i64 276
  %120 = load float, ptr %119, align 4, !tbaa !136
  %121 = load float, ptr %59, align 4, !tbaa !104
  %122 = fcmp une float %120, %121
  br i1 %122, label %123, label %129

123:                                              ; preds = %118, %113
  %124 = getelementptr inbounds i8, ptr %35, i64 90
  %125 = load i8, ptr %124, align 2, !tbaa !137, !range !106, !noundef !107
  %126 = trunc nuw i8 %125 to i1
  br i1 %126, label %129, label %127

127:                                              ; preds = %123
  %128 = load ptr, ptr %26, align 8, !tbaa !138
  %.sroa.012.0.copyload = load <2 x float>, ptr %55, align 8
  call void %128(ptr noundef nonnull %35, <2 x float> %.sroa.012.0.copyload)
  br label %129

129:                                              ; preds = %127, %123, %118
  %130 = getelementptr inbounds i8, ptr %35, i64 280
  %131 = load float, ptr %130, align 8, !tbaa !139
  %132 = load float, ptr %55, align 8, !tbaa !103
  %133 = fcmp une float %131, %132
  br i1 %133, label %139, label %134

134:                                              ; preds = %129
  %135 = getelementptr inbounds i8, ptr %35, i64 284
  %136 = load float, ptr %135, align 4, !tbaa !140
  %137 = load float, ptr %59, align 4, !tbaa !104
  %138 = fcmp une float %136, %137
  br i1 %138, label %139, label %142

139:                                              ; preds = %134, %129
  %140 = load ptr, ptr %27, align 8, !tbaa !141
  %.not126 = icmp eq ptr %140, null
  br i1 %.not126, label %142, label %141

141:                                              ; preds = %139
  %.sroa.0.0.copyload = load <2 x float>, ptr %55, align 8
  call void %140(ptr noundef nonnull %35, <2 x float> %.sroa.0.0.copyload)
  br label %142

142:                                              ; preds = %141, %139, %134
  %143 = load i64, ptr %98, align 8
  store i64 %143, ptr %97, align 8
  %144 = load i64, ptr %55, align 8
  store i64 %144, ptr %130, align 8
  store i64 %144, ptr %115, align 8
  %145 = load ptr, ptr %41, align 8, !tbaa !102
  %146 = call noundef ptr @_ZL24GetWindowForTitleDisplayP11ImGuiWindow(ptr noundef %145)
  %.not127 = icmp eq ptr %146, null
  br i1 %.not127, label %160, label %147

147:                                              ; preds = %142
  %148 = getelementptr inbounds i8, ptr %146, i64 8
  %149 = load ptr, ptr %148, align 8, !tbaa !111
  %150 = call noundef ptr @_ZN5ImGui19FindRenderedTextEndEPKcS1_(ptr noundef %149, ptr noundef null)
  %151 = ptrtoint ptr %150 to i64
  %152 = ptrtoint ptr %149 to i64
  %153 = sub i64 %151, %152
  %154 = call noundef i32 @_Z9ImHashStrPKcmj(ptr noundef %149, i64 noundef %153, i32 noundef 0)
  %155 = getelementptr inbounds i8, ptr %35, i64 116
  %156 = load i32, ptr %155, align 4, !tbaa !129
  %.not128 = icmp eq i32 %156, %154
  br i1 %.not128, label %160, label %157

157:                                              ; preds = %147
  %158 = load i8, ptr %150, align 1, !tbaa !142
  store i8 0, ptr %150, align 1, !tbaa !142
  %159 = load ptr, ptr %28, align 8, !tbaa !143
  call void %159(ptr noundef nonnull %35, ptr noundef %149)
  store i8 %158, ptr %150, align 1, !tbaa !142
  store i32 %154, ptr %155, align 4, !tbaa !129
  br label %160

160:                                              ; preds = %147, %157, %142
  %161 = getelementptr inbounds i8, ptr %35, i64 132
  %162 = load float, ptr %161, align 4, !tbaa !144
  %163 = getelementptr inbounds i8, ptr %35, i64 128
  %164 = load float, ptr %163, align 8, !tbaa !145
  %165 = fcmp une float %162, %164
  br i1 %165, label %166, label %169

166:                                              ; preds = %160
  %167 = load ptr, ptr %29, align 8, !tbaa !146
  %.not129 = icmp eq ptr %167, null
  br i1 %.not129, label %169, label %168

168:                                              ; preds = %166
  call void %167(ptr noundef nonnull %35, float noundef %164)
  %.pre134 = load float, ptr %163, align 8, !tbaa !145
  br label %169

169:                                              ; preds = %168, %166, %160
  %170 = phi float [ %.pre134, %168 ], [ %164, %166 ], [ %164, %160 ]
  store float %170, ptr %161, align 4, !tbaa !144
  %171 = load ptr, ptr %30, align 8, !tbaa !147
  %.not130 = icmp eq ptr %171, null
  br i1 %.not130, label %173, label %172

172:                                              ; preds = %169
  call void %171(ptr noundef nonnull %35)
  br label %173

173:                                              ; preds = %172, %169
  br i1 %65, label %174, label %188

174:                                              ; preds = %173
  %175 = load i32, ptr %5, align 8, !tbaa !92
  %176 = icmp slt i32 %175, 3
  br i1 %176, label %177, label %181

177:                                              ; preds = %174
  %178 = getelementptr inbounds i8, ptr %35, i64 4
  %179 = load i32, ptr %178, align 4, !tbaa !148
  %180 = or i32 %179, 32
  store i32 %180, ptr %178, align 4, !tbaa !148
  br label %181

181:                                              ; preds = %177, %174
  %182 = load ptr, ptr %31, align 8, !tbaa !149
  call void %182(ptr noundef nonnull %35)
  %183 = getelementptr inbounds i8, ptr %35, i64 112
  %184 = load i32, ptr %183, align 8, !tbaa !150
  %185 = load i32, ptr %32, align 8, !tbaa !151
  %.not131 = icmp eq i32 %184, %185
  br i1 %.not131, label %188, label %186

186:                                              ; preds = %181
  %187 = add nsw i32 %185, 1
  store i32 %187, ptr %32, align 8, !tbaa !151
  store i32 %187, ptr %183, align 8, !tbaa !150
  br label %188

188:                                              ; preds = %181, %186, %173
  call void @_ZN14ImGuiViewportP17ClearRequestFlagsEv(ptr noundef nonnull align 8 dereferenceable(320) %35)
  br label %189

189:                                              ; preds = %50, %54, %58, %188, %49
  %190 = add nuw nsw i32 %.0132, 1
  %191 = load i32, ptr %18, align 8, !tbaa !95
  %192 = icmp slt i32 %190, %191
  br i1 %192, label %33, label %.loopexit, !llvm.loop !152

.loopexit:                                        ; preds = %189, %.preheader, %14
  ret void
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui21DestroyPlatformWindowEP14ImGuiViewportP(ptr noundef) local_unnamed_addr #3

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef ptr @_ZL24GetWindowForTitleDisplayP11ImGuiWindow(ptr noundef) local_unnamed_addr #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN14ImGuiViewportP17ClearRequestFlagsEv(ptr noundef nonnull align 8 dereferenceable(320)) local_unnamed_addr #1 align 2

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

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

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


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