; LLVM IR from Dragons-Lake/REI :: sources/REI_Integration/3rdParty/imgui/imgui.ll (ZN5ImGui17ShowMetricsWindowEPb)

; 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.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, float, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, %struct.ImVec2, [5 x i8], float, float, i8, i8, i8, i8, [512 x i8], [21 x float], i8, i8, i8, i8, i8, i8, i8, float, i32, i32, i32, i32, i32, %struct.ImVec2, %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], [21 x float], [21 x float], %struct.ImVector }
%struct.ImVector = type { i32, i32, ptr }
%struct.ImGuiContext = type <{ i8, i8, i8, i8, [4 x i8], %struct.ImGuiIO, %struct.ImGuiStyle, ptr, float, float, %struct.ImDrawListSharedData, double, i32, i32, i32, [4 x i8], %struct.ImVector.0, %struct.ImVector.0, %struct.ImVector.0, %struct.ImVector.0, %struct.ImGuiStorage, i32, [4 x i8], ptr, ptr, ptr, ptr, ptr, %struct.ImVec2, float, i32, i8, [3 x i8], i32, float, float, i32, i32, float, i8, i8, i8, i8, i8, [3 x i8], i32, i32, [4 x i8], i64, %struct.ImVec2, ptr, i32, i32, i8, i8, [6 x i8], ptr, i32, float, %struct.ImGuiNextWindowData, %struct.ImGuiNextItemData, %struct.ImVector.2, %struct.ImVector.3, %struct.ImVector.4, %struct.ImVector.5, %struct.ImVector.5, ptr, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, %struct.ImRect, i32, [4 x i8], ptr, ptr, ptr, float, float, i8, [3 x i8], i32, i32, i8, i8, i8, i8, i8, i8, i8, i8, i32, %struct.ImRect, i8, i8, [2 x i8], i32, i32, i32, i32, i32, %struct.ImGuiNavMoveResult, %struct.ImGuiNavMoveResult, %struct.ImGuiNavMoveResult, ptr, ptr, i32, i32, i32, i32, i8, [7 x i8], %struct.ImDrawData, %struct.ImDrawDataBuilder, float, [4 x i8], %struct.ImDrawList, %struct.ImDrawList, i32, i8, i8, [2 x i8], i32, i32, i32, [4 x i8], %struct.ImGuiPayload, %struct.ImRect, i32, i32, float, i32, i32, i32, %struct.ImVector.13, [8 x i8], ptr, %struct.ImPool, %struct.ImVector.15, %struct.ImVector.16, %struct.ImVec2, %struct.ImGuiInputTextState, %struct.ImFont, i32, i32, float, [3 x float], %struct.ImVec4, i8, [3 x i8], float, float, float, i32, [4 x i8], %struct.ImVector.17, i32, %struct.ImVec2, %struct.ImVec2, i8, [3 x i8], float, [4 x i8], %struct.ImGuiTextBuffer, %struct.ImVector.20, %struct.ImVector.21, i8, [3 x i8], i32, ptr, %struct.ImGuiTextBuffer, float, i8, [3 x i8], i32, i32, i32, i8, [3 x i8], i32, [120 x float], i32, float, i32, i32, i32, [3073 x i8], [7 x i8] }>
%struct.ImGuiStyle = type { float, %struct.ImVec2, float, float, %struct.ImVec2, %struct.ImVec2, i32, float, float, float, float, %struct.ImVec2, float, float, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, float, float, float, float, float, float, float, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, i8, i8, float, [48 x %struct.ImVec4] }
%struct.ImDrawListSharedData = type <{ %struct.ImVec2, ptr, float, float, %struct.ImVec4, i32, [12 x %struct.ImVec2], [4 x i8] }>
%struct.ImVector.0 = type { i32, i32, ptr }
%struct.ImGuiStorage = type { %struct.ImVector.1 }
%struct.ImVector.1 = type { i32, i32, ptr }
%struct.ImGuiNextWindowData = type <{ i32, i32, i32, i32, %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.ImGuiNextItemData = type { i32, float, i8, i32 }
%struct.ImVector.2 = type { i32, i32, ptr }
%struct.ImVector.3 = type { i32, i32, ptr }
%struct.ImVector.4 = type { i32, i32, ptr }
%struct.ImVector.5 = type { i32, i32, ptr }
%struct.ImGuiNavMoveResult = type <{ i32, i32, ptr, float, float, float, %struct.ImRect, [4 x i8] }>
%struct.ImDrawData = type <{ i8, [7 x i8], ptr, i32, i32, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, [4 x i8] }>
%struct.ImDrawDataBuilder = type { [2 x %struct.ImVector.6] }
%struct.ImVector.6 = type { i32, i32, ptr }
%struct.ImDrawList = type { %struct.ImVector.7, %struct.ImVector, %struct.ImVector.8, i32, ptr, ptr, i32, i32, ptr, ptr, %struct.ImVector.9, %struct.ImVector.10, %struct.ImVector.11, %struct.ImDrawListSplitter }
%struct.ImVector.7 = 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.ImVector.11 = type { i32, i32, ptr }
%struct.ImDrawListSplitter = type { i32, i32, %struct.ImVector.12 }
%struct.ImVector.12 = type { i32, i32, ptr }
%struct.ImGuiPayload = type <{ ptr, i32, i32, i32, i32, [33 x i8], i8, i8, [5 x i8] }>
%struct.ImVector.13 = type { i32, i32, ptr }
%struct.ImPool = type <{ %struct.ImVector.14, %struct.ImGuiStorage, i32, [4 x i8] }>
%struct.ImVector.14 = type { i32, i32, ptr }
%struct.ImVector.15 = type { i32, i32, ptr }
%struct.ImVector.16 = type { i32, i32, ptr }
%struct.ImGuiInputTextState = type { i32, i32, i32, %struct.ImVector, %struct.ImVector.17, %struct.ImVector.17, i8, i32, float, %"struct.ImStb::STB_TexteditState", float, i8, i8, i32, ptr, ptr }
%"struct.ImStb::STB_TexteditState" = type { i32, i32, i32, i8, 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.18, float, float, %struct.ImVector, %struct.ImVector.19, ptr, %struct.ImVec2, ptr, ptr, i16, i16, i16, [2 x i8], float, float, float, i32, i8, [7 x i8] }>
%struct.ImVector.18 = type { i32, i32, ptr }
%struct.ImVector.19 = type { i32, i32, ptr }
%struct.ImVec4 = type { float, float, float, float }
%struct.ImVector.17 = type { i32, i32, ptr }
%struct.ImVector.20 = type { i32, i32, ptr }
%struct.ImVector.21 = type { i32, i32, ptr }
%struct.ImGuiTextBuffer = type { %struct.ImVector.17 }
%struct.ImGuiPopupData = type { i32, ptr, ptr, i32, i32, %struct.ImVec2, %struct.ImVec2 }
%struct.ImGuiWindow = type <{ ptr, i32, i32, %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, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i16, i16, i16, [2 x i8], i32, i8, i8, i8, i8, i32, i32, i32, i32, i32, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVector.23, %struct.ImGuiWindowTempData, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImRect, i32, float, float, %struct.ImGuiMenuColumns, %struct.ImGuiStorage, %struct.ImVector.26, float, i32, ptr, %struct.ImDrawList, ptr, ptr, ptr, ptr, ptr, [2 x i32], [2 x %struct.ImRect], i8, [3 x i8], i32, i32, [4 x i8] }>
%struct.ImVector.23 = type { i32, i32, ptr }
%struct.ImGuiWindowTempData = type { %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, float, i32, i32, i32, i32, %struct.ImRect, %struct.ImRect, i32, i32, i32, i32, i8, i8, i8, %struct.ImVec2, %struct.ImVector.0, ptr, i32, i32, i32, i32, i32, float, float, %struct.ImVector.24, %struct.ImVector.18, %struct.ImVector.18, %struct.ImVector.25, [6 x i16], %struct.ImVec1, %struct.ImVec1, %struct.ImVec1, ptr }
%struct.ImVector.24 = type { i32, i32, ptr }
%struct.ImVector.25 = type { i32, i32, ptr }
%struct.ImVec1 = type { float }
%struct.ImGuiMenuColumns = type { float, float, float, [3 x float], [3 x float] }
%struct.ImVector.26 = type { i32, i32, ptr }

@GImGui = external dso_local global ptr, align 8
@.str.2 = external hidden unnamed_addr constant [1 x i8], align 1
@.str.163 = external hidden unnamed_addr constant [19 x i8], align 1
@__const._ZN5ImGui17ShowMetricsWindowEPb.wrt_rects_names = external hidden unnamed_addr constant [7 x ptr], align 16
@_ZZN5ImGui17ShowMetricsWindowEPbE18show_windows_rects = external hidden global i8, align 1
@_ZZN5ImGui17ShowMetricsWindowEPbE22show_windows_rect_type = external hidden global i32, align 4
@_ZZN5ImGui17ShowMetricsWindowEPbE24show_windows_begin_order = external hidden global i8, align 1
@_ZZN5ImGui17ShowMetricsWindowEPbE23show_drawcmd_clip_rects = external hidden global i8, align 1
@.str.171 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.172 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.173 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.174 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.175 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.176 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.177 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.178 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.179 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.180 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.181 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.182 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.183 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.184 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.185 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.186 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.187 = external hidden unnamed_addr constant [15 x i8], align 1
@__const._ZN5ImGui17ShowMetricsWindowEPb.input_source_names = external hidden unnamed_addr constant [5 x ptr], align 16
@.str.193 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.194 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.195 = external hidden unnamed_addr constant [54 x i8], align 1
@.str.196 = external hidden unnamed_addr constant [65 x i8], align 1
@.str.197 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.198 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.199 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.200 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.201 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.202 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.203 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.204 = external hidden unnamed_addr constant [50 x i8], align 1
@.str.205 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.206 = external hidden unnamed_addr constant [57 x i8], align 1
@.str.207 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.208 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.209 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.210 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.211 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.212 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.213 = external hidden unnamed_addr constant [50 x i8], align 1
@.str.214 = external hidden unnamed_addr constant [53 x i8], align 1
@.str.215 = external hidden unnamed_addr constant [3 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: mustprogress nounwind uwtable
declare dso_local void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8), float noundef, float noundef) unnamed_addr #1 align 2

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #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)) #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_Z14ImFormatStringPcmPKcz(ptr noundef, i64 noundef, ptr noundef, ...) #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN5ImGui16SetNextItemWidthEf(float noundef) #1

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui8SameLineEff(float noundef, float noundef) #5

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN5ImGui10GetVersionEv() #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(5456) ptr @_ZN5ImGui5GetIOEv() #1

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui3EndEv() #5

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef float @_ZNK6ImRect8GetWidthEv(ptr noundef nonnull align 4 dereferenceable(16)) #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef float @_ZNK6ImRect9GetHeightEv(ptr noundef nonnull align 4 dereferenceable(16)) #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef float @_ZN5ImGui11GetFontSizeEv() #1

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui6IndentEf(float noundef) #5

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui8UnindentEf(float noundef) #5

declare noundef zeroext i1 @_ZN5ImGui6ButtonEPKcRK6ImVec2(ptr noundef, ptr noundef nonnull align 4 dereferenceable(8)) #4

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN5ImGui17ShowMetricsWindowEPb(ptr noundef %0) #7 {
  %2 = alloca ptr, align 8
  %3 = alloca [7 x ptr], align 16
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca [5 x ptr], align 16
  %11 = alloca %struct.ImVec2, align 4
  %12 = alloca i32, align 4
  %13 = alloca %struct.ImRect, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca ptr, align 8
  %17 = alloca ptr, align 8
  %18 = alloca %struct.ImRect, align 4
  %19 = alloca [32 x i8], align 16
  %20 = alloca float, align 4
  %21 = alloca %struct.ImVec2, align 4
  %22 = alloca %struct.ImVec2, align 4
  store ptr %0, ptr %2, align 8, !tbaa !5
  %23 = load ptr, ptr %2, align 8, !tbaa !5
  %24 = call noundef zeroext i1 @_ZN5ImGui5BeginEPKcPbi(ptr noundef @.str.163, ptr noundef %23, i32 noundef 0)
  br i1 %24, label %26, label %25

25:                                               ; preds = %1
  call void @_ZN5ImGui3EndEv()
  br label %511

26:                                               ; preds = %1
  call void @llvm.lifetime.start.p0(i64 56, ptr %3) #8
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const._ZN5ImGui17ShowMetricsWindowEPb.wrt_rects_names, i64 56, i1 false)
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #8
  %27 = load ptr, ptr @GImGui, align 8, !tbaa !5
  store ptr %27, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #8
  %28 = call noundef nonnull align 8 dereferenceable(5456) ptr @_ZN5ImGui5GetIOEv()
  store ptr %28, ptr %5, align 8, !tbaa !5
  %29 = call noundef ptr @_ZN5ImGui10GetVersionEv()
  call void (ptr, ...) @_ZN5ImGui4TextEPKcz(ptr noundef @.str.171, ptr noundef %29)
  %30 = load ptr, ptr %5, align 8, !tbaa !5
  %31 = getelementptr inbounds %struct.ImGuiIO, ptr %30, i32 0, i32 53
  %32 = load float, ptr %31, align 8, !tbaa !9
  %33 = fdiv float 1.000000e+03, %32
  %34 = fpext float %33 to double
  %35 = load ptr, ptr %5, align 8, !tbaa !5
  %36 = getelementptr inbounds %struct.ImGuiIO, ptr %35, i32 0, i32 53
  %37 = load float, ptr %36, align 8, !tbaa !9
  %38 = fpext float %37 to double
  call void (ptr, ...) @_ZN5ImGui4TextEPKcz(ptr noundef @.str.172, double noundef %34, double noundef %38)
  %39 = load ptr, ptr %5, align 8, !tbaa !5
  %40 = getelementptr inbounds %struct.ImGuiIO, ptr %39, i32 0, i32 54
  %41 = load i32, ptr %40, align 4, !tbaa !16
  %42 = load ptr, ptr %5, align 8, !tbaa !5
  %43 = getelementptr inbounds %struct.ImGuiIO, ptr %42, i32 0, i32 55
  %44 = load i32, ptr %43, align 8, !tbaa !17
  %45 = load ptr, ptr %5, align 8, !tbaa !5
  %46 = getelementptr inbounds %struct.ImGuiIO, ptr %45, i32 0, i32 55
  %47 = load i32, ptr %46, align 8, !tbaa !17
  %48 = sdiv i32 %47, 3
  call void (ptr, ...) @_ZN5ImGui4TextEPKcz(ptr noundef @.str.173, i32 noundef %41, i32 noundef %44, i32 noundef %48)
  %49 = load ptr, ptr %5, align 8, !tbaa !5
  %50 = getelementptr inbounds %struct.ImGuiIO, ptr %49, i32 0, i32 57
  %51 = load i32, ptr %50, align 8, !tbaa !18
  %52 = load ptr, ptr %5, align 8, !tbaa !5
  %53 = getelementptr inbounds %struct.ImGuiIO, ptr %52, i32 0, i32 56
  %54 = load i32, ptr %53, align 4, !tbaa !19
  call void (ptr, ...) @_ZN5ImGui4TextEPKcz(ptr noundef @.str.174, i32 noundef %51, i32 noundef %54)
  %55 = load ptr, ptr %5, align 8, !tbaa !5
  %56 = getelementptr inbounds %struct.ImGuiIO, ptr %55, i32 0, i32 58
  %57 = load i32, ptr %56, align 4, !tbaa !20
  call void (ptr, ...) @_ZN5ImGui4TextEPKcz(ptr noundef @.str.175, i32 noundef %57)
  call void @_ZN5ImGui9SeparatorEv()
  %58 = load ptr, ptr %4, align 8, !tbaa !5
  %59 = getelementptr inbounds %struct.ImGuiContext, ptr %58, i32 0, i32 16
  call void @_ZZN5ImGui17ShowMetricsWindowEPbEN5Funcs11NodeWindowsER8ImVectorIP11ImGuiWindowEPKc(ptr noundef nonnull align 8 dereferenceable(16) %59, ptr noundef @.str.176)
  %60 = load ptr, ptr %4, align 8, !tbaa !5
  %61 = getelementptr inbounds %struct.ImGuiContext, ptr %60, i32 0, i32 119
  %62 = getelementptr inbounds %struct.ImDrawDataBuilder, ptr %61, i32 0, i32 0
  %63 = getelementptr inbounds [2 x %struct.ImVector.6], ptr %62, i64 0, i64 0
  %64 = getelementptr inbounds %struct.ImVector.6, ptr %63, i32 0, i32 0
  %65 = load i32, ptr %64, align 8, !tbaa !21
  %66 = call noundef zeroext i1 (ptr, ptr, ...) @_ZN5ImGui8TreeNodeEPKcS1_z(ptr noundef @.str.177, ptr noundef @.str.178, i32 noundef %65)
  br i1 %66, label %67, label %90

67:                                               ; preds = %26
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #8
  store i32 0, ptr %6, align 4, !tbaa !23
  br label %68

68:                                               ; preds = %86, %67
  %69 = load i32, ptr %6, align 4, !tbaa !23
  %70 = load ptr, ptr %4, align 8, !tbaa !5
  %71 = getelementptr inbounds %struct.ImGuiContext, ptr %70, i32 0, i32 119
  %72 = getelementptr inbounds %struct.ImDrawDataBuilder, ptr %71, i32 0, i32 0
  %73 = getelementptr inbounds [2 x %struct.ImVector.6], ptr %72, i64 0, i64 0
  %74 = getelementptr inbounds %struct.ImVector.6, ptr %73, i32 0, i32 0
  %75 = load i32, ptr %74, align 8, !tbaa !21
  %76 = icmp slt i32 %69, %75
  br i1 %76, label %78, label %77

77:                                               ; preds = %68
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #8
  br label %89

78:                                               ; preds = %68
  %79 = load ptr, ptr %4, align 8, !tbaa !5
  %80 = getelementptr inbounds %struct.ImGuiContext, ptr %79, i32 0, i32 119
  %81 = getelementptr inbounds %struct.ImDrawDataBuilder, ptr %80, i32 0, i32 0
  %82 = getelementptr inbounds [2 x %struct.ImVector.6], ptr %81, i64 0, i64 0
  %83 = load i32, ptr %6, align 4, !tbaa !23
  %84 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8ImVectorIP10ImDrawListEixEi(ptr noundef nonnull align 8 dereferenceable(16) %82, i32 noundef %83)
  %85 = load ptr, ptr %84, align 8, !tbaa !5
  call void @_ZZN5ImGui17ShowMetricsWindowEPbEN5Funcs12NodeDrawListEP11ImGuiWindowP10ImDrawListPKc(ptr noundef null, ptr noundef %85, ptr noundef @.str.177)
  br label %86

86:                                               ; preds = %78
  %87 = load i32, ptr %6, align 4, !tbaa !23
  %88 = add nsw i32 %87, 1
  store i32 %88, ptr %6, align 4, !tbaa !23
  br label %68, !llvm.loop !24

89:                                               ; preds = %77
  call void @_ZN5ImGui7TreePopEv()
  br label %90

90:                                               ; preds = %89, %26
  %91 = load ptr, ptr %4, align 8, !tbaa !5
  %92 = getelementptr inbounds %struct.ImGuiContext, ptr %91, i32 0, i32 64
  %93 = getelementptr inbounds %struct.ImVector.5, ptr %92, i32 0, i32 0
  %94 = load i32, ptr %93, align 8, !tbaa !26
  %95 = call noundef zeroext i1 (ptr, ptr, ...) @_ZN5ImGui8TreeNodeEPKcS1_z(ptr noundef @.str.179, ptr noundef @.str.180, i32 noundef %94)
  br i1 %95, label %96, label %155

96:                                               ; preds = %90
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #8
  store i32 0, ptr %7, align 4, !tbaa !23
  br label %97

97:                                               ; preds = %151, %96
  %98 = load i32, ptr %7, align 4, !tbaa !23
  %99 = load ptr, ptr %4, align 8, !tbaa !5
  %100 = getelementptr inbounds %struct.ImGuiContext, ptr %99, i32 0, i32 64
  %101 = getelementptr inbounds %struct.ImVector.5, ptr %100, i32 0, i32 0
  %102 = load i32, ptr %101, align 8, !tbaa !26
  %103 = icmp slt i32 %98, %102
  br i1 %103, label %105, label %104

104:                                              ; preds = %97
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #8
  br label %154

105:                                              ; preds = %97
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #8
  %106 = load ptr, ptr %4, align 8, !tbaa !5
  %107 = getelementptr inbounds %struct.ImGuiContext, ptr %106, i32 0, i32 64
  %108 = load i32, ptr %7, align 4, !tbaa !23
  %109 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZN8ImVectorI14ImGuiPopupDataEixEi(ptr noundef nonnull align 8 dereferenceable(16) %107, i32 noundef %108)
  %110 = getelementptr inbounds %struct.ImGuiPopupData, ptr %109, i32 0, i32 1
  %111 = load ptr, ptr %110, align 8, !tbaa !75
  store ptr %111, ptr %8, align 8, !tbaa !5
  %112 = load ptr, ptr %4, align 8, !tbaa !5
  %113 = getelementptr inbounds %struct.ImGuiContext, ptr %112, i32 0, i32 64
  %114 = load i32, ptr %7, align 4, !tbaa !23
  %115 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZN8ImVectorI14ImGuiPopupDataEixEi(ptr noundef nonnull align 8 dereferenceable(16) %113, i32 noundef %114)
  %116 = getelementptr inbounds %struct.ImGuiPopupData, ptr %115, i32 0, i32 0
  %117 = load i32, ptr %116, align 8, !tbaa !77
  %118 = load ptr, ptr %8, align 8, !tbaa !5
  %119 = icmp ne ptr %118, null
  br i1 %119, label %120, label %124

120:                                              ; preds = %105
  %121 = load ptr, ptr %8, align 8, !tbaa !5
  %122 = getelementptr inbounds %struct.ImGuiWindow, ptr %121, i32 0, i32 0
  %123 = load ptr, ptr %122, align 8, !tbaa !78
  br label %125

124:                                              ; preds = %105
  br label %125

125:                                              ; preds = %124, %120
  %126 = phi ptr [ %123, %120 ], [ @.str.182, %124 ]
  %127 = load ptr, ptr %8, align 8, !tbaa !5
  %128 = icmp ne ptr %127, null
  br i1 %128, label %129, label %135

129:                                              ; preds = %125
  %130 = load ptr, ptr %8, align 8, !tbaa !5
  %131 = getelementptr inbounds %struct.ImGuiWindow, ptr %130, i32 0, i32 2
  %132 = load i32, ptr %131, align 4, !tbaa !87
  %133 = and i32 %132, 16777216
  %134 = icmp ne i32 %133, 0
  br label %135

135:                                              ; preds = %129, %125
  %136 = phi i1 [ false, %125 ], [ %134, %129 ]
  %137 = zext i1 %136 to i64
  %138 = select i1 %136, ptr @.str.183, ptr @.str.2
  %139 = load ptr, ptr %8, align 8, !tbaa !5
  %140 = icmp ne ptr %139, null
  br i1 %140, label %141, label %147

141:                                              ; preds = %135
  %142 = load ptr, ptr %8, align 8, !tbaa !5
  %143 = getelementptr inbounds %struct.ImGuiWindow, ptr %142, i32 0, i32 2
  %144 = load i32, ptr %143, align 4, !tbaa !87
  %145 = and i32 %144, 268435456
  %146 = icmp ne i32 %145, 0
  br label %147

147:                                              ; preds = %141, %135
  %148 = phi i1 [ false, %135 ], [ %146, %141 ]
  %149 = zext i1 %148 to i64
  %150 = select i1 %148, ptr @.str.184, ptr @.str.2
  call void (ptr, ...) @_ZN5ImGui10BulletTextEPKcz(ptr noundef @.str.181, i32 noundef %117, ptr noundef %126, ptr noundef %138, ptr noundef %150)
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #8
  br label %151

151:                                              ; preds = %147
  %152 = load i32, ptr %7, align 4, !tbaa !23
  %153 = add nsw i32 %152, 1
  store i32 %153, ptr %7, align 4, !tbaa !23
  br label %97, !llvm.loop !88

154:                                              ; preds = %104
  call void @_ZN5ImGui7TreePopEv()
  br label %155

155:                                              ; preds = %154, %90
  %156 = load ptr, ptr %4, align 8, !tbaa !5
  %157 = getelementptr inbounds %struct.ImGuiContext, ptr %156, i32 0, i32 143
  %158 = getelementptr inbounds %struct.ImPool, ptr %157, i32 0, i32 0
  %159 = getelementptr inbounds %struct.ImVector.14, ptr %158, i32 0, i32 0
  %160 = load i32, ptr %159, align 8, !tbaa !89
  %161 = call noundef zeroext i1 (ptr, ptr, ...) @_ZN5ImGui8TreeNodeEPKcS1_z(ptr noundef @.str.185, ptr noundef @.str.186, i32 noundef %160)
  br i1 %161, label %162, label %181

162:                                              ; preds = %155
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #8
  store i32 0, ptr %9, align 4, !tbaa !23
  br label %163

163:                                              ; preds = %177, %162
  %164 = load i32, ptr %9, align 4, !tbaa !23
  %165 = load ptr, ptr %4, align 8, !tbaa !5
  %166 = getelementptr inbounds %struct.ImGuiContext, ptr %165, i32 0, i32 143
  %167 = getelementptr inbounds %struct.ImPool, ptr %166, i32 0, i32 0
  %168 = getelementptr inbounds %struct.ImVector.14, ptr %167, i32 0, i32 0
  %169 = load i32, ptr %168, align 8, !tbaa !89
  %170 = icmp slt i32 %164, %169
  br i1 %170, label %172, label %171

171:                                              ; preds = %163
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #8
  br label %180

172:                                              ; preds = %163
  %173 = load ptr, ptr %4, align 8, !tbaa !5
  %174 = getelementptr inbounds %struct.ImGuiContext, ptr %173, i32 0, i32 143
  %175 = load i32, ptr %9, align 4, !tbaa !23
  %176 = call noundef ptr @_ZN6ImPoolI11ImGuiTabBarE10GetByIndexEi(ptr noundef nonnull align 8 dereferenceable(36) %174, i32 noundef %175)
  call void @_ZZN5ImGui17ShowMetricsWindowEPbEN5Funcs10NodeTabBarEP11ImGuiTabBar(ptr noundef %176)
  br label %177

177:                                              ; preds = %172
  %178 = load i32, ptr %9, align 4, !tbaa !23
  %179 = add nsw i32 %178, 1
  store i32 %179, ptr %9, align 4, !tbaa !23
  br label %163, !llvm.loop !90

180:                                              ; preds = %171
  call void @_ZN5ImGui7TreePopEv()
  br label %181

181:                                              ; preds = %180, %155
  %182 = call noundef zeroext i1 @_ZN5ImGui8TreeNodeEPKc(ptr noundef @.str.187)
  br i1 %182, label %183, label %355

183:                                              ; preds = %181
  call void @llvm.lifetime.start.p0(i64 40, ptr %10) #8
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %10, ptr align 16 @__const._ZN5ImGui17ShowMetricsWindowEPb.input_source_names, i64 40, i1 false)
  %184 = load ptr, ptr %4, align 8, !tbaa !5
  %185 = getelementptr inbounds %struct.ImGuiContext, ptr %184, i32 0, i32 24
  %186 = load ptr, ptr %185, align 8, !tbaa !91
  %187 = icmp ne ptr %186, null
  br i1 %187, label %188, label %194

188:                                              ; preds = %183
  %189 = load ptr, ptr %4, align 8, !tbaa !5
  %190 = getelementptr inbounds %struct.ImGuiContext, ptr %189, i32 0, i32 24
  %191 = load ptr, ptr %190, align 8, !tbaa !91
  %192 = getelementptr inbounds %struct.ImGuiWindow, ptr %191, i32 0, i32 0
  %193 = load ptr, ptr %192, align 8, !tbaa !78
  br label %195

194:                                              ; preds = %183
  br label %195

195:                                              ; preds = %194, %188
  %196 = phi ptr [ %193, %188 ], [ @.str.182, %194 ]
  call void (ptr, ...) @_ZN5ImGui4TextEPKcz(ptr noundef @.str.193, ptr noundef %196)
  %197 = load ptr, ptr %4, align 8, !tbaa !5
  %198 = getelementptr inbounds %struct.ImGuiContext, ptr %197, i32 0, i32 25
  %199 = load ptr, ptr %198, align 8, !tbaa !92
  %200 = icmp ne ptr %199, null
  br i1 %200, label %201, label %207

201:                                              ; preds = %195
  %202 = load ptr, ptr %4, align 8, !tbaa !5
  %203 = getelementptr inbounds %struct.ImGuiContext, ptr %202, i32 0, i32 25
  %204 = load ptr, ptr %203, align 8, !tbaa !92
  %205 = getelementptr inbounds %struct.ImGuiWindow, ptr %204, i32 0, i32 0
  %206 = load ptr, ptr %205, align 8, !tbaa !78
  br label %208

207:                                              ; preds = %195
  br label %208

208:                                              ; preds = %207, %201
  %209 = phi ptr [ %206, %201 ], [ @.str.182, %207 ]
  call void (ptr, ...) @_ZN5ImGui4TextEPKcz(ptr noundef @.str.194, ptr noundef %209)
  %210 = load ptr, ptr %4, align 8, !tbaa !5
  %211 = getelementptr inbounds %struct.ImGuiContext, ptr %210, i32 0, i32 30
  %212 = load i32, ptr %211, align 4, !tbaa !93
  %213 = load ptr, ptr %4, align 8, !tbaa !5
  %214 = getelementptr inbounds %struct.ImGuiContext, ptr %213, i32 0, i32 33
  %215 = load i32, ptr %214, align 4, !tbaa !94
  %216 = load ptr, ptr %4, align 8, !tbaa !5
  %217 = getelementptr inbounds %struct.ImGuiContext, ptr %216, i32 0, i32 34
  %218 = load float, ptr %217, align 8, !tbaa !95
  %219 = fpext float %218 to double
  %220 = load ptr, ptr %4, align 8, !tbaa !5
  %221 = getelementptr inbounds %struct.ImGuiContext, ptr %220, i32 0, i32 31
  %222 = load i8, ptr %221, align 8, !tbaa !96, !range !97, !noundef !98
  %223 = trunc i8 %222 to i1
  %224 = zext i1 %223 to i32
  call void (ptr, ...) @_ZN5ImGui4TextEPKcz(ptr noundef @.str.195, i32 noundef %212, i32 noundef %215, double noundef %219, i32 noundef %224)
  %225 = load ptr, ptr %4, align 8, !tbaa !5
  %226 = getelementptr inbounds %struct.ImGuiContext, ptr %225, i32 0, i32 36
  %227 = load i32, ptr %226, align 8, !tbaa !99
  %228 = load ptr, ptr %4, align 8, !tbaa !5
  %229 = getelementptr inbounds %struct.ImGuiContext, ptr %228, i32 0, i32 52
  %230 = load i32, ptr %229, align 4, !tbaa !100
  %231 = load ptr, ptr %4, align 8, !tbaa !5
  %232 = getelementptr inbounds %struct.ImGuiContext, ptr %231, i32 0, i32 38
  %233 = load float, ptr %232, align 8, !tbaa !101
  %234 = fpext float %233 to double
  %235 = load ptr, ptr %4, align 8, !tbaa !5
  %236 = getelementptr inbounds %struct.ImGuiContext, ptr %235, i32 0, i32 40
  %237 = load i8, ptr %236, align 1, !tbaa !102, !range !97, !noundef !98
  %238 = trunc i8 %237 to i1
  %239 = zext i1 %238 to i32
  %240 = load ptr, ptr %4, align 8, !tbaa !5
  %241 = getelementptr inbounds %struct.ImGuiContext, ptr %240, i32 0, i32 51
  %242 = load i32, ptr %241, align 8, !tbaa !103
  %243 = zext i32 %242 to i64
  %244 = getelementptr inbounds [5 x ptr], ptr %10, i64 0, i64 %243
  %245 = load ptr, ptr %244, align 8, !tbaa !5
  call void (ptr, ...) @_ZN5ImGui4TextEPKcz(ptr noundef @.str.196, i32 noundef %227, i32 noundef %230, double noundef %234, i32 noundef %239, ptr noundef %245)
  %246 = load ptr, ptr %4, align 8, !tbaa !5
  %247 = getelementptr inbounds %struct.ImGuiContext, ptr %246, i32 0, i32 50
  %248 = load ptr, ptr %247, align 8, !tbaa !104
  %249 = icmp ne ptr %248, null
  br i1 %249, label %250, label %256

250:                                              ; preds = %208
  %251 = load ptr, ptr %4, align 8, !tbaa !5
  %252 = getelementptr inbounds %struct.ImGuiContext, ptr %251, i32 0, i32 50
  %253 = load ptr, ptr %252, align 8, !tbaa !104
  %254 = getelementptr inbounds %struct.ImGuiWindow, ptr %253, i32 0, i32 0
  %255 = load ptr, ptr %254, align 8, !tbaa !78
  br label %257

256:                                              ; preds = %208
  br label %257

257:                                              ; preds = %256, %250
  %258 = phi ptr [ %255, %250 ], [ @.str.182, %256 ]
  call void (ptr, ...) @_ZN5ImGui4TextEPKcz(ptr noundef @.str.197, ptr noundef %258)
  %259 = load ptr, ptr %4, align 8, !tbaa !5
  %260 = getelementptr inbounds %struct.ImGuiContext, ptr %259, i32 0, i32 26
  %261 = load ptr, ptr %260, align 8, !tbaa !105
  %262 = icmp ne ptr %261, null
  br i1 %262, label %263, label %269

263:                                              ; preds = %257
  %264 = load ptr, ptr %4, align 8, !tbaa !5
  %265 = getelementptr inbounds %struct.ImGuiContext, ptr %264, i32 0, i32 26
  %266 = load ptr, ptr %265, align 8, !tbaa !105
  %267 = getelementptr inbounds %struct.ImGuiWindow, ptr %266, i32 0, i32 0
  %268 = load ptr, ptr %267, align 8, !tbaa !78
  br label %270

269:                                              ; preds = %257
  br label %270

270:                                              ; preds = %269, %263
  %271 = phi ptr [ %268, %263 ], [ @.str.182, %269 ]
  call void (ptr, ...) @_ZN5ImGui4TextEPKcz(ptr noundef @.str.198, ptr noundef %271)
  %272 = load ptr, ptr %4, align 8, !tbaa !5
  %273 = getelementptr inbounds %struct.ImGuiContext, ptr %272, i32 0, i32 66
  %274 = load ptr, ptr %273, align 8, !tbaa !106
  %275 = icmp ne ptr %274, null
  br i1 %275, label %276, label %282

276:                                              ; preds = %270
  %277 = load ptr, ptr %4, align 8, !tbaa !5
  %278 = getelementptr inbounds %struct.ImGuiContext, ptr %277, i32 0, i32 66
  %279 = load ptr, ptr %278, align 8, !tbaa !106
  %280 = getelementptr inbounds %struct.ImGuiWindow, ptr %279, i32 0, i32 0
  %281 = load ptr, ptr %280, align 8, !tbaa !78
  br label %283

282:                                              ; preds = %270
  br label %283

283:                                              ; preds = %282, %276
  %284 = phi ptr [ %281, %276 ], [ @.str.182, %282 ]
  call void (ptr, ...) @_ZN5ImGui4TextEPKcz(ptr noundef @.str.199, ptr noundef %284)
  %285 = load ptr, ptr %4, align 8, !tbaa !5
  %286 = getelementptr inbounds %struct.ImGuiContext, ptr %285, i32 0, i32 67
  %287 = load i32, ptr %286, align 8, !tbaa !107
  %288 = load ptr, ptr %4, align 8, !tbaa !5
  %289 = getelementptr inbounds %struct.ImGuiContext, ptr %288, i32 0, i32 87
  %290 = load i32, ptr %289, align 4, !tbaa !108
  call void (ptr, ...) @_ZN5ImGui4TextEPKcz(ptr noundef @.str.200, i32 noundef %287, i32 noundef %290)
  %291 = load ptr, ptr %4, align 8, !tbaa !5
  %292 = getelementptr inbounds %struct.ImGuiContext, ptr %291, i32 0, i32 76
  %293 = load i32, ptr %292, align 4, !tbaa !109
  %294 = zext i32 %293 to i64
  %295 = getelementptr inbounds [5 x ptr], ptr %10, i64 0, i64 %294
  %296 = load ptr, ptr %295, align 8, !tbaa !5
  call void (ptr, ...) @_ZN5ImGui4TextEPKcz(ptr noundef @.str.201, ptr noundef %296)
  %297 = load ptr, ptr %4, align 8, !tbaa !5
  %298 = getelementptr inbounds %struct.ImGuiContext, ptr %297, i32 0, i32 5
  %299 = getelementptr inbounds %struct.ImGuiIO, ptr %298, i32 0, i32 51
  %300 = load i8, ptr %299, align 1, !tbaa !110, !range !97, !noundef !98
  %301 = trunc i8 %300 to i1
  %302 = zext i1 %301 to i32
  %303 = load ptr, ptr %4, align 8, !tbaa !5
  %304 = getelementptr inbounds %struct.ImGuiContext, ptr %303, i32 0, i32 5
  %305 = getelementptr inbounds %struct.ImGuiIO, ptr %304, i32 0, i32 52
  %306 = load i8, ptr %305, align 2, !tbaa !111, !range !97, !noundef !98
  %307 = trunc i8 %306 to i1
  %308 = zext i1 %307 to i32
  call void (ptr, ...) @_ZN5ImGui4TextEPKcz(ptr noundef @.str.202, i32 noundef %302, i32 noundef %308)
  %309 = load ptr, ptr %4, align 8, !tbaa !5
  %310 = getelementptr inbounds %struct.ImGuiContext, ptr %309, i32 0, i32 68
  %311 = load i32, ptr %310, align 4, !tbaa !112
  %312 = load ptr, ptr %4, align 8, !tbaa !5
  %313 = getelementptr inbounds %struct.ImGuiContext, ptr %312, i32 0, i32 71
  %314 = load i32, ptr %313, align 8, !tbaa !113
  call void (ptr, ...) @_ZN5ImGui4TextEPKcz(ptr noundef @.str.203, i32 noundef %311, i32 noundef %314)
  %315 = load ptr, ptr %4, align 8, !tbaa !5
  %316 = getelementptr inbounds %struct.ImGuiContext, ptr %315, i32 0, i32 91
  %317 = load i8, ptr %316, align 2, !tbaa !114, !range !97, !noundef !98
  %318 = trunc i8 %317 to i1
  %319 = zext i1 %318 to i32
  %320 = load ptr, ptr %4, align 8, !tbaa !5
  %321 = getelementptr inbounds %struct.ImGuiContext, ptr %320, i32 0, i32 92
  %322 = load i8, ptr %321, align 1, !tbaa !115, !range !97, !noundef !98
  %323 = trunc i8 %322 to i1
  %324 = zext i1 %323 to i32
  call void (ptr, ...) @_ZN5ImGui4TextEPKcz(ptr noundef @.str.204, i32 noundef %319, i32 noundef %324)
  %325 = load ptr, ptr %4, align 8, !tbaa !5
  %326 = getelementptr inbounds %struct.ImGuiContext, ptr %325, i32 0, i32 80
  %327 = load ptr, ptr %326, align 8, !tbaa !116
  %328 = icmp ne ptr %327, null
  br i1 %328, label %329, label %335

329:                                              ; preds = %283
  %330 = load ptr, ptr %4, align 8, !tbaa !5
  %331 = getelementptr inbounds %struct.ImGuiContext, ptr %330, i32 0, i32 80
  %332 = load ptr, ptr %331, align 8, !tbaa !116
  %333 = getelementptr inbounds %struct.ImGuiWindow, ptr %332, i32 0, i32 0
  %334 = load ptr, ptr %333, align 8, !tbaa !78
  br label %336

335:                                              ; preds = %283
  br label %336

336:                                              ; preds = %335, %329
  %337 = phi ptr [ %334, %329 ], [ @.str.182, %335 ]
  call void (ptr, ...) @_ZN5ImGui4TextEPKcz(ptr noundef @.str.205, ptr noundef %337)
  %338 = load ptr, ptr %4, align 8, !tbaa !5
  %339 = getelementptr inbounds %struct.ImGuiContext, ptr %338, i32 0, i32 125
  %340 = load i8, ptr %339, align 4, !tbaa !117, !range !97, !noundef !98
  %341 = trunc i8 %340 to i1
  %342 = zext i1 %341 to i32
  %343 = load ptr, ptr %4, align 8, !tbaa !5
  %344 = getelementptr inbounds %struct.ImGuiContext, ptr %343, i32 0, i32 132
  %345 = getelementptr inbounds %struct.ImGuiPayload, ptr %344, i32 0, i32 2
  %346 = load i32, ptr %345, align 4, !tbaa !118
  %347 = load ptr, ptr %4, align 8, !tbaa !5
  %348 = getelementptr inbounds %struct.ImGuiContext, ptr %347, i32 0, i32 132
  %349 = getelementptr inbounds %struct.ImGuiPayload, ptr %348, i32 0, i32 5
  %350 = getelementptr inbounds [33 x i8], ptr %349, i64 0, i64 0
  %351 = load ptr, ptr %4, align 8, !tbaa !5
  %352 = getelementptr inbounds %struct.ImGuiContext, ptr %351, i32 0, i32 132
  %353 = getelementptr inbounds %struct.ImGuiPayload, ptr %352, i32 0, i32 1
  %354 = load i32, ptr %353, align 8, !tbaa !119
  call void (ptr, ...) @_ZN5ImGui4TextEPKcz(ptr noundef @.str.206, i32 noundef %342, i32 noundef %346, ptr noundef %350, i32 noundef %354)
  call void @_ZN5ImGui7TreePopEv()
  call void @llvm.lifetime.end.p0(i64 40, ptr %10) #8
  br label %355

355:                                              ; preds = %336, %181
  %356 = call noundef zeroext i1 @_ZN5ImGui8TreeNodeEPKc(ptr noundef @.str.207)
  br i1 %356, label %357, label %431

357:                                              ; preds = %355
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #8
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %11, float noundef 0.000000e+00, float noundef 0.000000e+00)
  %358 = call noundef zeroext i1 @_ZN5ImGui6ButtonEPKcRK6ImVec2(ptr noundef @.str.208, ptr noundef nonnull align 4 dereferenceable(8) %11)
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #8
  br i1 %358, label %359, label %360

359:                                              ; preds = %357
  call void @_ZN5ImGui20DebugStartItemPickerEv()
  br label %360

360:                                              ; preds = %359, %357
  %361 = call noundef zeroext i1 @_ZN5ImGui8CheckboxEPKcPb(ptr noundef @.str.209, ptr noundef @_ZZN5ImGui17ShowMetricsWindowEPbE24show_windows_begin_order)
  %362 = call noundef zeroext i1 @_ZN5ImGui8CheckboxEPKcPb(ptr noundef @.str.210, ptr noundef @_ZZN5ImGui17ShowMetricsWindowEPbE18show_windows_rects)
  call void @_ZN5ImGui8SameLineEff(float noundef 0.000000e+00, float noundef -1.000000e+00)
  %363 = call noundef float @_ZN5ImGui11GetFontSizeEv()
  %364 = fmul float %363, 1.200000e+01
  call void @_ZN5ImGui16SetNextItemWidthEf(float noundef %364)
  %365 = getelementptr inbounds [7 x ptr], ptr %3, i64 0, i64 0
  %366 = call noundef zeroext i1 @_ZN5ImGui5ComboEPKcPiPKS1_ii(ptr noundef @.str.211, ptr noundef @_ZZN5ImGui17ShowMetricsWindowEPbE22show_windows_rect_type, ptr noundef %365, i32 noundef 7, i32 noundef -1)
  %367 = zext i1 %366 to i32
  %368 = load i8, ptr @_ZZN5ImGui17ShowMetricsWindowEPbE18show_windows_rects, align 1, !tbaa !120, !range !97, !noundef !98
  %369 = trunc i8 %368 to i1
  %370 = zext i1 %369 to i32
  %371 = or i32 %370, %367
  %372 = icmp ne i32 %371, 0
  %373 = zext i1 %372 to i8
  store i8 %373, ptr @_ZZN5ImGui17ShowMetricsWindowEPbE18show_windows_rects, align 1, !tbaa !120
  %374 = load i8, ptr @_ZZN5ImGui17ShowMetricsWindowEPbE18show_windows_rects, align 1, !tbaa !120, !range !97, !noundef !98
  %375 = trunc i8 %374 to i1
  br i1 %375, label %376, label %429

376:                                              ; preds = %360
  %377 = load ptr, ptr %4, align 8, !tbaa !5
  %378 = getelementptr inbounds %struct.ImGuiContext, ptr %377, i32 0, i32 66
  %379 = load ptr, ptr %378, align 8, !tbaa !106
  %380 = icmp ne ptr %379, null
  br i1 %380, label %381, label %429

381:                                              ; preds = %376
  %382 = load ptr, ptr %4, align 8, !tbaa !5
  %383 = getelementptr inbounds %struct.ImGuiContext, ptr %382, i32 0, i32 66
  %384 = load ptr, ptr %383, align 8, !tbaa !106
  %385 = getelementptr inbounds %struct.ImGuiWindow, ptr %384, i32 0, i32 0
  %386 = load ptr, ptr %385, align 8, !tbaa !78
  call void (ptr, ...) @_ZN5ImGui10BulletTextEPKcz(ptr noundef @.str.212, ptr noundef %386)
  call void @_ZN5ImGui6IndentEf(float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #8
  store i32 0, ptr %12, align 4, !tbaa !23
  br label %387

387:                                              ; preds = %425, %381
  %388 = load i32, ptr %12, align 4, !tbaa !23
  %389 = icmp slt i32 %388, 7
  br i1 %389, label %391, label %390

390:                                              ; preds = %387
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #8
  br label %428

391:                                              ; preds = %387
  call void @llvm.lifetime.start.p0(i64 16, ptr %13) #8
  %392 = load ptr, ptr %4, align 8, !tbaa !5
  %393 = getelementptr inbounds %struct.ImGuiContext, ptr %392, i32 0, i32 66
  %394 = load ptr, ptr %393, align 8, !tbaa !106
  %395 = load i32, ptr %12, align 4, !tbaa !23
  %396 = call { <2 x float>, <2 x float> } @_ZZN5ImGui17ShowMetricsWindowEPbEN5Funcs13GetWindowRectEP11ImGuiWindowi(ptr noundef %394, i32 noundef %395)
  %397 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %13, i32 0, i32 0
  %398 = extractvalue { <2 x float>, <2 x float> } %396, 0
  store <2 x float> %398, ptr %397, align 4
  %399 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %13, i32 0, i32 1
  %400 = extractvalue { <2 x float>, <2 x float> } %396, 1
  store <2 x float> %400, ptr %399, align 4
  %401 = getelementptr inbounds %struct.ImRect, ptr %13, i32 0, i32 0
  %402 = getelementptr inbounds %struct.ImVec2, ptr %401, i32 0, i32 0
  %403 = load float, ptr %402, align 4, !tbaa !121
  %404 = fpext float %403 to double
  %405 = getelementptr inbounds %struct.ImRect, ptr %13, i32 0, i32 0
  %406 = getelementptr inbounds %struct.ImVec2, ptr %405, i32 0, i32 1
  %407 = load float, ptr %406, align 4, !tbaa !122
  %408 = fpext float %407 to double
  %409 = getelementptr inbounds %struct.ImRect, ptr %13, i32 0, i32 1
  %410 = getelementptr inbounds %struct.ImVec2, ptr %409, i32 0, i32 0
  %411 = load float, ptr %410, align 4, !tbaa !123
  %412 = fpext float %411 to double
  %413 = getelementptr inbounds %struct.ImRect, ptr %13, i32 0, i32 1
  %414 = getelementptr inbounds %struct.ImVec2, ptr %413, i32 0, i32 1
  %415 = load float, ptr %414, align 4, !tbaa !124
  %416 = fpext float %415 to double
  %417 = call noundef float @_ZNK6ImRect8GetWidthEv(ptr noundef nonnull align 4 dereferenceable(16) %13)
  %418 = fpext float %417 to double
  %419 = call noundef float @_ZNK6ImRect9GetHeightEv(ptr noundef nonnull align 4 dereferenceable(16) %13)
  %420 = fpext float %419 to double
  %421 = load i32, ptr %12, align 4, !tbaa !23
  %422 = sext i32 %421 to i64
  %423 = getelementptr inbounds [7 x ptr], ptr %3, i64 0, i64 %422
  %424 = load ptr, ptr %423, align 8, !tbaa !5
  call void (ptr, ...) @_ZN5ImGui4TextEPKcz(ptr noundef @.str.213, double noundef %404, double noundef %408, double noundef %412, double noundef %416, double noundef %418, double noundef %420, ptr noundef %424)
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #8
  br label %425

425:                                              ; preds = %391
  %426 = load i32, ptr %12, align 4, !tbaa !23
  %427 = add nsw i32 %426, 1
  store i32 %427, ptr %12, align 4, !tbaa !23
  br label %387, !llvm.loop !125

428:                                              ; preds = %390
  call void @_ZN5ImGui8UnindentEf(float noundef 0.000000e+00)
  br label %429

429:                                              ; preds = %428, %376, %360
  %430 = call noundef zeroext i1 @_ZN5ImGui8CheckboxEPKcPb(ptr noundef @.str.214, ptr noundef @_ZZN5ImGui17ShowMetricsWindowEPbE23show_drawcmd_clip_rects)
  call void @_ZN5ImGui7TreePopEv()
  br label %431

431:                                              ; preds = %429, %355
  %432 = load i8, ptr @_ZZN5ImGui17ShowMetricsWindowEPbE18show_windows_rects, align 1, !tbaa !120, !range !97, !noundef !98
  %433 = trunc i8 %432 to i1
  br i1 %433, label %437, label %434

434:                                              ; preds = %431
  %435 = load i8, ptr @_ZZN5ImGui17ShowMetricsWindowEPbE24show_windows_begin_order, align 1, !tbaa !120, !range !97, !noundef !98
  %436 = trunc i8 %435 to i1
  br i1 %436, label %437, label %510

437:                                              ; preds = %434, %431
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #8
  store i32 0, ptr %14, align 4, !tbaa !23
  br label %438

438:                                              ; preds = %506, %437
  %439 = load i32, ptr %14, align 4, !tbaa !23
  %440 = load ptr, ptr %4, align 8, !tbaa !5
  %441 = getelementptr inbounds %struct.ImGuiContext, ptr %440, i32 0, i32 16
  %442 = getelementptr inbounds %struct.ImVector.0, ptr %441, i32 0, i32 0
  %443 = load i32, ptr %442, align 8, !tbaa !126
  %444 = icmp slt i32 %439, %443
  br i1 %444, label %446, label %445

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

446:                                              ; preds = %438
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #8
  %447 = load ptr, ptr %4, align 8, !tbaa !5
  %448 = getelementptr inbounds %struct.ImGuiContext, ptr %447, i32 0, i32 16
  %449 = load i32, ptr %14, align 4, !tbaa !23
  %450 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8ImVectorIP11ImGuiWindowEixEi(ptr noundef nonnull align 8 dereferenceable(16) %448, i32 noundef %449)
  %451 = load ptr, ptr %450, align 8, !tbaa !5
  store ptr %451, ptr %16, align 8, !tbaa !5
  %452 = load ptr, ptr %16, align 8, !tbaa !5
  %453 = getelementptr inbounds %struct.ImGuiWindow, ptr %452, i32 0, i32 22
  %454 = load i8, ptr %453, align 1, !tbaa !127, !range !97, !noundef !98
  %455 = trunc i8 %454 to i1
  br i1 %455, label %457, label %456

456:                                              ; preds = %446
  store i32 16, ptr %15, align 4
  br label %503

457:                                              ; preds = %446
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #8
  %458 = load ptr, ptr %16, align 8, !tbaa !5
  %459 = call noundef ptr @_ZN5ImGui21GetForegroundDrawListEP11ImGuiWindow(ptr noundef %458)
  store ptr %459, ptr %17, align 8, !tbaa !5
  %460 = load i8, ptr @_ZZN5ImGui17ShowMetricsWindowEPbE18show_windows_rects, align 1, !tbaa !120, !range !97, !noundef !98
  %461 = trunc i8 %460 to i1
  br i1 %461, label %462, label %473

462:                                              ; preds = %457
  call void @llvm.lifetime.start.p0(i64 16, ptr %18) #8
  %463 = load ptr, ptr %16, align 8, !tbaa !5
  %464 = load i32, ptr @_ZZN5ImGui17ShowMetricsWindowEPbE22show_windows_rect_type, align 4, !tbaa !23
  %465 = call { <2 x float>, <2 x float> } @_ZZN5ImGui17ShowMetricsWindowEPbEN5Funcs13GetWindowRectEP11ImGuiWindowi(ptr noundef %463, i32 noundef %464)
  %466 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %18, i32 0, i32 0
  %467 = extractvalue { <2 x float>, <2 x float> } %465, 0
  store <2 x float> %467, ptr %466, align 4
  %468 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %18, i32 0, i32 1
  %469 = extractvalue { <2 x float>, <2 x float> } %465, 1
  store <2 x float> %469, ptr %468, align 4
  %470 = load ptr, ptr %17, align 8, !tbaa !5
  %471 = getelementptr inbounds %struct.ImRect, ptr %18, i32 0, i32 0
  %472 = getelementptr inbounds %struct.ImRect, ptr %18, i32 0, i32 1
  call void @_ZN10ImDrawList7AddRectERK6ImVec2S2_jfif(ptr noundef nonnull align 8 dereferenceable(168) %470, ptr noundef nonnull align 4 dereferenceable(8) %471, ptr noundef nonnull align 4 dereferenceable(8) %472, i32 noundef -8388353, float noundef 0.000000e+00, i32 noundef 15, float noundef 1.000000e+00)
  call void @llvm.lifetime.end.p0(i64 16, ptr %18) #8
  br label %473

473:                                              ; preds = %462, %457
  %474 = load i8, ptr @_ZZN5ImGui17ShowMetricsWindowEPbE24show_windows_begin_order, align 1, !tbaa !120, !range !97, !noundef !98
  %475 = trunc i8 %474 to i1
  br i1 %475, label %476, label %502

476:                                              ; preds = %473
  %477 = load ptr, ptr %16, align 8, !tbaa !5
  %478 = getelementptr inbounds %struct.ImGuiWindow, ptr %477, i32 0, i32 2
  %479 = load i32, ptr %478, align 4, !tbaa !87
  %480 = and i32 %479, 16777216
  %481 = icmp ne i32 %480, 0
  br i1 %481, label %502, label %482

482:                                              ; preds = %476
  call void @llvm.lifetime.start.p0(i64 32, ptr %19) #8
  %483 = getelementptr inbounds [32 x i8], ptr %19, i64 0, i64 0
  %484 = load ptr, ptr %16, align 8, !tbaa !5
  %485 = getelementptr inbounds %struct.ImGuiWindow, ptr %484, i32 0, i32 33
  %486 = load i16, ptr %485, align 4, !tbaa !128
  %487 = sext i16 %486 to i32
  %488 = call noundef i32 (ptr, i64, ptr, ...) @_Z14ImFormatStringPcmPKcz(ptr noundef %483, i64 noundef 32, ptr noundef @.str.215, i32 noundef %487)
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #8
  %489 = call noundef float @_ZN5ImGui11GetFontSizeEv()
  store float %489, ptr %20, align 4, !tbaa !129
  %490 = load ptr, ptr %17, align 8, !tbaa !5
  %491 = load ptr, ptr %16, align 8, !tbaa !5
  %492 = getelementptr inbounds %struct.ImGuiWindow, ptr %491, i32 0, i32 3
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #8
  %493 = load ptr, ptr %16, align 8, !tbaa !5
  %494 = getelementptr inbounds %struct.ImGuiWindow, ptr %493, i32 0, i32 3
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #8
  %495 = load float, ptr %20, align 4, !tbaa !129
  %496 = load float, ptr %20, align 4, !tbaa !129
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %22, float noundef %495, float noundef %496)
  %497 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %494, ptr noundef nonnull align 4 dereferenceable(8) %22)
  store <2 x float> %497, ptr %21, align 4
  call void @_ZN10ImDrawList13AddRectFilledERK6ImVec2S2_jfi(ptr noundef nonnull align 8 dereferenceable(168) %490, ptr noundef nonnull align 4 dereferenceable(8) %492, ptr noundef nonnull align 4 dereferenceable(8) %21, i32 noundef -10197816, float noundef 0.000000e+00, i32 noundef 15)
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #8
  %498 = load ptr, ptr %17, align 8, !tbaa !5
  %499 = load ptr, ptr %16, align 8, !tbaa !5
  %500 = getelementptr inbounds %struct.ImGuiWindow, ptr %499, i32 0, i32 3
  %501 = getelementptr inbounds [32 x i8], ptr %19, i64 0, i64 0
  call void @_ZN10ImDrawList7AddTextERK6ImVec2jPKcS4_(ptr noundef nonnull align 8 dereferenceable(168) %498, ptr noundef nonnull align 4 dereferenceable(8) %500, i32 noundef -1, ptr noundef %501, ptr noundef null)
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %19) #8
  br label %502

502:                                              ; preds = %482, %476, %473
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #8
  store i32 0, ptr %15, align 4
  br label %503

503:                                              ; preds = %502, %456
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #8
  %504 = load i32, ptr %15, align 4
  switch i32 %504, label %512 [
    i32 0, label %505
    i32 16, label %506
  ]

505:                                              ; preds = %503
  br label %506

506:                                              ; preds = %505, %503
  %507 = load i32, ptr %14, align 4, !tbaa !23
  %508 = add nsw i32 %507, 1
  store i32 %508, ptr %14, align 4, !tbaa !23
  br label %438, !llvm.loop !130

509:                                              ; preds = %445
  br label %510

510:                                              ; preds = %509, %434
  call void @_ZN5ImGui3EndEv()
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #8
  call void @llvm.lifetime.end.p0(i64 56, ptr %3) #8
  br label %511

511:                                              ; preds = %510, %25
  ret void

512:                                              ; preds = %503
  unreachable
}

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

declare void @_ZN5ImGui9SeparatorEv() #4

; Function Attrs: mustprogress uwtable
declare hidden void @_ZZN5ImGui17ShowMetricsWindowEPbEN5Funcs11NodeWindowsER8ImVectorIP11ImGuiWindowEPKc(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef) #5 align 2

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZZN5ImGui17ShowMetricsWindowEPbEN5Funcs12NodeDrawListEP11ImGuiWindowP10ImDrawListPKc(ptr noundef, ptr noundef, ptr noundef) #7 align 2

declare void @_ZN5ImGui7TreePopEv() #4

declare void @_ZN5ImGui10BulletTextEPKcz(ptr noundef, ...) #4

; Function Attrs: mustprogress uwtable
declare hidden void @_ZZN5ImGui17ShowMetricsWindowEPbEN5Funcs10NodeTabBarEP11ImGuiTabBar(ptr noundef) #5 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN6ImPoolI11ImGuiTabBarE10GetByIndexEi(ptr noundef nonnull align 8 dereferenceable(36), i32 noundef) #1 align 2

declare noundef zeroext i1 @_ZN5ImGui8TreeNodeEPKc(ptr noundef) #4

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN5ImGui20DebugStartItemPickerEv() #6

declare noundef zeroext i1 @_ZN5ImGui8CheckboxEPKcPb(ptr noundef, ptr noundef) #4

declare noundef zeroext i1 @_ZN5ImGui5ComboEPKcPiPKS1_ii(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) #4

; Function Attrs: mustprogress uwtable
declare hidden { <2 x float>, <2 x float> } @_ZZN5ImGui17ShowMetricsWindowEPbEN5Funcs13GetWindowRectEP11ImGuiWindowi(ptr noundef, i32 noundef) #7 align 2

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

declare void @_ZN10ImDrawList7AddTextERK6ImVec2jPKcS4_(ptr noundef nonnull align 8 dereferenceable(168), ptr noundef nonnull align 4 dereferenceable(8), i32 noundef, ptr noundef, ptr noundef) #4

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { inlinehint mustprogress uwtable "min-legal-vector-width"="64" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { "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 = { mustprogress uwtable "min-legal-vector-width"="64" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #8 = { 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, !13, i64 928}
!10 = !{!"_ZTS7ImGuiIO", !11, i64 0, !11, i64 4, !12, i64 8, !13, i64 16, !13, i64 20, !6, i64 24, !6, i64 32, !13, i64 40, !13, i64 44, !13, i64 48, !7, i64 52, !13, i64 140, !13, i64 144, !6, i64 152, !6, i64 160, !13, i64 168, !14, i64 172, !6, i64 176, !12, i64 184, !14, i64 192, !14, i64 193, !14, i64 194, !14, i64 195, !14, i64 196, !13, 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, !6, i64 288, !12, i64 296, !7, i64 304, !13, i64 312, !13, i64 316, !14, i64 320, !14, i64 321, !14, i64 322, !14, i64 323, !7, i64 324, !7, i64 836, !14, i64 920, !14, i64 921, !14, i64 922, !14, i64 923, !14, i64 924, !14, i64 925, !14, i64 926, !13, i64 928, !11, i64 932, !11, i64 936, !11, i64 940, !11, i64 944, !11, i64 948, !12, i64 952, !12, i64 960, !7, i64 968, !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 5356, !15, i64 5440}
!11 = !{!"int", !7, i64 0}
!12 = !{!"_ZTS6ImVec2", !13, i64 0, !13, i64 4}
!13 = !{!"float", !7, i64 0}
!14 = !{!"bool", !7, i64 0}
!15 = !{!"_ZTS8ImVectorItE", !11, i64 0, !11, i64 4, !6, i64 8}
!16 = !{!10, !11, i64 932}
!17 = !{!10, !11, i64 936}
!18 = !{!10, !11, i64 944}
!19 = !{!10, !11, i64 940}
!20 = !{!10, !11, i64 948}
!21 = !{!22, !11, i64 0}
!22 = !{!"_ZTS8ImVectorIP10ImDrawListE", !11, i64 0, !11, i64 4, !6, i64 8}
!23 = !{!11, !11, i64 0}
!24 = distinct !{!24, !25}
!25 = !{!"llvm.loop.mustprogress"}
!26 = !{!27, !11, i64 7008}
!27 = !{!"_ZTS12ImGuiContext", !14, i64 0, !14, i64 1, !14, i64 2, !14, i64 3, !10, i64 8, !28, i64 5464, !6, i64 6408, !13, i64 6416, !13, i64 6420, !29, i64 6424, !31, i64 6568, !11, i64 6576, !11, i64 6580, !11, i64 6584, !32, i64 6592, !32, i64 6608, !32, i64 6624, !32, i64 6640, !33, i64 6656, !11, i64 6672, !6, i64 6680, !6, i64 6688, !6, i64 6696, !6, i64 6704, !6, i64 6712, !12, i64 6720, !13, i64 6728, !11, i64 6732, !14, i64 6736, !11, i64 6740, !13, i64 6744, !13, i64 6748, !11, i64 6752, !11, i64 6756, !13, i64 6760, !14, i64 6764, !14, i64 6765, !14, i64 6766, !14, i64 6767, !14, i64 6768, !11, i64 6772, !11, i64 6776, !35, i64 6784, !12, i64 6792, !6, i64 6800, !36, i64 6808, !11, i64 6812, !14, i64 6816, !14, i64 6817, !6, i64 6824, !11, i64 6832, !13, i64 6836, !37, i64 6840, !39, i64 6944, !40, i64 6960, !41, i64 6976, !42, i64 6992, !43, i64 7008, !43, i64 7024, !6, i64 7040, !11, i64 7048, !11, i64 7052, !11, i64 7056, !11, i64 7060, !11, i64 7064, !11, i64 7068, !11, i64 7072, !11, i64 7076, !11, i64 7080, !36, i64 7084, !38, i64 7088, !11, i64 7104, !6, i64 7112, !6, i64 7120, !6, i64 7128, !13, i64 7136, !13, i64 7140, !14, i64 7144, !44, i64 7148, !11, i64 7152, !14, i64 7156, !14, i64 7157, !14, i64 7158, !14, i64 7159, !14, i64 7160, !14, i64 7161, !14, i64 7162, !11, i64 7164, !38, i64 7168, !14, i64 7184, !14, i64 7185, !11, i64 7188, !45, i64 7192, !11, i64 7196, !11, i64 7200, !11, i64 7204, !46, i64 7208, !46, i64 7256, !46, i64 7304, !6, i64 7352, !6, i64 7360, !11, i64 7368, !11, i64 7372, !11, i64 7376, !11, i64 7380, !14, i64 7384, !47, i64 7392, !48, i64 7448, !13, i64 7480, !49, i64 7488, !49, i64 7656, !11, i64 7824, !14, i64 7828, !14, i64 7829, !11, i64 7832, !11, i64 7836, !11, i64 7840, !57, i64 7848, !38, i64 7912, !11, i64 7928, !11, i64 7932, !13, i64 7936, !11, i64 7940, !11, i64 7944, !11, i64 7948, !58, i64 7952, !7, i64 7968, !6, i64 7976, !59, i64 7984, !61, i64 8024, !62, i64 8040, !12, i64 8056, !63, i64 8064, !68, i64 11792, !11, i64 11912, !11, i64 11916, !13, i64 11920, !7, i64 11924, !30, i64 11936, !14, i64 11952, !13, i64 11956, !13, i64 11960, !13, i64 11964, !11, i64 11968, !64, i64 11976, !11, i64 11992, !12, i64 11996, !12, i64 12004, !14, i64 12012, !13, i64 12016, !71, i64 12024, !72, i64 12040, !73, i64 12056, !14, i64 12072, !74, i64 12076, !6, i64 12080, !71, i64 12088, !13, i64 12104, !14, i64 12108, !11, i64 12112, !11, i64 12116, !11, i64 12120, !14, i64 12124, !11, i64 12128, !7, i64 12132, !11, i64 12612, !13, i64 12616, !11, i64 12620, !11, i64 12624, !11, i64 12628, !7, i64 12632}
!28 = !{!"_ZTS10ImGuiStyle", !13, i64 0, !12, i64 4, !13, i64 12, !13, i64 16, !12, i64 20, !12, i64 28, !11, i64 36, !13, i64 40, !13, i64 44, !13, i64 48, !13, i64 52, !12, i64 56, !13, i64 64, !13, i64 68, !12, i64 72, !12, i64 80, !12, i64 88, !13, i64 96, !13, i64 100, !13, i64 104, !13, i64 108, !13, i64 112, !13, i64 116, !13, i64 120, !13, i64 124, !11, i64 128, !12, i64 132, !12, i64 140, !12, i64 148, !12, i64 156, !13, i64 164, !14, i64 168, !14, i64 169, !13, i64 172, !7, i64 176}
!29 = !{!"_ZTS20ImDrawListSharedData", !12, i64 0, !6, i64 8, !13, i64 16, !13, i64 20, !30, i64 24, !11, i64 40, !7, i64 44}
!30 = !{!"_ZTS6ImVec4", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12}
!31 = !{!"double", !7, i64 0}
!32 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !11, i64 0, !11, i64 4, !6, i64 8}
!33 = !{!"_ZTS12ImGuiStorage", !34, i64 0}
!34 = !{!"_ZTS8ImVectorIN12ImGuiStorage16ImGuiStoragePairEE", !11, i64 0, !11, i64 4, !6, i64 8}
!35 = !{!"long long", !7, i64 0}
!36 = !{!"_ZTS16ImGuiInputSource", !7, i64 0}
!37 = !{!"_ZTS19ImGuiNextWindowData", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12, !12, i64 16, !12, i64 24, !12, i64 32, !12, i64 40, !14, i64 48, !38, i64 52, !6, i64 72, !6, i64 80, !13, i64 88, !12, i64 92}
!38 = !{!"_ZTS6ImRect", !12, i64 0, !12, i64 8}
!39 = !{!"_ZTS17ImGuiNextItemData", !11, i64 0, !13, i64 4, !14, i64 8, !11, i64 12}
!40 = !{!"_ZTS8ImVectorI13ImGuiColorModE", !11, i64 0, !11, i64 4, !6, i64 8}
!41 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !11, i64 0, !11, i64 4, !6, i64 8}
!42 = !{!"_ZTS8ImVectorIP6ImFontE", !11, i64 0, !11, i64 4, !6, i64 8}
!43 = !{!"_ZTS8ImVectorI14ImGuiPopupDataE", !11, i64 0, !11, i64 4, !6, i64 8}
!44 = !{!"_ZTS13ImGuiNavLayer", !7, i64 0}
!45 = !{!"_ZTS15ImGuiNavForward", !7, i64 0}
!46 = !{!"_ZTS18ImGuiNavMoveResult", !11, i64 0, !11, i64 4, !6, i64 8, !13, i64 16, !13, i64 20, !13, i64 24, !38, i64 28}
!47 = !{!"_ZTS10ImDrawData", !14, i64 0, !6, i64 8, !11, i64 16, !11, i64 20, !11, i64 24, !12, i64 28, !12, i64 36, !12, i64 44}
!48 = !{!"_ZTS17ImDrawDataBuilder", !7, i64 0}
!49 = !{!"_ZTS10ImDrawList", !50, i64 0, !15, i64 16, !51, i64 32, !11, i64 48, !6, i64 56, !6, i64 64, !11, i64 72, !11, i64 76, !6, i64 80, !6, i64 88, !52, i64 96, !53, i64 112, !54, i64 128, !55, i64 144}
!50 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !11, i64 0, !11, i64 4, !6, i64 8}
!51 = !{!"_ZTS8ImVectorI10ImDrawVertE", !11, i64 0, !11, i64 4, !6, i64 8}
!52 = !{!"_ZTS8ImVectorI6ImVec4E", !11, i64 0, !11, i64 4, !6, i64 8}
!53 = !{!"_ZTS8ImVectorIPvE", !11, i64 0, !11, i64 4, !6, i64 8}
!54 = !{!"_ZTS8ImVectorI6ImVec2E", !11, i64 0, !11, i64 4, !6, i64 8}
!55 = !{!"_ZTS18ImDrawListSplitter", !11, i64 0, !11, i64 4, !56, i64 8}
!56 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !11, i64 0, !11, i64 4, !6, i64 8}
!57 = !{!"_ZTS12ImGuiPayload", !6, i64 0, !11, i64 8, !11, i64 12, !11, i64 16, !11, i64 20, !7, i64 24, !14, i64 57, !14, i64 58}
!58 = !{!"_ZTS8ImVectorIhE", !11, i64 0, !11, i64 4, !6, i64 8}
!59 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !60, i64 0, !33, i64 16, !11, i64 32}
!60 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !11, i64 0, !11, i64 4, !6, i64 8}
!61 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !11, i64 0, !11, i64 4, !6, i64 8}
!62 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !11, i64 0, !11, i64 4, !6, i64 8}
!63 = !{!"_ZTS19ImGuiInputTextState", !11, i64 0, !11, i64 4, !11, i64 8, !15, i64 16, !64, i64 32, !64, i64 48, !14, i64 64, !11, i64 68, !13, i64 72, !65, i64 76, !13, i64 3696, !14, i64 3700, !14, i64 3701, !11, i64 3704, !6, i64 3712, !6, i64 3720}
!64 = !{!"_ZTS8ImVectorIcE", !11, i64 0, !11, i64 4, !6, i64 8}
!65 = !{!"_ZTSN5ImStb17STB_TexteditStateE", !11, i64 0, !11, i64 4, !11, i64 8, !7, i64 12, !7, i64 13, !7, i64 14, !7, i64 15, !7, i64 16, !7, i64 17, !7, i64 18, !7, i64 19, !13, i64 20, !66, i64 24}
!66 = !{!"_ZTSN5ImStb12StbUndoStateE", !7, i64 0, !7, i64 1584, !67, i64 3582, !67, i64 3584, !11, i64 3588, !11, i64 3592}
!67 = !{!"short", !7, i64 0}
!68 = !{!"_ZTS6ImFont", !69, i64 0, !13, i64 16, !13, i64 20, !15, i64 24, !70, i64 40, !6, i64 56, !12, i64 64, !6, i64 72, !6, i64 80, !67, i64 88, !67, i64 90, !67, i64 92, !13, i64 96, !13, i64 100, !13, i64 104, !11, i64 108, !14, i64 112}
!69 = !{!"_ZTS8ImVectorIfE", !11, i64 0, !11, i64 4, !6, i64 8}
!70 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !11, i64 0, !11, i64 4, !6, i64 8}
!71 = !{!"_ZTS15ImGuiTextBuffer", !64, i64 0}
!72 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !11, i64 0, !11, i64 4, !6, i64 8}
!73 = !{!"_ZTS8ImVectorI19ImGuiWindowSettingsE", !11, i64 0, !11, i64 4, !6, i64 8}
!74 = !{!"_ZTS12ImGuiLogType", !7, i64 0}
!75 = !{!76, !6, i64 8}
!76 = !{!"_ZTS14ImGuiPopupData", !11, i64 0, !6, i64 8, !6, i64 16, !11, i64 24, !11, i64 28, !12, i64 32, !12, i64 40}
!77 = !{!76, !11, i64 0}
!78 = !{!79, !6, i64 0}
!79 = !{!"_ZTS11ImGuiWindow", !6, i64 0, !11, i64 8, !11, i64 12, !12, i64 16, !12, i64 24, !12, i64 32, !12, i64 40, !12, i64 48, !12, i64 56, !13, i64 64, !13, i64 68, !11, i64 72, !11, i64 76, !11, i64 80, !12, i64 84, !12, i64 92, !12, i64 100, !12, i64 108, !12, i64 116, !14, i64 124, !14, i64 125, !14, i64 126, !14, i64 127, !14, i64 128, !14, i64 129, !14, i64 130, !14, i64 131, !14, i64 132, !14, i64 133, !14, i64 134, !7, i64 135, !67, i64 136, !67, i64 138, !67, i64 140, !11, i64 144, !7, i64 148, !7, i64 149, !7, i64 150, !14, i64 151, !11, i64 152, !11, i64 156, !11, i64 160, !11, i64 164, !11, i64 168, !11, i64 172, !12, i64 176, !12, i64 184, !80, i64 192, !81, i64 208, !38, i64 496, !38, i64 512, !38, i64 528, !38, i64 544, !38, i64 560, !38, i64 576, !11, i64 592, !13, i64 596, !13, i64 600, !85, i64 604, !33, i64 640, !86, i64 656, !13, i64 672, !11, i64 676, !6, i64 680, !49, i64 688, !6, i64 856, !6, i64 864, !6, i64 872, !6, i64 880, !6, i64 888, !7, i64 896, !7, i64 904, !14, i64 936, !11, i64 940, !11, i64 944}
!80 = !{!"_ZTS8ImVectorIjE", !11, i64 0, !11, i64 4, !6, i64 8}
!81 = !{!"_ZTS19ImGuiWindowTempData", !12, i64 0, !12, i64 8, !12, i64 16, !12, i64 24, !12, i64 32, !12, i64 40, !13, i64 48, !13, i64 52, !11, i64 56, !11, i64 60, !11, i64 64, !11, i64 68, !38, i64 72, !38, i64 88, !44, i64 104, !11, i64 108, !11, i64 112, !11, i64 116, !14, i64 120, !14, i64 121, !14, i64 122, !12, i64 124, !32, i64 136, !6, i64 152, !11, i64 160, !11, i64 164, !11, i64 168, !11, i64 172, !11, i64 176, !13, i64 180, !13, i64 184, !82, i64 192, !69, i64 208, !69, i64 224, !83, i64 240, !7, i64 256, !84, i64 268, !84, i64 272, !84, i64 276, !6, i64 280}
!82 = !{!"_ZTS8ImVectorIiE", !11, i64 0, !11, i64 4, !6, i64 8}
!83 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !11, i64 0, !11, i64 4, !6, i64 8}
!84 = !{!"_ZTS6ImVec1", !13, i64 0}
!85 = !{!"_ZTS16ImGuiMenuColumns", !13, i64 0, !13, i64 4, !13, i64 8, !7, i64 12, !7, i64 24}
!86 = !{!"_ZTS8ImVectorI12ImGuiColumnsE", !11, i64 0, !11, i64 4, !6, i64 8}
!87 = !{!79, !11, i64 12}
!88 = distinct !{!88, !25}
!89 = !{!27, !11, i64 7984}
!90 = distinct !{!90, !25}
!91 = !{!27, !6, i64 6688}
!92 = !{!27, !6, i64 6696}
!93 = !{!27, !11, i64 6732}
!94 = !{!27, !11, i64 6740}
!95 = !{!27, !13, i64 6744}
!96 = !{!27, !14, i64 6736}
!97 = !{i8 0, i8 2}
!98 = !{}
!99 = !{!27, !11, i64 6752}
!100 = !{!27, !11, i64 6812}
!101 = !{!27, !13, i64 6760}
!102 = !{!27, !14, i64 6765}
!103 = !{!27, !36, i64 6808}
!104 = !{!27, !6, i64 6800}
!105 = !{!27, !6, i64 6704}
!106 = !{!27, !6, i64 7040}
!107 = !{!27, !11, i64 7048}
!108 = !{!27, !44, i64 7148}
!109 = !{!27, !36, i64 7084}
!110 = !{!27, !14, i64 933}
!111 = !{!27, !14, i64 934}
!112 = !{!27, !11, i64 7052}
!113 = !{!27, !11, i64 7064}
!114 = !{!27, !14, i64 7158}
!115 = !{!27, !14, i64 7159}
!116 = !{!27, !6, i64 7112}
!117 = !{!27, !14, i64 7828}
!118 = !{!27, !11, i64 7860}
!119 = !{!27, !11, i64 7856}
!120 = !{!14, !14, i64 0}
!121 = !{!38, !13, i64 0}
!122 = !{!38, !13, i64 4}
!123 = !{!38, !13, i64 8}
!124 = !{!38, !13, i64 12}
!125 = distinct !{!125, !25}
!126 = !{!27, !11, i64 6592}
!127 = !{!79, !14, i64 127}
!128 = !{!79, !67, i64 140}
!129 = !{!13, !13, i64 0}
!130 = distinct !{!130, !25}


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

@GImGui = external dso_local local_unnamed_addr global ptr, align 8
@.str.2 = external hidden unnamed_addr constant [1 x i8], align 1
@.str.163 = external hidden unnamed_addr constant [19 x i8], align 1
@__const._ZN5ImGui17ShowMetricsWindowEPb.wrt_rects_names = external hidden unnamed_addr constant [7 x ptr], align 16
@_ZZN5ImGui17ShowMetricsWindowEPbE18show_windows_rects = external hidden global i8, align 1
@_ZZN5ImGui17ShowMetricsWindowEPbE22show_windows_rect_type = external hidden global i32, align 4
@_ZZN5ImGui17ShowMetricsWindowEPbE24show_windows_begin_order = external hidden global i8, align 1
@_ZZN5ImGui17ShowMetricsWindowEPbE23show_drawcmd_clip_rects = external hidden global i8, align 1
@.str.171 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.172 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.173 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.174 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.175 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.176 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.177 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.178 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.179 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.180 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.181 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.182 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.183 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.184 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.185 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.186 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.187 = external hidden unnamed_addr constant [15 x i8], align 1
@__const._ZN5ImGui17ShowMetricsWindowEPb.input_source_names = external hidden unnamed_addr constant [5 x ptr], align 16
@.str.193 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.194 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.195 = external hidden unnamed_addr constant [54 x i8], align 1
@.str.196 = external hidden unnamed_addr constant [65 x i8], align 1
@.str.197 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.198 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.199 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.200 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.201 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.202 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.203 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.204 = external hidden unnamed_addr constant [50 x i8], align 1
@.str.205 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.206 = external hidden unnamed_addr constant [57 x i8], align 1
@.str.207 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.208 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.209 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.210 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.211 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.212 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.213 = external hidden unnamed_addr constant [50 x i8], align 1
@.str.214 = external hidden unnamed_addr constant [53 x i8], align 1
@.str.215 = external hidden unnamed_addr constant [3 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 nounwind uwtable
declare dso_local void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8), float noundef, float noundef) unnamed_addr #1 align 2

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

; 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 #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_Z14ImFormatStringPcmPKcz(ptr noundef, i64 noundef, ptr noundef, ...) local_unnamed_addr #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN5ImGui16SetNextItemWidthEf(float noundef) local_unnamed_addr #1

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui8SameLineEff(float noundef, float noundef) local_unnamed_addr #5

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN5ImGui10GetVersionEv() local_unnamed_addr #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(5456) ptr @_ZN5ImGui5GetIOEv() local_unnamed_addr #1

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN5ImGui5BeginEPKcPbi(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #7

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui3EndEv() local_unnamed_addr #5

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef float @_ZNK6ImRect8GetWidthEv(ptr noundef nonnull align 4 dereferenceable(16)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef float @_ZNK6ImRect9GetHeightEv(ptr noundef nonnull align 4 dereferenceable(16)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef float @_ZN5ImGui11GetFontSizeEv() local_unnamed_addr #1

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN5ImGui17ShowMetricsWindowEPb(ptr noundef %0) local_unnamed_addr #7 {
  %2 = alloca [7 x ptr], align 16
  %3 = alloca %struct.ImVec2, align 4
  %4 = alloca %struct.ImRect, align 8
  %5 = alloca %struct.ImRect, align 8
  %6 = alloca [32 x i8], align 16
  %7 = alloca %struct.ImVec2, align 8
  %8 = alloca %struct.ImVec2, align 4
  %9 = tail call noundef zeroext i1 @_ZN5ImGui5BeginEPKcPbi(ptr noundef nonnull @.str.163, ptr noundef %0, i32 noundef 0)
  br i1 %9, label %11, label %10

10:                                               ; preds = %1
  tail call void @_ZN5ImGui3EndEv()
  br label %363

11:                                               ; preds = %1
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %2) #8
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(56) %2, ptr noundef nonnull align 16 dereferenceable(56) @__const._ZN5ImGui17ShowMetricsWindowEPb.wrt_rects_names, i64 56, i1 false)
  %12 = load ptr, ptr @GImGui, align 8, !tbaa !5
  %13 = tail call noundef nonnull align 8 dereferenceable(5456) ptr @_ZN5ImGui5GetIOEv()
  %14 = tail call noundef ptr @_ZN5ImGui10GetVersionEv()
  tail call void (ptr, ...) @_ZN5ImGui4TextEPKcz(ptr noundef nonnull @.str.171, ptr noundef %14)
  %15 = getelementptr inbounds i8, ptr %13, i64 928
  %16 = load float, ptr %15, align 8, !tbaa !9
  %17 = fdiv float 1.000000e+03, %16
  %18 = fpext float %17 to double
  %19 = fpext float %16 to double
  tail call void (ptr, ...) @_ZN5ImGui4TextEPKcz(ptr noundef nonnull @.str.172, double noundef %18, double noundef %19)
  %20 = getelementptr inbounds i8, ptr %13, i64 932
  %21 = load i32, ptr %20, align 4, !tbaa !16
  %22 = getelementptr inbounds i8, ptr %13, i64 936
  %23 = load i32, ptr %22, align 8, !tbaa !17
  %24 = sdiv i32 %23, 3
  tail call void (ptr, ...) @_ZN5ImGui4TextEPKcz(ptr noundef nonnull @.str.173, i32 noundef %21, i32 noundef %23, i32 noundef %24)
  %25 = getelementptr inbounds i8, ptr %13, i64 944
  %26 = load i32, ptr %25, align 8, !tbaa !18
  %27 = getelementptr inbounds i8, ptr %13, i64 940
  %28 = load i32, ptr %27, align 4, !tbaa !19
  tail call void (ptr, ...) @_ZN5ImGui4TextEPKcz(ptr noundef nonnull @.str.174, i32 noundef %26, i32 noundef %28)
  %29 = getelementptr inbounds i8, ptr %13, i64 948
  %30 = load i32, ptr %29, align 4, !tbaa !20
  tail call void (ptr, ...) @_ZN5ImGui4TextEPKcz(ptr noundef nonnull @.str.175, i32 noundef %30)
  tail call void @_ZN5ImGui9SeparatorEv()
  %31 = getelementptr inbounds i8, ptr %12, i64 6592
  tail call void @_ZZN5ImGui17ShowMetricsWindowEPbEN5Funcs11NodeWindowsER8ImVectorIP11ImGuiWindowEPKc(ptr noundef nonnull align 8 dereferenceable(16) %31, ptr noundef nonnull @.str.176)
  %32 = getelementptr inbounds i8, ptr %12, i64 7448
  %33 = load i32, ptr %32, align 8, !tbaa !21
  %34 = tail call noundef zeroext i1 (ptr, ptr, ...) @_ZN5ImGui8TreeNodeEPKcS1_z(ptr noundef nonnull @.str.177, ptr noundef nonnull @.str.178, i32 noundef %33)
  br i1 %34, label %.preheader127, label %42

.preheader127:                                    ; preds = %11
  %35 = load i32, ptr %32, align 8, !tbaa !21
  %36 = icmp sgt i32 %35, 0
  br i1 %36, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %.lr.ph, %.preheader127
  tail call void @_ZN5ImGui7TreePopEv()
  br label %42

.lr.ph:                                           ; preds = %.preheader127, %.lr.ph
  %.0128 = phi i32 [ %39, %.lr.ph ], [ 0, %.preheader127 ]
  %37 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8ImVectorIP10ImDrawListEixEi(ptr noundef nonnull align 8 dereferenceable(16) %32, i32 noundef %.0128)
  %38 = load ptr, ptr %37, align 8, !tbaa !5
  tail call void @_ZZN5ImGui17ShowMetricsWindowEPbEN5Funcs12NodeDrawListEP11ImGuiWindowP10ImDrawListPKc(ptr noundef null, ptr noundef %38, ptr noundef nonnull @.str.177)
  %39 = add nuw nsw i32 %.0128, 1
  %40 = load i32, ptr %32, align 8, !tbaa !21
  %41 = icmp slt i32 %39, %40
  br i1 %41, label %.lr.ph, label %._crit_edge, !llvm.loop !23

42:                                               ; preds = %._crit_edge, %11
  %43 = getelementptr inbounds i8, ptr %12, i64 7008
  %44 = load i32, ptr %43, align 8, !tbaa !25
  %45 = tail call noundef zeroext i1 (ptr, ptr, ...) @_ZN5ImGui8TreeNodeEPKcS1_z(ptr noundef nonnull @.str.179, ptr noundef nonnull @.str.180, i32 noundef %44)
  br i1 %45, label %.preheader126, label %65

.preheader126:                                    ; preds = %42
  %46 = load i32, ptr %43, align 8, !tbaa !25
  %47 = icmp sgt i32 %46, 0
  br i1 %47, label %.lr.ph130, label %._crit_edge131

._crit_edge131:                                   ; preds = %.thread119, %.preheader126
  tail call void @_ZN5ImGui7TreePopEv()
  br label %65

.lr.ph130:                                        ; preds = %.preheader126, %.thread119
  %.094129 = phi i32 [ %62, %.thread119 ], [ 0, %.preheader126 ]
  %48 = tail call noundef nonnull align 8 dereferenceable(48) ptr @_ZN8ImVectorI14ImGuiPopupDataEixEi(ptr noundef nonnull align 8 dereferenceable(16) %43, i32 noundef %.094129)
  %49 = getelementptr inbounds i8, ptr %48, i64 8
  %50 = load ptr, ptr %49, align 8, !tbaa !74
  %51 = tail call noundef nonnull align 8 dereferenceable(48) ptr @_ZN8ImVectorI14ImGuiPopupDataEixEi(ptr noundef nonnull align 8 dereferenceable(16) %43, i32 noundef %.094129)
  %52 = load i32, ptr %51, align 8, !tbaa !76
  %.not114 = icmp eq ptr %50, null
  br i1 %.not114, label %.thread119, label %53

53:                                               ; preds = %.lr.ph130
  %54 = load ptr, ptr %50, align 8, !tbaa !77
  %55 = getelementptr inbounds i8, ptr %50, i64 12
  %56 = load i32, ptr %55, align 4, !tbaa !86
  %.fr124 = freeze i32 %56
  %57 = and i32 %.fr124, 16777216
  %.not123 = icmp eq i32 %57, 0
  %spec.select = select i1 %.not123, ptr @.str.2, ptr @.str.183
  %58 = and i32 %.fr124, 268435456
  %.not125 = icmp eq i32 %58, 0
  %spec.select121 = select i1 %.not125, ptr @.str.2, ptr @.str.184
  br label %.thread119

.thread119:                                       ; preds = %53, %.lr.ph130
  %59 = phi ptr [ @.str.182, %.lr.ph130 ], [ %54, %53 ]
  %60 = phi ptr [ @.str.2, %.lr.ph130 ], [ %spec.select, %53 ]
  %61 = phi ptr [ @.str.2, %.lr.ph130 ], [ %spec.select121, %53 ]
  tail call void (ptr, ...) @_ZN5ImGui10BulletTextEPKcz(ptr noundef nonnull @.str.181, i32 noundef %52, ptr noundef %59, ptr noundef nonnull %60, ptr noundef nonnull %61)
  %62 = add nuw nsw i32 %.094129, 1
  %63 = load i32, ptr %43, align 8, !tbaa !25
  %64 = icmp slt i32 %62, %63
  br i1 %64, label %.lr.ph130, label %._crit_edge131, !llvm.loop !87

65:                                               ; preds = %._crit_edge131, %42
  %66 = getelementptr inbounds i8, ptr %12, i64 7984
  %67 = load i32, ptr %66, align 8, !tbaa !88
  %68 = tail call noundef zeroext i1 (ptr, ptr, ...) @_ZN5ImGui8TreeNodeEPKcS1_z(ptr noundef nonnull @.str.185, ptr noundef nonnull @.str.186, i32 noundef %67)
  br i1 %68, label %.preheader, label %75

.preheader:                                       ; preds = %65
  %69 = load i32, ptr %66, align 8, !tbaa !88
  %70 = icmp sgt i32 %69, 0
  br i1 %70, label %.lr.ph133, label %._crit_edge134

._crit_edge134:                                   ; preds = %.lr.ph133, %.preheader
  tail call void @_ZN5ImGui7TreePopEv()
  br label %75

.lr.ph133:                                        ; preds = %.preheader, %.lr.ph133
  %.095132 = phi i32 [ %72, %.lr.ph133 ], [ 0, %.preheader ]
  %71 = tail call noundef ptr @_ZN6ImPoolI11ImGuiTabBarE10GetByIndexEi(ptr noundef nonnull align 8 dereferenceable(36) %66, i32 noundef %.095132)
  tail call void @_ZZN5ImGui17ShowMetricsWindowEPbEN5Funcs10NodeTabBarEP11ImGuiTabBar(ptr noundef %71)
  %72 = add nuw nsw i32 %.095132, 1
  %73 = load i32, ptr %66, align 8, !tbaa !88
  %74 = icmp slt i32 %72, %73
  br i1 %74, label %.lr.ph133, label %._crit_edge134, !llvm.loop !89

75:                                               ; preds = %._crit_edge134, %65
  %76 = tail call noundef zeroext i1 @_ZN5ImGui8TreeNodeEPKc(ptr noundef nonnull @.str.187)
  br i1 %76, label %77, label %172

77:                                               ; preds = %75
  %78 = getelementptr inbounds i8, ptr %12, i64 6688
  %79 = load ptr, ptr %78, align 8, !tbaa !90
  %.not = icmp eq ptr %79, null
  br i1 %.not, label %82, label %80

80:                                               ; preds = %77
  %81 = load ptr, ptr %79, align 8, !tbaa !77
  br label %82

82:                                               ; preds = %77, %80
  %83 = phi ptr [ %81, %80 ], [ @.str.182, %77 ]
  tail call void (ptr, ...) @_ZN5ImGui4TextEPKcz(ptr noundef nonnull @.str.193, ptr noundef %83)
  %84 = getelementptr inbounds i8, ptr %12, i64 6696
  %85 = load ptr, ptr %84, align 8, !tbaa !91
  %.not106 = icmp eq ptr %85, null
  br i1 %.not106, label %88, label %86

86:                                               ; preds = %82
  %87 = load ptr, ptr %85, align 8, !tbaa !77
  br label %88

88:                                               ; preds = %82, %86
  %89 = phi ptr [ %87, %86 ], [ @.str.182, %82 ]
  tail call void (ptr, ...) @_ZN5ImGui4TextEPKcz(ptr noundef nonnull @.str.194, ptr noundef %89)
  %90 = getelementptr inbounds i8, ptr %12, i64 6732
  %91 = load i32, ptr %90, align 4, !tbaa !92
  %92 = getelementptr inbounds i8, ptr %12, i64 6740
  %93 = load i32, ptr %92, align 4, !tbaa !93
  %94 = getelementptr inbounds i8, ptr %12, i64 6744
  %95 = load float, ptr %94, align 8, !tbaa !94
  %96 = fpext float %95 to double
  %97 = getelementptr inbounds i8, ptr %12, i64 6736
  %98 = load i8, ptr %97, align 8, !tbaa !95, !range !96, !noundef !97
  %99 = zext nneg i8 %98 to i32
  tail call void (ptr, ...) @_ZN5ImGui4TextEPKcz(ptr noundef nonnull @.str.195, i32 noundef %91, i32 noundef %93, double noundef %96, i32 noundef %99)
  %100 = getelementptr inbounds i8, ptr %12, i64 6752
  %101 = load i32, ptr %100, align 8, !tbaa !98
  %102 = getelementptr inbounds i8, ptr %12, i64 6812
  %103 = load i32, ptr %102, align 4, !tbaa !99
  %104 = getelementptr inbounds i8, ptr %12, i64 6760
  %105 = load float, ptr %104, align 8, !tbaa !100
  %106 = fpext float %105 to double
  %107 = getelementptr inbounds i8, ptr %12, i64 6765
  %108 = load i8, ptr %107, align 1, !tbaa !101, !range !96, !noundef !97
  %109 = zext nneg i8 %108 to i32
  %110 = getelementptr inbounds i8, ptr %12, i64 6808
  %111 = load i32, ptr %110, align 8, !tbaa !102
  %112 = zext i32 %111 to i64
  %113 = getelementptr inbounds [5 x ptr], ptr @__const._ZN5ImGui17ShowMetricsWindowEPb.input_source_names, i64 0, i64 %112
  %114 = load ptr, ptr %113, align 8, !tbaa !5
  tail call void (ptr, ...) @_ZN5ImGui4TextEPKcz(ptr noundef nonnull @.str.196, i32 noundef %101, i32 noundef %103, double noundef %106, i32 noundef %109, ptr noundef %114)
  %115 = getelementptr inbounds i8, ptr %12, i64 6800
  %116 = load ptr, ptr %115, align 8, !tbaa !103
  %.not107 = icmp eq ptr %116, null
  br i1 %.not107, label %119, label %117

117:                                              ; preds = %88
  %118 = load ptr, ptr %116, align 8, !tbaa !77
  br label %119

119:                                              ; preds = %88, %117
  %120 = phi ptr [ %118, %117 ], [ @.str.182, %88 ]
  tail call void (ptr, ...) @_ZN5ImGui4TextEPKcz(ptr noundef nonnull @.str.197, ptr noundef %120)
  %121 = getelementptr inbounds i8, ptr %12, i64 6704
  %122 = load ptr, ptr %121, align 8, !tbaa !104
  %.not108 = icmp eq ptr %122, null
  br i1 %.not108, label %125, label %123

123:                                              ; preds = %119
  %124 = load ptr, ptr %122, align 8, !tbaa !77
  br label %125

125:                                              ; preds = %119, %123
  %126 = phi ptr [ %124, %123 ], [ @.str.182, %119 ]
  tail call void (ptr, ...) @_ZN5ImGui4TextEPKcz(ptr noundef nonnull @.str.198, ptr noundef %126)
  %127 = getelementptr inbounds i8, ptr %12, i64 7040
  %128 = load ptr, ptr %127, align 8, !tbaa !105
  %.not109 = icmp eq ptr %128, null
  br i1 %.not109, label %131, label %129

129:                                              ; preds = %125
  %130 = load ptr, ptr %128, align 8, !tbaa !77
  br label %131

131:                                              ; preds = %125, %129
  %132 = phi ptr [ %130, %129 ], [ @.str.182, %125 ]
  tail call void (ptr, ...) @_ZN5ImGui4TextEPKcz(ptr noundef nonnull @.str.199, ptr noundef %132)
  %133 = getelementptr inbounds i8, ptr %12, i64 7048
  %134 = load i32, ptr %133, align 8, !tbaa !106
  %135 = getelementptr inbounds i8, ptr %12, i64 7148
  %136 = load i32, ptr %135, align 4, !tbaa !107
  tail call void (ptr, ...) @_ZN5ImGui4TextEPKcz(ptr noundef nonnull @.str.200, i32 noundef %134, i32 noundef %136)
  %137 = getelementptr inbounds i8, ptr %12, i64 7084
  %138 = load i32, ptr %137, align 4, !tbaa !108
  %139 = zext i32 %138 to i64
  %140 = getelementptr inbounds [5 x ptr], ptr @__const._ZN5ImGui17ShowMetricsWindowEPb.input_source_names, i64 0, i64 %139
  %141 = load ptr, ptr %140, align 8, !tbaa !5
  tail call void (ptr, ...) @_ZN5ImGui4TextEPKcz(ptr noundef nonnull @.str.201, ptr noundef %141)
  %142 = getelementptr inbounds i8, ptr %12, i64 933
  %143 = load i8, ptr %142, align 1, !tbaa !109, !range !96, !noundef !97
  %144 = zext nneg i8 %143 to i32
  %145 = getelementptr inbounds i8, ptr %12, i64 934
  %146 = load i8, ptr %145, align 2, !tbaa !110, !range !96, !noundef !97
  %147 = zext nneg i8 %146 to i32
  tail call void (ptr, ...) @_ZN5ImGui4TextEPKcz(ptr noundef nonnull @.str.202, i32 noundef %144, i32 noundef %147)
  %148 = getelementptr inbounds i8, ptr %12, i64 7052
  %149 = load i32, ptr %148, align 4, !tbaa !111
  %150 = getelementptr inbounds i8, ptr %12, i64 7064
  %151 = load i32, ptr %150, align 8, !tbaa !112
  tail call void (ptr, ...) @_ZN5ImGui4TextEPKcz(ptr noundef nonnull @.str.203, i32 noundef %149, i32 noundef %151)
  %152 = getelementptr inbounds i8, ptr %12, i64 7158
  %153 = load i8, ptr %152, align 2, !tbaa !113, !range !96, !noundef !97
  %154 = zext nneg i8 %153 to i32
  %155 = getelementptr inbounds i8, ptr %12, i64 7159
  %156 = load i8, ptr %155, align 1, !tbaa !114, !range !96, !noundef !97
  %157 = zext nneg i8 %156 to i32
  tail call void (ptr, ...) @_ZN5ImGui4TextEPKcz(ptr noundef nonnull @.str.204, i32 noundef %154, i32 noundef %157)
  %158 = getelementptr inbounds i8, ptr %12, i64 7112
  %159 = load ptr, ptr %158, align 8, !tbaa !115
  %.not110 = icmp eq ptr %159, null
  br i1 %.not110, label %162, label %160

160:                                              ; preds = %131
  %161 = load ptr, ptr %159, align 8, !tbaa !77
  br label %162

162:                                              ; preds = %131, %160
  %163 = phi ptr [ %161, %160 ], [ @.str.182, %131 ]
  tail call void (ptr, ...) @_ZN5ImGui4TextEPKcz(ptr noundef nonnull @.str.205, ptr noundef %163)
  %164 = getelementptr inbounds i8, ptr %12, i64 7828
  %165 = load i8, ptr %164, align 4, !tbaa !116, !range !96, !noundef !97
  %166 = zext nneg i8 %165 to i32
  %167 = getelementptr inbounds i8, ptr %12, i64 7860
  %168 = load i32, ptr %167, align 4, !tbaa !117
  %169 = getelementptr inbounds i8, ptr %12, i64 7872
  %170 = getelementptr inbounds i8, ptr %12, i64 7856
  %171 = load i32, ptr %170, align 8, !tbaa !118
  tail call void (ptr, ...) @_ZN5ImGui4TextEPKcz(ptr noundef nonnull @.str.206, i32 noundef %166, i32 noundef %168, ptr noundef nonnull %169, i32 noundef %171)
  tail call void @_ZN5ImGui7TreePopEv()
  br label %172

172:                                              ; preds = %162, %75
  %173 = tail call noundef zeroext i1 @_ZN5ImGui8TreeNodeEPKc(ptr noundef nonnull @.str.207)
  br i1 %173, label %174, label %319

174:                                              ; preds = %172
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #8
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %3, float noundef 0.000000e+00, float noundef 0.000000e+00)
  %175 = call noundef zeroext i1 @_ZN5ImGui6ButtonEPKcRK6ImVec2(ptr noundef nonnull @.str.208, ptr noundef nonnull align 4 dereferenceable(8) %3)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #8
  br i1 %175, label %176, label %177

176:                                              ; preds = %174
  call void @_ZN5ImGui20DebugStartItemPickerEv()
  br label %177

177:                                              ; preds = %176, %174
  %178 = call noundef zeroext i1 @_ZN5ImGui8CheckboxEPKcPb(ptr noundef nonnull @.str.209, ptr noundef nonnull @_ZZN5ImGui17ShowMetricsWindowEPbE24show_windows_begin_order)
  %179 = call noundef zeroext i1 @_ZN5ImGui8CheckboxEPKcPb(ptr noundef nonnull @.str.210, ptr noundef nonnull @_ZZN5ImGui17ShowMetricsWindowEPbE18show_windows_rects)
  call void @_ZN5ImGui8SameLineEff(float noundef 0.000000e+00, float noundef -1.000000e+00)
  %180 = call noundef float @_ZN5ImGui11GetFontSizeEv()
  %181 = fmul float %180, 1.200000e+01
  call void @_ZN5ImGui16SetNextItemWidthEf(float noundef %181)
  %182 = call noundef zeroext i1 @_ZN5ImGui5ComboEPKcPiPKS1_ii(ptr noundef nonnull @.str.211, ptr noundef nonnull @_ZZN5ImGui17ShowMetricsWindowEPbE22show_windows_rect_type, ptr noundef nonnull %2, i32 noundef 7, i32 noundef -1)
  %183 = load i8, ptr @_ZZN5ImGui17ShowMetricsWindowEPbE18show_windows_rects, align 1, !tbaa !119, !range !96, !noundef !97
  %184 = zext i1 %182 to i8
  %185 = or i8 %183, %184
  %.not111 = icmp eq i8 %185, 0
  store i8 %185, ptr @_ZZN5ImGui17ShowMetricsWindowEPbE18show_windows_rects, align 1, !tbaa !119
  br i1 %.not111, label %317, label %186

186:                                              ; preds = %177
  %187 = getelementptr inbounds i8, ptr %12, i64 7040
  %188 = load ptr, ptr %187, align 8, !tbaa !105
  %.not112 = icmp eq ptr %188, null
  br i1 %.not112, label %317, label %189

189:                                              ; preds = %186
  %190 = load ptr, ptr %188, align 8, !tbaa !77
  call void (ptr, ...) @_ZN5ImGui10BulletTextEPKcz(ptr noundef nonnull @.str.212, ptr noundef %190)
  call void @_ZN5ImGui6IndentEf(float noundef 0.000000e+00)
  %191 = getelementptr inbounds i8, ptr %4, i64 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #8
  %192 = load ptr, ptr %187, align 8, !tbaa !105
  %193 = call { <2 x float>, <2 x float> } @_ZZN5ImGui17ShowMetricsWindowEPbEN5Funcs13GetWindowRectEP11ImGuiWindowi(ptr noundef %192, i32 noundef 0)
  %194 = extractvalue { <2 x float>, <2 x float> } %193, 0
  store <2 x float> %194, ptr %4, align 8
  %195 = extractvalue { <2 x float>, <2 x float> } %193, 1
  store <2 x float> %195, ptr %191, align 8
  %196 = extractelement <2 x float> %194, i64 0
  %197 = fpext float %196 to double
  %198 = extractelement <2 x float> %194, i64 1
  %199 = fpext float %198 to double
  %200 = extractelement <2 x float> %195, i64 0
  %201 = fpext float %200 to double
  %202 = extractelement <2 x float> %195, i64 1
  %203 = fpext float %202 to double
  %204 = call noundef float @_ZNK6ImRect8GetWidthEv(ptr noundef nonnull align 4 dereferenceable(16) %4)
  %205 = fpext float %204 to double
  %206 = call noundef float @_ZNK6ImRect9GetHeightEv(ptr noundef nonnull align 4 dereferenceable(16) %4)
  %207 = fpext float %206 to double
  %208 = load ptr, ptr %2, align 16, !tbaa !5
  call void (ptr, ...) @_ZN5ImGui4TextEPKcz(ptr noundef nonnull @.str.213, double noundef %197, double noundef %199, double noundef %201, double noundef %203, double noundef %205, double noundef %207, ptr noundef %208)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #8
  %209 = load ptr, ptr %187, align 8, !tbaa !105
  %210 = call { <2 x float>, <2 x float> } @_ZZN5ImGui17ShowMetricsWindowEPbEN5Funcs13GetWindowRectEP11ImGuiWindowi(ptr noundef %209, i32 noundef 1)
  %211 = extractvalue { <2 x float>, <2 x float> } %210, 0
  store <2 x float> %211, ptr %4, align 8
  %212 = extractvalue { <2 x float>, <2 x float> } %210, 1
  store <2 x float> %212, ptr %191, align 8
  %213 = extractelement <2 x float> %211, i64 0
  %214 = fpext float %213 to double
  %215 = extractelement <2 x float> %211, i64 1
  %216 = fpext float %215 to double
  %217 = extractelement <2 x float> %212, i64 0
  %218 = fpext float %217 to double
  %219 = extractelement <2 x float> %212, i64 1
  %220 = fpext float %219 to double
  %221 = call noundef float @_ZNK6ImRect8GetWidthEv(ptr noundef nonnull align 4 dereferenceable(16) %4)
  %222 = fpext float %221 to double
  %223 = call noundef float @_ZNK6ImRect9GetHeightEv(ptr noundef nonnull align 4 dereferenceable(16) %4)
  %224 = fpext float %223 to double
  %225 = getelementptr inbounds i8, ptr %2, i64 8
  %226 = load ptr, ptr %225, align 8, !tbaa !5
  call void (ptr, ...) @_ZN5ImGui4TextEPKcz(ptr noundef nonnull @.str.213, double noundef %214, double noundef %216, double noundef %218, double noundef %220, double noundef %222, double noundef %224, ptr noundef %226)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #8
  %227 = load ptr, ptr %187, align 8, !tbaa !105
  %228 = call { <2 x float>, <2 x float> } @_ZZN5ImGui17ShowMetricsWindowEPbEN5Funcs13GetWindowRectEP11ImGuiWindowi(ptr noundef %227, i32 noundef 2)
  %229 = extractvalue { <2 x float>, <2 x float> } %228, 0
  store <2 x float> %229, ptr %4, align 8
  %230 = extractvalue { <2 x float>, <2 x float> } %228, 1
  store <2 x float> %230, ptr %191, align 8
  %231 = extractelement <2 x float> %229, i64 0
  %232 = fpext float %231 to double
  %233 = extractelement <2 x float> %229, i64 1
  %234 = fpext float %233 to double
  %235 = extractelement <2 x float> %230, i64 0
  %236 = fpext float %235 to double
  %237 = extractelement <2 x float> %230, i64 1
  %238 = fpext float %237 to double
  %239 = call noundef float @_ZNK6ImRect8GetWidthEv(ptr noundef nonnull align 4 dereferenceable(16) %4)
  %240 = fpext float %239 to double
  %241 = call noundef float @_ZNK6ImRect9GetHeightEv(ptr noundef nonnull align 4 dereferenceable(16) %4)
  %242 = fpext float %241 to double
  %243 = getelementptr inbounds i8, ptr %2, i64 16
  %244 = load ptr, ptr %243, align 16, !tbaa !5
  call void (ptr, ...) @_ZN5ImGui4TextEPKcz(ptr noundef nonnull @.str.213, double noundef %232, double noundef %234, double noundef %236, double noundef %238, double noundef %240, double noundef %242, ptr noundef %244)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #8
  %245 = load ptr, ptr %187, align 8, !tbaa !105
  %246 = call { <2 x float>, <2 x float> } @_ZZN5ImGui17ShowMetricsWindowEPbEN5Funcs13GetWindowRectEP11ImGuiWindowi(ptr noundef %245, i32 noundef 3)
  %247 = extractvalue { <2 x float>, <2 x float> } %246, 0
  store <2 x float> %247, ptr %4, align 8
  %248 = extractvalue { <2 x float>, <2 x float> } %246, 1
  store <2 x float> %248, ptr %191, align 8
  %249 = extractelement <2 x float> %247, i64 0
  %250 = fpext float %249 to double
  %251 = extractelement <2 x float> %247, i64 1
  %252 = fpext float %251 to double
  %253 = extractelement <2 x float> %248, i64 0
  %254 = fpext float %253 to double
  %255 = extractelement <2 x float> %248, i64 1
  %256 = fpext float %255 to double
  %257 = call noundef float @_ZNK6ImRect8GetWidthEv(ptr noundef nonnull align 4 dereferenceable(16) %4)
  %258 = fpext float %257 to double
  %259 = call noundef float @_ZNK6ImRect9GetHeightEv(ptr noundef nonnull align 4 dereferenceable(16) %4)
  %260 = fpext float %259 to double
  %261 = getelementptr inbounds i8, ptr %2, i64 24
  %262 = load ptr, ptr %261, align 8, !tbaa !5
  call void (ptr, ...) @_ZN5ImGui4TextEPKcz(ptr noundef nonnull @.str.213, double noundef %250, double noundef %252, double noundef %254, double noundef %256, double noundef %258, double noundef %260, ptr noundef %262)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #8
  %263 = load ptr, ptr %187, align 8, !tbaa !105
  %264 = call { <2 x float>, <2 x float> } @_ZZN5ImGui17ShowMetricsWindowEPbEN5Funcs13GetWindowRectEP11ImGuiWindowi(ptr noundef %263, i32 noundef 4)
  %265 = extractvalue { <2 x float>, <2 x float> } %264, 0
  store <2 x float> %265, ptr %4, align 8
  %266 = extractvalue { <2 x float>, <2 x float> } %264, 1
  store <2 x float> %266, ptr %191, align 8
  %267 = extractelement <2 x float> %265, i64 0
  %268 = fpext float %267 to double
  %269 = extractelement <2 x float> %265, i64 1
  %270 = fpext float %269 to double
  %271 = extractelement <2 x float> %266, i64 0
  %272 = fpext float %271 to double
  %273 = extractelement <2 x float> %266, i64 1
  %274 = fpext float %273 to double
  %275 = call noundef float @_ZNK6ImRect8GetWidthEv(ptr noundef nonnull align 4 dereferenceable(16) %4)
  %276 = fpext float %275 to double
  %277 = call noundef float @_ZNK6ImRect9GetHeightEv(ptr noundef nonnull align 4 dereferenceable(16) %4)
  %278 = fpext float %277 to double
  %279 = getelementptr inbounds i8, ptr %2, i64 32
  %280 = load ptr, ptr %279, align 16, !tbaa !5
  call void (ptr, ...) @_ZN5ImGui4TextEPKcz(ptr noundef nonnull @.str.213, double noundef %268, double noundef %270, double noundef %272, double noundef %274, double noundef %276, double noundef %278, ptr noundef %280)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #8
  %281 = load ptr, ptr %187, align 8, !tbaa !105
  %282 = call { <2 x float>, <2 x float> } @_ZZN5ImGui17ShowMetricsWindowEPbEN5Funcs13GetWindowRectEP11ImGuiWindowi(ptr noundef %281, i32 noundef 5)
  %283 = extractvalue { <2 x float>, <2 x float> } %282, 0
  store <2 x float> %283, ptr %4, align 8
  %284 = extractvalue { <2 x float>, <2 x float> } %282, 1
  store <2 x float> %284, ptr %191, align 8
  %285 = extractelement <2 x float> %283, i64 0
  %286 = fpext float %285 to double
  %287 = extractelement <2 x float> %283, i64 1
  %288 = fpext float %287 to double
  %289 = extractelement <2 x float> %284, i64 0
  %290 = fpext float %289 to double
  %291 = extractelement <2 x float> %284, i64 1
  %292 = fpext float %291 to double
  %293 = call noundef float @_ZNK6ImRect8GetWidthEv(ptr noundef nonnull align 4 dereferenceable(16) %4)
  %294 = fpext float %293 to double
  %295 = call noundef float @_ZNK6ImRect9GetHeightEv(ptr noundef nonnull align 4 dereferenceable(16) %4)
  %296 = fpext float %295 to double
  %297 = getelementptr inbounds i8, ptr %2, i64 40
  %298 = load ptr, ptr %297, align 8, !tbaa !5
  call void (ptr, ...) @_ZN5ImGui4TextEPKcz(ptr noundef nonnull @.str.213, double noundef %286, double noundef %288, double noundef %290, double noundef %292, double noundef %294, double noundef %296, ptr noundef %298)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #8
  %299 = load ptr, ptr %187, align 8, !tbaa !105
  %300 = call { <2 x float>, <2 x float> } @_ZZN5ImGui17ShowMetricsWindowEPbEN5Funcs13GetWindowRectEP11ImGuiWindowi(ptr noundef %299, i32 noundef 6)
  %301 = extractvalue { <2 x float>, <2 x float> } %300, 0
  store <2 x float> %301, ptr %4, align 8
  %302 = extractvalue { <2 x float>, <2 x float> } %300, 1
  store <2 x float> %302, ptr %191, align 8
  %303 = extractelement <2 x float> %301, i64 0
  %304 = fpext float %303 to double
  %305 = extractelement <2 x float> %301, i64 1
  %306 = fpext float %305 to double
  %307 = extractelement <2 x float> %302, i64 0
  %308 = fpext float %307 to double
  %309 = extractelement <2 x float> %302, i64 1
  %310 = fpext float %309 to double
  %311 = call noundef float @_ZNK6ImRect8GetWidthEv(ptr noundef nonnull align 4 dereferenceable(16) %4)
  %312 = fpext float %311 to double
  %313 = call noundef float @_ZNK6ImRect9GetHeightEv(ptr noundef nonnull align 4 dereferenceable(16) %4)
  %314 = fpext float %313 to double
  %315 = getelementptr inbounds i8, ptr %2, i64 48
  %316 = load ptr, ptr %315, align 16, !tbaa !5
  call void (ptr, ...) @_ZN5ImGui4TextEPKcz(ptr noundef nonnull @.str.213, double noundef %304, double noundef %306, double noundef %308, double noundef %310, double noundef %312, double noundef %314, ptr noundef %316)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #8
  call void @_ZN5ImGui8UnindentEf(float noundef 0.000000e+00)
  br label %317

317:                                              ; preds = %189, %186, %177
  %318 = call noundef zeroext i1 @_ZN5ImGui8CheckboxEPKcPb(ptr noundef nonnull @.str.214, ptr noundef nonnull @_ZZN5ImGui17ShowMetricsWindowEPbE23show_drawcmd_clip_rects)
  call void @_ZN5ImGui7TreePopEv()
  br label %319

319:                                              ; preds = %317, %172
  %320 = load i8, ptr @_ZZN5ImGui17ShowMetricsWindowEPbE18show_windows_rects, align 1, !tbaa !119, !range !96, !noundef !97
  %321 = trunc nuw i8 %320 to i1
  br i1 %321, label %325, label %322

322:                                              ; preds = %319
  %323 = load i8, ptr @_ZZN5ImGui17ShowMetricsWindowEPbE24show_windows_begin_order, align 1, !tbaa !119, !range !96, !noundef !97
  %324 = trunc nuw i8 %323 to i1
  br i1 %324, label %325, label %.loopexit

325:                                              ; preds = %322, %319
  %326 = load i32, ptr %31, align 8, !tbaa !120
  %327 = icmp sgt i32 %326, 0
  br i1 %327, label %.lr.ph138, label %.loopexit

.lr.ph138:                                        ; preds = %325
  %328 = getelementptr inbounds i8, ptr %5, i64 8
  br label %329

329:                                              ; preds = %.lr.ph138, %359
  %.096136 = phi i32 [ 0, %.lr.ph138 ], [ %360, %359 ]
  %330 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8ImVectorIP11ImGuiWindowEixEi(ptr noundef nonnull align 8 dereferenceable(16) %31, i32 noundef %.096136)
  %331 = load ptr, ptr %330, align 8, !tbaa !5
  %332 = getelementptr inbounds i8, ptr %331, i64 127
  %333 = load i8, ptr %332, align 1, !tbaa !121, !range !96, !noundef !97
  %334 = trunc nuw i8 %333 to i1
  br i1 %334, label %335, label %359

335:                                              ; preds = %329
  %336 = call noundef ptr @_ZN5ImGui21GetForegroundDrawListEP11ImGuiWindow(ptr noundef nonnull %331)
  %337 = load i8, ptr @_ZZN5ImGui17ShowMetricsWindowEPbE18show_windows_rects, align 1, !tbaa !119, !range !96, !noundef !97
  %338 = trunc nuw i8 %337 to i1
  br i1 %338, label %339, label %344

339:                                              ; preds = %335
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #8
  %340 = load i32, ptr @_ZZN5ImGui17ShowMetricsWindowEPbE22show_windows_rect_type, align 4, !tbaa !122
  %341 = call { <2 x float>, <2 x float> } @_ZZN5ImGui17ShowMetricsWindowEPbEN5Funcs13GetWindowRectEP11ImGuiWindowi(ptr noundef nonnull %331, i32 noundef %340)
  %342 = extractvalue { <2 x float>, <2 x float> } %341, 0
  store <2 x float> %342, ptr %5, align 8
  %343 = extractvalue { <2 x float>, <2 x float> } %341, 1
  store <2 x float> %343, ptr %328, align 8
  call void @_ZN10ImDrawList7AddRectERK6ImVec2S2_jfif(ptr noundef nonnull align 8 dereferenceable(168) %336, ptr noundef nonnull align 4 dereferenceable(8) %5, ptr noundef nonnull align 4 dereferenceable(8) %328, i32 noundef -8388353, float noundef 0.000000e+00, i32 noundef 15, float noundef 1.000000e+00)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #8
  br label %344

344:                                              ; preds = %339, %335
  %345 = load i8, ptr @_ZZN5ImGui17ShowMetricsWindowEPbE24show_windows_begin_order, align 1, !tbaa !119, !range !96, !noundef !97
  %346 = trunc nuw i8 %345 to i1
  br i1 %346, label %347, label %359

347:                                              ; preds = %344
  %348 = getelementptr inbounds i8, ptr %331, i64 12
  %349 = load i32, ptr %348, align 4, !tbaa !86
  %350 = and i32 %349, 16777216
  %.not113 = icmp eq i32 %350, 0
  br i1 %.not113, label %351, label %359

351:                                              ; preds = %347
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %6) #8
  %352 = getelementptr inbounds i8, ptr %331, i64 140
  %353 = load i16, ptr %352, align 4, !tbaa !123
  %354 = sext i16 %353 to i32
  %355 = call noundef i32 (ptr, i64, ptr, ...) @_Z14ImFormatStringPcmPKcz(ptr noundef nonnull %6, i64 noundef 32, ptr noundef nonnull @.str.215, i32 noundef %354)
  %356 = call noundef float @_ZN5ImGui11GetFontSizeEv()
  %357 = getelementptr inbounds i8, ptr %331, i64 16
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #8
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %8, float noundef %356, float noundef %356)
  %358 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %357, ptr noundef nonnull align 4 dereferenceable(8) %8)
  store <2 x float> %358, ptr %7, align 8
  call void @_ZN10ImDrawList13AddRectFilledERK6ImVec2S2_jfi(ptr noundef nonnull align 8 dereferenceable(168) %336, ptr noundef nonnull align 4 dereferenceable(8) %357, ptr noundef nonnull align 4 dereferenceable(8) %7, i32 noundef -10197816, float noundef 0.000000e+00, i32 noundef 15)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #8
  call void @_ZN10ImDrawList7AddTextERK6ImVec2jPKcS4_(ptr noundef nonnull align 8 dereferenceable(168) %336, ptr noundef nonnull align 4 dereferenceable(8) %357, i32 noundef -1, ptr noundef nonnull %6, ptr noundef null)
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #8
  br label %359

359:                                              ; preds = %344, %347, %351, %329
  %360 = add nuw nsw i32 %.096136, 1
  %361 = load i32, ptr %31, align 8, !tbaa !120
  %362 = icmp slt i32 %360, %361
  br i1 %362, label %329, label %.loopexit, !llvm.loop !124

.loopexit:                                        ; preds = %359, %325, %322
  call void @_ZN5ImGui3EndEv()
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %2) #8
  br label %363

363:                                              ; preds = %.loopexit, %10
  ret void
}

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

declare void @_ZN5ImGui9SeparatorEv() local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare hidden void @_ZZN5ImGui17ShowMetricsWindowEPbEN5Funcs11NodeWindowsER8ImVectorIP11ImGuiWindowEPKc(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef) local_unnamed_addr #5 align 2

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZZN5ImGui17ShowMetricsWindowEPbEN5Funcs12NodeDrawListEP11ImGuiWindowP10ImDrawListPKc(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #7 align 2

declare void @_ZN5ImGui7TreePopEv() local_unnamed_addr #4

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZZN5ImGui17ShowMetricsWindowEPbEN5Funcs10NodeTabBarEP11ImGuiTabBar(ptr noundef) local_unnamed_addr #5 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN6ImPoolI11ImGuiTabBarE10GetByIndexEi(ptr noundef nonnull align 8 dereferenceable(36), i32 noundef) local_unnamed_addr #1 align 2

declare noundef zeroext i1 @_ZN5ImGui8TreeNodeEPKc(ptr noundef) local_unnamed_addr #4

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN5ImGui20DebugStartItemPickerEv() local_unnamed_addr #6

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

declare noundef zeroext i1 @_ZN5ImGui5ComboEPKcPiPKS1_ii(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare hidden { <2 x float>, <2 x float> } @_ZZN5ImGui17ShowMetricsWindowEPbEN5Funcs13GetWindowRectEP11ImGuiWindowi(ptr noundef, i32 noundef) local_unnamed_addr #7 align 2

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

declare void @_ZN10ImDrawList7AddTextERK6ImVec2jPKcS4_(ptr noundef nonnull align 8 dereferenceable(168), ptr noundef nonnull align 4 dereferenceable(8), i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #4

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { inlinehint mustprogress uwtable "min-legal-vector-width"="64" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { "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 = { mustprogress uwtable "min-legal-vector-width"="64" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #8 = { 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, !13, i64 928}
!10 = !{!"_ZTS7ImGuiIO", !11, i64 0, !11, i64 4, !12, i64 8, !13, i64 16, !13, i64 20, !6, i64 24, !6, i64 32, !13, i64 40, !13, i64 44, !13, i64 48, !7, i64 52, !13, i64 140, !13, i64 144, !6, i64 152, !6, i64 160, !13, i64 168, !14, i64 172, !6, i64 176, !12, i64 184, !14, i64 192, !14, i64 193, !14, i64 194, !14, i64 195, !14, i64 196, !13, 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, !6, i64 288, !12, i64 296, !7, i64 304, !13, i64 312, !13, i64 316, !14, i64 320, !14, i64 321, !14, i64 322, !14, i64 323, !7, i64 324, !7, i64 836, !14, i64 920, !14, i64 921, !14, i64 922, !14, i64 923, !14, i64 924, !14, i64 925, !14, i64 926, !13, i64 928, !11, i64 932, !11, i64 936, !11, i64 940, !11, i64 944, !11, i64 948, !12, i64 952, !12, i64 960, !7, i64 968, !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 5356, !15, i64 5440}
!11 = !{!"int", !7, i64 0}
!12 = !{!"_ZTS6ImVec2", !13, i64 0, !13, i64 4}
!13 = !{!"float", !7, i64 0}
!14 = !{!"bool", !7, i64 0}
!15 = !{!"_ZTS8ImVectorItE", !11, i64 0, !11, i64 4, !6, i64 8}
!16 = !{!10, !11, i64 932}
!17 = !{!10, !11, i64 936}
!18 = !{!10, !11, i64 944}
!19 = !{!10, !11, i64 940}
!20 = !{!10, !11, i64 948}
!21 = !{!22, !11, i64 0}
!22 = !{!"_ZTS8ImVectorIP10ImDrawListE", !11, i64 0, !11, i64 4, !6, i64 8}
!23 = distinct !{!23, !24}
!24 = !{!"llvm.loop.mustprogress"}
!25 = !{!26, !11, i64 7008}
!26 = !{!"_ZTS12ImGuiContext", !14, i64 0, !14, i64 1, !14, i64 2, !14, i64 3, !10, i64 8, !27, i64 5464, !6, i64 6408, !13, i64 6416, !13, i64 6420, !28, i64 6424, !30, i64 6568, !11, i64 6576, !11, i64 6580, !11, i64 6584, !31, i64 6592, !31, i64 6608, !31, i64 6624, !31, i64 6640, !32, i64 6656, !11, i64 6672, !6, i64 6680, !6, i64 6688, !6, i64 6696, !6, i64 6704, !6, i64 6712, !12, i64 6720, !13, i64 6728, !11, i64 6732, !14, i64 6736, !11, i64 6740, !13, i64 6744, !13, i64 6748, !11, i64 6752, !11, i64 6756, !13, i64 6760, !14, i64 6764, !14, i64 6765, !14, i64 6766, !14, i64 6767, !14, i64 6768, !11, i64 6772, !11, i64 6776, !34, i64 6784, !12, i64 6792, !6, i64 6800, !35, i64 6808, !11, i64 6812, !14, i64 6816, !14, i64 6817, !6, i64 6824, !11, i64 6832, !13, i64 6836, !36, i64 6840, !38, i64 6944, !39, i64 6960, !40, i64 6976, !41, i64 6992, !42, i64 7008, !42, i64 7024, !6, i64 7040, !11, i64 7048, !11, i64 7052, !11, i64 7056, !11, i64 7060, !11, i64 7064, !11, i64 7068, !11, i64 7072, !11, i64 7076, !11, i64 7080, !35, i64 7084, !37, i64 7088, !11, i64 7104, !6, i64 7112, !6, i64 7120, !6, i64 7128, !13, i64 7136, !13, i64 7140, !14, i64 7144, !43, i64 7148, !11, i64 7152, !14, i64 7156, !14, i64 7157, !14, i64 7158, !14, i64 7159, !14, i64 7160, !14, i64 7161, !14, i64 7162, !11, i64 7164, !37, i64 7168, !14, i64 7184, !14, i64 7185, !11, i64 7188, !44, i64 7192, !11, i64 7196, !11, i64 7200, !11, i64 7204, !45, i64 7208, !45, i64 7256, !45, i64 7304, !6, i64 7352, !6, i64 7360, !11, i64 7368, !11, i64 7372, !11, i64 7376, !11, i64 7380, !14, i64 7384, !46, i64 7392, !47, i64 7448, !13, i64 7480, !48, i64 7488, !48, i64 7656, !11, i64 7824, !14, i64 7828, !14, i64 7829, !11, i64 7832, !11, i64 7836, !11, i64 7840, !56, i64 7848, !37, i64 7912, !11, i64 7928, !11, i64 7932, !13, i64 7936, !11, i64 7940, !11, i64 7944, !11, i64 7948, !57, i64 7952, !7, i64 7968, !6, i64 7976, !58, i64 7984, !60, i64 8024, !61, i64 8040, !12, i64 8056, !62, i64 8064, !67, i64 11792, !11, i64 11912, !11, i64 11916, !13, i64 11920, !7, i64 11924, !29, i64 11936, !14, i64 11952, !13, i64 11956, !13, i64 11960, !13, i64 11964, !11, i64 11968, !63, i64 11976, !11, i64 11992, !12, i64 11996, !12, i64 12004, !14, i64 12012, !13, i64 12016, !70, i64 12024, !71, i64 12040, !72, i64 12056, !14, i64 12072, !73, i64 12076, !6, i64 12080, !70, i64 12088, !13, i64 12104, !14, i64 12108, !11, i64 12112, !11, i64 12116, !11, i64 12120, !14, i64 12124, !11, i64 12128, !7, i64 12132, !11, i64 12612, !13, i64 12616, !11, i64 12620, !11, i64 12624, !11, i64 12628, !7, i64 12632}
!27 = !{!"_ZTS10ImGuiStyle", !13, i64 0, !12, i64 4, !13, i64 12, !13, i64 16, !12, i64 20, !12, i64 28, !11, i64 36, !13, i64 40, !13, i64 44, !13, i64 48, !13, i64 52, !12, i64 56, !13, i64 64, !13, i64 68, !12, i64 72, !12, i64 80, !12, i64 88, !13, i64 96, !13, i64 100, !13, i64 104, !13, i64 108, !13, i64 112, !13, i64 116, !13, i64 120, !13, i64 124, !11, i64 128, !12, i64 132, !12, i64 140, !12, i64 148, !12, i64 156, !13, i64 164, !14, i64 168, !14, i64 169, !13, i64 172, !7, i64 176}
!28 = !{!"_ZTS20ImDrawListSharedData", !12, i64 0, !6, i64 8, !13, i64 16, !13, i64 20, !29, i64 24, !11, i64 40, !7, i64 44}
!29 = !{!"_ZTS6ImVec4", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12}
!30 = !{!"double", !7, i64 0}
!31 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !11, i64 0, !11, i64 4, !6, i64 8}
!32 = !{!"_ZTS12ImGuiStorage", !33, i64 0}
!33 = !{!"_ZTS8ImVectorIN12ImGuiStorage16ImGuiStoragePairEE", !11, i64 0, !11, i64 4, !6, i64 8}
!34 = !{!"long long", !7, i64 0}
!35 = !{!"_ZTS16ImGuiInputSource", !7, i64 0}
!36 = !{!"_ZTS19ImGuiNextWindowData", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12, !12, i64 16, !12, i64 24, !12, i64 32, !12, i64 40, !14, i64 48, !37, i64 52, !6, i64 72, !6, i64 80, !13, i64 88, !12, i64 92}
!37 = !{!"_ZTS6ImRect", !12, i64 0, !12, i64 8}
!38 = !{!"_ZTS17ImGuiNextItemData", !11, i64 0, !13, i64 4, !14, i64 8, !11, i64 12}
!39 = !{!"_ZTS8ImVectorI13ImGuiColorModE", !11, i64 0, !11, i64 4, !6, i64 8}
!40 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !11, i64 0, !11, i64 4, !6, i64 8}
!41 = !{!"_ZTS8ImVectorIP6ImFontE", !11, i64 0, !11, i64 4, !6, i64 8}
!42 = !{!"_ZTS8ImVectorI14ImGuiPopupDataE", !11, i64 0, !11, i64 4, !6, i64 8}
!43 = !{!"_ZTS13ImGuiNavLayer", !7, i64 0}
!44 = !{!"_ZTS15ImGuiNavForward", !7, i64 0}
!45 = !{!"_ZTS18ImGuiNavMoveResult", !11, i64 0, !11, i64 4, !6, i64 8, !13, i64 16, !13, i64 20, !13, i64 24, !37, i64 28}
!46 = !{!"_ZTS10ImDrawData", !14, i64 0, !6, i64 8, !11, i64 16, !11, i64 20, !11, i64 24, !12, i64 28, !12, i64 36, !12, i64 44}
!47 = !{!"_ZTS17ImDrawDataBuilder", !7, i64 0}
!48 = !{!"_ZTS10ImDrawList", !49, i64 0, !15, i64 16, !50, i64 32, !11, i64 48, !6, i64 56, !6, i64 64, !11, i64 72, !11, i64 76, !6, i64 80, !6, i64 88, !51, i64 96, !52, i64 112, !53, i64 128, !54, i64 144}
!49 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !11, i64 0, !11, i64 4, !6, i64 8}
!50 = !{!"_ZTS8ImVectorI10ImDrawVertE", !11, i64 0, !11, i64 4, !6, i64 8}
!51 = !{!"_ZTS8ImVectorI6ImVec4E", !11, i64 0, !11, i64 4, !6, i64 8}
!52 = !{!"_ZTS8ImVectorIPvE", !11, i64 0, !11, i64 4, !6, i64 8}
!53 = !{!"_ZTS8ImVectorI6ImVec2E", !11, i64 0, !11, i64 4, !6, i64 8}
!54 = !{!"_ZTS18ImDrawListSplitter", !11, i64 0, !11, i64 4, !55, i64 8}
!55 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !11, i64 0, !11, i64 4, !6, i64 8}
!56 = !{!"_ZTS12ImGuiPayload", !6, i64 0, !11, i64 8, !11, i64 12, !11, i64 16, !11, i64 20, !7, i64 24, !14, i64 57, !14, i64 58}
!57 = !{!"_ZTS8ImVectorIhE", !11, i64 0, !11, i64 4, !6, i64 8}
!58 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !59, i64 0, !32, i64 16, !11, i64 32}
!59 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !11, i64 0, !11, i64 4, !6, i64 8}
!60 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !11, i64 0, !11, i64 4, !6, i64 8}
!61 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !11, i64 0, !11, i64 4, !6, i64 8}
!62 = !{!"_ZTS19ImGuiInputTextState", !11, i64 0, !11, i64 4, !11, i64 8, !15, i64 16, !63, i64 32, !63, i64 48, !14, i64 64, !11, i64 68, !13, i64 72, !64, i64 76, !13, i64 3696, !14, i64 3700, !14, i64 3701, !11, i64 3704, !6, i64 3712, !6, i64 3720}
!63 = !{!"_ZTS8ImVectorIcE", !11, i64 0, !11, i64 4, !6, i64 8}
!64 = !{!"_ZTSN5ImStb17STB_TexteditStateE", !11, i64 0, !11, i64 4, !11, i64 8, !7, i64 12, !7, i64 13, !7, i64 14, !7, i64 15, !7, i64 16, !7, i64 17, !7, i64 18, !7, i64 19, !13, i64 20, !65, i64 24}
!65 = !{!"_ZTSN5ImStb12StbUndoStateE", !7, i64 0, !7, i64 1584, !66, i64 3582, !66, i64 3584, !11, i64 3588, !11, i64 3592}
!66 = !{!"short", !7, i64 0}
!67 = !{!"_ZTS6ImFont", !68, i64 0, !13, i64 16, !13, i64 20, !15, i64 24, !69, i64 40, !6, i64 56, !12, i64 64, !6, i64 72, !6, i64 80, !66, i64 88, !66, i64 90, !66, i64 92, !13, i64 96, !13, i64 100, !13, i64 104, !11, i64 108, !14, i64 112}
!68 = !{!"_ZTS8ImVectorIfE", !11, i64 0, !11, i64 4, !6, i64 8}
!69 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !11, i64 0, !11, i64 4, !6, i64 8}
!70 = !{!"_ZTS15ImGuiTextBuffer", !63, i64 0}
!71 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !11, i64 0, !11, i64 4, !6, i64 8}
!72 = !{!"_ZTS8ImVectorI19ImGuiWindowSettingsE", !11, i64 0, !11, i64 4, !6, i64 8}
!73 = !{!"_ZTS12ImGuiLogType", !7, i64 0}
!74 = !{!75, !6, i64 8}
!75 = !{!"_ZTS14ImGuiPopupData", !11, i64 0, !6, i64 8, !6, i64 16, !11, i64 24, !11, i64 28, !12, i64 32, !12, i64 40}
!76 = !{!75, !11, i64 0}
!77 = !{!78, !6, i64 0}
!78 = !{!"_ZTS11ImGuiWindow", !6, i64 0, !11, i64 8, !11, i64 12, !12, i64 16, !12, i64 24, !12, i64 32, !12, i64 40, !12, i64 48, !12, i64 56, !13, i64 64, !13, i64 68, !11, i64 72, !11, i64 76, !11, i64 80, !12, i64 84, !12, i64 92, !12, i64 100, !12, i64 108, !12, i64 116, !14, i64 124, !14, i64 125, !14, i64 126, !14, i64 127, !14, i64 128, !14, i64 129, !14, i64 130, !14, i64 131, !14, i64 132, !14, i64 133, !14, i64 134, !7, i64 135, !66, i64 136, !66, i64 138, !66, i64 140, !11, i64 144, !7, i64 148, !7, i64 149, !7, i64 150, !14, i64 151, !11, i64 152, !11, i64 156, !11, i64 160, !11, i64 164, !11, i64 168, !11, i64 172, !12, i64 176, !12, i64 184, !79, i64 192, !80, i64 208, !37, i64 496, !37, i64 512, !37, i64 528, !37, i64 544, !37, i64 560, !37, i64 576, !11, i64 592, !13, i64 596, !13, i64 600, !84, i64 604, !32, i64 640, !85, i64 656, !13, i64 672, !11, i64 676, !6, i64 680, !48, i64 688, !6, i64 856, !6, i64 864, !6, i64 872, !6, i64 880, !6, i64 888, !7, i64 896, !7, i64 904, !14, i64 936, !11, i64 940, !11, i64 944}
!79 = !{!"_ZTS8ImVectorIjE", !11, i64 0, !11, i64 4, !6, i64 8}
!80 = !{!"_ZTS19ImGuiWindowTempData", !12, i64 0, !12, i64 8, !12, i64 16, !12, i64 24, !12, i64 32, !12, i64 40, !13, i64 48, !13, i64 52, !11, i64 56, !11, i64 60, !11, i64 64, !11, i64 68, !37, i64 72, !37, i64 88, !43, i64 104, !11, i64 108, !11, i64 112, !11, i64 116, !14, i64 120, !14, i64 121, !14, i64 122, !12, i64 124, !31, i64 136, !6, i64 152, !11, i64 160, !11, i64 164, !11, i64 168, !11, i64 172, !11, i64 176, !13, i64 180, !13, i64 184, !81, i64 192, !68, i64 208, !68, i64 224, !82, i64 240, !7, i64 256, !83, i64 268, !83, i64 272, !83, i64 276, !6, i64 280}
!81 = !{!"_ZTS8ImVectorIiE", !11, i64 0, !11, i64 4, !6, i64 8}
!82 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !11, i64 0, !11, i64 4, !6, i64 8}
!83 = !{!"_ZTS6ImVec1", !13, i64 0}
!84 = !{!"_ZTS16ImGuiMenuColumns", !13, i64 0, !13, i64 4, !13, i64 8, !7, i64 12, !7, i64 24}
!85 = !{!"_ZTS8ImVectorI12ImGuiColumnsE", !11, i64 0, !11, i64 4, !6, i64 8}
!86 = !{!78, !11, i64 12}
!87 = distinct !{!87, !24}
!88 = !{!26, !11, i64 7984}
!89 = distinct !{!89, !24}
!90 = !{!26, !6, i64 6688}
!91 = !{!26, !6, i64 6696}
!92 = !{!26, !11, i64 6732}
!93 = !{!26, !11, i64 6740}
!94 = !{!26, !13, i64 6744}
!95 = !{!26, !14, i64 6736}
!96 = !{i8 0, i8 2}
!97 = !{}
!98 = !{!26, !11, i64 6752}
!99 = !{!26, !11, i64 6812}
!100 = !{!26, !13, i64 6760}
!101 = !{!26, !14, i64 6765}
!102 = !{!26, !35, i64 6808}
!103 = !{!26, !6, i64 6800}
!104 = !{!26, !6, i64 6704}
!105 = !{!26, !6, i64 7040}
!106 = !{!26, !11, i64 7048}
!107 = !{!26, !43, i64 7148}
!108 = !{!26, !35, i64 7084}
!109 = !{!26, !14, i64 933}
!110 = !{!26, !14, i64 934}
!111 = !{!26, !11, i64 7052}
!112 = !{!26, !11, i64 7064}
!113 = !{!26, !14, i64 7158}
!114 = !{!26, !14, i64 7159}
!115 = !{!26, !6, i64 7112}
!116 = !{!26, !14, i64 7828}
!117 = !{!26, !11, i64 7860}
!118 = !{!26, !11, i64 7856}
!119 = !{!14, !14, i64 0}
!120 = !{!26, !11, i64 6592}
!121 = !{!78, !14, i64 127}
!122 = !{!11, !11, i64 0}
!123 = !{!78, !66, i64 140}
!124 = distinct !{!124, !24}


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