; LLVM IR from syby119/CG-projects :: external/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, [6 x i8], %struct.ImGuiIO, %struct.ImGuiStyle, ptr, float, float, %struct.ImDrawListSharedData, double, i32, i32, i32, i8, i8, i8, i8, i8, [7 x i8], ptr, %struct.ImVector.3, %struct.ImVector.3, %struct.ImVector.3, %struct.ImVector.4, %struct.ImGuiStorage, i32, %struct.ImVec2, [4 x i8], ptr, ptr, ptr, ptr, ptr, %struct.ImVec2, float, i32, i32, i32, i8, i8, i8, i8, float, float, i32, i32, float, i8, i8, i8, i8, i8, i8, i8, i8, i32, i32, i64, %struct.ImVec2, ptr, i32, i32, i32, i8, i8, [2 x i8], ptr, i32, float, i32, %struct.ImGuiNextItemData, %struct.ImGuiLastItemData, [4 x i8], %struct.ImGuiNextWindowData, %struct.ImVector.5, %struct.ImVector.6, %struct.ImVector.7, %struct.ImVector.8, %struct.ImVector.9, %struct.ImVector.10, %struct.ImVector.11, %struct.ImVector.11, %struct.ImVector.12, ptr, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i8, i8, i8, i8, i8, i8, i8, i8, i32, %struct.ImRect, i8, i8, i8, i8, i32, i32, i32, i32, i32, i32, %struct.ImRect, i32, i32, %struct.ImGuiNavItemData, %struct.ImGuiNavItemData, %struct.ImGuiNavItemData, ptr, ptr, ptr, float, float, i8, [7 x i8], ptr, ptr, i32, i32, i8, [3 x i8], float, i32, i8, i8, i8, i8, i32, i32, i32, [4 x i8], %struct.ImGuiPayload, %struct.ImRect, i32, i32, float, i32, i32, i32, i32, [4 x i8], %struct.ImVector.13, [16 x i8], ptr, i32, [4 x i8], %struct.ImPool, %struct.ImVector.15, %struct.ImVector.16, %struct.ImVector.17, ptr, %struct.ImPool.18, %struct.ImVector.20, %struct.ImVector.21, %struct.ImVec2, %struct.ImGuiInputTextState, %struct.ImFont, i32, i32, float, float, i32, %struct.ImVec4, %struct.ImGuiComboPreviewData, float, i8, i8, [2 x i8], float, float, float, float, i16, i16, float, [4 x i8], %struct.ImVector.2, %struct.ImVector.8, %struct.ImVec2, %struct.ImVec2, i8, i8, [2 x i8], float, %struct.ImGuiTextBuffer, %struct.ImVector.23, %struct.ImChunkStream, %struct.ImChunkStream.24, %struct.ImVector.25, i32, i8, [3 x i8], i32, [4 x i8], ptr, %struct.ImGuiTextBuffer, ptr, ptr, float, i8, [3 x i8], i32, i32, i32, i8, [3 x i8], i32, %struct.ImGuiMetricsConfig, [4 x i8], %struct.ImGuiStackTool, [120 x float], i32, i32, float, i32, i32, i32, [3073 x i8], [7 x i8] }>
%struct.ImGuiIO = type { i32, i32, %struct.ImVec2, float, float, ptr, ptr, float, float, float, [22 x i32], float, float, ptr, ptr, float, i8, ptr, %struct.ImVec2, i8, i8, i8, i8, i8, i8, float, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, %struct.ImVec2, [5 x i8], float, float, i8, i8, i8, i8, [512 x i8], [20 x float], i8, i8, i8, i8, i8, i8, i8, float, i32, i32, i32, i32, i32, %struct.ImVec2, i8, i32, i32, %struct.ImVec2, [5 x %struct.ImVec2], [5 x double], [5 x i8], [5 x i8], [5 x i8], [5 x i8], [5 x i8], [5 x i8], [5 x float], [5 x float], [5 x %struct.ImVec2], [5 x float], [512 x float], [512 x float], [20 x float], [20 x float], float, i8, i16, %struct.ImVector }
%struct.ImVector = type { i32, i32, ptr }
%struct.ImGuiStyle = type { float, float, %struct.ImVec2, float, float, %struct.ImVec2, %struct.ImVec2, i32, float, float, float, float, %struct.ImVec2, float, float, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, float, float, float, float, float, float, float, float, float, 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, [48 x %struct.ImVec2], float, [64 x i8], ptr }
%struct.ImVector.3 = type { i32, i32, ptr }
%struct.ImVector.4 = type { i32, i32, ptr }
%struct.ImGuiStorage = type { %struct.ImVector.0 }
%struct.ImVector.0 = 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.5 = type { i32, i32, ptr }
%struct.ImVector.6 = type { i32, i32, ptr }
%struct.ImVector.7 = type { i32, i32, ptr }
%struct.ImVector.9 = 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.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.13 = type { i32, i32, ptr }
%struct.ImPool = type { %struct.ImVector.14, %struct.ImGuiStorage, i32, i32 }
%struct.ImVector.14 = type { i32, i32, ptr }
%struct.ImVector.15 = type { i32, i32, ptr }
%struct.ImVector.16 = type { i32, i32, ptr }
%struct.ImVector.17 = type { i32, i32, ptr }
%struct.ImPool.18 = type { %struct.ImVector.19, %struct.ImGuiStorage, i32, i32 }
%struct.ImVector.19 = type { i32, i32, ptr }
%struct.ImVector.20 = type { i32, i32, ptr }
%struct.ImVector.21 = type { i32, i32, ptr }
%struct.ImGuiInputTextState = type { i32, i32, i32, %struct.ImVector, %struct.ImVector.2, %struct.ImVector.2, i8, i32, float, %"struct.ImStb::STB_TexteditState", float, i8, i8, i8, i32, ptr, ptr }
%"struct.ImStb::STB_TexteditState" = type { i32, i32, i32, i8, 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.16, float, float, %struct.ImVector, %struct.ImVector.22, ptr, ptr, ptr, i16, i16, i16, i16, i8, [3 x i8], float, float, float, i32, [2 x i8], [2 x i8] }>
%struct.ImVector.22 = type { i32, i32, ptr }
%struct.ImGuiComboPreviewData = type { %struct.ImRect, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, i32 }
%struct.ImVector.2 = type { i32, i32, ptr }
%struct.ImVector.8 = type { i32, i32, ptr }
%struct.ImVector.23 = type { i32, i32, ptr }
%struct.ImChunkStream = type { %struct.ImVector.2 }
%struct.ImChunkStream.24 = type { %struct.ImVector.2 }
%struct.ImVector.25 = type { i32, i32, ptr }
%struct.ImGuiTextBuffer = type { %struct.ImVector.2 }
%struct.ImGuiMetricsConfig = type { i8, i8, i8, i8, i8, i8, i32, i32 }
%struct.ImGuiStackTool = type { i32, i32, i32, %struct.ImVector.26 }
%struct.ImVector.26 = type { i32, i32, ptr }
%struct.ImGuiWindow = type <{ ptr, i32, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, float, i32, i32, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i16, i16, i16, i16, [2 x i8], i32, i8, i8, i8, i8, i32, i8, i8, i8, i8, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVector.8, %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.27, float, i32, ptr, %struct.ImDrawList, ptr, ptr, ptr, ptr, ptr, ptr, [2 x i32], [2 x %struct.ImRect], i32, i32, i8, [7 x i8] }>
%struct.ImGuiWindowTempData = type { %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, float, %struct.ImVec1, %struct.ImVec1, %struct.ImVec1, i32, i16, i16, i32, i8, i8, i8, %struct.ImVec2, %struct.ImGuiMenuColumns, i32, i32, %struct.ImVector.3, ptr, ptr, i32, i32, i32, i32, float, float, %struct.ImVector.16, %struct.ImVector.16 }
%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.27 = type { i32, i32, ptr }
%struct.ImDrawList = type <{ %struct.ImVector.28, %struct.ImVector, %struct.ImVector.29, i32, i32, ptr, ptr, ptr, ptr, %struct.ImVector.30, %struct.ImVector.31, %struct.ImVector.32, %struct.ImDrawCmdHeader, %struct.ImDrawListSplitter, float, [4 x i8] }>
%struct.ImVector.28 = type { i32, i32, ptr }
%struct.ImVector.29 = type { i32, i32, ptr }
%struct.ImVector.30 = type { i32, i32, ptr }
%struct.ImVector.31 = type { i32, i32, ptr }
%struct.ImVector.32 = type { i32, i32, ptr }
%struct.ImDrawCmdHeader = type <{ %struct.ImVec4, ptr, i32, [4 x i8] }>
%struct.ImDrawListSplitter = type { i32, i32, %struct.ImVector.17 }
%struct.ImGuiPopupData = type { i32, ptr, ptr, i32, i32, %struct.ImVec2, %struct.ImVec2 }
%struct.ImDrawCmd = type { %struct.ImVec4, ptr, i32, i32, i32, ptr, ptr }
%struct.ImFontAtlas = type <{ i32, [4 x i8], ptr, i32, i32, i8, i8, i8, [5 x i8], ptr, ptr, i32, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVector.7, %struct.ImVector.38, %struct.ImVector.39, [64 x %struct.ImVec4], ptr, i32, i32, i32, [4 x i8] }>
%struct.ImVector.38 = type { i32, i32, ptr }
%struct.ImVector.39 = type { i32, i32, ptr }

@GImGui = external dso_local global ptr, align 8
@.str.3 = external hidden unnamed_addr constant [78 x i8], align 1
@.str.109 = external hidden unnamed_addr constant [34 x i8], align 1
@__PRETTY_FUNCTION__._ZN5ImGui5BeginEPKcPbi = external hidden unnamed_addr constant [58 x i8], align 1
@.str.110 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.111 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.112 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.113 = external hidden unnamed_addr constant [67 x i8], align 1
@.str.114 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.115 = external hidden unnamed_addr constant [87 x i8], align 1
@.str.116 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.117 = 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: 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 i32 @_ZN5ImGui11GetColorU32Eif(i32 noundef, float noundef) #8

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

declare void @_ZN10ImDrawList13AddRectFilledERK6ImVec2S2_jfi(ptr noundef nonnull align 8 dereferenceable(196), ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8), i32 noundef, float noundef, i32 noundef) #9

declare void @_ZN10ImDrawList7AddRectERK6ImVec2S2_jfif(ptr noundef nonnull align 8 dereferenceable(196), ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8), i32 noundef, float noundef, i32 noundef, float noundef) #9

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

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

; 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 noundef i32 @_ZN11ImGuiWindow5GetIDEPKcS1_(ptr noundef nonnull align 8 dereferenceable(921), ptr noundef, ptr noundef) #8 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) #10

; 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 uwtable
declare dso_local void @_ZN5ImGui11FocusWindowEP11ImGuiWindow(ptr noundef) #8

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

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

; Function Attrs: mustprogress uwtable
declare dso_local { <2 x float>, <2 x float> } @_ZNK11ImGuiWindow12TitleBarRectEv(ptr noundef nonnull align 8 dereferenceable(921)) #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: 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(176)) #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) #10 {
  %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 %struct.ImRect, align 4
  %25 = alloca %struct.ImVec4, align 4
  %26 = alloca i8, align 1
  %27 = alloca i64, align 8
  %28 = alloca i8, align 1
  %29 = alloca %struct.ImVec2, align 4
  %30 = alloca %struct.ImVec2, align 4
  %31 = alloca %struct.ImRect, align 4
  %32 = alloca %struct.ImVec2, align 4
  %33 = alloca i8, align 1
  %34 = alloca i8, align 1
  %35 = alloca %struct.ImVec2, align 4
  %36 = alloca %struct.ImVec2, align 4
  %37 = alloca %struct.ImRect, align 4
  %38 = alloca float, align 4
  %39 = alloca i8, align 1
  %40 = alloca %struct.ImVec2, align 4
  %41 = alloca %struct.ImVec2, align 4
  %42 = alloca %struct.ImVec2, align 4
  %43 = alloca %struct.ImVec2, align 4
  %44 = alloca %struct.ImVec2, align 4
  %45 = alloca ptr, align 8
  %46 = alloca %struct.ImRect, align 4
  %47 = alloca %struct.ImRect, align 4
  %48 = alloca %struct.ImVec2, align 4
  %49 = alloca %struct.ImRect, align 4
  %50 = alloca %struct.ImVec2, align 4
  %51 = alloca %struct.ImVec2, align 4
  %52 = alloca %struct.ImVec2, align 4
  %53 = alloca i8, align 1
  %54 = alloca i32, align 4
  %55 = alloca [4 x i32], align 16
  %56 = alloca i32, align 4
  %57 = alloca float, align 4
  %58 = alloca %struct.ImVec2, align 4
  %59 = alloca %struct.ImVec2, align 4
  %60 = alloca %struct.ImVec2, align 4
  %61 = alloca %struct.ImVec2, align 4
  %62 = alloca %struct.ImVec2, align 4
  %63 = alloca float, align 4
  %64 = alloca float, align 4
  %65 = alloca %struct.ImVec2, align 4
  %66 = alloca %struct.ImRect, align 4
  %67 = alloca %struct.ImRect, align 4
  %68 = alloca %struct.ImRect, align 4
  %69 = alloca float, align 4
  %70 = alloca %struct.ImVec2, align 4
  %71 = alloca %struct.ImVec2, align 4
  %72 = alloca i8, align 1
  %73 = alloca i8, align 1
  %74 = alloca i32, align 4
  %75 = alloca %struct.ImRect, align 4
  %76 = alloca i8, align 1
  %77 = alloca ptr, align 8
  %78 = alloca i8, align 1
  %79 = alloca %struct.ImRect, align 4
  %80 = alloca %struct.ImRect, align 4
  %81 = alloca i8, align 1
  %82 = alloca ptr, align 8
  %83 = alloca i8, align 1
  %84 = alloca float, align 4
  %85 = alloca %struct.ImRect, align 4
  %86 = alloca i8, align 1
  %87 = alloca i8, align 1
  %88 = alloca float, align 4
  %89 = alloca float, align 4
  %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
  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
  %95 = load ptr, ptr @GImGui, align 8, !tbaa !5
  store ptr %95, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #13
  %96 = load ptr, ptr %7, align 8, !tbaa !5
  %97 = getelementptr inbounds %struct.ImGuiContext, ptr %96, i32 0, i32 4
  store ptr %97, ptr %8, align 8, !tbaa !5
  %98 = load ptr, ptr %4, align 8, !tbaa !5
  %99 = icmp ne ptr %98, null
  br i1 %99, label %100, label %106

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

106:                                              ; preds = %100, %3
  %107 = phi i1 [ false, %3 ], [ %105, %100 ]
  br i1 %107, label %108, label %109

108:                                              ; preds = %106
  br label %111

109:                                              ; preds = %106
  call void @__assert_fail(ptr noundef @.str.109, ptr noundef @.str.3, i32 noundef 5772, ptr noundef @__PRETTY_FUNCTION__._ZN5ImGui5BeginEPKcPbi) #14
  unreachable

110:                                              ; No predecessors!
  br label %111

111:                                              ; preds = %110, %108
  %112 = load ptr, ptr %7, align 8, !tbaa !5
  %113 = getelementptr inbounds %struct.ImGuiContext, ptr %112, i32 0, i32 13
  %114 = load i8, ptr %113, align 4, !tbaa !12, !range !71, !noundef !72
  %115 = trunc i8 %114 to i1
  br i1 %115, label %116, label %117

116:                                              ; preds = %111
  br label %119

117:                                              ; preds = %111
  call void @__assert_fail(ptr noundef @.str.110, ptr noundef @.str.3, i32 noundef 5773, ptr noundef @__PRETTY_FUNCTION__._ZN5ImGui5BeginEPKcPbi) #14
  unreachable

118:                                              ; No predecessors!
  br label %119

119:                                              ; preds = %118, %116
  %120 = load ptr, ptr %7, align 8, !tbaa !5
  %121 = getelementptr inbounds %struct.ImGuiContext, ptr %120, i32 0, i32 11
  %122 = load i32, ptr %121, align 4, !tbaa !73
  %123 = load ptr, ptr %7, align 8, !tbaa !5
  %124 = getelementptr inbounds %struct.ImGuiContext, ptr %123, i32 0, i32 10
  %125 = load i32, ptr %124, align 8, !tbaa !74
  %126 = icmp ne i32 %122, %125
  br i1 %126, label %127, label %128

127:                                              ; preds = %119
  br label %130

128:                                              ; preds = %119
  call void @__assert_fail(ptr noundef @.str.111, ptr noundef @.str.3, i32 noundef 5774, ptr noundef @__PRETTY_FUNCTION__._ZN5ImGui5BeginEPKcPbi) #14
  unreachable

129:                                              ; No predecessors!
  br label %130

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

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

142:                                              ; preds = %138, %130
  %143 = load i32, ptr %6, align 4, !tbaa !9
  %144 = and i32 %143, 786944
  %145 = icmp eq i32 %144, 786944
  br i1 %145, label %146, label %149

146:                                              ; preds = %142
  %147 = load i32, ptr %6, align 4, !tbaa !9
  %148 = or i32 %147, 6
  store i32 %148, ptr %6, align 4, !tbaa !9
  br label %149

149:                                              ; preds = %146, %142
  %150 = load i32, ptr %6, align 4, !tbaa !9
  %151 = and i32 %150, 8388608
  %152 = icmp ne i32 %151, 0
  br i1 %152, label %153, label %161

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

157:                                              ; preds = %153
  br label %160

158:                                              ; preds = %153
  call void @__assert_fail(ptr noundef @.str.112, ptr noundef @.str.3, i32 noundef 5787, ptr noundef @__PRETTY_FUNCTION__._ZN5ImGui5BeginEPKcPbi) #14
  unreachable

159:                                              ; No predecessors!
  br label %160

160:                                              ; preds = %159, %157
  br label %161

161:                                              ; preds = %160, %149
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #13
  %162 = load ptr, ptr %7, align 8, !tbaa !5
  %163 = getelementptr inbounds %struct.ImGuiContext, ptr %162, i32 0, i32 10
  %164 = load i32, ptr %163, align 8, !tbaa !74
  store i32 %164, ptr %11, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %12) #13
  %165 = load ptr, ptr %9, align 8, !tbaa !5
  %166 = getelementptr inbounds %struct.ImGuiWindow, ptr %165, i32 0, i32 64
  %167 = load i32, ptr %166, align 8, !tbaa !76
  %168 = load i32, ptr %11, align 4, !tbaa !9
  %169 = icmp ne i32 %167, %168
  %170 = zext i1 %169 to i8
  store i8 %170, ptr %12, align 1, !tbaa !75
  %171 = load ptr, ptr %7, align 8, !tbaa !5
  %172 = getelementptr inbounds %struct.ImGuiContext, ptr %171, i32 0, i32 23
  %173 = getelementptr inbounds %struct.ImVector.4, ptr %172, i32 0, i32 0
  %174 = load i32, ptr %173, align 8, !tbaa !91
  %175 = icmp eq i32 %174, 0
  br i1 %175, label %176, label %181

176:                                              ; preds = %161
  %177 = load ptr, ptr %7, align 8, !tbaa !5
  %178 = getelementptr inbounds %struct.ImGuiContext, ptr %177, i32 0, i32 14
  %179 = load i8, ptr %178, align 1, !tbaa !92, !range !71, !noundef !72
  %180 = trunc i8 %179 to i1
  br label %181

181:                                              ; preds = %176, %161
  %182 = phi i1 [ false, %161 ], [ %180, %176 ]
  %183 = load ptr, ptr %9, align 8, !tbaa !5
  %184 = getelementptr inbounds %struct.ImGuiWindow, ptr %183, i32 0, i32 31
  %185 = zext i1 %182 to i8
  store i8 %185, ptr %184, align 2, !tbaa !93
  call void @llvm.lifetime.start.p0(i64 1, ptr %13) #13
  %186 = load ptr, ptr %9, align 8, !tbaa !5
  %187 = getelementptr inbounds %struct.ImGuiWindow, ptr %186, i32 0, i32 64
  %188 = load i32, ptr %187, align 8, !tbaa !76
  %189 = load i32, ptr %11, align 4, !tbaa !9
  %190 = sub nsw i32 %189, 1
  %191 = icmp slt i32 %188, %190
  %192 = zext i1 %191 to i8
  store i8 %192, ptr %13, align 1, !tbaa !75
  %193 = load i32, ptr %6, align 4, !tbaa !9
  %194 = and i32 %193, 67108864
  %195 = icmp ne i32 %194, 0
  br i1 %195, label %196, label %230

196:                                              ; preds = %181
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #13
  %197 = load ptr, ptr %7, align 8, !tbaa !5
  %198 = getelementptr inbounds %struct.ImGuiContext, ptr %197, i32 0, i32 80
  %199 = load ptr, ptr %7, align 8, !tbaa !5
  %200 = getelementptr inbounds %struct.ImGuiContext, ptr %199, i32 0, i32 81
  %201 = getelementptr inbounds %struct.ImVector.11, ptr %200, i32 0, i32 0
  %202 = load i32, ptr %201, align 8, !tbaa !94
  %203 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZN8ImVectorI14ImGuiPopupDataEixEi(ptr noundef nonnull align 8 dereferenceable(16) %198, i32 noundef %202)
  store ptr %203, ptr %14, align 8, !tbaa !5
  %204 = load ptr, ptr %9, align 8, !tbaa !5
  %205 = getelementptr inbounds %struct.ImGuiWindow, ptr %204, i32 0, i32 40
  %206 = load i32, ptr %205, align 4, !tbaa !95
  %207 = load ptr, ptr %14, align 8, !tbaa !5
  %208 = getelementptr inbounds %struct.ImGuiPopupData, ptr %207, i32 0, i32 0
  %209 = load i32, ptr %208, align 8, !tbaa !96
  %210 = icmp ne i32 %206, %209
  %211 = zext i1 %210 to i32
  %212 = load i8, ptr %13, align 1, !tbaa !75, !range !71, !noundef !72
  %213 = trunc i8 %212 to i1
  %214 = zext i1 %213 to i32
  %215 = or i32 %214, %211
  %216 = icmp ne i32 %215, 0
  %217 = zext i1 %216 to i8
  store i8 %217, ptr %13, align 1, !tbaa !75
  %218 = load ptr, ptr %9, align 8, !tbaa !5
  %219 = load ptr, ptr %14, align 8, !tbaa !5
  %220 = getelementptr inbounds %struct.ImGuiPopupData, ptr %219, i32 0, i32 1
  %221 = load ptr, ptr %220, align 8, !tbaa !98
  %222 = icmp ne ptr %218, %221
  %223 = zext i1 %222 to i32
  %224 = load i8, ptr %13, align 1, !tbaa !75, !range !71, !noundef !72
  %225 = trunc i8 %224 to i1
  %226 = zext i1 %225 to i32
  %227 = or i32 %226, %223
  %228 = icmp ne i32 %227, 0
  %229 = zext i1 %228 to i8
  store i8 %229, ptr %13, align 1, !tbaa !75
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #13
  br label %230

230:                                              ; preds = %196, %181
  %231 = load i8, ptr %13, align 1, !tbaa !75, !range !71, !noundef !72
  %232 = trunc i8 %231 to i1
  %233 = load ptr, ptr %9, align 8, !tbaa !5
  %234 = getelementptr inbounds %struct.ImGuiWindow, ptr %233, i32 0, i32 29
  %235 = zext i1 %232 to i8
  store i8 %235, ptr %234, align 4, !tbaa !99
  %236 = load ptr, ptr %9, align 8, !tbaa !5
  %237 = getelementptr inbounds %struct.ImGuiWindow, ptr %236, i32 0, i32 29
  %238 = load i8, ptr %237, align 4, !tbaa !99, !range !71, !noundef !72
  %239 = trunc i8 %238 to i1
  br i1 %239, label %240, label %242

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

242:                                              ; preds = %240, %230
  %243 = load i8, ptr %12, align 1, !tbaa !75, !range !71, !noundef !72
  %244 = trunc i8 %243 to i1
  br i1 %244, label %245, label %267

245:                                              ; preds = %242
  %246 = load i32, ptr %6, align 4, !tbaa !9
  %247 = load ptr, ptr %9, align 8, !tbaa !5
  %248 = getelementptr inbounds %struct.ImGuiWindow, ptr %247, i32 0, i32 2
  store i32 %246, ptr %248, align 4, !tbaa !100
  %249 = load i32, ptr %11, align 4, !tbaa !9
  %250 = load ptr, ptr %9, align 8, !tbaa !5
  %251 = getelementptr inbounds %struct.ImGuiWindow, ptr %250, i32 0, i32 64
  store i32 %249, ptr %251, align 8, !tbaa !76
  %252 = load ptr, ptr %7, align 8, !tbaa !5
  %253 = getelementptr inbounds %struct.ImGuiContext, ptr %252, i32 0, i32 9
  %254 = load double, ptr %253, align 8, !tbaa !101
  %255 = fptrunc double %254 to float
  %256 = load ptr, ptr %9, align 8, !tbaa !5
  %257 = getelementptr inbounds %struct.ImGuiWindow, ptr %256, i32 0, i32 65
  store float %255, ptr %257, align 4, !tbaa !102
  %258 = load ptr, ptr %9, align 8, !tbaa !5
  %259 = getelementptr inbounds %struct.ImGuiWindow, ptr %258, i32 0, i32 36
  store i16 0, ptr %259, align 4, !tbaa !103
  %260 = load ptr, ptr %7, align 8, !tbaa !5
  %261 = getelementptr inbounds %struct.ImGuiContext, ptr %260, i32 0, i32 25
  %262 = load i32, ptr %261, align 8, !tbaa !104
  %263 = add nsw i32 %262, 1
  store i32 %263, ptr %261, align 8, !tbaa !104
  %264 = trunc i32 %262 to i16
  %265 = load ptr, ptr %9, align 8, !tbaa !5
  %266 = getelementptr inbounds %struct.ImGuiWindow, ptr %265, i32 0, i32 37
  store i16 %264, ptr %266, align 2, !tbaa !105
  br label %271

267:                                              ; preds = %242
  %268 = load ptr, ptr %9, align 8, !tbaa !5
  %269 = getelementptr inbounds %struct.ImGuiWindow, ptr %268, i32 0, i32 2
  %270 = load i32, ptr %269, align 4, !tbaa !100
  store i32 %270, ptr %6, align 4, !tbaa !9
  br label %271

271:                                              ; preds = %267, %245
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #13
  %272 = load ptr, ptr %7, align 8, !tbaa !5
  %273 = getelementptr inbounds %struct.ImGuiContext, ptr %272, i32 0, i32 23
  %274 = call noundef zeroext i1 @_ZNK8ImVectorI20ImGuiWindowStackDataE5emptyEv(ptr noundef nonnull align 8 dereferenceable(16) %273)
  br i1 %274, label %275, label %276

275:                                              ; preds = %271
  br label %282

276:                                              ; preds = %271
  %277 = load ptr, ptr %7, align 8, !tbaa !5
  %278 = getelementptr inbounds %struct.ImGuiContext, ptr %277, i32 0, i32 23
  %279 = call noundef nonnull align 8 dereferenceable(86) ptr @_ZN8ImVectorI20ImGuiWindowStackDataE4backEv(ptr noundef nonnull align 8 dereferenceable(16) %278)
  %280 = getelementptr inbounds %struct.ImGuiWindowStackData, ptr %279, i32 0, i32 0
  %281 = load ptr, ptr %280, align 8, !tbaa !106
  br label %282

282:                                              ; preds = %276, %275
  %283 = phi ptr [ null, %275 ], [ %281, %276 ]
  store ptr %283, ptr %15, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #13
  %284 = load i8, ptr %12, align 1, !tbaa !75, !range !71, !noundef !72
  %285 = trunc i8 %284 to i1
  br i1 %285, label %286, label %295

286:                                              ; preds = %282
  %287 = load i32, ptr %6, align 4, !tbaa !9
  %288 = and i32 %287, 83886080
  %289 = icmp ne i32 %288, 0
  br i1 %289, label %290, label %292

290:                                              ; preds = %286
  %291 = load ptr, ptr %15, align 8, !tbaa !5
  br label %293

292:                                              ; preds = %286
  br label %293

293:                                              ; preds = %292, %290
  %294 = phi ptr [ %291, %290 ], [ null, %292 ]
  br label %299

295:                                              ; preds = %282
  %296 = load ptr, ptr %9, align 8, !tbaa !5
  %297 = getelementptr inbounds %struct.ImGuiWindow, ptr %296, i32 0, i32 74
  %298 = load ptr, ptr %297, align 8, !tbaa !109
  br label %299

299:                                              ; preds = %295, %293
  %300 = phi ptr [ %294, %293 ], [ %298, %295 ]
  store ptr %300, ptr %16, align 8, !tbaa !5
  %301 = load ptr, ptr %16, align 8, !tbaa !5
  %302 = icmp ne ptr %301, null
  br i1 %302, label %308, label %303

303:                                              ; preds = %299
  %304 = load i32, ptr %6, align 4, !tbaa !9
  %305 = and i32 %304, 16777216
  %306 = icmp ne i32 %305, 0
  %307 = xor i1 %306, true
  br label %308

308:                                              ; preds = %303, %299
  %309 = phi i1 [ true, %299 ], [ %307, %303 ]
  br i1 %309, label %310, label %311

310:                                              ; preds = %308
  br label %313

311:                                              ; preds = %308
  call void @__assert_fail(ptr noundef @.str.113, ptr noundef @.str.3, i32 noundef 5822, ptr noundef @__PRETTY_FUNCTION__._ZN5ImGui5BeginEPKcPbi) #14
  unreachable

312:                                              ; No predecessors!
  br label %313

313:                                              ; preds = %312, %310
  %314 = load ptr, ptr %9, align 8, !tbaa !5
  %315 = getelementptr inbounds %struct.ImGuiWindow, ptr %314, i32 0, i32 53
  %316 = getelementptr inbounds %struct.ImVector.8, ptr %315, i32 0, i32 0
  %317 = load i32, ptr %316, align 8, !tbaa !110
  %318 = icmp eq i32 %317, 0
  br i1 %318, label %319, label %324

319:                                              ; preds = %313
  %320 = load ptr, ptr %9, align 8, !tbaa !5
  %321 = getelementptr inbounds %struct.ImGuiWindow, ptr %320, i32 0, i32 53
  %322 = load ptr, ptr %9, align 8, !tbaa !5
  %323 = getelementptr inbounds %struct.ImGuiWindow, ptr %322, i32 0, i32 1
  call void @_ZN8ImVectorIjE9push_backERKj(ptr noundef nonnull align 8 dereferenceable(16) %321, ptr noundef nonnull align 4 dereferenceable(4) %323)
  br label %324

324:                                              ; preds = %319, %313
  %325 = load ptr, ptr %9, align 8, !tbaa !5
  %326 = load ptr, ptr %7, align 8, !tbaa !5
  %327 = getelementptr inbounds %struct.ImGuiContext, ptr %326, i32 0, i32 28
  store ptr %325, ptr %327, align 8, !tbaa !111
  call void @llvm.lifetime.start.p0(i64 88, ptr %17) #13
  call void @_ZN20ImGuiWindowStackDataC2Ev(ptr noundef nonnull align 8 dereferenceable(86) %17)
  %328 = load ptr, ptr %9, align 8, !tbaa !5
  %329 = getelementptr inbounds %struct.ImGuiWindowStackData, ptr %17, i32 0, i32 0
  store ptr %328, ptr %329, align 8, !tbaa !106
  %330 = load ptr, ptr %7, align 8, !tbaa !5
  %331 = getelementptr inbounds %struct.ImGuiContext, ptr %330, i32 0, i32 71
  %332 = getelementptr inbounds %struct.ImGuiWindowStackData, ptr %17, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %332, ptr align 8 %331, i64 60, i1 false), !tbaa.struct !112
  %333 = getelementptr inbounds %struct.ImGuiWindowStackData, ptr %17, i32 0, i32 2
  call void @_ZN15ImGuiStackSizes17SetToCurrentStateEv(ptr noundef nonnull align 2 dereferenceable(18) %333)
  %334 = load ptr, ptr %7, align 8, !tbaa !5
  %335 = getelementptr inbounds %struct.ImGuiContext, ptr %334, i32 0, i32 23
  call void @_ZN8ImVectorI20ImGuiWindowStackDataE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(16) %335, ptr noundef nonnull align 8 dereferenceable(86) %17)
  %336 = load ptr, ptr %7, align 8, !tbaa !5
  %337 = getelementptr inbounds %struct.ImGuiContext, ptr %336, i32 0, i32 28
  store ptr null, ptr %337, align 8, !tbaa !111
  %338 = load i32, ptr %6, align 4, !tbaa !9
  %339 = and i32 %338, 67108864
  %340 = icmp ne i32 %339, 0
  br i1 %340, label %341, label %360

341:                                              ; preds = %324
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #13
  %342 = load ptr, ptr %7, align 8, !tbaa !5
  %343 = getelementptr inbounds %struct.ImGuiContext, ptr %342, i32 0, i32 80
  %344 = load ptr, ptr %7, align 8, !tbaa !5
  %345 = getelementptr inbounds %struct.ImGuiContext, ptr %344, i32 0, i32 81
  %346 = getelementptr inbounds %struct.ImVector.11, ptr %345, i32 0, i32 0
  %347 = load i32, ptr %346, align 8, !tbaa !94
  %348 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZN8ImVectorI14ImGuiPopupDataEixEi(ptr noundef nonnull align 8 dereferenceable(16) %343, i32 noundef %347)
  store ptr %348, ptr %18, align 8, !tbaa !5
  %349 = load ptr, ptr %9, align 8, !tbaa !5
  %350 = load ptr, ptr %18, align 8, !tbaa !5
  %351 = getelementptr inbounds %struct.ImGuiPopupData, ptr %350, i32 0, i32 1
  store ptr %349, ptr %351, align 8, !tbaa !98
  %352 = load ptr, ptr %7, align 8, !tbaa !5
  %353 = getelementptr inbounds %struct.ImGuiContext, ptr %352, i32 0, i32 81
  %354 = load ptr, ptr %18, align 8, !tbaa !5
  call void @_ZN8ImVectorI14ImGuiPopupDataE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(16) %353, ptr noundef nonnull align 8 dereferenceable(48) %354)
  %355 = load ptr, ptr %18, align 8, !tbaa !5
  %356 = getelementptr inbounds %struct.ImGuiPopupData, ptr %355, i32 0, i32 0
  %357 = load i32, ptr %356, align 8, !tbaa !96
  %358 = load ptr, ptr %9, align 8, !tbaa !5
  %359 = getelementptr inbounds %struct.ImGuiWindow, ptr %358, i32 0, i32 40
  store i32 %357, ptr %359, align 4, !tbaa !95
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #13
  br label %360

360:                                              ; preds = %341, %324
  %361 = load i8, ptr %12, align 1, !tbaa !75, !range !71, !noundef !72
  %362 = trunc i8 %361 to i1
  br i1 %362, label %363, label %367

363:                                              ; preds = %360
  %364 = load ptr, ptr %9, align 8, !tbaa !5
  %365 = load i32, ptr %6, align 4, !tbaa !9
  %366 = load ptr, ptr %16, align 8, !tbaa !5
  call void @_ZN5ImGui30UpdateWindowParentAndRootLinksEP11ImGuiWindowiS1_(ptr noundef %364, i32 noundef %365, ptr noundef %366)
  br label %367

367:                                              ; preds = %363, %360
  call void @llvm.lifetime.start.p0(i64 1, ptr %19) #13
  store i8 0, ptr %19, align 1, !tbaa !75
  call void @llvm.lifetime.start.p0(i64 1, ptr %20) #13
  store i8 0, ptr %20, align 1, !tbaa !75
  call void @llvm.lifetime.start.p0(i64 1, ptr %21) #13
  store i8 0, ptr %21, align 1, !tbaa !75
  %368 = load ptr, ptr %7, align 8, !tbaa !5
  %369 = getelementptr inbounds %struct.ImGuiContext, ptr %368, i32 0, i32 73
  %370 = getelementptr inbounds %struct.ImGuiNextWindowData, ptr %369, i32 0, i32 0
  %371 = load i32, ptr %370, align 8, !tbaa !114
  %372 = and i32 %371, 1
  %373 = icmp ne i32 %372, 0
  br i1 %373, label %374, label %428

374:                                              ; preds = %367
  %375 = load ptr, ptr %9, align 8, !tbaa !5
  %376 = getelementptr inbounds %struct.ImGuiWindow, ptr %375, i32 0, i32 50
  %377 = load i32, ptr %376, align 4
  %378 = shl i32 %377, 24
  %379 = ashr i32 %378, 24
  %380 = load ptr, ptr %7, align 8, !tbaa !5
  %381 = getelementptr inbounds %struct.ImGuiContext, ptr %380, i32 0, i32 73
  %382 = getelementptr inbounds %struct.ImGuiNextWindowData, ptr %381, i32 0, i32 1
  %383 = load i32, ptr %382, align 4, !tbaa !115
  %384 = and i32 %379, %383
  %385 = icmp ne i32 %384, 0
  %386 = zext i1 %385 to i8
  store i8 %386, ptr %19, align 1, !tbaa !75
  %387 = load i8, ptr %19, align 1, !tbaa !75, !range !71, !noundef !72
  %388 = trunc i8 %387 to i1
  br i1 %388, label %389, label %418

389:                                              ; preds = %374
  %390 = load ptr, ptr %7, align 8, !tbaa !5
  %391 = getelementptr inbounds %struct.ImGuiContext, ptr %390, i32 0, i32 73
  %392 = getelementptr inbounds %struct.ImGuiNextWindowData, ptr %391, i32 0, i32 5
  %393 = call noundef float @_ZL11ImLengthSqrRK6ImVec2(ptr noundef nonnull align 4 dereferenceable(8) %392)
  %394 = fcmp ogt float %393, 0x3EE4F8B580000000
  br i1 %394, label %395, label %418

395:                                              ; preds = %389
  %396 = load ptr, ptr %7, align 8, !tbaa !5
  %397 = getelementptr inbounds %struct.ImGuiContext, ptr %396, i32 0, i32 73
  %398 = getelementptr inbounds %struct.ImGuiNextWindowData, ptr %397, i32 0, i32 4
  %399 = load ptr, ptr %9, align 8, !tbaa !5
  %400 = getelementptr inbounds %struct.ImGuiWindow, ptr %399, i32 0, i32 51
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %400, ptr align 8 %398, i64 8, i1 false), !tbaa.struct !116
  %401 = load ptr, ptr %7, align 8, !tbaa !5
  %402 = getelementptr inbounds %struct.ImGuiContext, ptr %401, i32 0, i32 73
  %403 = getelementptr inbounds %struct.ImGuiNextWindowData, ptr %402, i32 0, i32 5
  %404 = load ptr, ptr %9, align 8, !tbaa !5
  %405 = getelementptr inbounds %struct.ImGuiWindow, ptr %404, i32 0, i32 52
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %405, ptr align 8 %403, i64 8, i1 false), !tbaa.struct !116
  %406 = load ptr, ptr %9, align 8, !tbaa !5
  %407 = getelementptr inbounds %struct.ImGuiWindow, ptr %406, i32 0, i32 50
  %408 = load i32, ptr %407, align 4
  %409 = shl i32 %408, 24
  %410 = ashr i32 %409, 24
  %411 = and i32 %410, -15
  %412 = load i32, ptr %407, align 4
  %413 = and i32 %411, 255
  %414 = and i32 %412, -256
  %415 = or i32 %414, %413
  store i32 %415, ptr %407, align 4
  %416 = shl i32 %413, 24
  %417 = ashr i32 %416, 24
  br label %427

418:                                              ; preds = %389, %374
  %419 = load ptr, ptr %9, align 8, !tbaa !5
  %420 = load ptr, ptr %7, align 8, !tbaa !5
  %421 = getelementptr inbounds %struct.ImGuiContext, ptr %420, i32 0, i32 73
  %422 = getelementptr inbounds %struct.ImGuiNextWindowData, ptr %421, i32 0, i32 4
  %423 = load ptr, ptr %7, align 8, !tbaa !5
  %424 = getelementptr inbounds %struct.ImGuiContext, ptr %423, i32 0, i32 73
  %425 = getelementptr inbounds %struct.ImGuiNextWindowData, ptr %424, i32 0, i32 1
  %426 = load i32, ptr %425, align 4, !tbaa !115
  call void @_ZN5ImGui12SetWindowPosEP11ImGuiWindowRK6ImVec2i(ptr noundef %419, ptr noundef nonnull align 4 dereferenceable(8) %422, i32 noundef %426)
  br label %427

427:                                              ; preds = %418, %395
  br label %428

428:                                              ; preds = %427, %367
  %429 = load ptr, ptr %7, align 8, !tbaa !5
  %430 = getelementptr inbounds %struct.ImGuiContext, ptr %429, i32 0, i32 73
  %431 = getelementptr inbounds %struct.ImGuiNextWindowData, ptr %430, i32 0, i32 0
  %432 = load i32, ptr %431, align 8, !tbaa !114
  %433 = and i32 %432, 2
  %434 = icmp ne i32 %433, 0
  br i1 %434, label %435, label %486

435:                                              ; preds = %428
  %436 = load ptr, ptr %9, align 8, !tbaa !5
  %437 = getelementptr inbounds %struct.ImGuiWindow, ptr %436, i32 0, i32 50
  %438 = load i32, ptr %437, align 4
  %439 = shl i32 %438, 16
  %440 = ashr i32 %439, 24
  %441 = load ptr, ptr %7, align 8, !tbaa !5
  %442 = getelementptr inbounds %struct.ImGuiContext, ptr %441, i32 0, i32 73
  %443 = getelementptr inbounds %struct.ImGuiNextWindowData, ptr %442, i32 0, i32 2
  %444 = load i32, ptr %443, align 8, !tbaa !117
  %445 = and i32 %440, %444
  %446 = icmp ne i32 %445, 0
  br i1 %446, label %447, label %454

447:                                              ; preds = %435
  %448 = load ptr, ptr %7, align 8, !tbaa !5
  %449 = getelementptr inbounds %struct.ImGuiContext, ptr %448, i32 0, i32 73
  %450 = getelementptr inbounds %struct.ImGuiNextWindowData, ptr %449, i32 0, i32 6
  %451 = getelementptr inbounds %struct.ImVec2, ptr %450, i32 0, i32 0
  %452 = load float, ptr %451, align 8, !tbaa !118
  %453 = fcmp ogt float %452, 0.000000e+00
  br label %454

454:                                              ; preds = %447, %435
  %455 = phi i1 [ false, %435 ], [ %453, %447 ]
  %456 = zext i1 %455 to i8
  store i8 %456, ptr %20, align 1, !tbaa !75
  %457 = load ptr, ptr %9, align 8, !tbaa !5
  %458 = getelementptr inbounds %struct.ImGuiWindow, ptr %457, i32 0, i32 50
  %459 = load i32, ptr %458, align 4
  %460 = shl i32 %459, 16
  %461 = ashr i32 %460, 24
  %462 = load ptr, ptr %7, align 8, !tbaa !5
  %463 = getelementptr inbounds %struct.ImGuiContext, ptr %462, i32 0, i32 73
  %464 = getelementptr inbounds %struct.ImGuiNextWindowData, ptr %463, i32 0, i32 2
  %465 = load i32, ptr %464, align 8, !tbaa !117
  %466 = and i32 %461, %465
  %467 = icmp ne i32 %466, 0
  br i1 %467, label %468, label %475

468:                                              ; preds = %454
  %469 = load ptr, ptr %7, align 8, !tbaa !5
  %470 = getelementptr inbounds %struct.ImGuiContext, ptr %469, i32 0, i32 73
  %471 = getelementptr inbounds %struct.ImGuiNextWindowData, ptr %470, i32 0, i32 6
  %472 = getelementptr inbounds %struct.ImVec2, ptr %471, i32 0, i32 1
  %473 = load float, ptr %472, align 4, !tbaa !119
  %474 = fcmp ogt float %473, 0.000000e+00
  br label %475

475:                                              ; preds = %468, %454
  %476 = phi i1 [ false, %454 ], [ %474, %468 ]
  %477 = zext i1 %476 to i8
  store i8 %477, ptr %21, align 1, !tbaa !75
  %478 = load ptr, ptr %9, align 8, !tbaa !5
  %479 = load ptr, ptr %7, align 8, !tbaa !5
  %480 = getelementptr inbounds %struct.ImGuiContext, ptr %479, i32 0, i32 73
  %481 = getelementptr inbounds %struct.ImGuiNextWindowData, ptr %480, i32 0, i32 6
  %482 = load ptr, ptr %7, align 8, !tbaa !5
  %483 = getelementptr inbounds %struct.ImGuiContext, ptr %482, i32 0, i32 73
  %484 = getelementptr inbounds %struct.ImGuiNextWindowData, ptr %483, i32 0, i32 2
  %485 = load i32, ptr %484, align 8, !tbaa !117
  call void @_ZN5ImGui13SetWindowSizeEP11ImGuiWindowRK6ImVec2i(ptr noundef %478, ptr noundef nonnull align 4 dereferenceable(8) %481, i32 noundef %485)
  br label %486

486:                                              ; preds = %475, %428
  %487 = load ptr, ptr %7, align 8, !tbaa !5
  %488 = getelementptr inbounds %struct.ImGuiContext, ptr %487, i32 0, i32 73
  %489 = getelementptr inbounds %struct.ImGuiNextWindowData, ptr %488, i32 0, i32 0
  %490 = load i32, ptr %489, align 8, !tbaa !114
  %491 = and i32 %490, 128
  %492 = icmp ne i32 %491, 0
  br i1 %492, label %493, label %532

493:                                              ; preds = %486
  %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 8
  %497 = getelementptr inbounds %struct.ImVec2, ptr %496, i32 0, i32 0
  %498 = load float, ptr %497, align 8, !tbaa !120
  %499 = fcmp oge float %498, 0.000000e+00
  br i1 %499, label %500, label %512

500:                                              ; preds = %493
  %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 8
  %504 = getelementptr inbounds %struct.ImVec2, ptr %503, i32 0, i32 0
  %505 = load float, ptr %504, align 8, !tbaa !120
  %506 = load ptr, ptr %9, align 8, !tbaa !5
  %507 = getelementptr inbounds %struct.ImGuiWindow, ptr %506, i32 0, i32 17
  %508 = getelementptr inbounds %struct.ImVec2, ptr %507, i32 0, i32 0
  store float %505, ptr %508, align 4, !tbaa !121
  %509 = load ptr, ptr %9, align 8, !tbaa !5
  %510 = getelementptr inbounds %struct.ImGuiWindow, ptr %509, i32 0, i32 18
  %511 = getelementptr inbounds %struct.ImVec2, ptr %510, i32 0, i32 0
  store float 0.000000e+00, ptr %511, align 4, !tbaa !122
  br label %512

512:                                              ; preds = %500, %493
  %513 = load ptr, ptr %7, align 8, !tbaa !5
  %514 = getelementptr inbounds %struct.ImGuiContext, ptr %513, i32 0, i32 73
  %515 = getelementptr inbounds %struct.ImGuiNextWindowData, ptr %514, i32 0, i32 8
  %516 = getelementptr inbounds %struct.ImVec2, ptr %515, i32 0, i32 1
  %517 = load float, ptr %516, align 4, !tbaa !123
  %518 = fcmp oge float %517, 0.000000e+00
  br i1 %518, label %519, label %531

519:                                              ; preds = %512
  %520 = load ptr, ptr %7, align 8, !tbaa !5
  %521 = getelementptr inbounds %struct.ImGuiContext, ptr %520, i32 0, i32 73
  %522 = getelementptr inbounds %struct.ImGuiNextWindowData, ptr %521, i32 0, i32 8
  %523 = getelementptr inbounds %struct.ImVec2, ptr %522, i32 0, i32 1
  %524 = load float, ptr %523, align 4, !tbaa !123
  %525 = load ptr, ptr %9, align 8, !tbaa !5
  %526 = getelementptr inbounds %struct.ImGuiWindow, ptr %525, i32 0, i32 17
  %527 = getelementptr inbounds %struct.ImVec2, ptr %526, i32 0, i32 1
  store float %524, ptr %527, align 4, !tbaa !124
  %528 = load ptr, ptr %9, align 8, !tbaa !5
  %529 = getelementptr inbounds %struct.ImGuiWindow, ptr %528, i32 0, i32 18
  %530 = getelementptr inbounds %struct.ImVec2, ptr %529, i32 0, i32 1
  store float 0.000000e+00, ptr %530, align 4, !tbaa !125
  br label %531

531:                                              ; preds = %519, %512
  br label %532

532:                                              ; preds = %531, %486
  %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 0
  %536 = load i32, ptr %535, align 8, !tbaa !114
  %537 = and i32 %536, 4
  %538 = icmp ne i32 %537, 0
  br i1 %538, label %539, label %545

539:                                              ; preds = %532
  %540 = load ptr, ptr %7, align 8, !tbaa !5
  %541 = getelementptr inbounds %struct.ImGuiContext, ptr %540, i32 0, i32 73
  %542 = getelementptr inbounds %struct.ImGuiNextWindowData, ptr %541, i32 0, i32 7
  %543 = load ptr, ptr %9, align 8, !tbaa !5
  %544 = getelementptr inbounds %struct.ImGuiWindow, ptr %543, i32 0, i32 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %544, ptr align 8 %542, i64 8, i1 false), !tbaa.struct !116
  br label %552

545:                                              ; preds = %532
  %546 = load i8, ptr %12, align 1, !tbaa !75, !range !71, !noundef !72
  %547 = trunc i8 %546 to i1
  br i1 %547, label %548, label %551

548:                                              ; preds = %545
  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)
  %549 = load ptr, ptr %9, align 8, !tbaa !5
  %550 = getelementptr inbounds %struct.ImGuiWindow, ptr %549, i32 0, i32 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %550, ptr align 4 %22, i64 8, i1 false), !tbaa.struct !116
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #13
  br label %551

551:                                              ; preds = %548, %545
  br label %552

552:                                              ; preds = %551, %539
  %553 = load ptr, ptr %7, align 8, !tbaa !5
  %554 = getelementptr inbounds %struct.ImGuiContext, ptr %553, i32 0, i32 73
  %555 = getelementptr inbounds %struct.ImGuiNextWindowData, ptr %554, i32 0, i32 0
  %556 = load i32, ptr %555, align 8, !tbaa !114
  %557 = and i32 %556, 8
  %558 = icmp ne i32 %557, 0
  br i1 %558, label %559, label %570

559:                                              ; preds = %552
  %560 = load ptr, ptr %9, align 8, !tbaa !5
  %561 = load ptr, ptr %7, align 8, !tbaa !5
  %562 = getelementptr inbounds %struct.ImGuiContext, ptr %561, i32 0, i32 73
  %563 = getelementptr inbounds %struct.ImGuiNextWindowData, ptr %562, i32 0, i32 9
  %564 = load i8, ptr %563, align 8, !tbaa !126, !range !71, !noundef !72
  %565 = trunc i8 %564 to i1
  %566 = load ptr, ptr %7, align 8, !tbaa !5
  %567 = getelementptr inbounds %struct.ImGuiContext, ptr %566, i32 0, i32 73
  %568 = getelementptr inbounds %struct.ImGuiNextWindowData, ptr %567, i32 0, i32 3
  %569 = load i32, ptr %568, align 4, !tbaa !127
  call void @_ZN5ImGui18SetWindowCollapsedEP11ImGuiWindowbi(ptr noundef %560, i1 noundef zeroext %565, i32 noundef %569)
  br label %570

570:                                              ; preds = %559, %552
  %571 = load ptr, ptr %7, align 8, !tbaa !5
  %572 = getelementptr inbounds %struct.ImGuiContext, ptr %571, i32 0, i32 73
  %573 = getelementptr inbounds %struct.ImGuiNextWindowData, ptr %572, i32 0, i32 0
  %574 = load i32, ptr %573, align 8, !tbaa !114
  %575 = and i32 %574, 32
  %576 = icmp ne i32 %575, 0
  br i1 %576, label %577, label %579

577:                                              ; preds = %570
  %578 = load ptr, ptr %9, align 8, !tbaa !5
  call void @_ZN5ImGui11FocusWindowEP11ImGuiWindow(ptr noundef %578)
  br label %579

579:                                              ; preds = %577, %570
  %580 = load ptr, ptr %9, align 8, !tbaa !5
  %581 = getelementptr inbounds %struct.ImGuiWindow, ptr %580, i32 0, i32 29
  %582 = load i8, ptr %581, align 4, !tbaa !99, !range !71, !noundef !72
  %583 = trunc i8 %582 to i1
  br i1 %583, label %584, label %586

584:                                              ; preds = %579
  %585 = load ptr, ptr %9, align 8, !tbaa !5
  call void @_ZL28SetWindowConditionAllowFlagsP11ImGuiWindowib(ptr noundef %585, i32 noundef 8, i1 noundef zeroext false)
  br label %586

586:                                              ; preds = %584, %579
  %587 = load i8, ptr %12, align 1, !tbaa !75, !range !71, !noundef !72
  %588 = trunc i8 %587 to i1
  br i1 %588, label %589, label %2594

589:                                              ; preds = %586
  call void @llvm.lifetime.start.p0(i64 1, ptr %23) #13
  %590 = load i32, ptr %6, align 4, !tbaa !9
  %591 = and i32 %590, 16777216
  %592 = icmp ne i32 %591, 0
  br i1 %592, label %593, label %597

593:                                              ; preds = %589
  %594 = load i32, ptr %6, align 4, !tbaa !9
  %595 = and i32 %594, 33554432
  %596 = icmp ne i32 %595, 0
  br label %597

597:                                              ; preds = %593, %589
  %598 = phi i1 [ false, %589 ], [ %596, %593 ]
  %599 = zext i1 %598 to i8
  store i8 %599, ptr %23, align 1, !tbaa !75
  %600 = load ptr, ptr %9, align 8, !tbaa !5
  %601 = getelementptr inbounds %struct.ImGuiWindow, ptr %600, i32 0, i32 23
  store i8 1, ptr %601, align 2, !tbaa !128
  %602 = load ptr, ptr %5, align 8, !tbaa !5
  %603 = icmp ne ptr %602, null
  %604 = load ptr, ptr %9, align 8, !tbaa !5
  %605 = getelementptr inbounds %struct.ImGuiWindow, ptr %604, i32 0, i32 32
  %606 = zext i1 %603 to i8
  store i8 %606, ptr %605, align 1, !tbaa !129
  call void @llvm.lifetime.start.p0(i64 16, ptr %24) #13
  call void @llvm.lifetime.start.p0(i64 16, ptr %25) #13
  call void @_ZN6ImVec4C2Effff(ptr noundef nonnull align 4 dereferenceable(16) %25, float noundef 0xC7EFFFFFE0000000, float noundef 0xC7EFFFFFE0000000, float noundef 0x47EFFFFFE0000000, float noundef 0x47EFFFFFE0000000)
  call void @_ZN6ImRectC2ERK6ImVec4(ptr noundef nonnull align 4 dereferenceable(16) %24, ptr noundef nonnull align 4 dereferenceable(16) %25)
  %607 = load ptr, ptr %9, align 8, !tbaa !5
  %608 = getelementptr inbounds %struct.ImGuiWindow, ptr %607, i32 0, i32 60
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %608, ptr align 4 %24, i64 16, i1 false), !tbaa.struct !130
  call void @llvm.lifetime.end.p0(i64 16, ptr %25) #13
  call void @llvm.lifetime.end.p0(i64 16, ptr %24) #13
  %609 = load ptr, ptr %9, align 8, !tbaa !5
  %610 = getelementptr inbounds %struct.ImGuiWindow, ptr %609, i32 0, i32 53
  call void @_ZN8ImVectorIjE6resizeEi(ptr noundef nonnull align 8 dereferenceable(16) %610, i32 noundef 1)
  %611 = load ptr, ptr %9, align 8, !tbaa !5
  %612 = getelementptr inbounds %struct.ImGuiWindow, ptr %611, i32 0, i32 72
  %613 = load ptr, ptr %612, align 8, !tbaa !131
  call void @_ZN10ImDrawList17_ResetForNewFrameEv(ptr noundef nonnull align 8 dereferenceable(196) %613)
  %614 = load ptr, ptr %9, align 8, !tbaa !5
  %615 = getelementptr inbounds %struct.ImGuiWindow, ptr %614, i32 0, i32 54
  %616 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %615, i32 0, i32 26
  store i32 -1, ptr %616, align 8, !tbaa !132
  %617 = load ptr, ptr %9, align 8, !tbaa !5
  %618 = getelementptr inbounds %struct.ImGuiWindow, ptr %617, i32 0, i32 84
  %619 = load i8, ptr %618, align 8, !tbaa !133, !range !71, !noundef !72
  %620 = trunc i8 %619 to i1
  br i1 %620, label %621, label %623

621:                                              ; preds = %597
  %622 = load ptr, ptr %9, align 8, !tbaa !5
  call void @_ZN5ImGui29GcAwakeTransientWindowBuffersEP11ImGuiWindow(ptr noundef %622)
  br label %623

623:                                              ; preds = %621, %597
  call void @llvm.lifetime.start.p0(i64 1, ptr %26) #13
  store i8 0, ptr %26, align 1, !tbaa !75
  %624 = load ptr, ptr %7, align 8, !tbaa !5
  %625 = getelementptr inbounds %struct.ImGuiContext, ptr %624, i32 0, i32 128
  %626 = load ptr, ptr %625, align 8, !tbaa !134
  %627 = icmp ne ptr %626, null
  br i1 %627, label %628, label %635

628:                                              ; preds = %623
  %629 = load ptr, ptr %9, align 8, !tbaa !5
  %630 = getelementptr inbounds %struct.ImGuiWindow, ptr %629, i32 0, i32 2
  %631 = load i32, ptr %630, align 4, !tbaa !100
  %632 = and i32 %631, 524288
  %633 = icmp eq i32 %632, 0
  br i1 %633, label %634, label %635

634:                                              ; preds = %628
  store i8 1, ptr %26, align 1, !tbaa !75
  br label %635

635:                                              ; preds = %634, %628, %623
  %636 = load i8, ptr %26, align 1, !tbaa !75, !range !71, !noundef !72
  %637 = trunc i8 %636 to i1
  br i1 %637, label %638, label %664

638:                                              ; preds = %635
  %639 = load i8, ptr %10, align 1, !tbaa !75, !range !71, !noundef !72
  %640 = trunc i8 %639 to i1
  br i1 %640, label %664, label %641

641:                                              ; preds = %638
  %642 = load ptr, ptr %4, align 8, !tbaa !5
  %643 = load ptr, ptr %9, align 8, !tbaa !5
  %644 = getelementptr inbounds %struct.ImGuiWindow, ptr %643, i32 0, i32 0
  %645 = load ptr, ptr %644, align 8, !tbaa !135
  %646 = call i32 @strcmp(ptr noundef %642, ptr noundef %645) #15
  %647 = icmp ne i32 %646, 0
  br i1 %647, label %648, label %664

648:                                              ; preds = %641
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #13
  %649 = load ptr, ptr %9, align 8, !tbaa !5
  %650 = getelementptr inbounds %struct.ImGuiWindow, ptr %649, i32 0, i32 12
  %651 = load i32, ptr %650, align 8, !tbaa !136
  %652 = sext i32 %651 to i64
  store i64 %652, ptr %27, align 8, !tbaa !137
  %653 = load ptr, ptr %9, align 8, !tbaa !5
  %654 = getelementptr inbounds %struct.ImGuiWindow, ptr %653, i32 0, i32 0
  %655 = load ptr, ptr %654, align 8, !tbaa !135
  %656 = load ptr, ptr %4, align 8, !tbaa !5
  %657 = call noundef ptr @_Z11ImStrdupcpyPcPmPKc(ptr noundef %655, ptr noundef %27, ptr noundef %656)
  %658 = load ptr, ptr %9, align 8, !tbaa !5
  %659 = getelementptr inbounds %struct.ImGuiWindow, ptr %658, i32 0, i32 0
  store ptr %657, ptr %659, align 8, !tbaa !135
  %660 = load i64, ptr %27, align 8, !tbaa !137
  %661 = trunc i64 %660 to i32
  %662 = load ptr, ptr %9, align 8, !tbaa !5
  %663 = getelementptr inbounds %struct.ImGuiWindow, ptr %662, i32 0, i32 12
  store i32 %661, ptr %663, align 8, !tbaa !136
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #13
  br label %664

664:                                              ; preds = %648, %641, %638, %635
  call void @llvm.lifetime.start.p0(i64 1, ptr %28) #13
  %665 = load ptr, ptr %9, align 8, !tbaa !5
  %666 = getelementptr inbounds %struct.ImGuiWindow, ptr %665, i32 0, i32 47
  %667 = load i8, ptr %666, align 1, !tbaa !139
  %668 = sext i8 %667 to i32
  %669 = icmp sgt i32 %668, 0
  %670 = zext i1 %669 to i8
  store i8 %670, ptr %28, align 1, !tbaa !75
  %671 = load ptr, ptr %9, align 8, !tbaa !5
  %672 = load ptr, ptr %9, align 8, !tbaa !5
  %673 = getelementptr inbounds %struct.ImGuiWindow, ptr %672, i32 0, i32 6
  %674 = load ptr, ptr %9, align 8, !tbaa !5
  %675 = getelementptr inbounds %struct.ImGuiWindow, ptr %674, i32 0, i32 7
  call void @_ZL22CalcWindowContentSizesP11ImGuiWindowP6ImVec2S2_(ptr noundef %671, ptr noundef %673, ptr noundef %675)
  %676 = load ptr, ptr %9, align 8, !tbaa !5
  %677 = getelementptr inbounds %struct.ImGuiWindow, ptr %676, i32 0, i32 46
  %678 = load i8, ptr %677, align 8, !tbaa !140
  %679 = sext i8 %678 to i32
  %680 = icmp sgt i32 %679, 0
  br i1 %680, label %681, label %686

681:                                              ; preds = %664
  %682 = load ptr, ptr %9, align 8, !tbaa !5
  %683 = getelementptr inbounds %struct.ImGuiWindow, ptr %682, i32 0, i32 46
  %684 = load i8, ptr %683, align 8, !tbaa !140
  %685 = add i8 %684, -1
  store i8 %685, ptr %683, align 8, !tbaa !140
  br label %686

686:                                              ; preds = %681, %664
  %687 = load ptr, ptr %9, align 8, !tbaa !5
  %688 = getelementptr inbounds %struct.ImGuiWindow, ptr %687, i32 0, i32 47
  %689 = load i8, ptr %688, align 1, !tbaa !139
  %690 = sext i8 %689 to i32
  %691 = icmp sgt i32 %690, 0
  br i1 %691, label %692, label %697

692:                                              ; preds = %686
  %693 = load ptr, ptr %9, align 8, !tbaa !5
  %694 = getelementptr inbounds %struct.ImGuiWindow, ptr %693, i32 0, i32 47
  %695 = load i8, ptr %694, align 1, !tbaa !139
  %696 = add i8 %695, -1
  store i8 %696, ptr %694, align 1, !tbaa !139
  br label %697

697:                                              ; preds = %692, %686
  %698 = load ptr, ptr %9, align 8, !tbaa !5
  %699 = getelementptr inbounds %struct.ImGuiWindow, ptr %698, i32 0, i32 48
  %700 = load i8, ptr %699, align 2, !tbaa !141
  %701 = sext i8 %700 to i32
  %702 = icmp sgt i32 %701, 0
  br i1 %702, label %703, label %708

703:                                              ; preds = %697
  %704 = load ptr, ptr %9, align 8, !tbaa !5
  %705 = getelementptr inbounds %struct.ImGuiWindow, ptr %704, i32 0, i32 48
  %706 = load i8, ptr %705, align 2, !tbaa !141
  %707 = add i8 %706, -1
  store i8 %707, ptr %705, align 2, !tbaa !141
  br label %708

708:                                              ; preds = %703, %697
  %709 = load i8, ptr %10, align 1, !tbaa !75, !range !71, !noundef !72
  %710 = trunc i8 %709 to i1
  br i1 %710, label %711, label %720

711:                                              ; preds = %708
  %712 = load i8, ptr %20, align 1, !tbaa !75, !range !71, !noundef !72
  %713 = trunc i8 %712 to i1
  br i1 %713, label %714, label %717

714:                                              ; preds = %711
  %715 = load i8, ptr %21, align 1, !tbaa !75, !range !71, !noundef !72
  %716 = trunc i8 %715 to i1
  br i1 %716, label %720, label %717

717:                                              ; preds = %714, %711
  %718 = load ptr, ptr %9, align 8, !tbaa !5
  %719 = getelementptr inbounds %struct.ImGuiWindow, ptr %718, i32 0, i32 47
  store i8 1, ptr %719, align 1, !tbaa !139
  br label %720

720:                                              ; preds = %717, %714, %708
  %721 = load i8, ptr %13, align 1, !tbaa !75, !range !71, !noundef !72
  %722 = trunc i8 %721 to i1
  br i1 %722, label %723, label %759

723:                                              ; preds = %720
  %724 = load i32, ptr %6, align 4, !tbaa !9
  %725 = and i32 %724, 100663296
  %726 = icmp ne i32 %725, 0
  br i1 %726, label %727, label %759

727:                                              ; preds = %723
  %728 = load ptr, ptr %9, align 8, !tbaa !5
  %729 = getelementptr inbounds %struct.ImGuiWindow, ptr %728, i32 0, i32 47
  store i8 1, ptr %729, align 1, !tbaa !139
  %730 = load i32, ptr %6, align 4, !tbaa !9
  %731 = and i32 %730, 64
  %732 = icmp ne i32 %731, 0
  br i1 %732, label %733, label %758

733:                                              ; preds = %727
  %734 = load i8, ptr %20, align 1, !tbaa !75, !range !71, !noundef !72
  %735 = trunc i8 %734 to i1
  br i1 %735, label %743, label %736

736:                                              ; preds = %733
  %737 = load ptr, ptr %9, align 8, !tbaa !5
  %738 = getelementptr inbounds %struct.ImGuiWindow, ptr %737, i32 0, i32 5
  %739 = getelementptr inbounds %struct.ImVec2, ptr %738, i32 0, i32 0
  store float 0.000000e+00, ptr %739, align 8, !tbaa !142
  %740 = load ptr, ptr %9, align 8, !tbaa !5
  %741 = getelementptr inbounds %struct.ImGuiWindow, ptr %740, i32 0, i32 4
  %742 = getelementptr inbounds %struct.ImVec2, ptr %741, i32 0, i32 0
  store float 0.000000e+00, ptr %742, align 8, !tbaa !143
  br label %743

743:                                              ; preds = %736, %733
  %744 = load i8, ptr %21, align 1, !tbaa !75, !range !71, !noundef !72
  %745 = trunc i8 %744 to i1
  br i1 %745, label %753, label %746

746:                                              ; preds = %743
  %747 = load ptr, ptr %9, align 8, !tbaa !5
  %748 = getelementptr inbounds %struct.ImGuiWindow, ptr %747, i32 0, i32 5
  %749 = getelementptr inbounds %struct.ImVec2, ptr %748, i32 0, i32 1
  store float 0.000000e+00, ptr %749, align 4, !tbaa !144
  %750 = load ptr, ptr %9, align 8, !tbaa !5
  %751 = getelementptr inbounds %struct.ImGuiWindow, ptr %750, i32 0, i32 4
  %752 = getelementptr inbounds %struct.ImVec2, ptr %751, i32 0, i32 1
  store float 0.000000e+00, ptr %752, align 4, !tbaa !145
  br label %753

753:                                              ; preds = %746, %743
  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)
  %754 = load ptr, ptr %9, align 8, !tbaa !5
  %755 = getelementptr inbounds %struct.ImGuiWindow, ptr %754, i32 0, i32 7
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %755, ptr align 4 %29, i64 8, i1 false), !tbaa.struct !116
  %756 = load ptr, ptr %9, align 8, !tbaa !5
  %757 = getelementptr inbounds %struct.ImGuiWindow, ptr %756, i32 0, i32 6
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %757, ptr align 4 %755, i64 8, i1 false), !tbaa.struct !116
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #13
  br label %758

758:                                              ; preds = %753, %727
  br label %759

759:                                              ; preds = %758, %723, %720
  %760 = load ptr, ptr %9, align 8, !tbaa !5
  call void @_ZL16SetCurrentWindowP11ImGuiWindow(ptr noundef %760)
  %761 = load i32, ptr %6, align 4, !tbaa !9
  %762 = and i32 %761, 16777216
  %763 = icmp ne i32 %762, 0
  br i1 %763, label %764, label %770

764:                                              ; preds = %759
  %765 = load ptr, ptr %8, align 8, !tbaa !5
  %766 = getelementptr inbounds %struct.ImGuiStyle, ptr %765, i32 0, i32 9
  %767 = load float, ptr %766, align 4, !tbaa !146
  %768 = load ptr, ptr %9, align 8, !tbaa !5
  %769 = getelementptr inbounds %struct.ImGuiWindow, ptr %768, i32 0, i32 11
  store float %767, ptr %769, align 4, !tbaa !147
  br label %790

770:                                              ; preds = %759
  %771 = load i32, ptr %6, align 4, !tbaa !9
  %772 = and i32 %771, 100663296
  %773 = icmp ne i32 %772, 0
  br i1 %773, label %774, label %782

774:                                              ; preds = %770
  %775 = load i32, ptr %6, align 4, !tbaa !9
  %776 = and i32 %775, 134217728
  %777 = icmp ne i32 %776, 0
  br i1 %777, label %782, label %778

778:                                              ; preds = %774
  %779 = load ptr, ptr %8, align 8, !tbaa !5
  %780 = getelementptr inbounds %struct.ImGuiStyle, ptr %779, i32 0, i32 11
  %781 = load float, ptr %780, align 4, !tbaa !148
  br label %786

782:                                              ; preds = %774, %770
  %783 = load ptr, ptr %8, align 8, !tbaa !5
  %784 = getelementptr inbounds %struct.ImGuiStyle, ptr %783, i32 0, i32 4
  %785 = load float, ptr %784, align 4, !tbaa !149
  br label %786

786:                                              ; preds = %782, %778
  %787 = phi float [ %781, %778 ], [ %785, %782 ]
  %788 = load ptr, ptr %9, align 8, !tbaa !5
  %789 = getelementptr inbounds %struct.ImGuiWindow, ptr %788, i32 0, i32 11
  store float %787, ptr %789, align 4, !tbaa !147
  br label %790

790:                                              ; preds = %786, %764
  %791 = load ptr, ptr %8, align 8, !tbaa !5
  %792 = getelementptr inbounds %struct.ImGuiStyle, ptr %791, i32 0, i32 2
  %793 = load ptr, ptr %9, align 8, !tbaa !5
  %794 = getelementptr inbounds %struct.ImGuiWindow, ptr %793, i32 0, i32 9
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %794, ptr align 4 %792, i64 8, i1 false), !tbaa.struct !116
  %795 = load i32, ptr %6, align 4, !tbaa !9
  %796 = and i32 %795, 16777216
  %797 = icmp ne i32 %796, 0
  br i1 %797, label %798, label %821

798:                                              ; preds = %790
  %799 = load i32, ptr %6, align 4, !tbaa !9
  %800 = and i32 %799, 67174400
  %801 = icmp ne i32 %800, 0
  br i1 %801, label %821, label %802

802:                                              ; preds = %798
  %803 = load ptr, ptr %9, align 8, !tbaa !5
  %804 = getelementptr inbounds %struct.ImGuiWindow, ptr %803, i32 0, i32 11
  %805 = load float, ptr %804, align 4, !tbaa !147
  %806 = fcmp oeq float %805, 0.000000e+00
  br i1 %806, label %807, label %821

807:                                              ; preds = %802
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #13
  %808 = load i32, ptr %6, align 4, !tbaa !9
  %809 = and i32 %808, 1024
  %810 = icmp ne i32 %809, 0
  br i1 %810, label %811, label %816

811:                                              ; preds = %807
  %812 = load ptr, ptr %8, align 8, !tbaa !5
  %813 = getelementptr inbounds %struct.ImGuiStyle, ptr %812, i32 0, i32 2
  %814 = getelementptr inbounds %struct.ImVec2, ptr %813, i32 0, i32 1
  %815 = load float, ptr %814, align 4, !tbaa !150
  br label %817

816:                                              ; preds = %807
  br label %817

817:                                              ; preds = %816, %811
  %818 = phi float [ %815, %811 ], [ 0.000000e+00, %816 ]
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %30, float noundef 0.000000e+00, float noundef %818)
  %819 = load ptr, ptr %9, align 8, !tbaa !5
  %820 = getelementptr inbounds %struct.ImGuiWindow, ptr %819, i32 0, i32 9
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %820, ptr align 4 %30, i64 8, i1 false), !tbaa.struct !116
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #13
  br label %821

821:                                              ; preds = %817, %802, %798, %790
  %822 = load ptr, ptr %9, align 8, !tbaa !5
  %823 = getelementptr inbounds %struct.ImGuiWindow, ptr %822, i32 0, i32 9
  %824 = getelementptr inbounds %struct.ImVec2, ptr %823, i32 0, i32 0
  %825 = load float, ptr %824, align 8, !tbaa !151
  %826 = load ptr, ptr %8, align 8, !tbaa !5
  %827 = getelementptr inbounds %struct.ImGuiStyle, ptr %826, i32 0, i32 15
  %828 = getelementptr inbounds %struct.ImVec2, ptr %827, i32 0, i32 0
  %829 = load float, ptr %828, align 4, !tbaa !152
  %830 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %825, float noundef %829)
  %831 = load ptr, ptr %7, align 8, !tbaa !5
  %832 = getelementptr inbounds %struct.ImGuiContext, ptr %831, i32 0, i32 73
  %833 = getelementptr inbounds %struct.ImGuiNextWindowData, ptr %832, i32 0, i32 16
  %834 = getelementptr inbounds %struct.ImVec2, ptr %833, i32 0, i32 0
  %835 = load float, ptr %834, align 4, !tbaa !153
  %836 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %830, float noundef %835)
  %837 = load ptr, ptr %9, align 8, !tbaa !5
  %838 = getelementptr inbounds %struct.ImGuiWindow, ptr %837, i32 0, i32 54
  %839 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %838, i32 0, i32 19
  %840 = getelementptr inbounds %struct.ImVec2, ptr %839, i32 0, i32 0
  store float %836, ptr %840, align 4, !tbaa !154
  %841 = load ptr, ptr %7, align 8, !tbaa !5
  %842 = getelementptr inbounds %struct.ImGuiContext, ptr %841, i32 0, i32 73
  %843 = getelementptr inbounds %struct.ImGuiNextWindowData, ptr %842, i32 0, i32 16
  %844 = getelementptr inbounds %struct.ImVec2, ptr %843, i32 0, i32 1
  %845 = load float, ptr %844, align 4, !tbaa !155
  %846 = load ptr, ptr %9, align 8, !tbaa !5
  %847 = getelementptr inbounds %struct.ImGuiWindow, ptr %846, i32 0, i32 54
  %848 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %847, i32 0, i32 19
  %849 = getelementptr inbounds %struct.ImVec2, ptr %848, i32 0, i32 1
  store float %845, ptr %849, align 4, !tbaa !156
  %850 = load i32, ptr %6, align 4, !tbaa !9
  %851 = and i32 %850, 1
  %852 = icmp ne i32 %851, 0
  br i1 %852, label %909, label %853

853:                                              ; preds = %821
  %854 = load i32, ptr %6, align 4, !tbaa !9
  %855 = and i32 %854, 32
  %856 = icmp ne i32 %855, 0
  br i1 %856, label %909, label %857

857:                                              ; preds = %853
  call void @llvm.lifetime.start.p0(i64 16, ptr %31) #13
  %858 = load ptr, ptr %9, align 8, !tbaa !5
  %859 = call { <2 x float>, <2 x float> } @_ZNK11ImGuiWindow12TitleBarRectEv(ptr noundef nonnull align 8 dereferenceable(921) %858)
  %860 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %31, i32 0, i32 0
  %861 = extractvalue { <2 x float>, <2 x float> } %859, 0
  store <2 x float> %861, ptr %860, align 4
  %862 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %31, i32 0, i32 1
  %863 = extractvalue { <2 x float>, <2 x float> } %859, 1
  store <2 x float> %863, ptr %862, align 4
  %864 = load ptr, ptr %7, align 8, !tbaa !5
  %865 = getelementptr inbounds %struct.ImGuiContext, ptr %864, i32 0, i32 29
  %866 = load ptr, ptr %865, align 8, !tbaa !157
  %867 = load ptr, ptr %9, align 8, !tbaa !5
  %868 = icmp eq ptr %866, %867
  br i1 %868, label %869, label %893

869:                                              ; preds = %857
  %870 = load ptr, ptr %7, align 8, !tbaa !5
  %871 = getelementptr inbounds %struct.ImGuiContext, ptr %870, i32 0, i32 36
  %872 = load i32, ptr %871, align 8, !tbaa !158
  %873 = icmp eq i32 %872, 0
  br i1 %873, label %874, label %893

874:                                              ; preds = %869
  %875 = load ptr, ptr %7, align 8, !tbaa !5
  %876 = getelementptr inbounds %struct.ImGuiContext, ptr %875, i32 0, i32 37
  %877 = load i32, ptr %876, align 4, !tbaa !159
  %878 = icmp eq i32 %877, 0
  br i1 %878, label %879, label %893

879:                                              ; preds = %874
  %880 = getelementptr inbounds %struct.ImRect, ptr %31, i32 0, i32 0
  %881 = getelementptr inbounds %struct.ImRect, ptr %31, i32 0, i32 1
  %882 = call noundef zeroext i1 @_ZN5ImGui19IsMouseHoveringRectERK6ImVec2S2_b(ptr noundef nonnull align 4 dereferenceable(8) %880, ptr noundef nonnull align 4 dereferenceable(8) %881, i1 noundef zeroext true)
  br i1 %882, label %883, label %893

883:                                              ; preds = %879
  %884 = load ptr, ptr %7, align 8, !tbaa !5
  %885 = getelementptr inbounds %struct.ImGuiContext, ptr %884, i32 0, i32 3
  %886 = getelementptr inbounds %struct.ImGuiIO, ptr %885, i32 0, i32 67
  %887 = getelementptr inbounds [5 x i8], ptr %886, i64 0, i64 0
  %888 = load i8, ptr %887, align 1, !tbaa !75, !range !71, !noundef !72
  %889 = trunc i8 %888 to i1
  br i1 %889, label %890, label %893

890:                                              ; preds = %883
  %891 = load ptr, ptr %9, align 8, !tbaa !5
  %892 = getelementptr inbounds %struct.ImGuiWindow, ptr %891, i32 0, i32 27
  store i8 1, ptr %892, align 2, !tbaa !160
  br label %893

893:                                              ; preds = %890, %883, %879, %874, %869, %857
  %894 = load ptr, ptr %9, align 8, !tbaa !5
  %895 = getelementptr inbounds %struct.ImGuiWindow, ptr %894, i32 0, i32 27
  %896 = load i8, ptr %895, align 2, !tbaa !160, !range !71, !noundef !72
  %897 = trunc i8 %896 to i1
  br i1 %897, label %898, label %908

898:                                              ; preds = %893
  %899 = load ptr, ptr %9, align 8, !tbaa !5
  %900 = getelementptr inbounds %struct.ImGuiWindow, ptr %899, i32 0, i32 26
  %901 = load i8, ptr %900, align 1, !tbaa !161, !range !71, !noundef !72
  %902 = trunc i8 %901 to i1
  %903 = xor i1 %902, true
  %904 = load ptr, ptr %9, align 8, !tbaa !5
  %905 = getelementptr inbounds %struct.ImGuiWindow, ptr %904, i32 0, i32 26
  %906 = zext i1 %903 to i8
  store i8 %906, ptr %905, align 1, !tbaa !161
  %907 = load ptr, ptr %9, align 8, !tbaa !5
  call void @_ZN5ImGui20MarkIniSettingsDirtyEP11ImGuiWindow(ptr noundef %907)
  br label %908

908:                                              ; preds = %898, %893
  call void @llvm.lifetime.end.p0(i64 16, ptr %31) #13
  br label %912

909:                                              ; preds = %853, %821
  %910 = load ptr, ptr %9, align 8, !tbaa !5
  %911 = getelementptr inbounds %struct.ImGuiWindow, ptr %910, i32 0, i32 26
  store i8 0, ptr %911, align 1, !tbaa !161
  br label %912

912:                                              ; preds = %909, %908
  %913 = load ptr, ptr %9, align 8, !tbaa !5
  %914 = getelementptr inbounds %struct.ImGuiWindow, ptr %913, i32 0, i32 27
  store i8 0, ptr %914, align 2, !tbaa !160
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #13
  %915 = load ptr, ptr %9, align 8, !tbaa !5
  %916 = load ptr, ptr %9, align 8, !tbaa !5
  %917 = getelementptr inbounds %struct.ImGuiWindow, ptr %916, i32 0, i32 7
  %918 = call <2 x float> @_ZL21CalcWindowAutoFitSizeP11ImGuiWindowRK6ImVec2(ptr noundef %915, ptr noundef nonnull align 4 dereferenceable(8) %917)
  store <2 x float> %918, ptr %32, align 4
  call void @llvm.lifetime.start.p0(i64 1, ptr %33) #13
  %919 = load i8, ptr %10, align 1, !tbaa !75, !range !71, !noundef !72
  %920 = trunc i8 %919 to i1
  %921 = zext i1 %920 to i8
  store i8 %921, ptr %33, align 1, !tbaa !75
  call void @llvm.lifetime.start.p0(i64 1, ptr %34) #13
  %922 = load i8, ptr %10, align 1, !tbaa !75, !range !71, !noundef !72
  %923 = trunc i8 %922 to i1
  %924 = zext i1 %923 to i8
  store i8 %924, ptr %34, align 1, !tbaa !75
  %925 = load i32, ptr %6, align 4, !tbaa !9
  %926 = and i32 %925, 64
  %927 = icmp ne i32 %926, 0
  br i1 %927, label %928, label %952

928:                                              ; preds = %912
  %929 = load ptr, ptr %9, align 8, !tbaa !5
  %930 = getelementptr inbounds %struct.ImGuiWindow, ptr %929, i32 0, i32 26
  %931 = load i8, ptr %930, align 1, !tbaa !161, !range !71, !noundef !72
  %932 = trunc i8 %931 to i1
  br i1 %932, label %952, label %933

933:                                              ; preds = %928
  %934 = load i8, ptr %20, align 1, !tbaa !75, !range !71, !noundef !72
  %935 = trunc i8 %934 to i1
  br i1 %935, label %942, label %936

936:                                              ; preds = %933
  %937 = getelementptr inbounds %struct.ImVec2, ptr %32, i32 0, i32 0
  %938 = load float, ptr %937, align 4, !tbaa !162
  %939 = load ptr, ptr %9, align 8, !tbaa !5
  %940 = getelementptr inbounds %struct.ImGuiWindow, ptr %939, i32 0, i32 5
  %941 = getelementptr inbounds %struct.ImVec2, ptr %940, i32 0, i32 0
  store float %938, ptr %941, align 8, !tbaa !142
  store i8 1, ptr %33, align 1, !tbaa !75
  br label %942

942:                                              ; preds = %936, %933
  %943 = load i8, ptr %21, align 1, !tbaa !75, !range !71, !noundef !72
  %944 = trunc i8 %943 to i1
  br i1 %944, label %951, label %945

945:                                              ; preds = %942
  %946 = getelementptr inbounds %struct.ImVec2, ptr %32, i32 0, i32 1
  %947 = load float, ptr %946, align 4, !tbaa !163
  %948 = load ptr, ptr %9, align 8, !tbaa !5
  %949 = getelementptr inbounds %struct.ImGuiWindow, ptr %948, i32 0, i32 5
  %950 = getelementptr inbounds %struct.ImVec2, ptr %949, i32 0, i32 1
  store float %947, ptr %950, align 4, !tbaa !144
  store i8 1, ptr %34, align 1, !tbaa !75
  br label %951

951:                                              ; preds = %945, %942
  br label %1033

952:                                              ; preds = %928, %912
  %953 = load ptr, ptr %9, align 8, !tbaa !5
  %954 = getelementptr inbounds %struct.ImGuiWindow, ptr %953, i32 0, i32 41
  %955 = load i8, ptr %954, align 8, !tbaa !164
  %956 = sext i8 %955 to i32
  %957 = icmp sgt i32 %956, 0
  br i1 %957, label %964, label %958

958:                                              ; preds = %952
  %959 = load ptr, ptr %9, align 8, !tbaa !5
  %960 = getelementptr inbounds %struct.ImGuiWindow, ptr %959, i32 0, i32 42
  %961 = load i8, ptr %960, align 1, !tbaa !165
  %962 = sext i8 %961 to i32
  %963 = icmp sgt i32 %962, 0
  br i1 %963, label %964, label %1032

964:                                              ; preds = %958, %952
  %965 = load i8, ptr %20, align 1, !tbaa !75, !range !71, !noundef !72
  %966 = trunc i8 %965 to i1
  br i1 %966, label %994, label %967

967:                                              ; preds = %964
  %968 = load ptr, ptr %9, align 8, !tbaa !5
  %969 = getelementptr inbounds %struct.ImGuiWindow, ptr %968, i32 0, i32 41
  %970 = load i8, ptr %969, align 8, !tbaa !164
  %971 = sext i8 %970 to i32
  %972 = icmp sgt i32 %971, 0
  br i1 %972, label %973, label %994

973:                                              ; preds = %967
  %974 = load ptr, ptr %9, align 8, !tbaa !5
  %975 = getelementptr inbounds %struct.ImGuiWindow, ptr %974, i32 0, i32 44
  %976 = load i8, ptr %975, align 1, !tbaa !166, !range !71, !noundef !72
  %977 = trunc i8 %976 to i1
  br i1 %977, label %978, label %986

978:                                              ; preds = %973
  %979 = load ptr, ptr %9, align 8, !tbaa !5
  %980 = getelementptr inbounds %struct.ImGuiWindow, ptr %979, i32 0, i32 5
  %981 = getelementptr inbounds %struct.ImVec2, ptr %980, i32 0, i32 0
  %982 = load float, ptr %981, align 8, !tbaa !142
  %983 = getelementptr inbounds %struct.ImVec2, ptr %32, i32 0, i32 0
  %984 = load float, ptr %983, align 4, !tbaa !162
  %985 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %982, float noundef %984)
  br label %989

986:                                              ; preds = %973
  %987 = getelementptr inbounds %struct.ImVec2, ptr %32, i32 0, i32 0
  %988 = load float, ptr %987, align 4, !tbaa !162
  br label %989

989:                                              ; preds = %986, %978
  %990 = phi float [ %985, %978 ], [ %988, %986 ]
  %991 = load ptr, ptr %9, align 8, !tbaa !5
  %992 = getelementptr inbounds %struct.ImGuiWindow, ptr %991, i32 0, i32 5
  %993 = getelementptr inbounds %struct.ImVec2, ptr %992, i32 0, i32 0
  store float %990, ptr %993, align 8, !tbaa !142
  store i8 1, ptr %33, align 1, !tbaa !75
  br label %994

994:                                              ; preds = %989, %967, %964
  %995 = load i8, ptr %21, align 1, !tbaa !75, !range !71, !noundef !72
  %996 = trunc i8 %995 to i1
  br i1 %996, label %1024, label %997

997:                                              ; preds = %994
  %998 = load ptr, ptr %9, align 8, !tbaa !5
  %999 = getelementptr inbounds %struct.ImGuiWindow, ptr %998, i32 0, i32 42
  %1000 = load i8, ptr %999, align 1, !tbaa !165
  %1001 = sext i8 %1000 to i32
  %1002 = icmp sgt i32 %1001, 0
  br i1 %1002, label %1003, label %1024

1003:                                             ; preds = %997
  %1004 = load ptr, ptr %9, align 8, !tbaa !5
  %1005 = getelementptr inbounds %struct.ImGuiWindow, ptr %1004, i32 0, i32 44
  %1006 = load i8, ptr %1005, align 1, !tbaa !166, !range !71, !noundef !72
  %1007 = trunc i8 %1006 to i1
  br i1 %1007, label %1008, label %1016

1008:                                             ; preds = %1003
  %1009 = load ptr, ptr %9, align 8, !tbaa !5
  %1010 = getelementptr inbounds %struct.ImGuiWindow, ptr %1009, i32 0, i32 5
  %1011 = getelementptr inbounds %struct.ImVec2, ptr %1010, i32 0, i32 1
  %1012 = load float, ptr %1011, align 4, !tbaa !144
  %1013 = getelementptr inbounds %struct.ImVec2, ptr %32, i32 0, i32 1
  %1014 = load float, ptr %1013, align 4, !tbaa !163
  %1015 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %1012, float noundef %1014)
  br label %1019

1016:                                             ; preds = %1003
  %1017 = getelementptr inbounds %struct.ImVec2, ptr %32, i32 0, i32 1
  %1018 = load float, ptr %1017, align 4, !tbaa !163
  br label %1019

1019:                                             ; preds = %1016, %1008
  %1020 = phi float [ %1015, %1008 ], [ %1018, %1016 ]
  %1021 = load ptr, ptr %9, align 8, !tbaa !5
  %1022 = getelementptr inbounds %struct.ImGuiWindow, ptr %1021, i32 0, i32 5
  %1023 = getelementptr inbounds %struct.ImVec2, ptr %1022, i32 0, i32 1
  store float %1020, ptr %1023, align 4, !tbaa !144
  store i8 1, ptr %34, align 1, !tbaa !75
  br label %1024

1024:                                             ; preds = %1019, %997, %994
  %1025 = load ptr, ptr %9, align 8, !tbaa !5
  %1026 = getelementptr inbounds %struct.ImGuiWindow, ptr %1025, i32 0, i32 26
  %1027 = load i8, ptr %1026, align 1, !tbaa !161, !range !71, !noundef !72
  %1028 = trunc i8 %1027 to i1
  br i1 %1028, label %1031, label %1029

1029:                                             ; preds = %1024
  %1030 = load ptr, ptr %9, align 8, !tbaa !5
  call void @_ZN5ImGui20MarkIniSettingsDirtyEP11ImGuiWindow(ptr noundef %1030)
  br label %1031

1031:                                             ; preds = %1029, %1024
  br label %1032

1032:                                             ; preds = %1031, %958
  br label %1033

1033:                                             ; preds = %1032, %951
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #13
  %1034 = load ptr, ptr %9, align 8, !tbaa !5
  %1035 = load ptr, ptr %9, align 8, !tbaa !5
  %1036 = getelementptr inbounds %struct.ImGuiWindow, ptr %1035, i32 0, i32 5
  %1037 = call <2 x float> @_ZL29CalcWindowSizeAfterConstraintP11ImGuiWindowRK6ImVec2(ptr noundef %1034, ptr noundef nonnull align 4 dereferenceable(8) %1036)
  store <2 x float> %1037, ptr %35, align 4
  %1038 = load ptr, ptr %9, align 8, !tbaa !5
  %1039 = getelementptr inbounds %struct.ImGuiWindow, ptr %1038, i32 0, i32 5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %1039, ptr align 4 %35, i64 8, i1 false), !tbaa.struct !116
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #13
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #13
  %1040 = load ptr, ptr %9, align 8, !tbaa !5
  %1041 = getelementptr inbounds %struct.ImGuiWindow, ptr %1040, i32 0, i32 26
  %1042 = load i8, ptr %1041, align 1, !tbaa !161, !range !71, !noundef !72
  %1043 = trunc i8 %1042 to i1
  call void @llvm.lifetime.start.p0(i64 16, ptr %37) #13
  br i1 %1043, label %1044, label %1056

1044:                                             ; preds = %1033
  %1045 = load i32, ptr %6, align 4, !tbaa !9
  %1046 = and i32 %1045, 16777216
  %1047 = icmp ne i32 %1046, 0
  br i1 %1047, label %1056, label %1048

1048:                                             ; preds = %1044
  %1049 = load ptr, ptr %9, align 8, !tbaa !5
  %1050 = call { <2 x float>, <2 x float> } @_ZNK11ImGuiWindow12TitleBarRectEv(ptr noundef nonnull align 8 dereferenceable(921) %1049)
  %1051 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %37, i32 0, i32 0
  %1052 = extractvalue { <2 x float>, <2 x float> } %1050, 0
  store <2 x float> %1052, ptr %1051, align 4
  %1053 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %37, i32 0, i32 1
  %1054 = extractvalue { <2 x float>, <2 x float> } %1050, 1
  store <2 x float> %1054, ptr %1053, align 4
  %1055 = call <2 x float> @_ZNK6ImRect7GetSizeEv(ptr noundef nonnull align 4 dereferenceable(16) %37)
  store <2 x float> %1055, ptr %36, align 4
  br label %1059

1056:                                             ; preds = %1044, %1033
  %1057 = load ptr, ptr %9, align 8, !tbaa !5
  %1058 = getelementptr inbounds %struct.ImGuiWindow, ptr %1057, i32 0, i32 5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %36, ptr align 8 %1058, i64 8, i1 false), !tbaa.struct !116
  br label %1059

1059:                                             ; preds = %1056, %1048
  %1060 = load ptr, ptr %9, align 8, !tbaa !5
  %1061 = getelementptr inbounds %struct.ImGuiWindow, ptr %1060, i32 0, i32 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %1061, ptr align 4 %36, i64 8, i1 false), !tbaa.struct !116
  call void @llvm.lifetime.end.p0(i64 16, ptr %37) #13
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #13
  call void @llvm.lifetime.start.p0(i64 4, ptr %38) #13
  %1062 = load ptr, ptr %9, align 8, !tbaa !5
  %1063 = call noundef float @_ZNK11ImGuiWindow14TitleBarHeightEv(ptr noundef nonnull align 8 dereferenceable(921) %1062)
  %1064 = load ptr, ptr %9, align 8, !tbaa !5
  %1065 = call noundef float @_ZNK11ImGuiWindow13MenuBarHeightEv(ptr noundef nonnull align 8 dereferenceable(921) %1064)
  %1066 = fadd float %1063, %1065
  store float %1066, ptr %38, align 4, !tbaa !113
  %1067 = load i8, ptr %13, align 1, !tbaa !75, !range !71, !noundef !72
  %1068 = trunc i8 %1067 to i1
  br i1 %1068, label %1069, label %1090

1069:                                             ; preds = %1059
  %1070 = load ptr, ptr %9, align 8, !tbaa !5
  %1071 = getelementptr inbounds %struct.ImGuiWindow, ptr %1070, i32 0, i32 45
  store i32 -1, ptr %1071, align 4, !tbaa !167
  %1072 = load i32, ptr %6, align 4, !tbaa !9
  %1073 = and i32 %1072, 67108864
  %1074 = icmp ne i32 %1073, 0
  br i1 %1074, label %1075, label %1089

1075:                                             ; preds = %1069
  %1076 = load i32, ptr %6, align 4, !tbaa !9
  %1077 = and i32 %1076, 134217728
  %1078 = icmp ne i32 %1077, 0
  br i1 %1078, label %1089, label %1079

1079:                                             ; preds = %1075
  %1080 = load i8, ptr %19, align 1, !tbaa !75, !range !71, !noundef !72
  %1081 = trunc i8 %1080 to i1
  br i1 %1081, label %1089, label %1082

1082:                                             ; preds = %1079
  %1083 = load ptr, ptr %7, align 8, !tbaa !5
  %1084 = getelementptr inbounds %struct.ImGuiContext, ptr %1083, i32 0, i32 81
  %1085 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZN8ImVectorI14ImGuiPopupDataE4backEv(ptr noundef nonnull align 8 dereferenceable(16) %1084)
  %1086 = getelementptr inbounds %struct.ImGuiPopupData, ptr %1085, i32 0, i32 5
  %1087 = load ptr, ptr %9, align 8, !tbaa !5
  %1088 = getelementptr inbounds %struct.ImGuiWindow, ptr %1087, i32 0, i32 3
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %1088, ptr align 8 %1086, i64 8, i1 false), !tbaa.struct !116
  br label %1089

1089:                                             ; preds = %1082, %1079, %1075, %1069
  br label %1090

1090:                                             ; preds = %1089, %1059
  %1091 = load i32, ptr %6, align 4, !tbaa !9
  %1092 = and i32 %1091, 16777216
  %1093 = icmp ne i32 %1092, 0
  br i1 %1093, label %1094, label %1135

1094:                                             ; preds = %1090
  %1095 = load ptr, ptr %16, align 8, !tbaa !5
  %1096 = icmp ne ptr %1095, null
  br i1 %1096, label %1097, label %1102

1097:                                             ; preds = %1094
  %1098 = load ptr, ptr %16, align 8, !tbaa !5
  %1099 = getelementptr inbounds %struct.ImGuiWindow, ptr %1098, i32 0, i32 23
  %1100 = load i8, ptr %1099, align 2, !tbaa !128, !range !71, !noundef !72
  %1101 = trunc i8 %1100 to i1
  br label %1102

1102:                                             ; preds = %1097, %1094
  %1103 = phi i1 [ false, %1094 ], [ %1101, %1097 ]
  br i1 %1103, label %1104, label %1105

1104:                                             ; preds = %1102
  br label %1107

1105:                                             ; preds = %1102
  call void @__assert_fail(ptr noundef @.str.114, ptr noundef @.str.3, i32 noundef 6055, ptr noundef @__PRETTY_FUNCTION__._ZN5ImGui5BeginEPKcPbi) #14
  unreachable

1106:                                             ; No predecessors!
  br label %1107

1107:                                             ; preds = %1106, %1104
  %1108 = load ptr, ptr %16, align 8, !tbaa !5
  %1109 = getelementptr inbounds %struct.ImGuiWindow, ptr %1108, i32 0, i32 54
  %1110 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %1109, i32 0, i32 23
  %1111 = getelementptr inbounds %struct.ImVector.3, ptr %1110, i32 0, i32 0
  %1112 = load i32, ptr %1111, align 8, !tbaa !168
  %1113 = trunc i32 %1112 to i16
  %1114 = load ptr, ptr %9, align 8, !tbaa !5
  %1115 = getelementptr inbounds %struct.ImGuiWindow, ptr %1114, i32 0, i32 36
  store i16 %1113, ptr %1115, align 4, !tbaa !103
  %1116 = load ptr, ptr %16, align 8, !tbaa !5
  %1117 = getelementptr inbounds %struct.ImGuiWindow, ptr %1116, i32 0, i32 54
  %1118 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %1117, i32 0, i32 23
  call void @_ZN8ImVectorIP11ImGuiWindowE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %1118, ptr noundef nonnull align 8 dereferenceable(8) %9)
  %1119 = load i32, ptr %6, align 4, !tbaa !9
  %1120 = and i32 %1119, 67108864
  %1121 = icmp ne i32 %1120, 0
  br i1 %1121, label %1134, label %1122

1122:                                             ; preds = %1107
  %1123 = load i8, ptr %19, align 1, !tbaa !75, !range !71, !noundef !72
  %1124 = trunc i8 %1123 to i1
  br i1 %1124, label %1134, label %1125

1125:                                             ; preds = %1122
  %1126 = load i8, ptr %23, align 1, !tbaa !75, !range !71, !noundef !72
  %1127 = trunc i8 %1126 to i1
  br i1 %1127, label %1134, label %1128

1128:                                             ; preds = %1125
  %1129 = load ptr, ptr %16, align 8, !tbaa !5
  %1130 = getelementptr inbounds %struct.ImGuiWindow, ptr %1129, i32 0, i32 54
  %1131 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %1130, i32 0, i32 0
  %1132 = load ptr, ptr %9, align 8, !tbaa !5
  %1133 = getelementptr inbounds %struct.ImGuiWindow, ptr %1132, i32 0, i32 3
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %1133, ptr align 8 %1131, i64 8, i1 false), !tbaa.struct !116
  br label %1134

1134:                                             ; preds = %1128, %1125, %1122, %1107
  br label %1135

1135:                                             ; preds = %1134, %1090
  call void @llvm.lifetime.start.p0(i64 1, ptr %39) #13
  %1136 = load ptr, ptr %9, align 8, !tbaa !5
  %1137 = getelementptr inbounds %struct.ImGuiWindow, ptr %1136, i32 0, i32 51
  %1138 = getelementptr inbounds %struct.ImVec2, ptr %1137, i32 0, i32 0
  %1139 = load float, ptr %1138, align 8, !tbaa !169
  %1140 = fcmp une float %1139, 0x47EFFFFFE0000000
  br i1 %1140, label %1141, label %1147

1141:                                             ; preds = %1135
  %1142 = load ptr, ptr %9, align 8, !tbaa !5
  %1143 = getelementptr inbounds %struct.ImGuiWindow, ptr %1142, i32 0, i32 47
  %1144 = load i8, ptr %1143, align 1, !tbaa !139
  %1145 = sext i8 %1144 to i32
  %1146 = icmp eq i32 %1145, 0
  br label %1147

1147:                                             ; preds = %1141, %1135
  %1148 = phi i1 [ false, %1135 ], [ %1146, %1141 ]
  %1149 = zext i1 %1148 to i8
  store i8 %1149, ptr %39, align 1, !tbaa !75
  %1150 = load i8, ptr %39, align 1, !tbaa !75, !range !71, !noundef !72
  %1151 = trunc i8 %1150 to i1
  br i1 %1151, label %1152, label %1162

1152:                                             ; preds = %1147
  %1153 = load ptr, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %40) #13
  %1154 = load ptr, ptr %9, align 8, !tbaa !5
  %1155 = getelementptr inbounds %struct.ImGuiWindow, ptr %1154, i32 0, i32 51
  call void @llvm.lifetime.start.p0(i64 8, ptr %41) #13
  %1156 = load ptr, ptr %9, align 8, !tbaa !5
  %1157 = getelementptr inbounds %struct.ImGuiWindow, ptr %1156, i32 0, i32 4
  %1158 = load ptr, ptr %9, align 8, !tbaa !5
  %1159 = getelementptr inbounds %struct.ImGuiWindow, ptr %1158, i32 0, i32 52
  %1160 = call <2 x float> @_ZmlRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %1157, ptr noundef nonnull align 4 dereferenceable(8) %1159)
  store <2 x float> %1160, ptr %41, align 4
  %1161 = call <2 x float> @_ZmiRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %1155, ptr noundef nonnull align 4 dereferenceable(8) %41)
  store <2 x float> %1161, ptr %40, align 4
  call void @_ZN5ImGui12SetWindowPosEP11ImGuiWindowRK6ImVec2i(ptr noundef %1153, ptr noundef nonnull align 4 dereferenceable(8) %40, i32 noundef 0)
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #13
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #13
  br label %1204

1162:                                             ; preds = %1147
  %1163 = load i32, ptr %6, align 4, !tbaa !9
  %1164 = and i32 %1163, 268435456
  %1165 = icmp ne i32 %1164, 0
  br i1 %1165, label %1166, label %1171

1166:                                             ; preds = %1162
  call void @llvm.lifetime.start.p0(i64 8, ptr %42) #13
  %1167 = load ptr, ptr %9, align 8, !tbaa !5
  %1168 = call <2 x float> @_ZN5ImGui25FindBestWindowPosForPopupEP11ImGuiWindow(ptr noundef %1167)
  store <2 x float> %1168, ptr %42, align 4
  %1169 = load ptr, ptr %9, align 8, !tbaa !5
  %1170 = getelementptr inbounds %struct.ImGuiWindow, ptr %1169, i32 0, i32 3
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %1170, ptr align 4 %42, i64 8, i1 false), !tbaa.struct !116
  call void @llvm.lifetime.end.p0(i64 8, ptr %42) #13
  br label %1203

1171:                                             ; preds = %1162
  %1172 = load i32, ptr %6, align 4, !tbaa !9
  %1173 = and i32 %1172, 67108864
  %1174 = icmp ne i32 %1173, 0
  br i1 %1174, label %1175, label %1186

1175:                                             ; preds = %1171
  %1176 = load i8, ptr %19, align 1, !tbaa !75, !range !71, !noundef !72
  %1177 = trunc i8 %1176 to i1
  br i1 %1177, label %1186, label %1178

1178:                                             ; preds = %1175
  %1179 = load i8, ptr %28, align 1, !tbaa !75, !range !71, !noundef !72
  %1180 = trunc i8 %1179 to i1
  br i1 %1180, label %1181, label %1186

1181:                                             ; preds = %1178
  call void @llvm.lifetime.start.p0(i64 8, ptr %43) #13
  %1182 = load ptr, ptr %9, align 8, !tbaa !5
  %1183 = call <2 x float> @_ZN5ImGui25FindBestWindowPosForPopupEP11ImGuiWindow(ptr noundef %1182)
  store <2 x float> %1183, ptr %43, align 4
  %1184 = load ptr, ptr %9, align 8, !tbaa !5
  %1185 = getelementptr inbounds %struct.ImGuiWindow, ptr %1184, i32 0, i32 3
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %1185, ptr align 4 %43, i64 8, i1 false), !tbaa.struct !116
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #13
  br label %1202

1186:                                             ; preds = %1178, %1175, %1171
  %1187 = load i32, ptr %6, align 4, !tbaa !9
  %1188 = and i32 %1187, 33554432
  %1189 = icmp ne i32 %1188, 0
  br i1 %1189, label %1190, label %1201

1190:                                             ; preds = %1186
  %1191 = load i8, ptr %19, align 1, !tbaa !75, !range !71, !noundef !72
  %1192 = trunc i8 %1191 to i1
  br i1 %1192, label %1201, label %1193

1193:                                             ; preds = %1190
  %1194 = load i8, ptr %23, align 1, !tbaa !75, !range !71, !noundef !72
  %1195 = trunc i8 %1194 to i1
  br i1 %1195, label %1201, label %1196

1196:                                             ; preds = %1193
  call void @llvm.lifetime.start.p0(i64 8, ptr %44) #13
  %1197 = load ptr, ptr %9, align 8, !tbaa !5
  %1198 = call <2 x float> @_ZN5ImGui25FindBestWindowPosForPopupEP11ImGuiWindow(ptr noundef %1197)
  store <2 x float> %1198, ptr %44, align 4
  %1199 = load ptr, ptr %9, align 8, !tbaa !5
  %1200 = getelementptr inbounds %struct.ImGuiWindow, ptr %1199, i32 0, i32 3
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %1200, ptr align 4 %44, i64 8, i1 false), !tbaa.struct !116
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #13
  br label %1201

1201:                                             ; preds = %1196, %1193, %1190, %1186
  br label %1202

1202:                                             ; preds = %1201, %1181
  br label %1203

1203:                                             ; preds = %1202, %1166
  br label %1204

1204:                                             ; preds = %1203, %1152
  call void @llvm.lifetime.start.p0(i64 8, ptr %45) #13
  %1205 = call noundef ptr @_ZN5ImGui15GetMainViewportEv()
  store ptr %1205, ptr %45, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %46) #13
  %1206 = load ptr, ptr %45, align 8, !tbaa !5
  %1207 = call { <2 x float>, <2 x float> } @_ZNK14ImGuiViewportP11GetMainRectEv(ptr noundef nonnull align 8 dereferenceable(176) %1206)
  %1208 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %46, i32 0, i32 0
  %1209 = extractvalue { <2 x float>, <2 x float> } %1207, 0
  store <2 x float> %1209, ptr %1208, align 4
  %1210 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %46, i32 0, i32 1
  %1211 = extractvalue { <2 x float>, <2 x float> } %1207, 1
  store <2 x float> %1211, ptr %1210, align 4
  call void @llvm.lifetime.start.p0(i64 16, ptr %47) #13
  %1212 = load ptr, ptr %45, align 8, !tbaa !5
  %1213 = call { <2 x float>, <2 x float> } @_ZNK14ImGuiViewportP11GetWorkRectEv(ptr noundef nonnull align 8 dereferenceable(176) %1212)
  %1214 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %47, i32 0, i32 0
  %1215 = extractvalue { <2 x float>, <2 x float> } %1213, 0
  store <2 x float> %1215, ptr %1214, align 4
  %1216 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %47, i32 0, i32 1
  %1217 = extractvalue { <2 x float>, <2 x float> } %1213, 1
  store <2 x float> %1217, ptr %1216, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %48) #13
  %1218 = load ptr, ptr %8, align 8, !tbaa !5
  %1219 = getelementptr inbounds %struct.ImGuiStyle, ptr %1218, i32 0, i32 32
  %1220 = load ptr, ptr %8, align 8, !tbaa !5
  %1221 = getelementptr inbounds %struct.ImGuiStyle, ptr %1220, i32 0, i32 33
  %1222 = call <2 x float> @_ZL5ImMaxRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %1219, ptr noundef nonnull align 4 dereferenceable(8) %1221)
  store <2 x float> %1222, ptr %48, align 4
  call void @llvm.lifetime.start.p0(i64 16, ptr %49) #13
  call void @llvm.lifetime.start.p0(i64 8, ptr %50) #13
  %1223 = getelementptr inbounds %struct.ImRect, ptr %47, i32 0, i32 0
  %1224 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %1223, ptr noundef nonnull align 4 dereferenceable(8) %48)
  store <2 x float> %1224, ptr %50, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %51) #13
  %1225 = getelementptr inbounds %struct.ImRect, ptr %47, i32 0, i32 1
  %1226 = call <2 x float> @_ZmiRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %1225, ptr noundef nonnull align 4 dereferenceable(8) %48)
  store <2 x float> %1226, ptr %51, align 4
  call void @_ZN6ImRectC2ERK6ImVec2S2_(ptr noundef nonnull align 4 dereferenceable(16) %49, ptr noundef nonnull align 4 dereferenceable(8) %50, ptr noundef nonnull align 4 dereferenceable(8) %51)
  call void @llvm.lifetime.end.p0(i64 8, ptr %51) #13
  call void @llvm.lifetime.end.p0(i64 8, ptr %50) #13
  %1227 = load i8, ptr %19, align 1, !tbaa !75, !range !71, !noundef !72
  %1228 = trunc i8 %1227 to i1
  br i1 %1228, label %1254, label %1229

1229:                                             ; preds = %1204
  %1230 = load i32, ptr %6, align 4, !tbaa !9
  %1231 = and i32 %1230, 16777216
  %1232 = icmp ne i32 %1231, 0
  br i1 %1232, label %1254, label %1233

1233:                                             ; preds = %1229
  %1234 = load ptr, ptr %9, align 8, !tbaa !5
  %1235 = getelementptr inbounds %struct.ImGuiWindow, ptr %1234, i32 0, i32 41
  %1236 = load i8, ptr %1235, align 8, !tbaa !164
  %1237 = sext i8 %1236 to i32
  %1238 = icmp sle i32 %1237, 0
  br i1 %1238, label %1239, label %1254

1239:                                             ; preds = %1233
  %1240 = load ptr, ptr %9, align 8, !tbaa !5
  %1241 = getelementptr inbounds %struct.ImGuiWindow, ptr %1240, i32 0, i32 42
  %1242 = load i8, ptr %1241, align 1, !tbaa !165
  %1243 = sext i8 %1242 to i32
  %1244 = icmp sle i32 %1243, 0
  br i1 %1244, label %1245, label %1254

1245:                                             ; preds = %1239
  %1246 = call noundef float @_ZNK6ImRect8GetWidthEv(ptr noundef nonnull align 4 dereferenceable(16) %46)
  %1247 = fcmp ogt float %1246, 0.000000e+00
  br i1 %1247, label %1248, label %1253

1248:                                             ; preds = %1245
  %1249 = call noundef float @_ZNK6ImRect9GetHeightEv(ptr noundef nonnull align 4 dereferenceable(16) %46)
  %1250 = fcmp ogt float %1249, 0.000000e+00
  br i1 %1250, label %1251, label %1253

1251:                                             ; preds = %1248
  %1252 = load ptr, ptr %9, align 8, !tbaa !5
  call void @_ZL15ClampWindowRectP11ImGuiWindowRK6ImRect(ptr noundef %1252, ptr noundef nonnull align 4 dereferenceable(16) %49)
  br label %1253

1253:                                             ; preds = %1251, %1248, %1245
  br label %1254

1254:                                             ; preds = %1253, %1239, %1233, %1229, %1204
  call void @llvm.lifetime.start.p0(i64 8, ptr %52) #13
  %1255 = load ptr, ptr %9, align 8, !tbaa !5
  %1256 = getelementptr inbounds %struct.ImGuiWindow, ptr %1255, i32 0, i32 3
  %1257 = call <2 x float> @_ZL7ImFloorRK6ImVec2(ptr noundef nonnull align 4 dereferenceable(8) %1256)
  store <2 x float> %1257, ptr %52, align 4
  %1258 = load ptr, ptr %9, align 8, !tbaa !5
  %1259 = getelementptr inbounds %struct.ImGuiWindow, ptr %1258, i32 0, i32 3
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %1259, ptr align 4 %52, i64 8, i1 false), !tbaa.struct !116
  call void @llvm.lifetime.end.p0(i64 8, ptr %52) #13
  %1260 = load i32, ptr %6, align 4, !tbaa !9
  %1261 = and i32 %1260, 16777216
  %1262 = icmp ne i32 %1261, 0
  br i1 %1262, label %1263, label %1267

1263:                                             ; preds = %1254
  %1264 = load ptr, ptr %8, align 8, !tbaa !5
  %1265 = getelementptr inbounds %struct.ImGuiStyle, ptr %1264, i32 0, i32 8
  %1266 = load float, ptr %1265, align 4, !tbaa !170
  br label %1285

1267:                                             ; preds = %1254
  %1268 = load i32, ptr %6, align 4, !tbaa !9
  %1269 = and i32 %1268, 67108864
  %1270 = icmp ne i32 %1269, 0
  br i1 %1270, label %1271, label %1279

1271:                                             ; preds = %1267
  %1272 = load i32, ptr %6, align 4, !tbaa !9
  %1273 = and i32 %1272, 134217728
  %1274 = icmp ne i32 %1273, 0
  br i1 %1274, label %1279, label %1275

1275:                                             ; preds = %1271
  %1276 = load ptr, ptr %8, align 8, !tbaa !5
  %1277 = getelementptr inbounds %struct.ImGuiStyle, ptr %1276, i32 0, i32 10
  %1278 = load float, ptr %1277, align 4, !tbaa !171
  br label %1283

1279:                                             ; preds = %1271, %1267
  %1280 = load ptr, ptr %8, align 8, !tbaa !5
  %1281 = getelementptr inbounds %struct.ImGuiStyle, ptr %1280, i32 0, i32 3
  %1282 = load float, ptr %1281, align 4, !tbaa !172
  br label %1283

1283:                                             ; preds = %1279, %1275
  %1284 = phi float [ %1278, %1275 ], [ %1282, %1279 ]
  br label %1285

1285:                                             ; preds = %1283, %1263
  %1286 = phi float [ %1266, %1263 ], [ %1284, %1283 ]
  %1287 = load ptr, ptr %9, align 8, !tbaa !5
  %1288 = getelementptr inbounds %struct.ImGuiWindow, ptr %1287, i32 0, i32 10
  store float %1286, ptr %1288, align 8, !tbaa !173
  call void @llvm.lifetime.start.p0(i64 1, ptr %53) #13
  store i8 0, ptr %53, align 1, !tbaa !75
  %1289 = load i8, ptr %13, align 1, !tbaa !75, !range !71, !noundef !72
  %1290 = trunc i8 %1289 to i1
  br i1 %1290, label %1291, label %1307

1291:                                             ; preds = %1285
  %1292 = load i32, ptr %6, align 4, !tbaa !9
  %1293 = and i32 %1292, 4096
  %1294 = icmp ne i32 %1293, 0
  br i1 %1294, label %1307, label %1295

1295:                                             ; preds = %1291
  %1296 = load i32, ptr %6, align 4, !tbaa !9
  %1297 = and i32 %1296, 67108864
  %1298 = icmp ne i32 %1297, 0
  br i1 %1298, label %1299, label %1300

1299:                                             ; preds = %1295
  store i8 1, ptr %53, align 1, !tbaa !75
  br label %1306

1300:                                             ; preds = %1295
  %1301 = load i32, ptr %6, align 4, !tbaa !9
  %1302 = and i32 %1301, 50331648
  %1303 = icmp eq i32 %1302, 0
  br i1 %1303, label %1304, label %1305

1304:                                             ; preds = %1300
  store i8 1, ptr %53, align 1, !tbaa !75
  br label %1305

1305:                                             ; preds = %1304, %1300
  br label %1306

1306:                                             ; preds = %1305, %1299
  br label %1307

1307:                                             ; preds = %1306, %1291, %1285
  call void @llvm.lifetime.start.p0(i64 4, ptr %54) #13
  store i32 -1, ptr %54, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 16, ptr %55) #13
  call void @llvm.memset.p0.i64(ptr align 16 %55, i8 0, i64 16, i1 false)
  call void @llvm.lifetime.start.p0(i64 4, ptr %56) #13
  %1308 = load ptr, ptr %7, align 8, !tbaa !5
  %1309 = getelementptr inbounds %struct.ImGuiContext, ptr %1308, i32 0, i32 3
  %1310 = getelementptr inbounds %struct.ImGuiIO, ptr %1309, i32 0, i32 23
  %1311 = load i8, ptr %1310, align 4, !tbaa !174, !range !71, !noundef !72
  %1312 = trunc i8 %1311 to i1
  %1313 = zext i1 %1312 to i64
  %1314 = select i1 %1312, i32 2, i32 1
  store i32 %1314, ptr %56, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %57) #13
  %1315 = load ptr, ptr %7, align 8, !tbaa !5
  %1316 = getelementptr inbounds %struct.ImGuiContext, ptr %1315, i32 0, i32 6
  %1317 = load float, ptr %1316, align 8, !tbaa !175
  %1318 = fmul float %1317, 0x3FF19999A0000000
  %1319 = load ptr, ptr %9, align 8, !tbaa !5
  %1320 = getelementptr inbounds %struct.ImGuiWindow, ptr %1319, i32 0, i32 10
  %1321 = load float, ptr %1320, align 8, !tbaa !173
  %1322 = fadd float %1321, 1.000000e+00
  %1323 = load ptr, ptr %7, align 8, !tbaa !5
  %1324 = getelementptr inbounds %struct.ImGuiContext, ptr %1323, i32 0, i32 6
  %1325 = load float, ptr %1324, align 8, !tbaa !175
  %1326 = call float @llvm.fmuladd.f32(float %1325, float 0x3FC99999A0000000, float %1322)
  %1327 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %1318, float noundef %1326)
  %1328 = fptosi float %1327 to i32
  %1329 = sitofp i32 %1328 to float
  store float %1329, ptr %57, align 4, !tbaa !113
  %1330 = load ptr, ptr %9, align 8, !tbaa !5
  %1331 = getelementptr inbounds %struct.ImGuiWindow, ptr %1330, i32 0, i32 26
  %1332 = load i8, ptr %1331, align 1, !tbaa !161, !range !71, !noundef !72
  %1333 = trunc i8 %1332 to i1
  br i1 %1333, label %1341, label %1334

1334:                                             ; preds = %1307
  %1335 = load ptr, ptr %9, align 8, !tbaa !5
  %1336 = load i32, ptr %56, align 4, !tbaa !9
  %1337 = getelementptr inbounds [4 x i32], ptr %55, i64 0, i64 0
  %1338 = call noundef zeroext i1 @_ZN5ImGuiL24UpdateWindowManualResizeEP11ImGuiWindowRK6ImVec2PiiPjRK6ImRect(ptr noundef %1335, ptr noundef nonnull align 4 dereferenceable(8) %32, ptr noundef %54, i32 noundef %1336, ptr noundef %1337, ptr noundef nonnull align 4 dereferenceable(16) %49)
  br i1 %1338, label %1339, label %1340

1339:                                             ; preds = %1334
  store i8 1, ptr %34, align 1, !tbaa !75
  store i8 1, ptr %33, align 1, !tbaa !75
  br label %1340

1340:                                             ; preds = %1339, %1334
  br label %1341

1341:                                             ; preds = %1340, %1307
  %1342 = load i32, ptr %54, align 4, !tbaa !9
  %1343 = trunc i32 %1342 to i8
  %1344 = load ptr, ptr %9, align 8, !tbaa !5
  %1345 = getelementptr inbounds %struct.ImGuiWindow, ptr %1344, i32 0, i32 33
  store i8 %1343, ptr %1345, align 8, !tbaa !176
  %1346 = load ptr, ptr %9, align 8, !tbaa !5
  %1347 = getelementptr inbounds %struct.ImGuiWindow, ptr %1346, i32 0, i32 26
  %1348 = load i8, ptr %1347, align 1, !tbaa !161, !range !71, !noundef !72
  %1349 = trunc i8 %1348 to i1
  br i1 %1349, label %1502, label %1350

1350:                                             ; preds = %1341
  call void @llvm.lifetime.start.p0(i64 8, ptr %58) #13
  %1351 = load ptr, ptr %9, align 8, !tbaa !5
  %1352 = getelementptr inbounds %struct.ImGuiWindow, ptr %1351, i32 0, i32 5
  %1353 = getelementptr inbounds %struct.ImVec2, ptr %1352, i32 0, i32 0
  %1354 = load float, ptr %1353, align 8, !tbaa !142
  %1355 = load ptr, ptr %9, align 8, !tbaa !5
  %1356 = getelementptr inbounds %struct.ImGuiWindow, ptr %1355, i32 0, i32 5
  %1357 = getelementptr inbounds %struct.ImVec2, ptr %1356, i32 0, i32 1
  %1358 = load float, ptr %1357, align 4, !tbaa !144
  %1359 = load float, ptr %38, align 4, !tbaa !113
  %1360 = fsub float %1358, %1359
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %58, float noundef %1354, float noundef %1360)
  call void @llvm.lifetime.start.p0(i64 8, ptr %59) #13
  call void @llvm.lifetime.start.p0(i64 8, ptr %60) #13
  %1361 = load ptr, ptr %9, align 8, !tbaa !5
  %1362 = getelementptr inbounds %struct.ImGuiWindow, ptr %1361, i32 0, i32 56
  %1363 = call <2 x float> @_ZNK6ImRect7GetSizeEv(ptr noundef nonnull align 4 dereferenceable(16) %1362)
  store <2 x float> %1363, ptr %60, align 4
  %1364 = load ptr, ptr %9, align 8, !tbaa !5
  %1365 = getelementptr inbounds %struct.ImGuiWindow, ptr %1364, i32 0, i32 20
  %1366 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %60, ptr noundef nonnull align 4 dereferenceable(8) %1365)
  store <2 x float> %1366, ptr %59, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %60) #13
  call void @llvm.lifetime.start.p0(i64 8, ptr %61) #13
  %1367 = load i8, ptr %10, align 1, !tbaa !75, !range !71, !noundef !72
  %1368 = trunc i8 %1367 to i1
  call void @llvm.lifetime.start.p0(i64 8, ptr %62) #13
  br i1 %1368, label %1369, label %1370

1369:                                             ; preds = %1350
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %61, float noundef 0.000000e+00, float noundef 0.000000e+00)
  br label %1377

1370:                                             ; preds = %1350
  %1371 = load ptr, ptr %9, align 8, !tbaa !5
  %1372 = getelementptr inbounds %struct.ImGuiWindow, ptr %1371, i32 0, i32 6
  %1373 = load ptr, ptr %9, align 8, !tbaa !5
  %1374 = getelementptr inbounds %struct.ImGuiWindow, ptr %1373, i32 0, i32 9
  %1375 = call <2 x float> @_ZmlRK6ImVec2f(ptr noundef nonnull align 4 dereferenceable(8) %1374, float noundef 2.000000e+00)
  store <2 x float> %1375, ptr %62, align 4
  %1376 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %1372, ptr noundef nonnull align 4 dereferenceable(8) %62)
  store <2 x float> %1376, ptr %61, align 4
  br label %1377

1377:                                             ; preds = %1370, %1369
  call void @llvm.lifetime.end.p0(i64 8, ptr %62) #13
  call void @llvm.lifetime.start.p0(i64 4, ptr %63) #13
  %1378 = load i8, ptr %33, align 1, !tbaa !75, !range !71, !noundef !72
  %1379 = trunc i8 %1378 to i1
  br i1 %1379, label %1380, label %1383

1380:                                             ; preds = %1377
  %1381 = getelementptr inbounds %struct.ImVec2, ptr %58, i32 0, i32 0
  %1382 = load float, ptr %1381, align 4, !tbaa !162
  br label %1386

1383:                                             ; preds = %1377
  %1384 = getelementptr inbounds %struct.ImVec2, ptr %59, i32 0, i32 0
  %1385 = load float, ptr %1384, align 4, !tbaa !162
  br label %1386

1386:                                             ; preds = %1383, %1380
  %1387 = phi float [ %1382, %1380 ], [ %1385, %1383 ]
  store float %1387, ptr %63, align 4, !tbaa !113
  call void @llvm.lifetime.start.p0(i64 4, ptr %64) #13
  %1388 = load i8, ptr %34, align 1, !tbaa !75, !range !71, !noundef !72
  %1389 = trunc i8 %1388 to i1
  br i1 %1389, label %1390, label %1393

1390:                                             ; preds = %1386
  %1391 = getelementptr inbounds %struct.ImVec2, ptr %58, i32 0, i32 1
  %1392 = load float, ptr %1391, align 4, !tbaa !163
  br label %1396

1393:                                             ; preds = %1386
  %1394 = getelementptr inbounds %struct.ImVec2, ptr %59, i32 0, i32 1
  %1395 = load float, ptr %1394, align 4, !tbaa !163
  br label %1396

1396:                                             ; preds = %1393, %1390
  %1397 = phi float [ %1392, %1390 ], [ %1395, %1393 ]
  store float %1397, ptr %64, align 4, !tbaa !113
  %1398 = load i32, ptr %6, align 4, !tbaa !9
  %1399 = and i32 %1398, 16384
  %1400 = icmp ne i32 %1399, 0
  br i1 %1400, label %1413, label %1401

1401:                                             ; preds = %1396
  %1402 = getelementptr inbounds %struct.ImVec2, ptr %61, i32 0, i32 1
  %1403 = load float, ptr %1402, align 4, !tbaa !163
  %1404 = load float, ptr %64, align 4, !tbaa !113
  %1405 = fcmp ogt float %1403, %1404
  br i1 %1405, label %1406, label %1411

1406:                                             ; preds = %1401
  %1407 = load i32, ptr %6, align 4, !tbaa !9
  %1408 = and i32 %1407, 8
  %1409 = icmp ne i32 %1408, 0
  %1410 = xor i1 %1409, true
  br label %1411

1411:                                             ; preds = %1406, %1401
  %1412 = phi i1 [ false, %1401 ], [ %1410, %1406 ]
  br label %1413

1413:                                             ; preds = %1411, %1396
  %1414 = phi i1 [ true, %1396 ], [ %1412, %1411 ]
  %1415 = load ptr, ptr %9, align 8, !tbaa !5
  %1416 = getelementptr inbounds %struct.ImGuiWindow, ptr %1415, i32 0, i32 22
  %1417 = zext i1 %1414 to i8
  store i8 %1417, ptr %1416, align 1, !tbaa !177
  %1418 = load i32, ptr %6, align 4, !tbaa !9
  %1419 = and i32 %1418, 32768
  %1420 = icmp ne i32 %1419, 0
  br i1 %1420, label %1448, label %1421

1421:                                             ; preds = %1413
  %1422 = getelementptr inbounds %struct.ImVec2, ptr %61, i32 0, i32 0
  %1423 = load float, ptr %1422, align 4, !tbaa !162
  %1424 = load float, ptr %63, align 4, !tbaa !113
  %1425 = load ptr, ptr %9, align 8, !tbaa !5
  %1426 = getelementptr inbounds %struct.ImGuiWindow, ptr %1425, i32 0, i32 22
  %1427 = load i8, ptr %1426, align 1, !tbaa !177, !range !71, !noundef !72
  %1428 = trunc i8 %1427 to i1
  br i1 %1428, label %1429, label %1433

1429:                                             ; preds = %1421
  %1430 = load ptr, ptr %8, align 8, !tbaa !5
  %1431 = getelementptr inbounds %struct.ImGuiStyle, ptr %1430, i32 0, i32 21
  %1432 = load float, ptr %1431, align 4, !tbaa !178
  br label %1434

1433:                                             ; preds = %1421
  br label %1434

1434:                                             ; preds = %1433, %1429
  %1435 = phi float [ %1432, %1429 ], [ 0.000000e+00, %1433 ]
  %1436 = fsub float %1424, %1435
  %1437 = fcmp ogt float %1423, %1436
  br i1 %1437, label %1438, label %1446

1438:                                             ; preds = %1434
  %1439 = load i32, ptr %6, align 4, !tbaa !9
  %1440 = and i32 %1439, 8
  %1441 = icmp ne i32 %1440, 0
  br i1 %1441, label %1446, label %1442

1442:                                             ; preds = %1438
  %1443 = load i32, ptr %6, align 4, !tbaa !9
  %1444 = and i32 %1443, 2048
  %1445 = icmp ne i32 %1444, 0
  br label %1446

1446:                                             ; preds = %1442, %1438, %1434
  %1447 = phi i1 [ false, %1438 ], [ false, %1434 ], [ %1445, %1442 ]
  br label %1448

1448:                                             ; preds = %1446, %1413
  %1449 = phi i1 [ true, %1413 ], [ %1447, %1446 ]
  %1450 = load ptr, ptr %9, align 8, !tbaa !5
  %1451 = getelementptr inbounds %struct.ImGuiWindow, ptr %1450, i32 0, i32 21
  %1452 = zext i1 %1449 to i8
  store i8 %1452, ptr %1451, align 4, !tbaa !179
  %1453 = load ptr, ptr %9, align 8, !tbaa !5
  %1454 = getelementptr inbounds %struct.ImGuiWindow, ptr %1453, i32 0, i32 21
  %1455 = load i8, ptr %1454, align 4, !tbaa !179, !range !71, !noundef !72
  %1456 = trunc i8 %1455 to i1
  br i1 %1456, label %1457, label %1477

1457:                                             ; preds = %1448
  %1458 = load ptr, ptr %9, align 8, !tbaa !5
  %1459 = getelementptr inbounds %struct.ImGuiWindow, ptr %1458, i32 0, i32 22
  %1460 = load i8, ptr %1459, align 1, !tbaa !177, !range !71, !noundef !72
  %1461 = trunc i8 %1460 to i1
  br i1 %1461, label %1477, label %1462

1462:                                             ; preds = %1457
  %1463 = getelementptr inbounds %struct.ImVec2, ptr %61, i32 0, i32 1
  %1464 = load float, ptr %1463, align 4, !tbaa !163
  %1465 = load float, ptr %64, align 4, !tbaa !113
  %1466 = fcmp ogt float %1464, %1465
  br i1 %1466, label %1467, label %1472

1467:                                             ; preds = %1462
  %1468 = load i32, ptr %6, align 4, !tbaa !9
  %1469 = and i32 %1468, 8
  %1470 = icmp ne i32 %1469, 0
  %1471 = xor i1 %1470, true
  br label %1472

1472:                                             ; preds = %1467, %1462
  %1473 = phi i1 [ false, %1462 ], [ %1471, %1467 ]
  %1474 = load ptr, ptr %9, align 8, !tbaa !5
  %1475 = getelementptr inbounds %struct.ImGuiWindow, ptr %1474, i32 0, i32 22
  %1476 = zext i1 %1473 to i8
  store i8 %1476, ptr %1475, align 1, !tbaa !177
  br label %1477

1477:                                             ; preds = %1472, %1457, %1448
  call void @llvm.lifetime.start.p0(i64 8, ptr %65) #13
  %1478 = load ptr, ptr %9, align 8, !tbaa !5
  %1479 = getelementptr inbounds %struct.ImGuiWindow, ptr %1478, i32 0, i32 22
  %1480 = load i8, ptr %1479, align 1, !tbaa !177, !range !71, !noundef !72
  %1481 = trunc i8 %1480 to i1
  br i1 %1481, label %1482, label %1486

1482:                                             ; preds = %1477
  %1483 = load ptr, ptr %8, align 8, !tbaa !5
  %1484 = getelementptr inbounds %struct.ImGuiStyle, ptr %1483, i32 0, i32 21
  %1485 = load float, ptr %1484, align 4, !tbaa !178
  br label %1487

1486:                                             ; preds = %1477
  br label %1487

1487:                                             ; preds = %1486, %1482
  %1488 = phi float [ %1485, %1482 ], [ 0.000000e+00, %1486 ]
  %1489 = load ptr, ptr %9, align 8, !tbaa !5
  %1490 = getelementptr inbounds %struct.ImGuiWindow, ptr %1489, i32 0, i32 21
  %1491 = load i8, ptr %1490, align 4, !tbaa !179, !range !71, !noundef !72
  %1492 = trunc i8 %1491 to i1
  br i1 %1492, label %1493, label %1497

1493:                                             ; preds = %1487
  %1494 = load ptr, ptr %8, align 8, !tbaa !5
  %1495 = getelementptr inbounds %struct.ImGuiStyle, ptr %1494, i32 0, i32 21
  %1496 = load float, ptr %1495, align 4, !tbaa !178
  br label %1498

1497:                                             ; preds = %1487
  br label %1498

1498:                                             ; preds = %1497, %1493
  %1499 = phi float [ %1496, %1493 ], [ 0.000000e+00, %1497 ]
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %65, float noundef %1488, float noundef %1499)
  %1500 = load ptr, ptr %9, align 8, !tbaa !5
  %1501 = getelementptr inbounds %struct.ImGuiWindow, ptr %1500, i32 0, i32 20
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %1501, ptr align 4 %65, i64 8, i1 false), !tbaa.struct !116
  call void @llvm.lifetime.end.p0(i64 8, ptr %65) #13
  call void @llvm.lifetime.end.p0(i64 4, ptr %64) #13
  call void @llvm.lifetime.end.p0(i64 4, ptr %63) #13
  call void @llvm.lifetime.end.p0(i64 8, ptr %61) #13
  call void @llvm.lifetime.end.p0(i64 8, ptr %59) #13
  call void @llvm.lifetime.end.p0(i64 8, ptr %58) #13
  br label %1502

1502:                                             ; preds = %1498, %1341
  call void @llvm.lifetime.start.p0(i64 16, ptr %66) #13
  %1503 = load i32, ptr %6, align 4, !tbaa !9
  %1504 = and i32 %1503, 16777216
  %1505 = icmp ne i32 %1504, 0
  br i1 %1505, label %1506, label %1516

1506:                                             ; preds = %1502
  %1507 = load i32, ptr %6, align 4, !tbaa !9
  %1508 = and i32 %1507, 67108864
  %1509 = icmp ne i32 %1508, 0
  br i1 %1509, label %1516, label %1510

1510:                                             ; preds = %1506
  %1511 = load i8, ptr %23, align 1, !tbaa !75, !range !71, !noundef !72
  %1512 = trunc i8 %1511 to i1
  br i1 %1512, label %1516, label %1513

1513:                                             ; preds = %1510
  %1514 = load ptr, ptr %16, align 8, !tbaa !5
  %1515 = getelementptr inbounds %struct.ImGuiWindow, ptr %1514, i32 0, i32 60
  br label %1517

1516:                                             ; preds = %1510, %1506, %1502
  br label %1517

1517:                                             ; preds = %1516, %1513
  %1518 = phi ptr [ %1515, %1513 ], [ %46, %1516 ]
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %66, ptr align 4 %1518, i64 16, i1 false), !tbaa.struct !130
  call void @llvm.lifetime.start.p0(i64 16, ptr %67) #13
  %1519 = load ptr, ptr %9, align 8, !tbaa !5
  %1520 = call { <2 x float>, <2 x float> } @_ZNK11ImGuiWindow4RectEv(ptr noundef nonnull align 8 dereferenceable(921) %1519)
  %1521 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %67, i32 0, i32 0
  %1522 = extractvalue { <2 x float>, <2 x float> } %1520, 0
  store <2 x float> %1522, ptr %1521, align 4
  %1523 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %67, i32 0, i32 1
  %1524 = extractvalue { <2 x float>, <2 x float> } %1520, 1
  store <2 x float> %1524, ptr %1523, align 4
  call void @llvm.lifetime.start.p0(i64 16, ptr %68) #13
  %1525 = load ptr, ptr %9, align 8, !tbaa !5
  %1526 = call { <2 x float>, <2 x float> } @_ZNK11ImGuiWindow12TitleBarRectEv(ptr noundef nonnull align 8 dereferenceable(921) %1525)
  %1527 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %68, i32 0, i32 0
  %1528 = extractvalue { <2 x float>, <2 x float> } %1526, 0
  store <2 x float> %1528, ptr %1527, align 4
  %1529 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %68, i32 0, i32 1
  %1530 = extractvalue { <2 x float>, <2 x float> } %1526, 1
  store <2 x float> %1530, ptr %1529, align 4
  %1531 = load ptr, ptr %9, align 8, !tbaa !5
  %1532 = getelementptr inbounds %struct.ImGuiWindow, ptr %1531, i32 0, i32 55
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %1532, ptr align 4 %67, i64 16, i1 false), !tbaa.struct !130
  %1533 = load ptr, ptr %9, align 8, !tbaa !5
  %1534 = getelementptr inbounds %struct.ImGuiWindow, ptr %1533, i32 0, i32 55
  call void @_ZN6ImRect8ClipWithERKS_(ptr noundef nonnull align 4 dereferenceable(16) %1534, ptr noundef nonnull align 4 dereferenceable(16) %66)
  %1535 = load ptr, ptr %9, align 8, !tbaa !5
  %1536 = getelementptr inbounds %struct.ImGuiWindow, ptr %1535, i32 0, i32 3
  %1537 = getelementptr inbounds %struct.ImVec2, ptr %1536, i32 0, i32 0
  %1538 = load float, ptr %1537, align 8, !tbaa !180
  %1539 = load ptr, ptr %9, align 8, !tbaa !5
  %1540 = getelementptr inbounds %struct.ImGuiWindow, ptr %1539, i32 0, i32 56
  %1541 = getelementptr inbounds %struct.ImRect, ptr %1540, i32 0, i32 0
  %1542 = getelementptr inbounds %struct.ImVec2, ptr %1541, i32 0, i32 0
  store float %1538, ptr %1542, align 8, !tbaa !181
  %1543 = load ptr, ptr %9, align 8, !tbaa !5
  %1544 = getelementptr inbounds %struct.ImGuiWindow, ptr %1543, i32 0, i32 3
  %1545 = getelementptr inbounds %struct.ImVec2, ptr %1544, i32 0, i32 1
  %1546 = load float, ptr %1545, align 4, !tbaa !182
  %1547 = load float, ptr %38, align 4, !tbaa !113
  %1548 = fadd float %1546, %1547
  %1549 = load ptr, ptr %9, align 8, !tbaa !5
  %1550 = getelementptr inbounds %struct.ImGuiWindow, ptr %1549, i32 0, i32 56
  %1551 = getelementptr inbounds %struct.ImRect, ptr %1550, i32 0, i32 0
  %1552 = getelementptr inbounds %struct.ImVec2, ptr %1551, i32 0, i32 1
  store float %1548, ptr %1552, align 4, !tbaa !183
  %1553 = load ptr, ptr %9, align 8, !tbaa !5
  %1554 = getelementptr inbounds %struct.ImGuiWindow, ptr %1553, i32 0, i32 3
  %1555 = getelementptr inbounds %struct.ImVec2, ptr %1554, i32 0, i32 0
  %1556 = load float, ptr %1555, align 8, !tbaa !180
  %1557 = load ptr, ptr %9, align 8, !tbaa !5
  %1558 = getelementptr inbounds %struct.ImGuiWindow, ptr %1557, i32 0, i32 4
  %1559 = getelementptr inbounds %struct.ImVec2, ptr %1558, i32 0, i32 0
  %1560 = load float, ptr %1559, align 8, !tbaa !143
  %1561 = fadd float %1556, %1560
  %1562 = load ptr, ptr %9, align 8, !tbaa !5
  %1563 = getelementptr inbounds %struct.ImGuiWindow, ptr %1562, i32 0, i32 20
  %1564 = getelementptr inbounds %struct.ImVec2, ptr %1563, i32 0, i32 0
  %1565 = load float, ptr %1564, align 4, !tbaa !184
  %1566 = fsub float %1561, %1565
  %1567 = load ptr, ptr %9, align 8, !tbaa !5
  %1568 = getelementptr inbounds %struct.ImGuiWindow, ptr %1567, i32 0, i32 56
  %1569 = getelementptr inbounds %struct.ImRect, ptr %1568, i32 0, i32 1
  %1570 = getelementptr inbounds %struct.ImVec2, ptr %1569, i32 0, i32 0
  store float %1566, ptr %1570, align 8, !tbaa !185
  %1571 = load ptr, ptr %9, align 8, !tbaa !5
  %1572 = getelementptr inbounds %struct.ImGuiWindow, ptr %1571, i32 0, i32 3
  %1573 = getelementptr inbounds %struct.ImVec2, ptr %1572, i32 0, i32 1
  %1574 = load float, ptr %1573, align 4, !tbaa !182
  %1575 = load ptr, ptr %9, align 8, !tbaa !5
  %1576 = getelementptr inbounds %struct.ImGuiWindow, ptr %1575, i32 0, i32 4
  %1577 = getelementptr inbounds %struct.ImVec2, ptr %1576, i32 0, i32 1
  %1578 = load float, ptr %1577, align 4, !tbaa !145
  %1579 = fadd float %1574, %1578
  %1580 = load ptr, ptr %9, align 8, !tbaa !5
  %1581 = getelementptr inbounds %struct.ImGuiWindow, ptr %1580, i32 0, i32 20
  %1582 = getelementptr inbounds %struct.ImVec2, ptr %1581, i32 0, i32 1
  %1583 = load float, ptr %1582, align 4, !tbaa !186
  %1584 = fsub float %1579, %1583
  %1585 = load ptr, ptr %9, align 8, !tbaa !5
  %1586 = getelementptr inbounds %struct.ImGuiWindow, ptr %1585, i32 0, i32 56
  %1587 = getelementptr inbounds %struct.ImRect, ptr %1586, i32 0, i32 1
  %1588 = getelementptr inbounds %struct.ImVec2, ptr %1587, i32 0, i32 1
  store float %1584, ptr %1588, align 4, !tbaa !187
  call void @llvm.lifetime.start.p0(i64 4, ptr %69) #13
  %1589 = load i32, ptr %6, align 4, !tbaa !9
  %1590 = and i32 %1589, 1024
  %1591 = icmp ne i32 %1590, 0
  br i1 %1591, label %1596, label %1592

1592:                                             ; preds = %1517
  %1593 = load i32, ptr %6, align 4, !tbaa !9
  %1594 = and i32 %1593, 1
  %1595 = icmp ne i32 %1594, 0
  br i1 %1595, label %1600, label %1596

1596:                                             ; preds = %1592, %1517
  %1597 = load ptr, ptr %8, align 8, !tbaa !5
  %1598 = getelementptr inbounds %struct.ImGuiStyle, ptr %1597, i32 0, i32 14
  %1599 = load float, ptr %1598, align 4, !tbaa !188
  br label %1604

1600:                                             ; preds = %1592
  %1601 = load ptr, ptr %9, align 8, !tbaa !5
  %1602 = getelementptr inbounds %struct.ImGuiWindow, ptr %1601, i32 0, i32 11
  %1603 = load float, ptr %1602, align 4, !tbaa !147
  br label %1604

1604:                                             ; preds = %1600, %1596
  %1605 = phi float [ %1599, %1596 ], [ %1603, %1600 ]
  store float %1605, ptr %69, align 4, !tbaa !113
  %1606 = load ptr, ptr %9, align 8, !tbaa !5
  %1607 = getelementptr inbounds %struct.ImGuiWindow, ptr %1606, i32 0, i32 56
  %1608 = getelementptr inbounds %struct.ImRect, ptr %1607, i32 0, i32 0
  %1609 = getelementptr inbounds %struct.ImVec2, ptr %1608, i32 0, i32 0
  %1610 = load float, ptr %1609, align 8, !tbaa !181
  %1611 = fadd float 5.000000e-01, %1610
  %1612 = load ptr, ptr %9, align 8, !tbaa !5
  %1613 = getelementptr inbounds %struct.ImGuiWindow, ptr %1612, i32 0, i32 9
  %1614 = getelementptr inbounds %struct.ImVec2, ptr %1613, i32 0, i32 0
  %1615 = load float, ptr %1614, align 8, !tbaa !151
  %1616 = fmul float %1615, 5.000000e-01
  %1617 = call noundef float @_ZL7ImFloorf(float noundef %1616)
  %1618 = load ptr, ptr %9, align 8, !tbaa !5
  %1619 = getelementptr inbounds %struct.ImGuiWindow, ptr %1618, i32 0, i32 11
  %1620 = load float, ptr %1619, align 4, !tbaa !147
  %1621 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %1617, float noundef %1620)
  %1622 = fadd float %1611, %1621
  %1623 = call noundef float @_ZL7ImFloorf(float noundef %1622)
  %1624 = load ptr, ptr %9, align 8, !tbaa !5
  %1625 = getelementptr inbounds %struct.ImGuiWindow, ptr %1624, i32 0, i32 57
  %1626 = getelementptr inbounds %struct.ImRect, ptr %1625, i32 0, i32 0
  %1627 = getelementptr inbounds %struct.ImVec2, ptr %1626, i32 0, i32 0
  store float %1623, ptr %1627, align 8, !tbaa !189
  %1628 = load ptr, ptr %9, align 8, !tbaa !5
  %1629 = getelementptr inbounds %struct.ImGuiWindow, ptr %1628, i32 0, i32 56
  %1630 = getelementptr inbounds %struct.ImRect, ptr %1629, i32 0, i32 0
  %1631 = getelementptr inbounds %struct.ImVec2, ptr %1630, i32 0, i32 1
  %1632 = load float, ptr %1631, align 4, !tbaa !183
  %1633 = fadd float 5.000000e-01, %1632
  %1634 = load float, ptr %69, align 4, !tbaa !113
  %1635 = fadd float %1633, %1634
  %1636 = call noundef float @_ZL7ImFloorf(float noundef %1635)
  %1637 = load ptr, ptr %9, align 8, !tbaa !5
  %1638 = getelementptr inbounds %struct.ImGuiWindow, ptr %1637, i32 0, i32 57
  %1639 = getelementptr inbounds %struct.ImRect, ptr %1638, i32 0, i32 0
  %1640 = getelementptr inbounds %struct.ImVec2, ptr %1639, i32 0, i32 1
  store float %1636, ptr %1640, align 4, !tbaa !190
  %1641 = load ptr, ptr %9, align 8, !tbaa !5
  %1642 = getelementptr inbounds %struct.ImGuiWindow, ptr %1641, i32 0, i32 56
  %1643 = getelementptr inbounds %struct.ImRect, ptr %1642, i32 0, i32 1
  %1644 = getelementptr inbounds %struct.ImVec2, ptr %1643, i32 0, i32 0
  %1645 = load float, ptr %1644, align 8, !tbaa !185
  %1646 = fadd float 5.000000e-01, %1645
  %1647 = load ptr, ptr %9, align 8, !tbaa !5
  %1648 = getelementptr inbounds %struct.ImGuiWindow, ptr %1647, i32 0, i32 9
  %1649 = getelementptr inbounds %struct.ImVec2, ptr %1648, i32 0, i32 0
  %1650 = load float, ptr %1649, align 8, !tbaa !151
  %1651 = fmul float %1650, 5.000000e-01
  %1652 = call noundef float @_ZL7ImFloorf(float noundef %1651)
  %1653 = load ptr, ptr %9, align 8, !tbaa !5
  %1654 = getelementptr inbounds %struct.ImGuiWindow, ptr %1653, i32 0, i32 11
  %1655 = load float, ptr %1654, align 4, !tbaa !147
  %1656 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %1652, float noundef %1655)
  %1657 = fsub float %1646, %1656
  %1658 = call noundef float @_ZL7ImFloorf(float noundef %1657)
  %1659 = load ptr, ptr %9, align 8, !tbaa !5
  %1660 = getelementptr inbounds %struct.ImGuiWindow, ptr %1659, i32 0, i32 57
  %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 !191
  %1663 = load ptr, ptr %9, align 8, !tbaa !5
  %1664 = getelementptr inbounds %struct.ImGuiWindow, ptr %1663, i32 0, i32 56
  %1665 = getelementptr inbounds %struct.ImRect, ptr %1664, i32 0, i32 1
  %1666 = getelementptr inbounds %struct.ImVec2, ptr %1665, i32 0, i32 1
  %1667 = load float, ptr %1666, align 4, !tbaa !187
  %1668 = fadd float 5.000000e-01, %1667
  %1669 = load ptr, ptr %9, align 8, !tbaa !5
  %1670 = getelementptr inbounds %struct.ImGuiWindow, ptr %1669, i32 0, i32 11
  %1671 = load float, ptr %1670, align 4, !tbaa !147
  %1672 = fsub float %1668, %1671
  %1673 = call noundef float @_ZL7ImFloorf(float noundef %1672)
  %1674 = load ptr, ptr %9, align 8, !tbaa !5
  %1675 = getelementptr inbounds %struct.ImGuiWindow, ptr %1674, i32 0, i32 57
  %1676 = getelementptr inbounds %struct.ImRect, ptr %1675, i32 0, i32 1
  %1677 = getelementptr inbounds %struct.ImVec2, ptr %1676, i32 0, i32 1
  store float %1673, ptr %1677, align 4, !tbaa !192
  %1678 = load ptr, ptr %9, align 8, !tbaa !5
  %1679 = getelementptr inbounds %struct.ImGuiWindow, ptr %1678, i32 0, i32 57
  call void @_ZN6ImRect12ClipWithFullERKS_(ptr noundef nonnull align 4 dereferenceable(16) %1679, ptr noundef nonnull align 4 dereferenceable(16) %66)
  %1680 = load ptr, ptr %9, align 8, !tbaa !5
  %1681 = getelementptr inbounds %struct.ImGuiWindow, ptr %1680, i32 0, i32 4
  %1682 = getelementptr inbounds %struct.ImVec2, ptr %1681, i32 0, i32 0
  %1683 = load float, ptr %1682, align 8, !tbaa !143
  %1684 = fcmp ogt float %1683, 0.000000e+00
  br i1 %1684, label %1685, label %1702

1685:                                             ; preds = %1604
  %1686 = load i32, ptr %6, align 4, !tbaa !9
  %1687 = and i32 %1686, 33554432
  %1688 = icmp ne i32 %1687, 0
  br i1 %1688, label %1702, label %1689

1689:                                             ; preds = %1685
  %1690 = load i32, ptr %6, align 4, !tbaa !9
  %1691 = and i32 %1690, 64
  %1692 = icmp ne i32 %1691, 0
  br i1 %1692, label %1702, label %1693

1693:                                             ; preds = %1689
  %1694 = load ptr, ptr %9, align 8, !tbaa !5
  %1695 = getelementptr inbounds %struct.ImGuiWindow, ptr %1694, i32 0, i32 4
  %1696 = getelementptr inbounds %struct.ImVec2, ptr %1695, i32 0, i32 0
  %1697 = load float, ptr %1696, align 8, !tbaa !143
  %1698 = fmul float %1697, 0x3FE4CCCCC0000000
  %1699 = call noundef float @_ZL7ImFloorf(float noundef %1698)
  %1700 = load ptr, ptr %9, align 8, !tbaa !5
  %1701 = getelementptr inbounds %struct.ImGuiWindow, ptr %1700, i32 0, i32 66
  store float %1699, ptr %1701, align 8, !tbaa !193
  br label %1710

1702:                                             ; preds = %1689, %1685, %1604
  %1703 = load ptr, ptr %7, align 8, !tbaa !5
  %1704 = getelementptr inbounds %struct.ImGuiContext, ptr %1703, i32 0, i32 6
  %1705 = load float, ptr %1704, align 8, !tbaa !175
  %1706 = fmul float %1705, 1.600000e+01
  %1707 = call noundef float @_ZL7ImFloorf(float noundef %1706)
  %1708 = load ptr, ptr %9, align 8, !tbaa !5
  %1709 = getelementptr inbounds %struct.ImGuiWindow, ptr %1708, i32 0, i32 66
  store float %1707, ptr %1709, align 8, !tbaa !193
  br label %1710

1710:                                             ; preds = %1702, %1693
  %1711 = load ptr, ptr %9, align 8, !tbaa !5
  %1712 = getelementptr inbounds %struct.ImGuiWindow, ptr %1711, i32 0, i32 6
  %1713 = getelementptr inbounds %struct.ImVec2, ptr %1712, i32 0, i32 0
  %1714 = load float, ptr %1713, align 8, !tbaa !194
  %1715 = load ptr, ptr %9, align 8, !tbaa !5
  %1716 = getelementptr inbounds %struct.ImGuiWindow, ptr %1715, i32 0, i32 9
  %1717 = getelementptr inbounds %struct.ImVec2, ptr %1716, i32 0, i32 0
  %1718 = load float, ptr %1717, align 8, !tbaa !151
  %1719 = call float @llvm.fmuladd.f32(float %1718, float 2.000000e+00, float %1714)
  %1720 = load ptr, ptr %9, align 8, !tbaa !5
  %1721 = getelementptr inbounds %struct.ImGuiWindow, ptr %1720, i32 0, i32 56
  %1722 = call noundef float @_ZNK6ImRect8GetWidthEv(ptr noundef nonnull align 4 dereferenceable(16) %1721)
  %1723 = fsub float %1719, %1722
  %1724 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef 0.000000e+00, float noundef %1723)
  %1725 = load ptr, ptr %9, align 8, !tbaa !5
  %1726 = getelementptr inbounds %struct.ImGuiWindow, ptr %1725, i32 0, i32 16
  %1727 = getelementptr inbounds %struct.ImVec2, ptr %1726, i32 0, i32 0
  store float %1724, ptr %1727, align 4, !tbaa !195
  %1728 = load ptr, ptr %9, align 8, !tbaa !5
  %1729 = getelementptr inbounds %struct.ImGuiWindow, ptr %1728, i32 0, i32 6
  %1730 = getelementptr inbounds %struct.ImVec2, ptr %1729, i32 0, i32 1
  %1731 = load float, ptr %1730, align 4, !tbaa !196
  %1732 = load ptr, ptr %9, align 8, !tbaa !5
  %1733 = getelementptr inbounds %struct.ImGuiWindow, ptr %1732, i32 0, i32 9
  %1734 = getelementptr inbounds %struct.ImVec2, ptr %1733, i32 0, i32 1
  %1735 = load float, ptr %1734, align 4, !tbaa !197
  %1736 = call float @llvm.fmuladd.f32(float %1735, float 2.000000e+00, float %1731)
  %1737 = load ptr, ptr %9, align 8, !tbaa !5
  %1738 = getelementptr inbounds %struct.ImGuiWindow, ptr %1737, i32 0, i32 56
  %1739 = call noundef float @_ZNK6ImRect9GetHeightEv(ptr noundef nonnull align 4 dereferenceable(16) %1738)
  %1740 = fsub float %1736, %1739
  %1741 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef 0.000000e+00, float noundef %1740)
  %1742 = load ptr, ptr %9, align 8, !tbaa !5
  %1743 = getelementptr inbounds %struct.ImGuiWindow, ptr %1742, i32 0, i32 16
  %1744 = getelementptr inbounds %struct.ImVec2, ptr %1743, i32 0, i32 1
  store float %1741, ptr %1744, align 4, !tbaa !198
  call void @llvm.lifetime.start.p0(i64 8, ptr %70) #13
  %1745 = load ptr, ptr %9, align 8, !tbaa !5
  %1746 = call <2 x float> @_ZL38CalcNextScrollFromScrollTargetAndClampP11ImGuiWindow(ptr noundef %1745)
  store <2 x float> %1746, ptr %70, align 4
  %1747 = load ptr, ptr %9, align 8, !tbaa !5
  %1748 = getelementptr inbounds %struct.ImGuiWindow, ptr %1747, i32 0, i32 15
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %1748, ptr align 4 %70, i64 8, i1 false), !tbaa.struct !116
  call void @llvm.lifetime.end.p0(i64 8, ptr %70) #13
  call void @llvm.lifetime.start.p0(i64 8, ptr %71) #13
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %71, float noundef 0x47EFFFFFE0000000, float noundef 0x47EFFFFFE0000000)
  %1749 = load ptr, ptr %9, align 8, !tbaa !5
  %1750 = getelementptr inbounds %struct.ImGuiWindow, ptr %1749, i32 0, i32 17
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %1750, ptr align 4 %71, i64 8, i1 false), !tbaa.struct !116
  call void @llvm.lifetime.end.p0(i64 8, ptr %71) #13
  %1751 = load ptr, ptr %9, align 8, !tbaa !5
  %1752 = getelementptr inbounds %struct.ImGuiWindow, ptr %1751, i32 0, i32 72
  %1753 = load ptr, ptr %1752, align 8, !tbaa !131
  %1754 = getelementptr inbounds %struct.ImDrawList, ptr %1753, i32 0, i32 0
  %1755 = getelementptr inbounds %struct.ImVector.28, ptr %1754, i32 0, i32 0
  %1756 = load i32, ptr %1755, align 8, !tbaa !199
  %1757 = icmp eq i32 %1756, 1
  br i1 %1757, label %1758, label %1767

1758:                                             ; preds = %1710
  %1759 = load ptr, ptr %9, align 8, !tbaa !5
  %1760 = getelementptr inbounds %struct.ImGuiWindow, ptr %1759, i32 0, i32 72
  %1761 = load ptr, ptr %1760, align 8, !tbaa !131
  %1762 = getelementptr inbounds %struct.ImDrawList, ptr %1761, i32 0, i32 0
  %1763 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZN8ImVectorI9ImDrawCmdEixEi(ptr noundef nonnull align 8 dereferenceable(16) %1762, i32 noundef 0)
  %1764 = getelementptr inbounds %struct.ImDrawCmd, ptr %1763, i32 0, i32 4
  %1765 = load i32, ptr %1764, align 8, !tbaa !200
  %1766 = icmp eq i32 %1765, 0
  br label %1767

1767:                                             ; preds = %1758, %1710
  %1768 = phi i1 [ false, %1710 ], [ %1766, %1758 ]
  br i1 %1768, label %1769, label %1770

1769:                                             ; preds = %1767
  br label %1772

1770:                                             ; preds = %1767
  call void @__assert_fail(ptr noundef @.str.115, ptr noundef @.str.3, i32 noundef 6196, ptr noundef @__PRETTY_FUNCTION__._ZN5ImGui5BeginEPKcPbi) #14
  unreachable

1771:                                             ; No predecessors!
  br label %1772

1772:                                             ; preds = %1771, %1769
  %1773 = load ptr, ptr %9, align 8, !tbaa !5
  %1774 = getelementptr inbounds %struct.ImGuiWindow, ptr %1773, i32 0, i32 72
  %1775 = load ptr, ptr %1774, align 8, !tbaa !131
  %1776 = load ptr, ptr %7, align 8, !tbaa !5
  %1777 = getelementptr inbounds %struct.ImGuiContext, ptr %1776, i32 0, i32 5
  %1778 = load ptr, ptr %1777, align 8, !tbaa !202
  %1779 = getelementptr inbounds %struct.ImFont, ptr %1778, i32 0, i32 6
  %1780 = load ptr, ptr %1779, align 8, !tbaa !203
  %1781 = getelementptr inbounds %struct.ImFontAtlas, ptr %1780, i32 0, i32 2
  %1782 = load ptr, ptr %1781, align 8, !tbaa !204
  call void @_ZN10ImDrawList13PushTextureIDEPv(ptr noundef nonnull align 8 dereferenceable(196) %1775, ptr noundef %1782)
  %1783 = getelementptr inbounds %struct.ImRect, ptr %66, i32 0, i32 0
  %1784 = getelementptr inbounds %struct.ImRect, ptr %66, i32 0, i32 1
  call void @_ZN5ImGui12PushClipRectERK6ImVec2S2_b(ptr noundef nonnull align 4 dereferenceable(8) %1783, ptr noundef nonnull align 4 dereferenceable(8) %1784, i1 noundef zeroext false)
  call void @llvm.lifetime.start.p0(i64 1, ptr %72) #13
  %1785 = load i32, ptr %6, align 4, !tbaa !9
  %1786 = and i32 %1785, 134217728
  %1787 = icmp ne i32 %1786, 0
  br i1 %1787, label %1788, label %1798

1788:                                             ; preds = %1772
  %1789 = load ptr, ptr %9, align 8, !tbaa !5
  %1790 = call noundef ptr @_ZN5ImGui20GetTopMostPopupModalEv()
  %1791 = icmp eq ptr %1789, %1790
  br i1 %1791, label %1792, label %1798

1792:                                             ; preds = %1788
  %1793 = load ptr, ptr %9, align 8, !tbaa !5
  %1794 = getelementptr inbounds %struct.ImGuiWindow, ptr %1793, i32 0, i32 47
  %1795 = load i8, ptr %1794, align 1, !tbaa !139
  %1796 = sext i8 %1795 to i32
  %1797 = icmp sle i32 %1796, 0
  br label %1798

1798:                                             ; preds = %1792, %1788, %1772
  %1799 = phi i1 [ false, %1788 ], [ false, %1772 ], [ %1797, %1792 ]
  %1800 = zext i1 %1799 to i8
  store i8 %1800, ptr %72, align 1, !tbaa !75
  call void @llvm.lifetime.start.p0(i64 1, ptr %73) #13
  %1801 = load ptr, ptr %7, align 8, !tbaa !5
  %1802 = getelementptr inbounds %struct.ImGuiContext, ptr %1801, i32 0, i32 127
  %1803 = load ptr, ptr %1802, align 8, !tbaa !208
  %1804 = icmp ne ptr %1803, null
  br i1 %1804, label %1805, label %1813

1805:                                             ; preds = %1798
  %1806 = load ptr, ptr %9, align 8, !tbaa !5
  %1807 = load ptr, ptr %7, align 8, !tbaa !5
  %1808 = getelementptr inbounds %struct.ImGuiContext, ptr %1807, i32 0, i32 127
  %1809 = load ptr, ptr %1808, align 8, !tbaa !208
  %1810 = getelementptr inbounds %struct.ImGuiWindow, ptr %1809, i32 0, i32 75
  %1811 = load ptr, ptr %1810, align 8, !tbaa !209
  %1812 = icmp eq ptr %1806, %1811
  br label %1813

1813:                                             ; preds = %1805, %1798
  %1814 = phi i1 [ false, %1798 ], [ %1812, %1805 ]
  %1815 = zext i1 %1814 to i8
  store i8 %1815, ptr %73, align 1, !tbaa !75
  %1816 = load i8, ptr %72, align 1, !tbaa !75, !range !71, !noundef !72
  %1817 = trunc i8 %1816 to i1
  br i1 %1817, label %1821, label %1818

1818:                                             ; preds = %1813
  %1819 = load i8, ptr %73, align 1, !tbaa !75, !range !71, !noundef !72
  %1820 = trunc i8 %1819 to i1
  br i1 %1820, label %1821, label %1836

1821:                                             ; preds = %1818, %1813
  call void @llvm.lifetime.start.p0(i64 4, ptr %74) #13
  %1822 = load i8, ptr %72, align 1, !tbaa !75, !range !71, !noundef !72
  %1823 = trunc i8 %1822 to i1
  %1824 = zext i1 %1823 to i64
  %1825 = select i1 %1823, i32 52, i32 51
  %1826 = load ptr, ptr %7, align 8, !tbaa !5
  %1827 = getelementptr inbounds %struct.ImGuiContext, ptr %1826, i32 0, i32 139
  %1828 = load float, ptr %1827, align 4, !tbaa !210
  %1829 = call noundef i32 @_ZN5ImGui11GetColorU32Eif(i32 noundef %1825, float noundef %1828)
  store i32 %1829, ptr %74, align 4, !tbaa !9
  %1830 = load ptr, ptr %9, align 8, !tbaa !5
  %1831 = getelementptr inbounds %struct.ImGuiWindow, ptr %1830, i32 0, i32 72
  %1832 = load ptr, ptr %1831, align 8, !tbaa !131
  %1833 = getelementptr inbounds %struct.ImRect, ptr %46, i32 0, i32 0
  %1834 = getelementptr inbounds %struct.ImRect, ptr %46, i32 0, i32 1
  %1835 = load i32, ptr %74, align 4, !tbaa !9
  call void @_ZN10ImDrawList13AddRectFilledERK6ImVec2S2_jfi(ptr noundef nonnull align 8 dereferenceable(196) %1832, ptr noundef nonnull align 4 dereferenceable(8) %1833, ptr noundef nonnull align 4 dereferenceable(8) %1834, i32 noundef %1835, float noundef 0.000000e+00, i32 noundef 0)
  call void @llvm.lifetime.end.p0(i64 4, ptr %74) #13
  br label %1836

1836:                                             ; preds = %1821, %1818
  %1837 = load i8, ptr %73, align 1, !tbaa !75, !range !71, !noundef !72
  %1838 = trunc i8 %1837 to i1
  br i1 %1838, label %1839, label %1872

1839:                                             ; preds = %1836
  %1840 = load ptr, ptr %9, align 8, !tbaa !5
  %1841 = load ptr, ptr %7, align 8, !tbaa !5
  %1842 = getelementptr inbounds %struct.ImGuiContext, ptr %1841, i32 0, i32 127
  %1843 = load ptr, ptr %1842, align 8, !tbaa !208
  %1844 = icmp eq ptr %1840, %1843
  br i1 %1844, label %1845, label %1872

1845:                                             ; preds = %1839
  call void @llvm.lifetime.start.p0(i64 16, ptr %75) #13
  %1846 = load ptr, ptr %9, align 8, !tbaa !5
  %1847 = call { <2 x float>, <2 x float> } @_ZNK11ImGuiWindow4RectEv(ptr noundef nonnull align 8 dereferenceable(921) %1846)
  %1848 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %75, i32 0, i32 0
  %1849 = extractvalue { <2 x float>, <2 x float> } %1847, 0
  store <2 x float> %1849, ptr %1848, align 4
  %1850 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %75, i32 0, i32 1
  %1851 = extractvalue { <2 x float>, <2 x float> } %1847, 1
  store <2 x float> %1851, ptr %1850, align 4
  %1852 = load ptr, ptr %7, align 8, !tbaa !5
  %1853 = getelementptr inbounds %struct.ImGuiContext, ptr %1852, i32 0, i32 6
  %1854 = load float, ptr %1853, align 8, !tbaa !175
  call void @_ZN6ImRect6ExpandEf(ptr noundef nonnull align 4 dereferenceable(16) %75, float noundef %1854)
  %1855 = call noundef zeroext i1 @_ZNK6ImRect8ContainsERKS_(ptr noundef nonnull align 4 dereferenceable(16) %75, ptr noundef nonnull align 4 dereferenceable(16) %46)
  br i1 %1855, label %1871, label %1856

1856:                                             ; preds = %1845
  %1857 = load ptr, ptr %9, align 8, !tbaa !5
  %1858 = getelementptr inbounds %struct.ImGuiWindow, ptr %1857, i32 0, i32 72
  %1859 = load ptr, ptr %1858, align 8, !tbaa !131
  %1860 = getelementptr inbounds %struct.ImRect, ptr %75, i32 0, i32 0
  %1861 = getelementptr inbounds %struct.ImRect, ptr %75, i32 0, i32 1
  %1862 = load ptr, ptr %7, align 8, !tbaa !5
  %1863 = getelementptr inbounds %struct.ImGuiContext, ptr %1862, i32 0, i32 130
  %1864 = load float, ptr %1863, align 4, !tbaa !211
  %1865 = fmul float %1864, 2.500000e-01
  %1866 = call noundef i32 @_ZN5ImGui11GetColorU32Eif(i32 noundef 50, float noundef %1865)
  %1867 = load ptr, ptr %7, align 8, !tbaa !5
  %1868 = getelementptr inbounds %struct.ImGuiContext, ptr %1867, i32 0, i32 4
  %1869 = getelementptr inbounds %struct.ImGuiStyle, ptr %1868, i32 0, i32 3
  %1870 = load float, ptr %1869, align 8, !tbaa !212
  call void @_ZN10ImDrawList13AddRectFilledERK6ImVec2S2_jfi(ptr noundef nonnull align 8 dereferenceable(196) %1859, ptr noundef nonnull align 4 dereferenceable(8) %1860, ptr noundef nonnull align 4 dereferenceable(8) %1861, i32 noundef %1866, float noundef %1870, i32 noundef 0)
  br label %1871

1871:                                             ; preds = %1856, %1845
  call void @llvm.lifetime.end.p0(i64 16, ptr %75) #13
  br label %1872

1872:                                             ; preds = %1871, %1839, %1836
  call void @llvm.lifetime.start.p0(i64 1, ptr %76) #13
  store i8 0, ptr %76, align 1, !tbaa !75
  %1873 = load i32, ptr %6, align 4, !tbaa !9
  %1874 = and i32 %1873, 16777216
  %1875 = icmp ne i32 %1874, 0
  br i1 %1875, label %1876, label %1949

1876:                                             ; preds = %1872
  %1877 = load i32, ptr %6, align 4, !tbaa !9
  %1878 = and i32 %1877, 67108864
  %1879 = icmp ne i32 %1878, 0
  br i1 %1879, label %1949, label %1880

1880:                                             ; preds = %1876
  %1881 = load i8, ptr %23, align 1, !tbaa !75, !range !71, !noundef !72
  %1882 = trunc i8 %1881 to i1
  br i1 %1882, label %1949, label %1883

1883:                                             ; preds = %1880
  call void @llvm.lifetime.start.p0(i64 8, ptr %77) #13
  %1884 = load ptr, ptr %16, align 8, !tbaa !5
  %1885 = getelementptr inbounds %struct.ImGuiWindow, ptr %1884, i32 0, i32 54
  %1886 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %1885, i32 0, i32 23
  %1887 = getelementptr inbounds %struct.ImVector.3, ptr %1886, i32 0, i32 0
  %1888 = load i32, ptr %1887, align 8, !tbaa !168
  %1889 = icmp sge i32 %1888, 2
  br i1 %1889, label %1890, label %1902

1890:                                             ; preds = %1883
  %1891 = load ptr, ptr %16, align 8, !tbaa !5
  %1892 = getelementptr inbounds %struct.ImGuiWindow, ptr %1891, i32 0, i32 54
  %1893 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %1892, i32 0, i32 23
  %1894 = load ptr, ptr %16, align 8, !tbaa !5
  %1895 = getelementptr inbounds %struct.ImGuiWindow, ptr %1894, i32 0, i32 54
  %1896 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %1895, i32 0, i32 23
  %1897 = getelementptr inbounds %struct.ImVector.3, ptr %1896, i32 0, i32 0
  %1898 = load i32, ptr %1897, align 8, !tbaa !168
  %1899 = sub nsw i32 %1898, 2
  %1900 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8ImVectorIP11ImGuiWindowEixEi(ptr noundef nonnull align 8 dereferenceable(16) %1893, i32 noundef %1899)
  %1901 = load ptr, ptr %1900, align 8, !tbaa !5
  br label %1903

1902:                                             ; preds = %1883
  br label %1903

1903:                                             ; preds = %1902, %1890
  %1904 = phi ptr [ %1901, %1890 ], [ null, %1902 ]
  store ptr %1904, ptr %77, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %78) #13
  %1905 = load ptr, ptr %77, align 8, !tbaa !5
  %1906 = icmp ne ptr %1905, null
  call void @llvm.lifetime.start.p0(i64 16, ptr %79) #13
  call void @llvm.lifetime.start.p0(i64 16, ptr %80) #13
  br i1 %1906, label %1907, label %1921

1907:                                             ; preds = %1903
  %1908 = load ptr, ptr %77, align 8, !tbaa !5
  %1909 = call { <2 x float>, <2 x float> } @_ZNK11ImGuiWindow4RectEv(ptr noundef nonnull align 8 dereferenceable(921) %1908)
  %1910 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %79, i32 0, i32 0
  %1911 = extractvalue { <2 x float>, <2 x float> } %1909, 0
  store <2 x float> %1911, ptr %1910, align 4
  %1912 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %79, i32 0, i32 1
  %1913 = extractvalue { <2 x float>, <2 x float> } %1909, 1
  store <2 x float> %1913, ptr %1912, align 4
  %1914 = load ptr, ptr %9, align 8, !tbaa !5
  %1915 = call { <2 x float>, <2 x float> } @_ZNK11ImGuiWindow4RectEv(ptr noundef nonnull align 8 dereferenceable(921) %1914)
  %1916 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %80, i32 0, i32 0
  %1917 = extractvalue { <2 x float>, <2 x float> } %1915, 0
  store <2 x float> %1917, ptr %1916, align 4
  %1918 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %80, i32 0, i32 1
  %1919 = extractvalue { <2 x float>, <2 x float> } %1915, 1
  store <2 x float> %1919, ptr %1918, align 4
  %1920 = call noundef zeroext i1 @_ZNK6ImRect8OverlapsERKS_(ptr noundef nonnull align 4 dereferenceable(16) %79, ptr noundef nonnull align 4 dereferenceable(16) %80)
  br label %1922

1921:                                             ; preds = %1903
  br label %1922

1922:                                             ; preds = %1921, %1907
  %1923 = phi i1 [ %1920, %1907 ], [ false, %1921 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr %80) #13
  call void @llvm.lifetime.end.p0(i64 16, ptr %79) #13
  %1924 = zext i1 %1923 to i8
  store i8 %1924, ptr %78, align 1, !tbaa !75
  call void @llvm.lifetime.start.p0(i64 1, ptr %81) #13
  %1925 = load ptr, ptr %16, align 8, !tbaa !5
  %1926 = getelementptr inbounds %struct.ImGuiWindow, ptr %1925, i32 0, i32 72
  %1927 = load ptr, ptr %1926, align 8, !tbaa !131
  %1928 = getelementptr inbounds %struct.ImDrawList, ptr %1927, i32 0, i32 2
  %1929 = getelementptr inbounds %struct.ImVector.29, ptr %1928, i32 0, i32 0
  %1930 = load i32, ptr %1929, align 8, !tbaa !213
  %1931 = icmp sgt i32 %1930, 0
  %1932 = zext i1 %1931 to i8
  store i8 %1932, ptr %81, align 1, !tbaa !75
  %1933 = load ptr, ptr %9, align 8, !tbaa !5
  %1934 = getelementptr inbounds %struct.ImGuiWindow, ptr %1933, i32 0, i32 72
  %1935 = load ptr, ptr %1934, align 8, !tbaa !131
  %1936 = getelementptr inbounds %struct.ImDrawList, ptr %1935, i32 0, i32 0
  %1937 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZN8ImVectorI9ImDrawCmdE4backEv(ptr noundef nonnull align 8 dereferenceable(16) %1936)
  %1938 = getelementptr inbounds %struct.ImDrawCmd, ptr %1937, i32 0, i32 4
  %1939 = load i32, ptr %1938, align 8, !tbaa !200
  %1940 = icmp eq i32 %1939, 0
  br i1 %1940, label %1941, label %1948

1941:                                             ; preds = %1922
  %1942 = load i8, ptr %81, align 1, !tbaa !75, !range !71, !noundef !72
  %1943 = trunc i8 %1942 to i1
  br i1 %1943, label %1944, label %1948

1944:                                             ; preds = %1941
  %1945 = load i8, ptr %78, align 1, !tbaa !75, !range !71, !noundef !72
  %1946 = trunc i8 %1945 to i1
  br i1 %1946, label %1948, label %1947

1947:                                             ; preds = %1944
  store i8 1, ptr %76, align 1, !tbaa !75
  br label %1948

1948:                                             ; preds = %1947, %1944, %1941, %1922
  call void @llvm.lifetime.end.p0(i64 1, ptr %81) #13
  call void @llvm.lifetime.end.p0(i64 1, ptr %78) #13
  call void @llvm.lifetime.end.p0(i64 8, ptr %77) #13
  br label %1949

1949:                                             ; preds = %1948, %1880, %1876, %1872
  %1950 = load i8, ptr %76, align 1, !tbaa !75, !range !71, !noundef !72
  %1951 = trunc i8 %1950 to i1
  br i1 %1951, label %1952, label %1958

1952:                                             ; preds = %1949
  %1953 = load ptr, ptr %16, align 8, !tbaa !5
  %1954 = getelementptr inbounds %struct.ImGuiWindow, ptr %1953, i32 0, i32 72
  %1955 = load ptr, ptr %1954, align 8, !tbaa !131
  %1956 = load ptr, ptr %9, align 8, !tbaa !5
  %1957 = getelementptr inbounds %struct.ImGuiWindow, ptr %1956, i32 0, i32 72
  store ptr %1955, ptr %1957, align 8, !tbaa !131
  br label %1958

1958:                                             ; preds = %1952, %1949
  call void @llvm.lifetime.start.p0(i64 8, ptr %82) #13
  %1959 = load ptr, ptr %7, align 8, !tbaa !5
  %1960 = getelementptr inbounds %struct.ImGuiContext, ptr %1959, i32 0, i32 126
  %1961 = load ptr, ptr %1960, align 8, !tbaa !214
  %1962 = icmp ne ptr %1961, null
  br i1 %1962, label %1963, label %1967

1963:                                             ; preds = %1958
  %1964 = load ptr, ptr %7, align 8, !tbaa !5
  %1965 = getelementptr inbounds %struct.ImGuiContext, ptr %1964, i32 0, i32 126
  %1966 = load ptr, ptr %1965, align 8, !tbaa !214
  br label %1971

1967:                                             ; preds = %1958
  %1968 = load ptr, ptr %7, align 8, !tbaa !5
  %1969 = getelementptr inbounds %struct.ImGuiContext, ptr %1968, i32 0, i32 83
  %1970 = load ptr, ptr %1969, align 8, !tbaa !215
  br label %1971

1971:                                             ; preds = %1967, %1963
  %1972 = phi ptr [ %1966, %1963 ], [ %1970, %1967 ]
  store ptr %1972, ptr %82, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %83) #13
  %1973 = load i8, ptr %53, align 1, !tbaa !75, !range !71, !noundef !72
  %1974 = trunc i8 %1973 to i1
  br i1 %1974, label %1988, label %1975

1975:                                             ; preds = %1971
  %1976 = load ptr, ptr %82, align 8, !tbaa !5
  %1977 = icmp ne ptr %1976, null
  br i1 %1977, label %1978, label %1986

1978:                                             ; preds = %1975
  %1979 = load ptr, ptr %9, align 8, !tbaa !5
  %1980 = getelementptr inbounds %struct.ImGuiWindow, ptr %1979, i32 0, i32 77
  %1981 = load ptr, ptr %1980, align 8, !tbaa !216
  %1982 = load ptr, ptr %82, align 8, !tbaa !5
  %1983 = getelementptr inbounds %struct.ImGuiWindow, ptr %1982, i32 0, i32 77
  %1984 = load ptr, ptr %1983, align 8, !tbaa !216
  %1985 = icmp eq ptr %1981, %1984
  br label %1986

1986:                                             ; preds = %1978, %1975
  %1987 = phi i1 [ false, %1975 ], [ %1985, %1978 ]
  br label %1988

1988:                                             ; preds = %1986, %1971
  %1989 = phi i1 [ true, %1971 ], [ %1987, %1986 ]
  %1990 = zext i1 %1989 to i8
  store i8 %1990, ptr %83, align 1, !tbaa !75
  %1991 = load ptr, ptr %9, align 8, !tbaa !5
  %1992 = load i8, ptr %83, align 1, !tbaa !75, !range !71, !noundef !72
  %1993 = trunc i8 %1992 to i1
  %1994 = load i32, ptr %56, align 4, !tbaa !9
  %1995 = getelementptr inbounds [4 x i32], ptr %55, i64 0, i64 0
  %1996 = load float, ptr %57, align 4, !tbaa !113
  call void @_ZN5ImGuiL23RenderWindowDecorationsEP11ImGuiWindowRK6ImRectbiPKjf(ptr noundef %1991, ptr noundef nonnull align 4 dereferenceable(16) %68, i1 noundef zeroext %1993, i32 noundef %1994, ptr noundef %1995, float noundef %1996)
  %1997 = load i8, ptr %76, align 1, !tbaa !75, !range !71, !noundef !72
  %1998 = trunc i8 %1997 to i1
  br i1 %1998, label %1999, label %2004

1999:                                             ; preds = %1988
  %2000 = load ptr, ptr %9, align 8, !tbaa !5
  %2001 = getelementptr inbounds %struct.ImGuiWindow, ptr %2000, i32 0, i32 73
  %2002 = load ptr, ptr %9, align 8, !tbaa !5
  %2003 = getelementptr inbounds %struct.ImGuiWindow, ptr %2002, i32 0, i32 72
  store ptr %2001, ptr %2003, align 8, !tbaa !131
  br label %2004

2004:                                             ; preds = %1999, %1988
  call void @llvm.lifetime.end.p0(i64 1, ptr %83) #13
  call void @llvm.lifetime.end.p0(i64 8, ptr %82) #13
  call void @llvm.lifetime.end.p0(i64 1, ptr %76) #13
  %2005 = load ptr, ptr %7, align 8, !tbaa !5
  %2006 = getelementptr inbounds %struct.ImGuiContext, ptr %2005, i32 0, i32 127
  %2007 = load ptr, ptr %2006, align 8, !tbaa !208
  %2008 = load ptr, ptr %9, align 8, !tbaa !5
  %2009 = icmp eq ptr %2007, %2008
  br i1 %2009, label %2010, label %2049

2010:                                             ; preds = %2004
  call void @llvm.lifetime.start.p0(i64 4, ptr %84) #13
  %2011 = load ptr, ptr %9, align 8, !tbaa !5
  %2012 = getelementptr inbounds %struct.ImGuiWindow, ptr %2011, i32 0, i32 10
  %2013 = load float, ptr %2012, align 8, !tbaa !173
  %2014 = load ptr, ptr %7, align 8, !tbaa !5
  %2015 = getelementptr inbounds %struct.ImGuiContext, ptr %2014, i32 0, i32 4
  %2016 = getelementptr inbounds %struct.ImGuiStyle, ptr %2015, i32 0, i32 3
  %2017 = load float, ptr %2016, align 8, !tbaa !212
  %2018 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %2013, float noundef %2017)
  store float %2018, ptr %84, align 4, !tbaa !113
  call void @llvm.lifetime.start.p0(i64 16, ptr %85) #13
  %2019 = load ptr, ptr %9, align 8, !tbaa !5
  %2020 = call { <2 x float>, <2 x float> } @_ZNK11ImGuiWindow4RectEv(ptr noundef nonnull align 8 dereferenceable(921) %2019)
  %2021 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %85, i32 0, i32 0
  %2022 = extractvalue { <2 x float>, <2 x float> } %2020, 0
  store <2 x float> %2022, ptr %2021, align 4
  %2023 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %85, i32 0, i32 1
  %2024 = extractvalue { <2 x float>, <2 x float> } %2020, 1
  store <2 x float> %2024, ptr %2023, align 4
  %2025 = load ptr, ptr %7, align 8, !tbaa !5
  %2026 = getelementptr inbounds %struct.ImGuiContext, ptr %2025, i32 0, i32 6
  %2027 = load float, ptr %2026, align 8, !tbaa !175
  call void @_ZN6ImRect6ExpandEf(ptr noundef nonnull align 4 dereferenceable(16) %85, float noundef %2027)
  %2028 = call noundef zeroext i1 @_ZNK6ImRect8ContainsERKS_(ptr noundef nonnull align 4 dereferenceable(16) %85, ptr noundef nonnull align 4 dereferenceable(16) %46)
  br i1 %2028, label %2029, label %2038

2029:                                             ; preds = %2010
  %2030 = load ptr, ptr %7, align 8, !tbaa !5
  %2031 = getelementptr inbounds %struct.ImGuiContext, ptr %2030, i32 0, i32 6
  %2032 = load float, ptr %2031, align 8, !tbaa !175
  %2033 = fneg float %2032
  %2034 = fsub float %2033, 1.000000e+00
  call void @_ZN6ImRect6ExpandEf(ptr noundef nonnull align 4 dereferenceable(16) %85, float noundef %2034)
  %2035 = load ptr, ptr %9, align 8, !tbaa !5
  %2036 = getelementptr inbounds %struct.ImGuiWindow, ptr %2035, i32 0, i32 10
  %2037 = load float, ptr %2036, align 8, !tbaa !173
  store float %2037, ptr %84, align 4, !tbaa !113
  br label %2038

2038:                                             ; preds = %2029, %2010
  %2039 = load ptr, ptr %9, align 8, !tbaa !5
  %2040 = getelementptr inbounds %struct.ImGuiWindow, ptr %2039, i32 0, i32 72
  %2041 = load ptr, ptr %2040, align 8, !tbaa !131
  %2042 = getelementptr inbounds %struct.ImRect, ptr %85, i32 0, i32 0
  %2043 = getelementptr inbounds %struct.ImRect, ptr %85, i32 0, i32 1
  %2044 = load ptr, ptr %7, align 8, !tbaa !5
  %2045 = getelementptr inbounds %struct.ImGuiContext, ptr %2044, i32 0, i32 130
  %2046 = load float, ptr %2045, align 4, !tbaa !211
  %2047 = call noundef i32 @_ZN5ImGui11GetColorU32Eif(i32 noundef 50, float noundef %2046)
  %2048 = load float, ptr %84, align 4, !tbaa !113
  call void @_ZN10ImDrawList7AddRectERK6ImVec2S2_jfif(ptr noundef nonnull align 8 dereferenceable(196) %2041, ptr noundef nonnull align 4 dereferenceable(8) %2042, ptr noundef nonnull align 4 dereferenceable(8) %2043, i32 noundef %2047, float noundef %2048, i32 noundef 0, float noundef 3.000000e+00)
  call void @llvm.lifetime.end.p0(i64 16, ptr %85) #13
  call void @llvm.lifetime.end.p0(i64 4, ptr %84) #13
  br label %2049

2049:                                             ; preds = %2038, %2004
  call void @llvm.lifetime.start.p0(i64 1, ptr %86) #13
  %2050 = load i32, ptr %6, align 4, !tbaa !9
  %2051 = and i32 %2050, 8
  %2052 = icmp ne i32 %2051, 0
  br i1 %2052, label %2057, label %2053

2053:                                             ; preds = %2049
  %2054 = load i32, ptr %6, align 4, !tbaa !9
  %2055 = and i32 %2054, 2048
  %2056 = icmp ne i32 %2055, 0
  br label %2057

2057:                                             ; preds = %2053, %2049
  %2058 = phi i1 [ false, %2049 ], [ %2056, %2053 ]
  %2059 = zext i1 %2058 to i8
  store i8 %2059, ptr %86, align 1, !tbaa !75
  call void @llvm.lifetime.start.p0(i64 1, ptr %87) #13
  %2060 = load i32, ptr %6, align 4, !tbaa !9
  %2061 = and i32 %2060, 8
  %2062 = icmp ne i32 %2061, 0
  %2063 = xor i1 %2062, true
  %2064 = zext i1 %2063 to i8
  store i8 %2064, ptr %87, align 1, !tbaa !75
  call void @llvm.lifetime.start.p0(i64 4, ptr %88) #13
  %2065 = load ptr, ptr %9, align 8, !tbaa !5
  %2066 = getelementptr inbounds %struct.ImGuiWindow, ptr %2065, i32 0, i32 8
  %2067 = getelementptr inbounds %struct.ImVec2, ptr %2066, i32 0, i32 0
  %2068 = load float, ptr %2067, align 8, !tbaa !217
  %2069 = fcmp une float %2068, 0.000000e+00
  br i1 %2069, label %2070, label %2075

2070:                                             ; preds = %2057
  %2071 = load ptr, ptr %9, align 8, !tbaa !5
  %2072 = getelementptr inbounds %struct.ImGuiWindow, ptr %2071, i32 0, i32 8
  %2073 = getelementptr inbounds %struct.ImVec2, ptr %2072, i32 0, i32 0
  %2074 = load float, ptr %2073, align 8, !tbaa !217
  br label %2102

2075:                                             ; preds = %2057
  %2076 = load i8, ptr %86, align 1, !tbaa !75, !range !71, !noundef !72
  %2077 = trunc i8 %2076 to i1
  br i1 %2077, label %2078, label %2083

2078:                                             ; preds = %2075
  %2079 = load ptr, ptr %9, align 8, !tbaa !5
  %2080 = getelementptr inbounds %struct.ImGuiWindow, ptr %2079, i32 0, i32 6
  %2081 = getelementptr inbounds %struct.ImVec2, ptr %2080, i32 0, i32 0
  %2082 = load float, ptr %2081, align 8, !tbaa !194
  br label %2084

2083:                                             ; preds = %2075
  br label %2084

2084:                                             ; preds = %2083, %2078
  %2085 = phi float [ %2082, %2078 ], [ 0.000000e+00, %2083 ]
  %2086 = load ptr, ptr %9, align 8, !tbaa !5
  %2087 = getelementptr inbounds %struct.ImGuiWindow, ptr %2086, i32 0, i32 4
  %2088 = getelementptr inbounds %struct.ImVec2, ptr %2087, i32 0, i32 0
  %2089 = load float, ptr %2088, align 8, !tbaa !143
  %2090 = load ptr, ptr %9, align 8, !tbaa !5
  %2091 = getelementptr inbounds %struct.ImGuiWindow, ptr %2090, i32 0, i32 9
  %2092 = getelementptr inbounds %struct.ImVec2, ptr %2091, i32 0, i32 0
  %2093 = load float, ptr %2092, align 8, !tbaa !151
  %2094 = fneg float %2093
  %2095 = call float @llvm.fmuladd.f32(float %2094, float 2.000000e+00, float %2089)
  %2096 = load ptr, ptr %9, align 8, !tbaa !5
  %2097 = getelementptr inbounds %struct.ImGuiWindow, ptr %2096, i32 0, i32 20
  %2098 = getelementptr inbounds %struct.ImVec2, ptr %2097, i32 0, i32 0
  %2099 = load float, ptr %2098, align 4, !tbaa !184
  %2100 = fsub float %2095, %2099
  %2101 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %2085, float noundef %2100)
  br label %2102

2102:                                             ; preds = %2084, %2070
  %2103 = phi float [ %2074, %2070 ], [ %2101, %2084 ]
  store float %2103, ptr %88, align 4, !tbaa !113
  call void @llvm.lifetime.start.p0(i64 4, ptr %89) #13
  %2104 = load ptr, ptr %9, align 8, !tbaa !5
  %2105 = getelementptr inbounds %struct.ImGuiWindow, ptr %2104, i32 0, i32 8
  %2106 = getelementptr inbounds %struct.ImVec2, ptr %2105, i32 0, i32 1
  %2107 = load float, ptr %2106, align 4, !tbaa !218
  %2108 = fcmp une float %2107, 0.000000e+00
  br i1 %2108, label %2109, label %2114

2109:                                             ; preds = %2102
  %2110 = load ptr, ptr %9, align 8, !tbaa !5
  %2111 = getelementptr inbounds %struct.ImGuiWindow, ptr %2110, i32 0, i32 8
  %2112 = getelementptr inbounds %struct.ImVec2, ptr %2111, i32 0, i32 1
  %2113 = load float, ptr %2112, align 4, !tbaa !218
  br label %2143

2114:                                             ; preds = %2102
  %2115 = load i8, ptr %87, align 1, !tbaa !75, !range !71, !noundef !72
  %2116 = trunc i8 %2115 to i1
  br i1 %2116, label %2117, label %2122

2117:                                             ; preds = %2114
  %2118 = load ptr, ptr %9, align 8, !tbaa !5
  %2119 = getelementptr inbounds %struct.ImGuiWindow, ptr %2118, i32 0, i32 6
  %2120 = getelementptr inbounds %struct.ImVec2, ptr %2119, i32 0, i32 1
  %2121 = load float, ptr %2120, align 4, !tbaa !196
  br label %2123

2122:                                             ; preds = %2114
  br label %2123

2123:                                             ; preds = %2122, %2117
  %2124 = phi float [ %2121, %2117 ], [ 0.000000e+00, %2122 ]
  %2125 = load ptr, ptr %9, align 8, !tbaa !5
  %2126 = getelementptr inbounds %struct.ImGuiWindow, ptr %2125, i32 0, i32 4
  %2127 = getelementptr inbounds %struct.ImVec2, ptr %2126, i32 0, i32 1
  %2128 = load float, ptr %2127, align 4, !tbaa !145
  %2129 = load ptr, ptr %9, align 8, !tbaa !5
  %2130 = getelementptr inbounds %struct.ImGuiWindow, ptr %2129, i32 0, i32 9
  %2131 = getelementptr inbounds %struct.ImVec2, ptr %2130, i32 0, i32 1
  %2132 = load float, ptr %2131, align 4, !tbaa !197
  %2133 = fneg float %2132
  %2134 = call float @llvm.fmuladd.f32(float %2133, float 2.000000e+00, float %2128)
  %2135 = load float, ptr %38, align 4, !tbaa !113
  %2136 = fsub float %2134, %2135
  %2137 = load ptr, ptr %9, align 8, !tbaa !5
  %2138 = getelementptr inbounds %struct.ImGuiWindow, ptr %2137, i32 0, i32 20
  %2139 = getelementptr inbounds %struct.ImVec2, ptr %2138, i32 0, i32 1
  %2140 = load float, ptr %2139, align 4, !tbaa !186
  %2141 = fsub float %2136, %2140
  %2142 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %2124, float noundef %2141)
  br label %2143

2143:                                             ; preds = %2123, %2109
  %2144 = phi float [ %2113, %2109 ], [ %2142, %2123 ]
  store float %2144, ptr %89, align 4, !tbaa !113
  %2145 = load ptr, ptr %9, align 8, !tbaa !5
  %2146 = getelementptr inbounds %struct.ImGuiWindow, ptr %2145, i32 0, i32 56
  %2147 = getelementptr inbounds %struct.ImRect, ptr %2146, i32 0, i32 0
  %2148 = getelementptr inbounds %struct.ImVec2, ptr %2147, i32 0, i32 0
  %2149 = load float, ptr %2148, align 8, !tbaa !181
  %2150 = load ptr, ptr %9, align 8, !tbaa !5
  %2151 = getelementptr inbounds %struct.ImGuiWindow, ptr %2150, i32 0, i32 15
  %2152 = getelementptr inbounds %struct.ImVec2, ptr %2151, i32 0, i32 0
  %2153 = load float, ptr %2152, align 4, !tbaa !219
  %2154 = fsub float %2149, %2153
  %2155 = load ptr, ptr %9, align 8, !tbaa !5
  %2156 = getelementptr inbounds %struct.ImGuiWindow, ptr %2155, i32 0, i32 9
  %2157 = getelementptr inbounds %struct.ImVec2, ptr %2156, i32 0, i32 0
  %2158 = load float, ptr %2157, align 8, !tbaa !151
  %2159 = load ptr, ptr %9, align 8, !tbaa !5
  %2160 = getelementptr inbounds %struct.ImGuiWindow, ptr %2159, i32 0, i32 11
  %2161 = load float, ptr %2160, align 4, !tbaa !147
  %2162 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %2158, float noundef %2161)
  %2163 = fadd float %2154, %2162
  %2164 = call noundef float @_ZL7ImFloorf(float noundef %2163)
  %2165 = load ptr, ptr %9, align 8, !tbaa !5
  %2166 = getelementptr inbounds %struct.ImGuiWindow, ptr %2165, i32 0, i32 58
  %2167 = getelementptr inbounds %struct.ImRect, ptr %2166, i32 0, i32 0
  %2168 = getelementptr inbounds %struct.ImVec2, ptr %2167, i32 0, i32 0
  store float %2164, ptr %2168, align 8, !tbaa !220
  %2169 = load ptr, ptr %9, align 8, !tbaa !5
  %2170 = getelementptr inbounds %struct.ImGuiWindow, ptr %2169, i32 0, i32 56
  %2171 = getelementptr inbounds %struct.ImRect, ptr %2170, i32 0, i32 0
  %2172 = getelementptr inbounds %struct.ImVec2, ptr %2171, i32 0, i32 1
  %2173 = load float, ptr %2172, align 4, !tbaa !183
  %2174 = load ptr, ptr %9, align 8, !tbaa !5
  %2175 = getelementptr inbounds %struct.ImGuiWindow, ptr %2174, i32 0, i32 15
  %2176 = getelementptr inbounds %struct.ImVec2, ptr %2175, i32 0, i32 1
  %2177 = load float, ptr %2176, align 4, !tbaa !221
  %2178 = fsub float %2173, %2177
  %2179 = load ptr, ptr %9, align 8, !tbaa !5
  %2180 = getelementptr inbounds %struct.ImGuiWindow, ptr %2179, i32 0, i32 9
  %2181 = getelementptr inbounds %struct.ImVec2, ptr %2180, i32 0, i32 1
  %2182 = load float, ptr %2181, align 4, !tbaa !197
  %2183 = load ptr, ptr %9, align 8, !tbaa !5
  %2184 = getelementptr inbounds %struct.ImGuiWindow, ptr %2183, i32 0, i32 11
  %2185 = load float, ptr %2184, align 4, !tbaa !147
  %2186 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %2182, float noundef %2185)
  %2187 = fadd float %2178, %2186
  %2188 = call noundef float @_ZL7ImFloorf(float noundef %2187)
  %2189 = load ptr, ptr %9, align 8, !tbaa !5
  %2190 = getelementptr inbounds %struct.ImGuiWindow, ptr %2189, i32 0, i32 58
  %2191 = getelementptr inbounds %struct.ImRect, ptr %2190, i32 0, i32 0
  %2192 = getelementptr inbounds %struct.ImVec2, ptr %2191, i32 0, i32 1
  store float %2188, ptr %2192, align 4, !tbaa !222
  %2193 = load ptr, ptr %9, align 8, !tbaa !5
  %2194 = getelementptr inbounds %struct.ImGuiWindow, ptr %2193, i32 0, i32 58
  %2195 = getelementptr inbounds %struct.ImRect, ptr %2194, i32 0, i32 0
  %2196 = getelementptr inbounds %struct.ImVec2, ptr %2195, i32 0, i32 0
  %2197 = load float, ptr %2196, align 8, !tbaa !220
  %2198 = load float, ptr %88, align 4, !tbaa !113
  %2199 = fadd float %2197, %2198
  %2200 = load ptr, ptr %9, align 8, !tbaa !5
  %2201 = getelementptr inbounds %struct.ImGuiWindow, ptr %2200, i32 0, i32 58
  %2202 = getelementptr inbounds %struct.ImRect, ptr %2201, i32 0, i32 1
  %2203 = getelementptr inbounds %struct.ImVec2, ptr %2202, i32 0, i32 0
  store float %2199, ptr %2203, align 8, !tbaa !223
  %2204 = load ptr, ptr %9, align 8, !tbaa !5
  %2205 = getelementptr inbounds %struct.ImGuiWindow, ptr %2204, i32 0, i32 58
  %2206 = getelementptr inbounds %struct.ImRect, ptr %2205, i32 0, i32 0
  %2207 = getelementptr inbounds %struct.ImVec2, ptr %2206, i32 0, i32 1
  %2208 = load float, ptr %2207, align 4, !tbaa !222
  %2209 = load float, ptr %89, align 4, !tbaa !113
  %2210 = fadd float %2208, %2209
  %2211 = load ptr, ptr %9, align 8, !tbaa !5
  %2212 = getelementptr inbounds %struct.ImGuiWindow, ptr %2211, i32 0, i32 58
  %2213 = getelementptr inbounds %struct.ImRect, ptr %2212, i32 0, i32 1
  %2214 = getelementptr inbounds %struct.ImVec2, ptr %2213, i32 0, i32 1
  store float %2210, ptr %2214, align 4, !tbaa !224
  %2215 = load ptr, ptr %9, align 8, !tbaa !5
  %2216 = getelementptr inbounds %struct.ImGuiWindow, ptr %2215, i32 0, i32 58
  %2217 = load ptr, ptr %9, align 8, !tbaa !5
  %2218 = getelementptr inbounds %struct.ImGuiWindow, ptr %2217, i32 0, i32 59
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %2218, ptr align 8 %2216, i64 16, i1 false), !tbaa.struct !130
  %2219 = load ptr, ptr %9, align 8, !tbaa !5
  %2220 = getelementptr inbounds %struct.ImGuiWindow, ptr %2219, i32 0, i32 3
  %2221 = getelementptr inbounds %struct.ImVec2, ptr %2220, i32 0, i32 0
  %2222 = load float, ptr %2221, align 8, !tbaa !180
  %2223 = load ptr, ptr %9, align 8, !tbaa !5
  %2224 = getelementptr inbounds %struct.ImGuiWindow, ptr %2223, i32 0, i32 15
  %2225 = getelementptr inbounds %struct.ImVec2, ptr %2224, i32 0, i32 0
  %2226 = load float, ptr %2225, align 4, !tbaa !219
  %2227 = fsub float %2222, %2226
  %2228 = load ptr, ptr %9, align 8, !tbaa !5
  %2229 = getelementptr inbounds %struct.ImGuiWindow, ptr %2228, i32 0, i32 9
  %2230 = getelementptr inbounds %struct.ImVec2, ptr %2229, i32 0, i32 0
  %2231 = load float, ptr %2230, align 8, !tbaa !151
  %2232 = fadd float %2227, %2231
  %2233 = load ptr, ptr %9, align 8, !tbaa !5
  %2234 = getelementptr inbounds %struct.ImGuiWindow, ptr %2233, i32 0, i32 61
  %2235 = getelementptr inbounds %struct.ImRect, ptr %2234, i32 0, i32 0
  %2236 = getelementptr inbounds %struct.ImVec2, ptr %2235, i32 0, i32 0
  store float %2232, ptr %2236, align 8, !tbaa !225
  %2237 = load ptr, ptr %9, align 8, !tbaa !5
  %2238 = getelementptr inbounds %struct.ImGuiWindow, ptr %2237, i32 0, i32 3
  %2239 = getelementptr inbounds %struct.ImVec2, ptr %2238, i32 0, i32 1
  %2240 = load float, ptr %2239, align 4, !tbaa !182
  %2241 = load ptr, ptr %9, align 8, !tbaa !5
  %2242 = getelementptr inbounds %struct.ImGuiWindow, ptr %2241, i32 0, i32 15
  %2243 = getelementptr inbounds %struct.ImVec2, ptr %2242, i32 0, i32 1
  %2244 = load float, ptr %2243, align 4, !tbaa !221
  %2245 = fsub float %2240, %2244
  %2246 = load ptr, ptr %9, align 8, !tbaa !5
  %2247 = getelementptr inbounds %struct.ImGuiWindow, ptr %2246, i32 0, i32 9
  %2248 = getelementptr inbounds %struct.ImVec2, ptr %2247, i32 0, i32 1
  %2249 = load float, ptr %2248, align 4, !tbaa !197
  %2250 = fadd float %2245, %2249
  %2251 = load float, ptr %38, align 4, !tbaa !113
  %2252 = fadd float %2250, %2251
  %2253 = load ptr, ptr %9, align 8, !tbaa !5
  %2254 = getelementptr inbounds %struct.ImGuiWindow, ptr %2253, i32 0, i32 61
  %2255 = getelementptr inbounds %struct.ImRect, ptr %2254, i32 0, i32 0
  %2256 = getelementptr inbounds %struct.ImVec2, ptr %2255, i32 0, i32 1
  store float %2252, ptr %2256, align 4, !tbaa !226
  %2257 = load ptr, ptr %9, align 8, !tbaa !5
  %2258 = getelementptr inbounds %struct.ImGuiWindow, ptr %2257, i32 0, i32 61
  %2259 = getelementptr inbounds %struct.ImRect, ptr %2258, i32 0, i32 0
  %2260 = getelementptr inbounds %struct.ImVec2, ptr %2259, i32 0, i32 0
  %2261 = load float, ptr %2260, align 8, !tbaa !225
  %2262 = load ptr, ptr %9, align 8, !tbaa !5
  %2263 = getelementptr inbounds %struct.ImGuiWindow, ptr %2262, i32 0, i32 8
  %2264 = getelementptr inbounds %struct.ImVec2, ptr %2263, i32 0, i32 0
  %2265 = load float, ptr %2264, align 8, !tbaa !217
  %2266 = fcmp une float %2265, 0.000000e+00
  br i1 %2266, label %2267, label %2272

2267:                                             ; preds = %2143
  %2268 = load ptr, ptr %9, align 8, !tbaa !5
  %2269 = getelementptr inbounds %struct.ImGuiWindow, ptr %2268, i32 0, i32 8
  %2270 = getelementptr inbounds %struct.ImVec2, ptr %2269, i32 0, i32 0
  %2271 = load float, ptr %2270, align 8, !tbaa !217
  br label %2288

2272:                                             ; preds = %2143
  %2273 = load ptr, ptr %9, align 8, !tbaa !5
  %2274 = getelementptr inbounds %struct.ImGuiWindow, ptr %2273, i32 0, i32 4
  %2275 = getelementptr inbounds %struct.ImVec2, ptr %2274, i32 0, i32 0
  %2276 = load float, ptr %2275, align 8, !tbaa !143
  %2277 = load ptr, ptr %9, align 8, !tbaa !5
  %2278 = getelementptr inbounds %struct.ImGuiWindow, ptr %2277, i32 0, i32 9
  %2279 = getelementptr inbounds %struct.ImVec2, ptr %2278, i32 0, i32 0
  %2280 = load float, ptr %2279, align 8, !tbaa !151
  %2281 = fneg float %2280
  %2282 = call float @llvm.fmuladd.f32(float %2281, float 2.000000e+00, float %2276)
  %2283 = load ptr, ptr %9, align 8, !tbaa !5
  %2284 = getelementptr inbounds %struct.ImGuiWindow, ptr %2283, i32 0, i32 20
  %2285 = getelementptr inbounds %struct.ImVec2, ptr %2284, i32 0, i32 0
  %2286 = load float, ptr %2285, align 4, !tbaa !184
  %2287 = fsub float %2282, %2286
  br label %2288

2288:                                             ; preds = %2272, %2267
  %2289 = phi float [ %2271, %2267 ], [ %2287, %2272 ]
  %2290 = fadd float %2261, %2289
  %2291 = load ptr, ptr %9, align 8, !tbaa !5
  %2292 = getelementptr inbounds %struct.ImGuiWindow, ptr %2291, i32 0, i32 61
  %2293 = getelementptr inbounds %struct.ImRect, ptr %2292, i32 0, i32 1
  %2294 = getelementptr inbounds %struct.ImVec2, ptr %2293, i32 0, i32 0
  store float %2290, ptr %2294, align 8, !tbaa !227
  %2295 = load ptr, ptr %9, align 8, !tbaa !5
  %2296 = getelementptr inbounds %struct.ImGuiWindow, ptr %2295, i32 0, i32 61
  %2297 = getelementptr inbounds %struct.ImRect, ptr %2296, i32 0, i32 0
  %2298 = getelementptr inbounds %struct.ImVec2, ptr %2297, i32 0, i32 1
  %2299 = load float, ptr %2298, align 4, !tbaa !226
  %2300 = load ptr, ptr %9, align 8, !tbaa !5
  %2301 = getelementptr inbounds %struct.ImGuiWindow, ptr %2300, i32 0, i32 8
  %2302 = getelementptr inbounds %struct.ImVec2, ptr %2301, i32 0, i32 1
  %2303 = load float, ptr %2302, align 4, !tbaa !218
  %2304 = fcmp une float %2303, 0.000000e+00
  br i1 %2304, label %2305, label %2310

2305:                                             ; preds = %2288
  %2306 = load ptr, ptr %9, align 8, !tbaa !5
  %2307 = getelementptr inbounds %struct.ImGuiWindow, ptr %2306, i32 0, i32 8
  %2308 = getelementptr inbounds %struct.ImVec2, ptr %2307, i32 0, i32 1
  %2309 = load float, ptr %2308, align 4, !tbaa !218
  br label %2328

2310:                                             ; preds = %2288
  %2311 = load ptr, ptr %9, align 8, !tbaa !5
  %2312 = getelementptr inbounds %struct.ImGuiWindow, ptr %2311, i32 0, i32 4
  %2313 = getelementptr inbounds %struct.ImVec2, ptr %2312, i32 0, i32 1
  %2314 = load float, ptr %2313, align 4, !tbaa !145
  %2315 = load ptr, ptr %9, align 8, !tbaa !5
  %2316 = getelementptr inbounds %struct.ImGuiWindow, ptr %2315, i32 0, i32 9
  %2317 = getelementptr inbounds %struct.ImVec2, ptr %2316, i32 0, i32 1
  %2318 = load float, ptr %2317, align 4, !tbaa !197
  %2319 = fneg float %2318
  %2320 = call float @llvm.fmuladd.f32(float %2319, float 2.000000e+00, float %2314)
  %2321 = load float, ptr %38, align 4, !tbaa !113
  %2322 = fsub float %2320, %2321
  %2323 = load ptr, ptr %9, align 8, !tbaa !5
  %2324 = getelementptr inbounds %struct.ImGuiWindow, ptr %2323, i32 0, i32 20
  %2325 = getelementptr inbounds %struct.ImVec2, ptr %2324, i32 0, i32 1
  %2326 = load float, ptr %2325, align 4, !tbaa !186
  %2327 = fsub float %2322, %2326
  br label %2328

2328:                                             ; preds = %2310, %2305
  %2329 = phi float [ %2309, %2305 ], [ %2327, %2310 ]
  %2330 = fadd float %2299, %2329
  %2331 = load ptr, ptr %9, align 8, !tbaa !5
  %2332 = getelementptr inbounds %struct.ImGuiWindow, ptr %2331, i32 0, i32 61
  %2333 = getelementptr inbounds %struct.ImRect, ptr %2332, i32 0, i32 1
  %2334 = getelementptr inbounds %struct.ImVec2, ptr %2333, i32 0, i32 1
  store float %2330, ptr %2334, align 4, !tbaa !228
  %2335 = load ptr, ptr %9, align 8, !tbaa !5
  %2336 = getelementptr inbounds %struct.ImGuiWindow, ptr %2335, i32 0, i32 9
  %2337 = getelementptr inbounds %struct.ImVec2, ptr %2336, i32 0, i32 0
  %2338 = load float, ptr %2337, align 8, !tbaa !151
  %2339 = fadd float 0.000000e+00, %2338
  %2340 = load ptr, ptr %9, align 8, !tbaa !5
  %2341 = getelementptr inbounds %struct.ImGuiWindow, ptr %2340, i32 0, i32 15
  %2342 = getelementptr inbounds %struct.ImVec2, ptr %2341, i32 0, i32 0
  %2343 = load float, ptr %2342, align 4, !tbaa !219
  %2344 = fsub float %2339, %2343
  %2345 = load ptr, ptr %9, align 8, !tbaa !5
  %2346 = getelementptr inbounds %struct.ImGuiWindow, ptr %2345, i32 0, i32 54
  %2347 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %2346, i32 0, i32 9
  %2348 = getelementptr inbounds %struct.ImVec1, ptr %2347, i32 0, i32 0
  store float %2344, ptr %2348, align 8, !tbaa !229
  %2349 = load ptr, ptr %9, align 8, !tbaa !5
  %2350 = getelementptr inbounds %struct.ImGuiWindow, ptr %2349, i32 0, i32 54
  %2351 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %2350, i32 0, i32 11
  %2352 = getelementptr inbounds %struct.ImVec1, ptr %2351, i32 0, i32 0
  store float 0.000000e+00, ptr %2352, align 8, !tbaa !230
  %2353 = load ptr, ptr %9, align 8, !tbaa !5
  %2354 = getelementptr inbounds %struct.ImGuiWindow, ptr %2353, i32 0, i32 54
  %2355 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %2354, i32 0, i32 10
  %2356 = getelementptr inbounds %struct.ImVec1, ptr %2355, i32 0, i32 0
  store float 0.000000e+00, ptr %2356, align 4, !tbaa !231
  call void @llvm.lifetime.start.p0(i64 8, ptr %90) #13
  %2357 = load ptr, ptr %9, align 8, !tbaa !5
  %2358 = getelementptr inbounds %struct.ImGuiWindow, ptr %2357, i32 0, i32 3
  call void @llvm.lifetime.start.p0(i64 8, ptr %91) #13
  %2359 = load ptr, ptr %9, align 8, !tbaa !5
  %2360 = getelementptr inbounds %struct.ImGuiWindow, ptr %2359, i32 0, i32 54
  %2361 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %2360, i32 0, i32 9
  %2362 = getelementptr inbounds %struct.ImVec1, ptr %2361, i32 0, i32 0
  %2363 = load float, ptr %2362, align 8, !tbaa !229
  %2364 = load ptr, ptr %9, align 8, !tbaa !5
  %2365 = getelementptr inbounds %struct.ImGuiWindow, ptr %2364, i32 0, i32 54
  %2366 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %2365, i32 0, i32 10
  %2367 = getelementptr inbounds %struct.ImVec1, ptr %2366, i32 0, i32 0
  %2368 = load float, ptr %2367, align 4, !tbaa !231
  %2369 = fadd float %2363, %2368
  %2370 = load float, ptr %38, align 4, !tbaa !113
  %2371 = load ptr, ptr %9, align 8, !tbaa !5
  %2372 = getelementptr inbounds %struct.ImGuiWindow, ptr %2371, i32 0, i32 9
  %2373 = getelementptr inbounds %struct.ImVec2, ptr %2372, i32 0, i32 1
  %2374 = load float, ptr %2373, align 4, !tbaa !197
  %2375 = fadd float %2370, %2374
  %2376 = load ptr, ptr %9, align 8, !tbaa !5
  %2377 = getelementptr inbounds %struct.ImGuiWindow, ptr %2376, i32 0, i32 15
  %2378 = getelementptr inbounds %struct.ImVec2, ptr %2377, i32 0, i32 1
  %2379 = load float, ptr %2378, align 4, !tbaa !221
  %2380 = fsub float %2375, %2379
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %91, float noundef %2369, float noundef %2380)
  %2381 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %2358, ptr noundef nonnull align 4 dereferenceable(8) %91)
  store <2 x float> %2381, ptr %90, align 4
  %2382 = load ptr, ptr %9, align 8, !tbaa !5
  %2383 = getelementptr inbounds %struct.ImGuiWindow, ptr %2382, i32 0, i32 54
  %2384 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %2383, i32 0, i32 2
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %2384, ptr align 4 %90, i64 8, i1 false), !tbaa.struct !116
  call void @llvm.lifetime.end.p0(i64 8, ptr %91) #13
  call void @llvm.lifetime.end.p0(i64 8, ptr %90) #13
  %2385 = load ptr, ptr %9, align 8, !tbaa !5
  %2386 = getelementptr inbounds %struct.ImGuiWindow, ptr %2385, i32 0, i32 54
  %2387 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %2386, i32 0, i32 2
  %2388 = load ptr, ptr %9, align 8, !tbaa !5
  %2389 = getelementptr inbounds %struct.ImGuiWindow, ptr %2388, i32 0, i32 54
  %2390 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %2389, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %2390, ptr align 8 %2387, i64 8, i1 false), !tbaa.struct !116
  %2391 = load ptr, ptr %9, align 8, !tbaa !5
  %2392 = getelementptr inbounds %struct.ImGuiWindow, ptr %2391, i32 0, i32 54
  %2393 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %2392, i32 0, i32 0
  %2394 = load ptr, ptr %9, align 8, !tbaa !5
  %2395 = getelementptr inbounds %struct.ImGuiWindow, ptr %2394, i32 0, i32 54
  %2396 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %2395, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %2396, ptr align 8 %2393, i64 8, i1 false), !tbaa.struct !116
  %2397 = load ptr, ptr %9, align 8, !tbaa !5
  %2398 = getelementptr inbounds %struct.ImGuiWindow, ptr %2397, i32 0, i32 54
  %2399 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %2398, i32 0, i32 2
  %2400 = load ptr, ptr %9, align 8, !tbaa !5
  %2401 = getelementptr inbounds %struct.ImGuiWindow, ptr %2400, i32 0, i32 54
  %2402 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %2401, i32 0, i32 3
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %2402, ptr align 8 %2399, i64 8, i1 false), !tbaa.struct !116
  %2403 = load ptr, ptr %9, align 8, !tbaa !5
  %2404 = getelementptr inbounds %struct.ImGuiWindow, ptr %2403, i32 0, i32 54
  %2405 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %2404, i32 0, i32 2
  %2406 = load ptr, ptr %9, align 8, !tbaa !5
  %2407 = getelementptr inbounds %struct.ImGuiWindow, ptr %2406, i32 0, i32 54
  %2408 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %2407, i32 0, i32 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %2408, ptr align 8 %2405, i64 8, i1 false), !tbaa.struct !116
  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)
  %2409 = load ptr, ptr %9, align 8, !tbaa !5
  %2410 = getelementptr inbounds %struct.ImGuiWindow, ptr %2409, i32 0, i32 54
  %2411 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %2410, i32 0, i32 6
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %2411, ptr align 4 %92, i64 8, i1 false), !tbaa.struct !116
  %2412 = load ptr, ptr %9, align 8, !tbaa !5
  %2413 = getelementptr inbounds %struct.ImGuiWindow, ptr %2412, i32 0, i32 54
  %2414 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %2413, i32 0, i32 5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %2414, ptr align 4 %2411, i64 8, i1 false), !tbaa.struct !116
  call void @llvm.lifetime.end.p0(i64 8, ptr %92) #13
  %2415 = load ptr, ptr %9, align 8, !tbaa !5
  %2416 = getelementptr inbounds %struct.ImGuiWindow, ptr %2415, i32 0, i32 54
  %2417 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %2416, i32 0, i32 8
  store float 0.000000e+00, ptr %2417, align 4, !tbaa !232
  %2418 = load ptr, ptr %9, align 8, !tbaa !5
  %2419 = getelementptr inbounds %struct.ImGuiWindow, ptr %2418, i32 0, i32 54
  %2420 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %2419, i32 0, i32 7
  store float 0.000000e+00, ptr %2420, align 8, !tbaa !233
  %2421 = load ptr, ptr %9, align 8, !tbaa !5
  %2422 = getelementptr inbounds %struct.ImGuiWindow, ptr %2421, i32 0, i32 54
  %2423 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %2422, i32 0, i32 12
  store i32 0, ptr %2423, align 4, !tbaa !234
  %2424 = load ptr, ptr %9, align 8, !tbaa !5
  %2425 = getelementptr inbounds %struct.ImGuiWindow, ptr %2424, i32 0, i32 54
  %2426 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %2425, i32 0, i32 14
  %2427 = load i16, ptr %2426, align 2, !tbaa !235
  %2428 = load ptr, ptr %9, align 8, !tbaa !5
  %2429 = getelementptr inbounds %struct.ImGuiWindow, ptr %2428, i32 0, i32 54
  %2430 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %2429, i32 0, i32 13
  store i16 %2427, ptr %2430, align 8, !tbaa !236
  %2431 = load ptr, ptr %9, align 8, !tbaa !5
  %2432 = getelementptr inbounds %struct.ImGuiWindow, ptr %2431, i32 0, i32 54
  %2433 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %2432, i32 0, i32 14
  store i16 0, ptr %2433, align 2, !tbaa !235
  %2434 = load ptr, ptr %9, align 8, !tbaa !5
  %2435 = getelementptr inbounds %struct.ImGuiWindow, ptr %2434, i32 0, i32 54
  %2436 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %2435, i32 0, i32 16
  store i8 0, ptr %2436, align 8, !tbaa !237
  %2437 = load ptr, ptr %9, align 8, !tbaa !5
  %2438 = getelementptr inbounds %struct.ImGuiWindow, ptr %2437, i32 0, i32 16
  %2439 = getelementptr inbounds %struct.ImVec2, ptr %2438, i32 0, i32 1
  %2440 = load float, ptr %2439, align 4, !tbaa !198
  %2441 = fcmp ogt float %2440, 0.000000e+00
  %2442 = load ptr, ptr %9, align 8, !tbaa !5
  %2443 = getelementptr inbounds %struct.ImGuiWindow, ptr %2442, i32 0, i32 54
  %2444 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %2443, i32 0, i32 17
  %2445 = zext i1 %2441 to i8
  store i8 %2445, ptr %2444, align 1, !tbaa !238
  %2446 = load ptr, ptr %9, align 8, !tbaa !5
  %2447 = getelementptr inbounds %struct.ImGuiWindow, ptr %2446, i32 0, i32 54
  %2448 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %2447, i32 0, i32 18
  store i8 0, ptr %2448, align 2, !tbaa !239
  %2449 = load ptr, ptr %9, align 8, !tbaa !5
  %2450 = getelementptr inbounds %struct.ImGuiWindow, ptr %2449, i32 0, i32 54
  %2451 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %2450, i32 0, i32 20
  %2452 = load ptr, ptr %8, align 8, !tbaa !5
  %2453 = getelementptr inbounds %struct.ImGuiStyle, ptr %2452, i32 0, i32 15
  %2454 = getelementptr inbounds %struct.ImVec2, ptr %2453, i32 0, i32 0
  %2455 = load float, ptr %2454, align 4, !tbaa !152
  %2456 = load i8, ptr %13, align 1, !tbaa !75, !range !71, !noundef !72
  %2457 = trunc i8 %2456 to i1
  call void @_ZN16ImGuiMenuColumns6UpdateEfb(ptr noundef nonnull align 4 dereferenceable(26) %2451, float noundef %2455, i1 noundef zeroext %2457)
  %2458 = load ptr, ptr %9, align 8, !tbaa !5
  %2459 = getelementptr inbounds %struct.ImGuiWindow, ptr %2458, i32 0, i32 54
  %2460 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %2459, i32 0, i32 21
  store i32 0, ptr %2460, align 8, !tbaa !240
  %2461 = load ptr, ptr %9, align 8, !tbaa !5
  %2462 = getelementptr inbounds %struct.ImGuiWindow, ptr %2461, i32 0, i32 54
  %2463 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %2462, i32 0, i32 22
  store i32 0, ptr %2463, align 4, !tbaa !241
  %2464 = load ptr, ptr %9, align 8, !tbaa !5
  %2465 = getelementptr inbounds %struct.ImGuiWindow, ptr %2464, i32 0, i32 54
  %2466 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %2465, i32 0, i32 23
  call void @_ZN8ImVectorIP11ImGuiWindowE6resizeEi(ptr noundef nonnull align 8 dereferenceable(16) %2466, i32 noundef 0)
  %2467 = load ptr, ptr %9, align 8, !tbaa !5
  %2468 = getelementptr inbounds %struct.ImGuiWindow, ptr %2467, i32 0, i32 68
  %2469 = load ptr, ptr %9, align 8, !tbaa !5
  %2470 = getelementptr inbounds %struct.ImGuiWindow, ptr %2469, i32 0, i32 54
  %2471 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %2470, i32 0, i32 24
  store ptr %2468, ptr %2471, align 8, !tbaa !242
  %2472 = load ptr, ptr %9, align 8, !tbaa !5
  %2473 = getelementptr inbounds %struct.ImGuiWindow, ptr %2472, i32 0, i32 54
  %2474 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %2473, i32 0, i32 25
  store ptr null, ptr %2474, align 8, !tbaa !243
  %2475 = load ptr, ptr %9, align 8, !tbaa !5
  %2476 = getelementptr inbounds %struct.ImGuiWindow, ptr %2475, i32 0, i32 54
  %2477 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %2476, i32 0, i32 27
  store i32 1, ptr %2477, align 4, !tbaa !244
  %2478 = load ptr, ptr %16, align 8, !tbaa !5
  %2479 = icmp ne ptr %2478, null
  br i1 %2479, label %2480, label %2485

2480:                                             ; preds = %2328
  %2481 = load ptr, ptr %16, align 8, !tbaa !5
  %2482 = getelementptr inbounds %struct.ImGuiWindow, ptr %2481, i32 0, i32 54
  %2483 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %2482, i32 0, i32 27
  %2484 = load i32, ptr %2483, align 4, !tbaa !244
  br label %2486

2485:                                             ; preds = %2328
  br label %2486

2486:                                             ; preds = %2485, %2480
  %2487 = phi i32 [ %2484, %2480 ], [ 1, %2485 ]
  %2488 = load ptr, ptr %9, align 8, !tbaa !5
  %2489 = getelementptr inbounds %struct.ImGuiWindow, ptr %2488, i32 0, i32 54
  %2490 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %2489, i32 0, i32 28
  store i32 %2487, ptr %2490, align 8, !tbaa !245
  %2491 = load ptr, ptr %9, align 8, !tbaa !5
  %2492 = getelementptr inbounds %struct.ImGuiWindow, ptr %2491, i32 0, i32 54
  %2493 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %2492, i32 0, i32 29
  store i32 -1, ptr %2493, align 4, !tbaa !246
  %2494 = load ptr, ptr %9, align 8, !tbaa !5
  %2495 = getelementptr inbounds %struct.ImGuiWindow, ptr %2494, i32 0, i32 66
  %2496 = load float, ptr %2495, align 8, !tbaa !193
  %2497 = load ptr, ptr %9, align 8, !tbaa !5
  %2498 = getelementptr inbounds %struct.ImGuiWindow, ptr %2497, i32 0, i32 54
  %2499 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %2498, i32 0, i32 30
  store float %2496, ptr %2499, align 8, !tbaa !247
  %2500 = load ptr, ptr %9, align 8, !tbaa !5
  %2501 = getelementptr inbounds %struct.ImGuiWindow, ptr %2500, i32 0, i32 54
  %2502 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %2501, i32 0, i32 31
  store float -1.000000e+00, ptr %2502, align 4, !tbaa !248
  %2503 = load ptr, ptr %9, align 8, !tbaa !5
  %2504 = getelementptr inbounds %struct.ImGuiWindow, ptr %2503, i32 0, i32 54
  %2505 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %2504, i32 0, i32 32
  call void @_ZN8ImVectorIfE6resizeEi(ptr noundef nonnull align 8 dereferenceable(16) %2505, i32 noundef 0)
  %2506 = load ptr, ptr %9, align 8, !tbaa !5
  %2507 = getelementptr inbounds %struct.ImGuiWindow, ptr %2506, i32 0, i32 54
  %2508 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %2507, i32 0, i32 33
  call void @_ZN8ImVectorIfE6resizeEi(ptr noundef nonnull align 8 dereferenceable(16) %2508, i32 noundef 0)
  %2509 = load ptr, ptr %9, align 8, !tbaa !5
  %2510 = getelementptr inbounds %struct.ImGuiWindow, ptr %2509, i32 0, i32 41
  %2511 = load i8, ptr %2510, align 8, !tbaa !164
  %2512 = sext i8 %2511 to i32
  %2513 = icmp sgt i32 %2512, 0
  br i1 %2513, label %2514, label %2519

2514:                                             ; preds = %2486
  %2515 = load ptr, ptr %9, align 8, !tbaa !5
  %2516 = getelementptr inbounds %struct.ImGuiWindow, ptr %2515, i32 0, i32 41
  %2517 = load i8, ptr %2516, align 8, !tbaa !164
  %2518 = add i8 %2517, -1
  store i8 %2518, ptr %2516, align 8, !tbaa !164
  br label %2519

2519:                                             ; preds = %2514, %2486
  %2520 = load ptr, ptr %9, align 8, !tbaa !5
  %2521 = getelementptr inbounds %struct.ImGuiWindow, ptr %2520, i32 0, i32 42
  %2522 = load i8, ptr %2521, align 1, !tbaa !165
  %2523 = sext i8 %2522 to i32
  %2524 = icmp sgt i32 %2523, 0
  br i1 %2524, label %2525, label %2530

2525:                                             ; preds = %2519
  %2526 = load ptr, ptr %9, align 8, !tbaa !5
  %2527 = getelementptr inbounds %struct.ImGuiWindow, ptr %2526, i32 0, i32 42
  %2528 = load i8, ptr %2527, align 1, !tbaa !165
  %2529 = add i8 %2528, -1
  store i8 %2529, ptr %2527, align 1, !tbaa !165
  br label %2530

2530:                                             ; preds = %2525, %2519
  %2531 = load i8, ptr %53, align 1, !tbaa !75, !range !71, !noundef !72
  %2532 = trunc i8 %2531 to i1
  br i1 %2532, label %2533, label %2536

2533:                                             ; preds = %2530
  %2534 = load ptr, ptr %9, align 8, !tbaa !5
  call void @_ZN5ImGui11FocusWindowEP11ImGuiWindow(ptr noundef %2534)
  %2535 = load ptr, ptr %9, align 8, !tbaa !5
  call void @_ZN5ImGui13NavInitWindowEP11ImGuiWindowb(ptr noundef %2535, i1 noundef zeroext false)
  br label %2536

2536:                                             ; preds = %2533, %2530
  %2537 = load i32, ptr %6, align 4, !tbaa !9
  %2538 = and i32 %2537, 1
  %2539 = icmp ne i32 %2538, 0
  br i1 %2539, label %2564, label %2540

2540:                                             ; preds = %2536
  %2541 = load ptr, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %93) #13
  %2542 = getelementptr inbounds %struct.ImRect, ptr %68, i32 0, i32 0
  %2543 = getelementptr inbounds %struct.ImVec2, ptr %2542, i32 0, i32 0
  %2544 = load float, ptr %2543, align 4, !tbaa !249
  %2545 = load ptr, ptr %9, align 8, !tbaa !5
  %2546 = getelementptr inbounds %struct.ImGuiWindow, ptr %2545, i32 0, i32 11
  %2547 = load float, ptr %2546, align 4, !tbaa !147
  %2548 = fadd float %2544, %2547
  %2549 = getelementptr inbounds %struct.ImRect, ptr %68, i32 0, i32 0
  %2550 = getelementptr inbounds %struct.ImVec2, ptr %2549, i32 0, i32 1
  %2551 = load float, ptr %2550, align 4, !tbaa !250
  %2552 = getelementptr inbounds %struct.ImRect, ptr %68, i32 0, i32 1
  %2553 = getelementptr inbounds %struct.ImVec2, ptr %2552, i32 0, i32 0
  %2554 = load float, ptr %2553, align 4, !tbaa !251
  %2555 = load ptr, ptr %9, align 8, !tbaa !5
  %2556 = getelementptr inbounds %struct.ImGuiWindow, ptr %2555, i32 0, i32 11
  %2557 = load float, ptr %2556, align 4, !tbaa !147
  %2558 = fsub float %2554, %2557
  %2559 = getelementptr inbounds %struct.ImRect, ptr %68, i32 0, i32 1
  %2560 = getelementptr inbounds %struct.ImVec2, ptr %2559, i32 0, i32 1
  %2561 = load float, ptr %2560, align 4, !tbaa !252
  call void @_ZN6ImRectC2Effff(ptr noundef nonnull align 4 dereferenceable(16) %93, float noundef %2548, float noundef %2551, float noundef %2558, float noundef %2561)
  %2562 = load ptr, ptr %4, align 8, !tbaa !5
  %2563 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZN5ImGuiL28RenderWindowTitleBarContentsEP11ImGuiWindowRK6ImRectPKcPb(ptr noundef %2541, ptr noundef nonnull align 4 dereferenceable(16) %93, ptr noundef %2562, ptr noundef %2563)
  call void @llvm.lifetime.end.p0(i64 16, ptr %93) #13
  br label %2564

2564:                                             ; preds = %2540, %2536
  %2565 = load ptr, ptr %9, align 8, !tbaa !5
  %2566 = getelementptr inbounds %struct.ImGuiWindow, ptr %2565, i32 0, i32 62
  %2567 = getelementptr inbounds %struct.ImVec2ih, ptr %2566, i32 0, i32 1
  store i16 0, ptr %2567, align 2, !tbaa !253
  %2568 = load ptr, ptr %9, align 8, !tbaa !5
  %2569 = getelementptr inbounds %struct.ImGuiWindow, ptr %2568, i32 0, i32 62
  %2570 = getelementptr inbounds %struct.ImVec2ih, ptr %2569, i32 0, i32 0
  store i16 0, ptr %2570, align 8, !tbaa !254
  %2571 = load ptr, ptr %9, align 8, !tbaa !5
  %2572 = getelementptr inbounds %struct.ImGuiWindow, ptr %2571, i32 0, i32 13
  %2573 = load i32, ptr %2572, align 4, !tbaa !255
  %2574 = load ptr, ptr %7, align 8, !tbaa !5
  %2575 = getelementptr inbounds %struct.ImGuiContext, ptr %2574, i32 0, i32 71
  %2576 = getelementptr inbounds %struct.ImGuiLastItemData, ptr %2575, i32 0, i32 0
  store i32 %2573, ptr %2576, align 8, !tbaa !256
  %2577 = load ptr, ptr %7, align 8, !tbaa !5
  %2578 = getelementptr inbounds %struct.ImGuiContext, ptr %2577, i32 0, i32 69
  %2579 = load i32, ptr %2578, align 8, !tbaa !257
  %2580 = load ptr, ptr %7, align 8, !tbaa !5
  %2581 = getelementptr inbounds %struct.ImGuiContext, ptr %2580, i32 0, i32 71
  %2582 = getelementptr inbounds %struct.ImGuiLastItemData, ptr %2581, i32 0, i32 1
  store i32 %2579, ptr %2582, align 4, !tbaa !258
  %2583 = getelementptr inbounds %struct.ImRect, ptr %68, i32 0, i32 0
  %2584 = getelementptr inbounds %struct.ImRect, ptr %68, i32 0, i32 1
  %2585 = call noundef zeroext i1 @_ZN5ImGui19IsMouseHoveringRectERK6ImVec2S2_b(ptr noundef nonnull align 4 dereferenceable(8) %2583, ptr noundef nonnull align 4 dereferenceable(8) %2584, i1 noundef zeroext false)
  %2586 = zext i1 %2585 to i64
  %2587 = select i1 %2585, i32 1, i32 0
  %2588 = load ptr, ptr %7, align 8, !tbaa !5
  %2589 = getelementptr inbounds %struct.ImGuiContext, ptr %2588, i32 0, i32 71
  %2590 = getelementptr inbounds %struct.ImGuiLastItemData, ptr %2589, i32 0, i32 2
  store i32 %2587, ptr %2590, align 8, !tbaa !259
  %2591 = load ptr, ptr %7, align 8, !tbaa !5
  %2592 = getelementptr inbounds %struct.ImGuiContext, ptr %2591, i32 0, i32 71
  %2593 = getelementptr inbounds %struct.ImGuiLastItemData, ptr %2592, i32 0, i32 3
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %2593, ptr align 4 %68, i64 16, i1 false), !tbaa.struct !130
  call void @llvm.lifetime.end.p0(i64 4, ptr %89) #13
  call void @llvm.lifetime.end.p0(i64 4, ptr %88) #13
  call void @llvm.lifetime.end.p0(i64 1, ptr %87) #13
  call void @llvm.lifetime.end.p0(i64 1, ptr %86) #13
  call void @llvm.lifetime.end.p0(i64 1, ptr %73) #13
  call void @llvm.lifetime.end.p0(i64 1, ptr %72) #13
  call void @llvm.lifetime.end.p0(i64 4, ptr %69) #13
  call void @llvm.lifetime.end.p0(i64 16, ptr %68) #13
  call void @llvm.lifetime.end.p0(i64 16, ptr %67) #13
  call void @llvm.lifetime.end.p0(i64 16, ptr %66) #13
  call void @llvm.lifetime.end.p0(i64 4, ptr %57) #13
  call void @llvm.lifetime.end.p0(i64 4, ptr %56) #13
  call void @llvm.lifetime.end.p0(i64 16, ptr %55) #13
  call void @llvm.lifetime.end.p0(i64 4, ptr %54) #13
  call void @llvm.lifetime.end.p0(i64 1, ptr %53) #13
  call void @llvm.lifetime.end.p0(i64 16, ptr %49) #13
  call void @llvm.lifetime.end.p0(i64 8, ptr %48) #13
  call void @llvm.lifetime.end.p0(i64 16, ptr %47) #13
  call void @llvm.lifetime.end.p0(i64 16, ptr %46) #13
  call void @llvm.lifetime.end.p0(i64 8, ptr %45) #13
  call void @llvm.lifetime.end.p0(i64 1, ptr %39) #13
  call void @llvm.lifetime.end.p0(i64 4, ptr %38) #13
  call void @llvm.lifetime.end.p0(i64 1, ptr %34) #13
  call void @llvm.lifetime.end.p0(i64 1, ptr %33) #13
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #13
  call void @llvm.lifetime.end.p0(i64 1, ptr %28) #13
  call void @llvm.lifetime.end.p0(i64 1, ptr %26) #13
  call void @llvm.lifetime.end.p0(i64 1, ptr %23) #13
  br label %2596

2594:                                             ; preds = %586
  %2595 = load ptr, ptr %9, align 8, !tbaa !5
  call void @_ZL16SetCurrentWindowP11ImGuiWindow(ptr noundef %2595)
  br label %2596

2596:                                             ; preds = %2594, %2564
  %2597 = load i32, ptr %6, align 4, !tbaa !9
  %2598 = and i32 %2597, 16777216
  %2599 = icmp ne i32 %2598, 0
  br i1 %2599, label %2600, label %2605

2600:                                             ; preds = %2596
  %2601 = load ptr, ptr %16, align 8, !tbaa !5
  %2602 = getelementptr inbounds %struct.ImGuiWindow, ptr %2601, i32 0, i32 54
  %2603 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %2602, i32 0, i32 15
  %2604 = load i32, ptr %2603, align 4, !tbaa !260
  br label %2608

2605:                                             ; preds = %2596
  %2606 = load ptr, ptr %9, align 8, !tbaa !5
  %2607 = call noundef i32 @_ZN11ImGuiWindow5GetIDEPKcS1_(ptr noundef nonnull align 8 dereferenceable(921) %2606, ptr noundef @.str.116, ptr noundef null)
  br label %2608

2608:                                             ; preds = %2605, %2600
  %2609 = phi i32 [ %2604, %2600 ], [ %2607, %2605 ]
  %2610 = load ptr, ptr %9, align 8, !tbaa !5
  %2611 = getelementptr inbounds %struct.ImGuiWindow, ptr %2610, i32 0, i32 54
  %2612 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %2611, i32 0, i32 15
  store i32 %2609, ptr %2612, align 4, !tbaa !260
  %2613 = load ptr, ptr %9, align 8, !tbaa !5
  %2614 = getelementptr inbounds %struct.ImGuiWindow, ptr %2613, i32 0, i32 57
  %2615 = getelementptr inbounds %struct.ImRect, ptr %2614, i32 0, i32 0
  %2616 = load ptr, ptr %9, align 8, !tbaa !5
  %2617 = getelementptr inbounds %struct.ImGuiWindow, ptr %2616, i32 0, i32 57
  %2618 = getelementptr inbounds %struct.ImRect, ptr %2617, i32 0, i32 1
  call void @_ZN5ImGui12PushClipRectERK6ImVec2S2_b(ptr noundef nonnull align 4 dereferenceable(8) %2615, ptr noundef nonnull align 4 dereferenceable(8) %2618, i1 noundef zeroext true)
  %2619 = load ptr, ptr %9, align 8, !tbaa !5
  %2620 = getelementptr inbounds %struct.ImGuiWindow, ptr %2619, i32 0, i32 25
  store i8 0, ptr %2620, align 8, !tbaa !261
  %2621 = load ptr, ptr %9, align 8, !tbaa !5
  %2622 = getelementptr inbounds %struct.ImGuiWindow, ptr %2621, i32 0, i32 35
  %2623 = load i16, ptr %2622, align 2, !tbaa !262
  %2624 = add i16 %2623, 1
  store i16 %2624, ptr %2622, align 2, !tbaa !262
  %2625 = load ptr, ptr %7, align 8, !tbaa !5
  %2626 = getelementptr inbounds %struct.ImGuiContext, ptr %2625, i32 0, i32 73
  call void @_ZN19ImGuiNextWindowData10ClearFlagsEv(ptr noundef nonnull align 8 dereferenceable(108) %2626)
  %2627 = load i8, ptr %12, align 1, !tbaa !75, !range !71, !noundef !72
  %2628 = trunc i8 %2627 to i1
  br i1 %2628, label %2629, label %2811

2629:                                             ; preds = %2608
  %2630 = load i32, ptr %6, align 4, !tbaa !9
  %2631 = and i32 %2630, 16777216
  %2632 = icmp ne i32 %2631, 0
  br i1 %2632, label %2633, label %2725

2633:                                             ; preds = %2629
  %2634 = load i32, ptr %6, align 4, !tbaa !9
  %2635 = and i32 %2634, 1
  %2636 = icmp ne i32 %2635, 0
  br i1 %2636, label %2637, label %2638

2637:                                             ; preds = %2633
  br label %2640

2638:                                             ; preds = %2633
  call void @__assert_fail(ptr noundef @.str.117, ptr noundef @.str.3, i32 noundef 6384, ptr noundef @__PRETTY_FUNCTION__._ZN5ImGui5BeginEPKcPbi) #14
  unreachable

2639:                                             ; No predecessors!
  br label %2640

2640:                                             ; preds = %2639, %2637
  %2641 = load i32, ptr %6, align 4, !tbaa !9
  %2642 = and i32 %2641, 64
  %2643 = icmp ne i32 %2642, 0
  br i1 %2643, label %2690, label %2644

2644:                                             ; preds = %2640
  %2645 = load ptr, ptr %9, align 8, !tbaa !5
  %2646 = getelementptr inbounds %struct.ImGuiWindow, ptr %2645, i32 0, i32 41
  %2647 = load i8, ptr %2646, align 8, !tbaa !164
  %2648 = sext i8 %2647 to i32
  %2649 = icmp sle i32 %2648, 0
  br i1 %2649, label %2650, label %2690

2650:                                             ; preds = %2644
  %2651 = load ptr, ptr %9, align 8, !tbaa !5
  %2652 = getelementptr inbounds %struct.ImGuiWindow, ptr %2651, i32 0, i32 42
  %2653 = load i8, ptr %2652, align 1, !tbaa !165
  %2654 = sext i8 %2653 to i32
  %2655 = icmp sle i32 %2654, 0
  br i1 %2655, label %2656, label %2690

2656:                                             ; preds = %2650
  %2657 = load ptr, ptr %7, align 8, !tbaa !5
  %2658 = getelementptr inbounds %struct.ImGuiContext, ptr %2657, i32 0, i32 208
  %2659 = load i8, ptr %2658, align 4, !tbaa !263, !range !71, !noundef !72
  %2660 = trunc i8 %2659 to i1
  br i1 %2660, label %2689, label %2661

2661:                                             ; preds = %2656
  %2662 = load ptr, ptr %9, align 8, !tbaa !5
  %2663 = getelementptr inbounds %struct.ImGuiWindow, ptr %2662, i32 0, i32 55
  %2664 = getelementptr inbounds %struct.ImRect, ptr %2663, i32 0, i32 0
  %2665 = getelementptr inbounds %struct.ImVec2, ptr %2664, i32 0, i32 0
  %2666 = load float, ptr %2665, align 8, !tbaa !264
  %2667 = load ptr, ptr %9, align 8, !tbaa !5
  %2668 = getelementptr inbounds %struct.ImGuiWindow, ptr %2667, i32 0, i32 55
  %2669 = getelementptr inbounds %struct.ImRect, ptr %2668, i32 0, i32 1
  %2670 = getelementptr inbounds %struct.ImVec2, ptr %2669, i32 0, i32 0
  %2671 = load float, ptr %2670, align 8, !tbaa !265
  %2672 = fcmp oge float %2666, %2671
  br i1 %2672, label %2685, label %2673

2673:                                             ; preds = %2661
  %2674 = load ptr, ptr %9, align 8, !tbaa !5
  %2675 = getelementptr inbounds %struct.ImGuiWindow, ptr %2674, i32 0, i32 55
  %2676 = getelementptr inbounds %struct.ImRect, ptr %2675, i32 0, i32 0
  %2677 = getelementptr inbounds %struct.ImVec2, ptr %2676, i32 0, i32 1
  %2678 = load float, ptr %2677, align 4, !tbaa !266
  %2679 = load ptr, ptr %9, align 8, !tbaa !5
  %2680 = getelementptr inbounds %struct.ImGuiWindow, ptr %2679, i32 0, i32 55
  %2681 = getelementptr inbounds %struct.ImRect, ptr %2680, i32 0, i32 1
  %2682 = getelementptr inbounds %struct.ImVec2, ptr %2681, i32 0, i32 1
  %2683 = load float, ptr %2682, align 4, !tbaa !267
  %2684 = fcmp oge float %2678, %2683
  br i1 %2684, label %2685, label %2688

2685:                                             ; preds = %2673, %2661
  %2686 = load ptr, ptr %9, align 8, !tbaa !5
  %2687 = getelementptr inbounds %struct.ImGuiWindow, ptr %2686, i32 0, i32 46
  store i8 1, ptr %2687, align 8, !tbaa !140
  br label %2688

2688:                                             ; preds = %2685, %2673
  br label %2689

2689:                                             ; preds = %2688, %2656
  br label %2690

2690:                                             ; preds = %2689, %2650, %2644, %2640
  %2691 = load ptr, ptr %16, align 8, !tbaa !5
  %2692 = icmp ne ptr %2691, null
  br i1 %2692, label %2693, label %2707

2693:                                             ; preds = %2690
  %2694 = load ptr, ptr %16, align 8, !tbaa !5
  %2695 = getelementptr inbounds %struct.ImGuiWindow, ptr %2694, i32 0, i32 26
  %2696 = load i8, ptr %2695, align 1, !tbaa !161, !range !71, !noundef !72
  %2697 = trunc i8 %2696 to i1
  br i1 %2697, label %2704, label %2698

2698:                                             ; preds = %2693
  %2699 = load ptr, ptr %16, align 8, !tbaa !5
  %2700 = getelementptr inbounds %struct.ImGuiWindow, ptr %2699, i32 0, i32 46
  %2701 = load i8, ptr %2700, align 8, !tbaa !140
  %2702 = sext i8 %2701 to i32
  %2703 = icmp sgt i32 %2702, 0
  br i1 %2703, label %2704, label %2707

2704:                                             ; preds = %2698, %2693
  %2705 = load ptr, ptr %9, align 8, !tbaa !5
  %2706 = getelementptr inbounds %struct.ImGuiWindow, ptr %2705, i32 0, i32 46
  store i8 1, ptr %2706, align 8, !tbaa !140
  br label %2707

2707:                                             ; preds = %2704, %2698, %2690
  %2708 = load ptr, ptr %16, align 8, !tbaa !5
  %2709 = icmp ne ptr %2708, null
  br i1 %2709, label %2710, label %2724

2710:                                             ; preds = %2707
  %2711 = load ptr, ptr %16, align 8, !tbaa !5
  %2712 = getelementptr inbounds %struct.ImGuiWindow, ptr %2711, i32 0, i32 26
  %2713 = load i8, ptr %2712, align 1, !tbaa !161, !range !71, !noundef !72
  %2714 = trunc i8 %2713 to i1
  br i1 %2714, label %2721, label %2715

2715:                                             ; preds = %2710
  %2716 = load ptr, ptr %16, align 8, !tbaa !5
  %2717 = getelementptr inbounds %struct.ImGuiWindow, ptr %2716, i32 0, i32 47
  %2718 = load i8, ptr %2717, align 1, !tbaa !139
  %2719 = sext i8 %2718 to i32
  %2720 = icmp sgt i32 %2719, 0
  br i1 %2720, label %2721, label %2724

2721:                                             ; preds = %2715, %2710
  %2722 = load ptr, ptr %9, align 8, !tbaa !5
  %2723 = getelementptr inbounds %struct.ImGuiWindow, ptr %2722, i32 0, i32 47
  store i8 1, ptr %2723, align 1, !tbaa !139
  br label %2724

2724:                                             ; preds = %2721, %2715, %2707
  br label %2725

2725:                                             ; preds = %2724, %2629
  %2726 = load ptr, ptr %8, align 8, !tbaa !5
  %2727 = getelementptr inbounds %struct.ImGuiStyle, ptr %2726, i32 0, i32 0
  %2728 = load float, ptr %2727, align 4, !tbaa !268
  %2729 = fcmp ole float %2728, 0.000000e+00
  br i1 %2729, label %2730, label %2733

2730:                                             ; preds = %2725
  %2731 = load ptr, ptr %9, align 8, !tbaa !5
  %2732 = getelementptr inbounds %struct.ImGuiWindow, ptr %2731, i32 0, i32 46
  store i8 1, ptr %2732, align 8, !tbaa !140
  br label %2733

2733:                                             ; preds = %2730, %2725
  %2734 = load ptr, ptr %9, align 8, !tbaa !5
  %2735 = getelementptr inbounds %struct.ImGuiWindow, ptr %2734, i32 0, i32 46
  %2736 = load i8, ptr %2735, align 8, !tbaa !140
  %2737 = sext i8 %2736 to i32
  %2738 = icmp sgt i32 %2737, 0
  br i1 %2738, label %2751, label %2739

2739:                                             ; preds = %2733
  %2740 = load ptr, ptr %9, align 8, !tbaa !5
  %2741 = getelementptr inbounds %struct.ImGuiWindow, ptr %2740, i32 0, i32 47
  %2742 = load i8, ptr %2741, align 1, !tbaa !139
  %2743 = sext i8 %2742 to i32
  %2744 = icmp sgt i32 %2743, 0
  br i1 %2744, label %2751, label %2745

2745:                                             ; preds = %2739
  %2746 = load ptr, ptr %9, align 8, !tbaa !5
  %2747 = getelementptr inbounds %struct.ImGuiWindow, ptr %2746, i32 0, i32 48
  %2748 = load i8, ptr %2747, align 2, !tbaa !141
  %2749 = sext i8 %2748 to i32
  %2750 = icmp sgt i32 %2749, 0
  br label %2751

2751:                                             ; preds = %2745, %2739, %2733
  %2752 = phi i1 [ true, %2739 ], [ true, %2733 ], [ %2750, %2745 ]
  %2753 = load ptr, ptr %9, align 8, !tbaa !5
  %2754 = getelementptr inbounds %struct.ImGuiWindow, ptr %2753, i32 0, i32 30
  %2755 = zext i1 %2752 to i8
  store i8 %2755, ptr %2754, align 1, !tbaa !269
  %2756 = load ptr, ptr %9, align 8, !tbaa !5
  %2757 = getelementptr inbounds %struct.ImGuiWindow, ptr %2756, i32 0, i32 49
  %2758 = load i8, ptr %2757, align 1, !tbaa !270
  %2759 = sext i8 %2758 to i32
  %2760 = icmp sgt i32 %2759, 0
  br i1 %2760, label %2761, label %2770

2761:                                             ; preds = %2751
  %2762 = load ptr, ptr %9, align 8, !tbaa !5
  %2763 = getelementptr inbounds %struct.ImGuiWindow, ptr %2762, i32 0, i32 49
  %2764 = load i8, ptr %2763, align 1, !tbaa !270
  %2765 = add i8 %2764, -1
  store i8 %2765, ptr %2763, align 1, !tbaa !270
  %2766 = load ptr, ptr %9, align 8, !tbaa !5
  %2767 = getelementptr inbounds %struct.ImGuiWindow, ptr %2766, i32 0, i32 2
  %2768 = load i32, ptr %2767, align 4, !tbaa !100
  %2769 = or i32 %2768, 786944
  store i32 %2769, ptr %2767, align 4, !tbaa !100
  br label %2770

2770:                                             ; preds = %2761, %2751
  call void @llvm.lifetime.start.p0(i64 1, ptr %94) #13
  store i8 0, ptr %94, align 1, !tbaa !75
  %2771 = load ptr, ptr %9, align 8, !tbaa !5
  %2772 = getelementptr inbounds %struct.ImGuiWindow, ptr %2771, i32 0, i32 26
  %2773 = load i8, ptr %2772, align 1, !tbaa !161, !range !71, !noundef !72
  %2774 = trunc i8 %2773 to i1
  br i1 %2774, label %2785, label %2775

2775:                                             ; preds = %2770
  %2776 = load ptr, ptr %9, align 8, !tbaa !5
  %2777 = getelementptr inbounds %struct.ImGuiWindow, ptr %2776, i32 0, i32 23
  %2778 = load i8, ptr %2777, align 2, !tbaa !128, !range !71, !noundef !72
  %2779 = trunc i8 %2778 to i1
  br i1 %2779, label %2780, label %2785

2780:                                             ; preds = %2775
  %2781 = load ptr, ptr %9, align 8, !tbaa !5
  %2782 = getelementptr inbounds %struct.ImGuiWindow, ptr %2781, i32 0, i32 30
  %2783 = load i8, ptr %2782, align 1, !tbaa !269, !range !71, !noundef !72
  %2784 = trunc i8 %2783 to i1
  br i1 %2784, label %2785, label %2805

2785:                                             ; preds = %2780, %2775, %2770
  %2786 = load ptr, ptr %9, align 8, !tbaa !5
  %2787 = getelementptr inbounds %struct.ImGuiWindow, ptr %2786, i32 0, i32 41
  %2788 = load i8, ptr %2787, align 8, !tbaa !164
  %2789 = sext i8 %2788 to i32
  %2790 = icmp sle i32 %2789, 0
  br i1 %2790, label %2791, label %2804

2791:                                             ; preds = %2785
  %2792 = load ptr, ptr %9, align 8, !tbaa !5
  %2793 = getelementptr inbounds %struct.ImGuiWindow, ptr %2792, i32 0, i32 42
  %2794 = load i8, ptr %2793, align 1, !tbaa !165
  %2795 = sext i8 %2794 to i32
  %2796 = icmp sle i32 %2795, 0
  br i1 %2796, label %2797, label %2804

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

2803:                                             ; preds = %2797
  store i8 1, ptr %94, align 1, !tbaa !75
  br label %2804

2804:                                             ; preds = %2803, %2797, %2791, %2785
  br label %2805

2805:                                             ; preds = %2804, %2780
  %2806 = load i8, ptr %94, align 1, !tbaa !75, !range !71, !noundef !72
  %2807 = trunc i8 %2806 to i1
  %2808 = load ptr, ptr %9, align 8, !tbaa !5
  %2809 = getelementptr inbounds %struct.ImGuiWindow, ptr %2808, i32 0, i32 28
  %2810 = zext i1 %2807 to i8
  store i8 %2810, ptr %2809, align 1, !tbaa !271
  call void @llvm.lifetime.end.p0(i64 1, ptr %94) #13
  br label %2811

2811:                                             ; preds = %2805, %2608
  %2812 = load ptr, ptr %9, align 8, !tbaa !5
  %2813 = getelementptr inbounds %struct.ImGuiWindow, ptr %2812, i32 0, i32 28
  %2814 = load i8, ptr %2813, align 1, !tbaa !271, !range !71, !noundef !72
  %2815 = trunc i8 %2814 to i1
  %2816 = xor i1 %2815, 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 %2816
}

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

; 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: inlinehint mustprogress uwtable
declare dso_local void @_ZN8ImVectorIP11ImGuiWindowE6resizeEi(ptr noundef nonnull align 8 dereferenceable(16), i32 noundef) #11 align 2

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

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

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

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

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

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

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

; 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: inlinehint mustprogress uwtable
declare dso_local void @_ZN8ImVectorI14ImGuiPopupDataE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(48)) #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)) #9

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(48) 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) #10

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

; Function Attrs: mustprogress uwtable
declare dso_local { <2 x float>, <2 x float> } @_ZNK14ImGuiViewportP11GetWorkRectEv(ptr noundef nonnull align 8 dereferenceable(176)) #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 @_ZL15ClampWindowRectP11ImGuiWindowRK6ImRect(ptr noundef, ptr noundef nonnull align 4 dereferenceable(16)) #3

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

; Function Attrs: mustprogress uwtable
declare dso_local { <2 x float>, <2 x float> } @_ZNK11ImGuiWindow4RectEv(ptr noundef nonnull align 8 dereferenceable(921)) #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)) #10 align 2

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

; 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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN6ImRect6ExpandEf(ptr noundef nonnull align 4 dereferenceable(16), float noundef) #1 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 @_ZN5ImGuiL23RenderWindowDecorationsEP11ImGuiWindowRK6ImRectbiPKjf(ptr noundef, ptr noundef nonnull align 4 dereferenceable(16), i1 noundef zeroext, i32 noundef, ptr noundef, float noundef) #10

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

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

; 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 = { "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 = { 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 #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 7068}
!13 = !{!"_ZTS12ImGuiContext", !14, i64 0, !14, i64 1, !15, i64 8, !20, i64 5472, !6, i64 6520, !17, i64 6528, !17, i64 6532, !21, i64 6536, !23, i64 7048, !10, i64 7056, !10, i64 7060, !10, i64 7064, !14, i64 7068, !14, i64 7069, !14, i64 7070, !14, i64 7071, !14, i64 7072, !6, i64 7080, !24, i64 7088, !24, i64 7104, !24, i64 7120, !25, i64 7136, !26, i64 7152, !10, i64 7168, !16, i64 7172, !6, i64 7184, !6, i64 7192, !6, i64 7200, !6, i64 7208, !6, i64 7216, !16, i64 7224, !17, i64 7232, !10, i64 7236, !10, i64 7240, !10, i64 7244, !14, i64 7248, !14, i64 7249, !14, i64 7250, !14, i64 7251, !17, i64 7252, !17, i64 7256, !10, i64 7260, !10, i64 7264, !17, i64 7268, !14, i64 7272, !14, i64 7273, !14, i64 7274, !14, i64 7275, !14, i64 7276, !14, i64 7277, !14, i64 7278, !10, i64 7280, !10, i64 7284, !28, i64 7288, !16, i64 7296, !6, i64 7304, !29, i64 7312, !10, i64 7316, !10, i64 7320, !14, i64 7324, !14, i64 7325, !6, i64 7328, !10, i64 7336, !17, i64 7340, !10, i64 7344, !30, i64 7348, !31, i64 7368, !33, i64 7432, !34, i64 7544, !35, i64 7560, !36, i64 7576, !37, i64 7592, !38, i64 7608, !39, i64 7624, !40, i64 7640, !40, i64 7656, !41, i64 7672, !6, i64 7688, !10, i64 7696, !10, i64 7700, !10, i64 7704, !10, i64 7708, !10, i64 7712, !10, i64 7716, !10, i64 7720, !10, i64 7724, !10, i64 7728, !10, i64 7732, !10, i64 7736, !10, i64 7740, !10, i64 7744, !29, i64 7748, !42, i64 7752, !10, i64 7756, !14, i64 7760, !14, i64 7761, !14, i64 7762, !14, i64 7763, !14, i64 7764, !14, i64 7765, !14, i64 7766, !10, i64 7768, !32, i64 7772, !14, i64 7788, !14, i64 7789, !14, i64 7790, !10, i64 7792, !10, i64 7796, !10, i64 7800, !10, i64 7804, !10, i64 7808, !10, i64 7812, !32, i64 7816, !10, i64 7832, !10, i64 7836, !43, i64 7840, !43, i64 7888, !43, i64 7936, !6, i64 7984, !6, i64 7992, !6, i64 8000, !17, i64 8008, !17, i64 8012, !14, i64 8016, !6, i64 8024, !6, i64 8032, !10, i64 8040, !10, i64 8044, !14, i64 8048, !17, i64 8052, !10, i64 8056, !14, i64 8060, !14, i64 8061, !14, i64 8062, !10, i64 8064, !10, i64 8068, !10, i64 8072, !44, i64 8080, !32, i64 8144, !10, i64 8160, !10, i64 8164, !17, i64 8168, !10, i64 8172, !10, i64 8176, !10, i64 8180, !10, i64 8184, !45, i64 8192, !7, i64 8208, !6, i64 8224, !10, i64 8232, !46, i64 8240, !48, i64 8280, !49, i64 8296, !50, i64 8312, !6, i64 8328, !51, i64 8336, !53, i64 8376, !54, i64 8392, !16, i64 8408, !55, i64 8416, !59, i64 12152, !10, i64 12264, !10, i64 12268, !17, i64 12272, !17, i64 12276, !10, i64 12280, !22, i64 12284, !61, i64 12300, !17, i64 12348, !14, i64 12352, !14, i64 12353, !17, i64 12356, !17, i64 12360, !17, i64 12364, !17, i64 12368, !18, i64 12372, !18, i64 12374, !17, i64 12376, !56, i64 12384, !37, i64 12400, !16, i64 12416, !16, i64 12424, !7, i64 12432, !14, i64 12433, !17, i64 12436, !62, i64 12440, !63, i64 12456, !64, i64 12472, !65, i64 12488, !66, i64 12504, !10, i64 12520, !14, i64 12524, !67, i64 12528, !6, i64 12536, !62, i64 12544, !6, i64 12560, !6, i64 12568, !17, i64 12576, !14, i64 12580, !10, i64 12584, !10, i64 12588, !10, i64 12592, !14, i64 12596, !10, i64 12600, !68, i64 12604, !69, i64 12624, !7, i64 12656, !10, i64 13136, !10, i64 13140, !17, i64 13144, !10, i64 13148, !10, i64 13152, !10, i64 13156, !7, i64 13160}
!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, !7, i64 52, !17, i64 140, !17, i64 144, !6, i64 152, !6, i64 160, !17, i64 168, !14, i64 172, !6, i64 176, !16, i64 184, !14, i64 192, !14, i64 193, !14, i64 194, !14, i64 195, !14, i64 196, !14, i64 197, !17, i64 200, !6, i64 208, !6, i64 216, !6, i64 224, !6, i64 232, !6, i64 240, !6, i64 248, !6, i64 256, !6, i64 264, !6, i64 272, !6, i64 280, !16, i64 288, !7, i64 296, !17, i64 304, !17, i64 308, !14, i64 312, !14, i64 313, !14, i64 314, !14, i64 315, !7, i64 316, !7, i64 828, !14, i64 908, !14, i64 909, !14, i64 910, !14, i64 911, !14, i64 912, !14, i64 913, !14, i64 914, !17, i64 916, !10, i64 920, !10, i64 924, !10, i64 928, !10, i64 932, !10, i64 936, !16, i64 940, !14, i64 948, !10, i64 952, !10, i64 956, !16, i64 960, !7, i64 968, !7, i64 1008, !7, i64 1048, !7, i64 1053, !7, i64 1058, !7, i64 1063, !7, i64 1068, !7, i64 1073, !7, i64 1080, !7, i64 1100, !7, i64 1120, !7, i64 1160, !7, i64 1180, !7, i64 3228, !7, i64 5276, !7, i64 5356, !17, i64 5436, !14, i64 5440, !18, i64 5442, !19, i64 5448}
!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 = !{!"_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}
!21 = !{!"_ZTS20ImDrawListSharedData", !16, i64 0, !6, i64 8, !17, i64 16, !17, i64 20, !17, i64 24, !22, i64 28, !10, i64 44, !7, i64 48, !17, i64 432, !7, i64 436, !6, i64 504}
!22 = !{!"_ZTS6ImVec4", !17, i64 0, !17, i64 4, !17, i64 8, !17, i64 12}
!23 = !{!"double", !7, i64 0}
!24 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !10, i64 0, !10, i64 4, !6, i64 8}
!25 = !{!"_ZTS8ImVectorI20ImGuiWindowStackDataE", !10, i64 0, !10, i64 4, !6, i64 8}
!26 = !{!"_ZTS12ImGuiStorage", !27, i64 0}
!27 = !{!"_ZTS8ImVectorIN12ImGuiStorage16ImGuiStoragePairEE", !10, i64 0, !10, i64 4, !6, i64 8}
!28 = !{!"long long", !7, i64 0}
!29 = !{!"_ZTS16ImGuiInputSource", !7, i64 0}
!30 = !{!"_ZTS17ImGuiNextItemData", !10, i64 0, !17, i64 4, !10, i64 8, !10, i64 12, !14, i64 16}
!31 = !{!"_ZTS17ImGuiLastItemData", !10, i64 0, !10, i64 4, !10, i64 8, !32, i64 12, !32, i64 28, !32, i64 44}
!32 = !{!"_ZTS6ImRect", !16, i64 0, !16, i64 8}
!33 = !{!"_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, !32, i64 60, !6, i64 80, !6, i64 88, !17, i64 96, !16, i64 100}
!34 = !{!"_ZTS8ImVectorI13ImGuiColorModE", !10, i64 0, !10, i64 4, !6, i64 8}
!35 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !10, i64 0, !10, i64 4, !6, i64 8}
!36 = !{!"_ZTS8ImVectorIP6ImFontE", !10, i64 0, !10, i64 4, !6, i64 8}
!37 = !{!"_ZTS8ImVectorIjE", !10, i64 0, !10, i64 4, !6, i64 8}
!38 = !{!"_ZTS8ImVectorIiE", !10, i64 0, !10, i64 4, !6, i64 8}
!39 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !10, i64 0, !10, i64 4, !6, i64 8}
!40 = !{!"_ZTS8ImVectorI14ImGuiPopupDataE", !10, i64 0, !10, i64 4, !6, i64 8}
!41 = !{!"_ZTS8ImVectorIP14ImGuiViewportPE", !10, i64 0, !10, i64 4, !6, i64 8}
!42 = !{!"_ZTS13ImGuiNavLayer", !7, i64 0}
!43 = !{!"_ZTS16ImGuiNavItemData", !6, i64 0, !10, i64 8, !10, i64 12, !32, i64 16, !10, i64 32, !17, i64 36, !17, i64 40, !17, i64 44}
!44 = !{!"_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}
!45 = !{!"_ZTS8ImVectorIhE", !10, i64 0, !10, i64 4, !6, i64 8}
!46 = !{!"_ZTS6ImPoolI10ImGuiTableE", !47, i64 0, !26, i64 16, !10, i64 32, !10, i64 36}
!47 = !{!"_ZTS8ImVectorI10ImGuiTableE", !10, i64 0, !10, i64 4, !6, i64 8}
!48 = !{!"_ZTS8ImVectorI18ImGuiTableTempDataE", !10, i64 0, !10, i64 4, !6, i64 8}
!49 = !{!"_ZTS8ImVectorIfE", !10, i64 0, !10, i64 4, !6, i64 8}
!50 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !10, i64 0, !10, i64 4, !6, i64 8}
!51 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !52, i64 0, !26, i64 16, !10, i64 32, !10, i64 36}
!52 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !10, i64 0, !10, i64 4, !6, i64 8}
!53 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !10, i64 0, !10, i64 4, !6, i64 8}
!54 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !10, i64 0, !10, i64 4, !6, i64 8}
!55 = !{!"_ZTS19ImGuiInputTextState", !10, i64 0, !10, i64 4, !10, i64 8, !19, i64 16, !56, i64 32, !56, i64 48, !14, i64 64, !10, i64 68, !17, i64 72, !57, i64 76, !17, i64 3704, !14, i64 3708, !14, i64 3709, !14, i64 3710, !10, i64 3712, !6, i64 3720, !6, i64 3728}
!56 = !{!"_ZTS8ImVectorIcE", !10, i64 0, !10, i64 4, !6, i64 8}
!57 = !{!"_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, !58, i64 32}
!58 = !{!"_ZTSN5ImStb12StbUndoStateE", !7, i64 0, !7, i64 1584, !18, i64 3582, !18, i64 3584, !10, i64 3588, !10, i64 3592}
!59 = !{!"_ZTS6ImFont", !49, i64 0, !17, i64 16, !17, i64 20, !19, i64 24, !60, 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}
!60 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !10, i64 0, !10, i64 4, !6, i64 8}
!61 = !{!"_ZTS21ImGuiComboPreviewData", !32, i64 0, !16, i64 16, !16, i64 24, !16, i64 32, !17, i64 40, !10, i64 44}
!62 = !{!"_ZTS15ImGuiTextBuffer", !56, i64 0}
!63 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !10, i64 0, !10, i64 4, !6, i64 8}
!64 = !{!"_ZTS13ImChunkStreamI19ImGuiWindowSettingsE", !56, i64 0}
!65 = !{!"_ZTS13ImChunkStreamI18ImGuiTableSettingsE", !56, i64 0}
!66 = !{!"_ZTS8ImVectorI16ImGuiContextHookE", !10, i64 0, !10, i64 4, !6, i64 8}
!67 = !{!"_ZTS12ImGuiLogType", !7, i64 0}
!68 = !{!"_ZTS18ImGuiMetricsConfig", !14, i64 0, !14, i64 1, !14, i64 2, !14, i64 3, !14, i64 4, !14, i64 5, !10, i64 8, !10, i64 12}
!69 = !{!"_ZTS14ImGuiStackTool", !10, i64 0, !10, i64 4, !10, i64 8, !70, i64 16}
!70 = !{!"_ZTS8ImVectorI19ImGuiStackLevelInfoE", !10, i64 0, !10, i64 4, !6, i64 8}
!71 = !{i8 0, i8 2}
!72 = !{}
!73 = !{!13, !10, i64 7060}
!74 = !{!13, !10, i64 7056}
!75 = !{!14, !14, i64 0}
!76 = !{!77, !10, i64 560}
!77 = !{!"_ZTS11ImGuiWindow", !6, i64 0, !10, i64 8, !10, i64 12, !16, i64 16, !16, i64 24, !16, i64 32, !16, i64 40, !16, i64 48, !16, i64 56, !16, i64 64, !17, i64 72, !17, i64 76, !10, i64 80, !10, i64 84, !10, i64 88, !16, i64 92, !16, i64 100, !16, i64 108, !16, i64 116, !16, i64 124, !16, i64 132, !14, i64 140, !14, i64 141, !14, i64 142, !14, i64 143, !14, i64 144, !14, i64 145, !14, i64 146, !14, i64 147, !14, i64 148, !14, i64 149, !14, i64 150, !14, i64 151, !7, i64 152, !18, i64 154, !18, i64 156, !18, i64 158, !18, i64 160, !10, i64 164, !7, i64 168, !7, i64 169, !7, i64 170, !14, i64 171, !10, i64 172, !7, i64 176, !7, i64 177, !7, i64 178, !7, i64 179, !10, i64 180, !10, i64 181, !10, i64 182, !16, i64 184, !16, i64 192, !37, i64 200, !78, i64 216, !32, i64 440, !32, i64 456, !32, i64 472, !32, i64 488, !32, i64 504, !32, i64 520, !32, i64 536, !81, i64 552, !81, i64 556, !10, i64 560, !17, i64 564, !17, i64 568, !26, i64 576, !82, i64 592, !17, i64 608, !10, i64 612, !6, i64 616, !83, i64 624, !6, i64 824, !6, i64 832, !6, i64 840, !6, i64 848, !6, i64 856, !6, i64 864, !7, i64 872, !7, i64 880, !10, i64 912, !10, i64 916, !14, i64 920}
!78 = !{!"_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, !79, i64 64, !79, i64 68, !79, i64 72, !42, i64 76, !18, i64 80, !18, i64 82, !10, i64 84, !14, i64 88, !14, i64 89, !14, i64 90, !16, i64 92, !80, i64 100, !10, i64 128, !10, i64 132, !24, i64 136, !6, i64 152, !6, i64 160, !10, i64 168, !10, i64 172, !10, i64 176, !10, i64 180, !17, i64 184, !17, i64 188, !49, i64 192, !49, i64 208}
!79 = !{!"_ZTS6ImVec1", !17, i64 0}
!80 = !{!"_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}
!81 = !{!"_ZTS8ImVec2ih", !18, i64 0, !18, i64 2}
!82 = !{!"_ZTS8ImVectorI15ImGuiOldColumnsE", !10, i64 0, !10, i64 4, !6, i64 8}
!83 = !{!"_ZTS10ImDrawList", !84, i64 0, !19, i64 16, !85, i64 32, !10, i64 48, !10, i64 52, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !86, i64 88, !87, i64 104, !88, i64 120, !89, i64 136, !90, i64 168, !17, i64 192}
!84 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !10, i64 0, !10, i64 4, !6, i64 8}
!85 = !{!"_ZTS8ImVectorI10ImDrawVertE", !10, i64 0, !10, i64 4, !6, i64 8}
!86 = !{!"_ZTS8ImVectorI6ImVec4E", !10, i64 0, !10, i64 4, !6, i64 8}
!87 = !{!"_ZTS8ImVectorIPvE", !10, i64 0, !10, i64 4, !6, i64 8}
!88 = !{!"_ZTS8ImVectorI6ImVec2E", !10, i64 0, !10, i64 4, !6, i64 8}
!89 = !{!"_ZTS15ImDrawCmdHeader", !22, i64 0, !6, i64 16, !10, i64 24}
!90 = !{!"_ZTS18ImDrawListSplitter", !10, i64 0, !10, i64 4, !50, i64 8}
!91 = !{!13, !10, i64 7136}
!92 = !{!13, !14, i64 7069}
!93 = !{!77, !14, i64 150}
!94 = !{!13, !10, i64 7656}
!95 = !{!77, !10, i64 164}
!96 = !{!97, !10, i64 0}
!97 = !{!"_ZTS14ImGuiPopupData", !10, i64 0, !6, i64 8, !6, i64 16, !10, i64 24, !10, i64 28, !16, i64 32, !16, i64 40}
!98 = !{!97, !6, i64 8}
!99 = !{!77, !14, i64 148}
!100 = !{!77, !10, i64 12}
!101 = !{!13, !23, i64 7048}
!102 = !{!77, !17, i64 564}
!103 = !{!77, !18, i64 156}
!104 = !{!13, !10, i64 7168}
!105 = !{!77, !18, i64 158}
!106 = !{!107, !6, i64 0}
!107 = !{!"_ZTS20ImGuiWindowStackData", !6, i64 0, !31, i64 8, !108, i64 68}
!108 = !{!"_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}
!109 = !{!77, !6, i64 824}
!110 = !{!77, !10, i64 200}
!111 = !{!13, !6, i64 7184}
!112 = !{i64 0, i64 4, !9, i64 4, i64 4, !9, i64 8, i64 4, !9, i64 12, i64 4, !113, i64 16, i64 4, !113, i64 20, i64 4, !113, i64 24, i64 4, !113, i64 28, i64 4, !113, i64 32, i64 4, !113, i64 36, i64 4, !113, i64 40, i64 4, !113, i64 44, i64 4, !113, i64 48, i64 4, !113, i64 52, i64 4, !113, i64 56, i64 4, !113}
!113 = !{!17, !17, i64 0}
!114 = !{!13, !10, i64 7432}
!115 = !{!13, !10, i64 7436}
!116 = !{i64 0, i64 4, !113, i64 4, i64 4, !113}
!117 = !{!13, !10, i64 7440}
!118 = !{!13, !17, i64 7464}
!119 = !{!13, !17, i64 7468}
!120 = !{!13, !17, i64 7480}
!121 = !{!77, !17, i64 108}
!122 = !{!77, !17, i64 116}
!123 = !{!13, !17, i64 7484}
!124 = !{!77, !17, i64 112}
!125 = !{!77, !17, i64 120}
!126 = !{!13, !14, i64 7488}
!127 = !{!13, !10, i64 7444}
!128 = !{!77, !14, i64 142}
!129 = !{!77, !14, i64 151}
!130 = !{i64 0, i64 4, !113, i64 4, i64 4, !113, i64 8, i64 4, !113, i64 12, i64 4, !113}
!131 = !{!77, !6, i64 616}
!132 = !{!77, !10, i64 384}
!133 = !{!77, !14, i64 920}
!134 = !{!13, !6, i64 8000}
!135 = !{!77, !6, i64 0}
!136 = !{!77, !10, i64 80}
!137 = !{!138, !138, i64 0}
!138 = !{!"long", !7, i64 0}
!139 = !{!77, !7, i64 177}
!140 = !{!77, !7, i64 176}
!141 = !{!77, !7, i64 178}
!142 = !{!77, !17, i64 32}
!143 = !{!77, !17, i64 24}
!144 = !{!77, !17, i64 36}
!145 = !{!77, !17, i64 28}
!146 = !{!20, !17, i64 48}
!147 = !{!77, !17, i64 76}
!148 = !{!20, !17, i64 56}
!149 = !{!20, !17, i64 20}
!150 = !{!20, !17, i64 12}
!151 = !{!77, !17, i64 64}
!152 = !{!20, !17, i64 76}
!153 = !{!13, !17, i64 7532}
!154 = !{!77, !17, i64 308}
!155 = !{!13, !17, i64 7536}
!156 = !{!77, !17, i64 312}
!157 = !{!13, !6, i64 7192}
!158 = !{!13, !10, i64 7240}
!159 = !{!13, !10, i64 7244}
!160 = !{!77, !14, i64 146}
!161 = !{!77, !14, i64 145}
!162 = !{!16, !17, i64 0}
!163 = !{!16, !17, i64 4}
!164 = !{!77, !7, i64 168}
!165 = !{!77, !7, i64 169}
!166 = !{!77, !14, i64 171}
!167 = !{!77, !10, i64 172}
!168 = !{!77, !10, i64 352}
!169 = !{!77, !17, i64 184}
!170 = !{!20, !17, i64 44}
!171 = !{!20, !17, i64 52}
!172 = !{!20, !17, i64 16}
!173 = !{!77, !17, i64 72}
!174 = !{!13, !14, i64 204}
!175 = !{!13, !17, i64 6528}
!176 = !{!77, !7, i64 152}
!177 = !{!77, !14, i64 141}
!178 = !{!20, !17, i64 116}
!179 = !{!77, !14, i64 140}
!180 = !{!77, !17, i64 16}
!181 = !{!77, !17, i64 456}
!182 = !{!77, !17, i64 20}
!183 = !{!77, !17, i64 460}
!184 = !{!77, !17, i64 132}
!185 = !{!77, !17, i64 464}
!186 = !{!77, !17, i64 136}
!187 = !{!77, !17, i64 468}
!188 = !{!20, !17, i64 72}
!189 = !{!77, !17, i64 472}
!190 = !{!77, !17, i64 476}
!191 = !{!77, !17, i64 480}
!192 = !{!77, !17, i64 484}
!193 = !{!77, !17, i64 568}
!194 = !{!77, !17, i64 40}
!195 = !{!77, !17, i64 100}
!196 = !{!77, !17, i64 44}
!197 = !{!77, !17, i64 68}
!198 = !{!77, !17, i64 104}
!199 = !{!83, !10, i64 0}
!200 = !{!201, !10, i64 32}
!201 = !{!"_ZTS9ImDrawCmd", !22, i64 0, !6, i64 16, !10, i64 24, !10, i64 28, !10, i64 32, !6, i64 40, !6, i64 48}
!202 = !{!13, !6, i64 6520}
!203 = !{!59, !6, i64 64}
!204 = !{!205, !6, i64 8}
!205 = !{!"_ZTS11ImFontAtlas", !10, i64 0, !6, i64 8, !10, i64 16, !10, i64 20, !14, i64 24, !14, i64 25, !14, i64 26, !6, i64 32, !6, i64 40, !10, i64 48, !10, i64 52, !16, i64 56, !16, i64 64, !36, i64 72, !206, i64 88, !207, i64 104, !7, i64 120, !6, i64 1144, !10, i64 1152, !10, i64 1156, !10, i64 1160}
!206 = !{!"_ZTS8ImVectorI21ImFontAtlasCustomRectE", !10, i64 0, !10, i64 4, !6, i64 8}
!207 = !{!"_ZTS8ImVectorI12ImFontConfigE", !10, i64 0, !10, i64 4, !6, i64 8}
!208 = !{!13, !6, i64 7992}
!209 = !{!77, !6, i64 832}
!210 = !{!13, !17, i64 8052}
!211 = !{!13, !17, i64 8012}
!212 = !{!13, !17, i64 5488}
!213 = !{!83, !10, i64 32}
!214 = !{!13, !6, i64 7984}
!215 = !{!13, !6, i64 7688}
!216 = !{!77, !6, i64 848}
!217 = !{!77, !17, i64 56}
!218 = !{!77, !17, i64 60}
!219 = !{!77, !17, i64 92}
!220 = !{!77, !17, i64 488}
!221 = !{!77, !17, i64 96}
!222 = !{!77, !17, i64 492}
!223 = !{!77, !17, i64 496}
!224 = !{!77, !17, i64 500}
!225 = !{!77, !17, i64 536}
!226 = !{!77, !17, i64 540}
!227 = !{!77, !17, i64 544}
!228 = !{!77, !17, i64 548}
!229 = !{!77, !17, i64 280}
!230 = !{!77, !17, i64 288}
!231 = !{!77, !17, i64 284}
!232 = !{!77, !17, i64 276}
!233 = !{!77, !17, i64 272}
!234 = !{!77, !42, i64 292}
!235 = !{!77, !18, i64 298}
!236 = !{!77, !18, i64 296}
!237 = !{!77, !14, i64 304}
!238 = !{!77, !14, i64 305}
!239 = !{!77, !14, i64 306}
!240 = !{!77, !10, i64 344}
!241 = !{!77, !10, i64 348}
!242 = !{!77, !6, i64 368}
!243 = !{!77, !6, i64 376}
!244 = !{!77, !10, i64 388}
!245 = !{!77, !10, i64 392}
!246 = !{!77, !10, i64 396}
!247 = !{!77, !17, i64 400}
!248 = !{!77, !17, i64 404}
!249 = !{!32, !17, i64 0}
!250 = !{!32, !17, i64 4}
!251 = !{!32, !17, i64 8}
!252 = !{!32, !17, i64 12}
!253 = !{!77, !18, i64 554}
!254 = !{!77, !18, i64 552}
!255 = !{!77, !10, i64 84}
!256 = !{!13, !10, i64 7368}
!257 = !{!13, !10, i64 7344}
!258 = !{!13, !10, i64 7372}
!259 = !{!13, !10, i64 7376}
!260 = !{!77, !10, i64 300}
!261 = !{!77, !14, i64 144}
!262 = !{!77, !18, i64 154}
!263 = !{!13, !14, i64 12524}
!264 = !{!77, !17, i64 440}
!265 = !{!77, !17, i64 448}
!266 = !{!77, !17, i64 444}
!267 = !{!77, !17, i64 452}
!268 = !{!20, !17, i64 0}
!269 = !{!77, !14, i64 149}
!270 = !{!77, !7, i64 179}
!271 = !{!77, !14, i64 147}


; 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.3 = external hidden unnamed_addr constant [78 x i8], align 1
@.str.109 = external hidden unnamed_addr constant [34 x i8], align 1
@__PRETTY_FUNCTION__._ZN5ImGui5BeginEPKcPbi = external hidden unnamed_addr constant [58 x i8], align 1
@.str.110 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.111 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.112 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.113 = external hidden unnamed_addr constant [67 x i8], align 1
@.str.114 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.115 = external hidden unnamed_addr constant [87 x i8], align 1
@.str.116 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.117 = 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: 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 i32 @_ZN5ImGui11GetColorU32Eif(i32 noundef, float noundef) local_unnamed_addr #8

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

declare void @_ZN10ImDrawList13AddRectFilledERK6ImVec2S2_jfi(ptr noundef nonnull align 8 dereferenceable(196), ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8), i32 noundef, float noundef, i32 noundef) local_unnamed_addr #9

declare void @_ZN10ImDrawList7AddRectERK6ImVec2S2_jfif(ptr noundef nonnull align 8 dereferenceable(196), ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8), i32 noundef, float noundef, i32 noundef, float noundef) local_unnamed_addr #9

; 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 #10 align 2

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

; 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 noundef i32 @_ZN11ImGuiWindow5GetIDEPKcS1_(ptr noundef nonnull align 8 dereferenceable(921), ptr noundef, ptr noundef) local_unnamed_addr #8 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 #10

; 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 uwtable
declare dso_local void @_ZN5ImGui11FocusWindowEP11ImGuiWindow(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 void @_ZN5ImGui12SetWindowPosEP11ImGuiWindowRK6ImVec2i(ptr noundef, ptr noundef nonnull align 4 dereferenceable(8), i32 noundef) local_unnamed_addr #10

; Function Attrs: mustprogress uwtable
declare dso_local { <2 x float>, <2 x float> } @_ZNK11ImGuiWindow12TitleBarRectEv(ptr noundef nonnull align 8 dereferenceable(921)) 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: 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(176)) 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 #10 {
  %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.ImRect, align 8
  %15 = alloca %struct.ImVec2, align 8
  %16 = alloca %struct.ImVec2, align 8
  %17 = alloca %struct.ImRect, align 8
  %18 = alloca %struct.ImRect, align 8
  %19 = alloca %struct.ImVec2, align 8
  %20 = alloca %struct.ImRect, align 4
  %21 = alloca %struct.ImVec2, align 8
  %22 = alloca %struct.ImVec2, align 8
  %23 = alloca i32, align 4
  %24 = alloca [4 x i32], align 16
  %25 = alloca %struct.ImVec2, align 4
  %26 = alloca %struct.ImVec2, align 8
  %27 = alloca %struct.ImVec2, align 8
  %28 = alloca %struct.ImVec2, align 8
  %29 = alloca %struct.ImVec2, align 8
  %30 = alloca %struct.ImRect, align 4
  %31 = alloca %struct.ImRect, align 8
  %32 = alloca %struct.ImVec2, align 8
  %33 = alloca %struct.ImRect, align 8
  %34 = alloca %struct.ImRect, align 8
  %35 = alloca %struct.ImRect, align 8
  %36 = alloca %struct.ImRect, align 8
  %37 = alloca %struct.ImVec2, align 4
  %38 = alloca %struct.ImVec2, align 8
  %39 = alloca %struct.ImRect, align 4
  %40 = load ptr, ptr @GImGui, align 8, !tbaa !5
  %41 = getelementptr inbounds i8, ptr %40, i64 5472
  %.not = icmp eq ptr %0, null
  br i1 %.not, label %.critedge, label %42

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

.critedge:                                        ; preds = %3, %42
  tail call void @__assert_fail(ptr noundef nonnull @.str.109, ptr noundef nonnull @.str.3, i32 noundef 5772, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5ImGui5BeginEPKcPbi) #13
  unreachable

44:                                               ; preds = %42
  %45 = getelementptr inbounds i8, ptr %40, i64 7068
  %46 = load i8, ptr %45, align 4, !tbaa !10, !range !70, !noundef !71
  %47 = trunc nuw i8 %46 to i1
  br i1 %47, label %49, label %48

48:                                               ; preds = %44
  tail call void @__assert_fail(ptr noundef nonnull @.str.110, ptr noundef nonnull @.str.3, i32 noundef 5773, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5ImGui5BeginEPKcPbi) #13
  unreachable

49:                                               ; preds = %44
  %50 = getelementptr inbounds i8, ptr %40, i64 7060
  %51 = load i32, ptr %50, align 4, !tbaa !72
  %52 = getelementptr inbounds i8, ptr %40, i64 7056
  %53 = load i32, ptr %52, align 8, !tbaa !73
  %.not326 = icmp eq i32 %51, %53
  br i1 %.not326, label %54, label %55

54:                                               ; preds = %49
  tail call void @__assert_fail(ptr noundef nonnull @.str.111, ptr noundef nonnull @.str.3, i32 noundef 5774, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5ImGui5BeginEPKcPbi) #13
  unreachable

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

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

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

66:                                               ; preds = %60
  tail call void @__assert_fail(ptr noundef nonnull @.str.112, ptr noundef nonnull @.str.3, i32 noundef 5787, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5ImGui5BeginEPKcPbi) #13
  unreachable

67:                                               ; preds = %60
  %68 = load i32, ptr %52, align 8, !tbaa !73
  %69 = getelementptr inbounds i8, ptr %61, i64 560
  %70 = load i32, ptr %69, align 8, !tbaa !74
  %.not329 = icmp eq i32 %70, %68
  %71 = getelementptr inbounds i8, ptr %40, i64 7136
  %72 = load i32, ptr %71, align 8, !tbaa !89
  %73 = icmp eq i32 %72, 0
  br i1 %73, label %74, label %77

74:                                               ; preds = %67
  %75 = getelementptr inbounds i8, ptr %40, i64 7069
  %76 = load i8, ptr %75, align 1, !tbaa !90, !range !70, !noundef !71
  br label %77

77:                                               ; preds = %74, %67
  %78 = phi i8 [ 0, %67 ], [ %76, %74 ]
  %79 = getelementptr inbounds i8, ptr %61, i64 150
  store i8 %78, ptr %79, align 2, !tbaa !91
  %80 = add nsw i32 %68, -1
  %81 = icmp slt i32 %70, %80
  %82 = and i32 %spec.select, 67108864
  %.not330 = icmp eq i32 %82, 0
  br i1 %.not330, label %99, label %83

83:                                               ; preds = %77
  %84 = getelementptr inbounds i8, ptr %40, i64 7640
  %85 = getelementptr inbounds i8, ptr %40, i64 7656
  %86 = load i32, ptr %85, align 8, !tbaa !92
  %87 = tail call noundef nonnull align 8 dereferenceable(48) ptr @_ZN8ImVectorI14ImGuiPopupDataEixEi(ptr noundef nonnull align 8 dereferenceable(16) %84, i32 noundef %86)
  %88 = getelementptr inbounds i8, ptr %61, i64 164
  %89 = load i32, ptr %88, align 4, !tbaa !93
  %90 = load i32, ptr %87, align 8, !tbaa !94
  %91 = icmp ne i32 %89, %90
  %92 = getelementptr inbounds i8, ptr %87, i64 8
  %93 = load ptr, ptr %92, align 8, !tbaa !96
  %94 = icmp ne ptr %61, %93
  %95 = or i1 %91, %94
  %96 = or i1 %81, %95
  %97 = getelementptr inbounds i8, ptr %61, i64 148
  %98 = zext i1 %96 to i8
  store i8 %98, ptr %97, align 4, !tbaa !97
  br i1 %96, label %102, label %103

99:                                               ; preds = %77
  %100 = getelementptr inbounds i8, ptr %61, i64 148
  %101 = zext i1 %81 to i8
  store i8 %101, ptr %100, align 4, !tbaa !97
  br i1 %81, label %102, label %103

102:                                              ; preds = %83, %99
  tail call void @_ZL28SetWindowConditionAllowFlagsP11ImGuiWindowib(ptr noundef nonnull %61, i32 noundef 8, i1 noundef zeroext true)
  br label %103

103:                                              ; preds = %83, %102, %99
  %.0292.in426 = phi i1 [ false, %83 ], [ true, %102 ], [ false, %99 ]
  %104 = getelementptr inbounds i8, ptr %61, i64 12
  br i1 %.not329, label %116, label %105

105:                                              ; preds = %103
  store i32 %spec.select, ptr %104, align 4, !tbaa !98
  store i32 %68, ptr %69, align 8, !tbaa !74
  %106 = getelementptr inbounds i8, ptr %40, i64 7048
  %107 = load double, ptr %106, align 8, !tbaa !99
  %108 = fptrunc double %107 to float
  %109 = getelementptr inbounds i8, ptr %61, i64 564
  store float %108, ptr %109, align 4, !tbaa !100
  %110 = getelementptr inbounds i8, ptr %61, i64 156
  store i16 0, ptr %110, align 4, !tbaa !101
  %111 = getelementptr inbounds i8, ptr %40, i64 7168
  %112 = load i32, ptr %111, align 8, !tbaa !102
  %113 = add nsw i32 %112, 1
  store i32 %113, ptr %111, align 8, !tbaa !102
  %114 = trunc i32 %112 to i16
  %115 = getelementptr inbounds i8, ptr %61, i64 158
  store i16 %114, ptr %115, align 2, !tbaa !103
  br label %118

116:                                              ; preds = %103
  %117 = load i32, ptr %104, align 4, !tbaa !98
  br label %118

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

120:                                              ; preds = %118
  %121 = tail call noundef nonnull align 8 dereferenceable(86) ptr @_ZN8ImVectorI20ImGuiWindowStackDataE4backEv(ptr noundef nonnull align 8 dereferenceable(16) %71)
  %122 = load ptr, ptr %121, align 8, !tbaa !104
  br label %123

123:                                              ; preds = %118, %120
  %124 = phi ptr [ %122, %120 ], [ null, %118 ]
  br i1 %.not329, label %128, label %125

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

128:                                              ; preds = %123
  %129 = getelementptr inbounds i8, ptr %61, i64 824
  %130 = load ptr, ptr %129, align 8, !tbaa !107
  br label %131

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

136:                                              ; preds = %131
  tail call void @__assert_fail(ptr noundef nonnull @.str.113, ptr noundef nonnull @.str.3, i32 noundef 5822, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5ImGui5BeginEPKcPbi) #13
  unreachable

137:                                              ; preds = %131
  %138 = getelementptr inbounds i8, ptr %61, i64 200
  %139 = load i32, ptr %138, align 8, !tbaa !108
  %140 = icmp eq i32 %139, 0
  br i1 %140, label %141, label %143

141:                                              ; preds = %137
  %142 = getelementptr inbounds i8, ptr %61, i64 8
  tail call void @_ZN8ImVectorIjE9push_backERKj(ptr noundef nonnull align 8 dereferenceable(16) %138, ptr noundef nonnull align 4 dereferenceable(4) %142)
  br label %143

143:                                              ; preds = %141, %137
  %144 = getelementptr inbounds i8, ptr %40, i64 7184
  store ptr %61, ptr %144, align 8, !tbaa !109
  call void @llvm.lifetime.start.p0(i64 88, ptr nonnull %5) #14
  call void @_ZN20ImGuiWindowStackDataC2Ev(ptr noundef nonnull align 8 dereferenceable(86) %5)
  %145 = load ptr, ptr %4, align 8, !tbaa !5
  store ptr %145, ptr %5, align 8, !tbaa !104
  %146 = getelementptr inbounds i8, ptr %40, i64 7368
  %147 = getelementptr inbounds i8, ptr %5, i64 8
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(60) %147, ptr noundef nonnull align 8 dereferenceable(60) %146, i64 60, i1 false), !tbaa.struct !110
  %148 = getelementptr inbounds i8, ptr %5, i64 68
  call void @_ZN15ImGuiStackSizes17SetToCurrentStateEv(ptr noundef nonnull align 2 dereferenceable(18) %148)
  call void @_ZN8ImVectorI20ImGuiWindowStackDataE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(16) %71, ptr noundef nonnull align 8 dereferenceable(86) %5)
  store ptr null, ptr %144, align 8, !tbaa !109
  %149 = and i32 %.1, 67108864
  %.not334 = icmp eq i32 %149, 0
  br i1 %.not334, label %160, label %150

150:                                              ; preds = %143
  %151 = getelementptr inbounds i8, ptr %40, i64 7640
  %152 = getelementptr inbounds i8, ptr %40, i64 7656
  %153 = load i32, ptr %152, align 8, !tbaa !92
  %154 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZN8ImVectorI14ImGuiPopupDataEixEi(ptr noundef nonnull align 8 dereferenceable(16) %151, i32 noundef %153)
  %155 = load ptr, ptr %4, align 8, !tbaa !5
  %156 = getelementptr inbounds i8, ptr %154, i64 8
  store ptr %155, ptr %156, align 8, !tbaa !96
  call void @_ZN8ImVectorI14ImGuiPopupDataE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(16) %152, ptr noundef nonnull align 8 dereferenceable(48) %154)
  %157 = load i32, ptr %154, align 8, !tbaa !94
  %158 = load ptr, ptr %4, align 8, !tbaa !5
  %159 = getelementptr inbounds i8, ptr %158, i64 164
  store i32 %157, ptr %159, align 4, !tbaa !93
  br label %160

160:                                              ; preds = %150, %143
  br i1 %.not329, label %163, label %161

161:                                              ; preds = %160
  %162 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN5ImGui30UpdateWindowParentAndRootLinksEP11ImGuiWindowiS1_(ptr noundef %162, i32 noundef %.1, ptr noundef %132)
  br label %163

163:                                              ; preds = %161, %160
  %164 = getelementptr inbounds i8, ptr %40, i64 7432
  %165 = load i32, ptr %164, align 8, !tbaa !113
  %166 = and i32 %165, 1
  %.not335 = icmp eq i32 %166, 0
  br i1 %.not335, label %194, label %167

167:                                              ; preds = %163
  %168 = load ptr, ptr %4, align 8, !tbaa !5
  %169 = getelementptr inbounds i8, ptr %168, i64 180
  %170 = load i32, ptr %169, align 4
  %171 = shl i32 %170, 24
  %172 = ashr exact i32 %171, 24
  %173 = getelementptr inbounds i8, ptr %40, i64 7436
  %174 = load i32, ptr %173, align 4, !tbaa !114
  %175 = and i32 %172, %174
  %176 = icmp ne i32 %175, 0
  br i1 %176, label %177, label %190

177:                                              ; preds = %167
  %178 = getelementptr inbounds i8, ptr %40, i64 7456
  %179 = call noundef float @_ZL11ImLengthSqrRK6ImVec2(ptr noundef nonnull align 4 dereferenceable(8) %178)
  %180 = fcmp ogt float %179, 0x3EE4F8B580000000
  %.pre = load ptr, ptr %4, align 8, !tbaa !5
  br i1 %180, label %181, label %._crit_edge

._crit_edge:                                      ; preds = %177
  %.pre463 = load i32, ptr %173, align 4, !tbaa !114
  br label %190

181:                                              ; preds = %177
  %182 = getelementptr inbounds i8, ptr %40, i64 7448
  %183 = getelementptr inbounds i8, ptr %.pre, i64 184
  %184 = load i64, ptr %182, align 8
  store i64 %184, ptr %183, align 8
  %185 = getelementptr inbounds i8, ptr %.pre, i64 192
  %186 = load i64, ptr %178, align 8
  store i64 %186, ptr %185, align 8
  %187 = getelementptr inbounds i8, ptr %.pre, i64 180
  %188 = load i32, ptr %187, align 4
  %189 = and i32 %188, -15
  store i32 %189, ptr %187, align 4
  br label %194

190:                                              ; preds = %._crit_edge, %167
  %191 = phi i32 [ %.pre463, %._crit_edge ], [ %174, %167 ]
  %192 = phi ptr [ %.pre, %._crit_edge ], [ %168, %167 ]
  %193 = getelementptr inbounds i8, ptr %40, i64 7448
  call void @_ZN5ImGui12SetWindowPosEP11ImGuiWindowRK6ImVec2i(ptr noundef %192, ptr noundef nonnull align 4 dereferenceable(8) %193, i32 noundef %191)
  br label %194

194:                                              ; preds = %181, %190, %163
  %.0293.shrunk = phi i1 [ true, %181 ], [ %176, %190 ], [ false, %163 ]
  %195 = load i32, ptr %164, align 8, !tbaa !113
  %196 = and i32 %195, 2
  %.not336 = icmp eq i32 %196, 0
  br i1 %.not336, label %216, label %197

197:                                              ; preds = %194
  %198 = load ptr, ptr %4, align 8, !tbaa !5
  %199 = getelementptr inbounds i8, ptr %198, i64 180
  %200 = load i32, ptr %199, align 4
  %201 = shl i32 %200, 16
  %202 = ashr i32 %201, 24
  %203 = getelementptr inbounds i8, ptr %40, i64 7440
  %204 = load i32, ptr %203, align 8, !tbaa !115
  %205 = and i32 %202, %204
  %.not337 = icmp eq i32 %205, 0
  br i1 %.not337, label %.thread, label %206

206:                                              ; preds = %197
  %207 = getelementptr inbounds i8, ptr %40, i64 7464
  %208 = load float, ptr %207, align 8, !tbaa !116
  %209 = fcmp ogt float %208, 0.000000e+00
  %210 = getelementptr inbounds i8, ptr %40, i64 7468
  %211 = load float, ptr %210, align 4, !tbaa !117
  %212 = fcmp ogt float %211, 0.000000e+00
  br label %.thread

.thread:                                          ; preds = %197, %206
  %213 = phi i1 [ %209, %206 ], [ false, %197 ]
  %214 = phi i1 [ %212, %206 ], [ false, %197 ]
  %215 = getelementptr inbounds i8, ptr %40, i64 7464
  call void @_ZN5ImGui13SetWindowSizeEP11ImGuiWindowRK6ImVec2i(ptr noundef nonnull %198, ptr noundef nonnull align 4 dereferenceable(8) %215, i32 noundef %204)
  %.pre464 = load i32, ptr %164, align 8, !tbaa !113
  br label %216

216:                                              ; preds = %.thread, %194
  %217 = phi i32 [ %.pre464, %.thread ], [ %195, %194 ]
  %.0295 = phi i1 [ %214, %.thread ], [ false, %194 ]
  %.0294 = phi i1 [ %213, %.thread ], [ false, %194 ]
  %218 = and i32 %217, 128
  %.not339 = icmp eq i32 %218, 0
  br i1 %.not339, label %235, label %219

219:                                              ; preds = %216
  %220 = getelementptr inbounds i8, ptr %40, i64 7480
  %221 = load float, ptr %220, align 8, !tbaa !118
  %222 = fcmp ult float %221, 0.000000e+00
  br i1 %222, label %227, label %223

223:                                              ; preds = %219
  %224 = load ptr, ptr %4, align 8, !tbaa !5
  %225 = getelementptr inbounds i8, ptr %224, i64 108
  store float %221, ptr %225, align 4, !tbaa !119
  %226 = getelementptr inbounds i8, ptr %224, i64 116
  store float 0.000000e+00, ptr %226, align 4, !tbaa !120
  br label %227

227:                                              ; preds = %223, %219
  %228 = getelementptr inbounds i8, ptr %40, i64 7484
  %229 = load float, ptr %228, align 4, !tbaa !121
  %230 = fcmp ult float %229, 0.000000e+00
  br i1 %230, label %235, label %231

231:                                              ; preds = %227
  %232 = load ptr, ptr %4, align 8, !tbaa !5
  %233 = getelementptr inbounds i8, ptr %232, i64 112
  store float %229, ptr %233, align 4, !tbaa !122
  %234 = getelementptr inbounds i8, ptr %232, i64 120
  store float 0.000000e+00, ptr %234, align 4, !tbaa !123
  br label %235

235:                                              ; preds = %227, %231, %216
  %236 = and i32 %217, 4
  %.not340 = icmp eq i32 %236, 0
  br i1 %.not340, label %242, label %237

237:                                              ; preds = %235
  %238 = getelementptr inbounds i8, ptr %40, i64 7472
  %239 = load ptr, ptr %4, align 8, !tbaa !5
  %240 = getelementptr inbounds i8, ptr %239, i64 56
  %241 = load i64, ptr %238, align 8
  store i64 %241, ptr %240, align 8
  br label %247

242:                                              ; preds = %235
  br i1 %.not329, label %._crit_edge510, label %243

._crit_edge510:                                   ; preds = %242
  %.pre467.pre505.pre = load ptr, ptr %4, align 8, !tbaa !5
  br label %247

243:                                              ; preds = %242
  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)
  %244 = load ptr, ptr %4, align 8, !tbaa !5
  %245 = getelementptr inbounds i8, ptr %244, i64 56
  %246 = load i64, ptr %6, align 8
  store i64 %246, ptr %245, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #14
  br label %247

247:                                              ; preds = %._crit_edge510, %243, %237
  %.pre467.pre505 = phi ptr [ %.pre467.pre505.pre, %._crit_edge510 ], [ %244, %243 ], [ %239, %237 ]
  %248 = load i32, ptr %164, align 8, !tbaa !113
  %249 = and i32 %248, 8
  %.not341 = icmp eq i32 %249, 0
  br i1 %.not341, label %256, label %250

250:                                              ; preds = %247
  %251 = getelementptr inbounds i8, ptr %40, i64 7488
  %252 = load i8, ptr %251, align 8, !tbaa !124, !range !70, !noundef !71
  %253 = trunc nuw i8 %252 to i1
  %254 = getelementptr inbounds i8, ptr %40, i64 7444
  %255 = load i32, ptr %254, align 4, !tbaa !125
  call void @_ZN5ImGui18SetWindowCollapsedEP11ImGuiWindowbi(ptr noundef %.pre467.pre505, i1 noundef zeroext %253, i32 noundef %255)
  %.pre465 = load i32, ptr %164, align 8, !tbaa !113
  %.pre467.pre = load ptr, ptr %4, align 8, !tbaa !5
  br label %256

256:                                              ; preds = %250, %247
  %.pre467 = phi ptr [ %.pre467.pre, %250 ], [ %.pre467.pre505, %247 ]
  %257 = phi i32 [ %.pre465, %250 ], [ %248, %247 ]
  %258 = and i32 %257, 32
  %.not342 = icmp eq i32 %258, 0
  br i1 %.not342, label %260, label %259

259:                                              ; preds = %256
  call void @_ZN5ImGui11FocusWindowEP11ImGuiWindow(ptr noundef %.pre467)
  %.pre466 = load ptr, ptr %4, align 8, !tbaa !5
  br label %260

260:                                              ; preds = %259, %256
  %261 = phi ptr [ %.pre466, %259 ], [ %.pre467, %256 ]
  %262 = getelementptr inbounds i8, ptr %261, i64 148
  %263 = load i8, ptr %262, align 4, !tbaa !97, !range !70, !noundef !71
  %264 = trunc nuw i8 %263 to i1
  br i1 %264, label %265, label %266

265:                                              ; preds = %260
  call void @_ZL28SetWindowConditionAllowFlagsP11ImGuiWindowib(ptr noundef nonnull %261, i32 noundef 8, i1 noundef zeroext false)
  br label %266

266:                                              ; preds = %265, %260
  br i1 %.not329, label %1247, label %267

267:                                              ; preds = %266
  %268 = and i32 %.1, 33554432
  %.not343 = icmp eq i32 %268, 0
  %269 = and i32 %.1, 50331648
  %270 = icmp eq i32 %269, 50331648
  %271 = load ptr, ptr %4, align 8, !tbaa !5
  %272 = getelementptr inbounds i8, ptr %271, i64 142
  store i8 1, ptr %272, align 2, !tbaa !126
  %273 = icmp ne ptr %1, null
  %274 = getelementptr inbounds i8, ptr %271, i64 151
  %275 = zext i1 %273 to i8
  store i8 %275, ptr %274, align 1, !tbaa !127
  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)
  %276 = load ptr, ptr %4, align 8, !tbaa !5
  %277 = getelementptr inbounds i8, ptr %276, i64 520
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %277, ptr noundef nonnull align 4 dereferenceable(16) %7, i64 16, i1 false), !tbaa.struct !128
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #14
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #14
  %278 = getelementptr inbounds i8, ptr %276, i64 200
  call void @_ZN8ImVectorIjE6resizeEi(ptr noundef nonnull align 8 dereferenceable(16) %278, i32 noundef 1)
  %279 = load ptr, ptr %4, align 8, !tbaa !5
  %280 = getelementptr inbounds i8, ptr %279, i64 616
  %281 = load ptr, ptr %280, align 8, !tbaa !129
  call void @_ZN10ImDrawList17_ResetForNewFrameEv(ptr noundef nonnull align 8 dereferenceable(196) %281)
  %282 = load ptr, ptr %4, align 8, !tbaa !5
  %283 = getelementptr inbounds i8, ptr %282, i64 384
  store i32 -1, ptr %283, align 8, !tbaa !130
  %284 = getelementptr inbounds i8, ptr %282, i64 920
  %285 = load i8, ptr %284, align 8, !tbaa !131, !range !70, !noundef !71
  %286 = trunc nuw i8 %285 to i1
  br i1 %286, label %287, label %288

287:                                              ; preds = %267
  call void @_ZN5ImGui29GcAwakeTransientWindowBuffersEP11ImGuiWindow(ptr noundef nonnull %282)
  %.pre468.pre = load ptr, ptr %4, align 8, !tbaa !5
  br label %288

288:                                              ; preds = %287, %267
  %.pre468 = phi ptr [ %.pre468.pre, %287 ], [ %282, %267 ]
  %289 = getelementptr inbounds i8, ptr %40, i64 8000
  %290 = load ptr, ptr %289, align 8, !tbaa !132
  %.not344 = icmp eq ptr %290, null
  br i1 %.not344, label %.critedge377, label %291

291:                                              ; preds = %288
  %292 = getelementptr inbounds i8, ptr %.pre468, i64 12
  %293 = load i32, ptr %292, align 4, !tbaa !98
  %294 = and i32 %293, 524288
  %295 = icmp ne i32 %294, 0
  %brmerge = or i1 %57, %295
  br i1 %brmerge, label %.critedge377, label %296

296:                                              ; preds = %291
  %297 = load ptr, ptr %.pre468, align 8, !tbaa !133
  %298 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %0, ptr noundef nonnull dereferenceable(1) %297) #15
  %.not345 = icmp eq i32 %298, 0
  br i1 %.not345, label %.critedge377, label %299

299:                                              ; preds = %296
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #14
  %300 = getelementptr inbounds i8, ptr %.pre468, i64 80
  %301 = load i32, ptr %300, align 8, !tbaa !134
  %302 = sext i32 %301 to i64
  store i64 %302, ptr %9, align 8, !tbaa !135
  %303 = call noundef ptr @_Z11ImStrdupcpyPcPmPKc(ptr noundef %297, ptr noundef nonnull %9, ptr noundef nonnull %0)
  %304 = load ptr, ptr %4, align 8, !tbaa !5
  store ptr %303, ptr %304, align 8, !tbaa !133
  %305 = load i64, ptr %9, align 8, !tbaa !135
  %306 = trunc i64 %305 to i32
  %307 = load ptr, ptr %4, align 8, !tbaa !5
  %308 = getelementptr inbounds i8, ptr %307, i64 80
  store i32 %306, ptr %308, align 8, !tbaa !134
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #14
  br label %.critedge377

.critedge377:                                     ; preds = %288, %291, %299, %296
  %309 = phi ptr [ %.pre468, %288 ], [ %.pre468, %291 ], [ %307, %299 ], [ %.pre468, %296 ]
  %310 = getelementptr inbounds i8, ptr %309, i64 177
  %311 = load i8, ptr %310, align 1, !tbaa !137
  %312 = icmp slt i8 %311, 1
  %313 = getelementptr inbounds i8, ptr %309, i64 40
  %314 = getelementptr inbounds i8, ptr %309, i64 48
  call void @_ZL22CalcWindowContentSizesP11ImGuiWindowP6ImVec2S2_(ptr noundef %309, ptr noundef nonnull %313, ptr noundef nonnull %314)
  %315 = load ptr, ptr %4, align 8, !tbaa !5
  %316 = getelementptr inbounds i8, ptr %315, i64 176
  %317 = load i8, ptr %316, align 8, !tbaa !138
  %318 = icmp sgt i8 %317, 0
  br i1 %318, label %319, label %321

319:                                              ; preds = %.critedge377
  %320 = add nsw i8 %317, -1
  store i8 %320, ptr %316, align 8, !tbaa !138
  br label %321

321:                                              ; preds = %319, %.critedge377
  %322 = getelementptr inbounds i8, ptr %315, i64 177
  %323 = load i8, ptr %322, align 1, !tbaa !137
  %324 = icmp sgt i8 %323, 0
  br i1 %324, label %325, label %327

325:                                              ; preds = %321
  %326 = add nsw i8 %323, -1
  store i8 %326, ptr %322, align 1, !tbaa !137
  br label %327

327:                                              ; preds = %325, %321
  %328 = getelementptr inbounds i8, ptr %315, i64 178
  %329 = load i8, ptr %328, align 2, !tbaa !139
  %330 = icmp sgt i8 %329, 0
  br i1 %330, label %331, label %333

331:                                              ; preds = %327
  %332 = add nsw i8 %329, -1
  store i8 %332, ptr %328, align 2, !tbaa !139
  br label %333

333:                                              ; preds = %331, %327
  %.not461 = xor i1 %57, true
  %334 = select i1 %.0294, i1 %.0295, i1 false
  %or.cond462 = select i1 %.not461, i1 true, i1 %334
  br i1 %or.cond462, label %336, label %335

335:                                              ; preds = %333
  store i8 1, ptr %322, align 1, !tbaa !137
  br label %336

336:                                              ; preds = %335, %333
  %337 = and i32 %.1, 100663296
  %.not346 = icmp ne i32 %337, 0
  %or.cond379.not = select i1 %.0292.in426, i1 %.not346, i1 false
  br i1 %or.cond379.not, label %338, label %353

338:                                              ; preds = %336
  store i8 1, ptr %322, align 1, !tbaa !137
  %339 = and i32 %.1, 64
  %.not347 = icmp eq i32 %339, 0
  br i1 %.not347, label %353, label %340

340:                                              ; preds = %338
  br i1 %.0294, label %344, label %341

341:                                              ; preds = %340
  %342 = getelementptr inbounds i8, ptr %315, i64 32
  store float 0.000000e+00, ptr %342, align 8, !tbaa !140
  %343 = getelementptr inbounds i8, ptr %315, i64 24
  store float 0.000000e+00, ptr %343, align 8, !tbaa !141
  br label %344

344:                                              ; preds = %341, %340
  br i1 %.0295, label %348, label %345

345:                                              ; preds = %344
  %346 = getelementptr inbounds i8, ptr %315, i64 36
  store float 0.000000e+00, ptr %346, align 4, !tbaa !142
  %347 = getelementptr inbounds i8, ptr %315, i64 28
  store float 0.000000e+00, ptr %347, align 4, !tbaa !143
  br label %348

348:                                              ; preds = %345, %344
  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)
  %349 = load ptr, ptr %4, align 8, !tbaa !5
  %350 = getelementptr inbounds i8, ptr %349, i64 48
  %351 = load i64, ptr %10, align 8
  store i64 %351, ptr %350, align 8
  %352 = getelementptr inbounds i8, ptr %349, i64 40
  store i64 %351, ptr %352, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #14
  br label %353

353:                                              ; preds = %338, %348, %336
  %354 = phi ptr [ %315, %338 ], [ %349, %348 ], [ %315, %336 ]
  call void @_ZL16SetCurrentWindowP11ImGuiWindow(ptr noundef nonnull %354)
  br i1 %135, label %362, label %.thread428

.thread428:                                       ; preds = %353
  %355 = and i32 %.1, 134217728
  %.not349 = icmp eq i32 %355, 0
  %or.cond380 = and i1 %.not346, %.not349
  %.in.v = select i1 %or.cond380, i64 5528, i64 5492
  %.in = getelementptr inbounds i8, ptr %40, i64 %.in.v
  %356 = load float, ptr %.in, align 4, !tbaa !112
  %357 = load ptr, ptr %4, align 8, !tbaa !5
  %358 = getelementptr inbounds i8, ptr %357, i64 76
  store float %356, ptr %358, align 4, !tbaa !144
  %359 = getelementptr inbounds i8, ptr %40, i64 5480
  %360 = getelementptr inbounds i8, ptr %357, i64 64
  %361 = load i64, ptr %359, align 4
  store i64 %361, ptr %360, align 8
  br label %382

362:                                              ; preds = %353
  %363 = getelementptr inbounds i8, ptr %40, i64 5520
  %364 = load float, ptr %363, align 4, !tbaa !145
  %365 = load ptr, ptr %4, align 8, !tbaa !5
  %366 = getelementptr inbounds i8, ptr %365, i64 76
  store float %364, ptr %366, align 4, !tbaa !144
  %367 = getelementptr inbounds i8, ptr %40, i64 5480
  %368 = getelementptr inbounds i8, ptr %365, i64 64
  %369 = load i64, ptr %367, align 4
  store i64 %369, ptr %368, align 8
  %370 = and i32 %.1, 83951616
  %or.cond381 = icmp eq i32 %370, 16777216
  %371 = fcmp oeq float %364, 0.000000e+00
  %or.cond522 = select i1 %or.cond381, i1 %371, i1 false
  br i1 %or.cond522, label %372, label %382

372:                                              ; preds = %362
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #14
  %373 = and i32 %.1, 1024
  %.not351 = icmp eq i32 %373, 0
  br i1 %.not351, label %377, label %374

374:                                              ; preds = %372
  %375 = getelementptr inbounds i8, ptr %40, i64 5484
  %376 = load float, ptr %375, align 4, !tbaa !146
  br label %377

377:                                              ; preds = %372, %374
  %378 = phi float [ %376, %374 ], [ 0.000000e+00, %372 ]
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %11, float noundef 0.000000e+00, float noundef %378)
  %379 = load ptr, ptr %4, align 8, !tbaa !5
  %380 = getelementptr inbounds i8, ptr %379, i64 64
  %381 = load i64, ptr %11, align 8
  store i64 %381, ptr %380, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #14
  br label %382

382:                                              ; preds = %.thread428, %377, %362
  %.in515.in = phi i64 [ %361, %.thread428 ], [ %381, %377 ], [ %369, %362 ]
  %.in515 = trunc i64 %.in515.in to i32
  %383 = bitcast i32 %.in515 to float
  %384 = getelementptr inbounds i8, ptr %40, i64 5548
  %385 = load float, ptr %384, align 4, !tbaa !147
  %386 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %383, float noundef %385)
  %387 = getelementptr inbounds i8, ptr %40, i64 7532
  %388 = load float, ptr %387, align 4, !tbaa !148
  %389 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %386, float noundef %388)
  %390 = load ptr, ptr %4, align 8, !tbaa !5
  %391 = getelementptr inbounds i8, ptr %390, i64 308
  store float %389, ptr %391, align 4, !tbaa !149
  %392 = getelementptr inbounds i8, ptr %40, i64 7536
  %393 = load float, ptr %392, align 4, !tbaa !150
  %394 = getelementptr inbounds i8, ptr %390, i64 312
  store float %393, ptr %394, align 4, !tbaa !151
  %395 = and i32 %.1, 1
  %.not352 = icmp eq i32 %395, 0
  %396 = and i32 %.1, 33
  %or.cond382 = icmp eq i32 %396, 0
  br i1 %or.cond382, label %397, label %432

397:                                              ; preds = %382
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %12) #14
  %398 = call { <2 x float>, <2 x float> } @_ZNK11ImGuiWindow12TitleBarRectEv(ptr noundef nonnull align 8 dereferenceable(921) %390)
  %399 = extractvalue { <2 x float>, <2 x float> } %398, 0
  store <2 x float> %399, ptr %12, align 8
  %400 = getelementptr inbounds i8, ptr %12, i64 8
  %401 = extractvalue { <2 x float>, <2 x float> } %398, 1
  store <2 x float> %401, ptr %400, align 8
  %402 = getelementptr inbounds i8, ptr %40, i64 7192
  %403 = load ptr, ptr %402, align 8, !tbaa !152
  %404 = load ptr, ptr %4, align 8, !tbaa !5
  %405 = icmp eq ptr %403, %404
  br i1 %405, label %406, label %422

406:                                              ; preds = %397
  %407 = getelementptr inbounds i8, ptr %40, i64 7240
  %408 = load i32, ptr %407, align 8, !tbaa !153
  %409 = icmp eq i32 %408, 0
  br i1 %409, label %410, label %422

410:                                              ; preds = %406
  %411 = getelementptr inbounds i8, ptr %40, i64 7244
  %412 = load i32, ptr %411, align 4, !tbaa !154
  %413 = icmp eq i32 %412, 0
  br i1 %413, label %414, label %422

414:                                              ; preds = %410
  %415 = call noundef zeroext i1 @_ZN5ImGui19IsMouseHoveringRectERK6ImVec2S2_b(ptr noundef nonnull align 4 dereferenceable(8) %12, ptr noundef nonnull align 4 dereferenceable(8) %400, i1 noundef zeroext true)
  br i1 %415, label %416, label %._crit_edge469

._crit_edge469:                                   ; preds = %414
  %.pre470 = load ptr, ptr %4, align 8, !tbaa !5
  br label %422

416:                                              ; preds = %414
  %417 = getelementptr inbounds i8, ptr %40, i64 1061
  %418 = load i8, ptr %417, align 1, !tbaa !155, !range !70, !noundef !71
  %419 = trunc nuw i8 %418 to i1
  %.pre471 = load ptr, ptr %4, align 8, !tbaa !5
  br i1 %419, label %420, label %422

420:                                              ; preds = %416
  %421 = getelementptr inbounds i8, ptr %.pre471, i64 146
  store i8 1, ptr %421, align 2, !tbaa !156
  br label %422

422:                                              ; preds = %._crit_edge469, %420, %416, %410, %406, %397
  %423 = phi ptr [ %.pre470, %._crit_edge469 ], [ %.pre471, %420 ], [ %.pre471, %416 ], [ %404, %410 ], [ %404, %406 ], [ %404, %397 ]
  %424 = getelementptr inbounds i8, ptr %423, i64 146
  %425 = load i8, ptr %424, align 2, !tbaa !156, !range !70, !noundef !71
  %426 = trunc nuw i8 %425 to i1
  br i1 %426, label %427, label %431

427:                                              ; preds = %422
  %428 = getelementptr inbounds i8, ptr %423, i64 145
  %429 = load i8, ptr %428, align 1, !tbaa !157, !range !70, !noundef !71
  %430 = xor i8 %429, 1
  store i8 %430, ptr %428, align 1, !tbaa !157
  call void @_ZN5ImGui20MarkIniSettingsDirtyEP11ImGuiWindow(ptr noundef nonnull %423)
  %.pre472.pre = load ptr, ptr %4, align 8, !tbaa !5
  br label %431

431:                                              ; preds = %427, %422
  %.pre472 = phi ptr [ %.pre472.pre, %427 ], [ %423, %422 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #14
  br label %434

432:                                              ; preds = %382
  %433 = getelementptr inbounds i8, ptr %390, i64 145
  store i8 0, ptr %433, align 1, !tbaa !157
  br label %434

434:                                              ; preds = %432, %431
  %435 = phi ptr [ %390, %432 ], [ %.pre472, %431 ]
  %436 = getelementptr inbounds i8, ptr %435, i64 146
  store i8 0, ptr %436, align 2, !tbaa !156
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #14
  %437 = getelementptr inbounds i8, ptr %435, i64 48
  %438 = call <2 x float> @_ZL21CalcWindowAutoFitSizeP11ImGuiWindowRK6ImVec2(ptr noundef %435, ptr noundef nonnull align 4 dereferenceable(8) %437)
  store <2 x float> %438, ptr %13, align 8
  %439 = and i32 %.1, 64
  %.not354 = icmp ne i32 %439, 0
  %440 = extractelement <2 x float> %438, i64 0
  %441 = extractelement <2 x float> %438, i64 1
  %.pre473 = load ptr, ptr %4, align 8, !tbaa !5
  br i1 %.not354, label %442, label %452

442:                                              ; preds = %434
  %443 = getelementptr inbounds i8, ptr %.pre473, i64 145
  %444 = load i8, ptr %443, align 1, !tbaa !157, !range !70, !noundef !71
  %445 = trunc nuw i8 %444 to i1
  br i1 %445, label %452, label %446

446:                                              ; preds = %442
  br i1 %.0294, label %449, label %447

447:                                              ; preds = %446
  %448 = getelementptr inbounds i8, ptr %.pre473, i64 32
  store float %440, ptr %448, align 8, !tbaa !140
  br label %449

449:                                              ; preds = %447, %446
  %.0298 = phi i1 [ %57, %446 ], [ true, %447 ]
  br i1 %.0295, label %501, label %450

450:                                              ; preds = %449
  %451 = getelementptr inbounds i8, ptr %.pre473, i64 36
  store float %441, ptr %451, align 4, !tbaa !142
  br label %501

452:                                              ; preds = %442, %434
  %453 = getelementptr inbounds i8, ptr %.pre473, i64 168
  %454 = load i8, ptr %453, align 8, !tbaa !158
  %455 = icmp sgt i8 %454, 0
  br i1 %455, label %460, label %456

456:                                              ; preds = %452
  %457 = getelementptr inbounds i8, ptr %.pre473, i64 169
  %458 = load i8, ptr %457, align 1, !tbaa !159
  %459 = icmp sgt i8 %458, 0
  br i1 %459, label %.thread432, label %501

460:                                              ; preds = %452
  br i1 %.0294, label %.thread432, label %461

461:                                              ; preds = %460
  %462 = getelementptr inbounds i8, ptr %.pre473, i64 171
  %463 = load i8, ptr %462, align 1, !tbaa !160, !range !70, !noundef !71
  %464 = trunc nuw i8 %463 to i1
  br i1 %464, label %465, label %469

465:                                              ; preds = %461
  %466 = getelementptr inbounds i8, ptr %.pre473, i64 32
  %467 = load float, ptr %466, align 8, !tbaa !140
  %468 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %467, float noundef %440)
  %.pre474 = load ptr, ptr %4, align 8, !tbaa !5
  br label %469

469:                                              ; preds = %461, %465
  %470 = phi ptr [ %.pre474, %465 ], [ %.pre473, %461 ]
  %471 = phi float [ %468, %465 ], [ %440, %461 ]
  %472 = getelementptr inbounds i8, ptr %470, i64 32
  store float %471, ptr %472, align 8, !tbaa !140
  br label %.thread432

.thread432:                                       ; preds = %456, %469, %460
  %473 = phi ptr [ %.pre473, %460 ], [ %470, %469 ], [ %.pre473, %456 ]
  %.1299 = phi i1 [ %57, %460 ], [ true, %469 ], [ %57, %456 ]
  br i1 %.0295, label %495, label %474

474:                                              ; preds = %.thread432
  %475 = getelementptr inbounds i8, ptr %473, i64 169
  %476 = load i8, ptr %475, align 1, !tbaa !159
  %477 = icmp sgt i8 %476, 0
  br i1 %477, label %478, label %495

478:                                              ; preds = %474
  %479 = getelementptr inbounds i8, ptr %473, i64 171
  %480 = load i8, ptr %479, align 1, !tbaa !160, !range !70, !noundef !71
  %481 = trunc nuw i8 %480 to i1
  br i1 %481, label %482, label %488

482:                                              ; preds = %478
  %483 = getelementptr inbounds i8, ptr %473, i64 36
  %484 = load float, ptr %483, align 4, !tbaa !142
  %485 = getelementptr inbounds i8, ptr %13, i64 4
  %486 = load float, ptr %485, align 4, !tbaa !161
  %487 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %484, float noundef %486)
  %.pre475 = load ptr, ptr %4, align 8, !tbaa !5
  br label %491

488:                                              ; preds = %478
  %489 = getelementptr inbounds i8, ptr %13, i64 4
  %490 = load float, ptr %489, align 4, !tbaa !161
  br label %491

491:                                              ; preds = %488, %482
  %492 = phi ptr [ %.pre475, %482 ], [ %473, %488 ]
  %493 = phi float [ %487, %482 ], [ %490, %488 ]
  %494 = getelementptr inbounds i8, ptr %492, i64 36
  store float %493, ptr %494, align 4, !tbaa !142
  br label %495

495:                                              ; preds = %491, %474, %.thread432
  %496 = phi ptr [ %473, %.thread432 ], [ %492, %491 ], [ %473, %474 ]
  %.0300 = phi i1 [ %57, %.thread432 ], [ true, %491 ], [ %57, %474 ]
  %497 = getelementptr inbounds i8, ptr %496, i64 145
  %498 = load i8, ptr %497, align 1, !tbaa !157, !range !70, !noundef !71
  %499 = trunc nuw i8 %498 to i1
  br i1 %499, label %501, label %500

500:                                              ; preds = %495
  call void @_ZN5ImGui20MarkIniSettingsDirtyEP11ImGuiWindow(ptr noundef nonnull %496)
  %.pre476 = load ptr, ptr %4, align 8, !tbaa !5
  br label %501

501:                                              ; preds = %456, %500, %495, %449, %450
  %502 = phi ptr [ %496, %495 ], [ %.pre476, %500 ], [ %.pre473, %456 ], [ %.pre473, %449 ], [ %.pre473, %450 ]
  %.1301 = phi i1 [ %.0300, %495 ], [ %.0300, %500 ], [ %57, %456 ], [ %57, %449 ], [ true, %450 ]
  %.2 = phi i1 [ %.1299, %495 ], [ %.1299, %500 ], [ %57, %456 ], [ %.0298, %449 ], [ %.0298, %450 ]
  %503 = getelementptr inbounds i8, ptr %502, i64 32
  %504 = call <2 x float> @_ZL29CalcWindowSizeAfterConstraintP11ImGuiWindowRK6ImVec2(ptr noundef %502, ptr noundef nonnull align 4 dereferenceable(8) %503)
  %505 = load ptr, ptr %4, align 8, !tbaa !5
  %506 = getelementptr inbounds i8, ptr %505, i64 32
  store <2 x float> %504, ptr %506, align 8
  %507 = getelementptr inbounds i8, ptr %505, i64 145
  %508 = load i8, ptr %507, align 1, !tbaa !157, !range !70, !noundef !71
  %509 = trunc nuw i8 %508 to i1
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %14) #14
  %.not383 = xor i1 %509, true
  %brmerge384 = select i1 %.not383, i1 true, i1 %135
  br i1 %brmerge384, label %516, label %510

510:                                              ; preds = %501
  %511 = call { <2 x float>, <2 x float> } @_ZNK11ImGuiWindow12TitleBarRectEv(ptr noundef nonnull align 8 dereferenceable(921) %505)
  %512 = extractvalue { <2 x float>, <2 x float> } %511, 0
  store <2 x float> %512, ptr %14, align 8
  %513 = getelementptr inbounds i8, ptr %14, i64 8
  %514 = extractvalue { <2 x float>, <2 x float> } %511, 1
  store <2 x float> %514, ptr %513, align 8
  %515 = call <2 x float> @_ZNK6ImRect7GetSizeEv(ptr noundef nonnull align 4 dereferenceable(16) %14)
  %.pre477 = load ptr, ptr %4, align 8, !tbaa !5
  br label %516

516:                                              ; preds = %501, %510
  %517 = phi ptr [ %.pre477, %510 ], [ %505, %501 ]
  %.sroa.048.0 = phi <2 x float> [ %515, %510 ], [ %504, %501 ]
  %518 = getelementptr inbounds i8, ptr %517, i64 24
  store <2 x float> %.sroa.048.0, ptr %518, align 8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %14) #14
  %519 = call noundef float @_ZNK11ImGuiWindow14TitleBarHeightEv(ptr noundef nonnull align 8 dereferenceable(921) %517)
  %520 = load ptr, ptr %4, align 8, !tbaa !5
  %521 = call noundef float @_ZNK11ImGuiWindow13MenuBarHeightEv(ptr noundef nonnull align 8 dereferenceable(921) %520)
  %522 = fadd float %519, %521
  br i1 %.0292.in426, label %523, label %534

523:                                              ; preds = %516
  %524 = load ptr, ptr %4, align 8, !tbaa !5
  %525 = getelementptr inbounds i8, ptr %524, i64 172
  store i32 -1, ptr %525, align 4, !tbaa !162
  %526 = and i32 %.1, 201326592
  %or.cond385.not456 = icmp ne i32 %526, 67108864
  %brmerge386 = or i1 %or.cond385.not456, %.0293.shrunk
  br i1 %brmerge386, label %534, label %527

527:                                              ; preds = %523
  %528 = getelementptr inbounds i8, ptr %40, i64 7656
  %529 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZN8ImVectorI14ImGuiPopupDataE4backEv(ptr noundef nonnull align 8 dereferenceable(16) %528)
  %530 = getelementptr inbounds i8, ptr %529, i64 32
  %531 = load ptr, ptr %4, align 8, !tbaa !5
  %532 = getelementptr inbounds i8, ptr %531, i64 16
  %533 = load i64, ptr %530, align 8
  store i64 %533, ptr %532, align 8
  br label %534

534:                                              ; preds = %523, %527, %516
  br i1 %135, label %535, label %._crit_edge478

._crit_edge478:                                   ; preds = %534
  %.pre479 = load ptr, ptr %4, align 8, !tbaa !5
  br label %550

535:                                              ; preds = %534
  br i1 %133, label %.critedge2, label %536

536:                                              ; preds = %535
  %537 = getelementptr inbounds i8, ptr %132, i64 142
  %538 = load i8, ptr %537, align 2, !tbaa !126, !range !70, !noundef !71
  %539 = trunc nuw i8 %538 to i1
  br i1 %539, label %540, label %.critedge2

.critedge2:                                       ; preds = %535, %536
  call void @__assert_fail(ptr noundef nonnull @.str.114, ptr noundef nonnull @.str.3, i32 noundef 6055, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5ImGui5BeginEPKcPbi) #13
  unreachable

540:                                              ; preds = %536
  %541 = getelementptr inbounds i8, ptr %132, i64 352
  %542 = load i32, ptr %541, align 8, !tbaa !163
  %543 = trunc i32 %542 to i16
  %544 = load ptr, ptr %4, align 8, !tbaa !5
  %545 = getelementptr inbounds i8, ptr %544, i64 156
  store i16 %543, ptr %545, align 4, !tbaa !101
  call void @_ZN8ImVectorIP11ImGuiWindowE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %541, ptr noundef nonnull align 8 dereferenceable(8) %4)
  %.not334.not387 = xor i1 %.not334, true
  %brmerge388 = or i1 %.0293.shrunk, %.not334.not387
  %brmerge389 = select i1 %brmerge388, i1 true, i1 %270
  %.pre480 = load ptr, ptr %4, align 8, !tbaa !5
  br i1 %brmerge389, label %550, label %546

546:                                              ; preds = %540
  %547 = getelementptr inbounds i8, ptr %132, i64 216
  %548 = getelementptr inbounds i8, ptr %.pre480, i64 16
  %549 = load i64, ptr %547, align 8
  store i64 %549, ptr %548, align 8
  br label %550

550:                                              ; preds = %._crit_edge478, %540, %546
  %551 = phi ptr [ %.pre479, %._crit_edge478 ], [ %.pre480, %540 ], [ %.pre480, %546 ]
  %552 = getelementptr inbounds i8, ptr %551, i64 184
  %553 = load float, ptr %552, align 8, !tbaa !164
  %554 = fcmp une float %553, 0x47EFFFFFE0000000
  br i1 %554, label %555, label %.critedge391

555:                                              ; preds = %550
  %556 = getelementptr inbounds i8, ptr %551, i64 177
  %557 = load i8, ptr %556, align 1, !tbaa !137
  %558 = icmp eq i8 %557, 0
  br i1 %558, label %559, label %.critedge391

559:                                              ; preds = %555
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #14
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #14
  %560 = getelementptr inbounds i8, ptr %551, i64 24
  %561 = getelementptr inbounds i8, ptr %551, i64 192
  %562 = call <2 x float> @_ZmlRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %560, ptr noundef nonnull align 4 dereferenceable(8) %561)
  store <2 x float> %562, ptr %16, align 8
  %563 = call <2 x float> @_ZmiRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %552, ptr noundef nonnull align 4 dereferenceable(8) %16)
  store <2 x float> %563, ptr %15, align 8
  call void @_ZN5ImGui12SetWindowPosEP11ImGuiWindowRK6ImVec2i(ptr noundef nonnull %551, ptr noundef nonnull align 4 dereferenceable(8) %15, i32 noundef 0)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #14
  br label %579

.critedge391:                                     ; preds = %550, %555
  %564 = and i32 %.1, 268435456
  %.not356 = icmp eq i32 %564, 0
  br i1 %.not356, label %569, label %565

565:                                              ; preds = %.critedge391
  %566 = call <2 x float> @_ZN5ImGui25FindBestWindowPosForPopupEP11ImGuiWindow(ptr noundef nonnull %551)
  %567 = load ptr, ptr %4, align 8, !tbaa !5
  %568 = getelementptr inbounds i8, ptr %567, i64 16
  store <2 x float> %566, ptr %568, align 8
  br label %579

569:                                              ; preds = %.critedge391
  %brmerge392 = or i1 %.not334, %.0293.shrunk
  %brmerge394 = select i1 %brmerge392, i1 true, i1 %312
  br i1 %brmerge394, label %574, label %570

570:                                              ; preds = %569
  %571 = call <2 x float> @_ZN5ImGui25FindBestWindowPosForPopupEP11ImGuiWindow(ptr noundef nonnull %551)
  %572 = load ptr, ptr %4, align 8, !tbaa !5
  %573 = getelementptr inbounds i8, ptr %572, i64 16
  store <2 x float> %571, ptr %573, align 8
  br label %579

574:                                              ; preds = %569
  %brmerge395 = or i1 %.not343, %.0293.shrunk
  %brmerge396 = select i1 %brmerge395, i1 true, i1 %270
  br i1 %brmerge396, label %579, label %575

575:                                              ; preds = %574
  %576 = call <2 x float> @_ZN5ImGui25FindBestWindowPosForPopupEP11ImGuiWindow(ptr noundef nonnull %551)
  %577 = load ptr, ptr %4, align 8, !tbaa !5
  %578 = getelementptr inbounds i8, ptr %577, i64 16
  store <2 x float> %576, ptr %578, align 8
  br label %579

579:                                              ; preds = %574, %565, %575, %570, %559
  %580 = call noundef ptr @_ZN5ImGui15GetMainViewportEv()
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %17) #14
  %581 = call { <2 x float>, <2 x float> } @_ZNK14ImGuiViewportP11GetMainRectEv(ptr noundef nonnull align 8 dereferenceable(176) %580)
  %582 = extractvalue { <2 x float>, <2 x float> } %581, 0
  store <2 x float> %582, ptr %17, align 8
  %583 = getelementptr inbounds i8, ptr %17, i64 8
  %584 = extractvalue { <2 x float>, <2 x float> } %581, 1
  store <2 x float> %584, ptr %583, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %18) #14
  %585 = call { <2 x float>, <2 x float> } @_ZNK14ImGuiViewportP11GetWorkRectEv(ptr noundef nonnull align 8 dereferenceable(176) %580)
  %586 = extractvalue { <2 x float>, <2 x float> } %585, 0
  store <2 x float> %586, ptr %18, align 8
  %587 = getelementptr inbounds i8, ptr %18, i64 8
  %588 = extractvalue { <2 x float>, <2 x float> } %585, 1
  store <2 x float> %588, ptr %587, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #14
  %589 = getelementptr inbounds i8, ptr %40, i64 5640
  %590 = getelementptr inbounds i8, ptr %40, i64 5648
  %591 = call <2 x float> @_ZL5ImMaxRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %589, ptr noundef nonnull align 4 dereferenceable(8) %590)
  store <2 x float> %591, ptr %19, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %20) #14
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %21) #14
  %592 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %18, ptr noundef nonnull align 4 dereferenceable(8) %19)
  store <2 x float> %592, ptr %21, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %22) #14
  %593 = call <2 x float> @_ZmiRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %587, ptr noundef nonnull align 4 dereferenceable(8) %19)
  store <2 x float> %593, ptr %22, align 8
  call void @_ZN6ImRectC2ERK6ImVec2S2_(ptr noundef nonnull align 4 dereferenceable(16) %20, ptr noundef nonnull align 4 dereferenceable(8) %21, ptr noundef nonnull align 4 dereferenceable(8) %22)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #14
  %brmerge397 = select i1 %.0293.shrunk, i1 true, i1 %135
  br i1 %brmerge397, label %611, label %594

594:                                              ; preds = %579
  %595 = load ptr, ptr %4, align 8, !tbaa !5
  %596 = getelementptr inbounds i8, ptr %595, i64 168
  %597 = load i8, ptr %596, align 8, !tbaa !158
  %598 = icmp slt i8 %597, 1
  br i1 %598, label %599, label %611

599:                                              ; preds = %594
  %600 = getelementptr inbounds i8, ptr %595, i64 169
  %601 = load i8, ptr %600, align 1, !tbaa !159
  %602 = icmp slt i8 %601, 1
  br i1 %602, label %603, label %611

603:                                              ; preds = %599
  %604 = call noundef float @_ZNK6ImRect8GetWidthEv(ptr noundef nonnull align 4 dereferenceable(16) %17)
  %605 = fcmp ogt float %604, 0.000000e+00
  br i1 %605, label %606, label %611

606:                                              ; preds = %603
  %607 = call noundef float @_ZNK6ImRect9GetHeightEv(ptr noundef nonnull align 4 dereferenceable(16) %17)
  %608 = fcmp ogt float %607, 0.000000e+00
  br i1 %608, label %609, label %611

609:                                              ; preds = %606
  %610 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZL15ClampWindowRectP11ImGuiWindowRK6ImRect(ptr noundef %610, ptr noundef nonnull align 4 dereferenceable(16) %20)
  br label %611

611:                                              ; preds = %579, %603, %606, %609, %599, %594
  %612 = load ptr, ptr %4, align 8, !tbaa !5
  %613 = getelementptr inbounds i8, ptr %612, i64 16
  %614 = call <2 x float> @_ZL7ImFloorRK6ImVec2(ptr noundef nonnull align 4 dereferenceable(8) %613)
  %615 = load ptr, ptr %4, align 8, !tbaa !5
  %616 = getelementptr inbounds i8, ptr %615, i64 16
  store <2 x float> %614, ptr %616, align 8
  %617 = and i32 %.1, 201326592
  %or.cond399.not.not = icmp eq i32 %617, 67108864
  %. = select i1 %or.cond399.not.not, i64 5524, i64 5488
  %.sink = select i1 %135, i64 5516, i64 %.
  %618 = getelementptr inbounds i8, ptr %40, i64 %.sink
  %619 = load float, ptr %618, align 4, !tbaa !112
  %620 = getelementptr inbounds i8, ptr %615, i64 72
  store float %619, ptr %620, align 8, !tbaa !165
  %621 = and i32 %.1, 4096
  %.not359 = icmp eq i32 %621, 0
  %or.cond400.not = select i1 %.0292.in426, i1 %.not359, i1 false
  %brmerge424.not = and i1 %.not334, %or.cond400.not
  %622 = icmp eq i32 %269, 0
  %spec.select451 = select i1 %brmerge424.not, i1 %622, i1 %or.cond400.not
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %23) #14
  store i32 -1, ptr %23, align 4, !tbaa !111
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %24) #14
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %24, i8 0, i64 16, i1 false)
  %623 = getelementptr inbounds i8, ptr %40, i64 204
  %624 = load i8, ptr %623, align 4, !tbaa !166, !range !70, !noundef !71
  %625 = trunc nuw i8 %624 to i1
  %626 = select i1 %625, i32 2, i32 1
  %627 = getelementptr inbounds i8, ptr %40, i64 6528
  %628 = load float, ptr %627, align 8, !tbaa !167
  %629 = fmul float %628, 0x3FF19999A0000000
  %630 = fadd float %619, 1.000000e+00
  %631 = call float @llvm.fmuladd.f32(float %628, float 0x3FC99999A0000000, float %630)
  %632 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %629, float noundef %631)
  %633 = fptosi float %632 to i32
  %634 = sitofp i32 %633 to float
  %635 = load ptr, ptr %4, align 8, !tbaa !5
  %636 = getelementptr inbounds i8, ptr %635, i64 145
  %637 = load i8, ptr %636, align 1, !tbaa !157, !range !70, !noundef !71
  %638 = trunc nuw i8 %637 to i1
  br i1 %638, label %641, label %639

639:                                              ; preds = %611
  %640 = call noundef zeroext i1 @_ZN5ImGuiL24UpdateWindowManualResizeEP11ImGuiWindowRK6ImVec2PiiPjRK6ImRect(ptr noundef nonnull %635, ptr noundef nonnull align 4 dereferenceable(8) %13, ptr noundef nonnull %23, i32 noundef %626, ptr noundef nonnull %24, ptr noundef nonnull align 4 dereferenceable(16) %20)
  %spec.select402 = or i1 %640, %.1301
  %spec.select403 = or i1 %640, %.2
  %.pre481 = load ptr, ptr %4, align 8, !tbaa !5
  %.phi.trans.insert = getelementptr inbounds i8, ptr %.pre481, i64 145
  %.pre482 = load i8, ptr %.phi.trans.insert, align 1, !tbaa !157, !range !70
  br label %641

641:                                              ; preds = %639, %611
  %642 = phi i8 [ %637, %611 ], [ %.pre482, %639 ]
  %643 = phi ptr [ %635, %611 ], [ %.pre481, %639 ]
  %.2302 = phi i1 [ %.1301, %611 ], [ %spec.select402, %639 ]
  %.3 = phi i1 [ %.2, %611 ], [ %spec.select403, %639 ]
  %644 = load i32, ptr %23, align 4, !tbaa !111
  %645 = trunc i32 %644 to i8
  %646 = getelementptr inbounds i8, ptr %643, i64 152
  store i8 %645, ptr %646, align 8, !tbaa !168
  %647 = trunc nuw i8 %642 to i1
  br i1 %647, label %738, label %648

648:                                              ; preds = %641
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %25) #14
  %649 = getelementptr inbounds i8, ptr %643, i64 32
  %650 = load float, ptr %649, align 8, !tbaa !140
  %651 = getelementptr inbounds i8, ptr %643, i64 36
  %652 = load float, ptr %651, align 4, !tbaa !142
  %653 = fsub float %652, %522
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %25, float noundef %650, float noundef %653)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %26) #14
  %654 = load ptr, ptr %4, align 8, !tbaa !5
  %655 = getelementptr inbounds i8, ptr %654, i64 456
  %656 = call <2 x float> @_ZNK6ImRect7GetSizeEv(ptr noundef nonnull align 4 dereferenceable(16) %655)
  store <2 x float> %656, ptr %26, align 8
  %657 = load ptr, ptr %4, align 8, !tbaa !5
  %658 = getelementptr inbounds i8, ptr %657, i64 132
  %659 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %26, ptr noundef nonnull align 4 dereferenceable(8) %658)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %26) #14
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %27) #14
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %28) #14
  br i1 %57, label %660, label %661

660:                                              ; preds = %648
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %27, float noundef 0.000000e+00, float noundef 0.000000e+00)
  br label %667

661:                                              ; preds = %648
  %662 = load ptr, ptr %4, align 8, !tbaa !5
  %663 = getelementptr inbounds i8, ptr %662, i64 40
  %664 = getelementptr inbounds i8, ptr %662, i64 64
  %665 = call <2 x float> @_ZmlRK6ImVec2f(ptr noundef nonnull align 4 dereferenceable(8) %664, float noundef 2.000000e+00)
  store <2 x float> %665, ptr %28, align 8
  %666 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %663, ptr noundef nonnull align 4 dereferenceable(8) %28)
  store <2 x float> %666, ptr %27, align 8
  br label %667

667:                                              ; preds = %661, %660
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %28) #14
  %668 = load float, ptr %25, align 4
  %.sroa.029.0.vec.extract = extractelement <2 x float> %659, i64 0
  %669 = select i1 %.3, float %668, float %.sroa.029.0.vec.extract
  %670 = getelementptr inbounds i8, ptr %25, i64 4
  %671 = load float, ptr %670, align 4
  %.sroa.029.4.vec.extract = extractelement <2 x float> %659, i64 1
  %672 = select i1 %.2302, float %671, float %.sroa.029.4.vec.extract
  %673 = and i32 %.1, 16384
  %.not360 = icmp eq i32 %673, 0
  br i1 %.not360, label %674, label %.thread433

674:                                              ; preds = %667
  %675 = getelementptr inbounds i8, ptr %27, i64 4
  %676 = load float, ptr %675, align 4, !tbaa !161
  %677 = fcmp ogt float %676, %672
  %678 = and i32 %.1, 8
  %.not361 = icmp eq i32 %678, 0
  %679 = select i1 %677, i1 %.not361, i1 false
  %680 = load ptr, ptr %4, align 8, !tbaa !5
  %681 = getelementptr inbounds i8, ptr %680, i64 141
  %682 = zext i1 %679 to i8
  store i8 %682, ptr %681, align 1, !tbaa !169
  %683 = and i32 %.1, 32768
  %.not362 = icmp eq i32 %683, 0
  br i1 %.not362, label %689, label %.thread438

.thread433:                                       ; preds = %667
  %684 = load ptr, ptr %4, align 8, !tbaa !5
  %685 = getelementptr inbounds i8, ptr %684, i64 141
  store i8 1, ptr %685, align 1, !tbaa !169
  %686 = and i32 %.1, 32768
  %.not362434 = icmp eq i32 %686, 0
  br i1 %.not362434, label %.thread435, label %.thread438.thread

.thread438.thread:                                ; preds = %.thread433
  %687 = getelementptr inbounds i8, ptr %684, i64 140
  store i8 1, ptr %687, align 4, !tbaa !170
  br label %.thread521

.thread435:                                       ; preds = %.thread433
  %688 = load float, ptr %27, align 8, !tbaa !171
  %.pre514 = and i32 %.1, 8
  br label %691

689:                                              ; preds = %674
  %690 = load float, ptr %27, align 8, !tbaa !171
  br i1 %679, label %691, label %697

691:                                              ; preds = %.thread435, %689
  %.pre512.pre-phi = phi i32 [ %.pre514, %.thread435 ], [ 0, %689 ]
  %692 = phi float [ %688, %.thread435 ], [ %690, %689 ]
  %693 = phi ptr [ %684, %.thread435 ], [ %680, %689 ]
  %694 = phi ptr [ %685, %.thread435 ], [ %681, %689 ]
  %695 = getelementptr inbounds i8, ptr %40, i64 5588
  %696 = load float, ptr %695, align 4, !tbaa !172
  br label %697

697:                                              ; preds = %689, %691
  %.pre-phi = phi i32 [ %678, %689 ], [ %.pre512.pre-phi, %691 ]
  %698 = phi i8 [ 0, %689 ], [ 1, %691 ]
  %699 = phi float [ %690, %689 ], [ %692, %691 ]
  %700 = phi i1 [ false, %689 ], [ true, %691 ]
  %701 = phi ptr [ %680, %689 ], [ %693, %691 ]
  %702 = phi ptr [ %681, %689 ], [ %694, %691 ]
  %703 = phi float [ 0.000000e+00, %689 ], [ %696, %691 ]
  %704 = fsub float %669, %703
  %705 = fcmp ogt float %699, %704
  %.not363 = icmp eq i32 %.pre-phi, 0
  %or.cond404 = select i1 %705, i1 %.not363, i1 false
  br i1 %or.cond404, label %708, label %.thread439

.thread439:                                       ; preds = %697
  %706 = getelementptr inbounds i8, ptr %701, i64 140
  store i8 0, ptr %706, align 4, !tbaa !170
  br label %720

.thread438:                                       ; preds = %674
  %707 = getelementptr inbounds i8, ptr %680, i64 140
  store i8 1, ptr %707, align 4, !tbaa !170
  br i1 %679, label %.thread521, label %712

708:                                              ; preds = %697
  %709 = and i32 %.1, 2048
  %.not457 = icmp eq i32 %709, 0
  %710 = getelementptr inbounds i8, ptr %701, i64 140
  %.lobit = lshr exact i32 %709, 11
  %711 = trunc nuw nsw i32 %.lobit to i8
  store i8 %711, ptr %710, align 4, !tbaa !170
  %brmerge453 = or i1 %.not457, %700
  %not..not457 = xor i1 %.not457, true
  br i1 %brmerge453, label %720, label %._crit_edge483

._crit_edge483:                                   ; preds = %708
  %.phi.trans.insert484 = getelementptr inbounds i8, ptr %27, i64 4
  %.pre485 = load float, ptr %.phi.trans.insert484, align 4, !tbaa !161
  br label %712

712:                                              ; preds = %._crit_edge483, %.thread438
  %.pre-phi513 = phi i32 [ 0, %._crit_edge483 ], [ %678, %.thread438 ]
  %713 = phi float [ %.pre485, %._crit_edge483 ], [ %676, %.thread438 ]
  %714 = phi ptr [ %702, %._crit_edge483 ], [ %681, %.thread438 ]
  %715 = fcmp ogt float %713, %672
  %.not364 = icmp eq i32 %.pre-phi513, 0
  %716 = select i1 %715, i1 %.not364, i1 false
  %717 = zext i1 %716 to i8
  store i8 %717, ptr %714, align 1, !tbaa !169
  br label %720

.thread521:                                       ; preds = %.thread438.thread, %.thread438
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %29) #14
  %718 = getelementptr inbounds i8, ptr %40, i64 5588
  %719 = load float, ptr %718, align 4, !tbaa !172
  br label %728

720:                                              ; preds = %708, %.thread439, %712
  %721 = phi i8 [ %717, %712 ], [ %698, %708 ], [ %698, %.thread439 ]
  %722 = phi i1 [ true, %712 ], [ %not..not457, %708 ], [ false, %.thread439 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %29) #14
  %723 = trunc nuw i8 %721 to i1
  br i1 %723, label %724, label %727

724:                                              ; preds = %720
  %725 = getelementptr inbounds i8, ptr %40, i64 5588
  %726 = load float, ptr %725, align 4, !tbaa !172
  br i1 %722, label %728, label %732

727:                                              ; preds = %720
  br i1 %722, label %728, label %732

728:                                              ; preds = %.thread521, %724, %727
  %729 = phi float [ %726, %724 ], [ 0.000000e+00, %727 ], [ %719, %.thread521 ]
  %730 = getelementptr inbounds i8, ptr %40, i64 5588
  %731 = load float, ptr %730, align 4, !tbaa !172
  br label %732

732:                                              ; preds = %724, %727, %728
  %733 = phi float [ %729, %728 ], [ 0.000000e+00, %727 ], [ %726, %724 ]
  %734 = phi float [ %731, %728 ], [ 0.000000e+00, %727 ], [ 0.000000e+00, %724 ]
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %29, float noundef %733, float noundef %734)
  %735 = load ptr, ptr %4, align 8, !tbaa !5
  %736 = getelementptr inbounds i8, ptr %735, i64 132
  %737 = load i64, ptr %29, align 8
  store i64 %737, ptr %736, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %29) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %27) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %25) #14
  br label %738

738:                                              ; preds = %732, %641
  %739 = phi ptr [ %735, %732 ], [ %643, %641 ]
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %30) #14
  %740 = and i32 %.1, 83886080
  %brmerge407.demorgan = icmp ne i32 %740, 16777216
  %741 = getelementptr inbounds i8, ptr %132, i64 520
  %742 = or i1 %brmerge407.demorgan, %270
  %743 = select i1 %742, ptr %17, ptr %741
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(16) %30, ptr noundef nonnull align 4 dereferenceable(16) %743, i64 16, i1 false), !tbaa.struct !128
  %744 = call { <2 x float>, <2 x float> } @_ZNK11ImGuiWindow4RectEv(ptr noundef nonnull align 8 dereferenceable(921) %739)
  %745 = extractvalue { <2 x float>, <2 x float> } %744, 0
  %746 = extractvalue { <2 x float>, <2 x float> } %744, 1
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %31) #14
  %747 = load ptr, ptr %4, align 8, !tbaa !5
  %748 = call { <2 x float>, <2 x float> } @_ZNK11ImGuiWindow12TitleBarRectEv(ptr noundef nonnull align 8 dereferenceable(921) %747)
  %749 = extractvalue { <2 x float>, <2 x float> } %748, 0
  store <2 x float> %749, ptr %31, align 8
  %750 = getelementptr inbounds i8, ptr %31, i64 8
  %751 = extractvalue { <2 x float>, <2 x float> } %748, 1
  store <2 x float> %751, ptr %750, align 8
  %752 = load ptr, ptr %4, align 8, !tbaa !5
  %753 = getelementptr inbounds i8, ptr %752, i64 440
  store <2 x float> %745, ptr %753, align 8
  %.sroa.4.0..sroa_idx = getelementptr inbounds i8, ptr %752, i64 448
  store <2 x float> %746, ptr %.sroa.4.0..sroa_idx, align 8
  call void @_ZN6ImRect8ClipWithERKS_(ptr noundef nonnull align 4 dereferenceable(16) %753, ptr noundef nonnull align 4 dereferenceable(16) %30)
  %754 = load ptr, ptr %4, align 8
  %755 = getelementptr inbounds i8, ptr %754, i64 16
  %756 = getelementptr inbounds i8, ptr %754, i64 456
  %757 = getelementptr inbounds i8, ptr %754, i64 460
  %758 = getelementptr inbounds i8, ptr %754, i64 24
  %759 = getelementptr inbounds i8, ptr %754, i64 132
  %760 = getelementptr inbounds i8, ptr %754, i64 464
  %761 = load <2 x float>, ptr %755, align 8, !tbaa !112
  %762 = extractelement <2 x float> %761, i64 0
  store float %762, ptr %756, align 8, !tbaa !173
  %763 = extractelement <2 x float> %761, i64 1
  %764 = fadd float %522, %763
  store float %764, ptr %757, align 4, !tbaa !174
  %765 = load <2 x float>, ptr %758, align 8, !tbaa !112
  %766 = fadd <2 x float> %761, %765
  %767 = load <2 x float>, ptr %759, align 4, !tbaa !112
  %768 = fsub <2 x float> %766, %767
  store <2 x float> %768, ptr %760, align 8, !tbaa !112
  %769 = and i32 %.1, 1025
  %brmerge409.not = icmp eq i32 %769, 1
  %770 = getelementptr inbounds i8, ptr %40, i64 5544
  %771 = getelementptr inbounds i8, ptr %754, i64 76
  %.in366 = select i1 %brmerge409.not, ptr %771, ptr %770
  %772 = load float, ptr %.in366, align 4, !tbaa !112
  %773 = fadd float %762, 5.000000e-01
  %774 = getelementptr inbounds i8, ptr %754, i64 64
  %775 = load float, ptr %774, align 8, !tbaa !175
  %776 = fmul float %775, 5.000000e-01
  %777 = call noundef float @_ZL7ImFloorf(float noundef %776)
  %778 = load ptr, ptr %4, align 8, !tbaa !5
  %779 = getelementptr inbounds i8, ptr %778, i64 76
  %780 = load float, ptr %779, align 4, !tbaa !144
  %781 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %777, float noundef %780)
  %782 = fadd float %773, %781
  %783 = call noundef float @_ZL7ImFloorf(float noundef %782)
  %784 = load ptr, ptr %4, align 8, !tbaa !5
  %785 = getelementptr inbounds i8, ptr %784, i64 472
  store float %783, ptr %785, align 8, !tbaa !176
  %786 = getelementptr inbounds i8, ptr %784, i64 460
  %787 = load float, ptr %786, align 4, !tbaa !174
  %788 = fadd float %787, 5.000000e-01
  %789 = fadd float %772, %788
  %790 = call noundef float @_ZL7ImFloorf(float noundef %789)
  %791 = load ptr, ptr %4, align 8, !tbaa !5
  %792 = getelementptr inbounds i8, ptr %791, i64 476
  store float %790, ptr %792, align 4, !tbaa !177
  %793 = getelementptr inbounds i8, ptr %791, i64 464
  %794 = load float, ptr %793, align 8, !tbaa !178
  %795 = fadd float %794, 5.000000e-01
  %796 = getelementptr inbounds i8, ptr %791, i64 64
  %797 = load float, ptr %796, align 8, !tbaa !175
  %798 = fmul float %797, 5.000000e-01
  %799 = call noundef float @_ZL7ImFloorf(float noundef %798)
  %800 = load ptr, ptr %4, align 8, !tbaa !5
  %801 = getelementptr inbounds i8, ptr %800, i64 76
  %802 = load float, ptr %801, align 4, !tbaa !144
  %803 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %799, float noundef %802)
  %804 = fsub float %795, %803
  %805 = call noundef float @_ZL7ImFloorf(float noundef %804)
  %806 = load ptr, ptr %4, align 8, !tbaa !5
  %807 = getelementptr inbounds i8, ptr %806, i64 480
  store float %805, ptr %807, align 8, !tbaa !179
  %808 = getelementptr inbounds i8, ptr %806, i64 468
  %809 = load float, ptr %808, align 4, !tbaa !180
  %810 = fadd float %809, 5.000000e-01
  %811 = getelementptr inbounds i8, ptr %806, i64 76
  %812 = load float, ptr %811, align 4, !tbaa !144
  %813 = fsub float %810, %812
  %814 = call noundef float @_ZL7ImFloorf(float noundef %813)
  %815 = load ptr, ptr %4, align 8, !tbaa !5
  %816 = getelementptr inbounds i8, ptr %815, i64 484
  store float %814, ptr %816, align 4, !tbaa !181
  %817 = getelementptr inbounds i8, ptr %815, i64 472
  call void @_ZN6ImRect12ClipWithFullERKS_(ptr noundef nonnull align 4 dereferenceable(16) %817, ptr noundef nonnull align 4 dereferenceable(16) %30)
  %818 = load ptr, ptr %4, align 8, !tbaa !5
  %819 = getelementptr inbounds i8, ptr %818, i64 24
  %820 = load float, ptr %819, align 8, !tbaa !141
  %821 = fcmp ule float %820, 0.000000e+00
  %.not343.not = xor i1 %.not343, true
  %brmerge411 = select i1 %821, i1 true, i1 %.not343.not
  %brmerge412 = or i1 %.not354, %brmerge411
  br i1 %brmerge412, label %824, label %822

822:                                              ; preds = %738
  %823 = fmul float %820, 0x3FE4CCCCC0000000
  br label %827

824:                                              ; preds = %738
  %825 = load float, ptr %627, align 8, !tbaa !167
  %826 = fmul float %825, 1.600000e+01
  br label %827

827:                                              ; preds = %824, %822
  %.sink526 = phi float [ %826, %824 ], [ %823, %822 ]
  %828 = call noundef float @_ZL7ImFloorf(float noundef %.sink526)
  %.sink525 = load ptr, ptr %4, align 8, !tbaa !5
  %829 = getelementptr inbounds i8, ptr %.sink525, i64 568
  store float %828, ptr %829, align 8, !tbaa !182
  %830 = getelementptr inbounds i8, ptr %.sink525, i64 40
  %831 = load float, ptr %830, align 8, !tbaa !183
  %832 = getelementptr inbounds i8, ptr %.sink525, i64 64
  %833 = load float, ptr %832, align 8, !tbaa !175
  %834 = call float @llvm.fmuladd.f32(float %833, float 2.000000e+00, float %831)
  %835 = getelementptr inbounds i8, ptr %.sink525, i64 456
  %836 = call noundef float @_ZNK6ImRect8GetWidthEv(ptr noundef nonnull align 4 dereferenceable(16) %835)
  %837 = fsub float %834, %836
  %838 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef 0.000000e+00, float noundef %837)
  %839 = load ptr, ptr %4, align 8, !tbaa !5
  %840 = getelementptr inbounds i8, ptr %839, i64 100
  store float %838, ptr %840, align 4, !tbaa !184
  %841 = getelementptr inbounds i8, ptr %839, i64 44
  %842 = load float, ptr %841, align 4, !tbaa !185
  %843 = getelementptr inbounds i8, ptr %839, i64 68
  %844 = load float, ptr %843, align 4, !tbaa !186
  %845 = call float @llvm.fmuladd.f32(float %844, float 2.000000e+00, float %842)
  %846 = getelementptr inbounds i8, ptr %839, i64 456
  %847 = call noundef float @_ZNK6ImRect9GetHeightEv(ptr noundef nonnull align 4 dereferenceable(16) %846)
  %848 = fsub float %845, %847
  %849 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef 0.000000e+00, float noundef %848)
  %850 = load ptr, ptr %4, align 8, !tbaa !5
  %851 = getelementptr inbounds i8, ptr %850, i64 104
  store float %849, ptr %851, align 4, !tbaa !187
  %852 = call <2 x float> @_ZL38CalcNextScrollFromScrollTargetAndClampP11ImGuiWindow(ptr noundef %850)
  %853 = load ptr, ptr %4, align 8, !tbaa !5
  %854 = getelementptr inbounds i8, ptr %853, i64 92
  store <2 x float> %852, ptr %854, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %32) #14
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %32, float noundef 0x47EFFFFFE0000000, float noundef 0x47EFFFFFE0000000)
  %855 = load ptr, ptr %4, align 8, !tbaa !5
  %856 = getelementptr inbounds i8, ptr %855, i64 108
  %857 = load i64, ptr %32, align 8
  store i64 %857, ptr %856, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %32) #14
  %858 = getelementptr inbounds i8, ptr %855, i64 616
  %859 = load ptr, ptr %858, align 8, !tbaa !129
  %860 = load i32, ptr %859, align 8, !tbaa !188
  %861 = icmp eq i32 %860, 1
  br i1 %861, label %862, label %.critedge4

862:                                              ; preds = %827
  %863 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZN8ImVectorI9ImDrawCmdEixEi(ptr noundef nonnull align 8 dereferenceable(16) %859, i32 noundef 0)
  %864 = getelementptr inbounds i8, ptr %863, i64 32
  %865 = load i32, ptr %864, align 8, !tbaa !189
  %866 = icmp eq i32 %865, 0
  br i1 %866, label %867, label %.critedge4

.critedge4:                                       ; preds = %827, %862
  call void @__assert_fail(ptr noundef nonnull @.str.115, ptr noundef nonnull @.str.3, i32 noundef 6196, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5ImGui5BeginEPKcPbi) #13
  unreachable

867:                                              ; preds = %862
  %868 = load ptr, ptr %4, align 8, !tbaa !5
  %869 = getelementptr inbounds i8, ptr %868, i64 616
  %870 = load ptr, ptr %869, align 8, !tbaa !129
  %871 = getelementptr inbounds i8, ptr %40, i64 6520
  %872 = load ptr, ptr %871, align 8, !tbaa !191
  %873 = getelementptr inbounds i8, ptr %872, i64 64
  %874 = load ptr, ptr %873, align 8, !tbaa !192
  %875 = getelementptr inbounds i8, ptr %874, i64 8
  %876 = load ptr, ptr %875, align 8, !tbaa !193
  call void @_ZN10ImDrawList13PushTextureIDEPv(ptr noundef nonnull align 8 dereferenceable(196) %870, ptr noundef %876)
  %877 = getelementptr inbounds i8, ptr %30, i64 8
  call void @_ZN5ImGui12PushClipRectERK6ImVec2S2_b(ptr noundef nonnull align 4 dereferenceable(8) %30, ptr noundef nonnull align 4 dereferenceable(8) %877, i1 noundef zeroext false)
  %878 = and i32 %.1, 134217728
  %.not367 = icmp eq i32 %878, 0
  br i1 %.not367, label %888, label %879

879:                                              ; preds = %867
  %880 = load ptr, ptr %4, align 8, !tbaa !5
  %881 = call noundef ptr @_ZN5ImGui20GetTopMostPopupModalEv()
  %882 = icmp eq ptr %880, %881
  br i1 %882, label %883, label %888

883:                                              ; preds = %879
  %884 = load ptr, ptr %4, align 8, !tbaa !5
  %885 = getelementptr inbounds i8, ptr %884, i64 177
  %886 = load i8, ptr %885, align 1, !tbaa !137
  %887 = icmp slt i8 %886, 1
  br label %888

888:                                              ; preds = %883, %879, %867
  %889 = phi i1 [ false, %879 ], [ false, %867 ], [ %887, %883 ]
  %890 = getelementptr inbounds i8, ptr %40, i64 7992
  %891 = load ptr, ptr %890, align 8, !tbaa !197
  %.not368 = icmp eq ptr %891, null
  br i1 %.not368, label %897, label %892

892:                                              ; preds = %888
  %893 = load ptr, ptr %4, align 8, !tbaa !5
  %894 = getelementptr inbounds i8, ptr %891, i64 832
  %895 = load ptr, ptr %894, align 8, !tbaa !198
  %896 = icmp eq ptr %893, %895
  br label %897

897:                                              ; preds = %892, %888
  %898 = phi i1 [ false, %888 ], [ %896, %892 ]
  %brmerge413 = select i1 %889, i1 true, i1 %898
  br i1 %brmerge413, label %899, label %906

899:                                              ; preds = %897
  %.mux = select i1 %889, i32 52, i32 51
  %900 = getelementptr inbounds i8, ptr %40, i64 8052
  %901 = load float, ptr %900, align 4, !tbaa !199
  %902 = call noundef i32 @_ZN5ImGui11GetColorU32Eif(i32 noundef %.mux, float noundef %901)
  %903 = load ptr, ptr %4, align 8, !tbaa !5
  %904 = getelementptr inbounds i8, ptr %903, i64 616
  %905 = load ptr, ptr %904, align 8, !tbaa !129
  call void @_ZN10ImDrawList13AddRectFilledERK6ImVec2S2_jfi(ptr noundef nonnull align 8 dereferenceable(196) %905, ptr noundef nonnull align 4 dereferenceable(8) %17, ptr noundef nonnull align 4 dereferenceable(8) %583, i32 noundef %902, float noundef 0.000000e+00, i32 noundef 0)
  br label %906

906:                                              ; preds = %897, %899
  br i1 %898, label %907, label %929

907:                                              ; preds = %906
  %908 = load ptr, ptr %4, align 8, !tbaa !5
  %909 = load ptr, ptr %890, align 8, !tbaa !197
  %910 = icmp eq ptr %908, %909
  br i1 %910, label %911, label %929

911:                                              ; preds = %907
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %33) #14
  %912 = call { <2 x float>, <2 x float> } @_ZNK11ImGuiWindow4RectEv(ptr noundef nonnull align 8 dereferenceable(921) %908)
  %913 = extractvalue { <2 x float>, <2 x float> } %912, 0
  store <2 x float> %913, ptr %33, align 8
  %914 = getelementptr inbounds i8, ptr %33, i64 8
  %915 = extractvalue { <2 x float>, <2 x float> } %912, 1
  store <2 x float> %915, ptr %914, align 8
  %916 = load float, ptr %627, align 8, !tbaa !167
  call void @_ZN6ImRect6ExpandEf(ptr noundef nonnull align 4 dereferenceable(16) %33, float noundef %916)
  %917 = call noundef zeroext i1 @_ZNK6ImRect8ContainsERKS_(ptr noundef nonnull align 4 dereferenceable(16) %33, ptr noundef nonnull align 4 dereferenceable(16) %17)
  br i1 %917, label %928, label %918

918:                                              ; preds = %911
  %919 = load ptr, ptr %4, align 8, !tbaa !5
  %920 = getelementptr inbounds i8, ptr %919, i64 616
  %921 = load ptr, ptr %920, align 8, !tbaa !129
  %922 = getelementptr inbounds i8, ptr %40, i64 8012
  %923 = load float, ptr %922, align 4, !tbaa !200
  %924 = fmul float %923, 2.500000e-01
  %925 = call noundef i32 @_ZN5ImGui11GetColorU32Eif(i32 noundef 50, float noundef %924)
  %926 = getelementptr inbounds i8, ptr %40, i64 5488
  %927 = load float, ptr %926, align 8, !tbaa !201
  call void @_ZN10ImDrawList13AddRectFilledERK6ImVec2S2_jfi(ptr noundef nonnull align 8 dereferenceable(196) %921, ptr noundef nonnull align 4 dereferenceable(8) %33, ptr noundef nonnull align 4 dereferenceable(8) %914, i32 noundef %925, float noundef %927, i32 noundef 0)
  br label %928

928:                                              ; preds = %918, %911
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %33) #14
  br label %929

929:                                              ; preds = %928, %907, %906
  br i1 %742, label %.thread443, label %930

930:                                              ; preds = %929
  %931 = getelementptr inbounds i8, ptr %132, i64 352
  %932 = load i32, ptr %931, align 8, !tbaa !163
  %933 = icmp sgt i32 %932, 1
  br i1 %933, label %934, label %.thread440

.thread440:                                       ; preds = %930
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %34) #14
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %35) #14
  br label %949

934:                                              ; preds = %930
  %935 = add nsw i32 %932, -2
  %936 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8ImVectorIP11ImGuiWindowEixEi(ptr noundef nonnull align 8 dereferenceable(16) %931, i32 noundef %935)
  %937 = load ptr, ptr %936, align 8, !tbaa !5
  %.not369 = icmp eq ptr %937, null
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %34) #14
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %35) #14
  br i1 %.not369, label %949, label %938

938:                                              ; preds = %934
  %939 = call { <2 x float>, <2 x float> } @_ZNK11ImGuiWindow4RectEv(ptr noundef nonnull align 8 dereferenceable(921) %937)
  %940 = extractvalue { <2 x float>, <2 x float> } %939, 0
  store <2 x float> %940, ptr %34, align 8
  %941 = getelementptr inbounds i8, ptr %34, i64 8
  %942 = extractvalue { <2 x float>, <2 x float> } %939, 1
  store <2 x float> %942, ptr %941, align 8
  %943 = load ptr, ptr %4, align 8, !tbaa !5
  %944 = call { <2 x float>, <2 x float> } @_ZNK11ImGuiWindow4RectEv(ptr noundef nonnull align 8 dereferenceable(921) %943)
  %945 = extractvalue { <2 x float>, <2 x float> } %944, 0
  store <2 x float> %945, ptr %35, align 8
  %946 = getelementptr inbounds i8, ptr %35, i64 8
  %947 = extractvalue { <2 x float>, <2 x float> } %944, 1
  store <2 x float> %947, ptr %946, align 8
  %948 = call noundef zeroext i1 @_ZNK6ImRect8OverlapsERKS_(ptr noundef nonnull align 4 dereferenceable(16) %34, ptr noundef nonnull align 4 dereferenceable(16) %35)
  br label %949

949:                                              ; preds = %.thread440, %934, %938
  %950 = phi i1 [ %948, %938 ], [ false, %934 ], [ false, %.thread440 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %35) #14
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %34) #14
  %951 = getelementptr inbounds i8, ptr %132, i64 616
  %952 = load ptr, ptr %951, align 8, !tbaa !129
  %953 = getelementptr inbounds i8, ptr %952, i64 32
  %954 = load i32, ptr %953, align 8, !tbaa !202
  %955 = load ptr, ptr %4, align 8, !tbaa !5
  %956 = getelementptr inbounds i8, ptr %955, i64 616
  %957 = load ptr, ptr %956, align 8, !tbaa !129
  %958 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZN8ImVectorI9ImDrawCmdE4backEv(ptr noundef nonnull align 8 dereferenceable(16) %957)
  %959 = getelementptr inbounds i8, ptr %958, i64 32
  %960 = load i32, ptr %959, align 8, !tbaa !189
  %961 = icmp ne i32 %960, 0
  %962 = icmp slt i32 %954, 1
  %or.cond418.not460 = select i1 %961, i1 true, i1 %962
  %or.cond455.not = or i1 %950, %or.cond418.not460
  br i1 %or.cond455.not, label %.thread443, label %963

963:                                              ; preds = %949
  %964 = load ptr, ptr %951, align 8, !tbaa !129
  %965 = load ptr, ptr %4, align 8, !tbaa !5
  %966 = getelementptr inbounds i8, ptr %965, i64 616
  store ptr %964, ptr %966, align 8, !tbaa !129
  br label %.thread443

.thread443:                                       ; preds = %949, %929, %963
  %.1305445 = phi i1 [ true, %963 ], [ false, %929 ], [ false, %949 ]
  %967 = getelementptr inbounds i8, ptr %40, i64 7984
  %968 = load ptr, ptr %967, align 8, !tbaa !203
  %.not370 = icmp eq ptr %968, null
  br i1 %.not370, label %969, label %972

969:                                              ; preds = %.thread443
  %970 = getelementptr inbounds i8, ptr %40, i64 7688
  %971 = load ptr, ptr %970, align 8, !tbaa !204
  br label %972

972:                                              ; preds = %.thread443, %969
  %973 = phi ptr [ %971, %969 ], [ %968, %.thread443 ]
  br i1 %spec.select451, label %._crit_edge486, label %974

._crit_edge486:                                   ; preds = %972
  %.pre487 = load ptr, ptr %4, align 8, !tbaa !5
  br label %981

974:                                              ; preds = %972
  %.not371 = icmp eq ptr %973, null
  %.pre488 = load ptr, ptr %4, align 8, !tbaa !5
  br i1 %.not371, label %981, label %975

975:                                              ; preds = %974
  %976 = getelementptr inbounds i8, ptr %.pre488, i64 848
  %977 = load ptr, ptr %976, align 8, !tbaa !205
  %978 = getelementptr inbounds i8, ptr %973, i64 848
  %979 = load ptr, ptr %978, align 8, !tbaa !205
  %980 = icmp eq ptr %977, %979
  br label %981

981:                                              ; preds = %._crit_edge486, %974, %975
  %982 = phi ptr [ %.pre487, %._crit_edge486 ], [ %.pre488, %974 ], [ %.pre488, %975 ]
  %983 = phi i1 [ true, %._crit_edge486 ], [ false, %974 ], [ %980, %975 ]
  call void @_ZN5ImGuiL23RenderWindowDecorationsEP11ImGuiWindowRK6ImRectbiPKjf(ptr noundef %982, ptr noundef nonnull align 4 dereferenceable(16) %31, i1 noundef zeroext %983, i32 noundef %626, ptr noundef nonnull %24, float noundef %634)
  %.pre489 = load ptr, ptr %4, align 8, !tbaa !5
  br i1 %.1305445, label %984, label %987

984:                                              ; preds = %981
  %985 = getelementptr inbounds i8, ptr %.pre489, i64 624
  %986 = getelementptr inbounds i8, ptr %.pre489, i64 616
  store ptr %985, ptr %986, align 8, !tbaa !129
  br label %987

987:                                              ; preds = %984, %981
  %988 = load ptr, ptr %890, align 8, !tbaa !197
  %989 = icmp eq ptr %988, %.pre489
  br i1 %989, label %990, label %1016

990:                                              ; preds = %987
  %991 = getelementptr inbounds i8, ptr %.pre489, i64 72
  %992 = load float, ptr %991, align 8, !tbaa !165
  %993 = getelementptr inbounds i8, ptr %40, i64 5488
  %994 = load float, ptr %993, align 8, !tbaa !201
  %995 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %992, float noundef %994)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %36) #14
  %996 = load ptr, ptr %4, align 8, !tbaa !5
  %997 = call { <2 x float>, <2 x float> } @_ZNK11ImGuiWindow4RectEv(ptr noundef nonnull align 8 dereferenceable(921) %996)
  %998 = extractvalue { <2 x float>, <2 x float> } %997, 0
  store <2 x float> %998, ptr %36, align 8
  %999 = getelementptr inbounds i8, ptr %36, i64 8
  %1000 = extractvalue { <2 x float>, <2 x float> } %997, 1
  store <2 x float> %1000, ptr %999, align 8
  %1001 = load float, ptr %627, align 8, !tbaa !167
  call void @_ZN6ImRect6ExpandEf(ptr noundef nonnull align 4 dereferenceable(16) %36, float noundef %1001)
  %1002 = call noundef zeroext i1 @_ZNK6ImRect8ContainsERKS_(ptr noundef nonnull align 4 dereferenceable(16) %36, ptr noundef nonnull align 4 dereferenceable(16) %17)
  br i1 %1002, label %1003, label %._crit_edge490

._crit_edge490:                                   ; preds = %990
  %.pre491 = load ptr, ptr %4, align 8, !tbaa !5
  br label %1009

1003:                                             ; preds = %990
  %1004 = load float, ptr %627, align 8, !tbaa !167
  %1005 = fsub float -1.000000e+00, %1004
  call void @_ZN6ImRect6ExpandEf(ptr noundef nonnull align 4 dereferenceable(16) %36, float noundef %1005)
  %1006 = load ptr, ptr %4, align 8, !tbaa !5
  %1007 = getelementptr inbounds i8, ptr %1006, i64 72
  %1008 = load float, ptr %1007, align 8, !tbaa !165
  br label %1009

1009:                                             ; preds = %._crit_edge490, %1003
  %1010 = phi ptr [ %1006, %1003 ], [ %.pre491, %._crit_edge490 ]
  %.0296 = phi float [ %1008, %1003 ], [ %995, %._crit_edge490 ]
  %1011 = getelementptr inbounds i8, ptr %1010, i64 616
  %1012 = load ptr, ptr %1011, align 8, !tbaa !129
  %1013 = getelementptr inbounds i8, ptr %40, i64 8012
  %1014 = load float, ptr %1013, align 4, !tbaa !200
  %1015 = call noundef i32 @_ZN5ImGui11GetColorU32Eif(i32 noundef 50, float noundef %1014)
  call void @_ZN10ImDrawList7AddRectERK6ImVec2S2_jfif(ptr noundef nonnull align 8 dereferenceable(196) %1012, ptr noundef nonnull align 4 dereferenceable(8) %36, ptr noundef nonnull align 4 dereferenceable(8) %999, i32 noundef %1015, float noundef %.0296, i32 noundef 0, float noundef 3.000000e+00)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %36) #14
  %.pre492 = load ptr, ptr %4, align 8, !tbaa !5
  br label %1016

1016:                                             ; preds = %1009, %987
  %1017 = phi ptr [ %.pre492, %1009 ], [ %.pre489, %987 ]
  %1018 = and i32 %.1, 8
  %.not372 = icmp eq i32 %1018, 0
  %1019 = getelementptr inbounds i8, ptr %1017, i64 56
  %1020 = load float, ptr %1019, align 8, !tbaa !206
  %1021 = fcmp une float %1020, 0.000000e+00
  br i1 %1021, label %1040, label %1022

1022:                                             ; preds = %1016
  %1023 = and i32 %.1, 2056
  %1024 = icmp eq i32 %1023, 2048
  br i1 %1024, label %1025, label %1028

1025:                                             ; preds = %1022
  %1026 = getelementptr inbounds i8, ptr %1017, i64 40
  %1027 = load float, ptr %1026, align 8, !tbaa !183
  br label %1028

1028:                                             ; preds = %1022, %1025
  %1029 = phi float [ %1027, %1025 ], [ 0.000000e+00, %1022 ]
  %1030 = getelementptr inbounds i8, ptr %1017, i64 24
  %1031 = load float, ptr %1030, align 8, !tbaa !141
  %1032 = getelementptr inbounds i8, ptr %1017, i64 64
  %1033 = load float, ptr %1032, align 8, !tbaa !175
  %1034 = fneg float %1033
  %1035 = call float @llvm.fmuladd.f32(float %1034, float 2.000000e+00, float %1031)
  %1036 = getelementptr inbounds i8, ptr %1017, i64 132
  %1037 = load float, ptr %1036, align 4, !tbaa !207
  %1038 = fsub float %1035, %1037
  %1039 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %1029, float noundef %1038)
  %.pre493 = load ptr, ptr %4, align 8, !tbaa !5
  br label %1040

1040:                                             ; preds = %1016, %1028
  %1041 = phi ptr [ %.pre493, %1028 ], [ %1017, %1016 ]
  %1042 = phi float [ %1039, %1028 ], [ %1020, %1016 ]
  %1043 = getelementptr inbounds i8, ptr %1041, i64 60
  %1044 = load float, ptr %1043, align 4, !tbaa !208
  %1045 = fcmp une float %1044, 0.000000e+00
  br i1 %1045, label %1063, label %1046

1046:                                             ; preds = %1040
  br i1 %.not372, label %1047, label %1050

1047:                                             ; preds = %1046
  %1048 = getelementptr inbounds i8, ptr %1041, i64 44
  %1049 = load float, ptr %1048, align 4, !tbaa !185
  br label %1050

1050:                                             ; preds = %1046, %1047
  %1051 = phi float [ %1049, %1047 ], [ 0.000000e+00, %1046 ]
  %1052 = getelementptr inbounds i8, ptr %1041, i64 28
  %1053 = load float, ptr %1052, align 4, !tbaa !143
  %1054 = getelementptr inbounds i8, ptr %1041, i64 68
  %1055 = load float, ptr %1054, align 4, !tbaa !186
  %1056 = fneg float %1055
  %1057 = call float @llvm.fmuladd.f32(float %1056, float 2.000000e+00, float %1053)
  %1058 = fsub float %1057, %522
  %1059 = getelementptr inbounds i8, ptr %1041, i64 136
  %1060 = load float, ptr %1059, align 4, !tbaa !209
  %1061 = fsub float %1058, %1060
  %1062 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %1051, float noundef %1061)
  %.pre494 = load ptr, ptr %4, align 8, !tbaa !5
  br label %1063

1063:                                             ; preds = %1040, %1050
  %1064 = phi ptr [ %.pre494, %1050 ], [ %1041, %1040 ]
  %1065 = phi float [ %1062, %1050 ], [ %1044, %1040 ]
  %1066 = getelementptr inbounds i8, ptr %1064, i64 456
  %1067 = load float, ptr %1066, align 8, !tbaa !173
  %1068 = getelementptr inbounds i8, ptr %1064, i64 92
  %1069 = load float, ptr %1068, align 4, !tbaa !210
  %1070 = fsub float %1067, %1069
  %1071 = getelementptr inbounds i8, ptr %1064, i64 64
  %1072 = load float, ptr %1071, align 8, !tbaa !175
  %1073 = getelementptr inbounds i8, ptr %1064, i64 76
  %1074 = load float, ptr %1073, align 4, !tbaa !144
  %1075 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %1072, float noundef %1074)
  %1076 = fadd float %1070, %1075
  %1077 = call noundef float @_ZL7ImFloorf(float noundef %1076)
  %1078 = load ptr, ptr %4, align 8, !tbaa !5
  %1079 = getelementptr inbounds i8, ptr %1078, i64 488
  store float %1077, ptr %1079, align 8, !tbaa !211
  %1080 = getelementptr inbounds i8, ptr %1078, i64 460
  %1081 = load float, ptr %1080, align 4, !tbaa !174
  %1082 = getelementptr inbounds i8, ptr %1078, i64 96
  %1083 = load float, ptr %1082, align 4, !tbaa !212
  %1084 = fsub float %1081, %1083
  %1085 = getelementptr inbounds i8, ptr %1078, i64 68
  %1086 = load float, ptr %1085, align 4, !tbaa !186
  %1087 = getelementptr inbounds i8, ptr %1078, i64 76
  %1088 = load float, ptr %1087, align 4, !tbaa !144
  %1089 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %1086, float noundef %1088)
  %1090 = fadd float %1084, %1089
  %1091 = call noundef float @_ZL7ImFloorf(float noundef %1090)
  %1092 = load ptr, ptr %4, align 8, !tbaa !5
  %1093 = getelementptr inbounds i8, ptr %1092, i64 492
  store float %1091, ptr %1093, align 4, !tbaa !213
  %1094 = getelementptr inbounds i8, ptr %1092, i64 488
  %1095 = load float, ptr %1094, align 8, !tbaa !211
  %1096 = getelementptr inbounds i8, ptr %1092, i64 496
  %1097 = insertelement <2 x float> poison, float %1042, i64 0
  %1098 = insertelement <2 x float> %1097, float %1065, i64 1
  %1099 = insertelement <2 x float> poison, float %1095, i64 0
  %1100 = insertelement <2 x float> %1099, float %1091, i64 1
  %1101 = fadd <2 x float> %1098, %1100
  store <2 x float> %1101, ptr %1096, align 8, !tbaa !112
  %1102 = getelementptr inbounds i8, ptr %1092, i64 504
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %1102, ptr noundef nonnull align 8 dereferenceable(16) %1094, i64 16, i1 false), !tbaa.struct !128
  %1103 = getelementptr inbounds i8, ptr %1092, i64 16
  %1104 = load float, ptr %1103, align 8, !tbaa !214
  %1105 = getelementptr inbounds i8, ptr %1092, i64 92
  %1106 = load float, ptr %1105, align 4, !tbaa !210
  %1107 = fsub float %1104, %1106
  %1108 = getelementptr inbounds i8, ptr %1092, i64 64
  %1109 = load float, ptr %1108, align 8, !tbaa !175
  %1110 = fadd float %1107, %1109
  %1111 = getelementptr inbounds i8, ptr %1092, i64 536
  store float %1110, ptr %1111, align 8, !tbaa !215
  %1112 = getelementptr inbounds i8, ptr %1092, i64 20
  %1113 = load float, ptr %1112, align 4, !tbaa !216
  %1114 = getelementptr inbounds i8, ptr %1092, i64 96
  %1115 = load float, ptr %1114, align 4, !tbaa !212
  %1116 = fsub float %1113, %1115
  %1117 = getelementptr inbounds i8, ptr %1092, i64 68
  %1118 = load float, ptr %1117, align 4, !tbaa !186
  %1119 = fadd float %1116, %1118
  %1120 = fadd float %522, %1119
  %1121 = getelementptr inbounds i8, ptr %1092, i64 540
  store float %1120, ptr %1121, align 4, !tbaa !217
  %1122 = getelementptr inbounds i8, ptr %1092, i64 56
  %1123 = load float, ptr %1122, align 8, !tbaa !206
  %1124 = fcmp une float %1123, 0.000000e+00
  br i1 %1124, label %1133, label %1125

1125:                                             ; preds = %1063
  %1126 = getelementptr inbounds i8, ptr %1092, i64 24
  %1127 = load float, ptr %1126, align 8, !tbaa !141
  %1128 = fneg float %1109
  %1129 = call float @llvm.fmuladd.f32(float %1128, float 2.000000e+00, float %1127)
  %1130 = getelementptr inbounds i8, ptr %1092, i64 132
  %1131 = load float, ptr %1130, align 4, !tbaa !207
  %1132 = fsub float %1129, %1131
  br label %1133

1133:                                             ; preds = %1063, %1125
  %1134 = phi float [ %1132, %1125 ], [ %1123, %1063 ]
  %1135 = fadd float %1110, %1134
  %1136 = getelementptr inbounds i8, ptr %1092, i64 544
  store float %1135, ptr %1136, align 8, !tbaa !218
  %1137 = getelementptr inbounds i8, ptr %1092, i64 60
  %1138 = load float, ptr %1137, align 4, !tbaa !208
  %1139 = fcmp une float %1138, 0.000000e+00
  br i1 %1139, label %1149, label %1140

1140:                                             ; preds = %1133
  %1141 = getelementptr inbounds i8, ptr %1092, i64 28
  %1142 = load float, ptr %1141, align 4, !tbaa !143
  %1143 = fneg float %1118
  %1144 = call float @llvm.fmuladd.f32(float %1143, float 2.000000e+00, float %1142)
  %1145 = fsub float %1144, %522
  %1146 = getelementptr inbounds i8, ptr %1092, i64 136
  %1147 = load float, ptr %1146, align 4, !tbaa !209
  %1148 = fsub float %1145, %1147
  br label %1149

1149:                                             ; preds = %1133, %1140
  %1150 = phi float [ %1148, %1140 ], [ %1138, %1133 ]
  %1151 = fadd float %1120, %1150
  %1152 = getelementptr inbounds i8, ptr %1092, i64 548
  store float %1151, ptr %1152, align 4, !tbaa !219
  %1153 = fadd float %1109, 0.000000e+00
  %1154 = fsub float %1153, %1106
  %1155 = getelementptr inbounds i8, ptr %1092, i64 280
  store float %1154, ptr %1155, align 8, !tbaa !220
  %1156 = getelementptr inbounds i8, ptr %1092, i64 284
  store <2 x float> zeroinitializer, ptr %1156, align 4, !tbaa !112
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %37) #14
  %1157 = fadd float %522, %1118
  %1158 = fsub float %1157, %1115
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %37, float noundef %1154, float noundef %1158)
  %1159 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %1103, ptr noundef nonnull align 4 dereferenceable(8) %37)
  %1160 = load ptr, ptr %4, align 8, !tbaa !5
  %1161 = getelementptr inbounds i8, ptr %1160, i64 232
  store <2 x float> %1159, ptr %1161, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %37) #14
  %1162 = getelementptr inbounds i8, ptr %1160, i64 216
  store <2 x float> %1159, ptr %1162, align 8
  %1163 = getelementptr inbounds i8, ptr %1160, i64 224
  store <2 x float> %1159, ptr %1163, align 8
  %1164 = getelementptr inbounds i8, ptr %1160, i64 240
  store <2 x float> %1159, ptr %1164, align 8
  %1165 = getelementptr inbounds i8, ptr %1160, i64 248
  store <2 x float> %1159, ptr %1165, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %38) #14
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %38, float noundef 0.000000e+00, float noundef 0.000000e+00)
  %1166 = load ptr, ptr %4, align 8, !tbaa !5
  %1167 = getelementptr inbounds i8, ptr %1166, i64 264
  %1168 = load i64, ptr %38, align 8
  store i64 %1168, ptr %1167, align 8
  %1169 = getelementptr inbounds i8, ptr %1166, i64 256
  store i64 %1168, ptr %1169, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %38) #14
  %1170 = getelementptr inbounds i8, ptr %1166, i64 272
  store <2 x float> zeroinitializer, ptr %1170, align 8, !tbaa !112
  %1171 = getelementptr inbounds i8, ptr %1166, i64 292
  store i32 0, ptr %1171, align 4, !tbaa !221
  %1172 = getelementptr inbounds i8, ptr %1166, i64 298
  %1173 = load i16, ptr %1172, align 2, !tbaa !222
  %1174 = getelementptr inbounds i8, ptr %1166, i64 296
  store i16 %1173, ptr %1174, align 8, !tbaa !223
  store i16 0, ptr %1172, align 2, !tbaa !222
  %1175 = getelementptr inbounds i8, ptr %1166, i64 304
  store i8 0, ptr %1175, align 8, !tbaa !224
  %1176 = getelementptr inbounds i8, ptr %1166, i64 104
  %1177 = load float, ptr %1176, align 4, !tbaa !187
  %1178 = fcmp ogt float %1177, 0.000000e+00
  %1179 = getelementptr inbounds i8, ptr %1166, i64 305
  %1180 = zext i1 %1178 to i8
  store i8 %1180, ptr %1179, align 1, !tbaa !225
  %1181 = getelementptr inbounds i8, ptr %1166, i64 306
  store i8 0, ptr %1181, align 2, !tbaa !226
  %1182 = getelementptr inbounds i8, ptr %1166, i64 316
  %1183 = load float, ptr %384, align 4, !tbaa !147
  call void @_ZN16ImGuiMenuColumns6UpdateEfb(ptr noundef nonnull align 4 dereferenceable(26) %1182, float noundef %1183, i1 noundef zeroext %.0292.in426)
  %1184 = load ptr, ptr %4, align 8, !tbaa !5
  %1185 = getelementptr inbounds i8, ptr %1184, i64 344
  store i32 0, ptr %1185, align 8, !tbaa !227
  %1186 = getelementptr inbounds i8, ptr %1184, i64 348
  store i32 0, ptr %1186, align 4, !tbaa !228
  %1187 = getelementptr inbounds i8, ptr %1184, i64 352
  call void @_ZN8ImVectorIP11ImGuiWindowE6resizeEi(ptr noundef nonnull align 8 dereferenceable(16) %1187, i32 noundef 0)
  %1188 = load ptr, ptr %4, align 8, !tbaa !5
  %1189 = getelementptr inbounds i8, ptr %1188, i64 576
  %1190 = getelementptr inbounds i8, ptr %1188, i64 368
  store ptr %1189, ptr %1190, align 8, !tbaa !229
  %1191 = getelementptr inbounds i8, ptr %1188, i64 376
  store ptr null, ptr %1191, align 8, !tbaa !230
  %1192 = getelementptr inbounds i8, ptr %1188, i64 388
  store i32 1, ptr %1192, align 4, !tbaa !231
  br i1 %133, label %1196, label %1193

1193:                                             ; preds = %1149
  %1194 = getelementptr inbounds i8, ptr %132, i64 388
  %1195 = load i32, ptr %1194, align 4, !tbaa !231
  br label %1196

1196:                                             ; preds = %1149, %1193
  %1197 = phi i32 [ %1195, %1193 ], [ 1, %1149 ]
  %1198 = getelementptr inbounds i8, ptr %1188, i64 392
  store i32 %1197, ptr %1198, align 8, !tbaa !232
  %1199 = getelementptr inbounds i8, ptr %1188, i64 396
  store i32 -1, ptr %1199, align 4, !tbaa !233
  %1200 = getelementptr inbounds i8, ptr %1188, i64 568
  %1201 = load float, ptr %1200, align 8, !tbaa !182
  %1202 = getelementptr inbounds i8, ptr %1188, i64 400
  store float %1201, ptr %1202, align 8, !tbaa !234
  %1203 = getelementptr inbounds i8, ptr %1188, i64 404
  store float -1.000000e+00, ptr %1203, align 4, !tbaa !235
  %1204 = getelementptr inbounds i8, ptr %1188, i64 408
  call void @_ZN8ImVectorIfE6resizeEi(ptr noundef nonnull align 8 dereferenceable(16) %1204, i32 noundef 0)
  %1205 = load ptr, ptr %4, align 8, !tbaa !5
  %1206 = getelementptr inbounds i8, ptr %1205, i64 424
  call void @_ZN8ImVectorIfE6resizeEi(ptr noundef nonnull align 8 dereferenceable(16) %1206, i32 noundef 0)
  %1207 = load ptr, ptr %4, align 8, !tbaa !5
  %1208 = getelementptr inbounds i8, ptr %1207, i64 168
  %1209 = load i8, ptr %1208, align 8, !tbaa !158
  %1210 = icmp sgt i8 %1209, 0
  br i1 %1210, label %1211, label %1213

1211:                                             ; preds = %1196
  %1212 = add nsw i8 %1209, -1
  store i8 %1212, ptr %1208, align 8, !tbaa !158
  br label %1213

1213:                                             ; preds = %1211, %1196
  %1214 = getelementptr inbounds i8, ptr %1207, i64 169
  %1215 = load i8, ptr %1214, align 1, !tbaa !159
  %1216 = icmp sgt i8 %1215, 0
  br i1 %1216, label %1217, label %1219

1217:                                             ; preds = %1213
  %1218 = add nsw i8 %1215, -1
  store i8 %1218, ptr %1214, align 1, !tbaa !159
  br label %1219

1219:                                             ; preds = %1217, %1213
  br i1 %spec.select451, label %1220, label %1222

1220:                                             ; preds = %1219
  call void @_ZN5ImGui11FocusWindowEP11ImGuiWindow(ptr noundef nonnull %1207)
  %1221 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN5ImGui13NavInitWindowEP11ImGuiWindowb(ptr noundef %1221, i1 noundef zeroext false)
  %.pre496.pre = load ptr, ptr %4, align 8, !tbaa !5
  br label %1222

1222:                                             ; preds = %1220, %1219
  %.pre496 = phi ptr [ %.pre496.pre, %1220 ], [ %1207, %1219 ]
  br i1 %.not352, label %1223, label %1234

1223:                                             ; preds = %1222
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %39) #14
  %1224 = load float, ptr %31, align 8, !tbaa !236
  %1225 = getelementptr inbounds i8, ptr %.pre496, i64 76
  %1226 = load float, ptr %1225, align 4, !tbaa !144
  %1227 = fadd float %1224, %1226
  %1228 = getelementptr inbounds i8, ptr %31, i64 4
  %1229 = load float, ptr %1228, align 4, !tbaa !237
  %1230 = load float, ptr %750, align 8, !tbaa !238
  %1231 = fsub float %1230, %1226
  %1232 = getelementptr inbounds i8, ptr %31, i64 12
  %1233 = load float, ptr %1232, align 4, !tbaa !239
  call void @_ZN6ImRectC2Effff(ptr noundef nonnull align 4 dereferenceable(16) %39, float noundef %1227, float noundef %1229, float noundef %1231, float noundef %1233)
  call void @_ZN5ImGuiL28RenderWindowTitleBarContentsEP11ImGuiWindowRK6ImRectPKcPb(ptr noundef %.pre496, ptr noundef nonnull align 4 dereferenceable(16) %39, ptr noundef nonnull %0, ptr noundef %1)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %39) #14
  %.pre495 = load ptr, ptr %4, align 8, !tbaa !5
  br label %1234

1234:                                             ; preds = %1223, %1222
  %1235 = phi ptr [ %.pre495, %1223 ], [ %.pre496, %1222 ]
  %1236 = getelementptr inbounds i8, ptr %1235, i64 554
  store i16 0, ptr %1236, align 2, !tbaa !240
  %1237 = getelementptr inbounds i8, ptr %1235, i64 552
  store i16 0, ptr %1237, align 8, !tbaa !241
  %1238 = getelementptr inbounds i8, ptr %1235, i64 84
  %1239 = load i32, ptr %1238, align 4, !tbaa !242
  store i32 %1239, ptr %146, align 8, !tbaa !243
  %1240 = getelementptr inbounds i8, ptr %40, i64 7344
  %1241 = load i32, ptr %1240, align 8, !tbaa !244
  %1242 = getelementptr inbounds i8, ptr %40, i64 7372
  store i32 %1241, ptr %1242, align 4, !tbaa !245
  %1243 = call noundef zeroext i1 @_ZN5ImGui19IsMouseHoveringRectERK6ImVec2S2_b(ptr noundef nonnull align 4 dereferenceable(8) %31, ptr noundef nonnull align 4 dereferenceable(8) %750, i1 noundef zeroext false)
  %1244 = zext i1 %1243 to i32
  %1245 = getelementptr inbounds i8, ptr %40, i64 7376
  store i32 %1244, ptr %1245, align 8, !tbaa !246
  %1246 = getelementptr inbounds i8, ptr %40, i64 7380
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(16) %1246, ptr noundef nonnull align 8 dereferenceable(16) %31, i64 16, i1 false), !tbaa.struct !128
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %31) #14
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %30) #14
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %24) #14
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %23) #14
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %20) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #14
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %18) #14
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %17) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #14
  br label %1249

1247:                                             ; preds = %266
  %1248 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZL16SetCurrentWindowP11ImGuiWindow(ptr noundef %1248)
  br label %1249

1249:                                             ; preds = %1247, %1234
  br i1 %135, label %1250, label %1253

1250:                                             ; preds = %1249
  %1251 = getelementptr inbounds i8, ptr %132, i64 300
  %1252 = load i32, ptr %1251, align 4, !tbaa !247
  br label %1256

1253:                                             ; preds = %1249
  %1254 = load ptr, ptr %4, align 8, !tbaa !5
  %1255 = call noundef i32 @_ZN11ImGuiWindow5GetIDEPKcS1_(ptr noundef nonnull align 8 dereferenceable(921) %1254, ptr noundef nonnull @.str.116, ptr noundef null)
  br label %1256

1256:                                             ; preds = %1253, %1250
  %1257 = phi i32 [ %1252, %1250 ], [ %1255, %1253 ]
  %1258 = load ptr, ptr %4, align 8, !tbaa !5
  %1259 = getelementptr inbounds i8, ptr %1258, i64 300
  store i32 %1257, ptr %1259, align 4, !tbaa !247
  %1260 = getelementptr inbounds i8, ptr %1258, i64 472
  %1261 = getelementptr inbounds i8, ptr %1258, i64 480
  call void @_ZN5ImGui12PushClipRectERK6ImVec2S2_b(ptr noundef nonnull align 4 dereferenceable(8) %1260, ptr noundef nonnull align 4 dereferenceable(8) %1261, i1 noundef zeroext true)
  %1262 = load ptr, ptr %4, align 8, !tbaa !5
  %1263 = getelementptr inbounds i8, ptr %1262, i64 144
  store i8 0, ptr %1263, align 8, !tbaa !248
  %1264 = getelementptr inbounds i8, ptr %1262, i64 154
  %1265 = load i16, ptr %1264, align 2, !tbaa !249
  %1266 = add i16 %1265, 1
  store i16 %1266, ptr %1264, align 2, !tbaa !249
  call void @_ZN19ImGuiNextWindowData10ClearFlagsEv(ptr noundef nonnull align 8 dereferenceable(108) %164)
  br i1 %.not329, label %._crit_edge501, label %1267

._crit_edge501:                                   ; preds = %1256
  %.pre502 = load ptr, ptr %4, align 8, !tbaa !5
  %.phi.trans.insert503 = getelementptr inbounds i8, ptr %.pre502, i64 147
  %.pre504 = load i8, ptr %.phi.trans.insert503, align 1, !tbaa !250, !range !70
  br label %1368

1267:                                             ; preds = %1256
  br i1 %135, label %1268, label %.critedge421

1268:                                             ; preds = %1267
  %1269 = and i32 %.1, 1
  %.not373 = icmp eq i32 %1269, 0
  br i1 %.not373, label %1270, label %1271

1270:                                             ; preds = %1268
  call void @__assert_fail(ptr noundef nonnull @.str.117, ptr noundef nonnull @.str.3, i32 noundef 6384, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5ImGui5BeginEPKcPbi) #13
  unreachable

1271:                                             ; preds = %1268
  %1272 = and i32 %.1, 64
  %.not374 = icmp eq i32 %1272, 0
  br i1 %.not374, label %1273, label %1300

1273:                                             ; preds = %1271
  %1274 = load ptr, ptr %4, align 8, !tbaa !5
  %1275 = getelementptr inbounds i8, ptr %1274, i64 168
  %1276 = load i8, ptr %1275, align 8, !tbaa !158
  %1277 = icmp slt i8 %1276, 1
  br i1 %1277, label %1278, label %1300

1278:                                             ; preds = %1273
  %1279 = getelementptr inbounds i8, ptr %1274, i64 169
  %1280 = load i8, ptr %1279, align 1, !tbaa !159
  %1281 = icmp slt i8 %1280, 1
  br i1 %1281, label %1282, label %1300

1282:                                             ; preds = %1278
  %1283 = getelementptr inbounds i8, ptr %40, i64 12524
  %1284 = load i8, ptr %1283, align 4, !tbaa !251, !range !70, !noundef !71
  %1285 = trunc nuw i8 %1284 to i1
  br i1 %1285, label %1300, label %1286

1286:                                             ; preds = %1282
  %1287 = getelementptr inbounds i8, ptr %1274, i64 440
  %1288 = load float, ptr %1287, align 8, !tbaa !252
  %1289 = getelementptr inbounds i8, ptr %1274, i64 448
  %1290 = load float, ptr %1289, align 8, !tbaa !253
  %1291 = fcmp ult float %1288, %1290
  br i1 %1291, label %1292, label %1298

1292:                                             ; preds = %1286
  %1293 = getelementptr inbounds i8, ptr %1274, i64 444
  %1294 = load float, ptr %1293, align 4, !tbaa !254
  %1295 = getelementptr inbounds i8, ptr %1274, i64 452
  %1296 = load float, ptr %1295, align 4, !tbaa !255
  %1297 = fcmp ult float %1294, %1296
  br i1 %1297, label %1300, label %1298

1298:                                             ; preds = %1292, %1286
  %1299 = getelementptr inbounds i8, ptr %1274, i64 176
  store i8 1, ptr %1299, align 8, !tbaa !138
  br label %1300

1300:                                             ; preds = %1282, %1298, %1292, %1278, %1273, %1271
  br i1 %133, label %.critedge421, label %1301

1301:                                             ; preds = %1300
  %1302 = getelementptr inbounds i8, ptr %132, i64 145
  %1303 = load i8, ptr %1302, align 1, !tbaa !157, !range !70, !noundef !71
  %1304 = trunc nuw i8 %1303 to i1
  br i1 %1304, label %.thread447, label %1307

.thread447:                                       ; preds = %1301
  %1305 = load ptr, ptr %4, align 8, !tbaa !5
  %1306 = getelementptr inbounds i8, ptr %1305, i64 176
  store i8 1, ptr %1306, align 8, !tbaa !138
  br label %1317

1307:                                             ; preds = %1301
  %1308 = getelementptr inbounds i8, ptr %132, i64 176
  %1309 = load i8, ptr %1308, align 8, !tbaa !138
  %1310 = icmp sgt i8 %1309, 0
  br i1 %1310, label %1311, label %.thread446

1311:                                             ; preds = %1307
  %1312 = load ptr, ptr %4, align 8, !tbaa !5
  %1313 = getelementptr inbounds i8, ptr %1312, i64 176
  store i8 1, ptr %1313, align 8, !tbaa !138
  br label %.thread446

.thread446:                                       ; preds = %1307, %1311
  %1314 = getelementptr inbounds i8, ptr %132, i64 177
  %1315 = load i8, ptr %1314, align 1, !tbaa !137
  %1316 = icmp sgt i8 %1315, 0
  br i1 %1316, label %.thread446._crit_edge, label %.critedge421

.thread446._crit_edge:                            ; preds = %.thread446
  %.pre497 = load ptr, ptr %4, align 8, !tbaa !5
  br label %1317

1317:                                             ; preds = %.thread446._crit_edge, %.thread447
  %1318 = phi ptr [ %.pre497, %.thread446._crit_edge ], [ %1305, %.thread447 ]
  %1319 = getelementptr inbounds i8, ptr %1318, i64 177
  store i8 1, ptr %1319, align 1, !tbaa !137
  br label %.critedge421

.critedge421:                                     ; preds = %1300, %.thread446, %1317, %1267
  %1320 = load float, ptr %41, align 4, !tbaa !256
  %1321 = fcmp ugt float %1320, 0.000000e+00
  %.pre498 = load ptr, ptr %4, align 8, !tbaa !5
  %.phi.trans.insert499 = getelementptr inbounds i8, ptr %.pre498, i64 176
  br i1 %1321, label %1322, label %.thread520

.thread520:                                       ; preds = %.critedge421
  store i8 1, ptr %.phi.trans.insert499, align 8, !tbaa !138
  br label %1333

1322:                                             ; preds = %.critedge421
  %.pre500 = load i8, ptr %.phi.trans.insert499, align 8, !tbaa !138
  %1323 = icmp sgt i8 %.pre500, 0
  br i1 %1323, label %1333, label %1324

1324:                                             ; preds = %1322
  %1325 = getelementptr inbounds i8, ptr %.pre498, i64 177
  %1326 = load i8, ptr %1325, align 1, !tbaa !137
  %1327 = icmp sgt i8 %1326, 0
  br i1 %1327, label %1333, label %1328

1328:                                             ; preds = %1324
  %1329 = getelementptr inbounds i8, ptr %.pre498, i64 178
  %1330 = load i8, ptr %1329, align 2, !tbaa !139
  %1331 = icmp sgt i8 %1330, 0
  %1332 = zext i1 %1331 to i8
  br label %1333

1333:                                             ; preds = %.thread520, %1328, %1324, %1322
  %1334 = phi i8 [ 1, %1324 ], [ 1, %1322 ], [ %1332, %1328 ], [ 1, %.thread520 ]
  %1335 = getelementptr inbounds i8, ptr %.pre498, i64 149
  store i8 %1334, ptr %1335, align 1, !tbaa !257
  %1336 = getelementptr inbounds i8, ptr %.pre498, i64 179
  %1337 = load i8, ptr %1336, align 1, !tbaa !258
  %1338 = icmp sgt i8 %1337, 0
  br i1 %1338, label %1339, label %1344

1339:                                             ; preds = %1333
  %1340 = add nsw i8 %1337, -1
  store i8 %1340, ptr %1336, align 1, !tbaa !258
  %1341 = getelementptr inbounds i8, ptr %.pre498, i64 12
  %1342 = load i32, ptr %1341, align 4, !tbaa !98
  %1343 = or i32 %1342, 786944
  store i32 %1343, ptr %1341, align 4, !tbaa !98
  br label %1344

1344:                                             ; preds = %1339, %1333
  %1345 = getelementptr inbounds i8, ptr %.pre498, i64 145
  %1346 = load i8, ptr %1345, align 1, !tbaa !157, !range !70, !noundef !71
  %1347 = trunc nuw i8 %1346 to i1
  br i1 %1347, label %1354, label %1348

1348:                                             ; preds = %1344
  %1349 = getelementptr inbounds i8, ptr %.pre498, i64 142
  %1350 = load i8, ptr %1349, align 2, !tbaa !126, !range !70, !noundef !71
  %1351 = trunc nuw i8 %1350 to i1
  br i1 %1351, label %1352, label %1354

1352:                                             ; preds = %1348
  %1353 = trunc nuw i8 %1334 to i1
  br i1 %1353, label %1354, label %1366

1354:                                             ; preds = %1352, %1348, %1344
  %1355 = getelementptr inbounds i8, ptr %.pre498, i64 168
  %1356 = load i8, ptr %1355, align 8, !tbaa !158
  %1357 = icmp slt i8 %1356, 1
  br i1 %1357, label %1358, label %1366

1358:                                             ; preds = %1354
  %1359 = getelementptr inbounds i8, ptr %.pre498, i64 169
  %1360 = load i8, ptr %1359, align 1, !tbaa !159
  %1361 = icmp slt i8 %1360, 1
  br i1 %1361, label %1362, label %1366

1362:                                             ; preds = %1358
  %1363 = getelementptr inbounds i8, ptr %.pre498, i64 177
  %1364 = load i8, ptr %1363, align 1, !tbaa !137
  %1365 = icmp slt i8 %1364, 1
  %spec.select422 = zext i1 %1365 to i8
  br label %1366

1366:                                             ; preds = %1362, %1354, %1358, %1352
  %.0 = phi i8 [ 0, %1358 ], [ 0, %1354 ], [ 0, %1352 ], [ %spec.select422, %1362 ]
  %1367 = getelementptr inbounds i8, ptr %.pre498, i64 147
  store i8 %.0, ptr %1367, align 1, !tbaa !250
  br label %1368

1368:                                             ; preds = %._crit_edge501, %1366
  %1369 = phi i8 [ %.pre504, %._crit_edge501 ], [ %.0, %1366 ]
  %1370 = trunc nuw i8 %1369 to i1
  %1371 = xor i1 %1370, 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 %1371
}

; 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 #10

; 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: 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: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(48) ptr @_ZN8ImVectorI14ImGuiPopupDataEixEi(ptr noundef nonnull align 8 dereferenceable(16), i32 noundef) local_unnamed_addr #4 align 2

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

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

; 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 #10

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

; 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 #10

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

; 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: inlinehint mustprogress uwtable
declare dso_local void @_ZN8ImVectorI14ImGuiPopupDataE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(48)) 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 #9

; 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 uwtable
declare hidden void @_ZL16SetCurrentWindowP11ImGuiWindow(ptr noundef) local_unnamed_addr #8

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(48) 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 #10

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

; Function Attrs: mustprogress uwtable
declare dso_local { <2 x float>, <2 x float> } @_ZNK14ImGuiViewportP11GetWorkRectEv(ptr noundef nonnull align 8 dereferenceable(176)) 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 @_ZL15ClampWindowRectP11ImGuiWindowRK6ImRect(ptr noundef, ptr noundef nonnull align 4 dereferenceable(16)) local_unnamed_addr #3

; 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 #10

; Function Attrs: mustprogress uwtable
declare dso_local { <2 x float>, <2 x float> } @_ZNK11ImGuiWindow4RectEv(ptr noundef nonnull align 8 dereferenceable(921)) 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 #10 align 2

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

; 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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN6ImRect6ExpandEf(ptr noundef nonnull align 4 dereferenceable(16), float noundef) local_unnamed_addr #1 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 @_ZN5ImGuiL23RenderWindowDecorationsEP11ImGuiWindowRK6ImRectbiPKjf(ptr noundef, ptr noundef nonnull align 4 dereferenceable(16), i1 noundef zeroext, i32 noundef, ptr noundef, float noundef) local_unnamed_addr #10

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

; 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 #10

; 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 = { "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 = { 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 #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 7068}
!11 = !{!"_ZTS12ImGuiContext", !12, i64 0, !12, i64 1, !13, i64 8, !19, i64 5472, !6, i64 6520, !16, i64 6528, !16, i64 6532, !20, i64 6536, !22, i64 7048, !14, i64 7056, !14, i64 7060, !14, i64 7064, !12, i64 7068, !12, i64 7069, !12, i64 7070, !12, i64 7071, !12, i64 7072, !6, i64 7080, !23, i64 7088, !23, i64 7104, !23, i64 7120, !24, i64 7136, !25, i64 7152, !14, i64 7168, !15, i64 7172, !6, i64 7184, !6, i64 7192, !6, i64 7200, !6, i64 7208, !6, i64 7216, !15, i64 7224, !16, i64 7232, !14, i64 7236, !14, i64 7240, !14, i64 7244, !12, i64 7248, !12, i64 7249, !12, i64 7250, !12, i64 7251, !16, i64 7252, !16, i64 7256, !14, i64 7260, !14, i64 7264, !16, i64 7268, !12, i64 7272, !12, i64 7273, !12, i64 7274, !12, i64 7275, !12, i64 7276, !12, i64 7277, !12, i64 7278, !14, i64 7280, !14, i64 7284, !27, i64 7288, !15, i64 7296, !6, i64 7304, !28, i64 7312, !14, i64 7316, !14, i64 7320, !12, i64 7324, !12, i64 7325, !6, i64 7328, !14, i64 7336, !16, i64 7340, !14, i64 7344, !29, i64 7348, !30, i64 7368, !32, i64 7432, !33, i64 7544, !34, i64 7560, !35, i64 7576, !36, i64 7592, !37, i64 7608, !38, i64 7624, !39, i64 7640, !39, i64 7656, !40, i64 7672, !6, i64 7688, !14, i64 7696, !14, i64 7700, !14, i64 7704, !14, i64 7708, !14, i64 7712, !14, i64 7716, !14, i64 7720, !14, i64 7724, !14, i64 7728, !14, i64 7732, !14, i64 7736, !14, i64 7740, !14, i64 7744, !28, i64 7748, !41, i64 7752, !14, i64 7756, !12, i64 7760, !12, i64 7761, !12, i64 7762, !12, i64 7763, !12, i64 7764, !12, i64 7765, !12, i64 7766, !14, i64 7768, !31, i64 7772, !12, i64 7788, !12, i64 7789, !12, i64 7790, !14, i64 7792, !14, i64 7796, !14, i64 7800, !14, i64 7804, !14, i64 7808, !14, i64 7812, !31, i64 7816, !14, i64 7832, !14, i64 7836, !42, i64 7840, !42, i64 7888, !42, i64 7936, !6, i64 7984, !6, i64 7992, !6, i64 8000, !16, i64 8008, !16, i64 8012, !12, i64 8016, !6, i64 8024, !6, i64 8032, !14, i64 8040, !14, i64 8044, !12, i64 8048, !16, i64 8052, !14, i64 8056, !12, i64 8060, !12, i64 8061, !12, i64 8062, !14, i64 8064, !14, i64 8068, !14, i64 8072, !43, i64 8080, !31, i64 8144, !14, i64 8160, !14, i64 8164, !16, i64 8168, !14, i64 8172, !14, i64 8176, !14, i64 8180, !14, i64 8184, !44, i64 8192, !7, i64 8208, !6, i64 8224, !14, i64 8232, !45, i64 8240, !47, i64 8280, !48, i64 8296, !49, i64 8312, !6, i64 8328, !50, i64 8336, !52, i64 8376, !53, i64 8392, !15, i64 8408, !54, i64 8416, !58, i64 12152, !14, i64 12264, !14, i64 12268, !16, i64 12272, !16, i64 12276, !14, i64 12280, !21, i64 12284, !60, i64 12300, !16, i64 12348, !12, i64 12352, !12, i64 12353, !16, i64 12356, !16, i64 12360, !16, i64 12364, !16, i64 12368, !17, i64 12372, !17, i64 12374, !16, i64 12376, !55, i64 12384, !36, i64 12400, !15, i64 12416, !15, i64 12424, !7, i64 12432, !12, i64 12433, !16, i64 12436, !61, i64 12440, !62, i64 12456, !63, i64 12472, !64, i64 12488, !65, i64 12504, !14, i64 12520, !12, i64 12524, !66, i64 12528, !6, i64 12536, !61, i64 12544, !6, i64 12560, !6, i64 12568, !16, i64 12576, !12, i64 12580, !14, i64 12584, !14, i64 12588, !14, i64 12592, !12, i64 12596, !14, i64 12600, !67, i64 12604, !68, i64 12624, !7, i64 12656, !14, i64 13136, !14, i64 13140, !16, i64 13144, !14, i64 13148, !14, i64 13152, !14, i64 13156, !7, i64 13160}
!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, !7, i64 52, !16, i64 140, !16, i64 144, !6, i64 152, !6, i64 160, !16, i64 168, !12, i64 172, !6, i64 176, !15, i64 184, !12, i64 192, !12, i64 193, !12, i64 194, !12, i64 195, !12, i64 196, !12, i64 197, !16, i64 200, !6, i64 208, !6, i64 216, !6, i64 224, !6, i64 232, !6, i64 240, !6, i64 248, !6, i64 256, !6, i64 264, !6, i64 272, !6, i64 280, !15, i64 288, !7, i64 296, !16, i64 304, !16, i64 308, !12, i64 312, !12, i64 313, !12, i64 314, !12, i64 315, !7, i64 316, !7, i64 828, !12, i64 908, !12, i64 909, !12, i64 910, !12, i64 911, !12, i64 912, !12, i64 913, !12, i64 914, !16, i64 916, !14, i64 920, !14, i64 924, !14, i64 928, !14, i64 932, !14, i64 936, !15, i64 940, !12, i64 948, !14, i64 952, !14, i64 956, !15, i64 960, !7, i64 968, !7, i64 1008, !7, i64 1048, !7, i64 1053, !7, i64 1058, !7, i64 1063, !7, i64 1068, !7, i64 1073, !7, i64 1080, !7, i64 1100, !7, i64 1120, !7, i64 1160, !7, i64 1180, !7, i64 3228, !7, i64 5276, !7, i64 5356, !16, i64 5436, !12, i64 5440, !17, i64 5442, !18, i64 5448}
!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 = !{!"_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}
!20 = !{!"_ZTS20ImDrawListSharedData", !15, i64 0, !6, i64 8, !16, i64 16, !16, i64 20, !16, i64 24, !21, i64 28, !14, i64 44, !7, i64 48, !16, i64 432, !7, i64 436, !6, i64 504}
!21 = !{!"_ZTS6ImVec4", !16, i64 0, !16, i64 4, !16, i64 8, !16, i64 12}
!22 = !{!"double", !7, i64 0}
!23 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !14, i64 0, !14, i64 4, !6, i64 8}
!24 = !{!"_ZTS8ImVectorI20ImGuiWindowStackDataE", !14, i64 0, !14, i64 4, !6, i64 8}
!25 = !{!"_ZTS12ImGuiStorage", !26, i64 0}
!26 = !{!"_ZTS8ImVectorIN12ImGuiStorage16ImGuiStoragePairEE", !14, i64 0, !14, i64 4, !6, i64 8}
!27 = !{!"long long", !7, i64 0}
!28 = !{!"_ZTS16ImGuiInputSource", !7, i64 0}
!29 = !{!"_ZTS17ImGuiNextItemData", !14, i64 0, !16, i64 4, !14, i64 8, !14, i64 12, !12, i64 16}
!30 = !{!"_ZTS17ImGuiLastItemData", !14, i64 0, !14, i64 4, !14, i64 8, !31, i64 12, !31, i64 28, !31, i64 44}
!31 = !{!"_ZTS6ImRect", !15, i64 0, !15, i64 8}
!32 = !{!"_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, !31, i64 60, !6, i64 80, !6, i64 88, !16, i64 96, !15, i64 100}
!33 = !{!"_ZTS8ImVectorI13ImGuiColorModE", !14, i64 0, !14, i64 4, !6, i64 8}
!34 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !14, i64 0, !14, i64 4, !6, i64 8}
!35 = !{!"_ZTS8ImVectorIP6ImFontE", !14, i64 0, !14, i64 4, !6, i64 8}
!36 = !{!"_ZTS8ImVectorIjE", !14, i64 0, !14, i64 4, !6, i64 8}
!37 = !{!"_ZTS8ImVectorIiE", !14, i64 0, !14, i64 4, !6, i64 8}
!38 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !14, i64 0, !14, i64 4, !6, i64 8}
!39 = !{!"_ZTS8ImVectorI14ImGuiPopupDataE", !14, i64 0, !14, i64 4, !6, i64 8}
!40 = !{!"_ZTS8ImVectorIP14ImGuiViewportPE", !14, i64 0, !14, i64 4, !6, i64 8}
!41 = !{!"_ZTS13ImGuiNavLayer", !7, i64 0}
!42 = !{!"_ZTS16ImGuiNavItemData", !6, i64 0, !14, i64 8, !14, i64 12, !31, i64 16, !14, i64 32, !16, i64 36, !16, i64 40, !16, i64 44}
!43 = !{!"_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}
!44 = !{!"_ZTS8ImVectorIhE", !14, i64 0, !14, i64 4, !6, i64 8}
!45 = !{!"_ZTS6ImPoolI10ImGuiTableE", !46, i64 0, !25, i64 16, !14, i64 32, !14, i64 36}
!46 = !{!"_ZTS8ImVectorI10ImGuiTableE", !14, i64 0, !14, i64 4, !6, i64 8}
!47 = !{!"_ZTS8ImVectorI18ImGuiTableTempDataE", !14, i64 0, !14, i64 4, !6, i64 8}
!48 = !{!"_ZTS8ImVectorIfE", !14, i64 0, !14, i64 4, !6, i64 8}
!49 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !14, i64 0, !14, i64 4, !6, i64 8}
!50 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !51, i64 0, !25, i64 16, !14, i64 32, !14, i64 36}
!51 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !14, i64 0, !14, i64 4, !6, i64 8}
!52 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !14, i64 0, !14, i64 4, !6, i64 8}
!53 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !14, i64 0, !14, i64 4, !6, i64 8}
!54 = !{!"_ZTS19ImGuiInputTextState", !14, i64 0, !14, i64 4, !14, i64 8, !18, i64 16, !55, i64 32, !55, i64 48, !12, i64 64, !14, i64 68, !16, i64 72, !56, i64 76, !16, i64 3704, !12, i64 3708, !12, i64 3709, !12, i64 3710, !14, i64 3712, !6, i64 3720, !6, i64 3728}
!55 = !{!"_ZTS8ImVectorIcE", !14, i64 0, !14, i64 4, !6, i64 8}
!56 = !{!"_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, !57, i64 32}
!57 = !{!"_ZTSN5ImStb12StbUndoStateE", !7, i64 0, !7, i64 1584, !17, i64 3582, !17, i64 3584, !14, i64 3588, !14, i64 3592}
!58 = !{!"_ZTS6ImFont", !48, i64 0, !16, i64 16, !16, i64 20, !18, i64 24, !59, 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}
!59 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !14, i64 0, !14, i64 4, !6, i64 8}
!60 = !{!"_ZTS21ImGuiComboPreviewData", !31, i64 0, !15, i64 16, !15, i64 24, !15, i64 32, !16, i64 40, !14, i64 44}
!61 = !{!"_ZTS15ImGuiTextBuffer", !55, i64 0}
!62 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !14, i64 0, !14, i64 4, !6, i64 8}
!63 = !{!"_ZTS13ImChunkStreamI19ImGuiWindowSettingsE", !55, i64 0}
!64 = !{!"_ZTS13ImChunkStreamI18ImGuiTableSettingsE", !55, i64 0}
!65 = !{!"_ZTS8ImVectorI16ImGuiContextHookE", !14, i64 0, !14, i64 4, !6, i64 8}
!66 = !{!"_ZTS12ImGuiLogType", !7, i64 0}
!67 = !{!"_ZTS18ImGuiMetricsConfig", !12, i64 0, !12, i64 1, !12, i64 2, !12, i64 3, !12, i64 4, !12, i64 5, !14, i64 8, !14, i64 12}
!68 = !{!"_ZTS14ImGuiStackTool", !14, i64 0, !14, i64 4, !14, i64 8, !69, i64 16}
!69 = !{!"_ZTS8ImVectorI19ImGuiStackLevelInfoE", !14, i64 0, !14, i64 4, !6, i64 8}
!70 = !{i8 0, i8 2}
!71 = !{}
!72 = !{!11, !14, i64 7060}
!73 = !{!11, !14, i64 7056}
!74 = !{!75, !14, i64 560}
!75 = !{!"_ZTS11ImGuiWindow", !6, i64 0, !14, i64 8, !14, i64 12, !15, i64 16, !15, i64 24, !15, i64 32, !15, i64 40, !15, i64 48, !15, i64 56, !15, i64 64, !16, i64 72, !16, i64 76, !14, i64 80, !14, i64 84, !14, i64 88, !15, i64 92, !15, i64 100, !15, i64 108, !15, i64 116, !15, i64 124, !15, i64 132, !12, i64 140, !12, i64 141, !12, i64 142, !12, i64 143, !12, i64 144, !12, i64 145, !12, i64 146, !12, i64 147, !12, i64 148, !12, i64 149, !12, i64 150, !12, i64 151, !7, i64 152, !17, i64 154, !17, i64 156, !17, i64 158, !17, i64 160, !14, i64 164, !7, i64 168, !7, i64 169, !7, i64 170, !12, i64 171, !14, i64 172, !7, i64 176, !7, i64 177, !7, i64 178, !7, i64 179, !14, i64 180, !14, i64 181, !14, i64 182, !15, i64 184, !15, i64 192, !36, i64 200, !76, i64 216, !31, i64 440, !31, i64 456, !31, i64 472, !31, i64 488, !31, i64 504, !31, i64 520, !31, i64 536, !79, i64 552, !79, i64 556, !14, i64 560, !16, i64 564, !16, i64 568, !25, i64 576, !80, i64 592, !16, i64 608, !14, i64 612, !6, i64 616, !81, i64 624, !6, i64 824, !6, i64 832, !6, i64 840, !6, i64 848, !6, i64 856, !6, i64 864, !7, i64 872, !7, i64 880, !14, i64 912, !14, i64 916, !12, i64 920}
!76 = !{!"_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, !77, i64 64, !77, i64 68, !77, i64 72, !41, i64 76, !17, i64 80, !17, i64 82, !14, i64 84, !12, i64 88, !12, i64 89, !12, i64 90, !15, i64 92, !78, i64 100, !14, i64 128, !14, i64 132, !23, i64 136, !6, i64 152, !6, i64 160, !14, i64 168, !14, i64 172, !14, i64 176, !14, i64 180, !16, i64 184, !16, i64 188, !48, i64 192, !48, i64 208}
!77 = !{!"_ZTS6ImVec1", !16, i64 0}
!78 = !{!"_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}
!79 = !{!"_ZTS8ImVec2ih", !17, i64 0, !17, i64 2}
!80 = !{!"_ZTS8ImVectorI15ImGuiOldColumnsE", !14, i64 0, !14, i64 4, !6, i64 8}
!81 = !{!"_ZTS10ImDrawList", !82, i64 0, !18, i64 16, !83, i64 32, !14, i64 48, !14, i64 52, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !84, i64 88, !85, i64 104, !86, i64 120, !87, i64 136, !88, i64 168, !16, i64 192}
!82 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !14, i64 0, !14, i64 4, !6, i64 8}
!83 = !{!"_ZTS8ImVectorI10ImDrawVertE", !14, i64 0, !14, i64 4, !6, i64 8}
!84 = !{!"_ZTS8ImVectorI6ImVec4E", !14, i64 0, !14, i64 4, !6, i64 8}
!85 = !{!"_ZTS8ImVectorIPvE", !14, i64 0, !14, i64 4, !6, i64 8}
!86 = !{!"_ZTS8ImVectorI6ImVec2E", !14, i64 0, !14, i64 4, !6, i64 8}
!87 = !{!"_ZTS15ImDrawCmdHeader", !21, i64 0, !6, i64 16, !14, i64 24}
!88 = !{!"_ZTS18ImDrawListSplitter", !14, i64 0, !14, i64 4, !49, i64 8}
!89 = !{!11, !14, i64 7136}
!90 = !{!11, !12, i64 7069}
!91 = !{!75, !12, i64 150}
!92 = !{!11, !14, i64 7656}
!93 = !{!75, !14, i64 164}
!94 = !{!95, !14, i64 0}
!95 = !{!"_ZTS14ImGuiPopupData", !14, i64 0, !6, i64 8, !6, i64 16, !14, i64 24, !14, i64 28, !15, i64 32, !15, i64 40}
!96 = !{!95, !6, i64 8}
!97 = !{!75, !12, i64 148}
!98 = !{!75, !14, i64 12}
!99 = !{!11, !22, i64 7048}
!100 = !{!75, !16, i64 564}
!101 = !{!75, !17, i64 156}
!102 = !{!11, !14, i64 7168}
!103 = !{!75, !17, i64 158}
!104 = !{!105, !6, i64 0}
!105 = !{!"_ZTS20ImGuiWindowStackData", !6, i64 0, !30, i64 8, !106, i64 68}
!106 = !{!"_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}
!107 = !{!75, !6, i64 824}
!108 = !{!75, !14, i64 200}
!109 = !{!11, !6, i64 7184}
!110 = !{i64 0, i64 4, !111, i64 4, i64 4, !111, i64 8, i64 4, !111, i64 12, i64 4, !112, i64 16, i64 4, !112, i64 20, i64 4, !112, i64 24, i64 4, !112, i64 28, i64 4, !112, i64 32, i64 4, !112, i64 36, i64 4, !112, i64 40, i64 4, !112, i64 44, i64 4, !112, i64 48, i64 4, !112, i64 52, i64 4, !112, i64 56, i64 4, !112}
!111 = !{!14, !14, i64 0}
!112 = !{!16, !16, i64 0}
!113 = !{!11, !14, i64 7432}
!114 = !{!11, !14, i64 7436}
!115 = !{!11, !14, i64 7440}
!116 = !{!11, !16, i64 7464}
!117 = !{!11, !16, i64 7468}
!118 = !{!11, !16, i64 7480}
!119 = !{!75, !16, i64 108}
!120 = !{!75, !16, i64 116}
!121 = !{!11, !16, i64 7484}
!122 = !{!75, !16, i64 112}
!123 = !{!75, !16, i64 120}
!124 = !{!11, !12, i64 7488}
!125 = !{!11, !14, i64 7444}
!126 = !{!75, !12, i64 142}
!127 = !{!75, !12, i64 151}
!128 = !{i64 0, i64 4, !112, i64 4, i64 4, !112, i64 8, i64 4, !112, i64 12, i64 4, !112}
!129 = !{!75, !6, i64 616}
!130 = !{!75, !14, i64 384}
!131 = !{!75, !12, i64 920}
!132 = !{!11, !6, i64 8000}
!133 = !{!75, !6, i64 0}
!134 = !{!75, !14, i64 80}
!135 = !{!136, !136, i64 0}
!136 = !{!"long", !7, i64 0}
!137 = !{!75, !7, i64 177}
!138 = !{!75, !7, i64 176}
!139 = !{!75, !7, i64 178}
!140 = !{!75, !16, i64 32}
!141 = !{!75, !16, i64 24}
!142 = !{!75, !16, i64 36}
!143 = !{!75, !16, i64 28}
!144 = !{!75, !16, i64 76}
!145 = !{!19, !16, i64 48}
!146 = !{!19, !16, i64 12}
!147 = !{!19, !16, i64 76}
!148 = !{!11, !16, i64 7532}
!149 = !{!75, !16, i64 308}
!150 = !{!11, !16, i64 7536}
!151 = !{!75, !16, i64 312}
!152 = !{!11, !6, i64 7192}
!153 = !{!11, !14, i64 7240}
!154 = !{!11, !14, i64 7244}
!155 = !{!12, !12, i64 0}
!156 = !{!75, !12, i64 146}
!157 = !{!75, !12, i64 145}
!158 = !{!75, !7, i64 168}
!159 = !{!75, !7, i64 169}
!160 = !{!75, !12, i64 171}
!161 = !{!15, !16, i64 4}
!162 = !{!75, !14, i64 172}
!163 = !{!75, !14, i64 352}
!164 = !{!75, !16, i64 184}
!165 = !{!75, !16, i64 72}
!166 = !{!11, !12, i64 204}
!167 = !{!11, !16, i64 6528}
!168 = !{!75, !7, i64 152}
!169 = !{!75, !12, i64 141}
!170 = !{!75, !12, i64 140}
!171 = !{!15, !16, i64 0}
!172 = !{!19, !16, i64 116}
!173 = !{!75, !16, i64 456}
!174 = !{!75, !16, i64 460}
!175 = !{!75, !16, i64 64}
!176 = !{!75, !16, i64 472}
!177 = !{!75, !16, i64 476}
!178 = !{!75, !16, i64 464}
!179 = !{!75, !16, i64 480}
!180 = !{!75, !16, i64 468}
!181 = !{!75, !16, i64 484}
!182 = !{!75, !16, i64 568}
!183 = !{!75, !16, i64 40}
!184 = !{!75, !16, i64 100}
!185 = !{!75, !16, i64 44}
!186 = !{!75, !16, i64 68}
!187 = !{!75, !16, i64 104}
!188 = !{!81, !14, i64 0}
!189 = !{!190, !14, i64 32}
!190 = !{!"_ZTS9ImDrawCmd", !21, i64 0, !6, i64 16, !14, i64 24, !14, i64 28, !14, i64 32, !6, i64 40, !6, i64 48}
!191 = !{!11, !6, i64 6520}
!192 = !{!58, !6, i64 64}
!193 = !{!194, !6, i64 8}
!194 = !{!"_ZTS11ImFontAtlas", !14, i64 0, !6, i64 8, !14, i64 16, !14, i64 20, !12, i64 24, !12, i64 25, !12, i64 26, !6, i64 32, !6, i64 40, !14, i64 48, !14, i64 52, !15, i64 56, !15, i64 64, !35, i64 72, !195, i64 88, !196, i64 104, !7, i64 120, !6, i64 1144, !14, i64 1152, !14, i64 1156, !14, i64 1160}
!195 = !{!"_ZTS8ImVectorI21ImFontAtlasCustomRectE", !14, i64 0, !14, i64 4, !6, i64 8}
!196 = !{!"_ZTS8ImVectorI12ImFontConfigE", !14, i64 0, !14, i64 4, !6, i64 8}
!197 = !{!11, !6, i64 7992}
!198 = !{!75, !6, i64 832}
!199 = !{!11, !16, i64 8052}
!200 = !{!11, !16, i64 8012}
!201 = !{!11, !16, i64 5488}
!202 = !{!81, !14, i64 32}
!203 = !{!11, !6, i64 7984}
!204 = !{!11, !6, i64 7688}
!205 = !{!75, !6, i64 848}
!206 = !{!75, !16, i64 56}
!207 = !{!75, !16, i64 132}
!208 = !{!75, !16, i64 60}
!209 = !{!75, !16, i64 136}
!210 = !{!75, !16, i64 92}
!211 = !{!75, !16, i64 488}
!212 = !{!75, !16, i64 96}
!213 = !{!75, !16, i64 492}
!214 = !{!75, !16, i64 16}
!215 = !{!75, !16, i64 536}
!216 = !{!75, !16, i64 20}
!217 = !{!75, !16, i64 540}
!218 = !{!75, !16, i64 544}
!219 = !{!75, !16, i64 548}
!220 = !{!75, !16, i64 280}
!221 = !{!75, !41, i64 292}
!222 = !{!75, !17, i64 298}
!223 = !{!75, !17, i64 296}
!224 = !{!75, !12, i64 304}
!225 = !{!75, !12, i64 305}
!226 = !{!75, !12, i64 306}
!227 = !{!75, !14, i64 344}
!228 = !{!75, !14, i64 348}
!229 = !{!75, !6, i64 368}
!230 = !{!75, !6, i64 376}
!231 = !{!75, !14, i64 388}
!232 = !{!75, !14, i64 392}
!233 = !{!75, !14, i64 396}
!234 = !{!75, !16, i64 400}
!235 = !{!75, !16, i64 404}
!236 = !{!31, !16, i64 0}
!237 = !{!31, !16, i64 4}
!238 = !{!31, !16, i64 8}
!239 = !{!31, !16, i64 12}
!240 = !{!75, !17, i64 554}
!241 = !{!75, !17, i64 552}
!242 = !{!75, !14, i64 84}
!243 = !{!11, !14, i64 7368}
!244 = !{!11, !14, i64 7344}
!245 = !{!11, !14, i64 7372}
!246 = !{!11, !14, i64 7376}
!247 = !{!75, !14, i64 300}
!248 = !{!75, !12, i64 144}
!249 = !{!75, !17, i64 154}
!250 = !{!75, !12, i64 147}
!251 = !{!11, !12, i64 12524}
!252 = !{!75, !16, i64 440}
!253 = !{!75, !16, i64 448}
!254 = !{!75, !16, i64 444}
!255 = !{!75, !16, i64 452}
!256 = !{!19, !16, i64 0}
!257 = !{!75, !12, i64 149}
!258 = !{!75, !7, i64 179}


; Effective O3 passes: AggressiveInstCombinePass,BDCEPass,CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,ReassociatePass,SCCPPass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass