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

@GImPlot = external dso_local global ptr, align 8
@GImGui = external global ptr, align 8
@.str.78 = external hidden unnamed_addr constant [71 x i8], align 1
@.str.124 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.144 = external hidden unnamed_addr constant [114 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 [83 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(5456) 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 3468, ptr noundef @__PRETTY_FUNCTION__._ZN6ImPlot11EndSubplotsEv) #9
  unreachable

26:                                               ; No predecessors!
  br label %27

27:                                               ; preds = %26, %24
  %28 = load ptr, ptr @GImPlot, align 8, !tbaa !5
  %29 = getelementptr inbounds %struct.ImPlotContext, ptr %28, i32 0, i32 3
  %30 = load ptr, ptr %29, align 8, !tbaa !9
  %31 = icmp ne ptr %30, null
  br i1 %31, label %32, label %33

32:                                               ; preds = %27
  br label %33

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

35:                                               ; preds = %33
  br label %38

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

37:                                               ; No predecessors!
  br label %38

38:                                               ; preds = %37, %35
  call void @llvm.lifetime.start.p0(i64 8, ptr %1) #10
  %39 = load ptr, ptr @GImPlot, align 8, !tbaa !5
  store ptr %39, ptr %1, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %2) #10
  %40 = load ptr, ptr @GImPlot, 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, %38
  %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(5456) ptr @_ZN5ImGui5GetIOEv()
  %160 = getelementptr inbounds %struct.ImGuiIO, ptr %159, i32 0, i32 36
  %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(5456) ptr @_ZN5ImGui5GetIOEv()
  %244 = getelementptr inbounds %struct.ImGuiIO, ptr %243, i32 0, i32 67
  %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 54
  %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 !120
  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 7176}
!76 = !{!"_ZTS12ImGuiContext", !28, i64 0, !28, i64 1, !77, i64 8, !80, i64 5464, !6, i64 6512, !23, i64 6520, !23, i64 6524, !81, i64 6528, !83, i64 7040, !13, i64 7048, !13, i64 7052, !13, i64 7056, !28, i64 7060, !28, i64 7061, !28, i64 7062, !28, i64 7063, !28, i64 7064, !13, i64 7068, !6, i64 7072, !84, i64 7080, !84, i64 7096, !84, i64 7112, !85, i64 7128, !14, i64 7144, !13, i64 7160, !22, i64 7164, !6, i64 7176, !6, i64 7184, !6, i64 7192, !6, i64 7200, !6, i64 7208, !22, i64 7216, !23, i64 7224, !13, i64 7228, !13, i64 7232, !28, i64 7236, !28, i64 7237, !28, i64 7238, !28, i64 7239, !23, i64 7240, !23, i64 7244, !13, i64 7248, !13, i64 7252, !23, i64 7256, !28, i64 7260, !28, i64 7261, !28, i64 7262, !28, i64 7263, !28, i64 7264, !28, i64 7265, !28, i64 7266, !13, i64 7268, !13, i64 7272, !86, i64 7280, !22, i64 7288, !6, i64 7296, !87, i64 7304, !13, i64 7308, !13, i64 7312, !28, i64 7316, !28, i64 7317, !6, i64 7320, !13, i64 7328, !23, i64 7332, !13, i64 7336, !88, i64 7340, !89, i64 7360, !90, i64 7408, !30, i64 7520, !31, i64 7536, !91, i64 7552, !33, i64 7568, !34, i64 7584, !92, i64 7600, !93, i64 7616, !93, i64 7632, !94, i64 7648, !6, i64 7664, !13, i64 7672, !13, i64 7676, !13, i64 7680, !13, i64 7684, !13, i64 7688, !13, i64 7692, !13, i64 7696, !13, i64 7700, !13, i64 7704, !13, i64 7708, !13, i64 7712, !87, i64 7716, !49, i64 7720, !13, i64 7736, !95, i64 7740, !13, i64 7744, !28, i64 7748, !28, i64 7749, !28, i64 7750, !28, i64 7751, !28, i64 7752, !28, i64 7753, !28, i64 7754, !13, i64 7756, !49, i64 7760, !28, i64 7776, !13, i64 7780, !96, i64 7784, !13, i64 7788, !13, i64 7792, !13, i64 7796, !13, i64 7800, !97, i64 7808, !97, i64 7856, !97, i64 7904, !6, i64 7952, !13, i64 7960, !6, i64 7968, !6, i64 7976, !6, i64 7984, !23, i64 7992, !23, i64 7996, !28, i64 8000, !6, i64 8008, !6, i64 8016, !13, i64 8024, !13, i64 8028, !13, i64 8032, !13, i64 8036, !28, i64 8040, !23, i64 8044, !13, i64 8048, !28, i64 8052, !28, i64 8053, !28, i64 8054, !13, i64 8056, !13, i64 8060, !13, i64 8064, !98, i64 8072, !49, i64 8136, !13, i64 8152, !13, i64 8156, !23, i64 8160, !13, i64 8164, !13, i64 8168, !13, i64 8172, !13, i64 8176, !99, i64 8184, !7, i64 8200, !6, i64 8216, !13, i64 8224, !100, i64 8232, !102, i64 8272, !52, i64 8288, !103, i64 8304, !6, i64 8320, !104, i64 8328, !106, i64 8368, !107, i64 8384, !22, i64 8400, !108, i64 8408, !111, i64 12144, !13, i64 12256, !13, i64 12260, !23, i64 12264, !23, i64 12268, !7, i64 12272, !82, i64 12284, !113, i64 12300, !23, i64 12348, !28, i64 12352, !28, i64 12353, !23, i64 12356, !23, i64 12360, !23, i64 12364, !23, i64 12368, !13, i64 12372, !23, i64 12376, !21, i64 12384, !33, i64 12400, !22, i64 12416, !22, i64 12424, !7, i64 12432, !28, i64 12433, !23, i64 12436, !20, i64 12440, !114, i64 12456, !115, i64 12472, !116, i64 12488, !117, i64 12504, !13, i64 12520, !28, i64 12524, !118, i64 12528, !6, i64 12536, !20, i64 12544, !6, i64 12560, !6, i64 12568, !23, i64 12576, !28, i64 12580, !13, i64 12584, !13, i64 12588, !13, i64 12592, !28, i64 12596, !13, i64 12600, !119, i64 12604, !7, i64 12620, !13, i64 13100, !13, i64 13104, !23, i64 13108, !13, i64 13112, !13, i64 13116, !13, i64 13120, !7, i64 13124}
!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, !7, i64 52, !23, i64 140, !23, i64 144, !6, i64 152, !6, i64 160, !23, i64 168, !28, i64 172, !6, i64 176, !22, i64 184, !28, i64 192, !28, i64 193, !28, i64 194, !28, i64 195, !28, i64 196, !28, i64 197, !23, i64 200, !6, i64 208, !6, i64 216, !6, i64 224, !6, i64 232, !6, i64 240, !6, i64 248, !6, i64 256, !6, i64 264, !6, i64 272, !6, i64 280, !22, i64 288, !7, i64 296, !23, i64 304, !23, i64 308, !28, i64 312, !28, i64 313, !28, i64 314, !28, i64 315, !7, i64 316, !7, i64 828, !28, i64 908, !28, i64 909, !28, i64 910, !28, i64 911, !28, i64 912, !28, i64 913, !28, i64 914, !23, i64 916, !13, i64 920, !13, i64 924, !13, i64 928, !13, i64 932, !13, i64 936, !22, i64 940, !13, i64 948, !13, i64 952, !22, i64 956, !7, i64 964, !7, i64 1008, !7, i64 1048, !7, i64 1053, !7, i64 1058, !7, i64 1063, !7, i64 1068, !7, i64 1076, !7, i64 1096, !7, i64 1116, !7, i64 1156, !7, i64 1176, !7, i64 3224, !7, i64 5272, !7, i64 5352, !23, i64 5432, !78, i64 5436, !79, i64 5440}
!78 = !{!"short", !7, i64 0}
!79 = !{!"_ZTS8ImVectorItE", !13, i64 0, !13, i64 4, !6, i64 8}
!80 = !{!"_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, !22, i64 168, !22, i64 176, !23, i64 184, !28, i64 188, !28, i64 189, !28, i64 190, !23, i64 192, !23, i64 196, !7, i64 200}
!81 = !{!"_ZTS20ImDrawListSharedData", !22, i64 0, !6, i64 8, !23, i64 16, !23, i64 20, !23, i64 24, !82, i64 28, !13, i64 44, !7, i64 48, !23, i64 432, !7, i64 436, !6, i64 504}
!82 = !{!"_ZTS6ImVec4", !23, i64 0, !23, i64 4, !23, i64 8, !23, i64 12}
!83 = !{!"double", !7, i64 0}
!84 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !13, i64 0, !13, i64 4, !6, i64 8}
!85 = !{!"_ZTS8ImVectorI20ImGuiWindowStackDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!86 = !{!"long long", !7, i64 0}
!87 = !{!"_ZTS16ImGuiInputSource", !7, i64 0}
!88 = !{!"_ZTS17ImGuiNextItemData", !13, i64 0, !23, i64 4, !13, i64 8, !13, i64 12, !28, i64 16}
!89 = !{!"_ZTS17ImGuiLastItemData", !13, i64 0, !13, i64 4, !13, i64 8, !49, i64 12, !49, i64 28}
!90 = !{!"_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}
!91 = !{!"_ZTS8ImVectorIP6ImFontE", !13, i64 0, !13, i64 4, !6, i64 8}
!92 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!93 = !{!"_ZTS8ImVectorI14ImGuiPopupDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!94 = !{!"_ZTS8ImVectorIP14ImGuiViewportPE", !13, i64 0, !13, i64 4, !6, i64 8}
!95 = !{!"_ZTS13ImGuiNavLayer", !7, i64 0}
!96 = !{!"_ZTS15ImGuiNavForward", !7, i64 0}
!97 = !{!"_ZTS16ImGuiNavItemData", !6, i64 0, !13, i64 8, !13, i64 12, !49, i64 16, !23, i64 32, !23, i64 36, !23, i64 40}
!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 = !{!"_ZTS6ImPoolI10ImGuiTableE", !101, i64 0, !14, i64 16, !13, i64 32, !13, i64 36}
!101 = !{!"_ZTS8ImVectorI10ImGuiTableE", !13, i64 0, !13, i64 4, !6, i64 8}
!102 = !{!"_ZTS8ImVectorI18ImGuiTableTempDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!103 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !13, i64 0, !13, i64 4, !6, i64 8}
!104 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !105, i64 0, !14, i64 16, !13, i64 32, !13, i64 36}
!105 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !13, i64 0, !13, i64 4, !6, i64 8}
!106 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !13, i64 0, !13, i64 4, !6, i64 8}
!107 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !13, i64 0, !13, i64 4, !6, i64 8}
!108 = !{!"_ZTS19ImGuiInputTextState", !13, i64 0, !13, i64 4, !13, i64 8, !79, i64 16, !21, i64 32, !21, i64 48, !28, i64 64, !13, i64 68, !23, i64 72, !109, i64 76, !23, i64 3704, !28, i64 3708, !28, i64 3709, !28, i64 3710, !13, i64 3712, !6, i64 3720, !6, i64 3728}
!109 = !{!"_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, !110, i64 32}
!110 = !{!"_ZTSN5ImStb12StbUndoStateE", !7, i64 0, !7, i64 1584, !78, i64 3582, !78, i64 3584, !13, i64 3588, !13, i64 3592}
!111 = !{!"_ZTS6ImFont", !52, i64 0, !23, i64 16, !23, i64 20, !79, i64 24, !112, i64 40, !6, i64 56, !6, i64 64, !6, i64 72, !78, i64 80, !78, i64 82, !78, i64 84, !78, i64 86, !28, i64 88, !23, i64 92, !23, i64 96, !23, i64 100, !13, i64 104, !7, i64 108}
!112 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !13, i64 0, !13, i64 4, !6, i64 8}
!113 = !{!"_ZTS21ImGuiComboPreviewData", !49, i64 0, !22, i64 16, !22, i64 24, !22, i64 32, !23, i64 40, !13, i64 44}
!114 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !13, i64 0, !13, i64 4, !6, i64 8}
!115 = !{!"_ZTS13ImChunkStreamI19ImGuiWindowSettingsE", !21, i64 0}
!116 = !{!"_ZTS13ImChunkStreamI18ImGuiTableSettingsE", !21, i64 0}
!117 = !{!"_ZTS8ImVectorI16ImGuiContextHookE", !13, i64 0, !13, i64 4, !6, i64 8}
!118 = !{!"_ZTS12ImGuiLogType", !7, i64 0}
!119 = !{!"_ZTS18ImGuiMetricsConfig", !28, i64 0, !28, i64 1, !28, i64 2, !28, i64 3, !28, i64 4, !13, i64 8, !13, i64 12}
!120 = !{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 [71 x i8], align 1
@.str.124 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.144 = external hidden unnamed_addr constant [114 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 [83 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(5456) 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 3468, 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
  %.not72 = icmp eq ptr %11, null
  br i1 %.not72, label %16, label %.preheader73

.preheader73:                                     ; 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 = %.preheader73
  %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 3469, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN6ImPlot11EndSubplotsEv) #9
  unreachable

.preheader:                                       ; preds = %21, %.preheader73
  %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.ph76, label %._crit_edge

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

21:                                               ; preds = %.lr.ph, %21
  %.06774 = 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 %.06774)
  tail call void @_ZN19ImPlotAlignmentData3EndEv(ptr noundef nonnull align 4 dereferenceable(20) %22)
  %23 = add nuw nsw i32 %.06774, 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.ph79, label %._crit_edge80

31:                                               ; preds = %.lr.ph76, %31
  %.06875 = phi i32 [ 0, %.lr.ph76 ], [ %33, %31 ]
  %32 = tail call noundef nonnull align 4 dereferenceable(20) ptr @_ZN8ImVectorI19ImPlotAlignmentDataEixEi(ptr noundef nonnull align 8 dereferenceable(16) %20, i32 noundef %.06875)
  tail call void @_ZN19ImPlotAlignmentData3EndEv(ptr noundef nonnull align 4 dereferenceable(20) %32)
  %33 = add nuw nsw i32 %.06875, 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_edge80:                                    ; preds = %.lr.ph79, %._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.ph79:                                         ; preds = %._crit_edge, %.lr.ph79
  %.06977 = phi i32 [ %42, %.lr.ph79 ], [ 0, %._crit_edge ]
  %40 = tail call noundef ptr @_ZN15ImPlotItemGroup14GetItemByIndexEi(ptr noundef nonnull align 8 dereferenceable(124) %26, i32 noundef %.06977)
  %41 = getelementptr inbounds i8, ptr %40, i64 29
  store i8 0, ptr %41, align 1, !tbaa !59
  %42 = add nuw nsw i32 %.06977, 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.ph79, label %._crit_edge80, !llvm.loop !61

45:                                               ; preds = %._crit_edge80
  %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(5456) ptr @_ZN5ImGui5GetIOEv()
  %70 = getelementptr inbounds i8, ptr %69, i64 288
  %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(5456) ptr @_ZN5ImGui5GetIOEv()
  %90 = getelementptr inbounds i8, ptr %89, i64 1058
  %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_edge80
  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.ph83, label %._crit_edge84

._crit_edge84:                                    ; preds = %.lr.ph83, %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 7176
  %120 = load ptr, ptr %119, align 8, !tbaa !72
  %121 = getelementptr inbounds i8, ptr %120, i64 216
  %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.ph83:                                         ; preds = %114, %.lr.ph83
  %.081 = phi i32 [ %127, %.lr.ph83 ], [ 0, %114 ]
  %125 = call noundef ptr @_ZN15ImPlotItemGroup14GetItemByIndexEi(ptr noundef nonnull align 8 dereferenceable(124) %26, i32 noundef %.081)
  %126 = getelementptr inbounds i8, ptr %125, i64 30
  store i8 0, ptr %126, align 2, !tbaa !117
  %127 = add nuw nsw i32 %.081, 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.ph83, label %._crit_edge84, !llvm.loop !118
}

; 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 7176}
!73 = !{!"_ZTS12ImGuiContext", !28, i64 0, !28, i64 1, !74, i64 8, !77, i64 5464, !6, i64 6512, !23, i64 6520, !23, i64 6524, !78, i64 6528, !80, i64 7040, !13, i64 7048, !13, i64 7052, !13, i64 7056, !28, i64 7060, !28, i64 7061, !28, i64 7062, !28, i64 7063, !28, i64 7064, !13, i64 7068, !6, i64 7072, !81, i64 7080, !81, i64 7096, !81, i64 7112, !82, i64 7128, !14, i64 7144, !13, i64 7160, !22, i64 7164, !6, i64 7176, !6, i64 7184, !6, i64 7192, !6, i64 7200, !6, i64 7208, !22, i64 7216, !23, i64 7224, !13, i64 7228, !13, i64 7232, !28, i64 7236, !28, i64 7237, !28, i64 7238, !28, i64 7239, !23, i64 7240, !23, i64 7244, !13, i64 7248, !13, i64 7252, !23, i64 7256, !28, i64 7260, !28, i64 7261, !28, i64 7262, !28, i64 7263, !28, i64 7264, !28, i64 7265, !28, i64 7266, !13, i64 7268, !13, i64 7272, !83, i64 7280, !22, i64 7288, !6, i64 7296, !84, i64 7304, !13, i64 7308, !13, i64 7312, !28, i64 7316, !28, i64 7317, !6, i64 7320, !13, i64 7328, !23, i64 7332, !13, i64 7336, !85, i64 7340, !86, i64 7360, !87, i64 7408, !30, i64 7520, !31, i64 7536, !88, i64 7552, !33, i64 7568, !34, i64 7584, !89, i64 7600, !90, i64 7616, !90, i64 7632, !91, i64 7648, !6, i64 7664, !13, i64 7672, !13, i64 7676, !13, i64 7680, !13, i64 7684, !13, i64 7688, !13, i64 7692, !13, i64 7696, !13, i64 7700, !13, i64 7704, !13, i64 7708, !13, i64 7712, !84, i64 7716, !48, i64 7720, !13, i64 7736, !92, i64 7740, !13, i64 7744, !28, i64 7748, !28, i64 7749, !28, i64 7750, !28, i64 7751, !28, i64 7752, !28, i64 7753, !28, i64 7754, !13, i64 7756, !48, i64 7760, !28, i64 7776, !13, i64 7780, !93, i64 7784, !13, i64 7788, !13, i64 7792, !13, i64 7796, !13, i64 7800, !94, i64 7808, !94, i64 7856, !94, i64 7904, !6, i64 7952, !13, i64 7960, !6, i64 7968, !6, i64 7976, !6, i64 7984, !23, i64 7992, !23, i64 7996, !28, i64 8000, !6, i64 8008, !6, i64 8016, !13, i64 8024, !13, i64 8028, !13, i64 8032, !13, i64 8036, !28, i64 8040, !23, i64 8044, !13, i64 8048, !28, i64 8052, !28, i64 8053, !28, i64 8054, !13, i64 8056, !13, i64 8060, !13, i64 8064, !95, i64 8072, !48, i64 8136, !13, i64 8152, !13, i64 8156, !23, i64 8160, !13, i64 8164, !13, i64 8168, !13, i64 8172, !13, i64 8176, !96, i64 8184, !7, i64 8200, !6, i64 8216, !13, i64 8224, !97, i64 8232, !99, i64 8272, !51, i64 8288, !100, i64 8304, !6, i64 8320, !101, i64 8328, !103, i64 8368, !104, i64 8384, !22, i64 8400, !105, i64 8408, !108, i64 12144, !13, i64 12256, !13, i64 12260, !23, i64 12264, !23, i64 12268, !7, i64 12272, !79, i64 12284, !110, i64 12300, !23, i64 12348, !28, i64 12352, !28, i64 12353, !23, i64 12356, !23, i64 12360, !23, i64 12364, !23, i64 12368, !13, i64 12372, !23, i64 12376, !21, i64 12384, !33, i64 12400, !22, i64 12416, !22, i64 12424, !7, i64 12432, !28, i64 12433, !23, i64 12436, !20, i64 12440, !111, i64 12456, !112, i64 12472, !113, i64 12488, !114, i64 12504, !13, i64 12520, !28, i64 12524, !115, i64 12528, !6, i64 12536, !20, i64 12544, !6, i64 12560, !6, i64 12568, !23, i64 12576, !28, i64 12580, !13, i64 12584, !13, i64 12588, !13, i64 12592, !28, i64 12596, !13, i64 12600, !116, i64 12604, !7, i64 12620, !13, i64 13100, !13, i64 13104, !23, i64 13108, !13, i64 13112, !13, i64 13116, !13, i64 13120, !7, i64 13124}
!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, !7, i64 52, !23, i64 140, !23, i64 144, !6, i64 152, !6, i64 160, !23, i64 168, !28, i64 172, !6, i64 176, !22, i64 184, !28, i64 192, !28, i64 193, !28, i64 194, !28, i64 195, !28, i64 196, !28, i64 197, !23, i64 200, !6, i64 208, !6, i64 216, !6, i64 224, !6, i64 232, !6, i64 240, !6, i64 248, !6, i64 256, !6, i64 264, !6, i64 272, !6, i64 280, !22, i64 288, !7, i64 296, !23, i64 304, !23, i64 308, !28, i64 312, !28, i64 313, !28, i64 314, !28, i64 315, !7, i64 316, !7, i64 828, !28, i64 908, !28, i64 909, !28, i64 910, !28, i64 911, !28, i64 912, !28, i64 913, !28, i64 914, !23, i64 916, !13, i64 920, !13, i64 924, !13, i64 928, !13, i64 932, !13, i64 936, !22, i64 940, !13, i64 948, !13, i64 952, !22, i64 956, !7, i64 964, !7, i64 1008, !7, i64 1048, !7, i64 1053, !7, i64 1058, !7, i64 1063, !7, i64 1068, !7, i64 1076, !7, i64 1096, !7, i64 1116, !7, i64 1156, !7, i64 1176, !7, i64 3224, !7, i64 5272, !7, i64 5352, !23, i64 5432, !75, i64 5436, !76, i64 5440}
!75 = !{!"short", !7, i64 0}
!76 = !{!"_ZTS8ImVectorItE", !13, i64 0, !13, i64 4, !6, i64 8}
!77 = !{!"_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, !22, i64 168, !22, i64 176, !23, i64 184, !28, i64 188, !28, i64 189, !28, i64 190, !23, i64 192, !23, i64 196, !7, i64 200}
!78 = !{!"_ZTS20ImDrawListSharedData", !22, i64 0, !6, i64 8, !23, i64 16, !23, i64 20, !23, i64 24, !79, i64 28, !13, i64 44, !7, i64 48, !23, i64 432, !7, i64 436, !6, i64 504}
!79 = !{!"_ZTS6ImVec4", !23, i64 0, !23, i64 4, !23, i64 8, !23, i64 12}
!80 = !{!"double", !7, i64 0}
!81 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !13, i64 0, !13, i64 4, !6, i64 8}
!82 = !{!"_ZTS8ImVectorI20ImGuiWindowStackDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!83 = !{!"long long", !7, i64 0}
!84 = !{!"_ZTS16ImGuiInputSource", !7, i64 0}
!85 = !{!"_ZTS17ImGuiNextItemData", !13, i64 0, !23, i64 4, !13, i64 8, !13, i64 12, !28, i64 16}
!86 = !{!"_ZTS17ImGuiLastItemData", !13, i64 0, !13, i64 4, !13, i64 8, !48, i64 12, !48, i64 28}
!87 = !{!"_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}
!88 = !{!"_ZTS8ImVectorIP6ImFontE", !13, i64 0, !13, i64 4, !6, i64 8}
!89 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!90 = !{!"_ZTS8ImVectorI14ImGuiPopupDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!91 = !{!"_ZTS8ImVectorIP14ImGuiViewportPE", !13, i64 0, !13, i64 4, !6, i64 8}
!92 = !{!"_ZTS13ImGuiNavLayer", !7, i64 0}
!93 = !{!"_ZTS15ImGuiNavForward", !7, i64 0}
!94 = !{!"_ZTS16ImGuiNavItemData", !6, i64 0, !13, i64 8, !13, i64 12, !48, i64 16, !23, i64 32, !23, i64 36, !23, i64 40}
!95 = !{!"_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}
!96 = !{!"_ZTS8ImVectorIhE", !13, i64 0, !13, i64 4, !6, i64 8}
!97 = !{!"_ZTS6ImPoolI10ImGuiTableE", !98, i64 0, !14, i64 16, !13, i64 32, !13, i64 36}
!98 = !{!"_ZTS8ImVectorI10ImGuiTableE", !13, i64 0, !13, i64 4, !6, i64 8}
!99 = !{!"_ZTS8ImVectorI18ImGuiTableTempDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!100 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !13, i64 0, !13, i64 4, !6, i64 8}
!101 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !102, i64 0, !14, i64 16, !13, i64 32, !13, i64 36}
!102 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !13, i64 0, !13, i64 4, !6, i64 8}
!103 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !13, i64 0, !13, i64 4, !6, i64 8}
!104 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !13, i64 0, !13, i64 4, !6, i64 8}
!105 = !{!"_ZTS19ImGuiInputTextState", !13, i64 0, !13, i64 4, !13, i64 8, !76, i64 16, !21, i64 32, !21, i64 48, !28, i64 64, !13, i64 68, !23, i64 72, !106, i64 76, !23, i64 3704, !28, i64 3708, !28, i64 3709, !28, i64 3710, !13, i64 3712, !6, i64 3720, !6, i64 3728}
!106 = !{!"_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, !107, i64 32}
!107 = !{!"_ZTSN5ImStb12StbUndoStateE", !7, i64 0, !7, i64 1584, !75, i64 3582, !75, i64 3584, !13, i64 3588, !13, i64 3592}
!108 = !{!"_ZTS6ImFont", !51, i64 0, !23, i64 16, !23, i64 20, !76, i64 24, !109, i64 40, !6, i64 56, !6, i64 64, !6, i64 72, !75, i64 80, !75, i64 82, !75, i64 84, !75, i64 86, !28, i64 88, !23, i64 92, !23, i64 96, !23, i64 100, !13, i64 104, !7, i64 108}
!109 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !13, i64 0, !13, i64 4, !6, i64 8}
!110 = !{!"_ZTS21ImGuiComboPreviewData", !48, i64 0, !22, i64 16, !22, i64 24, !22, i64 32, !23, i64 40, !13, i64 44}
!111 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !13, i64 0, !13, i64 4, !6, i64 8}
!112 = !{!"_ZTS13ImChunkStreamI19ImGuiWindowSettingsE", !21, i64 0}
!113 = !{!"_ZTS13ImChunkStreamI18ImGuiTableSettingsE", !21, i64 0}
!114 = !{!"_ZTS8ImVectorI16ImGuiContextHookE", !13, i64 0, !13, i64 4, !6, i64 8}
!115 = !{!"_ZTS12ImGuiLogType", !7, i64 0}
!116 = !{!"_ZTS18ImGuiMetricsConfig", !28, i64 0, !28, i64 1, !28, i64 2, !28, i64 3, !28, i64 4, !13, i64 8, !13, i64 12}
!117 = !{!60, !28, i64 30}
!118 = distinct !{!118, !55}


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