; LLVM IR from khushmmehta/Scorch-V :: src/vendor/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, 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, %struct.ImVec2, ptr, i32, i32, i32, i8, i8, ptr, i32, float, [154 x %struct.ImGuiKeyOwnerData], %struct.ImGuiKeyRoutingTable, i32, i8, i32, i32, i32, i32, %struct.ImGuiNextItemData, %struct.ImGuiLastItemData, %struct.ImGuiNextWindowData, i8, %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, i32, i32, i32, i32, 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, i32, i32, float, i32, i32, i32, i32, %struct.ImVector.17, [16 x i8], i32, %struct.ImVector.18, ptr, 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.11, %struct.ImGuiTypingSelectState, %struct.ImGuiPlatformImeData, %struct.ImGuiPlatformImeData, i32, [4 x i8], %struct.ImGuiDockContext, ptr, i8, float, %struct.ImGuiTextBuffer, %struct.ImVector.31, %struct.ImChunkStream, %struct.ImChunkStream.32, %struct.ImVector.33, i32, [11 x ptr], i8, i32, ptr, %struct.ImGuiTextBuffer, ptr, ptr, float, i8, i32, i32, i32, i32, %struct.ImGuiTextBuffer, %struct.ImGuiTextIndex, i8, i8, i8, i8, i8, i32, %struct.ImGuiMetricsConfig, %struct.ImGuiIDStackTool, %struct.ImGuiDebugAllocInfo, ptr, [60 x float], i32, i32, float, i32, i32, i32, %struct.ImVector.27 }
%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, 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, 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.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, float, [4 x i8], i64, i32, i8, [3 x i8] }>
%struct.ImGuiLastItemData = type { i32, i32, i32, %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, %struct.ImRect, ptr, ptr, float, i32, i32, %struct.ImGuiWindowClass, %struct.ImVec2 }
%struct.ImGuiWindowClass = type <{ i32, i32, i32, i32, i32, i32, i8, i8, [2 x i8] }>
%struct.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.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.11 = 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.29, %struct.ImVector.30, i8, [7 x i8] }>
%struct.ImVector.29 = type { i32, i32, ptr }
%struct.ImVector.30 = type { i32, i32, ptr }
%struct.ImVector.31 = type { i32, i32, ptr }
%struct.ImChunkStream = type { %struct.ImVector.27 }
%struct.ImChunkStream.32 = type { %struct.ImVector.27 }
%struct.ImVector.33 = 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, i32, i32 }
%struct.ImGuiIDStackTool = type { i32, i32, i32, %struct.ImVector.34, i8, float }
%struct.ImVector.34 = 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.38, %struct.ImVector, %struct.ImVector.39, i32, i32, ptr, ptr, ptr, ptr, %struct.ImVector.40, %struct.ImVector.41, %struct.ImVector.2, %struct.ImDrawCmdHeader, %struct.ImDrawListSplitter, float, [4 x i8] }>
%struct.ImVector.38 = type { i32, i32, ptr }
%struct.ImVector.39 = type { i32, i32, ptr }
%struct.ImVector.40 = type { i32, i32, ptr }
%struct.ImVector.41 = 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.11, %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.37, float, float, i32, ptr, %struct.ImDrawList, 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.37 = 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.16 = external hidden unnamed_addr constant [1 x i8], align 1
@.str.384 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.631 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.632 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.633 = external hidden unnamed_addr constant [73 x i8], align 1
@.str.634 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.635 = external hidden unnamed_addr constant [65 x i8], align 1
@.str.636 = external hidden unnamed_addr constant [68 x i8], align 1
@.str.637 = external hidden unnamed_addr constant [54 x i8], align 1
@.str.638 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.639 = 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 [300 x i8], align 16
  %19 = alloca i8, align 1
  %20 = alloca ptr, align 8
  %21 = alloca ptr, align 8
  %22 = alloca float, align 4
  %23 = alloca i32, align 4
  %24 = alloca [3 x %struct.ImVec2], align 16
  %25 = alloca i32, align 4
  %26 = alloca %struct.ImVec2, align 4
  %27 = alloca %struct.ImGuiListClipper, align 8
  %28 = alloca ptr, align 8
  %29 = alloca i32, align 4
  %30 = alloca i32, align 4
  %31 = alloca i32, align 4
  %32 = alloca ptr, align 8
  %33 = alloca ptr, align 8
  %34 = alloca [3 x %struct.ImVec2], align 16
  %35 = alloca i32, align 4
  %36 = alloca ptr, align 8
  %37 = alloca %struct.ImVec2, align 4
  %38 = 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
  %39 = load ptr, ptr @GImGui, align 8, !tbaa !5
  store ptr %39, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #8
  %40 = load ptr, ptr %9, align 8, !tbaa !5
  %41 = getelementptr inbounds %struct.ImGuiContext, ptr %40, i32 0, i32 256
  store ptr %41, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #8
  %42 = load ptr, ptr %7, align 8, !tbaa !5
  %43 = getelementptr inbounds %struct.ImDrawList, ptr %42, i32 0, i32 0
  %44 = getelementptr inbounds %struct.ImVector.38, ptr %43, i32 0, i32 0
  %45 = load i32, ptr %44, align 8, !tbaa !9
  store i32 %45, ptr %11, align 4, !tbaa !23
  %46 = load i32, ptr %11, align 4, !tbaa !23
  %47 = icmp sgt i32 %46, 0
  br i1 %47, label %48, label %65

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

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

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

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

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

76:                                               ; preds = %65
  br label %77

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

93:                                               ; preds = %77
  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.632)
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #8
  %94 = load i8, ptr %12, align 1, !tbaa !30, !range !32, !noundef !33
  %95 = trunc i8 %94 to i1
  br i1 %95, label %96, label %97

96:                                               ; preds = %93
  call void @_ZN5ImGui7TreePopEv()
  br label %97

97:                                               ; preds = %96, %93
  store i32 1, ptr %14, align 4
  br label %510

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

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

104:                                              ; preds = %98
  br label %105

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

109:                                              ; preds = %105
  %110 = call noundef zeroext i1 @_ZN5ImGui13IsItemHoveredEi(i32 noundef 0)
  br i1 %110, label %111, label %123

111:                                              ; preds = %109
  %112 = load ptr, ptr %15, align 8, !tbaa !5
  %113 = icmp ne ptr %112, null
  br i1 %113, label %114, label %123

114:                                              ; preds = %111
  %115 = load ptr, ptr %15, align 8, !tbaa !5
  %116 = load ptr, ptr %5, align 8, !tbaa !5
  %117 = getelementptr inbounds %struct.ImGuiWindow, ptr %116, i32 0, i32 11
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #8
  %118 = load ptr, ptr %5, align 8, !tbaa !5
  %119 = getelementptr inbounds %struct.ImGuiWindow, ptr %118, i32 0, i32 11
  %120 = load ptr, ptr %5, align 8, !tbaa !5
  %121 = getelementptr inbounds %struct.ImGuiWindow, ptr %120, i32 0, i32 12
  %122 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %119, ptr noundef nonnull align 4 dereferenceable(8) %121)
  store <2 x float> %122, ptr %16, align 4
  call void @_ZN10ImDrawList7AddRectERK6ImVec2S2_jfif(ptr noundef nonnull align 8 dereferenceable(196) %115, ptr noundef nonnull align 4 dereferenceable(8) %117, 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 %123

123:                                              ; preds = %114, %111, %109, %105
  %124 = load i8, ptr %12, align 1, !tbaa !30, !range !32, !noundef !33
  %125 = trunc i8 %124 to i1
  br i1 %125, label %127, label %126

126:                                              ; preds = %123
  store i32 1, ptr %14, align 4
  br label %509

127:                                              ; preds = %123
  %128 = load ptr, ptr %5, align 8, !tbaa !5
  %129 = icmp ne ptr %128, null
  br i1 %129, label %130, label %136

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

135:                                              ; preds = %130
  call void (ptr, ...) @_ZN5ImGui12TextDisabledEPKcz(ptr noundef @.str.633)
  br label %136

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

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

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

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

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

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

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

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

219:                                              ; preds = %214, %209
  %220 = load ptr, ptr %15, align 8, !tbaa !5
  %221 = icmp ne ptr %220, null
  br i1 %221, label %222, label %234

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

234:                                              ; preds = %222, %219, %214, %164
  %235 = load i8, ptr %19, align 1, !tbaa !30, !range !32, !noundef !33
  %236 = trunc i8 %235 to i1
  br i1 %236, label %238, label %237

237:                                              ; preds = %234
  store i32 4, ptr %14, align 4
  br label %501

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

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

249:                                              ; preds = %238
  br label %250

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

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

274:                                              ; preds = %264
  store i32 5, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #8
  br label %320

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

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

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

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

286:                                              ; preds = %283
  store i32 7, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #8
  br label %313

287:                                              ; preds = %283
  %288 = load ptr, ptr %21, align 8, !tbaa !5
  %289 = load ptr, ptr %20, align 8, !tbaa !5
  %290 = icmp ne ptr %289, null
  br i1 %290, label %291, label %298

291:                                              ; preds = %287
  %292 = load ptr, ptr %20, align 8, !tbaa !5
  %293 = load i32, ptr %23, align 4, !tbaa !23
  %294 = zext i32 %293 to i64
  %295 = getelementptr inbounds i16, ptr %292, i64 %294
  %296 = load i16, ptr %295, align 2, !tbaa !67
  %297 = zext i16 %296 to i32
  br label %300

298:                                              ; preds = %287
  %299 = load i32, ptr %23, align 4, !tbaa !23
  br label %300

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

308:                                              ; preds = %300
  %309 = load i32, ptr %25, align 4, !tbaa !23
  %310 = add nsw i32 %309, 1
  store i32 %310, ptr %25, align 4, !tbaa !23
  %311 = load i32, ptr %23, align 4, !tbaa !23
  %312 = add i32 %311, 1
  store i32 %312, ptr %23, align 4, !tbaa !23
  br label %283, !llvm.loop !69

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

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

337:                                              ; preds = %320
  %338 = load ptr, ptr %15, align 8, !tbaa !5
  %339 = icmp ne ptr %338, null
  br i1 %339, label %340, label %344

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

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

349:                                              ; preds = %344
  br label %350

350:                                              ; preds = %498, %349
  %351 = invoke noundef zeroext i1 @_ZN16ImGuiListClipper4StepEv(ptr noundef nonnull align 8 dereferenceable(40) %27)
          to label %352 unwind label %369

352:                                              ; preds = %350
  br i1 %351, label %353, label %499

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

363:                                              ; preds = %494, %353
  %364 = load i32, ptr %30, align 4, !tbaa !23
  %365 = getelementptr inbounds %struct.ImGuiListClipper, ptr %27, i32 0, i32 2
  %366 = load i32, ptr %365, align 4, !tbaa !74
  %367 = icmp slt i32 %364, %366
  br i1 %367, label %373, label %368

368:                                              ; preds = %363
  store i32 12, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #8
  br label %498

369:                                              ; preds = %499, %350, %344
  %370 = landingpad { ptr, i32 }
          cleanup
  %371 = extractvalue { ptr, i32 } %370, 0
  store ptr %371, ptr %28, align 8
  %372 = extractvalue { ptr, i32 } %370, 1
  store i32 %372, ptr %29, align 4
  br label %507

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

379:                                              ; preds = %381, %373
  %380 = phi ptr [ %377, %373 ], [ %382, %381 ]
  invoke void @_ZN6ImVec2C2Ev(ptr noundef nonnull align 4 dereferenceable(8) %380)
          to label %381 unwind label %389

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

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

385:                                              ; preds = %456, %384
  %386 = load i32, ptr %35, align 4, !tbaa !23
  %387 = icmp slt i32 %386, 3
  br i1 %387, label %393, label %388

388:                                              ; preds = %385
  store i32 15, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #8
  br label %461

389:                                              ; preds = %468, %379
  %390 = landingpad { ptr, i32 }
          cleanup
  %391 = extractvalue { ptr, i32 } %390, 0
  store ptr %391, ptr %28, align 8
  %392 = extractvalue { ptr, i32 } %390, 1
  store i32 %392, ptr %29, align 4
  br label %497

393:                                              ; preds = %385
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #8
  %394 = load ptr, ptr %21, align 8, !tbaa !5
  %395 = load ptr, ptr %20, align 8, !tbaa !5
  %396 = icmp ne ptr %395, null
  br i1 %396, label %397, label %404

397:                                              ; preds = %393
  %398 = load ptr, ptr %20, align 8, !tbaa !5
  %399 = load i32, ptr %31, align 4, !tbaa !23
  %400 = sext i32 %399 to i64
  %401 = getelementptr inbounds i16, ptr %398, i64 %400
  %402 = load i16, ptr %401, align 2, !tbaa !67
  %403 = zext i16 %402 to i32
  br label %406

404:                                              ; preds = %393
  %405 = load i32, ptr %31, align 4, !tbaa !23
  br label %406

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

423:                                              ; preds = %406
  br label %425

424:                                              ; preds = %406
  br label %425

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

456:                                              ; preds = %425
  %457 = load i32, ptr %35, align 4, !tbaa !23
  %458 = add nsw i32 %457, 1
  store i32 %458, ptr %35, align 4, !tbaa !23
  %459 = load i32, ptr %31, align 4, !tbaa !23
  %460 = add nsw i32 %459, 1
  store i32 %460, ptr %31, align 4, !tbaa !23
  br label %385, !llvm.loop !81

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

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

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

468:                                              ; preds = %465
  %469 = invoke noundef zeroext i1 @_ZN5ImGui13IsItemHoveredEi(i32 noundef 0)
          to label %470 unwind label %389

470:                                              ; preds = %468
  br i1 %469, label %471, label %493

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

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

485:                                              ; preds = %463, %461
  %486 = landingpad { ptr, i32 }
          cleanup
  %487 = extractvalue { ptr, i32 } %486, 0
  store ptr %487, ptr %28, align 8
  %488 = extractvalue { ptr, i32 } %486, 1
  store i32 %488, ptr %29, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #8
  br label %497

489:                                              ; preds = %471
  %490 = landingpad { ptr, i32 }
          cleanup
  %491 = extractvalue { ptr, i32 } %490, 0
  store ptr %491, ptr %28, align 8
  %492 = extractvalue { ptr, i32 } %490, 1
  store i32 %492, ptr %29, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %38) #8
  br label %497

493:                                              ; preds = %481, %470, %465
  call void @llvm.lifetime.end.p0(i64 24, ptr %34) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #8
  br label %494

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

497:                                              ; preds = %489, %485, %389
  call void @llvm.lifetime.end.p0(i64 24, ptr %34) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #8
  br label %507

498:                                              ; preds = %368
  br label %350, !llvm.loop !84

499:                                              ; preds = %352
  invoke void @_ZN5ImGui7TreePopEv()
          to label %500 unwind label %369

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

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

503:                                              ; preds = %501
  br label %504

504:                                              ; preds = %503, %501, %157
  %505 = load ptr, ptr %17, align 8, !tbaa !5
  %506 = getelementptr inbounds %struct.ImDrawCmd, ptr %505, i32 1
  store ptr %506, ptr %17, align 8, !tbaa !5
  br label %141, !llvm.loop !85

507:                                              ; preds = %497, %369
  call void @_ZN16ImGuiListClipperD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %27) #8
  call void @llvm.lifetime.end.p0(i64 40, ptr %27) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %19) #8
  call void @llvm.lifetime.end.p0(i64 300, 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 %513

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

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

510:                                              ; preds = %509, %97
  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
  %511 = load i32, ptr %14, align 4
  switch i32 %511, label %518 [
    i32 0, label %512
    i32 1, label %512
  ]

512:                                              ; preds = %510, %510
  ret void

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

518:                                              ; preds = %510, %501
  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: 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, !7, i64 1008, !7, i64 1016, !7, i64 1048, !12, i64 1064, !12, i64 1068, !12, i64 1072, !31, i64 1076, !31, i64 1077, !31, i64 1077, !31, i64 1077, !31, i64 1077, !38, i64 1078, !51, i64 1080, !6, i64 1104, !6, i64 1112, !12, i64 1120, !12, i64 1124, !46, i64 1128}
!36 = !{!"_ZTS16ImGuiWindowClass", !12, i64 0, !12, i64 4, !12, i64 8, !12, i64 12, !12, i64 16, !12, i64 20, !31, i64 24, !31, i64 25}
!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, !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.16 = external hidden unnamed_addr constant [1 x i8], align 1
@.str.384 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.631 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.632 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.633 = external hidden unnamed_addr constant [73 x i8], align 1
@.str.634 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.635 = external hidden unnamed_addr constant [65 x i8], align 1
@.str.636 = external hidden unnamed_addr constant [68 x i8], align 1
@.str.637 = external hidden unnamed_addr constant [54 x i8], align 1
@.str.638 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.639 = 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 [300 x i8], align 16
  %8 = alloca [3 x %struct.ImVec2], align 16
  %9 = alloca %struct.ImVec2, align 4
  %10 = alloca %struct.ImGuiListClipper, align 8
  %11 = alloca [3 x %struct.ImVec2], align 16
  %12 = alloca %struct.ImVec2, align 4
  %13 = load ptr, ptr @GImGui, align 8, !tbaa !5
  %14 = load i32, ptr %2, align 8, !tbaa !9
  %15 = icmp sgt i32 %14, 0
  br i1 %15, label %16, label %27

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

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

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

37:                                               ; preds = %27
  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.632)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #7
  br i1 %34, label %.sink.split, label %296

38:                                               ; preds = %27
  %.not140 = icmp eq ptr %1, null
  br i1 %.not140, label %41, label %39

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

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

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

46:                                               ; preds = %43
  %47 = getelementptr inbounds i8, ptr %0, i64 88
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #7
  %48 = getelementptr inbounds i8, ptr %0, i64 96
  %49 = tail call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %47, ptr noundef nonnull align 4 dereferenceable(8) %48)
  store <2 x float> %49, ptr %6, align 8
  call void @_ZN10ImDrawList7AddRectERK6ImVec2S2_jfif(ptr noundef nonnull align 8 dereferenceable(196) %42, ptr noundef nonnull align 4 dereferenceable(8) %47, 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 %50

50:                                               ; preds = %46, %43
  br i1 %34, label %51, label %296

.thread:                                          ; preds = %41
  br i1 %34, label %.thread153, label %296

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

55:                                               ; preds = %51
  call void (ptr, ...) @_ZN5ImGui12TextDisabledEPKcz(ptr noundef nonnull @.str.633)
  br label %.thread153

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

.lr.ph175:                                        ; preds = %.thread153
  %59 = load ptr, ptr %56, align 8, !tbaa !50
  %60 = getelementptr inbounds i8, ptr %13, i64 25145
  %61 = getelementptr inbounds i8, ptr %13, i64 25146
  %62 = icmp ne ptr %42, null
  %.old2.not = icmp eq ptr %42, null
  %63 = getelementptr inbounds i8, ptr %2, i64 24
  %64 = getelementptr inbounds i8, ptr %2, i64 40
  %65 = getelementptr inbounds i8, ptr %8, i64 8
  %66 = getelementptr inbounds i8, ptr %8, i64 16
  %67 = getelementptr inbounds i8, ptr %10, i64 8
  %68 = getelementptr inbounds i8, ptr %10, i64 12
  %69 = getelementptr inbounds i8, ptr %7, i64 300
  %70 = ptrtoint ptr %69 to i64
  %71 = getelementptr inbounds i8, ptr %42, i64 48
  %.ptr.1 = getelementptr inbounds i8, ptr %11, i64 8
  %.ptr.2 = getelementptr inbounds i8, ptr %11, i64 16
  br label %72

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

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

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

104:                                              ; preds = %78
  %105 = load i8, ptr %60, align 1, !tbaa !57, !range !48, !noundef !49
  %106 = trunc nuw i8 %105 to i1
  br i1 %106, label %110, label %107

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

110:                                              ; preds = %104
  br i1 %.old2.not, label %112, label %._crit_edge195

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

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

112:                                              ; preds = %111, %110, %107, %78
  br i1 %102, label %113, label %289

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

116:                                              ; preds = %113
  %117 = load ptr, ptr %63, align 8, !tbaa !60
  br label %118

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

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

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

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

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

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

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

.loopexit:                                        ; preds = %282, %187
  br label %184, !llvm.loop !67

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

186:                                              ; preds = %184
  br i1 %185, label %187, label %287

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

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

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

.loopexit.split-lp:                               ; preds = %181, %287
  %lpad.loopexit.split-lp = landingpad { ptr, i32 }
          cleanup
  br label %295

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

195:                                              ; preds = %271
  %196 = landingpad { ptr, i32 }
          cleanup
  br label %286

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

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

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

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

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

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

270:                                              ; preds = %248
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #7
  br i1 %62, label %271, label %282

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

273:                                              ; preds = %271
  br i1 %272, label %274, label %282

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

277:                                              ; preds = %274
  store i32 %275, ptr %71, align 8, !tbaa !77
  br label %282

278:                                              ; preds = %248
  %279 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #7
  br label %286

280:                                              ; preds = %274
  %281 = landingpad { ptr, i32 }
          cleanup
  br label %286

282:                                              ; preds = %277, %273, %270
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %11) #7
  %283 = add nsw i32 %.0119170, 1
  %284 = load i32, ptr %68, align 4, !tbaa !70
  %285 = icmp slt i32 %283, %284
  br i1 %285, label %.lr.ph173, label %.loopexit, !llvm.loop !78

286:                                              ; preds = %280, %278, %195
  %.pn = phi { ptr, i32 } [ %281, %280 ], [ %196, %195 ], [ %279, %278 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %11) #7
  br label %295

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

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

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

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

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

.sink.split:                                      ; preds = %290, %.thread153, %37
  call void @_ZN5ImGui7TreePopEv()
  br label %296

296:                                              ; preds = %.sink.split, %.thread, %50, %37
  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: 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, !7, i64 1008, !7, i64 1016, !7, i64 1048, !12, i64 1064, !12, i64 1068, !12, i64 1072, !32, i64 1076, !32, i64 1077, !32, i64 1077, !32, i64 1077, !32, i64 1077, !34, i64 1078, !47, i64 1080, !6, i64 1104, !6, i64 1112, !12, i64 1120, !12, i64 1124, !42, i64 1128}
!31 = !{!"_ZTS16ImGuiWindowClass", !12, i64 0, !12, i64 4, !12, i64 8, !12, i64 12, !12, i64 16, !12, i64 20, !32, i64 24, !32, i64 25}
!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, !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