; LLVM IR from Samson-Mano/EM_Propogation_simulation :: EM_Propogation_simulation/src/ImGui/implot.ll (ZN6ImPlot11EndSubplotsEv)

; 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.ImVec2 = type { float, float }
%struct.ImRect = type { %struct.ImVec2, %struct.ImVec2 }
%struct.ImPlotContext = type { %struct.ImPool.34, %struct.ImPool.36, ptr, ptr, ptr, ptr, ptr, %struct.ImPlotTicker, %struct.ImPlotAnnotationCollection, %struct.ImPlotTagCollection, i8, [3 x i8], %struct.ImPlotStyle, %struct.ImVector.6, %struct.ImVector.7, %struct.ImPlotColormapData, %struct.ImVector.10, %struct.tm, %struct.ImVector.42, %struct.ImVector.42, %struct.ImVector.10, i32, i32, %struct.ImPlotNextPlotData, %struct.ImPlotNextItemData, %struct.ImPlotInputMap, i8, %struct.ImGuiTextBuffer, ptr, %struct.ImPool.43, ptr, ptr }
%struct.ImPool.34 = type { %struct.ImVector.35, %struct.ImGuiStorage, i32, i32 }
%struct.ImVector.35 = type { i32, i32, ptr }
%struct.ImGuiStorage = type { %struct.ImVector.4 }
%struct.ImVector.4 = type { i32, i32, ptr }
%struct.ImPool.36 = type { %struct.ImVector.37, %struct.ImGuiStorage, i32, i32 }
%struct.ImVector.37 = type { i32, i32, ptr }
%struct.ImPlotTicker = type <{ %struct.ImVector.38, %struct.ImGuiTextBuffer, %struct.ImVec2, %struct.ImVec2, i32, [4 x i8] }>
%struct.ImVector.38 = type { i32, i32, ptr }
%struct.ImPlotAnnotationCollection = type <{ %struct.ImVector.39, %struct.ImGuiTextBuffer, i32, [4 x i8] }>
%struct.ImVector.39 = type { i32, i32, ptr }
%struct.ImPlotTagCollection = type <{ %struct.ImVector.40, %struct.ImGuiTextBuffer, i32, [4 x i8] }>
%struct.ImVector.40 = type { i32, i32, ptr }
%struct.ImPlotStyle = type <{ float, i32, float, float, float, float, float, float, float, float, float, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, [21 x %struct.ImVec4], i32, i8, i8, i8, i8 }>
%struct.ImVec4 = type { float, float, float, float }
%struct.ImVector.6 = type { i32, i32, ptr }
%struct.ImVector.7 = type { i32, i32, ptr }
%struct.ImPlotColormapData = type <{ %struct.ImVector.9, %struct.ImVector.10, %struct.ImVector.10, %struct.ImVector.9, %struct.ImVector.10, %struct.ImVector.10, %struct.ImGuiTextBuffer, %struct.ImVector.10, %struct.ImVector.41, %struct.ImGuiStorage, i32, [4 x i8] }>
%struct.ImVector.9 = type { i32, i32, ptr }
%struct.ImVector.41 = type { i32, i32, ptr }
%struct.tm = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i64, ptr }
%struct.ImVector.42 = type { i32, i32, ptr }
%struct.ImVector.10 = type { i32, i32, ptr }
%struct.ImPlotNextPlotData = type { [6 x i32], [6 x %struct.ImPlotRange], [6 x i8], [6 x i8], [6 x ptr], [6 x ptr] }
%struct.ImPlotRange = type { double, double }
%struct.ImPlotNextItemData = type { [5 x %struct.ImVec4], float, i32, float, float, float, float, float, float, float, i8, i8, i8, i8, i8, i8, i32 }
%struct.ImPlotInputMap = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, float }
%struct.ImGuiTextBuffer = type { %struct.ImVector.24 }
%struct.ImVector.24 = type { i32, i32, ptr }
%struct.ImPool.43 = type { %struct.ImVector.44, %struct.ImGuiStorage, i32, i32 }
%struct.ImVector.44 = type { i32, i32, ptr }
%struct.ImPlotSubplot = type <{ i32, i32, i32, [4 x i8], %struct.ImPlotItemGroup, i32, i32, i32, %struct.ImRect, %struct.ImRect, %struct.ImVec2, [4 x i8], %struct.ImVector.44, %struct.ImVector.44, %struct.ImVector.18, %struct.ImVector.18, %struct.ImVector.48, %struct.ImVector.48, [2 x float], i8, i8, [6 x i8] }>
%struct.ImPlotItemGroup = type <{ i32, [4 x i8], %struct.ImPlotLegend, %struct.ImPool.46, i32, [4 x i8] }>
%struct.ImPlotLegend = type <{ i32, i32, i32, i32, %struct.ImVector.10, %struct.ImGuiTextBuffer, %struct.ImRect, i8, i8, i8, [5 x i8] }>
%struct.ImPool.46 = type { %struct.ImVector.47, %struct.ImGuiStorage, i32, i32 }
%struct.ImVector.47 = type { i32, i32, ptr }
%struct.ImVector.18 = type { i32, i32, ptr }
%struct.ImVector.48 = type { i32, i32, ptr }
%struct.ImPlotItem = type <{ i32, i32, %struct.ImRect, i32, i8, i8, i8, i8 }>
%struct.ImGuiIO = type { i32, i32, %struct.ImVec2, float, float, ptr, ptr, float, float, float, float, float, float, float, ptr, ptr, float, i8, ptr, %struct.ImVec2, i8, i8, i8, i8, i8, i8, i8, i8, float, i8, i8, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i8, i8, i8, i8, i8, i8, i8, float, i32, i32, i32, i32, i32, %struct.ImVec2, [652 x i32], [652 x i8], [16 x float], ptr, %struct.ImVec2, [5 x i8], float, float, i32, i8, i8, i8, i8, i32, [652 x %struct.ImGuiKeyData], i8, %struct.ImVec2, [5 x %struct.ImVec2], [5 x double], [5 x i8], [5 x i8], [5 x i16], [5 x i16], [5 x i8], [5 x i8], [5 x i8], i8, [5 x float], [5 x float], [5 x float], float, i8, i8, i8, i8, i16, %struct.ImVector }
%struct.ImGuiKeyData = type { i8, float, float, float }
%struct.ImVector = type { i32, i32, ptr }
%struct.ImGuiContext = type { i8, i8, %struct.ImGuiIO, %struct.ImGuiStyle, ptr, float, float, %struct.ImDrawListSharedData, double, i32, i32, i32, i8, i8, i8, i8, i8, ptr, %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, ptr, ptr, ptr, ptr, ptr, %struct.ImVec2, i32, float, %struct.ImVec2, %struct.ImVec2, i32, i32, i32, i8, i8, float, float, i32, i32, float, i8, i8, i8, i8, i8, i8, %struct.ImVec2, ptr, i32, i32, i32, i8, i8, ptr, i32, float, [140 x %struct.ImGuiKeyOwnerData], %struct.ImGuiKeyRoutingTable, i32, i8, i32, i32, i32, i32, %struct.ImGuiNextItemData, %struct.ImGuiLastItemData, %struct.ImGuiNextWindowData, %struct.ImVector.6, %struct.ImVector.7, %struct.ImVector.8, %struct.ImVector.9, %struct.ImVector.10, %struct.ImVector.11, %struct.ImVector.12, %struct.ImVector.12, i32, %struct.ImVector.13, ptr, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i8, i8, i8, i8, i8, i8, i8, i32, %struct.ImRect, i8, i8, i8, i32, i32, i32, i32, i32, i32, %struct.ImRect, %struct.ImRect, i32, i32, i32, %struct.ImGuiNavItemData, %struct.ImGuiNavItemData, %struct.ImGuiNavItemData, %struct.ImGuiNavItemData, i32, i32, ptr, ptr, ptr, float, float, i8, %struct.ImVec2, %struct.ImVec2, float, i32, i8, i8, i8, i32, i32, i32, [4 x i8], %struct.ImGuiPayload, %struct.ImRect, i32, i32, float, i32, i32, i32, i32, %struct.ImVector.14, [16 x i8], i32, %struct.ImVector.15, ptr, i32, %struct.ImVector.16, %struct.ImPool, %struct.ImVector.18, %struct.ImVector.19, ptr, %struct.ImPool.20, %struct.ImVector.22, %struct.ImVector.23, i32, i32, float, float, %struct.ImVec2, %struct.ImGuiInputTextState, %struct.ImGuiInputTextDeactivatedState, %struct.ImFont, i32, i32, i32, i32, float, float, i32, %struct.ImVec4, %struct.ImGuiComboPreviewData, float, float, i8, i8, float, float, float, float, i16, i16, %struct.ImVector.24, %struct.ImVector.9, %struct.ImGuiPlatformImeData, %struct.ImGuiPlatformImeData, i8, i8, float, %struct.ImGuiTextBuffer, %struct.ImVector.26, %struct.ImChunkStream, %struct.ImChunkStream.27, %struct.ImVector.28, i32, [7 x ptr], i8, i32, ptr, %struct.ImGuiTextBuffer, ptr, ptr, float, i8, i32, i32, i32, i32, %struct.ImGuiTextBuffer, %struct.ImGuiTextIndex, i8, i8, i8, i8, i8, i32, %struct.ImGuiMetricsConfig, %struct.ImGuiStackTool, [60 x float], i32, i32, float, i32, i32, i32, %struct.ImVector.24 }
%struct.ImGuiStyle = type { float, float, %struct.ImVec2, float, float, %struct.ImVec2, %struct.ImVec2, i32, float, float, float, float, %struct.ImVec2, float, float, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, float, float, float, float, float, float, float, float, float, i32, %struct.ImVec2, %struct.ImVec2, float, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, i8, i8, i8, float, float, [53 x %struct.ImVec4] }
%struct.ImDrawListSharedData = type { %struct.ImVec2, ptr, float, float, float, %struct.ImVec4, i32, %struct.ImVector.0, [48 x %struct.ImVec2], float, [64 x i8], ptr }
%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.ImGuiKeyOwnerData = type <{ i32, i32, i8, i8, [2 x i8] }>
%struct.ImGuiKeyRoutingTable = type { [140 x i16], %struct.ImVector.5, %struct.ImVector.5 }
%struct.ImVector.5 = type { i32, i32, ptr }
%struct.ImGuiNextItemData = type <{ i32, float, i32, i32, i8, [3 x i8] }>
%struct.ImGuiLastItemData = type { i32, i32, i32, %struct.ImRect, %struct.ImRect, %struct.ImRect }
%struct.ImGuiNextWindowData = type <{ i32, i32, i32, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, i8, [3 x i8], %struct.ImRect, [4 x i8], ptr, ptr, float, %struct.ImVec2, [4 x i8] }>
%struct.ImVector.8 = type { i32, i32, ptr }
%struct.ImVector.11 = type { i32, i32, ptr }
%struct.ImVector.12 = type { i32, i32, ptr }
%struct.ImVector.13 = type { i32, i32, ptr }
%struct.ImGuiNavItemData = type { ptr, i32, i32, %struct.ImRect, i32, float, float, float }
%struct.ImGuiPayload = type <{ ptr, i32, i32, i32, i32, [33 x i8], i8, i8, [5 x i8] }>
%struct.ImVector.14 = type { i32, i32, ptr }
%struct.ImVector.15 = type { i32, i32, ptr }
%struct.ImVector.16 = type { i32, i32, ptr }
%struct.ImPool = type { %struct.ImVector.17, %struct.ImGuiStorage, i32, i32 }
%struct.ImVector.17 = type { i32, i32, ptr }
%struct.ImVector.19 = type { i32, i32, ptr }
%struct.ImPool.20 = type { %struct.ImVector.21, %struct.ImGuiStorage, i32, i32 }
%struct.ImVector.21 = type { i32, i32, ptr }
%struct.ImVector.22 = type { i32, i32, ptr }
%struct.ImVector.23 = type { i32, i32, ptr }
%struct.ImGuiInputTextState = type <{ ptr, i32, i32, i32, [4 x i8], %struct.ImVector, %struct.ImVector.24, %struct.ImVector.24, i8, [3 x i8], i32, float, %"struct.ImStb::STB_TexteditState", float, i8, i8, i8, i8, i32, [4 x i8] }>
%"struct.ImStb::STB_TexteditState" = type { i32, i32, i32, i8, i32, i8, i8, i8, i8, i8, i8, i8, float, %"struct.ImStb::StbUndoState" }
%"struct.ImStb::StbUndoState" = type { [99 x %"struct.ImStb::StbUndoRecord"], [999 x i16], i16, i16, i32, i32 }
%"struct.ImStb::StbUndoRecord" = type { i32, i32, i32, i32 }
%struct.ImGuiInputTextDeactivatedState = type { i32, %struct.ImVector.24 }
%struct.ImFont = type <{ %struct.ImVector.18, float, float, %struct.ImVector, %struct.ImVector.25, 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.25 = type { i32, i32, ptr }
%struct.ImGuiComboPreviewData = type { %struct.ImRect, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, i32 }
%struct.ImGuiPlatformImeData = type { i8, %struct.ImVec2, float }
%struct.ImVector.26 = type { i32, i32, ptr }
%struct.ImChunkStream = type { %struct.ImVector.24 }
%struct.ImChunkStream.27 = type { %struct.ImVector.24 }
%struct.ImVector.28 = type { i32, i32, ptr }
%struct.ImGuiTextIndex = type <{ %struct.ImVector.10, i32, [4 x i8] }>
%struct.ImGuiMetricsConfig = type { i8, i8, i8, i8, i8, i8, i8, i8, i32, i32 }
%struct.ImGuiStackTool = type { i32, i32, i32, %struct.ImVector.29, i8, float }
%struct.ImVector.29 = type { i32, i32, ptr }
%struct.ImGuiWindow = type <{ ptr, ptr, i32, i32, ptr, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, float, float, float, float, float, float, float, i32, i32, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i16, i16, i16, i16, i16, i32, i8, i8, i8, i8, i32, i8, i8, i8, i8, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVector.9, %struct.ImGuiWindowTempData, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImVec2ih, %struct.ImVec2ih, i32, float, float, [4 x i8], %struct.ImGuiStorage, %struct.ImVector.45, float, i32, ptr, %struct.ImDrawList, ptr, ptr, ptr, ptr, ptr, ptr, ptr, [2 x i32], [2 x %struct.ImRect], i32, i32, i32, i8, [3 x i8] }>
%struct.ImGuiWindowTempData = type { %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, float, i8, i8, %struct.ImVec1, %struct.ImVec1, %struct.ImVec1, %struct.ImVec2, i32, i16, i16, i8, i8, i8, i8, %struct.ImVec2, %struct.ImGuiMenuColumns, i32, i32, %struct.ImVector.2, ptr, ptr, i32, i32, i32, float, float, %struct.ImVector.18, %struct.ImVector.18 }
%struct.ImVec1 = type { float }
%struct.ImGuiMenuColumns = type <{ i32, i32, i16, i16, i16, i16, i16, [4 x i16], [2 x i8] }>
%struct.ImVec2ih = type { i16, i16 }
%struct.ImVector.45 = type { i32, i32, ptr }
%struct.ImDrawList = type <{ %struct.ImVector.30, %struct.ImVector, %struct.ImVector.31, i32, i32, ptr, ptr, ptr, ptr, %struct.ImVector.32, %struct.ImVector.33, %struct.ImVector.0, %struct.ImDrawCmdHeader, %struct.ImDrawListSplitter, float, [4 x i8] }>
%struct.ImVector.30 = type { i32, i32, ptr }
%struct.ImVector.31 = type { i32, i32, ptr }
%struct.ImVector.32 = type { i32, i32, ptr }
%struct.ImVector.33 = type { i32, i32, ptr }
%struct.ImDrawCmdHeader = type <{ %struct.ImVec4, ptr, i32, [4 x i8] }>
%struct.ImDrawListSplitter = type { i32, i32, %struct.ImVector.19 }

@GImPlot = external dso_local global ptr, align 8
@GImGui = external global ptr, align 8
@.str.78 = external hidden unnamed_addr constant [118 x i8], align 1
@.str.124 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.144 = external hidden unnamed_addr constant [115 x i8], align 1
@.str.153 = external hidden unnamed_addr constant [16 x i8], align 1
@__PRETTY_FUNCTION__._ZN6ImPlot11EndSubplotsEv = external hidden unnamed_addr constant [27 x i8], align 1
@.str.161 = external hidden unnamed_addr constant [78 x i8], align 1

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

; Function Attrs: 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) #1

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local <2 x float> @_ZN6ImPlot14CalcLegendSizeER15ImPlotItemGroupRK6ImVec2S4_b(ptr noundef nonnull align 8 dereferenceable(124), ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8), i1 noundef zeroext) #4

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZNK15ImPlotItemGroup14GetLegendCountEv(ptr noundef nonnull align 8 dereferenceable(124)) #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN6ImPlot17ShowLegendEntriesER15ImPlotItemGroupRK6ImRectbRK6ImVec2S7_bR10ImDrawList(ptr noundef nonnull align 8 dereferenceable(124), ptr noundef nonnull align 4 dereferenceable(16), i1 noundef zeroext, ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8), i1 noundef zeroext, ptr noundef nonnull align 8 dereferenceable(196)) #4

; Function Attrs: inlinehint mustprogress uwtable
declare hidden noundef i32 @_ZN6ImPlotL16GetStyleColorU32Ei(i32 noundef) #2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef zeroext i1 @_ZL9ImHasFlagIi18ImPlotLegendFlags_EbT_T0_(i32 noundef, i32 noundef) #6

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

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

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

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

declare void @_ZN5ImGui9SeparatorEv() #7

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN6ImPlot21ShowLegendContextMenuER12ImPlotLegendb(ptr noundef nonnull align 8 dereferenceable(67), i1 noundef zeroext) #5

declare void @_ZN5ImGui11PopStyleVarEi(i32 noundef) #7

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef zeroext i1 @_ZL9ImHasFlagIi19ImPlotSubplotFlags_EbT_T0_(i32 noundef, i32 noundef) #6

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef zeroext i1 @_ZL9ImHasFlagIi12ImPlotFlags_EbT_T0_(i32 noundef, i32 noundef) #6

declare void @_ZN5ImGui5PopIDEv() #7

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden void @_ZL10ImFlipFlagIi12ImPlotFlags_EvRT_T0_(ptr noundef nonnull align 4 dereferenceable(4), i32 noundef) #6

declare noundef nonnull align 8 dereferenceable(14280) ptr @_ZN5ImGui5GetIOEv() #7

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

declare void @_ZN5ImGui12PushClipRectERK6ImVec2S2_b(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8), i1 noundef zeroext) #7

declare void @_ZN5ImGui11PopClipRectEv() #7

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZNK15ImPlotItemGroup12GetItemCountEv(ptr noundef nonnull align 8 dereferenceable(124)) #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN15ImPlotItemGroup14GetItemByIndexEi(ptr noundef nonnull align 8 dereferenceable(124), i32 noundef) #5 align 2

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

declare void @_ZN5ImGui9OpenPopupEPKci(ptr noundef, i32 noundef) #7

declare noundef zeroext i1 @_ZN5ImGui10BeginPopupEPKci(ptr noundef, i32 noundef) #7

declare void @_ZN5ImGui4TextEPKcz(ptr noundef, ...) #7

declare void @_ZN5ImGui8EndPopupEv() #7

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

declare noundef ptr @_ZN5ImGui17GetWindowDrawListEv() #7

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN6ImPlot11EndSubplotsEv() #4 {
  %1 = alloca ptr, align 8
  %2 = alloca ptr, align 8
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca i8, align 1
  %7 = alloca ptr, align 8
  %8 = alloca i8, align 1
  %9 = alloca %struct.ImVec2, align 4
  %10 = alloca %struct.ImVec2, align 4
  %11 = alloca %struct.ImRect, align 4
  %12 = alloca %struct.ImVec2, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i8, align 1
  %16 = alloca %struct.ImRect, align 4
  %17 = alloca i32, align 4
  %18 = alloca %struct.ImVec2, align 4
  %19 = load ptr, ptr @GImPlot, align 8, !tbaa !5
  %20 = icmp ne ptr %19, null
  br i1 %20, label %21, label %22

21:                                               ; preds = %0
  br label %22

22:                                               ; preds = %21, %0
  %23 = phi i1 [ false, %0 ], [ true, %21 ]
  br i1 %23, label %24, label %25

24:                                               ; preds = %22
  br label %27

25:                                               ; preds = %22
  call void @__assert_fail(ptr noundef @.str.144, ptr noundef @.str.78, i32 noundef 3502, ptr noundef @__PRETTY_FUNCTION__._ZN6ImPlot11EndSubplotsEv) #9
  unreachable

26:                                               ; No predecessors!
  br label %27

27:                                               ; preds = %26, %24
  call void @llvm.lifetime.start.p0(i64 8, ptr %1) #10
  %28 = load ptr, ptr @GImPlot, align 8, !tbaa !5
  store ptr %28, ptr %1, align 8, !tbaa !5
  %29 = load ptr, ptr %1, align 8, !tbaa !5
  %30 = getelementptr inbounds %struct.ImPlotContext, ptr %29, i32 0, i32 3
  %31 = load ptr, ptr %30, align 8, !tbaa !9
  %32 = icmp ne ptr %31, null
  br i1 %32, label %33, label %34

33:                                               ; preds = %27
  br label %34

34:                                               ; preds = %33, %27
  %35 = phi i1 [ false, %27 ], [ true, %33 ]
  br i1 %35, label %36, label %37

36:                                               ; preds = %34
  br label %39

37:                                               ; preds = %34
  call void @__assert_fail(ptr noundef @.str.161, ptr noundef @.str.78, i32 noundef 3504, ptr noundef @__PRETTY_FUNCTION__._ZN6ImPlot11EndSubplotsEv) #9
  unreachable

38:                                               ; No predecessors!
  br label %39

39:                                               ; preds = %38, %36
  call void @llvm.lifetime.start.p0(i64 8, ptr %2) #10
  %40 = load ptr, ptr %1, align 8, !tbaa !5
  %41 = getelementptr inbounds %struct.ImPlotContext, ptr %40, i32 0, i32 3
  %42 = load ptr, ptr %41, align 8, !tbaa !9
  store ptr %42, ptr %2, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #10
  store i32 0, ptr %3, align 4, !tbaa !44
  br label %43

43:                                               ; preds = %55, %39
  %44 = load i32, ptr %3, align 4, !tbaa !44
  %45 = load ptr, ptr %2, align 8, !tbaa !5
  %46 = getelementptr inbounds %struct.ImPlotSubplot, ptr %45, i32 0, i32 5
  %47 = load i32, ptr %46, align 8, !tbaa !45
  %48 = icmp slt i32 %44, %47
  br i1 %48, label %50, label %49

49:                                               ; preds = %43
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #10
  br label %58

50:                                               ; preds = %43
  %51 = load ptr, ptr %2, align 8, !tbaa !5
  %52 = getelementptr inbounds %struct.ImPlotSubplot, ptr %51, i32 0, i32 12
  %53 = load i32, ptr %3, align 4, !tbaa !44
  %54 = call noundef nonnull align 4 dereferenceable(20) ptr @_ZN8ImVectorI19ImPlotAlignmentDataEixEi(ptr noundef nonnull align 8 dereferenceable(16) %52, i32 noundef %53)
  call void @_ZN19ImPlotAlignmentData3EndEv(ptr noundef nonnull align 4 dereferenceable(20) %54)
  br label %55

55:                                               ; preds = %50
  %56 = load i32, ptr %3, align 4, !tbaa !44
  %57 = add nsw i32 %56, 1
  store i32 %57, ptr %3, align 4, !tbaa !44
  br label %43, !llvm.loop !54

58:                                               ; preds = %49
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #10
  store i32 0, ptr %4, align 4, !tbaa !44
  br label %59

59:                                               ; preds = %71, %58
  %60 = load i32, ptr %4, align 4, !tbaa !44
  %61 = load ptr, ptr %2, align 8, !tbaa !5
  %62 = getelementptr inbounds %struct.ImPlotSubplot, ptr %61, i32 0, i32 6
  %63 = load i32, ptr %62, align 4, !tbaa !56
  %64 = icmp slt i32 %60, %63
  br i1 %64, label %66, label %65

65:                                               ; preds = %59
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #10
  br label %74

66:                                               ; preds = %59
  %67 = load ptr, ptr %2, align 8, !tbaa !5
  %68 = getelementptr inbounds %struct.ImPlotSubplot, ptr %67, i32 0, i32 13
  %69 = load i32, ptr %4, align 4, !tbaa !44
  %70 = call noundef nonnull align 4 dereferenceable(20) ptr @_ZN8ImVectorI19ImPlotAlignmentDataEixEi(ptr noundef nonnull align 8 dereferenceable(16) %68, i32 noundef %69)
  call void @_ZN19ImPlotAlignmentData3EndEv(ptr noundef nonnull align 4 dereferenceable(20) %70)
  br label %71

71:                                               ; preds = %66
  %72 = load i32, ptr %4, align 4, !tbaa !44
  %73 = add nsw i32 %72, 1
  store i32 %73, ptr %4, align 4, !tbaa !44
  br label %59, !llvm.loop !57

74:                                               ; preds = %65
  call void @_ZN6ImPlot13PopStyleColorEi(i32 noundef 1)
  call void @_ZN6ImPlot11PopStyleVarEi(i32 noundef 1)
  call void @_ZN6ImPlot11PopStyleVarEi(i32 noundef 1)
  call void @_ZN5ImGui11PopStyleVarEi(i32 noundef 1)
  %75 = load ptr, ptr %2, align 8, !tbaa !5
  %76 = getelementptr inbounds %struct.ImPlotSubplot, ptr %75, i32 0, i32 4
  %77 = getelementptr inbounds %struct.ImPlotItemGroup, ptr %76, i32 0, i32 2
  %78 = getelementptr inbounds %struct.ImPlotLegend, ptr %77, i32 0, i32 7
  store i8 0, ptr %78, align 8, !tbaa !58
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #10
  store i32 0, ptr %5, align 4, !tbaa !44
  br label %79

79:                                               ; preds = %92, %74
  %80 = load i32, ptr %5, align 4, !tbaa !44
  %81 = load ptr, ptr %2, align 8, !tbaa !5
  %82 = getelementptr inbounds %struct.ImPlotSubplot, ptr %81, i32 0, i32 4
  %83 = call noundef i32 @_ZNK15ImPlotItemGroup12GetItemCountEv(ptr noundef nonnull align 8 dereferenceable(124) %82)
  %84 = icmp slt i32 %80, %83
  br i1 %84, label %86, label %85

85:                                               ; preds = %79
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #10
  br label %95

86:                                               ; preds = %79
  %87 = load ptr, ptr %2, align 8, !tbaa !5
  %88 = getelementptr inbounds %struct.ImPlotSubplot, ptr %87, i32 0, i32 4
  %89 = load i32, ptr %5, align 4, !tbaa !44
  %90 = call noundef ptr @_ZN15ImPlotItemGroup14GetItemByIndexEi(ptr noundef nonnull align 8 dereferenceable(124) %88, i32 noundef %89)
  %91 = getelementptr inbounds %struct.ImPlotItem, ptr %90, i32 0, i32 5
  store i8 0, ptr %91, align 1, !tbaa !59
  br label %92

92:                                               ; preds = %86
  %93 = load i32, ptr %5, align 4, !tbaa !44
  %94 = add nsw i32 %93, 1
  store i32 %94, ptr %5, align 4, !tbaa !44
  br label %79, !llvm.loop !61

95:                                               ; preds = %85
  call void @llvm.lifetime.start.p0(i64 1, ptr %6) #10
  %96 = load ptr, ptr %2, align 8, !tbaa !5
  %97 = getelementptr inbounds %struct.ImPlotSubplot, ptr %96, i32 0, i32 1
  %98 = load i32, ptr %97, align 4, !tbaa !62
  %99 = call noundef zeroext i1 @_ZL9ImHasFlagIi19ImPlotSubplotFlags_EbT_T0_(i32 noundef %98, i32 noundef 32)
  %100 = zext i1 %99 to i8
  store i8 %100, ptr %6, align 1, !tbaa !63
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #10
  %101 = call noundef ptr @_ZN5ImGui17GetWindowDrawListEv()
  store ptr %101, ptr %7, align 8, !tbaa !5
  %102 = load i8, ptr %6, align 1, !tbaa !63, !range !64, !noundef !65
  %103 = trunc i8 %102 to i1
  br i1 %103, label %104, label %271

104:                                              ; preds = %95
  %105 = load ptr, ptr %2, align 8, !tbaa !5
  %106 = getelementptr inbounds %struct.ImPlotSubplot, ptr %105, i32 0, i32 1
  %107 = load i32, ptr %106, align 4, !tbaa !62
  %108 = call noundef zeroext i1 @_ZL9ImHasFlagIi19ImPlotSubplotFlags_EbT_T0_(i32 noundef %107, i32 noundef 2)
  br i1 %108, label %271, label %109

109:                                              ; preds = %104
  %110 = load ptr, ptr %2, align 8, !tbaa !5
  %111 = getelementptr inbounds %struct.ImPlotSubplot, ptr %110, i32 0, i32 4
  %112 = call noundef i32 @_ZNK15ImPlotItemGroup14GetLegendCountEv(ptr noundef nonnull align 8 dereferenceable(124) %111)
  %113 = icmp sgt i32 %112, 0
  br i1 %113, label %114, label %271

114:                                              ; preds = %109
  call void @llvm.lifetime.start.p0(i64 1, ptr %8) #10
  %115 = load ptr, ptr %2, align 8, !tbaa !5
  %116 = getelementptr inbounds %struct.ImPlotSubplot, ptr %115, i32 0, i32 4
  %117 = getelementptr inbounds %struct.ImPlotItemGroup, ptr %116, i32 0, i32 2
  %118 = getelementptr inbounds %struct.ImPlotLegend, ptr %117, i32 0, i32 0
  %119 = load i32, ptr %118, align 8, !tbaa !66
  %120 = call noundef zeroext i1 @_ZL9ImHasFlagIi18ImPlotLegendFlags_EbT_T0_(i32 noundef %119, i32 noundef 32)
  %121 = zext i1 %120 to i8
  store i8 %121, ptr %8, align 1, !tbaa !63
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #10
  %122 = load ptr, ptr %2, align 8, !tbaa !5
  %123 = getelementptr inbounds %struct.ImPlotSubplot, ptr %122, i32 0, i32 4
  %124 = load ptr, ptr %1, align 8, !tbaa !5
  %125 = getelementptr inbounds %struct.ImPlotContext, ptr %124, i32 0, i32 12
  %126 = getelementptr inbounds %struct.ImPlotStyle, ptr %125, i32 0, i32 20
  %127 = load ptr, ptr %1, align 8, !tbaa !5
  %128 = getelementptr inbounds %struct.ImPlotContext, ptr %127, i32 0, i32 12
  %129 = getelementptr inbounds %struct.ImPlotStyle, ptr %128, i32 0, i32 21
  %130 = load i8, ptr %8, align 1, !tbaa !63, !range !64, !noundef !65
  %131 = trunc i8 %130 to i1
  %132 = xor i1 %131, true
  %133 = call <2 x float> @_ZN6ImPlot14CalcLegendSizeER15ImPlotItemGroupRK6ImVec2S4_b(ptr noundef nonnull align 8 dereferenceable(124) %123, ptr noundef nonnull align 4 dereferenceable(8) %126, ptr noundef nonnull align 4 dereferenceable(8) %129, i1 noundef zeroext %132)
  store <2 x float> %133, ptr %9, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #10
  %134 = load ptr, ptr %2, align 8, !tbaa !5
  %135 = getelementptr inbounds %struct.ImPlotSubplot, ptr %134, i32 0, i32 8
  %136 = load ptr, ptr %2, align 8, !tbaa !5
  %137 = getelementptr inbounds %struct.ImPlotSubplot, ptr %136, i32 0, i32 4
  %138 = getelementptr inbounds %struct.ImPlotItemGroup, ptr %137, i32 0, i32 2
  %139 = getelementptr inbounds %struct.ImPlotLegend, ptr %138, i32 0, i32 2
  %140 = load i32, ptr %139, align 8, !tbaa !67
  %141 = load ptr, ptr %1, align 8, !tbaa !5
  %142 = getelementptr inbounds %struct.ImPlotContext, ptr %141, i32 0, i32 12
  %143 = getelementptr inbounds %struct.ImPlotStyle, ptr %142, i32 0, i32 17
  %144 = call <2 x float> @_ZN6ImPlot14GetLocationPosERK6ImRectRK6ImVec2iS5_(ptr noundef nonnull align 4 dereferenceable(16) %135, ptr noundef nonnull align 4 dereferenceable(8) %9, i32 noundef %140, ptr noundef nonnull align 4 dereferenceable(8) %143)
  store <2 x float> %144, ptr %10, align 4
  call void @llvm.lifetime.start.p0(i64 16, ptr %11) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #10
  %145 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %10, ptr noundef nonnull align 4 dereferenceable(8) %9)
  store <2 x float> %145, ptr %12, align 4
  call void @_ZN6ImRectC2ERK6ImVec2S2_(ptr noundef nonnull align 4 dereferenceable(16) %11, ptr noundef nonnull align 4 dereferenceable(8) %10, ptr noundef nonnull align 4 dereferenceable(8) %12)
  %146 = load ptr, ptr %2, align 8, !tbaa !5
  %147 = getelementptr inbounds %struct.ImPlotSubplot, ptr %146, i32 0, i32 4
  %148 = getelementptr inbounds %struct.ImPlotItemGroup, ptr %147, i32 0, i32 2
  %149 = getelementptr inbounds %struct.ImPlotLegend, ptr %148, i32 0, i32 6
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %149, ptr align 4 %11, i64 16, i1 false), !tbaa.struct !68
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr %11) #10
  %150 = load ptr, ptr %2, align 8, !tbaa !5
  %151 = getelementptr inbounds %struct.ImPlotSubplot, ptr %150, i32 0, i32 19
  %152 = load i8, ptr %151, align 8, !tbaa !70, !range !64, !noundef !65
  %153 = trunc i8 %152 to i1
  br i1 %153, label %154, label %162

154:                                              ; preds = %114
  %155 = load ptr, ptr %2, align 8, !tbaa !5
  %156 = getelementptr inbounds %struct.ImPlotSubplot, ptr %155, i32 0, i32 4
  %157 = getelementptr inbounds %struct.ImPlotItemGroup, ptr %156, i32 0, i32 2
  %158 = getelementptr inbounds %struct.ImPlotLegend, ptr %157, i32 0, i32 6
  %159 = call noundef nonnull align 8 dereferenceable(14280) ptr @_ZN5ImGui5GetIOEv()
  %160 = getelementptr inbounds %struct.ImGuiIO, ptr %159, i32 0, i32 59
  %161 = call noundef zeroext i1 @_ZNK6ImRect8ContainsERK6ImVec2(ptr noundef nonnull align 4 dereferenceable(16) %158, ptr noundef nonnull align 4 dereferenceable(8) %160)
  br label %162

162:                                              ; preds = %154, %114
  %163 = phi i1 [ false, %114 ], [ %161, %154 ]
  %164 = load ptr, ptr %2, align 8, !tbaa !5
  %165 = getelementptr inbounds %struct.ImPlotSubplot, ptr %164, i32 0, i32 4
  %166 = getelementptr inbounds %struct.ImPlotItemGroup, ptr %165, i32 0, i32 2
  %167 = getelementptr inbounds %struct.ImPlotLegend, ptr %166, i32 0, i32 7
  %168 = zext i1 %163 to i8
  store i8 %168, ptr %167, align 8, !tbaa !58
  %169 = load ptr, ptr %2, align 8, !tbaa !5
  %170 = getelementptr inbounds %struct.ImPlotSubplot, ptr %169, i32 0, i32 8
  %171 = getelementptr inbounds %struct.ImRect, ptr %170, i32 0, i32 0
  %172 = load ptr, ptr %2, align 8, !tbaa !5
  %173 = getelementptr inbounds %struct.ImPlotSubplot, ptr %172, i32 0, i32 8
  %174 = getelementptr inbounds %struct.ImRect, ptr %173, i32 0, i32 1
  call void @_ZN5ImGui12PushClipRectERK6ImVec2S2_b(ptr noundef nonnull align 4 dereferenceable(8) %171, ptr noundef nonnull align 4 dereferenceable(8) %174, i1 noundef zeroext true)
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #10
  %175 = call noundef i32 @_ZN6ImPlotL16GetStyleColorU32Ei(i32 noundef 8)
  store i32 %175, ptr %13, align 4, !tbaa !44
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #10
  %176 = call noundef i32 @_ZN6ImPlotL16GetStyleColorU32Ei(i32 noundef 9)
  store i32 %176, ptr %14, align 4, !tbaa !44
  %177 = load ptr, ptr %7, align 8, !tbaa !5
  %178 = load ptr, ptr %2, align 8, !tbaa !5
  %179 = getelementptr inbounds %struct.ImPlotSubplot, ptr %178, i32 0, i32 4
  %180 = getelementptr inbounds %struct.ImPlotItemGroup, ptr %179, i32 0, i32 2
  %181 = getelementptr inbounds %struct.ImPlotLegend, ptr %180, i32 0, i32 6
  %182 = getelementptr inbounds %struct.ImRect, ptr %181, i32 0, i32 0
  %183 = load ptr, ptr %2, align 8, !tbaa !5
  %184 = getelementptr inbounds %struct.ImPlotSubplot, ptr %183, i32 0, i32 4
  %185 = getelementptr inbounds %struct.ImPlotItemGroup, ptr %184, i32 0, i32 2
  %186 = getelementptr inbounds %struct.ImPlotLegend, ptr %185, i32 0, i32 6
  %187 = getelementptr inbounds %struct.ImRect, ptr %186, i32 0, i32 1
  %188 = load i32, ptr %13, align 4, !tbaa !44
  call void @_ZN10ImDrawList13AddRectFilledERK6ImVec2S2_jfi(ptr noundef nonnull align 8 dereferenceable(196) %177, ptr noundef nonnull align 4 dereferenceable(8) %182, ptr noundef nonnull align 4 dereferenceable(8) %187, i32 noundef %188, float noundef 0.000000e+00, i32 noundef 0)
  %189 = load ptr, ptr %7, align 8, !tbaa !5
  %190 = load ptr, ptr %2, align 8, !tbaa !5
  %191 = getelementptr inbounds %struct.ImPlotSubplot, ptr %190, i32 0, i32 4
  %192 = getelementptr inbounds %struct.ImPlotItemGroup, ptr %191, i32 0, i32 2
  %193 = getelementptr inbounds %struct.ImPlotLegend, ptr %192, i32 0, i32 6
  %194 = getelementptr inbounds %struct.ImRect, ptr %193, i32 0, i32 0
  %195 = load ptr, ptr %2, align 8, !tbaa !5
  %196 = getelementptr inbounds %struct.ImPlotSubplot, ptr %195, i32 0, i32 4
  %197 = getelementptr inbounds %struct.ImPlotItemGroup, ptr %196, i32 0, i32 2
  %198 = getelementptr inbounds %struct.ImPlotLegend, ptr %197, i32 0, i32 6
  %199 = getelementptr inbounds %struct.ImRect, ptr %198, i32 0, i32 1
  %200 = load i32, ptr %14, align 4, !tbaa !44
  call void @_ZN10ImDrawList7AddRectERK6ImVec2S2_jfif(ptr noundef nonnull align 8 dereferenceable(196) %189, ptr noundef nonnull align 4 dereferenceable(8) %194, ptr noundef nonnull align 4 dereferenceable(8) %199, i32 noundef %200, float noundef 0.000000e+00, i32 noundef 0, float noundef 1.000000e+00)
  call void @llvm.lifetime.start.p0(i64 1, ptr %15) #10
  %201 = load ptr, ptr %2, align 8, !tbaa !5
  %202 = getelementptr inbounds %struct.ImPlotSubplot, ptr %201, i32 0, i32 4
  %203 = load ptr, ptr %2, align 8, !tbaa !5
  %204 = getelementptr inbounds %struct.ImPlotSubplot, ptr %203, i32 0, i32 4
  %205 = getelementptr inbounds %struct.ImPlotItemGroup, ptr %204, i32 0, i32 2
  %206 = getelementptr inbounds %struct.ImPlotLegend, ptr %205, i32 0, i32 6
  %207 = load ptr, ptr %2, align 8, !tbaa !5
  %208 = getelementptr inbounds %struct.ImPlotSubplot, ptr %207, i32 0, i32 4
  %209 = getelementptr inbounds %struct.ImPlotItemGroup, ptr %208, i32 0, i32 2
  %210 = getelementptr inbounds %struct.ImPlotLegend, ptr %209, i32 0, i32 7
  %211 = load i8, ptr %210, align 8, !tbaa !58, !range !64, !noundef !65
  %212 = trunc i8 %211 to i1
  %213 = load ptr, ptr %1, align 8, !tbaa !5
  %214 = getelementptr inbounds %struct.ImPlotContext, ptr %213, i32 0, i32 12
  %215 = getelementptr inbounds %struct.ImPlotStyle, ptr %214, i32 0, i32 20
  %216 = load ptr, ptr %1, align 8, !tbaa !5
  %217 = getelementptr inbounds %struct.ImPlotContext, ptr %216, i32 0, i32 12
  %218 = getelementptr inbounds %struct.ImPlotStyle, ptr %217, i32 0, i32 21
  %219 = load i8, ptr %8, align 1, !tbaa !63, !range !64, !noundef !65
  %220 = trunc i8 %219 to i1
  %221 = xor i1 %220, true
  %222 = load ptr, ptr %7, align 8, !tbaa !5
  %223 = call noundef zeroext i1 @_ZN6ImPlot17ShowLegendEntriesER15ImPlotItemGroupRK6ImRectbRK6ImVec2S7_bR10ImDrawList(ptr noundef nonnull align 8 dereferenceable(124) %202, ptr noundef nonnull align 4 dereferenceable(16) %206, i1 noundef zeroext %212, ptr noundef nonnull align 4 dereferenceable(8) %215, ptr noundef nonnull align 4 dereferenceable(8) %218, i1 noundef zeroext %221, ptr noundef nonnull align 8 dereferenceable(196) %222)
  br i1 %223, label %224, label %232

224:                                              ; preds = %162
  %225 = load ptr, ptr %2, align 8, !tbaa !5
  %226 = getelementptr inbounds %struct.ImPlotSubplot, ptr %225, i32 0, i32 4
  %227 = getelementptr inbounds %struct.ImPlotItemGroup, ptr %226, i32 0, i32 2
  %228 = getelementptr inbounds %struct.ImPlotLegend, ptr %227, i32 0, i32 0
  %229 = load i32, ptr %228, align 8, !tbaa !66
  %230 = call noundef zeroext i1 @_ZL9ImHasFlagIi18ImPlotLegendFlags_EbT_T0_(i32 noundef %229, i32 noundef 8)
  %231 = xor i1 %230, true
  br label %232

232:                                              ; preds = %224, %162
  %233 = phi i1 [ false, %162 ], [ %231, %224 ]
  %234 = zext i1 %233 to i8
  store i8 %234, ptr %15, align 1, !tbaa !63
  %235 = load i8, ptr %15, align 1, !tbaa !63, !range !64, !noundef !65
  %236 = trunc i8 %235 to i1
  br i1 %236, label %237, label %254

237:                                              ; preds = %232
  %238 = load ptr, ptr %2, align 8, !tbaa !5
  %239 = getelementptr inbounds %struct.ImPlotSubplot, ptr %238, i32 0, i32 1
  %240 = load i32, ptr %239, align 4, !tbaa !62
  %241 = call noundef zeroext i1 @_ZL9ImHasFlagIi19ImPlotSubplotFlags_EbT_T0_(i32 noundef %240, i32 noundef 4)
  br i1 %241, label %254, label %242

242:                                              ; preds = %237
  %243 = call noundef nonnull align 8 dereferenceable(14280) ptr @_ZN5ImGui5GetIOEv()
  %244 = getelementptr inbounds %struct.ImGuiIO, ptr %243, i32 0, i32 78
  %245 = load ptr, ptr %1, align 8, !tbaa !5
  %246 = getelementptr inbounds %struct.ImPlotContext, ptr %245, i32 0, i32 25
  %247 = getelementptr inbounds %struct.ImPlotInputMap, ptr %246, i32 0, i32 8
  %248 = load i32, ptr %247, align 8, !tbaa !71
  %249 = sext i32 %248 to i64
  %250 = getelementptr inbounds [5 x i8], ptr %244, i64 0, i64 %249
  %251 = load i8, ptr %250, align 1, !tbaa !63, !range !64, !noundef !65
  %252 = trunc i8 %251 to i1
  br i1 %252, label %253, label %254

253:                                              ; preds = %242
  call void @_ZN5ImGui9OpenPopupEPKci(ptr noundef @.str.153, i32 noundef 0)
  br label %254

254:                                              ; preds = %253, %242, %237, %232
  call void @_ZN5ImGui11PopClipRectEv()
  %255 = call noundef zeroext i1 @_ZN5ImGui10BeginPopupEPKci(ptr noundef @.str.153, i32 noundef 0)
  br i1 %255, label %256, label %270

256:                                              ; preds = %254
  call void (ptr, ...) @_ZN5ImGui4TextEPKcz(ptr noundef @.str.124)
  call void @_ZN5ImGui9SeparatorEv()
  %257 = load ptr, ptr %2, align 8, !tbaa !5
  %258 = getelementptr inbounds %struct.ImPlotSubplot, ptr %257, i32 0, i32 4
  %259 = getelementptr inbounds %struct.ImPlotItemGroup, ptr %258, i32 0, i32 2
  %260 = load ptr, ptr %2, align 8, !tbaa !5
  %261 = getelementptr inbounds %struct.ImPlotSubplot, ptr %260, i32 0, i32 1
  %262 = load i32, ptr %261, align 4, !tbaa !62
  %263 = call noundef zeroext i1 @_ZL9ImHasFlagIi12ImPlotFlags_EbT_T0_(i32 noundef %262, i32 noundef 2)
  %264 = xor i1 %263, true
  %265 = call noundef zeroext i1 @_ZN6ImPlot21ShowLegendContextMenuER12ImPlotLegendb(ptr noundef nonnull align 8 dereferenceable(67) %259, i1 noundef zeroext %264)
  br i1 %265, label %266, label %269

266:                                              ; preds = %256
  %267 = load ptr, ptr %2, align 8, !tbaa !5
  %268 = getelementptr inbounds %struct.ImPlotSubplot, ptr %267, i32 0, i32 1
  call void @_ZL10ImFlipFlagIi12ImPlotFlags_EvRT_T0_(ptr noundef nonnull align 4 dereferenceable(4) %268, i32 noundef 2)
  br label %269

269:                                              ; preds = %266, %256
  call void @_ZN5ImGui8EndPopupEv()
  br label %270

270:                                              ; preds = %269, %254
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr %8) #10
  br label %276

271:                                              ; preds = %109, %104, %95
  call void @llvm.lifetime.start.p0(i64 16, ptr %16) #10
  call void @_ZN6ImRectC2Ev(ptr noundef nonnull align 4 dereferenceable(16) %16)
  %272 = load ptr, ptr %2, align 8, !tbaa !5
  %273 = getelementptr inbounds %struct.ImPlotSubplot, ptr %272, i32 0, i32 4
  %274 = getelementptr inbounds %struct.ImPlotItemGroup, ptr %273, i32 0, i32 2
  %275 = getelementptr inbounds %struct.ImPlotLegend, ptr %274, i32 0, i32 6
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %275, ptr align 4 %16, i64 16, i1 false), !tbaa.struct !68
  call void @llvm.lifetime.end.p0(i64 16, ptr %16) #10
  br label %276

276:                                              ; preds = %271, %270
  %277 = load ptr, ptr %1, align 8, !tbaa !5
  %278 = getelementptr inbounds %struct.ImPlotContext, ptr %277, i32 0, i32 4
  %279 = load ptr, ptr %278, align 8, !tbaa !72
  %280 = load ptr, ptr %2, align 8, !tbaa !5
  %281 = getelementptr inbounds %struct.ImPlotSubplot, ptr %280, i32 0, i32 4
  %282 = icmp eq ptr %279, %281
  br i1 %282, label %283, label %286

283:                                              ; preds = %276
  %284 = load ptr, ptr %1, align 8, !tbaa !5
  %285 = getelementptr inbounds %struct.ImPlotContext, ptr %284, i32 0, i32 4
  store ptr null, ptr %285, align 8, !tbaa !72
  br label %286

286:                                              ; preds = %283, %276
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #10
  store i32 0, ptr %17, align 4, !tbaa !44
  br label %287

287:                                              ; preds = %300, %286
  %288 = load i32, ptr %17, align 4, !tbaa !44
  %289 = load ptr, ptr %2, align 8, !tbaa !5
  %290 = getelementptr inbounds %struct.ImPlotSubplot, ptr %289, i32 0, i32 4
  %291 = call noundef i32 @_ZNK15ImPlotItemGroup12GetItemCountEv(ptr noundef nonnull align 8 dereferenceable(124) %290)
  %292 = icmp slt i32 %288, %291
  br i1 %292, label %294, label %293

293:                                              ; preds = %287
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #10
  br label %303

294:                                              ; preds = %287
  %295 = load ptr, ptr %2, align 8, !tbaa !5
  %296 = getelementptr inbounds %struct.ImPlotSubplot, ptr %295, i32 0, i32 4
  %297 = load i32, ptr %17, align 4, !tbaa !44
  %298 = call noundef ptr @_ZN15ImPlotItemGroup14GetItemByIndexEi(ptr noundef nonnull align 8 dereferenceable(124) %296, i32 noundef %297)
  %299 = getelementptr inbounds %struct.ImPlotItem, ptr %298, i32 0, i32 6
  store i8 0, ptr %299, align 2, !tbaa !73
  br label %300

300:                                              ; preds = %294
  %301 = load i32, ptr %17, align 4, !tbaa !44
  %302 = add nsw i32 %301, 1
  store i32 %302, ptr %17, align 4, !tbaa !44
  br label %287, !llvm.loop !74

303:                                              ; preds = %293
  call void @_ZN5ImGui5PopIDEv()
  %304 = load ptr, ptr %2, align 8, !tbaa !5
  %305 = getelementptr inbounds %struct.ImPlotSubplot, ptr %304, i32 0, i32 8
  %306 = getelementptr inbounds %struct.ImRect, ptr %305, i32 0, i32 0
  %307 = load ptr, ptr @GImGui, align 8, !tbaa !5
  %308 = getelementptr inbounds %struct.ImGuiContext, ptr %307, i32 0, i32 29
  %309 = load ptr, ptr %308, align 8, !tbaa !75
  %310 = getelementptr inbounds %struct.ImGuiWindow, ptr %309, i32 0, i32 62
  %311 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %310, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %311, ptr align 4 %306, i64 8, i1 false), !tbaa.struct !129
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #10
  %312 = load ptr, ptr %2, align 8, !tbaa !5
  %313 = getelementptr inbounds %struct.ImPlotSubplot, ptr %312, i32 0, i32 8
  %314 = call <2 x float> @_ZNK6ImRect7GetSizeEv(ptr noundef nonnull align 4 dereferenceable(16) %313)
  store <2 x float> %314, ptr %18, align 4
  call void @_ZN5ImGui5DummyERK6ImVec2(ptr noundef nonnull align 4 dereferenceable(8) %18)
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #10
  %315 = load ptr, ptr @GImPlot, align 8, !tbaa !5
  call void @_ZN6ImPlot22ResetCtxForNextSubplotEP13ImPlotContext(ptr noundef %315)
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr %6) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %2) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %1) #10
  ret void
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN19ImPlotAlignmentData3EndEv(ptr noundef nonnull align 4 dereferenceable(20)) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6ImPlot13PopStyleColorEi(i32 noundef) #5

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6ImPlot11PopStyleVarEi(i32 noundef) #5

declare void @_ZN5ImGui5DummyERK6ImVec2(ptr noundef nonnull align 4 dereferenceable(8)) #7

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree 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 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 #4 = { 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 #5 = { 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 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { "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 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #9 = { noreturn nounwind }
attributes #10 = { 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, !6, i64 88}
!10 = !{!"_ZTS13ImPlotContext", !11, i64 0, !16, i64 40, !6, i64 80, !6, i64 88, !6, i64 96, !6, i64 104, !6, i64 112, !18, i64 120, !24, i64 176, !26, i64 216, !28, i64 256, !29, i64 260, !30, i64 776, !31, i64 792, !32, i64 808, !34, i64 976, !36, i64 992, !38, i64 1048, !38, i64 1064, !34, i64 1080, !13, i64 1096, !13, i64 1100, !39, i64 1104, !40, i64 1336, !41, i64 1464, !28, i64 1512, !20, i64 1520, !6, i64 1536, !42, i64 1544, !6, i64 1584, !6, i64 1592}
!11 = !{!"_ZTS6ImPoolI10ImPlotPlotE", !12, i64 0, !14, i64 16, !13, i64 32, !13, i64 36}
!12 = !{!"_ZTS8ImVectorI10ImPlotPlotE", !13, i64 0, !13, i64 4, !6, i64 8}
!13 = !{!"int", !7, i64 0}
!14 = !{!"_ZTS12ImGuiStorage", !15, i64 0}
!15 = !{!"_ZTS8ImVectorIN12ImGuiStorage16ImGuiStoragePairEE", !13, i64 0, !13, i64 4, !6, i64 8}
!16 = !{!"_ZTS6ImPoolI13ImPlotSubplotE", !17, i64 0, !14, i64 16, !13, i64 32, !13, i64 36}
!17 = !{!"_ZTS8ImVectorI13ImPlotSubplotE", !13, i64 0, !13, i64 4, !6, i64 8}
!18 = !{!"_ZTS12ImPlotTicker", !19, i64 0, !20, i64 16, !22, i64 32, !22, i64 40, !13, i64 48}
!19 = !{!"_ZTS8ImVectorI10ImPlotTickE", !13, i64 0, !13, i64 4, !6, i64 8}
!20 = !{!"_ZTS15ImGuiTextBuffer", !21, i64 0}
!21 = !{!"_ZTS8ImVectorIcE", !13, i64 0, !13, i64 4, !6, i64 8}
!22 = !{!"_ZTS6ImVec2", !23, i64 0, !23, i64 4}
!23 = !{!"float", !7, i64 0}
!24 = !{!"_ZTS26ImPlotAnnotationCollection", !25, i64 0, !20, i64 16, !13, i64 32}
!25 = !{!"_ZTS8ImVectorI16ImPlotAnnotationE", !13, i64 0, !13, i64 4, !6, i64 8}
!26 = !{!"_ZTS19ImPlotTagCollection", !27, i64 0, !20, i64 16, !13, i64 32}
!27 = !{!"_ZTS8ImVectorI9ImPlotTagE", !13, i64 0, !13, i64 4, !6, i64 8}
!28 = !{!"bool", !7, i64 0}
!29 = !{!"_ZTS11ImPlotStyle", !23, i64 0, !13, i64 4, !23, i64 8, !23, i64 12, !23, i64 16, !23, i64 20, !23, i64 24, !23, i64 28, !23, i64 32, !23, i64 36, !23, i64 40, !22, i64 44, !22, i64 52, !22, i64 60, !22, i64 68, !22, i64 76, !22, i64 84, !22, i64 92, !22, i64 100, !22, i64 108, !22, i64 116, !22, i64 124, !22, i64 132, !22, i64 140, !22, i64 148, !22, i64 156, !22, i64 164, !7, i64 172, !13, i64 508, !28, i64 512, !28, i64 513, !28, i64 514}
!30 = !{!"_ZTS8ImVectorI13ImGuiColorModE", !13, i64 0, !13, i64 4, !6, i64 8}
!31 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !13, i64 0, !13, i64 4, !6, i64 8}
!32 = !{!"_ZTS18ImPlotColormapData", !33, i64 0, !34, i64 16, !34, i64 32, !33, i64 48, !34, i64 64, !34, i64 80, !20, i64 96, !34, i64 112, !35, i64 128, !14, i64 144, !13, i64 160}
!33 = !{!"_ZTS8ImVectorIjE", !13, i64 0, !13, i64 4, !6, i64 8}
!34 = !{!"_ZTS8ImVectorIiE", !13, i64 0, !13, i64 4, !6, i64 8}
!35 = !{!"_ZTS8ImVectorIbE", !13, i64 0, !13, i64 4, !6, i64 8}
!36 = !{!"_ZTS2tm", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12, !13, i64 16, !13, i64 20, !13, i64 24, !13, i64 28, !13, i64 32, !37, i64 40, !6, i64 48}
!37 = !{!"long", !7, i64 0}
!38 = !{!"_ZTS8ImVectorIdE", !13, i64 0, !13, i64 4, !6, i64 8}
!39 = !{!"_ZTS18ImPlotNextPlotData", !7, i64 0, !7, i64 24, !7, i64 120, !7, i64 126, !7, i64 136, !7, i64 184}
!40 = !{!"_ZTS18ImPlotNextItemData", !7, i64 0, !23, i64 80, !13, i64 84, !23, i64 88, !23, i64 92, !23, i64 96, !23, i64 100, !23, i64 104, !23, i64 108, !23, i64 112, !28, i64 116, !28, i64 117, !28, i64 118, !28, i64 119, !28, i64 120, !28, i64 121, !13, i64 124}
!41 = !{!"_ZTS14ImPlotInputMap", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12, !13, i64 16, !13, i64 20, !13, i64 24, !13, i64 28, !13, i64 32, !13, i64 36, !13, i64 40, !23, i64 44}
!42 = !{!"_ZTS6ImPoolI19ImPlotAlignmentDataE", !43, i64 0, !14, i64 16, !13, i64 32, !13, i64 36}
!43 = !{!"_ZTS8ImVectorI19ImPlotAlignmentDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!44 = !{!13, !13, i64 0}
!45 = !{!46, !13, i64 144}
!46 = !{!"_ZTS13ImPlotSubplot", !13, i64 0, !13, i64 4, !13, i64 8, !47, i64 16, !13, i64 144, !13, i64 148, !13, i64 152, !49, i64 156, !49, i64 172, !22, i64 188, !43, i64 200, !43, i64 216, !52, i64 232, !52, i64 248, !53, i64 264, !53, i64 280, !7, i64 296, !28, i64 304, !28, i64 305}
!47 = !{!"_ZTS15ImPlotItemGroup", !13, i64 0, !48, i64 8, !50, i64 80, !13, i64 120}
!48 = !{!"_ZTS12ImPlotLegend", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12, !34, i64 16, !20, i64 32, !49, i64 48, !28, i64 64, !28, i64 65, !28, i64 66}
!49 = !{!"_ZTS6ImRect", !22, i64 0, !22, i64 8}
!50 = !{!"_ZTS6ImPoolI10ImPlotItemE", !51, i64 0, !14, i64 16, !13, i64 32, !13, i64 36}
!51 = !{!"_ZTS8ImVectorI10ImPlotItemE", !13, i64 0, !13, i64 4, !6, i64 8}
!52 = !{!"_ZTS8ImVectorIfE", !13, i64 0, !13, i64 4, !6, i64 8}
!53 = !{!"_ZTS8ImVectorI11ImPlotRangeE", !13, i64 0, !13, i64 4, !6, i64 8}
!54 = distinct !{!54, !55}
!55 = !{!"llvm.loop.mustprogress"}
!56 = !{!46, !13, i64 148}
!57 = distinct !{!57, !55}
!58 = !{!46, !28, i64 88}
!59 = !{!60, !28, i64 29}
!60 = !{!"_ZTS10ImPlotItem", !13, i64 0, !13, i64 4, !49, i64 8, !13, i64 24, !28, i64 28, !28, i64 29, !28, i64 30}
!61 = distinct !{!61, !55}
!62 = !{!46, !13, i64 4}
!63 = !{!28, !28, i64 0}
!64 = !{i8 0, i8 2}
!65 = !{}
!66 = !{!46, !13, i64 24}
!67 = !{!46, !13, i64 32}
!68 = !{i64 0, i64 4, !69, i64 4, i64 4, !69, i64 8, i64 4, !69, i64 12, i64 4, !69}
!69 = !{!23, !23, i64 0}
!70 = !{!46, !28, i64 304}
!71 = !{!10, !13, i64 1496}
!72 = !{!10, !6, i64 96}
!73 = !{!60, !28, i64 30}
!74 = distinct !{!74, !55}
!75 = !{!76, !6, i64 16080}
!76 = !{!"_ZTS12ImGuiContext", !28, i64 0, !28, i64 1, !77, i64 8, !81, i64 14288, !6, i64 15360, !23, i64 15368, !23, i64 15372, !82, i64 15376, !85, i64 15904, !13, i64 15912, !13, i64 15916, !13, i64 15920, !28, i64 15924, !28, i64 15925, !28, i64 15926, !28, i64 15927, !28, i64 15928, !6, i64 15936, !86, i64 15944, !86, i64 15960, !78, i64 15976, !13, i64 15980, !87, i64 15984, !87, i64 16000, !87, i64 16016, !88, i64 16032, !14, i64 16048, !13, i64 16064, !22, i64 16068, !6, i64 16080, !6, i64 16088, !6, i64 16096, !6, i64 16104, !6, i64 16112, !22, i64 16120, !13, i64 16128, !23, i64 16132, !22, i64 16136, !22, i64 16144, !13, i64 16152, !13, i64 16156, !13, i64 16160, !28, i64 16164, !28, i64 16165, !23, i64 16168, !23, i64 16172, !13, i64 16176, !13, i64 16180, !23, i64 16184, !28, i64 16188, !28, i64 16189, !28, i64 16190, !28, i64 16191, !28, i64 16192, !28, i64 16193, !22, i64 16196, !6, i64 16208, !89, i64 16216, !13, i64 16220, !13, i64 16224, !28, i64 16228, !28, i64 16229, !6, i64 16232, !13, i64 16240, !23, i64 16244, !7, i64 16248, !90, i64 17928, !13, i64 18240, !28, i64 18244, !13, i64 18248, !13, i64 18252, !13, i64 18256, !13, i64 18260, !92, i64 18264, !93, i64 18284, !94, i64 18344, !30, i64 18456, !31, i64 18472, !95, i64 18488, !33, i64 18504, !34, i64 18520, !96, i64 18536, !97, i64 18552, !97, i64 18568, !13, i64 18584, !98, i64 18592, !6, i64 18608, !13, i64 18616, !13, i64 18620, !13, i64 18624, !13, i64 18628, !13, i64 18632, !13, i64 18636, !13, i64 18640, !13, i64 18644, !13, i64 18648, !13, i64 18652, !13, i64 18656, !89, i64 18660, !99, i64 18664, !28, i64 18668, !28, i64 18669, !28, i64 18670, !28, i64 18671, !28, i64 18672, !28, i64 18673, !28, i64 18674, !13, i64 18676, !49, i64 18680, !28, i64 18696, !28, i64 18697, !28, i64 18698, !13, i64 18700, !13, i64 18704, !13, i64 18708, !13, i64 18712, !13, i64 18716, !13, i64 18720, !49, i64 18724, !49, i64 18740, !13, i64 18756, !13, i64 18760, !13, i64 18764, !100, i64 18768, !100, i64 18816, !100, i64 18864, !100, i64 18912, !13, i64 18960, !13, i64 18964, !6, i64 18968, !6, i64 18976, !6, i64 18984, !23, i64 18992, !23, i64 18996, !28, i64 19000, !22, i64 19004, !22, i64 19012, !23, i64 19020, !13, i64 19024, !28, i64 19028, !28, i64 19029, !28, i64 19030, !13, i64 19032, !13, i64 19036, !13, i64 19040, !101, i64 19048, !49, i64 19112, !13, i64 19128, !13, i64 19132, !23, i64 19136, !13, i64 19140, !13, i64 19144, !13, i64 19148, !13, i64 19152, !102, i64 19160, !7, i64 19176, !13, i64 19192, !103, i64 19200, !6, i64 19216, !13, i64 19224, !104, i64 19232, !105, i64 19248, !52, i64 19288, !107, i64 19304, !6, i64 19320, !108, i64 19328, !110, i64 19368, !111, i64 19384, !13, i64 19400, !13, i64 19404, !23, i64 19408, !23, i64 19412, !22, i64 19416, !112, i64 19424, !115, i64 23152, !116, i64 23176, !13, i64 23296, !13, i64 23300, !13, i64 23304, !13, i64 23308, !23, i64 23312, !23, i64 23316, !13, i64 23320, !83, i64 23324, !118, i64 23340, !23, i64 23388, !23, i64 23392, !28, i64 23396, !28, i64 23397, !23, i64 23400, !23, i64 23404, !23, i64 23408, !23, i64 23412, !79, i64 23416, !79, i64 23418, !21, i64 23424, !33, i64 23440, !119, i64 23456, !119, i64 23472, !7, i64 23488, !28, i64 23489, !23, i64 23492, !20, i64 23496, !120, i64 23512, !121, i64 23528, !122, i64 23544, !123, i64 23560, !13, i64 23576, !7, i64 23584, !28, i64 23640, !124, i64 23644, !6, i64 23648, !20, i64 23656, !6, i64 23672, !6, i64 23680, !23, i64 23688, !28, i64 23692, !13, i64 23696, !13, i64 23700, !13, i64 23704, !13, i64 23708, !20, i64 23712, !125, i64 23728, !7, i64 23752, !7, i64 23753, !7, i64 23754, !28, i64 23755, !7, i64 23756, !13, i64 23760, !126, i64 23764, !127, i64 23784, !7, i64 23824, !13, i64 24064, !13, i64 24068, !23, i64 24072, !13, i64 24076, !13, i64 24080, !13, i64 24084, !21, i64 24088}
!77 = !{!"_ZTS7ImGuiIO", !13, i64 0, !13, i64 4, !22, i64 8, !23, i64 16, !23, i64 20, !6, i64 24, !6, i64 32, !23, i64 40, !23, i64 44, !23, i64 48, !23, i64 52, !23, i64 56, !23, i64 60, !23, i64 64, !6, i64 72, !6, i64 80, !23, i64 88, !28, i64 92, !6, i64 96, !22, i64 104, !28, i64 112, !28, i64 113, !28, i64 114, !28, i64 115, !28, i64 116, !28, i64 117, !28, i64 118, !28, i64 119, !23, i64 120, !28, i64 124, !28, i64 125, !6, i64 128, !6, i64 136, !6, i64 144, !6, i64 152, !6, i64 160, !6, i64 168, !6, i64 176, !6, i64 184, !6, i64 192, !6, i64 200, !28, i64 208, !28, i64 209, !28, i64 210, !28, i64 211, !28, i64 212, !28, i64 213, !28, i64 214, !23, i64 216, !13, i64 220, !13, i64 224, !13, i64 228, !13, i64 232, !13, i64 236, !22, i64 240, !7, i64 248, !7, i64 2856, !7, i64 3508, !6, i64 3576, !22, i64 3584, !7, i64 3592, !23, i64 3600, !23, i64 3604, !78, i64 3608, !28, i64 3612, !28, i64 3613, !28, i64 3614, !28, i64 3615, !13, i64 3616, !7, i64 3620, !28, i64 14052, !22, i64 14056, !7, i64 14064, !7, i64 14104, !7, i64 14144, !7, i64 14149, !7, i64 14154, !7, i64 14164, !7, i64 14174, !7, i64 14179, !7, i64 14184, !28, i64 14189, !7, i64 14192, !7, i64 14212, !7, i64 14232, !23, i64 14252, !28, i64 14256, !28, i64 14257, !7, i64 14258, !28, i64 14259, !79, i64 14260, !80, i64 14264}
!78 = !{!"_ZTS16ImGuiMouseSource", !7, i64 0}
!79 = !{!"short", !7, i64 0}
!80 = !{!"_ZTS8ImVectorItE", !13, i64 0, !13, i64 4, !6, i64 8}
!81 = !{!"_ZTS10ImGuiStyle", !23, i64 0, !23, i64 4, !22, i64 8, !23, i64 16, !23, i64 20, !22, i64 24, !22, i64 32, !13, i64 40, !23, i64 44, !23, i64 48, !23, i64 52, !23, i64 56, !22, i64 60, !23, i64 68, !23, i64 72, !22, i64 76, !22, i64 84, !22, i64 92, !22, i64 100, !23, i64 108, !23, i64 112, !23, i64 116, !23, i64 120, !23, i64 124, !23, i64 128, !23, i64 132, !23, i64 136, !23, i64 140, !23, i64 144, !13, i64 148, !22, i64 152, !22, i64 160, !23, i64 168, !22, i64 172, !22, i64 180, !22, i64 188, !22, i64 196, !23, i64 204, !28, i64 208, !28, i64 209, !28, i64 210, !23, i64 212, !23, i64 216, !7, i64 220}
!82 = !{!"_ZTS20ImDrawListSharedData", !22, i64 0, !6, i64 8, !23, i64 16, !23, i64 20, !23, i64 24, !83, i64 28, !13, i64 44, !84, i64 48, !7, i64 64, !23, i64 448, !7, i64 452, !6, i64 520}
!83 = !{!"_ZTS6ImVec4", !23, i64 0, !23, i64 4, !23, i64 8, !23, i64 12}
!84 = !{!"_ZTS8ImVectorI6ImVec2E", !13, i64 0, !13, i64 4, !6, i64 8}
!85 = !{!"double", !7, i64 0}
!86 = !{!"_ZTS8ImVectorI15ImGuiInputEventE", !13, i64 0, !13, i64 4, !6, i64 8}
!87 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !13, i64 0, !13, i64 4, !6, i64 8}
!88 = !{!"_ZTS8ImVectorI20ImGuiWindowStackDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!89 = !{!"_ZTS16ImGuiInputSource", !7, i64 0}
!90 = !{!"_ZTS20ImGuiKeyRoutingTable", !7, i64 0, !91, i64 280, !91, i64 296}
!91 = !{!"_ZTS8ImVectorI19ImGuiKeyRoutingDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!92 = !{!"_ZTS17ImGuiNextItemData", !13, i64 0, !23, i64 4, !13, i64 8, !13, i64 12, !28, i64 16}
!93 = !{!"_ZTS17ImGuiLastItemData", !13, i64 0, !13, i64 4, !13, i64 8, !49, i64 12, !49, i64 28, !49, i64 44}
!94 = !{!"_ZTS19ImGuiNextWindowData", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12, !22, i64 16, !22, i64 24, !22, i64 32, !22, i64 40, !22, i64 48, !28, i64 56, !49, i64 60, !6, i64 80, !6, i64 88, !23, i64 96, !22, i64 100}
!95 = !{!"_ZTS8ImVectorIP6ImFontE", !13, i64 0, !13, i64 4, !6, i64 8}
!96 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!97 = !{!"_ZTS8ImVectorI14ImGuiPopupDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!98 = !{!"_ZTS8ImVectorIP14ImGuiViewportPE", !13, i64 0, !13, i64 4, !6, i64 8}
!99 = !{!"_ZTS13ImGuiNavLayer", !7, i64 0}
!100 = !{!"_ZTS16ImGuiNavItemData", !6, i64 0, !13, i64 8, !13, i64 12, !49, i64 16, !13, i64 32, !23, i64 36, !23, i64 40, !23, i64 44}
!101 = !{!"_ZTS12ImGuiPayload", !6, i64 0, !13, i64 8, !13, i64 12, !13, i64 16, !13, i64 20, !7, i64 24, !28, i64 57, !28, i64 58}
!102 = !{!"_ZTS8ImVectorIhE", !13, i64 0, !13, i64 4, !6, i64 8}
!103 = !{!"_ZTS8ImVectorI20ImGuiListClipperDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!104 = !{!"_ZTS8ImVectorI18ImGuiTableTempDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!105 = !{!"_ZTS6ImPoolI10ImGuiTableE", !106, i64 0, !14, i64 16, !13, i64 32, !13, i64 36}
!106 = !{!"_ZTS8ImVectorI10ImGuiTableE", !13, i64 0, !13, i64 4, !6, i64 8}
!107 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !13, i64 0, !13, i64 4, !6, i64 8}
!108 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !109, i64 0, !14, i64 16, !13, i64 32, !13, i64 36}
!109 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !13, i64 0, !13, i64 4, !6, i64 8}
!110 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !13, i64 0, !13, i64 4, !6, i64 8}
!111 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !13, i64 0, !13, i64 4, !6, i64 8}
!112 = !{!"_ZTS19ImGuiInputTextState", !6, i64 0, !13, i64 8, !13, i64 12, !13, i64 16, !80, i64 24, !21, i64 40, !21, i64 56, !28, i64 72, !13, i64 76, !23, i64 80, !113, i64 84, !23, i64 3712, !28, i64 3716, !28, i64 3717, !28, i64 3718, !13, i64 3720}
!113 = !{!"_ZTSN5ImStb17STB_TexteditStateE", !13, i64 0, !13, i64 4, !13, i64 8, !7, i64 12, !13, i64 16, !7, i64 20, !7, i64 21, !7, i64 22, !7, i64 23, !7, i64 24, !7, i64 25, !7, i64 26, !23, i64 28, !114, i64 32}
!114 = !{!"_ZTSN5ImStb12StbUndoStateE", !7, i64 0, !7, i64 1584, !79, i64 3582, !79, i64 3584, !13, i64 3588, !13, i64 3592}
!115 = !{!"_ZTS30ImGuiInputTextDeactivatedState", !13, i64 0, !21, i64 8}
!116 = !{!"_ZTS6ImFont", !52, i64 0, !23, i64 16, !23, i64 20, !80, i64 24, !117, i64 40, !6, i64 56, !6, i64 64, !6, i64 72, !79, i64 80, !79, i64 82, !79, i64 84, !79, i64 86, !23, i64 88, !23, i64 92, !28, i64 96, !23, i64 100, !23, i64 104, !23, i64 108, !13, i64 112, !7, i64 116}
!117 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !13, i64 0, !13, i64 4, !6, i64 8}
!118 = !{!"_ZTS21ImGuiComboPreviewData", !49, i64 0, !22, i64 16, !22, i64 24, !22, i64 32, !23, i64 40, !13, i64 44}
!119 = !{!"_ZTS20ImGuiPlatformImeData", !28, i64 0, !22, i64 4, !23, i64 12}
!120 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !13, i64 0, !13, i64 4, !6, i64 8}
!121 = !{!"_ZTS13ImChunkStreamI19ImGuiWindowSettingsE", !21, i64 0}
!122 = !{!"_ZTS13ImChunkStreamI18ImGuiTableSettingsE", !21, i64 0}
!123 = !{!"_ZTS8ImVectorI16ImGuiContextHookE", !13, i64 0, !13, i64 4, !6, i64 8}
!124 = !{!"_ZTS12ImGuiLogType", !7, i64 0}
!125 = !{!"_ZTS14ImGuiTextIndex", !34, i64 0, !13, i64 16}
!126 = !{!"_ZTS18ImGuiMetricsConfig", !28, i64 0, !28, i64 1, !28, i64 2, !28, i64 3, !28, i64 4, !28, i64 5, !28, i64 6, !28, i64 7, !13, i64 8, !13, i64 12}
!127 = !{!"_ZTS14ImGuiStackTool", !13, i64 0, !13, i64 4, !13, i64 8, !128, i64 16, !28, i64 32, !23, i64 36}
!128 = !{!"_ZTS8ImVectorI19ImGuiStackLevelInfoE", !13, i64 0, !13, i64 4, !6, i64 8}
!129 = !{i64 0, i64 4, !69, i64 4, i64 4, !69}


; 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.ImVec2 = type { float, float }
%struct.ImRect = type { %struct.ImVec2, %struct.ImVec2 }

@GImPlot = external dso_local local_unnamed_addr global ptr, align 8
@GImGui = external local_unnamed_addr global ptr, align 8
@.str.78 = external hidden unnamed_addr constant [118 x i8], align 1
@.str.124 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.144 = external hidden unnamed_addr constant [115 x i8], align 1
@.str.153 = external hidden unnamed_addr constant [16 x i8], align 1
@__PRETTY_FUNCTION__._ZN6ImPlot11EndSubplotsEv = external hidden unnamed_addr constant [27 x i8], align 1
@.str.161 = external hidden unnamed_addr constant [78 x i8], align 1

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

; Function Attrs: mustprogress 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) #1

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden <2 x float> @_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 void @_ZN6ImPlot22ResetCtxForNextSubplotEP13ImPlotContext(ptr noundef) local_unnamed_addr #3

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

; Function Attrs: mustprogress uwtable
declare dso_local <2 x float> @_ZN6ImPlot14CalcLegendSizeER15ImPlotItemGroupRK6ImVec2S4_b(ptr noundef nonnull align 8 dereferenceable(124), ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8), i1 noundef zeroext) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZNK15ImPlotItemGroup14GetLegendCountEv(ptr noundef nonnull align 8 dereferenceable(124)) local_unnamed_addr #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN6ImPlot17ShowLegendEntriesER15ImPlotItemGroupRK6ImRectbRK6ImVec2S7_bR10ImDrawList(ptr noundef nonnull align 8 dereferenceable(124), ptr noundef nonnull align 4 dereferenceable(16), i1 noundef zeroext, ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8), i1 noundef zeroext, ptr noundef nonnull align 8 dereferenceable(196)) local_unnamed_addr #4

; Function Attrs: inlinehint mustprogress uwtable
declare hidden noundef i32 @_ZN6ImPlotL16GetStyleColorU32Ei(i32 noundef) local_unnamed_addr #2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef zeroext i1 @_ZL9ImHasFlagIi18ImPlotLegendFlags_EbT_T0_(i32 noundef, i32 noundef) local_unnamed_addr #6

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

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

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

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

declare void @_ZN5ImGui9SeparatorEv() local_unnamed_addr #7

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN6ImPlot21ShowLegendContextMenuER12ImPlotLegendb(ptr noundef nonnull align 8 dereferenceable(67), i1 noundef zeroext) local_unnamed_addr #5

declare void @_ZN5ImGui11PopStyleVarEi(i32 noundef) local_unnamed_addr #7

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef zeroext i1 @_ZL9ImHasFlagIi19ImPlotSubplotFlags_EbT_T0_(i32 noundef, i32 noundef) local_unnamed_addr #6

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef zeroext i1 @_ZL9ImHasFlagIi12ImPlotFlags_EbT_T0_(i32 noundef, i32 noundef) local_unnamed_addr #6

declare void @_ZN5ImGui5PopIDEv() local_unnamed_addr #7

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden void @_ZL10ImFlipFlagIi12ImPlotFlags_EvRT_T0_(ptr noundef nonnull align 4 dereferenceable(4), i32 noundef) local_unnamed_addr #6

declare noundef nonnull align 8 dereferenceable(14280) ptr @_ZN5ImGui5GetIOEv() local_unnamed_addr #7

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

declare void @_ZN5ImGui12PushClipRectERK6ImVec2S2_b(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8), i1 noundef zeroext) local_unnamed_addr #7

declare void @_ZN5ImGui11PopClipRectEv() local_unnamed_addr #7

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZNK15ImPlotItemGroup12GetItemCountEv(ptr noundef nonnull align 8 dereferenceable(124)) local_unnamed_addr #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN15ImPlotItemGroup14GetItemByIndexEi(ptr noundef nonnull align 8 dereferenceable(124), i32 noundef) local_unnamed_addr #5 align 2

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

declare void @_ZN5ImGui9OpenPopupEPKci(ptr noundef, i32 noundef) local_unnamed_addr #7

declare noundef zeroext i1 @_ZN5ImGui10BeginPopupEPKci(ptr noundef, i32 noundef) local_unnamed_addr #7

declare void @_ZN5ImGui4TextEPKcz(ptr noundef, ...) local_unnamed_addr #7

declare void @_ZN5ImGui8EndPopupEv() local_unnamed_addr #7

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

declare noundef ptr @_ZN5ImGui17GetWindowDrawListEv() local_unnamed_addr #7

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN6ImPlot11EndSubplotsEv() local_unnamed_addr #4 {
  %1 = alloca %struct.ImVec2, align 8
  %2 = alloca %struct.ImVec2, align 8
  %3 = alloca %struct.ImRect, align 4
  %4 = alloca %struct.ImVec2, align 8
  %5 = alloca %struct.ImRect, align 4
  %6 = alloca %struct.ImVec2, align 8
  %7 = load ptr, ptr @GImPlot, align 8, !tbaa !5
  %.not = icmp eq ptr %7, null
  br i1 %.not, label %8, label %9

8:                                                ; preds = %0
  tail call void @__assert_fail(ptr noundef nonnull @.str.144, ptr noundef nonnull @.str.78, i32 noundef 3502, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN6ImPlot11EndSubplotsEv) #9
  unreachable

9:                                                ; preds = %0
  %10 = getelementptr inbounds i8, ptr %7, i64 88
  %11 = load ptr, ptr %10, align 8, !tbaa !9
  %.not74 = icmp eq ptr %11, null
  br i1 %.not74, label %16, label %.preheader75

.preheader75:                                     ; preds = %9
  %12 = getelementptr inbounds i8, ptr %11, i64 144
  %13 = load i32, ptr %12, align 8, !tbaa !44
  %14 = icmp sgt i32 %13, 0
  br i1 %14, label %.lr.ph, label %.preheader

.lr.ph:                                           ; preds = %.preheader75
  %15 = getelementptr inbounds i8, ptr %11, i64 200
  br label %21

16:                                               ; preds = %9
  tail call void @__assert_fail(ptr noundef nonnull @.str.161, ptr noundef nonnull @.str.78, i32 noundef 3504, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN6ImPlot11EndSubplotsEv) #9
  unreachable

.preheader:                                       ; preds = %21, %.preheader75
  %17 = getelementptr inbounds i8, ptr %11, i64 148
  %18 = load i32, ptr %17, align 4, !tbaa !53
  %19 = icmp sgt i32 %18, 0
  br i1 %19, label %.lr.ph78, label %._crit_edge

.lr.ph78:                                         ; preds = %.preheader
  %20 = getelementptr inbounds i8, ptr %11, i64 216
  br label %31

21:                                               ; preds = %.lr.ph, %21
  %.06976 = phi i32 [ 0, %.lr.ph ], [ %23, %21 ]
  %22 = tail call noundef nonnull align 4 dereferenceable(20) ptr @_ZN8ImVectorI19ImPlotAlignmentDataEixEi(ptr noundef nonnull align 8 dereferenceable(16) %15, i32 noundef %.06976)
  tail call void @_ZN19ImPlotAlignmentData3EndEv(ptr noundef nonnull align 4 dereferenceable(20) %22)
  %23 = add nuw nsw i32 %.06976, 1
  %24 = load i32, ptr %12, align 8, !tbaa !44
  %25 = icmp slt i32 %23, %24
  br i1 %25, label %21, label %.preheader, !llvm.loop !54

._crit_edge:                                      ; preds = %31, %.preheader
  tail call void @_ZN6ImPlot13PopStyleColorEi(i32 noundef 1)
  tail call void @_ZN6ImPlot11PopStyleVarEi(i32 noundef 1)
  tail call void @_ZN6ImPlot11PopStyleVarEi(i32 noundef 1)
  tail call void @_ZN5ImGui11PopStyleVarEi(i32 noundef 1)
  %26 = getelementptr inbounds i8, ptr %11, i64 16
  %27 = getelementptr inbounds i8, ptr %11, i64 24
  %28 = getelementptr inbounds i8, ptr %11, i64 88
  store i8 0, ptr %28, align 8, !tbaa !56
  %29 = tail call noundef i32 @_ZNK15ImPlotItemGroup12GetItemCountEv(ptr noundef nonnull align 8 dereferenceable(124) %26)
  %30 = icmp sgt i32 %29, 0
  br i1 %30, label %.lr.ph81, label %._crit_edge82

31:                                               ; preds = %.lr.ph78, %31
  %.07077 = phi i32 [ 0, %.lr.ph78 ], [ %33, %31 ]
  %32 = tail call noundef nonnull align 4 dereferenceable(20) ptr @_ZN8ImVectorI19ImPlotAlignmentDataEixEi(ptr noundef nonnull align 8 dereferenceable(16) %20, i32 noundef %.07077)
  tail call void @_ZN19ImPlotAlignmentData3EndEv(ptr noundef nonnull align 4 dereferenceable(20) %32)
  %33 = add nuw nsw i32 %.07077, 1
  %34 = load i32, ptr %17, align 4, !tbaa !53
  %35 = icmp slt i32 %33, %34
  br i1 %35, label %31, label %._crit_edge, !llvm.loop !57

._crit_edge82:                                    ; preds = %.lr.ph81, %._crit_edge
  %36 = getelementptr inbounds i8, ptr %11, i64 4
  %37 = load i32, ptr %36, align 4, !tbaa !58
  %38 = tail call noundef zeroext i1 @_ZL9ImHasFlagIi19ImPlotSubplotFlags_EbT_T0_(i32 noundef %37, i32 noundef 32)
  %39 = tail call noundef ptr @_ZN5ImGui17GetWindowDrawListEv()
  br i1 %38, label %45, label %107

.lr.ph81:                                         ; preds = %._crit_edge, %.lr.ph81
  %.07179 = phi i32 [ %42, %.lr.ph81 ], [ 0, %._crit_edge ]
  %40 = tail call noundef ptr @_ZN15ImPlotItemGroup14GetItemByIndexEi(ptr noundef nonnull align 8 dereferenceable(124) %26, i32 noundef %.07179)
  %41 = getelementptr inbounds i8, ptr %40, i64 29
  store i8 0, ptr %41, align 1, !tbaa !59
  %42 = add nuw nsw i32 %.07179, 1
  %43 = tail call noundef i32 @_ZNK15ImPlotItemGroup12GetItemCountEv(ptr noundef nonnull align 8 dereferenceable(124) %26)
  %44 = icmp slt i32 %42, %43
  br i1 %44, label %.lr.ph81, label %._crit_edge82, !llvm.loop !61

45:                                               ; preds = %._crit_edge82
  %46 = load i32, ptr %36, align 4, !tbaa !58
  %47 = tail call noundef zeroext i1 @_ZL9ImHasFlagIi19ImPlotSubplotFlags_EbT_T0_(i32 noundef %46, i32 noundef 2)
  br i1 %47, label %107, label %48

48:                                               ; preds = %45
  %49 = tail call noundef i32 @_ZNK15ImPlotItemGroup14GetLegendCountEv(ptr noundef nonnull align 8 dereferenceable(124) %26)
  %50 = icmp sgt i32 %49, 0
  br i1 %50, label %51, label %107

51:                                               ; preds = %48
  %52 = load i32, ptr %27, align 8, !tbaa !62
  %53 = tail call noundef zeroext i1 @_ZL9ImHasFlagIi18ImPlotLegendFlags_EbT_T0_(i32 noundef %52, i32 noundef 32)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %1) #10
  %54 = getelementptr inbounds i8, ptr %7, i64 376
  %55 = getelementptr inbounds i8, ptr %7, i64 384
  %56 = xor i1 %53, true
  %57 = tail call <2 x float> @_ZN6ImPlot14CalcLegendSizeER15ImPlotItemGroupRK6ImVec2S4_b(ptr noundef nonnull align 8 dereferenceable(124) %26, ptr noundef nonnull align 4 dereferenceable(8) %54, ptr noundef nonnull align 4 dereferenceable(8) %55, i1 noundef zeroext %56)
  store <2 x float> %57, ptr %1, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #10
  %58 = getelementptr inbounds i8, ptr %11, i64 156
  %59 = getelementptr inbounds i8, ptr %11, i64 32
  %60 = load i32, ptr %59, align 8, !tbaa !63
  %61 = getelementptr inbounds i8, ptr %7, i64 352
  %62 = call <2 x float> @_ZN6ImPlot14GetLocationPosERK6ImRectRK6ImVec2iS5_(ptr noundef nonnull align 4 dereferenceable(16) %58, ptr noundef nonnull align 4 dereferenceable(8) %1, i32 noundef %60, ptr noundef nonnull align 4 dereferenceable(8) %61)
  store <2 x float> %62, ptr %2, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #10
  %63 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %2, ptr noundef nonnull align 4 dereferenceable(8) %1)
  store <2 x float> %63, ptr %4, align 8
  call void @_ZN6ImRectC2ERK6ImVec2S2_(ptr noundef nonnull align 4 dereferenceable(16) %3, ptr noundef nonnull align 4 dereferenceable(8) %2, ptr noundef nonnull align 4 dereferenceable(8) %4)
  %64 = getelementptr inbounds i8, ptr %11, i64 72
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %64, ptr noundef nonnull align 4 dereferenceable(16) %3, i64 16, i1 false), !tbaa.struct !64
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #10
  %65 = getelementptr inbounds i8, ptr %11, i64 304
  %66 = load i8, ptr %65, align 8, !tbaa !66, !range !67, !noundef !68
  %67 = trunc nuw i8 %66 to i1
  br i1 %67, label %68, label %73

68:                                               ; preds = %51
  %69 = call noundef nonnull align 8 dereferenceable(14280) ptr @_ZN5ImGui5GetIOEv()
  %70 = getelementptr inbounds i8, ptr %69, i64 3584
  %71 = call noundef zeroext i1 @_ZNK6ImRect8ContainsERK6ImVec2(ptr noundef nonnull align 4 dereferenceable(16) %64, ptr noundef nonnull align 4 dereferenceable(8) %70)
  %72 = zext i1 %71 to i8
  br label %73

73:                                               ; preds = %68, %51
  %74 = phi i8 [ 0, %51 ], [ %72, %68 ]
  store i8 %74, ptr %28, align 8, !tbaa !56
  %75 = getelementptr inbounds i8, ptr %11, i64 164
  call void @_ZN5ImGui12PushClipRectERK6ImVec2S2_b(ptr noundef nonnull align 4 dereferenceable(8) %58, ptr noundef nonnull align 4 dereferenceable(8) %75, i1 noundef zeroext true)
  %76 = call noundef i32 @_ZN6ImPlotL16GetStyleColorU32Ei(i32 noundef 8)
  %77 = call noundef i32 @_ZN6ImPlotL16GetStyleColorU32Ei(i32 noundef 9)
  %78 = getelementptr inbounds i8, ptr %11, i64 80
  call void @_ZN10ImDrawList13AddRectFilledERK6ImVec2S2_jfi(ptr noundef nonnull align 8 dereferenceable(196) %39, ptr noundef nonnull align 4 dereferenceable(8) %64, ptr noundef nonnull align 4 dereferenceable(8) %78, i32 noundef %76, float noundef 0.000000e+00, i32 noundef 0)
  call void @_ZN10ImDrawList7AddRectERK6ImVec2S2_jfif(ptr noundef nonnull align 8 dereferenceable(196) %39, ptr noundef nonnull align 4 dereferenceable(8) %64, ptr noundef nonnull align 4 dereferenceable(8) %78, i32 noundef %77, float noundef 0.000000e+00, i32 noundef 0, float noundef 1.000000e+00)
  %79 = load i8, ptr %28, align 8, !tbaa !56, !range !67, !noundef !68
  %80 = trunc nuw i8 %79 to i1
  %81 = call noundef zeroext i1 @_ZN6ImPlot17ShowLegendEntriesER15ImPlotItemGroupRK6ImRectbRK6ImVec2S7_bR10ImDrawList(ptr noundef nonnull align 8 dereferenceable(124) %26, ptr noundef nonnull align 4 dereferenceable(16) %64, i1 noundef zeroext %80, ptr noundef nonnull align 4 dereferenceable(8) %54, ptr noundef nonnull align 4 dereferenceable(8) %55, i1 noundef zeroext %56, ptr noundef nonnull align 8 dereferenceable(196) %39)
  br i1 %81, label %82, label %.critedge

82:                                               ; preds = %73
  %83 = load i32, ptr %27, align 8, !tbaa !62
  %84 = call noundef zeroext i1 @_ZL9ImHasFlagIi18ImPlotLegendFlags_EbT_T0_(i32 noundef %83, i32 noundef 8)
  br i1 %84, label %.critedge, label %85

85:                                               ; preds = %82
  %86 = load i32, ptr %36, align 4, !tbaa !58
  %87 = call noundef zeroext i1 @_ZL9ImHasFlagIi19ImPlotSubplotFlags_EbT_T0_(i32 noundef %86, i32 noundef 4)
  br i1 %87, label %.critedge, label %88

88:                                               ; preds = %85
  %89 = call noundef nonnull align 8 dereferenceable(14280) ptr @_ZN5ImGui5GetIOEv()
  %90 = getelementptr inbounds i8, ptr %89, i64 14174
  %91 = getelementptr inbounds i8, ptr %7, i64 1496
  %92 = load i32, ptr %91, align 8, !tbaa !69
  %93 = sext i32 %92 to i64
  %94 = getelementptr inbounds [5 x i8], ptr %90, i64 0, i64 %93
  %95 = load i8, ptr %94, align 1, !tbaa !70, !range !67, !noundef !68
  %96 = trunc nuw i8 %95 to i1
  br i1 %96, label %97, label %.critedge

97:                                               ; preds = %88
  call void @_ZN5ImGui9OpenPopupEPKci(ptr noundef nonnull @.str.153, i32 noundef 0)
  br label %.critedge

.critedge:                                        ; preds = %73, %97, %88, %85, %82
  call void @_ZN5ImGui11PopClipRectEv()
  %98 = call noundef zeroext i1 @_ZN5ImGui10BeginPopupEPKci(ptr noundef nonnull @.str.153, i32 noundef 0)
  br i1 %98, label %99, label %106

99:                                               ; preds = %.critedge
  call void (ptr, ...) @_ZN5ImGui4TextEPKcz(ptr noundef nonnull @.str.124)
  call void @_ZN5ImGui9SeparatorEv()
  %100 = load i32, ptr %36, align 4, !tbaa !58
  %101 = call noundef zeroext i1 @_ZL9ImHasFlagIi12ImPlotFlags_EbT_T0_(i32 noundef %100, i32 noundef 2)
  %102 = xor i1 %101, true
  %103 = call noundef zeroext i1 @_ZN6ImPlot21ShowLegendContextMenuER12ImPlotLegendb(ptr noundef nonnull align 8 dereferenceable(67) %27, i1 noundef zeroext %102)
  br i1 %103, label %104, label %105

104:                                              ; preds = %99
  call void @_ZL10ImFlipFlagIi12ImPlotFlags_EvRT_T0_(ptr noundef nonnull align 4 dereferenceable(4) %36, i32 noundef 2)
  br label %105

105:                                              ; preds = %104, %99
  call void @_ZN5ImGui8EndPopupEv()
  br label %106

106:                                              ; preds = %105, %.critedge
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #10
  br label %109

107:                                              ; preds = %48, %45, %._crit_edge82
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #10
  call void @_ZN6ImRectC2Ev(ptr noundef nonnull align 4 dereferenceable(16) %5)
  %108 = getelementptr inbounds i8, ptr %11, i64 72
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %108, ptr noundef nonnull align 4 dereferenceable(16) %5, i64 16, i1 false), !tbaa.struct !64
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #10
  br label %109

109:                                              ; preds = %107, %106
  %110 = getelementptr inbounds i8, ptr %7, i64 96
  %111 = load ptr, ptr %110, align 8, !tbaa !71
  %112 = icmp eq ptr %111, %26
  br i1 %112, label %113, label %114

113:                                              ; preds = %109
  store ptr null, ptr %110, align 8, !tbaa !71
  br label %114

114:                                              ; preds = %113, %109
  %115 = call noundef i32 @_ZNK15ImPlotItemGroup12GetItemCountEv(ptr noundef nonnull align 8 dereferenceable(124) %26)
  %116 = icmp sgt i32 %115, 0
  br i1 %116, label %.lr.ph85, label %._crit_edge86

._crit_edge86:                                    ; preds = %.lr.ph85, %114
  call void @_ZN5ImGui5PopIDEv()
  %117 = getelementptr inbounds i8, ptr %11, i64 156
  %118 = load ptr, ptr @GImGui, align 8, !tbaa !5
  %119 = getelementptr inbounds i8, ptr %118, i64 16080
  %120 = load ptr, ptr %119, align 8, !tbaa !72
  %121 = getelementptr inbounds i8, ptr %120, i64 256
  %122 = load i64, ptr %117, align 4
  store i64 %122, ptr %121, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #10
  %123 = call <2 x float> @_ZNK6ImRect7GetSizeEv(ptr noundef nonnull align 4 dereferenceable(16) %117)
  store <2 x float> %123, ptr %6, align 8
  call void @_ZN5ImGui5DummyERK6ImVec2(ptr noundef nonnull align 4 dereferenceable(8) %6)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #10
  %124 = load ptr, ptr @GImPlot, align 8, !tbaa !5
  call void @_ZN6ImPlot22ResetCtxForNextSubplotEP13ImPlotContext(ptr noundef %124)
  ret void

.lr.ph85:                                         ; preds = %114, %.lr.ph85
  %.083 = phi i32 [ %127, %.lr.ph85 ], [ 0, %114 ]
  %125 = call noundef ptr @_ZN15ImPlotItemGroup14GetItemByIndexEi(ptr noundef nonnull align 8 dereferenceable(124) %26, i32 noundef %.083)
  %126 = getelementptr inbounds i8, ptr %125, i64 30
  store i8 0, ptr %126, align 2, !tbaa !126
  %127 = add nuw nsw i32 %.083, 1
  %128 = call noundef i32 @_ZNK15ImPlotItemGroup12GetItemCountEv(ptr noundef nonnull align 8 dereferenceable(124) %26)
  %129 = icmp slt i32 %127, %128
  br i1 %129, label %.lr.ph85, label %._crit_edge86, !llvm.loop !127
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN19ImPlotAlignmentData3EndEv(ptr noundef nonnull align 4 dereferenceable(20)) local_unnamed_addr #3 align 2

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

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

declare void @_ZN5ImGui5DummyERK6ImVec2(ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #7

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nocallback nofree 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 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 #4 = { 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 #5 = { 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 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { "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 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #9 = { noreturn nounwind }
attributes #10 = { 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, !6, i64 88}
!10 = !{!"_ZTS13ImPlotContext", !11, i64 0, !16, i64 40, !6, i64 80, !6, i64 88, !6, i64 96, !6, i64 104, !6, i64 112, !18, i64 120, !24, i64 176, !26, i64 216, !28, i64 256, !29, i64 260, !30, i64 776, !31, i64 792, !32, i64 808, !34, i64 976, !36, i64 992, !38, i64 1048, !38, i64 1064, !34, i64 1080, !13, i64 1096, !13, i64 1100, !39, i64 1104, !40, i64 1336, !41, i64 1464, !28, i64 1512, !20, i64 1520, !6, i64 1536, !42, i64 1544, !6, i64 1584, !6, i64 1592}
!11 = !{!"_ZTS6ImPoolI10ImPlotPlotE", !12, i64 0, !14, i64 16, !13, i64 32, !13, i64 36}
!12 = !{!"_ZTS8ImVectorI10ImPlotPlotE", !13, i64 0, !13, i64 4, !6, i64 8}
!13 = !{!"int", !7, i64 0}
!14 = !{!"_ZTS12ImGuiStorage", !15, i64 0}
!15 = !{!"_ZTS8ImVectorIN12ImGuiStorage16ImGuiStoragePairEE", !13, i64 0, !13, i64 4, !6, i64 8}
!16 = !{!"_ZTS6ImPoolI13ImPlotSubplotE", !17, i64 0, !14, i64 16, !13, i64 32, !13, i64 36}
!17 = !{!"_ZTS8ImVectorI13ImPlotSubplotE", !13, i64 0, !13, i64 4, !6, i64 8}
!18 = !{!"_ZTS12ImPlotTicker", !19, i64 0, !20, i64 16, !22, i64 32, !22, i64 40, !13, i64 48}
!19 = !{!"_ZTS8ImVectorI10ImPlotTickE", !13, i64 0, !13, i64 4, !6, i64 8}
!20 = !{!"_ZTS15ImGuiTextBuffer", !21, i64 0}
!21 = !{!"_ZTS8ImVectorIcE", !13, i64 0, !13, i64 4, !6, i64 8}
!22 = !{!"_ZTS6ImVec2", !23, i64 0, !23, i64 4}
!23 = !{!"float", !7, i64 0}
!24 = !{!"_ZTS26ImPlotAnnotationCollection", !25, i64 0, !20, i64 16, !13, i64 32}
!25 = !{!"_ZTS8ImVectorI16ImPlotAnnotationE", !13, i64 0, !13, i64 4, !6, i64 8}
!26 = !{!"_ZTS19ImPlotTagCollection", !27, i64 0, !20, i64 16, !13, i64 32}
!27 = !{!"_ZTS8ImVectorI9ImPlotTagE", !13, i64 0, !13, i64 4, !6, i64 8}
!28 = !{!"bool", !7, i64 0}
!29 = !{!"_ZTS11ImPlotStyle", !23, i64 0, !13, i64 4, !23, i64 8, !23, i64 12, !23, i64 16, !23, i64 20, !23, i64 24, !23, i64 28, !23, i64 32, !23, i64 36, !23, i64 40, !22, i64 44, !22, i64 52, !22, i64 60, !22, i64 68, !22, i64 76, !22, i64 84, !22, i64 92, !22, i64 100, !22, i64 108, !22, i64 116, !22, i64 124, !22, i64 132, !22, i64 140, !22, i64 148, !22, i64 156, !22, i64 164, !7, i64 172, !13, i64 508, !28, i64 512, !28, i64 513, !28, i64 514}
!30 = !{!"_ZTS8ImVectorI13ImGuiColorModE", !13, i64 0, !13, i64 4, !6, i64 8}
!31 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !13, i64 0, !13, i64 4, !6, i64 8}
!32 = !{!"_ZTS18ImPlotColormapData", !33, i64 0, !34, i64 16, !34, i64 32, !33, i64 48, !34, i64 64, !34, i64 80, !20, i64 96, !34, i64 112, !35, i64 128, !14, i64 144, !13, i64 160}
!33 = !{!"_ZTS8ImVectorIjE", !13, i64 0, !13, i64 4, !6, i64 8}
!34 = !{!"_ZTS8ImVectorIiE", !13, i64 0, !13, i64 4, !6, i64 8}
!35 = !{!"_ZTS8ImVectorIbE", !13, i64 0, !13, i64 4, !6, i64 8}
!36 = !{!"_ZTS2tm", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12, !13, i64 16, !13, i64 20, !13, i64 24, !13, i64 28, !13, i64 32, !37, i64 40, !6, i64 48}
!37 = !{!"long", !7, i64 0}
!38 = !{!"_ZTS8ImVectorIdE", !13, i64 0, !13, i64 4, !6, i64 8}
!39 = !{!"_ZTS18ImPlotNextPlotData", !7, i64 0, !7, i64 24, !7, i64 120, !7, i64 126, !7, i64 136, !7, i64 184}
!40 = !{!"_ZTS18ImPlotNextItemData", !7, i64 0, !23, i64 80, !13, i64 84, !23, i64 88, !23, i64 92, !23, i64 96, !23, i64 100, !23, i64 104, !23, i64 108, !23, i64 112, !28, i64 116, !28, i64 117, !28, i64 118, !28, i64 119, !28, i64 120, !28, i64 121, !13, i64 124}
!41 = !{!"_ZTS14ImPlotInputMap", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12, !13, i64 16, !13, i64 20, !13, i64 24, !13, i64 28, !13, i64 32, !13, i64 36, !13, i64 40, !23, i64 44}
!42 = !{!"_ZTS6ImPoolI19ImPlotAlignmentDataE", !43, i64 0, !14, i64 16, !13, i64 32, !13, i64 36}
!43 = !{!"_ZTS8ImVectorI19ImPlotAlignmentDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!44 = !{!45, !13, i64 144}
!45 = !{!"_ZTS13ImPlotSubplot", !13, i64 0, !13, i64 4, !13, i64 8, !46, i64 16, !13, i64 144, !13, i64 148, !13, i64 152, !48, i64 156, !48, i64 172, !22, i64 188, !43, i64 200, !43, i64 216, !51, i64 232, !51, i64 248, !52, i64 264, !52, i64 280, !7, i64 296, !28, i64 304, !28, i64 305}
!46 = !{!"_ZTS15ImPlotItemGroup", !13, i64 0, !47, i64 8, !49, i64 80, !13, i64 120}
!47 = !{!"_ZTS12ImPlotLegend", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12, !34, i64 16, !20, i64 32, !48, i64 48, !28, i64 64, !28, i64 65, !28, i64 66}
!48 = !{!"_ZTS6ImRect", !22, i64 0, !22, i64 8}
!49 = !{!"_ZTS6ImPoolI10ImPlotItemE", !50, i64 0, !14, i64 16, !13, i64 32, !13, i64 36}
!50 = !{!"_ZTS8ImVectorI10ImPlotItemE", !13, i64 0, !13, i64 4, !6, i64 8}
!51 = !{!"_ZTS8ImVectorIfE", !13, i64 0, !13, i64 4, !6, i64 8}
!52 = !{!"_ZTS8ImVectorI11ImPlotRangeE", !13, i64 0, !13, i64 4, !6, i64 8}
!53 = !{!45, !13, i64 148}
!54 = distinct !{!54, !55}
!55 = !{!"llvm.loop.mustprogress"}
!56 = !{!45, !28, i64 88}
!57 = distinct !{!57, !55}
!58 = !{!45, !13, i64 4}
!59 = !{!60, !28, i64 29}
!60 = !{!"_ZTS10ImPlotItem", !13, i64 0, !13, i64 4, !48, i64 8, !13, i64 24, !28, i64 28, !28, i64 29, !28, i64 30}
!61 = distinct !{!61, !55}
!62 = !{!45, !13, i64 24}
!63 = !{!45, !13, i64 32}
!64 = !{i64 0, i64 4, !65, i64 4, i64 4, !65, i64 8, i64 4, !65, i64 12, i64 4, !65}
!65 = !{!23, !23, i64 0}
!66 = !{!45, !28, i64 304}
!67 = !{i8 0, i8 2}
!68 = !{}
!69 = !{!10, !13, i64 1496}
!70 = !{!28, !28, i64 0}
!71 = !{!10, !6, i64 96}
!72 = !{!73, !6, i64 16080}
!73 = !{!"_ZTS12ImGuiContext", !28, i64 0, !28, i64 1, !74, i64 8, !78, i64 14288, !6, i64 15360, !23, i64 15368, !23, i64 15372, !79, i64 15376, !82, i64 15904, !13, i64 15912, !13, i64 15916, !13, i64 15920, !28, i64 15924, !28, i64 15925, !28, i64 15926, !28, i64 15927, !28, i64 15928, !6, i64 15936, !83, i64 15944, !83, i64 15960, !75, i64 15976, !13, i64 15980, !84, i64 15984, !84, i64 16000, !84, i64 16016, !85, i64 16032, !14, i64 16048, !13, i64 16064, !22, i64 16068, !6, i64 16080, !6, i64 16088, !6, i64 16096, !6, i64 16104, !6, i64 16112, !22, i64 16120, !13, i64 16128, !23, i64 16132, !22, i64 16136, !22, i64 16144, !13, i64 16152, !13, i64 16156, !13, i64 16160, !28, i64 16164, !28, i64 16165, !23, i64 16168, !23, i64 16172, !13, i64 16176, !13, i64 16180, !23, i64 16184, !28, i64 16188, !28, i64 16189, !28, i64 16190, !28, i64 16191, !28, i64 16192, !28, i64 16193, !22, i64 16196, !6, i64 16208, !86, i64 16216, !13, i64 16220, !13, i64 16224, !28, i64 16228, !28, i64 16229, !6, i64 16232, !13, i64 16240, !23, i64 16244, !7, i64 16248, !87, i64 17928, !13, i64 18240, !28, i64 18244, !13, i64 18248, !13, i64 18252, !13, i64 18256, !13, i64 18260, !89, i64 18264, !90, i64 18284, !91, i64 18344, !30, i64 18456, !31, i64 18472, !92, i64 18488, !33, i64 18504, !34, i64 18520, !93, i64 18536, !94, i64 18552, !94, i64 18568, !13, i64 18584, !95, i64 18592, !6, i64 18608, !13, i64 18616, !13, i64 18620, !13, i64 18624, !13, i64 18628, !13, i64 18632, !13, i64 18636, !13, i64 18640, !13, i64 18644, !13, i64 18648, !13, i64 18652, !13, i64 18656, !86, i64 18660, !96, i64 18664, !28, i64 18668, !28, i64 18669, !28, i64 18670, !28, i64 18671, !28, i64 18672, !28, i64 18673, !28, i64 18674, !13, i64 18676, !48, i64 18680, !28, i64 18696, !28, i64 18697, !28, i64 18698, !13, i64 18700, !13, i64 18704, !13, i64 18708, !13, i64 18712, !13, i64 18716, !13, i64 18720, !48, i64 18724, !48, i64 18740, !13, i64 18756, !13, i64 18760, !13, i64 18764, !97, i64 18768, !97, i64 18816, !97, i64 18864, !97, i64 18912, !13, i64 18960, !13, i64 18964, !6, i64 18968, !6, i64 18976, !6, i64 18984, !23, i64 18992, !23, i64 18996, !28, i64 19000, !22, i64 19004, !22, i64 19012, !23, i64 19020, !13, i64 19024, !28, i64 19028, !28, i64 19029, !28, i64 19030, !13, i64 19032, !13, i64 19036, !13, i64 19040, !98, i64 19048, !48, i64 19112, !13, i64 19128, !13, i64 19132, !23, i64 19136, !13, i64 19140, !13, i64 19144, !13, i64 19148, !13, i64 19152, !99, i64 19160, !7, i64 19176, !13, i64 19192, !100, i64 19200, !6, i64 19216, !13, i64 19224, !101, i64 19232, !102, i64 19248, !51, i64 19288, !104, i64 19304, !6, i64 19320, !105, i64 19328, !107, i64 19368, !108, i64 19384, !13, i64 19400, !13, i64 19404, !23, i64 19408, !23, i64 19412, !22, i64 19416, !109, i64 19424, !112, i64 23152, !113, i64 23176, !13, i64 23296, !13, i64 23300, !13, i64 23304, !13, i64 23308, !23, i64 23312, !23, i64 23316, !13, i64 23320, !80, i64 23324, !115, i64 23340, !23, i64 23388, !23, i64 23392, !28, i64 23396, !28, i64 23397, !23, i64 23400, !23, i64 23404, !23, i64 23408, !23, i64 23412, !76, i64 23416, !76, i64 23418, !21, i64 23424, !33, i64 23440, !116, i64 23456, !116, i64 23472, !7, i64 23488, !28, i64 23489, !23, i64 23492, !20, i64 23496, !117, i64 23512, !118, i64 23528, !119, i64 23544, !120, i64 23560, !13, i64 23576, !7, i64 23584, !28, i64 23640, !121, i64 23644, !6, i64 23648, !20, i64 23656, !6, i64 23672, !6, i64 23680, !23, i64 23688, !28, i64 23692, !13, i64 23696, !13, i64 23700, !13, i64 23704, !13, i64 23708, !20, i64 23712, !122, i64 23728, !7, i64 23752, !7, i64 23753, !7, i64 23754, !28, i64 23755, !7, i64 23756, !13, i64 23760, !123, i64 23764, !124, i64 23784, !7, i64 23824, !13, i64 24064, !13, i64 24068, !23, i64 24072, !13, i64 24076, !13, i64 24080, !13, i64 24084, !21, i64 24088}
!74 = !{!"_ZTS7ImGuiIO", !13, i64 0, !13, i64 4, !22, i64 8, !23, i64 16, !23, i64 20, !6, i64 24, !6, i64 32, !23, i64 40, !23, i64 44, !23, i64 48, !23, i64 52, !23, i64 56, !23, i64 60, !23, i64 64, !6, i64 72, !6, i64 80, !23, i64 88, !28, i64 92, !6, i64 96, !22, i64 104, !28, i64 112, !28, i64 113, !28, i64 114, !28, i64 115, !28, i64 116, !28, i64 117, !28, i64 118, !28, i64 119, !23, i64 120, !28, i64 124, !28, i64 125, !6, i64 128, !6, i64 136, !6, i64 144, !6, i64 152, !6, i64 160, !6, i64 168, !6, i64 176, !6, i64 184, !6, i64 192, !6, i64 200, !28, i64 208, !28, i64 209, !28, i64 210, !28, i64 211, !28, i64 212, !28, i64 213, !28, i64 214, !23, i64 216, !13, i64 220, !13, i64 224, !13, i64 228, !13, i64 232, !13, i64 236, !22, i64 240, !7, i64 248, !7, i64 2856, !7, i64 3508, !6, i64 3576, !22, i64 3584, !7, i64 3592, !23, i64 3600, !23, i64 3604, !75, i64 3608, !28, i64 3612, !28, i64 3613, !28, i64 3614, !28, i64 3615, !13, i64 3616, !7, i64 3620, !28, i64 14052, !22, i64 14056, !7, i64 14064, !7, i64 14104, !7, i64 14144, !7, i64 14149, !7, i64 14154, !7, i64 14164, !7, i64 14174, !7, i64 14179, !7, i64 14184, !28, i64 14189, !7, i64 14192, !7, i64 14212, !7, i64 14232, !23, i64 14252, !28, i64 14256, !28, i64 14257, !7, i64 14258, !28, i64 14259, !76, i64 14260, !77, i64 14264}
!75 = !{!"_ZTS16ImGuiMouseSource", !7, i64 0}
!76 = !{!"short", !7, i64 0}
!77 = !{!"_ZTS8ImVectorItE", !13, i64 0, !13, i64 4, !6, i64 8}
!78 = !{!"_ZTS10ImGuiStyle", !23, i64 0, !23, i64 4, !22, i64 8, !23, i64 16, !23, i64 20, !22, i64 24, !22, i64 32, !13, i64 40, !23, i64 44, !23, i64 48, !23, i64 52, !23, i64 56, !22, i64 60, !23, i64 68, !23, i64 72, !22, i64 76, !22, i64 84, !22, i64 92, !22, i64 100, !23, i64 108, !23, i64 112, !23, i64 116, !23, i64 120, !23, i64 124, !23, i64 128, !23, i64 132, !23, i64 136, !23, i64 140, !23, i64 144, !13, i64 148, !22, i64 152, !22, i64 160, !23, i64 168, !22, i64 172, !22, i64 180, !22, i64 188, !22, i64 196, !23, i64 204, !28, i64 208, !28, i64 209, !28, i64 210, !23, i64 212, !23, i64 216, !7, i64 220}
!79 = !{!"_ZTS20ImDrawListSharedData", !22, i64 0, !6, i64 8, !23, i64 16, !23, i64 20, !23, i64 24, !80, i64 28, !13, i64 44, !81, i64 48, !7, i64 64, !23, i64 448, !7, i64 452, !6, i64 520}
!80 = !{!"_ZTS6ImVec4", !23, i64 0, !23, i64 4, !23, i64 8, !23, i64 12}
!81 = !{!"_ZTS8ImVectorI6ImVec2E", !13, i64 0, !13, i64 4, !6, i64 8}
!82 = !{!"double", !7, i64 0}
!83 = !{!"_ZTS8ImVectorI15ImGuiInputEventE", !13, i64 0, !13, i64 4, !6, i64 8}
!84 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !13, i64 0, !13, i64 4, !6, i64 8}
!85 = !{!"_ZTS8ImVectorI20ImGuiWindowStackDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!86 = !{!"_ZTS16ImGuiInputSource", !7, i64 0}
!87 = !{!"_ZTS20ImGuiKeyRoutingTable", !7, i64 0, !88, i64 280, !88, i64 296}
!88 = !{!"_ZTS8ImVectorI19ImGuiKeyRoutingDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!89 = !{!"_ZTS17ImGuiNextItemData", !13, i64 0, !23, i64 4, !13, i64 8, !13, i64 12, !28, i64 16}
!90 = !{!"_ZTS17ImGuiLastItemData", !13, i64 0, !13, i64 4, !13, i64 8, !48, i64 12, !48, i64 28, !48, i64 44}
!91 = !{!"_ZTS19ImGuiNextWindowData", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12, !22, i64 16, !22, i64 24, !22, i64 32, !22, i64 40, !22, i64 48, !28, i64 56, !48, i64 60, !6, i64 80, !6, i64 88, !23, i64 96, !22, i64 100}
!92 = !{!"_ZTS8ImVectorIP6ImFontE", !13, i64 0, !13, i64 4, !6, i64 8}
!93 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!94 = !{!"_ZTS8ImVectorI14ImGuiPopupDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!95 = !{!"_ZTS8ImVectorIP14ImGuiViewportPE", !13, i64 0, !13, i64 4, !6, i64 8}
!96 = !{!"_ZTS13ImGuiNavLayer", !7, i64 0}
!97 = !{!"_ZTS16ImGuiNavItemData", !6, i64 0, !13, i64 8, !13, i64 12, !48, i64 16, !13, i64 32, !23, i64 36, !23, i64 40, !23, i64 44}
!98 = !{!"_ZTS12ImGuiPayload", !6, i64 0, !13, i64 8, !13, i64 12, !13, i64 16, !13, i64 20, !7, i64 24, !28, i64 57, !28, i64 58}
!99 = !{!"_ZTS8ImVectorIhE", !13, i64 0, !13, i64 4, !6, i64 8}
!100 = !{!"_ZTS8ImVectorI20ImGuiListClipperDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!101 = !{!"_ZTS8ImVectorI18ImGuiTableTempDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!102 = !{!"_ZTS6ImPoolI10ImGuiTableE", !103, i64 0, !14, i64 16, !13, i64 32, !13, i64 36}
!103 = !{!"_ZTS8ImVectorI10ImGuiTableE", !13, i64 0, !13, i64 4, !6, i64 8}
!104 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !13, i64 0, !13, i64 4, !6, i64 8}
!105 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !106, i64 0, !14, i64 16, !13, i64 32, !13, i64 36}
!106 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !13, i64 0, !13, i64 4, !6, i64 8}
!107 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !13, i64 0, !13, i64 4, !6, i64 8}
!108 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !13, i64 0, !13, i64 4, !6, i64 8}
!109 = !{!"_ZTS19ImGuiInputTextState", !6, i64 0, !13, i64 8, !13, i64 12, !13, i64 16, !77, i64 24, !21, i64 40, !21, i64 56, !28, i64 72, !13, i64 76, !23, i64 80, !110, i64 84, !23, i64 3712, !28, i64 3716, !28, i64 3717, !28, i64 3718, !13, i64 3720}
!110 = !{!"_ZTSN5ImStb17STB_TexteditStateE", !13, i64 0, !13, i64 4, !13, i64 8, !7, i64 12, !13, i64 16, !7, i64 20, !7, i64 21, !7, i64 22, !7, i64 23, !7, i64 24, !7, i64 25, !7, i64 26, !23, i64 28, !111, i64 32}
!111 = !{!"_ZTSN5ImStb12StbUndoStateE", !7, i64 0, !7, i64 1584, !76, i64 3582, !76, i64 3584, !13, i64 3588, !13, i64 3592}
!112 = !{!"_ZTS30ImGuiInputTextDeactivatedState", !13, i64 0, !21, i64 8}
!113 = !{!"_ZTS6ImFont", !51, i64 0, !23, i64 16, !23, i64 20, !77, i64 24, !114, i64 40, !6, i64 56, !6, i64 64, !6, i64 72, !76, i64 80, !76, i64 82, !76, i64 84, !76, i64 86, !23, i64 88, !23, i64 92, !28, i64 96, !23, i64 100, !23, i64 104, !23, i64 108, !13, i64 112, !7, i64 116}
!114 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !13, i64 0, !13, i64 4, !6, i64 8}
!115 = !{!"_ZTS21ImGuiComboPreviewData", !48, i64 0, !22, i64 16, !22, i64 24, !22, i64 32, !23, i64 40, !13, i64 44}
!116 = !{!"_ZTS20ImGuiPlatformImeData", !28, i64 0, !22, i64 4, !23, i64 12}
!117 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !13, i64 0, !13, i64 4, !6, i64 8}
!118 = !{!"_ZTS13ImChunkStreamI19ImGuiWindowSettingsE", !21, i64 0}
!119 = !{!"_ZTS13ImChunkStreamI18ImGuiTableSettingsE", !21, i64 0}
!120 = !{!"_ZTS8ImVectorI16ImGuiContextHookE", !13, i64 0, !13, i64 4, !6, i64 8}
!121 = !{!"_ZTS12ImGuiLogType", !7, i64 0}
!122 = !{!"_ZTS14ImGuiTextIndex", !34, i64 0, !13, i64 16}
!123 = !{!"_ZTS18ImGuiMetricsConfig", !28, i64 0, !28, i64 1, !28, i64 2, !28, i64 3, !28, i64 4, !28, i64 5, !28, i64 6, !28, i64 7, !13, i64 8, !13, i64 12}
!124 = !{!"_ZTS14ImGuiStackTool", !13, i64 0, !13, i64 4, !13, i64 8, !125, i64 16, !28, i64 32, !23, i64 36}
!125 = !{!"_ZTS8ImVectorI19ImGuiStackLevelInfoE", !13, i64 0, !13, i64 4, !6, i64 8}
!126 = !{!60, !28, i64 30}
!127 = distinct !{!127, !55}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass,TailCallElimPass