; LLVM IR from erwincoumans/tiny-differentiable-simulator :: third_party/dear_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, [6 x i8], %struct.ImGuiIO, %struct.ImGuiPlatformIO, %struct.ImGuiStyle, i32, i32, [4 x i8], ptr, float, float, %struct.ImDrawListSharedData, double, i32, i32, i32, i32, i8, i8, i8, i8, i32, ptr, %struct.ImVector.5, %struct.ImVector.5, %struct.ImVector.5, %struct.ImVector.5, %struct.ImGuiStorage, i32, [4 x i8], ptr, ptr, ptr, ptr, ptr, ptr, ptr, %struct.ImVec2, float, i32, i32, i8, i8, [2 x i8], float, float, i32, i32, float, i8, i8, i8, i8, i8, i8, [2 x i8], i32, i32, [4 x i8], i64, %struct.ImVec2, ptr, i32, i32, i32, i8, i8, [2 x i8], ptr, i32, float, %struct.ImGuiNextWindowData, %struct.ImGuiNextItemData, [4 x i8], %struct.ImVector.6, %struct.ImVector.7, %struct.ImVector.8, %struct.ImVector.9, %struct.ImVector.9, %struct.ImVector.10, float, [4 x i8], ptr, ptr, ptr, i32, i32, ptr, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, %struct.ImRect, i32, i32, i32, i8, i8, i8, i8, i8, i8, i8, i8, i32, %struct.ImRect, i8, i8, [2 x i8], i32, i32, i32, i32, i32, i32, [4 x i8], %struct.ImGuiNavMoveResult, %struct.ImGuiNavMoveResult, %struct.ImGuiNavMoveResult, ptr, i32, [4 x i8], ptr, ptr, ptr, float, float, i8, [7 x i8], ptr, ptr, i32, i32, i32, i32, i8, [3 x i8], float, i32, i8, i8, i8, i8, i32, i32, i32, [4 x i8], %struct.ImGuiPayload, %struct.ImRect, i32, i32, float, i32, i32, i32, i32, [4 x i8], %struct.ImVector.11, [16 x i8], ptr, %struct.ImPool, %struct.ImVector.13, %struct.ImVector.14, %struct.ImVec2, %struct.ImGuiInputTextState, %struct.ImFont, i32, i32, float, float, [3 x float], %struct.ImVec4, float, i8, i8, [2 x i8], float, float, float, i32, [4 x i8], %struct.ImVector.2, %struct.ImVector.17, %struct.ImVec2, %struct.ImVec2, ptr, %struct.ImGuiDockContext, i8, [3 x i8], float, %struct.ImGuiTextBuffer, %struct.ImVector.20, %struct.ImChunkStream, i8, [3 x i8], i32, ptr, %struct.ImGuiTextBuffer, float, i8, [3 x i8], i32, i32, i32, i8, [3 x i8], i32, [120 x float], i32, float, i32, i32, i32, [3073 x i8], [7 x i8] }>
%struct.ImGuiIO = type { i32, i32, %struct.ImVec2, float, float, ptr, ptr, float, float, float, [22 x i32], float, float, ptr, ptr, float, i8, ptr, %struct.ImVec2, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, float, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, %struct.ImVec2, [5 x i8], float, float, i32, i8, i8, i8, i8, [512 x i8], [21 x float], i8, i8, i8, i8, i8, i8, i8, float, i32, i32, i32, i32, i32, %struct.ImVec2, i32, %struct.ImVec2, [5 x %struct.ImVec2], [5 x double], [5 x i8], [5 x i8], [5 x i8], [5 x i8], [5 x i8], [5 x float], [5 x float], [5 x %struct.ImVec2], [5 x float], [512 x float], [512 x float], [21 x float], [21 x float], float, i16, %struct.ImVector }
%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, ptr, %struct.ImVector.3, ptr, %struct.ImVector.4 }
%struct.ImVector.3 = type { i32, i32, ptr }
%struct.ImVector.4 = type { i32, i32, ptr }
%struct.ImGuiStyle = type { float, %struct.ImVec2, float, float, %struct.ImVec2, %struct.ImVec2, i32, float, float, float, float, %struct.ImVec2, float, float, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, float, float, float, float, float, float, float, float, float, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, i8, i8, i8, float, float, [50 x %struct.ImVec4] }
%struct.ImDrawListSharedData = type { %struct.ImVec2, ptr, float, float, float, %struct.ImVec4, i32, [12 x %struct.ImVec2], [64 x i8], ptr }
%struct.ImVector.5 = type { i32, i32, ptr }
%struct.ImGuiStorage = type { %struct.ImVector.0 }
%struct.ImVector.0 = type { i32, i32, ptr }
%struct.ImGuiNextWindowData = type { i32, i32, i32, i32, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, i8, i8, %struct.ImRect, ptr, ptr, float, i32, i32, %struct.ImGuiWindowClass, %struct.ImVec2 }
%struct.ImGuiWindowClass = type <{ i32, i32, i32, i32, i32, i32, i8, i8, [2 x i8] }>
%struct.ImGuiNextItemData = type <{ i32, float, i32, i32, i8, [3 x i8] }>
%struct.ImVector.6 = type { i32, i32, ptr }
%struct.ImVector.7 = type { i32, i32, ptr }
%struct.ImVector.8 = type { i32, i32, ptr }
%struct.ImVector.9 = type { i32, i32, ptr }
%struct.ImVector.10 = type { i32, i32, ptr }
%struct.ImGuiNavMoveResult = type <{ ptr, i32, i32, float, float, float, %struct.ImRect, [4 x i8] }>
%struct.ImGuiPayload = type <{ ptr, i32, i32, i32, i32, [33 x i8], i8, i8, [5 x i8] }>
%struct.ImRect = type { %struct.ImVec2, %struct.ImVec2 }
%struct.ImVector.11 = type { i32, i32, ptr }
%struct.ImPool = type <{ %struct.ImVector.12, %struct.ImGuiStorage, i32, [4 x i8] }>
%struct.ImVector.12 = type { i32, i32, ptr }
%struct.ImVector.13 = type { i32, i32, ptr }
%struct.ImVector.14 = type { i32, i32, ptr }
%struct.ImGuiInputTextState = type { i32, i32, i32, %struct.ImVector, %struct.ImVector.2, %struct.ImVector.2, i8, i32, float, %"struct.ImStb::STB_TexteditState", float, i8, i8, i8, i32, ptr, ptr }
%"struct.ImStb::STB_TexteditState" = type { i32, i32, i32, i8, 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.ImFont = type <{ %struct.ImVector.15, float, float, %struct.ImVector, %struct.ImVector.16, ptr, %struct.ImVec2, ptr, ptr, i16, i16, i16, i8, i8, float, float, float, i32, [2 x i8], [6 x i8] }>
%struct.ImVector.15 = type { i32, i32, ptr }
%struct.ImVector.16 = type { i32, i32, ptr }
%struct.ImVec4 = type { float, float, float, float }
%struct.ImVector.2 = type { i32, i32, ptr }
%struct.ImVector.17 = type { i32, i32, ptr }
%struct.ImGuiDockContext = type <{ %struct.ImGuiStorage, %struct.ImVector.18, %struct.ImVector.19, i8, [7 x i8] }>
%struct.ImVector.18 = type { i32, i32, ptr }
%struct.ImVector.19 = type { i32, i32, ptr }
%struct.ImVector.20 = type { i32, i32, ptr }
%struct.ImChunkStream = type { %struct.ImVector.2 }
%struct.ImGuiTextBuffer = type { %struct.ImVector.2 }
%struct.ImGuiViewportP = type { %struct.ImGuiViewport.base, i32, i32, [2 x i32], i32, i32, %struct.ImVec2, float, float, i16, i8, ptr, [2 x ptr], %struct.ImDrawData, %struct.ImDrawDataBuilder, %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, [4 x i8], ptr, i32, [4 x i8], ptr, ptr, ptr, ptr, i8, i8, i8 }>
%struct.ImDrawData = type { i8, ptr, i32, i32, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, ptr }
%struct.ImDrawDataBuilder = type { [2 x %struct.ImVector.32] }
%struct.ImVector.32 = type { i32, i32, ptr }
%struct.ImGuiViewport = type <{ i32, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, [4 x i8], ptr, i32, [4 x i8], ptr, ptr, ptr, ptr, i8, i8, i8, [5 x i8] }>
%struct.ImGuiWindow = type <{ ptr, i32, i32, i32, %struct.ImGuiWindowClass, ptr, i32, %struct.ImVec2, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, float, i32, i32, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i16, i16, i16, i32, i8, i8, i8, i8, i32, i32, i32, i32, i32, i32, i32, %struct.ImVec2, %struct.ImVec2, [4 x i8], %struct.ImVector.17, %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.23, float, float, i32, [4 x i8], ptr, %struct.ImDrawList, ptr, ptr, ptr, ptr, ptr, ptr, [2 x i32], [2 x %struct.ImRect], i8, [3 x i8], i32, i32, [4 x i8], ptr, ptr, i32, i32, %struct.ImRect, i16, i8, [5 x i8] }>
%struct.ImGuiWindowTempData = type <{ %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, float, %struct.ImVec1, %struct.ImVec1, %struct.ImVec1, i32, i32, %struct.ImRect, %struct.ImRect, i32, i32, i32, i32, i32, i8, i8, i8, i8, %struct.ImVec2, %struct.ImGuiMenuColumns, i32, i32, %struct.ImVector.5, ptr, ptr, i32, i32, i32, i32, i32, float, float, [4 x i8], %struct.ImVector.21, %struct.ImVector.15, %struct.ImVector.15, %struct.ImVector.22, [6 x i16], [4 x i8] }>
%struct.ImVec1 = type { float }
%struct.ImGuiMenuColumns = type { float, float, float, [3 x float], [3 x float] }
%struct.ImVector.21 = type { i32, i32, ptr }
%struct.ImVector.22 = type { i32, i32, ptr }
%struct.ImVec2ih = type { i16, i16 }
%struct.ImVector.23 = type { i32, i32, ptr }
%struct.ImDrawList = type { %struct.ImVector.24, %struct.ImVector, %struct.ImVector.25, i32, ptr, ptr, i32, ptr, ptr, %struct.ImVector.26, %struct.ImVector.27, %struct.ImVector.28, %struct.ImDrawCmd, %struct.ImDrawListSplitter }
%struct.ImVector.24 = type { i32, i32, ptr }
%struct.ImVector.25 = type { i32, i32, ptr }
%struct.ImVector.26 = type { i32, i32, ptr }
%struct.ImVector.27 = type { i32, i32, ptr }
%struct.ImVector.28 = type { i32, i32, ptr }
%struct.ImDrawCmd = type { %struct.ImVec4, ptr, i32, i32, i32, ptr, ptr }
%struct.ImDrawListSplitter = type { i32, i32, %struct.ImVector.29 }
%struct.ImVector.29 = type { i32, i32, ptr }

@GImGui = external dso_local global ptr, align 8
@.str.3 = external hidden unnamed_addr constant [109 x i8], align 1
@.str.187 = external hidden unnamed_addr constant [109 x i8], align 1
@__PRETTY_FUNCTION__._ZN5ImGui21UpdatePlatformWindowsEv = external hidden unnamed_addr constant [36 x i8], align 1
@.str.188 = external hidden unnamed_addr constant [41 x i8], align 1

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

; Function Attrs: 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 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) #4 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() #5 {
  %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
  %16 = alloca ptr, align 8
  %17 = alloca i32, align 4
  %18 = alloca ptr, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %1) #7
  %19 = load ptr, ptr @GImGui, align 8, !tbaa !5
  store ptr %19, ptr %1, align 8, !tbaa !5
  %20 = load ptr, ptr %1, align 8, !tbaa !5
  %21 = getelementptr inbounds %struct.ImGuiContext, ptr %20, i32 0, i32 15
  %22 = load i32, ptr %21, align 4, !tbaa !9
  %23 = load ptr, ptr %1, align 8, !tbaa !5
  %24 = getelementptr inbounds %struct.ImGuiContext, ptr %23, i32 0, i32 14
  %25 = load i32, ptr %24, align 8, !tbaa !63
  %26 = icmp eq i32 %22, %25
  br i1 %26, label %27, label %28

27:                                               ; preds = %0
  br label %28

28:                                               ; preds = %27, %0
  %29 = phi i1 [ false, %0 ], [ true, %27 ]
  br i1 %29, label %30, label %31

30:                                               ; preds = %28
  br label %33

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

32:                                               ; No predecessors!
  br label %33

33:                                               ; preds = %32, %30
  %34 = load ptr, ptr %1, align 8, !tbaa !5
  %35 = getelementptr inbounds %struct.ImGuiContext, ptr %34, i32 0, i32 16
  %36 = load i32, ptr %35, align 8, !tbaa !64
  %37 = load ptr, ptr %1, align 8, !tbaa !5
  %38 = getelementptr inbounds %struct.ImGuiContext, ptr %37, i32 0, i32 14
  %39 = load i32, ptr %38, align 8, !tbaa !63
  %40 = icmp slt i32 %36, %39
  br i1 %40, label %41, label %42

41:                                               ; preds = %33
  br label %44

42:                                               ; preds = %33
  call void @__assert_fail(ptr noundef @.str.188, ptr noundef @.str.3, i32 noundef 11402, ptr noundef @__PRETTY_FUNCTION__._ZN5ImGui21UpdatePlatformWindowsEv) #8
  unreachable

43:                                               ; No predecessors!
  br label %44

44:                                               ; preds = %43, %41
  %45 = load ptr, ptr %1, align 8, !tbaa !5
  %46 = getelementptr inbounds %struct.ImGuiContext, ptr %45, i32 0, i32 14
  %47 = load i32, ptr %46, align 8, !tbaa !63
  %48 = load ptr, ptr %1, align 8, !tbaa !5
  %49 = getelementptr inbounds %struct.ImGuiContext, ptr %48, i32 0, i32 16
  store i32 %47, ptr %49, align 8, !tbaa !64
  %50 = load ptr, ptr %1, align 8, !tbaa !5
  %51 = getelementptr inbounds %struct.ImGuiContext, ptr %50, i32 0, i32 6
  %52 = load i32, ptr %51, align 4, !tbaa !65
  %53 = and i32 %52, 1024
  %54 = icmp ne i32 %53, 0
  br i1 %54, label %56, label %55

55:                                               ; preds = %44
  store i32 1, ptr %2, align 4
  br label %486

56:                                               ; preds = %44
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #7
  store i32 1, ptr %3, align 4, !tbaa !66
  br label %57

57:                                               ; preds = %405, %56
  %58 = load i32, ptr %3, align 4, !tbaa !66
  %59 = load ptr, ptr %1, align 8, !tbaa !5
  %60 = getelementptr inbounds %struct.ImGuiContext, ptr %59, i32 0, i32 80
  %61 = getelementptr inbounds %struct.ImVector.10, ptr %60, i32 0, i32 0
  %62 = load i32, ptr %61, align 8, !tbaa !67
  %63 = icmp slt i32 %58, %62
  br i1 %63, label %65, label %64

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

65:                                               ; preds = %57
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #7
  %66 = load ptr, ptr %1, align 8, !tbaa !5
  %67 = getelementptr inbounds %struct.ImGuiContext, ptr %66, i32 0, i32 80
  %68 = load i32, ptr %3, align 4, !tbaa !66
  %69 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8ImVectorIP14ImGuiViewportPEixEi(ptr noundef nonnull align 8 dereferenceable(16) %67, i32 noundef %68)
  %70 = load ptr, ptr %69, align 8, !tbaa !5
  store ptr %70, 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 !68
  %71 = load ptr, ptr %4, align 8, !tbaa !5
  %72 = getelementptr inbounds %struct.ImGuiViewportP, ptr %71, i32 0, i32 2
  %73 = load i32, ptr %72, align 8, !tbaa !69
  %74 = load ptr, ptr %1, align 8, !tbaa !5
  %75 = getelementptr inbounds %struct.ImGuiContext, ptr %74, i32 0, i32 14
  %76 = load i32, ptr %75, align 8, !tbaa !63
  %77 = sub nsw i32 %76, 1
  %78 = icmp slt i32 %73, %77
  %79 = zext i1 %78 to i32
  %80 = load i8, ptr %5, align 1, !tbaa !68, !range !74, !noundef !75
  %81 = trunc i8 %80 to i1
  %82 = zext i1 %81 to i32
  %83 = or i32 %82, %79
  %84 = icmp ne i32 %83, 0
  %85 = zext i1 %84 to i8
  store i8 %85, ptr %5, align 1, !tbaa !68
  %86 = load ptr, ptr %4, align 8, !tbaa !5
  %87 = getelementptr inbounds %struct.ImGuiViewportP, ptr %86, i32 0, i32 11
  %88 = load ptr, ptr %87, align 8, !tbaa !76
  %89 = icmp ne ptr %88, null
  br i1 %89, label %90, label %96

90:                                               ; preds = %65
  %91 = load ptr, ptr %4, align 8, !tbaa !5
  %92 = getelementptr inbounds %struct.ImGuiViewportP, ptr %91, i32 0, i32 11
  %93 = load ptr, ptr %92, align 8, !tbaa !76
  %94 = call noundef zeroext i1 @_ZL24IsWindowActiveAndVisibleP11ImGuiWindow(ptr noundef %93)
  %95 = xor i1 %94, true
  br label %96

96:                                               ; preds = %90, %65
  %97 = phi i1 [ false, %65 ], [ %95, %90 ]
  %98 = zext i1 %97 to i32
  %99 = load i8, ptr %5, align 1, !tbaa !68, !range !74, !noundef !75
  %100 = trunc i8 %99 to i1
  %101 = zext i1 %100 to i32
  %102 = or i32 %101, %98
  %103 = icmp ne i32 %102, 0
  %104 = zext i1 %103 to i8
  store i8 %104, ptr %5, align 1, !tbaa !68
  %105 = load i8, ptr %5, align 1, !tbaa !68, !range !74, !noundef !75
  %106 = trunc i8 %105 to i1
  br i1 %106, label %107, label %109

107:                                              ; preds = %96
  %108 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN5ImGui21DestroyPlatformWindowEP14ImGuiViewportP(ptr noundef %108)
  store i32 4, ptr %2, align 4
  br label %402

109:                                              ; preds = %96
  %110 = load ptr, ptr %4, align 8, !tbaa !5
  %111 = getelementptr inbounds %struct.ImGuiViewportP, ptr %110, i32 0, i32 2
  %112 = load i32, ptr %111, align 8, !tbaa !69
  %113 = load ptr, ptr %1, align 8, !tbaa !5
  %114 = getelementptr inbounds %struct.ImGuiContext, ptr %113, i32 0, i32 14
  %115 = load i32, ptr %114, align 8, !tbaa !63
  %116 = icmp slt i32 %112, %115
  br i1 %116, label %129, label %117

117:                                              ; preds = %109
  %118 = load ptr, ptr %4, align 8, !tbaa !5
  %119 = getelementptr inbounds %struct.ImGuiViewport, ptr %118, i32 0, i32 3
  %120 = getelementptr inbounds %struct.ImVec2, ptr %119, i32 0, i32 0
  %121 = load float, ptr %120, align 8, !tbaa !77
  %122 = fcmp ole float %121, 0.000000e+00
  br i1 %122, label %129, label %123

123:                                              ; preds = %117
  %124 = load ptr, ptr %4, align 8, !tbaa !5
  %125 = getelementptr inbounds %struct.ImGuiViewport, ptr %124, i32 0, i32 3
  %126 = getelementptr inbounds %struct.ImVec2, ptr %125, i32 0, i32 1
  %127 = load float, ptr %126, align 4, !tbaa !78
  %128 = fcmp ole float %127, 0.000000e+00
  br i1 %128, label %129, label %130

129:                                              ; preds = %123, %117, %109
  store i32 4, ptr %2, align 4
  br label %402

130:                                              ; preds = %123
  call void @llvm.lifetime.start.p0(i64 1, ptr %6) #7
  %131 = load ptr, ptr %4, align 8, !tbaa !5
  %132 = getelementptr inbounds %struct.ImGuiViewportP, ptr %131, i32 0, i32 10
  %133 = load i8, ptr %132, align 2, !tbaa !79, !range !74, !noundef !75
  %134 = trunc i8 %133 to i1
  %135 = zext i1 %134 to i32
  %136 = icmp eq i32 %135, 0
  %137 = zext i1 %136 to i8
  store i8 %137, ptr %6, align 1, !tbaa !68
  %138 = load i8, ptr %6, align 1, !tbaa !68, !range !74, !noundef !75
  %139 = trunc i8 %138 to i1
  br i1 %139, label %140, label %170

140:                                              ; preds = %130
  %141 = load ptr, ptr %1, align 8, !tbaa !5
  %142 = getelementptr inbounds %struct.ImGuiContext, ptr %141, i32 0, i32 4
  %143 = getelementptr inbounds %struct.ImGuiPlatformIO, ptr %142, i32 0, i32 0
  %144 = load ptr, ptr %143, align 8, !tbaa !80
  %145 = load ptr, ptr %4, align 8, !tbaa !5
  call void %144(ptr noundef %145)
  %146 = load ptr, ptr %1, align 8, !tbaa !5
  %147 = getelementptr inbounds %struct.ImGuiContext, ptr %146, i32 0, i32 4
  %148 = getelementptr inbounds %struct.ImGuiPlatformIO, ptr %147, i32 0, i32 19
  %149 = load ptr, ptr %148, align 8, !tbaa !81
  %150 = icmp ne ptr %149, null
  br i1 %150, label %151, label %157

151:                                              ; preds = %140
  %152 = load ptr, ptr %1, align 8, !tbaa !5
  %153 = getelementptr inbounds %struct.ImGuiContext, ptr %152, i32 0, i32 4
  %154 = getelementptr inbounds %struct.ImGuiPlatformIO, ptr %153, i32 0, i32 19
  %155 = load ptr, ptr %154, align 8, !tbaa !81
  %156 = load ptr, ptr %4, align 8, !tbaa !5
  call void %155(ptr noundef %156)
  br label %157

157:                                              ; preds = %151, %140
  %158 = load ptr, ptr %4, align 8, !tbaa !5
  %159 = getelementptr inbounds %struct.ImGuiViewportP, ptr %158, i32 0, i32 5
  store i32 0, ptr %159, align 8, !tbaa !82
  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)
  %160 = load ptr, ptr %4, align 8, !tbaa !5
  %161 = getelementptr inbounds %struct.ImGuiViewportP, ptr %160, i32 0, i32 16
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %161, ptr align 4 %7, i64 8, i1 false), !tbaa.struct !83
  %162 = load ptr, ptr %4, align 8, !tbaa !5
  %163 = getelementptr inbounds %struct.ImGuiViewportP, ptr %162, i32 0, i32 15
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %163, ptr align 4 %161, i64 8, i1 false), !tbaa.struct !83
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #7
  %164 = load ptr, ptr %4, align 8, !tbaa !5
  %165 = getelementptr inbounds %struct.ImGuiViewport, ptr %164, i32 0, i32 3
  %166 = load ptr, ptr %4, align 8, !tbaa !5
  %167 = getelementptr inbounds %struct.ImGuiViewportP, ptr %166, i32 0, i32 17
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %167, ptr align 8 %165, i64 8, i1 false), !tbaa.struct !83
  %168 = load ptr, ptr %4, align 8, !tbaa !5
  %169 = getelementptr inbounds %struct.ImGuiViewportP, ptr %168, i32 0, i32 10
  store i8 1, ptr %169, align 2, !tbaa !79
  br label %170

170:                                              ; preds = %157, %130
  %171 = load ptr, ptr %4, align 8, !tbaa !5
  %172 = getelementptr inbounds %struct.ImGuiViewportP, ptr %171, i32 0, i32 15
  %173 = getelementptr inbounds %struct.ImVec2, ptr %172, i32 0, i32 0
  %174 = load float, ptr %173, align 8, !tbaa !85
  %175 = load ptr, ptr %4, align 8, !tbaa !5
  %176 = getelementptr inbounds %struct.ImGuiViewport, ptr %175, i32 0, i32 2
  %177 = getelementptr inbounds %struct.ImVec2, ptr %176, i32 0, i32 0
  %178 = load float, ptr %177, align 8, !tbaa !86
  %179 = fcmp une float %174, %178
  br i1 %179, label %190, label %180

180:                                              ; preds = %170
  %181 = load ptr, ptr %4, align 8, !tbaa !5
  %182 = getelementptr inbounds %struct.ImGuiViewportP, ptr %181, i32 0, i32 15
  %183 = getelementptr inbounds %struct.ImVec2, ptr %182, i32 0, i32 1
  %184 = load float, ptr %183, align 4, !tbaa !87
  %185 = load ptr, ptr %4, align 8, !tbaa !5
  %186 = getelementptr inbounds %struct.ImGuiViewport, ptr %185, i32 0, i32 2
  %187 = getelementptr inbounds %struct.ImVec2, ptr %186, i32 0, i32 1
  %188 = load float, ptr %187, align 4, !tbaa !88
  %189 = fcmp une float %184, %188
  br i1 %189, label %190, label %204

190:                                              ; preds = %180, %170
  %191 = load ptr, ptr %4, align 8, !tbaa !5
  %192 = getelementptr inbounds %struct.ImGuiViewport, ptr %191, i32 0, i32 15
  %193 = load i8, ptr %192, align 8, !tbaa !89, !range !74, !noundef !75
  %194 = trunc i8 %193 to i1
  br i1 %194, label %204, label %195

195:                                              ; preds = %190
  %196 = load ptr, ptr %1, align 8, !tbaa !5
  %197 = getelementptr inbounds %struct.ImGuiContext, ptr %196, i32 0, i32 4
  %198 = getelementptr inbounds %struct.ImGuiPlatformIO, ptr %197, i32 0, i32 3
  %199 = load ptr, ptr %198, align 8, !tbaa !90
  %200 = load ptr, ptr %4, align 8, !tbaa !5
  %201 = load ptr, ptr %4, align 8, !tbaa !5
  %202 = getelementptr inbounds %struct.ImGuiViewport, ptr %201, i32 0, i32 2
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %8, ptr align 8 %202, i64 8, i1 false), !tbaa.struct !83
  %203 = load <2 x float>, ptr %8, align 4
  call void %199(ptr noundef %200, <2 x float> %203)
  br label %204

204:                                              ; preds = %195, %190, %180
  %205 = load ptr, ptr %4, align 8, !tbaa !5
  %206 = getelementptr inbounds %struct.ImGuiViewportP, ptr %205, i32 0, i32 16
  %207 = getelementptr inbounds %struct.ImVec2, ptr %206, i32 0, i32 0
  %208 = load float, ptr %207, align 8, !tbaa !91
  %209 = load ptr, ptr %4, align 8, !tbaa !5
  %210 = getelementptr inbounds %struct.ImGuiViewport, ptr %209, i32 0, i32 3
  %211 = getelementptr inbounds %struct.ImVec2, ptr %210, i32 0, i32 0
  %212 = load float, ptr %211, align 8, !tbaa !77
  %213 = fcmp une float %208, %212
  br i1 %213, label %224, label %214

214:                                              ; preds = %204
  %215 = load ptr, ptr %4, align 8, !tbaa !5
  %216 = getelementptr inbounds %struct.ImGuiViewportP, ptr %215, i32 0, i32 16
  %217 = getelementptr inbounds %struct.ImVec2, ptr %216, i32 0, i32 1
  %218 = load float, ptr %217, align 4, !tbaa !92
  %219 = load ptr, ptr %4, align 8, !tbaa !5
  %220 = getelementptr inbounds %struct.ImGuiViewport, ptr %219, i32 0, i32 3
  %221 = getelementptr inbounds %struct.ImVec2, ptr %220, i32 0, i32 1
  %222 = load float, ptr %221, align 4, !tbaa !78
  %223 = fcmp une float %218, %222
  br i1 %223, label %224, label %238

224:                                              ; preds = %214, %204
  %225 = load ptr, ptr %4, align 8, !tbaa !5
  %226 = getelementptr inbounds %struct.ImGuiViewport, ptr %225, i32 0, i32 16
  %227 = load i8, ptr %226, align 1, !tbaa !93, !range !74, !noundef !75
  %228 = trunc i8 %227 to i1
  br i1 %228, label %238, label %229

229:                                              ; preds = %224
  %230 = load ptr, ptr %1, align 8, !tbaa !5
  %231 = getelementptr inbounds %struct.ImGuiContext, ptr %230, i32 0, i32 4
  %232 = getelementptr inbounds %struct.ImGuiPlatformIO, ptr %231, i32 0, i32 5
  %233 = load ptr, ptr %232, align 8, !tbaa !94
  %234 = load ptr, ptr %4, align 8, !tbaa !5
  %235 = load ptr, ptr %4, align 8, !tbaa !5
  %236 = getelementptr inbounds %struct.ImGuiViewport, ptr %235, i32 0, i32 3
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %9, ptr align 8 %236, i64 8, i1 false), !tbaa.struct !83
  %237 = load <2 x float>, ptr %9, align 4
  call void %233(ptr noundef %234, <2 x float> %237)
  br label %238

238:                                              ; preds = %229, %224, %214
  %239 = load ptr, ptr %4, align 8, !tbaa !5
  %240 = getelementptr inbounds %struct.ImGuiViewportP, ptr %239, i32 0, i32 17
  %241 = getelementptr inbounds %struct.ImVec2, ptr %240, i32 0, i32 0
  %242 = load float, ptr %241, align 8, !tbaa !95
  %243 = load ptr, ptr %4, align 8, !tbaa !5
  %244 = getelementptr inbounds %struct.ImGuiViewport, ptr %243, i32 0, i32 3
  %245 = getelementptr inbounds %struct.ImVec2, ptr %244, i32 0, i32 0
  %246 = load float, ptr %245, align 8, !tbaa !77
  %247 = fcmp une float %242, %246
  br i1 %247, label %258, label %248

248:                                              ; preds = %238
  %249 = load ptr, ptr %4, align 8, !tbaa !5
  %250 = getelementptr inbounds %struct.ImGuiViewportP, ptr %249, i32 0, i32 17
  %251 = getelementptr inbounds %struct.ImVec2, ptr %250, i32 0, i32 1
  %252 = load float, ptr %251, align 4, !tbaa !96
  %253 = load ptr, ptr %4, align 8, !tbaa !5
  %254 = getelementptr inbounds %struct.ImGuiViewport, ptr %253, i32 0, i32 3
  %255 = getelementptr inbounds %struct.ImVec2, ptr %254, i32 0, i32 1
  %256 = load float, ptr %255, align 4, !tbaa !78
  %257 = fcmp une float %252, %256
  br i1 %257, label %258, label %273

258:                                              ; preds = %248, %238
  %259 = load ptr, ptr %1, align 8, !tbaa !5
  %260 = getelementptr inbounds %struct.ImGuiContext, ptr %259, i32 0, i32 4
  %261 = getelementptr inbounds %struct.ImGuiPlatformIO, ptr %260, i32 0, i32 21
  %262 = load ptr, ptr %261, align 8, !tbaa !97
  %263 = icmp ne ptr %262, null
  br i1 %263, label %264, label %273

264:                                              ; preds = %258
  %265 = load ptr, ptr %1, align 8, !tbaa !5
  %266 = getelementptr inbounds %struct.ImGuiContext, ptr %265, i32 0, i32 4
  %267 = getelementptr inbounds %struct.ImGuiPlatformIO, ptr %266, i32 0, i32 21
  %268 = load ptr, ptr %267, align 8, !tbaa !97
  %269 = load ptr, ptr %4, align 8, !tbaa !5
  %270 = load ptr, ptr %4, align 8, !tbaa !5
  %271 = getelementptr inbounds %struct.ImGuiViewport, ptr %270, i32 0, i32 3
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %10, ptr align 8 %271, i64 8, i1 false), !tbaa.struct !83
  %272 = load <2 x float>, ptr %10, align 4
  call void %268(ptr noundef %269, <2 x float> %272)
  br label %273

273:                                              ; preds = %264, %258, %248
  %274 = load ptr, ptr %4, align 8, !tbaa !5
  %275 = getelementptr inbounds %struct.ImGuiViewport, ptr %274, i32 0, i32 2
  %276 = load ptr, ptr %4, align 8, !tbaa !5
  %277 = getelementptr inbounds %struct.ImGuiViewportP, ptr %276, i32 0, i32 15
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %277, ptr align 8 %275, i64 8, i1 false), !tbaa.struct !83
  %278 = load ptr, ptr %4, align 8, !tbaa !5
  %279 = getelementptr inbounds %struct.ImGuiViewport, ptr %278, i32 0, i32 3
  %280 = load ptr, ptr %4, align 8, !tbaa !5
  %281 = getelementptr inbounds %struct.ImGuiViewportP, ptr %280, i32 0, i32 17
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %281, ptr align 8 %279, i64 8, i1 false), !tbaa.struct !83
  %282 = load ptr, ptr %4, align 8, !tbaa !5
  %283 = getelementptr inbounds %struct.ImGuiViewportP, ptr %282, i32 0, i32 16
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %283, ptr align 4 %281, i64 8, i1 false), !tbaa.struct !83
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #7
  %284 = load ptr, ptr %4, align 8, !tbaa !5
  %285 = getelementptr inbounds %struct.ImGuiViewportP, ptr %284, i32 0, i32 11
  %286 = load ptr, ptr %285, align 8, !tbaa !76
  %287 = call noundef ptr @_ZL24GetWindowForTitleDisplayP11ImGuiWindow(ptr noundef %286)
  store ptr %287, ptr %11, align 8, !tbaa !5
  %288 = load ptr, ptr %11, align 8, !tbaa !5
  %289 = icmp ne ptr %288, null
  br i1 %289, label %290, label %326

290:                                              ; preds = %273
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #7
  %291 = load ptr, ptr %11, align 8, !tbaa !5
  %292 = getelementptr inbounds %struct.ImGuiWindow, ptr %291, i32 0, i32 0
  %293 = load ptr, ptr %292, align 8, !tbaa !98
  store ptr %293, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #7
  %294 = load ptr, ptr %12, align 8, !tbaa !5
  %295 = call noundef ptr @_ZN5ImGui19FindRenderedTextEndEPKcS1_(ptr noundef %294, ptr noundef null)
  %296 = ptrtoint ptr %295 to i64
  %297 = inttoptr i64 %296 to ptr
  store ptr %297, ptr %13, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #7
  %298 = load ptr, ptr %12, align 8, !tbaa !5
  %299 = load ptr, ptr %13, align 8, !tbaa !5
  %300 = load ptr, ptr %12, align 8, !tbaa !5
  %301 = ptrtoint ptr %299 to i64
  %302 = ptrtoint ptr %300 to i64
  %303 = sub i64 %301, %302
  %304 = call noundef i32 @_Z9ImHashStrPKcmj(ptr noundef %298, i64 noundef %303, i32 noundef 0)
  store i32 %304, ptr %14, align 4, !tbaa !66
  %305 = load ptr, ptr %4, align 8, !tbaa !5
  %306 = getelementptr inbounds %struct.ImGuiViewportP, ptr %305, i32 0, i32 5
  %307 = load i32, ptr %306, align 8, !tbaa !82
  %308 = load i32, ptr %14, align 4, !tbaa !66
  %309 = icmp ne i32 %307, %308
  br i1 %309, label %310, label %325

310:                                              ; preds = %290
  call void @llvm.lifetime.start.p0(i64 1, ptr %15) #7
  %311 = load ptr, ptr %13, align 8, !tbaa !5
  %312 = load i8, ptr %311, align 1, !tbaa !116
  store i8 %312, ptr %15, align 1, !tbaa !116
  %313 = load ptr, ptr %13, align 8, !tbaa !5
  store i8 0, ptr %313, align 1, !tbaa !116
  %314 = load ptr, ptr %1, align 8, !tbaa !5
  %315 = getelementptr inbounds %struct.ImGuiContext, ptr %314, i32 0, i32 4
  %316 = getelementptr inbounds %struct.ImGuiPlatformIO, ptr %315, i32 0, i32 10
  %317 = load ptr, ptr %316, align 8, !tbaa !117
  %318 = load ptr, ptr %4, align 8, !tbaa !5
  %319 = load ptr, ptr %12, align 8, !tbaa !5
  call void %317(ptr noundef %318, ptr noundef %319)
  %320 = load i8, ptr %15, align 1, !tbaa !116
  %321 = load ptr, ptr %13, align 8, !tbaa !5
  store i8 %320, ptr %321, align 1, !tbaa !116
  %322 = load i32, ptr %14, align 4, !tbaa !66
  %323 = load ptr, ptr %4, align 8, !tbaa !5
  %324 = getelementptr inbounds %struct.ImGuiViewportP, ptr %323, i32 0, i32 5
  store i32 %322, ptr %324, align 8, !tbaa !82
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #7
  br label %325

325:                                              ; preds = %310, %290
  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 %326

326:                                              ; preds = %325, %273
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #7
  %327 = load ptr, ptr %4, align 8, !tbaa !5
  %328 = getelementptr inbounds %struct.ImGuiViewportP, ptr %327, i32 0, i32 8
  %329 = load float, ptr %328, align 8, !tbaa !118
  %330 = load ptr, ptr %4, align 8, !tbaa !5
  %331 = getelementptr inbounds %struct.ImGuiViewportP, ptr %330, i32 0, i32 7
  %332 = load float, ptr %331, align 4, !tbaa !119
  %333 = fcmp une float %329, %332
  br i1 %333, label %334, label %349

334:                                              ; preds = %326
  %335 = load ptr, ptr %1, align 8, !tbaa !5
  %336 = getelementptr inbounds %struct.ImGuiContext, ptr %335, i32 0, i32 4
  %337 = getelementptr inbounds %struct.ImGuiPlatformIO, ptr %336, i32 0, i32 11
  %338 = load ptr, ptr %337, align 8, !tbaa !120
  %339 = icmp ne ptr %338, null
  br i1 %339, label %340, label %349

340:                                              ; preds = %334
  %341 = load ptr, ptr %1, align 8, !tbaa !5
  %342 = getelementptr inbounds %struct.ImGuiContext, ptr %341, i32 0, i32 4
  %343 = getelementptr inbounds %struct.ImGuiPlatformIO, ptr %342, i32 0, i32 11
  %344 = load ptr, ptr %343, align 8, !tbaa !120
  %345 = load ptr, ptr %4, align 8, !tbaa !5
  %346 = load ptr, ptr %4, align 8, !tbaa !5
  %347 = getelementptr inbounds %struct.ImGuiViewportP, ptr %346, i32 0, i32 7
  %348 = load float, ptr %347, align 4, !tbaa !119
  call void %344(ptr noundef %345, float noundef %348)
  br label %349

349:                                              ; preds = %340, %334, %326
  %350 = load ptr, ptr %4, align 8, !tbaa !5
  %351 = getelementptr inbounds %struct.ImGuiViewportP, ptr %350, i32 0, i32 7
  %352 = load float, ptr %351, align 4, !tbaa !119
  %353 = load ptr, ptr %4, align 8, !tbaa !5
  %354 = getelementptr inbounds %struct.ImGuiViewportP, ptr %353, i32 0, i32 8
  store float %352, ptr %354, align 8, !tbaa !118
  %355 = load ptr, ptr %1, align 8, !tbaa !5
  %356 = getelementptr inbounds %struct.ImGuiContext, ptr %355, i32 0, i32 4
  %357 = getelementptr inbounds %struct.ImGuiPlatformIO, ptr %356, i32 0, i32 12
  %358 = load ptr, ptr %357, align 8, !tbaa !121
  %359 = icmp ne ptr %358, null
  br i1 %359, label %360, label %366

360:                                              ; preds = %349
  %361 = load ptr, ptr %1, align 8, !tbaa !5
  %362 = getelementptr inbounds %struct.ImGuiContext, ptr %361, i32 0, i32 4
  %363 = getelementptr inbounds %struct.ImGuiPlatformIO, ptr %362, i32 0, i32 12
  %364 = load ptr, ptr %363, align 8, !tbaa !121
  %365 = load ptr, ptr %4, align 8, !tbaa !5
  call void %364(ptr noundef %365)
  br label %366

366:                                              ; preds = %360, %349
  %367 = load i8, ptr %6, align 1, !tbaa !68, !range !74, !noundef !75
  %368 = trunc i8 %367 to i1
  br i1 %368, label %369, label %400

369:                                              ; preds = %366
  %370 = load ptr, ptr %1, align 8, !tbaa !5
  %371 = getelementptr inbounds %struct.ImGuiContext, ptr %370, i32 0, i32 14
  %372 = load i32, ptr %371, align 8, !tbaa !63
  %373 = icmp slt i32 %372, 3
  br i1 %373, label %374, label %379

374:                                              ; preds = %369
  %375 = load ptr, ptr %4, align 8, !tbaa !5
  %376 = getelementptr inbounds %struct.ImGuiViewport, ptr %375, i32 0, i32 1
  %377 = load i32, ptr %376, align 4, !tbaa !122
  %378 = or i32 %377, 4
  store i32 %378, ptr %376, align 4, !tbaa !122
  br label %379

379:                                              ; preds = %374, %369
  %380 = load ptr, ptr %1, align 8, !tbaa !5
  %381 = getelementptr inbounds %struct.ImGuiContext, ptr %380, i32 0, i32 4
  %382 = getelementptr inbounds %struct.ImGuiPlatformIO, ptr %381, i32 0, i32 2
  %383 = load ptr, ptr %382, align 8, !tbaa !123
  %384 = load ptr, ptr %4, align 8, !tbaa !5
  call void %383(ptr noundef %384)
  %385 = load ptr, ptr %4, align 8, !tbaa !5
  %386 = getelementptr inbounds %struct.ImGuiViewportP, ptr %385, i32 0, i32 4
  %387 = load i32, ptr %386, align 4, !tbaa !124
  %388 = load ptr, ptr %1, align 8, !tbaa !5
  %389 = getelementptr inbounds %struct.ImGuiContext, ptr %388, i32 0, i32 87
  %390 = load i32, ptr %389, align 4, !tbaa !125
  %391 = icmp ne i32 %387, %390
  br i1 %391, label %392, label %399

392:                                              ; preds = %379
  %393 = load ptr, ptr %1, align 8, !tbaa !5
  %394 = getelementptr inbounds %struct.ImGuiContext, ptr %393, i32 0, i32 87
  %395 = load i32, ptr %394, align 4, !tbaa !125
  %396 = add nsw i32 %395, 1
  store i32 %396, ptr %394, align 4, !tbaa !125
  %397 = load ptr, ptr %4, align 8, !tbaa !5
  %398 = getelementptr inbounds %struct.ImGuiViewportP, ptr %397, i32 0, i32 4
  store i32 %396, ptr %398, align 4, !tbaa !124
  br label %399

399:                                              ; preds = %392, %379
  br label %400

400:                                              ; preds = %399, %366
  %401 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN14ImGuiViewportP17ClearRequestFlagsEv(ptr noundef nonnull align 8 dereferenceable(304) %401)
  call void @llvm.lifetime.end.p0(i64 1, ptr %6) #7
  store i32 0, ptr %2, align 4
  br label %402

402:                                              ; preds = %400, %129, %107
  call void @llvm.lifetime.end.p0(i64 1, ptr %5) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #7
  %403 = load i32, ptr %2, align 4
  switch i32 %403, label %489 [
    i32 0, label %404
    i32 4, label %405
  ]

404:                                              ; preds = %402
  br label %405

405:                                              ; preds = %404, %402
  %406 = load i32, ptr %3, align 4, !tbaa !66
  %407 = add nsw i32 %406, 1
  store i32 %407, ptr %3, align 4, !tbaa !66
  br label %57, !llvm.loop !126

408:                                              ; preds = %64
  %409 = load ptr, ptr %1, align 8, !tbaa !5
  %410 = getelementptr inbounds %struct.ImGuiContext, ptr %409, i32 0, i32 4
  %411 = getelementptr inbounds %struct.ImGuiPlatformIO, ptr %410, i32 0, i32 8
  %412 = load ptr, ptr %411, align 8, !tbaa !128
  %413 = icmp ne ptr %412, null
  br i1 %413, label %414, label %485

414:                                              ; preds = %408
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #7
  store ptr null, ptr %16, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #7
  store i32 0, ptr %17, align 4, !tbaa !66
  br label %415

415:                                              ; preds = %449, %414
  %416 = load i32, ptr %17, align 4, !tbaa !66
  %417 = load ptr, ptr %1, align 8, !tbaa !5
  %418 = getelementptr inbounds %struct.ImGuiContext, ptr %417, i32 0, i32 80
  %419 = getelementptr inbounds %struct.ImVector.10, ptr %418, i32 0, i32 0
  %420 = load i32, ptr %419, align 8, !tbaa !67
  %421 = icmp slt i32 %416, %420
  br i1 %421, label %422, label %425

422:                                              ; preds = %415
  %423 = load ptr, ptr %16, align 8, !tbaa !5
  %424 = icmp eq ptr %423, null
  br label %425

425:                                              ; preds = %422, %415
  %426 = phi i1 [ false, %415 ], [ %424, %422 ]
  br i1 %426, label %428, label %427

427:                                              ; preds = %425
  store i32 5, ptr %2, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #7
  br label %452

428:                                              ; preds = %425
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #7
  %429 = load ptr, ptr %1, align 8, !tbaa !5
  %430 = getelementptr inbounds %struct.ImGuiContext, ptr %429, i32 0, i32 80
  %431 = load i32, ptr %17, align 4, !tbaa !66
  %432 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8ImVectorIP14ImGuiViewportPEixEi(ptr noundef nonnull align 8 dereferenceable(16) %430, i32 noundef %431)
  %433 = load ptr, ptr %432, align 8, !tbaa !5
  store ptr %433, ptr %18, align 8, !tbaa !5
  %434 = load ptr, ptr %18, align 8, !tbaa !5
  %435 = getelementptr inbounds %struct.ImGuiViewportP, ptr %434, i32 0, i32 10
  %436 = load i8, ptr %435, align 2, !tbaa !79, !range !74, !noundef !75
  %437 = trunc i8 %436 to i1
  br i1 %437, label %438, label %448

438:                                              ; preds = %428
  %439 = load ptr, ptr %1, align 8, !tbaa !5
  %440 = getelementptr inbounds %struct.ImGuiContext, ptr %439, i32 0, i32 4
  %441 = getelementptr inbounds %struct.ImGuiPlatformIO, ptr %440, i32 0, i32 8
  %442 = load ptr, ptr %441, align 8, !tbaa !128
  %443 = load ptr, ptr %18, align 8, !tbaa !5
  %444 = call noundef zeroext i1 %442(ptr noundef %443)
  br i1 %444, label %445, label %447

445:                                              ; preds = %438
  %446 = load ptr, ptr %18, align 8, !tbaa !5
  store ptr %446, ptr %16, align 8, !tbaa !5
  br label %447

447:                                              ; preds = %445, %438
  br label %448

448:                                              ; preds = %447, %428
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #7
  br label %449

449:                                              ; preds = %448
  %450 = load i32, ptr %17, align 4, !tbaa !66
  %451 = add nsw i32 %450, 1
  store i32 %451, ptr %17, align 4, !tbaa !66
  br label %415, !llvm.loop !129

452:                                              ; preds = %427
  %453 = load ptr, ptr %16, align 8, !tbaa !5
  %454 = icmp ne ptr %453, null
  br i1 %454, label %455, label %484

455:                                              ; preds = %452
  %456 = load ptr, ptr %1, align 8, !tbaa !5
  %457 = getelementptr inbounds %struct.ImGuiContext, ptr %456, i32 0, i32 86
  %458 = load i32, ptr %457, align 8, !tbaa !130
  %459 = load ptr, ptr %16, align 8, !tbaa !5
  %460 = getelementptr inbounds %struct.ImGuiViewport, ptr %459, i32 0, i32 0
  %461 = load i32, ptr %460, align 8, !tbaa !131
  %462 = icmp ne i32 %458, %461
  br i1 %462, label %463, label %484

463:                                              ; preds = %455
  %464 = load ptr, ptr %16, align 8, !tbaa !5
  %465 = getelementptr inbounds %struct.ImGuiViewportP, ptr %464, i32 0, i32 4
  %466 = load i32, ptr %465, align 4, !tbaa !124
  %467 = load ptr, ptr %1, align 8, !tbaa !5
  %468 = getelementptr inbounds %struct.ImGuiContext, ptr %467, i32 0, i32 87
  %469 = load i32, ptr %468, align 4, !tbaa !125
  %470 = icmp ne i32 %466, %469
  br i1 %470, label %471, label %478

471:                                              ; preds = %463
  %472 = load ptr, ptr %1, align 8, !tbaa !5
  %473 = getelementptr inbounds %struct.ImGuiContext, ptr %472, i32 0, i32 87
  %474 = load i32, ptr %473, align 4, !tbaa !125
  %475 = add nsw i32 %474, 1
  store i32 %475, ptr %473, align 4, !tbaa !125
  %476 = load ptr, ptr %16, align 8, !tbaa !5
  %477 = getelementptr inbounds %struct.ImGuiViewportP, ptr %476, i32 0, i32 4
  store i32 %475, ptr %477, align 4, !tbaa !124
  br label %478

478:                                              ; preds = %471, %463
  %479 = load ptr, ptr %16, align 8, !tbaa !5
  %480 = getelementptr inbounds %struct.ImGuiViewport, ptr %479, i32 0, i32 0
  %481 = load i32, ptr %480, align 8, !tbaa !131
  %482 = load ptr, ptr %1, align 8, !tbaa !5
  %483 = getelementptr inbounds %struct.ImGuiContext, ptr %482, i32 0, i32 86
  store i32 %481, ptr %483, align 8, !tbaa !130
  br label %484

484:                                              ; preds = %478, %455, %452
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #7
  br label %485

485:                                              ; preds = %484, %408
  store i32 0, ptr %2, align 4
  br label %486

486:                                              ; preds = %485, %55
  call void @llvm.lifetime.end.p0(i64 8, ptr %1) #7
  %487 = load i32, ptr %2, align 4
  switch i32 %487, label %489 [
    i32 0, label %488
    i32 1, label %488
  ]

488:                                              ; preds = %486, %486
  ret void

489:                                              ; preds = %486, %402
  unreachable
}

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

; 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(304)) #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 = { 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 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { 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 6948}
!10 = !{!"_ZTS12ImGuiContext", !11, i64 0, !11, i64 1, !12, i64 8, !18, i64 5472, !21, i64 5704, !13, i64 6692, !13, i64 6696, !6, i64 6704, !15, i64 6712, !15, i64 6716, !22, i64 6720, !24, i64 6936, !13, i64 6944, !13, i64 6948, !13, i64 6952, !13, i64 6956, !11, i64 6960, !11, i64 6961, !11, i64 6962, !11, i64 6963, !13, i64 6964, !6, i64 6968, !25, i64 6976, !25, i64 6992, !25, i64 7008, !25, i64 7024, !26, i64 7040, !13, i64 7056, !6, i64 7064, !6, i64 7072, !6, i64 7080, !6, i64 7088, !6, i64 7096, !6, i64 7104, !6, i64 7112, !14, i64 7120, !15, i64 7128, !13, i64 7132, !13, i64 7136, !11, i64 7140, !11, i64 7141, !15, i64 7144, !15, i64 7148, !13, i64 7152, !13, i64 7156, !15, i64 7160, !11, i64 7164, !11, i64 7165, !11, i64 7166, !11, i64 7167, !11, i64 7168, !11, i64 7169, !13, i64 7172, !13, i64 7176, !28, i64 7184, !14, i64 7192, !6, i64 7200, !29, i64 7208, !13, i64 7212, !13, i64 7216, !11, i64 7220, !11, i64 7221, !6, i64 7224, !13, i64 7232, !15, i64 7236, !30, i64 7240, !33, i64 7384, !34, i64 7408, !35, i64 7424, !36, i64 7440, !37, i64 7456, !37, i64 7472, !38, i64 7488, !15, i64 7504, !6, i64 7512, !6, i64 7520, !6, i64 7528, !13, i64 7536, !13, i64 7540, !6, i64 7544, !13, i64 7552, !13, i64 7556, !13, i64 7560, !13, i64 7564, !13, i64 7568, !13, i64 7572, !13, i64 7576, !13, i64 7580, !13, i64 7584, !13, i64 7588, !13, i64 7592, !29, i64 7596, !31, i64 7600, !13, i64 7616, !39, i64 7620, !13, i64 7624, !11, i64 7628, !11, i64 7629, !11, i64 7630, !11, i64 7631, !11, i64 7632, !11, i64 7633, !11, i64 7634, !13, i64 7636, !31, i64 7640, !11, i64 7656, !11, i64 7657, !13, i64 7660, !40, i64 7664, !13, i64 7668, !13, i64 7672, !13, i64 7676, !13, i64 7680, !41, i64 7688, !41, i64 7736, !41, i64 7784, !6, i64 7832, !13, i64 7840, !6, i64 7848, !6, i64 7856, !6, i64 7864, !15, i64 7872, !15, i64 7876, !11, i64 7880, !6, i64 7888, !6, i64 7896, !13, i64 7904, !13, i64 7908, !13, i64 7912, !13, i64 7916, !11, i64 7920, !15, i64 7924, !13, i64 7928, !11, i64 7932, !11, i64 7933, !11, i64 7934, !13, i64 7936, !13, i64 7940, !13, i64 7944, !42, i64 7952, !31, i64 8016, !13, i64 8032, !13, i64 8036, !15, i64 8040, !13, i64 8044, !13, i64 8048, !13, i64 8052, !13, i64 8056, !43, i64 8064, !7, i64 8080, !6, i64 8096, !44, i64 8104, !46, i64 8144, !47, i64 8160, !14, i64 8176, !48, i64 8184, !52, i64 11912, !13, i64 12032, !13, i64 12036, !15, i64 12040, !15, i64 12044, !7, i64 12048, !23, i64 12060, !15, i64 12076, !11, i64 12080, !11, i64 12081, !15, i64 12084, !15, i64 12088, !15, i64 12092, !13, i64 12096, !49, i64 12104, !55, i64 12120, !14, i64 12136, !14, i64 12144, !6, i64 12152, !56, i64 12160, !11, i64 12216, !15, i64 12220, !59, i64 12224, !60, i64 12240, !61, i64 12256, !11, i64 12272, !62, i64 12276, !6, i64 12280, !59, i64 12288, !15, i64 12304, !11, i64 12308, !13, i64 12312, !13, i64 12316, !13, i64 12320, !11, i64 12324, !13, i64 12328, !7, i64 12332, !13, i64 12812, !15, i64 12816, !13, i64 12820, !13, i64 12824, !13, i64 12828, !7, i64 12832}
!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, !15, i64 40, !15, i64 44, !15, i64 48, !7, i64 52, !15, i64 140, !15, i64 144, !6, i64 152, !6, i64 160, !15, i64 168, !11, i64 172, !6, i64 176, !14, i64 184, !11, i64 192, !11, i64 193, !11, i64 194, !11, i64 195, !11, i64 196, !11, i64 197, !11, i64 198, !11, i64 199, !11, i64 200, !11, i64 201, !11, i64 202, !11, i64 203, !11, i64 204, !15, i64 208, !6, i64 216, !6, i64 224, !6, i64 232, !6, i64 240, !6, i64 248, !6, i64 256, !6, i64 264, !6, i64 272, !6, i64 280, !14, i64 288, !7, i64 296, !15, i64 304, !15, i64 308, !13, i64 312, !11, i64 316, !11, i64 317, !11, i64 318, !11, i64 319, !7, i64 320, !7, i64 832, !11, i64 916, !11, i64 917, !11, i64 918, !11, i64 919, !11, i64 920, !11, i64 921, !11, i64 922, !15, i64 924, !13, i64 928, !13, i64 932, !13, i64 936, !13, i64 940, !13, i64 944, !14, i64 948, !13, i64 956, !14, i64 960, !7, i64 968, !7, i64 1008, !7, i64 1048, !7, i64 1053, !7, i64 1058, !7, i64 1063, !7, i64 1068, !7, i64 1076, !7, i64 1096, !7, i64 1116, !7, i64 1156, !7, i64 1176, !7, i64 3224, !7, i64 5272, !7, i64 5356, !15, i64 5440, !16, i64 5444, !17, i64 5448}
!13 = !{!"int", !7, i64 0}
!14 = !{!"_ZTS6ImVec2", !15, i64 0, !15, i64 4}
!15 = !{!"float", !7, i64 0}
!16 = !{!"short", !7, i64 0}
!17 = !{!"_ZTS8ImVectorItE", !13, i64 0, !13, i64 4, !6, i64 8}
!18 = !{!"_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, !6, i64 184, !19, i64 192, !6, i64 208, !20, i64 216}
!19 = !{!"_ZTS8ImVectorI20ImGuiPlatformMonitorE", !13, i64 0, !13, i64 4, !6, i64 8}
!20 = !{!"_ZTS8ImVectorIP13ImGuiViewportE", !13, i64 0, !13, i64 4, !6, i64 8}
!21 = !{!"_ZTS10ImGuiStyle", !15, i64 0, !14, i64 4, !15, i64 12, !15, i64 16, !14, i64 20, !14, i64 28, !13, i64 36, !15, i64 40, !15, i64 44, !15, i64 48, !15, i64 52, !14, i64 56, !15, i64 64, !15, i64 68, !14, i64 72, !14, i64 80, !14, i64 88, !15, i64 96, !15, i64 100, !15, i64 104, !15, i64 108, !15, i64 112, !15, i64 116, !15, i64 120, !15, i64 124, !15, i64 128, !15, i64 132, !13, i64 136, !14, i64 140, !14, i64 148, !14, i64 156, !14, i64 164, !15, i64 172, !11, i64 176, !11, i64 177, !11, i64 178, !15, i64 180, !15, i64 184, !7, i64 188}
!22 = !{!"_ZTS20ImDrawListSharedData", !14, i64 0, !6, i64 8, !15, i64 16, !15, i64 20, !15, i64 24, !23, i64 28, !13, i64 44, !7, i64 48, !7, i64 144, !6, i64 208}
!23 = !{!"_ZTS6ImVec4", !15, i64 0, !15, i64 4, !15, i64 8, !15, i64 12}
!24 = !{!"double", !7, i64 0}
!25 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !13, i64 0, !13, i64 4, !6, i64 8}
!26 = !{!"_ZTS12ImGuiStorage", !27, i64 0}
!27 = !{!"_ZTS8ImVectorIN12ImGuiStorage16ImGuiStoragePairEE", !13, i64 0, !13, i64 4, !6, i64 8}
!28 = !{!"long long", !7, i64 0}
!29 = !{!"_ZTS16ImGuiInputSource", !7, i64 0}
!30 = !{!"_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, !11, i64 60, !11, i64 61, !31, i64 64, !6, i64 80, !6, i64 88, !15, i64 96, !13, i64 100, !13, i64 104, !32, i64 108, !14, i64 136}
!31 = !{!"_ZTS6ImRect", !14, i64 0, !14, i64 8}
!32 = !{!"_ZTS16ImGuiWindowClass", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12, !13, i64 16, !13, i64 20, !11, i64 24, !11, i64 25}
!33 = !{!"_ZTS17ImGuiNextItemData", !13, i64 0, !15, i64 4, !13, i64 8, !13, i64 12, !11, i64 16}
!34 = !{!"_ZTS8ImVectorI13ImGuiColorModE", !13, i64 0, !13, i64 4, !6, i64 8}
!35 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !13, i64 0, !13, i64 4, !6, i64 8}
!36 = !{!"_ZTS8ImVectorIP6ImFontE", !13, i64 0, !13, i64 4, !6, i64 8}
!37 = !{!"_ZTS8ImVectorI14ImGuiPopupDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!38 = !{!"_ZTS8ImVectorIP14ImGuiViewportPE", !13, i64 0, !13, i64 4, !6, i64 8}
!39 = !{!"_ZTS13ImGuiNavLayer", !7, i64 0}
!40 = !{!"_ZTS15ImGuiNavForward", !7, i64 0}
!41 = !{!"_ZTS18ImGuiNavMoveResult", !6, i64 0, !13, i64 8, !13, i64 12, !15, i64 16, !15, i64 20, !15, i64 24, !31, i64 28}
!42 = !{!"_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}
!43 = !{!"_ZTS8ImVectorIhE", !13, i64 0, !13, i64 4, !6, i64 8}
!44 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !45, i64 0, !26, i64 16, !13, i64 32}
!45 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !13, i64 0, !13, i64 4, !6, i64 8}
!46 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !13, i64 0, !13, i64 4, !6, i64 8}
!47 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !13, i64 0, !13, i64 4, !6, i64 8}
!48 = !{!"_ZTS19ImGuiInputTextState", !13, i64 0, !13, i64 4, !13, i64 8, !17, i64 16, !49, i64 32, !49, i64 48, !11, i64 64, !13, i64 68, !15, i64 72, !50, i64 76, !15, i64 3696, !11, i64 3700, !11, i64 3701, !11, i64 3702, !13, i64 3704, !6, i64 3712, !6, i64 3720}
!49 = !{!"_ZTS8ImVectorIcE", !13, i64 0, !13, i64 4, !6, i64 8}
!50 = !{!"_ZTSN5ImStb17STB_TexteditStateE", !13, i64 0, !13, i64 4, !13, i64 8, !7, i64 12, !7, i64 13, !7, i64 14, !7, i64 15, !7, i64 16, !7, i64 17, !7, i64 18, !7, i64 19, !15, i64 20, !51, i64 24}
!51 = !{!"_ZTSN5ImStb12StbUndoStateE", !7, i64 0, !7, i64 1584, !16, i64 3582, !16, i64 3584, !13, i64 3588, !13, i64 3592}
!52 = !{!"_ZTS6ImFont", !53, i64 0, !15, i64 16, !15, i64 20, !17, i64 24, !54, i64 40, !6, i64 56, !14, i64 64, !6, i64 72, !6, i64 80, !16, i64 88, !16, i64 90, !16, i64 92, !11, i64 94, !15, i64 96, !15, i64 100, !15, i64 104, !13, i64 108, !7, i64 112}
!53 = !{!"_ZTS8ImVectorIfE", !13, i64 0, !13, i64 4, !6, i64 8}
!54 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !13, i64 0, !13, i64 4, !6, i64 8}
!55 = !{!"_ZTS8ImVectorIjE", !13, i64 0, !13, i64 4, !6, i64 8}
!56 = !{!"_ZTS16ImGuiDockContext", !26, i64 0, !57, i64 16, !58, i64 32, !11, i64 48}
!57 = !{!"_ZTS8ImVectorI16ImGuiDockRequestE", !13, i64 0, !13, i64 4, !6, i64 8}
!58 = !{!"_ZTS8ImVectorI21ImGuiDockNodeSettingsE", !13, i64 0, !13, i64 4, !6, i64 8}
!59 = !{!"_ZTS15ImGuiTextBuffer", !49, i64 0}
!60 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !13, i64 0, !13, i64 4, !6, i64 8}
!61 = !{!"_ZTS13ImChunkStreamI19ImGuiWindowSettingsE", !49, i64 0}
!62 = !{!"_ZTS12ImGuiLogType", !7, i64 0}
!63 = !{!10, !13, i64 6944}
!64 = !{!10, !13, i64 6952}
!65 = !{!10, !13, i64 6692}
!66 = !{!13, !13, i64 0}
!67 = !{!10, !13, i64 7488}
!68 = !{!11, !11, i64 0}
!69 = !{!70, !13, i64 104}
!70 = !{!"_ZTS14ImGuiViewportP", !71, i64 0, !13, i64 100, !13, i64 104, !7, i64 108, !13, i64 116, !13, i64 120, !14, i64 124, !15, i64 132, !15, i64 136, !16, i64 140, !11, i64 142, !6, i64 144, !7, i64 152, !72, i64 168, !73, i64 232, !14, i64 264, !14, i64 272, !14, i64 280, !14, i64 288, !14, i64 296}
!71 = !{!"_ZTS13ImGuiViewport", !13, i64 0, !13, i64 4, !14, i64 8, !14, i64 16, !14, i64 24, !14, i64 32, !15, i64 40, !6, i64 48, !13, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !6, i64 88, !11, i64 96, !11, i64 97, !11, i64 98}
!72 = !{!"_ZTS10ImDrawData", !11, i64 0, !6, i64 8, !13, i64 16, !13, i64 20, !13, i64 24, !14, i64 28, !14, i64 36, !14, i64 44, !6, i64 56}
!73 = !{!"_ZTS17ImDrawDataBuilder", !7, i64 0}
!74 = !{i8 0, i8 2}
!75 = !{}
!76 = !{!70, !6, i64 144}
!77 = !{!71, !15, i64 16}
!78 = !{!71, !15, i64 20}
!79 = !{!70, !11, i64 142}
!80 = !{!10, !6, i64 5472}
!81 = !{!10, !6, i64 5624}
!82 = !{!70, !13, i64 120}
!83 = !{i64 0, i64 4, !84, i64 4, i64 4, !84}
!84 = !{!15, !15, i64 0}
!85 = !{!70, !15, i64 264}
!86 = !{!71, !15, i64 8}
!87 = !{!70, !15, i64 268}
!88 = !{!71, !15, i64 12}
!89 = !{!71, !11, i64 96}
!90 = !{!10, !6, i64 5496}
!91 = !{!70, !15, i64 272}
!92 = !{!70, !15, i64 276}
!93 = !{!71, !11, i64 97}
!94 = !{!10, !6, i64 5512}
!95 = !{!70, !15, i64 280}
!96 = !{!70, !15, i64 284}
!97 = !{!10, !6, i64 5640}
!98 = !{!99, !6, i64 0}
!99 = !{!"_ZTS11ImGuiWindow", !6, i64 0, !13, i64 8, !13, i64 12, !13, i64 16, !32, i64 20, !6, i64 48, !13, i64 56, !14, i64 60, !13, i64 68, !14, i64 72, !14, i64 80, !14, i64 88, !14, i64 96, !14, i64 104, !14, i64 112, !15, i64 120, !15, i64 124, !13, i64 128, !13, i64 132, !13, i64 136, !14, i64 140, !14, i64 148, !14, i64 156, !14, i64 164, !14, i64 172, !11, i64 180, !11, i64 181, !11, i64 182, !11, i64 183, !11, i64 184, !11, i64 185, !11, i64 186, !11, i64 187, !11, i64 188, !11, i64 189, !11, i64 190, !11, i64 191, !11, i64 192, !7, i64 193, !16, i64 194, !16, i64 196, !16, i64 198, !13, i64 200, !7, i64 204, !7, i64 205, !7, i64 206, !11, i64 207, !13, i64 208, !13, i64 212, !13, i64 216, !13, i64 220, !13, i64 224, !13, i64 228, !13, i64 232, !14, i64 236, !14, i64 244, !55, i64 256, !100, i64 272, !31, i64 600, !31, i64 616, !31, i64 632, !31, i64 648, !31, i64 664, !31, i64 680, !31, i64 696, !105, i64 712, !105, i64 716, !13, i64 720, !13, i64 724, !15, i64 728, !15, i64 732, !26, i64 736, !106, i64 752, !15, i64 768, !15, i64 772, !13, i64 776, !6, i64 784, !107, i64 792, !6, i64 1016, !6, i64 1024, !6, i64 1032, !6, i64 1040, !6, i64 1048, !6, i64 1056, !7, i64 1064, !7, i64 1072, !11, i64 1104, !13, i64 1108, !13, i64 1112, !6, i64 1120, !6, i64 1128, !13, i64 1136, !13, i64 1140, !31, i64 1144, !16, i64 1160, !11, i64 1162, !11, i64 1162, !11, i64 1162}
!100 = !{!"_ZTS19ImGuiWindowTempData", !14, i64 0, !14, i64 8, !14, i64 16, !14, i64 24, !14, i64 32, !14, i64 40, !15, i64 48, !15, i64 52, !101, i64 56, !101, i64 60, !101, i64 64, !13, i64 68, !13, i64 72, !31, i64 76, !31, i64 92, !39, i64 108, !13, i64 112, !13, i64 116, !13, i64 120, !13, i64 124, !11, i64 128, !11, i64 129, !11, i64 130, !14, i64 132, !102, i64 140, !13, i64 176, !13, i64 180, !25, i64 184, !6, i64 200, !6, i64 208, !13, i64 216, !13, i64 220, !13, i64 224, !13, i64 228, !13, i64 232, !15, i64 236, !15, i64 240, !103, i64 248, !53, i64 264, !53, i64 280, !104, i64 296, !7, i64 312}
!101 = !{!"_ZTS6ImVec1", !15, i64 0}
!102 = !{!"_ZTS16ImGuiMenuColumns", !15, i64 0, !15, i64 4, !15, i64 8, !7, i64 12, !7, i64 24}
!103 = !{!"_ZTS8ImVectorIiE", !13, i64 0, !13, i64 4, !6, i64 8}
!104 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!105 = !{!"_ZTS8ImVec2ih", !16, i64 0, !16, i64 2}
!106 = !{!"_ZTS8ImVectorI12ImGuiColumnsE", !13, i64 0, !13, i64 4, !6, i64 8}
!107 = !{!"_ZTS10ImDrawList", !108, i64 0, !17, i64 16, !109, i64 32, !13, i64 48, !6, i64 56, !6, i64 64, !13, i64 72, !6, i64 80, !6, i64 88, !110, i64 96, !111, i64 112, !112, i64 128, !113, i64 144, !114, i64 200}
!108 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !13, i64 0, !13, i64 4, !6, i64 8}
!109 = !{!"_ZTS8ImVectorI10ImDrawVertE", !13, i64 0, !13, i64 4, !6, i64 8}
!110 = !{!"_ZTS8ImVectorI6ImVec4E", !13, i64 0, !13, i64 4, !6, i64 8}
!111 = !{!"_ZTS8ImVectorIPvE", !13, i64 0, !13, i64 4, !6, i64 8}
!112 = !{!"_ZTS8ImVectorI6ImVec2E", !13, i64 0, !13, i64 4, !6, i64 8}
!113 = !{!"_ZTS9ImDrawCmd", !23, i64 0, !6, i64 16, !13, i64 24, !13, i64 28, !13, i64 32, !6, i64 40, !6, i64 48}
!114 = !{!"_ZTS18ImDrawListSplitter", !13, i64 0, !13, i64 4, !115, i64 8}
!115 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !13, i64 0, !13, i64 4, !6, i64 8}
!116 = !{!7, !7, i64 0}
!117 = !{!10, !6, i64 5552}
!118 = !{!70, !15, i64 136}
!119 = !{!70, !15, i64 132}
!120 = !{!10, !6, i64 5560}
!121 = !{!10, !6, i64 5568}
!122 = !{!71, !13, i64 4}
!123 = !{!10, !6, i64 5488}
!124 = !{!70, !13, i64 116}
!125 = !{!10, !13, i64 7540}
!126 = distinct !{!126, !127}
!127 = !{!"llvm.loop.mustprogress"}
!128 = !{!10, !6, i64 5536}
!129 = distinct !{!129, !127}
!130 = !{!10, !13, i64 7536}
!131 = !{!71, !13, i64 0}


; 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 [109 x i8], align 1
@.str.187 = external hidden unnamed_addr constant [109 x i8], align 1
@__PRETTY_FUNCTION__._ZN5ImGui21UpdatePlatformWindowsEv = external hidden unnamed_addr constant [36 x i8], align 1
@.str.188 = external hidden unnamed_addr constant [41 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 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 #3 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 #4 {
  %1 = alloca %struct.ImVec2, align 8
  %2 = load ptr, ptr @GImGui, align 8, !tbaa !5
  %3 = getelementptr inbounds i8, ptr %2, i64 6948
  %4 = load i32, ptr %3, align 4, !tbaa !9
  %5 = getelementptr inbounds i8, ptr %2, i64 6944
  %6 = load i32, ptr %5, align 8, !tbaa !63
  %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.187, ptr noundef nonnull @.str.3, i32 noundef 11401, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5ImGui21UpdatePlatformWindowsEv) #6
  unreachable

9:                                                ; preds = %0
  %10 = getelementptr inbounds i8, ptr %2, i64 6952
  %11 = load i32, ptr %10, align 8, !tbaa !64
  %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.188, ptr noundef nonnull @.str.3, i32 noundef 11402, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5ImGui21UpdatePlatformWindowsEv) #6
  unreachable

14:                                               ; preds = %9
  store i32 %4, ptr %10, align 8, !tbaa !64
  %15 = getelementptr inbounds i8, ptr %2, i64 6692
  %16 = load i32, ptr %15, align 4, !tbaa !65
  %17 = and i32 %16, 1024
  %.not = icmp eq i32 %17, 0
  br i1 %.not, label %._crit_edge156.thread, label %.preheader151

.preheader151:                                    ; preds = %14
  %18 = getelementptr inbounds i8, ptr %2, i64 7488
  %19 = load i32, ptr %18, align 8, !tbaa !66
  %20 = icmp sgt i32 %19, 1
  br i1 %20, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %.preheader151
  %21 = getelementptr inbounds i8, ptr %2, i64 5472
  %22 = getelementptr inbounds i8, ptr %2, i64 5624
  %23 = getelementptr inbounds i8, ptr %2, i64 5496
  %24 = getelementptr inbounds i8, ptr %2, i64 5512
  %25 = getelementptr inbounds i8, ptr %2, i64 5640
  %26 = getelementptr inbounds i8, ptr %2, i64 5552
  %27 = getelementptr inbounds i8, ptr %2, i64 5560
  %28 = getelementptr inbounds i8, ptr %2, i64 5568
  %29 = getelementptr inbounds i8, ptr %2, i64 5488
  %30 = getelementptr inbounds i8, ptr %2, i64 7540
  br label %35

._crit_edge:                                      ; preds = %177, %.preheader151
  %31 = phi i32 [ %19, %.preheader151 ], [ %179, %177 ]
  %32 = getelementptr inbounds i8, ptr %2, i64 5536
  %33 = load ptr, ptr %32, align 8, !tbaa !67
  %.not139 = icmp ne ptr %33, null
  %34 = icmp sgt i32 %31, 0
  %or.cond = and i1 %.not139, %34
  br i1 %or.cond, label %.lr.ph155, label %._crit_edge156.thread

35:                                               ; preds = %.lr.ph, %177
  %.0127153 = phi i32 [ 1, %.lr.ph ], [ %178, %177 ]
  %36 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8ImVectorIP14ImGuiViewportPEixEi(ptr noundef nonnull align 8 dereferenceable(16) %18, i32 noundef %.0127153)
  %37 = load ptr, ptr %36, align 8, !tbaa !5
  %38 = getelementptr inbounds i8, ptr %37, i64 104
  %39 = load i32, ptr %38, align 8, !tbaa !68
  %40 = load i32, ptr %5, align 8, !tbaa !63
  %41 = add nsw i32 %40, -1
  %42 = icmp slt i32 %39, %41
  %43 = getelementptr inbounds i8, ptr %37, i64 144
  %44 = load ptr, ptr %43, align 8, !tbaa !73
  %.not143 = icmp eq ptr %44, null
  br i1 %.not143, label %48, label %45

45:                                               ; preds = %35
  %46 = call noundef zeroext i1 @_ZL24IsWindowActiveAndVisibleP11ImGuiWindow(ptr noundef nonnull %44)
  %47 = xor i1 %46, true
  br label %48

48:                                               ; preds = %45, %35
  %49 = phi i1 [ false, %35 ], [ %47, %45 ]
  %50 = or i1 %42, %49
  br i1 %50, label %51, label %52

51:                                               ; preds = %48
  call void @_ZN5ImGui21DestroyPlatformWindowEP14ImGuiViewportP(ptr noundef nonnull %37)
  br label %177

52:                                               ; preds = %48
  %53 = load i32, ptr %38, align 8, !tbaa !68
  %54 = load i32, ptr %5, align 8, !tbaa !63
  %55 = icmp slt i32 %53, %54
  br i1 %55, label %177, label %56

56:                                               ; preds = %52
  %57 = getelementptr inbounds i8, ptr %37, i64 16
  %58 = load float, ptr %57, align 8, !tbaa !74
  %59 = fcmp ugt float %58, 0.000000e+00
  br i1 %59, label %60, label %177

60:                                               ; preds = %56
  %61 = getelementptr inbounds i8, ptr %37, i64 20
  %62 = load float, ptr %61, align 4, !tbaa !75
  %63 = fcmp ugt float %62, 0.000000e+00
  br i1 %63, label %64, label %177

64:                                               ; preds = %60
  %65 = getelementptr inbounds i8, ptr %37, i64 142
  %66 = load i8, ptr %65, align 2, !tbaa !76, !range !77, !noundef !78
  %67 = icmp eq i8 %66, 0
  br i1 %67, label %68, label %._crit_edge160

._crit_edge160:                                   ; preds = %64
  %.phi.trans.insert = getelementptr inbounds i8, ptr %37, i64 264
  %.pre = load float, ptr %.phi.trans.insert, align 8, !tbaa !79
  br label %83

68:                                               ; preds = %64
  %69 = load ptr, ptr %21, align 8, !tbaa !80
  call void %69(ptr noundef nonnull %37)
  %70 = load ptr, ptr %22, align 8, !tbaa !81
  %.not144 = icmp eq ptr %70, null
  br i1 %.not144, label %72, label %71

71:                                               ; preds = %68
  call void %70(ptr noundef nonnull %37)
  br label %72

72:                                               ; preds = %71, %68
  %73 = getelementptr inbounds i8, ptr %37, i64 120
  store i32 0, ptr %73, align 8, !tbaa !82
  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)
  %74 = getelementptr inbounds i8, ptr %37, i64 272
  %75 = load i64, ptr %1, align 8
  store i64 %75, ptr %74, align 8
  %76 = getelementptr inbounds i8, ptr %37, i64 264
  store i64 %75, ptr %76, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #7
  %77 = getelementptr inbounds i8, ptr %37, i64 280
  %78 = load i64, ptr %57, align 8
  store i64 %78, ptr %77, align 8
  store i8 1, ptr %65, align 2, !tbaa !76
  %79 = trunc i64 %75 to i32
  %80 = bitcast i32 %79 to float
  %81 = trunc i64 %78 to i32
  %82 = bitcast i32 %81 to float
  br label %83

83:                                               ; preds = %._crit_edge160, %72
  %84 = phi float [ %58, %._crit_edge160 ], [ %82, %72 ]
  %85 = phi float [ %.pre, %._crit_edge160 ], [ %80, %72 ]
  %86 = getelementptr inbounds i8, ptr %37, i64 264
  %87 = getelementptr inbounds i8, ptr %37, i64 8
  %88 = load float, ptr %87, align 8, !tbaa !83
  %89 = fcmp une float %85, %88
  br i1 %89, label %96, label %90

90:                                               ; preds = %83
  %91 = getelementptr inbounds i8, ptr %37, i64 268
  %92 = load float, ptr %91, align 4, !tbaa !84
  %93 = getelementptr inbounds i8, ptr %37, i64 12
  %94 = load float, ptr %93, align 4, !tbaa !85
  %95 = fcmp une float %92, %94
  br i1 %95, label %96, label %102

96:                                               ; preds = %90, %83
  %97 = getelementptr inbounds i8, ptr %37, i64 96
  %98 = load i8, ptr %97, align 8, !tbaa !86, !range !77, !noundef !78
  %99 = trunc nuw i8 %98 to i1
  br i1 %99, label %102, label %100

100:                                              ; preds = %96
  %101 = load ptr, ptr %23, align 8, !tbaa !87
  %.sroa.025.0.copyload = load <2 x float>, ptr %87, align 8
  call void %101(ptr noundef nonnull %37, <2 x float> %.sroa.025.0.copyload)
  %.pre161 = load float, ptr %57, align 8, !tbaa !74
  br label %102

102:                                              ; preds = %100, %96, %90
  %103 = phi float [ %.pre161, %100 ], [ %84, %96 ], [ %84, %90 ]
  %104 = getelementptr inbounds i8, ptr %37, i64 272
  %105 = load float, ptr %104, align 8, !tbaa !88
  %106 = fcmp une float %105, %103
  br i1 %106, label %112, label %107

107:                                              ; preds = %102
  %108 = getelementptr inbounds i8, ptr %37, i64 276
  %109 = load float, ptr %108, align 4, !tbaa !89
  %110 = load float, ptr %61, align 4, !tbaa !75
  %111 = fcmp une float %109, %110
  br i1 %111, label %112, label %118

112:                                              ; preds = %107, %102
  %113 = getelementptr inbounds i8, ptr %37, i64 97
  %114 = load i8, ptr %113, align 1, !tbaa !90, !range !77, !noundef !78
  %115 = trunc nuw i8 %114 to i1
  br i1 %115, label %118, label %116

116:                                              ; preds = %112
  %117 = load ptr, ptr %24, align 8, !tbaa !91
  %.sroa.024.0.copyload = load <2 x float>, ptr %57, align 8
  call void %117(ptr noundef nonnull %37, <2 x float> %.sroa.024.0.copyload)
  br label %118

118:                                              ; preds = %116, %112, %107
  %119 = getelementptr inbounds i8, ptr %37, i64 280
  %120 = load float, ptr %119, align 8, !tbaa !92
  %121 = load float, ptr %57, align 8, !tbaa !74
  %122 = fcmp une float %120, %121
  br i1 %122, label %128, label %123

123:                                              ; preds = %118
  %124 = getelementptr inbounds i8, ptr %37, i64 284
  %125 = load float, ptr %124, align 4, !tbaa !93
  %126 = load float, ptr %61, align 4, !tbaa !75
  %127 = fcmp une float %125, %126
  br i1 %127, label %128, label %131

128:                                              ; preds = %123, %118
  %129 = load ptr, ptr %25, align 8, !tbaa !94
  %.not145 = icmp eq ptr %129, null
  br i1 %.not145, label %131, label %130

130:                                              ; preds = %128
  %.sroa.0.0.copyload = load <2 x float>, ptr %57, align 8
  call void %129(ptr noundef nonnull %37, <2 x float> %.sroa.0.0.copyload)
  br label %131

131:                                              ; preds = %130, %128, %123
  %132 = load i64, ptr %87, align 8
  store i64 %132, ptr %86, align 8
  %133 = load i64, ptr %57, align 8
  store i64 %133, ptr %119, align 8
  store i64 %133, ptr %104, align 8
  %134 = load ptr, ptr %43, align 8, !tbaa !73
  %135 = call noundef ptr @_ZL24GetWindowForTitleDisplayP11ImGuiWindow(ptr noundef %134)
  %.not146 = icmp eq ptr %135, null
  br i1 %.not146, label %148, label %136

136:                                              ; preds = %131
  %137 = load ptr, ptr %135, align 8, !tbaa !95
  %138 = call noundef ptr @_ZN5ImGui19FindRenderedTextEndEPKcS1_(ptr noundef %137, ptr noundef null)
  %139 = ptrtoint ptr %138 to i64
  %140 = ptrtoint ptr %137 to i64
  %141 = sub i64 %139, %140
  %142 = call noundef i32 @_Z9ImHashStrPKcmj(ptr noundef %137, i64 noundef %141, i32 noundef 0)
  %143 = getelementptr inbounds i8, ptr %37, i64 120
  %144 = load i32, ptr %143, align 8, !tbaa !82
  %.not147 = icmp eq i32 %144, %142
  br i1 %.not147, label %148, label %145

145:                                              ; preds = %136
  %146 = load i8, ptr %138, align 1, !tbaa !113
  store i8 0, ptr %138, align 1, !tbaa !113
  %147 = load ptr, ptr %26, align 8, !tbaa !114
  call void %147(ptr noundef nonnull %37, ptr noundef %137)
  store i8 %146, ptr %138, align 1, !tbaa !113
  store i32 %142, ptr %143, align 8, !tbaa !82
  br label %148

148:                                              ; preds = %136, %145, %131
  %149 = getelementptr inbounds i8, ptr %37, i64 136
  %150 = load float, ptr %149, align 8, !tbaa !115
  %151 = getelementptr inbounds i8, ptr %37, i64 132
  %152 = load float, ptr %151, align 4, !tbaa !116
  %153 = fcmp une float %150, %152
  br i1 %153, label %154, label %157

154:                                              ; preds = %148
  %155 = load ptr, ptr %27, align 8, !tbaa !117
  %.not148 = icmp eq ptr %155, null
  br i1 %.not148, label %157, label %156

156:                                              ; preds = %154
  call void %155(ptr noundef nonnull %37, float noundef %152)
  %.pre162 = load float, ptr %151, align 4, !tbaa !116
  br label %157

157:                                              ; preds = %156, %154, %148
  %158 = phi float [ %.pre162, %156 ], [ %152, %154 ], [ %152, %148 ]
  store float %158, ptr %149, align 8, !tbaa !115
  %159 = load ptr, ptr %28, align 8, !tbaa !118
  %.not149 = icmp eq ptr %159, null
  br i1 %.not149, label %161, label %160

160:                                              ; preds = %157
  call void %159(ptr noundef nonnull %37)
  br label %161

161:                                              ; preds = %160, %157
  br i1 %67, label %162, label %176

162:                                              ; preds = %161
  %163 = load i32, ptr %5, align 8, !tbaa !63
  %164 = icmp slt i32 %163, 3
  br i1 %164, label %165, label %169

165:                                              ; preds = %162
  %166 = getelementptr inbounds i8, ptr %37, i64 4
  %167 = load i32, ptr %166, align 4, !tbaa !119
  %168 = or i32 %167, 4
  store i32 %168, ptr %166, align 4, !tbaa !119
  br label %169

169:                                              ; preds = %165, %162
  %170 = load ptr, ptr %29, align 8, !tbaa !120
  call void %170(ptr noundef nonnull %37)
  %171 = getelementptr inbounds i8, ptr %37, i64 116
  %172 = load i32, ptr %171, align 4, !tbaa !121
  %173 = load i32, ptr %30, align 4, !tbaa !122
  %.not150 = icmp eq i32 %172, %173
  br i1 %.not150, label %176, label %174

174:                                              ; preds = %169
  %175 = add nsw i32 %173, 1
  store i32 %175, ptr %30, align 4, !tbaa !122
  store i32 %175, ptr %171, align 4, !tbaa !121
  br label %176

176:                                              ; preds = %169, %174, %161
  call void @_ZN14ImGuiViewportP17ClearRequestFlagsEv(ptr noundef nonnull align 8 dereferenceable(304) %37)
  br label %177

177:                                              ; preds = %52, %56, %60, %176, %51
  %178 = add nuw nsw i32 %.0127153, 1
  %179 = load i32, ptr %18, align 8, !tbaa !66
  %180 = icmp slt i32 %178, %179
  br i1 %180, label %35, label %._crit_edge, !llvm.loop !123

._crit_edge156:                                   ; preds = %189
  br i1 %193, label %._crit_edge156.thread, label %195

.lr.ph155:                                        ; preds = %._crit_edge, %189
  %.0154 = phi i32 [ %190, %189 ], [ 0, %._crit_edge ]
  %181 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8ImVectorIP14ImGuiViewportPEixEi(ptr noundef nonnull align 8 dereferenceable(16) %18, i32 noundef %.0154)
  %182 = load ptr, ptr %181, align 8, !tbaa !5
  %183 = getelementptr inbounds i8, ptr %182, i64 142
  %184 = load i8, ptr %183, align 2, !tbaa !76, !range !77, !noundef !78
  %185 = trunc nuw i8 %184 to i1
  br i1 %185, label %186, label %189

186:                                              ; preds = %.lr.ph155
  %187 = load ptr, ptr %32, align 8, !tbaa !67
  %188 = call noundef zeroext i1 %187(ptr noundef nonnull %182)
  %spec.select = select i1 %188, ptr %182, ptr null
  br label %189

189:                                              ; preds = %186, %.lr.ph155
  %.1 = phi ptr [ null, %.lr.ph155 ], [ %spec.select, %186 ]
  %190 = add nuw nsw i32 %.0154, 1
  %191 = load i32, ptr %18, align 8, !tbaa !66
  %192 = icmp slt i32 %190, %191
  %193 = icmp eq ptr %.1, null
  %194 = and i1 %193, %192
  br i1 %194, label %.lr.ph155, label %._crit_edge156, !llvm.loop !125

195:                                              ; preds = %._crit_edge156
  %196 = getelementptr inbounds i8, ptr %2, i64 7536
  %197 = load i32, ptr %196, align 8, !tbaa !126
  %198 = load i32, ptr %.1, align 8, !tbaa !127
  %.not141 = icmp eq i32 %197, %198
  br i1 %.not141, label %._crit_edge156.thread, label %199

199:                                              ; preds = %195
  %200 = getelementptr inbounds i8, ptr %.1, i64 116
  %201 = load i32, ptr %200, align 4, !tbaa !121
  %202 = getelementptr inbounds i8, ptr %2, i64 7540
  %203 = load i32, ptr %202, align 4, !tbaa !122
  %.not142 = icmp eq i32 %201, %203
  br i1 %.not142, label %206, label %204

204:                                              ; preds = %199
  %205 = add nsw i32 %203, 1
  store i32 %205, ptr %202, align 4, !tbaa !122
  store i32 %205, ptr %200, align 4, !tbaa !121
  br label %206

206:                                              ; preds = %204, %199
  store i32 %198, ptr %196, align 8, !tbaa !126
  br label %._crit_edge156.thread

._crit_edge156.thread:                            ; preds = %._crit_edge, %206, %195, %._crit_edge156, %14
  ret void
}

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

; 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(304)) 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 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 #5 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { 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 6948}
!10 = !{!"_ZTS12ImGuiContext", !11, i64 0, !11, i64 1, !12, i64 8, !18, i64 5472, !21, i64 5704, !13, i64 6692, !13, i64 6696, !6, i64 6704, !15, i64 6712, !15, i64 6716, !22, i64 6720, !24, i64 6936, !13, i64 6944, !13, i64 6948, !13, i64 6952, !13, i64 6956, !11, i64 6960, !11, i64 6961, !11, i64 6962, !11, i64 6963, !13, i64 6964, !6, i64 6968, !25, i64 6976, !25, i64 6992, !25, i64 7008, !25, i64 7024, !26, i64 7040, !13, i64 7056, !6, i64 7064, !6, i64 7072, !6, i64 7080, !6, i64 7088, !6, i64 7096, !6, i64 7104, !6, i64 7112, !14, i64 7120, !15, i64 7128, !13, i64 7132, !13, i64 7136, !11, i64 7140, !11, i64 7141, !15, i64 7144, !15, i64 7148, !13, i64 7152, !13, i64 7156, !15, i64 7160, !11, i64 7164, !11, i64 7165, !11, i64 7166, !11, i64 7167, !11, i64 7168, !11, i64 7169, !13, i64 7172, !13, i64 7176, !28, i64 7184, !14, i64 7192, !6, i64 7200, !29, i64 7208, !13, i64 7212, !13, i64 7216, !11, i64 7220, !11, i64 7221, !6, i64 7224, !13, i64 7232, !15, i64 7236, !30, i64 7240, !33, i64 7384, !34, i64 7408, !35, i64 7424, !36, i64 7440, !37, i64 7456, !37, i64 7472, !38, i64 7488, !15, i64 7504, !6, i64 7512, !6, i64 7520, !6, i64 7528, !13, i64 7536, !13, i64 7540, !6, i64 7544, !13, i64 7552, !13, i64 7556, !13, i64 7560, !13, i64 7564, !13, i64 7568, !13, i64 7572, !13, i64 7576, !13, i64 7580, !13, i64 7584, !13, i64 7588, !13, i64 7592, !29, i64 7596, !31, i64 7600, !13, i64 7616, !39, i64 7620, !13, i64 7624, !11, i64 7628, !11, i64 7629, !11, i64 7630, !11, i64 7631, !11, i64 7632, !11, i64 7633, !11, i64 7634, !13, i64 7636, !31, i64 7640, !11, i64 7656, !11, i64 7657, !13, i64 7660, !40, i64 7664, !13, i64 7668, !13, i64 7672, !13, i64 7676, !13, i64 7680, !41, i64 7688, !41, i64 7736, !41, i64 7784, !6, i64 7832, !13, i64 7840, !6, i64 7848, !6, i64 7856, !6, i64 7864, !15, i64 7872, !15, i64 7876, !11, i64 7880, !6, i64 7888, !6, i64 7896, !13, i64 7904, !13, i64 7908, !13, i64 7912, !13, i64 7916, !11, i64 7920, !15, i64 7924, !13, i64 7928, !11, i64 7932, !11, i64 7933, !11, i64 7934, !13, i64 7936, !13, i64 7940, !13, i64 7944, !42, i64 7952, !31, i64 8016, !13, i64 8032, !13, i64 8036, !15, i64 8040, !13, i64 8044, !13, i64 8048, !13, i64 8052, !13, i64 8056, !43, i64 8064, !7, i64 8080, !6, i64 8096, !44, i64 8104, !46, i64 8144, !47, i64 8160, !14, i64 8176, !48, i64 8184, !52, i64 11912, !13, i64 12032, !13, i64 12036, !15, i64 12040, !15, i64 12044, !7, i64 12048, !23, i64 12060, !15, i64 12076, !11, i64 12080, !11, i64 12081, !15, i64 12084, !15, i64 12088, !15, i64 12092, !13, i64 12096, !49, i64 12104, !55, i64 12120, !14, i64 12136, !14, i64 12144, !6, i64 12152, !56, i64 12160, !11, i64 12216, !15, i64 12220, !59, i64 12224, !60, i64 12240, !61, i64 12256, !11, i64 12272, !62, i64 12276, !6, i64 12280, !59, i64 12288, !15, i64 12304, !11, i64 12308, !13, i64 12312, !13, i64 12316, !13, i64 12320, !11, i64 12324, !13, i64 12328, !7, i64 12332, !13, i64 12812, !15, i64 12816, !13, i64 12820, !13, i64 12824, !13, i64 12828, !7, i64 12832}
!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, !15, i64 40, !15, i64 44, !15, i64 48, !7, i64 52, !15, i64 140, !15, i64 144, !6, i64 152, !6, i64 160, !15, i64 168, !11, i64 172, !6, i64 176, !14, i64 184, !11, i64 192, !11, i64 193, !11, i64 194, !11, i64 195, !11, i64 196, !11, i64 197, !11, i64 198, !11, i64 199, !11, i64 200, !11, i64 201, !11, i64 202, !11, i64 203, !11, i64 204, !15, i64 208, !6, i64 216, !6, i64 224, !6, i64 232, !6, i64 240, !6, i64 248, !6, i64 256, !6, i64 264, !6, i64 272, !6, i64 280, !14, i64 288, !7, i64 296, !15, i64 304, !15, i64 308, !13, i64 312, !11, i64 316, !11, i64 317, !11, i64 318, !11, i64 319, !7, i64 320, !7, i64 832, !11, i64 916, !11, i64 917, !11, i64 918, !11, i64 919, !11, i64 920, !11, i64 921, !11, i64 922, !15, i64 924, !13, i64 928, !13, i64 932, !13, i64 936, !13, i64 940, !13, i64 944, !14, i64 948, !13, i64 956, !14, i64 960, !7, i64 968, !7, i64 1008, !7, i64 1048, !7, i64 1053, !7, i64 1058, !7, i64 1063, !7, i64 1068, !7, i64 1076, !7, i64 1096, !7, i64 1116, !7, i64 1156, !7, i64 1176, !7, i64 3224, !7, i64 5272, !7, i64 5356, !15, i64 5440, !16, i64 5444, !17, i64 5448}
!13 = !{!"int", !7, i64 0}
!14 = !{!"_ZTS6ImVec2", !15, i64 0, !15, i64 4}
!15 = !{!"float", !7, i64 0}
!16 = !{!"short", !7, i64 0}
!17 = !{!"_ZTS8ImVectorItE", !13, i64 0, !13, i64 4, !6, i64 8}
!18 = !{!"_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, !6, i64 184, !19, i64 192, !6, i64 208, !20, i64 216}
!19 = !{!"_ZTS8ImVectorI20ImGuiPlatformMonitorE", !13, i64 0, !13, i64 4, !6, i64 8}
!20 = !{!"_ZTS8ImVectorIP13ImGuiViewportE", !13, i64 0, !13, i64 4, !6, i64 8}
!21 = !{!"_ZTS10ImGuiStyle", !15, i64 0, !14, i64 4, !15, i64 12, !15, i64 16, !14, i64 20, !14, i64 28, !13, i64 36, !15, i64 40, !15, i64 44, !15, i64 48, !15, i64 52, !14, i64 56, !15, i64 64, !15, i64 68, !14, i64 72, !14, i64 80, !14, i64 88, !15, i64 96, !15, i64 100, !15, i64 104, !15, i64 108, !15, i64 112, !15, i64 116, !15, i64 120, !15, i64 124, !15, i64 128, !15, i64 132, !13, i64 136, !14, i64 140, !14, i64 148, !14, i64 156, !14, i64 164, !15, i64 172, !11, i64 176, !11, i64 177, !11, i64 178, !15, i64 180, !15, i64 184, !7, i64 188}
!22 = !{!"_ZTS20ImDrawListSharedData", !14, i64 0, !6, i64 8, !15, i64 16, !15, i64 20, !15, i64 24, !23, i64 28, !13, i64 44, !7, i64 48, !7, i64 144, !6, i64 208}
!23 = !{!"_ZTS6ImVec4", !15, i64 0, !15, i64 4, !15, i64 8, !15, i64 12}
!24 = !{!"double", !7, i64 0}
!25 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !13, i64 0, !13, i64 4, !6, i64 8}
!26 = !{!"_ZTS12ImGuiStorage", !27, i64 0}
!27 = !{!"_ZTS8ImVectorIN12ImGuiStorage16ImGuiStoragePairEE", !13, i64 0, !13, i64 4, !6, i64 8}
!28 = !{!"long long", !7, i64 0}
!29 = !{!"_ZTS16ImGuiInputSource", !7, i64 0}
!30 = !{!"_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, !11, i64 60, !11, i64 61, !31, i64 64, !6, i64 80, !6, i64 88, !15, i64 96, !13, i64 100, !13, i64 104, !32, i64 108, !14, i64 136}
!31 = !{!"_ZTS6ImRect", !14, i64 0, !14, i64 8}
!32 = !{!"_ZTS16ImGuiWindowClass", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12, !13, i64 16, !13, i64 20, !11, i64 24, !11, i64 25}
!33 = !{!"_ZTS17ImGuiNextItemData", !13, i64 0, !15, i64 4, !13, i64 8, !13, i64 12, !11, i64 16}
!34 = !{!"_ZTS8ImVectorI13ImGuiColorModE", !13, i64 0, !13, i64 4, !6, i64 8}
!35 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !13, i64 0, !13, i64 4, !6, i64 8}
!36 = !{!"_ZTS8ImVectorIP6ImFontE", !13, i64 0, !13, i64 4, !6, i64 8}
!37 = !{!"_ZTS8ImVectorI14ImGuiPopupDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!38 = !{!"_ZTS8ImVectorIP14ImGuiViewportPE", !13, i64 0, !13, i64 4, !6, i64 8}
!39 = !{!"_ZTS13ImGuiNavLayer", !7, i64 0}
!40 = !{!"_ZTS15ImGuiNavForward", !7, i64 0}
!41 = !{!"_ZTS18ImGuiNavMoveResult", !6, i64 0, !13, i64 8, !13, i64 12, !15, i64 16, !15, i64 20, !15, i64 24, !31, i64 28}
!42 = !{!"_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}
!43 = !{!"_ZTS8ImVectorIhE", !13, i64 0, !13, i64 4, !6, i64 8}
!44 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !45, i64 0, !26, i64 16, !13, i64 32}
!45 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !13, i64 0, !13, i64 4, !6, i64 8}
!46 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !13, i64 0, !13, i64 4, !6, i64 8}
!47 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !13, i64 0, !13, i64 4, !6, i64 8}
!48 = !{!"_ZTS19ImGuiInputTextState", !13, i64 0, !13, i64 4, !13, i64 8, !17, i64 16, !49, i64 32, !49, i64 48, !11, i64 64, !13, i64 68, !15, i64 72, !50, i64 76, !15, i64 3696, !11, i64 3700, !11, i64 3701, !11, i64 3702, !13, i64 3704, !6, i64 3712, !6, i64 3720}
!49 = !{!"_ZTS8ImVectorIcE", !13, i64 0, !13, i64 4, !6, i64 8}
!50 = !{!"_ZTSN5ImStb17STB_TexteditStateE", !13, i64 0, !13, i64 4, !13, i64 8, !7, i64 12, !7, i64 13, !7, i64 14, !7, i64 15, !7, i64 16, !7, i64 17, !7, i64 18, !7, i64 19, !15, i64 20, !51, i64 24}
!51 = !{!"_ZTSN5ImStb12StbUndoStateE", !7, i64 0, !7, i64 1584, !16, i64 3582, !16, i64 3584, !13, i64 3588, !13, i64 3592}
!52 = !{!"_ZTS6ImFont", !53, i64 0, !15, i64 16, !15, i64 20, !17, i64 24, !54, i64 40, !6, i64 56, !14, i64 64, !6, i64 72, !6, i64 80, !16, i64 88, !16, i64 90, !16, i64 92, !11, i64 94, !15, i64 96, !15, i64 100, !15, i64 104, !13, i64 108, !7, i64 112}
!53 = !{!"_ZTS8ImVectorIfE", !13, i64 0, !13, i64 4, !6, i64 8}
!54 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !13, i64 0, !13, i64 4, !6, i64 8}
!55 = !{!"_ZTS8ImVectorIjE", !13, i64 0, !13, i64 4, !6, i64 8}
!56 = !{!"_ZTS16ImGuiDockContext", !26, i64 0, !57, i64 16, !58, i64 32, !11, i64 48}
!57 = !{!"_ZTS8ImVectorI16ImGuiDockRequestE", !13, i64 0, !13, i64 4, !6, i64 8}
!58 = !{!"_ZTS8ImVectorI21ImGuiDockNodeSettingsE", !13, i64 0, !13, i64 4, !6, i64 8}
!59 = !{!"_ZTS15ImGuiTextBuffer", !49, i64 0}
!60 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !13, i64 0, !13, i64 4, !6, i64 8}
!61 = !{!"_ZTS13ImChunkStreamI19ImGuiWindowSettingsE", !49, i64 0}
!62 = !{!"_ZTS12ImGuiLogType", !7, i64 0}
!63 = !{!10, !13, i64 6944}
!64 = !{!10, !13, i64 6952}
!65 = !{!10, !13, i64 6692}
!66 = !{!10, !13, i64 7488}
!67 = !{!10, !6, i64 5536}
!68 = !{!69, !13, i64 104}
!69 = !{!"_ZTS14ImGuiViewportP", !70, i64 0, !13, i64 100, !13, i64 104, !7, i64 108, !13, i64 116, !13, i64 120, !14, i64 124, !15, i64 132, !15, i64 136, !16, i64 140, !11, i64 142, !6, i64 144, !7, i64 152, !71, i64 168, !72, i64 232, !14, i64 264, !14, i64 272, !14, i64 280, !14, i64 288, !14, i64 296}
!70 = !{!"_ZTS13ImGuiViewport", !13, i64 0, !13, i64 4, !14, i64 8, !14, i64 16, !14, i64 24, !14, i64 32, !15, i64 40, !6, i64 48, !13, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !6, i64 88, !11, i64 96, !11, i64 97, !11, i64 98}
!71 = !{!"_ZTS10ImDrawData", !11, i64 0, !6, i64 8, !13, i64 16, !13, i64 20, !13, i64 24, !14, i64 28, !14, i64 36, !14, i64 44, !6, i64 56}
!72 = !{!"_ZTS17ImDrawDataBuilder", !7, i64 0}
!73 = !{!69, !6, i64 144}
!74 = !{!70, !15, i64 16}
!75 = !{!70, !15, i64 20}
!76 = !{!69, !11, i64 142}
!77 = !{i8 0, i8 2}
!78 = !{}
!79 = !{!69, !15, i64 264}
!80 = !{!10, !6, i64 5472}
!81 = !{!10, !6, i64 5624}
!82 = !{!69, !13, i64 120}
!83 = !{!70, !15, i64 8}
!84 = !{!69, !15, i64 268}
!85 = !{!70, !15, i64 12}
!86 = !{!70, !11, i64 96}
!87 = !{!10, !6, i64 5496}
!88 = !{!69, !15, i64 272}
!89 = !{!69, !15, i64 276}
!90 = !{!70, !11, i64 97}
!91 = !{!10, !6, i64 5512}
!92 = !{!69, !15, i64 280}
!93 = !{!69, !15, i64 284}
!94 = !{!10, !6, i64 5640}
!95 = !{!96, !6, i64 0}
!96 = !{!"_ZTS11ImGuiWindow", !6, i64 0, !13, i64 8, !13, i64 12, !13, i64 16, !32, i64 20, !6, i64 48, !13, i64 56, !14, i64 60, !13, i64 68, !14, i64 72, !14, i64 80, !14, i64 88, !14, i64 96, !14, i64 104, !14, i64 112, !15, i64 120, !15, i64 124, !13, i64 128, !13, i64 132, !13, i64 136, !14, i64 140, !14, i64 148, !14, i64 156, !14, i64 164, !14, i64 172, !11, i64 180, !11, i64 181, !11, i64 182, !11, i64 183, !11, i64 184, !11, i64 185, !11, i64 186, !11, i64 187, !11, i64 188, !11, i64 189, !11, i64 190, !11, i64 191, !11, i64 192, !7, i64 193, !16, i64 194, !16, i64 196, !16, i64 198, !13, i64 200, !7, i64 204, !7, i64 205, !7, i64 206, !11, i64 207, !13, i64 208, !13, i64 212, !13, i64 216, !13, i64 220, !13, i64 224, !13, i64 228, !13, i64 232, !14, i64 236, !14, i64 244, !55, i64 256, !97, i64 272, !31, i64 600, !31, i64 616, !31, i64 632, !31, i64 648, !31, i64 664, !31, i64 680, !31, i64 696, !102, i64 712, !102, i64 716, !13, i64 720, !13, i64 724, !15, i64 728, !15, i64 732, !26, i64 736, !103, i64 752, !15, i64 768, !15, i64 772, !13, i64 776, !6, i64 784, !104, i64 792, !6, i64 1016, !6, i64 1024, !6, i64 1032, !6, i64 1040, !6, i64 1048, !6, i64 1056, !7, i64 1064, !7, i64 1072, !11, i64 1104, !13, i64 1108, !13, i64 1112, !6, i64 1120, !6, i64 1128, !13, i64 1136, !13, i64 1140, !31, i64 1144, !16, i64 1160, !11, i64 1162, !11, i64 1162, !11, i64 1162}
!97 = !{!"_ZTS19ImGuiWindowTempData", !14, i64 0, !14, i64 8, !14, i64 16, !14, i64 24, !14, i64 32, !14, i64 40, !15, i64 48, !15, i64 52, !98, i64 56, !98, i64 60, !98, i64 64, !13, i64 68, !13, i64 72, !31, i64 76, !31, i64 92, !39, i64 108, !13, i64 112, !13, i64 116, !13, i64 120, !13, i64 124, !11, i64 128, !11, i64 129, !11, i64 130, !14, i64 132, !99, i64 140, !13, i64 176, !13, i64 180, !25, i64 184, !6, i64 200, !6, i64 208, !13, i64 216, !13, i64 220, !13, i64 224, !13, i64 228, !13, i64 232, !15, i64 236, !15, i64 240, !100, i64 248, !53, i64 264, !53, i64 280, !101, i64 296, !7, i64 312}
!98 = !{!"_ZTS6ImVec1", !15, i64 0}
!99 = !{!"_ZTS16ImGuiMenuColumns", !15, i64 0, !15, i64 4, !15, i64 8, !7, i64 12, !7, i64 24}
!100 = !{!"_ZTS8ImVectorIiE", !13, i64 0, !13, i64 4, !6, i64 8}
!101 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!102 = !{!"_ZTS8ImVec2ih", !16, i64 0, !16, i64 2}
!103 = !{!"_ZTS8ImVectorI12ImGuiColumnsE", !13, i64 0, !13, i64 4, !6, i64 8}
!104 = !{!"_ZTS10ImDrawList", !105, i64 0, !17, i64 16, !106, i64 32, !13, i64 48, !6, i64 56, !6, i64 64, !13, i64 72, !6, i64 80, !6, i64 88, !107, i64 96, !108, i64 112, !109, i64 128, !110, i64 144, !111, i64 200}
!105 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !13, i64 0, !13, i64 4, !6, i64 8}
!106 = !{!"_ZTS8ImVectorI10ImDrawVertE", !13, i64 0, !13, i64 4, !6, i64 8}
!107 = !{!"_ZTS8ImVectorI6ImVec4E", !13, i64 0, !13, i64 4, !6, i64 8}
!108 = !{!"_ZTS8ImVectorIPvE", !13, i64 0, !13, i64 4, !6, i64 8}
!109 = !{!"_ZTS8ImVectorI6ImVec2E", !13, i64 0, !13, i64 4, !6, i64 8}
!110 = !{!"_ZTS9ImDrawCmd", !23, i64 0, !6, i64 16, !13, i64 24, !13, i64 28, !13, i64 32, !6, i64 40, !6, i64 48}
!111 = !{!"_ZTS18ImDrawListSplitter", !13, i64 0, !13, i64 4, !112, i64 8}
!112 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !13, i64 0, !13, i64 4, !6, i64 8}
!113 = !{!7, !7, i64 0}
!114 = !{!10, !6, i64 5552}
!115 = !{!69, !15, i64 136}
!116 = !{!69, !15, i64 132}
!117 = !{!10, !6, i64 5560}
!118 = !{!10, !6, i64 5568}
!119 = !{!70, !13, i64 4}
!120 = !{!10, !6, i64 5488}
!121 = !{!69, !13, i64 116}
!122 = !{!10, !13, i64 7540}
!123 = distinct !{!123, !124}
!124 = !{!"llvm.loop.mustprogress"}
!125 = distinct !{!125, !124}
!126 = !{!10, !13, i64 7536}
!127 = !{!70, !13, i64 0}


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