; LLVM IR from xhub/reshop :: gui/external/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, double, ptr }
%struct.ImGuiContext = type { i8, i8, %struct.ImGuiIO, %struct.ImGuiPlatformIO, %struct.ImGuiStyle, ptr, float, float, float, float, %struct.ImDrawListSharedData, double, i32, i32, i32, i32, i8, i8, i8, i8, ptr, [16 x i8], %struct.ImVector.1, %struct.ImVector.1, i32, i32, %struct.ImVector.2, %struct.ImVector.2, %struct.ImVector.2, %struct.ImVector.3, %struct.ImGuiStorage, i32, %struct.ImVec2, i32, ptr, ptr, ptr, ptr, ptr, ptr, %struct.ImVec2, i32, i32, float, %struct.ImVec2, %struct.ImVec2, i32, i32, i32, i32, i32, float, float, i8, i8, i8, i32, i32, float, i8, i8, i8, i8, i8, i8, i8, i8, %struct.ImVec2, ptr, i32, i32, %struct.ImGuiDeactivatedItemData, %struct.ImGuiDataTypeStorage, i32, float, double, double, double, %struct.ImBitArray, [154 x %struct.ImGuiKeyOwnerData], %struct.ImGuiKeyRoutingTable, i32, i8, i32, i32, i32, i32, %struct.ImGuiNextItemData, %struct.ImGuiLastItemData, %struct.ImGuiNextWindowData, i8, i32, %struct.ImVector.6, %struct.ImVector.7, %struct.ImVector.8, %struct.ImVector.9, %struct.ImVector.10, %struct.ImVector.11, %struct.ImVector.12, %struct.ImVector.12, %struct.ImVector.13, %struct.ImVector.14, i8, i8, i8, i8, i32, ptr, i32, i32, i32, i32, i32, i32, %struct.ImVector.9, i32, float, i32, i32, i32, i64, 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, i32, i32, i8, i8, i32, i32, ptr, ptr, ptr, float, float, i8, i32, %struct.ImVec2, %struct.ImVec2, float, i8, i8, i8, i32, i32, i32, [4 x i8], %struct.ImGuiPayload, %struct.ImRect, %struct.ImRect, i32, i32, float, i32, i32, i32, i32, %struct.ImVector.15, [16 x i8], i32, %struct.ImVector.16, ptr, i32, i32, %struct.ImVector.17, %struct.ImPool, %struct.ImVector.19, %struct.ImVector.20, ptr, %struct.ImPool.21, %struct.ImVector.23, %struct.ImVector.24, %struct.ImGuiBoxSelectState, ptr, i32, %struct.ImVector.25, %struct.ImPool.26, i32, i32, float, float, i32, i32, i32, float, %struct.ImVec2, %struct.ImGuiInputTextState, %struct.ImGuiInputTextDeactivatedState, %struct.ImFont, i32, %struct.ImGuiDataTypeStorage, i32, i32, i32, i32, i32, float, float, i32, %struct.ImVec4, %struct.ImGuiComboPreviewData, %struct.ImRect, i8, i16, float, float, float, i8, i8, float, float, float, i16, i16, ptr, %struct.ImVector.28, %struct.ImVector.30, %struct.ImGuiTypingSelectState, %struct.ImGuiPlatformImeData, %struct.ImGuiPlatformImeData, i8, float, %struct.ImGuiTextBuffer, %struct.ImVector.31, %struct.ImChunkStream, %struct.ImChunkStream.32, %struct.ImVector.33, i32, [10 x ptr], i8, i32, ptr, ptr, %struct.ImGuiTextBuffer, ptr, ptr, float, i8, i32, i32, i32, ptr, ptr, %struct.ImVec2, i8, i32, %struct.ImGuiErrorRecoveryState, ptr, i32, i32, %struct.ImGuiTextBuffer, %struct.ImGuiTextIndex, i32, i32, i8, i8, i8, i32, i8, i8, i8, i32, float, %struct.ImVec4, %struct.ImGuiMetricsConfig, %struct.ImGuiIDStackTool, %struct.ImGuiDebugAllocInfo, [60 x float], i32, i32, float, i32, i32, i32, %struct.ImVector.28, [64 x i8] }
%struct.ImGuiIO = type { i32, i32, %struct.ImVec2, float, float, ptr, ptr, ptr, ptr, float, i8, ptr, %struct.ImVec2, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, float, float, float, float, float, float, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, ptr, ptr, ptr, ptr, ptr, i8, i8, i8, i8, i8, i8, i8, float, i32, i32, i32, i32, %struct.ImVec2, ptr, %struct.ImVec2, [5 x i8], float, float, i32, i8, i8, i8, i8, i32, [154 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, i8, [5 x float], [5 x float], [5 x float], float, i8, i8, i16, %struct.ImVector, ptr, ptr, ptr }
%struct.ImGuiKeyData = type { i8, float, float, float }
%struct.ImVector = type { i32, i32, ptr }
%struct.ImGuiPlatformIO = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, i16, 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, float, %struct.ImVec2, i32, %struct.ImVec2, %struct.ImVec2, float, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, i8, i8, i8, float, float, [56 x %struct.ImVec4], float, float, float, i32, i32 }
%struct.ImDrawListSharedData = type <{ %struct.ImVec2, ptr, ptr, float, float, float, float, %struct.ImVec4, i32, [4 x i8], %struct.ImVector.0, [48 x %struct.ImVec2], float, [64 x i8], [4 x i8] }>
%struct.ImVector.0 = type { i32, i32, ptr }
%struct.ImVector.1 = type { i32, i32, ptr }
%struct.ImVector.2 = type { i32, i32, ptr }
%struct.ImVector.3 = type { i32, i32, ptr }
%struct.ImGuiStorage = type { %struct.ImVector.4 }
%struct.ImVector.4 = type { i32, i32, ptr }
%struct.ImGuiDeactivatedItemData = type { i32, i32, i8, i8 }
%struct.ImBitArray = type { [5 x i32] }
%struct.ImGuiKeyOwnerData = type <{ i32, i32, i8, i8, [2 x i8] }>
%struct.ImGuiKeyRoutingTable = type { [154 x i16], %struct.ImVector.5, %struct.ImVector.5 }
%struct.ImVector.5 = type { i32, i32, ptr }
%struct.ImGuiNextItemData = type <{ i32, i32, i32, [4 x i8], i64, float, i32, i32, i8, i8, %struct.ImGuiDataTypeStorage, [2 x i8], i32, [4 x i8] }>
%struct.ImGuiLastItemData = type { i32, i32, i32, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImRect, i32 }
%struct.ImGuiNextWindowData = type { i32, i32, i32, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, i32, i8, %struct.ImRect, ptr, ptr, float, %struct.ImVec2, i32 }
%struct.ImVector.6 = type { i32, i32, ptr }
%struct.ImVector.7 = type { i32, i32, ptr }
%struct.ImVector.8 = type { i32, i32, ptr }
%struct.ImVector.10 = type { i32, i32, ptr }
%struct.ImVector.11 = type { i32, i32, ptr }
%struct.ImVector.12 = type { i32, i32, ptr }
%struct.ImVector.13 = type { i32, i32, ptr }
%struct.ImVector.14 = type { i32, i32, ptr }
%struct.ImVector.9 = type { i32, i32, ptr }
%struct.ImGuiNavItemData = type { ptr, i32, i32, %struct.ImRect, i32, float, float, float, i64 }
%struct.ImGuiPayload = type <{ ptr, i32, i32, i32, i32, [33 x i8], i8, i8, [5 x i8] }>
%struct.ImVector.15 = type { i32, i32, ptr }
%struct.ImVector.16 = type { i32, i32, ptr }
%struct.ImVector.17 = type { i32, i32, ptr }
%struct.ImPool = type { %struct.ImVector.18, %struct.ImGuiStorage, i32, i32 }
%struct.ImVector.18 = type { i32, i32, ptr }
%struct.ImVector.19 = type { i32, i32, ptr }
%struct.ImVector.20 = type { i32, i32, ptr }
%struct.ImPool.21 = type { %struct.ImVector.22, %struct.ImGuiStorage, i32, i32 }
%struct.ImVector.22 = type { i32, i32, ptr }
%struct.ImVector.23 = type { i32, i32, ptr }
%struct.ImVector.24 = type { i32, i32, ptr }
%struct.ImGuiBoxSelectState = type <{ i32, i8, i8, i8, i8, i8, i16, i8, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, [4 x i8], ptr, i8, [3 x i8], %struct.ImRect, %struct.ImRect, %struct.ImRect, [4 x i8] }>
%struct.ImVector.25 = type { i32, i32, ptr }
%struct.ImPool.26 = type { %struct.ImVector.27, %struct.ImGuiStorage, i32, i32 }
%struct.ImVector.27 = type { i32, i32, ptr }
%struct.ImGuiInputTextState = type <{ ptr, ptr, i32, i32, i32, [4 x i8], ptr, %struct.ImVector.28, %struct.ImVector.28, %struct.ImVector.28, i32, %struct.ImVec2, float, i8, i8, i8, i8, i32, i32, [4 x i8] }>
%struct.ImGuiInputTextDeactivatedState = type { i32, %struct.ImVector.28 }
%struct.ImFont = type <{ %struct.ImVector.19, float, float, %struct.ImVector, %struct.ImVector.29, 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.29 = type { i32, i32, ptr }
%struct.ImGuiDataTypeStorage = type { [8 x i8] }
%struct.ImGuiComboPreviewData = type { %struct.ImRect, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, i32 }
%struct.ImRect = type { %struct.ImVec2, %struct.ImVec2 }
%struct.ImVector.30 = 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.ImVector.31 = type { i32, i32, ptr }
%struct.ImChunkStream = type { %struct.ImVector.28 }
%struct.ImChunkStream.32 = type { %struct.ImVector.28 }
%struct.ImVector.33 = type { i32, i32, ptr }
%struct.ImGuiErrorRecoveryState = type { i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16 }
%struct.ImGuiTextBuffer = type { %struct.ImVector.28 }
%struct.ImGuiTextIndex = type <{ %struct.ImVector.10, i32, [4 x i8] }>
%struct.ImGuiMetricsConfig = type { i8, i8, i8, i8, i8, i8, i8, i8, i8, i32, i32, 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.28 = type { i32, i32, ptr }
%struct.ImDrawList = type { %struct.ImVector.38, %struct.ImVector, %struct.ImVector.39, i32, i32, ptr, ptr, ptr, %struct.ImVector.0, %struct.ImDrawCmdHeader, %struct.ImDrawListSplitter, %struct.ImVector.40, %struct.ImVector.41, %struct.ImVector.15, float, ptr }
%struct.ImVector.38 = type { i32, i32, ptr }
%struct.ImVector.39 = type { i32, i32, ptr }
%struct.ImDrawCmdHeader = type <{ %struct.ImVec4, i64, i32, [4 x i8] }>
%struct.ImDrawListSplitter = type { i32, i32, %struct.ImVector.20 }
%struct.ImVector.40 = type { i32, i32, ptr }
%struct.ImVector.41 = type { i32, i32, ptr }
%struct.ImDrawCmd = type { %struct.ImVec4, i64, i32, i32, i32, ptr, ptr, i32, i32 }
%struct.ImGuiWindow = type <{ ptr, ptr, i32, i32, i32, [4 x i8], ptr, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, float, 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, i8, i8, i8, [3 x i8], i32, i8, i8, i8, i8, i32, %struct.ImVec2, %struct.ImVec2, [4 x i8], %struct.ImVector.30, %struct.ImGuiWindowTempData, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImVec2ih, %struct.ImVec2ih, i32, float, float, [4 x i8], %struct.ImGuiStorage, %struct.ImVector.37, 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, [3 x i8] }>
%struct.ImGuiWindowTempData = type { %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, float, i8, i8, %struct.ImVec1, %struct.ImVec1, %struct.ImVec1, %struct.ImVec2, i32, i16, i16, i8, i8, i8, i8, %struct.ImVec2, %struct.ImGuiMenuColumns, i32, i32, %struct.ImVector.2, ptr, ptr, i32, i32, i32, i32, float, float, %struct.ImVector.19, %struct.ImVector.19 }
%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.ImDrawVert = type { %struct.ImVec2, %struct.ImVec2, i32 }

@GImGui = external dso_local global ptr, align 8
@.str.14 = external hidden unnamed_addr constant [1 x i8], align 1
@.str.107 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.575 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.576 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.577 = external hidden unnamed_addr constant [73 x i8], align 1
@.str.578 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.579 = external hidden unnamed_addr constant [63 x i8], align 1
@.str.580 = external hidden unnamed_addr constant [68 x i8], align 1
@.str.581 = external hidden unnamed_addr constant [54 x i8], align 1
@.str.582 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.583 = 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(48), i32 noundef, float noundef) #4 align 2

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

declare void @_ZN10ImDrawList7AddRectERK6ImVec2S2_jfif(ptr noundef nonnull align 8 dereferenceable(216), 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 zeroext i1 @_ZN5ImGui13IsItemHoveredEi(i32 noundef) #4

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

declare void @_ZN5ImGui7TreePopEv() #5

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef ptr @_ZN5ImGui21GetForegroundDrawListEP11ImGuiWindow(ptr noundef) #6

declare void @_ZN5ImGui10BulletTextEPKcz(ptr noundef, ...) #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

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

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

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

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

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

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

77:                                               ; preds = %66
  br label %78

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

94:                                               ; preds = %78
  call void @_ZN5ImGui8SameLineEff(float noundef 0.000000e+00, float noundef -1.000000e+00)
  call void @llvm.lifetime.start.p0(i64 16, ptr %13) #9
  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.576)
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #9
  %95 = load i8, ptr %12, align 1, !tbaa !32, !range !34, !noundef !35
  %96 = trunc i8 %95 to i1
  br i1 %96, label %97, label %98

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

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

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

104:                                              ; preds = %99
  %105 = call noundef zeroext i1 @_ZN5ImGui13IsItemHoveredEi(i32 noundef 0)
  br i1 %105, label %106, label %118

106:                                              ; preds = %104
  %107 = load ptr, ptr %15, align 8, !tbaa !5
  %108 = icmp ne ptr %107, null
  br i1 %108, label %109, label %118

109:                                              ; preds = %106
  %110 = load ptr, ptr %15, align 8, !tbaa !5
  %111 = load ptr, ptr %5, align 8, !tbaa !5
  %112 = getelementptr inbounds %struct.ImGuiWindow, ptr %111, i32 0, i32 7
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #9
  %113 = load ptr, ptr %5, align 8, !tbaa !5
  %114 = getelementptr inbounds %struct.ImGuiWindow, ptr %113, i32 0, i32 7
  %115 = load ptr, ptr %5, align 8, !tbaa !5
  %116 = getelementptr inbounds %struct.ImGuiWindow, ptr %115, i32 0, i32 8
  %117 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %114, ptr noundef nonnull align 4 dereferenceable(8) %116)
  store <2 x float> %117, ptr %16, align 4
  call void @_ZN10ImDrawList7AddRectERK6ImVec2S2_jfif(ptr noundef nonnull align 8 dereferenceable(216) %110, ptr noundef nonnull align 4 dereferenceable(8) %112, 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) #9
  br label %118

118:                                              ; preds = %109, %106, %104, %99
  %119 = load i8, ptr %12, align 1, !tbaa !32, !range !34, !noundef !35
  %120 = trunc i8 %119 to i1
  br i1 %120, label %122, label %121

121:                                              ; preds = %118
  store i32 1, ptr %14, align 4
  br label %505

122:                                              ; preds = %118
  %123 = load ptr, ptr %5, align 8, !tbaa !5
  %124 = icmp ne ptr %123, null
  br i1 %124, label %125, label %131

125:                                              ; preds = %122
  %126 = load ptr, ptr %5, align 8, !tbaa !5
  %127 = getelementptr inbounds %struct.ImGuiWindow, ptr %126, i32 0, i32 37
  %128 = load i8, ptr %127, align 1, !tbaa !36, !range !34, !noundef !35
  %129 = trunc i8 %128 to i1
  br i1 %129, label %131, label %130

130:                                              ; preds = %125
  call void (ptr, ...) @_ZN5ImGui12TextDisabledEPKcz(ptr noundef @.str.577)
  br label %131

131:                                              ; preds = %130, %125, %122
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #9
  %132 = load ptr, ptr %7, align 8, !tbaa !5
  %133 = getelementptr inbounds %struct.ImDrawList, ptr %132, i32 0, i32 0
  %134 = getelementptr inbounds %struct.ImVector.38, ptr %133, i32 0, i32 2
  %135 = load ptr, ptr %134, align 8, !tbaa !53
  store ptr %135, ptr %17, align 8, !tbaa !5
  br label %136

136:                                              ; preds = %500, %131
  %137 = load ptr, ptr %17, align 8, !tbaa !5
  %138 = load ptr, ptr %7, align 8, !tbaa !5
  %139 = getelementptr inbounds %struct.ImDrawList, ptr %138, i32 0, i32 0
  %140 = getelementptr inbounds %struct.ImVector.38, ptr %139, i32 0, i32 2
  %141 = load ptr, ptr %140, align 8, !tbaa !53
  %142 = load i32, ptr %11, align 4, !tbaa !25
  %143 = sext i32 %142 to i64
  %144 = getelementptr inbounds %struct.ImDrawCmd, ptr %141, i64 %143
  %145 = icmp ult ptr %137, %144
  br i1 %145, label %147, label %146

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

147:                                              ; preds = %136
  %148 = load ptr, ptr %17, align 8, !tbaa !5
  %149 = getelementptr inbounds %struct.ImDrawCmd, ptr %148, i32 0, i32 5
  %150 = load ptr, ptr %149, align 8, !tbaa !28
  %151 = icmp ne ptr %150, null
  br i1 %151, label %152, label %159

152:                                              ; preds = %147
  %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 !28
  %156 = load ptr, ptr %17, align 8, !tbaa !5
  %157 = getelementptr inbounds %struct.ImDrawCmd, ptr %156, i32 0, i32 6
  %158 = load ptr, ptr %157, align 8, !tbaa !54
  call void (ptr, ...) @_ZN5ImGui10BulletTextEPKcz(ptr noundef @.str.578, ptr noundef %155, ptr noundef %158)
  br label %500

159:                                              ; preds = %147
  call void @llvm.lifetime.start.p0(i64 20, ptr %18) #9
  %160 = getelementptr inbounds [20 x i8], ptr %18, i64 0, i64 0
  %161 = load ptr, ptr %17, align 8, !tbaa !5
  %162 = getelementptr inbounds %struct.ImDrawCmd, ptr %161, i32 0, i32 1
  %163 = load i64, ptr %162, align 8, !tbaa !55
  %164 = call noundef ptr @_ZL30FormatTextureIDForDebugDisplayPciy(ptr noundef %160, i32 noundef 20, i64 noundef %163)
  call void @llvm.lifetime.start.p0(i64 300, ptr %19) #9
  %165 = getelementptr inbounds [300 x i8], ptr %19, 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 !26
  %169 = udiv i32 %168, 3
  %170 = getelementptr inbounds [20 x i8], ptr %18, i64 0, i64 0
  %171 = load ptr, ptr %17, align 8, !tbaa !5
  %172 = getelementptr inbounds %struct.ImDrawCmd, ptr %171, i32 0, i32 0
  %173 = getelementptr inbounds %struct.ImVec4, ptr %172, i32 0, i32 0
  %174 = load float, ptr %173, align 8, !tbaa !56
  %175 = fpext float %174 to double
  %176 = load ptr, ptr %17, align 8, !tbaa !5
  %177 = getelementptr inbounds %struct.ImDrawCmd, ptr %176, i32 0, i32 0
  %178 = getelementptr inbounds %struct.ImVec4, ptr %177, i32 0, i32 1
  %179 = load float, ptr %178, align 4, !tbaa !57
  %180 = fpext float %179 to double
  %181 = load ptr, ptr %17, align 8, !tbaa !5
  %182 = getelementptr inbounds %struct.ImDrawCmd, ptr %181, i32 0, i32 0
  %183 = getelementptr inbounds %struct.ImVec4, ptr %182, i32 0, i32 2
  %184 = load float, ptr %183, align 8, !tbaa !58
  %185 = fpext float %184 to double
  %186 = load ptr, ptr %17, align 8, !tbaa !5
  %187 = getelementptr inbounds %struct.ImDrawCmd, ptr %186, i32 0, i32 0
  %188 = getelementptr inbounds %struct.ImVec4, ptr %187, i32 0, i32 3
  %189 = load float, ptr %188, align 4, !tbaa !59
  %190 = fpext float %189 to double
  %191 = call noundef i32 (ptr, i64, ptr, ...) @_Z14ImFormatStringPcmPKcz(ptr noundef %165, i64 noundef 300, ptr noundef @.str.579, i32 noundef %169, ptr noundef %170, double noundef %175, double noundef %180, double noundef %185, double noundef %190)
  call void @llvm.lifetime.start.p0(i64 1, ptr %20) #9
  %192 = load ptr, ptr %17, align 8, !tbaa !5
  %193 = load ptr, ptr %7, align 8, !tbaa !5
  %194 = getelementptr inbounds %struct.ImDrawList, ptr %193, i32 0, i32 0
  %195 = call noundef ptr @_ZNK8ImVectorI9ImDrawCmdE5beginEv(ptr noundef nonnull align 8 dereferenceable(16) %194)
  %196 = ptrtoint ptr %192 to i64
  %197 = ptrtoint ptr %195 to i64
  %198 = sub i64 %196, %197
  %199 = sdiv exact i64 %198, 64
  %200 = inttoptr i64 %199 to ptr
  %201 = getelementptr inbounds [300 x i8], ptr %19, i64 0, i64 0
  %202 = call noundef zeroext i1 (ptr, ptr, ...) @_ZN5ImGui8TreeNodeEPKvPKcz(ptr noundef %200, ptr noundef @.str.107, ptr noundef %201)
  %203 = zext i1 %202 to i8
  store i8 %203, ptr %20, align 1, !tbaa !32
  %204 = call noundef zeroext i1 @_ZN5ImGui13IsItemHoveredEi(i32 noundef 0)
  br i1 %204, label %205, label %230

205:                                              ; preds = %159
  %206 = load ptr, ptr %10, align 8, !tbaa !5
  %207 = getelementptr inbounds %struct.ImGuiMetricsConfig, ptr %206, i32 0, i32 5
  %208 = load i8, ptr %207, align 1, !tbaa !60, !range !34, !noundef !35
  %209 = trunc i8 %208 to i1
  br i1 %209, label %215, label %210

210:                                              ; preds = %205
  %211 = load ptr, ptr %10, align 8, !tbaa !5
  %212 = getelementptr inbounds %struct.ImGuiMetricsConfig, ptr %211, i32 0, i32 6
  %213 = load i8, ptr %212, align 2, !tbaa !62, !range !34, !noundef !35
  %214 = trunc i8 %213 to i1
  br i1 %214, label %215, label %230

215:                                              ; preds = %210, %205
  %216 = load ptr, ptr %15, align 8, !tbaa !5
  %217 = icmp ne ptr %216, null
  br i1 %217, label %218, label %230

218:                                              ; preds = %215
  %219 = load ptr, ptr %15, align 8, !tbaa !5
  %220 = load ptr, ptr %7, align 8, !tbaa !5
  %221 = load ptr, ptr %17, align 8, !tbaa !5
  %222 = load ptr, ptr %10, align 8, !tbaa !5
  %223 = getelementptr inbounds %struct.ImGuiMetricsConfig, ptr %222, i32 0, i32 5
  %224 = load i8, ptr %223, align 1, !tbaa !60, !range !34, !noundef !35
  %225 = trunc i8 %224 to i1
  %226 = load ptr, ptr %10, align 8, !tbaa !5
  %227 = getelementptr inbounds %struct.ImGuiMetricsConfig, ptr %226, i32 0, i32 6
  %228 = load i8, ptr %227, align 2, !tbaa !62, !range !34, !noundef !35
  %229 = trunc i8 %228 to i1
  call void @_ZN5ImGui38DebugNodeDrawCmdShowMeshAndBoundingBoxEP10ImDrawListPKS0_PK9ImDrawCmdbb(ptr noundef %219, ptr noundef %220, ptr noundef %221, i1 noundef zeroext %225, i1 noundef zeroext %229)
  br label %230

230:                                              ; preds = %218, %215, %210, %159
  %231 = load i8, ptr %20, align 1, !tbaa !32, !range !34, !noundef !35
  %232 = trunc i8 %231 to i1
  br i1 %232, label %234, label %233

233:                                              ; preds = %230
  store i32 4, ptr %14, align 4
  br label %497

234:                                              ; preds = %230
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #9
  %235 = load ptr, ptr %7, align 8, !tbaa !5
  %236 = getelementptr inbounds %struct.ImDrawList, ptr %235, i32 0, i32 1
  %237 = getelementptr inbounds %struct.ImVector, ptr %236, i32 0, i32 0
  %238 = load i32, ptr %237, align 8, !tbaa !31
  %239 = icmp sgt i32 %238, 0
  br i1 %239, label %240, label %245

240:                                              ; preds = %234
  %241 = load ptr, ptr %7, align 8, !tbaa !5
  %242 = getelementptr inbounds %struct.ImDrawList, ptr %241, i32 0, i32 1
  %243 = getelementptr inbounds %struct.ImVector, ptr %242, i32 0, i32 2
  %244 = load ptr, ptr %243, align 8, !tbaa !63
  br label %246

245:                                              ; preds = %234
  br label %246

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

260:                                              ; preds = %309, %246
  %261 = load i32, ptr %24, align 4, !tbaa !25
  %262 = load ptr, ptr %17, align 8, !tbaa !5
  %263 = getelementptr inbounds %struct.ImDrawCmd, ptr %262, i32 0, i32 3
  %264 = load i32, ptr %263, align 4, !tbaa !67
  %265 = load ptr, ptr %17, align 8, !tbaa !5
  %266 = getelementptr inbounds %struct.ImDrawCmd, ptr %265, i32 0, i32 4
  %267 = load i32, ptr %266, align 8, !tbaa !26
  %268 = add i32 %264, %267
  %269 = icmp ult i32 %261, %268
  br i1 %269, label %271, label %270

270:                                              ; preds = %260
  store i32 5, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #9
  br label %316

271:                                              ; preds = %260
  call void @llvm.lifetime.start.p0(i64 24, ptr %25) #9
  %272 = getelementptr inbounds [3 x %struct.ImVec2], ptr %25, i32 0, i32 0
  %273 = getelementptr inbounds %struct.ImVec2, ptr %272, i64 3
  br label %274

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

278:                                              ; preds = %274
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #9
  store i32 0, ptr %26, align 4, !tbaa !25
  br label %279

279:                                              ; preds = %304, %278
  %280 = load i32, ptr %26, align 4, !tbaa !25
  %281 = icmp slt i32 %280, 3
  br i1 %281, label %283, label %282

282:                                              ; preds = %279
  store i32 7, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #9
  br label %309

283:                                              ; preds = %279
  %284 = load ptr, ptr %22, align 8, !tbaa !5
  %285 = load ptr, ptr %21, align 8, !tbaa !5
  %286 = icmp ne ptr %285, null
  br i1 %286, label %287, label %294

287:                                              ; preds = %283
  %288 = load ptr, ptr %21, align 8, !tbaa !5
  %289 = load i32, ptr %24, align 4, !tbaa !25
  %290 = zext i32 %289 to i64
  %291 = getelementptr inbounds i16, ptr %288, i64 %290
  %292 = load i16, ptr %291, align 2, !tbaa !68
  %293 = zext i16 %292 to i32
  br label %296

294:                                              ; preds = %283
  %295 = load i32, ptr %24, align 4, !tbaa !25
  br label %296

296:                                              ; preds = %294, %287
  %297 = phi i32 [ %293, %287 ], [ %295, %294 ]
  %298 = zext i32 %297 to i64
  %299 = getelementptr inbounds %struct.ImDrawVert, ptr %284, i64 %298
  %300 = getelementptr inbounds %struct.ImDrawVert, ptr %299, i32 0, i32 0
  %301 = load i32, ptr %26, align 4, !tbaa !25
  %302 = sext i32 %301 to i64
  %303 = getelementptr inbounds [3 x %struct.ImVec2], ptr %25, i64 0, i64 %302
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %303, ptr align 4 %300, i64 8, i1 false), !tbaa.struct !69
  br label %304

304:                                              ; preds = %296
  %305 = load i32, ptr %26, align 4, !tbaa !25
  %306 = add nsw i32 %305, 1
  store i32 %306, ptr %26, align 4, !tbaa !25
  %307 = load i32, ptr %24, align 4, !tbaa !25
  %308 = add i32 %307, 1
  store i32 %308, ptr %24, align 4, !tbaa !25
  br label %279, !llvm.loop !70

309:                                              ; preds = %282
  %310 = getelementptr inbounds [3 x %struct.ImVec2], ptr %25, i64 0, i64 0
  %311 = getelementptr inbounds [3 x %struct.ImVec2], ptr %25, i64 0, i64 1
  %312 = getelementptr inbounds [3 x %struct.ImVec2], ptr %25, i64 0, i64 2
  %313 = call noundef float @_Z14ImTriangleAreaRK6ImVec2S1_S1_(ptr noundef nonnull align 4 dereferenceable(8) %310, ptr noundef nonnull align 4 dereferenceable(8) %311, ptr noundef nonnull align 4 dereferenceable(8) %312)
  %314 = load float, ptr %23, align 4, !tbaa !66
  %315 = fadd float %314, %313
  store float %315, ptr %23, align 4, !tbaa !66
  call void @llvm.lifetime.end.p0(i64 24, ptr %25) #9
  br label %260, !llvm.loop !72

316:                                              ; preds = %270
  %317 = getelementptr inbounds [300 x i8], ptr %19, i64 0, i64 0
  %318 = load ptr, ptr %17, align 8, !tbaa !5
  %319 = getelementptr inbounds %struct.ImDrawCmd, ptr %318, i32 0, i32 4
  %320 = load i32, ptr %319, align 8, !tbaa !26
  %321 = load ptr, ptr %17, align 8, !tbaa !5
  %322 = getelementptr inbounds %struct.ImDrawCmd, ptr %321, i32 0, i32 2
  %323 = load i32, ptr %322, align 8, !tbaa !65
  %324 = load ptr, ptr %17, align 8, !tbaa !5
  %325 = getelementptr inbounds %struct.ImDrawCmd, ptr %324, i32 0, i32 3
  %326 = load i32, ptr %325, align 4, !tbaa !67
  %327 = load float, ptr %23, align 4, !tbaa !66
  %328 = fpext float %327 to double
  %329 = call noundef i32 (ptr, i64, ptr, ...) @_Z14ImFormatStringPcmPKcz(ptr noundef %317, i64 noundef 300, ptr noundef @.str.580, i32 noundef %320, i32 noundef %323, i32 noundef %326, double noundef %328)
  %330 = getelementptr inbounds [300 x i8], ptr %19, i64 0, i64 0
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #9
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %27, float noundef 0.000000e+00, float noundef 0.000000e+00)
  %331 = call noundef zeroext i1 @_ZN5ImGui10SelectableEPKcbiRK6ImVec2(ptr noundef %330, i1 noundef zeroext false, i32 noundef 0, ptr noundef nonnull align 4 dereferenceable(8) %27)
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #9
  %332 = call noundef zeroext i1 @_ZN5ImGui13IsItemHoveredEi(i32 noundef 0)
  br i1 %332, label %333, label %340

333:                                              ; preds = %316
  %334 = load ptr, ptr %15, align 8, !tbaa !5
  %335 = icmp ne ptr %334, null
  br i1 %335, label %336, label %340

336:                                              ; preds = %333
  %337 = load ptr, ptr %15, align 8, !tbaa !5
  %338 = load ptr, ptr %7, align 8, !tbaa !5
  %339 = load ptr, ptr %17, align 8, !tbaa !5
  call void @_ZN5ImGui38DebugNodeDrawCmdShowMeshAndBoundingBoxEP10ImDrawListPKS0_PK9ImDrawCmdbb(ptr noundef %337, ptr noundef %338, ptr noundef %339, i1 noundef zeroext true, i1 noundef zeroext false)
  br label %340

340:                                              ; preds = %336, %333, %316
  call void @llvm.lifetime.start.p0(i64 48, ptr %28) #9
  call void @_ZN16ImGuiListClipperC1Ev(ptr noundef nonnull align 8 dereferenceable(48) %28)
  %341 = load ptr, ptr %17, align 8, !tbaa !5
  %342 = getelementptr inbounds %struct.ImDrawCmd, ptr %341, i32 0, i32 4
  %343 = load i32, ptr %342, align 8, !tbaa !26
  %344 = udiv i32 %343, 3
  invoke void @_ZN16ImGuiListClipper5BeginEif(ptr noundef nonnull align 8 dereferenceable(48) %28, i32 noundef %344, float noundef -1.000000e+00)
          to label %345 unwind label %365

345:                                              ; preds = %340
  br label %346

346:                                              ; preds = %494, %345
  %347 = invoke noundef zeroext i1 @_ZN16ImGuiListClipper4StepEv(ptr noundef nonnull align 8 dereferenceable(48) %28)
          to label %348 unwind label %365

348:                                              ; preds = %346
  br i1 %347, label %349, label %495

349:                                              ; preds = %348
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #9
  %350 = getelementptr inbounds %struct.ImGuiListClipper, ptr %28, i32 0, i32 1
  %351 = load i32, ptr %350, align 8, !tbaa !73
  store i32 %351, ptr %31, align 4, !tbaa !25
  call void @llvm.lifetime.start.p0(i64 4, ptr %32) #9
  %352 = load ptr, ptr %17, align 8, !tbaa !5
  %353 = getelementptr inbounds %struct.ImDrawCmd, ptr %352, i32 0, i32 3
  %354 = load i32, ptr %353, align 4, !tbaa !67
  %355 = getelementptr inbounds %struct.ImGuiListClipper, ptr %28, i32 0, i32 1
  %356 = load i32, ptr %355, align 8, !tbaa !73
  %357 = mul nsw i32 %356, 3
  %358 = add i32 %354, %357
  store i32 %358, ptr %32, align 4, !tbaa !25
  br label %359

359:                                              ; preds = %490, %349
  %360 = load i32, ptr %31, align 4, !tbaa !25
  %361 = getelementptr inbounds %struct.ImGuiListClipper, ptr %28, i32 0, i32 2
  %362 = load i32, ptr %361, align 4, !tbaa !76
  %363 = icmp slt i32 %360, %362
  br i1 %363, label %369, label %364

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

365:                                              ; preds = %495, %346, %340
  %366 = landingpad { ptr, i32 }
          cleanup
  %367 = extractvalue { ptr, i32 } %366, 0
  store ptr %367, ptr %29, align 8
  %368 = extractvalue { ptr, i32 } %366, 1
  store i32 %368, ptr %30, align 4
  br label %503

369:                                              ; preds = %359
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #9
  %370 = getelementptr inbounds [300 x i8], ptr %19, i64 0, i64 0
  store ptr %370, ptr %33, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #9
  %371 = getelementptr inbounds [300 x i8], ptr %19, i64 0, i64 0
  %372 = getelementptr inbounds i8, ptr %371, i64 300
  store ptr %372, ptr %34, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr %35) #9
  %373 = getelementptr inbounds [3 x %struct.ImVec2], ptr %35, i32 0, i32 0
  %374 = getelementptr inbounds %struct.ImVec2, ptr %373, i64 3
  br label %375

375:                                              ; preds = %377, %369
  %376 = phi ptr [ %373, %369 ], [ %378, %377 ]
  invoke void @_ZN6ImVec2C2Ev(ptr noundef nonnull align 4 dereferenceable(8) %376)
          to label %377 unwind label %385

377:                                              ; preds = %375
  %378 = getelementptr inbounds %struct.ImVec2, ptr %376, i64 1
  %379 = icmp eq ptr %378, %374
  br i1 %379, label %380, label %375

380:                                              ; preds = %377
  call void @llvm.lifetime.start.p0(i64 4, ptr %36) #9
  store i32 0, ptr %36, align 4, !tbaa !25
  br label %381

381:                                              ; preds = %452, %380
  %382 = load i32, ptr %36, align 4, !tbaa !25
  %383 = icmp slt i32 %382, 3
  br i1 %383, label %389, label %384

384:                                              ; preds = %381
  store i32 15, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #9
  br label %457

385:                                              ; preds = %464, %375
  %386 = landingpad { ptr, i32 }
          cleanup
  %387 = extractvalue { ptr, i32 } %386, 0
  store ptr %387, ptr %29, align 8
  %388 = extractvalue { ptr, i32 } %386, 1
  store i32 %388, ptr %30, align 4
  br label %493

389:                                              ; preds = %381
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #9
  %390 = load ptr, ptr %22, align 8, !tbaa !5
  %391 = load ptr, ptr %21, align 8, !tbaa !5
  %392 = icmp ne ptr %391, null
  br i1 %392, label %393, label %400

393:                                              ; preds = %389
  %394 = load ptr, ptr %21, align 8, !tbaa !5
  %395 = load i32, ptr %32, align 4, !tbaa !25
  %396 = sext i32 %395 to i64
  %397 = getelementptr inbounds i16, ptr %394, i64 %396
  %398 = load i16, ptr %397, align 2, !tbaa !68
  %399 = zext i16 %398 to i32
  br label %402

400:                                              ; preds = %389
  %401 = load i32, ptr %32, align 4, !tbaa !25
  br label %402

402:                                              ; preds = %400, %393
  %403 = phi i32 [ %399, %393 ], [ %401, %400 ]
  %404 = sext i32 %403 to i64
  %405 = getelementptr inbounds %struct.ImDrawVert, ptr %390, i64 %404
  store ptr %405, ptr %37, align 8, !tbaa !5
  %406 = load ptr, ptr %37, align 8, !tbaa !5
  %407 = getelementptr inbounds %struct.ImDrawVert, ptr %406, i32 0, i32 0
  %408 = load i32, ptr %36, align 4, !tbaa !25
  %409 = sext i32 %408 to i64
  %410 = getelementptr inbounds [3 x %struct.ImVec2], ptr %35, i64 0, i64 %409
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %410, ptr align 4 %407, i64 8, i1 false), !tbaa.struct !69
  %411 = load ptr, ptr %33, align 8, !tbaa !5
  %412 = load ptr, ptr %34, align 8, !tbaa !5
  %413 = load ptr, ptr %33, align 8, !tbaa !5
  %414 = ptrtoint ptr %412 to i64
  %415 = ptrtoint ptr %413 to i64
  %416 = sub i64 %414, %415
  %417 = load i32, ptr %36, align 4, !tbaa !25
  %418 = icmp eq i32 %417, 0
  br i1 %418, label %419, label %420

419:                                              ; preds = %402
  br label %421

420:                                              ; preds = %402
  br label %421

421:                                              ; preds = %420, %419
  %422 = phi ptr [ @.str.582, %419 ], [ @.str.583, %420 ]
  %423 = getelementptr inbounds [6 x i8], ptr %422, i64 0, i64 0
  %424 = load i32, ptr %32, align 4, !tbaa !25
  %425 = load ptr, ptr %37, align 8, !tbaa !5
  %426 = getelementptr inbounds %struct.ImDrawVert, ptr %425, i32 0, i32 0
  %427 = getelementptr inbounds %struct.ImVec2, ptr %426, i32 0, i32 0
  %428 = load float, ptr %427, align 4, !tbaa !77
  %429 = fpext float %428 to double
  %430 = load ptr, ptr %37, align 8, !tbaa !5
  %431 = getelementptr inbounds %struct.ImDrawVert, ptr %430, i32 0, i32 0
  %432 = getelementptr inbounds %struct.ImVec2, ptr %431, i32 0, i32 1
  %433 = load float, ptr %432, align 4, !tbaa !79
  %434 = fpext float %433 to double
  %435 = load ptr, ptr %37, align 8, !tbaa !5
  %436 = getelementptr inbounds %struct.ImDrawVert, ptr %435, i32 0, i32 1
  %437 = getelementptr inbounds %struct.ImVec2, ptr %436, i32 0, i32 0
  %438 = load float, ptr %437, align 4, !tbaa !80
  %439 = fpext float %438 to double
  %440 = load ptr, ptr %37, align 8, !tbaa !5
  %441 = getelementptr inbounds %struct.ImDrawVert, ptr %440, i32 0, i32 1
  %442 = getelementptr inbounds %struct.ImVec2, ptr %441, i32 0, i32 1
  %443 = load float, ptr %442, align 4, !tbaa !81
  %444 = fpext float %443 to double
  %445 = load ptr, ptr %37, align 8, !tbaa !5
  %446 = getelementptr inbounds %struct.ImDrawVert, ptr %445, i32 0, i32 2
  %447 = load i32, ptr %446, align 4, !tbaa !82
  %448 = call noundef i32 (ptr, i64, ptr, ...) @_Z14ImFormatStringPcmPKcz(ptr noundef %411, i64 noundef %416, ptr noundef @.str.581, ptr noundef %423, i32 noundef %424, double noundef %429, double noundef %434, double noundef %439, double noundef %444, i32 noundef %447)
  %449 = load ptr, ptr %33, align 8, !tbaa !5
  %450 = sext i32 %448 to i64
  %451 = getelementptr inbounds i8, ptr %449, i64 %450
  store ptr %451, ptr %33, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #9
  br label %452

452:                                              ; preds = %421
  %453 = load i32, ptr %36, align 4, !tbaa !25
  %454 = add nsw i32 %453, 1
  store i32 %454, ptr %36, align 4, !tbaa !25
  %455 = load i32, ptr %32, align 4, !tbaa !25
  %456 = add nsw i32 %455, 1
  store i32 %456, ptr %32, align 4, !tbaa !25
  br label %381, !llvm.loop !83

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

459:                                              ; preds = %457
  %460 = invoke noundef zeroext i1 @_ZN5ImGui10SelectableEPKcbiRK6ImVec2(ptr noundef %458, i1 noundef zeroext false, i32 noundef 0, ptr noundef nonnull align 4 dereferenceable(8) %38)
          to label %461 unwind label %481

461:                                              ; preds = %459
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #9
  %462 = load ptr, ptr %15, align 8, !tbaa !5
  %463 = icmp ne ptr %462, null
  br i1 %463, label %464, label %489

464:                                              ; preds = %461
  %465 = invoke noundef zeroext i1 @_ZN5ImGui13IsItemHoveredEi(i32 noundef 0)
          to label %466 unwind label %385

466:                                              ; preds = %464
  br i1 %465, label %467, label %489

467:                                              ; preds = %466
  call void @llvm.lifetime.start.p0(i64 4, ptr %39) #9
  %468 = load ptr, ptr %15, align 8, !tbaa !5
  %469 = getelementptr inbounds %struct.ImDrawList, ptr %468, i32 0, i32 3
  %470 = load i32, ptr %469, align 8, !tbaa !84
  store i32 %470, ptr %39, align 4, !tbaa !25
  %471 = load ptr, ptr %15, align 8, !tbaa !5
  %472 = getelementptr inbounds %struct.ImDrawList, ptr %471, i32 0, i32 3
  %473 = load i32, ptr %472, align 8, !tbaa !84
  %474 = and i32 %473, -2
  store i32 %474, ptr %472, align 8, !tbaa !84
  %475 = load ptr, ptr %15, align 8, !tbaa !5
  %476 = getelementptr inbounds [3 x %struct.ImVec2], ptr %35, i64 0, i64 0
  invoke void @_ZN10ImDrawList11AddPolylineEPK6ImVec2ijif(ptr noundef nonnull align 8 dereferenceable(216) %475, ptr noundef %476, i32 noundef 3, i32 noundef -16711681, i32 noundef 1, float noundef 1.000000e+00)
          to label %477 unwind label %485

477:                                              ; preds = %467
  %478 = load i32, ptr %39, align 4, !tbaa !25
  %479 = load ptr, ptr %15, align 8, !tbaa !5
  %480 = getelementptr inbounds %struct.ImDrawList, ptr %479, i32 0, i32 3
  store i32 %478, ptr %480, align 8, !tbaa !84
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #9
  br label %489

481:                                              ; preds = %459, %457
  %482 = landingpad { ptr, i32 }
          cleanup
  %483 = extractvalue { ptr, i32 } %482, 0
  store ptr %483, ptr %29, align 8
  %484 = extractvalue { ptr, i32 } %482, 1
  store i32 %484, ptr %30, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #9
  br label %493

485:                                              ; preds = %467
  %486 = landingpad { ptr, i32 }
          cleanup
  %487 = extractvalue { ptr, i32 } %486, 0
  store ptr %487, ptr %29, align 8
  %488 = extractvalue { ptr, i32 } %486, 1
  store i32 %488, ptr %30, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #9
  br label %493

489:                                              ; preds = %477, %466, %461
  call void @llvm.lifetime.end.p0(i64 24, ptr %35) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #9
  br label %490

490:                                              ; preds = %489
  %491 = load i32, ptr %31, align 4, !tbaa !25
  %492 = add nsw i32 %491, 1
  store i32 %492, ptr %31, align 4, !tbaa !25
  br label %359, !llvm.loop !85

493:                                              ; preds = %485, %481, %385
  call void @llvm.lifetime.end.p0(i64 24, ptr %35) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #9
  br label %503

494:                                              ; preds = %364
  br label %346, !llvm.loop !86

495:                                              ; preds = %348
  invoke void @_ZN5ImGui7TreePopEv()
          to label %496 unwind label %365

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

497:                                              ; preds = %496, %233
  call void @llvm.lifetime.end.p0(i64 1, ptr %20) #9
  call void @llvm.lifetime.end.p0(i64 300, ptr %19) #9
  call void @llvm.lifetime.end.p0(i64 20, ptr %18) #9
  %498 = load i32, ptr %14, align 4
  switch i32 %498, label %514 [
    i32 0, label %499
    i32 4, label %500
  ]

499:                                              ; preds = %497
  br label %500

500:                                              ; preds = %499, %497, %152
  %501 = load ptr, ptr %17, align 8, !tbaa !5
  %502 = getelementptr inbounds %struct.ImDrawCmd, ptr %501, i32 1
  store ptr %502, ptr %17, align 8, !tbaa !5
  br label %136, !llvm.loop !87

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

504:                                              ; preds = %146
  call void @_ZN5ImGui7TreePopEv()
  store i32 0, ptr %14, align 4
  br label %505

505:                                              ; preds = %504, %121
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #9
  br label %506

506:                                              ; preds = %505, %98
  call void @llvm.lifetime.end.p0(i64 1, ptr %12) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #9
  %507 = load i32, ptr %14, align 4
  switch i32 %507, label %514 [
    i32 0, label %508
    i32 1, label %508
  ]

508:                                              ; preds = %506, %506
  ret void

509:                                              ; preds = %503
  %510 = load ptr, ptr %29, align 8
  %511 = load i32, ptr %30, align 4
  %512 = insertvalue { ptr, i32 } poison, ptr %510, 0
  %513 = insertvalue { ptr, i32 } %512, i32 %511, 1
  resume { ptr, i32 } %513

514:                                              ; preds = %506, %497
  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(64) ptr @_ZNK8ImVectorI9ImDrawCmdE4backEv(ptr noundef nonnull align 8 dereferenceable(16)) #8 align 2

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

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

; Function Attrs: mustprogress uwtable
declare hidden noundef ptr @_ZL30FormatTextureIDForDebugDisplayPciy(ptr noundef, i32 noundef, i64 noundef) #4

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

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

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

declare void @_ZN10ImDrawList11AddPolylineEPK6ImVec2ijif(ptr noundef nonnull align 8 dereferenceable(216), 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 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { 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 #8 = { 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 #9 = { 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, !15, i64 80, !16, i64 96, !20, i64 128, !22, i64 152, !23, i64 168, !24, i64 184, !18, i64 200, !6, i64 208}
!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 = !{!"_ZTS8ImVectorI6ImVec2E", !12, i64 0, !12, i64 4, !6, i64 8}
!16 = !{!"_ZTS15ImDrawCmdHeader", !17, i64 0, !19, i64 16, !12, i64 24}
!17 = !{!"_ZTS6ImVec4", !18, i64 0, !18, i64 4, !18, i64 8, !18, i64 12}
!18 = !{!"float", !7, i64 0}
!19 = !{!"long long", !7, i64 0}
!20 = !{!"_ZTS18ImDrawListSplitter", !12, i64 0, !12, i64 4, !21, i64 8}
!21 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !12, i64 0, !12, i64 4, !6, i64 8}
!22 = !{!"_ZTS8ImVectorI6ImVec4E", !12, i64 0, !12, i64 4, !6, i64 8}
!23 = !{!"_ZTS8ImVectorIyE", !12, i64 0, !12, i64 4, !6, i64 8}
!24 = !{!"_ZTS8ImVectorIhE", !12, i64 0, !12, i64 4, !6, i64 8}
!25 = !{!12, !12, i64 0}
!26 = !{!27, !12, i64 32}
!27 = !{!"_ZTS9ImDrawCmd", !17, i64 0, !19, i64 16, !12, i64 24, !12, i64 28, !12, i64 32, !6, i64 40, !6, i64 48, !12, i64 56, !12, i64 60}
!28 = !{!27, !6, i64 40}
!29 = !{!10, !6, i64 208}
!30 = !{!10, !12, i64 32}
!31 = !{!10, !12, i64 16}
!32 = !{!33, !33, i64 0}
!33 = !{!"bool", !7, i64 0}
!34 = !{i8 0, i8 2}
!35 = !{}
!36 = !{!37, !33, i64 203}
!37 = !{!"_ZTS11ImGuiWindow", !6, i64 0, !6, i64 8, !12, i64 16, !12, i64 20, !12, i64 24, !6, i64 32, !38, i64 40, !38, i64 48, !38, i64 56, !38, i64 64, !38, i64 72, !38, i64 80, !38, i64 88, !18, i64 96, !18, i64 100, !18, i64 104, !18, i64 108, !18, i64 112, !18, i64 116, !18, i64 120, !18, i64 124, !18, i64 128, !18, i64 132, !12, i64 136, !12, i64 140, !12, i64 144, !12, i64 148, !38, i64 152, !38, i64 160, !38, i64 168, !38, i64 176, !38, i64 184, !38, i64 192, !33, i64 200, !33, i64 201, !33, i64 202, !33, i64 203, !33, i64 204, !33, i64 205, !33, i64 206, !33, i64 207, !33, i64 208, !33, i64 209, !33, i64 210, !33, i64 211, !33, i64 212, !33, i64 213, !7, i64 214, !7, i64 215, !39, i64 216, !39, i64 218, !39, i64 220, !39, i64 222, !39, i64 224, !7, i64 226, !7, i64 227, !33, i64 228, !40, i64 232, !7, i64 236, !7, i64 237, !7, i64 238, !7, i64 239, !12, i64 240, !12, i64 241, !12, i64 242, !38, i64 244, !38, i64 252, !41, i64 264, !42, i64 280, !48, i64 512, !48, i64 528, !48, i64 544, !48, i64 560, !48, i64 576, !48, i64 592, !48, i64 608, !49, i64 624, !49, i64 628, !12, i64 632, !18, i64 636, !18, i64 640, !50, i64 648, !52, i64 664, !18, i64 680, !12, i64 684, !6, i64 688, !10, i64 696, !6, i64 912, !6, i64 920, !6, i64 928, !6, i64 936, !6, i64 944, !6, i64 952, !6, i64 960, !6, i64 968, !7, i64 976, !7, i64 984, !7, i64 1016, !12, i64 1032, !12, i64 1036, !12, i64 1040, !33, i64 1044}
!38 = !{!"_ZTS6ImVec2", !18, i64 0, !18, i64 4}
!39 = !{!"short", !7, i64 0}
!40 = !{!"_ZTS8ImGuiDir", !7, i64 0}
!41 = !{!"_ZTS8ImVectorIjE", !12, i64 0, !12, i64 4, !6, i64 8}
!42 = !{!"_ZTS19ImGuiWindowTempData", !38, i64 0, !38, i64 8, !38, i64 16, !38, i64 24, !38, i64 32, !38, i64 40, !38, i64 48, !18, i64 56, !18, i64 60, !33, i64 64, !33, i64 65, !43, i64 68, !43, i64 72, !43, i64 76, !38, i64 80, !44, i64 88, !39, i64 92, !39, i64 94, !33, i64 96, !33, i64 97, !33, i64 98, !33, i64 99, !38, i64 100, !45, i64 108, !12, i64 136, !12, i64 140, !46, i64 144, !6, i64 160, !6, i64 168, !12, i64 176, !12, i64 180, !12, i64 184, !12, i64 188, !18, i64 192, !18, i64 196, !47, i64 200, !47, i64 216}
!43 = !{!"_ZTS6ImVec1", !18, i64 0}
!44 = !{!"_ZTS13ImGuiNavLayer", !7, i64 0}
!45 = !{!"_ZTS16ImGuiMenuColumns", !12, i64 0, !12, i64 4, !39, i64 8, !39, i64 10, !39, i64 12, !39, i64 14, !39, i64 16, !7, i64 18}
!46 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !12, i64 0, !12, i64 4, !6, i64 8}
!47 = !{!"_ZTS8ImVectorIfE", !12, i64 0, !12, i64 4, !6, i64 8}
!48 = !{!"_ZTS6ImRect", !38, i64 0, !38, i64 8}
!49 = !{!"_ZTS8ImVec2ih", !39, i64 0, !39, i64 2}
!50 = !{!"_ZTS12ImGuiStorage", !51, i64 0}
!51 = !{!"_ZTS8ImVectorI16ImGuiStoragePairE", !12, i64 0, !12, i64 4, !6, i64 8}
!52 = !{!"_ZTS8ImVectorI15ImGuiOldColumnsE", !12, i64 0, !12, i64 4, !6, i64 8}
!53 = !{!10, !6, i64 8}
!54 = !{!27, !6, i64 48}
!55 = !{!27, !19, i64 16}
!56 = !{!27, !18, i64 0}
!57 = !{!27, !18, i64 4}
!58 = !{!27, !18, i64 8}
!59 = !{!27, !18, i64 12}
!60 = !{!61, !33, i64 5}
!61 = !{!"_ZTS18ImGuiMetricsConfig", !33, i64 0, !33, i64 1, !33, i64 2, !33, i64 3, !33, i64 4, !33, i64 5, !33, i64 6, !33, i64 7, !33, i64 8, !12, i64 12, !12, i64 16, !12, i64 20, !12, i64 24}
!62 = !{!61, !33, i64 6}
!63 = !{!10, !6, i64 24}
!64 = !{!10, !6, i64 40}
!65 = !{!27, !12, i64 24}
!66 = !{!18, !18, i64 0}
!67 = !{!27, !12, i64 28}
!68 = !{!39, !39, i64 0}
!69 = !{i64 0, i64 4, !66, i64 4, i64 4, !66}
!70 = distinct !{!70, !71}
!71 = !{!"llvm.loop.mustprogress"}
!72 = distinct !{!72, !71}
!73 = !{!74, !12, i64 8}
!74 = !{!"_ZTS16ImGuiListClipper", !6, i64 0, !12, i64 8, !12, i64 12, !12, i64 16, !18, i64 20, !18, i64 24, !75, i64 32, !6, i64 40}
!75 = !{!"double", !7, i64 0}
!76 = !{!74, !12, i64 12}
!77 = !{!78, !18, i64 0}
!78 = !{!"_ZTS10ImDrawVert", !38, i64 0, !38, i64 8, !12, i64 16}
!79 = !{!78, !18, i64 4}
!80 = !{!78, !18, i64 8}
!81 = !{!78, !18, i64 12}
!82 = !{!78, !12, i64 16}
!83 = distinct !{!83, !71}
!84 = !{!10, !12, i64 48}
!85 = distinct !{!85, !71}
!86 = distinct !{!86, !71}
!87 = distinct !{!87, !71}


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

@GImGui = external dso_local local_unnamed_addr global ptr, align 8
@.str.14 = external hidden unnamed_addr constant [1 x i8], align 1
@.str.107 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.575 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.576 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.577 = external hidden unnamed_addr constant [73 x i8], align 1
@.str.578 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.579 = external hidden unnamed_addr constant [63 x i8], align 1
@.str.580 = external hidden unnamed_addr constant [68 x i8], align 1
@.str.581 = external hidden unnamed_addr constant [54 x i8], align 1
@.str.582 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.583 = 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(48), 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(48)) local_unnamed_addr #3 align 2

declare void @_ZN10ImDrawList7AddRectERK6ImVec2S2_jfif(ptr noundef nonnull align 8 dereferenceable(216), 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 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: inlinehint mustprogress uwtable
declare dso_local noundef ptr @_ZN5ImGui21GetForegroundDrawListEP11ImGuiWindow(ptr noundef) local_unnamed_addr #5

declare void @_ZN5ImGui10BulletTextEPKcz(ptr noundef, ...) 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

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

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

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

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

38:                                               ; preds = %28
  tail call void @_ZN5ImGui8SameLineEff(float noundef 0.000000e+00, float noundef -1.000000e+00)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #8
  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.576)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #8
  br i1 %35, label %.sink.split, label %295

39:                                               ; preds = %28
  %40 = tail call noundef ptr @_ZN5ImGui21GetForegroundDrawListEP11ImGuiWindow(ptr noundef %0)
  %.not138 = icmp eq ptr %0, null
  br i1 %.not138, label %.thread, label %41

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

44:                                               ; preds = %41
  %45 = getelementptr inbounds i8, ptr %0, i64 40
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #8
  %46 = getelementptr inbounds i8, ptr %0, i64 48
  %47 = tail call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %45, ptr noundef nonnull align 4 dereferenceable(8) %46)
  store <2 x float> %47, ptr %6, align 8
  call void @_ZN10ImDrawList7AddRectERK6ImVec2S2_jfif(ptr noundef nonnull align 8 dereferenceable(216) %40, ptr noundef nonnull align 4 dereferenceable(8) %45, 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) #8
  br label %48

48:                                               ; preds = %44, %41
  br i1 %35, label %49, label %295

.thread:                                          ; preds = %39
  br i1 %35, label %.thread150, label %295

49:                                               ; preds = %48
  %50 = getelementptr inbounds i8, ptr %0, i64 203
  %51 = load i8, ptr %50, align 1, !tbaa !31, !range !49, !noundef !50
  %52 = trunc nuw i8 %51 to i1
  br i1 %52, label %.thread150, label %53

53:                                               ; preds = %49
  call void (ptr, ...) @_ZN5ImGui12TextDisabledEPKcz(ptr noundef nonnull @.str.577)
  br label %.thread150

.thread150:                                       ; preds = %.thread, %53, %49
  %54 = getelementptr inbounds i8, ptr %2, i64 8
  %55 = sext i32 %.0 to i64
  %56 = icmp sgt i32 %.0, 0
  br i1 %56, label %.lr.ph172, label %.sink.split

.lr.ph172:                                        ; preds = %.thread150
  %57 = load ptr, ptr %54, align 8, !tbaa !51
  %58 = getelementptr inbounds i8, ptr %14, i64 10001
  %59 = getelementptr inbounds i8, ptr %14, i64 10002
  %60 = icmp ne ptr %40, null
  %.old2.not = icmp eq ptr %40, null
  %61 = getelementptr inbounds i8, ptr %2, i64 24
  %62 = getelementptr inbounds i8, ptr %2, i64 40
  %63 = getelementptr inbounds i8, ptr %9, i64 8
  %64 = getelementptr inbounds i8, ptr %9, i64 16
  %65 = getelementptr inbounds i8, ptr %11, i64 8
  %66 = getelementptr inbounds i8, ptr %11, i64 12
  %67 = getelementptr inbounds i8, ptr %8, i64 300
  %68 = ptrtoint ptr %67 to i64
  %69 = getelementptr inbounds i8, ptr %40, i64 48
  %.ptr.1 = getelementptr inbounds i8, ptr %12, i64 8
  %.ptr.2 = getelementptr inbounds i8, ptr %12, i64 16
  br label %70

70:                                               ; preds = %.lr.ph172, %289
  %.0115171 = phi ptr [ %57, %.lr.ph172 ], [ %290, %289 ]
  %71 = getelementptr inbounds i8, ptr %.0115171, i64 40
  %72 = load ptr, ptr %71, align 8, !tbaa !27
  %.not139 = icmp eq ptr %72, null
  br i1 %.not139, label %76, label %73

73:                                               ; preds = %70
  %74 = getelementptr inbounds i8, ptr %.0115171, i64 48
  %75 = load ptr, ptr %74, align 8, !tbaa !52
  call void (ptr, ...) @_ZN5ImGui10BulletTextEPKcz(ptr noundef nonnull @.str.578, ptr noundef nonnull %72, ptr noundef %75)
  br label %289

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

103:                                              ; preds = %76
  %104 = load i8, ptr %58, align 1, !tbaa !58, !range !49, !noundef !50
  %105 = trunc nuw i8 %104 to i1
  br i1 %105, label %109, label %106

106:                                              ; preds = %103
  %107 = load i8, ptr %59, align 2, !tbaa !60, !range !49, !noundef !50
  %108 = trunc nuw i8 %107 to i1
  %or.cond3 = and i1 %60, %108
  br i1 %or.cond3, label %110, label %111

109:                                              ; preds = %103
  br i1 %.old2.not, label %111, label %._crit_edge192

._crit_edge192:                                   ; preds = %109
  %.pre = load i8, ptr %59, align 2, !tbaa !60, !range !49
  %.pre194 = trunc nuw i8 %.pre to i1
  br label %110

110:                                              ; preds = %._crit_edge192, %106
  %.pre-phi195 = phi i1 [ %.pre194, %._crit_edge192 ], [ %108, %106 ]
  call void @_ZN5ImGui38DebugNodeDrawCmdShowMeshAndBoundingBoxEP10ImDrawListPKS0_PK9ImDrawCmdbb(ptr noundef nonnull %40, ptr noundef nonnull %2, ptr noundef nonnull %.0115171, i1 noundef zeroext %105, i1 noundef zeroext %.pre-phi195)
  br label %111

111:                                              ; preds = %110, %109, %106, %76
  br i1 %101, label %112, label %288

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

115:                                              ; preds = %112
  %116 = load ptr, ptr %61, align 8, !tbaa !61
  br label %117

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

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

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

._crit_edge:                                      ; preds = %.lr.ph.split, %.lr.ph.split.us, %117
  %.0126.lcssa = phi float [ 0.000000e+00, %117 ], [ %142, %.lr.ph.split.us ], [ %174, %.lr.ph.split ]
  %.lcssa154 = phi i32 [ %125, %117 ], [ %143, %.lr.ph.split.us ], [ %175, %.lr.ph.split ]
  %.lcssa = phi i32 [ %126, %117 ], [ %144, %.lr.ph.split.us ], [ %176, %.lr.ph.split ]
  %147 = load i32, ptr %120, align 8, !tbaa !63
  %148 = fpext float %.0126.lcssa to double
  %149 = call noundef i32 (ptr, i64, ptr, ...) @_Z14ImFormatStringPcmPKcz(ptr noundef nonnull %8, i64 noundef 300, ptr noundef nonnull @.str.580, i32 noundef %.lcssa, i32 noundef %147, i32 noundef %.lcssa154, double noundef %148)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #8
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %10, float noundef 0.000000e+00, float noundef 0.000000e+00)
  %150 = call noundef zeroext i1 @_ZN5ImGui10SelectableEPKcbiRK6ImVec2(ptr noundef nonnull %8, i1 noundef zeroext false, i32 noundef 0, ptr noundef nonnull align 4 dereferenceable(8) %10)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #8
  %151 = call noundef zeroext i1 @_ZN5ImGui13IsItemHoveredEi(i32 noundef 0)
  %or.cond6 = and i1 %60, %151
  br i1 %or.cond6, label %179, label %180

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

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

180:                                              ; preds = %179, %._crit_edge
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %11) #8
  call void @_ZN16ImGuiListClipperC1Ev(ptr noundef nonnull align 8 dereferenceable(48) %11)
  %181 = load i32, ptr %80, align 8, !tbaa !25
  %182 = udiv i32 %181, 3
  invoke void @_ZN16ImGuiListClipper5BeginEif(ptr noundef nonnull align 8 dereferenceable(48) %11, i32 noundef %182, float noundef -1.000000e+00)
          to label %.preheader152 unwind label %.loopexit.split-lp

.preheader152:                                    ; preds = %180
  %.not143 = icmp eq ptr %.fr, null
  br label %183

.loopexit:                                        ; preds = %281, %186
  br label %183, !llvm.loop !68

183:                                              ; preds = %.preheader152, %.loopexit
  %184 = invoke noundef zeroext i1 @_ZN16ImGuiListClipper4StepEv(ptr noundef nonnull align 8 dereferenceable(48) %11)
          to label %185 unwind label %.loopexit153

185:                                              ; preds = %183
  br i1 %184, label %186, label %286

186:                                              ; preds = %185
  %187 = load i32, ptr %65, align 8, !tbaa !69
  %188 = load i32, ptr %66, align 4, !tbaa !72
  %189 = icmp slt i32 %187, %188
  br i1 %189, label %.lr.ph170.preheader, label %.loopexit

.lr.ph170.preheader:                              ; preds = %186
  %190 = load i32, ptr %124, align 4, !tbaa !64
  %191 = mul nsw i32 %187, 3
  %192 = add i32 %190, %191
  br label %.lr.ph170

.loopexit153:                                     ; preds = %183
  %lpad.loopexit = landingpad { ptr, i32 }
          cleanup
  br label %294

.loopexit.split-lp:                               ; preds = %180, %286
  %lpad.loopexit.split-lp = landingpad { ptr, i32 }
          cleanup
  br label %294

.lr.ph170:                                        ; preds = %.lr.ph170.preheader, %281
  %.0117168 = phi i32 [ %indvars.iv.next188.2, %281 ], [ %192, %.lr.ph170.preheader ]
  %.0118167 = phi i32 [ %282, %281 ], [ %187, %.lr.ph170.preheader ]
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %12) #8
  call void @_ZN6ImVec2C2Ev(ptr noundef nonnull align 4 dereferenceable(8) %12)
  call void @_ZN6ImVec2C2Ev(ptr noundef nonnull align 4 dereferenceable(8) %.ptr.1)
  call void @_ZN6ImVec2C2Ev(ptr noundef nonnull align 4 dereferenceable(8) %.ptr.2)
  %193 = sext i32 %.0117168 to i64
  br i1 %.not143, label %.preheader.1, label %196

194:                                              ; preds = %270
  %195 = landingpad { ptr, i32 }
          cleanup
  br label %285

196:                                              ; preds = %.lr.ph170
  %197 = getelementptr inbounds i16, ptr %.fr, i64 %193
  %198 = load i16, ptr %197, align 2, !tbaa !67
  %.pre193 = zext i16 %198 to i64
  br label %.preheader.1

.preheader.1:                                     ; preds = %.lr.ph170, %196
  %.pre-phi = phi i64 [ %193, %.lr.ph170 ], [ %.pre193, %196 ]
  %199 = getelementptr inbounds %struct.ImDrawVert, ptr %123, i64 %.pre-phi
  %200 = load i64, ptr %199, align 4
  store i64 %200, ptr %12, align 16
  %201 = load float, ptr %199, align 4, !tbaa !73
  %202 = fpext float %201 to double
  %203 = getelementptr inbounds i8, ptr %199, i64 4
  %204 = load float, ptr %203, align 4, !tbaa !75
  %205 = fpext float %204 to double
  %206 = getelementptr inbounds i8, ptr %199, i64 8
  %207 = load float, ptr %206, align 4, !tbaa !76
  %208 = fpext float %207 to double
  %209 = getelementptr inbounds i8, ptr %199, i64 12
  %210 = load float, ptr %209, align 4, !tbaa !77
  %211 = fpext float %210 to double
  %212 = getelementptr inbounds i8, ptr %199, i64 16
  %213 = load i32, ptr %212, align 4, !tbaa !78
  %214 = call noundef i32 (ptr, i64, ptr, ...) @_Z14ImFormatStringPcmPKcz(ptr noundef nonnull %8, i64 noundef 300, ptr noundef nonnull @.str.581, ptr noundef nonnull @.str.582, i32 noundef %.0117168, double noundef %202, double noundef %205, double noundef %208, double noundef %211, i32 noundef %213)
  %215 = sext i32 %214 to i64
  %216 = getelementptr inbounds i8, ptr %8, i64 %215
  %indvars.iv.next188 = add nsw i64 %193, 1
  %217 = trunc nsw i64 %indvars.iv.next188 to i32
  br i1 %.not143, label %.preheader.2, label %218

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

.preheader.2:                                     ; preds = %218, %.preheader.1
  %222 = phi i64 [ %221, %218 ], [ %indvars.iv.next188, %.preheader.1 ]
  %sext = shl i64 %222, 32
  %223 = ashr exact i64 %sext, 32
  %224 = getelementptr inbounds %struct.ImDrawVert, ptr %123, i64 %223
  %225 = load i64, ptr %224, align 4
  store i64 %225, ptr %.ptr.1, align 8
  %gepdiff = sub nsw i64 300, %215
  %226 = load float, ptr %224, align 4, !tbaa !73
  %227 = fpext float %226 to double
  %228 = getelementptr inbounds i8, ptr %224, i64 4
  %229 = load float, ptr %228, align 4, !tbaa !75
  %230 = fpext float %229 to double
  %231 = getelementptr inbounds i8, ptr %224, i64 8
  %232 = load float, ptr %231, align 4, !tbaa !76
  %233 = fpext float %232 to double
  %234 = getelementptr inbounds i8, ptr %224, i64 12
  %235 = load float, ptr %234, align 4, !tbaa !77
  %236 = fpext float %235 to double
  %237 = getelementptr inbounds i8, ptr %224, i64 16
  %238 = load i32, ptr %237, align 4, !tbaa !78
  %239 = call noundef i32 (ptr, i64, ptr, ...) @_Z14ImFormatStringPcmPKcz(ptr noundef nonnull %216, i64 noundef %gepdiff, ptr noundef nonnull @.str.581, ptr noundef nonnull @.str.583, i32 noundef %217, double noundef %227, double noundef %230, double noundef %233, double noundef %236, i32 noundef %238)
  %240 = sext i32 %239 to i64
  %241 = getelementptr inbounds i8, ptr %216, i64 %240
  %indvars.iv.next188.1 = add nsw i64 %193, 2
  %242 = trunc nsw i64 %indvars.iv.next188.1 to i32
  br i1 %.not143, label %247, label %243

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

247:                                              ; preds = %243, %.preheader.2
  %248 = phi i64 [ %246, %243 ], [ %indvars.iv.next188.1, %.preheader.2 ]
  %sext196 = shl i64 %248, 32
  %249 = ashr exact i64 %sext196, 32
  %250 = getelementptr inbounds %struct.ImDrawVert, ptr %123, i64 %249
  %251 = load i64, ptr %250, align 4
  store i64 %251, ptr %.ptr.2, align 16
  %252 = ptrtoint ptr %241 to i64
  %253 = sub i64 %68, %252
  %254 = load float, ptr %250, align 4, !tbaa !73
  %255 = fpext float %254 to double
  %256 = getelementptr inbounds i8, ptr %250, i64 4
  %257 = load float, ptr %256, align 4, !tbaa !75
  %258 = fpext float %257 to double
  %259 = getelementptr inbounds i8, ptr %250, i64 8
  %260 = load float, ptr %259, align 4, !tbaa !76
  %261 = fpext float %260 to double
  %262 = getelementptr inbounds i8, ptr %250, i64 12
  %263 = load float, ptr %262, align 4, !tbaa !77
  %264 = fpext float %263 to double
  %265 = getelementptr inbounds i8, ptr %250, i64 16
  %266 = load i32, ptr %265, align 4, !tbaa !78
  %267 = call noundef i32 (ptr, i64, ptr, ...) @_Z14ImFormatStringPcmPKcz(ptr noundef nonnull %241, i64 noundef %253, ptr noundef nonnull @.str.581, ptr noundef nonnull @.str.583, i32 noundef %242, double noundef %255, double noundef %258, double noundef %261, double noundef %264, i32 noundef %266)
  %indvars.iv.next188.2 = add i32 %.0117168, 3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #8
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %13, float noundef 0.000000e+00, float noundef 0.000000e+00)
  %268 = invoke noundef zeroext i1 @_ZN5ImGui10SelectableEPKcbiRK6ImVec2(ptr noundef nonnull %8, i1 noundef zeroext false, i32 noundef 0, ptr noundef nonnull align 4 dereferenceable(8) %13)
          to label %269 unwind label %277

269:                                              ; preds = %247
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #8
  br i1 %60, label %270, label %281

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

272:                                              ; preds = %270
  br i1 %271, label %273, label %281

273:                                              ; preds = %272
  %274 = load i32, ptr %69, align 8, !tbaa !79
  %275 = and i32 %274, -2
  store i32 %275, ptr %69, align 8, !tbaa !79
  invoke void @_ZN10ImDrawList11AddPolylineEPK6ImVec2ijif(ptr noundef nonnull align 8 dereferenceable(216) %40, ptr noundef nonnull %12, i32 noundef 3, i32 noundef -16711681, i32 noundef 1, float noundef 1.000000e+00)
          to label %276 unwind label %279

276:                                              ; preds = %273
  store i32 %274, ptr %69, align 8, !tbaa !79
  br label %281

277:                                              ; preds = %247
  %278 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #8
  br label %285

279:                                              ; preds = %273
  %280 = landingpad { ptr, i32 }
          cleanup
  br label %285

281:                                              ; preds = %276, %272, %269
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %12) #8
  %282 = add nsw i32 %.0118167, 1
  %283 = load i32, ptr %66, align 4, !tbaa !72
  %284 = icmp slt i32 %282, %283
  br i1 %284, label %.lr.ph170, label %.loopexit, !llvm.loop !80

285:                                              ; preds = %279, %277, %194
  %.pn = phi { ptr, i32 } [ %280, %279 ], [ %195, %194 ], [ %278, %277 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %12) #8
  br label %294

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

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

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

289:                                              ; preds = %288, %73
  %290 = getelementptr inbounds i8, ptr %.0115171, i64 64
  %291 = load ptr, ptr %54, align 8, !tbaa !51
  %292 = getelementptr inbounds %struct.ImDrawCmd, ptr %291, i64 %55
  %293 = icmp ult ptr %290, %292
  br i1 %293, label %70, label %.sink.split, !llvm.loop !81

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

.sink.split:                                      ; preds = %289, %.thread150, %38
  call void @_ZN5ImGui7TreePopEv()
  br label %295

295:                                              ; preds = %.sink.split, %.thread, %48, %38
  ret void
}

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

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

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

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

; Function Attrs: mustprogress uwtable
declare hidden noundef ptr @_ZL30FormatTextureIDForDebugDisplayPciy(ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNK8ImVectorI9ImDrawCmdE5beginEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #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) local_unnamed_addr #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)) local_unnamed_addr #7

declare void @_ZN10ImDrawList11AddPolylineEPK6ImVec2ijif(ptr noundef nonnull align 8 dereferenceable(216), 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 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #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, !15, i64 80, !16, i64 96, !20, i64 128, !22, i64 152, !23, i64 168, !24, i64 184, !18, i64 200, !6, i64 208}
!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 = !{!"_ZTS8ImVectorI6ImVec2E", !12, i64 0, !12, i64 4, !6, i64 8}
!16 = !{!"_ZTS15ImDrawCmdHeader", !17, i64 0, !19, i64 16, !12, i64 24}
!17 = !{!"_ZTS6ImVec4", !18, i64 0, !18, i64 4, !18, i64 8, !18, i64 12}
!18 = !{!"float", !7, i64 0}
!19 = !{!"long long", !7, i64 0}
!20 = !{!"_ZTS18ImDrawListSplitter", !12, i64 0, !12, i64 4, !21, i64 8}
!21 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !12, i64 0, !12, i64 4, !6, i64 8}
!22 = !{!"_ZTS8ImVectorI6ImVec4E", !12, i64 0, !12, i64 4, !6, i64 8}
!23 = !{!"_ZTS8ImVectorIyE", !12, i64 0, !12, i64 4, !6, i64 8}
!24 = !{!"_ZTS8ImVectorIhE", !12, i64 0, !12, i64 4, !6, i64 8}
!25 = !{!26, !12, i64 32}
!26 = !{!"_ZTS9ImDrawCmd", !17, i64 0, !19, i64 16, !12, i64 24, !12, i64 28, !12, i64 32, !6, i64 40, !6, i64 48, !12, i64 56, !12, i64 60}
!27 = !{!26, !6, i64 40}
!28 = !{!10, !6, i64 208}
!29 = !{!10, !12, i64 32}
!30 = !{!10, !12, i64 16}
!31 = !{!32, !34, i64 203}
!32 = !{!"_ZTS11ImGuiWindow", !6, i64 0, !6, i64 8, !12, i64 16, !12, i64 20, !12, i64 24, !6, i64 32, !33, i64 40, !33, i64 48, !33, i64 56, !33, i64 64, !33, i64 72, !33, i64 80, !33, i64 88, !18, i64 96, !18, i64 100, !18, i64 104, !18, i64 108, !18, i64 112, !18, i64 116, !18, i64 120, !18, i64 124, !18, i64 128, !18, i64 132, !12, i64 136, !12, i64 140, !12, i64 144, !12, i64 148, !33, i64 152, !33, i64 160, !33, i64 168, !33, i64 176, !33, i64 184, !33, i64 192, !34, i64 200, !34, i64 201, !34, i64 202, !34, i64 203, !34, i64 204, !34, i64 205, !34, i64 206, !34, i64 207, !34, i64 208, !34, i64 209, !34, i64 210, !34, i64 211, !34, i64 212, !34, i64 213, !7, i64 214, !7, i64 215, !35, i64 216, !35, i64 218, !35, i64 220, !35, i64 222, !35, i64 224, !7, i64 226, !7, i64 227, !34, i64 228, !36, i64 232, !7, i64 236, !7, i64 237, !7, i64 238, !7, i64 239, !12, i64 240, !12, i64 241, !12, i64 242, !33, i64 244, !33, i64 252, !37, i64 264, !38, i64 280, !44, i64 512, !44, i64 528, !44, i64 544, !44, i64 560, !44, i64 576, !44, i64 592, !44, i64 608, !45, i64 624, !45, i64 628, !12, i64 632, !18, i64 636, !18, i64 640, !46, i64 648, !48, i64 664, !18, i64 680, !12, i64 684, !6, i64 688, !10, i64 696, !6, i64 912, !6, i64 920, !6, i64 928, !6, i64 936, !6, i64 944, !6, i64 952, !6, i64 960, !6, i64 968, !7, i64 976, !7, i64 984, !7, i64 1016, !12, i64 1032, !12, i64 1036, !12, i64 1040, !34, i64 1044}
!33 = !{!"_ZTS6ImVec2", !18, i64 0, !18, i64 4}
!34 = !{!"bool", !7, i64 0}
!35 = !{!"short", !7, i64 0}
!36 = !{!"_ZTS8ImGuiDir", !7, i64 0}
!37 = !{!"_ZTS8ImVectorIjE", !12, i64 0, !12, i64 4, !6, i64 8}
!38 = !{!"_ZTS19ImGuiWindowTempData", !33, i64 0, !33, i64 8, !33, i64 16, !33, i64 24, !33, i64 32, !33, i64 40, !33, i64 48, !18, i64 56, !18, i64 60, !34, i64 64, !34, i64 65, !39, i64 68, !39, i64 72, !39, i64 76, !33, i64 80, !40, i64 88, !35, i64 92, !35, i64 94, !34, i64 96, !34, i64 97, !34, i64 98, !34, i64 99, !33, i64 100, !41, i64 108, !12, i64 136, !12, i64 140, !42, i64 144, !6, i64 160, !6, i64 168, !12, i64 176, !12, i64 180, !12, i64 184, !12, i64 188, !18, i64 192, !18, i64 196, !43, i64 200, !43, i64 216}
!39 = !{!"_ZTS6ImVec1", !18, i64 0}
!40 = !{!"_ZTS13ImGuiNavLayer", !7, i64 0}
!41 = !{!"_ZTS16ImGuiMenuColumns", !12, i64 0, !12, i64 4, !35, i64 8, !35, i64 10, !35, i64 12, !35, i64 14, !35, i64 16, !7, i64 18}
!42 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !12, i64 0, !12, i64 4, !6, i64 8}
!43 = !{!"_ZTS8ImVectorIfE", !12, i64 0, !12, i64 4, !6, i64 8}
!44 = !{!"_ZTS6ImRect", !33, i64 0, !33, i64 8}
!45 = !{!"_ZTS8ImVec2ih", !35, i64 0, !35, i64 2}
!46 = !{!"_ZTS12ImGuiStorage", !47, i64 0}
!47 = !{!"_ZTS8ImVectorI16ImGuiStoragePairE", !12, i64 0, !12, i64 4, !6, i64 8}
!48 = !{!"_ZTS8ImVectorI15ImGuiOldColumnsE", !12, i64 0, !12, i64 4, !6, i64 8}
!49 = !{i8 0, i8 2}
!50 = !{}
!51 = !{!10, !6, i64 8}
!52 = !{!26, !6, i64 48}
!53 = !{!26, !19, i64 16}
!54 = !{!26, !18, i64 0}
!55 = !{!26, !18, i64 4}
!56 = !{!26, !18, i64 8}
!57 = !{!26, !18, i64 12}
!58 = !{!59, !34, i64 5}
!59 = !{!"_ZTS18ImGuiMetricsConfig", !34, i64 0, !34, i64 1, !34, i64 2, !34, i64 3, !34, i64 4, !34, i64 5, !34, i64 6, !34, i64 7, !34, i64 8, !12, i64 12, !12, i64 16, !12, i64 20, !12, i64 24}
!60 = !{!59, !34, i64 6}
!61 = !{!10, !6, i64 24}
!62 = !{!10, !6, i64 40}
!63 = !{!26, !12, i64 24}
!64 = !{!26, !12, i64 28}
!65 = distinct !{!65, !66}
!66 = !{!"llvm.loop.mustprogress"}
!67 = !{!35, !35, i64 0}
!68 = distinct !{!68, !66}
!69 = !{!70, !12, i64 8}
!70 = !{!"_ZTS16ImGuiListClipper", !6, i64 0, !12, i64 8, !12, i64 12, !12, i64 16, !18, i64 20, !18, i64 24, !71, i64 32, !6, i64 40}
!71 = !{!"double", !7, i64 0}
!72 = !{!70, !12, i64 12}
!73 = !{!74, !18, i64 0}
!74 = !{!"_ZTS10ImDrawVert", !33, i64 0, !33, i64 8, !12, i64 16}
!75 = !{!74, !18, i64 4}
!76 = !{!74, !18, i64 8}
!77 = !{!74, !18, i64 12}
!78 = !{!74, !12, i64 16}
!79 = !{!10, !12, i64 48}
!80 = distinct !{!80, !66}
!81 = distinct !{!81, !66}


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