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

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

@GImGui = external dso_local global ptr, align 8
@.str.17 = external hidden unnamed_addr constant [1 x i8], align 1
@.str.400 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.663 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.664 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.665 = external hidden unnamed_addr constant [73 x i8], align 1
@.str.666 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.667 = external hidden unnamed_addr constant [63 x i8], align 1
@.str.668 = external hidden unnamed_addr constant [68 x i8], align 1
@.str.669 = external hidden unnamed_addr constant [54 x i8], align 1
@.str.670 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.671 = external hidden unnamed_addr constant [6 x i8], align 1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN6ImVec2C2Ev(ptr noundef nonnull align 4 dereferenceable(8)) unnamed_addr #0 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8), float noundef, float noundef) unnamed_addr #0 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) #1

declare i32 @__gxx_personality_v0(...)

; 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 nounwind uwtable
declare dso_local noundef i32 @_Z14ImFormatStringPcmPKcz(ptr noundef, i64 noundef, ptr noundef, ...) #0

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN16ImGuiListClipper4StepEv(ptr noundef nonnull align 8 dereferenceable(40)) #4 align 2

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) #5

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN5ImGui13IsItemHoveredEi(i32 noundef) #4

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

declare void @_ZN5ImGui7TreePopEv() #5

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN5ImGui8SameLineEff(float noundef, float noundef) #0

declare noundef zeroext i1 @_ZN5ImGui10SelectableEPKcbiRK6ImVec2(ptr noundef, i1 noundef zeroext, i32 noundef, ptr noundef nonnull align 4 dereferenceable(8)) #5

declare void @_ZN5ImGui10BulletTextEPKcz(ptr noundef, ...) #5

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN5ImGui17DebugNodeDrawListEP11ImGuiWindowP14ImGuiViewportPPK10ImDrawListPKc(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #6 personality ptr @__gxx_personality_v0 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca i8, align 1
  %13 = alloca %struct.ImVec4, align 4
  %14 = alloca i32, align 4
  %15 = alloca ptr, align 8
  %16 = alloca %struct.ImVec2, align 4
  %17 = alloca ptr, align 8
  %18 = alloca [20 x i8], align 16
  %19 = alloca [300 x i8], align 16
  %20 = alloca i8, align 1
  %21 = alloca ptr, align 8
  %22 = alloca ptr, align 8
  %23 = alloca float, align 4
  %24 = alloca i32, align 4
  %25 = alloca [3 x %struct.ImVec2], align 16
  %26 = alloca i32, align 4
  %27 = alloca %struct.ImVec2, align 4
  %28 = alloca %struct.ImGuiListClipper, align 8
  %29 = alloca ptr, align 8
  %30 = alloca i32, align 4
  %31 = alloca i32, align 4
  %32 = alloca i32, align 4
  %33 = alloca ptr, align 8
  %34 = alloca ptr, align 8
  %35 = alloca [3 x %struct.ImVec2], align 16
  %36 = alloca i32, align 4
  %37 = alloca ptr, align 8
  %38 = alloca %struct.ImVec2, align 4
  %39 = alloca i32, align 4
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store ptr %2, ptr %7, align 8, !tbaa !5
  store ptr %3, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #8
  %40 = load ptr, ptr @GImGui, align 8, !tbaa !5
  store ptr %40, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #8
  %41 = load ptr, ptr %9, align 8, !tbaa !5
  %42 = getelementptr inbounds %struct.ImGuiContext, ptr %41, i32 0, i32 276
  store ptr %42, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #8
  %43 = load ptr, ptr %7, align 8, !tbaa !5
  %44 = getelementptr inbounds %struct.ImDrawList, ptr %43, i32 0, i32 0
  %45 = getelementptr inbounds %struct.ImVector.39, ptr %44, i32 0, i32 0
  %46 = load i32, ptr %45, align 8, !tbaa !9
  store i32 %46, ptr %11, align 4, !tbaa !23
  %47 = load i32, ptr %11, align 4, !tbaa !23
  %48 = icmp sgt i32 %47, 0
  br i1 %48, label %49, label %66

49:                                               ; preds = %4
  %50 = load ptr, ptr %7, align 8, !tbaa !5
  %51 = getelementptr inbounds %struct.ImDrawList, ptr %50, i32 0, i32 0
  %52 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNK8ImVectorI9ImDrawCmdE4backEv(ptr noundef nonnull align 8 dereferenceable(16) %51)
  %53 = getelementptr inbounds %struct.ImDrawCmd, ptr %52, i32 0, i32 4
  %54 = load i32, ptr %53, align 8, !tbaa !24
  %55 = icmp eq i32 %54, 0
  br i1 %55, label %56, label %66

56:                                               ; preds = %49
  %57 = load ptr, ptr %7, align 8, !tbaa !5
  %58 = getelementptr inbounds %struct.ImDrawList, ptr %57, i32 0, i32 0
  %59 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNK8ImVectorI9ImDrawCmdE4backEv(ptr noundef nonnull align 8 dereferenceable(16) %58)
  %60 = getelementptr inbounds %struct.ImDrawCmd, ptr %59, i32 0, i32 5
  %61 = load ptr, ptr %60, align 8, !tbaa !26
  %62 = icmp eq ptr %61, null
  br i1 %62, label %63, label %66

63:                                               ; preds = %56
  %64 = load i32, ptr %11, align 4, !tbaa !23
  %65 = add nsw i32 %64, -1
  store i32 %65, ptr %11, align 4, !tbaa !23
  br label %66

66:                                               ; preds = %63, %56, %49, %4
  call void @llvm.lifetime.start.p0(i64 1, ptr %12) #8
  %67 = load ptr, ptr %7, align 8, !tbaa !5
  %68 = load ptr, ptr %8, align 8, !tbaa !5
  %69 = load ptr, ptr %7, align 8, !tbaa !5
  %70 = getelementptr inbounds %struct.ImDrawList, ptr %69, i32 0, i32 6
  %71 = load ptr, ptr %70, align 8, !tbaa !27
  %72 = icmp ne ptr %71, null
  br i1 %72, label %73, label %77

73:                                               ; preds = %66
  %74 = load ptr, ptr %7, align 8, !tbaa !5
  %75 = getelementptr inbounds %struct.ImDrawList, ptr %74, i32 0, i32 6
  %76 = load ptr, ptr %75, align 8, !tbaa !27
  br label %78

77:                                               ; preds = %66
  br label %78

78:                                               ; preds = %77, %73
  %79 = phi ptr [ %76, %73 ], [ @.str.17, %77 ]
  %80 = load ptr, ptr %7, align 8, !tbaa !5
  %81 = getelementptr inbounds %struct.ImDrawList, ptr %80, i32 0, i32 2
  %82 = getelementptr inbounds %struct.ImVector.40, ptr %81, i32 0, i32 0
  %83 = load i32, ptr %82, align 8, !tbaa !28
  %84 = load ptr, ptr %7, align 8, !tbaa !5
  %85 = getelementptr inbounds %struct.ImDrawList, ptr %84, i32 0, i32 1
  %86 = getelementptr inbounds %struct.ImVector, ptr %85, i32 0, i32 0
  %87 = load i32, ptr %86, align 8, !tbaa !29
  %88 = load i32, ptr %11, align 4, !tbaa !23
  %89 = call noundef zeroext i1 (ptr, ptr, ...) @_ZN5ImGui8TreeNodeEPKvPKcz(ptr noundef %67, ptr noundef @.str.663, ptr noundef %68, ptr noundef %79, i32 noundef %83, i32 noundef %87, i32 noundef %88)
  %90 = zext i1 %89 to i8
  store i8 %90, ptr %12, align 1, !tbaa !30
  %91 = load ptr, ptr %7, align 8, !tbaa !5
  %92 = call noundef ptr @_ZN5ImGui17GetWindowDrawListEv()
  %93 = icmp eq ptr %91, %92
  br i1 %93, label %94, label %99

94:                                               ; preds = %78
  call void @_ZN5ImGui8SameLineEff(float noundef 0.000000e+00, float noundef -1.000000e+00)
  call void @llvm.lifetime.start.p0(i64 16, ptr %13) #8
  call void @_ZN6ImVec4C2Effff(ptr noundef nonnull align 4 dereferenceable(16) %13, float noundef 1.000000e+00, float noundef 0x3FD99999A0000000, float noundef 0x3FD99999A0000000, float noundef 1.000000e+00)
  call void (ptr, ptr, ...) @_ZN5ImGui11TextColoredERK6ImVec4PKcz(ptr noundef nonnull align 4 dereferenceable(16) %13, ptr noundef @.str.664)
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #8
  %95 = load i8, ptr %12, align 1, !tbaa !30, !range !32, !noundef !33
  %96 = trunc i8 %95 to i1
  br i1 %96, label %97, label %98

97:                                               ; preds = %94
  call void @_ZN5ImGui7TreePopEv()
  br label %98

98:                                               ; preds = %97, %94
  store i32 1, ptr %14, align 4
  br label %511

99:                                               ; preds = %78
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #8
  %100 = load ptr, ptr %6, align 8, !tbaa !5
  %101 = icmp ne ptr %100, null
  br i1 %101, label %102, label %105

102:                                              ; preds = %99
  %103 = load ptr, ptr %6, align 8, !tbaa !5
  %104 = call noundef ptr @_ZN5ImGui21GetForegroundDrawListEP13ImGuiViewport(ptr noundef %103)
  br label %106

105:                                              ; preds = %99
  br label %106

106:                                              ; preds = %105, %102
  %107 = phi ptr [ %104, %102 ], [ null, %105 ]
  store ptr %107, ptr %15, align 8, !tbaa !5
  %108 = load ptr, ptr %5, align 8, !tbaa !5
  %109 = icmp ne ptr %108, null
  br i1 %109, label %110, label %124

110:                                              ; preds = %106
  %111 = call noundef zeroext i1 @_ZN5ImGui13IsItemHoveredEi(i32 noundef 0)
  br i1 %111, label %112, label %124

112:                                              ; preds = %110
  %113 = load ptr, ptr %15, align 8, !tbaa !5
  %114 = icmp ne ptr %113, null
  br i1 %114, label %115, label %124

115:                                              ; preds = %112
  %116 = load ptr, ptr %15, align 8, !tbaa !5
  %117 = load ptr, ptr %5, align 8, !tbaa !5
  %118 = getelementptr inbounds %struct.ImGuiWindow, ptr %117, i32 0, i32 11
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #8
  %119 = load ptr, ptr %5, align 8, !tbaa !5
  %120 = getelementptr inbounds %struct.ImGuiWindow, ptr %119, i32 0, i32 11
  %121 = load ptr, ptr %5, align 8, !tbaa !5
  %122 = getelementptr inbounds %struct.ImGuiWindow, ptr %121, i32 0, i32 12
  %123 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %120, ptr noundef nonnull align 4 dereferenceable(8) %122)
  store <2 x float> %123, ptr %16, align 4
  call void @_ZN10ImDrawList7AddRectERK6ImVec2S2_jfif(ptr noundef nonnull align 8 dereferenceable(196) %116, ptr noundef nonnull align 4 dereferenceable(8) %118, ptr noundef nonnull align 4 dereferenceable(8) %16, i32 noundef -16711681, float noundef 0.000000e+00, i32 noundef 0, float noundef 1.000000e+00)
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #8
  br label %124

124:                                              ; preds = %115, %112, %110, %106
  %125 = load i8, ptr %12, align 1, !tbaa !30, !range !32, !noundef !33
  %126 = trunc i8 %125 to i1
  br i1 %126, label %128, label %127

127:                                              ; preds = %124
  store i32 1, ptr %14, align 4
  br label %510

128:                                              ; preds = %124
  %129 = load ptr, ptr %5, align 8, !tbaa !5
  %130 = icmp ne ptr %129, null
  br i1 %130, label %131, label %137

131:                                              ; preds = %128
  %132 = load ptr, ptr %5, align 8, !tbaa !5
  %133 = getelementptr inbounds %struct.ImGuiWindow, ptr %132, i32 0, i32 40
  %134 = load i8, ptr %133, align 4, !tbaa !34, !range !32, !noundef !33
  %135 = trunc i8 %134 to i1
  br i1 %135, label %137, label %136

136:                                              ; preds = %131
  call void (ptr, ...) @_ZN5ImGui12TextDisabledEPKcz(ptr noundef @.str.665)
  br label %137

137:                                              ; preds = %136, %131, %128
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #8
  %138 = load ptr, ptr %7, align 8, !tbaa !5
  %139 = getelementptr inbounds %struct.ImDrawList, ptr %138, i32 0, i32 0
  %140 = getelementptr inbounds %struct.ImVector.39, ptr %139, i32 0, i32 2
  %141 = load ptr, ptr %140, align 8, !tbaa !52
  store ptr %141, ptr %17, align 8, !tbaa !5
  br label %142

142:                                              ; preds = %505, %137
  %143 = load ptr, ptr %17, align 8, !tbaa !5
  %144 = load ptr, ptr %7, align 8, !tbaa !5
  %145 = getelementptr inbounds %struct.ImDrawList, ptr %144, i32 0, i32 0
  %146 = getelementptr inbounds %struct.ImVector.39, ptr %145, i32 0, i32 2
  %147 = load ptr, ptr %146, align 8, !tbaa !52
  %148 = load i32, ptr %11, align 4, !tbaa !23
  %149 = sext i32 %148 to i64
  %150 = getelementptr inbounds %struct.ImDrawCmd, ptr %147, i64 %149
  %151 = icmp ult ptr %143, %150
  br i1 %151, label %153, label %152

152:                                              ; preds = %142
  store i32 2, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #8
  br label %509

153:                                              ; preds = %142
  %154 = load ptr, ptr %17, align 8, !tbaa !5
  %155 = getelementptr inbounds %struct.ImDrawCmd, ptr %154, i32 0, i32 5
  %156 = load ptr, ptr %155, align 8, !tbaa !26
  %157 = icmp ne ptr %156, null
  br i1 %157, label %158, label %165

158:                                              ; preds = %153
  %159 = load ptr, ptr %17, align 8, !tbaa !5
  %160 = getelementptr inbounds %struct.ImDrawCmd, ptr %159, i32 0, i32 5
  %161 = load ptr, ptr %160, align 8, !tbaa !26
  %162 = load ptr, ptr %17, align 8, !tbaa !5
  %163 = getelementptr inbounds %struct.ImDrawCmd, ptr %162, i32 0, i32 6
  %164 = load ptr, ptr %163, align 8, !tbaa !53
  call void (ptr, ...) @_ZN5ImGui10BulletTextEPKcz(ptr noundef @.str.666, ptr noundef %161, ptr noundef %164)
  br label %505

165:                                              ; preds = %153
  call void @llvm.lifetime.start.p0(i64 20, ptr %18) #8
  %166 = getelementptr inbounds [20 x i8], ptr %18, i64 0, i64 0
  %167 = load ptr, ptr %17, align 8, !tbaa !5
  %168 = getelementptr inbounds %struct.ImDrawCmd, ptr %167, i32 0, i32 1
  %169 = load ptr, ptr %168, align 8, !tbaa !54
  call void @_ZL30FormatTextureIDForDebugDisplayPciPv(ptr noundef %166, i32 noundef 20, ptr noundef %169)
  call void @llvm.lifetime.start.p0(i64 300, ptr %19) #8
  %170 = getelementptr inbounds [300 x i8], ptr %19, i64 0, i64 0
  %171 = load ptr, ptr %17, align 8, !tbaa !5
  %172 = getelementptr inbounds %struct.ImDrawCmd, ptr %171, i32 0, i32 4
  %173 = load i32, ptr %172, align 8, !tbaa !24
  %174 = udiv i32 %173, 3
  %175 = getelementptr inbounds [20 x i8], ptr %18, i64 0, i64 0
  %176 = load ptr, ptr %17, align 8, !tbaa !5
  %177 = getelementptr inbounds %struct.ImDrawCmd, ptr %176, i32 0, i32 0
  %178 = getelementptr inbounds %struct.ImVec4, ptr %177, i32 0, i32 0
  %179 = load float, ptr %178, align 8, !tbaa !55
  %180 = fpext float %179 to double
  %181 = load ptr, ptr %17, align 8, !tbaa !5
  %182 = getelementptr inbounds %struct.ImDrawCmd, ptr %181, i32 0, i32 0
  %183 = getelementptr inbounds %struct.ImVec4, ptr %182, i32 0, i32 1
  %184 = load float, ptr %183, align 4, !tbaa !56
  %185 = fpext float %184 to double
  %186 = load ptr, ptr %17, align 8, !tbaa !5
  %187 = getelementptr inbounds %struct.ImDrawCmd, ptr %186, i32 0, i32 0
  %188 = getelementptr inbounds %struct.ImVec4, ptr %187, i32 0, i32 2
  %189 = load float, ptr %188, align 8, !tbaa !57
  %190 = fpext float %189 to double
  %191 = load ptr, ptr %17, align 8, !tbaa !5
  %192 = getelementptr inbounds %struct.ImDrawCmd, ptr %191, i32 0, i32 0
  %193 = getelementptr inbounds %struct.ImVec4, ptr %192, i32 0, i32 3
  %194 = load float, ptr %193, align 4, !tbaa !58
  %195 = fpext float %194 to double
  %196 = call noundef i32 (ptr, i64, ptr, ...) @_Z14ImFormatStringPcmPKcz(ptr noundef %170, i64 noundef 300, ptr noundef @.str.667, i32 noundef %174, ptr noundef %175, double noundef %180, double noundef %185, double noundef %190, double noundef %195)
  call void @llvm.lifetime.start.p0(i64 1, ptr %20) #8
  %197 = load ptr, ptr %17, align 8, !tbaa !5
  %198 = load ptr, ptr %7, align 8, !tbaa !5
  %199 = getelementptr inbounds %struct.ImDrawList, ptr %198, i32 0, i32 0
  %200 = call noundef ptr @_ZNK8ImVectorI9ImDrawCmdE5beginEv(ptr noundef nonnull align 8 dereferenceable(16) %199)
  %201 = ptrtoint ptr %197 to i64
  %202 = ptrtoint ptr %200 to i64
  %203 = sub i64 %201, %202
  %204 = sdiv exact i64 %203, 56
  %205 = inttoptr i64 %204 to ptr
  %206 = getelementptr inbounds [300 x i8], ptr %19, i64 0, i64 0
  %207 = call noundef zeroext i1 (ptr, ptr, ...) @_ZN5ImGui8TreeNodeEPKvPKcz(ptr noundef %205, ptr noundef @.str.400, ptr noundef %206)
  %208 = zext i1 %207 to i8
  store i8 %208, ptr %20, align 1, !tbaa !30
  %209 = call noundef zeroext i1 @_ZN5ImGui13IsItemHoveredEi(i32 noundef 0)
  br i1 %209, label %210, label %235

210:                                              ; preds = %165
  %211 = load ptr, ptr %10, align 8, !tbaa !5
  %212 = getelementptr inbounds %struct.ImGuiMetricsConfig, ptr %211, i32 0, i32 5
  %213 = load i8, ptr %212, align 1, !tbaa !59, !range !32, !noundef !33
  %214 = trunc i8 %213 to i1
  br i1 %214, label %220, label %215

215:                                              ; preds = %210
  %216 = load ptr, ptr %10, align 8, !tbaa !5
  %217 = getelementptr inbounds %struct.ImGuiMetricsConfig, ptr %216, i32 0, i32 6
  %218 = load i8, ptr %217, align 2, !tbaa !61, !range !32, !noundef !33
  %219 = trunc i8 %218 to i1
  br i1 %219, label %220, label %235

220:                                              ; preds = %215, %210
  %221 = load ptr, ptr %15, align 8, !tbaa !5
  %222 = icmp ne ptr %221, null
  br i1 %222, label %223, label %235

223:                                              ; preds = %220
  %224 = load ptr, ptr %15, align 8, !tbaa !5
  %225 = load ptr, ptr %7, align 8, !tbaa !5
  %226 = load ptr, ptr %17, align 8, !tbaa !5
  %227 = load ptr, ptr %10, align 8, !tbaa !5
  %228 = getelementptr inbounds %struct.ImGuiMetricsConfig, ptr %227, i32 0, i32 5
  %229 = load i8, ptr %228, align 1, !tbaa !59, !range !32, !noundef !33
  %230 = trunc i8 %229 to i1
  %231 = load ptr, ptr %10, align 8, !tbaa !5
  %232 = getelementptr inbounds %struct.ImGuiMetricsConfig, ptr %231, i32 0, i32 6
  %233 = load i8, ptr %232, align 2, !tbaa !61, !range !32, !noundef !33
  %234 = trunc i8 %233 to i1
  call void @_ZN5ImGui38DebugNodeDrawCmdShowMeshAndBoundingBoxEP10ImDrawListPKS0_PK9ImDrawCmdbb(ptr noundef %224, ptr noundef %225, ptr noundef %226, i1 noundef zeroext %230, i1 noundef zeroext %234)
  br label %235

235:                                              ; preds = %223, %220, %215, %165
  %236 = load i8, ptr %20, align 1, !tbaa !30, !range !32, !noundef !33
  %237 = trunc i8 %236 to i1
  br i1 %237, label %239, label %238

238:                                              ; preds = %235
  store i32 4, ptr %14, align 4
  br label %502

239:                                              ; preds = %235
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #8
  %240 = load ptr, ptr %7, align 8, !tbaa !5
  %241 = getelementptr inbounds %struct.ImDrawList, ptr %240, i32 0, i32 1
  %242 = getelementptr inbounds %struct.ImVector, ptr %241, i32 0, i32 0
  %243 = load i32, ptr %242, align 8, !tbaa !29
  %244 = icmp sgt i32 %243, 0
  br i1 %244, label %245, label %250

245:                                              ; preds = %239
  %246 = load ptr, ptr %7, align 8, !tbaa !5
  %247 = getelementptr inbounds %struct.ImDrawList, ptr %246, i32 0, i32 1
  %248 = getelementptr inbounds %struct.ImVector, ptr %247, i32 0, i32 2
  %249 = load ptr, ptr %248, align 8, !tbaa !62
  br label %251

250:                                              ; preds = %239
  br label %251

251:                                              ; preds = %250, %245
  %252 = phi ptr [ %249, %245 ], [ null, %250 ]
  store ptr %252, ptr %21, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #8
  %253 = load ptr, ptr %7, align 8, !tbaa !5
  %254 = getelementptr inbounds %struct.ImDrawList, ptr %253, i32 0, i32 2
  %255 = getelementptr inbounds %struct.ImVector.40, ptr %254, i32 0, i32 2
  %256 = load ptr, ptr %255, align 8, !tbaa !63
  %257 = load ptr, ptr %17, align 8, !tbaa !5
  %258 = getelementptr inbounds %struct.ImDrawCmd, ptr %257, i32 0, i32 2
  %259 = load i32, ptr %258, align 8, !tbaa !64
  %260 = zext i32 %259 to i64
  %261 = getelementptr inbounds %struct.ImDrawVert, ptr %256, i64 %260
  store ptr %261, ptr %22, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #8
  store float 0.000000e+00, ptr %23, align 4, !tbaa !65
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #8
  %262 = load ptr, ptr %17, align 8, !tbaa !5
  %263 = getelementptr inbounds %struct.ImDrawCmd, ptr %262, i32 0, i32 3
  %264 = load i32, ptr %263, align 4, !tbaa !66
  store i32 %264, ptr %24, align 4, !tbaa !23
  br label %265

265:                                              ; preds = %314, %251
  %266 = load i32, ptr %24, align 4, !tbaa !23
  %267 = load ptr, ptr %17, align 8, !tbaa !5
  %268 = getelementptr inbounds %struct.ImDrawCmd, ptr %267, i32 0, i32 3
  %269 = load i32, ptr %268, align 4, !tbaa !66
  %270 = load ptr, ptr %17, align 8, !tbaa !5
  %271 = getelementptr inbounds %struct.ImDrawCmd, ptr %270, i32 0, i32 4
  %272 = load i32, ptr %271, align 8, !tbaa !24
  %273 = add i32 %269, %272
  %274 = icmp ult i32 %266, %273
  br i1 %274, label %276, label %275

275:                                              ; preds = %265
  store i32 5, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #8
  br label %321

276:                                              ; preds = %265
  call void @llvm.lifetime.start.p0(i64 24, ptr %25) #8
  %277 = getelementptr inbounds [3 x %struct.ImVec2], ptr %25, i32 0, i32 0
  %278 = getelementptr inbounds %struct.ImVec2, ptr %277, i64 3
  br label %279

279:                                              ; preds = %279, %276
  %280 = phi ptr [ %277, %276 ], [ %281, %279 ]
  call void @_ZN6ImVec2C2Ev(ptr noundef nonnull align 4 dereferenceable(8) %280)
  %281 = getelementptr inbounds %struct.ImVec2, ptr %280, i64 1
  %282 = icmp eq ptr %281, %278
  br i1 %282, label %283, label %279

283:                                              ; preds = %279
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #8
  store i32 0, ptr %26, align 4, !tbaa !23
  br label %284

284:                                              ; preds = %309, %283
  %285 = load i32, ptr %26, align 4, !tbaa !23
  %286 = icmp slt i32 %285, 3
  br i1 %286, label %288, label %287

287:                                              ; preds = %284
  store i32 7, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #8
  br label %314

288:                                              ; preds = %284
  %289 = load ptr, ptr %22, align 8, !tbaa !5
  %290 = load ptr, ptr %21, align 8, !tbaa !5
  %291 = icmp ne ptr %290, null
  br i1 %291, label %292, label %299

292:                                              ; preds = %288
  %293 = load ptr, ptr %21, align 8, !tbaa !5
  %294 = load i32, ptr %24, align 4, !tbaa !23
  %295 = zext i32 %294 to i64
  %296 = getelementptr inbounds i16, ptr %293, i64 %295
  %297 = load i16, ptr %296, align 2, !tbaa !67
  %298 = zext i16 %297 to i32
  br label %301

299:                                              ; preds = %288
  %300 = load i32, ptr %24, align 4, !tbaa !23
  br label %301

301:                                              ; preds = %299, %292
  %302 = phi i32 [ %298, %292 ], [ %300, %299 ]
  %303 = zext i32 %302 to i64
  %304 = getelementptr inbounds %struct.ImDrawVert, ptr %289, i64 %303
  %305 = getelementptr inbounds %struct.ImDrawVert, ptr %304, i32 0, i32 0
  %306 = load i32, ptr %26, align 4, !tbaa !23
  %307 = sext i32 %306 to i64
  %308 = getelementptr inbounds [3 x %struct.ImVec2], ptr %25, i64 0, i64 %307
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %308, ptr align 4 %305, i64 8, i1 false), !tbaa.struct !68
  br label %309

309:                                              ; preds = %301
  %310 = load i32, ptr %26, align 4, !tbaa !23
  %311 = add nsw i32 %310, 1
  store i32 %311, ptr %26, align 4, !tbaa !23
  %312 = load i32, ptr %24, align 4, !tbaa !23
  %313 = add i32 %312, 1
  store i32 %313, ptr %24, align 4, !tbaa !23
  br label %284, !llvm.loop !69

314:                                              ; preds = %287
  %315 = getelementptr inbounds [3 x %struct.ImVec2], ptr %25, i64 0, i64 0
  %316 = getelementptr inbounds [3 x %struct.ImVec2], ptr %25, i64 0, i64 1
  %317 = getelementptr inbounds [3 x %struct.ImVec2], ptr %25, i64 0, i64 2
  %318 = call noundef float @_Z14ImTriangleAreaRK6ImVec2S1_S1_(ptr noundef nonnull align 4 dereferenceable(8) %315, ptr noundef nonnull align 4 dereferenceable(8) %316, ptr noundef nonnull align 4 dereferenceable(8) %317)
  %319 = load float, ptr %23, align 4, !tbaa !65
  %320 = fadd float %319, %318
  store float %320, ptr %23, align 4, !tbaa !65
  call void @llvm.lifetime.end.p0(i64 24, ptr %25) #8
  br label %265, !llvm.loop !71

321:                                              ; preds = %275
  %322 = getelementptr inbounds [300 x i8], ptr %19, i64 0, i64 0
  %323 = load ptr, ptr %17, align 8, !tbaa !5
  %324 = getelementptr inbounds %struct.ImDrawCmd, ptr %323, i32 0, i32 4
  %325 = load i32, ptr %324, align 8, !tbaa !24
  %326 = load ptr, ptr %17, align 8, !tbaa !5
  %327 = getelementptr inbounds %struct.ImDrawCmd, ptr %326, i32 0, i32 2
  %328 = load i32, ptr %327, align 8, !tbaa !64
  %329 = load ptr, ptr %17, align 8, !tbaa !5
  %330 = getelementptr inbounds %struct.ImDrawCmd, ptr %329, i32 0, i32 3
  %331 = load i32, ptr %330, align 4, !tbaa !66
  %332 = load float, ptr %23, align 4, !tbaa !65
  %333 = fpext float %332 to double
  %334 = call noundef i32 (ptr, i64, ptr, ...) @_Z14ImFormatStringPcmPKcz(ptr noundef %322, i64 noundef 300, ptr noundef @.str.668, i32 noundef %325, i32 noundef %328, i32 noundef %331, double noundef %333)
  %335 = getelementptr inbounds [300 x i8], ptr %19, i64 0, i64 0
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #8
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %27, float noundef 0.000000e+00, float noundef 0.000000e+00)
  %336 = call noundef zeroext i1 @_ZN5ImGui10SelectableEPKcbiRK6ImVec2(ptr noundef %335, i1 noundef zeroext false, i32 noundef 0, ptr noundef nonnull align 4 dereferenceable(8) %27)
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #8
  %337 = call noundef zeroext i1 @_ZN5ImGui13IsItemHoveredEi(i32 noundef 0)
  br i1 %337, label %338, label %345

338:                                              ; preds = %321
  %339 = load ptr, ptr %15, align 8, !tbaa !5
  %340 = icmp ne ptr %339, null
  br i1 %340, label %341, label %345

341:                                              ; preds = %338
  %342 = load ptr, ptr %15, align 8, !tbaa !5
  %343 = load ptr, ptr %7, align 8, !tbaa !5
  %344 = load ptr, ptr %17, align 8, !tbaa !5
  call void @_ZN5ImGui38DebugNodeDrawCmdShowMeshAndBoundingBoxEP10ImDrawListPKS0_PK9ImDrawCmdbb(ptr noundef %342, ptr noundef %343, ptr noundef %344, i1 noundef zeroext true, i1 noundef zeroext false)
  br label %345

345:                                              ; preds = %341, %338, %321
  call void @llvm.lifetime.start.p0(i64 40, ptr %28) #8
  call void @_ZN16ImGuiListClipperC1Ev(ptr noundef nonnull align 8 dereferenceable(40) %28)
  %346 = load ptr, ptr %17, align 8, !tbaa !5
  %347 = getelementptr inbounds %struct.ImDrawCmd, ptr %346, i32 0, i32 4
  %348 = load i32, ptr %347, align 8, !tbaa !24
  %349 = udiv i32 %348, 3
  invoke void @_ZN16ImGuiListClipper5BeginEif(ptr noundef nonnull align 8 dereferenceable(40) %28, i32 noundef %349, float noundef -1.000000e+00)
          to label %350 unwind label %370

350:                                              ; preds = %345
  br label %351

351:                                              ; preds = %499, %350
  %352 = invoke noundef zeroext i1 @_ZN16ImGuiListClipper4StepEv(ptr noundef nonnull align 8 dereferenceable(40) %28)
          to label %353 unwind label %370

353:                                              ; preds = %351
  br i1 %352, label %354, label %500

354:                                              ; preds = %353
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #8
  %355 = getelementptr inbounds %struct.ImGuiListClipper, ptr %28, i32 0, i32 1
  %356 = load i32, ptr %355, align 8, !tbaa !72
  store i32 %356, ptr %31, align 4, !tbaa !23
  call void @llvm.lifetime.start.p0(i64 4, ptr %32) #8
  %357 = load ptr, ptr %17, align 8, !tbaa !5
  %358 = getelementptr inbounds %struct.ImDrawCmd, ptr %357, i32 0, i32 3
  %359 = load i32, ptr %358, align 4, !tbaa !66
  %360 = getelementptr inbounds %struct.ImGuiListClipper, ptr %28, i32 0, i32 1
  %361 = load i32, ptr %360, align 8, !tbaa !72
  %362 = mul nsw i32 %361, 3
  %363 = add i32 %359, %362
  store i32 %363, ptr %32, align 4, !tbaa !23
  br label %364

364:                                              ; preds = %495, %354
  %365 = load i32, ptr %31, align 4, !tbaa !23
  %366 = getelementptr inbounds %struct.ImGuiListClipper, ptr %28, i32 0, i32 2
  %367 = load i32, ptr %366, align 4, !tbaa !74
  %368 = icmp slt i32 %365, %367
  br i1 %368, label %374, label %369

369:                                              ; preds = %364
  store i32 12, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #8
  br label %499

370:                                              ; preds = %500, %351, %345
  %371 = landingpad { ptr, i32 }
          cleanup
  %372 = extractvalue { ptr, i32 } %371, 0
  store ptr %372, ptr %29, align 8
  %373 = extractvalue { ptr, i32 } %371, 1
  store i32 %373, ptr %30, align 4
  br label %508

374:                                              ; preds = %364
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #8
  %375 = getelementptr inbounds [300 x i8], ptr %19, i64 0, i64 0
  store ptr %375, ptr %33, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #8
  %376 = getelementptr inbounds [300 x i8], ptr %19, i64 0, i64 0
  %377 = getelementptr inbounds i8, ptr %376, i64 300
  store ptr %377, ptr %34, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr %35) #8
  %378 = getelementptr inbounds [3 x %struct.ImVec2], ptr %35, i32 0, i32 0
  %379 = getelementptr inbounds %struct.ImVec2, ptr %378, i64 3
  br label %380

380:                                              ; preds = %382, %374
  %381 = phi ptr [ %378, %374 ], [ %383, %382 ]
  invoke void @_ZN6ImVec2C2Ev(ptr noundef nonnull align 4 dereferenceable(8) %381)
          to label %382 unwind label %390

382:                                              ; preds = %380
  %383 = getelementptr inbounds %struct.ImVec2, ptr %381, i64 1
  %384 = icmp eq ptr %383, %379
  br i1 %384, label %385, label %380

385:                                              ; preds = %382
  call void @llvm.lifetime.start.p0(i64 4, ptr %36) #8
  store i32 0, ptr %36, align 4, !tbaa !23
  br label %386

386:                                              ; preds = %457, %385
  %387 = load i32, ptr %36, align 4, !tbaa !23
  %388 = icmp slt i32 %387, 3
  br i1 %388, label %394, label %389

389:                                              ; preds = %386
  store i32 15, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #8
  br label %462

390:                                              ; preds = %469, %380
  %391 = landingpad { ptr, i32 }
          cleanup
  %392 = extractvalue { ptr, i32 } %391, 0
  store ptr %392, ptr %29, align 8
  %393 = extractvalue { ptr, i32 } %391, 1
  store i32 %393, ptr %30, align 4
  br label %498

394:                                              ; preds = %386
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #8
  %395 = load ptr, ptr %22, align 8, !tbaa !5
  %396 = load ptr, ptr %21, align 8, !tbaa !5
  %397 = icmp ne ptr %396, null
  br i1 %397, label %398, label %405

398:                                              ; preds = %394
  %399 = load ptr, ptr %21, align 8, !tbaa !5
  %400 = load i32, ptr %32, align 4, !tbaa !23
  %401 = sext i32 %400 to i64
  %402 = getelementptr inbounds i16, ptr %399, i64 %401
  %403 = load i16, ptr %402, align 2, !tbaa !67
  %404 = zext i16 %403 to i32
  br label %407

405:                                              ; preds = %394
  %406 = load i32, ptr %32, align 4, !tbaa !23
  br label %407

407:                                              ; preds = %405, %398
  %408 = phi i32 [ %404, %398 ], [ %406, %405 ]
  %409 = sext i32 %408 to i64
  %410 = getelementptr inbounds %struct.ImDrawVert, ptr %395, i64 %409
  store ptr %410, ptr %37, align 8, !tbaa !5
  %411 = load ptr, ptr %37, align 8, !tbaa !5
  %412 = getelementptr inbounds %struct.ImDrawVert, ptr %411, i32 0, i32 0
  %413 = load i32, ptr %36, align 4, !tbaa !23
  %414 = sext i32 %413 to i64
  %415 = getelementptr inbounds [3 x %struct.ImVec2], ptr %35, i64 0, i64 %414
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %415, ptr align 4 %412, i64 8, i1 false), !tbaa.struct !68
  %416 = load ptr, ptr %33, align 8, !tbaa !5
  %417 = load ptr, ptr %34, align 8, !tbaa !5
  %418 = load ptr, ptr %33, align 8, !tbaa !5
  %419 = ptrtoint ptr %417 to i64
  %420 = ptrtoint ptr %418 to i64
  %421 = sub i64 %419, %420
  %422 = load i32, ptr %36, align 4, !tbaa !23
  %423 = icmp eq i32 %422, 0
  br i1 %423, label %424, label %425

424:                                              ; preds = %407
  br label %426

425:                                              ; preds = %407
  br label %426

426:                                              ; preds = %425, %424
  %427 = phi ptr [ @.str.670, %424 ], [ @.str.671, %425 ]
  %428 = getelementptr inbounds [6 x i8], ptr %427, i64 0, i64 0
  %429 = load i32, ptr %32, align 4, !tbaa !23
  %430 = load ptr, ptr %37, align 8, !tbaa !5
  %431 = getelementptr inbounds %struct.ImDrawVert, ptr %430, i32 0, i32 0
  %432 = getelementptr inbounds %struct.ImVec2, ptr %431, i32 0, i32 0
  %433 = load float, ptr %432, align 4, !tbaa !75
  %434 = fpext float %433 to double
  %435 = load ptr, ptr %37, align 8, !tbaa !5
  %436 = getelementptr inbounds %struct.ImDrawVert, ptr %435, i32 0, i32 0
  %437 = getelementptr inbounds %struct.ImVec2, ptr %436, i32 0, i32 1
  %438 = load float, ptr %437, align 4, !tbaa !77
  %439 = fpext float %438 to double
  %440 = load ptr, ptr %37, align 8, !tbaa !5
  %441 = getelementptr inbounds %struct.ImDrawVert, ptr %440, i32 0, i32 1
  %442 = getelementptr inbounds %struct.ImVec2, ptr %441, i32 0, i32 0
  %443 = load float, ptr %442, align 4, !tbaa !78
  %444 = fpext float %443 to double
  %445 = load ptr, ptr %37, align 8, !tbaa !5
  %446 = getelementptr inbounds %struct.ImDrawVert, ptr %445, i32 0, i32 1
  %447 = getelementptr inbounds %struct.ImVec2, ptr %446, i32 0, i32 1
  %448 = load float, ptr %447, align 4, !tbaa !79
  %449 = fpext float %448 to double
  %450 = load ptr, ptr %37, align 8, !tbaa !5
  %451 = getelementptr inbounds %struct.ImDrawVert, ptr %450, i32 0, i32 2
  %452 = load i32, ptr %451, align 4, !tbaa !80
  %453 = call noundef i32 (ptr, i64, ptr, ...) @_Z14ImFormatStringPcmPKcz(ptr noundef %416, i64 noundef %421, ptr noundef @.str.669, ptr noundef %428, i32 noundef %429, double noundef %434, double noundef %439, double noundef %444, double noundef %449, i32 noundef %452)
  %454 = load ptr, ptr %33, align 8, !tbaa !5
  %455 = sext i32 %453 to i64
  %456 = getelementptr inbounds i8, ptr %454, i64 %455
  store ptr %456, ptr %33, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #8
  br label %457

457:                                              ; preds = %426
  %458 = load i32, ptr %36, align 4, !tbaa !23
  %459 = add nsw i32 %458, 1
  store i32 %459, ptr %36, align 4, !tbaa !23
  %460 = load i32, ptr %32, align 4, !tbaa !23
  %461 = add nsw i32 %460, 1
  store i32 %461, ptr %32, align 4, !tbaa !23
  br label %386, !llvm.loop !81

462:                                              ; preds = %389
  %463 = getelementptr inbounds [300 x i8], ptr %19, i64 0, i64 0
  call void @llvm.lifetime.start.p0(i64 8, ptr %38) #8
  invoke void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %38, float noundef 0.000000e+00, float noundef 0.000000e+00)
          to label %464 unwind label %486

464:                                              ; preds = %462
  %465 = invoke noundef zeroext i1 @_ZN5ImGui10SelectableEPKcbiRK6ImVec2(ptr noundef %463, i1 noundef zeroext false, i32 noundef 0, ptr noundef nonnull align 4 dereferenceable(8) %38)
          to label %466 unwind label %486

466:                                              ; preds = %464
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #8
  %467 = load ptr, ptr %15, align 8, !tbaa !5
  %468 = icmp ne ptr %467, null
  br i1 %468, label %469, label %494

469:                                              ; preds = %466
  %470 = invoke noundef zeroext i1 @_ZN5ImGui13IsItemHoveredEi(i32 noundef 0)
          to label %471 unwind label %390

471:                                              ; preds = %469
  br i1 %470, label %472, label %494

472:                                              ; preds = %471
  call void @llvm.lifetime.start.p0(i64 4, ptr %39) #8
  %473 = load ptr, ptr %15, align 8, !tbaa !5
  %474 = getelementptr inbounds %struct.ImDrawList, ptr %473, i32 0, i32 3
  %475 = load i32, ptr %474, align 8, !tbaa !82
  store i32 %475, ptr %39, align 4, !tbaa !23
  %476 = load ptr, ptr %15, align 8, !tbaa !5
  %477 = getelementptr inbounds %struct.ImDrawList, ptr %476, i32 0, i32 3
  %478 = load i32, ptr %477, align 8, !tbaa !82
  %479 = and i32 %478, -2
  store i32 %479, ptr %477, align 8, !tbaa !82
  %480 = load ptr, ptr %15, align 8, !tbaa !5
  %481 = getelementptr inbounds [3 x %struct.ImVec2], ptr %35, i64 0, i64 0
  invoke void @_ZN10ImDrawList11AddPolylineEPK6ImVec2ijif(ptr noundef nonnull align 8 dereferenceable(196) %480, ptr noundef %481, i32 noundef 3, i32 noundef -16711681, i32 noundef 1, float noundef 1.000000e+00)
          to label %482 unwind label %490

482:                                              ; preds = %472
  %483 = load i32, ptr %39, align 4, !tbaa !23
  %484 = load ptr, ptr %15, align 8, !tbaa !5
  %485 = getelementptr inbounds %struct.ImDrawList, ptr %484, i32 0, i32 3
  store i32 %483, ptr %485, align 8, !tbaa !82
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #8
  br label %494

486:                                              ; preds = %464, %462
  %487 = landingpad { ptr, i32 }
          cleanup
  %488 = extractvalue { ptr, i32 } %487, 0
  store ptr %488, ptr %29, align 8
  %489 = extractvalue { ptr, i32 } %487, 1
  store i32 %489, ptr %30, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #8
  br label %498

490:                                              ; preds = %472
  %491 = landingpad { ptr, i32 }
          cleanup
  %492 = extractvalue { ptr, i32 } %491, 0
  store ptr %492, ptr %29, align 8
  %493 = extractvalue { ptr, i32 } %491, 1
  store i32 %493, ptr %30, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #8
  br label %498

494:                                              ; preds = %482, %471, %466
  call void @llvm.lifetime.end.p0(i64 24, ptr %35) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #8
  br label %495

495:                                              ; preds = %494
  %496 = load i32, ptr %31, align 4, !tbaa !23
  %497 = add nsw i32 %496, 1
  store i32 %497, ptr %31, align 4, !tbaa !23
  br label %364, !llvm.loop !83

498:                                              ; preds = %490, %486, %390
  call void @llvm.lifetime.end.p0(i64 24, ptr %35) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #8
  br label %508

499:                                              ; preds = %369
  br label %351, !llvm.loop !84

500:                                              ; preds = %353
  invoke void @_ZN5ImGui7TreePopEv()
          to label %501 unwind label %370

501:                                              ; preds = %500
  call void @_ZN16ImGuiListClipperD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %28) #8
  call void @llvm.lifetime.end.p0(i64 40, ptr %28) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #8
  store i32 0, ptr %14, align 4
  br label %502

502:                                              ; preds = %501, %238
  call void @llvm.lifetime.end.p0(i64 1, ptr %20) #8
  call void @llvm.lifetime.end.p0(i64 300, ptr %19) #8
  call void @llvm.lifetime.end.p0(i64 20, ptr %18) #8
  %503 = load i32, ptr %14, align 4
  switch i32 %503, label %519 [
    i32 0, label %504
    i32 4, label %505
  ]

504:                                              ; preds = %502
  br label %505

505:                                              ; preds = %504, %502, %158
  %506 = load ptr, ptr %17, align 8, !tbaa !5
  %507 = getelementptr inbounds %struct.ImDrawCmd, ptr %506, i32 1
  store ptr %507, ptr %17, align 8, !tbaa !5
  br label %142, !llvm.loop !85

508:                                              ; preds = %498, %370
  call void @_ZN16ImGuiListClipperD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %28) #8
  call void @llvm.lifetime.end.p0(i64 40, ptr %28) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %20) #8
  call void @llvm.lifetime.end.p0(i64 300, ptr %19) #8
  call void @llvm.lifetime.end.p0(i64 20, ptr %18) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %12) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #8
  br label %514

509:                                              ; preds = %152
  call void @_ZN5ImGui7TreePopEv()
  store i32 0, ptr %14, align 4
  br label %510

510:                                              ; preds = %509, %127
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #8
  br label %511

511:                                              ; preds = %510, %98
  call void @llvm.lifetime.end.p0(i64 1, ptr %12) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #8
  %512 = load i32, ptr %14, align 4
  switch i32 %512, label %519 [
    i32 0, label %513
    i32 1, label %513
  ]

513:                                              ; preds = %511, %511
  ret void

514:                                              ; preds = %508
  %515 = load ptr, ptr %29, align 8
  %516 = load i32, ptr %30, align 4
  %517 = insertvalue { ptr, i32 } poison, ptr %515, 0
  %518 = insertvalue { ptr, i32 } %517, i32 %516, 1
  resume { ptr, i32 } %518

519:                                              ; preds = %511, %502
  unreachable
}

declare noundef zeroext i1 @_ZN5ImGui8TreeNodeEPKvPKcz(ptr noundef, ptr noundef, ...) #5

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

declare void @_ZN5ImGui11TextColoredERK6ImVec4PKcz(ptr noundef nonnull align 4 dereferenceable(16), ptr noundef, ...) #5

declare void @_ZN5ImGui12TextDisabledEPKcz(ptr noundef, ...) #5

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZL30FormatTextureIDForDebugDisplayPciPv(ptr noundef, i32 noundef, ptr noundef) #0

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef float @_Z14ImTriangleAreaRK6ImVec2S1_S1_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8)) #7

declare void @_ZN10ImDrawList11AddPolylineEPK6ImVec2ijif(ptr noundef nonnull align 8 dereferenceable(196), ptr noundef, i32 noundef, i32 noundef, i32 noundef, float noundef) #5

declare void @_ZN16ImGuiListClipperC1Ev(ptr)

declare void @_ZN16ImGuiListClipperD1Ev(ptr)

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !12, i64 0}
!10 = !{!"_ZTS10ImDrawList", !11, i64 0, !13, i64 16, !14, i64 32, !12, i64 48, !12, i64 52, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !15, i64 88, !16, i64 104, !17, i64 120, !18, i64 136, !21, i64 168, !20, i64 192}
!11 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !12, i64 0, !12, i64 4, !6, i64 8}
!12 = !{!"int", !7, i64 0}
!13 = !{!"_ZTS8ImVectorItE", !12, i64 0, !12, i64 4, !6, i64 8}
!14 = !{!"_ZTS8ImVectorI10ImDrawVertE", !12, i64 0, !12, i64 4, !6, i64 8}
!15 = !{!"_ZTS8ImVectorI6ImVec4E", !12, i64 0, !12, i64 4, !6, i64 8}
!16 = !{!"_ZTS8ImVectorIPvE", !12, i64 0, !12, i64 4, !6, i64 8}
!17 = !{!"_ZTS8ImVectorI6ImVec2E", !12, i64 0, !12, i64 4, !6, i64 8}
!18 = !{!"_ZTS15ImDrawCmdHeader", !19, i64 0, !6, i64 16, !12, i64 24}
!19 = !{!"_ZTS6ImVec4", !20, i64 0, !20, i64 4, !20, i64 8, !20, i64 12}
!20 = !{!"float", !7, i64 0}
!21 = !{!"_ZTS18ImDrawListSplitter", !12, i64 0, !12, i64 4, !22, i64 8}
!22 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !12, i64 0, !12, i64 4, !6, i64 8}
!23 = !{!12, !12, i64 0}
!24 = !{!25, !12, i64 32}
!25 = !{!"_ZTS9ImDrawCmd", !19, i64 0, !6, i64 16, !12, i64 24, !12, i64 28, !12, i64 32, !6, i64 40, !6, i64 48}
!26 = !{!25, !6, i64 40}
!27 = !{!10, !6, i64 64}
!28 = !{!10, !12, i64 32}
!29 = !{!10, !12, i64 16}
!30 = !{!31, !31, i64 0}
!31 = !{!"bool", !7, i64 0}
!32 = !{i8 0, i8 2}
!33 = !{}
!34 = !{!35, !31, i64 244}
!35 = !{!"_ZTS11ImGuiWindow", !6, i64 0, !6, i64 8, !12, i64 16, !12, i64 20, !12, i64 24, !12, i64 28, !36, i64 32, !6, i64 64, !12, i64 72, !37, i64 76, !12, i64 84, !37, i64 88, !37, i64 96, !37, i64 104, !37, i64 112, !37, i64 120, !37, i64 128, !37, i64 136, !20, i64 144, !20, i64 148, !20, i64 152, !20, i64 156, !20, i64 160, !20, i64 164, !20, i64 168, !20, i64 172, !12, i64 176, !12, i64 180, !12, i64 184, !12, i64 188, !37, i64 192, !37, i64 200, !37, i64 208, !37, i64 216, !37, i64 224, !37, i64 232, !31, i64 240, !31, i64 241, !31, i64 242, !31, i64 243, !31, i64 244, !31, i64 245, !31, i64 246, !31, i64 247, !31, i64 248, !31, i64 249, !31, i64 250, !31, i64 251, !31, i64 252, !31, i64 253, !7, i64 254, !7, i64 255, !38, i64 256, !38, i64 258, !38, i64 260, !38, i64 262, !38, i64 264, !12, i64 268, !7, i64 272, !7, i64 273, !31, i64 274, !12, i64 276, !7, i64 280, !7, i64 281, !7, i64 282, !7, i64 283, !12, i64 284, !12, i64 285, !12, i64 286, !12, i64 287, !37, i64 288, !37, i64 296, !39, i64 304, !40, i64 320, !46, i64 552, !46, i64 568, !46, i64 584, !46, i64 600, !46, i64 616, !46, i64 632, !46, i64 648, !47, i64 664, !47, i64 668, !12, i64 672, !12, i64 676, !20, i64 680, !20, i64 684, !48, i64 688, !50, i64 704, !20, i64 720, !20, i64 724, !12, i64 728, !6, i64 736, !10, i64 744, !6, i64 944, !6, i64 952, !6, i64 960, !6, i64 968, !6, i64 976, !6, i64 984, !6, i64 992, !6, i64 1000, !6, i64 1008, !7, i64 1016, !7, i64 1024, !7, i64 1056, !12, i64 1072, !12, i64 1076, !12, i64 1080, !31, i64 1084, !31, i64 1085, !31, i64 1085, !31, i64 1085, !31, i64 1085, !38, i64 1086, !51, i64 1088, !6, i64 1112, !6, i64 1120, !12, i64 1128, !12, i64 1132, !46, i64 1136}
!36 = !{!"_ZTS16ImGuiWindowClass", !12, i64 0, !12, i64 4, !12, i64 8, !12, i64 12, !12, i64 16, !12, i64 20, !12, i64 24, !31, i64 28, !31, i64 29}
!37 = !{!"_ZTS6ImVec2", !20, i64 0, !20, i64 4}
!38 = !{!"short", !7, i64 0}
!39 = !{!"_ZTS8ImVectorIjE", !12, i64 0, !12, i64 4, !6, i64 8}
!40 = !{!"_ZTS19ImGuiWindowTempData", !37, i64 0, !37, i64 8, !37, i64 16, !37, i64 24, !37, i64 32, !37, i64 40, !37, i64 48, !20, i64 56, !20, i64 60, !31, i64 64, !31, i64 65, !41, i64 68, !41, i64 72, !41, i64 76, !37, i64 80, !42, i64 88, !38, i64 92, !38, i64 94, !31, i64 96, !31, i64 97, !31, i64 98, !31, i64 99, !37, i64 100, !43, i64 108, !12, i64 136, !12, i64 140, !44, i64 144, !6, i64 160, !6, i64 168, !12, i64 176, !12, i64 180, !12, i64 184, !20, i64 188, !20, i64 192, !45, i64 200, !45, i64 216}
!41 = !{!"_ZTS6ImVec1", !20, i64 0}
!42 = !{!"_ZTS13ImGuiNavLayer", !7, i64 0}
!43 = !{!"_ZTS16ImGuiMenuColumns", !12, i64 0, !12, i64 4, !38, i64 8, !38, i64 10, !38, i64 12, !38, i64 14, !38, i64 16, !7, i64 18}
!44 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !12, i64 0, !12, i64 4, !6, i64 8}
!45 = !{!"_ZTS8ImVectorIfE", !12, i64 0, !12, i64 4, !6, i64 8}
!46 = !{!"_ZTS6ImRect", !37, i64 0, !37, i64 8}
!47 = !{!"_ZTS8ImVec2ih", !38, i64 0, !38, i64 2}
!48 = !{!"_ZTS12ImGuiStorage", !49, i64 0}
!49 = !{!"_ZTS8ImVectorIN12ImGuiStorage16ImGuiStoragePairEE", !12, i64 0, !12, i64 4, !6, i64 8}
!50 = !{!"_ZTS8ImVectorI15ImGuiOldColumnsE", !12, i64 0, !12, i64 4, !6, i64 8}
!51 = !{!"_ZTS20ImGuiWindowDockStyle", !7, i64 0}
!52 = !{!10, !6, i64 8}
!53 = !{!25, !6, i64 48}
!54 = !{!25, !6, i64 16}
!55 = !{!25, !20, i64 0}
!56 = !{!25, !20, i64 4}
!57 = !{!25, !20, i64 8}
!58 = !{!25, !20, i64 12}
!59 = !{!60, !31, i64 5}
!60 = !{!"_ZTS18ImGuiMetricsConfig", !31, i64 0, !31, i64 1, !31, i64 2, !31, i64 3, !31, i64 4, !31, i64 5, !31, i64 6, !31, i64 7, !31, i64 8, !31, i64 9, !12, i64 12, !12, i64 16}
!61 = !{!60, !31, i64 6}
!62 = !{!10, !6, i64 24}
!63 = !{!10, !6, i64 40}
!64 = !{!25, !12, i64 24}
!65 = !{!20, !20, i64 0}
!66 = !{!25, !12, i64 28}
!67 = !{!38, !38, i64 0}
!68 = !{i64 0, i64 4, !65, i64 4, i64 4, !65}
!69 = distinct !{!69, !70}
!70 = !{!"llvm.loop.mustprogress"}
!71 = distinct !{!71, !70}
!72 = !{!73, !12, i64 8}
!73 = !{!"_ZTS16ImGuiListClipper", !6, i64 0, !12, i64 8, !12, i64 12, !12, i64 16, !20, i64 20, !20, i64 24, !6, i64 32}
!74 = !{!73, !12, i64 12}
!75 = !{!76, !20, i64 0}
!76 = !{!"_ZTS10ImDrawVert", !37, i64 0, !37, i64 8, !12, i64 16}
!77 = !{!76, !20, i64 4}
!78 = !{!76, !20, i64 8}
!79 = !{!76, !20, i64 12}
!80 = !{!76, !12, i64 16}
!81 = distinct !{!81, !70}
!82 = !{!10, !12, i64 48}
!83 = distinct !{!83, !70}
!84 = distinct !{!84, !70}
!85 = distinct !{!85, !70}


; 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.ImVec4 = type { float, float, float, float }
%struct.ImVec2 = type { float, float }
%struct.ImGuiListClipper = type { ptr, i32, i32, i32, float, float, ptr }
%struct.ImDrawVert = type { %struct.ImVec2, %struct.ImVec2, i32 }
%struct.ImDrawCmd = type { %struct.ImVec4, ptr, i32, i32, i32, ptr, ptr }

@GImGui = external dso_local local_unnamed_addr global ptr, align 8
@.str.17 = external hidden unnamed_addr constant [1 x i8], align 1
@.str.400 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.663 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.664 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.665 = external hidden unnamed_addr constant [73 x i8], align 1
@.str.666 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.667 = external hidden unnamed_addr constant [63 x i8], align 1
@.str.668 = external hidden unnamed_addr constant [68 x i8], align 1
@.str.669 = external hidden unnamed_addr constant [54 x i8], align 1
@.str.670 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.671 = external hidden unnamed_addr constant [6 x i8], align 1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN6ImVec2C2Ev(ptr noundef nonnull align 4 dereferenceable(8)) unnamed_addr #0 align 2

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

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

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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_Z14ImFormatStringPcmPKcz(ptr noundef, i64 noundef, ptr noundef, ...) local_unnamed_addr #0

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN16ImGuiListClipper5BeginEif(ptr noundef nonnull align 8 dereferenceable(40), i32 noundef, float noundef) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN16ImGuiListClipper4StepEv(ptr noundef nonnull align 8 dereferenceable(40)) local_unnamed_addr #3 align 2

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 #4

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN5ImGui13IsItemHoveredEi(i32 noundef) local_unnamed_addr #3

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

declare void @_ZN5ImGui7TreePopEv() local_unnamed_addr #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN5ImGui8SameLineEff(float noundef, float noundef) local_unnamed_addr #0

declare noundef zeroext i1 @_ZN5ImGui10SelectableEPKcbiRK6ImVec2(ptr noundef, i1 noundef zeroext, i32 noundef, ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #4

declare void @_ZN5ImGui10BulletTextEPKcz(ptr noundef, ...) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN5ImGui17DebugNodeDrawListEP11ImGuiWindowP14ImGuiViewportPPK10ImDrawListPKc(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) local_unnamed_addr #5 personality ptr @__gxx_personality_v0 {
  %5 = alloca %struct.ImVec4, align 4
  %6 = alloca %struct.ImVec2, align 8
  %7 = alloca [20 x i8], align 16
  %8 = alloca [300 x i8], align 16
  %9 = alloca [3 x %struct.ImVec2], align 16
  %10 = alloca %struct.ImVec2, align 4
  %11 = alloca %struct.ImGuiListClipper, align 8
  %12 = alloca [3 x %struct.ImVec2], align 16
  %13 = alloca %struct.ImVec2, align 4
  %14 = load ptr, ptr @GImGui, align 8, !tbaa !5
  %15 = load i32, ptr %2, align 8, !tbaa !9
  %16 = icmp sgt i32 %15, 0
  br i1 %16, label %17, label %28

17:                                               ; preds = %4
  %18 = tail call noundef nonnull align 8 dereferenceable(56) ptr @_ZNK8ImVectorI9ImDrawCmdE4backEv(ptr noundef nonnull align 8 dereferenceable(16) %2)
  %19 = getelementptr inbounds i8, ptr %18, i64 32
  %20 = load i32, ptr %19, align 8, !tbaa !23
  %21 = icmp eq i32 %20, 0
  br i1 %21, label %22, label %28

22:                                               ; preds = %17
  %23 = tail call noundef nonnull align 8 dereferenceable(56) ptr @_ZNK8ImVectorI9ImDrawCmdE4backEv(ptr noundef nonnull align 8 dereferenceable(16) %2)
  %24 = getelementptr inbounds i8, ptr %23, i64 40
  %25 = load ptr, ptr %24, align 8, !tbaa !25
  %26 = icmp eq ptr %25, null
  %27 = sext i1 %26 to i32
  %spec.select = add nsw i32 %15, %27
  br label %28

28:                                               ; preds = %22, %17, %4
  %.0 = phi i32 [ %15, %17 ], [ %15, %4 ], [ %spec.select, %22 ]
  %29 = getelementptr inbounds i8, ptr %2, i64 64
  %30 = load ptr, ptr %29, align 8, !tbaa !26
  %.not = icmp eq ptr %30, null
  %spec.select152 = select i1 %.not, ptr @.str.17, ptr %30
  %31 = getelementptr inbounds i8, ptr %2, i64 32
  %32 = load i32, ptr %31, align 8, !tbaa !27
  %33 = getelementptr inbounds i8, ptr %2, i64 16
  %34 = load i32, ptr %33, align 8, !tbaa !28
  %35 = tail call noundef zeroext i1 (ptr, ptr, ...) @_ZN5ImGui8TreeNodeEPKvPKcz(ptr noundef nonnull %2, ptr noundef nonnull @.str.663, ptr noundef %3, ptr noundef nonnull %spec.select152, i32 noundef %32, i32 noundef %34, i32 noundef %.0)
  %36 = tail call noundef ptr @_ZN5ImGui17GetWindowDrawListEv()
  %37 = icmp eq ptr %36, %2
  br i1 %37, label %38, label %39

38:                                               ; preds = %28
  tail call void @_ZN5ImGui8SameLineEff(float noundef 0.000000e+00, float noundef -1.000000e+00)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #7
  call void @_ZN6ImVec4C2Effff(ptr noundef nonnull align 4 dereferenceable(16) %5, float noundef 1.000000e+00, float noundef 0x3FD99999A0000000, float noundef 0x3FD99999A0000000, float noundef 1.000000e+00)
  call void (ptr, ptr, ...) @_ZN5ImGui11TextColoredERK6ImVec4PKcz(ptr noundef nonnull align 4 dereferenceable(16) %5, ptr noundef nonnull @.str.664)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #7
  br i1 %35, label %.sink.split, label %297

39:                                               ; preds = %28
  %.not140 = icmp eq ptr %1, null
  br i1 %.not140, label %42, label %40

40:                                               ; preds = %39
  %41 = tail call noundef ptr @_ZN5ImGui21GetForegroundDrawListEP13ImGuiViewport(ptr noundef nonnull %1)
  br label %42

42:                                               ; preds = %39, %40
  %43 = phi ptr [ %41, %40 ], [ null, %39 ]
  %.not141 = icmp eq ptr %0, null
  br i1 %.not141, label %.thread, label %44

44:                                               ; preds = %42
  %45 = tail call noundef zeroext i1 @_ZN5ImGui13IsItemHoveredEi(i32 noundef 0)
  %46 = icmp ne ptr %43, null
  %or.cond = and i1 %46, %45
  br i1 %or.cond, label %47, label %51

47:                                               ; preds = %44
  %48 = getelementptr inbounds i8, ptr %0, i64 88
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #7
  %49 = getelementptr inbounds i8, ptr %0, i64 96
  %50 = tail call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %48, ptr noundef nonnull align 4 dereferenceable(8) %49)
  store <2 x float> %50, ptr %6, align 8
  call void @_ZN10ImDrawList7AddRectERK6ImVec2S2_jfif(ptr noundef nonnull align 8 dereferenceable(196) %43, ptr noundef nonnull align 4 dereferenceable(8) %48, ptr noundef nonnull align 4 dereferenceable(8) %6, i32 noundef -16711681, float noundef 0.000000e+00, i32 noundef 0, float noundef 1.000000e+00)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #7
  br label %51

51:                                               ; preds = %47, %44
  br i1 %35, label %52, label %297

.thread:                                          ; preds = %42
  br i1 %35, label %.thread153, label %297

52:                                               ; preds = %51
  %53 = getelementptr inbounds i8, ptr %0, i64 244
  %54 = load i8, ptr %53, align 4, !tbaa !29, !range !48, !noundef !49
  %55 = trunc nuw i8 %54 to i1
  br i1 %55, label %.thread153, label %56

56:                                               ; preds = %52
  call void (ptr, ...) @_ZN5ImGui12TextDisabledEPKcz(ptr noundef nonnull @.str.665)
  br label %.thread153

.thread153:                                       ; preds = %.thread, %56, %52
  %57 = getelementptr inbounds i8, ptr %2, i64 8
  %58 = sext i32 %.0 to i64
  %59 = icmp sgt i32 %.0, 0
  br i1 %59, label %.lr.ph175, label %.sink.split

.lr.ph175:                                        ; preds = %.thread153
  %60 = load ptr, ptr %57, align 8, !tbaa !50
  %61 = getelementptr inbounds i8, ptr %14, i64 25285
  %62 = getelementptr inbounds i8, ptr %14, i64 25286
  %63 = icmp ne ptr %43, null
  %.old2.not = icmp eq ptr %43, null
  %64 = getelementptr inbounds i8, ptr %2, i64 24
  %65 = getelementptr inbounds i8, ptr %2, i64 40
  %66 = getelementptr inbounds i8, ptr %9, i64 8
  %67 = getelementptr inbounds i8, ptr %9, i64 16
  %68 = getelementptr inbounds i8, ptr %11, i64 8
  %69 = getelementptr inbounds i8, ptr %11, i64 12
  %70 = getelementptr inbounds i8, ptr %8, i64 300
  %71 = ptrtoint ptr %70 to i64
  %72 = getelementptr inbounds i8, ptr %43, i64 48
  %.ptr.1 = getelementptr inbounds i8, ptr %12, i64 8
  %.ptr.2 = getelementptr inbounds i8, ptr %12, i64 16
  br label %73

73:                                               ; preds = %.lr.ph175, %291
  %.0116174 = phi ptr [ %60, %.lr.ph175 ], [ %292, %291 ]
  %74 = getelementptr inbounds i8, ptr %.0116174, i64 40
  %75 = load ptr, ptr %74, align 8, !tbaa !25
  %.not142 = icmp eq ptr %75, null
  br i1 %.not142, label %79, label %76

76:                                               ; preds = %73
  %77 = getelementptr inbounds i8, ptr %.0116174, i64 48
  %78 = load ptr, ptr %77, align 8, !tbaa !51
  call void (ptr, ...) @_ZN5ImGui10BulletTextEPKcz(ptr noundef nonnull @.str.666, ptr noundef nonnull %75, ptr noundef %78)
  br label %291

79:                                               ; preds = %73
  call void @llvm.lifetime.start.p0(i64 20, ptr nonnull %7) #7
  %80 = getelementptr inbounds i8, ptr %.0116174, i64 16
  %81 = load ptr, ptr %80, align 8, !tbaa !52
  call void @_ZL30FormatTextureIDForDebugDisplayPciPv(ptr noundef nonnull %7, i32 noundef 20, ptr noundef %81)
  call void @llvm.lifetime.start.p0(i64 300, ptr nonnull %8) #7
  %82 = getelementptr inbounds i8, ptr %.0116174, i64 32
  %83 = load i32, ptr %82, align 8, !tbaa !23
  %84 = udiv i32 %83, 3
  %85 = load float, ptr %.0116174, align 8, !tbaa !53
  %86 = fpext float %85 to double
  %87 = getelementptr inbounds i8, ptr %.0116174, i64 4
  %88 = load float, ptr %87, align 4, !tbaa !54
  %89 = fpext float %88 to double
  %90 = getelementptr inbounds i8, ptr %.0116174, i64 8
  %91 = load float, ptr %90, align 8, !tbaa !55
  %92 = fpext float %91 to double
  %93 = getelementptr inbounds i8, ptr %.0116174, i64 12
  %94 = load float, ptr %93, align 4, !tbaa !56
  %95 = fpext float %94 to double
  %96 = call noundef i32 (ptr, i64, ptr, ...) @_Z14ImFormatStringPcmPKcz(ptr noundef nonnull %8, i64 noundef 300, ptr noundef nonnull @.str.667, i32 noundef %84, ptr noundef nonnull %7, double noundef %86, double noundef %89, double noundef %92, double noundef %95)
  %97 = call noundef ptr @_ZNK8ImVectorI9ImDrawCmdE5beginEv(ptr noundef nonnull align 8 dereferenceable(16) %2)
  %98 = ptrtoint ptr %.0116174 to i64
  %99 = ptrtoint ptr %97 to i64
  %100 = sub i64 %98, %99
  %101 = sdiv exact i64 %100, 56
  %102 = inttoptr i64 %101 to ptr
  %103 = call noundef zeroext i1 (ptr, ptr, ...) @_ZN5ImGui8TreeNodeEPKvPKcz(ptr noundef %102, ptr noundef nonnull @.str.400, ptr noundef nonnull %8)
  %104 = call noundef zeroext i1 @_ZN5ImGui13IsItemHoveredEi(i32 noundef 0)
  br i1 %104, label %105, label %113

105:                                              ; preds = %79
  %106 = load i8, ptr %61, align 1, !tbaa !57, !range !48, !noundef !49
  %107 = trunc nuw i8 %106 to i1
  br i1 %107, label %111, label %108

108:                                              ; preds = %105
  %109 = load i8, ptr %62, align 2, !tbaa !59, !range !48, !noundef !49
  %110 = trunc nuw i8 %109 to i1
  %or.cond3 = and i1 %63, %110
  br i1 %or.cond3, label %112, label %113

111:                                              ; preds = %105
  br i1 %.old2.not, label %113, label %._crit_edge195

._crit_edge195:                                   ; preds = %111
  %.pre = load i8, ptr %62, align 2, !tbaa !59, !range !48
  %.pre197 = trunc nuw i8 %.pre to i1
  br label %112

112:                                              ; preds = %._crit_edge195, %108
  %.pre-phi198 = phi i1 [ %.pre197, %._crit_edge195 ], [ %110, %108 ]
  call void @_ZN5ImGui38DebugNodeDrawCmdShowMeshAndBoundingBoxEP10ImDrawListPKS0_PK9ImDrawCmdbb(ptr noundef nonnull %43, ptr noundef nonnull %2, ptr noundef nonnull %.0116174, i1 noundef zeroext %107, i1 noundef zeroext %.pre-phi198)
  br label %113

113:                                              ; preds = %112, %111, %108, %79
  br i1 %103, label %114, label %290

114:                                              ; preds = %113
  %115 = load i32, ptr %33, align 8, !tbaa !28
  %116 = icmp sgt i32 %115, 0
  br i1 %116, label %117, label %119

117:                                              ; preds = %114
  %118 = load ptr, ptr %64, align 8, !tbaa !60
  br label %119

119:                                              ; preds = %114, %117
  %120 = phi ptr [ %118, %117 ], [ null, %114 ]
  %.fr = freeze ptr %120
  %121 = load ptr, ptr %65, align 8, !tbaa !61
  %122 = getelementptr inbounds i8, ptr %.0116174, i64 24
  %123 = load i32, ptr %122, align 8, !tbaa !62
  %124 = zext i32 %123 to i64
  %125 = getelementptr inbounds %struct.ImDrawVert, ptr %121, i64 %124
  %126 = getelementptr inbounds i8, ptr %.0116174, i64 28
  %127 = load i32, ptr %126, align 4, !tbaa !63
  %128 = load i32, ptr %82, align 8, !tbaa !23
  %129 = add i32 %128, %127
  %130 = icmp ult i32 %127, %129
  br i1 %130, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %119
  %.not151 = icmp eq ptr %.fr, null
  br i1 %.not151, label %.lr.ph.split.us, label %.lr.ph.split

.lr.ph.split.us:                                  ; preds = %.lr.ph, %.lr.ph.split.us
  %.0125161.us = phi i32 [ %142, %.lr.ph.split.us ], [ %127, %.lr.ph ]
  %.0127160.us = phi float [ %144, %.lr.ph.split.us ], [ 0.000000e+00, %.lr.ph ]
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %9) #7
  call void @_ZN6ImVec2C2Ev(ptr noundef nonnull align 4 dereferenceable(8) %9)
  call void @_ZN6ImVec2C2Ev(ptr noundef nonnull align 4 dereferenceable(8) %66)
  call void @_ZN6ImVec2C2Ev(ptr noundef nonnull align 4 dereferenceable(8) %67)
  %131 = zext i32 %.0125161.us to i64
  %132 = getelementptr inbounds %struct.ImDrawVert, ptr %125, i64 %131
  %133 = load i64, ptr %132, align 4
  store i64 %133, ptr %9, align 16
  %134 = add nuw i32 %.0125161.us, 1
  %135 = zext i32 %134 to i64
  %136 = getelementptr inbounds %struct.ImDrawVert, ptr %125, i64 %135
  %137 = load i64, ptr %136, align 4
  store i64 %137, ptr %66, align 8
  %138 = add i32 %.0125161.us, 2
  %139 = zext i32 %138 to i64
  %140 = getelementptr inbounds %struct.ImDrawVert, ptr %125, i64 %139
  %141 = load i64, ptr %140, align 4
  store i64 %141, ptr %67, align 16
  %142 = add i32 %.0125161.us, 3
  %143 = call noundef float @_Z14ImTriangleAreaRK6ImVec2S1_S1_(ptr noundef nonnull align 4 dereferenceable(8) %9, ptr noundef nonnull align 4 dereferenceable(8) %66, ptr noundef nonnull align 4 dereferenceable(8) %67)
  %144 = fadd float %.0127160.us, %143
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #7
  %145 = load i32, ptr %126, align 4, !tbaa !63
  %146 = load i32, ptr %82, align 8, !tbaa !23
  %147 = add i32 %146, %145
  %148 = icmp ult i32 %142, %147
  br i1 %148, label %.lr.ph.split.us, label %._crit_edge, !llvm.loop !64

._crit_edge:                                      ; preds = %.lr.ph.split, %.lr.ph.split.us, %119
  %.0127.lcssa = phi float [ 0.000000e+00, %119 ], [ %144, %.lr.ph.split.us ], [ %176, %.lr.ph.split ]
  %.lcssa157 = phi i32 [ %127, %119 ], [ %145, %.lr.ph.split.us ], [ %177, %.lr.ph.split ]
  %.lcssa = phi i32 [ %128, %119 ], [ %146, %.lr.ph.split.us ], [ %178, %.lr.ph.split ]
  %149 = load i32, ptr %122, align 8, !tbaa !62
  %150 = fpext float %.0127.lcssa to double
  %151 = call noundef i32 (ptr, i64, ptr, ...) @_Z14ImFormatStringPcmPKcz(ptr noundef nonnull %8, i64 noundef 300, ptr noundef nonnull @.str.668, i32 noundef %.lcssa, i32 noundef %149, i32 noundef %.lcssa157, double noundef %150)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #7
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %10, float noundef 0.000000e+00, float noundef 0.000000e+00)
  %152 = call noundef zeroext i1 @_ZN5ImGui10SelectableEPKcbiRK6ImVec2(ptr noundef nonnull %8, i1 noundef zeroext false, i32 noundef 0, ptr noundef nonnull align 4 dereferenceable(8) %10)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #7
  %153 = call noundef zeroext i1 @_ZN5ImGui13IsItemHoveredEi(i32 noundef 0)
  %or.cond6 = and i1 %63, %153
  br i1 %or.cond6, label %181, label %182

.lr.ph.split:                                     ; preds = %.lr.ph, %.lr.ph.split
  %.0125161 = phi i32 [ %174, %.lr.ph.split ], [ %127, %.lr.ph ]
  %.0127160 = phi float [ %176, %.lr.ph.split ], [ 0.000000e+00, %.lr.ph ]
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %9) #7
  call void @_ZN6ImVec2C2Ev(ptr noundef nonnull align 4 dereferenceable(8) %9)
  call void @_ZN6ImVec2C2Ev(ptr noundef nonnull align 4 dereferenceable(8) %66)
  call void @_ZN6ImVec2C2Ev(ptr noundef nonnull align 4 dereferenceable(8) %67)
  %154 = zext i32 %.0125161 to i64
  %155 = getelementptr inbounds i16, ptr %.fr, i64 %154
  %156 = load i16, ptr %155, align 2, !tbaa !66
  %157 = zext i16 %156 to i64
  %158 = getelementptr inbounds %struct.ImDrawVert, ptr %125, i64 %157
  %159 = load i64, ptr %158, align 4
  store i64 %159, ptr %9, align 16
  %160 = add nuw i32 %.0125161, 1
  %161 = zext i32 %160 to i64
  %162 = getelementptr inbounds i16, ptr %.fr, i64 %161
  %163 = load i16, ptr %162, align 2, !tbaa !66
  %164 = zext i16 %163 to i64
  %165 = getelementptr inbounds %struct.ImDrawVert, ptr %125, i64 %164
  %166 = load i64, ptr %165, align 4
  store i64 %166, ptr %66, align 8
  %167 = add i32 %.0125161, 2
  %168 = zext i32 %167 to i64
  %169 = getelementptr inbounds i16, ptr %.fr, i64 %168
  %170 = load i16, ptr %169, align 2, !tbaa !66
  %171 = zext i16 %170 to i64
  %172 = getelementptr inbounds %struct.ImDrawVert, ptr %125, i64 %171
  %173 = load i64, ptr %172, align 4
  store i64 %173, ptr %67, align 16
  %174 = add i32 %.0125161, 3
  %175 = call noundef float @_Z14ImTriangleAreaRK6ImVec2S1_S1_(ptr noundef nonnull align 4 dereferenceable(8) %9, ptr noundef nonnull align 4 dereferenceable(8) %66, ptr noundef nonnull align 4 dereferenceable(8) %67)
  %176 = fadd float %.0127160, %175
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #7
  %177 = load i32, ptr %126, align 4, !tbaa !63
  %178 = load i32, ptr %82, align 8, !tbaa !23
  %179 = add i32 %178, %177
  %180 = icmp ult i32 %174, %179
  br i1 %180, label %.lr.ph.split, label %._crit_edge, !llvm.loop !64

181:                                              ; preds = %._crit_edge
  call void @_ZN5ImGui38DebugNodeDrawCmdShowMeshAndBoundingBoxEP10ImDrawListPKS0_PK9ImDrawCmdbb(ptr noundef nonnull %43, ptr noundef nonnull %2, ptr noundef nonnull %.0116174, i1 noundef zeroext true, i1 noundef zeroext false)
  br label %182

182:                                              ; preds = %181, %._crit_edge
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %11) #7
  call void @_ZN16ImGuiListClipperC1Ev(ptr noundef nonnull align 8 dereferenceable(40) %11)
  %183 = load i32, ptr %82, align 8, !tbaa !23
  %184 = udiv i32 %183, 3
  invoke void @_ZN16ImGuiListClipper5BeginEif(ptr noundef nonnull align 8 dereferenceable(40) %11, i32 noundef %184, float noundef -1.000000e+00)
          to label %.preheader155 unwind label %.loopexit.split-lp

.preheader155:                                    ; preds = %182
  %.not146 = icmp eq ptr %.fr, null
  br label %185

.loopexit:                                        ; preds = %283, %188
  br label %185, !llvm.loop !67

185:                                              ; preds = %.preheader155, %.loopexit
  %186 = invoke noundef zeroext i1 @_ZN16ImGuiListClipper4StepEv(ptr noundef nonnull align 8 dereferenceable(40) %11)
          to label %187 unwind label %.loopexit156

187:                                              ; preds = %185
  br i1 %186, label %188, label %288

188:                                              ; preds = %187
  %189 = load i32, ptr %68, align 8, !tbaa !68
  %190 = load i32, ptr %69, align 4, !tbaa !70
  %191 = icmp slt i32 %189, %190
  br i1 %191, label %.lr.ph173.preheader, label %.loopexit

.lr.ph173.preheader:                              ; preds = %188
  %192 = load i32, ptr %126, align 4, !tbaa !63
  %193 = mul nsw i32 %189, 3
  %194 = add i32 %192, %193
  br label %.lr.ph173

.loopexit156:                                     ; preds = %185
  %lpad.loopexit = landingpad { ptr, i32 }
          cleanup
  br label %296

.loopexit.split-lp:                               ; preds = %182, %288
  %lpad.loopexit.split-lp = landingpad { ptr, i32 }
          cleanup
  br label %296

.lr.ph173:                                        ; preds = %.lr.ph173.preheader, %283
  %.0118171 = phi i32 [ %indvars.iv.next191.2, %283 ], [ %194, %.lr.ph173.preheader ]
  %.0119170 = phi i32 [ %284, %283 ], [ %189, %.lr.ph173.preheader ]
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %12) #7
  call void @_ZN6ImVec2C2Ev(ptr noundef nonnull align 4 dereferenceable(8) %12)
  call void @_ZN6ImVec2C2Ev(ptr noundef nonnull align 4 dereferenceable(8) %.ptr.1)
  call void @_ZN6ImVec2C2Ev(ptr noundef nonnull align 4 dereferenceable(8) %.ptr.2)
  %195 = sext i32 %.0118171 to i64
  br i1 %.not146, label %.preheader.1, label %198

196:                                              ; preds = %272
  %197 = landingpad { ptr, i32 }
          cleanup
  br label %287

198:                                              ; preds = %.lr.ph173
  %199 = getelementptr inbounds i16, ptr %.fr, i64 %195
  %200 = load i16, ptr %199, align 2, !tbaa !66
  %.pre196 = zext i16 %200 to i64
  br label %.preheader.1

.preheader.1:                                     ; preds = %.lr.ph173, %198
  %.pre-phi = phi i64 [ %195, %.lr.ph173 ], [ %.pre196, %198 ]
  %201 = getelementptr inbounds %struct.ImDrawVert, ptr %125, i64 %.pre-phi
  %202 = load i64, ptr %201, align 4
  store i64 %202, ptr %12, align 16
  %203 = load float, ptr %201, align 4, !tbaa !71
  %204 = fpext float %203 to double
  %205 = getelementptr inbounds i8, ptr %201, i64 4
  %206 = load float, ptr %205, align 4, !tbaa !73
  %207 = fpext float %206 to double
  %208 = getelementptr inbounds i8, ptr %201, i64 8
  %209 = load float, ptr %208, align 4, !tbaa !74
  %210 = fpext float %209 to double
  %211 = getelementptr inbounds i8, ptr %201, i64 12
  %212 = load float, ptr %211, align 4, !tbaa !75
  %213 = fpext float %212 to double
  %214 = getelementptr inbounds i8, ptr %201, i64 16
  %215 = load i32, ptr %214, align 4, !tbaa !76
  %216 = call noundef i32 (ptr, i64, ptr, ...) @_Z14ImFormatStringPcmPKcz(ptr noundef nonnull %8, i64 noundef 300, ptr noundef nonnull @.str.669, ptr noundef nonnull @.str.670, i32 noundef %.0118171, double noundef %204, double noundef %207, double noundef %210, double noundef %213, i32 noundef %215)
  %217 = sext i32 %216 to i64
  %218 = getelementptr inbounds i8, ptr %8, i64 %217
  %indvars.iv.next191 = add nsw i64 %195, 1
  %219 = trunc nsw i64 %indvars.iv.next191 to i32
  br i1 %.not146, label %.preheader.2, label %220

220:                                              ; preds = %.preheader.1
  %221 = getelementptr inbounds i16, ptr %.fr, i64 %indvars.iv.next191
  %222 = load i16, ptr %221, align 2, !tbaa !66
  %223 = zext i16 %222 to i64
  br label %.preheader.2

.preheader.2:                                     ; preds = %220, %.preheader.1
  %224 = phi i64 [ %223, %220 ], [ %indvars.iv.next191, %.preheader.1 ]
  %sext = shl i64 %224, 32
  %225 = ashr exact i64 %sext, 32
  %226 = getelementptr inbounds %struct.ImDrawVert, ptr %125, i64 %225
  %227 = load i64, ptr %226, align 4
  store i64 %227, ptr %.ptr.1, align 8
  %gepdiff = sub nsw i64 300, %217
  %228 = load float, ptr %226, align 4, !tbaa !71
  %229 = fpext float %228 to double
  %230 = getelementptr inbounds i8, ptr %226, i64 4
  %231 = load float, ptr %230, align 4, !tbaa !73
  %232 = fpext float %231 to double
  %233 = getelementptr inbounds i8, ptr %226, i64 8
  %234 = load float, ptr %233, align 4, !tbaa !74
  %235 = fpext float %234 to double
  %236 = getelementptr inbounds i8, ptr %226, i64 12
  %237 = load float, ptr %236, align 4, !tbaa !75
  %238 = fpext float %237 to double
  %239 = getelementptr inbounds i8, ptr %226, i64 16
  %240 = load i32, ptr %239, align 4, !tbaa !76
  %241 = call noundef i32 (ptr, i64, ptr, ...) @_Z14ImFormatStringPcmPKcz(ptr noundef nonnull %218, i64 noundef %gepdiff, ptr noundef nonnull @.str.669, ptr noundef nonnull @.str.671, i32 noundef %219, double noundef %229, double noundef %232, double noundef %235, double noundef %238, i32 noundef %240)
  %242 = sext i32 %241 to i64
  %243 = getelementptr inbounds i8, ptr %218, i64 %242
  %indvars.iv.next191.1 = add nsw i64 %195, 2
  %244 = trunc nsw i64 %indvars.iv.next191.1 to i32
  br i1 %.not146, label %249, label %245

245:                                              ; preds = %.preheader.2
  %246 = getelementptr inbounds i16, ptr %.fr, i64 %indvars.iv.next191.1
  %247 = load i16, ptr %246, align 2, !tbaa !66
  %248 = zext i16 %247 to i64
  br label %249

249:                                              ; preds = %245, %.preheader.2
  %250 = phi i64 [ %248, %245 ], [ %indvars.iv.next191.1, %.preheader.2 ]
  %sext199 = shl i64 %250, 32
  %251 = ashr exact i64 %sext199, 32
  %252 = getelementptr inbounds %struct.ImDrawVert, ptr %125, i64 %251
  %253 = load i64, ptr %252, align 4
  store i64 %253, ptr %.ptr.2, align 16
  %254 = ptrtoint ptr %243 to i64
  %255 = sub i64 %71, %254
  %256 = load float, ptr %252, align 4, !tbaa !71
  %257 = fpext float %256 to double
  %258 = getelementptr inbounds i8, ptr %252, i64 4
  %259 = load float, ptr %258, align 4, !tbaa !73
  %260 = fpext float %259 to double
  %261 = getelementptr inbounds i8, ptr %252, i64 8
  %262 = load float, ptr %261, align 4, !tbaa !74
  %263 = fpext float %262 to double
  %264 = getelementptr inbounds i8, ptr %252, i64 12
  %265 = load float, ptr %264, align 4, !tbaa !75
  %266 = fpext float %265 to double
  %267 = getelementptr inbounds i8, ptr %252, i64 16
  %268 = load i32, ptr %267, align 4, !tbaa !76
  %269 = call noundef i32 (ptr, i64, ptr, ...) @_Z14ImFormatStringPcmPKcz(ptr noundef nonnull %243, i64 noundef %255, ptr noundef nonnull @.str.669, ptr noundef nonnull @.str.671, i32 noundef %244, double noundef %257, double noundef %260, double noundef %263, double noundef %266, i32 noundef %268)
  %indvars.iv.next191.2 = add i32 %.0118171, 3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #7
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %13, float noundef 0.000000e+00, float noundef 0.000000e+00)
  %270 = invoke noundef zeroext i1 @_ZN5ImGui10SelectableEPKcbiRK6ImVec2(ptr noundef nonnull %8, i1 noundef zeroext false, i32 noundef 0, ptr noundef nonnull align 4 dereferenceable(8) %13)
          to label %271 unwind label %279

271:                                              ; preds = %249
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #7
  br i1 %63, label %272, label %283

272:                                              ; preds = %271
  %273 = invoke noundef zeroext i1 @_ZN5ImGui13IsItemHoveredEi(i32 noundef 0)
          to label %274 unwind label %196

274:                                              ; preds = %272
  br i1 %273, label %275, label %283

275:                                              ; preds = %274
  %276 = load i32, ptr %72, align 8, !tbaa !77
  %277 = and i32 %276, -2
  store i32 %277, ptr %72, align 8, !tbaa !77
  invoke void @_ZN10ImDrawList11AddPolylineEPK6ImVec2ijif(ptr noundef nonnull align 8 dereferenceable(196) %43, ptr noundef nonnull %12, i32 noundef 3, i32 noundef -16711681, i32 noundef 1, float noundef 1.000000e+00)
          to label %278 unwind label %281

278:                                              ; preds = %275
  store i32 %276, ptr %72, align 8, !tbaa !77
  br label %283

279:                                              ; preds = %249
  %280 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #7
  br label %287

281:                                              ; preds = %275
  %282 = landingpad { ptr, i32 }
          cleanup
  br label %287

283:                                              ; preds = %278, %274, %271
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %12) #7
  %284 = add nsw i32 %.0119170, 1
  %285 = load i32, ptr %69, align 4, !tbaa !70
  %286 = icmp slt i32 %284, %285
  br i1 %286, label %.lr.ph173, label %.loopexit, !llvm.loop !78

287:                                              ; preds = %281, %279, %196
  %.pn = phi { ptr, i32 } [ %282, %281 ], [ %197, %196 ], [ %280, %279 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %12) #7
  br label %296

288:                                              ; preds = %187
  invoke void @_ZN5ImGui7TreePopEv()
          to label %289 unwind label %.loopexit.split-lp

289:                                              ; preds = %288
  call void @_ZN16ImGuiListClipperD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %11) #7
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %11) #7
  br label %290

290:                                              ; preds = %113, %289
  call void @llvm.lifetime.end.p0(i64 300, ptr nonnull %8) #7
  call void @llvm.lifetime.end.p0(i64 20, ptr nonnull %7) #7
  br label %291

291:                                              ; preds = %290, %76
  %292 = getelementptr inbounds i8, ptr %.0116174, i64 56
  %293 = load ptr, ptr %57, align 8, !tbaa !50
  %294 = getelementptr inbounds %struct.ImDrawCmd, ptr %293, i64 %58
  %295 = icmp ult ptr %292, %294
  br i1 %295, label %73, label %.sink.split, !llvm.loop !79

296:                                              ; preds = %.loopexit156, %.loopexit.split-lp, %287
  %.pn.pn = phi { ptr, i32 } [ %.pn, %287 ], [ %lpad.loopexit, %.loopexit156 ], [ %lpad.loopexit.split-lp, %.loopexit.split-lp ]
  call void @_ZN16ImGuiListClipperD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %11) #7
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %11) #7
  call void @llvm.lifetime.end.p0(i64 300, ptr nonnull %8) #7
  call void @llvm.lifetime.end.p0(i64 20, ptr nonnull %7) #7
  resume { ptr, i32 } %.pn.pn

.sink.split:                                      ; preds = %291, %.thread153, %38
  call void @_ZN5ImGui7TreePopEv()
  br label %297

297:                                              ; preds = %.sink.split, %.thread, %51, %38
  ret void
}

declare noundef zeroext i1 @_ZN5ImGui8TreeNodeEPKvPKcz(ptr noundef, ptr noundef, ...) local_unnamed_addr #4

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

declare void @_ZN5ImGui11TextColoredERK6ImVec4PKcz(ptr noundef nonnull align 4 dereferenceable(16), ptr noundef, ...) local_unnamed_addr #4

declare void @_ZN5ImGui12TextDisabledEPKcz(ptr noundef, ...) local_unnamed_addr #4

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZL30FormatTextureIDForDebugDisplayPciPv(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #0

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef float @_Z14ImTriangleAreaRK6ImVec2S1_S1_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #6

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

declare void @_ZN16ImGuiListClipperC1Ev(ptr) local_unnamed_addr

declare void @_ZN16ImGuiListClipperD1Ev(ptr) local_unnamed_addr

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !12, i64 0}
!10 = !{!"_ZTS10ImDrawList", !11, i64 0, !13, i64 16, !14, i64 32, !12, i64 48, !12, i64 52, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !15, i64 88, !16, i64 104, !17, i64 120, !18, i64 136, !21, i64 168, !20, i64 192}
!11 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !12, i64 0, !12, i64 4, !6, i64 8}
!12 = !{!"int", !7, i64 0}
!13 = !{!"_ZTS8ImVectorItE", !12, i64 0, !12, i64 4, !6, i64 8}
!14 = !{!"_ZTS8ImVectorI10ImDrawVertE", !12, i64 0, !12, i64 4, !6, i64 8}
!15 = !{!"_ZTS8ImVectorI6ImVec4E", !12, i64 0, !12, i64 4, !6, i64 8}
!16 = !{!"_ZTS8ImVectorIPvE", !12, i64 0, !12, i64 4, !6, i64 8}
!17 = !{!"_ZTS8ImVectorI6ImVec2E", !12, i64 0, !12, i64 4, !6, i64 8}
!18 = !{!"_ZTS15ImDrawCmdHeader", !19, i64 0, !6, i64 16, !12, i64 24}
!19 = !{!"_ZTS6ImVec4", !20, i64 0, !20, i64 4, !20, i64 8, !20, i64 12}
!20 = !{!"float", !7, i64 0}
!21 = !{!"_ZTS18ImDrawListSplitter", !12, i64 0, !12, i64 4, !22, i64 8}
!22 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !12, i64 0, !12, i64 4, !6, i64 8}
!23 = !{!24, !12, i64 32}
!24 = !{!"_ZTS9ImDrawCmd", !19, i64 0, !6, i64 16, !12, i64 24, !12, i64 28, !12, i64 32, !6, i64 40, !6, i64 48}
!25 = !{!24, !6, i64 40}
!26 = !{!10, !6, i64 64}
!27 = !{!10, !12, i64 32}
!28 = !{!10, !12, i64 16}
!29 = !{!30, !32, i64 244}
!30 = !{!"_ZTS11ImGuiWindow", !6, i64 0, !6, i64 8, !12, i64 16, !12, i64 20, !12, i64 24, !12, i64 28, !31, i64 32, !6, i64 64, !12, i64 72, !33, i64 76, !12, i64 84, !33, i64 88, !33, i64 96, !33, i64 104, !33, i64 112, !33, i64 120, !33, i64 128, !33, i64 136, !20, i64 144, !20, i64 148, !20, i64 152, !20, i64 156, !20, i64 160, !20, i64 164, !20, i64 168, !20, i64 172, !12, i64 176, !12, i64 180, !12, i64 184, !12, i64 188, !33, i64 192, !33, i64 200, !33, i64 208, !33, i64 216, !33, i64 224, !33, i64 232, !32, i64 240, !32, i64 241, !32, i64 242, !32, i64 243, !32, i64 244, !32, i64 245, !32, i64 246, !32, i64 247, !32, i64 248, !32, i64 249, !32, i64 250, !32, i64 251, !32, i64 252, !32, i64 253, !7, i64 254, !7, i64 255, !34, i64 256, !34, i64 258, !34, i64 260, !34, i64 262, !34, i64 264, !12, i64 268, !7, i64 272, !7, i64 273, !32, i64 274, !12, i64 276, !7, i64 280, !7, i64 281, !7, i64 282, !7, i64 283, !12, i64 284, !12, i64 285, !12, i64 286, !12, i64 287, !33, i64 288, !33, i64 296, !35, i64 304, !36, i64 320, !42, i64 552, !42, i64 568, !42, i64 584, !42, i64 600, !42, i64 616, !42, i64 632, !42, i64 648, !43, i64 664, !43, i64 668, !12, i64 672, !12, i64 676, !20, i64 680, !20, i64 684, !44, i64 688, !46, i64 704, !20, i64 720, !20, i64 724, !12, i64 728, !6, i64 736, !10, i64 744, !6, i64 944, !6, i64 952, !6, i64 960, !6, i64 968, !6, i64 976, !6, i64 984, !6, i64 992, !6, i64 1000, !6, i64 1008, !7, i64 1016, !7, i64 1024, !7, i64 1056, !12, i64 1072, !12, i64 1076, !12, i64 1080, !32, i64 1084, !32, i64 1085, !32, i64 1085, !32, i64 1085, !32, i64 1085, !34, i64 1086, !47, i64 1088, !6, i64 1112, !6, i64 1120, !12, i64 1128, !12, i64 1132, !42, i64 1136}
!31 = !{!"_ZTS16ImGuiWindowClass", !12, i64 0, !12, i64 4, !12, i64 8, !12, i64 12, !12, i64 16, !12, i64 20, !12, i64 24, !32, i64 28, !32, i64 29}
!32 = !{!"bool", !7, i64 0}
!33 = !{!"_ZTS6ImVec2", !20, i64 0, !20, i64 4}
!34 = !{!"short", !7, i64 0}
!35 = !{!"_ZTS8ImVectorIjE", !12, i64 0, !12, i64 4, !6, i64 8}
!36 = !{!"_ZTS19ImGuiWindowTempData", !33, i64 0, !33, i64 8, !33, i64 16, !33, i64 24, !33, i64 32, !33, i64 40, !33, i64 48, !20, i64 56, !20, i64 60, !32, i64 64, !32, i64 65, !37, i64 68, !37, i64 72, !37, i64 76, !33, i64 80, !38, i64 88, !34, i64 92, !34, i64 94, !32, i64 96, !32, i64 97, !32, i64 98, !32, i64 99, !33, i64 100, !39, i64 108, !12, i64 136, !12, i64 140, !40, i64 144, !6, i64 160, !6, i64 168, !12, i64 176, !12, i64 180, !12, i64 184, !20, i64 188, !20, i64 192, !41, i64 200, !41, i64 216}
!37 = !{!"_ZTS6ImVec1", !20, i64 0}
!38 = !{!"_ZTS13ImGuiNavLayer", !7, i64 0}
!39 = !{!"_ZTS16ImGuiMenuColumns", !12, i64 0, !12, i64 4, !34, i64 8, !34, i64 10, !34, i64 12, !34, i64 14, !34, i64 16, !7, i64 18}
!40 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !12, i64 0, !12, i64 4, !6, i64 8}
!41 = !{!"_ZTS8ImVectorIfE", !12, i64 0, !12, i64 4, !6, i64 8}
!42 = !{!"_ZTS6ImRect", !33, i64 0, !33, i64 8}
!43 = !{!"_ZTS8ImVec2ih", !34, i64 0, !34, i64 2}
!44 = !{!"_ZTS12ImGuiStorage", !45, i64 0}
!45 = !{!"_ZTS8ImVectorIN12ImGuiStorage16ImGuiStoragePairEE", !12, i64 0, !12, i64 4, !6, i64 8}
!46 = !{!"_ZTS8ImVectorI15ImGuiOldColumnsE", !12, i64 0, !12, i64 4, !6, i64 8}
!47 = !{!"_ZTS20ImGuiWindowDockStyle", !7, i64 0}
!48 = !{i8 0, i8 2}
!49 = !{}
!50 = !{!10, !6, i64 8}
!51 = !{!24, !6, i64 48}
!52 = !{!24, !6, i64 16}
!53 = !{!24, !20, i64 0}
!54 = !{!24, !20, i64 4}
!55 = !{!24, !20, i64 8}
!56 = !{!24, !20, i64 12}
!57 = !{!58, !32, i64 5}
!58 = !{!"_ZTS18ImGuiMetricsConfig", !32, i64 0, !32, i64 1, !32, i64 2, !32, i64 3, !32, i64 4, !32, i64 5, !32, i64 6, !32, i64 7, !32, i64 8, !32, i64 9, !12, i64 12, !12, i64 16}
!59 = !{!58, !32, i64 6}
!60 = !{!10, !6, i64 24}
!61 = !{!10, !6, i64 40}
!62 = !{!24, !12, i64 24}
!63 = !{!24, !12, i64 28}
!64 = distinct !{!64, !65}
!65 = !{!"llvm.loop.mustprogress"}
!66 = !{!34, !34, i64 0}
!67 = distinct !{!67, !65}
!68 = !{!69, !12, i64 8}
!69 = !{!"_ZTS16ImGuiListClipper", !6, i64 0, !12, i64 8, !12, i64 12, !12, i64 16, !20, i64 20, !20, i64 24, !6, i64 32}
!70 = !{!69, !12, i64 12}
!71 = !{!72, !20, i64 0}
!72 = !{!"_ZTS10ImDrawVert", !33, i64 0, !33, i64 8, !12, i64 16}
!73 = !{!72, !20, i64 4}
!74 = !{!72, !20, i64 8}
!75 = !{!72, !20, i64 12}
!76 = !{!72, !12, i64 16}
!77 = !{!10, !12, i64 48}
!78 = distinct !{!78, !65}
!79 = distinct !{!79, !65}


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