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

; 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.ImPlotContext = type { %struct.ImPool.34, %struct.ImPool.36, ptr, ptr, ptr, ptr, ptr, %struct.ImPlotTicker, %struct.ImPlotAnnotationCollection, %struct.ImPlotTagCollection, i8, [3 x i8], %struct.ImPlotStyle, %struct.ImVector.6, %struct.ImVector.7, %struct.ImPlotColormapData, %struct.ImVector.10, %struct.tm, %struct.ImVector.42, %struct.ImVector.42, %struct.ImVector.10, i32, i32, %struct.ImPlotNextPlotData, %struct.ImPlotNextItemData, %struct.ImPlotInputMap, i8, %struct.ImGuiTextBuffer, ptr, %struct.ImPool.43, ptr, ptr }
%struct.ImPool.34 = type { %struct.ImVector.35, %struct.ImGuiStorage, i32, i32 }
%struct.ImVector.35 = type { i32, i32, ptr }
%struct.ImGuiStorage = type { %struct.ImVector.4 }
%struct.ImVector.4 = type { i32, i32, ptr }
%struct.ImPool.36 = type { %struct.ImVector.37, %struct.ImGuiStorage, i32, i32 }
%struct.ImVector.37 = type { i32, i32, ptr }
%struct.ImPlotTicker = type <{ %struct.ImVector.38, %struct.ImGuiTextBuffer, %struct.ImVec2, %struct.ImVec2, i32, [4 x i8] }>
%struct.ImVector.38 = type { i32, i32, ptr }
%struct.ImVec2 = type { float, float }
%struct.ImPlotAnnotationCollection = type <{ %struct.ImVector.39, %struct.ImGuiTextBuffer, i32, [4 x i8] }>
%struct.ImVector.39 = type { i32, i32, ptr }
%struct.ImPlotTagCollection = type <{ %struct.ImVector.40, %struct.ImGuiTextBuffer, i32, [4 x i8] }>
%struct.ImVector.40 = type { i32, i32, ptr }
%struct.ImPlotStyle = type <{ float, i32, float, float, float, float, float, float, float, float, float, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, [21 x %struct.ImVec4], i32, i8, i8, i8, i8 }>
%struct.ImVec4 = type { float, float, float, float }
%struct.ImVector.6 = type { i32, i32, ptr }
%struct.ImVector.7 = type { i32, i32, ptr }
%struct.ImPlotColormapData = type <{ %struct.ImVector.9, %struct.ImVector.10, %struct.ImVector.10, %struct.ImVector.9, %struct.ImVector.10, %struct.ImVector.10, %struct.ImGuiTextBuffer, %struct.ImVector.10, %struct.ImVector.41, %struct.ImGuiStorage, i32, [4 x i8] }>
%struct.ImVector.9 = type { i32, i32, ptr }
%struct.ImVector.41 = type { i32, i32, ptr }
%struct.tm = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i64, ptr }
%struct.ImVector.42 = type { i32, i32, ptr }
%struct.ImVector.10 = type { i32, i32, ptr }
%struct.ImPlotNextPlotData = type { [6 x i32], [6 x %struct.ImPlotRange], [6 x i8], [6 x i8], [6 x ptr], [6 x ptr] }
%struct.ImPlotRange = type { double, double }
%struct.ImPlotNextItemData = type { [5 x %struct.ImVec4], float, i32, float, float, float, float, float, float, float, i8, i8, i8, i8, i8, i8, i32 }
%struct.ImPlotInputMap = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, float }
%struct.ImGuiTextBuffer = type { %struct.ImVector.24 }
%struct.ImVector.24 = type { i32, i32, ptr }
%struct.ImPool.43 = type { %struct.ImVector.44, %struct.ImGuiStorage, i32, i32 }
%struct.ImVector.44 = type { i32, i32, ptr }
%struct.ImPlotPlot = type <{ i32, i32, i32, i32, i32, [4 x i8], [6 x %struct.ImPlotAxis], %struct.ImGuiTextBuffer, %struct.ImPlotItemGroup, i32, i32, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImVec2, i32, i8, i8, i8, i8, i8, i8, i8, i8, i8, [3 x i8] }>
%struct.ImPlotAxis = type <{ i32, i32, i32, [4 x i8], %struct.ImPlotRange, i32, i32, %struct.ImPlotRange, ptr, %struct.ImPlotRange, %struct.ImPlotRange, %struct.ImPlotTicker, ptr, ptr, [16 x i8], ptr, ptr, ptr, i32, [4 x i8], %struct.ImPlotTime, %struct.ImPlotTime, ptr, ptr, ptr, float, float, double, double, double, float, float, %struct.ImRect, i32, i32, i32, i32, i32, i32, i32, i32, i32, i8, i8, i8, i8, i8, i8, i8, i8, [4 x i8] }>
%struct.ImPlotTime = type <{ i64, i32, [4 x i8] }>
%struct.ImPlotItemGroup = type <{ i32, [4 x i8], %struct.ImPlotLegend, %struct.ImPool.46, i32, [4 x i8] }>
%struct.ImPlotLegend = type <{ i32, i32, i32, i32, %struct.ImVector.10, %struct.ImGuiTextBuffer, %struct.ImRect, i8, i8, i8, [5 x i8] }>
%struct.ImPool.46 = type { %struct.ImVector.47, %struct.ImGuiStorage, i32, i32 }
%struct.ImVector.47 = type { i32, i32, ptr }
%struct.ImRect = type { %struct.ImVec2, %struct.ImVec2 }
%struct.ImPlotSubplot = type <{ i32, i32, i32, [4 x i8], %struct.ImPlotItemGroup, i32, i32, i32, %struct.ImRect, %struct.ImRect, %struct.ImVec2, [4 x i8], %struct.ImVector.44, %struct.ImVector.44, %struct.ImVector.18, %struct.ImVector.18, %struct.ImVector.48, %struct.ImVector.48, [2 x float], i8, i8, [6 x i8] }>
%struct.ImVector.18 = type { i32, i32, ptr }
%struct.ImVector.48 = type { i32, i32, ptr }

@GImPlot = external dso_local global ptr, align 8
@.str.20 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.115 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.116 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.120 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.121 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.122 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.123 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.124 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.125 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.126 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.127 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.128 = external hidden unnamed_addr constant [9 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 nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1

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

declare noundef i32 @_Z14ImFormatStringPcmPKcz(ptr noundef, i64 noundef, ptr noundef, ...) #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6ImPlot19ShowAxisContextMenuER10ImPlotAxisPS0_b(ptr noundef nonnull align 8 dereferenceable(372), ptr noundef, i1 noundef zeroext) #4

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK10ImPlotAxis8HasLabelEv(ptr noundef nonnull align 8 dereferenceable(372)) #5 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN6ImPlot21BeginDisabledControlsEb(i1 noundef zeroext) #5

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN6ImPlot19EndDisabledControlsEb(i1 noundef zeroext) #5

declare noundef zeroext i1 @_ZN5ImGui9BeginMenuEPKcb(ptr noundef, i1 noundef zeroext) #3

declare void @_ZN5ImGui9SeparatorEv() #3

declare void @_ZN5ImGui7EndMenuEv() #3

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6ImPlot23ShowSubplotsContextMenuER13ImPlotSubplot(ptr noundef nonnull align 8 dereferenceable(306)) #4

declare noundef zeroext i1 @_ZN5ImGui8MenuItemEPKcS1_bb(ptr noundef, ptr noundef, i1 noundef zeroext, i1 noundef zeroext) #3

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN6ImPlot19ShowPlotContextMenuER10ImPlotPlot(ptr noundef nonnull align 8 dereferenceable(2533) %0) #4 {
  %2 = alloca ptr, align 8
  %3 = alloca ptr, align 8
  %4 = alloca i8, align 1
  %5 = alloca i8, align 1
  %6 = alloca [16 x i8], align 16
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca ptr, align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #6
  %12 = load ptr, ptr @GImPlot, align 8, !tbaa !5
  store ptr %12, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %4) #6
  %13 = load ptr, ptr %3, align 8, !tbaa !5
  %14 = getelementptr inbounds %struct.ImPlotContext, ptr %13, i32 0, i32 4
  %15 = load ptr, ptr %14, align 8, !tbaa !9
  %16 = load ptr, ptr %2, align 8, !tbaa !5
  %17 = getelementptr inbounds %struct.ImPlotPlot, ptr %16, i32 0, i32 8
  %18 = icmp eq ptr %15, %17
  %19 = zext i1 %18 to i8
  store i8 %19, ptr %4, align 1, !tbaa !44
  call void @llvm.lifetime.start.p0(i64 1, ptr %5) #6
  %20 = load ptr, ptr %2, align 8, !tbaa !5
  %21 = getelementptr inbounds %struct.ImPlotPlot, ptr %20, i32 0, i32 1
  %22 = load i32, ptr %21, align 4, !tbaa !45
  %23 = call noundef zeroext i1 @_ZL9ImHasFlagIi12ImPlotFlags_EbT_T0_(i32 noundef %22, i32 noundef 256)
  %24 = zext i1 %23 to i8
  store i8 %24, ptr %5, align 1, !tbaa !44
  call void @llvm.lifetime.start.p0(i64 16, ptr %6) #6
  call void @llvm.memset.p0.i64(ptr align 16 %6, i8 0, i64 16, i1 false)
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #6
  store i32 0, ptr %7, align 4, !tbaa !52
  br label %25

25:                                               ; preds = %77, %1
  %26 = load i32, ptr %7, align 4, !tbaa !52
  %27 = icmp slt i32 %26, 3
  br i1 %27, label %29, label %28

28:                                               ; preds = %25
  store i32 2, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #6
  br label %80

29:                                               ; preds = %25
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #6
  %30 = load ptr, ptr %2, align 8, !tbaa !5
  %31 = load i32, ptr %7, align 4, !tbaa !52
  %32 = call noundef nonnull align 8 dereferenceable(372) ptr @_ZN10ImPlotPlot5XAxisEi(ptr noundef nonnull align 8 dereferenceable(2533) %30, i32 noundef %31)
  store ptr %32, ptr %9, align 8, !tbaa !5
  %33 = load ptr, ptr %9, align 8, !tbaa !5
  %34 = getelementptr inbounds %struct.ImPlotAxis, ptr %33, i32 0, i32 42
  %35 = load i8, ptr %34, align 4, !tbaa !53, !range !58, !noundef !59
  %36 = trunc i8 %35 to i1
  br i1 %36, label %37, label %40

37:                                               ; preds = %29
  %38 = load ptr, ptr %9, align 8, !tbaa !5
  %39 = call noundef zeroext i1 @_ZNK10ImPlotAxis8HasMenusEv(ptr noundef nonnull align 8 dereferenceable(372) %38)
  br i1 %39, label %41, label %40

40:                                               ; preds = %37, %29
  store i32 4, ptr %8, align 4
  br label %74

41:                                               ; preds = %37
  %42 = load i32, ptr %7, align 4, !tbaa !52
  call void @_ZN5ImGui6PushIDEi(i32 noundef %42)
  %43 = getelementptr inbounds [16 x i8], ptr %6, i64 0, i64 0
  %44 = load i32, ptr %7, align 4, !tbaa !52
  %45 = icmp eq i32 %44, 0
  %46 = zext i1 %45 to i64
  %47 = select i1 %45, ptr @.str.120, ptr @.str.121
  %48 = load i32, ptr %7, align 4, !tbaa !52
  %49 = add nsw i32 %48, 1
  %50 = call noundef i32 (ptr, i64, ptr, ...) @_Z14ImFormatStringPcmPKcz(ptr noundef %43, i64 noundef 15, ptr noundef %47, i32 noundef %49)
  %51 = load ptr, ptr %9, align 8, !tbaa !5
  %52 = call noundef zeroext i1 @_ZNK10ImPlotAxis8HasLabelEv(ptr noundef nonnull align 8 dereferenceable(372) %51)
  br i1 %52, label %53, label %57

53:                                               ; preds = %41
  %54 = load ptr, ptr %2, align 8, !tbaa !5
  %55 = load ptr, ptr %9, align 8, !tbaa !5
  %56 = call noundef ptr @_ZNK10ImPlotPlot12GetAxisLabelERK10ImPlotAxis(ptr noundef nonnull align 8 dereferenceable(2533) %54, ptr noundef nonnull align 8 dereferenceable(372) %55)
  br label %59

57:                                               ; preds = %41
  %58 = getelementptr inbounds [16 x i8], ptr %6, i64 0, i64 0
  br label %59

59:                                               ; preds = %57, %53
  %60 = phi ptr [ %56, %53 ], [ %58, %57 ]
  %61 = call noundef zeroext i1 @_ZN5ImGui9BeginMenuEPKcb(ptr noundef %60, i1 noundef zeroext true)
  br i1 %61, label %62, label %73

62:                                               ; preds = %59
  %63 = load ptr, ptr %9, align 8, !tbaa !5
  %64 = load i8, ptr %5, align 1, !tbaa !44, !range !58, !noundef !59
  %65 = trunc i8 %64 to i1
  br i1 %65, label %66, label %70

66:                                               ; preds = %62
  %67 = load ptr, ptr %9, align 8, !tbaa !5
  %68 = getelementptr inbounds %struct.ImPlotAxis, ptr %67, i32 0, i32 8
  %69 = load ptr, ptr %68, align 8, !tbaa !60
  br label %71

70:                                               ; preds = %62
  br label %71

71:                                               ; preds = %70, %66
  %72 = phi ptr [ %69, %66 ], [ null, %70 ]
  call void @_ZN6ImPlot19ShowAxisContextMenuER10ImPlotAxisPS0_b(ptr noundef nonnull align 8 dereferenceable(372) %63, ptr noundef %72, i1 noundef zeroext false)
  call void @_ZN5ImGui7EndMenuEv()
  br label %73

73:                                               ; preds = %71, %59
  call void @_ZN5ImGui5PopIDEv()
  store i32 0, ptr %8, align 4
  br label %74

74:                                               ; preds = %73, %40
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  %75 = load i32, ptr %8, align 4
  switch i32 %75, label %267 [
    i32 0, label %76
    i32 4, label %77
  ]

76:                                               ; preds = %74
  br label %77

77:                                               ; preds = %76, %74
  %78 = load i32, ptr %7, align 4, !tbaa !52
  %79 = add nsw i32 %78, 1
  store i32 %79, ptr %7, align 4, !tbaa !52
  br label %25, !llvm.loop !61

80:                                               ; preds = %28
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #6
  store i32 0, ptr %10, align 4, !tbaa !52
  br label %81

81:                                               ; preds = %133, %80
  %82 = load i32, ptr %10, align 4, !tbaa !52
  %83 = icmp slt i32 %82, 3
  br i1 %83, label %85, label %84

84:                                               ; preds = %81
  store i32 5, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #6
  br label %136

85:                                               ; preds = %81
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #6
  %86 = load ptr, ptr %2, align 8, !tbaa !5
  %87 = load i32, ptr %10, align 4, !tbaa !52
  %88 = call noundef nonnull align 8 dereferenceable(372) ptr @_ZN10ImPlotPlot5YAxisEi(ptr noundef nonnull align 8 dereferenceable(2533) %86, i32 noundef %87)
  store ptr %88, ptr %11, align 8, !tbaa !5
  %89 = load ptr, ptr %11, align 8, !tbaa !5
  %90 = getelementptr inbounds %struct.ImPlotAxis, ptr %89, i32 0, i32 42
  %91 = load i8, ptr %90, align 4, !tbaa !53, !range !58, !noundef !59
  %92 = trunc i8 %91 to i1
  br i1 %92, label %93, label %96

93:                                               ; preds = %85
  %94 = load ptr, ptr %11, align 8, !tbaa !5
  %95 = call noundef zeroext i1 @_ZNK10ImPlotAxis8HasMenusEv(ptr noundef nonnull align 8 dereferenceable(372) %94)
  br i1 %95, label %97, label %96

96:                                               ; preds = %93, %85
  store i32 7, ptr %8, align 4
  br label %130

97:                                               ; preds = %93
  %98 = load i32, ptr %10, align 4, !tbaa !52
  call void @_ZN5ImGui6PushIDEi(i32 noundef %98)
  %99 = getelementptr inbounds [16 x i8], ptr %6, i64 0, i64 0
  %100 = load i32, ptr %10, align 4, !tbaa !52
  %101 = icmp eq i32 %100, 0
  %102 = zext i1 %101 to i64
  %103 = select i1 %101, ptr @.str.122, ptr @.str.123
  %104 = load i32, ptr %10, align 4, !tbaa !52
  %105 = add nsw i32 %104, 1
  %106 = call noundef i32 (ptr, i64, ptr, ...) @_Z14ImFormatStringPcmPKcz(ptr noundef %99, i64 noundef 15, ptr noundef %103, i32 noundef %105)
  %107 = load ptr, ptr %11, align 8, !tbaa !5
  %108 = call noundef zeroext i1 @_ZNK10ImPlotAxis8HasLabelEv(ptr noundef nonnull align 8 dereferenceable(372) %107)
  br i1 %108, label %109, label %113

109:                                              ; preds = %97
  %110 = load ptr, ptr %2, align 8, !tbaa !5
  %111 = load ptr, ptr %11, align 8, !tbaa !5
  %112 = call noundef ptr @_ZNK10ImPlotPlot12GetAxisLabelERK10ImPlotAxis(ptr noundef nonnull align 8 dereferenceable(2533) %110, ptr noundef nonnull align 8 dereferenceable(372) %111)
  br label %115

113:                                              ; preds = %97
  %114 = getelementptr inbounds [16 x i8], ptr %6, i64 0, i64 0
  br label %115

115:                                              ; preds = %113, %109
  %116 = phi ptr [ %112, %109 ], [ %114, %113 ]
  %117 = call noundef zeroext i1 @_ZN5ImGui9BeginMenuEPKcb(ptr noundef %116, i1 noundef zeroext true)
  br i1 %117, label %118, label %129

118:                                              ; preds = %115
  %119 = load ptr, ptr %11, align 8, !tbaa !5
  %120 = load i8, ptr %5, align 1, !tbaa !44, !range !58, !noundef !59
  %121 = trunc i8 %120 to i1
  br i1 %121, label %122, label %126

122:                                              ; preds = %118
  %123 = load ptr, ptr %11, align 8, !tbaa !5
  %124 = getelementptr inbounds %struct.ImPlotAxis, ptr %123, i32 0, i32 8
  %125 = load ptr, ptr %124, align 8, !tbaa !60
  br label %127

126:                                              ; preds = %118
  br label %127

127:                                              ; preds = %126, %122
  %128 = phi ptr [ %125, %122 ], [ null, %126 ]
  call void @_ZN6ImPlot19ShowAxisContextMenuER10ImPlotAxisPS0_b(ptr noundef nonnull align 8 dereferenceable(372) %119, ptr noundef %128, i1 noundef zeroext false)
  call void @_ZN5ImGui7EndMenuEv()
  br label %129

129:                                              ; preds = %127, %115
  call void @_ZN5ImGui5PopIDEv()
  store i32 0, ptr %8, align 4
  br label %130

130:                                              ; preds = %129, %96
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  %131 = load i32, ptr %8, align 4
  switch i32 %131, label %267 [
    i32 0, label %132
    i32 7, label %133
  ]

132:                                              ; preds = %130
  br label %133

133:                                              ; preds = %132, %130
  %134 = load i32, ptr %10, align 4, !tbaa !52
  %135 = add nsw i32 %134, 1
  store i32 %135, ptr %10, align 4, !tbaa !52
  br label %81, !llvm.loop !63

136:                                              ; preds = %84
  call void @_ZN5ImGui9SeparatorEv()
  %137 = load ptr, ptr %3, align 8, !tbaa !5
  %138 = getelementptr inbounds %struct.ImPlotContext, ptr %137, i32 0, i32 4
  %139 = load ptr, ptr %138, align 8, !tbaa !9
  %140 = getelementptr inbounds %struct.ImPlotItemGroup, ptr %139, i32 0, i32 2
  %141 = getelementptr inbounds %struct.ImPlotLegend, ptr %140, i32 0, i32 0
  %142 = load i32, ptr %141, align 8, !tbaa !64
  %143 = call noundef zeroext i1 @_ZL9ImHasFlagIi18ImPlotLegendFlags_EbT_T0_(i32 noundef %142, i32 noundef 8)
  br i1 %143, label %191, label %144

144:                                              ; preds = %136
  %145 = call noundef zeroext i1 @_ZN5ImGui9BeginMenuEPKcb(ptr noundef @.str.124, i1 noundef zeroext true)
  br i1 %145, label %146, label %190

146:                                              ; preds = %144
  %147 = load i8, ptr %4, align 1, !tbaa !44, !range !58, !noundef !59
  %148 = trunc i8 %147 to i1
  br i1 %148, label %149, label %163

149:                                              ; preds = %146
  %150 = load ptr, ptr %2, align 8, !tbaa !5
  %151 = getelementptr inbounds %struct.ImPlotPlot, ptr %150, i32 0, i32 8
  %152 = getelementptr inbounds %struct.ImPlotItemGroup, ptr %151, i32 0, i32 2
  %153 = load ptr, ptr %2, align 8, !tbaa !5
  %154 = getelementptr inbounds %struct.ImPlotPlot, ptr %153, i32 0, i32 1
  %155 = load i32, ptr %154, align 4, !tbaa !45
  %156 = call noundef zeroext i1 @_ZL9ImHasFlagIi12ImPlotFlags_EbT_T0_(i32 noundef %155, i32 noundef 2)
  %157 = xor i1 %156, true
  %158 = call noundef zeroext i1 @_ZN6ImPlot21ShowLegendContextMenuER12ImPlotLegendb(ptr noundef nonnull align 8 dereferenceable(67) %152, i1 noundef zeroext %157)
  br i1 %158, label %159, label %162

159:                                              ; preds = %149
  %160 = load ptr, ptr %2, align 8, !tbaa !5
  %161 = getelementptr inbounds %struct.ImPlotPlot, ptr %160, i32 0, i32 1
  call void @_ZL10ImFlipFlagIi12ImPlotFlags_EvRT_T0_(ptr noundef nonnull align 4 dereferenceable(4) %161, i32 noundef 2)
  br label %162

162:                                              ; preds = %159, %149
  br label %189

163:                                              ; preds = %146
  %164 = load ptr, ptr %3, align 8, !tbaa !5
  %165 = getelementptr inbounds %struct.ImPlotContext, ptr %164, i32 0, i32 3
  %166 = load ptr, ptr %165, align 8, !tbaa !65
  %167 = icmp ne ptr %166, null
  br i1 %167, label %168, label %188

168:                                              ; preds = %163
  %169 = load ptr, ptr %3, align 8, !tbaa !5
  %170 = getelementptr inbounds %struct.ImPlotContext, ptr %169, i32 0, i32 3
  %171 = load ptr, ptr %170, align 8, !tbaa !65
  %172 = getelementptr inbounds %struct.ImPlotSubplot, ptr %171, i32 0, i32 4
  %173 = getelementptr inbounds %struct.ImPlotItemGroup, ptr %172, i32 0, i32 2
  %174 = load ptr, ptr %3, align 8, !tbaa !5
  %175 = getelementptr inbounds %struct.ImPlotContext, ptr %174, i32 0, i32 3
  %176 = load ptr, ptr %175, align 8, !tbaa !65
  %177 = getelementptr inbounds %struct.ImPlotSubplot, ptr %176, i32 0, i32 1
  %178 = load i32, ptr %177, align 4, !tbaa !66
  %179 = call noundef zeroext i1 @_ZL9ImHasFlagIi19ImPlotSubplotFlags_EbT_T0_(i32 noundef %178, i32 noundef 2)
  %180 = xor i1 %179, true
  %181 = call noundef zeroext i1 @_ZN6ImPlot21ShowLegendContextMenuER12ImPlotLegendb(ptr noundef nonnull align 8 dereferenceable(67) %173, i1 noundef zeroext %180)
  br i1 %181, label %182, label %187

182:                                              ; preds = %168
  %183 = load ptr, ptr %3, align 8, !tbaa !5
  %184 = getelementptr inbounds %struct.ImPlotContext, ptr %183, i32 0, i32 3
  %185 = load ptr, ptr %184, align 8, !tbaa !65
  %186 = getelementptr inbounds %struct.ImPlotSubplot, ptr %185, i32 0, i32 1
  call void @_ZL10ImFlipFlagIi19ImPlotSubplotFlags_EvRT_T0_(ptr noundef nonnull align 4 dereferenceable(4) %186, i32 noundef 2)
  br label %187

187:                                              ; preds = %182, %168
  br label %188

188:                                              ; preds = %187, %163
  br label %189

189:                                              ; preds = %188, %162
  call void @_ZN5ImGui7EndMenuEv()
  br label %190

190:                                              ; preds = %189, %144
  br label %191

191:                                              ; preds = %190, %136
  %192 = call noundef zeroext i1 @_ZN5ImGui9BeginMenuEPKcb(ptr noundef @.str.115, i1 noundef zeroext true)
  br i1 %192, label %193, label %247

193:                                              ; preds = %191
  %194 = load ptr, ptr %2, align 8, !tbaa !5
  %195 = getelementptr inbounds %struct.ImPlotPlot, ptr %194, i32 0, i32 1
  %196 = load i32, ptr %195, align 4, !tbaa !45
  %197 = call noundef zeroext i1 @_ZL9ImHasFlagIi12ImPlotFlags_EbT_T0_(i32 noundef %196, i32 noundef 256)
  %198 = call noundef zeroext i1 @_ZN5ImGui8MenuItemEPKcS1_bb(ptr noundef @.str.125, ptr noundef null, i1 noundef zeroext %197, i1 noundef zeroext true)
  br i1 %198, label %199, label %202

199:                                              ; preds = %193
  %200 = load ptr, ptr %2, align 8, !tbaa !5
  %201 = getelementptr inbounds %struct.ImPlotPlot, ptr %200, i32 0, i32 1
  call void @_ZL10ImFlipFlagIi12ImPlotFlags_EvRT_T0_(ptr noundef nonnull align 4 dereferenceable(4) %201, i32 noundef 256)
  br label %202

202:                                              ; preds = %199, %193
  %203 = load ptr, ptr %2, align 8, !tbaa !5
  %204 = getelementptr inbounds %struct.ImPlotPlot, ptr %203, i32 0, i32 1
  %205 = load i32, ptr %204, align 4, !tbaa !45
  %206 = call noundef zeroext i1 @_ZL9ImHasFlagIi12ImPlotFlags_EbT_T0_(i32 noundef %205, i32 noundef 32)
  %207 = xor i1 %206, true
  %208 = call noundef zeroext i1 @_ZN5ImGui8MenuItemEPKcS1_bb(ptr noundef @.str.126, ptr noundef null, i1 noundef zeroext %207, i1 noundef zeroext true)
  br i1 %208, label %209, label %212

209:                                              ; preds = %202
  %210 = load ptr, ptr %2, align 8, !tbaa !5
  %211 = getelementptr inbounds %struct.ImPlotPlot, ptr %210, i32 0, i32 1
  call void @_ZL10ImFlipFlagIi12ImPlotFlags_EvRT_T0_(ptr noundef nonnull align 4 dereferenceable(4) %211, i32 noundef 32)
  br label %212

212:                                              ; preds = %209, %202
  %213 = load ptr, ptr %2, align 8, !tbaa !5
  %214 = getelementptr inbounds %struct.ImPlotPlot, ptr %213, i32 0, i32 17
  %215 = load i32, ptr %214, align 8, !tbaa !70
  %216 = icmp eq i32 %215, -1
  call void @_ZN6ImPlot21BeginDisabledControlsEb(i1 noundef zeroext %216)
  %217 = load ptr, ptr %2, align 8, !tbaa !5
  %218 = call noundef zeroext i1 @_ZNK10ImPlotPlot8HasTitleEv(ptr noundef nonnull align 8 dereferenceable(2533) %217)
  %219 = call noundef zeroext i1 @_ZN5ImGui8MenuItemEPKcS1_bb(ptr noundef @.str.116, ptr noundef null, i1 noundef zeroext %218, i1 noundef zeroext true)
  br i1 %219, label %220, label %223

220:                                              ; preds = %212
  %221 = load ptr, ptr %2, align 8, !tbaa !5
  %222 = getelementptr inbounds %struct.ImPlotPlot, ptr %221, i32 0, i32 1
  call void @_ZL10ImFlipFlagIi12ImPlotFlags_EvRT_T0_(ptr noundef nonnull align 4 dereferenceable(4) %222, i32 noundef 1)
  br label %223

223:                                              ; preds = %220, %212
  %224 = load ptr, ptr %2, align 8, !tbaa !5
  %225 = getelementptr inbounds %struct.ImPlotPlot, ptr %224, i32 0, i32 17
  %226 = load i32, ptr %225, align 8, !tbaa !70
  %227 = icmp eq i32 %226, -1
  call void @_ZN6ImPlot19EndDisabledControlsEb(i1 noundef zeroext %227)
  %228 = load ptr, ptr %2, align 8, !tbaa !5
  %229 = getelementptr inbounds %struct.ImPlotPlot, ptr %228, i32 0, i32 1
  %230 = load i32, ptr %229, align 4, !tbaa !45
  %231 = call noundef zeroext i1 @_ZL9ImHasFlagIi12ImPlotFlags_EbT_T0_(i32 noundef %230, i32 noundef 4)
  %232 = xor i1 %231, true
  %233 = call noundef zeroext i1 @_ZN5ImGui8MenuItemEPKcS1_bb(ptr noundef @.str.127, ptr noundef null, i1 noundef zeroext %232, i1 noundef zeroext true)
  br i1 %233, label %234, label %237

234:                                              ; preds = %223
  %235 = load ptr, ptr %2, align 8, !tbaa !5
  %236 = getelementptr inbounds %struct.ImPlotPlot, ptr %235, i32 0, i32 1
  call void @_ZL10ImFlipFlagIi12ImPlotFlags_EvRT_T0_(ptr noundef nonnull align 4 dereferenceable(4) %236, i32 noundef 4)
  br label %237

237:                                              ; preds = %234, %223
  %238 = load ptr, ptr %2, align 8, !tbaa !5
  %239 = getelementptr inbounds %struct.ImPlotPlot, ptr %238, i32 0, i32 1
  %240 = load i32, ptr %239, align 4, !tbaa !45
  %241 = call noundef zeroext i1 @_ZL9ImHasFlagIi12ImPlotFlags_EbT_T0_(i32 noundef %240, i32 noundef 512)
  %242 = call noundef zeroext i1 @_ZN5ImGui8MenuItemEPKcS1_bb(ptr noundef @.str.20, ptr noundef null, i1 noundef zeroext %241, i1 noundef zeroext true)
  br i1 %242, label %243, label %246

243:                                              ; preds = %237
  %244 = load ptr, ptr %2, align 8, !tbaa !5
  %245 = getelementptr inbounds %struct.ImPlotPlot, ptr %244, i32 0, i32 1
  call void @_ZL10ImFlipFlagIi12ImPlotFlags_EvRT_T0_(ptr noundef nonnull align 4 dereferenceable(4) %245, i32 noundef 512)
  br label %246

246:                                              ; preds = %243, %237
  call void @_ZN5ImGui7EndMenuEv()
  br label %247

247:                                              ; preds = %246, %191
  %248 = load ptr, ptr %3, align 8, !tbaa !5
  %249 = getelementptr inbounds %struct.ImPlotContext, ptr %248, i32 0, i32 3
  %250 = load ptr, ptr %249, align 8, !tbaa !65
  %251 = icmp ne ptr %250, null
  br i1 %251, label %252, label %266

252:                                              ; preds = %247
  %253 = load ptr, ptr %3, align 8, !tbaa !5
  %254 = getelementptr inbounds %struct.ImPlotContext, ptr %253, i32 0, i32 2
  %255 = load ptr, ptr %254, align 8, !tbaa !71
  %256 = getelementptr inbounds %struct.ImPlotPlot, ptr %255, i32 0, i32 1
  %257 = load i32, ptr %256, align 4, !tbaa !45
  %258 = call noundef zeroext i1 @_ZL9ImHasFlagIi19ImPlotSubplotFlags_EbT_T0_(i32 noundef %257, i32 noundef 4)
  br i1 %258, label %266, label %259

259:                                              ; preds = %252
  call void @_ZN5ImGui9SeparatorEv()
  %260 = call noundef zeroext i1 @_ZN5ImGui9BeginMenuEPKcb(ptr noundef @.str.128, i1 noundef zeroext true)
  br i1 %260, label %261, label %265

261:                                              ; preds = %259
  %262 = load ptr, ptr %3, align 8, !tbaa !5
  %263 = getelementptr inbounds %struct.ImPlotContext, ptr %262, i32 0, i32 3
  %264 = load ptr, ptr %263, align 8, !tbaa !65
  call void @_ZN6ImPlot23ShowSubplotsContextMenuER13ImPlotSubplot(ptr noundef nonnull align 8 dereferenceable(306) %264)
  call void @_ZN5ImGui7EndMenuEv()
  br label %265

265:                                              ; preds = %261, %259
  br label %266

266:                                              ; preds = %265, %252, %247
  call void @llvm.lifetime.end.p0(i64 16, ptr %6) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %5) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %4) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #6
  ret void

267:                                              ; preds = %130, %74
  unreachable
}

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(372) ptr @_ZN10ImPlotPlot5XAxisEi(ptr noundef nonnull align 8 dereferenceable(2533), i32 noundef) #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK10ImPlotAxis8HasMenusEv(ptr noundef nonnull align 8 dereferenceable(372)) #5 align 2

declare void @_ZN5ImGui6PushIDEi(i32 noundef) #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNK10ImPlotPlot12GetAxisLabelERK10ImPlotAxis(ptr noundef nonnull align 8 dereferenceable(2533), ptr noundef nonnull align 8 dereferenceable(372)) #2 align 2

declare void @_ZN5ImGui5PopIDEv() #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(372) ptr @_ZN10ImPlotPlot5YAxisEi(ptr noundef nonnull align 8 dereferenceable(2533), i32 noundef) #2 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK10ImPlotPlot8HasTitleEv(ptr noundef nonnull align 8 dereferenceable(2533)) #5 align 2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { 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 #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { 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 96}
!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 = !{!28, !28, i64 0}
!45 = !{!46, !13, i64 4}
!46 = !{!"_ZTS10ImPlotPlot", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12, !13, i64 16, !7, i64 24, !20, i64 2280, !47, i64 2296, !13, i64 2424, !13, i64 2428, !49, i64 2432, !49, i64 2448, !49, i64 2464, !49, i64 2480, !49, i64 2496, !22, i64 2512, !13, i64 2520, !28, i64 2524, !28, i64 2525, !28, i64 2526, !28, i64 2527, !28, i64 2528, !28, i64 2529, !28, i64 2530, !28, i64 2531, !28, i64 2532}
!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 = !{!13, !13, i64 0}
!53 = !{!54, !28, i64 364}
!54 = !{!"_ZTS10ImPlotAxis", !13, i64 0, !13, i64 4, !13, i64 8, !55, i64 16, !13, i64 32, !13, i64 36, !55, i64 40, !6, i64 56, !55, i64 64, !55, i64 80, !18, i64 96, !6, i64 152, !6, i64 160, !7, i64 168, !6, i64 184, !6, i64 192, !6, i64 200, !13, i64 208, !57, i64 216, !57, i64 232, !6, i64 248, !6, i64 256, !6, i64 264, !23, i64 272, !23, i64 276, !56, i64 280, !56, i64 288, !56, i64 296, !23, i64 304, !23, i64 308, !49, i64 312, !13, i64 328, !13, i64 332, !13, i64 336, !13, i64 340, !13, i64 344, !13, i64 348, !13, i64 352, !13, i64 356, !13, i64 360, !28, i64 364, !28, i64 365, !28, i64 366, !28, i64 367, !28, i64 368, !28, i64 369, !28, i64 370, !28, i64 371}
!55 = !{!"_ZTS11ImPlotRange", !56, i64 0, !56, i64 8}
!56 = !{!"double", !7, i64 0}
!57 = !{!"_ZTS10ImPlotTime", !37, i64 0, !13, i64 8}
!58 = !{i8 0, i8 2}
!59 = !{}
!60 = !{!54, !6, i64 56}
!61 = distinct !{!61, !62}
!62 = !{!"llvm.loop.mustprogress"}
!63 = distinct !{!63, !62}
!64 = !{!47, !13, i64 8}
!65 = !{!10, !6, i64 88}
!66 = !{!67, !13, i64 4}
!67 = !{!"_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, !68, i64 232, !68, i64 248, !69, i64 264, !69, i64 280, !7, i64 296, !28, i64 304, !28, i64 305}
!68 = !{!"_ZTS8ImVectorIfE", !13, i64 0, !13, i64 4, !6, i64 8}
!69 = !{!"_ZTS8ImVectorI11ImPlotRangeE", !13, i64 0, !13, i64 4, !6, i64 8}
!70 = !{!46, !13, i64 2520}
!71 = !{!10, !6, i64 80}


; 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"

@GImPlot = external dso_local local_unnamed_addr global ptr, align 8
@.str.20 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.115 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.116 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.120 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.121 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.122 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.123 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.124 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.125 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.126 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.127 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.128 = external hidden unnamed_addr constant [9 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 nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1

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

declare noundef i32 @_Z14ImFormatStringPcmPKcz(ptr noundef, i64 noundef, ptr noundef, ...) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6ImPlot19ShowAxisContextMenuER10ImPlotAxisPS0_b(ptr noundef nonnull align 8 dereferenceable(372), ptr noundef, i1 noundef zeroext) local_unnamed_addr #4

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK10ImPlotAxis8HasLabelEv(ptr noundef nonnull align 8 dereferenceable(372)) local_unnamed_addr #5 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN6ImPlot21BeginDisabledControlsEb(i1 noundef zeroext) local_unnamed_addr #5

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN6ImPlot19EndDisabledControlsEb(i1 noundef zeroext) local_unnamed_addr #5

declare noundef zeroext i1 @_ZN5ImGui9BeginMenuEPKcb(ptr noundef, i1 noundef zeroext) local_unnamed_addr #3

declare void @_ZN5ImGui9SeparatorEv() local_unnamed_addr #3

declare void @_ZN5ImGui7EndMenuEv() local_unnamed_addr #3

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6ImPlot23ShowSubplotsContextMenuER13ImPlotSubplot(ptr noundef nonnull align 8 dereferenceable(306)) local_unnamed_addr #4

declare noundef zeroext i1 @_ZN5ImGui8MenuItemEPKcS1_bb(ptr noundef, ptr noundef, i1 noundef zeroext, i1 noundef zeroext) local_unnamed_addr #3

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN6ImPlot19ShowPlotContextMenuER10ImPlotPlot(ptr noundef nonnull align 8 dereferenceable(2533) %0) local_unnamed_addr #4 {
  %2 = alloca [16 x i8], align 16
  %3 = load ptr, ptr @GImPlot, align 8, !tbaa !5
  %4 = getelementptr inbounds i8, ptr %3, i64 96
  %5 = load ptr, ptr %4, align 8, !tbaa !9
  %6 = getelementptr inbounds i8, ptr %0, i64 2296
  %7 = icmp eq ptr %5, %6
  %8 = getelementptr inbounds i8, ptr %0, i64 4
  %9 = load i32, ptr %8, align 4, !tbaa !44
  %10 = tail call noundef zeroext i1 @_ZL9ImHasFlagIi12ImPlotFlags_EbT_T0_(i32 noundef %9, i32 noundef 256)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %2) #6
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %2, i8 0, i64 16, i1 false)
  %11 = tail call noundef nonnull align 8 dereferenceable(372) ptr @_ZN10ImPlotPlot5XAxisEi(ptr noundef nonnull align 8 dereferenceable(2533) %0, i32 noundef 0)
  %12 = getelementptr inbounds i8, ptr %11, i64 364
  %13 = load i8, ptr %12, align 4, !tbaa !51, !range !56, !noundef !57
  %14 = trunc nuw i8 %13 to i1
  br i1 %10, label %.split.us.preheader, label %.split.preheader

.split.preheader:                                 ; preds = %1
  br i1 %14, label %122, label %.split.1

.split.us.preheader:                              ; preds = %1
  br i1 %14, label %15, label %.split.us.1

15:                                               ; preds = %.split.us.preheader
  %16 = tail call noundef zeroext i1 @_ZNK10ImPlotAxis8HasMenusEv(ptr noundef nonnull align 8 dereferenceable(372) %11)
  br i1 %16, label %17, label %.split.us.1

17:                                               ; preds = %15
  tail call void @_ZN5ImGui6PushIDEi(i32 noundef 0)
  %18 = call noundef i32 (ptr, i64, ptr, ...) @_Z14ImFormatStringPcmPKcz(ptr noundef nonnull %2, i64 noundef 15, ptr noundef nonnull @.str.120, i32 noundef 1)
  %19 = call noundef zeroext i1 @_ZNK10ImPlotAxis8HasLabelEv(ptr noundef nonnull align 8 dereferenceable(372) %11)
  br i1 %19, label %20, label %22

20:                                               ; preds = %17
  %21 = call noundef ptr @_ZNK10ImPlotPlot12GetAxisLabelERK10ImPlotAxis(ptr noundef nonnull align 8 dereferenceable(2533) %0, ptr noundef nonnull align 8 dereferenceable(372) %11)
  br label %22

22:                                               ; preds = %20, %17
  %23 = phi ptr [ %21, %20 ], [ %2, %17 ]
  %24 = call noundef zeroext i1 @_ZN5ImGui9BeginMenuEPKcb(ptr noundef %23, i1 noundef zeroext true)
  br i1 %24, label %25, label %28

25:                                               ; preds = %22
  %26 = getelementptr inbounds i8, ptr %11, i64 56
  %27 = load ptr, ptr %26, align 8
  call void @_ZN6ImPlot19ShowAxisContextMenuER10ImPlotAxisPS0_b(ptr noundef nonnull align 8 dereferenceable(372) %11, ptr noundef %27, i1 noundef zeroext false)
  call void @_ZN5ImGui7EndMenuEv()
  br label %28

28:                                               ; preds = %25, %22
  call void @_ZN5ImGui5PopIDEv()
  br label %.split.us.1

.split.us.1:                                      ; preds = %28, %15, %.split.us.preheader
  %29 = call noundef nonnull align 8 dereferenceable(372) ptr @_ZN10ImPlotPlot5XAxisEi(ptr noundef nonnull align 8 dereferenceable(2533) %0, i32 noundef 1)
  %30 = getelementptr inbounds i8, ptr %29, i64 364
  %31 = load i8, ptr %30, align 4, !tbaa !51, !range !56, !noundef !57
  %32 = trunc nuw i8 %31 to i1
  br i1 %32, label %33, label %.split.us.2

33:                                               ; preds = %.split.us.1
  %34 = call noundef zeroext i1 @_ZNK10ImPlotAxis8HasMenusEv(ptr noundef nonnull align 8 dereferenceable(372) %29)
  br i1 %34, label %35, label %.split.us.2

35:                                               ; preds = %33
  call void @_ZN5ImGui6PushIDEi(i32 noundef 1)
  %36 = call noundef i32 (ptr, i64, ptr, ...) @_Z14ImFormatStringPcmPKcz(ptr noundef nonnull %2, i64 noundef 15, ptr noundef nonnull @.str.121, i32 noundef 2)
  %37 = call noundef zeroext i1 @_ZNK10ImPlotAxis8HasLabelEv(ptr noundef nonnull align 8 dereferenceable(372) %29)
  br i1 %37, label %38, label %40

38:                                               ; preds = %35
  %39 = call noundef ptr @_ZNK10ImPlotPlot12GetAxisLabelERK10ImPlotAxis(ptr noundef nonnull align 8 dereferenceable(2533) %0, ptr noundef nonnull align 8 dereferenceable(372) %29)
  br label %40

40:                                               ; preds = %38, %35
  %41 = phi ptr [ %39, %38 ], [ %2, %35 ]
  %42 = call noundef zeroext i1 @_ZN5ImGui9BeginMenuEPKcb(ptr noundef %41, i1 noundef zeroext true)
  br i1 %42, label %43, label %46

43:                                               ; preds = %40
  %44 = getelementptr inbounds i8, ptr %29, i64 56
  %45 = load ptr, ptr %44, align 8
  call void @_ZN6ImPlot19ShowAxisContextMenuER10ImPlotAxisPS0_b(ptr noundef nonnull align 8 dereferenceable(372) %29, ptr noundef %45, i1 noundef zeroext false)
  call void @_ZN5ImGui7EndMenuEv()
  br label %46

46:                                               ; preds = %43, %40
  call void @_ZN5ImGui5PopIDEv()
  br label %.split.us.2

.split.us.2:                                      ; preds = %46, %33, %.split.us.1
  %47 = call noundef nonnull align 8 dereferenceable(372) ptr @_ZN10ImPlotPlot5XAxisEi(ptr noundef nonnull align 8 dereferenceable(2533) %0, i32 noundef 2)
  %48 = getelementptr inbounds i8, ptr %47, i64 364
  %49 = load i8, ptr %48, align 4, !tbaa !51, !range !56, !noundef !57
  %50 = trunc nuw i8 %49 to i1
  br i1 %50, label %51, label %.preheader.split62.us.preheader

51:                                               ; preds = %.split.us.2
  %52 = call noundef zeroext i1 @_ZNK10ImPlotAxis8HasMenusEv(ptr noundef nonnull align 8 dereferenceable(372) %47)
  br i1 %52, label %53, label %.preheader.split62.us.preheader

53:                                               ; preds = %51
  call void @_ZN5ImGui6PushIDEi(i32 noundef 2)
  %54 = call noundef i32 (ptr, i64, ptr, ...) @_Z14ImFormatStringPcmPKcz(ptr noundef nonnull %2, i64 noundef 15, ptr noundef nonnull @.str.121, i32 noundef 3)
  %55 = call noundef zeroext i1 @_ZNK10ImPlotAxis8HasLabelEv(ptr noundef nonnull align 8 dereferenceable(372) %47)
  br i1 %55, label %56, label %58

56:                                               ; preds = %53
  %57 = call noundef ptr @_ZNK10ImPlotPlot12GetAxisLabelERK10ImPlotAxis(ptr noundef nonnull align 8 dereferenceable(2533) %0, ptr noundef nonnull align 8 dereferenceable(372) %47)
  br label %58

58:                                               ; preds = %56, %53
  %59 = phi ptr [ %57, %56 ], [ %2, %53 ]
  %60 = call noundef zeroext i1 @_ZN5ImGui9BeginMenuEPKcb(ptr noundef %59, i1 noundef zeroext true)
  br i1 %60, label %61, label %64

61:                                               ; preds = %58
  %62 = getelementptr inbounds i8, ptr %47, i64 56
  %63 = load ptr, ptr %62, align 8
  call void @_ZN6ImPlot19ShowAxisContextMenuER10ImPlotAxisPS0_b(ptr noundef nonnull align 8 dereferenceable(372) %47, ptr noundef %63, i1 noundef zeroext false)
  call void @_ZN5ImGui7EndMenuEv()
  br label %64

64:                                               ; preds = %61, %58
  call void @_ZN5ImGui5PopIDEv()
  br label %.preheader.split62.us.preheader

.preheader.split62.preheader:                     ; preds = %165, %154, %.split.2
  %65 = call noundef nonnull align 8 dereferenceable(372) ptr @_ZN10ImPlotPlot5YAxisEi(ptr noundef nonnull align 8 dereferenceable(2533) %0, i32 noundef 0)
  %66 = getelementptr inbounds i8, ptr %65, i64 364
  %67 = load i8, ptr %66, align 4, !tbaa !51, !range !56, !noundef !57
  %68 = trunc nuw i8 %67 to i1
  br i1 %68, label %170, label %.preheader.split62.1

.preheader.split62.us.preheader:                  ; preds = %.split.us.2, %51, %64
  %69 = call noundef nonnull align 8 dereferenceable(372) ptr @_ZN10ImPlotPlot5YAxisEi(ptr noundef nonnull align 8 dereferenceable(2533) %0, i32 noundef 0)
  %70 = getelementptr inbounds i8, ptr %69, i64 364
  %71 = load i8, ptr %70, align 4, !tbaa !51, !range !56, !noundef !57
  %72 = trunc nuw i8 %71 to i1
  br i1 %72, label %73, label %.preheader.split62.us.1

73:                                               ; preds = %.preheader.split62.us.preheader
  %74 = call noundef zeroext i1 @_ZNK10ImPlotAxis8HasMenusEv(ptr noundef nonnull align 8 dereferenceable(372) %69)
  br i1 %74, label %75, label %.preheader.split62.us.1

75:                                               ; preds = %73
  call void @_ZN5ImGui6PushIDEi(i32 noundef 0)
  %76 = call noundef i32 (ptr, i64, ptr, ...) @_Z14ImFormatStringPcmPKcz(ptr noundef nonnull %2, i64 noundef 15, ptr noundef nonnull @.str.122, i32 noundef 1)
  %77 = call noundef zeroext i1 @_ZNK10ImPlotAxis8HasLabelEv(ptr noundef nonnull align 8 dereferenceable(372) %69)
  br i1 %77, label %78, label %80

78:                                               ; preds = %75
  %79 = call noundef ptr @_ZNK10ImPlotPlot12GetAxisLabelERK10ImPlotAxis(ptr noundef nonnull align 8 dereferenceable(2533) %0, ptr noundef nonnull align 8 dereferenceable(372) %69)
  br label %80

80:                                               ; preds = %78, %75
  %81 = phi ptr [ %79, %78 ], [ %2, %75 ]
  %82 = call noundef zeroext i1 @_ZN5ImGui9BeginMenuEPKcb(ptr noundef %81, i1 noundef zeroext true)
  br i1 %82, label %83, label %86

83:                                               ; preds = %80
  %84 = getelementptr inbounds i8, ptr %69, i64 56
  %85 = load ptr, ptr %84, align 8
  call void @_ZN6ImPlot19ShowAxisContextMenuER10ImPlotAxisPS0_b(ptr noundef nonnull align 8 dereferenceable(372) %69, ptr noundef %85, i1 noundef zeroext false)
  call void @_ZN5ImGui7EndMenuEv()
  br label %86

86:                                               ; preds = %83, %80
  call void @_ZN5ImGui5PopIDEv()
  br label %.preheader.split62.us.1

.preheader.split62.us.1:                          ; preds = %86, %73, %.preheader.split62.us.preheader
  %87 = call noundef nonnull align 8 dereferenceable(372) ptr @_ZN10ImPlotPlot5YAxisEi(ptr noundef nonnull align 8 dereferenceable(2533) %0, i32 noundef 1)
  %88 = getelementptr inbounds i8, ptr %87, i64 364
  %89 = load i8, ptr %88, align 4, !tbaa !51, !range !56, !noundef !57
  %90 = trunc nuw i8 %89 to i1
  br i1 %90, label %91, label %.preheader.split62.us.2

91:                                               ; preds = %.preheader.split62.us.1
  %92 = call noundef zeroext i1 @_ZNK10ImPlotAxis8HasMenusEv(ptr noundef nonnull align 8 dereferenceable(372) %87)
  br i1 %92, label %93, label %.preheader.split62.us.2

93:                                               ; preds = %91
  call void @_ZN5ImGui6PushIDEi(i32 noundef 1)
  %94 = call noundef i32 (ptr, i64, ptr, ...) @_Z14ImFormatStringPcmPKcz(ptr noundef nonnull %2, i64 noundef 15, ptr noundef nonnull @.str.123, i32 noundef 2)
  %95 = call noundef zeroext i1 @_ZNK10ImPlotAxis8HasLabelEv(ptr noundef nonnull align 8 dereferenceable(372) %87)
  br i1 %95, label %96, label %98

96:                                               ; preds = %93
  %97 = call noundef ptr @_ZNK10ImPlotPlot12GetAxisLabelERK10ImPlotAxis(ptr noundef nonnull align 8 dereferenceable(2533) %0, ptr noundef nonnull align 8 dereferenceable(372) %87)
  br label %98

98:                                               ; preds = %96, %93
  %99 = phi ptr [ %97, %96 ], [ %2, %93 ]
  %100 = call noundef zeroext i1 @_ZN5ImGui9BeginMenuEPKcb(ptr noundef %99, i1 noundef zeroext true)
  br i1 %100, label %101, label %104

101:                                              ; preds = %98
  %102 = getelementptr inbounds i8, ptr %87, i64 56
  %103 = load ptr, ptr %102, align 8
  call void @_ZN6ImPlot19ShowAxisContextMenuER10ImPlotAxisPS0_b(ptr noundef nonnull align 8 dereferenceable(372) %87, ptr noundef %103, i1 noundef zeroext false)
  call void @_ZN5ImGui7EndMenuEv()
  br label %104

104:                                              ; preds = %101, %98
  call void @_ZN5ImGui5PopIDEv()
  br label %.preheader.split62.us.2

.preheader.split62.us.2:                          ; preds = %104, %91, %.preheader.split62.us.1
  %105 = call noundef nonnull align 8 dereferenceable(372) ptr @_ZN10ImPlotPlot5YAxisEi(ptr noundef nonnull align 8 dereferenceable(2533) %0, i32 noundef 2)
  %106 = getelementptr inbounds i8, ptr %105, i64 364
  %107 = load i8, ptr %106, align 4, !tbaa !51, !range !56, !noundef !57
  %108 = trunc nuw i8 %107 to i1
  br i1 %108, label %109, label %.split64.us

109:                                              ; preds = %.preheader.split62.us.2
  %110 = call noundef zeroext i1 @_ZNK10ImPlotAxis8HasMenusEv(ptr noundef nonnull align 8 dereferenceable(372) %105)
  br i1 %110, label %111, label %.split64.us

111:                                              ; preds = %109
  call void @_ZN5ImGui6PushIDEi(i32 noundef 2)
  %112 = call noundef i32 (ptr, i64, ptr, ...) @_Z14ImFormatStringPcmPKcz(ptr noundef nonnull %2, i64 noundef 15, ptr noundef nonnull @.str.123, i32 noundef 3)
  %113 = call noundef zeroext i1 @_ZNK10ImPlotAxis8HasLabelEv(ptr noundef nonnull align 8 dereferenceable(372) %105)
  br i1 %113, label %114, label %116

114:                                              ; preds = %111
  %115 = call noundef ptr @_ZNK10ImPlotPlot12GetAxisLabelERK10ImPlotAxis(ptr noundef nonnull align 8 dereferenceable(2533) %0, ptr noundef nonnull align 8 dereferenceable(372) %105)
  br label %116

116:                                              ; preds = %114, %111
  %117 = phi ptr [ %115, %114 ], [ %2, %111 ]
  %118 = call noundef zeroext i1 @_ZN5ImGui9BeginMenuEPKcb(ptr noundef %117, i1 noundef zeroext true)
  br i1 %118, label %119, label %.split64.us.sink.split

119:                                              ; preds = %116
  %120 = getelementptr inbounds i8, ptr %105, i64 56
  %121 = load ptr, ptr %120, align 8
  call void @_ZN6ImPlot19ShowAxisContextMenuER10ImPlotAxisPS0_b(ptr noundef nonnull align 8 dereferenceable(372) %105, ptr noundef %121, i1 noundef zeroext false)
  br label %.split64.us.sink.split.sink.split

122:                                              ; preds = %.split.preheader
  %123 = tail call noundef zeroext i1 @_ZNK10ImPlotAxis8HasMenusEv(ptr noundef nonnull align 8 dereferenceable(372) %11)
  br i1 %123, label %124, label %.split.1

124:                                              ; preds = %122
  tail call void @_ZN5ImGui6PushIDEi(i32 noundef 0)
  %125 = call noundef i32 (ptr, i64, ptr, ...) @_Z14ImFormatStringPcmPKcz(ptr noundef nonnull %2, i64 noundef 15, ptr noundef nonnull @.str.120, i32 noundef 1)
  %126 = call noundef zeroext i1 @_ZNK10ImPlotAxis8HasLabelEv(ptr noundef nonnull align 8 dereferenceable(372) %11)
  br i1 %126, label %127, label %129

127:                                              ; preds = %124
  %128 = call noundef ptr @_ZNK10ImPlotPlot12GetAxisLabelERK10ImPlotAxis(ptr noundef nonnull align 8 dereferenceable(2533) %0, ptr noundef nonnull align 8 dereferenceable(372) %11)
  br label %129

129:                                              ; preds = %124, %127
  %130 = phi ptr [ %128, %127 ], [ %2, %124 ]
  %131 = call noundef zeroext i1 @_ZN5ImGui9BeginMenuEPKcb(ptr noundef %130, i1 noundef zeroext true)
  br i1 %131, label %132, label %133

132:                                              ; preds = %129
  call void @_ZN6ImPlot19ShowAxisContextMenuER10ImPlotAxisPS0_b(ptr noundef nonnull align 8 dereferenceable(372) %11, ptr noundef null, i1 noundef zeroext false)
  call void @_ZN5ImGui7EndMenuEv()
  br label %133

133:                                              ; preds = %132, %129
  call void @_ZN5ImGui5PopIDEv()
  br label %.split.1

.split.1:                                         ; preds = %.split.preheader, %122, %133
  %134 = call noundef nonnull align 8 dereferenceable(372) ptr @_ZN10ImPlotPlot5XAxisEi(ptr noundef nonnull align 8 dereferenceable(2533) %0, i32 noundef 1)
  %135 = getelementptr inbounds i8, ptr %134, i64 364
  %136 = load i8, ptr %135, align 4, !tbaa !51, !range !56, !noundef !57
  %137 = trunc nuw i8 %136 to i1
  br i1 %137, label %138, label %.split.2

138:                                              ; preds = %.split.1
  %139 = call noundef zeroext i1 @_ZNK10ImPlotAxis8HasMenusEv(ptr noundef nonnull align 8 dereferenceable(372) %134)
  br i1 %139, label %140, label %.split.2

140:                                              ; preds = %138
  call void @_ZN5ImGui6PushIDEi(i32 noundef 1)
  %141 = call noundef i32 (ptr, i64, ptr, ...) @_Z14ImFormatStringPcmPKcz(ptr noundef nonnull %2, i64 noundef 15, ptr noundef nonnull @.str.121, i32 noundef 2)
  %142 = call noundef zeroext i1 @_ZNK10ImPlotAxis8HasLabelEv(ptr noundef nonnull align 8 dereferenceable(372) %134)
  br i1 %142, label %143, label %145

143:                                              ; preds = %140
  %144 = call noundef ptr @_ZNK10ImPlotPlot12GetAxisLabelERK10ImPlotAxis(ptr noundef nonnull align 8 dereferenceable(2533) %0, ptr noundef nonnull align 8 dereferenceable(372) %134)
  br label %145

145:                                              ; preds = %143, %140
  %146 = phi ptr [ %144, %143 ], [ %2, %140 ]
  %147 = call noundef zeroext i1 @_ZN5ImGui9BeginMenuEPKcb(ptr noundef %146, i1 noundef zeroext true)
  br i1 %147, label %148, label %149

148:                                              ; preds = %145
  call void @_ZN6ImPlot19ShowAxisContextMenuER10ImPlotAxisPS0_b(ptr noundef nonnull align 8 dereferenceable(372) %134, ptr noundef null, i1 noundef zeroext false)
  call void @_ZN5ImGui7EndMenuEv()
  br label %149

149:                                              ; preds = %148, %145
  call void @_ZN5ImGui5PopIDEv()
  br label %.split.2

.split.2:                                         ; preds = %149, %138, %.split.1
  %150 = call noundef nonnull align 8 dereferenceable(372) ptr @_ZN10ImPlotPlot5XAxisEi(ptr noundef nonnull align 8 dereferenceable(2533) %0, i32 noundef 2)
  %151 = getelementptr inbounds i8, ptr %150, i64 364
  %152 = load i8, ptr %151, align 4, !tbaa !51, !range !56, !noundef !57
  %153 = trunc nuw i8 %152 to i1
  br i1 %153, label %154, label %.preheader.split62.preheader

154:                                              ; preds = %.split.2
  %155 = call noundef zeroext i1 @_ZNK10ImPlotAxis8HasMenusEv(ptr noundef nonnull align 8 dereferenceable(372) %150)
  br i1 %155, label %156, label %.preheader.split62.preheader

156:                                              ; preds = %154
  call void @_ZN5ImGui6PushIDEi(i32 noundef 2)
  %157 = call noundef i32 (ptr, i64, ptr, ...) @_Z14ImFormatStringPcmPKcz(ptr noundef nonnull %2, i64 noundef 15, ptr noundef nonnull @.str.121, i32 noundef 3)
  %158 = call noundef zeroext i1 @_ZNK10ImPlotAxis8HasLabelEv(ptr noundef nonnull align 8 dereferenceable(372) %150)
  br i1 %158, label %159, label %161

159:                                              ; preds = %156
  %160 = call noundef ptr @_ZNK10ImPlotPlot12GetAxisLabelERK10ImPlotAxis(ptr noundef nonnull align 8 dereferenceable(2533) %0, ptr noundef nonnull align 8 dereferenceable(372) %150)
  br label %161

161:                                              ; preds = %159, %156
  %162 = phi ptr [ %160, %159 ], [ %2, %156 ]
  %163 = call noundef zeroext i1 @_ZN5ImGui9BeginMenuEPKcb(ptr noundef %162, i1 noundef zeroext true)
  br i1 %163, label %164, label %165

164:                                              ; preds = %161
  call void @_ZN6ImPlot19ShowAxisContextMenuER10ImPlotAxisPS0_b(ptr noundef nonnull align 8 dereferenceable(372) %150, ptr noundef null, i1 noundef zeroext false)
  call void @_ZN5ImGui7EndMenuEv()
  br label %165

165:                                              ; preds = %164, %161
  call void @_ZN5ImGui5PopIDEv()
  br label %.preheader.split62.preheader

.split64.us.sink.split.sink.split:                ; preds = %212, %119
  call void @_ZN5ImGui7EndMenuEv()
  br label %.split64.us.sink.split

.split64.us.sink.split:                           ; preds = %.split64.us.sink.split.sink.split, %116, %209
  call void @_ZN5ImGui5PopIDEv()
  br label %.split64.us

.split64.us:                                      ; preds = %.split64.us.sink.split, %.preheader.split62.2, %202, %.preheader.split62.us.2, %109
  call void @_ZN5ImGui9SeparatorEv()
  %166 = load ptr, ptr %4, align 8, !tbaa !9
  %167 = getelementptr inbounds i8, ptr %166, i64 8
  %168 = load i32, ptr %167, align 8, !tbaa !58
  %169 = call noundef zeroext i1 @_ZL9ImHasFlagIi18ImPlotLegendFlags_EbT_T0_(i32 noundef %168, i32 noundef 8)
  br i1 %169, label %237, label %213

170:                                              ; preds = %.preheader.split62.preheader
  %171 = call noundef zeroext i1 @_ZNK10ImPlotAxis8HasMenusEv(ptr noundef nonnull align 8 dereferenceable(372) %65)
  br i1 %171, label %172, label %.preheader.split62.1

172:                                              ; preds = %170
  call void @_ZN5ImGui6PushIDEi(i32 noundef 0)
  %173 = call noundef i32 (ptr, i64, ptr, ...) @_Z14ImFormatStringPcmPKcz(ptr noundef nonnull %2, i64 noundef 15, ptr noundef nonnull @.str.122, i32 noundef 1)
  %174 = call noundef zeroext i1 @_ZNK10ImPlotAxis8HasLabelEv(ptr noundef nonnull align 8 dereferenceable(372) %65)
  br i1 %174, label %175, label %177

175:                                              ; preds = %172
  %176 = call noundef ptr @_ZNK10ImPlotPlot12GetAxisLabelERK10ImPlotAxis(ptr noundef nonnull align 8 dereferenceable(2533) %0, ptr noundef nonnull align 8 dereferenceable(372) %65)
  br label %177

177:                                              ; preds = %172, %175
  %178 = phi ptr [ %176, %175 ], [ %2, %172 ]
  %179 = call noundef zeroext i1 @_ZN5ImGui9BeginMenuEPKcb(ptr noundef %178, i1 noundef zeroext true)
  br i1 %179, label %180, label %181

180:                                              ; preds = %177
  call void @_ZN6ImPlot19ShowAxisContextMenuER10ImPlotAxisPS0_b(ptr noundef nonnull align 8 dereferenceable(372) %65, ptr noundef null, i1 noundef zeroext false)
  call void @_ZN5ImGui7EndMenuEv()
  br label %181

181:                                              ; preds = %180, %177
  call void @_ZN5ImGui5PopIDEv()
  br label %.preheader.split62.1

.preheader.split62.1:                             ; preds = %.preheader.split62.preheader, %170, %181
  %182 = call noundef nonnull align 8 dereferenceable(372) ptr @_ZN10ImPlotPlot5YAxisEi(ptr noundef nonnull align 8 dereferenceable(2533) %0, i32 noundef 1)
  %183 = getelementptr inbounds i8, ptr %182, i64 364
  %184 = load i8, ptr %183, align 4, !tbaa !51, !range !56, !noundef !57
  %185 = trunc nuw i8 %184 to i1
  br i1 %185, label %186, label %.preheader.split62.2

186:                                              ; preds = %.preheader.split62.1
  %187 = call noundef zeroext i1 @_ZNK10ImPlotAxis8HasMenusEv(ptr noundef nonnull align 8 dereferenceable(372) %182)
  br i1 %187, label %188, label %.preheader.split62.2

188:                                              ; preds = %186
  call void @_ZN5ImGui6PushIDEi(i32 noundef 1)
  %189 = call noundef i32 (ptr, i64, ptr, ...) @_Z14ImFormatStringPcmPKcz(ptr noundef nonnull %2, i64 noundef 15, ptr noundef nonnull @.str.123, i32 noundef 2)
  %190 = call noundef zeroext i1 @_ZNK10ImPlotAxis8HasLabelEv(ptr noundef nonnull align 8 dereferenceable(372) %182)
  br i1 %190, label %191, label %193

191:                                              ; preds = %188
  %192 = call noundef ptr @_ZNK10ImPlotPlot12GetAxisLabelERK10ImPlotAxis(ptr noundef nonnull align 8 dereferenceable(2533) %0, ptr noundef nonnull align 8 dereferenceable(372) %182)
  br label %193

193:                                              ; preds = %191, %188
  %194 = phi ptr [ %192, %191 ], [ %2, %188 ]
  %195 = call noundef zeroext i1 @_ZN5ImGui9BeginMenuEPKcb(ptr noundef %194, i1 noundef zeroext true)
  br i1 %195, label %196, label %197

196:                                              ; preds = %193
  call void @_ZN6ImPlot19ShowAxisContextMenuER10ImPlotAxisPS0_b(ptr noundef nonnull align 8 dereferenceable(372) %182, ptr noundef null, i1 noundef zeroext false)
  call void @_ZN5ImGui7EndMenuEv()
  br label %197

197:                                              ; preds = %196, %193
  call void @_ZN5ImGui5PopIDEv()
  br label %.preheader.split62.2

.preheader.split62.2:                             ; preds = %197, %186, %.preheader.split62.1
  %198 = call noundef nonnull align 8 dereferenceable(372) ptr @_ZN10ImPlotPlot5YAxisEi(ptr noundef nonnull align 8 dereferenceable(2533) %0, i32 noundef 2)
  %199 = getelementptr inbounds i8, ptr %198, i64 364
  %200 = load i8, ptr %199, align 4, !tbaa !51, !range !56, !noundef !57
  %201 = trunc nuw i8 %200 to i1
  br i1 %201, label %202, label %.split64.us

202:                                              ; preds = %.preheader.split62.2
  %203 = call noundef zeroext i1 @_ZNK10ImPlotAxis8HasMenusEv(ptr noundef nonnull align 8 dereferenceable(372) %198)
  br i1 %203, label %204, label %.split64.us

204:                                              ; preds = %202
  call void @_ZN5ImGui6PushIDEi(i32 noundef 2)
  %205 = call noundef i32 (ptr, i64, ptr, ...) @_Z14ImFormatStringPcmPKcz(ptr noundef nonnull %2, i64 noundef 15, ptr noundef nonnull @.str.123, i32 noundef 3)
  %206 = call noundef zeroext i1 @_ZNK10ImPlotAxis8HasLabelEv(ptr noundef nonnull align 8 dereferenceable(372) %198)
  br i1 %206, label %207, label %209

207:                                              ; preds = %204
  %208 = call noundef ptr @_ZNK10ImPlotPlot12GetAxisLabelERK10ImPlotAxis(ptr noundef nonnull align 8 dereferenceable(2533) %0, ptr noundef nonnull align 8 dereferenceable(372) %198)
  br label %209

209:                                              ; preds = %207, %204
  %210 = phi ptr [ %208, %207 ], [ %2, %204 ]
  %211 = call noundef zeroext i1 @_ZN5ImGui9BeginMenuEPKcb(ptr noundef %210, i1 noundef zeroext true)
  br i1 %211, label %212, label %.split64.us.sink.split

212:                                              ; preds = %209
  call void @_ZN6ImPlot19ShowAxisContextMenuER10ImPlotAxisPS0_b(ptr noundef nonnull align 8 dereferenceable(372) %198, ptr noundef null, i1 noundef zeroext false)
  br label %.split64.us.sink.split.sink.split

213:                                              ; preds = %.split64.us
  %214 = call noundef zeroext i1 @_ZN5ImGui9BeginMenuEPKcb(ptr noundef nonnull @.str.124, i1 noundef zeroext true)
  br i1 %214, label %215, label %237

215:                                              ; preds = %213
  br i1 %7, label %216, label %223

216:                                              ; preds = %215
  %217 = getelementptr inbounds i8, ptr %0, i64 2304
  %218 = load i32, ptr %8, align 4, !tbaa !44
  %219 = call noundef zeroext i1 @_ZL9ImHasFlagIi12ImPlotFlags_EbT_T0_(i32 noundef %218, i32 noundef 2)
  %220 = xor i1 %219, true
  %221 = call noundef zeroext i1 @_ZN6ImPlot21ShowLegendContextMenuER12ImPlotLegendb(ptr noundef nonnull align 8 dereferenceable(67) %217, i1 noundef zeroext %220)
  br i1 %221, label %222, label %236

222:                                              ; preds = %216
  call void @_ZL10ImFlipFlagIi12ImPlotFlags_EvRT_T0_(ptr noundef nonnull align 4 dereferenceable(4) %8, i32 noundef 2)
  br label %236

223:                                              ; preds = %215
  %224 = getelementptr inbounds i8, ptr %3, i64 88
  %225 = load ptr, ptr %224, align 8, !tbaa !59
  %.not = icmp eq ptr %225, null
  br i1 %.not, label %236, label %226

226:                                              ; preds = %223
  %227 = getelementptr inbounds i8, ptr %225, i64 24
  %228 = getelementptr inbounds i8, ptr %225, i64 4
  %229 = load i32, ptr %228, align 4, !tbaa !60
  %230 = call noundef zeroext i1 @_ZL9ImHasFlagIi19ImPlotSubplotFlags_EbT_T0_(i32 noundef %229, i32 noundef 2)
  %231 = xor i1 %230, true
  %232 = call noundef zeroext i1 @_ZN6ImPlot21ShowLegendContextMenuER12ImPlotLegendb(ptr noundef nonnull align 8 dereferenceable(67) %227, i1 noundef zeroext %231)
  br i1 %232, label %233, label %236

233:                                              ; preds = %226
  %234 = load ptr, ptr %224, align 8, !tbaa !59
  %235 = getelementptr inbounds i8, ptr %234, i64 4
  call void @_ZL10ImFlipFlagIi19ImPlotSubplotFlags_EvRT_T0_(ptr noundef nonnull align 4 dereferenceable(4) %235, i32 noundef 2)
  br label %236

236:                                              ; preds = %223, %233, %226, %216, %222
  call void @_ZN5ImGui7EndMenuEv()
  br label %237

237:                                              ; preds = %213, %236, %.split64.us
  %238 = call noundef zeroext i1 @_ZN5ImGui9BeginMenuEPKcb(ptr noundef nonnull @.str.115, i1 noundef zeroext true)
  br i1 %238, label %239, label %271

239:                                              ; preds = %237
  %240 = load i32, ptr %8, align 4, !tbaa !44
  %241 = call noundef zeroext i1 @_ZL9ImHasFlagIi12ImPlotFlags_EbT_T0_(i32 noundef %240, i32 noundef 256)
  %242 = call noundef zeroext i1 @_ZN5ImGui8MenuItemEPKcS1_bb(ptr noundef nonnull @.str.125, ptr noundef null, i1 noundef zeroext %241, i1 noundef zeroext true)
  br i1 %242, label %243, label %244

243:                                              ; preds = %239
  call void @_ZL10ImFlipFlagIi12ImPlotFlags_EvRT_T0_(ptr noundef nonnull align 4 dereferenceable(4) %8, i32 noundef 256)
  br label %244

244:                                              ; preds = %243, %239
  %245 = load i32, ptr %8, align 4, !tbaa !44
  %246 = call noundef zeroext i1 @_ZL9ImHasFlagIi12ImPlotFlags_EbT_T0_(i32 noundef %245, i32 noundef 32)
  %247 = xor i1 %246, true
  %248 = call noundef zeroext i1 @_ZN5ImGui8MenuItemEPKcS1_bb(ptr noundef nonnull @.str.126, ptr noundef null, i1 noundef zeroext %247, i1 noundef zeroext true)
  br i1 %248, label %249, label %250

249:                                              ; preds = %244
  call void @_ZL10ImFlipFlagIi12ImPlotFlags_EvRT_T0_(ptr noundef nonnull align 4 dereferenceable(4) %8, i32 noundef 32)
  br label %250

250:                                              ; preds = %249, %244
  %251 = getelementptr inbounds i8, ptr %0, i64 2520
  %252 = load i32, ptr %251, align 8, !tbaa !64
  %253 = icmp eq i32 %252, -1
  call void @_ZN6ImPlot21BeginDisabledControlsEb(i1 noundef zeroext %253)
  %254 = call noundef zeroext i1 @_ZNK10ImPlotPlot8HasTitleEv(ptr noundef nonnull align 8 dereferenceable(2533) %0)
  %255 = call noundef zeroext i1 @_ZN5ImGui8MenuItemEPKcS1_bb(ptr noundef nonnull @.str.116, ptr noundef null, i1 noundef zeroext %254, i1 noundef zeroext true)
  br i1 %255, label %256, label %257

256:                                              ; preds = %250
  call void @_ZL10ImFlipFlagIi12ImPlotFlags_EvRT_T0_(ptr noundef nonnull align 4 dereferenceable(4) %8, i32 noundef 1)
  br label %257

257:                                              ; preds = %256, %250
  %258 = load i32, ptr %251, align 8, !tbaa !64
  %259 = icmp eq i32 %258, -1
  call void @_ZN6ImPlot19EndDisabledControlsEb(i1 noundef zeroext %259)
  %260 = load i32, ptr %8, align 4, !tbaa !44
  %261 = call noundef zeroext i1 @_ZL9ImHasFlagIi12ImPlotFlags_EbT_T0_(i32 noundef %260, i32 noundef 4)
  %262 = xor i1 %261, true
  %263 = call noundef zeroext i1 @_ZN5ImGui8MenuItemEPKcS1_bb(ptr noundef nonnull @.str.127, ptr noundef null, i1 noundef zeroext %262, i1 noundef zeroext true)
  br i1 %263, label %264, label %265

264:                                              ; preds = %257
  call void @_ZL10ImFlipFlagIi12ImPlotFlags_EvRT_T0_(ptr noundef nonnull align 4 dereferenceable(4) %8, i32 noundef 4)
  br label %265

265:                                              ; preds = %264, %257
  %266 = load i32, ptr %8, align 4, !tbaa !44
  %267 = call noundef zeroext i1 @_ZL9ImHasFlagIi12ImPlotFlags_EbT_T0_(i32 noundef %266, i32 noundef 512)
  %268 = call noundef zeroext i1 @_ZN5ImGui8MenuItemEPKcS1_bb(ptr noundef nonnull @.str.20, ptr noundef null, i1 noundef zeroext %267, i1 noundef zeroext true)
  br i1 %268, label %269, label %270

269:                                              ; preds = %265
  call void @_ZL10ImFlipFlagIi12ImPlotFlags_EvRT_T0_(ptr noundef nonnull align 4 dereferenceable(4) %8, i32 noundef 512)
  br label %270

270:                                              ; preds = %269, %265
  call void @_ZN5ImGui7EndMenuEv()
  br label %271

271:                                              ; preds = %270, %237
  %272 = getelementptr inbounds i8, ptr %3, i64 88
  %273 = load ptr, ptr %272, align 8, !tbaa !59
  %.not59 = icmp eq ptr %273, null
  br i1 %.not59, label %284, label %274

274:                                              ; preds = %271
  %275 = getelementptr inbounds i8, ptr %3, i64 80
  %276 = load ptr, ptr %275, align 8, !tbaa !65
  %277 = getelementptr inbounds i8, ptr %276, i64 4
  %278 = load i32, ptr %277, align 4, !tbaa !44
  %279 = call noundef zeroext i1 @_ZL9ImHasFlagIi19ImPlotSubplotFlags_EbT_T0_(i32 noundef %278, i32 noundef 4)
  br i1 %279, label %284, label %280

280:                                              ; preds = %274
  call void @_ZN5ImGui9SeparatorEv()
  %281 = call noundef zeroext i1 @_ZN5ImGui9BeginMenuEPKcb(ptr noundef nonnull @.str.128, i1 noundef zeroext true)
  br i1 %281, label %282, label %284

282:                                              ; preds = %280
  %283 = load ptr, ptr %272, align 8, !tbaa !59
  call void @_ZN6ImPlot23ShowSubplotsContextMenuER13ImPlotSubplot(ptr noundef nonnull align 8 dereferenceable(306) %283)
  call void @_ZN5ImGui7EndMenuEv()
  br label %284

284:                                              ; preds = %280, %282, %274, %271
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #6
  ret void
}

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(372) ptr @_ZN10ImPlotPlot5XAxisEi(ptr noundef nonnull align 8 dereferenceable(2533), i32 noundef) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK10ImPlotAxis8HasMenusEv(ptr noundef nonnull align 8 dereferenceable(372)) local_unnamed_addr #5 align 2

declare void @_ZN5ImGui6PushIDEi(i32 noundef) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNK10ImPlotPlot12GetAxisLabelERK10ImPlotAxis(ptr noundef nonnull align 8 dereferenceable(2533), ptr noundef nonnull align 8 dereferenceable(372)) local_unnamed_addr #2 align 2

declare void @_ZN5ImGui5PopIDEv() local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(372) ptr @_ZN10ImPlotPlot5YAxisEi(ptr noundef nonnull align 8 dereferenceable(2533), i32 noundef) local_unnamed_addr #2 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK10ImPlotPlot8HasTitleEv(ptr noundef nonnull align 8 dereferenceable(2533)) local_unnamed_addr #5 align 2

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { 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 #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { 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 96}
!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 4}
!45 = !{!"_ZTS10ImPlotPlot", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12, !13, i64 16, !7, i64 24, !20, i64 2280, !46, i64 2296, !13, i64 2424, !13, i64 2428, !48, i64 2432, !48, i64 2448, !48, i64 2464, !48, i64 2480, !48, i64 2496, !22, i64 2512, !13, i64 2520, !28, i64 2524, !28, i64 2525, !28, i64 2526, !28, i64 2527, !28, i64 2528, !28, i64 2529, !28, i64 2530, !28, i64 2531, !28, i64 2532}
!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 = !{!52, !28, i64 364}
!52 = !{!"_ZTS10ImPlotAxis", !13, i64 0, !13, i64 4, !13, i64 8, !53, i64 16, !13, i64 32, !13, i64 36, !53, i64 40, !6, i64 56, !53, i64 64, !53, i64 80, !18, i64 96, !6, i64 152, !6, i64 160, !7, i64 168, !6, i64 184, !6, i64 192, !6, i64 200, !13, i64 208, !55, i64 216, !55, i64 232, !6, i64 248, !6, i64 256, !6, i64 264, !23, i64 272, !23, i64 276, !54, i64 280, !54, i64 288, !54, i64 296, !23, i64 304, !23, i64 308, !48, i64 312, !13, i64 328, !13, i64 332, !13, i64 336, !13, i64 340, !13, i64 344, !13, i64 348, !13, i64 352, !13, i64 356, !13, i64 360, !28, i64 364, !28, i64 365, !28, i64 366, !28, i64 367, !28, i64 368, !28, i64 369, !28, i64 370, !28, i64 371}
!53 = !{!"_ZTS11ImPlotRange", !54, i64 0, !54, i64 8}
!54 = !{!"double", !7, i64 0}
!55 = !{!"_ZTS10ImPlotTime", !37, i64 0, !13, i64 8}
!56 = !{i8 0, i8 2}
!57 = !{}
!58 = !{!46, !13, i64 8}
!59 = !{!10, !6, i64 88}
!60 = !{!61, !13, i64 4}
!61 = !{!"_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, !62, i64 232, !62, i64 248, !63, i64 264, !63, i64 280, !7, i64 296, !28, i64 304, !28, i64 305}
!62 = !{!"_ZTS8ImVectorIfE", !13, i64 0, !13, i64 4, !6, i64 8}
!63 = !{!"_ZTS8ImVectorI11ImPlotRangeE", !13, i64 0, !13, i64 4, !6, i64 8}
!64 = !{!45, !13, i64 2520}
!65 = !{!10, !6, i64 80}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopInstSimplifyPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,SROAPass,SimplifyCFGPass,TailCallElimPass