; LLVM IR from l1mey112/yr11-physics-applied :: cimgui/imgui/imgui.ll (ZN5ImGui5BeginEPKcPbi)

; 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.ImGuiWindowStackData = type <{ ptr, %struct.ImGuiLastItemData, %struct.ImGuiStackSizes, [2 x i8] }>
%struct.ImGuiLastItemData = type { i32, i32, i32, %struct.ImRect, %struct.ImRect, %struct.ImRect }
%struct.ImRect = type { %struct.ImVec2, %struct.ImVec2 }
%struct.ImVec2 = type { float, float }
%struct.ImGuiStackSizes = type { i16, i16, i16, i16, i16, i16, i16, i16, i16 }
%struct.ImVec4 = type { float, float, float, float }
%struct.ImGuiContext = type { i8, i8, %struct.ImGuiIO, %struct.ImVector.0, %struct.ImVector.0, %struct.ImGuiStyle, ptr, float, float, %struct.ImDrawListSharedData, double, i32, i32, i32, i8, i8, i8, i8, i8, ptr, %struct.ImVector.2, %struct.ImVector.2, %struct.ImVector.2, %struct.ImVector.3, %struct.ImGuiStorage, i32, %struct.ImVec2, ptr, ptr, ptr, ptr, ptr, %struct.ImVec2, i32, float, %struct.ImVec2, %struct.ImVec2, i32, i32, i32, i8, i8, float, float, i32, i32, float, i8, i8, i8, i8, i8, i8, %struct.ImVec2, ptr, i32, i32, i32, i8, i8, ptr, i32, float, [140 x %struct.ImGuiKeyOwnerData], %struct.ImGuiKeyRoutingTable, i32, i8, i32, i32, i32, i32, %struct.ImGuiNextItemData, %struct.ImGuiLastItemData, %struct.ImGuiNextWindowData, %struct.ImVector.6, %struct.ImVector.7, %struct.ImVector.8, %struct.ImVector.9, %struct.ImVector.10, %struct.ImVector.11, %struct.ImVector.12, %struct.ImVector.12, i32, %struct.ImVector.13, ptr, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i8, i8, i8, i8, i8, i8, i8, i32, %struct.ImRect, i8, i8, i8, i32, i32, i32, i32, i32, i32, %struct.ImRect, %struct.ImRect, i32, i32, i32, %struct.ImGuiNavItemData, %struct.ImGuiNavItemData, %struct.ImGuiNavItemData, %struct.ImGuiNavItemData, i32, i32, ptr, ptr, ptr, float, float, i8, %struct.ImVec2, %struct.ImVec2, float, i32, i8, i8, i8, i32, i32, i32, [4 x i8], %struct.ImGuiPayload, %struct.ImRect, i32, i32, float, i32, i32, i32, i32, %struct.ImVector.14, [16 x i8], i32, %struct.ImVector.15, ptr, i32, %struct.ImVector.16, %struct.ImPool, %struct.ImVector.18, %struct.ImVector.19, ptr, %struct.ImPool.20, %struct.ImVector.22, %struct.ImVector.23, i32, i32, float, float, %struct.ImVec2, %struct.ImGuiInputTextState, %struct.ImFont, i32, i32, float, float, i32, %struct.ImVec4, %struct.ImGuiComboPreviewData, float, float, i8, i8, float, float, float, float, i16, i16, %struct.ImVector.24, %struct.ImVector.9, %struct.ImGuiPlatformImeData, %struct.ImGuiPlatformImeData, i8, i8, float, %struct.ImGuiTextBuffer, %struct.ImVector.26, %struct.ImChunkStream, %struct.ImChunkStream.27, %struct.ImVector.28, i32, [7 x ptr], i8, i32, ptr, %struct.ImGuiTextBuffer, ptr, ptr, float, i8, i32, i32, i32, i32, %struct.ImGuiTextBuffer, %struct.ImGuiTextIndex, i8, i8, i8, i32, %struct.ImGuiMetricsConfig, %struct.ImGuiStackTool, [60 x float], i32, i32, float, i32, i32, i32, %struct.ImVector.24 }
%struct.ImGuiIO = type { i32, i32, %struct.ImVec2, float, float, ptr, ptr, float, float, float, float, float, float, float, ptr, ptr, float, i8, ptr, %struct.ImVec2, i8, i8, i8, i8, i8, i8, i8, i8, float, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i8, i8, i8, i8, i8, i8, i8, float, i32, i32, i32, i32, i32, %struct.ImVec2, [652 x i32], [652 x i8], [16 x float], %struct.ImVec2, [5 x i8], float, float, i8, i8, i8, i8, i32, [652 x %struct.ImGuiKeyData], i8, %struct.ImVec2, [5 x %struct.ImVec2], [5 x double], [5 x i8], [5 x i8], [5 x i16], [5 x i16], [5 x i8], [5 x i8], [5 x i8], [5 x float], [5 x float], [5 x float], float, i8, i8, i8, i8, i16, %struct.ImVector }
%struct.ImGuiKeyData = type { i8, float, float, float }
%struct.ImVector = type { i32, i32, ptr }
%struct.ImVector.0 = type { i32, i32, ptr }
%struct.ImGuiStyle = type { float, float, %struct.ImVec2, float, float, %struct.ImVec2, %struct.ImVec2, i32, float, float, float, float, %struct.ImVec2, float, float, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, float, float, float, float, float, float, float, float, float, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, i8, i8, i8, float, float, [53 x %struct.ImVec4] }
%struct.ImDrawListSharedData = type { %struct.ImVec2, ptr, float, float, float, %struct.ImVec4, i32, %struct.ImVector.1, [48 x %struct.ImVec2], float, [64 x i8], ptr }
%struct.ImVector.1 = type { i32, i32, ptr }
%struct.ImVector.2 = type { i32, i32, ptr }
%struct.ImVector.3 = type { i32, i32, ptr }
%struct.ImGuiStorage = type { %struct.ImVector.4 }
%struct.ImVector.4 = type { i32, i32, ptr }
%struct.ImGuiKeyOwnerData = type <{ i32, i32, i8, i8, [2 x i8] }>
%struct.ImGuiKeyRoutingTable = type { [140 x i16], %struct.ImVector.5, %struct.ImVector.5 }
%struct.ImVector.5 = type { i32, i32, ptr }
%struct.ImGuiNextItemData = type <{ i32, float, i32, i32, i8, [3 x i8] }>
%struct.ImGuiNextWindowData = type <{ i32, i32, i32, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, i8, [3 x i8], %struct.ImRect, [4 x i8], ptr, ptr, float, %struct.ImVec2, [4 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.10 = type { i32, i32, ptr }
%struct.ImVector.11 = type { i32, i32, ptr }
%struct.ImVector.12 = type { i32, i32, ptr }
%struct.ImVector.13 = type { i32, i32, ptr }
%struct.ImGuiNavItemData = type { ptr, i32, i32, %struct.ImRect, i32, float, float, float }
%struct.ImGuiPayload = type <{ ptr, i32, i32, i32, i32, [33 x i8], i8, i8, [5 x i8] }>
%struct.ImVector.14 = type { i32, i32, ptr }
%struct.ImVector.15 = type { i32, i32, ptr }
%struct.ImVector.16 = type { i32, i32, ptr }
%struct.ImPool = type { %struct.ImVector.17, %struct.ImGuiStorage, i32, i32 }
%struct.ImVector.17 = type { i32, i32, ptr }
%struct.ImVector.18 = type { i32, i32, ptr }
%struct.ImVector.19 = type { i32, i32, ptr }
%struct.ImPool.20 = type { %struct.ImVector.21, %struct.ImGuiStorage, i32, i32 }
%struct.ImVector.21 = type { i32, i32, ptr }
%struct.ImVector.22 = type { i32, i32, ptr }
%struct.ImVector.23 = type { i32, i32, ptr }
%struct.ImGuiInputTextState = type <{ ptr, i32, i32, i32, [4 x i8], %struct.ImVector, %struct.ImVector.24, %struct.ImVector.24, i8, [3 x i8], i32, float, %"struct.ImStb::STB_TexteditState", float, i8, i8, i8, i8, i32, [4 x i8] }>
%"struct.ImStb::STB_TexteditState" = type { i32, i32, i32, i8, i32, i8, i8, i8, i8, i8, i8, i8, float, %"struct.ImStb::StbUndoState" }
%"struct.ImStb::StbUndoState" = type { [99 x %"struct.ImStb::StbUndoRecord"], [999 x i16], i16, i16, i32, i32 }
%"struct.ImStb::StbUndoRecord" = type { i32, i32, i32, i32 }
%struct.ImFont = type <{ %struct.ImVector.18, float, float, %struct.ImVector, %struct.ImVector.25, ptr, ptr, ptr, i16, i16, i16, i16, i8, [3 x i8], float, float, float, i32, [2 x i8], [2 x i8] }>
%struct.ImVector.25 = type { i32, i32, ptr }
%struct.ImGuiComboPreviewData = type { %struct.ImRect, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, i32 }
%struct.ImVector.9 = type { i32, i32, ptr }
%struct.ImGuiPlatformImeData = type { i8, %struct.ImVec2, float }
%struct.ImVector.26 = type { i32, i32, ptr }
%struct.ImChunkStream = type { %struct.ImVector.24 }
%struct.ImChunkStream.27 = type { %struct.ImVector.24 }
%struct.ImVector.28 = type { i32, i32, ptr }
%struct.ImGuiTextBuffer = type { %struct.ImVector.24 }
%struct.ImGuiTextIndex = type <{ %struct.ImVector.10, i32, [4 x i8] }>
%struct.ImGuiMetricsConfig = type { i8, i8, i8, i8, i8, i8, i8, i32, i32 }
%struct.ImGuiStackTool = type { i32, i32, i32, %struct.ImVector.29, i8, float }
%struct.ImVector.29 = type { i32, i32, ptr }
%struct.ImVector.24 = type { i32, i32, ptr }
%struct.ImGuiWindow = type <{ ptr, i32, i32, ptr, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, float, float, float, float, float, float, float, i32, i32, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i16, i16, i16, i16, i16, i32, i8, i8, i8, i8, i32, i8, i8, i8, i8, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVector.9, %struct.ImGuiWindowTempData, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImVec2ih, %struct.ImVec2ih, i32, float, float, [4 x i8], %struct.ImGuiStorage, %struct.ImVector.32, float, i32, ptr, %struct.ImDrawList, ptr, ptr, ptr, ptr, ptr, ptr, ptr, [2 x i32], [2 x %struct.ImRect], i32, i32, i32, i8, [3 x i8] }>
%struct.ImGuiWindowTempData = type { %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, float, i8, i8, %struct.ImVec1, %struct.ImVec1, %struct.ImVec1, %struct.ImVec2, i32, i16, i16, i8, i8, i8, %struct.ImVec2, %struct.ImGuiMenuColumns, i32, i32, %struct.ImVector.2, ptr, ptr, i32, i32, i32, float, float, %struct.ImVector.18, %struct.ImVector.18 }
%struct.ImVec1 = type { float }
%struct.ImGuiMenuColumns = type <{ i32, i32, i16, i16, i16, i16, i16, [4 x i16], [2 x i8] }>
%struct.ImVec2ih = type { i16, i16 }
%struct.ImVector.32 = type { i32, i32, ptr }
%struct.ImDrawList = type <{ %struct.ImVector.33, %struct.ImVector, %struct.ImVector.34, i32, i32, ptr, ptr, ptr, ptr, %struct.ImVector.35, %struct.ImVector.36, %struct.ImVector.1, %struct.ImDrawCmdHeader, %struct.ImDrawListSplitter, float, [4 x i8] }>
%struct.ImVector.33 = type { i32, i32, ptr }
%struct.ImVector.34 = type { i32, i32, ptr }
%struct.ImVector.35 = type { i32, i32, ptr }
%struct.ImVector.36 = type { i32, i32, ptr }
%struct.ImDrawCmdHeader = type <{ %struct.ImVec4, ptr, i32, [4 x i8] }>
%struct.ImDrawListSplitter = type { i32, i32, %struct.ImVector.19 }
%struct.ImGuiPopupData = type <{ i32, [4 x i8], ptr, ptr, i32, i32, i32, %struct.ImVec2, %struct.ImVec2, [4 x i8] }>
%struct.ImDrawCmd = type { %struct.ImVec4, ptr, i32, i32, i32, ptr, ptr }
%struct.ImFontAtlas = type <{ i32, [4 x i8], ptr, i32, i32, i8, [7 x i8], ptr, i8, i8, [6 x i8], ptr, ptr, i32, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVector.8, %struct.ImVector.44, %struct.ImVector.45, [64 x %struct.ImVec4], ptr, i32, i32, i32, [4 x i8] }>
%struct.ImVector.44 = type { i32, i32, ptr }
%struct.ImVector.45 = type { i32, i32, ptr }

@GImGui = external dso_local global ptr, align 8
@.str.4 = external hidden unnamed_addr constant [86 x i8], align 1
@.str.125 = external hidden unnamed_addr constant [34 x i8], align 1
@__PRETTY_FUNCTION__._ZN5ImGui5BeginEPKcPbi = external hidden unnamed_addr constant [58 x i8], align 1
@.str.126 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.127 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.128 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.129 = external hidden unnamed_addr constant [67 x i8], align 1
@.str.130 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.131 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.132 = external hidden unnamed_addr constant [87 x i8], align 1
@.str.133 = external hidden unnamed_addr constant [43 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: inlinehint mustprogress uwtable
declare hidden <2 x float> @_ZL7ImFloorRK6ImVec2(ptr noundef nonnull align 4 dereferenceable(8)) #3

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef float @_ZL7ImFloorf(float noundef) #4

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #5

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef float @_ZL11ImLengthSqrRK6ImVec2(ptr noundef nonnull align 4 dereferenceable(8)) #4

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_Z11ImStrdupcpyPcPmPKc(ptr noundef, ptr noundef, ptr noundef) #8

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef, float noundef) #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6ImRect8ClipWithERKS_(ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(16)) #9 align 2

declare void @_ZN10ImDrawList13PushTextureIDEPv(ptr noundef nonnull align 8 dereferenceable(196), ptr noundef) #10

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui29GcAwakeTransientWindowBuffersEP11ImGuiWindow(ptr noundef) #8

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN5ImGui19IsMouseHoveringRectERK6ImVec2S2_b(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8), i1 noundef zeroext) #9

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK6ImRect8OverlapsERKS_(ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(16)) #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN5ImGui15SetLastItemDataEjiiRK6ImRect(i32 noundef, i32 noundef, i32 noundef, ptr noundef nonnull align 4 dereferenceable(16)) #1

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui11FocusWindowEP11ImGuiWindow(ptr noundef) #8

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui12SetWindowPosEP11ImGuiWindowRK6ImVec2i(ptr noundef, ptr noundef nonnull align 4 dereferenceable(8), i32 noundef) #9

; Function Attrs: mustprogress uwtable
declare dso_local { <2 x float>, <2 x float> } @_ZNK11ImGuiWindow12TitleBarRectEv(ptr noundef nonnull align 8 dereferenceable(973)) #8 align 2

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local { <2 x float>, <2 x float> } @_ZNK14ImGuiViewportP11GetMainRectEv(ptr noundef nonnull align 8 dereferenceable(184)) #8 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN5ImGui5BeginEPKcPbi(ptr noundef %0, ptr noundef %1, i32 noundef %2) #9 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca i8, align 1
  %11 = alloca i32, align 4
  %12 = alloca i8, align 1
  %13 = alloca i8, align 1
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca ptr, align 8
  %17 = alloca %struct.ImGuiWindowStackData, align 8
  %18 = alloca ptr, align 8
  %19 = alloca i8, align 1
  %20 = alloca i8, align 1
  %21 = alloca i8, align 1
  %22 = alloca %struct.ImVec2, align 4
  %23 = alloca i8, align 1
  %24 = alloca i8, align 1
  %25 = alloca %struct.ImRect, align 4
  %26 = alloca %struct.ImVec4, align 4
  %27 = alloca i8, align 1
  %28 = alloca i64, align 8
  %29 = alloca %struct.ImVec2, align 4
  %30 = alloca ptr, align 8
  %31 = alloca %struct.ImVec2, align 4
  %32 = alloca i8, align 1
  %33 = alloca i8, align 1
  %34 = alloca %struct.ImRect, align 4
  %35 = alloca %struct.ImVec2, align 4
  %36 = alloca %struct.ImVec2, align 4
  %37 = alloca %struct.ImVec2, align 4
  %38 = alloca %struct.ImVec2, align 4
  %39 = alloca %struct.ImVec2, align 4
  %40 = alloca %struct.ImRect, align 4
  %41 = alloca i8, align 1
  %42 = alloca %struct.ImVec2, align 4
  %43 = alloca %struct.ImVec2, align 4
  %44 = alloca %struct.ImVec2, align 4
  %45 = alloca %struct.ImVec2, align 4
  %46 = alloca %struct.ImVec2, align 4
  %47 = alloca %struct.ImRect, align 4
  %48 = alloca %struct.ImRect, align 4
  %49 = alloca %struct.ImVec2, align 4
  %50 = alloca %struct.ImRect, align 4
  %51 = alloca %struct.ImVec2, align 4
  %52 = alloca %struct.ImVec2, align 4
  %53 = alloca %struct.ImVec2, align 4
  %54 = alloca i8, align 1
  %55 = alloca ptr, align 8
  %56 = alloca ptr, align 8
  %57 = alloca i32, align 4
  %58 = alloca [4 x i32], align 16
  %59 = alloca i32, align 4
  %60 = alloca float, align 4
  %61 = alloca %struct.ImVec2, align 4
  %62 = alloca %struct.ImVec2, align 4
  %63 = alloca %struct.ImVec2, align 4
  %64 = alloca %struct.ImVec2, align 4
  %65 = alloca %struct.ImVec2, align 4
  %66 = alloca float, align 4
  %67 = alloca float, align 4
  %68 = alloca %struct.ImVec2, align 4
  %69 = alloca %struct.ImRect, align 4
  %70 = alloca %struct.ImRect, align 4
  %71 = alloca %struct.ImRect, align 4
  %72 = alloca float, align 4
  %73 = alloca %struct.ImVec2, align 4
  %74 = alloca %struct.ImVec2, align 4
  %75 = alloca i8, align 1
  %76 = alloca ptr, align 8
  %77 = alloca i8, align 1
  %78 = alloca %struct.ImRect, align 4
  %79 = alloca %struct.ImRect, align 4
  %80 = alloca i8, align 1
  %81 = alloca ptr, align 8
  %82 = alloca i8, align 1
  %83 = alloca i8, align 1
  %84 = alloca i8, align 1
  %85 = alloca i8, align 1
  %86 = alloca float, align 4
  %87 = alloca float, align 4
  %88 = alloca double, align 8
  %89 = alloca double, align 8
  %90 = alloca %struct.ImVec2, align 4
  %91 = alloca %struct.ImVec2, align 4
  %92 = alloca %struct.ImVec2, align 4
  %93 = alloca %struct.ImRect, align 4
  %94 = alloca i8, align 1
  %95 = alloca i8, align 1
  %96 = alloca i8, align 1
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  store i32 %2, ptr %6, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #13
  %97 = load ptr, ptr @GImGui, align 8, !tbaa !5
  store ptr %97, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #13
  %98 = load ptr, ptr %7, align 8, !tbaa !5
  %99 = getelementptr inbounds %struct.ImGuiContext, ptr %98, i32 0, i32 5
  store ptr %99, ptr %8, align 8, !tbaa !5
  %100 = load ptr, ptr %4, align 8, !tbaa !5
  %101 = icmp ne ptr %100, null
  br i1 %101, label %102, label %108

102:                                              ; preds = %3
  %103 = load ptr, ptr %4, align 8, !tbaa !5
  %104 = getelementptr inbounds i8, ptr %103, i64 0
  %105 = load i8, ptr %104, align 1, !tbaa !11
  %106 = sext i8 %105 to i32
  %107 = icmp ne i32 %106, 0
  br label %108

108:                                              ; preds = %102, %3
  %109 = phi i1 [ false, %3 ], [ %107, %102 ]
  br i1 %109, label %110, label %111

110:                                              ; preds = %108
  br label %113

111:                                              ; preds = %108
  call void @__assert_fail(ptr noundef @.str.125, ptr noundef @.str.4, i32 noundef 6001, ptr noundef @__PRETTY_FUNCTION__._ZN5ImGui5BeginEPKcPbi) #14
  unreachable

112:                                              ; No predecessors!
  br label %113

113:                                              ; preds = %112, %110
  %114 = load ptr, ptr %7, align 8, !tbaa !5
  %115 = getelementptr inbounds %struct.ImGuiContext, ptr %114, i32 0, i32 14
  %116 = load i8, ptr %115, align 4, !tbaa !12, !range !77, !noundef !78
  %117 = trunc i8 %116 to i1
  br i1 %117, label %118, label %119

118:                                              ; preds = %113
  br label %121

119:                                              ; preds = %113
  call void @__assert_fail(ptr noundef @.str.126, ptr noundef @.str.4, i32 noundef 6002, ptr noundef @__PRETTY_FUNCTION__._ZN5ImGui5BeginEPKcPbi) #14
  unreachable

120:                                              ; No predecessors!
  br label %121

121:                                              ; preds = %120, %118
  %122 = load ptr, ptr %7, align 8, !tbaa !5
  %123 = getelementptr inbounds %struct.ImGuiContext, ptr %122, i32 0, i32 12
  %124 = load i32, ptr %123, align 4, !tbaa !79
  %125 = load ptr, ptr %7, align 8, !tbaa !5
  %126 = getelementptr inbounds %struct.ImGuiContext, ptr %125, i32 0, i32 11
  %127 = load i32, ptr %126, align 8, !tbaa !80
  %128 = icmp ne i32 %124, %127
  br i1 %128, label %129, label %130

129:                                              ; preds = %121
  br label %132

130:                                              ; preds = %121
  call void @__assert_fail(ptr noundef @.str.127, ptr noundef @.str.4, i32 noundef 6003, ptr noundef @__PRETTY_FUNCTION__._ZN5ImGui5BeginEPKcPbi) #14
  unreachable

131:                                              ; No predecessors!
  br label %132

132:                                              ; preds = %131, %129
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #13
  %133 = load ptr, ptr %4, align 8, !tbaa !5
  %134 = call noundef ptr @_ZN5ImGui16FindWindowByNameEPKc(ptr noundef %133)
  store ptr %134, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %10) #13
  %135 = load ptr, ptr %9, align 8, !tbaa !5
  %136 = icmp eq ptr %135, null
  %137 = zext i1 %136 to i8
  store i8 %137, ptr %10, align 1, !tbaa !81
  %138 = load i8, ptr %10, align 1, !tbaa !81, !range !77, !noundef !78
  %139 = trunc i8 %138 to i1
  br i1 %139, label %140, label %144

140:                                              ; preds = %132
  %141 = load ptr, ptr %4, align 8, !tbaa !5
  %142 = load i32, ptr %6, align 4, !tbaa !9
  %143 = call noundef ptr @_ZL15CreateNewWindowPKci(ptr noundef %141, i32 noundef %142)
  store ptr %143, ptr %9, align 8, !tbaa !5
  br label %144

144:                                              ; preds = %140, %132
  %145 = load i32, ptr %6, align 4, !tbaa !9
  %146 = and i32 %145, 786944
  %147 = icmp eq i32 %146, 786944
  br i1 %147, label %148, label %151

148:                                              ; preds = %144
  %149 = load i32, ptr %6, align 4, !tbaa !9
  %150 = or i32 %149, 6
  store i32 %150, ptr %6, align 4, !tbaa !9
  br label %151

151:                                              ; preds = %148, %144
  %152 = load i32, ptr %6, align 4, !tbaa !9
  %153 = and i32 %152, 8388608
  %154 = icmp ne i32 %153, 0
  br i1 %154, label %155, label %163

155:                                              ; preds = %151
  %156 = load i32, ptr %6, align 4, !tbaa !9
  %157 = and i32 %156, 16777216
  %158 = icmp ne i32 %157, 0
  br i1 %158, label %159, label %160

159:                                              ; preds = %155
  br label %162

160:                                              ; preds = %155
  call void @__assert_fail(ptr noundef @.str.128, ptr noundef @.str.4, i32 noundef 6016, ptr noundef @__PRETTY_FUNCTION__._ZN5ImGui5BeginEPKcPbi) #14
  unreachable

161:                                              ; No predecessors!
  br label %162

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

163:                                              ; preds = %162, %151
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #13
  %164 = load ptr, ptr %7, align 8, !tbaa !5
  %165 = getelementptr inbounds %struct.ImGuiContext, ptr %164, i32 0, i32 11
  %166 = load i32, ptr %165, align 8, !tbaa !80
  store i32 %166, ptr %11, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %12) #13
  %167 = load ptr, ptr %9, align 8, !tbaa !5
  %168 = getelementptr inbounds %struct.ImGuiWindow, ptr %167, i32 0, i32 71
  %169 = load i32, ptr %168, align 8, !tbaa !82
  %170 = load i32, ptr %11, align 4, !tbaa !9
  %171 = icmp ne i32 %169, %170
  %172 = zext i1 %171 to i8
  store i8 %172, ptr %12, align 1, !tbaa !81
  %173 = load ptr, ptr %7, align 8, !tbaa !5
  %174 = getelementptr inbounds %struct.ImGuiContext, ptr %173, i32 0, i32 23
  %175 = getelementptr inbounds %struct.ImVector.3, ptr %174, i32 0, i32 0
  %176 = load i32, ptr %175, align 8, !tbaa !96
  %177 = icmp eq i32 %176, 0
  br i1 %177, label %178, label %183

178:                                              ; preds = %163
  %179 = load ptr, ptr %7, align 8, !tbaa !5
  %180 = getelementptr inbounds %struct.ImGuiContext, ptr %179, i32 0, i32 15
  %181 = load i8, ptr %180, align 1, !tbaa !97, !range !77, !noundef !78
  %182 = trunc i8 %181 to i1
  br label %183

183:                                              ; preds = %178, %163
  %184 = phi i1 [ false, %163 ], [ %182, %178 ]
  %185 = load ptr, ptr %9, align 8, !tbaa !5
  %186 = getelementptr inbounds %struct.ImGuiWindow, ptr %185, i32 0, i32 38
  %187 = zext i1 %184 to i8
  store i8 %187, ptr %186, align 2, !tbaa !98
  call void @llvm.lifetime.start.p0(i64 1, ptr %13) #13
  %188 = load ptr, ptr %9, align 8, !tbaa !5
  %189 = getelementptr inbounds %struct.ImGuiWindow, ptr %188, i32 0, i32 71
  %190 = load i32, ptr %189, align 8, !tbaa !82
  %191 = load i32, ptr %11, align 4, !tbaa !9
  %192 = sub nsw i32 %191, 1
  %193 = icmp slt i32 %190, %192
  %194 = zext i1 %193 to i8
  store i8 %194, ptr %13, align 1, !tbaa !81
  %195 = load i32, ptr %6, align 4, !tbaa !9
  %196 = and i32 %195, 67108864
  %197 = icmp ne i32 %196, 0
  br i1 %197, label %198, label %232

198:                                              ; preds = %183
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #13
  %199 = load ptr, ptr %7, align 8, !tbaa !5
  %200 = getelementptr inbounds %struct.ImGuiContext, ptr %199, i32 0, i32 80
  %201 = load ptr, ptr %7, align 8, !tbaa !5
  %202 = getelementptr inbounds %struct.ImGuiContext, ptr %201, i32 0, i32 81
  %203 = getelementptr inbounds %struct.ImVector.12, ptr %202, i32 0, i32 0
  %204 = load i32, ptr %203, align 8, !tbaa !99
  %205 = call noundef nonnull align 8 dereferenceable(52) ptr @_ZN8ImVectorI14ImGuiPopupDataEixEi(ptr noundef nonnull align 8 dereferenceable(16) %200, i32 noundef %204)
  store ptr %205, ptr %14, align 8, !tbaa !5
  %206 = load ptr, ptr %9, align 8, !tbaa !5
  %207 = getelementptr inbounds %struct.ImGuiWindow, ptr %206, i32 0, i32 47
  %208 = load i32, ptr %207, align 4, !tbaa !100
  %209 = load ptr, ptr %14, align 8, !tbaa !5
  %210 = getelementptr inbounds %struct.ImGuiPopupData, ptr %209, i32 0, i32 0
  %211 = load i32, ptr %210, align 8, !tbaa !101
  %212 = icmp ne i32 %208, %211
  %213 = zext i1 %212 to i32
  %214 = load i8, ptr %13, align 1, !tbaa !81, !range !77, !noundef !78
  %215 = trunc i8 %214 to i1
  %216 = zext i1 %215 to i32
  %217 = or i32 %216, %213
  %218 = icmp ne i32 %217, 0
  %219 = zext i1 %218 to i8
  store i8 %219, ptr %13, align 1, !tbaa !81
  %220 = load ptr, ptr %9, align 8, !tbaa !5
  %221 = load ptr, ptr %14, align 8, !tbaa !5
  %222 = getelementptr inbounds %struct.ImGuiPopupData, ptr %221, i32 0, i32 2
  %223 = load ptr, ptr %222, align 8, !tbaa !103
  %224 = icmp ne ptr %220, %223
  %225 = zext i1 %224 to i32
  %226 = load i8, ptr %13, align 1, !tbaa !81, !range !77, !noundef !78
  %227 = trunc i8 %226 to i1
  %228 = zext i1 %227 to i32
  %229 = or i32 %228, %225
  %230 = icmp ne i32 %229, 0
  %231 = zext i1 %230 to i8
  store i8 %231, ptr %13, align 1, !tbaa !81
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #13
  br label %232

232:                                              ; preds = %198, %183
  %233 = load i8, ptr %13, align 1, !tbaa !81, !range !77, !noundef !78
  %234 = trunc i8 %233 to i1
  %235 = load ptr, ptr %9, align 8, !tbaa !5
  %236 = getelementptr inbounds %struct.ImGuiWindow, ptr %235, i32 0, i32 36
  %237 = zext i1 %234 to i8
  store i8 %237, ptr %236, align 4, !tbaa !104
  %238 = load ptr, ptr %9, align 8, !tbaa !5
  %239 = getelementptr inbounds %struct.ImGuiWindow, ptr %238, i32 0, i32 36
  %240 = load i8, ptr %239, align 4, !tbaa !104, !range !77, !noundef !78
  %241 = trunc i8 %240 to i1
  br i1 %241, label %242, label %244

242:                                              ; preds = %232
  %243 = load ptr, ptr %9, align 8, !tbaa !5
  call void @_ZL28SetWindowConditionAllowFlagsP11ImGuiWindowib(ptr noundef %243, i32 noundef 8, i1 noundef zeroext true)
  br label %244

244:                                              ; preds = %242, %232
  %245 = load i8, ptr %12, align 1, !tbaa !81, !range !77, !noundef !78
  %246 = trunc i8 %245 to i1
  br i1 %246, label %247, label %273

247:                                              ; preds = %244
  %248 = load ptr, ptr %9, align 8, !tbaa !5
  %249 = load i8, ptr %10, align 1, !tbaa !81, !range !77, !noundef !78
  %250 = trunc i8 %249 to i1
  %251 = load i32, ptr %6, align 4, !tbaa !9
  call void @_ZL28UpdateWindowInFocusOrderListP11ImGuiWindowbi(ptr noundef %248, i1 noundef zeroext %250, i32 noundef %251)
  %252 = load i32, ptr %6, align 4, !tbaa !9
  %253 = load ptr, ptr %9, align 8, !tbaa !5
  %254 = getelementptr inbounds %struct.ImGuiWindow, ptr %253, i32 0, i32 2
  store i32 %252, ptr %254, align 4, !tbaa !105
  %255 = load i32, ptr %11, align 4, !tbaa !9
  %256 = load ptr, ptr %9, align 8, !tbaa !5
  %257 = getelementptr inbounds %struct.ImGuiWindow, ptr %256, i32 0, i32 71
  store i32 %255, ptr %257, align 8, !tbaa !82
  %258 = load ptr, ptr %7, align 8, !tbaa !5
  %259 = getelementptr inbounds %struct.ImGuiContext, ptr %258, i32 0, i32 10
  %260 = load double, ptr %259, align 8, !tbaa !106
  %261 = fptrunc double %260 to float
  %262 = load ptr, ptr %9, align 8, !tbaa !5
  %263 = getelementptr inbounds %struct.ImGuiWindow, ptr %262, i32 0, i32 72
  store float %261, ptr %263, align 4, !tbaa !107
  %264 = load ptr, ptr %9, align 8, !tbaa !5
  %265 = getelementptr inbounds %struct.ImGuiWindow, ptr %264, i32 0, i32 44
  store i16 0, ptr %265, align 2, !tbaa !108
  %266 = load ptr, ptr %7, align 8, !tbaa !5
  %267 = getelementptr inbounds %struct.ImGuiContext, ptr %266, i32 0, i32 25
  %268 = load i32, ptr %267, align 8, !tbaa !109
  %269 = add nsw i32 %268, 1
  store i32 %269, ptr %267, align 8, !tbaa !109
  %270 = trunc i32 %268 to i16
  %271 = load ptr, ptr %9, align 8, !tbaa !5
  %272 = getelementptr inbounds %struct.ImGuiWindow, ptr %271, i32 0, i32 45
  store i16 %270, ptr %272, align 8, !tbaa !110
  br label %277

273:                                              ; preds = %244
  %274 = load ptr, ptr %9, align 8, !tbaa !5
  %275 = getelementptr inbounds %struct.ImGuiWindow, ptr %274, i32 0, i32 2
  %276 = load i32, ptr %275, align 4, !tbaa !105
  store i32 %276, ptr %6, align 4, !tbaa !9
  br label %277

277:                                              ; preds = %273, %247
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #13
  %278 = load ptr, ptr %7, align 8, !tbaa !5
  %279 = getelementptr inbounds %struct.ImGuiContext, ptr %278, i32 0, i32 23
  %280 = call noundef zeroext i1 @_ZNK8ImVectorI20ImGuiWindowStackDataE5emptyEv(ptr noundef nonnull align 8 dereferenceable(16) %279)
  br i1 %280, label %281, label %282

281:                                              ; preds = %277
  br label %288

282:                                              ; preds = %277
  %283 = load ptr, ptr %7, align 8, !tbaa !5
  %284 = getelementptr inbounds %struct.ImGuiContext, ptr %283, i32 0, i32 23
  %285 = call noundef nonnull align 8 dereferenceable(86) ptr @_ZN8ImVectorI20ImGuiWindowStackDataE4backEv(ptr noundef nonnull align 8 dereferenceable(16) %284)
  %286 = getelementptr inbounds %struct.ImGuiWindowStackData, ptr %285, i32 0, i32 0
  %287 = load ptr, ptr %286, align 8, !tbaa !111
  br label %288

288:                                              ; preds = %282, %281
  %289 = phi ptr [ null, %281 ], [ %287, %282 ]
  store ptr %289, ptr %15, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #13
  %290 = load i8, ptr %12, align 1, !tbaa !81, !range !77, !noundef !78
  %291 = trunc i8 %290 to i1
  br i1 %291, label %292, label %301

292:                                              ; preds = %288
  %293 = load i32, ptr %6, align 4, !tbaa !9
  %294 = and i32 %293, 83886080
  %295 = icmp ne i32 %294, 0
  br i1 %295, label %296, label %298

296:                                              ; preds = %292
  %297 = load ptr, ptr %15, align 8, !tbaa !5
  br label %299

298:                                              ; preds = %292
  br label %299

299:                                              ; preds = %298, %296
  %300 = phi ptr [ %297, %296 ], [ null, %298 ]
  br label %305

301:                                              ; preds = %288
  %302 = load ptr, ptr %9, align 8, !tbaa !5
  %303 = getelementptr inbounds %struct.ImGuiWindow, ptr %302, i32 0, i32 81
  %304 = load ptr, ptr %303, align 8, !tbaa !114
  br label %305

305:                                              ; preds = %301, %299
  %306 = phi ptr [ %300, %299 ], [ %304, %301 ]
  store ptr %306, ptr %16, align 8, !tbaa !5
  %307 = load ptr, ptr %16, align 8, !tbaa !5
  %308 = icmp ne ptr %307, null
  br i1 %308, label %314, label %309

309:                                              ; preds = %305
  %310 = load i32, ptr %6, align 4, !tbaa !9
  %311 = and i32 %310, 16777216
  %312 = icmp ne i32 %311, 0
  %313 = xor i1 %312, true
  br label %314

314:                                              ; preds = %309, %305
  %315 = phi i1 [ true, %305 ], [ %313, %309 ]
  br i1 %315, label %316, label %317

316:                                              ; preds = %314
  br label %319

317:                                              ; preds = %314
  call void @__assert_fail(ptr noundef @.str.129, ptr noundef @.str.4, i32 noundef 6052, ptr noundef @__PRETTY_FUNCTION__._ZN5ImGui5BeginEPKcPbi) #14
  unreachable

318:                                              ; No predecessors!
  br label %319

319:                                              ; preds = %318, %316
  %320 = load ptr, ptr %9, align 8, !tbaa !5
  %321 = getelementptr inbounds %struct.ImGuiWindow, ptr %320, i32 0, i32 60
  %322 = getelementptr inbounds %struct.ImVector.9, ptr %321, i32 0, i32 0
  %323 = load i32, ptr %322, align 8, !tbaa !115
  %324 = icmp eq i32 %323, 0
  br i1 %324, label %325, label %330

325:                                              ; preds = %319
  %326 = load ptr, ptr %9, align 8, !tbaa !5
  %327 = getelementptr inbounds %struct.ImGuiWindow, ptr %326, i32 0, i32 60
  %328 = load ptr, ptr %9, align 8, !tbaa !5
  %329 = getelementptr inbounds %struct.ImGuiWindow, ptr %328, i32 0, i32 1
  call void @_ZN8ImVectorIjE9push_backERKj(ptr noundef nonnull align 8 dereferenceable(16) %327, ptr noundef nonnull align 4 dereferenceable(4) %329)
  br label %330

330:                                              ; preds = %325, %319
  %331 = load ptr, ptr %9, align 8, !tbaa !5
  %332 = load ptr, ptr %7, align 8, !tbaa !5
  %333 = getelementptr inbounds %struct.ImGuiContext, ptr %332, i32 0, i32 27
  store ptr %331, ptr %333, align 8, !tbaa !116
  call void @llvm.lifetime.start.p0(i64 88, ptr %17) #13
  call void @_ZN20ImGuiWindowStackDataC2Ev(ptr noundef nonnull align 8 dereferenceable(86) %17)
  %334 = load ptr, ptr %9, align 8, !tbaa !5
  %335 = getelementptr inbounds %struct.ImGuiWindowStackData, ptr %17, i32 0, i32 0
  store ptr %334, ptr %335, align 8, !tbaa !111
  %336 = load ptr, ptr %7, align 8, !tbaa !5
  %337 = getelementptr inbounds %struct.ImGuiContext, ptr %336, i32 0, i32 72
  %338 = getelementptr inbounds %struct.ImGuiWindowStackData, ptr %17, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %338, ptr align 4 %337, i64 60, i1 false), !tbaa.struct !117
  %339 = getelementptr inbounds %struct.ImGuiWindowStackData, ptr %17, i32 0, i32 2
  call void @_ZN15ImGuiStackSizes17SetToCurrentStateEv(ptr noundef nonnull align 2 dereferenceable(18) %339)
  %340 = load ptr, ptr %7, align 8, !tbaa !5
  %341 = getelementptr inbounds %struct.ImGuiContext, ptr %340, i32 0, i32 23
  call void @_ZN8ImVectorI20ImGuiWindowStackDataE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(16) %341, ptr noundef nonnull align 8 dereferenceable(86) %17)
  %342 = load i32, ptr %6, align 4, !tbaa !9
  %343 = and i32 %342, 268435456
  %344 = icmp ne i32 %343, 0
  br i1 %344, label %345, label %350

345:                                              ; preds = %330
  %346 = load ptr, ptr %7, align 8, !tbaa !5
  %347 = getelementptr inbounds %struct.ImGuiContext, ptr %346, i32 0, i32 82
  %348 = load i32, ptr %347, align 8, !tbaa !119
  %349 = add nsw i32 %348, 1
  store i32 %349, ptr %347, align 8, !tbaa !119
  br label %350

350:                                              ; preds = %345, %330
  %351 = load i8, ptr %12, align 1, !tbaa !81, !range !77, !noundef !78
  %352 = trunc i8 %351 to i1
  br i1 %352, label %353, label %360

353:                                              ; preds = %350
  %354 = load ptr, ptr %9, align 8, !tbaa !5
  %355 = load i32, ptr %6, align 4, !tbaa !9
  %356 = load ptr, ptr %16, align 8, !tbaa !5
  call void @_ZN5ImGui30UpdateWindowParentAndRootLinksEP11ImGuiWindowiS1_(ptr noundef %354, i32 noundef %355, ptr noundef %356)
  %357 = load ptr, ptr %15, align 8, !tbaa !5
  %358 = load ptr, ptr %9, align 8, !tbaa !5
  %359 = getelementptr inbounds %struct.ImGuiWindow, ptr %358, i32 0, i32 82
  store ptr %357, ptr %359, align 8, !tbaa !120
  br label %360

360:                                              ; preds = %353, %350
  %361 = load ptr, ptr %9, align 8, !tbaa !5
  %362 = getelementptr inbounds %struct.ImGuiWindow, ptr %361, i32 0, i32 1
  %363 = load i32, ptr %362, align 8, !tbaa !121
  call void @_ZN5ImGui14PushFocusScopeEj(i32 noundef %363)
  %364 = load ptr, ptr %7, align 8, !tbaa !5
  %365 = getelementptr inbounds %struct.ImGuiContext, ptr %364, i32 0, i32 68
  %366 = load i32, ptr %365, align 4, !tbaa !122
  %367 = load ptr, ptr %9, align 8, !tbaa !5
  %368 = getelementptr inbounds %struct.ImGuiWindow, ptr %367, i32 0, i32 90
  store i32 %366, ptr %368, align 8, !tbaa !123
  %369 = load ptr, ptr %7, align 8, !tbaa !5
  %370 = getelementptr inbounds %struct.ImGuiContext, ptr %369, i32 0, i32 27
  store ptr null, ptr %370, align 8, !tbaa !116
  %371 = load i32, ptr %6, align 4, !tbaa !9
  %372 = and i32 %371, 67108864
  %373 = icmp ne i32 %372, 0
  br i1 %373, label %374, label %399

374:                                              ; preds = %360
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #13
  %375 = load ptr, ptr %7, align 8, !tbaa !5
  %376 = getelementptr inbounds %struct.ImGuiContext, ptr %375, i32 0, i32 80
  %377 = load ptr, ptr %7, align 8, !tbaa !5
  %378 = getelementptr inbounds %struct.ImGuiContext, ptr %377, i32 0, i32 81
  %379 = getelementptr inbounds %struct.ImVector.12, ptr %378, i32 0, i32 0
  %380 = load i32, ptr %379, align 8, !tbaa !99
  %381 = call noundef nonnull align 8 dereferenceable(52) ptr @_ZN8ImVectorI14ImGuiPopupDataEixEi(ptr noundef nonnull align 8 dereferenceable(16) %376, i32 noundef %380)
  store ptr %381, ptr %18, align 8, !tbaa !5
  %382 = load ptr, ptr %9, align 8, !tbaa !5
  %383 = load ptr, ptr %18, align 8, !tbaa !5
  %384 = getelementptr inbounds %struct.ImGuiPopupData, ptr %383, i32 0, i32 2
  store ptr %382, ptr %384, align 8, !tbaa !103
  %385 = load ptr, ptr %15, align 8, !tbaa !5
  %386 = getelementptr inbounds %struct.ImGuiWindow, ptr %385, i32 0, i32 61
  %387 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %386, i32 0, i32 15
  %388 = load i32, ptr %387, align 8, !tbaa !124
  %389 = load ptr, ptr %18, align 8, !tbaa !5
  %390 = getelementptr inbounds %struct.ImGuiPopupData, ptr %389, i32 0, i32 4
  store i32 %388, ptr %390, align 8, !tbaa !125
  %391 = load ptr, ptr %7, align 8, !tbaa !5
  %392 = getelementptr inbounds %struct.ImGuiContext, ptr %391, i32 0, i32 81
  %393 = load ptr, ptr %18, align 8, !tbaa !5
  call void @_ZN8ImVectorI14ImGuiPopupDataE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(16) %392, ptr noundef nonnull align 8 dereferenceable(52) %393)
  %394 = load ptr, ptr %18, align 8, !tbaa !5
  %395 = getelementptr inbounds %struct.ImGuiPopupData, ptr %394, i32 0, i32 0
  %396 = load i32, ptr %395, align 8, !tbaa !101
  %397 = load ptr, ptr %9, align 8, !tbaa !5
  %398 = getelementptr inbounds %struct.ImGuiWindow, ptr %397, i32 0, i32 47
  store i32 %396, ptr %398, align 4, !tbaa !100
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #13
  br label %399

399:                                              ; preds = %374, %360
  call void @llvm.lifetime.start.p0(i64 1, ptr %19) #13
  store i8 0, ptr %19, align 1, !tbaa !81
  call void @llvm.lifetime.start.p0(i64 1, ptr %20) #13
  store i8 0, ptr %20, align 1, !tbaa !81
  call void @llvm.lifetime.start.p0(i64 1, ptr %21) #13
  store i8 0, ptr %21, align 1, !tbaa !81
  %400 = load ptr, ptr %7, align 8, !tbaa !5
  %401 = getelementptr inbounds %struct.ImGuiContext, ptr %400, i32 0, i32 73
  %402 = getelementptr inbounds %struct.ImGuiNextWindowData, ptr %401, i32 0, i32 0
  %403 = load i32, ptr %402, align 8, !tbaa !126
  %404 = and i32 %403, 1
  %405 = icmp ne i32 %404, 0
  br i1 %405, label %406, label %460

406:                                              ; preds = %399
  %407 = load ptr, ptr %9, align 8, !tbaa !5
  %408 = getelementptr inbounds %struct.ImGuiWindow, ptr %407, i32 0, i32 57
  %409 = load i32, ptr %408, align 4
  %410 = shl i32 %409, 24
  %411 = ashr i32 %410, 24
  %412 = load ptr, ptr %7, align 8, !tbaa !5
  %413 = getelementptr inbounds %struct.ImGuiContext, ptr %412, i32 0, i32 73
  %414 = getelementptr inbounds %struct.ImGuiNextWindowData, ptr %413, i32 0, i32 1
  %415 = load i32, ptr %414, align 4, !tbaa !127
  %416 = and i32 %411, %415
  %417 = icmp ne i32 %416, 0
  %418 = zext i1 %417 to i8
  store i8 %418, ptr %19, align 1, !tbaa !81
  %419 = load i8, ptr %19, align 1, !tbaa !81, !range !77, !noundef !78
  %420 = trunc i8 %419 to i1
  br i1 %420, label %421, label %450

421:                                              ; preds = %406
  %422 = load ptr, ptr %7, align 8, !tbaa !5
  %423 = getelementptr inbounds %struct.ImGuiContext, ptr %422, i32 0, i32 73
  %424 = getelementptr inbounds %struct.ImGuiNextWindowData, ptr %423, i32 0, i32 5
  %425 = call noundef float @_ZL11ImLengthSqrRK6ImVec2(ptr noundef nonnull align 4 dereferenceable(8) %424)
  %426 = fcmp ogt float %425, 0x3EE4F8B580000000
  br i1 %426, label %427, label %450

427:                                              ; preds = %421
  %428 = load ptr, ptr %7, align 8, !tbaa !5
  %429 = getelementptr inbounds %struct.ImGuiContext, ptr %428, i32 0, i32 73
  %430 = getelementptr inbounds %struct.ImGuiNextWindowData, ptr %429, i32 0, i32 4
  %431 = load ptr, ptr %9, align 8, !tbaa !5
  %432 = getelementptr inbounds %struct.ImGuiWindow, ptr %431, i32 0, i32 58
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %432, ptr align 8 %430, i64 8, i1 false), !tbaa.struct !128
  %433 = load ptr, ptr %7, align 8, !tbaa !5
  %434 = getelementptr inbounds %struct.ImGuiContext, ptr %433, i32 0, i32 73
  %435 = getelementptr inbounds %struct.ImGuiNextWindowData, ptr %434, i32 0, i32 5
  %436 = load ptr, ptr %9, align 8, !tbaa !5
  %437 = getelementptr inbounds %struct.ImGuiWindow, ptr %436, i32 0, i32 59
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %437, ptr align 8 %435, i64 8, i1 false), !tbaa.struct !128
  %438 = load ptr, ptr %9, align 8, !tbaa !5
  %439 = getelementptr inbounds %struct.ImGuiWindow, ptr %438, i32 0, i32 57
  %440 = load i32, ptr %439, align 4
  %441 = shl i32 %440, 24
  %442 = ashr i32 %441, 24
  %443 = and i32 %442, -15
  %444 = load i32, ptr %439, align 4
  %445 = and i32 %443, 255
  %446 = and i32 %444, -256
  %447 = or i32 %446, %445
  store i32 %447, ptr %439, align 4
  %448 = shl i32 %445, 24
  %449 = ashr i32 %448, 24
  br label %459

450:                                              ; preds = %421, %406
  %451 = load ptr, ptr %9, align 8, !tbaa !5
  %452 = load ptr, ptr %7, align 8, !tbaa !5
  %453 = getelementptr inbounds %struct.ImGuiContext, ptr %452, i32 0, i32 73
  %454 = getelementptr inbounds %struct.ImGuiNextWindowData, ptr %453, i32 0, i32 4
  %455 = load ptr, ptr %7, align 8, !tbaa !5
  %456 = getelementptr inbounds %struct.ImGuiContext, ptr %455, i32 0, i32 73
  %457 = getelementptr inbounds %struct.ImGuiNextWindowData, ptr %456, i32 0, i32 1
  %458 = load i32, ptr %457, align 4, !tbaa !127
  call void @_ZN5ImGui12SetWindowPosEP11ImGuiWindowRK6ImVec2i(ptr noundef %451, ptr noundef nonnull align 4 dereferenceable(8) %454, i32 noundef %458)
  br label %459

459:                                              ; preds = %450, %427
  br label %460

460:                                              ; preds = %459, %399
  %461 = load ptr, ptr %7, align 8, !tbaa !5
  %462 = getelementptr inbounds %struct.ImGuiContext, ptr %461, i32 0, i32 73
  %463 = getelementptr inbounds %struct.ImGuiNextWindowData, ptr %462, i32 0, i32 0
  %464 = load i32, ptr %463, align 8, !tbaa !126
  %465 = and i32 %464, 2
  %466 = icmp ne i32 %465, 0
  br i1 %466, label %467, label %518

467:                                              ; preds = %460
  %468 = load ptr, ptr %9, align 8, !tbaa !5
  %469 = getelementptr inbounds %struct.ImGuiWindow, ptr %468, i32 0, i32 57
  %470 = load i32, ptr %469, align 4
  %471 = shl i32 %470, 16
  %472 = ashr i32 %471, 24
  %473 = load ptr, ptr %7, align 8, !tbaa !5
  %474 = getelementptr inbounds %struct.ImGuiContext, ptr %473, i32 0, i32 73
  %475 = getelementptr inbounds %struct.ImGuiNextWindowData, ptr %474, i32 0, i32 2
  %476 = load i32, ptr %475, align 8, !tbaa !129
  %477 = and i32 %472, %476
  %478 = icmp ne i32 %477, 0
  br i1 %478, label %479, label %486

479:                                              ; preds = %467
  %480 = load ptr, ptr %7, align 8, !tbaa !5
  %481 = getelementptr inbounds %struct.ImGuiContext, ptr %480, i32 0, i32 73
  %482 = getelementptr inbounds %struct.ImGuiNextWindowData, ptr %481, i32 0, i32 6
  %483 = getelementptr inbounds %struct.ImVec2, ptr %482, i32 0, i32 0
  %484 = load float, ptr %483, align 8, !tbaa !130
  %485 = fcmp ogt float %484, 0.000000e+00
  br label %486

486:                                              ; preds = %479, %467
  %487 = phi i1 [ false, %467 ], [ %485, %479 ]
  %488 = zext i1 %487 to i8
  store i8 %488, ptr %20, align 1, !tbaa !81
  %489 = load ptr, ptr %9, align 8, !tbaa !5
  %490 = getelementptr inbounds %struct.ImGuiWindow, ptr %489, i32 0, i32 57
  %491 = load i32, ptr %490, align 4
  %492 = shl i32 %491, 16
  %493 = ashr i32 %492, 24
  %494 = load ptr, ptr %7, align 8, !tbaa !5
  %495 = getelementptr inbounds %struct.ImGuiContext, ptr %494, i32 0, i32 73
  %496 = getelementptr inbounds %struct.ImGuiNextWindowData, ptr %495, i32 0, i32 2
  %497 = load i32, ptr %496, align 8, !tbaa !129
  %498 = and i32 %493, %497
  %499 = icmp ne i32 %498, 0
  br i1 %499, label %500, label %507

500:                                              ; preds = %486
  %501 = load ptr, ptr %7, align 8, !tbaa !5
  %502 = getelementptr inbounds %struct.ImGuiContext, ptr %501, i32 0, i32 73
  %503 = getelementptr inbounds %struct.ImGuiNextWindowData, ptr %502, i32 0, i32 6
  %504 = getelementptr inbounds %struct.ImVec2, ptr %503, i32 0, i32 1
  %505 = load float, ptr %504, align 4, !tbaa !131
  %506 = fcmp ogt float %505, 0.000000e+00
  br label %507

507:                                              ; preds = %500, %486
  %508 = phi i1 [ false, %486 ], [ %506, %500 ]
  %509 = zext i1 %508 to i8
  store i8 %509, ptr %21, align 1, !tbaa !81
  %510 = load ptr, ptr %9, align 8, !tbaa !5
  %511 = load ptr, ptr %7, align 8, !tbaa !5
  %512 = getelementptr inbounds %struct.ImGuiContext, ptr %511, i32 0, i32 73
  %513 = getelementptr inbounds %struct.ImGuiNextWindowData, ptr %512, i32 0, i32 6
  %514 = load ptr, ptr %7, align 8, !tbaa !5
  %515 = getelementptr inbounds %struct.ImGuiContext, ptr %514, i32 0, i32 73
  %516 = getelementptr inbounds %struct.ImGuiNextWindowData, ptr %515, i32 0, i32 2
  %517 = load i32, ptr %516, align 8, !tbaa !129
  call void @_ZN5ImGui13SetWindowSizeEP11ImGuiWindowRK6ImVec2i(ptr noundef %510, ptr noundef nonnull align 4 dereferenceable(8) %513, i32 noundef %517)
  br label %518

518:                                              ; preds = %507, %460
  %519 = load ptr, ptr %7, align 8, !tbaa !5
  %520 = getelementptr inbounds %struct.ImGuiContext, ptr %519, i32 0, i32 73
  %521 = getelementptr inbounds %struct.ImGuiNextWindowData, ptr %520, i32 0, i32 0
  %522 = load i32, ptr %521, align 8, !tbaa !126
  %523 = and i32 %522, 128
  %524 = icmp ne i32 %523, 0
  br i1 %524, label %525, label %564

525:                                              ; preds = %518
  %526 = load ptr, ptr %7, align 8, !tbaa !5
  %527 = getelementptr inbounds %struct.ImGuiContext, ptr %526, i32 0, i32 73
  %528 = getelementptr inbounds %struct.ImGuiNextWindowData, ptr %527, i32 0, i32 8
  %529 = getelementptr inbounds %struct.ImVec2, ptr %528, i32 0, i32 0
  %530 = load float, ptr %529, align 8, !tbaa !132
  %531 = fcmp oge float %530, 0.000000e+00
  br i1 %531, label %532, label %544

532:                                              ; preds = %525
  %533 = load ptr, ptr %7, align 8, !tbaa !5
  %534 = getelementptr inbounds %struct.ImGuiContext, ptr %533, i32 0, i32 73
  %535 = getelementptr inbounds %struct.ImGuiNextWindowData, ptr %534, i32 0, i32 8
  %536 = getelementptr inbounds %struct.ImVec2, ptr %535, i32 0, i32 0
  %537 = load float, ptr %536, align 8, !tbaa !132
  %538 = load ptr, ptr %9, align 8, !tbaa !5
  %539 = getelementptr inbounds %struct.ImGuiWindow, ptr %538, i32 0, i32 24
  %540 = getelementptr inbounds %struct.ImVec2, ptr %539, i32 0, i32 0
  store float %537, ptr %540, align 4, !tbaa !133
  %541 = load ptr, ptr %9, align 8, !tbaa !5
  %542 = getelementptr inbounds %struct.ImGuiWindow, ptr %541, i32 0, i32 25
  %543 = getelementptr inbounds %struct.ImVec2, ptr %542, i32 0, i32 0
  store float 0.000000e+00, ptr %543, align 4, !tbaa !134
  br label %544

544:                                              ; preds = %532, %525
  %545 = load ptr, ptr %7, align 8, !tbaa !5
  %546 = getelementptr inbounds %struct.ImGuiContext, ptr %545, i32 0, i32 73
  %547 = getelementptr inbounds %struct.ImGuiNextWindowData, ptr %546, i32 0, i32 8
  %548 = getelementptr inbounds %struct.ImVec2, ptr %547, i32 0, i32 1
  %549 = load float, ptr %548, align 4, !tbaa !135
  %550 = fcmp oge float %549, 0.000000e+00
  br i1 %550, label %551, label %563

551:                                              ; preds = %544
  %552 = load ptr, ptr %7, align 8, !tbaa !5
  %553 = getelementptr inbounds %struct.ImGuiContext, ptr %552, i32 0, i32 73
  %554 = getelementptr inbounds %struct.ImGuiNextWindowData, ptr %553, i32 0, i32 8
  %555 = getelementptr inbounds %struct.ImVec2, ptr %554, i32 0, i32 1
  %556 = load float, ptr %555, align 4, !tbaa !135
  %557 = load ptr, ptr %9, align 8, !tbaa !5
  %558 = getelementptr inbounds %struct.ImGuiWindow, ptr %557, i32 0, i32 24
  %559 = getelementptr inbounds %struct.ImVec2, ptr %558, i32 0, i32 1
  store float %556, ptr %559, align 4, !tbaa !136
  %560 = load ptr, ptr %9, align 8, !tbaa !5
  %561 = getelementptr inbounds %struct.ImGuiWindow, ptr %560, i32 0, i32 25
  %562 = getelementptr inbounds %struct.ImVec2, ptr %561, i32 0, i32 1
  store float 0.000000e+00, ptr %562, align 4, !tbaa !137
  br label %563

563:                                              ; preds = %551, %544
  br label %564

564:                                              ; preds = %563, %518
  %565 = load ptr, ptr %7, align 8, !tbaa !5
  %566 = getelementptr inbounds %struct.ImGuiContext, ptr %565, i32 0, i32 73
  %567 = getelementptr inbounds %struct.ImGuiNextWindowData, ptr %566, i32 0, i32 0
  %568 = load i32, ptr %567, align 8, !tbaa !126
  %569 = and i32 %568, 4
  %570 = icmp ne i32 %569, 0
  br i1 %570, label %571, label %577

571:                                              ; preds = %564
  %572 = load ptr, ptr %7, align 8, !tbaa !5
  %573 = getelementptr inbounds %struct.ImGuiContext, ptr %572, i32 0, i32 73
  %574 = getelementptr inbounds %struct.ImGuiNextWindowData, ptr %573, i32 0, i32 7
  %575 = load ptr, ptr %9, align 8, !tbaa !5
  %576 = getelementptr inbounds %struct.ImGuiWindow, ptr %575, i32 0, i32 9
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %576, ptr align 8 %574, i64 8, i1 false), !tbaa.struct !128
  br label %584

577:                                              ; preds = %564
  %578 = load i8, ptr %12, align 1, !tbaa !81, !range !77, !noundef !78
  %579 = trunc i8 %578 to i1
  br i1 %579, label %580, label %583

580:                                              ; preds = %577
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #13
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %22, float noundef 0.000000e+00, float noundef 0.000000e+00)
  %581 = load ptr, ptr %9, align 8, !tbaa !5
  %582 = getelementptr inbounds %struct.ImGuiWindow, ptr %581, i32 0, i32 9
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %582, ptr align 4 %22, i64 8, i1 false), !tbaa.struct !128
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #13
  br label %583

583:                                              ; preds = %580, %577
  br label %584

584:                                              ; preds = %583, %571
  %585 = load ptr, ptr %7, align 8, !tbaa !5
  %586 = getelementptr inbounds %struct.ImGuiContext, ptr %585, i32 0, i32 73
  %587 = getelementptr inbounds %struct.ImGuiNextWindowData, ptr %586, i32 0, i32 0
  %588 = load i32, ptr %587, align 8, !tbaa !126
  %589 = and i32 %588, 8
  %590 = icmp ne i32 %589, 0
  br i1 %590, label %591, label %602

591:                                              ; preds = %584
  %592 = load ptr, ptr %9, align 8, !tbaa !5
  %593 = load ptr, ptr %7, align 8, !tbaa !5
  %594 = getelementptr inbounds %struct.ImGuiContext, ptr %593, i32 0, i32 73
  %595 = getelementptr inbounds %struct.ImGuiNextWindowData, ptr %594, i32 0, i32 9
  %596 = load i8, ptr %595, align 8, !tbaa !138, !range !77, !noundef !78
  %597 = trunc i8 %596 to i1
  %598 = load ptr, ptr %7, align 8, !tbaa !5
  %599 = getelementptr inbounds %struct.ImGuiContext, ptr %598, i32 0, i32 73
  %600 = getelementptr inbounds %struct.ImGuiNextWindowData, ptr %599, i32 0, i32 3
  %601 = load i32, ptr %600, align 4, !tbaa !139
  call void @_ZN5ImGui18SetWindowCollapsedEP11ImGuiWindowbi(ptr noundef %592, i1 noundef zeroext %597, i32 noundef %601)
  br label %602

602:                                              ; preds = %591, %584
  %603 = load ptr, ptr %7, align 8, !tbaa !5
  %604 = getelementptr inbounds %struct.ImGuiContext, ptr %603, i32 0, i32 73
  %605 = getelementptr inbounds %struct.ImGuiNextWindowData, ptr %604, i32 0, i32 0
  %606 = load i32, ptr %605, align 8, !tbaa !126
  %607 = and i32 %606, 32
  %608 = icmp ne i32 %607, 0
  br i1 %608, label %609, label %611

609:                                              ; preds = %602
  %610 = load ptr, ptr %9, align 8, !tbaa !5
  call void @_ZN5ImGui11FocusWindowEP11ImGuiWindow(ptr noundef %610)
  br label %611

611:                                              ; preds = %609, %602
  %612 = load ptr, ptr %9, align 8, !tbaa !5
  %613 = getelementptr inbounds %struct.ImGuiWindow, ptr %612, i32 0, i32 36
  %614 = load i8, ptr %613, align 4, !tbaa !104, !range !77, !noundef !78
  %615 = trunc i8 %614 to i1
  br i1 %615, label %616, label %618

616:                                              ; preds = %611
  %617 = load ptr, ptr %9, align 8, !tbaa !5
  call void @_ZL28SetWindowConditionAllowFlagsP11ImGuiWindowib(ptr noundef %617, i32 noundef 8, i1 noundef zeroext false)
  br label %618

618:                                              ; preds = %616, %611
  %619 = load i8, ptr %12, align 1, !tbaa !81, !range !77, !noundef !78
  %620 = trunc i8 %619 to i1
  br i1 %620, label %621, label %2637

621:                                              ; preds = %618
  call void @llvm.lifetime.start.p0(i64 1, ptr %23) #13
  %622 = load i32, ptr %6, align 4, !tbaa !9
  %623 = and i32 %622, 16777216
  %624 = icmp ne i32 %623, 0
  br i1 %624, label %625, label %629

625:                                              ; preds = %621
  %626 = load i32, ptr %6, align 4, !tbaa !9
  %627 = and i32 %626, 33554432
  %628 = icmp ne i32 %627, 0
  br label %629

629:                                              ; preds = %625, %621
  %630 = phi i1 [ false, %621 ], [ %628, %625 ]
  %631 = zext i1 %630 to i8
  store i8 %631, ptr %23, align 1, !tbaa !81
  call void @llvm.lifetime.start.p0(i64 1, ptr %24) #13
  %632 = load ptr, ptr %9, align 8, !tbaa !5
  %633 = getelementptr inbounds %struct.ImGuiWindow, ptr %632, i32 0, i32 54
  %634 = load i8, ptr %633, align 1, !tbaa !140
  %635 = sext i8 %634 to i32
  %636 = icmp sgt i32 %635, 0
  %637 = zext i1 %636 to i8
  store i8 %637, ptr %24, align 1, !tbaa !81
  %638 = load ptr, ptr %9, align 8, !tbaa !5
  %639 = getelementptr inbounds %struct.ImGuiWindow, ptr %638, i32 0, i32 30
  store i8 1, ptr %639, align 2, !tbaa !141
  %640 = load ptr, ptr %5, align 8, !tbaa !5
  %641 = icmp ne ptr %640, null
  %642 = load ptr, ptr %9, align 8, !tbaa !5
  %643 = getelementptr inbounds %struct.ImGuiWindow, ptr %642, i32 0, i32 40
  %644 = zext i1 %641 to i8
  store i8 %644, ptr %643, align 8, !tbaa !142
  call void @llvm.lifetime.start.p0(i64 16, ptr %25) #13
  call void @llvm.lifetime.start.p0(i64 16, ptr %26) #13
  call void @_ZN6ImVec4C2Effff(ptr noundef nonnull align 4 dereferenceable(16) %26, float noundef 0xC7EFFFFFE0000000, float noundef 0xC7EFFFFFE0000000, float noundef 0x47EFFFFFE0000000, float noundef 0x47EFFFFFE0000000)
  call void @_ZN6ImRectC2ERK6ImVec4(ptr noundef nonnull align 4 dereferenceable(16) %25, ptr noundef nonnull align 4 dereferenceable(16) %26)
  %645 = load ptr, ptr %9, align 8, !tbaa !5
  %646 = getelementptr inbounds %struct.ImGuiWindow, ptr %645, i32 0, i32 67
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %646, ptr align 4 %25, i64 16, i1 false), !tbaa.struct !143
  call void @llvm.lifetime.end.p0(i64 16, ptr %26) #13
  call void @llvm.lifetime.end.p0(i64 16, ptr %25) #13
  %647 = load ptr, ptr %9, align 8, !tbaa !5
  %648 = getelementptr inbounds %struct.ImGuiWindow, ptr %647, i32 0, i32 60
  call void @_ZN8ImVectorIjE6resizeEi(ptr noundef nonnull align 8 dereferenceable(16) %648, i32 noundef 1)
  %649 = load ptr, ptr %9, align 8, !tbaa !5
  %650 = getelementptr inbounds %struct.ImGuiWindow, ptr %649, i32 0, i32 79
  %651 = load ptr, ptr %650, align 8, !tbaa !144
  call void @_ZN10ImDrawList17_ResetForNewFrameEv(ptr noundef nonnull align 8 dereferenceable(196) %651)
  %652 = load ptr, ptr %9, align 8, !tbaa !5
  %653 = getelementptr inbounds %struct.ImGuiWindow, ptr %652, i32 0, i32 61
  %654 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %653, i32 0, i32 28
  store i32 -1, ptr %654, align 8, !tbaa !145
  %655 = load ptr, ptr %9, align 8, !tbaa !5
  %656 = getelementptr inbounds %struct.ImGuiWindow, ptr %655, i32 0, i32 93
  %657 = load i8, ptr %656, align 4, !tbaa !146, !range !77, !noundef !78
  %658 = trunc i8 %657 to i1
  br i1 %658, label %659, label %661

659:                                              ; preds = %629
  %660 = load ptr, ptr %9, align 8, !tbaa !5
  call void @_ZN5ImGui29GcAwakeTransientWindowBuffersEP11ImGuiWindow(ptr noundef %660)
  br label %661

661:                                              ; preds = %659, %629
  call void @llvm.lifetime.start.p0(i64 1, ptr %27) #13
  store i8 0, ptr %27, align 1, !tbaa !81
  %662 = load ptr, ptr %7, align 8, !tbaa !5
  %663 = getelementptr inbounds %struct.ImGuiContext, ptr %662, i32 0, i32 130
  %664 = load ptr, ptr %663, align 8, !tbaa !147
  %665 = icmp ne ptr %664, null
  br i1 %665, label %666, label %673

666:                                              ; preds = %661
  %667 = load ptr, ptr %9, align 8, !tbaa !5
  %668 = getelementptr inbounds %struct.ImGuiWindow, ptr %667, i32 0, i32 2
  %669 = load i32, ptr %668, align 4, !tbaa !105
  %670 = and i32 %669, 524288
  %671 = icmp eq i32 %670, 0
  br i1 %671, label %672, label %673

672:                                              ; preds = %666
  store i8 1, ptr %27, align 1, !tbaa !81
  br label %673

673:                                              ; preds = %672, %666, %661
  %674 = load i8, ptr %27, align 1, !tbaa !81, !range !77, !noundef !78
  %675 = trunc i8 %674 to i1
  br i1 %675, label %676, label %702

676:                                              ; preds = %673
  %677 = load i8, ptr %10, align 1, !tbaa !81, !range !77, !noundef !78
  %678 = trunc i8 %677 to i1
  br i1 %678, label %702, label %679

679:                                              ; preds = %676
  %680 = load ptr, ptr %4, align 8, !tbaa !5
  %681 = load ptr, ptr %9, align 8, !tbaa !5
  %682 = getelementptr inbounds %struct.ImGuiWindow, ptr %681, i32 0, i32 0
  %683 = load ptr, ptr %682, align 8, !tbaa !148
  %684 = call i32 @strcmp(ptr noundef %680, ptr noundef %683) #15
  %685 = icmp ne i32 %684, 0
  br i1 %685, label %686, label %702

686:                                              ; preds = %679
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #13
  %687 = load ptr, ptr %9, align 8, !tbaa !5
  %688 = getelementptr inbounds %struct.ImGuiWindow, ptr %687, i32 0, i32 19
  %689 = load i32, ptr %688, align 8, !tbaa !149
  %690 = sext i32 %689 to i64
  store i64 %690, ptr %28, align 8, !tbaa !150
  %691 = load ptr, ptr %9, align 8, !tbaa !5
  %692 = getelementptr inbounds %struct.ImGuiWindow, ptr %691, i32 0, i32 0
  %693 = load ptr, ptr %692, align 8, !tbaa !148
  %694 = load ptr, ptr %4, align 8, !tbaa !5
  %695 = call noundef ptr @_Z11ImStrdupcpyPcPmPKc(ptr noundef %693, ptr noundef %28, ptr noundef %694)
  %696 = load ptr, ptr %9, align 8, !tbaa !5
  %697 = getelementptr inbounds %struct.ImGuiWindow, ptr %696, i32 0, i32 0
  store ptr %695, ptr %697, align 8, !tbaa !148
  %698 = load i64, ptr %28, align 8, !tbaa !150
  %699 = trunc i64 %698 to i32
  %700 = load ptr, ptr %9, align 8, !tbaa !5
  %701 = getelementptr inbounds %struct.ImGuiWindow, ptr %700, i32 0, i32 19
  store i32 %699, ptr %701, align 8, !tbaa !149
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #13
  br label %702

702:                                              ; preds = %686, %679, %676, %673
  %703 = load ptr, ptr %9, align 8, !tbaa !5
  %704 = load ptr, ptr %9, align 8, !tbaa !5
  %705 = getelementptr inbounds %struct.ImGuiWindow, ptr %704, i32 0, i32 7
  %706 = load ptr, ptr %9, align 8, !tbaa !5
  %707 = getelementptr inbounds %struct.ImGuiWindow, ptr %706, i32 0, i32 8
  call void @_ZL22CalcWindowContentSizesP11ImGuiWindowP6ImVec2S2_(ptr noundef %703, ptr noundef %705, ptr noundef %707)
  %708 = load ptr, ptr %9, align 8, !tbaa !5
  %709 = getelementptr inbounds %struct.ImGuiWindow, ptr %708, i32 0, i32 53
  %710 = load i8, ptr %709, align 8, !tbaa !152
  %711 = sext i8 %710 to i32
  %712 = icmp sgt i32 %711, 0
  br i1 %712, label %713, label %718

713:                                              ; preds = %702
  %714 = load ptr, ptr %9, align 8, !tbaa !5
  %715 = getelementptr inbounds %struct.ImGuiWindow, ptr %714, i32 0, i32 53
  %716 = load i8, ptr %715, align 8, !tbaa !152
  %717 = add i8 %716, -1
  store i8 %717, ptr %715, align 8, !tbaa !152
  br label %718

718:                                              ; preds = %713, %702
  %719 = load ptr, ptr %9, align 8, !tbaa !5
  %720 = getelementptr inbounds %struct.ImGuiWindow, ptr %719, i32 0, i32 54
  %721 = load i8, ptr %720, align 1, !tbaa !140
  %722 = sext i8 %721 to i32
  %723 = icmp sgt i32 %722, 0
  br i1 %723, label %724, label %729

724:                                              ; preds = %718
  %725 = load ptr, ptr %9, align 8, !tbaa !5
  %726 = getelementptr inbounds %struct.ImGuiWindow, ptr %725, i32 0, i32 54
  %727 = load i8, ptr %726, align 1, !tbaa !140
  %728 = add i8 %727, -1
  store i8 %728, ptr %726, align 1, !tbaa !140
  br label %729

729:                                              ; preds = %724, %718
  %730 = load ptr, ptr %9, align 8, !tbaa !5
  %731 = getelementptr inbounds %struct.ImGuiWindow, ptr %730, i32 0, i32 55
  %732 = load i8, ptr %731, align 2, !tbaa !153
  %733 = sext i8 %732 to i32
  %734 = icmp sgt i32 %733, 0
  br i1 %734, label %735, label %740

735:                                              ; preds = %729
  %736 = load ptr, ptr %9, align 8, !tbaa !5
  %737 = getelementptr inbounds %struct.ImGuiWindow, ptr %736, i32 0, i32 55
  %738 = load i8, ptr %737, align 2, !tbaa !153
  %739 = add i8 %738, -1
  store i8 %739, ptr %737, align 2, !tbaa !153
  br label %740

740:                                              ; preds = %735, %729
  %741 = load i8, ptr %10, align 1, !tbaa !81, !range !77, !noundef !78
  %742 = trunc i8 %741 to i1
  br i1 %742, label %743, label %752

743:                                              ; preds = %740
  %744 = load i8, ptr %20, align 1, !tbaa !81, !range !77, !noundef !78
  %745 = trunc i8 %744 to i1
  br i1 %745, label %746, label %749

746:                                              ; preds = %743
  %747 = load i8, ptr %21, align 1, !tbaa !81, !range !77, !noundef !78
  %748 = trunc i8 %747 to i1
  br i1 %748, label %752, label %749

749:                                              ; preds = %746, %743
  %750 = load ptr, ptr %9, align 8, !tbaa !5
  %751 = getelementptr inbounds %struct.ImGuiWindow, ptr %750, i32 0, i32 54
  store i8 1, ptr %751, align 1, !tbaa !140
  br label %752

752:                                              ; preds = %749, %746, %740
  %753 = load i8, ptr %13, align 1, !tbaa !81, !range !77, !noundef !78
  %754 = trunc i8 %753 to i1
  br i1 %754, label %755, label %791

755:                                              ; preds = %752
  %756 = load i32, ptr %6, align 4, !tbaa !9
  %757 = and i32 %756, 100663296
  %758 = icmp ne i32 %757, 0
  br i1 %758, label %759, label %791

759:                                              ; preds = %755
  %760 = load ptr, ptr %9, align 8, !tbaa !5
  %761 = getelementptr inbounds %struct.ImGuiWindow, ptr %760, i32 0, i32 54
  store i8 1, ptr %761, align 1, !tbaa !140
  %762 = load i32, ptr %6, align 4, !tbaa !9
  %763 = and i32 %762, 64
  %764 = icmp ne i32 %763, 0
  br i1 %764, label %765, label %790

765:                                              ; preds = %759
  %766 = load i8, ptr %20, align 1, !tbaa !81, !range !77, !noundef !78
  %767 = trunc i8 %766 to i1
  br i1 %767, label %775, label %768

768:                                              ; preds = %765
  %769 = load ptr, ptr %9, align 8, !tbaa !5
  %770 = getelementptr inbounds %struct.ImGuiWindow, ptr %769, i32 0, i32 6
  %771 = getelementptr inbounds %struct.ImVec2, ptr %770, i32 0, i32 0
  store float 0.000000e+00, ptr %771, align 8, !tbaa !154
  %772 = load ptr, ptr %9, align 8, !tbaa !5
  %773 = getelementptr inbounds %struct.ImGuiWindow, ptr %772, i32 0, i32 5
  %774 = getelementptr inbounds %struct.ImVec2, ptr %773, i32 0, i32 0
  store float 0.000000e+00, ptr %774, align 8, !tbaa !155
  br label %775

775:                                              ; preds = %768, %765
  %776 = load i8, ptr %21, align 1, !tbaa !81, !range !77, !noundef !78
  %777 = trunc i8 %776 to i1
  br i1 %777, label %785, label %778

778:                                              ; preds = %775
  %779 = load ptr, ptr %9, align 8, !tbaa !5
  %780 = getelementptr inbounds %struct.ImGuiWindow, ptr %779, i32 0, i32 6
  %781 = getelementptr inbounds %struct.ImVec2, ptr %780, i32 0, i32 1
  store float 0.000000e+00, ptr %781, align 4, !tbaa !156
  %782 = load ptr, ptr %9, align 8, !tbaa !5
  %783 = getelementptr inbounds %struct.ImGuiWindow, ptr %782, i32 0, i32 5
  %784 = getelementptr inbounds %struct.ImVec2, ptr %783, i32 0, i32 1
  store float 0.000000e+00, ptr %784, align 4, !tbaa !157
  br label %785

785:                                              ; preds = %778, %775
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #13
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %29, float noundef 0.000000e+00, float noundef 0.000000e+00)
  %786 = load ptr, ptr %9, align 8, !tbaa !5
  %787 = getelementptr inbounds %struct.ImGuiWindow, ptr %786, i32 0, i32 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %787, ptr align 4 %29, i64 8, i1 false), !tbaa.struct !128
  %788 = load ptr, ptr %9, align 8, !tbaa !5
  %789 = getelementptr inbounds %struct.ImGuiWindow, ptr %788, i32 0, i32 7
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %789, ptr align 4 %787, i64 8, i1 false), !tbaa.struct !128
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #13
  br label %790

790:                                              ; preds = %785, %759
  br label %791

791:                                              ; preds = %790, %755, %752
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #13
  %792 = call noundef ptr @_ZN5ImGui15GetMainViewportEv()
  store ptr %792, ptr %30, align 8, !tbaa !5
  %793 = load ptr, ptr %9, align 8, !tbaa !5
  %794 = load ptr, ptr %30, align 8, !tbaa !5
  call void @_ZN5ImGui17SetWindowViewportEP11ImGuiWindowP14ImGuiViewportP(ptr noundef %793, ptr noundef %794)
  %795 = load ptr, ptr %9, align 8, !tbaa !5
  call void @_ZL16SetCurrentWindowP11ImGuiWindow(ptr noundef %795)
  %796 = load i32, ptr %6, align 4, !tbaa !9
  %797 = and i32 %796, 16777216
  %798 = icmp ne i32 %797, 0
  br i1 %798, label %799, label %805

799:                                              ; preds = %791
  %800 = load ptr, ptr %8, align 8, !tbaa !5
  %801 = getelementptr inbounds %struct.ImGuiStyle, ptr %800, i32 0, i32 9
  %802 = load float, ptr %801, align 4, !tbaa !158
  %803 = load ptr, ptr %9, align 8, !tbaa !5
  %804 = getelementptr inbounds %struct.ImGuiWindow, ptr %803, i32 0, i32 12
  store float %802, ptr %804, align 4, !tbaa !159
  br label %825

805:                                              ; preds = %791
  %806 = load i32, ptr %6, align 4, !tbaa !9
  %807 = and i32 %806, 100663296
  %808 = icmp ne i32 %807, 0
  br i1 %808, label %809, label %817

809:                                              ; preds = %805
  %810 = load i32, ptr %6, align 4, !tbaa !9
  %811 = and i32 %810, 134217728
  %812 = icmp ne i32 %811, 0
  br i1 %812, label %817, label %813

813:                                              ; preds = %809
  %814 = load ptr, ptr %8, align 8, !tbaa !5
  %815 = getelementptr inbounds %struct.ImGuiStyle, ptr %814, i32 0, i32 11
  %816 = load float, ptr %815, align 4, !tbaa !160
  br label %821

817:                                              ; preds = %809, %805
  %818 = load ptr, ptr %8, align 8, !tbaa !5
  %819 = getelementptr inbounds %struct.ImGuiStyle, ptr %818, i32 0, i32 4
  %820 = load float, ptr %819, align 4, !tbaa !161
  br label %821

821:                                              ; preds = %817, %813
  %822 = phi float [ %816, %813 ], [ %820, %817 ]
  %823 = load ptr, ptr %9, align 8, !tbaa !5
  %824 = getelementptr inbounds %struct.ImGuiWindow, ptr %823, i32 0, i32 12
  store float %822, ptr %824, align 4, !tbaa !159
  br label %825

825:                                              ; preds = %821, %799
  %826 = load ptr, ptr %8, align 8, !tbaa !5
  %827 = getelementptr inbounds %struct.ImGuiStyle, ptr %826, i32 0, i32 2
  %828 = load ptr, ptr %9, align 8, !tbaa !5
  %829 = getelementptr inbounds %struct.ImGuiWindow, ptr %828, i32 0, i32 10
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %829, ptr align 4 %827, i64 8, i1 false), !tbaa.struct !128
  %830 = load i32, ptr %6, align 4, !tbaa !9
  %831 = and i32 %830, 16777216
  %832 = icmp ne i32 %831, 0
  br i1 %832, label %833, label %856

833:                                              ; preds = %825
  %834 = load i32, ptr %6, align 4, !tbaa !9
  %835 = and i32 %834, 67174400
  %836 = icmp ne i32 %835, 0
  br i1 %836, label %856, label %837

837:                                              ; preds = %833
  %838 = load ptr, ptr %9, align 8, !tbaa !5
  %839 = getelementptr inbounds %struct.ImGuiWindow, ptr %838, i32 0, i32 12
  %840 = load float, ptr %839, align 4, !tbaa !159
  %841 = fcmp oeq float %840, 0.000000e+00
  br i1 %841, label %842, label %856

842:                                              ; preds = %837
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #13
  %843 = load i32, ptr %6, align 4, !tbaa !9
  %844 = and i32 %843, 1024
  %845 = icmp ne i32 %844, 0
  br i1 %845, label %846, label %851

846:                                              ; preds = %842
  %847 = load ptr, ptr %8, align 8, !tbaa !5
  %848 = getelementptr inbounds %struct.ImGuiStyle, ptr %847, i32 0, i32 2
  %849 = getelementptr inbounds %struct.ImVec2, ptr %848, i32 0, i32 1
  %850 = load float, ptr %849, align 4, !tbaa !162
  br label %852

851:                                              ; preds = %842
  br label %852

852:                                              ; preds = %851, %846
  %853 = phi float [ %850, %846 ], [ 0.000000e+00, %851 ]
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %31, float noundef 0.000000e+00, float noundef %853)
  %854 = load ptr, ptr %9, align 8, !tbaa !5
  %855 = getelementptr inbounds %struct.ImGuiWindow, ptr %854, i32 0, i32 10
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %855, ptr align 4 %31, i64 8, i1 false), !tbaa.struct !128
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #13
  br label %856

856:                                              ; preds = %852, %837, %833, %825
  %857 = load ptr, ptr %9, align 8, !tbaa !5
  %858 = getelementptr inbounds %struct.ImGuiWindow, ptr %857, i32 0, i32 10
  %859 = getelementptr inbounds %struct.ImVec2, ptr %858, i32 0, i32 0
  %860 = load float, ptr %859, align 8, !tbaa !163
  %861 = load ptr, ptr %8, align 8, !tbaa !5
  %862 = getelementptr inbounds %struct.ImGuiStyle, ptr %861, i32 0, i32 15
  %863 = getelementptr inbounds %struct.ImVec2, ptr %862, i32 0, i32 0
  %864 = load float, ptr %863, align 4, !tbaa !164
  %865 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %860, float noundef %864)
  %866 = load ptr, ptr %7, align 8, !tbaa !5
  %867 = getelementptr inbounds %struct.ImGuiContext, ptr %866, i32 0, i32 73
  %868 = getelementptr inbounds %struct.ImGuiNextWindowData, ptr %867, i32 0, i32 16
  %869 = getelementptr inbounds %struct.ImVec2, ptr %868, i32 0, i32 0
  %870 = load float, ptr %869, align 4, !tbaa !165
  %871 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %865, float noundef %870)
  %872 = load ptr, ptr %9, align 8, !tbaa !5
  %873 = getelementptr inbounds %struct.ImGuiWindow, ptr %872, i32 0, i32 61
  %874 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %873, i32 0, i32 21
  %875 = getelementptr inbounds %struct.ImVec2, ptr %874, i32 0, i32 0
  store float %871, ptr %875, align 4, !tbaa !166
  %876 = load ptr, ptr %7, align 8, !tbaa !5
  %877 = getelementptr inbounds %struct.ImGuiContext, ptr %876, i32 0, i32 73
  %878 = getelementptr inbounds %struct.ImGuiNextWindowData, ptr %877, i32 0, i32 16
  %879 = getelementptr inbounds %struct.ImVec2, ptr %878, i32 0, i32 1
  %880 = load float, ptr %879, align 4, !tbaa !167
  %881 = load ptr, ptr %9, align 8, !tbaa !5
  %882 = getelementptr inbounds %struct.ImGuiWindow, ptr %881, i32 0, i32 61
  %883 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %882, i32 0, i32 21
  %884 = getelementptr inbounds %struct.ImVec2, ptr %883, i32 0, i32 1
  store float %880, ptr %884, align 4, !tbaa !168
  call void @llvm.lifetime.start.p0(i64 1, ptr %32) #13
  %885 = load i8, ptr %10, align 1, !tbaa !81, !range !77, !noundef !78
  %886 = trunc i8 %885 to i1
  %887 = zext i1 %886 to i8
  store i8 %887, ptr %32, align 1, !tbaa !81
  call void @llvm.lifetime.start.p0(i64 1, ptr %33) #13
  %888 = load i8, ptr %10, align 1, !tbaa !81, !range !77, !noundef !78
  %889 = trunc i8 %888 to i1
  %890 = zext i1 %889 to i8
  store i8 %890, ptr %33, align 1, !tbaa !81
  %891 = load i32, ptr %6, align 4, !tbaa !9
  %892 = and i32 %891, 1
  %893 = icmp ne i32 %892, 0
  br i1 %893, label %957, label %894

894:                                              ; preds = %856
  %895 = load i32, ptr %6, align 4, !tbaa !9
  %896 = and i32 %895, 32
  %897 = icmp ne i32 %896, 0
  br i1 %897, label %957, label %898

898:                                              ; preds = %894
  call void @llvm.lifetime.start.p0(i64 16, ptr %34) #13
  %899 = load ptr, ptr %9, align 8, !tbaa !5
  %900 = call { <2 x float>, <2 x float> } @_ZNK11ImGuiWindow12TitleBarRectEv(ptr noundef nonnull align 8 dereferenceable(973) %899)
  %901 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %34, i32 0, i32 0
  %902 = extractvalue { <2 x float>, <2 x float> } %900, 0
  store <2 x float> %902, ptr %901, align 4
  %903 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %34, i32 0, i32 1
  %904 = extractvalue { <2 x float>, <2 x float> } %900, 1
  store <2 x float> %904, ptr %903, align 4
  %905 = load ptr, ptr %7, align 8, !tbaa !5
  %906 = getelementptr inbounds %struct.ImGuiContext, ptr %905, i32 0, i32 28
  %907 = load ptr, ptr %906, align 8, !tbaa !169
  %908 = load ptr, ptr %9, align 8, !tbaa !5
  %909 = icmp eq ptr %907, %908
  br i1 %909, label %910, label %935

910:                                              ; preds = %898
  %911 = load ptr, ptr %7, align 8, !tbaa !5
  %912 = getelementptr inbounds %struct.ImGuiContext, ptr %911, i32 0, i32 38
  %913 = load i32, ptr %912, align 4, !tbaa !170
  %914 = icmp eq i32 %913, 0
  br i1 %914, label %915, label %935

915:                                              ; preds = %910
  %916 = load ptr, ptr %7, align 8, !tbaa !5
  %917 = getelementptr inbounds %struct.ImGuiContext, ptr %916, i32 0, i32 39
  %918 = load i32, ptr %917, align 8, !tbaa !171
  %919 = icmp eq i32 %918, 0
  br i1 %919, label %920, label %935

920:                                              ; preds = %915
  %921 = getelementptr inbounds %struct.ImRect, ptr %34, i32 0, i32 0
  %922 = getelementptr inbounds %struct.ImRect, ptr %34, i32 0, i32 1
  %923 = call noundef zeroext i1 @_ZN5ImGui19IsMouseHoveringRectERK6ImVec2S2_b(ptr noundef nonnull align 4 dereferenceable(8) %921, ptr noundef nonnull align 4 dereferenceable(8) %922, i1 noundef zeroext true)
  br i1 %923, label %924, label %935

924:                                              ; preds = %920
  %925 = load ptr, ptr %7, align 8, !tbaa !5
  %926 = getelementptr inbounds %struct.ImGuiContext, ptr %925, i32 0, i32 2
  %927 = getelementptr inbounds %struct.ImGuiIO, ptr %926, i32 0, i32 72
  %928 = getelementptr inbounds [5 x i16], ptr %927, i64 0, i64 0
  %929 = load i16, ptr %928, align 2, !tbaa !172
  %930 = zext i16 %929 to i32
  %931 = icmp eq i32 %930, 2
  br i1 %931, label %932, label %935

932:                                              ; preds = %924
  %933 = load ptr, ptr %9, align 8, !tbaa !5
  %934 = getelementptr inbounds %struct.ImGuiWindow, ptr %933, i32 0, i32 34
  store i8 1, ptr %934, align 2, !tbaa !173
  br label %935

935:                                              ; preds = %932, %924, %920, %915, %910, %898
  %936 = load ptr, ptr %9, align 8, !tbaa !5
  %937 = getelementptr inbounds %struct.ImGuiWindow, ptr %936, i32 0, i32 34
  %938 = load i8, ptr %937, align 2, !tbaa !173, !range !77, !noundef !78
  %939 = trunc i8 %938 to i1
  br i1 %939, label %940, label %956

940:                                              ; preds = %935
  %941 = load ptr, ptr %9, align 8, !tbaa !5
  %942 = getelementptr inbounds %struct.ImGuiWindow, ptr %941, i32 0, i32 33
  %943 = load i8, ptr %942, align 1, !tbaa !174, !range !77, !noundef !78
  %944 = trunc i8 %943 to i1
  %945 = xor i1 %944, true
  %946 = load ptr, ptr %9, align 8, !tbaa !5
  %947 = getelementptr inbounds %struct.ImGuiWindow, ptr %946, i32 0, i32 33
  %948 = zext i1 %945 to i8
  store i8 %948, ptr %947, align 1, !tbaa !174
  %949 = load ptr, ptr %9, align 8, !tbaa !5
  %950 = getelementptr inbounds %struct.ImGuiWindow, ptr %949, i32 0, i32 33
  %951 = load i8, ptr %950, align 1, !tbaa !174, !range !77, !noundef !78
  %952 = trunc i8 %951 to i1
  br i1 %952, label %954, label %953

953:                                              ; preds = %940
  store i8 1, ptr %33, align 1, !tbaa !81
  br label %954

954:                                              ; preds = %953, %940
  %955 = load ptr, ptr %9, align 8, !tbaa !5
  call void @_ZN5ImGui20MarkIniSettingsDirtyEP11ImGuiWindow(ptr noundef %955)
  br label %956

956:                                              ; preds = %954, %935
  call void @llvm.lifetime.end.p0(i64 16, ptr %34) #13
  br label %960

957:                                              ; preds = %894, %856
  %958 = load ptr, ptr %9, align 8, !tbaa !5
  %959 = getelementptr inbounds %struct.ImGuiWindow, ptr %958, i32 0, i32 33
  store i8 0, ptr %959, align 1, !tbaa !174
  br label %960

960:                                              ; preds = %957, %956
  %961 = load ptr, ptr %9, align 8, !tbaa !5
  %962 = getelementptr inbounds %struct.ImGuiWindow, ptr %961, i32 0, i32 34
  store i8 0, ptr %962, align 2, !tbaa !173
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #13
  %963 = load ptr, ptr %9, align 8, !tbaa !5
  %964 = getelementptr inbounds %struct.ImGuiWindow, ptr %963, i32 0, i32 27
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %35, ptr align 4 %964, i64 8, i1 false), !tbaa.struct !128
  %965 = load ptr, ptr %9, align 8, !tbaa !5
  %966 = getelementptr inbounds %struct.ImGuiWindow, ptr %965, i32 0, i32 13
  store float 0.000000e+00, ptr %966, align 8, !tbaa !175
  %967 = load ptr, ptr %9, align 8, !tbaa !5
  %968 = getelementptr inbounds %struct.ImGuiWindow, ptr %967, i32 0, i32 15
  store float 0.000000e+00, ptr %968, align 8, !tbaa !176
  %969 = load ptr, ptr %9, align 8, !tbaa !5
  %970 = call noundef float @_ZNK11ImGuiWindow14TitleBarHeightEv(ptr noundef nonnull align 8 dereferenceable(973) %969)
  %971 = load ptr, ptr %9, align 8, !tbaa !5
  %972 = call noundef float @_ZNK11ImGuiWindow13MenuBarHeightEv(ptr noundef nonnull align 8 dereferenceable(973) %971)
  %973 = fadd float %970, %972
  %974 = load ptr, ptr %9, align 8, !tbaa !5
  %975 = getelementptr inbounds %struct.ImGuiWindow, ptr %974, i32 0, i32 14
  store float %973, ptr %975, align 4, !tbaa !177
  %976 = load ptr, ptr %9, align 8, !tbaa !5
  %977 = getelementptr inbounds %struct.ImGuiWindow, ptr %976, i32 0, i32 16
  store float 0.000000e+00, ptr %977, align 4, !tbaa !178
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #13
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %36, float noundef 0.000000e+00, float noundef 0.000000e+00)
  %978 = load ptr, ptr %9, align 8, !tbaa !5
  %979 = getelementptr inbounds %struct.ImGuiWindow, ptr %978, i32 0, i32 27
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %979, ptr align 4 %36, i64 8, i1 false), !tbaa.struct !128
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #13
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #13
  %980 = load ptr, ptr %9, align 8, !tbaa !5
  %981 = load ptr, ptr %9, align 8, !tbaa !5
  %982 = getelementptr inbounds %struct.ImGuiWindow, ptr %981, i32 0, i32 8
  %983 = call <2 x float> @_ZL21CalcWindowAutoFitSizeP11ImGuiWindowRK6ImVec2(ptr noundef %980, ptr noundef nonnull align 4 dereferenceable(8) %982)
  store <2 x float> %983, ptr %37, align 4
  %984 = load i32, ptr %6, align 4, !tbaa !9
  %985 = and i32 %984, 64
  %986 = icmp ne i32 %985, 0
  br i1 %986, label %987, label %1011

987:                                              ; preds = %960
  %988 = load ptr, ptr %9, align 8, !tbaa !5
  %989 = getelementptr inbounds %struct.ImGuiWindow, ptr %988, i32 0, i32 33
  %990 = load i8, ptr %989, align 1, !tbaa !174, !range !77, !noundef !78
  %991 = trunc i8 %990 to i1
  br i1 %991, label %1011, label %992

992:                                              ; preds = %987
  %993 = load i8, ptr %20, align 1, !tbaa !81, !range !77, !noundef !78
  %994 = trunc i8 %993 to i1
  br i1 %994, label %1001, label %995

995:                                              ; preds = %992
  %996 = getelementptr inbounds %struct.ImVec2, ptr %37, i32 0, i32 0
  %997 = load float, ptr %996, align 4, !tbaa !179
  %998 = load ptr, ptr %9, align 8, !tbaa !5
  %999 = getelementptr inbounds %struct.ImGuiWindow, ptr %998, i32 0, i32 6
  %1000 = getelementptr inbounds %struct.ImVec2, ptr %999, i32 0, i32 0
  store float %997, ptr %1000, align 8, !tbaa !154
  store i8 1, ptr %32, align 1, !tbaa !81
  br label %1001

1001:                                             ; preds = %995, %992
  %1002 = load i8, ptr %21, align 1, !tbaa !81, !range !77, !noundef !78
  %1003 = trunc i8 %1002 to i1
  br i1 %1003, label %1010, label %1004

1004:                                             ; preds = %1001
  %1005 = getelementptr inbounds %struct.ImVec2, ptr %37, i32 0, i32 1
  %1006 = load float, ptr %1005, align 4, !tbaa !180
  %1007 = load ptr, ptr %9, align 8, !tbaa !5
  %1008 = getelementptr inbounds %struct.ImGuiWindow, ptr %1007, i32 0, i32 6
  %1009 = getelementptr inbounds %struct.ImVec2, ptr %1008, i32 0, i32 1
  store float %1006, ptr %1009, align 4, !tbaa !156
  store i8 1, ptr %33, align 1, !tbaa !81
  br label %1010

1010:                                             ; preds = %1004, %1001
  br label %1092

1011:                                             ; preds = %987, %960
  %1012 = load ptr, ptr %9, align 8, !tbaa !5
  %1013 = getelementptr inbounds %struct.ImGuiWindow, ptr %1012, i32 0, i32 48
  %1014 = load i8, ptr %1013, align 8, !tbaa !181
  %1015 = sext i8 %1014 to i32
  %1016 = icmp sgt i32 %1015, 0
  br i1 %1016, label %1023, label %1017

1017:                                             ; preds = %1011
  %1018 = load ptr, ptr %9, align 8, !tbaa !5
  %1019 = getelementptr inbounds %struct.ImGuiWindow, ptr %1018, i32 0, i32 49
  %1020 = load i8, ptr %1019, align 1, !tbaa !182
  %1021 = sext i8 %1020 to i32
  %1022 = icmp sgt i32 %1021, 0
  br i1 %1022, label %1023, label %1091

1023:                                             ; preds = %1017, %1011
  %1024 = load i8, ptr %20, align 1, !tbaa !81, !range !77, !noundef !78
  %1025 = trunc i8 %1024 to i1
  br i1 %1025, label %1053, label %1026

1026:                                             ; preds = %1023
  %1027 = load ptr, ptr %9, align 8, !tbaa !5
  %1028 = getelementptr inbounds %struct.ImGuiWindow, ptr %1027, i32 0, i32 48
  %1029 = load i8, ptr %1028, align 8, !tbaa !181
  %1030 = sext i8 %1029 to i32
  %1031 = icmp sgt i32 %1030, 0
  br i1 %1031, label %1032, label %1053

1032:                                             ; preds = %1026
  %1033 = load ptr, ptr %9, align 8, !tbaa !5
  %1034 = getelementptr inbounds %struct.ImGuiWindow, ptr %1033, i32 0, i32 51
  %1035 = load i8, ptr %1034, align 1, !tbaa !183, !range !77, !noundef !78
  %1036 = trunc i8 %1035 to i1
  br i1 %1036, label %1037, label %1045

1037:                                             ; preds = %1032
  %1038 = load ptr, ptr %9, align 8, !tbaa !5
  %1039 = getelementptr inbounds %struct.ImGuiWindow, ptr %1038, i32 0, i32 6
  %1040 = getelementptr inbounds %struct.ImVec2, ptr %1039, i32 0, i32 0
  %1041 = load float, ptr %1040, align 8, !tbaa !154
  %1042 = getelementptr inbounds %struct.ImVec2, ptr %37, i32 0, i32 0
  %1043 = load float, ptr %1042, align 4, !tbaa !179
  %1044 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %1041, float noundef %1043)
  br label %1048

1045:                                             ; preds = %1032
  %1046 = getelementptr inbounds %struct.ImVec2, ptr %37, i32 0, i32 0
  %1047 = load float, ptr %1046, align 4, !tbaa !179
  br label %1048

1048:                                             ; preds = %1045, %1037
  %1049 = phi float [ %1044, %1037 ], [ %1047, %1045 ]
  %1050 = load ptr, ptr %9, align 8, !tbaa !5
  %1051 = getelementptr inbounds %struct.ImGuiWindow, ptr %1050, i32 0, i32 6
  %1052 = getelementptr inbounds %struct.ImVec2, ptr %1051, i32 0, i32 0
  store float %1049, ptr %1052, align 8, !tbaa !154
  store i8 1, ptr %32, align 1, !tbaa !81
  br label %1053

1053:                                             ; preds = %1048, %1026, %1023
  %1054 = load i8, ptr %21, align 1, !tbaa !81, !range !77, !noundef !78
  %1055 = trunc i8 %1054 to i1
  br i1 %1055, label %1083, label %1056

1056:                                             ; preds = %1053
  %1057 = load ptr, ptr %9, align 8, !tbaa !5
  %1058 = getelementptr inbounds %struct.ImGuiWindow, ptr %1057, i32 0, i32 49
  %1059 = load i8, ptr %1058, align 1, !tbaa !182
  %1060 = sext i8 %1059 to i32
  %1061 = icmp sgt i32 %1060, 0
  br i1 %1061, label %1062, label %1083

1062:                                             ; preds = %1056
  %1063 = load ptr, ptr %9, align 8, !tbaa !5
  %1064 = getelementptr inbounds %struct.ImGuiWindow, ptr %1063, i32 0, i32 51
  %1065 = load i8, ptr %1064, align 1, !tbaa !183, !range !77, !noundef !78
  %1066 = trunc i8 %1065 to i1
  br i1 %1066, label %1067, label %1075

1067:                                             ; preds = %1062
  %1068 = load ptr, ptr %9, align 8, !tbaa !5
  %1069 = getelementptr inbounds %struct.ImGuiWindow, ptr %1068, i32 0, i32 6
  %1070 = getelementptr inbounds %struct.ImVec2, ptr %1069, i32 0, i32 1
  %1071 = load float, ptr %1070, align 4, !tbaa !156
  %1072 = getelementptr inbounds %struct.ImVec2, ptr %37, i32 0, i32 1
  %1073 = load float, ptr %1072, align 4, !tbaa !180
  %1074 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %1071, float noundef %1073)
  br label %1078

1075:                                             ; preds = %1062
  %1076 = getelementptr inbounds %struct.ImVec2, ptr %37, i32 0, i32 1
  %1077 = load float, ptr %1076, align 4, !tbaa !180
  br label %1078

1078:                                             ; preds = %1075, %1067
  %1079 = phi float [ %1074, %1067 ], [ %1077, %1075 ]
  %1080 = load ptr, ptr %9, align 8, !tbaa !5
  %1081 = getelementptr inbounds %struct.ImGuiWindow, ptr %1080, i32 0, i32 6
  %1082 = getelementptr inbounds %struct.ImVec2, ptr %1081, i32 0, i32 1
  store float %1079, ptr %1082, align 4, !tbaa !156
  store i8 1, ptr %33, align 1, !tbaa !81
  br label %1083

1083:                                             ; preds = %1078, %1056, %1053
  %1084 = load ptr, ptr %9, align 8, !tbaa !5
  %1085 = getelementptr inbounds %struct.ImGuiWindow, ptr %1084, i32 0, i32 33
  %1086 = load i8, ptr %1085, align 1, !tbaa !174, !range !77, !noundef !78
  %1087 = trunc i8 %1086 to i1
  br i1 %1087, label %1090, label %1088

1088:                                             ; preds = %1083
  %1089 = load ptr, ptr %9, align 8, !tbaa !5
  call void @_ZN5ImGui20MarkIniSettingsDirtyEP11ImGuiWindow(ptr noundef %1089)
  br label %1090

1090:                                             ; preds = %1088, %1083
  br label %1091

1091:                                             ; preds = %1090, %1017
  br label %1092

1092:                                             ; preds = %1091, %1010
  call void @llvm.lifetime.start.p0(i64 8, ptr %38) #13
  %1093 = load ptr, ptr %9, align 8, !tbaa !5
  %1094 = load ptr, ptr %9, align 8, !tbaa !5
  %1095 = getelementptr inbounds %struct.ImGuiWindow, ptr %1094, i32 0, i32 6
  %1096 = call <2 x float> @_ZL29CalcWindowSizeAfterConstraintP11ImGuiWindowRK6ImVec2(ptr noundef %1093, ptr noundef nonnull align 4 dereferenceable(8) %1095)
  store <2 x float> %1096, ptr %38, align 4
  %1097 = load ptr, ptr %9, align 8, !tbaa !5
  %1098 = getelementptr inbounds %struct.ImGuiWindow, ptr %1097, i32 0, i32 6
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %1098, ptr align 4 %38, i64 8, i1 false), !tbaa.struct !128
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #13
  call void @llvm.lifetime.start.p0(i64 8, ptr %39) #13
  %1099 = load ptr, ptr %9, align 8, !tbaa !5
  %1100 = getelementptr inbounds %struct.ImGuiWindow, ptr %1099, i32 0, i32 33
  %1101 = load i8, ptr %1100, align 1, !tbaa !174, !range !77, !noundef !78
  %1102 = trunc i8 %1101 to i1
  call void @llvm.lifetime.start.p0(i64 16, ptr %40) #13
  br i1 %1102, label %1103, label %1115

1103:                                             ; preds = %1092
  %1104 = load i32, ptr %6, align 4, !tbaa !9
  %1105 = and i32 %1104, 16777216
  %1106 = icmp ne i32 %1105, 0
  br i1 %1106, label %1115, label %1107

1107:                                             ; preds = %1103
  %1108 = load ptr, ptr %9, align 8, !tbaa !5
  %1109 = call { <2 x float>, <2 x float> } @_ZNK11ImGuiWindow12TitleBarRectEv(ptr noundef nonnull align 8 dereferenceable(973) %1108)
  %1110 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %40, i32 0, i32 0
  %1111 = extractvalue { <2 x float>, <2 x float> } %1109, 0
  store <2 x float> %1111, ptr %1110, align 4
  %1112 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %40, i32 0, i32 1
  %1113 = extractvalue { <2 x float>, <2 x float> } %1109, 1
  store <2 x float> %1113, ptr %1112, align 4
  %1114 = call <2 x float> @_ZNK6ImRect7GetSizeEv(ptr noundef nonnull align 4 dereferenceable(16) %40)
  store <2 x float> %1114, ptr %39, align 4
  br label %1118

1115:                                             ; preds = %1103, %1092
  %1116 = load ptr, ptr %9, align 8, !tbaa !5
  %1117 = getelementptr inbounds %struct.ImGuiWindow, ptr %1116, i32 0, i32 6
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %39, ptr align 8 %1117, i64 8, i1 false), !tbaa.struct !128
  br label %1118

1118:                                             ; preds = %1115, %1107
  %1119 = load ptr, ptr %9, align 8, !tbaa !5
  %1120 = getelementptr inbounds %struct.ImGuiWindow, ptr %1119, i32 0, i32 5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %1120, ptr align 4 %39, i64 8, i1 false), !tbaa.struct !128
  call void @llvm.lifetime.end.p0(i64 16, ptr %40) #13
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #13
  %1121 = load i8, ptr %13, align 1, !tbaa !81, !range !77, !noundef !78
  %1122 = trunc i8 %1121 to i1
  br i1 %1122, label %1123, label %1144

1123:                                             ; preds = %1118
  %1124 = load ptr, ptr %9, align 8, !tbaa !5
  %1125 = getelementptr inbounds %struct.ImGuiWindow, ptr %1124, i32 0, i32 52
  store i32 -1, ptr %1125, align 4, !tbaa !184
  %1126 = load i32, ptr %6, align 4, !tbaa !9
  %1127 = and i32 %1126, 67108864
  %1128 = icmp ne i32 %1127, 0
  br i1 %1128, label %1129, label %1143

1129:                                             ; preds = %1123
  %1130 = load i32, ptr %6, align 4, !tbaa !9
  %1131 = and i32 %1130, 134217728
  %1132 = icmp ne i32 %1131, 0
  br i1 %1132, label %1143, label %1133

1133:                                             ; preds = %1129
  %1134 = load i8, ptr %19, align 1, !tbaa !81, !range !77, !noundef !78
  %1135 = trunc i8 %1134 to i1
  br i1 %1135, label %1143, label %1136

1136:                                             ; preds = %1133
  %1137 = load ptr, ptr %7, align 8, !tbaa !5
  %1138 = getelementptr inbounds %struct.ImGuiContext, ptr %1137, i32 0, i32 81
  %1139 = call noundef nonnull align 8 dereferenceable(52) ptr @_ZN8ImVectorI14ImGuiPopupDataE4backEv(ptr noundef nonnull align 8 dereferenceable(16) %1138)
  %1140 = getelementptr inbounds %struct.ImGuiPopupData, ptr %1139, i32 0, i32 7
  %1141 = load ptr, ptr %9, align 8, !tbaa !5
  %1142 = getelementptr inbounds %struct.ImGuiWindow, ptr %1141, i32 0, i32 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %1142, ptr align 4 %1140, i64 8, i1 false), !tbaa.struct !128
  br label %1143

1143:                                             ; preds = %1136, %1133, %1129, %1123
  br label %1144

1144:                                             ; preds = %1143, %1118
  %1145 = load i32, ptr %6, align 4, !tbaa !9
  %1146 = and i32 %1145, 16777216
  %1147 = icmp ne i32 %1146, 0
  br i1 %1147, label %1148, label %1189

1148:                                             ; preds = %1144
  %1149 = load ptr, ptr %16, align 8, !tbaa !5
  %1150 = icmp ne ptr %1149, null
  br i1 %1150, label %1151, label %1156

1151:                                             ; preds = %1148
  %1152 = load ptr, ptr %16, align 8, !tbaa !5
  %1153 = getelementptr inbounds %struct.ImGuiWindow, ptr %1152, i32 0, i32 30
  %1154 = load i8, ptr %1153, align 2, !tbaa !141, !range !77, !noundef !78
  %1155 = trunc i8 %1154 to i1
  br label %1156

1156:                                             ; preds = %1151, %1148
  %1157 = phi i1 [ false, %1148 ], [ %1155, %1151 ]
  br i1 %1157, label %1158, label %1159

1158:                                             ; preds = %1156
  br label %1161

1159:                                             ; preds = %1156
  call void @__assert_fail(ptr noundef @.str.130, ptr noundef @.str.4, i32 noundef 6308, ptr noundef @__PRETTY_FUNCTION__._ZN5ImGui5BeginEPKcPbi) #14
  unreachable

1160:                                             ; No predecessors!
  br label %1161

1161:                                             ; preds = %1160, %1158
  %1162 = load ptr, ptr %16, align 8, !tbaa !5
  %1163 = getelementptr inbounds %struct.ImGuiWindow, ptr %1162, i32 0, i32 61
  %1164 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %1163, i32 0, i32 25
  %1165 = getelementptr inbounds %struct.ImVector.2, ptr %1164, i32 0, i32 0
  %1166 = load i32, ptr %1165, align 8, !tbaa !185
  %1167 = trunc i32 %1166 to i16
  %1168 = load ptr, ptr %9, align 8, !tbaa !5
  %1169 = getelementptr inbounds %struct.ImGuiWindow, ptr %1168, i32 0, i32 44
  store i16 %1167, ptr %1169, align 2, !tbaa !108
  %1170 = load ptr, ptr %16, align 8, !tbaa !5
  %1171 = getelementptr inbounds %struct.ImGuiWindow, ptr %1170, i32 0, i32 61
  %1172 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %1171, i32 0, i32 25
  call void @_ZN8ImVectorIP11ImGuiWindowE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %1172, ptr noundef nonnull align 8 dereferenceable(8) %9)
  %1173 = load i32, ptr %6, align 4, !tbaa !9
  %1174 = and i32 %1173, 67108864
  %1175 = icmp ne i32 %1174, 0
  br i1 %1175, label %1188, label %1176

1176:                                             ; preds = %1161
  %1177 = load i8, ptr %19, align 1, !tbaa !81, !range !77, !noundef !78
  %1178 = trunc i8 %1177 to i1
  br i1 %1178, label %1188, label %1179

1179:                                             ; preds = %1176
  %1180 = load i8, ptr %23, align 1, !tbaa !81, !range !77, !noundef !78
  %1181 = trunc i8 %1180 to i1
  br i1 %1181, label %1188, label %1182

1182:                                             ; preds = %1179
  %1183 = load ptr, ptr %16, align 8, !tbaa !5
  %1184 = getelementptr inbounds %struct.ImGuiWindow, ptr %1183, i32 0, i32 61
  %1185 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %1184, i32 0, i32 0
  %1186 = load ptr, ptr %9, align 8, !tbaa !5
  %1187 = getelementptr inbounds %struct.ImGuiWindow, ptr %1186, i32 0, i32 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %1187, ptr align 8 %1185, i64 8, i1 false), !tbaa.struct !128
  br label %1188

1188:                                             ; preds = %1182, %1179, %1176, %1161
  br label %1189

1189:                                             ; preds = %1188, %1144
  call void @llvm.lifetime.start.p0(i64 1, ptr %41) #13
  %1190 = load ptr, ptr %9, align 8, !tbaa !5
  %1191 = getelementptr inbounds %struct.ImGuiWindow, ptr %1190, i32 0, i32 58
  %1192 = getelementptr inbounds %struct.ImVec2, ptr %1191, i32 0, i32 0
  %1193 = load float, ptr %1192, align 8, !tbaa !186
  %1194 = fcmp une float %1193, 0x47EFFFFFE0000000
  br i1 %1194, label %1195, label %1201

1195:                                             ; preds = %1189
  %1196 = load ptr, ptr %9, align 8, !tbaa !5
  %1197 = getelementptr inbounds %struct.ImGuiWindow, ptr %1196, i32 0, i32 54
  %1198 = load i8, ptr %1197, align 1, !tbaa !140
  %1199 = sext i8 %1198 to i32
  %1200 = icmp eq i32 %1199, 0
  br label %1201

1201:                                             ; preds = %1195, %1189
  %1202 = phi i1 [ false, %1189 ], [ %1200, %1195 ]
  %1203 = zext i1 %1202 to i8
  store i8 %1203, ptr %41, align 1, !tbaa !81
  %1204 = load i8, ptr %41, align 1, !tbaa !81, !range !77, !noundef !78
  %1205 = trunc i8 %1204 to i1
  br i1 %1205, label %1206, label %1216

1206:                                             ; preds = %1201
  %1207 = load ptr, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %42) #13
  %1208 = load ptr, ptr %9, align 8, !tbaa !5
  %1209 = getelementptr inbounds %struct.ImGuiWindow, ptr %1208, i32 0, i32 58
  call void @llvm.lifetime.start.p0(i64 8, ptr %43) #13
  %1210 = load ptr, ptr %9, align 8, !tbaa !5
  %1211 = getelementptr inbounds %struct.ImGuiWindow, ptr %1210, i32 0, i32 5
  %1212 = load ptr, ptr %9, align 8, !tbaa !5
  %1213 = getelementptr inbounds %struct.ImGuiWindow, ptr %1212, i32 0, i32 59
  %1214 = call <2 x float> @_ZmlRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %1211, ptr noundef nonnull align 4 dereferenceable(8) %1213)
  store <2 x float> %1214, ptr %43, align 4
  %1215 = call <2 x float> @_ZmiRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %1209, ptr noundef nonnull align 4 dereferenceable(8) %43)
  store <2 x float> %1215, ptr %42, align 4
  call void @_ZN5ImGui12SetWindowPosEP11ImGuiWindowRK6ImVec2i(ptr noundef %1207, ptr noundef nonnull align 4 dereferenceable(8) %42, i32 noundef 0)
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #13
  call void @llvm.lifetime.end.p0(i64 8, ptr %42) #13
  br label %1258

1216:                                             ; preds = %1201
  %1217 = load i32, ptr %6, align 4, !tbaa !9
  %1218 = and i32 %1217, 268435456
  %1219 = icmp ne i32 %1218, 0
  br i1 %1219, label %1220, label %1225

1220:                                             ; preds = %1216
  call void @llvm.lifetime.start.p0(i64 8, ptr %44) #13
  %1221 = load ptr, ptr %9, align 8, !tbaa !5
  %1222 = call <2 x float> @_ZN5ImGui25FindBestWindowPosForPopupEP11ImGuiWindow(ptr noundef %1221)
  store <2 x float> %1222, ptr %44, align 4
  %1223 = load ptr, ptr %9, align 8, !tbaa !5
  %1224 = getelementptr inbounds %struct.ImGuiWindow, ptr %1223, i32 0, i32 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %1224, ptr align 4 %44, i64 8, i1 false), !tbaa.struct !128
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #13
  br label %1257

1225:                                             ; preds = %1216
  %1226 = load i32, ptr %6, align 4, !tbaa !9
  %1227 = and i32 %1226, 67108864
  %1228 = icmp ne i32 %1227, 0
  br i1 %1228, label %1229, label %1240

1229:                                             ; preds = %1225
  %1230 = load i8, ptr %19, align 1, !tbaa !81, !range !77, !noundef !78
  %1231 = trunc i8 %1230 to i1
  br i1 %1231, label %1240, label %1232

1232:                                             ; preds = %1229
  %1233 = load i8, ptr %24, align 1, !tbaa !81, !range !77, !noundef !78
  %1234 = trunc i8 %1233 to i1
  br i1 %1234, label %1235, label %1240

1235:                                             ; preds = %1232
  call void @llvm.lifetime.start.p0(i64 8, ptr %45) #13
  %1236 = load ptr, ptr %9, align 8, !tbaa !5
  %1237 = call <2 x float> @_ZN5ImGui25FindBestWindowPosForPopupEP11ImGuiWindow(ptr noundef %1236)
  store <2 x float> %1237, ptr %45, align 4
  %1238 = load ptr, ptr %9, align 8, !tbaa !5
  %1239 = getelementptr inbounds %struct.ImGuiWindow, ptr %1238, i32 0, i32 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %1239, ptr align 4 %45, i64 8, i1 false), !tbaa.struct !128
  call void @llvm.lifetime.end.p0(i64 8, ptr %45) #13
  br label %1256

1240:                                             ; preds = %1232, %1229, %1225
  %1241 = load i32, ptr %6, align 4, !tbaa !9
  %1242 = and i32 %1241, 33554432
  %1243 = icmp ne i32 %1242, 0
  br i1 %1243, label %1244, label %1255

1244:                                             ; preds = %1240
  %1245 = load i8, ptr %19, align 1, !tbaa !81, !range !77, !noundef !78
  %1246 = trunc i8 %1245 to i1
  br i1 %1246, label %1255, label %1247

1247:                                             ; preds = %1244
  %1248 = load i8, ptr %23, align 1, !tbaa !81, !range !77, !noundef !78
  %1249 = trunc i8 %1248 to i1
  br i1 %1249, label %1255, label %1250

1250:                                             ; preds = %1247
  call void @llvm.lifetime.start.p0(i64 8, ptr %46) #13
  %1251 = load ptr, ptr %9, align 8, !tbaa !5
  %1252 = call <2 x float> @_ZN5ImGui25FindBestWindowPosForPopupEP11ImGuiWindow(ptr noundef %1251)
  store <2 x float> %1252, ptr %46, align 4
  %1253 = load ptr, ptr %9, align 8, !tbaa !5
  %1254 = getelementptr inbounds %struct.ImGuiWindow, ptr %1253, i32 0, i32 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %1254, ptr align 4 %46, i64 8, i1 false), !tbaa.struct !128
  call void @llvm.lifetime.end.p0(i64 8, ptr %46) #13
  br label %1255

1255:                                             ; preds = %1250, %1247, %1244, %1240
  br label %1256

1256:                                             ; preds = %1255, %1235
  br label %1257

1257:                                             ; preds = %1256, %1220
  br label %1258

1258:                                             ; preds = %1257, %1206
  call void @llvm.lifetime.start.p0(i64 16, ptr %47) #13
  %1259 = load ptr, ptr %30, align 8, !tbaa !5
  %1260 = call { <2 x float>, <2 x float> } @_ZNK14ImGuiViewportP11GetMainRectEv(ptr noundef nonnull align 8 dereferenceable(184) %1259)
  %1261 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %47, i32 0, i32 0
  %1262 = extractvalue { <2 x float>, <2 x float> } %1260, 0
  store <2 x float> %1262, ptr %1261, align 4
  %1263 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %47, i32 0, i32 1
  %1264 = extractvalue { <2 x float>, <2 x float> } %1260, 1
  store <2 x float> %1264, ptr %1263, align 4
  call void @llvm.lifetime.start.p0(i64 16, ptr %48) #13
  %1265 = load ptr, ptr %30, align 8, !tbaa !5
  %1266 = call { <2 x float>, <2 x float> } @_ZNK14ImGuiViewportP11GetWorkRectEv(ptr noundef nonnull align 8 dereferenceable(184) %1265)
  %1267 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %48, i32 0, i32 0
  %1268 = extractvalue { <2 x float>, <2 x float> } %1266, 0
  store <2 x float> %1268, ptr %1267, align 4
  %1269 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %48, i32 0, i32 1
  %1270 = extractvalue { <2 x float>, <2 x float> } %1266, 1
  store <2 x float> %1270, ptr %1269, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %49) #13
  %1271 = load ptr, ptr %8, align 8, !tbaa !5
  %1272 = getelementptr inbounds %struct.ImGuiStyle, ptr %1271, i32 0, i32 32
  %1273 = load ptr, ptr %8, align 8, !tbaa !5
  %1274 = getelementptr inbounds %struct.ImGuiStyle, ptr %1273, i32 0, i32 33
  %1275 = call <2 x float> @_ZL5ImMaxRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %1272, ptr noundef nonnull align 4 dereferenceable(8) %1274)
  store <2 x float> %1275, ptr %49, align 4
  call void @llvm.lifetime.start.p0(i64 16, ptr %50) #13
  call void @llvm.lifetime.start.p0(i64 8, ptr %51) #13
  %1276 = getelementptr inbounds %struct.ImRect, ptr %48, i32 0, i32 0
  %1277 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %1276, ptr noundef nonnull align 4 dereferenceable(8) %49)
  store <2 x float> %1277, ptr %51, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %52) #13
  %1278 = getelementptr inbounds %struct.ImRect, ptr %48, i32 0, i32 1
  %1279 = call <2 x float> @_ZmiRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %1278, ptr noundef nonnull align 4 dereferenceable(8) %49)
  store <2 x float> %1279, ptr %52, align 4
  call void @_ZN6ImRectC2ERK6ImVec2S2_(ptr noundef nonnull align 4 dereferenceable(16) %50, ptr noundef nonnull align 4 dereferenceable(8) %51, ptr noundef nonnull align 4 dereferenceable(8) %52)
  call void @llvm.lifetime.end.p0(i64 8, ptr %52) #13
  call void @llvm.lifetime.end.p0(i64 8, ptr %51) #13
  %1280 = load i8, ptr %19, align 1, !tbaa !81, !range !77, !noundef !78
  %1281 = trunc i8 %1280 to i1
  br i1 %1281, label %1295, label %1282

1282:                                             ; preds = %1258
  %1283 = load i32, ptr %6, align 4, !tbaa !9
  %1284 = and i32 %1283, 16777216
  %1285 = icmp ne i32 %1284, 0
  br i1 %1285, label %1295, label %1286

1286:                                             ; preds = %1282
  %1287 = call noundef float @_ZNK6ImRect8GetWidthEv(ptr noundef nonnull align 4 dereferenceable(16) %47)
  %1288 = fcmp ogt float %1287, 0.000000e+00
  br i1 %1288, label %1289, label %1294

1289:                                             ; preds = %1286
  %1290 = call noundef float @_ZNK6ImRect9GetHeightEv(ptr noundef nonnull align 4 dereferenceable(16) %47)
  %1291 = fcmp ogt float %1290, 0.000000e+00
  br i1 %1291, label %1292, label %1294

1292:                                             ; preds = %1289
  %1293 = load ptr, ptr %9, align 8, !tbaa !5
  call void @_ZL14ClampWindowPosP11ImGuiWindowRK6ImRect(ptr noundef %1293, ptr noundef nonnull align 4 dereferenceable(16) %50)
  br label %1294

1294:                                             ; preds = %1292, %1289, %1286
  br label %1295

1295:                                             ; preds = %1294, %1282, %1258
  call void @llvm.lifetime.start.p0(i64 8, ptr %53) #13
  %1296 = load ptr, ptr %9, align 8, !tbaa !5
  %1297 = getelementptr inbounds %struct.ImGuiWindow, ptr %1296, i32 0, i32 4
  %1298 = call <2 x float> @_ZL7ImFloorRK6ImVec2(ptr noundef nonnull align 4 dereferenceable(8) %1297)
  store <2 x float> %1298, ptr %53, align 4
  %1299 = load ptr, ptr %9, align 8, !tbaa !5
  %1300 = getelementptr inbounds %struct.ImGuiWindow, ptr %1299, i32 0, i32 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %1300, ptr align 4 %53, i64 8, i1 false), !tbaa.struct !128
  call void @llvm.lifetime.end.p0(i64 8, ptr %53) #13
  %1301 = load i32, ptr %6, align 4, !tbaa !9
  %1302 = and i32 %1301, 16777216
  %1303 = icmp ne i32 %1302, 0
  br i1 %1303, label %1304, label %1308

1304:                                             ; preds = %1295
  %1305 = load ptr, ptr %8, align 8, !tbaa !5
  %1306 = getelementptr inbounds %struct.ImGuiStyle, ptr %1305, i32 0, i32 8
  %1307 = load float, ptr %1306, align 4, !tbaa !187
  br label %1326

1308:                                             ; preds = %1295
  %1309 = load i32, ptr %6, align 4, !tbaa !9
  %1310 = and i32 %1309, 67108864
  %1311 = icmp ne i32 %1310, 0
  br i1 %1311, label %1312, label %1320

1312:                                             ; preds = %1308
  %1313 = load i32, ptr %6, align 4, !tbaa !9
  %1314 = and i32 %1313, 134217728
  %1315 = icmp ne i32 %1314, 0
  br i1 %1315, label %1320, label %1316

1316:                                             ; preds = %1312
  %1317 = load ptr, ptr %8, align 8, !tbaa !5
  %1318 = getelementptr inbounds %struct.ImGuiStyle, ptr %1317, i32 0, i32 10
  %1319 = load float, ptr %1318, align 4, !tbaa !188
  br label %1324

1320:                                             ; preds = %1312, %1308
  %1321 = load ptr, ptr %8, align 8, !tbaa !5
  %1322 = getelementptr inbounds %struct.ImGuiStyle, ptr %1321, i32 0, i32 3
  %1323 = load float, ptr %1322, align 4, !tbaa !189
  br label %1324

1324:                                             ; preds = %1320, %1316
  %1325 = phi float [ %1319, %1316 ], [ %1323, %1320 ]
  br label %1326

1326:                                             ; preds = %1324, %1304
  %1327 = phi float [ %1307, %1304 ], [ %1325, %1324 ]
  %1328 = load ptr, ptr %9, align 8, !tbaa !5
  %1329 = getelementptr inbounds %struct.ImGuiWindow, ptr %1328, i32 0, i32 11
  store float %1327, ptr %1329, align 8, !tbaa !190
  call void @llvm.lifetime.start.p0(i64 1, ptr %54) #13
  store i8 0, ptr %54, align 1, !tbaa !81
  %1330 = load i8, ptr %13, align 1, !tbaa !81, !range !77, !noundef !78
  %1331 = trunc i8 %1330 to i1
  br i1 %1331, label %1332, label %1374

1332:                                             ; preds = %1326
  %1333 = load i32, ptr %6, align 4, !tbaa !9
  %1334 = and i32 %1333, 4096
  %1335 = icmp ne i32 %1334, 0
  br i1 %1335, label %1374, label %1336

1336:                                             ; preds = %1332
  %1337 = load i32, ptr %6, align 4, !tbaa !9
  %1338 = and i32 %1337, 67108864
  %1339 = icmp ne i32 %1338, 0
  br i1 %1339, label %1340, label %1341

1340:                                             ; preds = %1336
  store i8 1, ptr %54, align 1, !tbaa !81
  br label %1347

1341:                                             ; preds = %1336
  %1342 = load i32, ptr %6, align 4, !tbaa !9
  %1343 = and i32 %1342, 50331648
  %1344 = icmp eq i32 %1343, 0
  br i1 %1344, label %1345, label %1346

1345:                                             ; preds = %1341
  store i8 1, ptr %54, align 1, !tbaa !81
  br label %1346

1346:                                             ; preds = %1345, %1341
  br label %1347

1347:                                             ; preds = %1346, %1340
  call void @llvm.lifetime.start.p0(i64 8, ptr %55) #13
  %1348 = call noundef ptr @_ZN5ImGui20GetTopMostPopupModalEv()
  store ptr %1348, ptr %55, align 8, !tbaa !5
  %1349 = load ptr, ptr %55, align 8, !tbaa !5
  %1350 = icmp ne ptr %1349, null
  br i1 %1350, label %1351, label %1373

1351:                                             ; preds = %1347
  %1352 = load ptr, ptr %9, align 8, !tbaa !5
  %1353 = load ptr, ptr %55, align 8, !tbaa !5
  %1354 = call noundef zeroext i1 @_ZN5ImGui26IsWindowWithinBeginStackOfEP11ImGuiWindowS1_(ptr noundef %1352, ptr noundef %1353)
  br i1 %1354, label %1373, label %1355

1355:                                             ; preds = %1351
  store i8 0, ptr %54, align 1, !tbaa !81
  %1356 = load ptr, ptr %9, align 8, !tbaa !5
  %1357 = load ptr, ptr %9, align 8, !tbaa !5
  %1358 = getelementptr inbounds %struct.ImGuiWindow, ptr %1357, i32 0, i32 83
  %1359 = load ptr, ptr %1358, align 8, !tbaa !191
  %1360 = icmp eq ptr %1356, %1359
  br i1 %1360, label %1361, label %1372

1361:                                             ; preds = %1355
  call void @llvm.lifetime.start.p0(i64 8, ptr %56) #13
  %1362 = load ptr, ptr %9, align 8, !tbaa !5
  %1363 = call noundef ptr @_ZN5ImGuiL17FindBlockingModalEP11ImGuiWindow(ptr noundef %1362)
  store ptr %1363, ptr %56, align 8, !tbaa !5
  %1364 = load ptr, ptr %56, align 8, !tbaa !5
  %1365 = icmp ne ptr %1364, null
  br i1 %1365, label %1366, label %1367

1366:                                             ; preds = %1361
  br label %1369

1367:                                             ; preds = %1361
  call void @__assert_fail(ptr noundef @.str.131, ptr noundef @.str.4, i32 noundef 6367, ptr noundef @__PRETTY_FUNCTION__._ZN5ImGui5BeginEPKcPbi) #14
  unreachable

1368:                                             ; No predecessors!
  br label %1369

1369:                                             ; preds = %1368, %1366
  %1370 = load ptr, ptr %9, align 8, !tbaa !5
  %1371 = load ptr, ptr %56, align 8, !tbaa !5
  call void @_ZN5ImGui26BringWindowToDisplayBehindEP11ImGuiWindowS1_(ptr noundef %1370, ptr noundef %1371)
  call void @llvm.lifetime.end.p0(i64 8, ptr %56) #13
  br label %1372

1372:                                             ; preds = %1369, %1355
  br label %1373

1373:                                             ; preds = %1372, %1351, %1347
  call void @llvm.lifetime.end.p0(i64 8, ptr %55) #13
  br label %1374

1374:                                             ; preds = %1373, %1332, %1326
  call void @llvm.lifetime.start.p0(i64 4, ptr %57) #13
  store i32 -1, ptr %57, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 16, ptr %58) #13
  call void @llvm.memset.p0.i64(ptr align 16 %58, i8 0, i64 16, i1 false)
  call void @llvm.lifetime.start.p0(i64 4, ptr %59) #13
  %1375 = load ptr, ptr %7, align 8, !tbaa !5
  %1376 = getelementptr inbounds %struct.ImGuiContext, ptr %1375, i32 0, i32 2
  %1377 = getelementptr inbounds %struct.ImGuiIO, ptr %1376, i32 0, i32 26
  %1378 = load i8, ptr %1377, align 2, !tbaa !192, !range !77, !noundef !78
  %1379 = trunc i8 %1378 to i1
  %1380 = zext i1 %1379 to i64
  %1381 = select i1 %1379, i32 2, i32 1
  store i32 %1381, ptr %59, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %60) #13
  %1382 = load ptr, ptr %7, align 8, !tbaa !5
  %1383 = getelementptr inbounds %struct.ImGuiContext, ptr %1382, i32 0, i32 7
  %1384 = load float, ptr %1383, align 8, !tbaa !193
  %1385 = fmul float %1384, 0x3FF19999A0000000
  %1386 = load ptr, ptr %9, align 8, !tbaa !5
  %1387 = getelementptr inbounds %struct.ImGuiWindow, ptr %1386, i32 0, i32 11
  %1388 = load float, ptr %1387, align 8, !tbaa !190
  %1389 = fadd float %1388, 1.000000e+00
  %1390 = load ptr, ptr %7, align 8, !tbaa !5
  %1391 = getelementptr inbounds %struct.ImGuiContext, ptr %1390, i32 0, i32 7
  %1392 = load float, ptr %1391, align 8, !tbaa !193
  %1393 = call float @llvm.fmuladd.f32(float %1392, float 0x3FC99999A0000000, float %1389)
  %1394 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %1385, float noundef %1393)
  %1395 = fptosi float %1394 to i32
  %1396 = sitofp i32 %1395 to float
  store float %1396, ptr %60, align 4, !tbaa !118
  %1397 = load ptr, ptr %9, align 8, !tbaa !5
  %1398 = getelementptr inbounds %struct.ImGuiWindow, ptr %1397, i32 0, i32 33
  %1399 = load i8, ptr %1398, align 1, !tbaa !174, !range !77, !noundef !78
  %1400 = trunc i8 %1399 to i1
  br i1 %1400, label %1408, label %1401

1401:                                             ; preds = %1374
  %1402 = load ptr, ptr %9, align 8, !tbaa !5
  %1403 = load i32, ptr %59, align 4, !tbaa !9
  %1404 = getelementptr inbounds [4 x i32], ptr %58, i64 0, i64 0
  %1405 = call noundef zeroext i1 @_ZN5ImGuiL24UpdateWindowManualResizeEP11ImGuiWindowRK6ImVec2PiiPjRK6ImRect(ptr noundef %1402, ptr noundef nonnull align 4 dereferenceable(8) %37, ptr noundef %57, i32 noundef %1403, ptr noundef %1404, ptr noundef nonnull align 4 dereferenceable(16) %50)
  br i1 %1405, label %1406, label %1407

1406:                                             ; preds = %1401
  store i8 1, ptr %33, align 1, !tbaa !81
  store i8 1, ptr %32, align 1, !tbaa !81
  br label %1407

1407:                                             ; preds = %1406, %1401
  br label %1408

1408:                                             ; preds = %1407, %1374
  %1409 = load i32, ptr %57, align 4, !tbaa !9
  %1410 = trunc i32 %1409 to i8
  %1411 = load ptr, ptr %9, align 8, !tbaa !5
  %1412 = getelementptr inbounds %struct.ImGuiWindow, ptr %1411, i32 0, i32 41
  store i8 %1410, ptr %1412, align 1, !tbaa !194
  %1413 = load ptr, ptr %9, align 8, !tbaa !5
  %1414 = getelementptr inbounds %struct.ImGuiWindow, ptr %1413, i32 0, i32 33
  %1415 = load i8, ptr %1414, align 1, !tbaa !174, !range !77, !noundef !78
  %1416 = trunc i8 %1415 to i1
  br i1 %1416, label %1589, label %1417

1417:                                             ; preds = %1408
  call void @llvm.lifetime.start.p0(i64 8, ptr %61) #13
  %1418 = load ptr, ptr %9, align 8, !tbaa !5
  %1419 = getelementptr inbounds %struct.ImGuiWindow, ptr %1418, i32 0, i32 6
  %1420 = getelementptr inbounds %struct.ImVec2, ptr %1419, i32 0, i32 0
  %1421 = load float, ptr %1420, align 8, !tbaa !154
  %1422 = load ptr, ptr %9, align 8, !tbaa !5
  %1423 = getelementptr inbounds %struct.ImGuiWindow, ptr %1422, i32 0, i32 6
  %1424 = getelementptr inbounds %struct.ImVec2, ptr %1423, i32 0, i32 1
  %1425 = load float, ptr %1424, align 4, !tbaa !156
  %1426 = load ptr, ptr %9, align 8, !tbaa !5
  %1427 = getelementptr inbounds %struct.ImGuiWindow, ptr %1426, i32 0, i32 14
  %1428 = load float, ptr %1427, align 4, !tbaa !177
  %1429 = load ptr, ptr %9, align 8, !tbaa !5
  %1430 = getelementptr inbounds %struct.ImGuiWindow, ptr %1429, i32 0, i32 16
  %1431 = load float, ptr %1430, align 4, !tbaa !178
  %1432 = fadd float %1428, %1431
  %1433 = fsub float %1425, %1432
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %61, float noundef %1421, float noundef %1433)
  call void @llvm.lifetime.start.p0(i64 8, ptr %62) #13
  call void @llvm.lifetime.start.p0(i64 8, ptr %63) #13
  %1434 = load ptr, ptr %9, align 8, !tbaa !5
  %1435 = getelementptr inbounds %struct.ImGuiWindow, ptr %1434, i32 0, i32 63
  %1436 = call <2 x float> @_ZNK6ImRect7GetSizeEv(ptr noundef nonnull align 4 dereferenceable(16) %1435)
  store <2 x float> %1436, ptr %63, align 4
  %1437 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %63, ptr noundef nonnull align 4 dereferenceable(8) %35)
  store <2 x float> %1437, ptr %62, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %63) #13
  call void @llvm.lifetime.start.p0(i64 8, ptr %64) #13
  %1438 = load i8, ptr %10, align 1, !tbaa !81, !range !77, !noundef !78
  %1439 = trunc i8 %1438 to i1
  call void @llvm.lifetime.start.p0(i64 8, ptr %65) #13
  br i1 %1439, label %1440, label %1441

1440:                                             ; preds = %1417
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %64, float noundef 0.000000e+00, float noundef 0.000000e+00)
  br label %1448

1441:                                             ; preds = %1417
  %1442 = load ptr, ptr %9, align 8, !tbaa !5
  %1443 = getelementptr inbounds %struct.ImGuiWindow, ptr %1442, i32 0, i32 7
  %1444 = load ptr, ptr %9, align 8, !tbaa !5
  %1445 = getelementptr inbounds %struct.ImGuiWindow, ptr %1444, i32 0, i32 10
  %1446 = call <2 x float> @_ZmlRK6ImVec2f(ptr noundef nonnull align 4 dereferenceable(8) %1445, float noundef 2.000000e+00)
  store <2 x float> %1446, ptr %65, align 4
  %1447 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %1443, ptr noundef nonnull align 4 dereferenceable(8) %65)
  store <2 x float> %1447, ptr %64, align 4
  br label %1448

1448:                                             ; preds = %1441, %1440
  call void @llvm.lifetime.end.p0(i64 8, ptr %65) #13
  call void @llvm.lifetime.start.p0(i64 4, ptr %66) #13
  %1449 = load i8, ptr %32, align 1, !tbaa !81, !range !77, !noundef !78
  %1450 = trunc i8 %1449 to i1
  br i1 %1450, label %1451, label %1454

1451:                                             ; preds = %1448
  %1452 = getelementptr inbounds %struct.ImVec2, ptr %61, i32 0, i32 0
  %1453 = load float, ptr %1452, align 4, !tbaa !179
  br label %1457

1454:                                             ; preds = %1448
  %1455 = getelementptr inbounds %struct.ImVec2, ptr %62, i32 0, i32 0
  %1456 = load float, ptr %1455, align 4, !tbaa !179
  br label %1457

1457:                                             ; preds = %1454, %1451
  %1458 = phi float [ %1453, %1451 ], [ %1456, %1454 ]
  store float %1458, ptr %66, align 4, !tbaa !118
  call void @llvm.lifetime.start.p0(i64 4, ptr %67) #13
  %1459 = load i8, ptr %33, align 1, !tbaa !81, !range !77, !noundef !78
  %1460 = trunc i8 %1459 to i1
  br i1 %1460, label %1461, label %1464

1461:                                             ; preds = %1457
  %1462 = getelementptr inbounds %struct.ImVec2, ptr %61, i32 0, i32 1
  %1463 = load float, ptr %1462, align 4, !tbaa !180
  br label %1467

1464:                                             ; preds = %1457
  %1465 = getelementptr inbounds %struct.ImVec2, ptr %62, i32 0, i32 1
  %1466 = load float, ptr %1465, align 4, !tbaa !180
  br label %1467

1467:                                             ; preds = %1464, %1461
  %1468 = phi float [ %1463, %1461 ], [ %1466, %1464 ]
  store float %1468, ptr %67, align 4, !tbaa !118
  %1469 = load i32, ptr %6, align 4, !tbaa !9
  %1470 = and i32 %1469, 16384
  %1471 = icmp ne i32 %1470, 0
  br i1 %1471, label %1484, label %1472

1472:                                             ; preds = %1467
  %1473 = getelementptr inbounds %struct.ImVec2, ptr %64, i32 0, i32 1
  %1474 = load float, ptr %1473, align 4, !tbaa !180
  %1475 = load float, ptr %67, align 4, !tbaa !118
  %1476 = fcmp ogt float %1474, %1475
  br i1 %1476, label %1477, label %1482

1477:                                             ; preds = %1472
  %1478 = load i32, ptr %6, align 4, !tbaa !9
  %1479 = and i32 %1478, 8
  %1480 = icmp ne i32 %1479, 0
  %1481 = xor i1 %1480, true
  br label %1482

1482:                                             ; preds = %1477, %1472
  %1483 = phi i1 [ false, %1472 ], [ %1481, %1477 ]
  br label %1484

1484:                                             ; preds = %1482, %1467
  %1485 = phi i1 [ true, %1467 ], [ %1483, %1482 ]
  %1486 = load ptr, ptr %9, align 8, !tbaa !5
  %1487 = getelementptr inbounds %struct.ImGuiWindow, ptr %1486, i32 0, i32 29
  %1488 = zext i1 %1485 to i8
  store i8 %1488, ptr %1487, align 1, !tbaa !195
  %1489 = load i32, ptr %6, align 4, !tbaa !9
  %1490 = and i32 %1489, 32768
  %1491 = icmp ne i32 %1490, 0
  br i1 %1491, label %1519, label %1492

1492:                                             ; preds = %1484
  %1493 = getelementptr inbounds %struct.ImVec2, ptr %64, i32 0, i32 0
  %1494 = load float, ptr %1493, align 4, !tbaa !179
  %1495 = load float, ptr %66, align 4, !tbaa !118
  %1496 = load ptr, ptr %9, align 8, !tbaa !5
  %1497 = getelementptr inbounds %struct.ImGuiWindow, ptr %1496, i32 0, i32 29
  %1498 = load i8, ptr %1497, align 1, !tbaa !195, !range !77, !noundef !78
  %1499 = trunc i8 %1498 to i1
  br i1 %1499, label %1500, label %1504

1500:                                             ; preds = %1492
  %1501 = load ptr, ptr %8, align 8, !tbaa !5
  %1502 = getelementptr inbounds %struct.ImGuiStyle, ptr %1501, i32 0, i32 21
  %1503 = load float, ptr %1502, align 4, !tbaa !196
  br label %1505

1504:                                             ; preds = %1492
  br label %1505

1505:                                             ; preds = %1504, %1500
  %1506 = phi float [ %1503, %1500 ], [ 0.000000e+00, %1504 ]
  %1507 = fsub float %1495, %1506
  %1508 = fcmp ogt float %1494, %1507
  br i1 %1508, label %1509, label %1517

1509:                                             ; preds = %1505
  %1510 = load i32, ptr %6, align 4, !tbaa !9
  %1511 = and i32 %1510, 8
  %1512 = icmp ne i32 %1511, 0
  br i1 %1512, label %1517, label %1513

1513:                                             ; preds = %1509
  %1514 = load i32, ptr %6, align 4, !tbaa !9
  %1515 = and i32 %1514, 2048
  %1516 = icmp ne i32 %1515, 0
  br label %1517

1517:                                             ; preds = %1513, %1509, %1505
  %1518 = phi i1 [ false, %1509 ], [ false, %1505 ], [ %1516, %1513 ]
  br label %1519

1519:                                             ; preds = %1517, %1484
  %1520 = phi i1 [ true, %1484 ], [ %1518, %1517 ]
  %1521 = load ptr, ptr %9, align 8, !tbaa !5
  %1522 = getelementptr inbounds %struct.ImGuiWindow, ptr %1521, i32 0, i32 28
  %1523 = zext i1 %1520 to i8
  store i8 %1523, ptr %1522, align 4, !tbaa !197
  %1524 = load ptr, ptr %9, align 8, !tbaa !5
  %1525 = getelementptr inbounds %struct.ImGuiWindow, ptr %1524, i32 0, i32 28
  %1526 = load i8, ptr %1525, align 4, !tbaa !197, !range !77, !noundef !78
  %1527 = trunc i8 %1526 to i1
  br i1 %1527, label %1528, label %1548

1528:                                             ; preds = %1519
  %1529 = load ptr, ptr %9, align 8, !tbaa !5
  %1530 = getelementptr inbounds %struct.ImGuiWindow, ptr %1529, i32 0, i32 29
  %1531 = load i8, ptr %1530, align 1, !tbaa !195, !range !77, !noundef !78
  %1532 = trunc i8 %1531 to i1
  br i1 %1532, label %1548, label %1533

1533:                                             ; preds = %1528
  %1534 = getelementptr inbounds %struct.ImVec2, ptr %64, i32 0, i32 1
  %1535 = load float, ptr %1534, align 4, !tbaa !180
  %1536 = load float, ptr %67, align 4, !tbaa !118
  %1537 = fcmp ogt float %1535, %1536
  br i1 %1537, label %1538, label %1543

1538:                                             ; preds = %1533
  %1539 = load i32, ptr %6, align 4, !tbaa !9
  %1540 = and i32 %1539, 8
  %1541 = icmp ne i32 %1540, 0
  %1542 = xor i1 %1541, true
  br label %1543

1543:                                             ; preds = %1538, %1533
  %1544 = phi i1 [ false, %1533 ], [ %1542, %1538 ]
  %1545 = load ptr, ptr %9, align 8, !tbaa !5
  %1546 = getelementptr inbounds %struct.ImGuiWindow, ptr %1545, i32 0, i32 29
  %1547 = zext i1 %1544 to i8
  store i8 %1547, ptr %1546, align 1, !tbaa !195
  br label %1548

1548:                                             ; preds = %1543, %1528, %1519
  call void @llvm.lifetime.start.p0(i64 8, ptr %68) #13
  %1549 = load ptr, ptr %9, align 8, !tbaa !5
  %1550 = getelementptr inbounds %struct.ImGuiWindow, ptr %1549, i32 0, i32 29
  %1551 = load i8, ptr %1550, align 1, !tbaa !195, !range !77, !noundef !78
  %1552 = trunc i8 %1551 to i1
  br i1 %1552, label %1553, label %1557

1553:                                             ; preds = %1548
  %1554 = load ptr, ptr %8, align 8, !tbaa !5
  %1555 = getelementptr inbounds %struct.ImGuiStyle, ptr %1554, i32 0, i32 21
  %1556 = load float, ptr %1555, align 4, !tbaa !196
  br label %1558

1557:                                             ; preds = %1548
  br label %1558

1558:                                             ; preds = %1557, %1553
  %1559 = phi float [ %1556, %1553 ], [ 0.000000e+00, %1557 ]
  %1560 = load ptr, ptr %9, align 8, !tbaa !5
  %1561 = getelementptr inbounds %struct.ImGuiWindow, ptr %1560, i32 0, i32 28
  %1562 = load i8, ptr %1561, align 4, !tbaa !197, !range !77, !noundef !78
  %1563 = trunc i8 %1562 to i1
  br i1 %1563, label %1564, label %1568

1564:                                             ; preds = %1558
  %1565 = load ptr, ptr %8, align 8, !tbaa !5
  %1566 = getelementptr inbounds %struct.ImGuiStyle, ptr %1565, i32 0, i32 21
  %1567 = load float, ptr %1566, align 4, !tbaa !196
  br label %1569

1568:                                             ; preds = %1558
  br label %1569

1569:                                             ; preds = %1568, %1564
  %1570 = phi float [ %1567, %1564 ], [ 0.000000e+00, %1568 ]
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %68, float noundef %1559, float noundef %1570)
  %1571 = load ptr, ptr %9, align 8, !tbaa !5
  %1572 = getelementptr inbounds %struct.ImGuiWindow, ptr %1571, i32 0, i32 27
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %1572, ptr align 4 %68, i64 8, i1 false), !tbaa.struct !128
  call void @llvm.lifetime.end.p0(i64 8, ptr %68) #13
  %1573 = load ptr, ptr %9, align 8, !tbaa !5
  %1574 = getelementptr inbounds %struct.ImGuiWindow, ptr %1573, i32 0, i32 27
  %1575 = getelementptr inbounds %struct.ImVec2, ptr %1574, i32 0, i32 0
  %1576 = load float, ptr %1575, align 4, !tbaa !198
  %1577 = load ptr, ptr %9, align 8, !tbaa !5
  %1578 = getelementptr inbounds %struct.ImGuiWindow, ptr %1577, i32 0, i32 15
  %1579 = load float, ptr %1578, align 8, !tbaa !176
  %1580 = fadd float %1579, %1576
  store float %1580, ptr %1578, align 8, !tbaa !176
  %1581 = load ptr, ptr %9, align 8, !tbaa !5
  %1582 = getelementptr inbounds %struct.ImGuiWindow, ptr %1581, i32 0, i32 27
  %1583 = getelementptr inbounds %struct.ImVec2, ptr %1582, i32 0, i32 1
  %1584 = load float, ptr %1583, align 4, !tbaa !199
  %1585 = load ptr, ptr %9, align 8, !tbaa !5
  %1586 = getelementptr inbounds %struct.ImGuiWindow, ptr %1585, i32 0, i32 16
  %1587 = load float, ptr %1586, align 4, !tbaa !178
  %1588 = fadd float %1587, %1584
  store float %1588, ptr %1586, align 4, !tbaa !178
  call void @llvm.lifetime.end.p0(i64 4, ptr %67) #13
  call void @llvm.lifetime.end.p0(i64 4, ptr %66) #13
  call void @llvm.lifetime.end.p0(i64 8, ptr %64) #13
  call void @llvm.lifetime.end.p0(i64 8, ptr %62) #13
  call void @llvm.lifetime.end.p0(i64 8, ptr %61) #13
  br label %1589

1589:                                             ; preds = %1569, %1408
  call void @llvm.lifetime.start.p0(i64 16, ptr %69) #13
  %1590 = load i32, ptr %6, align 4, !tbaa !9
  %1591 = and i32 %1590, 16777216
  %1592 = icmp ne i32 %1591, 0
  br i1 %1592, label %1593, label %1603

1593:                                             ; preds = %1589
  %1594 = load i32, ptr %6, align 4, !tbaa !9
  %1595 = and i32 %1594, 67108864
  %1596 = icmp ne i32 %1595, 0
  br i1 %1596, label %1603, label %1597

1597:                                             ; preds = %1593
  %1598 = load i8, ptr %23, align 1, !tbaa !81, !range !77, !noundef !78
  %1599 = trunc i8 %1598 to i1
  br i1 %1599, label %1603, label %1600

1600:                                             ; preds = %1597
  %1601 = load ptr, ptr %16, align 8, !tbaa !5
  %1602 = getelementptr inbounds %struct.ImGuiWindow, ptr %1601, i32 0, i32 67
  br label %1604

1603:                                             ; preds = %1597, %1593, %1589
  br label %1604

1604:                                             ; preds = %1603, %1600
  %1605 = phi ptr [ %1602, %1600 ], [ %47, %1603 ]
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %69, ptr align 4 %1605, i64 16, i1 false), !tbaa.struct !143
  call void @llvm.lifetime.start.p0(i64 16, ptr %70) #13
  %1606 = load ptr, ptr %9, align 8, !tbaa !5
  %1607 = call { <2 x float>, <2 x float> } @_ZNK11ImGuiWindow4RectEv(ptr noundef nonnull align 8 dereferenceable(973) %1606)
  %1608 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %70, i32 0, i32 0
  %1609 = extractvalue { <2 x float>, <2 x float> } %1607, 0
  store <2 x float> %1609, ptr %1608, align 4
  %1610 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %70, i32 0, i32 1
  %1611 = extractvalue { <2 x float>, <2 x float> } %1607, 1
  store <2 x float> %1611, ptr %1610, align 4
  call void @llvm.lifetime.start.p0(i64 16, ptr %71) #13
  %1612 = load ptr, ptr %9, align 8, !tbaa !5
  %1613 = call { <2 x float>, <2 x float> } @_ZNK11ImGuiWindow12TitleBarRectEv(ptr noundef nonnull align 8 dereferenceable(973) %1612)
  %1614 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %71, i32 0, i32 0
  %1615 = extractvalue { <2 x float>, <2 x float> } %1613, 0
  store <2 x float> %1615, ptr %1614, align 4
  %1616 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %71, i32 0, i32 1
  %1617 = extractvalue { <2 x float>, <2 x float> } %1613, 1
  store <2 x float> %1617, ptr %1616, align 4
  %1618 = load ptr, ptr %9, align 8, !tbaa !5
  %1619 = getelementptr inbounds %struct.ImGuiWindow, ptr %1618, i32 0, i32 62
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %1619, ptr align 4 %70, i64 16, i1 false), !tbaa.struct !143
  %1620 = load ptr, ptr %9, align 8, !tbaa !5
  %1621 = getelementptr inbounds %struct.ImGuiWindow, ptr %1620, i32 0, i32 62
  call void @_ZN6ImRect8ClipWithERKS_(ptr noundef nonnull align 4 dereferenceable(16) %1621, ptr noundef nonnull align 4 dereferenceable(16) %69)
  %1622 = load ptr, ptr %9, align 8, !tbaa !5
  %1623 = getelementptr inbounds %struct.ImGuiWindow, ptr %1622, i32 0, i32 4
  %1624 = getelementptr inbounds %struct.ImVec2, ptr %1623, i32 0, i32 0
  %1625 = load float, ptr %1624, align 8, !tbaa !200
  %1626 = load ptr, ptr %9, align 8, !tbaa !5
  %1627 = getelementptr inbounds %struct.ImGuiWindow, ptr %1626, i32 0, i32 13
  %1628 = load float, ptr %1627, align 8, !tbaa !175
  %1629 = fadd float %1625, %1628
  %1630 = load ptr, ptr %9, align 8, !tbaa !5
  %1631 = getelementptr inbounds %struct.ImGuiWindow, ptr %1630, i32 0, i32 63
  %1632 = getelementptr inbounds %struct.ImRect, ptr %1631, i32 0, i32 0
  %1633 = getelementptr inbounds %struct.ImVec2, ptr %1632, i32 0, i32 0
  store float %1629, ptr %1633, align 8, !tbaa !201
  %1634 = load ptr, ptr %9, align 8, !tbaa !5
  %1635 = getelementptr inbounds %struct.ImGuiWindow, ptr %1634, i32 0, i32 4
  %1636 = getelementptr inbounds %struct.ImVec2, ptr %1635, i32 0, i32 1
  %1637 = load float, ptr %1636, align 4, !tbaa !202
  %1638 = load ptr, ptr %9, align 8, !tbaa !5
  %1639 = getelementptr inbounds %struct.ImGuiWindow, ptr %1638, i32 0, i32 14
  %1640 = load float, ptr %1639, align 4, !tbaa !177
  %1641 = fadd float %1637, %1640
  %1642 = load ptr, ptr %9, align 8, !tbaa !5
  %1643 = getelementptr inbounds %struct.ImGuiWindow, ptr %1642, i32 0, i32 63
  %1644 = getelementptr inbounds %struct.ImRect, ptr %1643, i32 0, i32 0
  %1645 = getelementptr inbounds %struct.ImVec2, ptr %1644, i32 0, i32 1
  store float %1641, ptr %1645, align 4, !tbaa !203
  %1646 = load ptr, ptr %9, align 8, !tbaa !5
  %1647 = getelementptr inbounds %struct.ImGuiWindow, ptr %1646, i32 0, i32 4
  %1648 = getelementptr inbounds %struct.ImVec2, ptr %1647, i32 0, i32 0
  %1649 = load float, ptr %1648, align 8, !tbaa !200
  %1650 = load ptr, ptr %9, align 8, !tbaa !5
  %1651 = getelementptr inbounds %struct.ImGuiWindow, ptr %1650, i32 0, i32 5
  %1652 = getelementptr inbounds %struct.ImVec2, ptr %1651, i32 0, i32 0
  %1653 = load float, ptr %1652, align 8, !tbaa !155
  %1654 = fadd float %1649, %1653
  %1655 = load ptr, ptr %9, align 8, !tbaa !5
  %1656 = getelementptr inbounds %struct.ImGuiWindow, ptr %1655, i32 0, i32 15
  %1657 = load float, ptr %1656, align 8, !tbaa !176
  %1658 = fsub float %1654, %1657
  %1659 = load ptr, ptr %9, align 8, !tbaa !5
  %1660 = getelementptr inbounds %struct.ImGuiWindow, ptr %1659, i32 0, i32 63
  %1661 = getelementptr inbounds %struct.ImRect, ptr %1660, i32 0, i32 1
  %1662 = getelementptr inbounds %struct.ImVec2, ptr %1661, i32 0, i32 0
  store float %1658, ptr %1662, align 8, !tbaa !204
  %1663 = load ptr, ptr %9, align 8, !tbaa !5
  %1664 = getelementptr inbounds %struct.ImGuiWindow, ptr %1663, i32 0, i32 4
  %1665 = getelementptr inbounds %struct.ImVec2, ptr %1664, i32 0, i32 1
  %1666 = load float, ptr %1665, align 4, !tbaa !202
  %1667 = load ptr, ptr %9, align 8, !tbaa !5
  %1668 = getelementptr inbounds %struct.ImGuiWindow, ptr %1667, i32 0, i32 5
  %1669 = getelementptr inbounds %struct.ImVec2, ptr %1668, i32 0, i32 1
  %1670 = load float, ptr %1669, align 4, !tbaa !157
  %1671 = fadd float %1666, %1670
  %1672 = load ptr, ptr %9, align 8, !tbaa !5
  %1673 = getelementptr inbounds %struct.ImGuiWindow, ptr %1672, i32 0, i32 16
  %1674 = load float, ptr %1673, align 4, !tbaa !178
  %1675 = fsub float %1671, %1674
  %1676 = load ptr, ptr %9, align 8, !tbaa !5
  %1677 = getelementptr inbounds %struct.ImGuiWindow, ptr %1676, i32 0, i32 63
  %1678 = getelementptr inbounds %struct.ImRect, ptr %1677, i32 0, i32 1
  %1679 = getelementptr inbounds %struct.ImVec2, ptr %1678, i32 0, i32 1
  store float %1675, ptr %1679, align 4, !tbaa !205
  call void @llvm.lifetime.start.p0(i64 4, ptr %72) #13
  %1680 = load i32, ptr %6, align 4, !tbaa !9
  %1681 = and i32 %1680, 1024
  %1682 = icmp ne i32 %1681, 0
  br i1 %1682, label %1687, label %1683

1683:                                             ; preds = %1604
  %1684 = load i32, ptr %6, align 4, !tbaa !9
  %1685 = and i32 %1684, 1
  %1686 = icmp ne i32 %1685, 0
  br i1 %1686, label %1691, label %1687

1687:                                             ; preds = %1683, %1604
  %1688 = load ptr, ptr %8, align 8, !tbaa !5
  %1689 = getelementptr inbounds %struct.ImGuiStyle, ptr %1688, i32 0, i32 14
  %1690 = load float, ptr %1689, align 4, !tbaa !206
  br label %1695

1691:                                             ; preds = %1683
  %1692 = load ptr, ptr %9, align 8, !tbaa !5
  %1693 = getelementptr inbounds %struct.ImGuiWindow, ptr %1692, i32 0, i32 12
  %1694 = load float, ptr %1693, align 4, !tbaa !159
  br label %1695

1695:                                             ; preds = %1691, %1687
  %1696 = phi float [ %1690, %1687 ], [ %1694, %1691 ]
  store float %1696, ptr %72, align 4, !tbaa !118
  %1697 = load ptr, ptr %9, align 8, !tbaa !5
  %1698 = getelementptr inbounds %struct.ImGuiWindow, ptr %1697, i32 0, i32 63
  %1699 = getelementptr inbounds %struct.ImRect, ptr %1698, i32 0, i32 0
  %1700 = getelementptr inbounds %struct.ImVec2, ptr %1699, i32 0, i32 0
  %1701 = load float, ptr %1700, align 8, !tbaa !201
  %1702 = fadd float 5.000000e-01, %1701
  %1703 = load ptr, ptr %9, align 8, !tbaa !5
  %1704 = getelementptr inbounds %struct.ImGuiWindow, ptr %1703, i32 0, i32 10
  %1705 = getelementptr inbounds %struct.ImVec2, ptr %1704, i32 0, i32 0
  %1706 = load float, ptr %1705, align 8, !tbaa !163
  %1707 = fmul float %1706, 5.000000e-01
  %1708 = call noundef float @_ZL7ImFloorf(float noundef %1707)
  %1709 = load ptr, ptr %9, align 8, !tbaa !5
  %1710 = getelementptr inbounds %struct.ImGuiWindow, ptr %1709, i32 0, i32 12
  %1711 = load float, ptr %1710, align 4, !tbaa !159
  %1712 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %1708, float noundef %1711)
  %1713 = fadd float %1702, %1712
  %1714 = call noundef float @_ZL7ImFloorf(float noundef %1713)
  %1715 = load ptr, ptr %9, align 8, !tbaa !5
  %1716 = getelementptr inbounds %struct.ImGuiWindow, ptr %1715, i32 0, i32 64
  %1717 = getelementptr inbounds %struct.ImRect, ptr %1716, i32 0, i32 0
  %1718 = getelementptr inbounds %struct.ImVec2, ptr %1717, i32 0, i32 0
  store float %1714, ptr %1718, align 8, !tbaa !207
  %1719 = load ptr, ptr %9, align 8, !tbaa !5
  %1720 = getelementptr inbounds %struct.ImGuiWindow, ptr %1719, i32 0, i32 63
  %1721 = getelementptr inbounds %struct.ImRect, ptr %1720, i32 0, i32 0
  %1722 = getelementptr inbounds %struct.ImVec2, ptr %1721, i32 0, i32 1
  %1723 = load float, ptr %1722, align 4, !tbaa !203
  %1724 = fadd float 5.000000e-01, %1723
  %1725 = load float, ptr %72, align 4, !tbaa !118
  %1726 = fadd float %1724, %1725
  %1727 = call noundef float @_ZL7ImFloorf(float noundef %1726)
  %1728 = load ptr, ptr %9, align 8, !tbaa !5
  %1729 = getelementptr inbounds %struct.ImGuiWindow, ptr %1728, i32 0, i32 64
  %1730 = getelementptr inbounds %struct.ImRect, ptr %1729, i32 0, i32 0
  %1731 = getelementptr inbounds %struct.ImVec2, ptr %1730, i32 0, i32 1
  store float %1727, ptr %1731, align 4, !tbaa !208
  %1732 = load ptr, ptr %9, align 8, !tbaa !5
  %1733 = getelementptr inbounds %struct.ImGuiWindow, ptr %1732, i32 0, i32 63
  %1734 = getelementptr inbounds %struct.ImRect, ptr %1733, i32 0, i32 1
  %1735 = getelementptr inbounds %struct.ImVec2, ptr %1734, i32 0, i32 0
  %1736 = load float, ptr %1735, align 8, !tbaa !204
  %1737 = fadd float 5.000000e-01, %1736
  %1738 = load ptr, ptr %9, align 8, !tbaa !5
  %1739 = getelementptr inbounds %struct.ImGuiWindow, ptr %1738, i32 0, i32 10
  %1740 = getelementptr inbounds %struct.ImVec2, ptr %1739, i32 0, i32 0
  %1741 = load float, ptr %1740, align 8, !tbaa !163
  %1742 = fmul float %1741, 5.000000e-01
  %1743 = call noundef float @_ZL7ImFloorf(float noundef %1742)
  %1744 = load ptr, ptr %9, align 8, !tbaa !5
  %1745 = getelementptr inbounds %struct.ImGuiWindow, ptr %1744, i32 0, i32 12
  %1746 = load float, ptr %1745, align 4, !tbaa !159
  %1747 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %1743, float noundef %1746)
  %1748 = fsub float %1737, %1747
  %1749 = call noundef float @_ZL7ImFloorf(float noundef %1748)
  %1750 = load ptr, ptr %9, align 8, !tbaa !5
  %1751 = getelementptr inbounds %struct.ImGuiWindow, ptr %1750, i32 0, i32 64
  %1752 = getelementptr inbounds %struct.ImRect, ptr %1751, i32 0, i32 1
  %1753 = getelementptr inbounds %struct.ImVec2, ptr %1752, i32 0, i32 0
  store float %1749, ptr %1753, align 8, !tbaa !209
  %1754 = load ptr, ptr %9, align 8, !tbaa !5
  %1755 = getelementptr inbounds %struct.ImGuiWindow, ptr %1754, i32 0, i32 63
  %1756 = getelementptr inbounds %struct.ImRect, ptr %1755, i32 0, i32 1
  %1757 = getelementptr inbounds %struct.ImVec2, ptr %1756, i32 0, i32 1
  %1758 = load float, ptr %1757, align 4, !tbaa !205
  %1759 = fadd float 5.000000e-01, %1758
  %1760 = load ptr, ptr %9, align 8, !tbaa !5
  %1761 = getelementptr inbounds %struct.ImGuiWindow, ptr %1760, i32 0, i32 12
  %1762 = load float, ptr %1761, align 4, !tbaa !159
  %1763 = fsub float %1759, %1762
  %1764 = call noundef float @_ZL7ImFloorf(float noundef %1763)
  %1765 = load ptr, ptr %9, align 8, !tbaa !5
  %1766 = getelementptr inbounds %struct.ImGuiWindow, ptr %1765, i32 0, i32 64
  %1767 = getelementptr inbounds %struct.ImRect, ptr %1766, i32 0, i32 1
  %1768 = getelementptr inbounds %struct.ImVec2, ptr %1767, i32 0, i32 1
  store float %1764, ptr %1768, align 4, !tbaa !210
  %1769 = load ptr, ptr %9, align 8, !tbaa !5
  %1770 = getelementptr inbounds %struct.ImGuiWindow, ptr %1769, i32 0, i32 64
  call void @_ZN6ImRect12ClipWithFullERKS_(ptr noundef nonnull align 4 dereferenceable(16) %1770, ptr noundef nonnull align 4 dereferenceable(16) %69)
  %1771 = load ptr, ptr %9, align 8, !tbaa !5
  %1772 = getelementptr inbounds %struct.ImGuiWindow, ptr %1771, i32 0, i32 5
  %1773 = getelementptr inbounds %struct.ImVec2, ptr %1772, i32 0, i32 0
  %1774 = load float, ptr %1773, align 8, !tbaa !155
  %1775 = fcmp ogt float %1774, 0.000000e+00
  br i1 %1775, label %1776, label %1793

1776:                                             ; preds = %1695
  %1777 = load i32, ptr %6, align 4, !tbaa !9
  %1778 = and i32 %1777, 33554432
  %1779 = icmp ne i32 %1778, 0
  br i1 %1779, label %1793, label %1780

1780:                                             ; preds = %1776
  %1781 = load i32, ptr %6, align 4, !tbaa !9
  %1782 = and i32 %1781, 64
  %1783 = icmp ne i32 %1782, 0
  br i1 %1783, label %1793, label %1784

1784:                                             ; preds = %1780
  %1785 = load ptr, ptr %9, align 8, !tbaa !5
  %1786 = getelementptr inbounds %struct.ImGuiWindow, ptr %1785, i32 0, i32 5
  %1787 = getelementptr inbounds %struct.ImVec2, ptr %1786, i32 0, i32 0
  %1788 = load float, ptr %1787, align 8, !tbaa !155
  %1789 = fmul float %1788, 0x3FE4CCCCC0000000
  %1790 = call noundef float @_ZL7ImFloorf(float noundef %1789)
  %1791 = load ptr, ptr %9, align 8, !tbaa !5
  %1792 = getelementptr inbounds %struct.ImGuiWindow, ptr %1791, i32 0, i32 73
  store float %1790, ptr %1792, align 8, !tbaa !211
  br label %1801

1793:                                             ; preds = %1780, %1776, %1695
  %1794 = load ptr, ptr %7, align 8, !tbaa !5
  %1795 = getelementptr inbounds %struct.ImGuiContext, ptr %1794, i32 0, i32 7
  %1796 = load float, ptr %1795, align 8, !tbaa !193
  %1797 = fmul float %1796, 1.600000e+01
  %1798 = call noundef float @_ZL7ImFloorf(float noundef %1797)
  %1799 = load ptr, ptr %9, align 8, !tbaa !5
  %1800 = getelementptr inbounds %struct.ImGuiWindow, ptr %1799, i32 0, i32 73
  store float %1798, ptr %1800, align 8, !tbaa !211
  br label %1801

1801:                                             ; preds = %1793, %1784
  %1802 = load ptr, ptr %9, align 8, !tbaa !5
  %1803 = getelementptr inbounds %struct.ImGuiWindow, ptr %1802, i32 0, i32 7
  %1804 = getelementptr inbounds %struct.ImVec2, ptr %1803, i32 0, i32 0
  %1805 = load float, ptr %1804, align 8, !tbaa !212
  %1806 = load ptr, ptr %9, align 8, !tbaa !5
  %1807 = getelementptr inbounds %struct.ImGuiWindow, ptr %1806, i32 0, i32 10
  %1808 = getelementptr inbounds %struct.ImVec2, ptr %1807, i32 0, i32 0
  %1809 = load float, ptr %1808, align 8, !tbaa !163
  %1810 = call float @llvm.fmuladd.f32(float %1809, float 2.000000e+00, float %1805)
  %1811 = load ptr, ptr %9, align 8, !tbaa !5
  %1812 = getelementptr inbounds %struct.ImGuiWindow, ptr %1811, i32 0, i32 63
  %1813 = call noundef float @_ZNK6ImRect8GetWidthEv(ptr noundef nonnull align 4 dereferenceable(16) %1812)
  %1814 = fsub float %1810, %1813
  %1815 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef 0.000000e+00, float noundef %1814)
  %1816 = load ptr, ptr %9, align 8, !tbaa !5
  %1817 = getelementptr inbounds %struct.ImGuiWindow, ptr %1816, i32 0, i32 23
  %1818 = getelementptr inbounds %struct.ImVec2, ptr %1817, i32 0, i32 0
  store float %1815, ptr %1818, align 4, !tbaa !213
  %1819 = load ptr, ptr %9, align 8, !tbaa !5
  %1820 = getelementptr inbounds %struct.ImGuiWindow, ptr %1819, i32 0, i32 7
  %1821 = getelementptr inbounds %struct.ImVec2, ptr %1820, i32 0, i32 1
  %1822 = load float, ptr %1821, align 4, !tbaa !214
  %1823 = load ptr, ptr %9, align 8, !tbaa !5
  %1824 = getelementptr inbounds %struct.ImGuiWindow, ptr %1823, i32 0, i32 10
  %1825 = getelementptr inbounds %struct.ImVec2, ptr %1824, i32 0, i32 1
  %1826 = load float, ptr %1825, align 4, !tbaa !215
  %1827 = call float @llvm.fmuladd.f32(float %1826, float 2.000000e+00, float %1822)
  %1828 = load ptr, ptr %9, align 8, !tbaa !5
  %1829 = getelementptr inbounds %struct.ImGuiWindow, ptr %1828, i32 0, i32 63
  %1830 = call noundef float @_ZNK6ImRect9GetHeightEv(ptr noundef nonnull align 4 dereferenceable(16) %1829)
  %1831 = fsub float %1827, %1830
  %1832 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef 0.000000e+00, float noundef %1831)
  %1833 = load ptr, ptr %9, align 8, !tbaa !5
  %1834 = getelementptr inbounds %struct.ImGuiWindow, ptr %1833, i32 0, i32 23
  %1835 = getelementptr inbounds %struct.ImVec2, ptr %1834, i32 0, i32 1
  store float %1832, ptr %1835, align 4, !tbaa !216
  call void @llvm.lifetime.start.p0(i64 8, ptr %73) #13
  %1836 = load ptr, ptr %9, align 8, !tbaa !5
  %1837 = call <2 x float> @_ZL38CalcNextScrollFromScrollTargetAndClampP11ImGuiWindow(ptr noundef %1836)
  store <2 x float> %1837, ptr %73, align 4
  %1838 = load ptr, ptr %9, align 8, !tbaa !5
  %1839 = getelementptr inbounds %struct.ImGuiWindow, ptr %1838, i32 0, i32 22
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %1839, ptr align 4 %73, i64 8, i1 false), !tbaa.struct !128
  call void @llvm.lifetime.end.p0(i64 8, ptr %73) #13
  call void @llvm.lifetime.start.p0(i64 8, ptr %74) #13
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %74, float noundef 0x47EFFFFFE0000000, float noundef 0x47EFFFFFE0000000)
  %1840 = load ptr, ptr %9, align 8, !tbaa !5
  %1841 = getelementptr inbounds %struct.ImGuiWindow, ptr %1840, i32 0, i32 24
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %1841, ptr align 4 %74, i64 8, i1 false), !tbaa.struct !128
  call void @llvm.lifetime.end.p0(i64 8, ptr %74) #13
  %1842 = load ptr, ptr %9, align 8, !tbaa !5
  %1843 = getelementptr inbounds %struct.ImGuiWindow, ptr %1842, i32 0, i32 18
  store float 0.000000e+00, ptr %1843, align 4, !tbaa !217
  %1844 = load ptr, ptr %9, align 8, !tbaa !5
  %1845 = getelementptr inbounds %struct.ImGuiWindow, ptr %1844, i32 0, i32 17
  store float 0.000000e+00, ptr %1845, align 8, !tbaa !218
  %1846 = load ptr, ptr %9, align 8, !tbaa !5
  %1847 = getelementptr inbounds %struct.ImGuiWindow, ptr %1846, i32 0, i32 79
  %1848 = load ptr, ptr %1847, align 8, !tbaa !144
  %1849 = getelementptr inbounds %struct.ImDrawList, ptr %1848, i32 0, i32 0
  %1850 = getelementptr inbounds %struct.ImVector.33, ptr %1849, i32 0, i32 0
  %1851 = load i32, ptr %1850, align 8, !tbaa !219
  %1852 = icmp eq i32 %1851, 1
  br i1 %1852, label %1853, label %1862

1853:                                             ; preds = %1801
  %1854 = load ptr, ptr %9, align 8, !tbaa !5
  %1855 = getelementptr inbounds %struct.ImGuiWindow, ptr %1854, i32 0, i32 79
  %1856 = load ptr, ptr %1855, align 8, !tbaa !144
  %1857 = getelementptr inbounds %struct.ImDrawList, ptr %1856, i32 0, i32 0
  %1858 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZN8ImVectorI9ImDrawCmdEixEi(ptr noundef nonnull align 8 dereferenceable(16) %1857, i32 noundef 0)
  %1859 = getelementptr inbounds %struct.ImDrawCmd, ptr %1858, i32 0, i32 4
  %1860 = load i32, ptr %1859, align 8, !tbaa !220
  %1861 = icmp eq i32 %1860, 0
  br label %1862

1862:                                             ; preds = %1853, %1801
  %1863 = phi i1 [ false, %1801 ], [ %1861, %1853 ]
  br i1 %1863, label %1864, label %1865

1864:                                             ; preds = %1862
  br label %1867

1865:                                             ; preds = %1862
  call void @__assert_fail(ptr noundef @.str.132, ptr noundef @.str.4, i32 noundef 6482, ptr noundef @__PRETTY_FUNCTION__._ZN5ImGui5BeginEPKcPbi) #14
  unreachable

1866:                                             ; No predecessors!
  br label %1867

1867:                                             ; preds = %1866, %1864
  %1868 = load ptr, ptr %9, align 8, !tbaa !5
  %1869 = getelementptr inbounds %struct.ImGuiWindow, ptr %1868, i32 0, i32 79
  %1870 = load ptr, ptr %1869, align 8, !tbaa !144
  %1871 = load ptr, ptr %7, align 8, !tbaa !5
  %1872 = getelementptr inbounds %struct.ImGuiContext, ptr %1871, i32 0, i32 6
  %1873 = load ptr, ptr %1872, align 8, !tbaa !222
  %1874 = getelementptr inbounds %struct.ImFont, ptr %1873, i32 0, i32 6
  %1875 = load ptr, ptr %1874, align 8, !tbaa !223
  %1876 = getelementptr inbounds %struct.ImFontAtlas, ptr %1875, i32 0, i32 2
  %1877 = load ptr, ptr %1876, align 8, !tbaa !224
  call void @_ZN10ImDrawList13PushTextureIDEPv(ptr noundef nonnull align 8 dereferenceable(196) %1870, ptr noundef %1877)
  %1878 = getelementptr inbounds %struct.ImRect, ptr %69, i32 0, i32 0
  %1879 = getelementptr inbounds %struct.ImRect, ptr %69, i32 0, i32 1
  call void @_ZN5ImGui12PushClipRectERK6ImVec2S2_b(ptr noundef nonnull align 4 dereferenceable(8) %1878, ptr noundef nonnull align 4 dereferenceable(8) %1879, i1 noundef zeroext false)
  call void @llvm.lifetime.start.p0(i64 1, ptr %75) #13
  store i8 0, ptr %75, align 1, !tbaa !81
  %1880 = load i32, ptr %6, align 4, !tbaa !9
  %1881 = and i32 %1880, 16777216
  %1882 = icmp ne i32 %1881, 0
  br i1 %1882, label %1883, label %1956

1883:                                             ; preds = %1867
  %1884 = load i32, ptr %6, align 4, !tbaa !9
  %1885 = and i32 %1884, 67108864
  %1886 = icmp ne i32 %1885, 0
  br i1 %1886, label %1956, label %1887

1887:                                             ; preds = %1883
  %1888 = load i8, ptr %23, align 1, !tbaa !81, !range !77, !noundef !78
  %1889 = trunc i8 %1888 to i1
  br i1 %1889, label %1956, label %1890

1890:                                             ; preds = %1887
  call void @llvm.lifetime.start.p0(i64 8, ptr %76) #13
  %1891 = load ptr, ptr %16, align 8, !tbaa !5
  %1892 = getelementptr inbounds %struct.ImGuiWindow, ptr %1891, i32 0, i32 61
  %1893 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %1892, i32 0, i32 25
  %1894 = getelementptr inbounds %struct.ImVector.2, ptr %1893, i32 0, i32 0
  %1895 = load i32, ptr %1894, align 8, !tbaa !185
  %1896 = icmp sge i32 %1895, 2
  br i1 %1896, label %1897, label %1909

1897:                                             ; preds = %1890
  %1898 = load ptr, ptr %16, align 8, !tbaa !5
  %1899 = getelementptr inbounds %struct.ImGuiWindow, ptr %1898, i32 0, i32 61
  %1900 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %1899, i32 0, i32 25
  %1901 = load ptr, ptr %16, align 8, !tbaa !5
  %1902 = getelementptr inbounds %struct.ImGuiWindow, ptr %1901, i32 0, i32 61
  %1903 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %1902, i32 0, i32 25
  %1904 = getelementptr inbounds %struct.ImVector.2, ptr %1903, i32 0, i32 0
  %1905 = load i32, ptr %1904, align 8, !tbaa !185
  %1906 = sub nsw i32 %1905, 2
  %1907 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8ImVectorIP11ImGuiWindowEixEi(ptr noundef nonnull align 8 dereferenceable(16) %1900, i32 noundef %1906)
  %1908 = load ptr, ptr %1907, align 8, !tbaa !5
  br label %1910

1909:                                             ; preds = %1890
  br label %1910

1910:                                             ; preds = %1909, %1897
  %1911 = phi ptr [ %1908, %1897 ], [ null, %1909 ]
  store ptr %1911, ptr %76, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %77) #13
  %1912 = load ptr, ptr %76, align 8, !tbaa !5
  %1913 = icmp ne ptr %1912, null
  call void @llvm.lifetime.start.p0(i64 16, ptr %78) #13
  call void @llvm.lifetime.start.p0(i64 16, ptr %79) #13
  br i1 %1913, label %1914, label %1928

1914:                                             ; preds = %1910
  %1915 = load ptr, ptr %76, align 8, !tbaa !5
  %1916 = call { <2 x float>, <2 x float> } @_ZNK11ImGuiWindow4RectEv(ptr noundef nonnull align 8 dereferenceable(973) %1915)
  %1917 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %78, i32 0, i32 0
  %1918 = extractvalue { <2 x float>, <2 x float> } %1916, 0
  store <2 x float> %1918, ptr %1917, align 4
  %1919 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %78, i32 0, i32 1
  %1920 = extractvalue { <2 x float>, <2 x float> } %1916, 1
  store <2 x float> %1920, ptr %1919, align 4
  %1921 = load ptr, ptr %9, align 8, !tbaa !5
  %1922 = call { <2 x float>, <2 x float> } @_ZNK11ImGuiWindow4RectEv(ptr noundef nonnull align 8 dereferenceable(973) %1921)
  %1923 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %79, i32 0, i32 0
  %1924 = extractvalue { <2 x float>, <2 x float> } %1922, 0
  store <2 x float> %1924, ptr %1923, align 4
  %1925 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %79, i32 0, i32 1
  %1926 = extractvalue { <2 x float>, <2 x float> } %1922, 1
  store <2 x float> %1926, ptr %1925, align 4
  %1927 = call noundef zeroext i1 @_ZNK6ImRect8OverlapsERKS_(ptr noundef nonnull align 4 dereferenceable(16) %78, ptr noundef nonnull align 4 dereferenceable(16) %79)
  br label %1929

1928:                                             ; preds = %1910
  br label %1929

1929:                                             ; preds = %1928, %1914
  %1930 = phi i1 [ %1927, %1914 ], [ false, %1928 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr %79) #13
  call void @llvm.lifetime.end.p0(i64 16, ptr %78) #13
  %1931 = zext i1 %1930 to i8
  store i8 %1931, ptr %77, align 1, !tbaa !81
  call void @llvm.lifetime.start.p0(i64 1, ptr %80) #13
  %1932 = load ptr, ptr %16, align 8, !tbaa !5
  %1933 = getelementptr inbounds %struct.ImGuiWindow, ptr %1932, i32 0, i32 79
  %1934 = load ptr, ptr %1933, align 8, !tbaa !144
  %1935 = getelementptr inbounds %struct.ImDrawList, ptr %1934, i32 0, i32 2
  %1936 = getelementptr inbounds %struct.ImVector.34, ptr %1935, i32 0, i32 0
  %1937 = load i32, ptr %1936, align 8, !tbaa !228
  %1938 = icmp sgt i32 %1937, 0
  %1939 = zext i1 %1938 to i8
  store i8 %1939, ptr %80, align 1, !tbaa !81
  %1940 = load ptr, ptr %9, align 8, !tbaa !5
  %1941 = getelementptr inbounds %struct.ImGuiWindow, ptr %1940, i32 0, i32 79
  %1942 = load ptr, ptr %1941, align 8, !tbaa !144
  %1943 = getelementptr inbounds %struct.ImDrawList, ptr %1942, i32 0, i32 0
  %1944 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZN8ImVectorI9ImDrawCmdE4backEv(ptr noundef nonnull align 8 dereferenceable(16) %1943)
  %1945 = getelementptr inbounds %struct.ImDrawCmd, ptr %1944, i32 0, i32 4
  %1946 = load i32, ptr %1945, align 8, !tbaa !220
  %1947 = icmp eq i32 %1946, 0
  br i1 %1947, label %1948, label %1955

1948:                                             ; preds = %1929
  %1949 = load i8, ptr %80, align 1, !tbaa !81, !range !77, !noundef !78
  %1950 = trunc i8 %1949 to i1
  br i1 %1950, label %1951, label %1955

1951:                                             ; preds = %1948
  %1952 = load i8, ptr %77, align 1, !tbaa !81, !range !77, !noundef !78
  %1953 = trunc i8 %1952 to i1
  br i1 %1953, label %1955, label %1954

1954:                                             ; preds = %1951
  store i8 1, ptr %75, align 1, !tbaa !81
  br label %1955

1955:                                             ; preds = %1954, %1951, %1948, %1929
  call void @llvm.lifetime.end.p0(i64 1, ptr %80) #13
  call void @llvm.lifetime.end.p0(i64 1, ptr %77) #13
  call void @llvm.lifetime.end.p0(i64 8, ptr %76) #13
  br label %1956

1956:                                             ; preds = %1955, %1887, %1883, %1867
  %1957 = load i8, ptr %75, align 1, !tbaa !81, !range !77, !noundef !78
  %1958 = trunc i8 %1957 to i1
  br i1 %1958, label %1959, label %1965

1959:                                             ; preds = %1956
  %1960 = load ptr, ptr %16, align 8, !tbaa !5
  %1961 = getelementptr inbounds %struct.ImGuiWindow, ptr %1960, i32 0, i32 79
  %1962 = load ptr, ptr %1961, align 8, !tbaa !144
  %1963 = load ptr, ptr %9, align 8, !tbaa !5
  %1964 = getelementptr inbounds %struct.ImGuiWindow, ptr %1963, i32 0, i32 79
  store ptr %1962, ptr %1964, align 8, !tbaa !144
  br label %1965

1965:                                             ; preds = %1959, %1956
  call void @llvm.lifetime.start.p0(i64 8, ptr %81) #13
  %1966 = load ptr, ptr %7, align 8, !tbaa !5
  %1967 = getelementptr inbounds %struct.ImGuiContext, ptr %1966, i32 0, i32 128
  %1968 = load ptr, ptr %1967, align 8, !tbaa !229
  %1969 = icmp ne ptr %1968, null
  br i1 %1969, label %1970, label %1974

1970:                                             ; preds = %1965
  %1971 = load ptr, ptr %7, align 8, !tbaa !5
  %1972 = getelementptr inbounds %struct.ImGuiContext, ptr %1971, i32 0, i32 128
  %1973 = load ptr, ptr %1972, align 8, !tbaa !229
  br label %1978

1974:                                             ; preds = %1965
  %1975 = load ptr, ptr %7, align 8, !tbaa !5
  %1976 = getelementptr inbounds %struct.ImGuiContext, ptr %1975, i32 0, i32 84
  %1977 = load ptr, ptr %1976, align 8, !tbaa !230
  br label %1978

1978:                                             ; preds = %1974, %1970
  %1979 = phi ptr [ %1973, %1970 ], [ %1977, %1974 ]
  store ptr %1979, ptr %81, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %82) #13
  %1980 = load i8, ptr %54, align 1, !tbaa !81, !range !77, !noundef !78
  %1981 = trunc i8 %1980 to i1
  br i1 %1981, label %1995, label %1982

1982:                                             ; preds = %1978
  %1983 = load ptr, ptr %81, align 8, !tbaa !5
  %1984 = icmp ne ptr %1983, null
  br i1 %1984, label %1985, label %1993

1985:                                             ; preds = %1982
  %1986 = load ptr, ptr %9, align 8, !tbaa !5
  %1987 = getelementptr inbounds %struct.ImGuiWindow, ptr %1986, i32 0, i32 85
  %1988 = load ptr, ptr %1987, align 8, !tbaa !231
  %1989 = load ptr, ptr %81, align 8, !tbaa !5
  %1990 = getelementptr inbounds %struct.ImGuiWindow, ptr %1989, i32 0, i32 85
  %1991 = load ptr, ptr %1990, align 8, !tbaa !231
  %1992 = icmp eq ptr %1988, %1991
  br label %1993

1993:                                             ; preds = %1985, %1982
  %1994 = phi i1 [ false, %1982 ], [ %1992, %1985 ]
  br label %1995

1995:                                             ; preds = %1993, %1978
  %1996 = phi i1 [ true, %1978 ], [ %1994, %1993 ]
  %1997 = zext i1 %1996 to i8
  store i8 %1997, ptr %82, align 1, !tbaa !81
  call void @llvm.lifetime.start.p0(i64 1, ptr %83) #13
  store i8 1, ptr %83, align 1, !tbaa !81
  %1998 = load ptr, ptr %9, align 8, !tbaa !5
  %1999 = load i8, ptr %82, align 1, !tbaa !81, !range !77, !noundef !78
  %2000 = trunc i8 %1999 to i1
  %2001 = load i32, ptr %59, align 4, !tbaa !9
  %2002 = getelementptr inbounds [4 x i32], ptr %58, i64 0, i64 0
  %2003 = load float, ptr %60, align 4, !tbaa !118
  call void @_ZN5ImGuiL23RenderWindowDecorationsEP11ImGuiWindowRK6ImRectbbiPKjf(ptr noundef %1998, ptr noundef nonnull align 4 dereferenceable(16) %71, i1 noundef zeroext %2000, i1 noundef zeroext true, i32 noundef %2001, ptr noundef %2002, float noundef %2003)
  %2004 = load i8, ptr %75, align 1, !tbaa !81, !range !77, !noundef !78
  %2005 = trunc i8 %2004 to i1
  br i1 %2005, label %2006, label %2011

2006:                                             ; preds = %1995
  %2007 = load ptr, ptr %9, align 8, !tbaa !5
  %2008 = getelementptr inbounds %struct.ImGuiWindow, ptr %2007, i32 0, i32 80
  %2009 = load ptr, ptr %9, align 8, !tbaa !5
  %2010 = getelementptr inbounds %struct.ImGuiWindow, ptr %2009, i32 0, i32 79
  store ptr %2008, ptr %2010, align 8, !tbaa !144
  br label %2011

2011:                                             ; preds = %2006, %1995
  call void @llvm.lifetime.end.p0(i64 1, ptr %83) #13
  call void @llvm.lifetime.end.p0(i64 1, ptr %82) #13
  call void @llvm.lifetime.end.p0(i64 8, ptr %81) #13
  call void @llvm.lifetime.end.p0(i64 1, ptr %75) #13
  call void @llvm.lifetime.start.p0(i64 1, ptr %84) #13
  %2012 = load i32, ptr %6, align 4, !tbaa !9
  %2013 = and i32 %2012, 8
  %2014 = icmp ne i32 %2013, 0
  br i1 %2014, label %2019, label %2015

2015:                                             ; preds = %2011
  %2016 = load i32, ptr %6, align 4, !tbaa !9
  %2017 = and i32 %2016, 2048
  %2018 = icmp ne i32 %2017, 0
  br label %2019

2019:                                             ; preds = %2015, %2011
  %2020 = phi i1 [ false, %2011 ], [ %2018, %2015 ]
  %2021 = zext i1 %2020 to i8
  store i8 %2021, ptr %84, align 1, !tbaa !81
  call void @llvm.lifetime.start.p0(i64 1, ptr %85) #13
  %2022 = load i32, ptr %6, align 4, !tbaa !9
  %2023 = and i32 %2022, 8
  %2024 = icmp ne i32 %2023, 0
  %2025 = xor i1 %2024, true
  %2026 = zext i1 %2025 to i8
  store i8 %2026, ptr %85, align 1, !tbaa !81
  call void @llvm.lifetime.start.p0(i64 4, ptr %86) #13
  %2027 = load ptr, ptr %9, align 8, !tbaa !5
  %2028 = getelementptr inbounds %struct.ImGuiWindow, ptr %2027, i32 0, i32 9
  %2029 = getelementptr inbounds %struct.ImVec2, ptr %2028, i32 0, i32 0
  %2030 = load float, ptr %2029, align 8, !tbaa !232
  %2031 = fcmp une float %2030, 0.000000e+00
  br i1 %2031, label %2032, label %2037

2032:                                             ; preds = %2019
  %2033 = load ptr, ptr %9, align 8, !tbaa !5
  %2034 = getelementptr inbounds %struct.ImGuiWindow, ptr %2033, i32 0, i32 9
  %2035 = getelementptr inbounds %struct.ImVec2, ptr %2034, i32 0, i32 0
  %2036 = load float, ptr %2035, align 8, !tbaa !232
  br label %2067

2037:                                             ; preds = %2019
  %2038 = load i8, ptr %84, align 1, !tbaa !81, !range !77, !noundef !78
  %2039 = trunc i8 %2038 to i1
  br i1 %2039, label %2040, label %2045

2040:                                             ; preds = %2037
  %2041 = load ptr, ptr %9, align 8, !tbaa !5
  %2042 = getelementptr inbounds %struct.ImGuiWindow, ptr %2041, i32 0, i32 7
  %2043 = getelementptr inbounds %struct.ImVec2, ptr %2042, i32 0, i32 0
  %2044 = load float, ptr %2043, align 8, !tbaa !212
  br label %2046

2045:                                             ; preds = %2037
  br label %2046

2046:                                             ; preds = %2045, %2040
  %2047 = phi float [ %2044, %2040 ], [ 0.000000e+00, %2045 ]
  %2048 = load ptr, ptr %9, align 8, !tbaa !5
  %2049 = getelementptr inbounds %struct.ImGuiWindow, ptr %2048, i32 0, i32 5
  %2050 = getelementptr inbounds %struct.ImVec2, ptr %2049, i32 0, i32 0
  %2051 = load float, ptr %2050, align 8, !tbaa !155
  %2052 = load ptr, ptr %9, align 8, !tbaa !5
  %2053 = getelementptr inbounds %struct.ImGuiWindow, ptr %2052, i32 0, i32 10
  %2054 = getelementptr inbounds %struct.ImVec2, ptr %2053, i32 0, i32 0
  %2055 = load float, ptr %2054, align 8, !tbaa !163
  %2056 = fneg float %2055
  %2057 = call float @llvm.fmuladd.f32(float %2056, float 2.000000e+00, float %2051)
  %2058 = load ptr, ptr %9, align 8, !tbaa !5
  %2059 = getelementptr inbounds %struct.ImGuiWindow, ptr %2058, i32 0, i32 13
  %2060 = load float, ptr %2059, align 8, !tbaa !175
  %2061 = load ptr, ptr %9, align 8, !tbaa !5
  %2062 = getelementptr inbounds %struct.ImGuiWindow, ptr %2061, i32 0, i32 15
  %2063 = load float, ptr %2062, align 8, !tbaa !176
  %2064 = fadd float %2060, %2063
  %2065 = fsub float %2057, %2064
  %2066 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %2047, float noundef %2065)
  br label %2067

2067:                                             ; preds = %2046, %2032
  %2068 = phi float [ %2036, %2032 ], [ %2066, %2046 ]
  store float %2068, ptr %86, align 4, !tbaa !118
  call void @llvm.lifetime.start.p0(i64 4, ptr %87) #13
  %2069 = load ptr, ptr %9, align 8, !tbaa !5
  %2070 = getelementptr inbounds %struct.ImGuiWindow, ptr %2069, i32 0, i32 9
  %2071 = getelementptr inbounds %struct.ImVec2, ptr %2070, i32 0, i32 1
  %2072 = load float, ptr %2071, align 4, !tbaa !233
  %2073 = fcmp une float %2072, 0.000000e+00
  br i1 %2073, label %2074, label %2079

2074:                                             ; preds = %2067
  %2075 = load ptr, ptr %9, align 8, !tbaa !5
  %2076 = getelementptr inbounds %struct.ImGuiWindow, ptr %2075, i32 0, i32 9
  %2077 = getelementptr inbounds %struct.ImVec2, ptr %2076, i32 0, i32 1
  %2078 = load float, ptr %2077, align 4, !tbaa !233
  br label %2109

2079:                                             ; preds = %2067
  %2080 = load i8, ptr %85, align 1, !tbaa !81, !range !77, !noundef !78
  %2081 = trunc i8 %2080 to i1
  br i1 %2081, label %2082, label %2087

2082:                                             ; preds = %2079
  %2083 = load ptr, ptr %9, align 8, !tbaa !5
  %2084 = getelementptr inbounds %struct.ImGuiWindow, ptr %2083, i32 0, i32 7
  %2085 = getelementptr inbounds %struct.ImVec2, ptr %2084, i32 0, i32 1
  %2086 = load float, ptr %2085, align 4, !tbaa !214
  br label %2088

2087:                                             ; preds = %2079
  br label %2088

2088:                                             ; preds = %2087, %2082
  %2089 = phi float [ %2086, %2082 ], [ 0.000000e+00, %2087 ]
  %2090 = load ptr, ptr %9, align 8, !tbaa !5
  %2091 = getelementptr inbounds %struct.ImGuiWindow, ptr %2090, i32 0, i32 5
  %2092 = getelementptr inbounds %struct.ImVec2, ptr %2091, i32 0, i32 1
  %2093 = load float, ptr %2092, align 4, !tbaa !157
  %2094 = load ptr, ptr %9, align 8, !tbaa !5
  %2095 = getelementptr inbounds %struct.ImGuiWindow, ptr %2094, i32 0, i32 10
  %2096 = getelementptr inbounds %struct.ImVec2, ptr %2095, i32 0, i32 1
  %2097 = load float, ptr %2096, align 4, !tbaa !215
  %2098 = fneg float %2097
  %2099 = call float @llvm.fmuladd.f32(float %2098, float 2.000000e+00, float %2093)
  %2100 = load ptr, ptr %9, align 8, !tbaa !5
  %2101 = getelementptr inbounds %struct.ImGuiWindow, ptr %2100, i32 0, i32 14
  %2102 = load float, ptr %2101, align 4, !tbaa !177
  %2103 = load ptr, ptr %9, align 8, !tbaa !5
  %2104 = getelementptr inbounds %struct.ImGuiWindow, ptr %2103, i32 0, i32 16
  %2105 = load float, ptr %2104, align 4, !tbaa !178
  %2106 = fadd float %2102, %2105
  %2107 = fsub float %2099, %2106
  %2108 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %2089, float noundef %2107)
  br label %2109

2109:                                             ; preds = %2088, %2074
  %2110 = phi float [ %2078, %2074 ], [ %2108, %2088 ]
  store float %2110, ptr %87, align 4, !tbaa !118
  %2111 = load ptr, ptr %9, align 8, !tbaa !5
  %2112 = getelementptr inbounds %struct.ImGuiWindow, ptr %2111, i32 0, i32 63
  %2113 = getelementptr inbounds %struct.ImRect, ptr %2112, i32 0, i32 0
  %2114 = getelementptr inbounds %struct.ImVec2, ptr %2113, i32 0, i32 0
  %2115 = load float, ptr %2114, align 8, !tbaa !201
  %2116 = load ptr, ptr %9, align 8, !tbaa !5
  %2117 = getelementptr inbounds %struct.ImGuiWindow, ptr %2116, i32 0, i32 22
  %2118 = getelementptr inbounds %struct.ImVec2, ptr %2117, i32 0, i32 0
  %2119 = load float, ptr %2118, align 4, !tbaa !234
  %2120 = fsub float %2115, %2119
  %2121 = load ptr, ptr %9, align 8, !tbaa !5
  %2122 = getelementptr inbounds %struct.ImGuiWindow, ptr %2121, i32 0, i32 10
  %2123 = getelementptr inbounds %struct.ImVec2, ptr %2122, i32 0, i32 0
  %2124 = load float, ptr %2123, align 8, !tbaa !163
  %2125 = load ptr, ptr %9, align 8, !tbaa !5
  %2126 = getelementptr inbounds %struct.ImGuiWindow, ptr %2125, i32 0, i32 12
  %2127 = load float, ptr %2126, align 4, !tbaa !159
  %2128 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %2124, float noundef %2127)
  %2129 = fadd float %2120, %2128
  %2130 = call noundef float @_ZL7ImFloorf(float noundef %2129)
  %2131 = load ptr, ptr %9, align 8, !tbaa !5
  %2132 = getelementptr inbounds %struct.ImGuiWindow, ptr %2131, i32 0, i32 65
  %2133 = getelementptr inbounds %struct.ImRect, ptr %2132, i32 0, i32 0
  %2134 = getelementptr inbounds %struct.ImVec2, ptr %2133, i32 0, i32 0
  store float %2130, ptr %2134, align 8, !tbaa !235
  %2135 = load ptr, ptr %9, align 8, !tbaa !5
  %2136 = getelementptr inbounds %struct.ImGuiWindow, ptr %2135, i32 0, i32 63
  %2137 = getelementptr inbounds %struct.ImRect, ptr %2136, i32 0, i32 0
  %2138 = getelementptr inbounds %struct.ImVec2, ptr %2137, i32 0, i32 1
  %2139 = load float, ptr %2138, align 4, !tbaa !203
  %2140 = load ptr, ptr %9, align 8, !tbaa !5
  %2141 = getelementptr inbounds %struct.ImGuiWindow, ptr %2140, i32 0, i32 22
  %2142 = getelementptr inbounds %struct.ImVec2, ptr %2141, i32 0, i32 1
  %2143 = load float, ptr %2142, align 4, !tbaa !236
  %2144 = fsub float %2139, %2143
  %2145 = load ptr, ptr %9, align 8, !tbaa !5
  %2146 = getelementptr inbounds %struct.ImGuiWindow, ptr %2145, i32 0, i32 10
  %2147 = getelementptr inbounds %struct.ImVec2, ptr %2146, i32 0, i32 1
  %2148 = load float, ptr %2147, align 4, !tbaa !215
  %2149 = load ptr, ptr %9, align 8, !tbaa !5
  %2150 = getelementptr inbounds %struct.ImGuiWindow, ptr %2149, i32 0, i32 12
  %2151 = load float, ptr %2150, align 4, !tbaa !159
  %2152 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %2148, float noundef %2151)
  %2153 = fadd float %2144, %2152
  %2154 = call noundef float @_ZL7ImFloorf(float noundef %2153)
  %2155 = load ptr, ptr %9, align 8, !tbaa !5
  %2156 = getelementptr inbounds %struct.ImGuiWindow, ptr %2155, i32 0, i32 65
  %2157 = getelementptr inbounds %struct.ImRect, ptr %2156, i32 0, i32 0
  %2158 = getelementptr inbounds %struct.ImVec2, ptr %2157, i32 0, i32 1
  store float %2154, ptr %2158, align 4, !tbaa !237
  %2159 = load ptr, ptr %9, align 8, !tbaa !5
  %2160 = getelementptr inbounds %struct.ImGuiWindow, ptr %2159, i32 0, i32 65
  %2161 = getelementptr inbounds %struct.ImRect, ptr %2160, i32 0, i32 0
  %2162 = getelementptr inbounds %struct.ImVec2, ptr %2161, i32 0, i32 0
  %2163 = load float, ptr %2162, align 8, !tbaa !235
  %2164 = load float, ptr %86, align 4, !tbaa !118
  %2165 = fadd float %2163, %2164
  %2166 = load ptr, ptr %9, align 8, !tbaa !5
  %2167 = getelementptr inbounds %struct.ImGuiWindow, ptr %2166, i32 0, i32 65
  %2168 = getelementptr inbounds %struct.ImRect, ptr %2167, i32 0, i32 1
  %2169 = getelementptr inbounds %struct.ImVec2, ptr %2168, i32 0, i32 0
  store float %2165, ptr %2169, align 8, !tbaa !238
  %2170 = load ptr, ptr %9, align 8, !tbaa !5
  %2171 = getelementptr inbounds %struct.ImGuiWindow, ptr %2170, i32 0, i32 65
  %2172 = getelementptr inbounds %struct.ImRect, ptr %2171, i32 0, i32 0
  %2173 = getelementptr inbounds %struct.ImVec2, ptr %2172, i32 0, i32 1
  %2174 = load float, ptr %2173, align 4, !tbaa !237
  %2175 = load float, ptr %87, align 4, !tbaa !118
  %2176 = fadd float %2174, %2175
  %2177 = load ptr, ptr %9, align 8, !tbaa !5
  %2178 = getelementptr inbounds %struct.ImGuiWindow, ptr %2177, i32 0, i32 65
  %2179 = getelementptr inbounds %struct.ImRect, ptr %2178, i32 0, i32 1
  %2180 = getelementptr inbounds %struct.ImVec2, ptr %2179, i32 0, i32 1
  store float %2176, ptr %2180, align 4, !tbaa !239
  %2181 = load ptr, ptr %9, align 8, !tbaa !5
  %2182 = getelementptr inbounds %struct.ImGuiWindow, ptr %2181, i32 0, i32 65
  %2183 = load ptr, ptr %9, align 8, !tbaa !5
  %2184 = getelementptr inbounds %struct.ImGuiWindow, ptr %2183, i32 0, i32 66
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %2184, ptr align 8 %2182, i64 16, i1 false), !tbaa.struct !143
  %2185 = load ptr, ptr %9, align 8, !tbaa !5
  %2186 = getelementptr inbounds %struct.ImGuiWindow, ptr %2185, i32 0, i32 4
  %2187 = getelementptr inbounds %struct.ImVec2, ptr %2186, i32 0, i32 0
  %2188 = load float, ptr %2187, align 8, !tbaa !200
  %2189 = load ptr, ptr %9, align 8, !tbaa !5
  %2190 = getelementptr inbounds %struct.ImGuiWindow, ptr %2189, i32 0, i32 22
  %2191 = getelementptr inbounds %struct.ImVec2, ptr %2190, i32 0, i32 0
  %2192 = load float, ptr %2191, align 4, !tbaa !234
  %2193 = fsub float %2188, %2192
  %2194 = load ptr, ptr %9, align 8, !tbaa !5
  %2195 = getelementptr inbounds %struct.ImGuiWindow, ptr %2194, i32 0, i32 10
  %2196 = getelementptr inbounds %struct.ImVec2, ptr %2195, i32 0, i32 0
  %2197 = load float, ptr %2196, align 8, !tbaa !163
  %2198 = fadd float %2193, %2197
  %2199 = load ptr, ptr %9, align 8, !tbaa !5
  %2200 = getelementptr inbounds %struct.ImGuiWindow, ptr %2199, i32 0, i32 13
  %2201 = load float, ptr %2200, align 8, !tbaa !175
  %2202 = fadd float %2198, %2201
  %2203 = load ptr, ptr %9, align 8, !tbaa !5
  %2204 = getelementptr inbounds %struct.ImGuiWindow, ptr %2203, i32 0, i32 68
  %2205 = getelementptr inbounds %struct.ImRect, ptr %2204, i32 0, i32 0
  %2206 = getelementptr inbounds %struct.ImVec2, ptr %2205, i32 0, i32 0
  store float %2202, ptr %2206, align 8, !tbaa !240
  %2207 = load ptr, ptr %9, align 8, !tbaa !5
  %2208 = getelementptr inbounds %struct.ImGuiWindow, ptr %2207, i32 0, i32 4
  %2209 = getelementptr inbounds %struct.ImVec2, ptr %2208, i32 0, i32 1
  %2210 = load float, ptr %2209, align 4, !tbaa !202
  %2211 = load ptr, ptr %9, align 8, !tbaa !5
  %2212 = getelementptr inbounds %struct.ImGuiWindow, ptr %2211, i32 0, i32 22
  %2213 = getelementptr inbounds %struct.ImVec2, ptr %2212, i32 0, i32 1
  %2214 = load float, ptr %2213, align 4, !tbaa !236
  %2215 = fsub float %2210, %2214
  %2216 = load ptr, ptr %9, align 8, !tbaa !5
  %2217 = getelementptr inbounds %struct.ImGuiWindow, ptr %2216, i32 0, i32 10
  %2218 = getelementptr inbounds %struct.ImVec2, ptr %2217, i32 0, i32 1
  %2219 = load float, ptr %2218, align 4, !tbaa !215
  %2220 = fadd float %2215, %2219
  %2221 = load ptr, ptr %9, align 8, !tbaa !5
  %2222 = getelementptr inbounds %struct.ImGuiWindow, ptr %2221, i32 0, i32 14
  %2223 = load float, ptr %2222, align 4, !tbaa !177
  %2224 = fadd float %2220, %2223
  %2225 = load ptr, ptr %9, align 8, !tbaa !5
  %2226 = getelementptr inbounds %struct.ImGuiWindow, ptr %2225, i32 0, i32 68
  %2227 = getelementptr inbounds %struct.ImRect, ptr %2226, i32 0, i32 0
  %2228 = getelementptr inbounds %struct.ImVec2, ptr %2227, i32 0, i32 1
  store float %2224, ptr %2228, align 4, !tbaa !241
  %2229 = load ptr, ptr %9, align 8, !tbaa !5
  %2230 = getelementptr inbounds %struct.ImGuiWindow, ptr %2229, i32 0, i32 68
  %2231 = getelementptr inbounds %struct.ImRect, ptr %2230, i32 0, i32 0
  %2232 = getelementptr inbounds %struct.ImVec2, ptr %2231, i32 0, i32 0
  %2233 = load float, ptr %2232, align 8, !tbaa !240
  %2234 = load ptr, ptr %9, align 8, !tbaa !5
  %2235 = getelementptr inbounds %struct.ImGuiWindow, ptr %2234, i32 0, i32 9
  %2236 = getelementptr inbounds %struct.ImVec2, ptr %2235, i32 0, i32 0
  %2237 = load float, ptr %2236, align 8, !tbaa !232
  %2238 = fcmp une float %2237, 0.000000e+00
  br i1 %2238, label %2239, label %2244

2239:                                             ; preds = %2109
  %2240 = load ptr, ptr %9, align 8, !tbaa !5
  %2241 = getelementptr inbounds %struct.ImGuiWindow, ptr %2240, i32 0, i32 9
  %2242 = getelementptr inbounds %struct.ImVec2, ptr %2241, i32 0, i32 0
  %2243 = load float, ptr %2242, align 8, !tbaa !232
  br label %2263

2244:                                             ; preds = %2109
  %2245 = load ptr, ptr %9, align 8, !tbaa !5
  %2246 = getelementptr inbounds %struct.ImGuiWindow, ptr %2245, i32 0, i32 5
  %2247 = getelementptr inbounds %struct.ImVec2, ptr %2246, i32 0, i32 0
  %2248 = load float, ptr %2247, align 8, !tbaa !155
  %2249 = load ptr, ptr %9, align 8, !tbaa !5
  %2250 = getelementptr inbounds %struct.ImGuiWindow, ptr %2249, i32 0, i32 10
  %2251 = getelementptr inbounds %struct.ImVec2, ptr %2250, i32 0, i32 0
  %2252 = load float, ptr %2251, align 8, !tbaa !163
  %2253 = fneg float %2252
  %2254 = call float @llvm.fmuladd.f32(float %2253, float 2.000000e+00, float %2248)
  %2255 = load ptr, ptr %9, align 8, !tbaa !5
  %2256 = getelementptr inbounds %struct.ImGuiWindow, ptr %2255, i32 0, i32 13
  %2257 = load float, ptr %2256, align 8, !tbaa !175
  %2258 = load ptr, ptr %9, align 8, !tbaa !5
  %2259 = getelementptr inbounds %struct.ImGuiWindow, ptr %2258, i32 0, i32 15
  %2260 = load float, ptr %2259, align 8, !tbaa !176
  %2261 = fadd float %2257, %2260
  %2262 = fsub float %2254, %2261
  br label %2263

2263:                                             ; preds = %2244, %2239
  %2264 = phi float [ %2243, %2239 ], [ %2262, %2244 ]
  %2265 = fadd float %2233, %2264
  %2266 = load ptr, ptr %9, align 8, !tbaa !5
  %2267 = getelementptr inbounds %struct.ImGuiWindow, ptr %2266, i32 0, i32 68
  %2268 = getelementptr inbounds %struct.ImRect, ptr %2267, i32 0, i32 1
  %2269 = getelementptr inbounds %struct.ImVec2, ptr %2268, i32 0, i32 0
  store float %2265, ptr %2269, align 8, !tbaa !242
  %2270 = load ptr, ptr %9, align 8, !tbaa !5
  %2271 = getelementptr inbounds %struct.ImGuiWindow, ptr %2270, i32 0, i32 68
  %2272 = getelementptr inbounds %struct.ImRect, ptr %2271, i32 0, i32 0
  %2273 = getelementptr inbounds %struct.ImVec2, ptr %2272, i32 0, i32 1
  %2274 = load float, ptr %2273, align 4, !tbaa !241
  %2275 = load ptr, ptr %9, align 8, !tbaa !5
  %2276 = getelementptr inbounds %struct.ImGuiWindow, ptr %2275, i32 0, i32 9
  %2277 = getelementptr inbounds %struct.ImVec2, ptr %2276, i32 0, i32 1
  %2278 = load float, ptr %2277, align 4, !tbaa !233
  %2279 = fcmp une float %2278, 0.000000e+00
  br i1 %2279, label %2280, label %2285

2280:                                             ; preds = %2263
  %2281 = load ptr, ptr %9, align 8, !tbaa !5
  %2282 = getelementptr inbounds %struct.ImGuiWindow, ptr %2281, i32 0, i32 9
  %2283 = getelementptr inbounds %struct.ImVec2, ptr %2282, i32 0, i32 1
  %2284 = load float, ptr %2283, align 4, !tbaa !233
  br label %2304

2285:                                             ; preds = %2263
  %2286 = load ptr, ptr %9, align 8, !tbaa !5
  %2287 = getelementptr inbounds %struct.ImGuiWindow, ptr %2286, i32 0, i32 5
  %2288 = getelementptr inbounds %struct.ImVec2, ptr %2287, i32 0, i32 1
  %2289 = load float, ptr %2288, align 4, !tbaa !157
  %2290 = load ptr, ptr %9, align 8, !tbaa !5
  %2291 = getelementptr inbounds %struct.ImGuiWindow, ptr %2290, i32 0, i32 10
  %2292 = getelementptr inbounds %struct.ImVec2, ptr %2291, i32 0, i32 1
  %2293 = load float, ptr %2292, align 4, !tbaa !215
  %2294 = fneg float %2293
  %2295 = call float @llvm.fmuladd.f32(float %2294, float 2.000000e+00, float %2289)
  %2296 = load ptr, ptr %9, align 8, !tbaa !5
  %2297 = getelementptr inbounds %struct.ImGuiWindow, ptr %2296, i32 0, i32 14
  %2298 = load float, ptr %2297, align 4, !tbaa !177
  %2299 = load ptr, ptr %9, align 8, !tbaa !5
  %2300 = getelementptr inbounds %struct.ImGuiWindow, ptr %2299, i32 0, i32 16
  %2301 = load float, ptr %2300, align 4, !tbaa !178
  %2302 = fadd float %2298, %2301
  %2303 = fsub float %2295, %2302
  br label %2304

2304:                                             ; preds = %2285, %2280
  %2305 = phi float [ %2284, %2280 ], [ %2303, %2285 ]
  %2306 = fadd float %2274, %2305
  %2307 = load ptr, ptr %9, align 8, !tbaa !5
  %2308 = getelementptr inbounds %struct.ImGuiWindow, ptr %2307, i32 0, i32 68
  %2309 = getelementptr inbounds %struct.ImRect, ptr %2308, i32 0, i32 1
  %2310 = getelementptr inbounds %struct.ImVec2, ptr %2309, i32 0, i32 1
  store float %2306, ptr %2310, align 4, !tbaa !243
  %2311 = load ptr, ptr %9, align 8, !tbaa !5
  %2312 = getelementptr inbounds %struct.ImGuiWindow, ptr %2311, i32 0, i32 13
  %2313 = load float, ptr %2312, align 8, !tbaa !175
  %2314 = load ptr, ptr %9, align 8, !tbaa !5
  %2315 = getelementptr inbounds %struct.ImGuiWindow, ptr %2314, i32 0, i32 10
  %2316 = getelementptr inbounds %struct.ImVec2, ptr %2315, i32 0, i32 0
  %2317 = load float, ptr %2316, align 8, !tbaa !163
  %2318 = fadd float %2313, %2317
  %2319 = load ptr, ptr %9, align 8, !tbaa !5
  %2320 = getelementptr inbounds %struct.ImGuiWindow, ptr %2319, i32 0, i32 22
  %2321 = getelementptr inbounds %struct.ImVec2, ptr %2320, i32 0, i32 0
  %2322 = load float, ptr %2321, align 4, !tbaa !234
  %2323 = fsub float %2318, %2322
  %2324 = load ptr, ptr %9, align 8, !tbaa !5
  %2325 = getelementptr inbounds %struct.ImGuiWindow, ptr %2324, i32 0, i32 61
  %2326 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %2325, i32 0, i32 11
  %2327 = getelementptr inbounds %struct.ImVec1, ptr %2326, i32 0, i32 0
  store float %2323, ptr %2327, align 4, !tbaa !244
  %2328 = load ptr, ptr %9, align 8, !tbaa !5
  %2329 = getelementptr inbounds %struct.ImGuiWindow, ptr %2328, i32 0, i32 61
  %2330 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %2329, i32 0, i32 13
  %2331 = getelementptr inbounds %struct.ImVec1, ptr %2330, i32 0, i32 0
  store float 0.000000e+00, ptr %2331, align 4, !tbaa !245
  %2332 = load ptr, ptr %9, align 8, !tbaa !5
  %2333 = getelementptr inbounds %struct.ImGuiWindow, ptr %2332, i32 0, i32 61
  %2334 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %2333, i32 0, i32 12
  %2335 = getelementptr inbounds %struct.ImVec1, ptr %2334, i32 0, i32 0
  store float 0.000000e+00, ptr %2335, align 8, !tbaa !246
  call void @llvm.lifetime.start.p0(i64 8, ptr %88) #13
  %2336 = load ptr, ptr %9, align 8, !tbaa !5
  %2337 = getelementptr inbounds %struct.ImGuiWindow, ptr %2336, i32 0, i32 4
  %2338 = getelementptr inbounds %struct.ImVec2, ptr %2337, i32 0, i32 0
  %2339 = load float, ptr %2338, align 8, !tbaa !200
  %2340 = fpext float %2339 to double
  %2341 = load ptr, ptr %9, align 8, !tbaa !5
  %2342 = getelementptr inbounds %struct.ImGuiWindow, ptr %2341, i32 0, i32 10
  %2343 = getelementptr inbounds %struct.ImVec2, ptr %2342, i32 0, i32 0
  %2344 = load float, ptr %2343, align 8, !tbaa !163
  %2345 = fpext float %2344 to double
  %2346 = fadd double %2340, %2345
  %2347 = load ptr, ptr %9, align 8, !tbaa !5
  %2348 = getelementptr inbounds %struct.ImGuiWindow, ptr %2347, i32 0, i32 22
  %2349 = getelementptr inbounds %struct.ImVec2, ptr %2348, i32 0, i32 0
  %2350 = load float, ptr %2349, align 4, !tbaa !234
  %2351 = fpext float %2350 to double
  %2352 = fsub double %2346, %2351
  %2353 = load ptr, ptr %9, align 8, !tbaa !5
  %2354 = getelementptr inbounds %struct.ImGuiWindow, ptr %2353, i32 0, i32 13
  %2355 = load float, ptr %2354, align 8, !tbaa !175
  %2356 = fpext float %2355 to double
  %2357 = fadd double %2352, %2356
  %2358 = load ptr, ptr %9, align 8, !tbaa !5
  %2359 = getelementptr inbounds %struct.ImGuiWindow, ptr %2358, i32 0, i32 61
  %2360 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %2359, i32 0, i32 12
  %2361 = getelementptr inbounds %struct.ImVec1, ptr %2360, i32 0, i32 0
  %2362 = load float, ptr %2361, align 8, !tbaa !246
  %2363 = fpext float %2362 to double
  %2364 = fadd double %2357, %2363
  store double %2364, ptr %88, align 8, !tbaa !247
  call void @llvm.lifetime.start.p0(i64 8, ptr %89) #13
  %2365 = load ptr, ptr %9, align 8, !tbaa !5
  %2366 = getelementptr inbounds %struct.ImGuiWindow, ptr %2365, i32 0, i32 4
  %2367 = getelementptr inbounds %struct.ImVec2, ptr %2366, i32 0, i32 1
  %2368 = load float, ptr %2367, align 4, !tbaa !202
  %2369 = fpext float %2368 to double
  %2370 = load ptr, ptr %9, align 8, !tbaa !5
  %2371 = getelementptr inbounds %struct.ImGuiWindow, ptr %2370, i32 0, i32 10
  %2372 = getelementptr inbounds %struct.ImVec2, ptr %2371, i32 0, i32 1
  %2373 = load float, ptr %2372, align 4, !tbaa !215
  %2374 = fpext float %2373 to double
  %2375 = fadd double %2369, %2374
  %2376 = load ptr, ptr %9, align 8, !tbaa !5
  %2377 = getelementptr inbounds %struct.ImGuiWindow, ptr %2376, i32 0, i32 22
  %2378 = getelementptr inbounds %struct.ImVec2, ptr %2377, i32 0, i32 1
  %2379 = load float, ptr %2378, align 4, !tbaa !236
  %2380 = fpext float %2379 to double
  %2381 = fsub double %2375, %2380
  %2382 = load ptr, ptr %9, align 8, !tbaa !5
  %2383 = getelementptr inbounds %struct.ImGuiWindow, ptr %2382, i32 0, i32 14
  %2384 = load float, ptr %2383, align 4, !tbaa !177
  %2385 = fpext float %2384 to double
  %2386 = fadd double %2381, %2385
  store double %2386, ptr %89, align 8, !tbaa !247
  call void @llvm.lifetime.start.p0(i64 8, ptr %90) #13
  %2387 = load double, ptr %88, align 8, !tbaa !247
  %2388 = fptrunc double %2387 to float
  %2389 = load double, ptr %89, align 8, !tbaa !247
  %2390 = fptrunc double %2389 to float
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %90, float noundef %2388, float noundef %2390)
  %2391 = load ptr, ptr %9, align 8, !tbaa !5
  %2392 = getelementptr inbounds %struct.ImGuiWindow, ptr %2391, i32 0, i32 61
  %2393 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %2392, i32 0, i32 2
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %2393, ptr align 4 %90, i64 8, i1 false), !tbaa.struct !128
  call void @llvm.lifetime.end.p0(i64 8, ptr %90) #13
  call void @llvm.lifetime.start.p0(i64 8, ptr %91) #13
  %2394 = load double, ptr %88, align 8, !tbaa !247
  %2395 = load ptr, ptr %9, align 8, !tbaa !5
  %2396 = getelementptr inbounds %struct.ImGuiWindow, ptr %2395, i32 0, i32 61
  %2397 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %2396, i32 0, i32 2
  %2398 = getelementptr inbounds %struct.ImVec2, ptr %2397, i32 0, i32 0
  %2399 = load float, ptr %2398, align 8, !tbaa !248
  %2400 = fpext float %2399 to double
  %2401 = fsub double %2394, %2400
  %2402 = fptrunc double %2401 to float
  %2403 = load double, ptr %89, align 8, !tbaa !247
  %2404 = load ptr, ptr %9, align 8, !tbaa !5
  %2405 = getelementptr inbounds %struct.ImGuiWindow, ptr %2404, i32 0, i32 61
  %2406 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %2405, i32 0, i32 2
  %2407 = getelementptr inbounds %struct.ImVec2, ptr %2406, i32 0, i32 1
  %2408 = load float, ptr %2407, align 4, !tbaa !249
  %2409 = fpext float %2408 to double
  %2410 = fsub double %2403, %2409
  %2411 = fptrunc double %2410 to float
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %91, float noundef %2402, float noundef %2411)
  %2412 = load ptr, ptr %9, align 8, !tbaa !5
  %2413 = getelementptr inbounds %struct.ImGuiWindow, ptr %2412, i32 0, i32 61
  %2414 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %2413, i32 0, i32 14
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %2414, ptr align 4 %91, i64 8, i1 false), !tbaa.struct !128
  call void @llvm.lifetime.end.p0(i64 8, ptr %91) #13
  %2415 = load ptr, ptr %9, align 8, !tbaa !5
  %2416 = getelementptr inbounds %struct.ImGuiWindow, ptr %2415, i32 0, i32 61
  %2417 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %2416, i32 0, i32 2
  %2418 = load ptr, ptr %9, align 8, !tbaa !5
  %2419 = getelementptr inbounds %struct.ImGuiWindow, ptr %2418, i32 0, i32 61
  %2420 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %2419, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %2420, ptr align 8 %2417, i64 8, i1 false), !tbaa.struct !128
  %2421 = load ptr, ptr %9, align 8, !tbaa !5
  %2422 = getelementptr inbounds %struct.ImGuiWindow, ptr %2421, i32 0, i32 61
  %2423 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %2422, i32 0, i32 0
  %2424 = load ptr, ptr %9, align 8, !tbaa !5
  %2425 = getelementptr inbounds %struct.ImGuiWindow, ptr %2424, i32 0, i32 61
  %2426 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %2425, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %2426, ptr align 8 %2423, i64 8, i1 false), !tbaa.struct !128
  %2427 = load ptr, ptr %9, align 8, !tbaa !5
  %2428 = getelementptr inbounds %struct.ImGuiWindow, ptr %2427, i32 0, i32 61
  %2429 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %2428, i32 0, i32 2
  %2430 = load ptr, ptr %9, align 8, !tbaa !5
  %2431 = getelementptr inbounds %struct.ImGuiWindow, ptr %2430, i32 0, i32 61
  %2432 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %2431, i32 0, i32 3
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %2432, ptr align 8 %2429, i64 8, i1 false), !tbaa.struct !128
  %2433 = load ptr, ptr %9, align 8, !tbaa !5
  %2434 = getelementptr inbounds %struct.ImGuiWindow, ptr %2433, i32 0, i32 61
  %2435 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %2434, i32 0, i32 2
  %2436 = load ptr, ptr %9, align 8, !tbaa !5
  %2437 = getelementptr inbounds %struct.ImGuiWindow, ptr %2436, i32 0, i32 61
  %2438 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %2437, i32 0, i32 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %2438, ptr align 8 %2435, i64 8, i1 false), !tbaa.struct !128
  call void @llvm.lifetime.start.p0(i64 8, ptr %92) #13
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %92, float noundef 0.000000e+00, float noundef 0.000000e+00)
  %2439 = load ptr, ptr %9, align 8, !tbaa !5
  %2440 = getelementptr inbounds %struct.ImGuiWindow, ptr %2439, i32 0, i32 61
  %2441 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %2440, i32 0, i32 6
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %2441, ptr align 4 %92, i64 8, i1 false), !tbaa.struct !128
  %2442 = load ptr, ptr %9, align 8, !tbaa !5
  %2443 = getelementptr inbounds %struct.ImGuiWindow, ptr %2442, i32 0, i32 61
  %2444 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %2443, i32 0, i32 5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %2444, ptr align 4 %2441, i64 8, i1 false), !tbaa.struct !128
  call void @llvm.lifetime.end.p0(i64 8, ptr %92) #13
  %2445 = load ptr, ptr %9, align 8, !tbaa !5
  %2446 = getelementptr inbounds %struct.ImGuiWindow, ptr %2445, i32 0, i32 61
  %2447 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %2446, i32 0, i32 8
  store float 0.000000e+00, ptr %2447, align 4, !tbaa !250
  %2448 = load ptr, ptr %9, align 8, !tbaa !5
  %2449 = getelementptr inbounds %struct.ImGuiWindow, ptr %2448, i32 0, i32 61
  %2450 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %2449, i32 0, i32 7
  store float 0.000000e+00, ptr %2450, align 8, !tbaa !251
  %2451 = load ptr, ptr %9, align 8, !tbaa !5
  %2452 = getelementptr inbounds %struct.ImGuiWindow, ptr %2451, i32 0, i32 61
  %2453 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %2452, i32 0, i32 10
  store i8 0, ptr %2453, align 1, !tbaa !252
  %2454 = load ptr, ptr %9, align 8, !tbaa !5
  %2455 = getelementptr inbounds %struct.ImGuiWindow, ptr %2454, i32 0, i32 61
  %2456 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %2455, i32 0, i32 9
  store i8 0, ptr %2456, align 8, !tbaa !253
  %2457 = load ptr, ptr %9, align 8, !tbaa !5
  %2458 = getelementptr inbounds %struct.ImGuiWindow, ptr %2457, i32 0, i32 61
  %2459 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %2458, i32 0, i32 15
  store i32 0, ptr %2459, align 8, !tbaa !124
  %2460 = load ptr, ptr %9, align 8, !tbaa !5
  %2461 = getelementptr inbounds %struct.ImGuiWindow, ptr %2460, i32 0, i32 61
  %2462 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %2461, i32 0, i32 17
  %2463 = load i16, ptr %2462, align 2, !tbaa !254
  %2464 = load ptr, ptr %9, align 8, !tbaa !5
  %2465 = getelementptr inbounds %struct.ImGuiWindow, ptr %2464, i32 0, i32 61
  %2466 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %2465, i32 0, i32 16
  store i16 %2463, ptr %2466, align 4, !tbaa !255
  %2467 = load ptr, ptr %9, align 8, !tbaa !5
  %2468 = getelementptr inbounds %struct.ImGuiWindow, ptr %2467, i32 0, i32 61
  %2469 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %2468, i32 0, i32 17
  store i16 0, ptr %2469, align 2, !tbaa !254
  %2470 = load ptr, ptr %9, align 8, !tbaa !5
  %2471 = getelementptr inbounds %struct.ImGuiWindow, ptr %2470, i32 0, i32 61
  %2472 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %2471, i32 0, i32 18
  store i8 0, ptr %2472, align 8, !tbaa !256
  %2473 = load ptr, ptr %9, align 8, !tbaa !5
  %2474 = getelementptr inbounds %struct.ImGuiWindow, ptr %2473, i32 0, i32 23
  %2475 = getelementptr inbounds %struct.ImVec2, ptr %2474, i32 0, i32 1
  %2476 = load float, ptr %2475, align 4, !tbaa !216
  %2477 = fcmp ogt float %2476, 0.000000e+00
  %2478 = load ptr, ptr %9, align 8, !tbaa !5
  %2479 = getelementptr inbounds %struct.ImGuiWindow, ptr %2478, i32 0, i32 61
  %2480 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %2479, i32 0, i32 19
  %2481 = zext i1 %2477 to i8
  store i8 %2481, ptr %2480, align 1, !tbaa !257
  %2482 = load ptr, ptr %9, align 8, !tbaa !5
  %2483 = getelementptr inbounds %struct.ImGuiWindow, ptr %2482, i32 0, i32 61
  %2484 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %2483, i32 0, i32 20
  store i8 0, ptr %2484, align 2, !tbaa !258
  %2485 = load ptr, ptr %9, align 8, !tbaa !5
  %2486 = getelementptr inbounds %struct.ImGuiWindow, ptr %2485, i32 0, i32 61
  %2487 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %2486, i32 0, i32 22
  %2488 = load ptr, ptr %8, align 8, !tbaa !5
  %2489 = getelementptr inbounds %struct.ImGuiStyle, ptr %2488, i32 0, i32 15
  %2490 = getelementptr inbounds %struct.ImVec2, ptr %2489, i32 0, i32 0
  %2491 = load float, ptr %2490, align 4, !tbaa !164
  %2492 = load i8, ptr %13, align 1, !tbaa !81, !range !77, !noundef !78
  %2493 = trunc i8 %2492 to i1
  call void @_ZN16ImGuiMenuColumns6UpdateEfb(ptr noundef nonnull align 4 dereferenceable(26) %2487, float noundef %2491, i1 noundef zeroext %2493)
  %2494 = load ptr, ptr %9, align 8, !tbaa !5
  %2495 = getelementptr inbounds %struct.ImGuiWindow, ptr %2494, i32 0, i32 61
  %2496 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %2495, i32 0, i32 23
  store i32 0, ptr %2496, align 8, !tbaa !259
  %2497 = load ptr, ptr %9, align 8, !tbaa !5
  %2498 = getelementptr inbounds %struct.ImGuiWindow, ptr %2497, i32 0, i32 61
  %2499 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %2498, i32 0, i32 24
  store i32 0, ptr %2499, align 4, !tbaa !260
  %2500 = load ptr, ptr %9, align 8, !tbaa !5
  %2501 = getelementptr inbounds %struct.ImGuiWindow, ptr %2500, i32 0, i32 61
  %2502 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %2501, i32 0, i32 25
  call void @_ZN8ImVectorIP11ImGuiWindowE6resizeEi(ptr noundef nonnull align 8 dereferenceable(16) %2502, i32 noundef 0)
  %2503 = load ptr, ptr %9, align 8, !tbaa !5
  %2504 = getelementptr inbounds %struct.ImGuiWindow, ptr %2503, i32 0, i32 75
  %2505 = load ptr, ptr %9, align 8, !tbaa !5
  %2506 = getelementptr inbounds %struct.ImGuiWindow, ptr %2505, i32 0, i32 61
  %2507 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %2506, i32 0, i32 26
  store ptr %2504, ptr %2507, align 8, !tbaa !261
  %2508 = load ptr, ptr %9, align 8, !tbaa !5
  %2509 = getelementptr inbounds %struct.ImGuiWindow, ptr %2508, i32 0, i32 61
  %2510 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %2509, i32 0, i32 27
  store ptr null, ptr %2510, align 8, !tbaa !262
  %2511 = load ptr, ptr %9, align 8, !tbaa !5
  %2512 = getelementptr inbounds %struct.ImGuiWindow, ptr %2511, i32 0, i32 61
  %2513 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %2512, i32 0, i32 29
  store i32 1, ptr %2513, align 4, !tbaa !263
  %2514 = load ptr, ptr %16, align 8, !tbaa !5
  %2515 = icmp ne ptr %2514, null
  br i1 %2515, label %2516, label %2521

2516:                                             ; preds = %2304
  %2517 = load ptr, ptr %16, align 8, !tbaa !5
  %2518 = getelementptr inbounds %struct.ImGuiWindow, ptr %2517, i32 0, i32 61
  %2519 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %2518, i32 0, i32 29
  %2520 = load i32, ptr %2519, align 4, !tbaa !263
  br label %2522

2521:                                             ; preds = %2304
  br label %2522

2522:                                             ; preds = %2521, %2516
  %2523 = phi i32 [ %2520, %2516 ], [ 1, %2521 ]
  %2524 = load ptr, ptr %9, align 8, !tbaa !5
  %2525 = getelementptr inbounds %struct.ImGuiWindow, ptr %2524, i32 0, i32 61
  %2526 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %2525, i32 0, i32 30
  store i32 %2523, ptr %2526, align 8, !tbaa !264
  %2527 = load ptr, ptr %9, align 8, !tbaa !5
  %2528 = getelementptr inbounds %struct.ImGuiWindow, ptr %2527, i32 0, i32 73
  %2529 = load float, ptr %2528, align 8, !tbaa !211
  %2530 = load ptr, ptr %9, align 8, !tbaa !5
  %2531 = getelementptr inbounds %struct.ImGuiWindow, ptr %2530, i32 0, i32 61
  %2532 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %2531, i32 0, i32 31
  store float %2529, ptr %2532, align 4, !tbaa !265
  %2533 = load ptr, ptr %9, align 8, !tbaa !5
  %2534 = getelementptr inbounds %struct.ImGuiWindow, ptr %2533, i32 0, i32 61
  %2535 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %2534, i32 0, i32 32
  store float -1.000000e+00, ptr %2535, align 8, !tbaa !266
  %2536 = load ptr, ptr %9, align 8, !tbaa !5
  %2537 = getelementptr inbounds %struct.ImGuiWindow, ptr %2536, i32 0, i32 61
  %2538 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %2537, i32 0, i32 33
  call void @_ZN8ImVectorIfE6resizeEi(ptr noundef nonnull align 8 dereferenceable(16) %2538, i32 noundef 0)
  %2539 = load ptr, ptr %9, align 8, !tbaa !5
  %2540 = getelementptr inbounds %struct.ImGuiWindow, ptr %2539, i32 0, i32 61
  %2541 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %2540, i32 0, i32 34
  call void @_ZN8ImVectorIfE6resizeEi(ptr noundef nonnull align 8 dereferenceable(16) %2541, i32 noundef 0)
  %2542 = load ptr, ptr %9, align 8, !tbaa !5
  %2543 = getelementptr inbounds %struct.ImGuiWindow, ptr %2542, i32 0, i32 48
  %2544 = load i8, ptr %2543, align 8, !tbaa !181
  %2545 = sext i8 %2544 to i32
  %2546 = icmp sgt i32 %2545, 0
  br i1 %2546, label %2547, label %2552

2547:                                             ; preds = %2522
  %2548 = load ptr, ptr %9, align 8, !tbaa !5
  %2549 = getelementptr inbounds %struct.ImGuiWindow, ptr %2548, i32 0, i32 48
  %2550 = load i8, ptr %2549, align 8, !tbaa !181
  %2551 = add i8 %2550, -1
  store i8 %2551, ptr %2549, align 8, !tbaa !181
  br label %2552

2552:                                             ; preds = %2547, %2522
  %2553 = load ptr, ptr %9, align 8, !tbaa !5
  %2554 = getelementptr inbounds %struct.ImGuiWindow, ptr %2553, i32 0, i32 49
  %2555 = load i8, ptr %2554, align 1, !tbaa !182
  %2556 = sext i8 %2555 to i32
  %2557 = icmp sgt i32 %2556, 0
  br i1 %2557, label %2558, label %2563

2558:                                             ; preds = %2552
  %2559 = load ptr, ptr %9, align 8, !tbaa !5
  %2560 = getelementptr inbounds %struct.ImGuiWindow, ptr %2559, i32 0, i32 49
  %2561 = load i8, ptr %2560, align 1, !tbaa !182
  %2562 = add i8 %2561, -1
  store i8 %2562, ptr %2560, align 1, !tbaa !182
  br label %2563

2563:                                             ; preds = %2558, %2552
  %2564 = load i8, ptr %54, align 1, !tbaa !81, !range !77, !noundef !78
  %2565 = trunc i8 %2564 to i1
  br i1 %2565, label %2566, label %2569

2566:                                             ; preds = %2563
  %2567 = load ptr, ptr %9, align 8, !tbaa !5
  call void @_ZN5ImGui11FocusWindowEP11ImGuiWindow(ptr noundef %2567)
  %2568 = load ptr, ptr %9, align 8, !tbaa !5
  call void @_ZN5ImGui13NavInitWindowEP11ImGuiWindowb(ptr noundef %2568, i1 noundef zeroext false)
  br label %2569

2569:                                             ; preds = %2566, %2563
  %2570 = load i32, ptr %6, align 4, !tbaa !9
  %2571 = and i32 %2570, 1
  %2572 = icmp ne i32 %2571, 0
  br i1 %2572, label %2597, label %2573

2573:                                             ; preds = %2569
  %2574 = load ptr, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %93) #13
  %2575 = getelementptr inbounds %struct.ImRect, ptr %71, i32 0, i32 0
  %2576 = getelementptr inbounds %struct.ImVec2, ptr %2575, i32 0, i32 0
  %2577 = load float, ptr %2576, align 4, !tbaa !267
  %2578 = load ptr, ptr %9, align 8, !tbaa !5
  %2579 = getelementptr inbounds %struct.ImGuiWindow, ptr %2578, i32 0, i32 12
  %2580 = load float, ptr %2579, align 4, !tbaa !159
  %2581 = fadd float %2577, %2580
  %2582 = getelementptr inbounds %struct.ImRect, ptr %71, i32 0, i32 0
  %2583 = getelementptr inbounds %struct.ImVec2, ptr %2582, i32 0, i32 1
  %2584 = load float, ptr %2583, align 4, !tbaa !268
  %2585 = getelementptr inbounds %struct.ImRect, ptr %71, i32 0, i32 1
  %2586 = getelementptr inbounds %struct.ImVec2, ptr %2585, i32 0, i32 0
  %2587 = load float, ptr %2586, align 4, !tbaa !269
  %2588 = load ptr, ptr %9, align 8, !tbaa !5
  %2589 = getelementptr inbounds %struct.ImGuiWindow, ptr %2588, i32 0, i32 12
  %2590 = load float, ptr %2589, align 4, !tbaa !159
  %2591 = fsub float %2587, %2590
  %2592 = getelementptr inbounds %struct.ImRect, ptr %71, i32 0, i32 1
  %2593 = getelementptr inbounds %struct.ImVec2, ptr %2592, i32 0, i32 1
  %2594 = load float, ptr %2593, align 4, !tbaa !270
  call void @_ZN6ImRectC2Effff(ptr noundef nonnull align 4 dereferenceable(16) %93, float noundef %2581, float noundef %2584, float noundef %2591, float noundef %2594)
  %2595 = load ptr, ptr %4, align 8, !tbaa !5
  %2596 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZN5ImGuiL28RenderWindowTitleBarContentsEP11ImGuiWindowRK6ImRectPKcPb(ptr noundef %2574, ptr noundef nonnull align 4 dereferenceable(16) %93, ptr noundef %2595, ptr noundef %2596)
  call void @llvm.lifetime.end.p0(i64 16, ptr %93) #13
  br label %2597

2597:                                             ; preds = %2573, %2569
  %2598 = load ptr, ptr %9, align 8, !tbaa !5
  %2599 = getelementptr inbounds %struct.ImGuiWindow, ptr %2598, i32 0, i32 69
  %2600 = getelementptr inbounds %struct.ImVec2ih, ptr %2599, i32 0, i32 1
  store i16 0, ptr %2600, align 2, !tbaa !271
  %2601 = load ptr, ptr %9, align 8, !tbaa !5
  %2602 = getelementptr inbounds %struct.ImGuiWindow, ptr %2601, i32 0, i32 69
  %2603 = getelementptr inbounds %struct.ImVec2ih, ptr %2602, i32 0, i32 0
  store i16 0, ptr %2603, align 8, !tbaa !272
  %2604 = load ptr, ptr %9, align 8, !tbaa !5
  %2605 = getelementptr inbounds %struct.ImGuiWindow, ptr %2604, i32 0, i32 20
  %2606 = load i32, ptr %2605, align 4, !tbaa !273
  %2607 = load ptr, ptr %7, align 8, !tbaa !5
  %2608 = getelementptr inbounds %struct.ImGuiContext, ptr %2607, i32 0, i32 69
  %2609 = load i32, ptr %2608, align 8, !tbaa !274
  %2610 = getelementptr inbounds %struct.ImRect, ptr %71, i32 0, i32 0
  %2611 = getelementptr inbounds %struct.ImRect, ptr %71, i32 0, i32 1
  %2612 = call noundef zeroext i1 @_ZN5ImGui19IsMouseHoveringRectERK6ImVec2S2_b(ptr noundef nonnull align 4 dereferenceable(8) %2610, ptr noundef nonnull align 4 dereferenceable(8) %2611, i1 noundef zeroext false)
  %2613 = zext i1 %2612 to i64
  %2614 = select i1 %2612, i32 1, i32 0
  call void @_ZN5ImGui15SetLastItemDataEjiiRK6ImRect(i32 noundef %2606, i32 noundef %2609, i32 noundef %2614, ptr noundef nonnull align 4 dereferenceable(16) %71)
  %2615 = load ptr, ptr %7, align 8, !tbaa !5
  %2616 = getelementptr inbounds %struct.ImGuiContext, ptr %2615, i32 0, i32 70
  %2617 = load i32, ptr %2616, align 4, !tbaa !275
  %2618 = icmp ne i32 %2617, 0
  br i1 %2618, label %2619, label %2636

2619:                                             ; preds = %2597
  %2620 = load ptr, ptr %9, align 8, !tbaa !5
  %2621 = getelementptr inbounds %struct.ImGuiWindow, ptr %2620, i32 0, i32 1
  %2622 = load i32, ptr %2621, align 8, !tbaa !121
  %2623 = load ptr, ptr %7, align 8, !tbaa !5
  %2624 = getelementptr inbounds %struct.ImGuiContext, ptr %2623, i32 0, i32 70
  %2625 = load i32, ptr %2624, align 4, !tbaa !275
  %2626 = icmp eq i32 %2622, %2625
  br i1 %2626, label %2635, label %2627

2627:                                             ; preds = %2619
  %2628 = load ptr, ptr %9, align 8, !tbaa !5
  %2629 = getelementptr inbounds %struct.ImGuiWindow, ptr %2628, i32 0, i32 20
  %2630 = load i32, ptr %2629, align 4, !tbaa !273
  %2631 = load ptr, ptr %7, align 8, !tbaa !5
  %2632 = getelementptr inbounds %struct.ImGuiContext, ptr %2631, i32 0, i32 70
  %2633 = load i32, ptr %2632, align 4, !tbaa !275
  %2634 = icmp eq i32 %2630, %2633
  br i1 %2634, label %2635, label %2636

2635:                                             ; preds = %2627, %2619
  call void @_ZN5ImGui34DebugLocateItemResolveWithLastItemEv()
  br label %2636

2636:                                             ; preds = %2635, %2627, %2597
  call void @llvm.lifetime.end.p0(i64 8, ptr %89) #13
  call void @llvm.lifetime.end.p0(i64 8, ptr %88) #13
  call void @llvm.lifetime.end.p0(i64 4, ptr %87) #13
  call void @llvm.lifetime.end.p0(i64 4, ptr %86) #13
  call void @llvm.lifetime.end.p0(i64 1, ptr %85) #13
  call void @llvm.lifetime.end.p0(i64 1, ptr %84) #13
  call void @llvm.lifetime.end.p0(i64 4, ptr %72) #13
  call void @llvm.lifetime.end.p0(i64 16, ptr %71) #13
  call void @llvm.lifetime.end.p0(i64 16, ptr %70) #13
  call void @llvm.lifetime.end.p0(i64 16, ptr %69) #13
  call void @llvm.lifetime.end.p0(i64 4, ptr %60) #13
  call void @llvm.lifetime.end.p0(i64 4, ptr %59) #13
  call void @llvm.lifetime.end.p0(i64 16, ptr %58) #13
  call void @llvm.lifetime.end.p0(i64 4, ptr %57) #13
  call void @llvm.lifetime.end.p0(i64 1, ptr %54) #13
  call void @llvm.lifetime.end.p0(i64 16, ptr %50) #13
  call void @llvm.lifetime.end.p0(i64 8, ptr %49) #13
  call void @llvm.lifetime.end.p0(i64 16, ptr %48) #13
  call void @llvm.lifetime.end.p0(i64 16, ptr %47) #13
  call void @llvm.lifetime.end.p0(i64 1, ptr %41) #13
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #13
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #13
  call void @llvm.lifetime.end.p0(i64 1, ptr %33) #13
  call void @llvm.lifetime.end.p0(i64 1, ptr %32) #13
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #13
  call void @llvm.lifetime.end.p0(i64 1, ptr %27) #13
  call void @llvm.lifetime.end.p0(i64 1, ptr %24) #13
  call void @llvm.lifetime.end.p0(i64 1, ptr %23) #13
  br label %2639

2637:                                             ; preds = %618
  %2638 = load ptr, ptr %9, align 8, !tbaa !5
  call void @_ZL16SetCurrentWindowP11ImGuiWindow(ptr noundef %2638)
  br label %2639

2639:                                             ; preds = %2637, %2636
  %2640 = load ptr, ptr %9, align 8, !tbaa !5
  %2641 = getelementptr inbounds %struct.ImGuiWindow, ptr %2640, i32 0, i32 64
  %2642 = getelementptr inbounds %struct.ImRect, ptr %2641, i32 0, i32 0
  %2643 = load ptr, ptr %9, align 8, !tbaa !5
  %2644 = getelementptr inbounds %struct.ImGuiWindow, ptr %2643, i32 0, i32 64
  %2645 = getelementptr inbounds %struct.ImRect, ptr %2644, i32 0, i32 1
  call void @_ZN5ImGui12PushClipRectERK6ImVec2S2_b(ptr noundef nonnull align 4 dereferenceable(8) %2642, ptr noundef nonnull align 4 dereferenceable(8) %2645, i1 noundef zeroext true)
  %2646 = load ptr, ptr %9, align 8, !tbaa !5
  %2647 = getelementptr inbounds %struct.ImGuiWindow, ptr %2646, i32 0, i32 32
  store i8 0, ptr %2647, align 8, !tbaa !276
  %2648 = load ptr, ptr %9, align 8, !tbaa !5
  %2649 = getelementptr inbounds %struct.ImGuiWindow, ptr %2648, i32 0, i32 42
  %2650 = load i16, ptr %2649, align 2, !tbaa !277
  %2651 = add i16 %2650, 1
  store i16 %2651, ptr %2649, align 2, !tbaa !277
  %2652 = load ptr, ptr %7, align 8, !tbaa !5
  %2653 = getelementptr inbounds %struct.ImGuiContext, ptr %2652, i32 0, i32 73
  call void @_ZN19ImGuiNextWindowData10ClearFlagsEv(ptr noundef nonnull align 8 dereferenceable(108) %2653)
  %2654 = load i8, ptr %12, align 1, !tbaa !81, !range !77, !noundef !78
  %2655 = trunc i8 %2654 to i1
  br i1 %2655, label %2656, label %2872

2656:                                             ; preds = %2639
  %2657 = load i32, ptr %6, align 4, !tbaa !9
  %2658 = and i32 %2657, 16777216
  %2659 = icmp ne i32 %2658, 0
  br i1 %2659, label %2660, label %2783

2660:                                             ; preds = %2656
  %2661 = load i32, ptr %6, align 4, !tbaa !9
  %2662 = and i32 %2661, 1
  %2663 = icmp ne i32 %2662, 0
  br i1 %2663, label %2664, label %2665

2664:                                             ; preds = %2660
  br label %2667

2665:                                             ; preds = %2660
  call void @__assert_fail(ptr noundef @.str.133, ptr noundef @.str.4, i32 noundef 6646, ptr noundef @__PRETTY_FUNCTION__._ZN5ImGui5BeginEPKcPbi) #14
  unreachable

2666:                                             ; No predecessors!
  br label %2667

2667:                                             ; preds = %2666, %2664
  %2668 = load i32, ptr %6, align 4, !tbaa !9
  %2669 = and i32 %2668, 64
  %2670 = icmp ne i32 %2669, 0
  br i1 %2670, label %2748, label %2671

2671:                                             ; preds = %2667
  %2672 = load ptr, ptr %9, align 8, !tbaa !5
  %2673 = getelementptr inbounds %struct.ImGuiWindow, ptr %2672, i32 0, i32 48
  %2674 = load i8, ptr %2673, align 8, !tbaa !181
  %2675 = sext i8 %2674 to i32
  %2676 = icmp sle i32 %2675, 0
  br i1 %2676, label %2677, label %2748

2677:                                             ; preds = %2671
  %2678 = load ptr, ptr %9, align 8, !tbaa !5
  %2679 = getelementptr inbounds %struct.ImGuiWindow, ptr %2678, i32 0, i32 49
  %2680 = load i8, ptr %2679, align 1, !tbaa !182
  %2681 = sext i8 %2680 to i32
  %2682 = icmp sle i32 %2681, 0
  br i1 %2682, label %2683, label %2748

2683:                                             ; preds = %2677
  call void @llvm.lifetime.start.p0(i64 1, ptr %94) #13
  %2684 = load i32, ptr %6, align 4, !tbaa !9
  %2685 = and i32 %2684, 8388608
  %2686 = icmp ne i32 %2685, 0
  br i1 %2686, label %2687, label %2709

2687:                                             ; preds = %2683
  %2688 = load ptr, ptr %7, align 8, !tbaa !5
  %2689 = getelementptr inbounds %struct.ImGuiContext, ptr %2688, i32 0, i32 103
  %2690 = load i8, ptr %2689, align 4, !tbaa !278, !range !77, !noundef !78
  %2691 = trunc i8 %2690 to i1
  br i1 %2691, label %2692, label %2707

2692:                                             ; preds = %2687
  %2693 = load ptr, ptr %7, align 8, !tbaa !5
  %2694 = getelementptr inbounds %struct.ImGuiContext, ptr %2693, i32 0, i32 84
  %2695 = load ptr, ptr %2694, align 8, !tbaa !230
  %2696 = icmp ne ptr %2695, null
  br i1 %2696, label %2697, label %2707

2697:                                             ; preds = %2692
  %2698 = load ptr, ptr %7, align 8, !tbaa !5
  %2699 = getelementptr inbounds %struct.ImGuiContext, ptr %2698, i32 0, i32 84
  %2700 = load ptr, ptr %2699, align 8, !tbaa !230
  %2701 = getelementptr inbounds %struct.ImGuiWindow, ptr %2700, i32 0, i32 86
  %2702 = load ptr, ptr %2701, align 8, !tbaa !279
  %2703 = load ptr, ptr %9, align 8, !tbaa !5
  %2704 = getelementptr inbounds %struct.ImGuiWindow, ptr %2703, i32 0, i32 86
  %2705 = load ptr, ptr %2704, align 8, !tbaa !279
  %2706 = icmp eq ptr %2702, %2705
  br label %2707

2707:                                             ; preds = %2697, %2692, %2687
  %2708 = phi i1 [ false, %2692 ], [ false, %2687 ], [ %2706, %2697 ]
  br label %2709

2709:                                             ; preds = %2707, %2683
  %2710 = phi i1 [ false, %2683 ], [ %2708, %2707 ]
  %2711 = zext i1 %2710 to i8
  store i8 %2711, ptr %94, align 1, !tbaa !81
  %2712 = load ptr, ptr %7, align 8, !tbaa !5
  %2713 = getelementptr inbounds %struct.ImGuiContext, ptr %2712, i32 0, i32 206
  %2714 = load i8, ptr %2713, align 8, !tbaa !280, !range !77, !noundef !78
  %2715 = trunc i8 %2714 to i1
  br i1 %2715, label %2747, label %2716

2716:                                             ; preds = %2709
  %2717 = load i8, ptr %94, align 1, !tbaa !81, !range !77, !noundef !78
  %2718 = trunc i8 %2717 to i1
  br i1 %2718, label %2747, label %2719

2719:                                             ; preds = %2716
  %2720 = load ptr, ptr %9, align 8, !tbaa !5
  %2721 = getelementptr inbounds %struct.ImGuiWindow, ptr %2720, i32 0, i32 62
  %2722 = getelementptr inbounds %struct.ImRect, ptr %2721, i32 0, i32 0
  %2723 = getelementptr inbounds %struct.ImVec2, ptr %2722, i32 0, i32 0
  %2724 = load float, ptr %2723, align 8, !tbaa !281
  %2725 = load ptr, ptr %9, align 8, !tbaa !5
  %2726 = getelementptr inbounds %struct.ImGuiWindow, ptr %2725, i32 0, i32 62
  %2727 = getelementptr inbounds %struct.ImRect, ptr %2726, i32 0, i32 1
  %2728 = getelementptr inbounds %struct.ImVec2, ptr %2727, i32 0, i32 0
  %2729 = load float, ptr %2728, align 8, !tbaa !282
  %2730 = fcmp oge float %2724, %2729
  br i1 %2730, label %2743, label %2731

2731:                                             ; preds = %2719
  %2732 = load ptr, ptr %9, align 8, !tbaa !5
  %2733 = getelementptr inbounds %struct.ImGuiWindow, ptr %2732, i32 0, i32 62
  %2734 = getelementptr inbounds %struct.ImRect, ptr %2733, i32 0, i32 0
  %2735 = getelementptr inbounds %struct.ImVec2, ptr %2734, i32 0, i32 1
  %2736 = load float, ptr %2735, align 4, !tbaa !283
  %2737 = load ptr, ptr %9, align 8, !tbaa !5
  %2738 = getelementptr inbounds %struct.ImGuiWindow, ptr %2737, i32 0, i32 62
  %2739 = getelementptr inbounds %struct.ImRect, ptr %2738, i32 0, i32 1
  %2740 = getelementptr inbounds %struct.ImVec2, ptr %2739, i32 0, i32 1
  %2741 = load float, ptr %2740, align 4, !tbaa !284
  %2742 = fcmp oge float %2736, %2741
  br i1 %2742, label %2743, label %2746

2743:                                             ; preds = %2731, %2719
  %2744 = load ptr, ptr %9, align 8, !tbaa !5
  %2745 = getelementptr inbounds %struct.ImGuiWindow, ptr %2744, i32 0, i32 53
  store i8 1, ptr %2745, align 8, !tbaa !152
  br label %2746

2746:                                             ; preds = %2743, %2731
  br label %2747

2747:                                             ; preds = %2746, %2716, %2709
  call void @llvm.lifetime.end.p0(i64 1, ptr %94) #13
  br label %2748

2748:                                             ; preds = %2747, %2677, %2671, %2667
  %2749 = load ptr, ptr %16, align 8, !tbaa !5
  %2750 = icmp ne ptr %2749, null
  br i1 %2750, label %2751, label %2765

2751:                                             ; preds = %2748
  %2752 = load ptr, ptr %16, align 8, !tbaa !5
  %2753 = getelementptr inbounds %struct.ImGuiWindow, ptr %2752, i32 0, i32 33
  %2754 = load i8, ptr %2753, align 1, !tbaa !174, !range !77, !noundef !78
  %2755 = trunc i8 %2754 to i1
  br i1 %2755, label %2762, label %2756

2756:                                             ; preds = %2751
  %2757 = load ptr, ptr %16, align 8, !tbaa !5
  %2758 = getelementptr inbounds %struct.ImGuiWindow, ptr %2757, i32 0, i32 53
  %2759 = load i8, ptr %2758, align 8, !tbaa !152
  %2760 = sext i8 %2759 to i32
  %2761 = icmp sgt i32 %2760, 0
  br i1 %2761, label %2762, label %2765

2762:                                             ; preds = %2756, %2751
  %2763 = load ptr, ptr %9, align 8, !tbaa !5
  %2764 = getelementptr inbounds %struct.ImGuiWindow, ptr %2763, i32 0, i32 53
  store i8 1, ptr %2764, align 8, !tbaa !152
  br label %2765

2765:                                             ; preds = %2762, %2756, %2748
  %2766 = load ptr, ptr %16, align 8, !tbaa !5
  %2767 = icmp ne ptr %2766, null
  br i1 %2767, label %2768, label %2782

2768:                                             ; preds = %2765
  %2769 = load ptr, ptr %16, align 8, !tbaa !5
  %2770 = getelementptr inbounds %struct.ImGuiWindow, ptr %2769, i32 0, i32 33
  %2771 = load i8, ptr %2770, align 1, !tbaa !174, !range !77, !noundef !78
  %2772 = trunc i8 %2771 to i1
  br i1 %2772, label %2779, label %2773

2773:                                             ; preds = %2768
  %2774 = load ptr, ptr %16, align 8, !tbaa !5
  %2775 = getelementptr inbounds %struct.ImGuiWindow, ptr %2774, i32 0, i32 54
  %2776 = load i8, ptr %2775, align 1, !tbaa !140
  %2777 = sext i8 %2776 to i32
  %2778 = icmp sgt i32 %2777, 0
  br i1 %2778, label %2779, label %2782

2779:                                             ; preds = %2773, %2768
  %2780 = load ptr, ptr %9, align 8, !tbaa !5
  %2781 = getelementptr inbounds %struct.ImGuiWindow, ptr %2780, i32 0, i32 54
  store i8 1, ptr %2781, align 1, !tbaa !140
  br label %2782

2782:                                             ; preds = %2779, %2773, %2765
  br label %2783

2783:                                             ; preds = %2782, %2656
  %2784 = load ptr, ptr %8, align 8, !tbaa !5
  %2785 = getelementptr inbounds %struct.ImGuiStyle, ptr %2784, i32 0, i32 0
  %2786 = load float, ptr %2785, align 4, !tbaa !285
  %2787 = fcmp ole float %2786, 0.000000e+00
  br i1 %2787, label %2788, label %2791

2788:                                             ; preds = %2783
  %2789 = load ptr, ptr %9, align 8, !tbaa !5
  %2790 = getelementptr inbounds %struct.ImGuiWindow, ptr %2789, i32 0, i32 53
  store i8 1, ptr %2790, align 8, !tbaa !152
  br label %2791

2791:                                             ; preds = %2788, %2783
  call void @llvm.lifetime.start.p0(i64 1, ptr %95) #13
  %2792 = load ptr, ptr %9, align 8, !tbaa !5
  %2793 = getelementptr inbounds %struct.ImGuiWindow, ptr %2792, i32 0, i32 53
  %2794 = load i8, ptr %2793, align 8, !tbaa !152
  %2795 = sext i8 %2794 to i32
  %2796 = icmp sgt i32 %2795, 0
  br i1 %2796, label %2803, label %2797

2797:                                             ; preds = %2791
  %2798 = load ptr, ptr %9, align 8, !tbaa !5
  %2799 = getelementptr inbounds %struct.ImGuiWindow, ptr %2798, i32 0, i32 54
  %2800 = load i8, ptr %2799, align 1, !tbaa !140
  %2801 = sext i8 %2800 to i32
  %2802 = icmp sgt i32 %2801, 0
  br label %2803

2803:                                             ; preds = %2797, %2791
  %2804 = phi i1 [ true, %2791 ], [ %2802, %2797 ]
  %2805 = zext i1 %2804 to i8
  store i8 %2805, ptr %95, align 1, !tbaa !81
  %2806 = load i8, ptr %95, align 1, !tbaa !81, !range !77, !noundef !78
  %2807 = trunc i8 %2806 to i1
  br i1 %2807, label %2814, label %2808

2808:                                             ; preds = %2803
  %2809 = load ptr, ptr %9, align 8, !tbaa !5
  %2810 = getelementptr inbounds %struct.ImGuiWindow, ptr %2809, i32 0, i32 55
  %2811 = load i8, ptr %2810, align 2, !tbaa !153
  %2812 = sext i8 %2811 to i32
  %2813 = icmp sgt i32 %2812, 0
  br label %2814

2814:                                             ; preds = %2808, %2803
  %2815 = phi i1 [ true, %2803 ], [ %2813, %2808 ]
  %2816 = load ptr, ptr %9, align 8, !tbaa !5
  %2817 = getelementptr inbounds %struct.ImGuiWindow, ptr %2816, i32 0, i32 37
  %2818 = zext i1 %2815 to i8
  store i8 %2818, ptr %2817, align 1, !tbaa !286
  %2819 = load ptr, ptr %9, align 8, !tbaa !5
  %2820 = getelementptr inbounds %struct.ImGuiWindow, ptr %2819, i32 0, i32 56
  %2821 = load i8, ptr %2820, align 1, !tbaa !287
  %2822 = sext i8 %2821 to i32
  %2823 = icmp sgt i32 %2822, 0
  br i1 %2823, label %2824, label %2833

2824:                                             ; preds = %2814
  %2825 = load ptr, ptr %9, align 8, !tbaa !5
  %2826 = getelementptr inbounds %struct.ImGuiWindow, ptr %2825, i32 0, i32 56
  %2827 = load i8, ptr %2826, align 1, !tbaa !287
  %2828 = add i8 %2827, -1
  store i8 %2828, ptr %2826, align 1, !tbaa !287
  %2829 = load ptr, ptr %9, align 8, !tbaa !5
  %2830 = getelementptr inbounds %struct.ImGuiWindow, ptr %2829, i32 0, i32 2
  %2831 = load i32, ptr %2830, align 4, !tbaa !105
  %2832 = or i32 %2831, 786944
  store i32 %2832, ptr %2830, align 4, !tbaa !105
  br label %2833

2833:                                             ; preds = %2824, %2814
  call void @llvm.lifetime.start.p0(i64 1, ptr %96) #13
  store i8 0, ptr %96, align 1, !tbaa !81
  %2834 = load ptr, ptr %9, align 8, !tbaa !5
  %2835 = getelementptr inbounds %struct.ImGuiWindow, ptr %2834, i32 0, i32 33
  %2836 = load i8, ptr %2835, align 1, !tbaa !174, !range !77, !noundef !78
  %2837 = trunc i8 %2836 to i1
  br i1 %2837, label %2846, label %2838

2838:                                             ; preds = %2833
  %2839 = load ptr, ptr %9, align 8, !tbaa !5
  %2840 = getelementptr inbounds %struct.ImGuiWindow, ptr %2839, i32 0, i32 30
  %2841 = load i8, ptr %2840, align 2, !tbaa !141, !range !77, !noundef !78
  %2842 = trunc i8 %2841 to i1
  br i1 %2842, label %2843, label %2846

2843:                                             ; preds = %2838
  %2844 = load i8, ptr %95, align 1, !tbaa !81, !range !77, !noundef !78
  %2845 = trunc i8 %2844 to i1
  br i1 %2845, label %2846, label %2866

2846:                                             ; preds = %2843, %2838, %2833
  %2847 = load ptr, ptr %9, align 8, !tbaa !5
  %2848 = getelementptr inbounds %struct.ImGuiWindow, ptr %2847, i32 0, i32 48
  %2849 = load i8, ptr %2848, align 8, !tbaa !181
  %2850 = sext i8 %2849 to i32
  %2851 = icmp sle i32 %2850, 0
  br i1 %2851, label %2852, label %2865

2852:                                             ; preds = %2846
  %2853 = load ptr, ptr %9, align 8, !tbaa !5
  %2854 = getelementptr inbounds %struct.ImGuiWindow, ptr %2853, i32 0, i32 49
  %2855 = load i8, ptr %2854, align 1, !tbaa !182
  %2856 = sext i8 %2855 to i32
  %2857 = icmp sle i32 %2856, 0
  br i1 %2857, label %2858, label %2865

2858:                                             ; preds = %2852
  %2859 = load ptr, ptr %9, align 8, !tbaa !5
  %2860 = getelementptr inbounds %struct.ImGuiWindow, ptr %2859, i32 0, i32 54
  %2861 = load i8, ptr %2860, align 1, !tbaa !140
  %2862 = sext i8 %2861 to i32
  %2863 = icmp sle i32 %2862, 0
  br i1 %2863, label %2864, label %2865

2864:                                             ; preds = %2858
  store i8 1, ptr %96, align 1, !tbaa !81
  br label %2865

2865:                                             ; preds = %2864, %2858, %2852, %2846
  br label %2866

2866:                                             ; preds = %2865, %2843
  %2867 = load i8, ptr %96, align 1, !tbaa !81, !range !77, !noundef !78
  %2868 = trunc i8 %2867 to i1
  %2869 = load ptr, ptr %9, align 8, !tbaa !5
  %2870 = getelementptr inbounds %struct.ImGuiWindow, ptr %2869, i32 0, i32 35
  %2871 = zext i1 %2868 to i8
  store i8 %2871, ptr %2870, align 1, !tbaa !288
  call void @llvm.lifetime.end.p0(i64 1, ptr %96) #13
  call void @llvm.lifetime.end.p0(i64 1, ptr %95) #13
  br label %2872

2872:                                             ; preds = %2866, %2639
  %2873 = load ptr, ptr %9, align 8, !tbaa !5
  %2874 = getelementptr inbounds %struct.ImGuiWindow, ptr %2873, i32 0, i32 35
  %2875 = load i8, ptr %2874, align 1, !tbaa !288, !range !77, !noundef !78
  %2876 = trunc i8 %2875 to i1
  %2877 = xor i1 %2876, true
  call void @llvm.lifetime.end.p0(i64 1, ptr %21) #13
  call void @llvm.lifetime.end.p0(i64 1, ptr %20) #13
  call void @llvm.lifetime.end.p0(i64 1, ptr %19) #13
  call void @llvm.lifetime.end.p0(i64 88, ptr %17) #13
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #13
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #13
  call void @llvm.lifetime.end.p0(i64 1, ptr %13) #13
  call void @llvm.lifetime.end.p0(i64 1, ptr %12) #13
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #13
  call void @llvm.lifetime.end.p0(i64 1, ptr %10) #13
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #13
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #13
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #13
  ret i1 %2877
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui12PushClipRectERK6ImVec2S2_b(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8), i1 noundef zeroext) #8

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN5ImGui15GetMainViewportEv() #8

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

; Function Attrs: mustprogress uwtable
declare dso_local <2 x float> @_ZNK6ImRect7GetSizeEv(ptr noundef nonnull align 4 dereferenceable(16)) #9 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui13NavInitWindowEP11ImGuiWindowb(ptr noundef, i1 noundef zeroext) #8

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN5ImGui16FindWindowByNameEPKc(ptr noundef) #8

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL22CalcWindowContentSizesP11ImGuiWindowP6ImVec2S2_(ptr noundef, ptr noundef, ptr noundef) #8

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

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

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

; Function Attrs: mustprogress uwtable
declare hidden noundef ptr @_ZL15CreateNewWindowPKci(ptr noundef, i32 noundef) #9

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

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZL28SetWindowConditionAllowFlagsP11ImGuiWindowib(ptr noundef, i32 noundef, i1 noundef zeroext) #1

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL28UpdateWindowInFocusOrderListP11ImGuiWindowbi(ptr noundef, i1 noundef zeroext, i32 noundef) #8

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK8ImVectorI20ImGuiWindowStackDataE5emptyEv(ptr noundef nonnull align 8 dereferenceable(16)) #4 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(86) ptr @_ZN8ImVectorI20ImGuiWindowStackDataE4backEv(ptr noundef nonnull align 8 dereferenceable(16)) #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN20ImGuiWindowStackDataC2Ev(ptr noundef nonnull align 8 dereferenceable(86)) unnamed_addr #11 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN8ImVectorI20ImGuiWindowStackDataE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(86)) #11 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui14PushFocusScopeEj(i32 noundef) #8

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN8ImVectorI14ImGuiPopupDataE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(52)) #11 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN5ImGui18SetWindowCollapsedEP11ImGuiWindowbi(ptr noundef, i1 noundef zeroext, i32 noundef) #1

declare void @_ZN10ImDrawList17_ResetForNewFrameEv(ptr noundef nonnull align 8 dereferenceable(196)) #10

; Function Attrs: nounwind willreturn memory(read)
declare i32 @strcmp(ptr noundef, ptr noundef) #12

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL16SetCurrentWindowP11ImGuiWindow(ptr noundef) #8

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef float @_ZNK11ImGuiWindow14TitleBarHeightEv(ptr noundef nonnull align 8 dereferenceable(973)) #8 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef float @_ZNK11ImGuiWindow13MenuBarHeightEv(ptr noundef nonnull align 8 dereferenceable(973)) #8 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(52) ptr @_ZN8ImVectorI14ImGuiPopupDataE4backEv(ptr noundef nonnull align 8 dereferenceable(16)) #4 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local <2 x float> @_ZN5ImGui25FindBestWindowPosForPopupEP11ImGuiWindow(ptr noundef) #9

; Function Attrs: mustprogress uwtable
declare dso_local { <2 x float>, <2 x float> } @_ZNK14ImGuiViewportP11GetWorkRectEv(ptr noundef nonnull align 8 dereferenceable(184)) #8 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef float @_ZNK6ImRect8GetWidthEv(ptr noundef nonnull align 4 dereferenceable(16)) #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef float @_ZNK6ImRect9GetHeightEv(ptr noundef nonnull align 4 dereferenceable(16)) #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @_ZL14ClampWindowPosP11ImGuiWindowRK6ImRect(ptr noundef, ptr noundef nonnull align 4 dereferenceable(16)) #3

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui26BringWindowToDisplayBehindEP11ImGuiWindowS1_(ptr noundef, ptr noundef) #8

; Function Attrs: mustprogress uwtable
declare hidden noundef zeroext i1 @_ZN5ImGuiL24UpdateWindowManualResizeEP11ImGuiWindowRK6ImVec2PiiPjRK6ImRect(ptr noundef, ptr noundef nonnull align 4 dereferenceable(8), ptr noundef, i32 noundef, ptr noundef, ptr noundef nonnull align 4 dereferenceable(16)) #9

; Function Attrs: mustprogress uwtable
declare dso_local { <2 x float>, <2 x float> } @_ZNK11ImGuiWindow4RectEv(ptr noundef nonnull align 8 dereferenceable(973)) #8 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6ImRect12ClipWithFullERKS_(ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(16)) #9 align 2

; Function Attrs: mustprogress uwtable
declare hidden <2 x float> @_ZL38CalcNextScrollFromScrollTargetAndClampP11ImGuiWindow(ptr noundef) #9

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(56) ptr @_ZN8ImVectorI9ImDrawCmdE4backEv(ptr noundef nonnull align 8 dereferenceable(16)) #4 align 2

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN5ImGuiL23RenderWindowDecorationsEP11ImGuiWindowRK6ImRectbbiPKjf(ptr noundef, ptr noundef nonnull align 4 dereferenceable(16), i1 noundef zeroext, i1 noundef zeroext, i32 noundef, ptr noundef, float noundef) #9

declare void @_ZN16ImGuiMenuColumns6UpdateEfb(ptr noundef nonnull align 4 dereferenceable(26), float noundef, i1 noundef zeroext) #10

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN5ImGuiL28RenderWindowTitleBarContentsEP11ImGuiWindowRK6ImRectPKcPb(ptr noundef, ptr noundef nonnull align 4 dereferenceable(16), ptr noundef, ptr noundef) #9

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui34DebugLocateItemResolveWithLastItemEv() #8

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN19ImGuiNextWindowData10ClearFlagsEv(ptr noundef nonnull align 8 dereferenceable(108)) #4 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 = { inlinehint mustprogress uwtable "min-legal-vector-width"="64" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #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 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #6 = { 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 #7 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #8 = { 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 #9 = { 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 #10 = { "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 #11 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #12 = { nounwind willreturn memory(read) "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 #13 = { nounwind }
attributes #14 = { noreturn nounwind }
attributes #15 = { nounwind willreturn memory(read) }

!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, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!7, !7, i64 0}
!12 = !{!13, !14, i64 15916}
!13 = !{!"_ZTS12ImGuiContext", !14, i64 0, !14, i64 1, !15, i64 8, !20, i64 14272, !20, i64 14288, !21, i64 14304, !6, i64 15352, !17, i64 15360, !17, i64 15364, !22, i64 15368, !25, i64 15896, !10, i64 15904, !10, i64 15908, !10, i64 15912, !14, i64 15916, !14, i64 15917, !14, i64 15918, !14, i64 15919, !14, i64 15920, !6, i64 15928, !26, i64 15936, !26, i64 15952, !26, i64 15968, !27, i64 15984, !28, i64 16000, !10, i64 16016, !16, i64 16020, !6, i64 16032, !6, i64 16040, !6, i64 16048, !6, i64 16056, !6, i64 16064, !16, i64 16072, !10, i64 16080, !17, i64 16084, !16, i64 16088, !16, i64 16096, !10, i64 16104, !10, i64 16108, !10, i64 16112, !14, i64 16116, !14, i64 16117, !17, i64 16120, !17, i64 16124, !10, i64 16128, !10, i64 16132, !17, i64 16136, !14, i64 16140, !14, i64 16141, !14, i64 16142, !14, i64 16143, !14, i64 16144, !14, i64 16145, !16, i64 16148, !6, i64 16160, !30, i64 16168, !10, i64 16172, !10, i64 16176, !14, i64 16180, !14, i64 16181, !6, i64 16184, !10, i64 16192, !17, i64 16196, !7, i64 16200, !31, i64 17880, !10, i64 18192, !14, i64 18196, !10, i64 18200, !10, i64 18204, !10, i64 18208, !10, i64 18212, !33, i64 18216, !34, i64 18236, !36, i64 18296, !37, i64 18408, !38, i64 18424, !39, i64 18440, !40, i64 18456, !41, i64 18472, !42, i64 18488, !43, i64 18504, !43, i64 18520, !10, i64 18536, !44, i64 18544, !6, i64 18560, !10, i64 18568, !10, i64 18572, !10, i64 18576, !10, i64 18580, !10, i64 18584, !10, i64 18588, !10, i64 18592, !10, i64 18596, !10, i64 18600, !10, i64 18604, !10, i64 18608, !10, i64 18612, !30, i64 18616, !45, i64 18620, !14, i64 18624, !14, i64 18625, !14, i64 18626, !14, i64 18627, !14, i64 18628, !14, i64 18629, !14, i64 18630, !10, i64 18632, !35, i64 18636, !14, i64 18652, !14, i64 18653, !14, i64 18654, !10, i64 18656, !10, i64 18660, !10, i64 18664, !10, i64 18668, !10, i64 18672, !10, i64 18676, !35, i64 18680, !35, i64 18696, !10, i64 18712, !10, i64 18716, !10, i64 18720, !46, i64 18728, !46, i64 18776, !46, i64 18824, !46, i64 18872, !10, i64 18920, !10, i64 18924, !6, i64 18928, !6, i64 18936, !6, i64 18944, !17, i64 18952, !17, i64 18956, !14, i64 18960, !16, i64 18964, !16, i64 18972, !17, i64 18980, !10, i64 18984, !14, i64 18988, !14, i64 18989, !14, i64 18990, !10, i64 18992, !10, i64 18996, !10, i64 19000, !47, i64 19008, !35, i64 19072, !10, i64 19088, !10, i64 19092, !17, i64 19096, !10, i64 19100, !10, i64 19104, !10, i64 19108, !10, i64 19112, !48, i64 19120, !7, i64 19136, !10, i64 19152, !49, i64 19160, !6, i64 19176, !10, i64 19184, !50, i64 19192, !51, i64 19208, !53, i64 19248, !54, i64 19264, !6, i64 19280, !55, i64 19288, !57, i64 19328, !58, i64 19344, !10, i64 19360, !10, i64 19364, !17, i64 19368, !17, i64 19372, !16, i64 19376, !59, i64 19384, !63, i64 23112, !10, i64 23224, !10, i64 23228, !17, i64 23232, !17, i64 23236, !10, i64 23240, !23, i64 23244, !65, i64 23260, !17, i64 23308, !17, i64 23312, !14, i64 23316, !14, i64 23317, !17, i64 23320, !17, i64 23324, !17, i64 23328, !17, i64 23332, !18, i64 23336, !18, i64 23338, !60, i64 23344, !40, i64 23360, !66, i64 23376, !66, i64 23392, !7, i64 23408, !14, i64 23409, !17, i64 23412, !67, i64 23416, !68, i64 23432, !69, i64 23448, !70, i64 23464, !71, i64 23480, !10, i64 23496, !7, i64 23504, !14, i64 23560, !72, i64 23564, !6, i64 23568, !67, i64 23576, !6, i64 23592, !6, i64 23600, !17, i64 23608, !14, i64 23612, !10, i64 23616, !10, i64 23620, !10, i64 23624, !10, i64 23628, !67, i64 23632, !73, i64 23648, !7, i64 23672, !14, i64 23673, !7, i64 23674, !10, i64 23676, !74, i64 23680, !75, i64 23696, !7, i64 23736, !10, i64 23976, !10, i64 23980, !17, i64 23984, !10, i64 23988, !10, i64 23992, !10, i64 23996, !60, i64 24000}
!14 = !{!"bool", !7, i64 0}
!15 = !{!"_ZTS7ImGuiIO", !10, i64 0, !10, i64 4, !16, i64 8, !17, i64 16, !17, i64 20, !6, i64 24, !6, i64 32, !17, i64 40, !17, i64 44, !17, i64 48, !17, i64 52, !17, i64 56, !17, i64 60, !17, i64 64, !6, i64 72, !6, i64 80, !17, i64 88, !14, i64 92, !6, i64 96, !16, i64 104, !14, i64 112, !14, i64 113, !14, i64 114, !14, i64 115, !14, i64 116, !14, i64 117, !14, i64 118, !14, i64 119, !17, i64 120, !6, i64 128, !6, i64 136, !6, i64 144, !6, i64 152, !6, i64 160, !6, i64 168, !6, i64 176, !6, i64 184, !6, i64 192, !6, i64 200, !14, i64 208, !14, i64 209, !14, i64 210, !14, i64 211, !14, i64 212, !14, i64 213, !14, i64 214, !17, i64 216, !10, i64 220, !10, i64 224, !10, i64 228, !10, i64 232, !10, i64 236, !16, i64 240, !7, i64 248, !7, i64 2856, !7, i64 3508, !16, i64 3572, !7, i64 3580, !17, i64 3588, !17, i64 3592, !14, i64 3596, !14, i64 3597, !14, i64 3598, !14, i64 3599, !10, i64 3600, !7, i64 3604, !14, i64 14036, !16, i64 14040, !7, i64 14048, !7, i64 14088, !7, i64 14128, !7, i64 14133, !7, i64 14138, !7, i64 14148, !7, i64 14158, !7, i64 14163, !7, i64 14168, !7, i64 14176, !7, i64 14196, !7, i64 14216, !17, i64 14236, !14, i64 14240, !14, i64 14241, !7, i64 14242, !14, i64 14243, !18, i64 14244, !19, i64 14248}
!16 = !{!"_ZTS6ImVec2", !17, i64 0, !17, i64 4}
!17 = !{!"float", !7, i64 0}
!18 = !{!"short", !7, i64 0}
!19 = !{!"_ZTS8ImVectorItE", !10, i64 0, !10, i64 4, !6, i64 8}
!20 = !{!"_ZTS8ImVectorI15ImGuiInputEventE", !10, i64 0, !10, i64 4, !6, i64 8}
!21 = !{!"_ZTS10ImGuiStyle", !17, i64 0, !17, i64 4, !16, i64 8, !17, i64 16, !17, i64 20, !16, i64 24, !16, i64 32, !10, i64 40, !17, i64 44, !17, i64 48, !17, i64 52, !17, i64 56, !16, i64 60, !17, i64 68, !17, i64 72, !16, i64 76, !16, i64 84, !16, i64 92, !16, i64 100, !17, i64 108, !17, i64 112, !17, i64 116, !17, i64 120, !17, i64 124, !17, i64 128, !17, i64 132, !17, i64 136, !17, i64 140, !17, i64 144, !10, i64 148, !16, i64 152, !16, i64 160, !16, i64 168, !16, i64 176, !17, i64 184, !14, i64 188, !14, i64 189, !14, i64 190, !17, i64 192, !17, i64 196, !7, i64 200}
!22 = !{!"_ZTS20ImDrawListSharedData", !16, i64 0, !6, i64 8, !17, i64 16, !17, i64 20, !17, i64 24, !23, i64 28, !10, i64 44, !24, i64 48, !7, i64 64, !17, i64 448, !7, i64 452, !6, i64 520}
!23 = !{!"_ZTS6ImVec4", !17, i64 0, !17, i64 4, !17, i64 8, !17, i64 12}
!24 = !{!"_ZTS8ImVectorI6ImVec2E", !10, i64 0, !10, i64 4, !6, i64 8}
!25 = !{!"double", !7, i64 0}
!26 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !10, i64 0, !10, i64 4, !6, i64 8}
!27 = !{!"_ZTS8ImVectorI20ImGuiWindowStackDataE", !10, i64 0, !10, i64 4, !6, i64 8}
!28 = !{!"_ZTS12ImGuiStorage", !29, i64 0}
!29 = !{!"_ZTS8ImVectorIN12ImGuiStorage16ImGuiStoragePairEE", !10, i64 0, !10, i64 4, !6, i64 8}
!30 = !{!"_ZTS16ImGuiInputSource", !7, i64 0}
!31 = !{!"_ZTS20ImGuiKeyRoutingTable", !7, i64 0, !32, i64 280, !32, i64 296}
!32 = !{!"_ZTS8ImVectorI19ImGuiKeyRoutingDataE", !10, i64 0, !10, i64 4, !6, i64 8}
!33 = !{!"_ZTS17ImGuiNextItemData", !10, i64 0, !17, i64 4, !10, i64 8, !10, i64 12, !14, i64 16}
!34 = !{!"_ZTS17ImGuiLastItemData", !10, i64 0, !10, i64 4, !10, i64 8, !35, i64 12, !35, i64 28, !35, i64 44}
!35 = !{!"_ZTS6ImRect", !16, i64 0, !16, i64 8}
!36 = !{!"_ZTS19ImGuiNextWindowData", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !16, i64 16, !16, i64 24, !16, i64 32, !16, i64 40, !16, i64 48, !14, i64 56, !35, i64 60, !6, i64 80, !6, i64 88, !17, i64 96, !16, i64 100}
!37 = !{!"_ZTS8ImVectorI13ImGuiColorModE", !10, i64 0, !10, i64 4, !6, i64 8}
!38 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !10, i64 0, !10, i64 4, !6, i64 8}
!39 = !{!"_ZTS8ImVectorIP6ImFontE", !10, i64 0, !10, i64 4, !6, i64 8}
!40 = !{!"_ZTS8ImVectorIjE", !10, i64 0, !10, i64 4, !6, i64 8}
!41 = !{!"_ZTS8ImVectorIiE", !10, i64 0, !10, i64 4, !6, i64 8}
!42 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !10, i64 0, !10, i64 4, !6, i64 8}
!43 = !{!"_ZTS8ImVectorI14ImGuiPopupDataE", !10, i64 0, !10, i64 4, !6, i64 8}
!44 = !{!"_ZTS8ImVectorIP14ImGuiViewportPE", !10, i64 0, !10, i64 4, !6, i64 8}
!45 = !{!"_ZTS13ImGuiNavLayer", !7, i64 0}
!46 = !{!"_ZTS16ImGuiNavItemData", !6, i64 0, !10, i64 8, !10, i64 12, !35, i64 16, !10, i64 32, !17, i64 36, !17, i64 40, !17, i64 44}
!47 = !{!"_ZTS12ImGuiPayload", !6, i64 0, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !7, i64 24, !14, i64 57, !14, i64 58}
!48 = !{!"_ZTS8ImVectorIhE", !10, i64 0, !10, i64 4, !6, i64 8}
!49 = !{!"_ZTS8ImVectorI20ImGuiListClipperDataE", !10, i64 0, !10, i64 4, !6, i64 8}
!50 = !{!"_ZTS8ImVectorI18ImGuiTableTempDataE", !10, i64 0, !10, i64 4, !6, i64 8}
!51 = !{!"_ZTS6ImPoolI10ImGuiTableE", !52, i64 0, !28, i64 16, !10, i64 32, !10, i64 36}
!52 = !{!"_ZTS8ImVectorI10ImGuiTableE", !10, i64 0, !10, i64 4, !6, i64 8}
!53 = !{!"_ZTS8ImVectorIfE", !10, i64 0, !10, i64 4, !6, i64 8}
!54 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !10, i64 0, !10, i64 4, !6, i64 8}
!55 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !56, i64 0, !28, i64 16, !10, i64 32, !10, i64 36}
!56 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !10, i64 0, !10, i64 4, !6, i64 8}
!57 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !10, i64 0, !10, i64 4, !6, i64 8}
!58 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !10, i64 0, !10, i64 4, !6, i64 8}
!59 = !{!"_ZTS19ImGuiInputTextState", !6, i64 0, !10, i64 8, !10, i64 12, !10, i64 16, !19, i64 24, !60, i64 40, !60, i64 56, !14, i64 72, !10, i64 76, !17, i64 80, !61, i64 84, !17, i64 3712, !14, i64 3716, !14, i64 3717, !14, i64 3718, !10, i64 3720}
!60 = !{!"_ZTS8ImVectorIcE", !10, i64 0, !10, i64 4, !6, i64 8}
!61 = !{!"_ZTSN5ImStb17STB_TexteditStateE", !10, i64 0, !10, i64 4, !10, i64 8, !7, i64 12, !10, i64 16, !7, i64 20, !7, i64 21, !7, i64 22, !7, i64 23, !7, i64 24, !7, i64 25, !7, i64 26, !17, i64 28, !62, i64 32}
!62 = !{!"_ZTSN5ImStb12StbUndoStateE", !7, i64 0, !7, i64 1584, !18, i64 3582, !18, i64 3584, !10, i64 3588, !10, i64 3592}
!63 = !{!"_ZTS6ImFont", !53, i64 0, !17, i64 16, !17, i64 20, !19, i64 24, !64, i64 40, !6, i64 56, !6, i64 64, !6, i64 72, !18, i64 80, !18, i64 82, !18, i64 84, !18, i64 86, !14, i64 88, !17, i64 92, !17, i64 96, !17, i64 100, !10, i64 104, !7, i64 108}
!64 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !10, i64 0, !10, i64 4, !6, i64 8}
!65 = !{!"_ZTS21ImGuiComboPreviewData", !35, i64 0, !16, i64 16, !16, i64 24, !16, i64 32, !17, i64 40, !10, i64 44}
!66 = !{!"_ZTS20ImGuiPlatformImeData", !14, i64 0, !16, i64 4, !17, i64 12}
!67 = !{!"_ZTS15ImGuiTextBuffer", !60, i64 0}
!68 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !10, i64 0, !10, i64 4, !6, i64 8}
!69 = !{!"_ZTS13ImChunkStreamI19ImGuiWindowSettingsE", !60, i64 0}
!70 = !{!"_ZTS13ImChunkStreamI18ImGuiTableSettingsE", !60, i64 0}
!71 = !{!"_ZTS8ImVectorI16ImGuiContextHookE", !10, i64 0, !10, i64 4, !6, i64 8}
!72 = !{!"_ZTS12ImGuiLogType", !7, i64 0}
!73 = !{!"_ZTS14ImGuiTextIndex", !41, i64 0, !10, i64 16}
!74 = !{!"_ZTS18ImGuiMetricsConfig", !14, i64 0, !14, i64 1, !14, i64 2, !14, i64 3, !14, i64 4, !14, i64 5, !14, i64 6, !10, i64 8, !10, i64 12}
!75 = !{!"_ZTS14ImGuiStackTool", !10, i64 0, !10, i64 4, !10, i64 8, !76, i64 16, !14, i64 32, !17, i64 36}
!76 = !{!"_ZTS8ImVectorI19ImGuiStackLevelInfoE", !10, i64 0, !10, i64 4, !6, i64 8}
!77 = !{i8 0, i8 2}
!78 = !{}
!79 = !{!13, !10, i64 15908}
!80 = !{!13, !10, i64 15904}
!81 = !{!14, !14, i64 0}
!82 = !{!83, !10, i64 600}
!83 = !{!"_ZTS11ImGuiWindow", !6, i64 0, !10, i64 8, !10, i64 12, !6, i64 16, !16, i64 24, !16, i64 32, !16, i64 40, !16, i64 48, !16, i64 56, !16, i64 64, !16, i64 72, !17, i64 80, !17, i64 84, !17, i64 88, !17, i64 92, !17, i64 96, !17, i64 100, !17, i64 104, !17, i64 108, !10, i64 112, !10, i64 116, !10, i64 120, !16, i64 124, !16, i64 132, !16, i64 140, !16, i64 148, !16, i64 156, !16, i64 164, !14, i64 172, !14, i64 173, !14, i64 174, !14, i64 175, !14, i64 176, !14, i64 177, !14, i64 178, !14, i64 179, !14, i64 180, !14, i64 181, !14, i64 182, !14, i64 183, !14, i64 184, !7, i64 185, !18, i64 186, !18, i64 188, !18, i64 190, !18, i64 192, !18, i64 194, !10, i64 196, !7, i64 200, !7, i64 201, !7, i64 202, !14, i64 203, !10, i64 204, !7, i64 208, !7, i64 209, !7, i64 210, !7, i64 211, !10, i64 212, !10, i64 213, !10, i64 214, !16, i64 216, !16, i64 224, !40, i64 232, !84, i64 248, !35, i64 480, !35, i64 496, !35, i64 512, !35, i64 528, !35, i64 544, !35, i64 560, !35, i64 576, !87, i64 592, !87, i64 596, !10, i64 600, !17, i64 604, !17, i64 608, !28, i64 616, !88, i64 632, !17, i64 648, !10, i64 652, !6, i64 656, !89, i64 664, !6, i64 864, !6, i64 872, !6, i64 880, !6, i64 888, !6, i64 896, !6, i64 904, !6, i64 912, !7, i64 920, !7, i64 928, !10, i64 960, !10, i64 964, !10, i64 968, !14, i64 972}
!84 = !{!"_ZTS19ImGuiWindowTempData", !16, i64 0, !16, i64 8, !16, i64 16, !16, i64 24, !16, i64 32, !16, i64 40, !16, i64 48, !17, i64 56, !17, i64 60, !14, i64 64, !14, i64 65, !85, i64 68, !85, i64 72, !85, i64 76, !16, i64 80, !45, i64 88, !18, i64 92, !18, i64 94, !14, i64 96, !14, i64 97, !14, i64 98, !16, i64 100, !86, i64 108, !10, i64 136, !10, i64 140, !26, i64 144, !6, i64 160, !6, i64 168, !10, i64 176, !10, i64 180, !10, i64 184, !17, i64 188, !17, i64 192, !53, i64 200, !53, i64 216}
!85 = !{!"_ZTS6ImVec1", !17, i64 0}
!86 = !{!"_ZTS16ImGuiMenuColumns", !10, i64 0, !10, i64 4, !18, i64 8, !18, i64 10, !18, i64 12, !18, i64 14, !18, i64 16, !7, i64 18}
!87 = !{!"_ZTS8ImVec2ih", !18, i64 0, !18, i64 2}
!88 = !{!"_ZTS8ImVectorI15ImGuiOldColumnsE", !10, i64 0, !10, i64 4, !6, i64 8}
!89 = !{!"_ZTS10ImDrawList", !90, i64 0, !19, i64 16, !91, i64 32, !10, i64 48, !10, i64 52, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !92, i64 88, !93, i64 104, !24, i64 120, !94, i64 136, !95, i64 168, !17, i64 192}
!90 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !10, i64 0, !10, i64 4, !6, i64 8}
!91 = !{!"_ZTS8ImVectorI10ImDrawVertE", !10, i64 0, !10, i64 4, !6, i64 8}
!92 = !{!"_ZTS8ImVectorI6ImVec4E", !10, i64 0, !10, i64 4, !6, i64 8}
!93 = !{!"_ZTS8ImVectorIPvE", !10, i64 0, !10, i64 4, !6, i64 8}
!94 = !{!"_ZTS15ImDrawCmdHeader", !23, i64 0, !6, i64 16, !10, i64 24}
!95 = !{!"_ZTS18ImDrawListSplitter", !10, i64 0, !10, i64 4, !54, i64 8}
!96 = !{!13, !10, i64 15984}
!97 = !{!13, !14, i64 15917}
!98 = !{!83, !14, i64 182}
!99 = !{!13, !10, i64 18520}
!100 = !{!83, !10, i64 196}
!101 = !{!102, !10, i64 0}
!102 = !{!"_ZTS14ImGuiPopupData", !10, i64 0, !6, i64 8, !6, i64 16, !10, i64 24, !10, i64 28, !10, i64 32, !16, i64 36, !16, i64 44}
!103 = !{!102, !6, i64 8}
!104 = !{!83, !14, i64 180}
!105 = !{!83, !10, i64 12}
!106 = !{!13, !25, i64 15896}
!107 = !{!83, !17, i64 604}
!108 = !{!83, !18, i64 190}
!109 = !{!13, !10, i64 16016}
!110 = !{!83, !18, i64 192}
!111 = !{!112, !6, i64 0}
!112 = !{!"_ZTS20ImGuiWindowStackData", !6, i64 0, !34, i64 8, !113, i64 68}
!113 = !{!"_ZTS15ImGuiStackSizes", !18, i64 0, !18, i64 2, !18, i64 4, !18, i64 6, !18, i64 8, !18, i64 10, !18, i64 12, !18, i64 14, !18, i64 16}
!114 = !{!83, !6, i64 864}
!115 = !{!83, !10, i64 232}
!116 = !{!13, !6, i64 16032}
!117 = !{i64 0, i64 4, !9, i64 4, i64 4, !9, i64 8, i64 4, !9, i64 12, i64 4, !118, i64 16, i64 4, !118, i64 20, i64 4, !118, i64 24, i64 4, !118, i64 28, i64 4, !118, i64 32, i64 4, !118, i64 36, i64 4, !118, i64 40, i64 4, !118, i64 44, i64 4, !118, i64 48, i64 4, !118, i64 52, i64 4, !118, i64 56, i64 4, !118}
!118 = !{!17, !17, i64 0}
!119 = !{!13, !10, i64 18536}
!120 = !{!83, !6, i64 872}
!121 = !{!83, !10, i64 8}
!122 = !{!13, !10, i64 18204}
!123 = !{!83, !10, i64 960}
!124 = !{!83, !45, i64 336}
!125 = !{!102, !10, i64 24}
!126 = !{!13, !10, i64 18296}
!127 = !{!13, !10, i64 18300}
!128 = !{i64 0, i64 4, !118, i64 4, i64 4, !118}
!129 = !{!13, !10, i64 18304}
!130 = !{!13, !17, i64 18328}
!131 = !{!13, !17, i64 18332}
!132 = !{!13, !17, i64 18344}
!133 = !{!83, !17, i64 140}
!134 = !{!83, !17, i64 148}
!135 = !{!13, !17, i64 18348}
!136 = !{!83, !17, i64 144}
!137 = !{!83, !17, i64 152}
!138 = !{!13, !14, i64 18352}
!139 = !{!13, !10, i64 18308}
!140 = !{!83, !7, i64 209}
!141 = !{!83, !14, i64 174}
!142 = !{!83, !14, i64 184}
!143 = !{i64 0, i64 4, !118, i64 4, i64 4, !118, i64 8, i64 4, !118, i64 12, i64 4, !118}
!144 = !{!83, !6, i64 656}
!145 = !{!83, !10, i64 424}
!146 = !{!83, !14, i64 972}
!147 = !{!13, !6, i64 18944}
!148 = !{!83, !6, i64 0}
!149 = !{!83, !10, i64 112}
!150 = !{!151, !151, i64 0}
!151 = !{!"long", !7, i64 0}
!152 = !{!83, !7, i64 208}
!153 = !{!83, !7, i64 210}
!154 = !{!83, !17, i64 40}
!155 = !{!83, !17, i64 32}
!156 = !{!83, !17, i64 44}
!157 = !{!83, !17, i64 36}
!158 = !{!21, !17, i64 48}
!159 = !{!83, !17, i64 84}
!160 = !{!21, !17, i64 56}
!161 = !{!21, !17, i64 20}
!162 = !{!21, !17, i64 12}
!163 = !{!83, !17, i64 72}
!164 = !{!21, !17, i64 76}
!165 = !{!13, !17, i64 18396}
!166 = !{!83, !17, i64 348}
!167 = !{!13, !17, i64 18400}
!168 = !{!83, !17, i64 352}
!169 = !{!13, !6, i64 16040}
!170 = !{!13, !10, i64 16108}
!171 = !{!13, !10, i64 16112}
!172 = !{!18, !18, i64 0}
!173 = !{!83, !14, i64 178}
!174 = !{!83, !14, i64 177}
!175 = !{!83, !17, i64 88}
!176 = !{!83, !17, i64 96}
!177 = !{!83, !17, i64 92}
!178 = !{!83, !17, i64 100}
!179 = !{!16, !17, i64 0}
!180 = !{!16, !17, i64 4}
!181 = !{!83, !7, i64 200}
!182 = !{!83, !7, i64 201}
!183 = !{!83, !14, i64 203}
!184 = !{!83, !10, i64 204}
!185 = !{!83, !10, i64 392}
!186 = !{!83, !17, i64 216}
!187 = !{!21, !17, i64 44}
!188 = !{!21, !17, i64 52}
!189 = !{!21, !17, i64 16}
!190 = !{!83, !17, i64 80}
!191 = !{!83, !6, i64 880}
!192 = !{!13, !14, i64 126}
!193 = !{!13, !17, i64 15360}
!194 = !{!83, !7, i64 185}
!195 = !{!83, !14, i64 173}
!196 = !{!21, !17, i64 116}
!197 = !{!83, !14, i64 172}
!198 = !{!83, !17, i64 164}
!199 = !{!83, !17, i64 168}
!200 = !{!83, !17, i64 24}
!201 = !{!83, !17, i64 496}
!202 = !{!83, !17, i64 28}
!203 = !{!83, !17, i64 500}
!204 = !{!83, !17, i64 504}
!205 = !{!83, !17, i64 508}
!206 = !{!21, !17, i64 72}
!207 = !{!83, !17, i64 512}
!208 = !{!83, !17, i64 516}
!209 = !{!83, !17, i64 520}
!210 = !{!83, !17, i64 524}
!211 = !{!83, !17, i64 608}
!212 = !{!83, !17, i64 48}
!213 = !{!83, !17, i64 132}
!214 = !{!83, !17, i64 52}
!215 = !{!83, !17, i64 76}
!216 = !{!83, !17, i64 136}
!217 = !{!83, !17, i64 108}
!218 = !{!83, !17, i64 104}
!219 = !{!89, !10, i64 0}
!220 = !{!221, !10, i64 32}
!221 = !{!"_ZTS9ImDrawCmd", !23, i64 0, !6, i64 16, !10, i64 24, !10, i64 28, !10, i64 32, !6, i64 40, !6, i64 48}
!222 = !{!13, !6, i64 15352}
!223 = !{!63, !6, i64 64}
!224 = !{!225, !6, i64 8}
!225 = !{!"_ZTS11ImFontAtlas", !10, i64 0, !6, i64 8, !10, i64 16, !10, i64 20, !14, i64 24, !6, i64 32, !14, i64 40, !14, i64 41, !6, i64 48, !6, i64 56, !10, i64 64, !10, i64 68, !16, i64 72, !16, i64 80, !39, i64 88, !226, i64 104, !227, i64 120, !7, i64 136, !6, i64 1160, !10, i64 1168, !10, i64 1172, !10, i64 1176}
!226 = !{!"_ZTS8ImVectorI21ImFontAtlasCustomRectE", !10, i64 0, !10, i64 4, !6, i64 8}
!227 = !{!"_ZTS8ImVectorI12ImFontConfigE", !10, i64 0, !10, i64 4, !6, i64 8}
!228 = !{!89, !10, i64 32}
!229 = !{!13, !6, i64 18928}
!230 = !{!13, !6, i64 18560}
!231 = !{!83, !6, i64 896}
!232 = !{!83, !17, i64 64}
!233 = !{!83, !17, i64 68}
!234 = !{!83, !17, i64 124}
!235 = !{!83, !17, i64 528}
!236 = !{!83, !17, i64 128}
!237 = !{!83, !17, i64 532}
!238 = !{!83, !17, i64 536}
!239 = !{!83, !17, i64 540}
!240 = !{!83, !17, i64 576}
!241 = !{!83, !17, i64 580}
!242 = !{!83, !17, i64 584}
!243 = !{!83, !17, i64 588}
!244 = !{!83, !17, i64 316}
!245 = !{!83, !17, i64 324}
!246 = !{!83, !17, i64 320}
!247 = !{!25, !25, i64 0}
!248 = !{!83, !17, i64 264}
!249 = !{!83, !17, i64 268}
!250 = !{!83, !17, i64 308}
!251 = !{!83, !17, i64 304}
!252 = !{!83, !14, i64 313}
!253 = !{!83, !14, i64 312}
!254 = !{!83, !18, i64 342}
!255 = !{!83, !18, i64 340}
!256 = !{!83, !14, i64 344}
!257 = !{!83, !14, i64 345}
!258 = !{!83, !14, i64 346}
!259 = !{!83, !10, i64 384}
!260 = !{!83, !10, i64 388}
!261 = !{!83, !6, i64 408}
!262 = !{!83, !6, i64 416}
!263 = !{!83, !10, i64 428}
!264 = !{!83, !10, i64 432}
!265 = !{!83, !17, i64 436}
!266 = !{!83, !17, i64 440}
!267 = !{!35, !17, i64 0}
!268 = !{!35, !17, i64 4}
!269 = !{!35, !17, i64 8}
!270 = !{!35, !17, i64 12}
!271 = !{!83, !18, i64 594}
!272 = !{!83, !18, i64 592}
!273 = !{!83, !10, i64 116}
!274 = !{!13, !10, i64 18208}
!275 = !{!13, !10, i64 18212}
!276 = !{!83, !14, i64 176}
!277 = !{!83, !18, i64 186}
!278 = !{!13, !14, i64 18628}
!279 = !{!83, !6, i64 904}
!280 = !{!13, !14, i64 23560}
!281 = !{!83, !17, i64 480}
!282 = !{!83, !17, i64 488}
!283 = !{!83, !17, i64 484}
!284 = !{!83, !17, i64 492}
!285 = !{!21, !17, i64 0}
!286 = !{!83, !14, i64 181}
!287 = !{!83, !7, i64 211}
!288 = !{!83, !14, i64 179}


; 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.ImGuiWindowStackData = type <{ ptr, %struct.ImGuiLastItemData, %struct.ImGuiStackSizes, [2 x i8] }>
%struct.ImGuiLastItemData = type { i32, i32, i32, %struct.ImRect, %struct.ImRect, %struct.ImRect }
%struct.ImRect = type { %struct.ImVec2, %struct.ImVec2 }
%struct.ImVec2 = type { float, float }
%struct.ImGuiStackSizes = type { i16, i16, i16, i16, i16, i16, i16, i16, i16 }
%struct.ImVec4 = type { float, float, float, float }

@GImGui = external dso_local local_unnamed_addr global ptr, align 8
@.str.4 = external hidden unnamed_addr constant [86 x i8], align 1
@.str.125 = external hidden unnamed_addr constant [34 x i8], align 1
@__PRETTY_FUNCTION__._ZN5ImGui5BeginEPKcPbi = external hidden unnamed_addr constant [58 x i8], align 1
@.str.126 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.127 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.128 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.129 = external hidden unnamed_addr constant [67 x i8], align 1
@.str.130 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.131 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.132 = external hidden unnamed_addr constant [87 x i8], align 1
@.str.133 = external hidden unnamed_addr constant [43 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 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: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef float @_ZL7ImFloorf(float noundef) local_unnamed_addr #4

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #5

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef float @_ZL11ImLengthSqrRK6ImVec2(ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #4

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_Z11ImStrdupcpyPcPmPKc(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #8

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef, float noundef) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6ImRect8ClipWithERKS_(ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(16)) local_unnamed_addr #9 align 2

declare void @_ZN10ImDrawList13PushTextureIDEPv(ptr noundef nonnull align 8 dereferenceable(196), ptr noundef) local_unnamed_addr #10

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN5ImGui19IsMouseHoveringRectERK6ImVec2S2_b(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8), i1 noundef zeroext) local_unnamed_addr #9

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK6ImRect8OverlapsERKS_(ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(16)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN5ImGui15SetLastItemDataEjiiRK6ImRect(i32 noundef, i32 noundef, i32 noundef, ptr noundef nonnull align 4 dereferenceable(16)) local_unnamed_addr #1

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui12SetWindowPosEP11ImGuiWindowRK6ImVec2i(ptr noundef, ptr noundef nonnull align 4 dereferenceable(8), i32 noundef) local_unnamed_addr #9

; Function Attrs: mustprogress uwtable
declare dso_local { <2 x float>, <2 x float> } @_ZNK11ImGuiWindow12TitleBarRectEv(ptr noundef nonnull align 8 dereferenceable(973)) local_unnamed_addr #8 align 2

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local { <2 x float>, <2 x float> } @_ZNK14ImGuiViewportP11GetMainRectEv(ptr noundef nonnull align 8 dereferenceable(184)) local_unnamed_addr #8 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN5ImGui5BeginEPKcPbi(ptr noundef %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #9 {
  %4 = alloca ptr, align 8
  %5 = alloca %struct.ImGuiWindowStackData, align 8
  %6 = alloca %struct.ImVec2, align 8
  %7 = alloca %struct.ImRect, align 4
  %8 = alloca %struct.ImVec4, align 4
  %9 = alloca i64, align 8
  %10 = alloca %struct.ImVec2, align 8
  %11 = alloca %struct.ImVec2, align 8
  %12 = alloca %struct.ImRect, align 8
  %13 = alloca %struct.ImVec2, align 8
  %14 = alloca %struct.ImVec2, align 8
  %15 = alloca %struct.ImVec2, align 8
  %16 = alloca %struct.ImRect, align 8
  %17 = alloca %struct.ImVec2, align 8
  %18 = alloca %struct.ImVec2, align 8
  %19 = alloca %struct.ImRect, align 8
  %20 = alloca %struct.ImRect, align 8
  %21 = alloca %struct.ImVec2, align 8
  %22 = alloca %struct.ImRect, align 4
  %23 = alloca %struct.ImVec2, align 8
  %24 = alloca %struct.ImVec2, align 8
  %25 = alloca i32, align 4
  %26 = alloca [4 x i32], align 16
  %27 = alloca %struct.ImVec2, align 4
  %28 = alloca %struct.ImVec2, align 8
  %29 = alloca %struct.ImVec2, align 8
  %30 = alloca %struct.ImVec2, align 8
  %31 = alloca %struct.ImVec2, align 8
  %32 = alloca %struct.ImRect, align 4
  %33 = alloca %struct.ImRect, align 8
  %34 = alloca %struct.ImVec2, align 8
  %35 = alloca %struct.ImRect, align 8
  %36 = alloca %struct.ImRect, align 8
  %37 = alloca %struct.ImVec2, align 8
  %38 = alloca %struct.ImVec2, align 8
  %39 = alloca %struct.ImVec2, align 8
  %40 = alloca %struct.ImRect, align 4
  %41 = load ptr, ptr @GImGui, align 8, !tbaa !5
  %42 = getelementptr inbounds i8, ptr %41, i64 14304
  %.not = icmp eq ptr %0, null
  br i1 %.not, label %.critedge, label %43

43:                                               ; preds = %3
  %44 = load i8, ptr %0, align 1, !tbaa !9
  %.not325 = icmp eq i8 %44, 0
  br i1 %.not325, label %.critedge, label %45

.critedge:                                        ; preds = %3, %43
  tail call void @__assert_fail(ptr noundef nonnull @.str.125, ptr noundef nonnull @.str.4, i32 noundef 6001, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5ImGui5BeginEPKcPbi) #13
  unreachable

45:                                               ; preds = %43
  %46 = getelementptr inbounds i8, ptr %41, i64 15916
  %47 = load i8, ptr %46, align 4, !tbaa !10, !range !76, !noundef !77
  %48 = trunc nuw i8 %47 to i1
  br i1 %48, label %50, label %49

49:                                               ; preds = %45
  tail call void @__assert_fail(ptr noundef nonnull @.str.126, ptr noundef nonnull @.str.4, i32 noundef 6002, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5ImGui5BeginEPKcPbi) #13
  unreachable

50:                                               ; preds = %45
  %51 = getelementptr inbounds i8, ptr %41, i64 15908
  %52 = load i32, ptr %51, align 4, !tbaa !78
  %53 = getelementptr inbounds i8, ptr %41, i64 15904
  %54 = load i32, ptr %53, align 8, !tbaa !79
  %.not326 = icmp eq i32 %52, %54
  br i1 %.not326, label %55, label %56

55:                                               ; preds = %50
  tail call void @__assert_fail(ptr noundef nonnull @.str.127, ptr noundef nonnull @.str.4, i32 noundef 6003, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5ImGui5BeginEPKcPbi) #13
  unreachable

56:                                               ; preds = %50
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #14
  %57 = tail call noundef ptr @_ZN5ImGui16FindWindowByNameEPKc(ptr noundef nonnull %0)
  store ptr %57, ptr %4, align 8, !tbaa !5
  %58 = icmp eq ptr %57, null
  br i1 %58, label %59, label %61

59:                                               ; preds = %56
  %60 = tail call noundef ptr @_ZL15CreateNewWindowPKci(ptr noundef nonnull %0, i32 noundef %2)
  store ptr %60, ptr %4, align 8, !tbaa !5
  br label %61

61:                                               ; preds = %59, %56
  %62 = phi ptr [ %60, %59 ], [ %57, %56 ]
  %63 = and i32 %2, 786944
  %64 = icmp eq i32 %63, 786944
  %65 = or i32 %2, 6
  %spec.select = select i1 %64, i32 %65, i32 %2
  %66 = and i32 %spec.select, 25165824
  %or.cond = icmp eq i32 %66, 8388608
  br i1 %or.cond, label %67, label %68

67:                                               ; preds = %61
  tail call void @__assert_fail(ptr noundef nonnull @.str.128, ptr noundef nonnull @.str.4, i32 noundef 6016, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5ImGui5BeginEPKcPbi) #13
  unreachable

68:                                               ; preds = %61
  %69 = load i32, ptr %53, align 8, !tbaa !79
  %70 = getelementptr inbounds i8, ptr %62, i64 600
  %71 = load i32, ptr %70, align 8, !tbaa !80
  %.not329 = icmp eq i32 %71, %69
  %72 = getelementptr inbounds i8, ptr %41, i64 15984
  %73 = load i32, ptr %72, align 8, !tbaa !94
  %74 = icmp eq i32 %73, 0
  br i1 %74, label %75, label %78

75:                                               ; preds = %68
  %76 = getelementptr inbounds i8, ptr %41, i64 15917
  %77 = load i8, ptr %76, align 1, !tbaa !95, !range !76, !noundef !77
  br label %78

78:                                               ; preds = %75, %68
  %79 = phi i8 [ 0, %68 ], [ %77, %75 ]
  %80 = getelementptr inbounds i8, ptr %62, i64 182
  store i8 %79, ptr %80, align 2, !tbaa !96
  %81 = add nsw i32 %69, -1
  %82 = icmp slt i32 %71, %81
  %83 = and i32 %spec.select, 67108864
  %.not330 = icmp eq i32 %83, 0
  br i1 %.not330, label %100, label %84

84:                                               ; preds = %78
  %85 = getelementptr inbounds i8, ptr %41, i64 18504
  %86 = getelementptr inbounds i8, ptr %41, i64 18520
  %87 = load i32, ptr %86, align 8, !tbaa !97
  %88 = tail call noundef nonnull align 8 dereferenceable(52) ptr @_ZN8ImVectorI14ImGuiPopupDataEixEi(ptr noundef nonnull align 8 dereferenceable(16) %85, i32 noundef %87)
  %89 = getelementptr inbounds i8, ptr %62, i64 196
  %90 = load i32, ptr %89, align 4, !tbaa !98
  %91 = load i32, ptr %88, align 8, !tbaa !99
  %92 = icmp ne i32 %90, %91
  %93 = getelementptr inbounds i8, ptr %88, i64 8
  %94 = load ptr, ptr %93, align 8, !tbaa !101
  %95 = icmp ne ptr %62, %94
  %96 = or i1 %92, %95
  %97 = or i1 %82, %96
  %98 = getelementptr inbounds i8, ptr %62, i64 180
  %99 = zext i1 %97 to i8
  store i8 %99, ptr %98, align 4, !tbaa !102
  br i1 %97, label %103, label %104

100:                                              ; preds = %78
  %101 = getelementptr inbounds i8, ptr %62, i64 180
  %102 = zext i1 %82 to i8
  store i8 %102, ptr %101, align 4, !tbaa !102
  br i1 %82, label %103, label %104

103:                                              ; preds = %84, %100
  tail call void @_ZL28SetWindowConditionAllowFlagsP11ImGuiWindowib(ptr noundef nonnull %62, i32 noundef 8, i1 noundef zeroext true)
  br label %104

104:                                              ; preds = %84, %103, %100
  %.0287.in429 = phi i1 [ false, %84 ], [ true, %103 ], [ false, %100 ]
  br i1 %.not329, label %117, label %105

105:                                              ; preds = %104
  tail call void @_ZL28UpdateWindowInFocusOrderListP11ImGuiWindowbi(ptr noundef nonnull %62, i1 noundef zeroext %58, i32 noundef %spec.select)
  %106 = getelementptr inbounds i8, ptr %62, i64 12
  store i32 %spec.select, ptr %106, align 4, !tbaa !103
  store i32 %69, ptr %70, align 8, !tbaa !80
  %107 = getelementptr inbounds i8, ptr %41, i64 15896
  %108 = load double, ptr %107, align 8, !tbaa !104
  %109 = fptrunc double %108 to float
  %110 = getelementptr inbounds i8, ptr %62, i64 604
  store float %109, ptr %110, align 4, !tbaa !105
  %111 = getelementptr inbounds i8, ptr %62, i64 190
  store i16 0, ptr %111, align 2, !tbaa !106
  %112 = getelementptr inbounds i8, ptr %41, i64 16016
  %113 = load i32, ptr %112, align 8, !tbaa !107
  %114 = add nsw i32 %113, 1
  store i32 %114, ptr %112, align 8, !tbaa !107
  %115 = trunc i32 %113 to i16
  %116 = getelementptr inbounds i8, ptr %62, i64 192
  store i16 %115, ptr %116, align 8, !tbaa !108
  br label %120

117:                                              ; preds = %104
  %118 = getelementptr inbounds i8, ptr %62, i64 12
  %119 = load i32, ptr %118, align 4, !tbaa !103
  br label %120

120:                                              ; preds = %117, %105
  %.1 = phi i32 [ %spec.select, %105 ], [ %119, %117 ]
  %121 = tail call noundef zeroext i1 @_ZNK8ImVectorI20ImGuiWindowStackDataE5emptyEv(ptr noundef nonnull align 8 dereferenceable(16) %72)
  br i1 %121, label %125, label %122

122:                                              ; preds = %120
  %123 = tail call noundef nonnull align 8 dereferenceable(86) ptr @_ZN8ImVectorI20ImGuiWindowStackDataE4backEv(ptr noundef nonnull align 8 dereferenceable(16) %72)
  %124 = load ptr, ptr %123, align 8, !tbaa !109
  br label %125

125:                                              ; preds = %120, %122
  %126 = phi ptr [ %124, %122 ], [ null, %120 ]
  br i1 %.not329, label %130, label %127

127:                                              ; preds = %125
  %128 = and i32 %.1, 83886080
  %.not331 = icmp eq i32 %128, 0
  %129 = select i1 %.not331, ptr null, ptr %126
  br label %133

130:                                              ; preds = %125
  %131 = getelementptr inbounds i8, ptr %62, i64 864
  %132 = load ptr, ptr %131, align 8, !tbaa !112
  br label %133

133:                                              ; preds = %130, %127
  %134 = phi ptr [ %129, %127 ], [ %132, %130 ]
  %135 = icmp eq ptr %134, null
  %136 = and i32 %.1, 16777216
  %137 = icmp ne i32 %136, 0
  %.not333 = select i1 %135, i1 %137, i1 false
  br i1 %.not333, label %138, label %139

138:                                              ; preds = %133
  tail call void @__assert_fail(ptr noundef nonnull @.str.129, ptr noundef nonnull @.str.4, i32 noundef 6052, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5ImGui5BeginEPKcPbi) #13
  unreachable

139:                                              ; preds = %133
  %140 = getelementptr inbounds i8, ptr %62, i64 232
  %141 = load i32, ptr %140, align 8, !tbaa !113
  %142 = icmp eq i32 %141, 0
  br i1 %142, label %143, label %145

143:                                              ; preds = %139
  %144 = getelementptr inbounds i8, ptr %62, i64 8
  tail call void @_ZN8ImVectorIjE9push_backERKj(ptr noundef nonnull align 8 dereferenceable(16) %140, ptr noundef nonnull align 4 dereferenceable(4) %144)
  br label %145

145:                                              ; preds = %143, %139
  %146 = getelementptr inbounds i8, ptr %41, i64 16032
  store ptr %62, ptr %146, align 8, !tbaa !114
  call void @llvm.lifetime.start.p0(i64 88, ptr nonnull %5) #14
  call void @_ZN20ImGuiWindowStackDataC2Ev(ptr noundef nonnull align 8 dereferenceable(86) %5)
  %147 = load ptr, ptr %4, align 8, !tbaa !5
  store ptr %147, ptr %5, align 8, !tbaa !109
  %148 = getelementptr inbounds i8, ptr %41, i64 18236
  %149 = getelementptr inbounds i8, ptr %5, i64 8
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(60) %149, ptr noundef nonnull align 4 dereferenceable(60) %148, i64 60, i1 false), !tbaa.struct !115
  %150 = getelementptr inbounds i8, ptr %5, i64 68
  call void @_ZN15ImGuiStackSizes17SetToCurrentStateEv(ptr noundef nonnull align 2 dereferenceable(18) %150)
  call void @_ZN8ImVectorI20ImGuiWindowStackDataE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(16) %72, ptr noundef nonnull align 8 dereferenceable(86) %5)
  %151 = and i32 %.1, 268435456
  %.not334 = icmp eq i32 %151, 0
  br i1 %.not334, label %156, label %152

152:                                              ; preds = %145
  %153 = getelementptr inbounds i8, ptr %41, i64 18536
  %154 = load i32, ptr %153, align 8, !tbaa !118
  %155 = add nsw i32 %154, 1
  store i32 %155, ptr %153, align 8, !tbaa !118
  br label %156

156:                                              ; preds = %152, %145
  %.pre = load ptr, ptr %4, align 8, !tbaa !5
  br i1 %.not329, label %160, label %157

157:                                              ; preds = %156
  call void @_ZN5ImGui30UpdateWindowParentAndRootLinksEP11ImGuiWindowiS1_(ptr noundef %.pre, i32 noundef %.1, ptr noundef %134)
  %158 = load ptr, ptr %4, align 8, !tbaa !5
  %159 = getelementptr inbounds i8, ptr %158, i64 872
  store ptr %126, ptr %159, align 8, !tbaa !119
  br label %160

160:                                              ; preds = %157, %156
  %161 = phi ptr [ %158, %157 ], [ %.pre, %156 ]
  %162 = getelementptr inbounds i8, ptr %161, i64 8
  %163 = load i32, ptr %162, align 8, !tbaa !120
  call void @_ZN5ImGui14PushFocusScopeEj(i32 noundef %163)
  %164 = getelementptr inbounds i8, ptr %41, i64 18204
  %165 = load i32, ptr %164, align 4, !tbaa !121
  %166 = load ptr, ptr %4, align 8, !tbaa !5
  %167 = getelementptr inbounds i8, ptr %166, i64 960
  store i32 %165, ptr %167, align 8, !tbaa !122
  store ptr null, ptr %146, align 8, !tbaa !114
  %168 = and i32 %.1, 67108864
  %.not335 = icmp eq i32 %168, 0
  br i1 %.not335, label %182, label %169

169:                                              ; preds = %160
  %170 = getelementptr inbounds i8, ptr %41, i64 18504
  %171 = getelementptr inbounds i8, ptr %41, i64 18520
  %172 = load i32, ptr %171, align 8, !tbaa !97
  %173 = call noundef nonnull align 8 dereferenceable(52) ptr @_ZN8ImVectorI14ImGuiPopupDataEixEi(ptr noundef nonnull align 8 dereferenceable(16) %170, i32 noundef %172)
  %174 = load ptr, ptr %4, align 8, !tbaa !5
  %175 = getelementptr inbounds i8, ptr %173, i64 8
  store ptr %174, ptr %175, align 8, !tbaa !101
  %176 = getelementptr inbounds i8, ptr %126, i64 336
  %177 = load i32, ptr %176, align 8, !tbaa !123
  %178 = getelementptr inbounds i8, ptr %173, i64 24
  store i32 %177, ptr %178, align 8, !tbaa !124
  call void @_ZN8ImVectorI14ImGuiPopupDataE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(16) %171, ptr noundef nonnull align 8 dereferenceable(52) %173)
  %179 = load i32, ptr %173, align 8, !tbaa !99
  %180 = load ptr, ptr %4, align 8, !tbaa !5
  %181 = getelementptr inbounds i8, ptr %180, i64 196
  store i32 %179, ptr %181, align 4, !tbaa !98
  br label %182

182:                                              ; preds = %169, %160
  %183 = phi ptr [ %180, %169 ], [ %166, %160 ]
  %184 = getelementptr inbounds i8, ptr %41, i64 18296
  %185 = load i32, ptr %184, align 8, !tbaa !125
  %186 = and i32 %185, 1
  %.not336 = icmp eq i32 %186, 0
  br i1 %.not336, label %213, label %187

187:                                              ; preds = %182
  %188 = getelementptr inbounds i8, ptr %183, i64 212
  %189 = load i32, ptr %188, align 4
  %190 = shl i32 %189, 24
  %191 = ashr exact i32 %190, 24
  %192 = getelementptr inbounds i8, ptr %41, i64 18300
  %193 = load i32, ptr %192, align 4, !tbaa !126
  %194 = and i32 %191, %193
  %195 = icmp ne i32 %194, 0
  br i1 %195, label %196, label %209

196:                                              ; preds = %187
  %197 = getelementptr inbounds i8, ptr %41, i64 18320
  %198 = call noundef float @_ZL11ImLengthSqrRK6ImVec2(ptr noundef nonnull align 4 dereferenceable(8) %197)
  %199 = fcmp ogt float %198, 0x3EE4F8B580000000
  %.pre467 = load ptr, ptr %4, align 8, !tbaa !5
  br i1 %199, label %200, label %._crit_edge

._crit_edge:                                      ; preds = %196
  %.pre468 = load i32, ptr %192, align 4, !tbaa !126
  br label %209

200:                                              ; preds = %196
  %201 = getelementptr inbounds i8, ptr %41, i64 18312
  %202 = getelementptr inbounds i8, ptr %.pre467, i64 216
  %203 = load i64, ptr %201, align 8
  store i64 %203, ptr %202, align 8
  %204 = getelementptr inbounds i8, ptr %.pre467, i64 224
  %205 = load i64, ptr %197, align 8
  store i64 %205, ptr %204, align 8
  %206 = getelementptr inbounds i8, ptr %.pre467, i64 212
  %207 = load i32, ptr %206, align 4
  %208 = and i32 %207, -15
  store i32 %208, ptr %206, align 4
  br label %213

209:                                              ; preds = %._crit_edge, %187
  %210 = phi i32 [ %.pre468, %._crit_edge ], [ %193, %187 ]
  %211 = phi ptr [ %.pre467, %._crit_edge ], [ %183, %187 ]
  %212 = getelementptr inbounds i8, ptr %41, i64 18312
  call void @_ZN5ImGui12SetWindowPosEP11ImGuiWindowRK6ImVec2i(ptr noundef %211, ptr noundef nonnull align 4 dereferenceable(8) %212, i32 noundef %210)
  br label %213

213:                                              ; preds = %200, %209, %182
  %.0288.shrunk = phi i1 [ true, %200 ], [ %195, %209 ], [ false, %182 ]
  %214 = load i32, ptr %184, align 8, !tbaa !125
  %215 = and i32 %214, 2
  %.not337 = icmp eq i32 %215, 0
  br i1 %.not337, label %235, label %216

216:                                              ; preds = %213
  %217 = load ptr, ptr %4, align 8, !tbaa !5
  %218 = getelementptr inbounds i8, ptr %217, i64 212
  %219 = load i32, ptr %218, align 4
  %220 = shl i32 %219, 16
  %221 = ashr i32 %220, 24
  %222 = getelementptr inbounds i8, ptr %41, i64 18304
  %223 = load i32, ptr %222, align 8, !tbaa !127
  %224 = and i32 %221, %223
  %.not338 = icmp eq i32 %224, 0
  br i1 %.not338, label %.thread, label %225

225:                                              ; preds = %216
  %226 = getelementptr inbounds i8, ptr %41, i64 18328
  %227 = load float, ptr %226, align 8, !tbaa !128
  %228 = fcmp ogt float %227, 0.000000e+00
  %229 = getelementptr inbounds i8, ptr %41, i64 18332
  %230 = load float, ptr %229, align 4, !tbaa !129
  %231 = fcmp ogt float %230, 0.000000e+00
  br label %.thread

.thread:                                          ; preds = %216, %225
  %232 = phi i1 [ %228, %225 ], [ false, %216 ]
  %233 = phi i1 [ %231, %225 ], [ false, %216 ]
  %234 = getelementptr inbounds i8, ptr %41, i64 18328
  call void @_ZN5ImGui13SetWindowSizeEP11ImGuiWindowRK6ImVec2i(ptr noundef nonnull %217, ptr noundef nonnull align 4 dereferenceable(8) %234, i32 noundef %223)
  %.pre469 = load i32, ptr %184, align 8, !tbaa !125
  br label %235

235:                                              ; preds = %.thread, %213
  %236 = phi i32 [ %.pre469, %.thread ], [ %214, %213 ]
  %.0290 = phi i1 [ %233, %.thread ], [ false, %213 ]
  %.0289 = phi i1 [ %232, %.thread ], [ false, %213 ]
  %237 = and i32 %236, 128
  %.not340 = icmp eq i32 %237, 0
  br i1 %.not340, label %254, label %238

238:                                              ; preds = %235
  %239 = getelementptr inbounds i8, ptr %41, i64 18344
  %240 = load float, ptr %239, align 8, !tbaa !130
  %241 = fcmp ult float %240, 0.000000e+00
  br i1 %241, label %246, label %242

242:                                              ; preds = %238
  %243 = load ptr, ptr %4, align 8, !tbaa !5
  %244 = getelementptr inbounds i8, ptr %243, i64 140
  store float %240, ptr %244, align 4, !tbaa !131
  %245 = getelementptr inbounds i8, ptr %243, i64 148
  store float 0.000000e+00, ptr %245, align 4, !tbaa !132
  br label %246

246:                                              ; preds = %242, %238
  %247 = getelementptr inbounds i8, ptr %41, i64 18348
  %248 = load float, ptr %247, align 4, !tbaa !133
  %249 = fcmp ult float %248, 0.000000e+00
  br i1 %249, label %254, label %250

250:                                              ; preds = %246
  %251 = load ptr, ptr %4, align 8, !tbaa !5
  %252 = getelementptr inbounds i8, ptr %251, i64 144
  store float %248, ptr %252, align 4, !tbaa !134
  %253 = getelementptr inbounds i8, ptr %251, i64 152
  store float 0.000000e+00, ptr %253, align 4, !tbaa !135
  br label %254

254:                                              ; preds = %246, %250, %235
  %255 = and i32 %236, 4
  %.not341 = icmp eq i32 %255, 0
  br i1 %.not341, label %261, label %256

256:                                              ; preds = %254
  %257 = getelementptr inbounds i8, ptr %41, i64 18336
  %258 = load ptr, ptr %4, align 8, !tbaa !5
  %259 = getelementptr inbounds i8, ptr %258, i64 64
  %260 = load i64, ptr %257, align 8
  store i64 %260, ptr %259, align 8
  br label %266

261:                                              ; preds = %254
  br i1 %.not329, label %._crit_edge513, label %262

._crit_edge513:                                   ; preds = %261
  %.pre472.pre508.pre = load ptr, ptr %4, align 8, !tbaa !5
  br label %266

262:                                              ; preds = %261
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #14
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %6, float noundef 0.000000e+00, float noundef 0.000000e+00)
  %263 = load ptr, ptr %4, align 8, !tbaa !5
  %264 = getelementptr inbounds i8, ptr %263, i64 64
  %265 = load i64, ptr %6, align 8
  store i64 %265, ptr %264, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #14
  br label %266

266:                                              ; preds = %._crit_edge513, %262, %256
  %.pre472.pre508 = phi ptr [ %.pre472.pre508.pre, %._crit_edge513 ], [ %263, %262 ], [ %258, %256 ]
  %267 = load i32, ptr %184, align 8, !tbaa !125
  %268 = and i32 %267, 8
  %.not342 = icmp eq i32 %268, 0
  br i1 %.not342, label %275, label %269

269:                                              ; preds = %266
  %270 = getelementptr inbounds i8, ptr %41, i64 18352
  %271 = load i8, ptr %270, align 8, !tbaa !136, !range !76, !noundef !77
  %272 = trunc nuw i8 %271 to i1
  %273 = getelementptr inbounds i8, ptr %41, i64 18308
  %274 = load i32, ptr %273, align 4, !tbaa !137
  call void @_ZN5ImGui18SetWindowCollapsedEP11ImGuiWindowbi(ptr noundef %.pre472.pre508, i1 noundef zeroext %272, i32 noundef %274)
  %.pre470 = load i32, ptr %184, align 8, !tbaa !125
  %.pre472.pre = load ptr, ptr %4, align 8, !tbaa !5
  br label %275

275:                                              ; preds = %269, %266
  %.pre472 = phi ptr [ %.pre472.pre, %269 ], [ %.pre472.pre508, %266 ]
  %276 = phi i32 [ %.pre470, %269 ], [ %267, %266 ]
  %277 = and i32 %276, 32
  %.not343 = icmp eq i32 %277, 0
  br i1 %.not343, label %279, label %278

278:                                              ; preds = %275
  call void @_ZN5ImGui11FocusWindowEP11ImGuiWindow(ptr noundef %.pre472)
  %.pre471 = load ptr, ptr %4, align 8, !tbaa !5
  br label %279

279:                                              ; preds = %278, %275
  %280 = phi ptr [ %.pre471, %278 ], [ %.pre472, %275 ]
  %281 = getelementptr inbounds i8, ptr %280, i64 180
  %282 = load i8, ptr %281, align 4, !tbaa !102, !range !76, !noundef !77
  %283 = trunc nuw i8 %282 to i1
  br i1 %283, label %284, label %285

284:                                              ; preds = %279
  call void @_ZL28SetWindowConditionAllowFlagsP11ImGuiWindowib(ptr noundef nonnull %280, i32 noundef 8, i1 noundef zeroext false)
  br label %285

285:                                              ; preds = %284, %279
  br i1 %.not329, label %1266, label %286

286:                                              ; preds = %285
  %287 = and i32 %.1, 33554432
  %.not344 = icmp eq i32 %287, 0
  %288 = and i32 %.1, 50331648
  %289 = icmp eq i32 %288, 50331648
  %290 = load ptr, ptr %4, align 8, !tbaa !5
  %291 = getelementptr inbounds i8, ptr %290, i64 209
  %292 = load i8, ptr %291, align 1, !tbaa !138
  %293 = icmp slt i8 %292, 1
  %294 = getelementptr inbounds i8, ptr %290, i64 174
  store i8 1, ptr %294, align 2, !tbaa !139
  %295 = icmp ne ptr %1, null
  %296 = getelementptr inbounds i8, ptr %290, i64 184
  %297 = zext i1 %295 to i8
  store i8 %297, ptr %296, align 8, !tbaa !140
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7) #14
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8) #14
  call void @_ZN6ImVec4C2Effff(ptr noundef nonnull align 4 dereferenceable(16) %8, float noundef 0xC7EFFFFFE0000000, float noundef 0xC7EFFFFFE0000000, float noundef 0x47EFFFFFE0000000, float noundef 0x47EFFFFFE0000000)
  call void @_ZN6ImRectC2ERK6ImVec4(ptr noundef nonnull align 4 dereferenceable(16) %7, ptr noundef nonnull align 4 dereferenceable(16) %8)
  %298 = load ptr, ptr %4, align 8, !tbaa !5
  %299 = getelementptr inbounds i8, ptr %298, i64 560
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %299, ptr noundef nonnull align 4 dereferenceable(16) %7, i64 16, i1 false), !tbaa.struct !141
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #14
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #14
  %300 = getelementptr inbounds i8, ptr %298, i64 232
  call void @_ZN8ImVectorIjE6resizeEi(ptr noundef nonnull align 8 dereferenceable(16) %300, i32 noundef 1)
  %301 = load ptr, ptr %4, align 8, !tbaa !5
  %302 = getelementptr inbounds i8, ptr %301, i64 656
  %303 = load ptr, ptr %302, align 8, !tbaa !142
  call void @_ZN10ImDrawList17_ResetForNewFrameEv(ptr noundef nonnull align 8 dereferenceable(196) %303)
  %304 = load ptr, ptr %4, align 8, !tbaa !5
  %305 = getelementptr inbounds i8, ptr %304, i64 424
  store i32 -1, ptr %305, align 8, !tbaa !143
  %306 = getelementptr inbounds i8, ptr %304, i64 972
  %307 = load i8, ptr %306, align 4, !tbaa !144, !range !76, !noundef !77
  %308 = trunc nuw i8 %307 to i1
  br i1 %308, label %309, label %310

309:                                              ; preds = %286
  call void @_ZN5ImGui29GcAwakeTransientWindowBuffersEP11ImGuiWindow(ptr noundef nonnull %304)
  %.pre473.pre = load ptr, ptr %4, align 8, !tbaa !5
  br label %310

310:                                              ; preds = %309, %286
  %.pre473 = phi ptr [ %.pre473.pre, %309 ], [ %304, %286 ]
  %311 = getelementptr inbounds i8, ptr %41, i64 18944
  %312 = load ptr, ptr %311, align 8, !tbaa !145
  %.not345 = icmp eq ptr %312, null
  br i1 %.not345, label %.critedge380, label %313

313:                                              ; preds = %310
  %314 = getelementptr inbounds i8, ptr %.pre473, i64 12
  %315 = load i32, ptr %314, align 4, !tbaa !103
  %316 = and i32 %315, 524288
  %317 = icmp ne i32 %316, 0
  %brmerge = or i1 %58, %317
  br i1 %brmerge, label %.critedge380, label %318

318:                                              ; preds = %313
  %319 = load ptr, ptr %.pre473, align 8, !tbaa !146
  %320 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %0, ptr noundef nonnull dereferenceable(1) %319) #15
  %.not346 = icmp eq i32 %320, 0
  br i1 %.not346, label %.critedge380, label %321

321:                                              ; preds = %318
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #14
  %322 = getelementptr inbounds i8, ptr %.pre473, i64 112
  %323 = load i32, ptr %322, align 8, !tbaa !147
  %324 = sext i32 %323 to i64
  store i64 %324, ptr %9, align 8, !tbaa !148
  %325 = call noundef ptr @_Z11ImStrdupcpyPcPmPKc(ptr noundef %319, ptr noundef nonnull %9, ptr noundef nonnull %0)
  %326 = load ptr, ptr %4, align 8, !tbaa !5
  store ptr %325, ptr %326, align 8, !tbaa !146
  %327 = load i64, ptr %9, align 8, !tbaa !148
  %328 = trunc i64 %327 to i32
  %329 = load ptr, ptr %4, align 8, !tbaa !5
  %330 = getelementptr inbounds i8, ptr %329, i64 112
  store i32 %328, ptr %330, align 8, !tbaa !147
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #14
  br label %.critedge380

.critedge380:                                     ; preds = %310, %313, %321, %318
  %331 = phi ptr [ %.pre473, %310 ], [ %.pre473, %313 ], [ %329, %321 ], [ %.pre473, %318 ]
  %332 = getelementptr inbounds i8, ptr %331, i64 48
  %333 = getelementptr inbounds i8, ptr %331, i64 56
  call void @_ZL22CalcWindowContentSizesP11ImGuiWindowP6ImVec2S2_(ptr noundef %331, ptr noundef nonnull %332, ptr noundef nonnull %333)
  %334 = load ptr, ptr %4, align 8, !tbaa !5
  %335 = getelementptr inbounds i8, ptr %334, i64 208
  %336 = load i8, ptr %335, align 8, !tbaa !150
  %337 = icmp sgt i8 %336, 0
  br i1 %337, label %338, label %340

338:                                              ; preds = %.critedge380
  %339 = add nsw i8 %336, -1
  store i8 %339, ptr %335, align 8, !tbaa !150
  br label %340

340:                                              ; preds = %338, %.critedge380
  %341 = getelementptr inbounds i8, ptr %334, i64 209
  %342 = load i8, ptr %341, align 1, !tbaa !138
  %343 = icmp sgt i8 %342, 0
  br i1 %343, label %344, label %346

344:                                              ; preds = %340
  %345 = add nsw i8 %342, -1
  store i8 %345, ptr %341, align 1, !tbaa !138
  br label %346

346:                                              ; preds = %344, %340
  %347 = getelementptr inbounds i8, ptr %334, i64 210
  %348 = load i8, ptr %347, align 2, !tbaa !151
  %349 = icmp sgt i8 %348, 0
  br i1 %349, label %350, label %352

350:                                              ; preds = %346
  %351 = add nsw i8 %348, -1
  store i8 %351, ptr %347, align 2, !tbaa !151
  br label %352

352:                                              ; preds = %350, %346
  %.not465 = xor i1 %58, true
  %353 = select i1 %.0289, i1 %.0290, i1 false
  %or.cond466 = select i1 %.not465, i1 true, i1 %353
  br i1 %or.cond466, label %355, label %354

354:                                              ; preds = %352
  store i8 1, ptr %341, align 1, !tbaa !138
  br label %355

355:                                              ; preds = %354, %352
  %356 = and i32 %.1, 100663296
  %.not347 = icmp ne i32 %356, 0
  %or.cond382.not = select i1 %.0287.in429, i1 %.not347, i1 false
  br i1 %or.cond382.not, label %357, label %372

357:                                              ; preds = %355
  store i8 1, ptr %341, align 1, !tbaa !138
  %358 = and i32 %.1, 64
  %.not348 = icmp eq i32 %358, 0
  br i1 %.not348, label %372, label %359

359:                                              ; preds = %357
  br i1 %.0289, label %363, label %360

360:                                              ; preds = %359
  %361 = getelementptr inbounds i8, ptr %334, i64 40
  store float 0.000000e+00, ptr %361, align 8, !tbaa !152
  %362 = getelementptr inbounds i8, ptr %334, i64 32
  store float 0.000000e+00, ptr %362, align 8, !tbaa !153
  br label %363

363:                                              ; preds = %360, %359
  br i1 %.0290, label %367, label %364

364:                                              ; preds = %363
  %365 = getelementptr inbounds i8, ptr %334, i64 44
  store float 0.000000e+00, ptr %365, align 4, !tbaa !154
  %366 = getelementptr inbounds i8, ptr %334, i64 36
  store float 0.000000e+00, ptr %366, align 4, !tbaa !155
  br label %367

367:                                              ; preds = %364, %363
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #14
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %10, float noundef 0.000000e+00, float noundef 0.000000e+00)
  %368 = load ptr, ptr %4, align 8, !tbaa !5
  %369 = getelementptr inbounds i8, ptr %368, i64 56
  %370 = load i64, ptr %10, align 8
  store i64 %370, ptr %369, align 8
  %371 = getelementptr inbounds i8, ptr %368, i64 48
  store i64 %370, ptr %371, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #14
  br label %372

372:                                              ; preds = %357, %367, %355
  %373 = call noundef ptr @_ZN5ImGui15GetMainViewportEv()
  %374 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN5ImGui17SetWindowViewportEP11ImGuiWindowP14ImGuiViewportP(ptr noundef %374, ptr noundef %373)
  %375 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZL16SetCurrentWindowP11ImGuiWindow(ptr noundef %375)
  br i1 %137, label %383, label %.thread431

.thread431:                                       ; preds = %372
  %376 = and i32 %.1, 134217728
  %.not350 = icmp eq i32 %376, 0
  %or.cond383 = and i1 %.not347, %.not350
  %.in.v = select i1 %or.cond383, i64 14360, i64 14324
  %.in = getelementptr inbounds i8, ptr %41, i64 %.in.v
  %377 = load float, ptr %.in, align 4, !tbaa !117
  %378 = load ptr, ptr %4, align 8, !tbaa !5
  %379 = getelementptr inbounds i8, ptr %378, i64 84
  store float %377, ptr %379, align 4, !tbaa !156
  %380 = getelementptr inbounds i8, ptr %41, i64 14312
  %381 = getelementptr inbounds i8, ptr %378, i64 72
  %382 = load i64, ptr %380, align 4
  store i64 %382, ptr %381, align 8
  br label %403

383:                                              ; preds = %372
  %384 = getelementptr inbounds i8, ptr %41, i64 14352
  %385 = load float, ptr %384, align 4, !tbaa !157
  %386 = load ptr, ptr %4, align 8, !tbaa !5
  %387 = getelementptr inbounds i8, ptr %386, i64 84
  store float %385, ptr %387, align 4, !tbaa !156
  %388 = getelementptr inbounds i8, ptr %41, i64 14312
  %389 = getelementptr inbounds i8, ptr %386, i64 72
  %390 = load i64, ptr %388, align 4
  store i64 %390, ptr %389, align 8
  %391 = and i32 %.1, 83951616
  %or.cond384 = icmp eq i32 %391, 16777216
  %392 = fcmp oeq float %385, 0.000000e+00
  %or.cond525 = select i1 %or.cond384, i1 %392, i1 false
  br i1 %or.cond525, label %393, label %403

393:                                              ; preds = %383
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #14
  %394 = and i32 %.1, 1024
  %.not352 = icmp eq i32 %394, 0
  br i1 %.not352, label %398, label %395

395:                                              ; preds = %393
  %396 = getelementptr inbounds i8, ptr %41, i64 14316
  %397 = load float, ptr %396, align 4, !tbaa !158
  br label %398

398:                                              ; preds = %393, %395
  %399 = phi float [ %397, %395 ], [ 0.000000e+00, %393 ]
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %11, float noundef 0.000000e+00, float noundef %399)
  %400 = load ptr, ptr %4, align 8, !tbaa !5
  %401 = getelementptr inbounds i8, ptr %400, i64 72
  %402 = load i64, ptr %11, align 8
  store i64 %402, ptr %401, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #14
  br label %403

403:                                              ; preds = %.thread431, %398, %383
  %.in518.in = phi i64 [ %382, %.thread431 ], [ %402, %398 ], [ %390, %383 ]
  %.in518 = trunc i64 %.in518.in to i32
  %404 = bitcast i32 %.in518 to float
  %405 = getelementptr inbounds i8, ptr %41, i64 14380
  %406 = load float, ptr %405, align 4, !tbaa !159
  %407 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %404, float noundef %406)
  %408 = getelementptr inbounds i8, ptr %41, i64 18396
  %409 = load float, ptr %408, align 4, !tbaa !160
  %410 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %407, float noundef %409)
  %411 = load ptr, ptr %4, align 8, !tbaa !5
  %412 = getelementptr inbounds i8, ptr %411, i64 348
  store float %410, ptr %412, align 4, !tbaa !161
  %413 = getelementptr inbounds i8, ptr %41, i64 18400
  %414 = load float, ptr %413, align 4, !tbaa !162
  %415 = getelementptr inbounds i8, ptr %411, i64 352
  store float %414, ptr %415, align 4, !tbaa !163
  %416 = and i32 %.1, 1
  %.not353 = icmp eq i32 %416, 0
  %417 = and i32 %.1, 33
  %or.cond385 = icmp eq i32 %417, 0
  br i1 %or.cond385, label %418, label %453

418:                                              ; preds = %403
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %12) #14
  %419 = call { <2 x float>, <2 x float> } @_ZNK11ImGuiWindow12TitleBarRectEv(ptr noundef nonnull align 8 dereferenceable(973) %411)
  %420 = extractvalue { <2 x float>, <2 x float> } %419, 0
  store <2 x float> %420, ptr %12, align 8
  %421 = getelementptr inbounds i8, ptr %12, i64 8
  %422 = extractvalue { <2 x float>, <2 x float> } %419, 1
  store <2 x float> %422, ptr %421, align 8
  %423 = getelementptr inbounds i8, ptr %41, i64 16040
  %424 = load ptr, ptr %423, align 8, !tbaa !164
  %425 = load ptr, ptr %4, align 8, !tbaa !5
  %426 = icmp eq ptr %424, %425
  br i1 %426, label %427, label %443

427:                                              ; preds = %418
  %428 = getelementptr inbounds i8, ptr %41, i64 16108
  %429 = load i32, ptr %428, align 4, !tbaa !165
  %430 = icmp eq i32 %429, 0
  br i1 %430, label %431, label %443

431:                                              ; preds = %427
  %432 = getelementptr inbounds i8, ptr %41, i64 16112
  %433 = load i32, ptr %432, align 8, !tbaa !166
  %434 = icmp eq i32 %433, 0
  br i1 %434, label %435, label %443

435:                                              ; preds = %431
  %436 = call noundef zeroext i1 @_ZN5ImGui19IsMouseHoveringRectERK6ImVec2S2_b(ptr noundef nonnull align 4 dereferenceable(8) %12, ptr noundef nonnull align 4 dereferenceable(8) %421, i1 noundef zeroext true)
  br i1 %436, label %437, label %._crit_edge474

._crit_edge474:                                   ; preds = %435
  %.pre475 = load ptr, ptr %4, align 8, !tbaa !5
  br label %443

437:                                              ; preds = %435
  %438 = getelementptr inbounds i8, ptr %41, i64 14146
  %439 = load i16, ptr %438, align 2, !tbaa !167
  %440 = icmp eq i16 %439, 2
  %.pre476 = load ptr, ptr %4, align 8, !tbaa !5
  br i1 %440, label %441, label %443

441:                                              ; preds = %437
  %442 = getelementptr inbounds i8, ptr %.pre476, i64 178
  store i8 1, ptr %442, align 2, !tbaa !168
  br label %443

443:                                              ; preds = %._crit_edge474, %441, %437, %431, %427, %418
  %444 = phi ptr [ %.pre475, %._crit_edge474 ], [ %.pre476, %441 ], [ %.pre476, %437 ], [ %425, %431 ], [ %425, %427 ], [ %425, %418 ]
  %445 = getelementptr inbounds i8, ptr %444, i64 178
  %446 = load i8, ptr %445, align 2, !tbaa !168, !range !76, !noundef !77
  %447 = trunc nuw i8 %446 to i1
  br i1 %447, label %448, label %452

448:                                              ; preds = %443
  %449 = getelementptr inbounds i8, ptr %444, i64 177
  %450 = load i8, ptr %449, align 1, !tbaa !169, !range !76, !noundef !77
  %451 = xor i8 %450, 1
  store i8 %451, ptr %449, align 1, !tbaa !169
  %.not458.not = icmp ne i8 %450, 0
  %spec.select386 = or i1 %.not458.not, %58
  call void @_ZN5ImGui20MarkIniSettingsDirtyEP11ImGuiWindow(ptr noundef nonnull %444)
  %.pre477.pre = load ptr, ptr %4, align 8, !tbaa !5
  br label %452

452:                                              ; preds = %448, %443
  %.pre477 = phi ptr [ %.pre477.pre, %448 ], [ %444, %443 ]
  %.1295 = phi i1 [ %spec.select386, %448 ], [ %58, %443 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #14
  br label %455

453:                                              ; preds = %403
  %454 = getelementptr inbounds i8, ptr %411, i64 177
  store i8 0, ptr %454, align 1, !tbaa !169
  br label %455

455:                                              ; preds = %453, %452
  %456 = phi ptr [ %411, %453 ], [ %.pre477, %452 ]
  %.2296 = phi i1 [ %58, %453 ], [ %.1295, %452 ]
  %457 = getelementptr inbounds i8, ptr %456, i64 178
  store i8 0, ptr %457, align 2, !tbaa !168
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #14
  %458 = getelementptr inbounds i8, ptr %456, i64 164
  %459 = load i64, ptr %458, align 4
  store i64 %459, ptr %13, align 8
  %460 = getelementptr inbounds i8, ptr %456, i64 88
  store float 0.000000e+00, ptr %460, align 8, !tbaa !170
  %461 = getelementptr inbounds i8, ptr %456, i64 96
  store float 0.000000e+00, ptr %461, align 8, !tbaa !171
  %462 = call noundef float @_ZNK11ImGuiWindow14TitleBarHeightEv(ptr noundef nonnull align 8 dereferenceable(973) %456)
  %463 = load ptr, ptr %4, align 8, !tbaa !5
  %464 = call noundef float @_ZNK11ImGuiWindow13MenuBarHeightEv(ptr noundef nonnull align 8 dereferenceable(973) %463)
  %465 = fadd float %462, %464
  %466 = load ptr, ptr %4, align 8, !tbaa !5
  %467 = getelementptr inbounds i8, ptr %466, i64 92
  store float %465, ptr %467, align 4, !tbaa !172
  %468 = getelementptr inbounds i8, ptr %466, i64 100
  store float 0.000000e+00, ptr %468, align 4, !tbaa !173
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #14
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %14, float noundef 0.000000e+00, float noundef 0.000000e+00)
  %469 = load ptr, ptr %4, align 8, !tbaa !5
  %470 = getelementptr inbounds i8, ptr %469, i64 164
  %471 = load i64, ptr %14, align 8
  store i64 %471, ptr %470, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #14
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #14
  %472 = getelementptr inbounds i8, ptr %469, i64 56
  %473 = call <2 x float> @_ZL21CalcWindowAutoFitSizeP11ImGuiWindowRK6ImVec2(ptr noundef %469, ptr noundef nonnull align 4 dereferenceable(8) %472)
  store <2 x float> %473, ptr %15, align 8
  %474 = and i32 %.1, 64
  %.not355 = icmp ne i32 %474, 0
  %475 = extractelement <2 x float> %473, i64 0
  %476 = extractelement <2 x float> %473, i64 1
  %.pre478 = load ptr, ptr %4, align 8, !tbaa !5
  br i1 %.not355, label %477, label %487

477:                                              ; preds = %455
  %478 = getelementptr inbounds i8, ptr %.pre478, i64 177
  %479 = load i8, ptr %478, align 1, !tbaa !169, !range !76, !noundef !77
  %480 = trunc nuw i8 %479 to i1
  br i1 %480, label %487, label %481

481:                                              ; preds = %477
  br i1 %.0289, label %484, label %482

482:                                              ; preds = %481
  %483 = getelementptr inbounds i8, ptr %.pre478, i64 40
  store float %475, ptr %483, align 8, !tbaa !152
  br label %484

484:                                              ; preds = %482, %481
  %.0292 = phi i1 [ %58, %481 ], [ true, %482 ]
  br i1 %.0290, label %536, label %485

485:                                              ; preds = %484
  %486 = getelementptr inbounds i8, ptr %.pre478, i64 44
  store float %476, ptr %486, align 4, !tbaa !154
  br label %536

487:                                              ; preds = %477, %455
  %488 = getelementptr inbounds i8, ptr %.pre478, i64 200
  %489 = load i8, ptr %488, align 8, !tbaa !174
  %490 = icmp sgt i8 %489, 0
  br i1 %490, label %495, label %491

491:                                              ; preds = %487
  %492 = getelementptr inbounds i8, ptr %.pre478, i64 201
  %493 = load i8, ptr %492, align 1, !tbaa !175
  %494 = icmp sgt i8 %493, 0
  br i1 %494, label %.thread435, label %536

495:                                              ; preds = %487
  br i1 %.0289, label %.thread435, label %496

496:                                              ; preds = %495
  %497 = getelementptr inbounds i8, ptr %.pre478, i64 203
  %498 = load i8, ptr %497, align 1, !tbaa !176, !range !76, !noundef !77
  %499 = trunc nuw i8 %498 to i1
  br i1 %499, label %500, label %504

500:                                              ; preds = %496
  %501 = getelementptr inbounds i8, ptr %.pre478, i64 40
  %502 = load float, ptr %501, align 8, !tbaa !152
  %503 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %502, float noundef %475)
  %.pre479 = load ptr, ptr %4, align 8, !tbaa !5
  br label %504

504:                                              ; preds = %496, %500
  %505 = phi ptr [ %.pre479, %500 ], [ %.pre478, %496 ]
  %506 = phi float [ %503, %500 ], [ %475, %496 ]
  %507 = getelementptr inbounds i8, ptr %505, i64 40
  store float %506, ptr %507, align 8, !tbaa !152
  br label %.thread435

.thread435:                                       ; preds = %491, %504, %495
  %508 = phi ptr [ %.pre478, %495 ], [ %505, %504 ], [ %.pre478, %491 ]
  %.1293 = phi i1 [ %58, %495 ], [ true, %504 ], [ %58, %491 ]
  br i1 %.0290, label %530, label %509

509:                                              ; preds = %.thread435
  %510 = getelementptr inbounds i8, ptr %508, i64 201
  %511 = load i8, ptr %510, align 1, !tbaa !175
  %512 = icmp sgt i8 %511, 0
  br i1 %512, label %513, label %530

513:                                              ; preds = %509
  %514 = getelementptr inbounds i8, ptr %508, i64 203
  %515 = load i8, ptr %514, align 1, !tbaa !176, !range !76, !noundef !77
  %516 = trunc nuw i8 %515 to i1
  br i1 %516, label %517, label %523

517:                                              ; preds = %513
  %518 = getelementptr inbounds i8, ptr %508, i64 44
  %519 = load float, ptr %518, align 4, !tbaa !154
  %520 = getelementptr inbounds i8, ptr %15, i64 4
  %521 = load float, ptr %520, align 4, !tbaa !177
  %522 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %519, float noundef %521)
  %.pre480 = load ptr, ptr %4, align 8, !tbaa !5
  br label %526

523:                                              ; preds = %513
  %524 = getelementptr inbounds i8, ptr %15, i64 4
  %525 = load float, ptr %524, align 4, !tbaa !177
  br label %526

526:                                              ; preds = %523, %517
  %527 = phi ptr [ %.pre480, %517 ], [ %508, %523 ]
  %528 = phi float [ %522, %517 ], [ %525, %523 ]
  %529 = getelementptr inbounds i8, ptr %527, i64 44
  store float %528, ptr %529, align 4, !tbaa !154
  br label %530

530:                                              ; preds = %526, %509, %.thread435
  %531 = phi ptr [ %508, %.thread435 ], [ %527, %526 ], [ %508, %509 ]
  %.3297 = phi i1 [ %.2296, %.thread435 ], [ true, %526 ], [ %.2296, %509 ]
  %532 = getelementptr inbounds i8, ptr %531, i64 177
  %533 = load i8, ptr %532, align 1, !tbaa !169, !range !76, !noundef !77
  %534 = trunc nuw i8 %533 to i1
  br i1 %534, label %536, label %535

535:                                              ; preds = %530
  call void @_ZN5ImGui20MarkIniSettingsDirtyEP11ImGuiWindow(ptr noundef nonnull %531)
  %.pre481 = load ptr, ptr %4, align 8, !tbaa !5
  br label %536

536:                                              ; preds = %491, %535, %530, %484, %485
  %537 = phi ptr [ %531, %530 ], [ %.pre481, %535 ], [ %.pre478, %491 ], [ %.pre478, %484 ], [ %.pre478, %485 ]
  %.4 = phi i1 [ %.3297, %530 ], [ %.3297, %535 ], [ %.2296, %491 ], [ %.2296, %484 ], [ true, %485 ]
  %.2 = phi i1 [ %.1293, %530 ], [ %.1293, %535 ], [ %58, %491 ], [ %.0292, %484 ], [ %.0292, %485 ]
  %538 = getelementptr inbounds i8, ptr %537, i64 40
  %539 = call <2 x float> @_ZL29CalcWindowSizeAfterConstraintP11ImGuiWindowRK6ImVec2(ptr noundef %537, ptr noundef nonnull align 4 dereferenceable(8) %538)
  %540 = load ptr, ptr %4, align 8, !tbaa !5
  %541 = getelementptr inbounds i8, ptr %540, i64 40
  store <2 x float> %539, ptr %541, align 8
  %542 = getelementptr inbounds i8, ptr %540, i64 177
  %543 = load i8, ptr %542, align 1, !tbaa !169, !range !76, !noundef !77
  %544 = trunc nuw i8 %543 to i1
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %16) #14
  %.not387 = xor i1 %544, true
  %brmerge388 = select i1 %.not387, i1 true, i1 %137
  br i1 %brmerge388, label %551, label %545

545:                                              ; preds = %536
  %546 = call { <2 x float>, <2 x float> } @_ZNK11ImGuiWindow12TitleBarRectEv(ptr noundef nonnull align 8 dereferenceable(973) %540)
  %547 = extractvalue { <2 x float>, <2 x float> } %546, 0
  store <2 x float> %547, ptr %16, align 8
  %548 = getelementptr inbounds i8, ptr %16, i64 8
  %549 = extractvalue { <2 x float>, <2 x float> } %546, 1
  store <2 x float> %549, ptr %548, align 8
  %550 = call <2 x float> @_ZNK6ImRect7GetSizeEv(ptr noundef nonnull align 4 dereferenceable(16) %16)
  %.pre482 = load ptr, ptr %4, align 8, !tbaa !5
  br label %551

551:                                              ; preds = %536, %545
  %552 = phi ptr [ %.pre482, %545 ], [ %540, %536 ]
  %.sroa.044.0 = phi <2 x float> [ %550, %545 ], [ %539, %536 ]
  %553 = getelementptr inbounds i8, ptr %552, i64 32
  store <2 x float> %.sroa.044.0, ptr %553, align 8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %16) #14
  br i1 %.0287.in429, label %554, label %564

554:                                              ; preds = %551
  %555 = getelementptr inbounds i8, ptr %552, i64 204
  store i32 -1, ptr %555, align 4, !tbaa !178
  %556 = and i32 %.1, 201326592
  %or.cond389.not459 = icmp ne i32 %556, 67108864
  %brmerge390 = or i1 %or.cond389.not459, %.0288.shrunk
  br i1 %brmerge390, label %564, label %557

557:                                              ; preds = %554
  %558 = getelementptr inbounds i8, ptr %41, i64 18520
  %559 = call noundef nonnull align 8 dereferenceable(52) ptr @_ZN8ImVectorI14ImGuiPopupDataE4backEv(ptr noundef nonnull align 8 dereferenceable(16) %558)
  %560 = getelementptr inbounds i8, ptr %559, i64 36
  %561 = load ptr, ptr %4, align 8, !tbaa !5
  %562 = getelementptr inbounds i8, ptr %561, i64 24
  %563 = load i64, ptr %560, align 4
  store i64 %563, ptr %562, align 8
  br label %564

564:                                              ; preds = %554, %557, %551
  %565 = phi ptr [ %552, %554 ], [ %561, %557 ], [ %552, %551 ]
  br i1 %137, label %566, label %580

566:                                              ; preds = %564
  br i1 %135, label %.critedge2, label %567

567:                                              ; preds = %566
  %568 = getelementptr inbounds i8, ptr %134, i64 174
  %569 = load i8, ptr %568, align 2, !tbaa !139, !range !76, !noundef !77
  %570 = trunc nuw i8 %569 to i1
  br i1 %570, label %571, label %.critedge2

.critedge2:                                       ; preds = %566, %567
  call void @__assert_fail(ptr noundef nonnull @.str.130, ptr noundef nonnull @.str.4, i32 noundef 6308, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5ImGui5BeginEPKcPbi) #13
  unreachable

571:                                              ; preds = %567
  %572 = getelementptr inbounds i8, ptr %134, i64 392
  %573 = load i32, ptr %572, align 8, !tbaa !179
  %574 = trunc i32 %573 to i16
  %575 = getelementptr inbounds i8, ptr %565, i64 190
  store i16 %574, ptr %575, align 2, !tbaa !106
  call void @_ZN8ImVectorIP11ImGuiWindowE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %572, ptr noundef nonnull align 8 dereferenceable(8) %4)
  %.not335.not391 = xor i1 %.not335, true
  %brmerge392 = or i1 %.0288.shrunk, %.not335.not391
  %brmerge393 = select i1 %brmerge392, i1 true, i1 %289
  %.pre483 = load ptr, ptr %4, align 8, !tbaa !5
  br i1 %brmerge393, label %580, label %576

576:                                              ; preds = %571
  %577 = getelementptr inbounds i8, ptr %134, i64 248
  %578 = getelementptr inbounds i8, ptr %.pre483, i64 24
  %579 = load i64, ptr %577, align 8
  store i64 %579, ptr %578, align 8
  br label %580

580:                                              ; preds = %571, %576, %564
  %581 = phi ptr [ %.pre483, %571 ], [ %.pre483, %576 ], [ %565, %564 ]
  %582 = getelementptr inbounds i8, ptr %581, i64 216
  %583 = load float, ptr %582, align 8, !tbaa !180
  %584 = fcmp une float %583, 0x47EFFFFFE0000000
  br i1 %584, label %585, label %.critedge395

585:                                              ; preds = %580
  %586 = getelementptr inbounds i8, ptr %581, i64 209
  %587 = load i8, ptr %586, align 1, !tbaa !138
  %588 = icmp eq i8 %587, 0
  br i1 %588, label %589, label %.critedge395

589:                                              ; preds = %585
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #14
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #14
  %590 = getelementptr inbounds i8, ptr %581, i64 32
  %591 = getelementptr inbounds i8, ptr %581, i64 224
  %592 = call <2 x float> @_ZmlRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %590, ptr noundef nonnull align 4 dereferenceable(8) %591)
  store <2 x float> %592, ptr %18, align 8
  %593 = call <2 x float> @_ZmiRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %582, ptr noundef nonnull align 4 dereferenceable(8) %18)
  store <2 x float> %593, ptr %17, align 8
  call void @_ZN5ImGui12SetWindowPosEP11ImGuiWindowRK6ImVec2i(ptr noundef nonnull %581, ptr noundef nonnull align 4 dereferenceable(8) %17, i32 noundef 0)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #14
  br label %608

.critedge395:                                     ; preds = %580, %585
  br i1 %.not334, label %598, label %594

594:                                              ; preds = %.critedge395
  %595 = call <2 x float> @_ZN5ImGui25FindBestWindowPosForPopupEP11ImGuiWindow(ptr noundef nonnull %581)
  %596 = load ptr, ptr %4, align 8, !tbaa !5
  %597 = getelementptr inbounds i8, ptr %596, i64 24
  store <2 x float> %595, ptr %597, align 8
  br label %608

598:                                              ; preds = %.critedge395
  %brmerge396 = or i1 %.not335, %.0288.shrunk
  %brmerge398 = select i1 %brmerge396, i1 true, i1 %293
  br i1 %brmerge398, label %603, label %599

599:                                              ; preds = %598
  %600 = call <2 x float> @_ZN5ImGui25FindBestWindowPosForPopupEP11ImGuiWindow(ptr noundef nonnull %581)
  %601 = load ptr, ptr %4, align 8, !tbaa !5
  %602 = getelementptr inbounds i8, ptr %601, i64 24
  store <2 x float> %600, ptr %602, align 8
  br label %608

603:                                              ; preds = %598
  %brmerge399 = or i1 %.not344, %.0288.shrunk
  %brmerge400 = select i1 %brmerge399, i1 true, i1 %289
  br i1 %brmerge400, label %608, label %604

604:                                              ; preds = %603
  %605 = call <2 x float> @_ZN5ImGui25FindBestWindowPosForPopupEP11ImGuiWindow(ptr noundef nonnull %581)
  %606 = load ptr, ptr %4, align 8, !tbaa !5
  %607 = getelementptr inbounds i8, ptr %606, i64 24
  store <2 x float> %605, ptr %607, align 8
  br label %608

608:                                              ; preds = %603, %594, %604, %599, %589
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %19) #14
  %609 = call { <2 x float>, <2 x float> } @_ZNK14ImGuiViewportP11GetMainRectEv(ptr noundef nonnull align 8 dereferenceable(184) %373)
  %610 = extractvalue { <2 x float>, <2 x float> } %609, 0
  store <2 x float> %610, ptr %19, align 8
  %611 = getelementptr inbounds i8, ptr %19, i64 8
  %612 = extractvalue { <2 x float>, <2 x float> } %609, 1
  store <2 x float> %612, ptr %611, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %20) #14
  %613 = call { <2 x float>, <2 x float> } @_ZNK14ImGuiViewportP11GetWorkRectEv(ptr noundef nonnull align 8 dereferenceable(184) %373)
  %614 = extractvalue { <2 x float>, <2 x float> } %613, 0
  store <2 x float> %614, ptr %20, align 8
  %615 = getelementptr inbounds i8, ptr %20, i64 8
  %616 = extractvalue { <2 x float>, <2 x float> } %613, 1
  store <2 x float> %616, ptr %615, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %21) #14
  %617 = getelementptr inbounds i8, ptr %41, i64 14472
  %618 = getelementptr inbounds i8, ptr %41, i64 14480
  %619 = call <2 x float> @_ZL5ImMaxRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %617, ptr noundef nonnull align 4 dereferenceable(8) %618)
  store <2 x float> %619, ptr %21, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %22) #14
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %23) #14
  %620 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %20, ptr noundef nonnull align 4 dereferenceable(8) %21)
  store <2 x float> %620, ptr %23, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %24) #14
  %621 = call <2 x float> @_ZmiRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %615, ptr noundef nonnull align 4 dereferenceable(8) %21)
  store <2 x float> %621, ptr %24, align 8
  call void @_ZN6ImRectC2ERK6ImVec2S2_(ptr noundef nonnull align 4 dereferenceable(16) %22, ptr noundef nonnull align 4 dereferenceable(8) %23, ptr noundef nonnull align 4 dereferenceable(8) %24)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %24) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %23) #14
  %brmerge401 = select i1 %.0288.shrunk, i1 true, i1 %137
  br i1 %brmerge401, label %630, label %622

622:                                              ; preds = %608
  %623 = call noundef float @_ZNK6ImRect8GetWidthEv(ptr noundef nonnull align 4 dereferenceable(16) %19)
  %624 = fcmp ogt float %623, 0.000000e+00
  br i1 %624, label %625, label %630

625:                                              ; preds = %622
  %626 = call noundef float @_ZNK6ImRect9GetHeightEv(ptr noundef nonnull align 4 dereferenceable(16) %19)
  %627 = fcmp ogt float %626, 0.000000e+00
  br i1 %627, label %628, label %630

628:                                              ; preds = %625
  %629 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZL14ClampWindowPosP11ImGuiWindowRK6ImRect(ptr noundef %629, ptr noundef nonnull align 4 dereferenceable(16) %22)
  br label %630

630:                                              ; preds = %608, %622, %625, %628
  %631 = load ptr, ptr %4, align 8, !tbaa !5
  %632 = getelementptr inbounds i8, ptr %631, i64 24
  %633 = call <2 x float> @_ZL7ImFloorRK6ImVec2(ptr noundef nonnull align 4 dereferenceable(8) %632)
  %634 = load ptr, ptr %4, align 8, !tbaa !5
  %635 = getelementptr inbounds i8, ptr %634, i64 24
  store <2 x float> %633, ptr %635, align 8
  %636 = and i32 %.1, 201326592
  %or.cond403.not.not = icmp eq i32 %636, 67108864
  %. = select i1 %or.cond403.not.not, i64 14356, i64 14320
  %.sink = select i1 %137, i64 14348, i64 %.
  %637 = getelementptr inbounds i8, ptr %41, i64 %.sink
  %638 = load float, ptr %637, align 4, !tbaa !117
  %639 = getelementptr inbounds i8, ptr %634, i64 80
  store float %638, ptr %639, align 8, !tbaa !181
  %640 = and i32 %.1, 4096
  %.not359 = icmp eq i32 %640, 0
  %or.cond404 = select i1 %.0287.in429, i1 %.not359, i1 false
  br i1 %or.cond404, label %641, label %655

641:                                              ; preds = %630
  %642 = icmp eq i32 %288, 0
  %not..not335 = xor i1 %.not335, true
  %narrow = select i1 %not..not335, i1 true, i1 %642
  %643 = call noundef ptr @_ZN5ImGui20GetTopMostPopupModalEv()
  %.not360 = icmp eq ptr %643, null
  %.pre485 = load ptr, ptr %4, align 8, !tbaa !5
  br i1 %.not360, label %655, label %644

644:                                              ; preds = %641
  %645 = call noundef zeroext i1 @_ZN5ImGui26IsWindowWithinBeginStackOfEP11ImGuiWindowS1_(ptr noundef %.pre485, ptr noundef nonnull %643)
  %.pre486 = load ptr, ptr %4, align 8, !tbaa !5
  br i1 %645, label %655, label %646

646:                                              ; preds = %644
  %647 = getelementptr inbounds i8, ptr %.pre486, i64 880
  %648 = load ptr, ptr %647, align 8, !tbaa !182
  %649 = icmp eq ptr %.pre486, %648
  br i1 %649, label %650, label %655

650:                                              ; preds = %646
  %651 = call noundef ptr @_ZN5ImGuiL17FindBlockingModalEP11ImGuiWindow(ptr noundef nonnull %.pre486)
  %.not361 = icmp eq ptr %651, null
  br i1 %.not361, label %652, label %653

652:                                              ; preds = %650
  call void @__assert_fail(ptr noundef nonnull @.str.131, ptr noundef nonnull @.str.4, i32 noundef 6367, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5ImGui5BeginEPKcPbi) #13
  unreachable

653:                                              ; preds = %650
  %654 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN5ImGui26BringWindowToDisplayBehindEP11ImGuiWindowS1_(ptr noundef %654, ptr noundef nonnull %651)
  %.pre484 = load ptr, ptr %4, align 8, !tbaa !5
  br label %655

655:                                              ; preds = %641, %644, %653, %646, %630
  %656 = phi ptr [ %634, %630 ], [ %.pre486, %644 ], [ %.pre484, %653 ], [ %.pre486, %646 ], [ %.pre485, %641 ]
  %.2300.shrunk = phi i1 [ false, %630 ], [ %narrow, %644 ], [ false, %653 ], [ false, %646 ], [ %narrow, %641 ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %25) #14
  store i32 -1, ptr %25, align 4, !tbaa !116
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %26) #14
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %26, i8 0, i64 16, i1 false)
  %657 = getelementptr inbounds i8, ptr %41, i64 126
  %658 = load i8, ptr %657, align 2, !tbaa !183, !range !76, !noundef !77
  %659 = trunc nuw i8 %658 to i1
  %660 = select i1 %659, i32 2, i32 1
  %661 = getelementptr inbounds i8, ptr %41, i64 15360
  %662 = load float, ptr %661, align 8, !tbaa !184
  %663 = fmul float %662, 0x3FF19999A0000000
  %664 = getelementptr inbounds i8, ptr %656, i64 80
  %665 = load float, ptr %664, align 8, !tbaa !181
  %666 = fadd float %665, 1.000000e+00
  %667 = call float @llvm.fmuladd.f32(float %662, float 0x3FC99999A0000000, float %666)
  %668 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %663, float noundef %667)
  %669 = fptosi float %668 to i32
  %670 = sitofp i32 %669 to float
  %671 = load ptr, ptr %4, align 8, !tbaa !5
  %672 = getelementptr inbounds i8, ptr %671, i64 177
  %673 = load i8, ptr %672, align 1, !tbaa !169, !range !76, !noundef !77
  %674 = trunc nuw i8 %673 to i1
  br i1 %674, label %677, label %675

675:                                              ; preds = %655
  %676 = call noundef zeroext i1 @_ZN5ImGuiL24UpdateWindowManualResizeEP11ImGuiWindowRK6ImVec2PiiPjRK6ImRect(ptr noundef nonnull %671, ptr noundef nonnull align 4 dereferenceable(8) %15, ptr noundef nonnull %25, i32 noundef %660, ptr noundef nonnull %26, ptr noundef nonnull align 4 dereferenceable(16) %22)
  %spec.select406 = or i1 %676, %.4
  %spec.select407 = or i1 %676, %.2
  %.pre487 = load ptr, ptr %4, align 8, !tbaa !5
  %.phi.trans.insert = getelementptr inbounds i8, ptr %.pre487, i64 177
  %.pre488 = load i8, ptr %.phi.trans.insert, align 1, !tbaa !169, !range !76
  br label %677

677:                                              ; preds = %675, %655
  %678 = phi i8 [ %673, %655 ], [ %.pre488, %675 ]
  %679 = phi ptr [ %671, %655 ], [ %.pre487, %675 ]
  %.5 = phi i1 [ %.4, %655 ], [ %spec.select406, %675 ]
  %.3 = phi i1 [ %.2, %655 ], [ %spec.select407, %675 ]
  %680 = load i32, ptr %25, align 4, !tbaa !116
  %681 = trunc i32 %680 to i8
  %682 = getelementptr inbounds i8, ptr %679, i64 185
  store i8 %681, ptr %682, align 1, !tbaa !185
  %683 = trunc nuw i8 %678 to i1
  br i1 %683, label %785, label %684

684:                                              ; preds = %677
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %27) #14
  %685 = getelementptr inbounds i8, ptr %679, i64 40
  %686 = load float, ptr %685, align 8, !tbaa !152
  %687 = getelementptr inbounds i8, ptr %679, i64 44
  %688 = load float, ptr %687, align 4, !tbaa !154
  %689 = getelementptr inbounds i8, ptr %679, i64 92
  %690 = load float, ptr %689, align 4, !tbaa !172
  %691 = getelementptr inbounds i8, ptr %679, i64 100
  %692 = load float, ptr %691, align 4, !tbaa !173
  %693 = fadd float %690, %692
  %694 = fsub float %688, %693
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %27, float noundef %686, float noundef %694)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %28) #14
  %695 = load ptr, ptr %4, align 8, !tbaa !5
  %696 = getelementptr inbounds i8, ptr %695, i64 496
  %697 = call <2 x float> @_ZNK6ImRect7GetSizeEv(ptr noundef nonnull align 4 dereferenceable(16) %696)
  store <2 x float> %697, ptr %28, align 8
  %698 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %28, ptr noundef nonnull align 4 dereferenceable(8) %13)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %28) #14
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %29) #14
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %30) #14
  br i1 %58, label %699, label %700

699:                                              ; preds = %684
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %29, float noundef 0.000000e+00, float noundef 0.000000e+00)
  br label %706

700:                                              ; preds = %684
  %701 = load ptr, ptr %4, align 8, !tbaa !5
  %702 = getelementptr inbounds i8, ptr %701, i64 48
  %703 = getelementptr inbounds i8, ptr %701, i64 72
  %704 = call <2 x float> @_ZmlRK6ImVec2f(ptr noundef nonnull align 4 dereferenceable(8) %703, float noundef 2.000000e+00)
  store <2 x float> %704, ptr %30, align 8
  %705 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %702, ptr noundef nonnull align 4 dereferenceable(8) %30)
  store <2 x float> %705, ptr %29, align 8
  br label %706

706:                                              ; preds = %700, %699
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %30) #14
  %707 = load float, ptr %27, align 4
  %.sroa.029.0.vec.extract = extractelement <2 x float> %698, i64 0
  %708 = select i1 %.3, float %707, float %.sroa.029.0.vec.extract
  %709 = getelementptr inbounds i8, ptr %27, i64 4
  %710 = load float, ptr %709, align 4
  %.sroa.029.4.vec.extract = extractelement <2 x float> %698, i64 1
  %711 = select i1 %.5, float %710, float %.sroa.029.4.vec.extract
  %712 = and i32 %.1, 16384
  %.not362 = icmp eq i32 %712, 0
  br i1 %.not362, label %713, label %.thread436

713:                                              ; preds = %706
  %714 = getelementptr inbounds i8, ptr %29, i64 4
  %715 = load float, ptr %714, align 4, !tbaa !177
  %716 = fcmp ogt float %715, %711
  %717 = and i32 %.1, 8
  %.not363 = icmp eq i32 %717, 0
  %718 = select i1 %716, i1 %.not363, i1 false
  %719 = load ptr, ptr %4, align 8, !tbaa !5
  %720 = getelementptr inbounds i8, ptr %719, i64 173
  %721 = zext i1 %718 to i8
  store i8 %721, ptr %720, align 1, !tbaa !186
  %722 = and i32 %.1, 32768
  %.not364 = icmp eq i32 %722, 0
  br i1 %.not364, label %728, label %.thread441

.thread436:                                       ; preds = %706
  %723 = load ptr, ptr %4, align 8, !tbaa !5
  %724 = getelementptr inbounds i8, ptr %723, i64 173
  store i8 1, ptr %724, align 1, !tbaa !186
  %725 = and i32 %.1, 32768
  %.not364437 = icmp eq i32 %725, 0
  br i1 %.not364437, label %.thread438, label %.thread441.thread

.thread441.thread:                                ; preds = %.thread436
  %726 = getelementptr inbounds i8, ptr %723, i64 172
  store i8 1, ptr %726, align 4, !tbaa !187
  br label %.thread524

.thread438:                                       ; preds = %.thread436
  %727 = load float, ptr %29, align 8, !tbaa !188
  %.pre517 = and i32 %.1, 8
  br label %730

728:                                              ; preds = %713
  %729 = load float, ptr %29, align 8, !tbaa !188
  br i1 %718, label %730, label %736

730:                                              ; preds = %.thread438, %728
  %.pre515.pre-phi = phi i32 [ %.pre517, %.thread438 ], [ 0, %728 ]
  %731 = phi float [ %727, %.thread438 ], [ %729, %728 ]
  %732 = phi ptr [ %723, %.thread438 ], [ %719, %728 ]
  %733 = phi ptr [ %724, %.thread438 ], [ %720, %728 ]
  %734 = getelementptr inbounds i8, ptr %41, i64 14420
  %735 = load float, ptr %734, align 4, !tbaa !189
  br label %736

736:                                              ; preds = %728, %730
  %.pre-phi = phi i32 [ %717, %728 ], [ %.pre515.pre-phi, %730 ]
  %737 = phi i8 [ 0, %728 ], [ 1, %730 ]
  %738 = phi float [ %729, %728 ], [ %731, %730 ]
  %739 = phi i1 [ false, %728 ], [ true, %730 ]
  %740 = phi ptr [ %719, %728 ], [ %732, %730 ]
  %741 = phi ptr [ %720, %728 ], [ %733, %730 ]
  %742 = phi float [ 0.000000e+00, %728 ], [ %735, %730 ]
  %743 = fsub float %708, %742
  %744 = fcmp ogt float %738, %743
  %.not365 = icmp eq i32 %.pre-phi, 0
  %or.cond408 = select i1 %744, i1 %.not365, i1 false
  br i1 %or.cond408, label %747, label %.thread442

.thread442:                                       ; preds = %736
  %745 = getelementptr inbounds i8, ptr %740, i64 172
  store i8 0, ptr %745, align 4, !tbaa !187
  br label %759

.thread441:                                       ; preds = %713
  %746 = getelementptr inbounds i8, ptr %719, i64 172
  store i8 1, ptr %746, align 4, !tbaa !187
  br i1 %718, label %.thread524, label %751

747:                                              ; preds = %736
  %748 = and i32 %.1, 2048
  %.not460 = icmp eq i32 %748, 0
  %749 = getelementptr inbounds i8, ptr %740, i64 172
  %.lobit = lshr exact i32 %748, 11
  %750 = trunc nuw nsw i32 %.lobit to i8
  store i8 %750, ptr %749, align 4, !tbaa !187
  %brmerge456 = or i1 %.not460, %739
  %not..not460 = xor i1 %.not460, true
  br i1 %brmerge456, label %759, label %._crit_edge489

._crit_edge489:                                   ; preds = %747
  %.phi.trans.insert490 = getelementptr inbounds i8, ptr %29, i64 4
  %.pre491 = load float, ptr %.phi.trans.insert490, align 4, !tbaa !177
  br label %751

751:                                              ; preds = %._crit_edge489, %.thread441
  %.pre-phi516 = phi i32 [ 0, %._crit_edge489 ], [ %717, %.thread441 ]
  %752 = phi float [ %.pre491, %._crit_edge489 ], [ %715, %.thread441 ]
  %753 = phi ptr [ %741, %._crit_edge489 ], [ %720, %.thread441 ]
  %754 = fcmp ogt float %752, %711
  %.not366 = icmp eq i32 %.pre-phi516, 0
  %755 = select i1 %754, i1 %.not366, i1 false
  %756 = zext i1 %755 to i8
  store i8 %756, ptr %753, align 1, !tbaa !186
  br label %759

.thread524:                                       ; preds = %.thread441.thread, %.thread441
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %31) #14
  %757 = getelementptr inbounds i8, ptr %41, i64 14420
  %758 = load float, ptr %757, align 4, !tbaa !189
  br label %767

759:                                              ; preds = %747, %.thread442, %751
  %760 = phi i8 [ %756, %751 ], [ %737, %747 ], [ %737, %.thread442 ]
  %761 = phi i1 [ true, %751 ], [ %not..not460, %747 ], [ false, %.thread442 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %31) #14
  %762 = trunc nuw i8 %760 to i1
  br i1 %762, label %763, label %766

763:                                              ; preds = %759
  %764 = getelementptr inbounds i8, ptr %41, i64 14420
  %765 = load float, ptr %764, align 4, !tbaa !189
  br i1 %761, label %767, label %771

766:                                              ; preds = %759
  br i1 %761, label %767, label %771

767:                                              ; preds = %.thread524, %763, %766
  %768 = phi float [ %765, %763 ], [ 0.000000e+00, %766 ], [ %758, %.thread524 ]
  %769 = getelementptr inbounds i8, ptr %41, i64 14420
  %770 = load float, ptr %769, align 4, !tbaa !189
  br label %771

771:                                              ; preds = %763, %766, %767
  %772 = phi float [ %768, %767 ], [ 0.000000e+00, %766 ], [ %765, %763 ]
  %773 = phi float [ %770, %767 ], [ 0.000000e+00, %766 ], [ 0.000000e+00, %763 ]
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %31, float noundef %772, float noundef %773)
  %774 = load ptr, ptr %4, align 8, !tbaa !5
  %775 = getelementptr inbounds i8, ptr %774, i64 164
  %776 = load i64, ptr %31, align 8
  store i64 %776, ptr %775, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %31) #14
  %777 = getelementptr inbounds i8, ptr %774, i64 96
  %778 = lshr i64 %776, 32
  %779 = insertelement <2 x i64> poison, i64 %776, i64 0
  %780 = insertelement <2 x i64> %779, i64 %778, i64 1
  %781 = trunc <2 x i64> %780 to <2 x i32>
  %782 = bitcast <2 x i32> %781 to <2 x float>
  %783 = load <2 x float>, ptr %777, align 8, !tbaa !117
  %784 = fadd <2 x float> %783, %782
  store <2 x float> %784, ptr %777, align 8, !tbaa !117
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %29) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %27) #14
  br label %785

785:                                              ; preds = %771, %677
  %786 = phi ptr [ %774, %771 ], [ %679, %677 ]
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %32) #14
  %787 = and i32 %.1, 83886080
  %brmerge411.demorgan = icmp ne i32 %787, 16777216
  %788 = getelementptr inbounds i8, ptr %134, i64 560
  %789 = or i1 %brmerge411.demorgan, %289
  %790 = select i1 %789, ptr %19, ptr %788
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(16) %32, ptr noundef nonnull align 4 dereferenceable(16) %790, i64 16, i1 false), !tbaa.struct !141
  %791 = call { <2 x float>, <2 x float> } @_ZNK11ImGuiWindow4RectEv(ptr noundef nonnull align 8 dereferenceable(973) %786)
  %792 = extractvalue { <2 x float>, <2 x float> } %791, 0
  %793 = extractvalue { <2 x float>, <2 x float> } %791, 1
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %33) #14
  %794 = load ptr, ptr %4, align 8, !tbaa !5
  %795 = call { <2 x float>, <2 x float> } @_ZNK11ImGuiWindow12TitleBarRectEv(ptr noundef nonnull align 8 dereferenceable(973) %794)
  %796 = extractvalue { <2 x float>, <2 x float> } %795, 0
  store <2 x float> %796, ptr %33, align 8
  %797 = getelementptr inbounds i8, ptr %33, i64 8
  %798 = extractvalue { <2 x float>, <2 x float> } %795, 1
  store <2 x float> %798, ptr %797, align 8
  %799 = load ptr, ptr %4, align 8, !tbaa !5
  %800 = getelementptr inbounds i8, ptr %799, i64 480
  store <2 x float> %792, ptr %800, align 8
  %.sroa.4.0..sroa_idx = getelementptr inbounds i8, ptr %799, i64 488
  store <2 x float> %793, ptr %.sroa.4.0..sroa_idx, align 8
  call void @_ZN6ImRect8ClipWithERKS_(ptr noundef nonnull align 4 dereferenceable(16) %800, ptr noundef nonnull align 4 dereferenceable(16) %32)
  %801 = load ptr, ptr %4, align 8
  %802 = getelementptr inbounds i8, ptr %801, i64 24
  %803 = getelementptr inbounds i8, ptr %801, i64 88
  %804 = getelementptr inbounds i8, ptr %801, i64 496
  %805 = getelementptr inbounds i8, ptr %801, i64 32
  %806 = load <2 x float>, ptr %802, align 8, !tbaa !117
  %807 = load <2 x float>, ptr %805, align 8, !tbaa !117
  %808 = fadd <2 x float> %806, %807
  %809 = load <4 x float>, ptr %803, align 8, !tbaa !117
  %810 = shufflevector <2 x float> %806, <2 x float> %808, <4 x i32> <i32 0, i32 1, i32 2, i32 3>
  %811 = fadd <4 x float> %810, %809
  %812 = fsub <4 x float> %810, %809
  %813 = shufflevector <4 x float> %811, <4 x float> %812, <4 x i32> <i32 0, i32 1, i32 6, i32 7>
  store <4 x float> %813, ptr %804, align 8, !tbaa !117
  %814 = and i32 %.1, 1025
  %brmerge413.not = icmp eq i32 %814, 1
  %815 = getelementptr inbounds i8, ptr %41, i64 14376
  %816 = getelementptr inbounds i8, ptr %801, i64 84
  %.in368 = select i1 %brmerge413.not, ptr %816, ptr %815
  %817 = load float, ptr %.in368, align 4, !tbaa !117
  %818 = extractelement <4 x float> %811, i64 0
  %819 = fadd float %818, 5.000000e-01
  %820 = getelementptr inbounds i8, ptr %801, i64 72
  %821 = load float, ptr %820, align 8, !tbaa !190
  %822 = fmul float %821, 5.000000e-01
  %823 = call noundef float @_ZL7ImFloorf(float noundef %822)
  %824 = load ptr, ptr %4, align 8, !tbaa !5
  %825 = getelementptr inbounds i8, ptr %824, i64 84
  %826 = load float, ptr %825, align 4, !tbaa !156
  %827 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %823, float noundef %826)
  %828 = fadd float %819, %827
  %829 = call noundef float @_ZL7ImFloorf(float noundef %828)
  %830 = load ptr, ptr %4, align 8, !tbaa !5
  %831 = getelementptr inbounds i8, ptr %830, i64 512
  store float %829, ptr %831, align 8, !tbaa !191
  %832 = getelementptr inbounds i8, ptr %830, i64 500
  %833 = load float, ptr %832, align 4, !tbaa !192
  %834 = fadd float %833, 5.000000e-01
  %835 = fadd float %817, %834
  %836 = call noundef float @_ZL7ImFloorf(float noundef %835)
  %837 = load ptr, ptr %4, align 8, !tbaa !5
  %838 = getelementptr inbounds i8, ptr %837, i64 516
  store float %836, ptr %838, align 4, !tbaa !193
  %839 = getelementptr inbounds i8, ptr %837, i64 504
  %840 = load float, ptr %839, align 8, !tbaa !194
  %841 = fadd float %840, 5.000000e-01
  %842 = getelementptr inbounds i8, ptr %837, i64 72
  %843 = load float, ptr %842, align 8, !tbaa !190
  %844 = fmul float %843, 5.000000e-01
  %845 = call noundef float @_ZL7ImFloorf(float noundef %844)
  %846 = load ptr, ptr %4, align 8, !tbaa !5
  %847 = getelementptr inbounds i8, ptr %846, i64 84
  %848 = load float, ptr %847, align 4, !tbaa !156
  %849 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %845, float noundef %848)
  %850 = fsub float %841, %849
  %851 = call noundef float @_ZL7ImFloorf(float noundef %850)
  %852 = load ptr, ptr %4, align 8, !tbaa !5
  %853 = getelementptr inbounds i8, ptr %852, i64 520
  store float %851, ptr %853, align 8, !tbaa !195
  %854 = getelementptr inbounds i8, ptr %852, i64 508
  %855 = load float, ptr %854, align 4, !tbaa !196
  %856 = fadd float %855, 5.000000e-01
  %857 = getelementptr inbounds i8, ptr %852, i64 84
  %858 = load float, ptr %857, align 4, !tbaa !156
  %859 = fsub float %856, %858
  %860 = call noundef float @_ZL7ImFloorf(float noundef %859)
  %861 = load ptr, ptr %4, align 8, !tbaa !5
  %862 = getelementptr inbounds i8, ptr %861, i64 524
  store float %860, ptr %862, align 4, !tbaa !197
  %863 = getelementptr inbounds i8, ptr %861, i64 512
  call void @_ZN6ImRect12ClipWithFullERKS_(ptr noundef nonnull align 4 dereferenceable(16) %863, ptr noundef nonnull align 4 dereferenceable(16) %32)
  %864 = load ptr, ptr %4, align 8, !tbaa !5
  %865 = getelementptr inbounds i8, ptr %864, i64 32
  %866 = load float, ptr %865, align 8, !tbaa !153
  %867 = fcmp ule float %866, 0.000000e+00
  %.not344.not = xor i1 %.not344, true
  %brmerge415 = select i1 %867, i1 true, i1 %.not344.not
  %brmerge416 = or i1 %.not355, %brmerge415
  br i1 %brmerge416, label %870, label %868

868:                                              ; preds = %785
  %869 = fmul float %866, 0x3FE4CCCCC0000000
  br label %873

870:                                              ; preds = %785
  %871 = load float, ptr %661, align 8, !tbaa !184
  %872 = fmul float %871, 1.600000e+01
  br label %873

873:                                              ; preds = %870, %868
  %.sink529 = phi float [ %872, %870 ], [ %869, %868 ]
  %874 = call noundef float @_ZL7ImFloorf(float noundef %.sink529)
  %.sink528 = load ptr, ptr %4, align 8, !tbaa !5
  %875 = getelementptr inbounds i8, ptr %.sink528, i64 608
  store float %874, ptr %875, align 8, !tbaa !198
  %876 = getelementptr inbounds i8, ptr %.sink528, i64 48
  %877 = load float, ptr %876, align 8, !tbaa !199
  %878 = getelementptr inbounds i8, ptr %.sink528, i64 72
  %879 = load float, ptr %878, align 8, !tbaa !190
  %880 = call float @llvm.fmuladd.f32(float %879, float 2.000000e+00, float %877)
  %881 = getelementptr inbounds i8, ptr %.sink528, i64 496
  %882 = call noundef float @_ZNK6ImRect8GetWidthEv(ptr noundef nonnull align 4 dereferenceable(16) %881)
  %883 = fsub float %880, %882
  %884 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef 0.000000e+00, float noundef %883)
  %885 = load ptr, ptr %4, align 8, !tbaa !5
  %886 = getelementptr inbounds i8, ptr %885, i64 132
  store float %884, ptr %886, align 4, !tbaa !200
  %887 = getelementptr inbounds i8, ptr %885, i64 52
  %888 = load float, ptr %887, align 4, !tbaa !201
  %889 = getelementptr inbounds i8, ptr %885, i64 76
  %890 = load float, ptr %889, align 4, !tbaa !202
  %891 = call float @llvm.fmuladd.f32(float %890, float 2.000000e+00, float %888)
  %892 = getelementptr inbounds i8, ptr %885, i64 496
  %893 = call noundef float @_ZNK6ImRect9GetHeightEv(ptr noundef nonnull align 4 dereferenceable(16) %892)
  %894 = fsub float %891, %893
  %895 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef 0.000000e+00, float noundef %894)
  %896 = load ptr, ptr %4, align 8, !tbaa !5
  %897 = getelementptr inbounds i8, ptr %896, i64 136
  store float %895, ptr %897, align 4, !tbaa !203
  %898 = call <2 x float> @_ZL38CalcNextScrollFromScrollTargetAndClampP11ImGuiWindow(ptr noundef %896)
  %899 = load ptr, ptr %4, align 8, !tbaa !5
  %900 = getelementptr inbounds i8, ptr %899, i64 124
  store <2 x float> %898, ptr %900, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %34) #14
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %34, float noundef 0x47EFFFFFE0000000, float noundef 0x47EFFFFFE0000000)
  %901 = load ptr, ptr %4, align 8, !tbaa !5
  %902 = getelementptr inbounds i8, ptr %901, i64 140
  %903 = load i64, ptr %34, align 8
  store i64 %903, ptr %902, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %34) #14
  %904 = getelementptr inbounds i8, ptr %901, i64 104
  store <2 x float> zeroinitializer, ptr %904, align 8, !tbaa !117
  %905 = getelementptr inbounds i8, ptr %901, i64 656
  %906 = load ptr, ptr %905, align 8, !tbaa !142
  %907 = load i32, ptr %906, align 8, !tbaa !204
  %908 = icmp eq i32 %907, 1
  br i1 %908, label %909, label %.critedge4

909:                                              ; preds = %873
  %910 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZN8ImVectorI9ImDrawCmdEixEi(ptr noundef nonnull align 8 dereferenceable(16) %906, i32 noundef 0)
  %911 = getelementptr inbounds i8, ptr %910, i64 32
  %912 = load i32, ptr %911, align 8, !tbaa !205
  %913 = icmp eq i32 %912, 0
  br i1 %913, label %914, label %.critedge4

.critedge4:                                       ; preds = %873, %909
  call void @__assert_fail(ptr noundef nonnull @.str.132, ptr noundef nonnull @.str.4, i32 noundef 6482, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5ImGui5BeginEPKcPbi) #13
  unreachable

914:                                              ; preds = %909
  %915 = load ptr, ptr %4, align 8, !tbaa !5
  %916 = getelementptr inbounds i8, ptr %915, i64 656
  %917 = load ptr, ptr %916, align 8, !tbaa !142
  %918 = getelementptr inbounds i8, ptr %41, i64 15352
  %919 = load ptr, ptr %918, align 8, !tbaa !207
  %920 = getelementptr inbounds i8, ptr %919, i64 64
  %921 = load ptr, ptr %920, align 8, !tbaa !208
  %922 = getelementptr inbounds i8, ptr %921, i64 8
  %923 = load ptr, ptr %922, align 8, !tbaa !209
  call void @_ZN10ImDrawList13PushTextureIDEPv(ptr noundef nonnull align 8 dereferenceable(196) %917, ptr noundef %923)
  %924 = getelementptr inbounds i8, ptr %32, i64 8
  call void @_ZN5ImGui12PushClipRectERK6ImVec2S2_b(ptr noundef nonnull align 4 dereferenceable(8) %32, ptr noundef nonnull align 4 dereferenceable(8) %924, i1 noundef zeroext false)
  br i1 %789, label %.thread446, label %925

925:                                              ; preds = %914
  %926 = getelementptr inbounds i8, ptr %134, i64 392
  %927 = load i32, ptr %926, align 8, !tbaa !179
  %928 = icmp sgt i32 %927, 1
  br i1 %928, label %929, label %.thread443

.thread443:                                       ; preds = %925
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %35) #14
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %36) #14
  br label %944

929:                                              ; preds = %925
  %930 = add nsw i32 %927, -2
  %931 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8ImVectorIP11ImGuiWindowEixEi(ptr noundef nonnull align 8 dereferenceable(16) %926, i32 noundef %930)
  %932 = load ptr, ptr %931, align 8, !tbaa !5
  %.not369 = icmp eq ptr %932, null
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %35) #14
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %36) #14
  br i1 %.not369, label %944, label %933

933:                                              ; preds = %929
  %934 = call { <2 x float>, <2 x float> } @_ZNK11ImGuiWindow4RectEv(ptr noundef nonnull align 8 dereferenceable(973) %932)
  %935 = extractvalue { <2 x float>, <2 x float> } %934, 0
  store <2 x float> %935, ptr %35, align 8
  %936 = getelementptr inbounds i8, ptr %35, i64 8
  %937 = extractvalue { <2 x float>, <2 x float> } %934, 1
  store <2 x float> %937, ptr %936, align 8
  %938 = load ptr, ptr %4, align 8, !tbaa !5
  %939 = call { <2 x float>, <2 x float> } @_ZNK11ImGuiWindow4RectEv(ptr noundef nonnull align 8 dereferenceable(973) %938)
  %940 = extractvalue { <2 x float>, <2 x float> } %939, 0
  store <2 x float> %940, ptr %36, align 8
  %941 = getelementptr inbounds i8, ptr %36, i64 8
  %942 = extractvalue { <2 x float>, <2 x float> } %939, 1
  store <2 x float> %942, ptr %941, align 8
  %943 = call noundef zeroext i1 @_ZNK6ImRect8OverlapsERKS_(ptr noundef nonnull align 4 dereferenceable(16) %35, ptr noundef nonnull align 4 dereferenceable(16) %36)
  br label %944

944:                                              ; preds = %.thread443, %929, %933
  %945 = phi i1 [ %943, %933 ], [ false, %929 ], [ false, %.thread443 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %36) #14
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %35) #14
  %946 = getelementptr inbounds i8, ptr %134, i64 656
  %947 = load ptr, ptr %946, align 8, !tbaa !142
  %948 = getelementptr inbounds i8, ptr %947, i64 32
  %949 = load i32, ptr %948, align 8, !tbaa !213
  %950 = load ptr, ptr %4, align 8, !tbaa !5
  %951 = getelementptr inbounds i8, ptr %950, i64 656
  %952 = load ptr, ptr %951, align 8, !tbaa !142
  %953 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZN8ImVectorI9ImDrawCmdE4backEv(ptr noundef nonnull align 8 dereferenceable(16) %952)
  %954 = getelementptr inbounds i8, ptr %953, i64 32
  %955 = load i32, ptr %954, align 8, !tbaa !205
  %956 = icmp ne i32 %955, 0
  %957 = icmp slt i32 %949, 1
  %or.cond421.not463 = select i1 %956, i1 true, i1 %957
  %or.cond457.not = or i1 %945, %or.cond421.not463
  br i1 %or.cond457.not, label %.thread446, label %958

958:                                              ; preds = %944
  %959 = load ptr, ptr %946, align 8, !tbaa !142
  %960 = load ptr, ptr %4, align 8, !tbaa !5
  %961 = getelementptr inbounds i8, ptr %960, i64 656
  store ptr %959, ptr %961, align 8, !tbaa !142
  br label %.thread446

.thread446:                                       ; preds = %944, %914, %958
  %.1302448 = phi i1 [ true, %958 ], [ false, %914 ], [ false, %944 ]
  %962 = getelementptr inbounds i8, ptr %41, i64 18928
  %963 = load ptr, ptr %962, align 8, !tbaa !214
  %.not370 = icmp eq ptr %963, null
  br i1 %.not370, label %964, label %967

964:                                              ; preds = %.thread446
  %965 = getelementptr inbounds i8, ptr %41, i64 18560
  %966 = load ptr, ptr %965, align 8, !tbaa !215
  br label %967

967:                                              ; preds = %.thread446, %964
  %968 = phi ptr [ %966, %964 ], [ %963, %.thread446 ]
  br i1 %.2300.shrunk, label %._crit_edge492, label %969

._crit_edge492:                                   ; preds = %967
  %.pre493 = load ptr, ptr %4, align 8, !tbaa !5
  br label %976

969:                                              ; preds = %967
  %.not371 = icmp eq ptr %968, null
  %.pre494 = load ptr, ptr %4, align 8, !tbaa !5
  br i1 %.not371, label %976, label %970

970:                                              ; preds = %969
  %971 = getelementptr inbounds i8, ptr %.pre494, i64 896
  %972 = load ptr, ptr %971, align 8, !tbaa !216
  %973 = getelementptr inbounds i8, ptr %968, i64 896
  %974 = load ptr, ptr %973, align 8, !tbaa !216
  %975 = icmp eq ptr %972, %974
  br label %976

976:                                              ; preds = %._crit_edge492, %969, %970
  %977 = phi ptr [ %.pre493, %._crit_edge492 ], [ %.pre494, %969 ], [ %.pre494, %970 ]
  %978 = phi i1 [ true, %._crit_edge492 ], [ false, %969 ], [ %975, %970 ]
  call void @_ZN5ImGuiL23RenderWindowDecorationsEP11ImGuiWindowRK6ImRectbbiPKjf(ptr noundef %977, ptr noundef nonnull align 4 dereferenceable(16) %33, i1 noundef zeroext %978, i1 noundef zeroext true, i32 noundef %660, ptr noundef nonnull %26, float noundef %670)
  %.pre495 = load ptr, ptr %4, align 8, !tbaa !5
  br i1 %.1302448, label %979, label %982

979:                                              ; preds = %976
  %980 = getelementptr inbounds i8, ptr %.pre495, i64 664
  %981 = getelementptr inbounds i8, ptr %.pre495, i64 656
  store ptr %980, ptr %981, align 8, !tbaa !142
  br label %982

982:                                              ; preds = %979, %976
  %983 = and i32 %.1, 8
  %.not372 = icmp eq i32 %983, 0
  %984 = getelementptr inbounds i8, ptr %.pre495, i64 64
  %985 = load float, ptr %984, align 8, !tbaa !217
  %986 = fcmp une float %985, 0.000000e+00
  br i1 %986, label %1008, label %987

987:                                              ; preds = %982
  %988 = and i32 %.1, 2056
  %989 = icmp eq i32 %988, 2048
  br i1 %989, label %990, label %993

990:                                              ; preds = %987
  %991 = getelementptr inbounds i8, ptr %.pre495, i64 48
  %992 = load float, ptr %991, align 8, !tbaa !199
  br label %993

993:                                              ; preds = %987, %990
  %994 = phi float [ %992, %990 ], [ 0.000000e+00, %987 ]
  %995 = getelementptr inbounds i8, ptr %.pre495, i64 32
  %996 = load float, ptr %995, align 8, !tbaa !153
  %997 = getelementptr inbounds i8, ptr %.pre495, i64 72
  %998 = load float, ptr %997, align 8, !tbaa !190
  %999 = fneg float %998
  %1000 = call float @llvm.fmuladd.f32(float %999, float 2.000000e+00, float %996)
  %1001 = getelementptr inbounds i8, ptr %.pre495, i64 88
  %1002 = load float, ptr %1001, align 8, !tbaa !170
  %1003 = getelementptr inbounds i8, ptr %.pre495, i64 96
  %1004 = load float, ptr %1003, align 8, !tbaa !171
  %1005 = fadd float %1002, %1004
  %1006 = fsub float %1000, %1005
  %1007 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %994, float noundef %1006)
  %.pre496 = load ptr, ptr %4, align 8, !tbaa !5
  br label %1008

1008:                                             ; preds = %982, %993
  %1009 = phi ptr [ %.pre496, %993 ], [ %.pre495, %982 ]
  %1010 = phi float [ %1007, %993 ], [ %985, %982 ]
  %1011 = getelementptr inbounds i8, ptr %1009, i64 68
  %1012 = load float, ptr %1011, align 4, !tbaa !218
  %1013 = fcmp une float %1012, 0.000000e+00
  br i1 %1013, label %1033, label %1014

1014:                                             ; preds = %1008
  br i1 %.not372, label %1015, label %1018

1015:                                             ; preds = %1014
  %1016 = getelementptr inbounds i8, ptr %1009, i64 52
  %1017 = load float, ptr %1016, align 4, !tbaa !201
  br label %1018

1018:                                             ; preds = %1014, %1015
  %1019 = phi float [ %1017, %1015 ], [ 0.000000e+00, %1014 ]
  %1020 = getelementptr inbounds i8, ptr %1009, i64 36
  %1021 = load float, ptr %1020, align 4, !tbaa !155
  %1022 = getelementptr inbounds i8, ptr %1009, i64 76
  %1023 = load float, ptr %1022, align 4, !tbaa !202
  %1024 = fneg float %1023
  %1025 = call float @llvm.fmuladd.f32(float %1024, float 2.000000e+00, float %1021)
  %1026 = getelementptr inbounds i8, ptr %1009, i64 92
  %1027 = load float, ptr %1026, align 4, !tbaa !172
  %1028 = getelementptr inbounds i8, ptr %1009, i64 100
  %1029 = load float, ptr %1028, align 4, !tbaa !173
  %1030 = fadd float %1027, %1029
  %1031 = fsub float %1025, %1030
  %1032 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %1019, float noundef %1031)
  %.pre497 = load ptr, ptr %4, align 8, !tbaa !5
  br label %1033

1033:                                             ; preds = %1008, %1018
  %1034 = phi ptr [ %.pre497, %1018 ], [ %1009, %1008 ]
  %1035 = phi float [ %1032, %1018 ], [ %1012, %1008 ]
  %1036 = getelementptr inbounds i8, ptr %1034, i64 496
  %1037 = load float, ptr %1036, align 8, !tbaa !219
  %1038 = getelementptr inbounds i8, ptr %1034, i64 124
  %1039 = load float, ptr %1038, align 4, !tbaa !220
  %1040 = fsub float %1037, %1039
  %1041 = getelementptr inbounds i8, ptr %1034, i64 72
  %1042 = load float, ptr %1041, align 8, !tbaa !190
  %1043 = getelementptr inbounds i8, ptr %1034, i64 84
  %1044 = load float, ptr %1043, align 4, !tbaa !156
  %1045 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %1042, float noundef %1044)
  %1046 = fadd float %1040, %1045
  %1047 = call noundef float @_ZL7ImFloorf(float noundef %1046)
  %1048 = load ptr, ptr %4, align 8, !tbaa !5
  %1049 = getelementptr inbounds i8, ptr %1048, i64 528
  store float %1047, ptr %1049, align 8, !tbaa !221
  %1050 = getelementptr inbounds i8, ptr %1048, i64 500
  %1051 = load float, ptr %1050, align 4, !tbaa !192
  %1052 = getelementptr inbounds i8, ptr %1048, i64 128
  %1053 = load float, ptr %1052, align 4, !tbaa !222
  %1054 = fsub float %1051, %1053
  %1055 = getelementptr inbounds i8, ptr %1048, i64 76
  %1056 = load float, ptr %1055, align 4, !tbaa !202
  %1057 = getelementptr inbounds i8, ptr %1048, i64 84
  %1058 = load float, ptr %1057, align 4, !tbaa !156
  %1059 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %1056, float noundef %1058)
  %1060 = fadd float %1054, %1059
  %1061 = call noundef float @_ZL7ImFloorf(float noundef %1060)
  %1062 = load ptr, ptr %4, align 8, !tbaa !5
  %1063 = getelementptr inbounds i8, ptr %1062, i64 532
  store float %1061, ptr %1063, align 4, !tbaa !223
  %1064 = getelementptr inbounds i8, ptr %1062, i64 528
  %1065 = load float, ptr %1064, align 8, !tbaa !221
  %1066 = getelementptr inbounds i8, ptr %1062, i64 536
  %1067 = insertelement <2 x float> poison, float %1010, i64 0
  %1068 = insertelement <2 x float> %1067, float %1035, i64 1
  %1069 = insertelement <2 x float> poison, float %1065, i64 0
  %1070 = insertelement <2 x float> %1069, float %1061, i64 1
  %1071 = fadd <2 x float> %1068, %1070
  store <2 x float> %1071, ptr %1066, align 8, !tbaa !117
  %1072 = getelementptr inbounds i8, ptr %1062, i64 544
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %1072, ptr noundef nonnull align 8 dereferenceable(16) %1064, i64 16, i1 false), !tbaa.struct !141
  %1073 = getelementptr inbounds i8, ptr %1062, i64 24
  %1074 = getelementptr inbounds i8, ptr %1062, i64 124
  %1075 = getelementptr inbounds i8, ptr %1062, i64 72
  %1076 = getelementptr inbounds i8, ptr %1062, i64 88
  %1077 = getelementptr inbounds i8, ptr %1062, i64 576
  %1078 = load <2 x float>, ptr %1073, align 8, !tbaa !117
  %1079 = load <2 x float>, ptr %1074, align 4, !tbaa !117
  %1080 = fsub <2 x float> %1078, %1079
  %1081 = load <2 x float>, ptr %1075, align 8, !tbaa !117
  %1082 = fadd <2 x float> %1080, %1081
  %1083 = load <2 x float>, ptr %1076, align 8, !tbaa !117
  %1084 = fadd <2 x float> %1082, %1083
  store <2 x float> %1084, ptr %1077, align 8, !tbaa !117
  %1085 = getelementptr inbounds i8, ptr %1062, i64 64
  %1086 = load float, ptr %1085, align 8, !tbaa !217
  %1087 = fcmp une float %1086, 0.000000e+00
  br i1 %1087, label %1099, label %1088

1088:                                             ; preds = %1033
  %1089 = getelementptr inbounds i8, ptr %1062, i64 32
  %1090 = load float, ptr %1089, align 8, !tbaa !153
  %1091 = extractelement <2 x float> %1081, i64 0
  %1092 = fneg float %1091
  %1093 = call float @llvm.fmuladd.f32(float %1092, float 2.000000e+00, float %1090)
  %1094 = getelementptr inbounds i8, ptr %1062, i64 96
  %1095 = load float, ptr %1094, align 8, !tbaa !171
  %1096 = extractelement <2 x float> %1083, i64 0
  %1097 = fadd float %1096, %1095
  %1098 = fsub float %1093, %1097
  br label %1099

1099:                                             ; preds = %1033, %1088
  %1100 = phi float [ %1098, %1088 ], [ %1086, %1033 ]
  %1101 = extractelement <2 x float> %1084, i64 0
  %1102 = fadd float %1101, %1100
  %1103 = getelementptr inbounds i8, ptr %1062, i64 584
  store float %1102, ptr %1103, align 8, !tbaa !224
  %1104 = getelementptr inbounds i8, ptr %1062, i64 68
  %1105 = load float, ptr %1104, align 4, !tbaa !218
  %1106 = fcmp une float %1105, 0.000000e+00
  br i1 %1106, label %1118, label %1107

1107:                                             ; preds = %1099
  %1108 = getelementptr inbounds i8, ptr %1062, i64 36
  %1109 = load float, ptr %1108, align 4, !tbaa !155
  %1110 = extractelement <2 x float> %1081, i64 1
  %1111 = fneg float %1110
  %1112 = call float @llvm.fmuladd.f32(float %1111, float 2.000000e+00, float %1109)
  %1113 = getelementptr inbounds i8, ptr %1062, i64 100
  %1114 = load float, ptr %1113, align 4, !tbaa !173
  %1115 = extractelement <2 x float> %1083, i64 1
  %1116 = fadd float %1115, %1114
  %1117 = fsub float %1112, %1116
  br label %1118

1118:                                             ; preds = %1099, %1107
  %1119 = phi float [ %1117, %1107 ], [ %1105, %1099 ]
  %1120 = extractelement <2 x float> %1084, i64 1
  %1121 = fadd float %1120, %1119
  %1122 = getelementptr inbounds i8, ptr %1062, i64 588
  store float %1121, ptr %1122, align 4, !tbaa !225
  %1123 = extractelement <2 x float> %1081, i64 0
  %1124 = extractelement <2 x float> %1083, i64 0
  %1125 = fadd <2 x float> %1081, %1083
  %1126 = extractelement <2 x float> %1079, i64 0
  %1127 = fsub <2 x float> %1125, %1079
  %1128 = extractelement <2 x float> %1127, i64 0
  %1129 = getelementptr inbounds i8, ptr %1062, i64 316
  store float %1128, ptr %1129, align 4, !tbaa !226
  %1130 = getelementptr inbounds i8, ptr %1062, i64 320
  store <2 x float> zeroinitializer, ptr %1130, align 8, !tbaa !117
  %1131 = extractelement <2 x float> %1078, i64 0
  %1132 = fpext float %1131 to double
  %1133 = fpext float %1123 to double
  %1134 = fadd double %1132, %1133
  %1135 = fpext float %1126 to double
  %1136 = fsub double %1134, %1135
  %1137 = fpext float %1124 to double
  %1138 = fadd double %1136, %1137
  %1139 = fadd double %1138, 0.000000e+00
  %1140 = extractelement <2 x float> %1078, i64 1
  %1141 = fpext float %1140 to double
  %1142 = extractelement <2 x float> %1081, i64 1
  %1143 = fpext float %1142 to double
  %1144 = fadd double %1141, %1143
  %1145 = extractelement <2 x float> %1079, i64 1
  %1146 = fpext float %1145 to double
  %1147 = fsub double %1144, %1146
  %1148 = extractelement <2 x float> %1083, i64 1
  %1149 = fpext float %1148 to double
  %1150 = fadd double %1147, %1149
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %37) #14
  %1151 = fptrunc double %1139 to float
  %1152 = fptrunc double %1150 to float
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %37, float noundef %1151, float noundef %1152)
  %1153 = load ptr, ptr %4, align 8, !tbaa !5
  %1154 = getelementptr inbounds i8, ptr %1153, i64 264
  %1155 = load i64, ptr %37, align 8
  store i64 %1155, ptr %1154, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %37) #14
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %38) #14
  %1156 = trunc i64 %1155 to i32
  %1157 = bitcast i32 %1156 to float
  %1158 = fpext float %1157 to double
  %1159 = fsub double %1139, %1158
  %1160 = fptrunc double %1159 to float
  %1161 = lshr i64 %1155, 32
  %1162 = trunc nuw i64 %1161 to i32
  %1163 = bitcast i32 %1162 to float
  %1164 = fpext float %1163 to double
  %1165 = fsub double %1150, %1164
  %1166 = fptrunc double %1165 to float
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %38, float noundef %1160, float noundef %1166)
  %1167 = load ptr, ptr %4, align 8, !tbaa !5
  %1168 = getelementptr inbounds i8, ptr %1167, i64 328
  %1169 = load i64, ptr %38, align 8
  store i64 %1169, ptr %1168, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %38) #14
  %1170 = getelementptr inbounds i8, ptr %1167, i64 248
  %1171 = getelementptr inbounds i8, ptr %1167, i64 264
  %1172 = load i64, ptr %1171, align 8
  store i64 %1172, ptr %1170, align 8
  %1173 = getelementptr inbounds i8, ptr %1167, i64 256
  store i64 %1172, ptr %1173, align 8
  %1174 = getelementptr inbounds i8, ptr %1167, i64 272
  store i64 %1172, ptr %1174, align 8
  %1175 = getelementptr inbounds i8, ptr %1167, i64 280
  store i64 %1172, ptr %1175, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %39) #14
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %39, float noundef 0.000000e+00, float noundef 0.000000e+00)
  %1176 = load ptr, ptr %4, align 8, !tbaa !5
  %1177 = getelementptr inbounds i8, ptr %1176, i64 296
  %1178 = load i64, ptr %39, align 8
  store i64 %1178, ptr %1177, align 8
  %1179 = getelementptr inbounds i8, ptr %1176, i64 288
  store i64 %1178, ptr %1179, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %39) #14
  %1180 = getelementptr inbounds i8, ptr %1176, i64 304
  %1181 = getelementptr inbounds i8, ptr %1176, i64 336
  store i32 0, ptr %1181, align 8, !tbaa !123
  %1182 = getelementptr inbounds i8, ptr %1176, i64 342
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(10) %1180, i8 0, i64 10, i1 false)
  %1183 = load i16, ptr %1182, align 2, !tbaa !227
  %1184 = getelementptr inbounds i8, ptr %1176, i64 340
  store i16 %1183, ptr %1184, align 4, !tbaa !228
  store i16 0, ptr %1182, align 2, !tbaa !227
  %1185 = getelementptr inbounds i8, ptr %1176, i64 344
  store i8 0, ptr %1185, align 8, !tbaa !229
  %1186 = getelementptr inbounds i8, ptr %1176, i64 136
  %1187 = load float, ptr %1186, align 4, !tbaa !203
  %1188 = fcmp ogt float %1187, 0.000000e+00
  %1189 = getelementptr inbounds i8, ptr %1176, i64 345
  %1190 = zext i1 %1188 to i8
  store i8 %1190, ptr %1189, align 1, !tbaa !230
  %1191 = getelementptr inbounds i8, ptr %1176, i64 346
  store i8 0, ptr %1191, align 2, !tbaa !231
  %1192 = getelementptr inbounds i8, ptr %1176, i64 356
  %1193 = load float, ptr %405, align 4, !tbaa !159
  call void @_ZN16ImGuiMenuColumns6UpdateEfb(ptr noundef nonnull align 4 dereferenceable(26) %1192, float noundef %1193, i1 noundef zeroext %.0287.in429)
  %1194 = load ptr, ptr %4, align 8, !tbaa !5
  %1195 = getelementptr inbounds i8, ptr %1194, i64 384
  store i32 0, ptr %1195, align 8, !tbaa !232
  %1196 = getelementptr inbounds i8, ptr %1194, i64 388
  store i32 0, ptr %1196, align 4, !tbaa !233
  %1197 = getelementptr inbounds i8, ptr %1194, i64 392
  call void @_ZN8ImVectorIP11ImGuiWindowE6resizeEi(ptr noundef nonnull align 8 dereferenceable(16) %1197, i32 noundef 0)
  %1198 = load ptr, ptr %4, align 8, !tbaa !5
  %1199 = getelementptr inbounds i8, ptr %1198, i64 616
  %1200 = getelementptr inbounds i8, ptr %1198, i64 408
  store ptr %1199, ptr %1200, align 8, !tbaa !234
  %1201 = getelementptr inbounds i8, ptr %1198, i64 416
  store ptr null, ptr %1201, align 8, !tbaa !235
  %1202 = getelementptr inbounds i8, ptr %1198, i64 428
  store i32 1, ptr %1202, align 4, !tbaa !236
  br i1 %135, label %1206, label %1203

1203:                                             ; preds = %1118
  %1204 = getelementptr inbounds i8, ptr %134, i64 428
  %1205 = load i32, ptr %1204, align 4, !tbaa !236
  br label %1206

1206:                                             ; preds = %1118, %1203
  %1207 = phi i32 [ %1205, %1203 ], [ 1, %1118 ]
  %1208 = getelementptr inbounds i8, ptr %1198, i64 432
  store i32 %1207, ptr %1208, align 8, !tbaa !237
  %1209 = getelementptr inbounds i8, ptr %1198, i64 608
  %1210 = load float, ptr %1209, align 8, !tbaa !198
  %1211 = getelementptr inbounds i8, ptr %1198, i64 436
  store float %1210, ptr %1211, align 4, !tbaa !238
  %1212 = getelementptr inbounds i8, ptr %1198, i64 440
  store float -1.000000e+00, ptr %1212, align 8, !tbaa !239
  %1213 = getelementptr inbounds i8, ptr %1198, i64 448
  call void @_ZN8ImVectorIfE6resizeEi(ptr noundef nonnull align 8 dereferenceable(16) %1213, i32 noundef 0)
  %1214 = load ptr, ptr %4, align 8, !tbaa !5
  %1215 = getelementptr inbounds i8, ptr %1214, i64 464
  call void @_ZN8ImVectorIfE6resizeEi(ptr noundef nonnull align 8 dereferenceable(16) %1215, i32 noundef 0)
  %1216 = load ptr, ptr %4, align 8, !tbaa !5
  %1217 = getelementptr inbounds i8, ptr %1216, i64 200
  %1218 = load i8, ptr %1217, align 8, !tbaa !174
  %1219 = icmp sgt i8 %1218, 0
  br i1 %1219, label %1220, label %1222

1220:                                             ; preds = %1206
  %1221 = add nsw i8 %1218, -1
  store i8 %1221, ptr %1217, align 8, !tbaa !174
  br label %1222

1222:                                             ; preds = %1220, %1206
  %1223 = getelementptr inbounds i8, ptr %1216, i64 201
  %1224 = load i8, ptr %1223, align 1, !tbaa !175
  %1225 = icmp sgt i8 %1224, 0
  br i1 %1225, label %1226, label %1228

1226:                                             ; preds = %1222
  %1227 = add nsw i8 %1224, -1
  store i8 %1227, ptr %1223, align 1, !tbaa !175
  br label %1228

1228:                                             ; preds = %1226, %1222
  br i1 %.2300.shrunk, label %1229, label %1231

1229:                                             ; preds = %1228
  call void @_ZN5ImGui11FocusWindowEP11ImGuiWindow(ptr noundef nonnull %1216)
  %1230 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN5ImGui13NavInitWindowEP11ImGuiWindowb(ptr noundef %1230, i1 noundef zeroext false)
  %.pre499.pre = load ptr, ptr %4, align 8, !tbaa !5
  br label %1231

1231:                                             ; preds = %1229, %1228
  %.pre499 = phi ptr [ %.pre499.pre, %1229 ], [ %1216, %1228 ]
  br i1 %.not353, label %1232, label %1243

1232:                                             ; preds = %1231
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %40) #14
  %1233 = load float, ptr %33, align 8, !tbaa !240
  %1234 = getelementptr inbounds i8, ptr %.pre499, i64 84
  %1235 = load float, ptr %1234, align 4, !tbaa !156
  %1236 = fadd float %1233, %1235
  %1237 = getelementptr inbounds i8, ptr %33, i64 4
  %1238 = load float, ptr %1237, align 4, !tbaa !241
  %1239 = load float, ptr %797, align 8, !tbaa !242
  %1240 = fsub float %1239, %1235
  %1241 = getelementptr inbounds i8, ptr %33, i64 12
  %1242 = load float, ptr %1241, align 4, !tbaa !243
  call void @_ZN6ImRectC2Effff(ptr noundef nonnull align 4 dereferenceable(16) %40, float noundef %1236, float noundef %1238, float noundef %1240, float noundef %1242)
  call void @_ZN5ImGuiL28RenderWindowTitleBarContentsEP11ImGuiWindowRK6ImRectPKcPb(ptr noundef %.pre499, ptr noundef nonnull align 4 dereferenceable(16) %40, ptr noundef nonnull %0, ptr noundef %1)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %40) #14
  %.pre498 = load ptr, ptr %4, align 8, !tbaa !5
  br label %1243

1243:                                             ; preds = %1232, %1231
  %1244 = phi ptr [ %.pre498, %1232 ], [ %.pre499, %1231 ]
  %1245 = getelementptr inbounds i8, ptr %1244, i64 594
  store i16 0, ptr %1245, align 2, !tbaa !244
  %1246 = getelementptr inbounds i8, ptr %1244, i64 592
  store i16 0, ptr %1246, align 8, !tbaa !245
  %1247 = getelementptr inbounds i8, ptr %1244, i64 116
  %1248 = load i32, ptr %1247, align 4, !tbaa !246
  %1249 = getelementptr inbounds i8, ptr %41, i64 18208
  %1250 = load i32, ptr %1249, align 8, !tbaa !247
  %1251 = call noundef zeroext i1 @_ZN5ImGui19IsMouseHoveringRectERK6ImVec2S2_b(ptr noundef nonnull align 4 dereferenceable(8) %33, ptr noundef nonnull align 4 dereferenceable(8) %797, i1 noundef zeroext false)
  %1252 = zext i1 %1251 to i32
  call void @_ZN5ImGui15SetLastItemDataEjiiRK6ImRect(i32 noundef %1248, i32 noundef %1250, i32 noundef %1252, ptr noundef nonnull align 4 dereferenceable(16) %33)
  %1253 = getelementptr inbounds i8, ptr %41, i64 18212
  %1254 = load i32, ptr %1253, align 4, !tbaa !248
  %.not373 = icmp eq i32 %1254, 0
  br i1 %.not373, label %1265, label %1255

1255:                                             ; preds = %1243
  %1256 = load ptr, ptr %4, align 8, !tbaa !5
  %1257 = getelementptr inbounds i8, ptr %1256, i64 8
  %1258 = load i32, ptr %1257, align 8, !tbaa !120
  %1259 = icmp eq i32 %1258, %1254
  br i1 %1259, label %1264, label %1260

1260:                                             ; preds = %1255
  %1261 = getelementptr inbounds i8, ptr %1256, i64 116
  %1262 = load i32, ptr %1261, align 4, !tbaa !246
  %1263 = icmp eq i32 %1262, %1254
  br i1 %1263, label %1264, label %1265

1264:                                             ; preds = %1260, %1255
  call void @_ZN5ImGui34DebugLocateItemResolveWithLastItemEv()
  br label %1265

1265:                                             ; preds = %1264, %1260, %1243
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %33) #14
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %32) #14
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %26) #14
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %25) #14
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %22) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #14
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %20) #14
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %19) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #14
  br label %1268

1266:                                             ; preds = %285
  %1267 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZL16SetCurrentWindowP11ImGuiWindow(ptr noundef %1267)
  br label %1268

1268:                                             ; preds = %1266, %1265
  %1269 = load ptr, ptr %4, align 8, !tbaa !5
  %1270 = getelementptr inbounds i8, ptr %1269, i64 512
  %1271 = getelementptr inbounds i8, ptr %1269, i64 520
  call void @_ZN5ImGui12PushClipRectERK6ImVec2S2_b(ptr noundef nonnull align 4 dereferenceable(8) %1270, ptr noundef nonnull align 4 dereferenceable(8) %1271, i1 noundef zeroext true)
  %1272 = load ptr, ptr %4, align 8, !tbaa !5
  %1273 = getelementptr inbounds i8, ptr %1272, i64 176
  store i8 0, ptr %1273, align 8, !tbaa !249
  %1274 = getelementptr inbounds i8, ptr %1272, i64 186
  %1275 = load i16, ptr %1274, align 2, !tbaa !250
  %1276 = add i16 %1275, 1
  store i16 %1276, ptr %1274, align 2, !tbaa !250
  call void @_ZN19ImGuiNextWindowData10ClearFlagsEv(ptr noundef nonnull align 8 dereferenceable(108) %184)
  br i1 %.not329, label %._crit_edge504, label %1277

._crit_edge504:                                   ; preds = %1268
  %.pre505 = load ptr, ptr %4, align 8, !tbaa !5
  %.phi.trans.insert506 = getelementptr inbounds i8, ptr %.pre505, i64 179
  %.pre507 = load i8, ptr %.phi.trans.insert506, align 1, !tbaa !251, !range !76
  br label %1391

1277:                                             ; preds = %1268
  br i1 %137, label %1278, label %.critedge425

1278:                                             ; preds = %1277
  %1279 = and i32 %.1, 1
  %.not374 = icmp eq i32 %1279, 0
  br i1 %.not374, label %1280, label %1281

1280:                                             ; preds = %1278
  call void @__assert_fail(ptr noundef nonnull @.str.133, ptr noundef nonnull @.str.4, i32 noundef 6646, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5ImGui5BeginEPKcPbi) #13
  unreachable

1281:                                             ; preds = %1278
  %1282 = and i32 %.1, 64
  %.not375 = icmp eq i32 %1282, 0
  br i1 %.not375, label %1283, label %1326

1283:                                             ; preds = %1281
  %1284 = load ptr, ptr %4, align 8, !tbaa !5
  %1285 = getelementptr inbounds i8, ptr %1284, i64 200
  %1286 = load i8, ptr %1285, align 8, !tbaa !174
  %1287 = icmp slt i8 %1286, 1
  br i1 %1287, label %1288, label %1326

1288:                                             ; preds = %1283
  %1289 = getelementptr inbounds i8, ptr %1284, i64 201
  %1290 = load i8, ptr %1289, align 1, !tbaa !175
  %1291 = icmp slt i8 %1290, 1
  br i1 %1291, label %1292, label %1326

1292:                                             ; preds = %1288
  %1293 = and i32 %.1, 8388608
  %.not376 = icmp eq i32 %1293, 0
  br i1 %.not376, label %1307, label %1294

1294:                                             ; preds = %1292
  %1295 = getelementptr inbounds i8, ptr %41, i64 18628
  %1296 = load i8, ptr %1295, align 4, !tbaa !252, !range !76, !noundef !77
  %1297 = trunc nuw i8 %1296 to i1
  br i1 %1297, label %1298, label %1307

1298:                                             ; preds = %1294
  %1299 = getelementptr inbounds i8, ptr %41, i64 18560
  %1300 = load ptr, ptr %1299, align 8, !tbaa !215
  %.not377 = icmp eq ptr %1300, null
  br i1 %.not377, label %1307, label %1301

1301:                                             ; preds = %1298
  %1302 = getelementptr inbounds i8, ptr %1300, i64 904
  %1303 = load ptr, ptr %1302, align 8, !tbaa !253
  %1304 = getelementptr inbounds i8, ptr %1284, i64 904
  %1305 = load ptr, ptr %1304, align 8, !tbaa !253
  %1306 = icmp eq ptr %1303, %1305
  br label %1307

1307:                                             ; preds = %1294, %1298, %1301, %1292
  %1308 = phi i1 [ false, %1292 ], [ false, %1298 ], [ false, %1294 ], [ %1306, %1301 ]
  %1309 = getelementptr inbounds i8, ptr %41, i64 23560
  %1310 = load i8, ptr %1309, align 8, !tbaa !254, !range !76, !noundef !77
  %1311 = trunc nuw i8 %1310 to i1
  %brmerge423 = select i1 %1311, i1 true, i1 %1308
  br i1 %brmerge423, label %1326, label %1312

1312:                                             ; preds = %1307
  %1313 = getelementptr inbounds i8, ptr %1284, i64 480
  %1314 = load float, ptr %1313, align 8, !tbaa !255
  %1315 = getelementptr inbounds i8, ptr %1284, i64 488
  %1316 = load float, ptr %1315, align 8, !tbaa !256
  %1317 = fcmp ult float %1314, %1316
  br i1 %1317, label %1318, label %1324

1318:                                             ; preds = %1312
  %1319 = getelementptr inbounds i8, ptr %1284, i64 484
  %1320 = load float, ptr %1319, align 4, !tbaa !257
  %1321 = getelementptr inbounds i8, ptr %1284, i64 492
  %1322 = load float, ptr %1321, align 4, !tbaa !258
  %1323 = fcmp ult float %1320, %1322
  br i1 %1323, label %1326, label %1324

1324:                                             ; preds = %1318, %1312
  %1325 = getelementptr inbounds i8, ptr %1284, i64 208
  store i8 1, ptr %1325, align 8, !tbaa !150
  br label %1326

1326:                                             ; preds = %1324, %1318, %1307, %1288, %1283, %1281
  br i1 %135, label %.critedge425, label %1327

1327:                                             ; preds = %1326
  %1328 = getelementptr inbounds i8, ptr %134, i64 177
  %1329 = load i8, ptr %1328, align 1, !tbaa !169, !range !76, !noundef !77
  %1330 = trunc nuw i8 %1329 to i1
  br i1 %1330, label %.thread450, label %1333

.thread450:                                       ; preds = %1327
  %1331 = load ptr, ptr %4, align 8, !tbaa !5
  %1332 = getelementptr inbounds i8, ptr %1331, i64 208
  store i8 1, ptr %1332, align 8, !tbaa !150
  br label %1343

1333:                                             ; preds = %1327
  %1334 = getelementptr inbounds i8, ptr %134, i64 208
  %1335 = load i8, ptr %1334, align 8, !tbaa !150
  %1336 = icmp sgt i8 %1335, 0
  br i1 %1336, label %1337, label %.thread449

1337:                                             ; preds = %1333
  %1338 = load ptr, ptr %4, align 8, !tbaa !5
  %1339 = getelementptr inbounds i8, ptr %1338, i64 208
  store i8 1, ptr %1339, align 8, !tbaa !150
  br label %.thread449

.thread449:                                       ; preds = %1333, %1337
  %1340 = getelementptr inbounds i8, ptr %134, i64 209
  %1341 = load i8, ptr %1340, align 1, !tbaa !138
  %1342 = icmp sgt i8 %1341, 0
  br i1 %1342, label %.thread449._crit_edge, label %.critedge425

.thread449._crit_edge:                            ; preds = %.thread449
  %.pre500 = load ptr, ptr %4, align 8, !tbaa !5
  br label %1343

1343:                                             ; preds = %.thread449._crit_edge, %.thread450
  %1344 = phi ptr [ %.pre500, %.thread449._crit_edge ], [ %1331, %.thread450 ]
  %1345 = getelementptr inbounds i8, ptr %1344, i64 209
  store i8 1, ptr %1345, align 1, !tbaa !138
  br label %.critedge425

.critedge425:                                     ; preds = %1326, %.thread449, %1343, %1277
  %1346 = load float, ptr %42, align 4, !tbaa !259
  %1347 = fcmp ugt float %1346, 0.000000e+00
  %.pre501 = load ptr, ptr %4, align 8, !tbaa !5
  %.phi.trans.insert502 = getelementptr inbounds i8, ptr %.pre501, i64 208
  br i1 %1347, label %1348, label %.thread523

.thread523:                                       ; preds = %.critedge425
  store i8 1, ptr %.phi.trans.insert502, align 8, !tbaa !150
  br label %.thread451

1348:                                             ; preds = %.critedge425
  %.pre503 = load i8, ptr %.phi.trans.insert502, align 8, !tbaa !150
  %1349 = icmp sgt i8 %.pre503, 0
  br i1 %1349, label %.thread451, label %1350

1350:                                             ; preds = %1348
  %1351 = getelementptr inbounds i8, ptr %.pre501, i64 209
  %1352 = load i8, ptr %1351, align 1, !tbaa !138
  %1353 = icmp sgt i8 %1352, 0
  br i1 %1353, label %.thread451, label %1354

1354:                                             ; preds = %1350
  %1355 = getelementptr inbounds i8, ptr %.pre501, i64 210
  %1356 = load i8, ptr %1355, align 2, !tbaa !151
  %1357 = icmp sgt i8 %1356, 0
  %1358 = zext i1 %1357 to i8
  br label %.thread451

.thread451:                                       ; preds = %.thread523, %1348, %1354, %1350
  %.not464 = phi i1 [ false, %1350 ], [ true, %1354 ], [ false, %1348 ], [ false, %.thread523 ]
  %1359 = phi i8 [ 1, %1350 ], [ %1358, %1354 ], [ 1, %1348 ], [ 1, %.thread523 ]
  %1360 = getelementptr inbounds i8, ptr %.pre501, i64 181
  store i8 %1359, ptr %1360, align 1, !tbaa !260
  %1361 = getelementptr inbounds i8, ptr %.pre501, i64 211
  %1362 = load i8, ptr %1361, align 1, !tbaa !261
  %1363 = icmp sgt i8 %1362, 0
  br i1 %1363, label %1364, label %1369

1364:                                             ; preds = %.thread451
  %1365 = add nsw i8 %1362, -1
  store i8 %1365, ptr %1361, align 1, !tbaa !261
  %1366 = getelementptr inbounds i8, ptr %.pre501, i64 12
  %1367 = load i32, ptr %1366, align 4, !tbaa !103
  %1368 = or i32 %1367, 786944
  store i32 %1368, ptr %1366, align 4, !tbaa !103
  br label %1369

1369:                                             ; preds = %1364, %.thread451
  %1370 = getelementptr inbounds i8, ptr %.pre501, i64 177
  %1371 = load i8, ptr %1370, align 1, !tbaa !169, !range !76, !noundef !77
  %1372 = trunc nuw i8 %1371 to i1
  br i1 %1372, label %1377, label %1373

1373:                                             ; preds = %1369
  %1374 = getelementptr inbounds i8, ptr %.pre501, i64 174
  %1375 = load i8, ptr %1374, align 2, !tbaa !139, !range !76, !noundef !77
  %1376 = trunc nuw i8 %1375 to i1
  %brmerge427.not = and i1 %.not464, %1376
  br i1 %brmerge427.not, label %1389, label %1377

1377:                                             ; preds = %1373, %1369
  %1378 = getelementptr inbounds i8, ptr %.pre501, i64 200
  %1379 = load i8, ptr %1378, align 8, !tbaa !174
  %1380 = icmp slt i8 %1379, 1
  br i1 %1380, label %1381, label %1389

1381:                                             ; preds = %1377
  %1382 = getelementptr inbounds i8, ptr %.pre501, i64 201
  %1383 = load i8, ptr %1382, align 1, !tbaa !175
  %1384 = icmp slt i8 %1383, 1
  br i1 %1384, label %1385, label %1389

1385:                                             ; preds = %1381
  %1386 = getelementptr inbounds i8, ptr %.pre501, i64 209
  %1387 = load i8, ptr %1386, align 1, !tbaa !138
  %1388 = icmp slt i8 %1387, 1
  %spec.select428 = zext i1 %1388 to i8
  br label %1389

1389:                                             ; preds = %1385, %1373, %1377, %1381
  %.0 = phi i8 [ 0, %1381 ], [ 0, %1377 ], [ 0, %1373 ], [ %spec.select428, %1385 ]
  %1390 = getelementptr inbounds i8, ptr %.pre501, i64 179
  store i8 %.0, ptr %1390, align 1, !tbaa !251
  br label %1391

1391:                                             ; preds = %._crit_edge504, %1389
  %1392 = phi i8 [ %.pre507, %._crit_edge504 ], [ %.0, %1389 ]
  %1393 = trunc nuw i8 %1392 to i1
  %1394 = xor i1 %1393, true
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %5) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #14
  ret i1 %1394
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui12PushClipRectERK6ImVec2S2_b(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8), i1 noundef zeroext) local_unnamed_addr #8

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN5ImGui15GetMainViewportEv() local_unnamed_addr #8

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

; Function Attrs: mustprogress uwtable
declare dso_local <2 x float> @_ZNK6ImRect7GetSizeEv(ptr noundef nonnull align 4 dereferenceable(16)) local_unnamed_addr #9 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui13NavInitWindowEP11ImGuiWindowb(ptr noundef, i1 noundef zeroext) local_unnamed_addr #8

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN5ImGui16FindWindowByNameEPKc(ptr noundef) local_unnamed_addr #8

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL22CalcWindowContentSizesP11ImGuiWindowP6ImVec2S2_(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #8

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

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

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

; Function Attrs: mustprogress uwtable
declare hidden noundef ptr @_ZL15CreateNewWindowPKci(ptr noundef, i32 noundef) local_unnamed_addr #9

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

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZL28SetWindowConditionAllowFlagsP11ImGuiWindowib(ptr noundef, i32 noundef, i1 noundef zeroext) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL28UpdateWindowInFocusOrderListP11ImGuiWindowbi(ptr noundef, i1 noundef zeroext, i32 noundef) local_unnamed_addr #8

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN20ImGuiWindowStackDataC2Ev(ptr noundef nonnull align 8 dereferenceable(86)) unnamed_addr #11 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui14PushFocusScopeEj(i32 noundef) local_unnamed_addr #8

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui13SetWindowSizeEP11ImGuiWindowRK6ImVec2i(ptr noundef, ptr noundef nonnull align 4 dereferenceable(8), i32 noundef) local_unnamed_addr #8

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN5ImGui18SetWindowCollapsedEP11ImGuiWindowbi(ptr noundef, i1 noundef zeroext, i32 noundef) local_unnamed_addr #1

declare void @_ZN10ImDrawList17_ResetForNewFrameEv(ptr noundef nonnull align 8 dereferenceable(196)) local_unnamed_addr #10

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i32 @strcmp(ptr nocapture noundef, ptr nocapture noundef) local_unnamed_addr #12

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL16SetCurrentWindowP11ImGuiWindow(ptr noundef) local_unnamed_addr #8

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef float @_ZNK11ImGuiWindow14TitleBarHeightEv(ptr noundef nonnull align 8 dereferenceable(973)) local_unnamed_addr #8 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef float @_ZNK11ImGuiWindow13MenuBarHeightEv(ptr noundef nonnull align 8 dereferenceable(973)) local_unnamed_addr #8 align 2

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local <2 x float> @_ZN5ImGui25FindBestWindowPosForPopupEP11ImGuiWindow(ptr noundef) local_unnamed_addr #9

; Function Attrs: mustprogress uwtable
declare dso_local { <2 x float>, <2 x float> } @_ZNK14ImGuiViewportP11GetWorkRectEv(ptr noundef nonnull align 8 dereferenceable(184)) local_unnamed_addr #8 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef float @_ZNK6ImRect8GetWidthEv(ptr noundef nonnull align 4 dereferenceable(16)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef float @_ZNK6ImRect9GetHeightEv(ptr noundef nonnull align 4 dereferenceable(16)) local_unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @_ZL14ClampWindowPosP11ImGuiWindowRK6ImRect(ptr noundef, ptr noundef nonnull align 4 dereferenceable(16)) local_unnamed_addr #3

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui26BringWindowToDisplayBehindEP11ImGuiWindowS1_(ptr noundef, ptr noundef) local_unnamed_addr #8

; Function Attrs: mustprogress uwtable
declare hidden noundef zeroext i1 @_ZN5ImGuiL24UpdateWindowManualResizeEP11ImGuiWindowRK6ImVec2PiiPjRK6ImRect(ptr noundef, ptr noundef nonnull align 4 dereferenceable(8), ptr noundef, i32 noundef, ptr noundef, ptr noundef nonnull align 4 dereferenceable(16)) local_unnamed_addr #9

; Function Attrs: mustprogress uwtable
declare dso_local { <2 x float>, <2 x float> } @_ZNK11ImGuiWindow4RectEv(ptr noundef nonnull align 8 dereferenceable(973)) local_unnamed_addr #8 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6ImRect12ClipWithFullERKS_(ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(16)) local_unnamed_addr #9 align 2

; Function Attrs: mustprogress uwtable
declare hidden <2 x float> @_ZL38CalcNextScrollFromScrollTargetAndClampP11ImGuiWindow(ptr noundef) local_unnamed_addr #9

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

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN5ImGuiL23RenderWindowDecorationsEP11ImGuiWindowRK6ImRectbbiPKjf(ptr noundef, ptr noundef nonnull align 4 dereferenceable(16), i1 noundef zeroext, i1 noundef zeroext, i32 noundef, ptr noundef, float noundef) local_unnamed_addr #9

declare void @_ZN16ImGuiMenuColumns6UpdateEfb(ptr noundef nonnull align 4 dereferenceable(26), float noundef, i1 noundef zeroext) local_unnamed_addr #10

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN5ImGuiL28RenderWindowTitleBarContentsEP11ImGuiWindowRK6ImRectPKcPb(ptr noundef, ptr noundef nonnull align 4 dereferenceable(16), ptr noundef, ptr noundef) local_unnamed_addr #9

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui34DebugLocateItemResolveWithLastItemEv() local_unnamed_addr #8

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN19ImGuiNextWindowData10ClearFlagsEv(ptr noundef nonnull align 8 dereferenceable(108)) local_unnamed_addr #4 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 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { inlinehint mustprogress uwtable "min-legal-vector-width"="64" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #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 nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #6 = { 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 #7 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #8 = { 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 #9 = { 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 #10 = { "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 #11 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #12 = { mustprogress nofree nounwind willreturn memory(argmem: read) "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 #13 = { noreturn nounwind }
attributes #14 = { nounwind }
attributes #15 = { nounwind willreturn memory(read) }

!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 = !{!7, !7, i64 0}
!10 = !{!11, !12, i64 15916}
!11 = !{!"_ZTS12ImGuiContext", !12, i64 0, !12, i64 1, !13, i64 8, !19, i64 14272, !19, i64 14288, !20, i64 14304, !6, i64 15352, !16, i64 15360, !16, i64 15364, !21, i64 15368, !24, i64 15896, !14, i64 15904, !14, i64 15908, !14, i64 15912, !12, i64 15916, !12, i64 15917, !12, i64 15918, !12, i64 15919, !12, i64 15920, !6, i64 15928, !25, i64 15936, !25, i64 15952, !25, i64 15968, !26, i64 15984, !27, i64 16000, !14, i64 16016, !15, i64 16020, !6, i64 16032, !6, i64 16040, !6, i64 16048, !6, i64 16056, !6, i64 16064, !15, i64 16072, !14, i64 16080, !16, i64 16084, !15, i64 16088, !15, i64 16096, !14, i64 16104, !14, i64 16108, !14, i64 16112, !12, i64 16116, !12, i64 16117, !16, i64 16120, !16, i64 16124, !14, i64 16128, !14, i64 16132, !16, i64 16136, !12, i64 16140, !12, i64 16141, !12, i64 16142, !12, i64 16143, !12, i64 16144, !12, i64 16145, !15, i64 16148, !6, i64 16160, !29, i64 16168, !14, i64 16172, !14, i64 16176, !12, i64 16180, !12, i64 16181, !6, i64 16184, !14, i64 16192, !16, i64 16196, !7, i64 16200, !30, i64 17880, !14, i64 18192, !12, i64 18196, !14, i64 18200, !14, i64 18204, !14, i64 18208, !14, i64 18212, !32, i64 18216, !33, i64 18236, !35, i64 18296, !36, i64 18408, !37, i64 18424, !38, i64 18440, !39, i64 18456, !40, i64 18472, !41, i64 18488, !42, i64 18504, !42, i64 18520, !14, i64 18536, !43, i64 18544, !6, i64 18560, !14, i64 18568, !14, i64 18572, !14, i64 18576, !14, i64 18580, !14, i64 18584, !14, i64 18588, !14, i64 18592, !14, i64 18596, !14, i64 18600, !14, i64 18604, !14, i64 18608, !14, i64 18612, !29, i64 18616, !44, i64 18620, !12, i64 18624, !12, i64 18625, !12, i64 18626, !12, i64 18627, !12, i64 18628, !12, i64 18629, !12, i64 18630, !14, i64 18632, !34, i64 18636, !12, i64 18652, !12, i64 18653, !12, i64 18654, !14, i64 18656, !14, i64 18660, !14, i64 18664, !14, i64 18668, !14, i64 18672, !14, i64 18676, !34, i64 18680, !34, i64 18696, !14, i64 18712, !14, i64 18716, !14, i64 18720, !45, i64 18728, !45, i64 18776, !45, i64 18824, !45, i64 18872, !14, i64 18920, !14, i64 18924, !6, i64 18928, !6, i64 18936, !6, i64 18944, !16, i64 18952, !16, i64 18956, !12, i64 18960, !15, i64 18964, !15, i64 18972, !16, i64 18980, !14, i64 18984, !12, i64 18988, !12, i64 18989, !12, i64 18990, !14, i64 18992, !14, i64 18996, !14, i64 19000, !46, i64 19008, !34, i64 19072, !14, i64 19088, !14, i64 19092, !16, i64 19096, !14, i64 19100, !14, i64 19104, !14, i64 19108, !14, i64 19112, !47, i64 19120, !7, i64 19136, !14, i64 19152, !48, i64 19160, !6, i64 19176, !14, i64 19184, !49, i64 19192, !50, i64 19208, !52, i64 19248, !53, i64 19264, !6, i64 19280, !54, i64 19288, !56, i64 19328, !57, i64 19344, !14, i64 19360, !14, i64 19364, !16, i64 19368, !16, i64 19372, !15, i64 19376, !58, i64 19384, !62, i64 23112, !14, i64 23224, !14, i64 23228, !16, i64 23232, !16, i64 23236, !14, i64 23240, !22, i64 23244, !64, i64 23260, !16, i64 23308, !16, i64 23312, !12, i64 23316, !12, i64 23317, !16, i64 23320, !16, i64 23324, !16, i64 23328, !16, i64 23332, !17, i64 23336, !17, i64 23338, !59, i64 23344, !39, i64 23360, !65, i64 23376, !65, i64 23392, !7, i64 23408, !12, i64 23409, !16, i64 23412, !66, i64 23416, !67, i64 23432, !68, i64 23448, !69, i64 23464, !70, i64 23480, !14, i64 23496, !7, i64 23504, !12, i64 23560, !71, i64 23564, !6, i64 23568, !66, i64 23576, !6, i64 23592, !6, i64 23600, !16, i64 23608, !12, i64 23612, !14, i64 23616, !14, i64 23620, !14, i64 23624, !14, i64 23628, !66, i64 23632, !72, i64 23648, !7, i64 23672, !12, i64 23673, !7, i64 23674, !14, i64 23676, !73, i64 23680, !74, i64 23696, !7, i64 23736, !14, i64 23976, !14, i64 23980, !16, i64 23984, !14, i64 23988, !14, i64 23992, !14, i64 23996, !59, i64 24000}
!12 = !{!"bool", !7, i64 0}
!13 = !{!"_ZTS7ImGuiIO", !14, i64 0, !14, i64 4, !15, i64 8, !16, i64 16, !16, i64 20, !6, i64 24, !6, i64 32, !16, i64 40, !16, i64 44, !16, i64 48, !16, i64 52, !16, i64 56, !16, i64 60, !16, i64 64, !6, i64 72, !6, i64 80, !16, i64 88, !12, i64 92, !6, i64 96, !15, i64 104, !12, i64 112, !12, i64 113, !12, i64 114, !12, i64 115, !12, i64 116, !12, i64 117, !12, i64 118, !12, i64 119, !16, i64 120, !6, i64 128, !6, i64 136, !6, i64 144, !6, i64 152, !6, i64 160, !6, i64 168, !6, i64 176, !6, i64 184, !6, i64 192, !6, i64 200, !12, i64 208, !12, i64 209, !12, i64 210, !12, i64 211, !12, i64 212, !12, i64 213, !12, i64 214, !16, i64 216, !14, i64 220, !14, i64 224, !14, i64 228, !14, i64 232, !14, i64 236, !15, i64 240, !7, i64 248, !7, i64 2856, !7, i64 3508, !15, i64 3572, !7, i64 3580, !16, i64 3588, !16, i64 3592, !12, i64 3596, !12, i64 3597, !12, i64 3598, !12, i64 3599, !14, i64 3600, !7, i64 3604, !12, i64 14036, !15, i64 14040, !7, i64 14048, !7, i64 14088, !7, i64 14128, !7, i64 14133, !7, i64 14138, !7, i64 14148, !7, i64 14158, !7, i64 14163, !7, i64 14168, !7, i64 14176, !7, i64 14196, !7, i64 14216, !16, i64 14236, !12, i64 14240, !12, i64 14241, !7, i64 14242, !12, i64 14243, !17, i64 14244, !18, i64 14248}
!14 = !{!"int", !7, i64 0}
!15 = !{!"_ZTS6ImVec2", !16, i64 0, !16, i64 4}
!16 = !{!"float", !7, i64 0}
!17 = !{!"short", !7, i64 0}
!18 = !{!"_ZTS8ImVectorItE", !14, i64 0, !14, i64 4, !6, i64 8}
!19 = !{!"_ZTS8ImVectorI15ImGuiInputEventE", !14, i64 0, !14, i64 4, !6, i64 8}
!20 = !{!"_ZTS10ImGuiStyle", !16, i64 0, !16, i64 4, !15, i64 8, !16, i64 16, !16, i64 20, !15, i64 24, !15, i64 32, !14, i64 40, !16, i64 44, !16, i64 48, !16, i64 52, !16, i64 56, !15, i64 60, !16, i64 68, !16, i64 72, !15, i64 76, !15, i64 84, !15, i64 92, !15, i64 100, !16, i64 108, !16, i64 112, !16, i64 116, !16, i64 120, !16, i64 124, !16, i64 128, !16, i64 132, !16, i64 136, !16, i64 140, !16, i64 144, !14, i64 148, !15, i64 152, !15, i64 160, !15, i64 168, !15, i64 176, !16, i64 184, !12, i64 188, !12, i64 189, !12, i64 190, !16, i64 192, !16, i64 196, !7, i64 200}
!21 = !{!"_ZTS20ImDrawListSharedData", !15, i64 0, !6, i64 8, !16, i64 16, !16, i64 20, !16, i64 24, !22, i64 28, !14, i64 44, !23, i64 48, !7, i64 64, !16, i64 448, !7, i64 452, !6, i64 520}
!22 = !{!"_ZTS6ImVec4", !16, i64 0, !16, i64 4, !16, i64 8, !16, i64 12}
!23 = !{!"_ZTS8ImVectorI6ImVec2E", !14, i64 0, !14, i64 4, !6, i64 8}
!24 = !{!"double", !7, i64 0}
!25 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !14, i64 0, !14, i64 4, !6, i64 8}
!26 = !{!"_ZTS8ImVectorI20ImGuiWindowStackDataE", !14, i64 0, !14, i64 4, !6, i64 8}
!27 = !{!"_ZTS12ImGuiStorage", !28, i64 0}
!28 = !{!"_ZTS8ImVectorIN12ImGuiStorage16ImGuiStoragePairEE", !14, i64 0, !14, i64 4, !6, i64 8}
!29 = !{!"_ZTS16ImGuiInputSource", !7, i64 0}
!30 = !{!"_ZTS20ImGuiKeyRoutingTable", !7, i64 0, !31, i64 280, !31, i64 296}
!31 = !{!"_ZTS8ImVectorI19ImGuiKeyRoutingDataE", !14, i64 0, !14, i64 4, !6, i64 8}
!32 = !{!"_ZTS17ImGuiNextItemData", !14, i64 0, !16, i64 4, !14, i64 8, !14, i64 12, !12, i64 16}
!33 = !{!"_ZTS17ImGuiLastItemData", !14, i64 0, !14, i64 4, !14, i64 8, !34, i64 12, !34, i64 28, !34, i64 44}
!34 = !{!"_ZTS6ImRect", !15, i64 0, !15, i64 8}
!35 = !{!"_ZTS19ImGuiNextWindowData", !14, i64 0, !14, i64 4, !14, i64 8, !14, i64 12, !15, i64 16, !15, i64 24, !15, i64 32, !15, i64 40, !15, i64 48, !12, i64 56, !34, i64 60, !6, i64 80, !6, i64 88, !16, i64 96, !15, i64 100}
!36 = !{!"_ZTS8ImVectorI13ImGuiColorModE", !14, i64 0, !14, i64 4, !6, i64 8}
!37 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !14, i64 0, !14, i64 4, !6, i64 8}
!38 = !{!"_ZTS8ImVectorIP6ImFontE", !14, i64 0, !14, i64 4, !6, i64 8}
!39 = !{!"_ZTS8ImVectorIjE", !14, i64 0, !14, i64 4, !6, i64 8}
!40 = !{!"_ZTS8ImVectorIiE", !14, i64 0, !14, i64 4, !6, i64 8}
!41 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !14, i64 0, !14, i64 4, !6, i64 8}
!42 = !{!"_ZTS8ImVectorI14ImGuiPopupDataE", !14, i64 0, !14, i64 4, !6, i64 8}
!43 = !{!"_ZTS8ImVectorIP14ImGuiViewportPE", !14, i64 0, !14, i64 4, !6, i64 8}
!44 = !{!"_ZTS13ImGuiNavLayer", !7, i64 0}
!45 = !{!"_ZTS16ImGuiNavItemData", !6, i64 0, !14, i64 8, !14, i64 12, !34, i64 16, !14, i64 32, !16, i64 36, !16, i64 40, !16, i64 44}
!46 = !{!"_ZTS12ImGuiPayload", !6, i64 0, !14, i64 8, !14, i64 12, !14, i64 16, !14, i64 20, !7, i64 24, !12, i64 57, !12, i64 58}
!47 = !{!"_ZTS8ImVectorIhE", !14, i64 0, !14, i64 4, !6, i64 8}
!48 = !{!"_ZTS8ImVectorI20ImGuiListClipperDataE", !14, i64 0, !14, i64 4, !6, i64 8}
!49 = !{!"_ZTS8ImVectorI18ImGuiTableTempDataE", !14, i64 0, !14, i64 4, !6, i64 8}
!50 = !{!"_ZTS6ImPoolI10ImGuiTableE", !51, i64 0, !27, i64 16, !14, i64 32, !14, i64 36}
!51 = !{!"_ZTS8ImVectorI10ImGuiTableE", !14, i64 0, !14, i64 4, !6, i64 8}
!52 = !{!"_ZTS8ImVectorIfE", !14, i64 0, !14, i64 4, !6, i64 8}
!53 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !14, i64 0, !14, i64 4, !6, i64 8}
!54 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !55, i64 0, !27, i64 16, !14, i64 32, !14, i64 36}
!55 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !14, i64 0, !14, i64 4, !6, i64 8}
!56 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !14, i64 0, !14, i64 4, !6, i64 8}
!57 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !14, i64 0, !14, i64 4, !6, i64 8}
!58 = !{!"_ZTS19ImGuiInputTextState", !6, i64 0, !14, i64 8, !14, i64 12, !14, i64 16, !18, i64 24, !59, i64 40, !59, i64 56, !12, i64 72, !14, i64 76, !16, i64 80, !60, i64 84, !16, i64 3712, !12, i64 3716, !12, i64 3717, !12, i64 3718, !14, i64 3720}
!59 = !{!"_ZTS8ImVectorIcE", !14, i64 0, !14, i64 4, !6, i64 8}
!60 = !{!"_ZTSN5ImStb17STB_TexteditStateE", !14, i64 0, !14, i64 4, !14, i64 8, !7, i64 12, !14, i64 16, !7, i64 20, !7, i64 21, !7, i64 22, !7, i64 23, !7, i64 24, !7, i64 25, !7, i64 26, !16, i64 28, !61, i64 32}
!61 = !{!"_ZTSN5ImStb12StbUndoStateE", !7, i64 0, !7, i64 1584, !17, i64 3582, !17, i64 3584, !14, i64 3588, !14, i64 3592}
!62 = !{!"_ZTS6ImFont", !52, i64 0, !16, i64 16, !16, i64 20, !18, i64 24, !63, i64 40, !6, i64 56, !6, i64 64, !6, i64 72, !17, i64 80, !17, i64 82, !17, i64 84, !17, i64 86, !12, i64 88, !16, i64 92, !16, i64 96, !16, i64 100, !14, i64 104, !7, i64 108}
!63 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !14, i64 0, !14, i64 4, !6, i64 8}
!64 = !{!"_ZTS21ImGuiComboPreviewData", !34, i64 0, !15, i64 16, !15, i64 24, !15, i64 32, !16, i64 40, !14, i64 44}
!65 = !{!"_ZTS20ImGuiPlatformImeData", !12, i64 0, !15, i64 4, !16, i64 12}
!66 = !{!"_ZTS15ImGuiTextBuffer", !59, i64 0}
!67 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !14, i64 0, !14, i64 4, !6, i64 8}
!68 = !{!"_ZTS13ImChunkStreamI19ImGuiWindowSettingsE", !59, i64 0}
!69 = !{!"_ZTS13ImChunkStreamI18ImGuiTableSettingsE", !59, i64 0}
!70 = !{!"_ZTS8ImVectorI16ImGuiContextHookE", !14, i64 0, !14, i64 4, !6, i64 8}
!71 = !{!"_ZTS12ImGuiLogType", !7, i64 0}
!72 = !{!"_ZTS14ImGuiTextIndex", !40, i64 0, !14, i64 16}
!73 = !{!"_ZTS18ImGuiMetricsConfig", !12, i64 0, !12, i64 1, !12, i64 2, !12, i64 3, !12, i64 4, !12, i64 5, !12, i64 6, !14, i64 8, !14, i64 12}
!74 = !{!"_ZTS14ImGuiStackTool", !14, i64 0, !14, i64 4, !14, i64 8, !75, i64 16, !12, i64 32, !16, i64 36}
!75 = !{!"_ZTS8ImVectorI19ImGuiStackLevelInfoE", !14, i64 0, !14, i64 4, !6, i64 8}
!76 = !{i8 0, i8 2}
!77 = !{}
!78 = !{!11, !14, i64 15908}
!79 = !{!11, !14, i64 15904}
!80 = !{!81, !14, i64 600}
!81 = !{!"_ZTS11ImGuiWindow", !6, i64 0, !14, i64 8, !14, i64 12, !6, i64 16, !15, i64 24, !15, i64 32, !15, i64 40, !15, i64 48, !15, i64 56, !15, i64 64, !15, i64 72, !16, i64 80, !16, i64 84, !16, i64 88, !16, i64 92, !16, i64 96, !16, i64 100, !16, i64 104, !16, i64 108, !14, i64 112, !14, i64 116, !14, i64 120, !15, i64 124, !15, i64 132, !15, i64 140, !15, i64 148, !15, i64 156, !15, i64 164, !12, i64 172, !12, i64 173, !12, i64 174, !12, i64 175, !12, i64 176, !12, i64 177, !12, i64 178, !12, i64 179, !12, i64 180, !12, i64 181, !12, i64 182, !12, i64 183, !12, i64 184, !7, i64 185, !17, i64 186, !17, i64 188, !17, i64 190, !17, i64 192, !17, i64 194, !14, i64 196, !7, i64 200, !7, i64 201, !7, i64 202, !12, i64 203, !14, i64 204, !7, i64 208, !7, i64 209, !7, i64 210, !7, i64 211, !14, i64 212, !14, i64 213, !14, i64 214, !15, i64 216, !15, i64 224, !39, i64 232, !82, i64 248, !34, i64 480, !34, i64 496, !34, i64 512, !34, i64 528, !34, i64 544, !34, i64 560, !34, i64 576, !85, i64 592, !85, i64 596, !14, i64 600, !16, i64 604, !16, i64 608, !27, i64 616, !86, i64 632, !16, i64 648, !14, i64 652, !6, i64 656, !87, i64 664, !6, i64 864, !6, i64 872, !6, i64 880, !6, i64 888, !6, i64 896, !6, i64 904, !6, i64 912, !7, i64 920, !7, i64 928, !14, i64 960, !14, i64 964, !14, i64 968, !12, i64 972}
!82 = !{!"_ZTS19ImGuiWindowTempData", !15, i64 0, !15, i64 8, !15, i64 16, !15, i64 24, !15, i64 32, !15, i64 40, !15, i64 48, !16, i64 56, !16, i64 60, !12, i64 64, !12, i64 65, !83, i64 68, !83, i64 72, !83, i64 76, !15, i64 80, !44, i64 88, !17, i64 92, !17, i64 94, !12, i64 96, !12, i64 97, !12, i64 98, !15, i64 100, !84, i64 108, !14, i64 136, !14, i64 140, !25, i64 144, !6, i64 160, !6, i64 168, !14, i64 176, !14, i64 180, !14, i64 184, !16, i64 188, !16, i64 192, !52, i64 200, !52, i64 216}
!83 = !{!"_ZTS6ImVec1", !16, i64 0}
!84 = !{!"_ZTS16ImGuiMenuColumns", !14, i64 0, !14, i64 4, !17, i64 8, !17, i64 10, !17, i64 12, !17, i64 14, !17, i64 16, !7, i64 18}
!85 = !{!"_ZTS8ImVec2ih", !17, i64 0, !17, i64 2}
!86 = !{!"_ZTS8ImVectorI15ImGuiOldColumnsE", !14, i64 0, !14, i64 4, !6, i64 8}
!87 = !{!"_ZTS10ImDrawList", !88, i64 0, !18, i64 16, !89, i64 32, !14, i64 48, !14, i64 52, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !90, i64 88, !91, i64 104, !23, i64 120, !92, i64 136, !93, i64 168, !16, i64 192}
!88 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !14, i64 0, !14, i64 4, !6, i64 8}
!89 = !{!"_ZTS8ImVectorI10ImDrawVertE", !14, i64 0, !14, i64 4, !6, i64 8}
!90 = !{!"_ZTS8ImVectorI6ImVec4E", !14, i64 0, !14, i64 4, !6, i64 8}
!91 = !{!"_ZTS8ImVectorIPvE", !14, i64 0, !14, i64 4, !6, i64 8}
!92 = !{!"_ZTS15ImDrawCmdHeader", !22, i64 0, !6, i64 16, !14, i64 24}
!93 = !{!"_ZTS18ImDrawListSplitter", !14, i64 0, !14, i64 4, !53, i64 8}
!94 = !{!11, !14, i64 15984}
!95 = !{!11, !12, i64 15917}
!96 = !{!81, !12, i64 182}
!97 = !{!11, !14, i64 18520}
!98 = !{!81, !14, i64 196}
!99 = !{!100, !14, i64 0}
!100 = !{!"_ZTS14ImGuiPopupData", !14, i64 0, !6, i64 8, !6, i64 16, !14, i64 24, !14, i64 28, !14, i64 32, !15, i64 36, !15, i64 44}
!101 = !{!100, !6, i64 8}
!102 = !{!81, !12, i64 180}
!103 = !{!81, !14, i64 12}
!104 = !{!11, !24, i64 15896}
!105 = !{!81, !16, i64 604}
!106 = !{!81, !17, i64 190}
!107 = !{!11, !14, i64 16016}
!108 = !{!81, !17, i64 192}
!109 = !{!110, !6, i64 0}
!110 = !{!"_ZTS20ImGuiWindowStackData", !6, i64 0, !33, i64 8, !111, i64 68}
!111 = !{!"_ZTS15ImGuiStackSizes", !17, i64 0, !17, i64 2, !17, i64 4, !17, i64 6, !17, i64 8, !17, i64 10, !17, i64 12, !17, i64 14, !17, i64 16}
!112 = !{!81, !6, i64 864}
!113 = !{!81, !14, i64 232}
!114 = !{!11, !6, i64 16032}
!115 = !{i64 0, i64 4, !116, i64 4, i64 4, !116, i64 8, i64 4, !116, i64 12, i64 4, !117, i64 16, i64 4, !117, i64 20, i64 4, !117, i64 24, i64 4, !117, i64 28, i64 4, !117, i64 32, i64 4, !117, i64 36, i64 4, !117, i64 40, i64 4, !117, i64 44, i64 4, !117, i64 48, i64 4, !117, i64 52, i64 4, !117, i64 56, i64 4, !117}
!116 = !{!14, !14, i64 0}
!117 = !{!16, !16, i64 0}
!118 = !{!11, !14, i64 18536}
!119 = !{!81, !6, i64 872}
!120 = !{!81, !14, i64 8}
!121 = !{!11, !14, i64 18204}
!122 = !{!81, !14, i64 960}
!123 = !{!81, !44, i64 336}
!124 = !{!100, !14, i64 24}
!125 = !{!11, !14, i64 18296}
!126 = !{!11, !14, i64 18300}
!127 = !{!11, !14, i64 18304}
!128 = !{!11, !16, i64 18328}
!129 = !{!11, !16, i64 18332}
!130 = !{!11, !16, i64 18344}
!131 = !{!81, !16, i64 140}
!132 = !{!81, !16, i64 148}
!133 = !{!11, !16, i64 18348}
!134 = !{!81, !16, i64 144}
!135 = !{!81, !16, i64 152}
!136 = !{!11, !12, i64 18352}
!137 = !{!11, !14, i64 18308}
!138 = !{!81, !7, i64 209}
!139 = !{!81, !12, i64 174}
!140 = !{!81, !12, i64 184}
!141 = !{i64 0, i64 4, !117, i64 4, i64 4, !117, i64 8, i64 4, !117, i64 12, i64 4, !117}
!142 = !{!81, !6, i64 656}
!143 = !{!81, !14, i64 424}
!144 = !{!81, !12, i64 972}
!145 = !{!11, !6, i64 18944}
!146 = !{!81, !6, i64 0}
!147 = !{!81, !14, i64 112}
!148 = !{!149, !149, i64 0}
!149 = !{!"long", !7, i64 0}
!150 = !{!81, !7, i64 208}
!151 = !{!81, !7, i64 210}
!152 = !{!81, !16, i64 40}
!153 = !{!81, !16, i64 32}
!154 = !{!81, !16, i64 44}
!155 = !{!81, !16, i64 36}
!156 = !{!81, !16, i64 84}
!157 = !{!20, !16, i64 48}
!158 = !{!20, !16, i64 12}
!159 = !{!20, !16, i64 76}
!160 = !{!11, !16, i64 18396}
!161 = !{!81, !16, i64 348}
!162 = !{!11, !16, i64 18400}
!163 = !{!81, !16, i64 352}
!164 = !{!11, !6, i64 16040}
!165 = !{!11, !14, i64 16108}
!166 = !{!11, !14, i64 16112}
!167 = !{!17, !17, i64 0}
!168 = !{!81, !12, i64 178}
!169 = !{!81, !12, i64 177}
!170 = !{!81, !16, i64 88}
!171 = !{!81, !16, i64 96}
!172 = !{!81, !16, i64 92}
!173 = !{!81, !16, i64 100}
!174 = !{!81, !7, i64 200}
!175 = !{!81, !7, i64 201}
!176 = !{!81, !12, i64 203}
!177 = !{!15, !16, i64 4}
!178 = !{!81, !14, i64 204}
!179 = !{!81, !14, i64 392}
!180 = !{!81, !16, i64 216}
!181 = !{!81, !16, i64 80}
!182 = !{!81, !6, i64 880}
!183 = !{!11, !12, i64 126}
!184 = !{!11, !16, i64 15360}
!185 = !{!81, !7, i64 185}
!186 = !{!81, !12, i64 173}
!187 = !{!81, !12, i64 172}
!188 = !{!15, !16, i64 0}
!189 = !{!20, !16, i64 116}
!190 = !{!81, !16, i64 72}
!191 = !{!81, !16, i64 512}
!192 = !{!81, !16, i64 500}
!193 = !{!81, !16, i64 516}
!194 = !{!81, !16, i64 504}
!195 = !{!81, !16, i64 520}
!196 = !{!81, !16, i64 508}
!197 = !{!81, !16, i64 524}
!198 = !{!81, !16, i64 608}
!199 = !{!81, !16, i64 48}
!200 = !{!81, !16, i64 132}
!201 = !{!81, !16, i64 52}
!202 = !{!81, !16, i64 76}
!203 = !{!81, !16, i64 136}
!204 = !{!87, !14, i64 0}
!205 = !{!206, !14, i64 32}
!206 = !{!"_ZTS9ImDrawCmd", !22, i64 0, !6, i64 16, !14, i64 24, !14, i64 28, !14, i64 32, !6, i64 40, !6, i64 48}
!207 = !{!11, !6, i64 15352}
!208 = !{!62, !6, i64 64}
!209 = !{!210, !6, i64 8}
!210 = !{!"_ZTS11ImFontAtlas", !14, i64 0, !6, i64 8, !14, i64 16, !14, i64 20, !12, i64 24, !6, i64 32, !12, i64 40, !12, i64 41, !6, i64 48, !6, i64 56, !14, i64 64, !14, i64 68, !15, i64 72, !15, i64 80, !38, i64 88, !211, i64 104, !212, i64 120, !7, i64 136, !6, i64 1160, !14, i64 1168, !14, i64 1172, !14, i64 1176}
!211 = !{!"_ZTS8ImVectorI21ImFontAtlasCustomRectE", !14, i64 0, !14, i64 4, !6, i64 8}
!212 = !{!"_ZTS8ImVectorI12ImFontConfigE", !14, i64 0, !14, i64 4, !6, i64 8}
!213 = !{!87, !14, i64 32}
!214 = !{!11, !6, i64 18928}
!215 = !{!11, !6, i64 18560}
!216 = !{!81, !6, i64 896}
!217 = !{!81, !16, i64 64}
!218 = !{!81, !16, i64 68}
!219 = !{!81, !16, i64 496}
!220 = !{!81, !16, i64 124}
!221 = !{!81, !16, i64 528}
!222 = !{!81, !16, i64 128}
!223 = !{!81, !16, i64 532}
!224 = !{!81, !16, i64 584}
!225 = !{!81, !16, i64 588}
!226 = !{!81, !16, i64 316}
!227 = !{!81, !17, i64 342}
!228 = !{!81, !17, i64 340}
!229 = !{!81, !12, i64 344}
!230 = !{!81, !12, i64 345}
!231 = !{!81, !12, i64 346}
!232 = !{!81, !14, i64 384}
!233 = !{!81, !14, i64 388}
!234 = !{!81, !6, i64 408}
!235 = !{!81, !6, i64 416}
!236 = !{!81, !14, i64 428}
!237 = !{!81, !14, i64 432}
!238 = !{!81, !16, i64 436}
!239 = !{!81, !16, i64 440}
!240 = !{!34, !16, i64 0}
!241 = !{!34, !16, i64 4}
!242 = !{!34, !16, i64 8}
!243 = !{!34, !16, i64 12}
!244 = !{!81, !17, i64 594}
!245 = !{!81, !17, i64 592}
!246 = !{!81, !14, i64 116}
!247 = !{!11, !14, i64 18208}
!248 = !{!11, !14, i64 18212}
!249 = !{!81, !12, i64 176}
!250 = !{!81, !17, i64 186}
!251 = !{!81, !12, i64 179}
!252 = !{!11, !12, i64 18628}
!253 = !{!81, !6, i64 904}
!254 = !{!11, !12, i64 23560}
!255 = !{!81, !16, i64 480}
!256 = !{!81, !16, i64 488}
!257 = !{!81, !16, i64 484}
!258 = !{!81, !16, i64 492}
!259 = !{!20, !16, i64 0}
!260 = !{!81, !12, i64 181}
!261 = !{!81, !7, i64 211}


; Effective O3 passes: AggressiveInstCombinePass,BDCEPass,CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,MemCpyOptPass,ReassociatePass,SCCPPass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass,VectorCombinePass