; LLVM IR from BrunoLevy/learn-fpga :: LiteX/software/Libs/imgui/imgui.ll (ZN5ImGui6RenderEv)

; 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.ImGuiContext = type <{ i8, i8, [6 x i8], %struct.ImGuiIO, %struct.ImGuiStyle, ptr, float, float, %struct.ImDrawListSharedData, double, i32, i32, i32, i8, i8, i8, i8, i8, [7 x i8], ptr, %struct.ImVector.3, %struct.ImVector.3, %struct.ImVector.3, %struct.ImVector.4, %struct.ImGuiStorage, i32, %struct.ImVec2, [4 x i8], ptr, ptr, ptr, ptr, ptr, %struct.ImVec2, float, i32, i32, i32, i8, i8, i8, i8, float, float, i32, i32, float, i8, i8, i8, i8, i8, i8, i8, i8, i32, i32, i64, %struct.ImVec2, ptr, i32, i32, i32, i8, i8, [2 x i8], ptr, i32, float, i32, %struct.ImGuiNextItemData, %struct.ImGuiLastItemData, [4 x i8], %struct.ImGuiNextWindowData, %struct.ImVector.5, %struct.ImVector.6, %struct.ImVector.7, %struct.ImVector.8, %struct.ImVector.9, %struct.ImVector.10, %struct.ImVector.11, %struct.ImVector.11, i32, [4 x i8], %struct.ImVector.12, ptr, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i8, i8, i8, i8, i8, i8, i8, i8, i32, %struct.ImRect, i8, i8, i8, i8, i32, i32, i32, i32, i32, i32, %struct.ImRect, %struct.ImRect, i32, i32, i32, [4 x i8], %struct.ImGuiNavItemData, %struct.ImGuiNavItemData, %struct.ImGuiNavItemData, %struct.ImGuiNavItemData, ptr, ptr, ptr, float, float, i8, [3 x i8], float, i32, i8, i8, i8, i8, i32, i32, i32, [4 x i8], %struct.ImGuiPayload, %struct.ImRect, i32, i32, float, i32, i32, i32, i32, [4 x i8], %struct.ImVector.13, [16 x i8], i32, [4 x i8], %struct.ImVector.14, ptr, i32, [4 x i8], %struct.ImVector.15, %struct.ImPool, %struct.ImVector.17, %struct.ImVector.18, ptr, %struct.ImPool.19, %struct.ImVector.21, %struct.ImVector.22, %struct.ImVec2, %struct.ImGuiInputTextState, %struct.ImFont, i32, i32, float, float, i32, %struct.ImVec4, %struct.ImGuiComboPreviewData, float, i8, i8, [2 x i8], float, float, float, float, i16, i16, float, [4 x i8], %struct.ImVector.2, %struct.ImVector.8, %struct.ImVec2, %struct.ImVec2, i8, i8, [2 x i8], float, %struct.ImGuiTextBuffer, %struct.ImVector.24, %struct.ImChunkStream, %struct.ImChunkStream.25, %struct.ImVector.26, i32, i8, [3 x i8], i32, [4 x i8], ptr, %struct.ImGuiTextBuffer, ptr, ptr, float, i8, [3 x i8], i32, i32, i32, i8, [3 x i8], i32, %struct.ImGuiMetricsConfig, [4 x i8], %struct.ImGuiStackTool, [120 x float], i32, i32, float, i32, i32, i32, [3073 x i8], [7 x i8] }>
%struct.ImGuiIO = type { i32, i32, %struct.ImVec2, float, float, ptr, ptr, float, float, float, [22 x i32], float, float, ptr, ptr, float, i8, ptr, %struct.ImVec2, i8, i8, i8, i8, i8, i8, float, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, %struct.ImVec2, [5 x i8], float, float, i8, i8, i8, i8, [512 x i8], [20 x float], i8, i8, i8, i8, i8, i8, i8, float, i32, i32, i32, i32, i32, %struct.ImVec2, i8, i32, i32, %struct.ImVec2, [5 x %struct.ImVec2], [5 x double], [5 x i8], [5 x i8], [5 x i16], [5 x i16], [5 x i8], [5 x i8], [5 x i8], [5 x float], [5 x float], [5 x %struct.ImVec2], [5 x float], [512 x float], [512 x float], [20 x float], [20 x float], float, i8, i16, %struct.ImVector }
%struct.ImVector = type { i32, i32, ptr }
%struct.ImGuiStyle = type { float, float, %struct.ImVec2, float, float, %struct.ImVec2, %struct.ImVec2, i32, float, float, float, float, %struct.ImVec2, float, float, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, float, float, float, float, float, float, float, float, float, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, i8, i8, i8, float, float, [53 x %struct.ImVec4] }
%struct.ImDrawListSharedData = type { %struct.ImVec2, ptr, float, float, float, %struct.ImVec4, i32, [48 x %struct.ImVec2], float, [64 x i8], ptr }
%struct.ImVector.3 = type { i32, i32, ptr }
%struct.ImVector.4 = type { i32, i32, ptr }
%struct.ImGuiStorage = type { %struct.ImVector.0 }
%struct.ImVector.0 = type { i32, i32, ptr }
%struct.ImGuiNextItemData = type <{ i32, float, i32, i32, i8, [3 x i8] }>
%struct.ImGuiLastItemData = type { i32, i32, i32, %struct.ImRect, %struct.ImRect, %struct.ImRect }
%struct.ImGuiNextWindowData = type <{ i32, i32, i32, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, i8, [3 x i8], %struct.ImRect, [4 x i8], ptr, ptr, float, %struct.ImVec2, [4 x i8] }>
%struct.ImVector.5 = type { i32, i32, ptr }
%struct.ImVector.6 = type { i32, i32, ptr }
%struct.ImVector.7 = 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.ImVector.12 = type { i32, i32, ptr }
%struct.ImGuiNavItemData = type { ptr, i32, i32, %struct.ImRect, i32, float, float, float }
%struct.ImGuiPayload = type <{ ptr, i32, i32, i32, i32, [33 x i8], i8, i8, [5 x i8] }>
%struct.ImRect = type { %struct.ImVec2, %struct.ImVec2 }
%struct.ImVector.13 = type { i32, i32, ptr }
%struct.ImVector.14 = type { i32, i32, ptr }
%struct.ImVector.15 = type { i32, i32, ptr }
%struct.ImPool = type { %struct.ImVector.16, %struct.ImGuiStorage, i32, i32 }
%struct.ImVector.16 = type { i32, i32, ptr }
%struct.ImVector.17 = type { i32, i32, ptr }
%struct.ImVector.18 = type { i32, i32, ptr }
%struct.ImPool.19 = type { %struct.ImVector.20, %struct.ImGuiStorage, i32, i32 }
%struct.ImVector.20 = type { i32, i32, ptr }
%struct.ImVector.21 = type { i32, i32, ptr }
%struct.ImVector.22 = type { i32, i32, ptr }
%struct.ImGuiInputTextState = type <{ i32, i32, i32, [4 x i8], %struct.ImVector, %struct.ImVector.2, %struct.ImVector.2, i8, [3 x i8], i32, float, %"struct.ImStb::STB_TexteditState", float, i8, i8, i8, i8, i32, [4 x i8] }>
%"struct.ImStb::STB_TexteditState" = type { i32, i32, i32, i8, i32, i8, i8, i8, i8, i8, i8, i8, float, %"struct.ImStb::StbUndoState" }
%"struct.ImStb::StbUndoState" = type { [99 x %"struct.ImStb::StbUndoRecord"], [999 x i16], i16, i16, i32, i32 }
%"struct.ImStb::StbUndoRecord" = type { i32, i32, i32, i32 }
%struct.ImFont = type <{ %struct.ImVector.17, float, float, %struct.ImVector, %struct.ImVector.23, ptr, ptr, ptr, i16, i16, i16, i16, i8, [3 x i8], float, float, float, i32, [2 x i8], [2 x i8] }>
%struct.ImVector.23 = type { i32, i32, ptr }
%struct.ImVec4 = type { float, float, float, float }
%struct.ImGuiComboPreviewData = type { %struct.ImRect, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, i32 }
%struct.ImVector.2 = type { i32, i32, ptr }
%struct.ImVector.8 = type { i32, i32, ptr }
%struct.ImVector.24 = type { i32, i32, ptr }
%struct.ImChunkStream = type { %struct.ImVector.2 }
%struct.ImChunkStream.25 = type { %struct.ImVector.2 }
%struct.ImVector.26 = type { i32, i32, ptr }
%struct.ImGuiTextBuffer = type { %struct.ImVector.2 }
%struct.ImGuiMetricsConfig = type { i8, i8, i8, i8, i8, i8, i32, i32 }
%struct.ImGuiStackTool = type { i32, i32, i32, %struct.ImVector.27 }
%struct.ImVector.27 = type { i32, i32, ptr }
%struct.ImGuiViewportP = type { %struct.ImGuiViewport, [2 x i32], [2 x ptr], %struct.ImDrawData, %struct.ImDrawDataBuilder, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2 }
%struct.ImGuiViewport = type { i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2 }
%struct.ImDrawData = type { i8, i32, i32, i32, ptr, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2 }
%struct.ImDrawDataBuilder = type { [2 x %struct.ImVector.39] }
%struct.ImVector.39 = type { i32, i32, ptr }
%struct.ImGuiWindow = type <{ ptr, i32, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, float, i32, i32, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i16, i16, i16, i16, [2 x i8], i32, i8, i8, i8, i8, i32, i8, i8, i8, i8, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVector.8, %struct.ImGuiWindowTempData, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImVec2ih, %struct.ImVec2ih, i32, float, float, [4 x i8], %struct.ImGuiStorage, %struct.ImVector.28, float, i32, ptr, %struct.ImDrawList, ptr, ptr, ptr, ptr, ptr, ptr, ptr, [2 x i32], [2 x %struct.ImRect], i32, i32, i8, [7 x i8] }>
%struct.ImGuiWindowTempData = type { %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, float, %struct.ImVec1, %struct.ImVec1, %struct.ImVec1, %struct.ImVec2, i32, i16, i16, i32, i8, i8, i8, %struct.ImVec2, %struct.ImGuiMenuColumns, i32, i32, %struct.ImVector.3, ptr, ptr, i32, i32, i32, float, float, %struct.ImVector.17, %struct.ImVector.17 }
%struct.ImVec1 = type { float }
%struct.ImGuiMenuColumns = type <{ i32, i32, i16, i16, i16, i16, i16, [4 x i16], [2 x i8] }>
%struct.ImVec2ih = type { i16, i16 }
%struct.ImVector.28 = type { i32, i32, ptr }
%struct.ImDrawList = type <{ %struct.ImVector.29, %struct.ImVector, %struct.ImVector.30, i32, i32, ptr, ptr, ptr, ptr, %struct.ImVector.31, %struct.ImVector.32, %struct.ImVector.33, %struct.ImDrawCmdHeader, %struct.ImDrawListSplitter, float, [4 x i8] }>
%struct.ImVector.29 = type { i32, i32, ptr }
%struct.ImVector.30 = type { i32, i32, ptr }
%struct.ImVector.31 = type { i32, i32, ptr }
%struct.ImVector.32 = type { i32, i32, ptr }
%struct.ImVector.33 = type { i32, i32, ptr }
%struct.ImDrawCmdHeader = type <{ %struct.ImVec4, ptr, i32, [4 x i8] }>
%struct.ImDrawListSplitter = type { i32, i32, %struct.ImVector.18 }

@GImGui = external dso_local global ptr, align 8
@.str.3 = external hidden unnamed_addr constant [90 x i8], align 1
@.str.88 = external hidden unnamed_addr constant [14 x i8], align 1
@__PRETTY_FUNCTION__._ZN5ImGui6RenderEv = external hidden unnamed_addr constant [21 x i8], align 1

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui16CallContextHooksEP12ImGuiContext20ImGuiContextHookType(ptr noundef, i32 noundef) #3

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN5ImGui21GetBackgroundDrawListEP13ImGuiViewport(ptr noundef) #3

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN5ImGui21GetForegroundDrawListEP13ImGuiViewport(ptr noundef) #3

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN17ImDrawDataBuilder22FlattenIntoSingleLayerEv(ptr noundef nonnull align 8 dereferenceable(32)) #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef zeroext i1 @_ZL24IsWindowActiveAndVisibleP11ImGuiWindow(ptr noundef) #5

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui8EndFrameEv() #6

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN5ImGui6RenderEv() #6 {
  %1 = alloca ptr, align 8
  %2 = alloca i8, align 1
  %3 = alloca i32, align 4
  %4 = alloca ptr, align 8
  %5 = alloca [2 x ptr], align 16
  %6 = alloca i32, align 4
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca ptr, align 8
  %11 = alloca %struct.ImVec2, align 4
  %12 = alloca ptr, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %1) #9
  %13 = load ptr, ptr @GImGui, align 8, !tbaa !5
  store ptr %13, ptr %1, align 8, !tbaa !5
  %14 = load ptr, ptr %1, align 8, !tbaa !5
  %15 = getelementptr inbounds %struct.ImGuiContext, ptr %14, i32 0, i32 0
  %16 = load i8, ptr %15, align 8, !tbaa !9, !range !70, !noundef !71
  %17 = trunc i8 %16 to i1
  br i1 %17, label %18, label %19

18:                                               ; preds = %0
  br label %21

19:                                               ; preds = %0
  call void @__assert_fail(ptr noundef @.str.88, ptr noundef @.str.3, i32 noundef 4618, ptr noundef @__PRETTY_FUNCTION__._ZN5ImGui6RenderEv) #10
  unreachable

20:                                               ; No predecessors!
  br label %21

21:                                               ; preds = %20, %18
  %22 = load ptr, ptr %1, align 8, !tbaa !5
  %23 = getelementptr inbounds %struct.ImGuiContext, ptr %22, i32 0, i32 11
  %24 = load i32, ptr %23, align 4, !tbaa !72
  %25 = load ptr, ptr %1, align 8, !tbaa !5
  %26 = getelementptr inbounds %struct.ImGuiContext, ptr %25, i32 0, i32 10
  %27 = load i32, ptr %26, align 8, !tbaa !73
  %28 = icmp ne i32 %24, %27
  br i1 %28, label %29, label %30

29:                                               ; preds = %21
  call void @_ZN5ImGui8EndFrameEv()
  br label %30

30:                                               ; preds = %29, %21
  call void @llvm.lifetime.start.p0(i64 1, ptr %2) #9
  %31 = load ptr, ptr %1, align 8, !tbaa !5
  %32 = getelementptr inbounds %struct.ImGuiContext, ptr %31, i32 0, i32 12
  %33 = load i32, ptr %32, align 8, !tbaa !74
  %34 = load ptr, ptr %1, align 8, !tbaa !5
  %35 = getelementptr inbounds %struct.ImGuiContext, ptr %34, i32 0, i32 10
  %36 = load i32, ptr %35, align 8, !tbaa !73
  %37 = icmp ne i32 %33, %36
  %38 = zext i1 %37 to i8
  store i8 %38, ptr %2, align 1, !tbaa !75
  %39 = load ptr, ptr %1, align 8, !tbaa !5
  %40 = getelementptr inbounds %struct.ImGuiContext, ptr %39, i32 0, i32 10
  %41 = load i32, ptr %40, align 8, !tbaa !73
  %42 = load ptr, ptr %1, align 8, !tbaa !5
  %43 = getelementptr inbounds %struct.ImGuiContext, ptr %42, i32 0, i32 12
  store i32 %41, ptr %43, align 8, !tbaa !74
  %44 = load ptr, ptr %1, align 8, !tbaa !5
  %45 = getelementptr inbounds %struct.ImGuiContext, ptr %44, i32 0, i32 3
  %46 = getelementptr inbounds %struct.ImGuiIO, ptr %45, i32 0, i32 56
  store i32 0, ptr %46, align 8, !tbaa !76
  %47 = load ptr, ptr %1, align 8, !tbaa !5
  call void @_ZN5ImGui16CallContextHooksEP12ImGuiContext20ImGuiContextHookType(ptr noundef %47, i32 noundef 4)
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #9
  store i32 0, ptr %3, align 4, !tbaa !77
  br label %48

48:                                               ; preds = %77, %30
  %49 = load i32, ptr %3, align 4, !tbaa !77
  %50 = load ptr, ptr %1, align 8, !tbaa !5
  %51 = getelementptr inbounds %struct.ImGuiContext, ptr %50, i32 0, i32 84
  %52 = getelementptr inbounds %struct.ImVector.12, ptr %51, i32 0, i32 0
  %53 = load i32, ptr %52, align 8, !tbaa !78
  %54 = icmp ne i32 %49, %53
  br i1 %54, label %56, label %55

55:                                               ; preds = %48
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #9
  br label %80

56:                                               ; preds = %48
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #9
  %57 = load ptr, ptr %1, align 8, !tbaa !5
  %58 = getelementptr inbounds %struct.ImGuiContext, ptr %57, i32 0, i32 84
  %59 = load i32, ptr %3, align 4, !tbaa !77
  %60 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8ImVectorIP14ImGuiViewportPEixEi(ptr noundef nonnull align 8 dereferenceable(16) %58, i32 noundef %59)
  %61 = load ptr, ptr %60, align 8, !tbaa !5
  store ptr %61, ptr %4, align 8, !tbaa !5
  %62 = load ptr, ptr %4, align 8, !tbaa !5
  %63 = getelementptr inbounds %struct.ImGuiViewportP, ptr %62, i32 0, i32 4
  call void @_ZN17ImDrawDataBuilder5ClearEv(ptr noundef nonnull align 8 dereferenceable(32) %63)
  %64 = load ptr, ptr %4, align 8, !tbaa !5
  %65 = getelementptr inbounds %struct.ImGuiViewportP, ptr %64, i32 0, i32 2
  %66 = getelementptr inbounds [2 x ptr], ptr %65, i64 0, i64 0
  %67 = load ptr, ptr %66, align 8, !tbaa !5
  %68 = icmp ne ptr %67, null
  br i1 %68, label %69, label %76

69:                                               ; preds = %56
  %70 = load ptr, ptr %4, align 8, !tbaa !5
  %71 = getelementptr inbounds %struct.ImGuiViewportP, ptr %70, i32 0, i32 4
  %72 = getelementptr inbounds %struct.ImDrawDataBuilder, ptr %71, i32 0, i32 0
  %73 = getelementptr inbounds [2 x %struct.ImVector.39], ptr %72, i64 0, i64 0
  %74 = load ptr, ptr %4, align 8, !tbaa !5
  %75 = call noundef ptr @_ZN5ImGui21GetBackgroundDrawListEP13ImGuiViewport(ptr noundef %74)
  call void @_ZL21AddDrawListToDrawDataP8ImVectorIP10ImDrawListES1_(ptr noundef %73, ptr noundef %75)
  br label %76

76:                                               ; preds = %69, %56
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #9
  br label %77

77:                                               ; preds = %76
  %78 = load i32, ptr %3, align 4, !tbaa !77
  %79 = add nsw i32 %78, 1
  store i32 %79, ptr %3, align 4, !tbaa !77
  br label %48, !llvm.loop !79

80:                                               ; preds = %55
  %81 = load i8, ptr %2, align 1, !tbaa !75, !range !70, !noundef !71
  %82 = trunc i8 %81 to i1
  br i1 %82, label %83, label %84

83:                                               ; preds = %80
  call void @_ZN5ImGuiL23RenderDimmedBackgroundsEv()
  br label %84

84:                                               ; preds = %83, %80
  call void @llvm.lifetime.start.p0(i64 16, ptr %5) #9
  %85 = load ptr, ptr %1, align 8, !tbaa !5
  %86 = getelementptr inbounds %struct.ImGuiContext, ptr %85, i32 0, i32 130
  %87 = load ptr, ptr %86, align 8, !tbaa !81
  %88 = icmp ne ptr %87, null
  br i1 %88, label %89, label %103

89:                                               ; preds = %84
  %90 = load ptr, ptr %1, align 8, !tbaa !5
  %91 = getelementptr inbounds %struct.ImGuiContext, ptr %90, i32 0, i32 130
  %92 = load ptr, ptr %91, align 8, !tbaa !81
  %93 = getelementptr inbounds %struct.ImGuiWindow, ptr %92, i32 0, i32 2
  %94 = load i32, ptr %93, align 4, !tbaa !82
  %95 = and i32 %94, 8192
  %96 = icmp ne i32 %95, 0
  br i1 %96, label %103, label %97

97:                                               ; preds = %89
  %98 = load ptr, ptr %1, align 8, !tbaa !5
  %99 = getelementptr inbounds %struct.ImGuiContext, ptr %98, i32 0, i32 130
  %100 = load ptr, ptr %99, align 8, !tbaa !81
  %101 = getelementptr inbounds %struct.ImGuiWindow, ptr %100, i32 0, i32 76
  %102 = load ptr, ptr %101, align 8, !tbaa !97
  br label %104

103:                                              ; preds = %89, %84
  br label %104

104:                                              ; preds = %103, %97
  %105 = phi ptr [ %102, %97 ], [ null, %103 ]
  %106 = getelementptr inbounds [2 x ptr], ptr %5, i64 0, i64 0
  store ptr %105, ptr %106, align 16, !tbaa !5
  %107 = load ptr, ptr %1, align 8, !tbaa !5
  %108 = getelementptr inbounds %struct.ImGuiContext, ptr %107, i32 0, i32 130
  %109 = load ptr, ptr %108, align 8, !tbaa !81
  %110 = icmp ne ptr %109, null
  br i1 %110, label %111, label %115

111:                                              ; preds = %104
  %112 = load ptr, ptr %1, align 8, !tbaa !5
  %113 = getelementptr inbounds %struct.ImGuiContext, ptr %112, i32 0, i32 132
  %114 = load ptr, ptr %113, align 8, !tbaa !98
  br label %116

115:                                              ; preds = %104
  br label %116

116:                                              ; preds = %115, %111
  %117 = phi ptr [ %114, %111 ], [ null, %115 ]
  %118 = getelementptr inbounds [2 x ptr], ptr %5, i64 0, i64 1
  store ptr %117, ptr %118, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #9
  store i32 0, ptr %6, align 4, !tbaa !77
  br label %119

119:                                              ; preds = %154, %116
  %120 = load i32, ptr %6, align 4, !tbaa !77
  %121 = load ptr, ptr %1, align 8, !tbaa !5
  %122 = getelementptr inbounds %struct.ImGuiContext, ptr %121, i32 0, i32 20
  %123 = getelementptr inbounds %struct.ImVector.3, ptr %122, i32 0, i32 0
  %124 = load i32, ptr %123, align 8, !tbaa !99
  %125 = icmp ne i32 %120, %124
  br i1 %125, label %127, label %126

126:                                              ; preds = %119
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #9
  br label %157

127:                                              ; preds = %119
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #9
  %128 = load ptr, ptr %1, align 8, !tbaa !5
  %129 = getelementptr inbounds %struct.ImGuiContext, ptr %128, i32 0, i32 20
  %130 = load i32, ptr %6, align 4, !tbaa !77
  %131 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8ImVectorIP11ImGuiWindowEixEi(ptr noundef nonnull align 8 dereferenceable(16) %129, i32 noundef %130)
  %132 = load ptr, ptr %131, align 8, !tbaa !5
  store ptr %132, ptr %7, align 8, !tbaa !5
  %133 = load ptr, ptr %7, align 8, !tbaa !5
  %134 = call noundef zeroext i1 @_ZL24IsWindowActiveAndVisibleP11ImGuiWindow(ptr noundef %133)
  br i1 %134, label %135, label %153

135:                                              ; preds = %127
  %136 = load ptr, ptr %7, align 8, !tbaa !5
  %137 = getelementptr inbounds %struct.ImGuiWindow, ptr %136, i32 0, i32 2
  %138 = load i32, ptr %137, align 4, !tbaa !82
  %139 = and i32 %138, 16777216
  %140 = icmp eq i32 %139, 0
  br i1 %140, label %141, label %153

141:                                              ; preds = %135
  %142 = load ptr, ptr %7, align 8, !tbaa !5
  %143 = getelementptr inbounds [2 x ptr], ptr %5, i64 0, i64 0
  %144 = load ptr, ptr %143, align 16, !tbaa !5
  %145 = icmp ne ptr %142, %144
  br i1 %145, label %146, label %153

146:                                              ; preds = %141
  %147 = load ptr, ptr %7, align 8, !tbaa !5
  %148 = getelementptr inbounds [2 x ptr], ptr %5, i64 0, i64 1
  %149 = load ptr, ptr %148, align 8, !tbaa !5
  %150 = icmp ne ptr %147, %149
  br i1 %150, label %151, label %153

151:                                              ; preds = %146
  %152 = load ptr, ptr %7, align 8, !tbaa !5
  call void @_ZL23AddRootWindowToDrawDataP11ImGuiWindow(ptr noundef %152)
  br label %153

153:                                              ; preds = %151, %146, %141, %135, %127
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #9
  br label %154

154:                                              ; preds = %153
  %155 = load i32, ptr %6, align 4, !tbaa !77
  %156 = add nsw i32 %155, 1
  store i32 %156, ptr %6, align 4, !tbaa !77
  br label %119, !llvm.loop !100

157:                                              ; preds = %126
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #9
  store i32 0, ptr %8, align 4, !tbaa !77
  br label %158

158:                                              ; preds = %180, %157
  %159 = load i32, ptr %8, align 4, !tbaa !77
  %160 = icmp slt i32 %159, 2
  br i1 %160, label %162, label %161

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

162:                                              ; preds = %158
  %163 = load i32, ptr %8, align 4, !tbaa !77
  %164 = sext i32 %163 to i64
  %165 = getelementptr inbounds [2 x ptr], ptr %5, i64 0, i64 %164
  %166 = load ptr, ptr %165, align 8, !tbaa !5
  %167 = icmp ne ptr %166, null
  br i1 %167, label %168, label %179

168:                                              ; preds = %162
  %169 = load i32, ptr %8, align 4, !tbaa !77
  %170 = sext i32 %169 to i64
  %171 = getelementptr inbounds [2 x ptr], ptr %5, i64 0, i64 %170
  %172 = load ptr, ptr %171, align 8, !tbaa !5
  %173 = call noundef zeroext i1 @_ZL24IsWindowActiveAndVisibleP11ImGuiWindow(ptr noundef %172)
  br i1 %173, label %174, label %179

174:                                              ; preds = %168
  %175 = load i32, ptr %8, align 4, !tbaa !77
  %176 = sext i32 %175 to i64
  %177 = getelementptr inbounds [2 x ptr], ptr %5, i64 0, i64 %176
  %178 = load ptr, ptr %177, align 8, !tbaa !5
  call void @_ZL23AddRootWindowToDrawDataP11ImGuiWindow(ptr noundef %178)
  br label %179

179:                                              ; preds = %174, %168, %162
  br label %180

180:                                              ; preds = %179
  %181 = load i32, ptr %8, align 4, !tbaa !77
  %182 = add nsw i32 %181, 1
  store i32 %182, ptr %8, align 4, !tbaa !77
  br label %158, !llvm.loop !101

183:                                              ; preds = %161
  %184 = load ptr, ptr %1, align 8, !tbaa !5
  %185 = getelementptr inbounds %struct.ImGuiContext, ptr %184, i32 0, i32 3
  %186 = getelementptr inbounds %struct.ImGuiIO, ptr %185, i32 0, i32 55
  store i32 0, ptr %186, align 4, !tbaa !102
  %187 = load ptr, ptr %1, align 8, !tbaa !5
  %188 = getelementptr inbounds %struct.ImGuiContext, ptr %187, i32 0, i32 3
  %189 = getelementptr inbounds %struct.ImGuiIO, ptr %188, i32 0, i32 54
  store i32 0, ptr %189, align 8, !tbaa !103
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #9
  store i32 0, ptr %9, align 4, !tbaa !77
  br label %190

190:                                              ; preds = %265, %183
  %191 = load i32, ptr %9, align 4, !tbaa !77
  %192 = load ptr, ptr %1, align 8, !tbaa !5
  %193 = getelementptr inbounds %struct.ImGuiContext, ptr %192, i32 0, i32 84
  %194 = getelementptr inbounds %struct.ImVector.12, ptr %193, i32 0, i32 0
  %195 = load i32, ptr %194, align 8, !tbaa !78
  %196 = icmp slt i32 %191, %195
  br i1 %196, label %198, label %197

197:                                              ; preds = %190
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #9
  br label %268

198:                                              ; preds = %190
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #9
  %199 = load ptr, ptr %1, align 8, !tbaa !5
  %200 = getelementptr inbounds %struct.ImGuiContext, ptr %199, i32 0, i32 84
  %201 = load i32, ptr %9, align 4, !tbaa !77
  %202 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8ImVectorIP14ImGuiViewportPEixEi(ptr noundef nonnull align 8 dereferenceable(16) %200, i32 noundef %201)
  %203 = load ptr, ptr %202, align 8, !tbaa !5
  store ptr %203, ptr %10, align 8, !tbaa !5
  %204 = load ptr, ptr %10, align 8, !tbaa !5
  %205 = getelementptr inbounds %struct.ImGuiViewportP, ptr %204, i32 0, i32 4
  call void @_ZN17ImDrawDataBuilder22FlattenIntoSingleLayerEv(ptr noundef nonnull align 8 dereferenceable(32) %205)
  %206 = load ptr, ptr %1, align 8, !tbaa !5
  %207 = getelementptr inbounds %struct.ImGuiContext, ptr %206, i32 0, i32 3
  %208 = getelementptr inbounds %struct.ImGuiIO, ptr %207, i32 0, i32 19
  %209 = load i8, ptr %208, align 8, !tbaa !104, !range !70, !noundef !71
  %210 = trunc i8 %209 to i1
  br i1 %210, label %211, label %228

211:                                              ; preds = %198
  %212 = load i8, ptr %2, align 1, !tbaa !75, !range !70, !noundef !71
  %213 = trunc i8 %212 to i1
  br i1 %213, label %214, label %228

214:                                              ; preds = %211
  %215 = load ptr, ptr %10, align 8, !tbaa !5
  %216 = call noundef ptr @_ZN5ImGui21GetForegroundDrawListEP13ImGuiViewport(ptr noundef %215)
  %217 = load ptr, ptr %1, align 8, !tbaa !5
  %218 = getelementptr inbounds %struct.ImGuiContext, ptr %217, i32 0, i32 3
  %219 = getelementptr inbounds %struct.ImGuiIO, ptr %218, i32 0, i32 36
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %11, ptr align 8 %219, i64 8, i1 false), !tbaa.struct !105
  %220 = load ptr, ptr %1, align 8, !tbaa !5
  %221 = getelementptr inbounds %struct.ImGuiContext, ptr %220, i32 0, i32 4
  %222 = getelementptr inbounds %struct.ImGuiStyle, ptr %221, i32 0, i32 34
  %223 = load float, ptr %222, align 8, !tbaa !107
  %224 = load ptr, ptr %1, align 8, !tbaa !5
  %225 = getelementptr inbounds %struct.ImGuiContext, ptr %224, i32 0, i32 138
  %226 = load i32, ptr %225, align 8, !tbaa !108
  %227 = load <2 x float>, ptr %11, align 4
  call void @_ZN5ImGui17RenderMouseCursorEP10ImDrawList6ImVec2fijjj(ptr noundef %216, <2 x float> %227, float noundef %223, i32 noundef %226, i32 noundef -1, i32 noundef -16777216, i32 noundef 805306368)
  br label %228

228:                                              ; preds = %214, %211, %198
  %229 = load ptr, ptr %10, align 8, !tbaa !5
  %230 = getelementptr inbounds %struct.ImGuiViewportP, ptr %229, i32 0, i32 2
  %231 = getelementptr inbounds [2 x ptr], ptr %230, i64 0, i64 1
  %232 = load ptr, ptr %231, align 8, !tbaa !5
  %233 = icmp ne ptr %232, null
  br i1 %233, label %234, label %241

234:                                              ; preds = %228
  %235 = load ptr, ptr %10, align 8, !tbaa !5
  %236 = getelementptr inbounds %struct.ImGuiViewportP, ptr %235, i32 0, i32 4
  %237 = getelementptr inbounds %struct.ImDrawDataBuilder, ptr %236, i32 0, i32 0
  %238 = getelementptr inbounds [2 x %struct.ImVector.39], ptr %237, i64 0, i64 0
  %239 = load ptr, ptr %10, align 8, !tbaa !5
  %240 = call noundef ptr @_ZN5ImGui21GetForegroundDrawListEP13ImGuiViewport(ptr noundef %239)
  call void @_ZL21AddDrawListToDrawDataP8ImVectorIP10ImDrawListES1_(ptr noundef %238, ptr noundef %240)
  br label %241

241:                                              ; preds = %234, %228
  %242 = load ptr, ptr %10, align 8, !tbaa !5
  %243 = load ptr, ptr %10, align 8, !tbaa !5
  %244 = getelementptr inbounds %struct.ImGuiViewportP, ptr %243, i32 0, i32 4
  %245 = getelementptr inbounds %struct.ImDrawDataBuilder, ptr %244, i32 0, i32 0
  %246 = getelementptr inbounds [2 x %struct.ImVector.39], ptr %245, i64 0, i64 0
  call void @_ZL21SetupViewportDrawDataP14ImGuiViewportPP8ImVectorIP10ImDrawListE(ptr noundef %242, ptr noundef %246)
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #9
  %247 = load ptr, ptr %10, align 8, !tbaa !5
  %248 = getelementptr inbounds %struct.ImGuiViewportP, ptr %247, i32 0, i32 3
  store ptr %248, ptr %12, align 8, !tbaa !5
  %249 = load ptr, ptr %12, align 8, !tbaa !5
  %250 = getelementptr inbounds %struct.ImDrawData, ptr %249, i32 0, i32 3
  %251 = load i32, ptr %250, align 4, !tbaa !109
  %252 = load ptr, ptr %1, align 8, !tbaa !5
  %253 = getelementptr inbounds %struct.ImGuiContext, ptr %252, i32 0, i32 3
  %254 = getelementptr inbounds %struct.ImGuiIO, ptr %253, i32 0, i32 54
  %255 = load i32, ptr %254, align 8, !tbaa !103
  %256 = add nsw i32 %255, %251
  store i32 %256, ptr %254, align 8, !tbaa !103
  %257 = load ptr, ptr %12, align 8, !tbaa !5
  %258 = getelementptr inbounds %struct.ImDrawData, ptr %257, i32 0, i32 2
  %259 = load i32, ptr %258, align 8, !tbaa !111
  %260 = load ptr, ptr %1, align 8, !tbaa !5
  %261 = getelementptr inbounds %struct.ImGuiContext, ptr %260, i32 0, i32 3
  %262 = getelementptr inbounds %struct.ImGuiIO, ptr %261, i32 0, i32 55
  %263 = load i32, ptr %262, align 4, !tbaa !102
  %264 = add nsw i32 %263, %259
  store i32 %264, ptr %262, align 4, !tbaa !102
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #9
  br label %265

265:                                              ; preds = %241
  %266 = load i32, ptr %9, align 4, !tbaa !77
  %267 = add nsw i32 %266, 1
  store i32 %267, ptr %9, align 4, !tbaa !77
  br label %190, !llvm.loop !112

268:                                              ; preds = %197
  %269 = load ptr, ptr %1, align 8, !tbaa !5
  call void @_ZN5ImGui16CallContextHooksEP12ImGuiContext20ImGuiContextHookType(ptr noundef %269, i32 noundef 5)
  call void @llvm.lifetime.end.p0(i64 16, ptr %5) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %2) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %1) #9
  ret void
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN17ImDrawDataBuilder5ClearEv(ptr noundef nonnull align 8 dereferenceable(32)) #3 align 2

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL21AddDrawListToDrawDataP8ImVectorIP10ImDrawListES1_(ptr noundef, ptr noundef) #3

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN5ImGuiL23RenderDimmedBackgroundsEv() #6

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @_ZL23AddRootWindowToDrawDataP11ImGuiWindow(ptr noundef) #7

declare void @_ZN5ImGui17RenderMouseCursorEP10ImDrawList6ImVec2fijjj(ptr noundef, <2 x float>, float noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #8

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZL21SetupViewportDrawDataP14ImGuiViewportPP8ImVectorIP10ImDrawListE(ptr noundef, ptr noundef) #5

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 #5 = { 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 #6 = { mustprogress uwtable "min-legal-vector-width"="64" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #8 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #9 = { nounwind }
attributes #10 = { noreturn 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, !11, i64 0}
!10 = !{!"_ZTS12ImGuiContext", !11, i64 0, !11, i64 1, !12, i64 8, !18, i64 5488, !6, i64 6536, !15, i64 6544, !15, i64 6548, !19, i64 6552, !21, i64 7064, !13, i64 7072, !13, i64 7076, !13, i64 7080, !11, i64 7084, !11, i64 7085, !11, i64 7086, !11, i64 7087, !11, i64 7088, !6, i64 7096, !22, i64 7104, !22, i64 7120, !22, i64 7136, !23, i64 7152, !24, i64 7168, !13, i64 7184, !14, i64 7188, !6, i64 7200, !6, i64 7208, !6, i64 7216, !6, i64 7224, !6, i64 7232, !14, i64 7240, !15, i64 7248, !13, i64 7252, !13, i64 7256, !13, i64 7260, !11, i64 7264, !11, i64 7265, !11, i64 7266, !11, i64 7267, !15, i64 7268, !15, i64 7272, !13, i64 7276, !13, i64 7280, !15, i64 7284, !11, i64 7288, !11, i64 7289, !11, i64 7290, !11, i64 7291, !11, i64 7292, !11, i64 7293, !11, i64 7294, !13, i64 7296, !13, i64 7300, !26, i64 7304, !14, i64 7312, !6, i64 7320, !27, i64 7328, !13, i64 7332, !13, i64 7336, !11, i64 7340, !11, i64 7341, !6, i64 7344, !13, i64 7352, !15, i64 7356, !13, i64 7360, !28, i64 7364, !29, i64 7384, !31, i64 7448, !32, i64 7560, !33, i64 7576, !34, i64 7592, !35, i64 7608, !36, i64 7624, !37, i64 7640, !38, i64 7656, !38, i64 7672, !13, i64 7688, !39, i64 7696, !6, i64 7712, !13, i64 7720, !13, i64 7724, !13, i64 7728, !13, i64 7732, !13, i64 7736, !13, i64 7740, !13, i64 7744, !13, i64 7748, !13, i64 7752, !13, i64 7756, !13, i64 7760, !13, i64 7764, !27, i64 7768, !40, i64 7772, !11, i64 7776, !11, i64 7777, !11, i64 7778, !11, i64 7779, !11, i64 7780, !11, i64 7781, !11, i64 7782, !13, i64 7784, !30, i64 7788, !11, i64 7804, !11, i64 7805, !11, i64 7806, !13, i64 7808, !13, i64 7812, !13, i64 7816, !13, i64 7820, !13, i64 7824, !13, i64 7828, !30, i64 7832, !30, i64 7848, !13, i64 7864, !13, i64 7868, !13, i64 7872, !41, i64 7880, !41, i64 7928, !41, i64 7976, !41, i64 8024, !6, i64 8072, !6, i64 8080, !6, i64 8088, !15, i64 8096, !15, i64 8100, !11, i64 8104, !15, i64 8108, !13, i64 8112, !11, i64 8116, !11, i64 8117, !11, i64 8118, !13, i64 8120, !13, i64 8124, !13, i64 8128, !42, i64 8136, !30, i64 8200, !13, i64 8216, !13, i64 8220, !15, i64 8224, !13, i64 8228, !13, i64 8232, !13, i64 8236, !13, i64 8240, !43, i64 8248, !7, i64 8264, !13, i64 8280, !44, i64 8288, !6, i64 8304, !13, i64 8312, !45, i64 8320, !46, i64 8336, !48, i64 8376, !49, i64 8392, !6, i64 8408, !50, i64 8416, !52, i64 8456, !53, i64 8472, !14, i64 8488, !54, i64 8496, !58, i64 12216, !13, i64 12328, !13, i64 12332, !15, i64 12336, !15, i64 12340, !13, i64 12344, !20, i64 12348, !60, i64 12364, !15, i64 12412, !11, i64 12416, !11, i64 12417, !15, i64 12420, !15, i64 12424, !15, i64 12428, !15, i64 12432, !16, i64 12436, !16, i64 12438, !15, i64 12440, !55, i64 12448, !35, i64 12464, !14, i64 12480, !14, i64 12488, !7, i64 12496, !11, i64 12497, !15, i64 12500, !61, i64 12504, !62, i64 12520, !63, i64 12536, !64, i64 12552, !65, i64 12568, !13, i64 12584, !11, i64 12588, !66, i64 12592, !6, i64 12600, !61, i64 12608, !6, i64 12624, !6, i64 12632, !15, i64 12640, !11, i64 12644, !13, i64 12648, !13, i64 12652, !13, i64 12656, !11, i64 12660, !13, i64 12664, !67, i64 12668, !68, i64 12688, !7, i64 12720, !13, i64 13200, !13, i64 13204, !15, i64 13208, !13, i64 13212, !13, i64 13216, !13, i64 13220, !7, i64 13224}
!11 = !{!"bool", !7, i64 0}
!12 = !{!"_ZTS7ImGuiIO", !13, i64 0, !13, i64 4, !14, i64 8, !15, i64 16, !15, i64 20, !6, i64 24, !6, i64 32, !15, i64 40, !15, i64 44, !15, i64 48, !7, i64 52, !15, i64 140, !15, i64 144, !6, i64 152, !6, i64 160, !15, i64 168, !11, i64 172, !6, i64 176, !14, i64 184, !11, i64 192, !11, i64 193, !11, i64 194, !11, i64 195, !11, i64 196, !11, i64 197, !15, 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, !14, i64 288, !7, i64 296, !15, i64 304, !15, i64 308, !11, i64 312, !11, i64 313, !11, i64 314, !11, i64 315, !7, i64 316, !7, i64 828, !11, i64 908, !11, i64 909, !11, i64 910, !11, i64 911, !11, i64 912, !11, i64 913, !11, i64 914, !15, i64 916, !13, i64 920, !13, i64 924, !13, i64 928, !13, i64 932, !13, i64 936, !14, i64 940, !11, i64 948, !13, i64 952, !13, i64 956, !14, i64 960, !7, i64 968, !7, i64 1008, !7, i64 1048, !7, i64 1053, !7, i64 1058, !7, i64 1068, !7, i64 1078, !7, i64 1083, !7, i64 1088, !7, i64 1096, !7, i64 1116, !7, i64 1136, !7, i64 1176, !7, i64 1196, !7, i64 3244, !7, i64 5292, !7, i64 5372, !15, i64 5452, !11, i64 5456, !16, i64 5458, !17, i64 5464}
!13 = !{!"int", !7, i64 0}
!14 = !{!"_ZTS6ImVec2", !15, i64 0, !15, i64 4}
!15 = !{!"float", !7, i64 0}
!16 = !{!"short", !7, i64 0}
!17 = !{!"_ZTS8ImVectorItE", !13, i64 0, !13, i64 4, !6, i64 8}
!18 = !{!"_ZTS10ImGuiStyle", !15, i64 0, !15, i64 4, !14, i64 8, !15, i64 16, !15, i64 20, !14, i64 24, !14, i64 32, !13, i64 40, !15, i64 44, !15, i64 48, !15, i64 52, !15, i64 56, !14, i64 60, !15, i64 68, !15, i64 72, !14, i64 76, !14, i64 84, !14, i64 92, !14, i64 100, !15, i64 108, !15, i64 112, !15, i64 116, !15, i64 120, !15, i64 124, !15, i64 128, !15, i64 132, !15, i64 136, !15, i64 140, !15, i64 144, !13, i64 148, !14, i64 152, !14, i64 160, !14, i64 168, !14, i64 176, !15, i64 184, !11, i64 188, !11, i64 189, !11, i64 190, !15, i64 192, !15, i64 196, !7, i64 200}
!19 = !{!"_ZTS20ImDrawListSharedData", !14, i64 0, !6, i64 8, !15, i64 16, !15, i64 20, !15, i64 24, !20, i64 28, !13, i64 44, !7, i64 48, !15, i64 432, !7, i64 436, !6, i64 504}
!20 = !{!"_ZTS6ImVec4", !15, i64 0, !15, i64 4, !15, i64 8, !15, i64 12}
!21 = !{!"double", !7, i64 0}
!22 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !13, i64 0, !13, i64 4, !6, i64 8}
!23 = !{!"_ZTS8ImVectorI20ImGuiWindowStackDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!24 = !{!"_ZTS12ImGuiStorage", !25, i64 0}
!25 = !{!"_ZTS8ImVectorIN12ImGuiStorage16ImGuiStoragePairEE", !13, i64 0, !13, i64 4, !6, i64 8}
!26 = !{!"long long", !7, i64 0}
!27 = !{!"_ZTS16ImGuiInputSource", !7, i64 0}
!28 = !{!"_ZTS17ImGuiNextItemData", !13, i64 0, !15, i64 4, !13, i64 8, !13, i64 12, !11, i64 16}
!29 = !{!"_ZTS17ImGuiLastItemData", !13, i64 0, !13, i64 4, !13, i64 8, !30, i64 12, !30, i64 28, !30, i64 44}
!30 = !{!"_ZTS6ImRect", !14, i64 0, !14, i64 8}
!31 = !{!"_ZTS19ImGuiNextWindowData", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12, !14, i64 16, !14, i64 24, !14, i64 32, !14, i64 40, !14, i64 48, !11, i64 56, !30, i64 60, !6, i64 80, !6, i64 88, !15, i64 96, !14, i64 100}
!32 = !{!"_ZTS8ImVectorI13ImGuiColorModE", !13, i64 0, !13, i64 4, !6, i64 8}
!33 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !13, i64 0, !13, i64 4, !6, i64 8}
!34 = !{!"_ZTS8ImVectorIP6ImFontE", !13, i64 0, !13, i64 4, !6, i64 8}
!35 = !{!"_ZTS8ImVectorIjE", !13, i64 0, !13, i64 4, !6, i64 8}
!36 = !{!"_ZTS8ImVectorIiE", !13, i64 0, !13, i64 4, !6, i64 8}
!37 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!38 = !{!"_ZTS8ImVectorI14ImGuiPopupDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!39 = !{!"_ZTS8ImVectorIP14ImGuiViewportPE", !13, i64 0, !13, i64 4, !6, i64 8}
!40 = !{!"_ZTS13ImGuiNavLayer", !7, i64 0}
!41 = !{!"_ZTS16ImGuiNavItemData", !6, i64 0, !13, i64 8, !13, i64 12, !30, i64 16, !13, i64 32, !15, i64 36, !15, i64 40, !15, i64 44}
!42 = !{!"_ZTS12ImGuiPayload", !6, i64 0, !13, i64 8, !13, i64 12, !13, i64 16, !13, i64 20, !7, i64 24, !11, i64 57, !11, i64 58}
!43 = !{!"_ZTS8ImVectorIhE", !13, i64 0, !13, i64 4, !6, i64 8}
!44 = !{!"_ZTS8ImVectorI20ImGuiListClipperDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!45 = !{!"_ZTS8ImVectorI18ImGuiTableTempDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!46 = !{!"_ZTS6ImPoolI10ImGuiTableE", !47, i64 0, !24, i64 16, !13, i64 32, !13, i64 36}
!47 = !{!"_ZTS8ImVectorI10ImGuiTableE", !13, i64 0, !13, i64 4, !6, i64 8}
!48 = !{!"_ZTS8ImVectorIfE", !13, i64 0, !13, i64 4, !6, i64 8}
!49 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !13, i64 0, !13, i64 4, !6, i64 8}
!50 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !51, i64 0, !24, i64 16, !13, i64 32, !13, i64 36}
!51 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !13, i64 0, !13, i64 4, !6, i64 8}
!52 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !13, i64 0, !13, i64 4, !6, i64 8}
!53 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !13, i64 0, !13, i64 4, !6, i64 8}
!54 = !{!"_ZTS19ImGuiInputTextState", !13, i64 0, !13, i64 4, !13, i64 8, !17, i64 16, !55, i64 32, !55, i64 48, !11, i64 64, !13, i64 68, !15, i64 72, !56, i64 76, !15, i64 3704, !11, i64 3708, !11, i64 3709, !11, i64 3710, !13, i64 3712}
!55 = !{!"_ZTS8ImVectorIcE", !13, i64 0, !13, i64 4, !6, i64 8}
!56 = !{!"_ZTSN5ImStb17STB_TexteditStateE", !13, i64 0, !13, i64 4, !13, i64 8, !7, i64 12, !13, i64 16, !7, i64 20, !7, i64 21, !7, i64 22, !7, i64 23, !7, i64 24, !7, i64 25, !7, i64 26, !15, i64 28, !57, i64 32}
!57 = !{!"_ZTSN5ImStb12StbUndoStateE", !7, i64 0, !7, i64 1584, !16, i64 3582, !16, i64 3584, !13, i64 3588, !13, i64 3592}
!58 = !{!"_ZTS6ImFont", !48, i64 0, !15, i64 16, !15, i64 20, !17, i64 24, !59, i64 40, !6, i64 56, !6, i64 64, !6, i64 72, !16, i64 80, !16, i64 82, !16, i64 84, !16, i64 86, !11, i64 88, !15, i64 92, !15, i64 96, !15, i64 100, !13, i64 104, !7, i64 108}
!59 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !13, i64 0, !13, i64 4, !6, i64 8}
!60 = !{!"_ZTS21ImGuiComboPreviewData", !30, i64 0, !14, i64 16, !14, i64 24, !14, i64 32, !15, i64 40, !13, i64 44}
!61 = !{!"_ZTS15ImGuiTextBuffer", !55, i64 0}
!62 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !13, i64 0, !13, i64 4, !6, i64 8}
!63 = !{!"_ZTS13ImChunkStreamI19ImGuiWindowSettingsE", !55, i64 0}
!64 = !{!"_ZTS13ImChunkStreamI18ImGuiTableSettingsE", !55, i64 0}
!65 = !{!"_ZTS8ImVectorI16ImGuiContextHookE", !13, i64 0, !13, i64 4, !6, i64 8}
!66 = !{!"_ZTS12ImGuiLogType", !7, i64 0}
!67 = !{!"_ZTS18ImGuiMetricsConfig", !11, i64 0, !11, i64 1, !11, i64 2, !11, i64 3, !11, i64 4, !11, i64 5, !13, i64 8, !13, i64 12}
!68 = !{!"_ZTS14ImGuiStackTool", !13, i64 0, !13, i64 4, !13, i64 8, !69, i64 16}
!69 = !{!"_ZTS8ImVectorI19ImGuiStackLevelInfoE", !13, i64 0, !13, i64 4, !6, i64 8}
!70 = !{i8 0, i8 2}
!71 = !{}
!72 = !{!10, !13, i64 7076}
!73 = !{!10, !13, i64 7072}
!74 = !{!10, !13, i64 7080}
!75 = !{!11, !11, i64 0}
!76 = !{!10, !13, i64 936}
!77 = !{!13, !13, i64 0}
!78 = !{!10, !13, i64 7696}
!79 = distinct !{!79, !80}
!80 = !{!"llvm.loop.mustprogress"}
!81 = !{!10, !6, i64 8072}
!82 = !{!83, !13, i64 12}
!83 = !{!"_ZTS11ImGuiWindow", !6, i64 0, !13, i64 8, !13, i64 12, !14, i64 16, !14, i64 24, !14, i64 32, !14, i64 40, !14, i64 48, !14, i64 56, !14, i64 64, !15, i64 72, !15, i64 76, !13, i64 80, !13, i64 84, !13, i64 88, !14, i64 92, !14, i64 100, !14, i64 108, !14, i64 116, !14, i64 124, !14, i64 132, !11, i64 140, !11, i64 141, !11, i64 142, !11, i64 143, !11, i64 144, !11, i64 145, !11, i64 146, !11, i64 147, !11, i64 148, !11, i64 149, !11, i64 150, !11, i64 151, !11, i64 152, !7, i64 153, !16, i64 154, !16, i64 156, !16, i64 158, !16, i64 160, !13, i64 164, !7, i64 168, !7, i64 169, !7, i64 170, !11, i64 171, !13, i64 172, !7, i64 176, !7, i64 177, !7, i64 178, !7, i64 179, !13, i64 180, !13, i64 181, !13, i64 182, !14, i64 184, !14, i64 192, !35, i64 200, !84, i64 216, !30, i64 448, !30, i64 464, !30, i64 480, !30, i64 496, !30, i64 512, !30, i64 528, !30, i64 544, !87, i64 560, !87, i64 564, !13, i64 568, !15, i64 572, !15, i64 576, !24, i64 584, !88, i64 600, !15, i64 616, !13, i64 620, !6, i64 624, !89, i64 632, !6, i64 832, !6, i64 840, !6, i64 848, !6, i64 856, !6, i64 864, !6, i64 872, !6, i64 880, !7, i64 888, !7, i64 896, !13, i64 928, !13, i64 932, !11, i64 936}
!84 = !{!"_ZTS19ImGuiWindowTempData", !14, i64 0, !14, i64 8, !14, i64 16, !14, i64 24, !14, i64 32, !14, i64 40, !14, i64 48, !15, i64 56, !15, i64 60, !85, i64 64, !85, i64 68, !85, i64 72, !14, i64 76, !40, i64 84, !16, i64 88, !16, i64 90, !13, i64 92, !11, i64 96, !11, i64 97, !11, i64 98, !14, i64 100, !86, i64 108, !13, i64 136, !13, i64 140, !22, i64 144, !6, i64 160, !6, i64 168, !13, i64 176, !13, i64 180, !13, i64 184, !15, i64 188, !15, i64 192, !48, i64 200, !48, i64 216}
!85 = !{!"_ZTS6ImVec1", !15, i64 0}
!86 = !{!"_ZTS16ImGuiMenuColumns", !13, i64 0, !13, i64 4, !16, i64 8, !16, i64 10, !16, i64 12, !16, i64 14, !16, i64 16, !7, i64 18}
!87 = !{!"_ZTS8ImVec2ih", !16, i64 0, !16, i64 2}
!88 = !{!"_ZTS8ImVectorI15ImGuiOldColumnsE", !13, i64 0, !13, i64 4, !6, i64 8}
!89 = !{!"_ZTS10ImDrawList", !90, i64 0, !17, i64 16, !91, i64 32, !13, i64 48, !13, i64 52, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !92, i64 88, !93, i64 104, !94, i64 120, !95, i64 136, !96, i64 168, !15, i64 192}
!90 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !13, i64 0, !13, i64 4, !6, i64 8}
!91 = !{!"_ZTS8ImVectorI10ImDrawVertE", !13, i64 0, !13, i64 4, !6, i64 8}
!92 = !{!"_ZTS8ImVectorI6ImVec4E", !13, i64 0, !13, i64 4, !6, i64 8}
!93 = !{!"_ZTS8ImVectorIPvE", !13, i64 0, !13, i64 4, !6, i64 8}
!94 = !{!"_ZTS8ImVectorI6ImVec2E", !13, i64 0, !13, i64 4, !6, i64 8}
!95 = !{!"_ZTS15ImDrawCmdHeader", !20, i64 0, !6, i64 16, !13, i64 24}
!96 = !{!"_ZTS18ImDrawListSplitter", !13, i64 0, !13, i64 4, !49, i64 8}
!97 = !{!83, !6, i64 848}
!98 = !{!10, !6, i64 8088}
!99 = !{!10, !13, i64 7104}
!100 = distinct !{!100, !80}
!101 = distinct !{!101, !80}
!102 = !{!10, !13, i64 932}
!103 = !{!10, !13, i64 928}
!104 = !{!10, !11, i64 200}
!105 = !{i64 0, i64 4, !106, i64 4, i64 4, !106}
!106 = !{!15, !15, i64 0}
!107 = !{!10, !15, i64 5672}
!108 = !{!10, !13, i64 8112}
!109 = !{!110, !13, i64 12}
!110 = !{!"_ZTS10ImDrawData", !11, i64 0, !13, i64 4, !13, i64 8, !13, i64 12, !6, i64 16, !14, i64 24, !14, i64 32, !14, i64 40}
!111 = !{!110, !13, i64 8}
!112 = distinct !{!112, !80}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

@GImGui = external dso_local local_unnamed_addr global ptr, align 8
@.str.3 = external hidden unnamed_addr constant [90 x i8], align 1
@.str.88 = external hidden unnamed_addr constant [14 x i8], align 1
@__PRETTY_FUNCTION__._ZN5ImGui6RenderEv = external hidden unnamed_addr constant [21 x i8], align 1

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui16CallContextHooksEP12ImGuiContext20ImGuiContextHookType(ptr noundef, i32 noundef) local_unnamed_addr #1

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN5ImGui21GetForegroundDrawListEP13ImGuiViewport(ptr noundef) 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 #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN17ImDrawDataBuilder22FlattenIntoSingleLayerEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef zeroext i1 @_ZL24IsWindowActiveAndVisibleP11ImGuiWindow(ptr noundef) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui8EndFrameEv() local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN5ImGui6RenderEv() local_unnamed_addr #4 {
  %1 = load ptr, ptr @GImGui, align 8, !tbaa !5
  %2 = load i8, ptr %1, align 8, !tbaa !9, !range !70, !noundef !71
  %3 = trunc nuw i8 %2 to i1
  br i1 %3, label %5, label %4

4:                                                ; preds = %0
  tail call void @__assert_fail(ptr noundef nonnull @.str.88, ptr noundef nonnull @.str.3, i32 noundef 4618, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5ImGui6RenderEv) #7
  unreachable

5:                                                ; preds = %0
  %6 = getelementptr inbounds i8, ptr %1, i64 7076
  %7 = load i32, ptr %6, align 4, !tbaa !72
  %8 = getelementptr inbounds i8, ptr %1, i64 7072
  %9 = load i32, ptr %8, align 8, !tbaa !73
  %.not = icmp eq i32 %7, %9
  br i1 %.not, label %11, label %10

10:                                               ; preds = %5
  tail call void @_ZN5ImGui8EndFrameEv()
  %.pre = load i32, ptr %8, align 8, !tbaa !73
  br label %11

11:                                               ; preds = %10, %5
  %12 = phi i32 [ %.pre, %10 ], [ %7, %5 ]
  %13 = getelementptr inbounds i8, ptr %1, i64 7080
  %14 = load i32, ptr %13, align 8, !tbaa !74
  %.not69 = icmp ne i32 %14, %12
  store i32 %12, ptr %13, align 8, !tbaa !74
  %15 = getelementptr inbounds i8, ptr %1, i64 936
  store i32 0, ptr %15, align 8, !tbaa !75
  tail call void @_ZN5ImGui16CallContextHooksEP12ImGuiContext20ImGuiContextHookType(ptr noundef nonnull %1, i32 noundef 4)
  %16 = getelementptr inbounds i8, ptr %1, i64 7696
  %17 = load i32, ptr %16, align 8, !tbaa !76
  %.not7082 = icmp eq i32 %17, 0
  br i1 %.not7082, label %._crit_edge, label %.lr.ph

._crit_edge:                                      ; preds = %25, %11
  br i1 %.not69, label %28, label %29

.lr.ph:                                           ; preds = %11, %25
  %.083 = phi i32 [ %26, %25 ], [ 0, %11 ]
  %18 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8ImVectorIP14ImGuiViewportPEixEi(ptr noundef nonnull align 8 dereferenceable(16) %16, i32 noundef %.083)
  %19 = load ptr, ptr %18, align 8, !tbaa !5
  %20 = getelementptr inbounds i8, ptr %19, i64 112
  tail call void @_ZN17ImDrawDataBuilder5ClearEv(ptr noundef nonnull align 8 dereferenceable(32) %20)
  %21 = getelementptr inbounds i8, ptr %19, i64 48
  %22 = load ptr, ptr %21, align 8, !tbaa !5
  %.not79 = icmp eq ptr %22, null
  br i1 %.not79, label %25, label %23

23:                                               ; preds = %.lr.ph
  %24 = tail call noundef ptr @_ZN5ImGui21GetBackgroundDrawListEP13ImGuiViewport(ptr noundef nonnull %19)
  tail call void @_ZL21AddDrawListToDrawDataP8ImVectorIP10ImDrawListES1_(ptr noundef nonnull %20, ptr noundef %24)
  br label %25

25:                                               ; preds = %23, %.lr.ph
  %26 = add nuw nsw i32 %.083, 1
  %27 = load i32, ptr %16, align 8, !tbaa !76
  %.not70 = icmp eq i32 %26, %27
  br i1 %.not70, label %._crit_edge, label %.lr.ph, !llvm.loop !77

28:                                               ; preds = %._crit_edge
  tail call void @_ZN5ImGuiL23RenderDimmedBackgroundsEv()
  br label %29

29:                                               ; preds = %28, %._crit_edge
  %30 = getelementptr inbounds i8, ptr %1, i64 8072
  %31 = load ptr, ptr %30, align 8, !tbaa !79
  %.not71 = icmp eq ptr %31, null
  br i1 %.not71, label %42, label %32

32:                                               ; preds = %29
  %33 = getelementptr inbounds i8, ptr %31, i64 12
  %34 = load i32, ptr %33, align 4, !tbaa !80
  %35 = and i32 %34, 8192
  %.not72 = icmp eq i32 %35, 0
  br i1 %.not72, label %36, label %39

36:                                               ; preds = %32
  %37 = getelementptr inbounds i8, ptr %31, i64 848
  %38 = load ptr, ptr %37, align 8, !tbaa !95
  br label %39

39:                                               ; preds = %32, %36
  %.ph = phi ptr [ null, %32 ], [ %38, %36 ]
  %40 = getelementptr inbounds i8, ptr %1, i64 8088
  %41 = load ptr, ptr %40, align 8, !tbaa !96
  br label %42

42:                                               ; preds = %29, %39
  %.sroa.0.0 = phi ptr [ %.ph, %39 ], [ null, %29 ]
  %43 = phi ptr [ %41, %39 ], [ null, %29 ]
  %44 = getelementptr inbounds i8, ptr %1, i64 7104
  %45 = load i32, ptr %44, align 8, !tbaa !97
  %.not7484 = icmp eq i32 %45, 0
  br i1 %.not7484, label %.preheader, label %.lr.ph87

.preheader:                                       ; preds = %55, %42
  %.not76 = icmp eq ptr %.sroa.0.0, null
  br i1 %.not76, label %65, label %62

.lr.ph87:                                         ; preds = %42, %55
  %.06385 = phi i32 [ %56, %55 ], [ 0, %42 ]
  %46 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8ImVectorIP11ImGuiWindowEixEi(ptr noundef nonnull align 8 dereferenceable(16) %44, i32 noundef %.06385)
  %47 = load ptr, ptr %46, align 8, !tbaa !5
  %48 = tail call noundef zeroext i1 @_ZL24IsWindowActiveAndVisibleP11ImGuiWindow(ptr noundef %47)
  br i1 %48, label %49, label %55

49:                                               ; preds = %.lr.ph87
  %50 = getelementptr inbounds i8, ptr %47, i64 12
  %51 = load i32, ptr %50, align 4, !tbaa !80
  %52 = and i32 %51, 16777216
  %53 = icmp ne i32 %52, 0
  %.not77 = icmp eq ptr %47, %.sroa.0.0
  %or.cond = select i1 %53, i1 true, i1 %.not77
  %.not78 = icmp eq ptr %47, %43
  %or.cond80 = select i1 %or.cond, i1 true, i1 %.not78
  br i1 %or.cond80, label %55, label %54

54:                                               ; preds = %49
  tail call void @_ZL23AddRootWindowToDrawDataP11ImGuiWindow(ptr noundef nonnull %47)
  br label %55

55:                                               ; preds = %54, %49, %.lr.ph87
  %56 = add nuw nsw i32 %.06385, 1
  %57 = load i32, ptr %44, align 8, !tbaa !97
  %.not74 = icmp eq i32 %56, %57
  br i1 %.not74, label %.preheader, label %.lr.ph87, !llvm.loop !98

.lr.ph91:                                         ; preds = %69
  %58 = getelementptr inbounds i8, ptr %1, i64 200
  %59 = getelementptr inbounds i8, ptr %1, i64 296
  %60 = getelementptr inbounds i8, ptr %1, i64 5672
  %61 = getelementptr inbounds i8, ptr %1, i64 8112
  br label %74

62:                                               ; preds = %.preheader
  %63 = tail call noundef zeroext i1 @_ZL24IsWindowActiveAndVisibleP11ImGuiWindow(ptr noundef nonnull %.sroa.0.0)
  br i1 %63, label %64, label %65

64:                                               ; preds = %62
  tail call void @_ZL23AddRootWindowToDrawDataP11ImGuiWindow(ptr noundef nonnull %.sroa.0.0)
  br label %65

65:                                               ; preds = %.preheader, %62, %64
  %.not76.1 = icmp eq ptr %43, null
  br i1 %.not76.1, label %69, label %66

66:                                               ; preds = %65
  %67 = tail call noundef zeroext i1 @_ZL24IsWindowActiveAndVisibleP11ImGuiWindow(ptr noundef nonnull %43)
  br i1 %67, label %68, label %69

68:                                               ; preds = %66
  tail call void @_ZL23AddRootWindowToDrawDataP11ImGuiWindow(ptr noundef nonnull %43)
  br label %69

69:                                               ; preds = %68, %66, %65
  %70 = getelementptr inbounds i8, ptr %1, i64 932
  store i32 0, ptr %70, align 4, !tbaa !99
  %71 = getelementptr inbounds i8, ptr %1, i64 928
  store i32 0, ptr %71, align 8, !tbaa !100
  %72 = load i32, ptr %16, align 8, !tbaa !76
  %73 = icmp sgt i32 %72, 0
  br i1 %73, label %.lr.ph91, label %._crit_edge92

._crit_edge92:                                    ; preds = %89, %69
  tail call void @_ZN5ImGui16CallContextHooksEP12ImGuiContext20ImGuiContextHookType(ptr noundef nonnull %1, i32 noundef 5)
  ret void

74:                                               ; preds = %.lr.ph91, %89
  %.06589 = phi i32 [ 0, %.lr.ph91 ], [ %95, %89 ]
  %75 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8ImVectorIP14ImGuiViewportPEixEi(ptr noundef nonnull align 8 dereferenceable(16) %16, i32 noundef %.06589)
  %76 = load ptr, ptr %75, align 8, !tbaa !5
  %77 = getelementptr inbounds i8, ptr %76, i64 112
  tail call void @_ZN17ImDrawDataBuilder22FlattenIntoSingleLayerEv(ptr noundef nonnull align 8 dereferenceable(32) %77)
  %78 = load i8, ptr %58, align 8, !tbaa !101, !range !70, !noundef !71
  %79 = trunc nuw i8 %78 to i1
  %brmerge.not = select i1 %79, i1 %.not69, i1 false
  br i1 %brmerge.not, label %80, label %84

80:                                               ; preds = %74
  %81 = tail call noundef ptr @_ZN5ImGui21GetForegroundDrawListEP13ImGuiViewport(ptr noundef %76)
  %.sroa.0.0.copyload = load <2 x float>, ptr %59, align 8
  %82 = load float, ptr %60, align 8, !tbaa !102
  %83 = load i32, ptr %61, align 8, !tbaa !103
  tail call void @_ZN5ImGui17RenderMouseCursorEP10ImDrawList6ImVec2fijjj(ptr noundef %81, <2 x float> %.sroa.0.0.copyload, float noundef %82, i32 noundef %83, i32 noundef -1, i32 noundef -16777216, i32 noundef 805306368)
  br label %84

84:                                               ; preds = %74, %80
  %85 = getelementptr inbounds i8, ptr %76, i64 56
  %86 = load ptr, ptr %85, align 8, !tbaa !5
  %.not75 = icmp eq ptr %86, null
  br i1 %.not75, label %89, label %87

87:                                               ; preds = %84
  %88 = tail call noundef ptr @_ZN5ImGui21GetForegroundDrawListEP13ImGuiViewport(ptr noundef nonnull %76)
  tail call void @_ZL21AddDrawListToDrawDataP8ImVectorIP10ImDrawListES1_(ptr noundef nonnull %77, ptr noundef %88)
  br label %89

89:                                               ; preds = %87, %84
  tail call void @_ZL21SetupViewportDrawDataP14ImGuiViewportPP8ImVectorIP10ImDrawListE(ptr noundef nonnull %76, ptr noundef nonnull %77)
  %90 = getelementptr inbounds i8, ptr %76, i64 72
  %91 = load <2 x i32>, ptr %90, align 8, !tbaa !104
  %92 = shufflevector <2 x i32> %91, <2 x i32> poison, <2 x i32> <i32 1, i32 0>
  %93 = load <2 x i32>, ptr %71, align 8, !tbaa !104
  %94 = add nsw <2 x i32> %93, %92
  store <2 x i32> %94, ptr %71, align 8, !tbaa !104
  %95 = add nuw nsw i32 %.06589, 1
  %96 = load i32, ptr %16, align 8, !tbaa !76
  %97 = icmp slt i32 %95, %96
  br i1 %97, label %74, label %._crit_edge92, !llvm.loop !105
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN17ImDrawDataBuilder5ClearEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL21AddDrawListToDrawDataP8ImVectorIP10ImDrawListES1_(ptr noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN5ImGuiL23RenderDimmedBackgroundsEv() local_unnamed_addr #4

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @_ZL23AddRootWindowToDrawDataP11ImGuiWindow(ptr noundef) local_unnamed_addr #5

declare void @_ZN5ImGui17RenderMouseCursorEP10ImDrawList6ImVec2fijjj(ptr noundef, <2 x float>, float noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #6

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZL21SetupViewportDrawDataP14ImGuiViewportPP8ImVectorIP10ImDrawListE(ptr noundef, ptr noundef) local_unnamed_addr #3

attributes #0 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { 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 #2 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { mustprogress uwtable "min-legal-vector-width"="64" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { "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 = { noreturn 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, !11, i64 0}
!10 = !{!"_ZTS12ImGuiContext", !11, i64 0, !11, i64 1, !12, i64 8, !18, i64 5488, !6, i64 6536, !15, i64 6544, !15, i64 6548, !19, i64 6552, !21, i64 7064, !13, i64 7072, !13, i64 7076, !13, i64 7080, !11, i64 7084, !11, i64 7085, !11, i64 7086, !11, i64 7087, !11, i64 7088, !6, i64 7096, !22, i64 7104, !22, i64 7120, !22, i64 7136, !23, i64 7152, !24, i64 7168, !13, i64 7184, !14, i64 7188, !6, i64 7200, !6, i64 7208, !6, i64 7216, !6, i64 7224, !6, i64 7232, !14, i64 7240, !15, i64 7248, !13, i64 7252, !13, i64 7256, !13, i64 7260, !11, i64 7264, !11, i64 7265, !11, i64 7266, !11, i64 7267, !15, i64 7268, !15, i64 7272, !13, i64 7276, !13, i64 7280, !15, i64 7284, !11, i64 7288, !11, i64 7289, !11, i64 7290, !11, i64 7291, !11, i64 7292, !11, i64 7293, !11, i64 7294, !13, i64 7296, !13, i64 7300, !26, i64 7304, !14, i64 7312, !6, i64 7320, !27, i64 7328, !13, i64 7332, !13, i64 7336, !11, i64 7340, !11, i64 7341, !6, i64 7344, !13, i64 7352, !15, i64 7356, !13, i64 7360, !28, i64 7364, !29, i64 7384, !31, i64 7448, !32, i64 7560, !33, i64 7576, !34, i64 7592, !35, i64 7608, !36, i64 7624, !37, i64 7640, !38, i64 7656, !38, i64 7672, !13, i64 7688, !39, i64 7696, !6, i64 7712, !13, i64 7720, !13, i64 7724, !13, i64 7728, !13, i64 7732, !13, i64 7736, !13, i64 7740, !13, i64 7744, !13, i64 7748, !13, i64 7752, !13, i64 7756, !13, i64 7760, !13, i64 7764, !27, i64 7768, !40, i64 7772, !11, i64 7776, !11, i64 7777, !11, i64 7778, !11, i64 7779, !11, i64 7780, !11, i64 7781, !11, i64 7782, !13, i64 7784, !30, i64 7788, !11, i64 7804, !11, i64 7805, !11, i64 7806, !13, i64 7808, !13, i64 7812, !13, i64 7816, !13, i64 7820, !13, i64 7824, !13, i64 7828, !30, i64 7832, !30, i64 7848, !13, i64 7864, !13, i64 7868, !13, i64 7872, !41, i64 7880, !41, i64 7928, !41, i64 7976, !41, i64 8024, !6, i64 8072, !6, i64 8080, !6, i64 8088, !15, i64 8096, !15, i64 8100, !11, i64 8104, !15, i64 8108, !13, i64 8112, !11, i64 8116, !11, i64 8117, !11, i64 8118, !13, i64 8120, !13, i64 8124, !13, i64 8128, !42, i64 8136, !30, i64 8200, !13, i64 8216, !13, i64 8220, !15, i64 8224, !13, i64 8228, !13, i64 8232, !13, i64 8236, !13, i64 8240, !43, i64 8248, !7, i64 8264, !13, i64 8280, !44, i64 8288, !6, i64 8304, !13, i64 8312, !45, i64 8320, !46, i64 8336, !48, i64 8376, !49, i64 8392, !6, i64 8408, !50, i64 8416, !52, i64 8456, !53, i64 8472, !14, i64 8488, !54, i64 8496, !58, i64 12216, !13, i64 12328, !13, i64 12332, !15, i64 12336, !15, i64 12340, !13, i64 12344, !20, i64 12348, !60, i64 12364, !15, i64 12412, !11, i64 12416, !11, i64 12417, !15, i64 12420, !15, i64 12424, !15, i64 12428, !15, i64 12432, !16, i64 12436, !16, i64 12438, !15, i64 12440, !55, i64 12448, !35, i64 12464, !14, i64 12480, !14, i64 12488, !7, i64 12496, !11, i64 12497, !15, i64 12500, !61, i64 12504, !62, i64 12520, !63, i64 12536, !64, i64 12552, !65, i64 12568, !13, i64 12584, !11, i64 12588, !66, i64 12592, !6, i64 12600, !61, i64 12608, !6, i64 12624, !6, i64 12632, !15, i64 12640, !11, i64 12644, !13, i64 12648, !13, i64 12652, !13, i64 12656, !11, i64 12660, !13, i64 12664, !67, i64 12668, !68, i64 12688, !7, i64 12720, !13, i64 13200, !13, i64 13204, !15, i64 13208, !13, i64 13212, !13, i64 13216, !13, i64 13220, !7, i64 13224}
!11 = !{!"bool", !7, i64 0}
!12 = !{!"_ZTS7ImGuiIO", !13, i64 0, !13, i64 4, !14, i64 8, !15, i64 16, !15, i64 20, !6, i64 24, !6, i64 32, !15, i64 40, !15, i64 44, !15, i64 48, !7, i64 52, !15, i64 140, !15, i64 144, !6, i64 152, !6, i64 160, !15, i64 168, !11, i64 172, !6, i64 176, !14, i64 184, !11, i64 192, !11, i64 193, !11, i64 194, !11, i64 195, !11, i64 196, !11, i64 197, !15, 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, !14, i64 288, !7, i64 296, !15, i64 304, !15, i64 308, !11, i64 312, !11, i64 313, !11, i64 314, !11, i64 315, !7, i64 316, !7, i64 828, !11, i64 908, !11, i64 909, !11, i64 910, !11, i64 911, !11, i64 912, !11, i64 913, !11, i64 914, !15, i64 916, !13, i64 920, !13, i64 924, !13, i64 928, !13, i64 932, !13, i64 936, !14, i64 940, !11, i64 948, !13, i64 952, !13, i64 956, !14, i64 960, !7, i64 968, !7, i64 1008, !7, i64 1048, !7, i64 1053, !7, i64 1058, !7, i64 1068, !7, i64 1078, !7, i64 1083, !7, i64 1088, !7, i64 1096, !7, i64 1116, !7, i64 1136, !7, i64 1176, !7, i64 1196, !7, i64 3244, !7, i64 5292, !7, i64 5372, !15, i64 5452, !11, i64 5456, !16, i64 5458, !17, i64 5464}
!13 = !{!"int", !7, i64 0}
!14 = !{!"_ZTS6ImVec2", !15, i64 0, !15, i64 4}
!15 = !{!"float", !7, i64 0}
!16 = !{!"short", !7, i64 0}
!17 = !{!"_ZTS8ImVectorItE", !13, i64 0, !13, i64 4, !6, i64 8}
!18 = !{!"_ZTS10ImGuiStyle", !15, i64 0, !15, i64 4, !14, i64 8, !15, i64 16, !15, i64 20, !14, i64 24, !14, i64 32, !13, i64 40, !15, i64 44, !15, i64 48, !15, i64 52, !15, i64 56, !14, i64 60, !15, i64 68, !15, i64 72, !14, i64 76, !14, i64 84, !14, i64 92, !14, i64 100, !15, i64 108, !15, i64 112, !15, i64 116, !15, i64 120, !15, i64 124, !15, i64 128, !15, i64 132, !15, i64 136, !15, i64 140, !15, i64 144, !13, i64 148, !14, i64 152, !14, i64 160, !14, i64 168, !14, i64 176, !15, i64 184, !11, i64 188, !11, i64 189, !11, i64 190, !15, i64 192, !15, i64 196, !7, i64 200}
!19 = !{!"_ZTS20ImDrawListSharedData", !14, i64 0, !6, i64 8, !15, i64 16, !15, i64 20, !15, i64 24, !20, i64 28, !13, i64 44, !7, i64 48, !15, i64 432, !7, i64 436, !6, i64 504}
!20 = !{!"_ZTS6ImVec4", !15, i64 0, !15, i64 4, !15, i64 8, !15, i64 12}
!21 = !{!"double", !7, i64 0}
!22 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !13, i64 0, !13, i64 4, !6, i64 8}
!23 = !{!"_ZTS8ImVectorI20ImGuiWindowStackDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!24 = !{!"_ZTS12ImGuiStorage", !25, i64 0}
!25 = !{!"_ZTS8ImVectorIN12ImGuiStorage16ImGuiStoragePairEE", !13, i64 0, !13, i64 4, !6, i64 8}
!26 = !{!"long long", !7, i64 0}
!27 = !{!"_ZTS16ImGuiInputSource", !7, i64 0}
!28 = !{!"_ZTS17ImGuiNextItemData", !13, i64 0, !15, i64 4, !13, i64 8, !13, i64 12, !11, i64 16}
!29 = !{!"_ZTS17ImGuiLastItemData", !13, i64 0, !13, i64 4, !13, i64 8, !30, i64 12, !30, i64 28, !30, i64 44}
!30 = !{!"_ZTS6ImRect", !14, i64 0, !14, i64 8}
!31 = !{!"_ZTS19ImGuiNextWindowData", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12, !14, i64 16, !14, i64 24, !14, i64 32, !14, i64 40, !14, i64 48, !11, i64 56, !30, i64 60, !6, i64 80, !6, i64 88, !15, i64 96, !14, i64 100}
!32 = !{!"_ZTS8ImVectorI13ImGuiColorModE", !13, i64 0, !13, i64 4, !6, i64 8}
!33 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !13, i64 0, !13, i64 4, !6, i64 8}
!34 = !{!"_ZTS8ImVectorIP6ImFontE", !13, i64 0, !13, i64 4, !6, i64 8}
!35 = !{!"_ZTS8ImVectorIjE", !13, i64 0, !13, i64 4, !6, i64 8}
!36 = !{!"_ZTS8ImVectorIiE", !13, i64 0, !13, i64 4, !6, i64 8}
!37 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!38 = !{!"_ZTS8ImVectorI14ImGuiPopupDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!39 = !{!"_ZTS8ImVectorIP14ImGuiViewportPE", !13, i64 0, !13, i64 4, !6, i64 8}
!40 = !{!"_ZTS13ImGuiNavLayer", !7, i64 0}
!41 = !{!"_ZTS16ImGuiNavItemData", !6, i64 0, !13, i64 8, !13, i64 12, !30, i64 16, !13, i64 32, !15, i64 36, !15, i64 40, !15, i64 44}
!42 = !{!"_ZTS12ImGuiPayload", !6, i64 0, !13, i64 8, !13, i64 12, !13, i64 16, !13, i64 20, !7, i64 24, !11, i64 57, !11, i64 58}
!43 = !{!"_ZTS8ImVectorIhE", !13, i64 0, !13, i64 4, !6, i64 8}
!44 = !{!"_ZTS8ImVectorI20ImGuiListClipperDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!45 = !{!"_ZTS8ImVectorI18ImGuiTableTempDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!46 = !{!"_ZTS6ImPoolI10ImGuiTableE", !47, i64 0, !24, i64 16, !13, i64 32, !13, i64 36}
!47 = !{!"_ZTS8ImVectorI10ImGuiTableE", !13, i64 0, !13, i64 4, !6, i64 8}
!48 = !{!"_ZTS8ImVectorIfE", !13, i64 0, !13, i64 4, !6, i64 8}
!49 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !13, i64 0, !13, i64 4, !6, i64 8}
!50 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !51, i64 0, !24, i64 16, !13, i64 32, !13, i64 36}
!51 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !13, i64 0, !13, i64 4, !6, i64 8}
!52 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !13, i64 0, !13, i64 4, !6, i64 8}
!53 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !13, i64 0, !13, i64 4, !6, i64 8}
!54 = !{!"_ZTS19ImGuiInputTextState", !13, i64 0, !13, i64 4, !13, i64 8, !17, i64 16, !55, i64 32, !55, i64 48, !11, i64 64, !13, i64 68, !15, i64 72, !56, i64 76, !15, i64 3704, !11, i64 3708, !11, i64 3709, !11, i64 3710, !13, i64 3712}
!55 = !{!"_ZTS8ImVectorIcE", !13, i64 0, !13, i64 4, !6, i64 8}
!56 = !{!"_ZTSN5ImStb17STB_TexteditStateE", !13, i64 0, !13, i64 4, !13, i64 8, !7, i64 12, !13, i64 16, !7, i64 20, !7, i64 21, !7, i64 22, !7, i64 23, !7, i64 24, !7, i64 25, !7, i64 26, !15, i64 28, !57, i64 32}
!57 = !{!"_ZTSN5ImStb12StbUndoStateE", !7, i64 0, !7, i64 1584, !16, i64 3582, !16, i64 3584, !13, i64 3588, !13, i64 3592}
!58 = !{!"_ZTS6ImFont", !48, i64 0, !15, i64 16, !15, i64 20, !17, i64 24, !59, i64 40, !6, i64 56, !6, i64 64, !6, i64 72, !16, i64 80, !16, i64 82, !16, i64 84, !16, i64 86, !11, i64 88, !15, i64 92, !15, i64 96, !15, i64 100, !13, i64 104, !7, i64 108}
!59 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !13, i64 0, !13, i64 4, !6, i64 8}
!60 = !{!"_ZTS21ImGuiComboPreviewData", !30, i64 0, !14, i64 16, !14, i64 24, !14, i64 32, !15, i64 40, !13, i64 44}
!61 = !{!"_ZTS15ImGuiTextBuffer", !55, i64 0}
!62 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !13, i64 0, !13, i64 4, !6, i64 8}
!63 = !{!"_ZTS13ImChunkStreamI19ImGuiWindowSettingsE", !55, i64 0}
!64 = !{!"_ZTS13ImChunkStreamI18ImGuiTableSettingsE", !55, i64 0}
!65 = !{!"_ZTS8ImVectorI16ImGuiContextHookE", !13, i64 0, !13, i64 4, !6, i64 8}
!66 = !{!"_ZTS12ImGuiLogType", !7, i64 0}
!67 = !{!"_ZTS18ImGuiMetricsConfig", !11, i64 0, !11, i64 1, !11, i64 2, !11, i64 3, !11, i64 4, !11, i64 5, !13, i64 8, !13, i64 12}
!68 = !{!"_ZTS14ImGuiStackTool", !13, i64 0, !13, i64 4, !13, i64 8, !69, i64 16}
!69 = !{!"_ZTS8ImVectorI19ImGuiStackLevelInfoE", !13, i64 0, !13, i64 4, !6, i64 8}
!70 = !{i8 0, i8 2}
!71 = !{}
!72 = !{!10, !13, i64 7076}
!73 = !{!10, !13, i64 7072}
!74 = !{!10, !13, i64 7080}
!75 = !{!10, !13, i64 936}
!76 = !{!10, !13, i64 7696}
!77 = distinct !{!77, !78}
!78 = !{!"llvm.loop.mustprogress"}
!79 = !{!10, !6, i64 8072}
!80 = !{!81, !13, i64 12}
!81 = !{!"_ZTS11ImGuiWindow", !6, i64 0, !13, i64 8, !13, i64 12, !14, i64 16, !14, i64 24, !14, i64 32, !14, i64 40, !14, i64 48, !14, i64 56, !14, i64 64, !15, i64 72, !15, i64 76, !13, i64 80, !13, i64 84, !13, i64 88, !14, i64 92, !14, i64 100, !14, i64 108, !14, i64 116, !14, i64 124, !14, i64 132, !11, i64 140, !11, i64 141, !11, i64 142, !11, i64 143, !11, i64 144, !11, i64 145, !11, i64 146, !11, i64 147, !11, i64 148, !11, i64 149, !11, i64 150, !11, i64 151, !11, i64 152, !7, i64 153, !16, i64 154, !16, i64 156, !16, i64 158, !16, i64 160, !13, i64 164, !7, i64 168, !7, i64 169, !7, i64 170, !11, i64 171, !13, i64 172, !7, i64 176, !7, i64 177, !7, i64 178, !7, i64 179, !13, i64 180, !13, i64 181, !13, i64 182, !14, i64 184, !14, i64 192, !35, i64 200, !82, i64 216, !30, i64 448, !30, i64 464, !30, i64 480, !30, i64 496, !30, i64 512, !30, i64 528, !30, i64 544, !85, i64 560, !85, i64 564, !13, i64 568, !15, i64 572, !15, i64 576, !24, i64 584, !86, i64 600, !15, i64 616, !13, i64 620, !6, i64 624, !87, i64 632, !6, i64 832, !6, i64 840, !6, i64 848, !6, i64 856, !6, i64 864, !6, i64 872, !6, i64 880, !7, i64 888, !7, i64 896, !13, i64 928, !13, i64 932, !11, i64 936}
!82 = !{!"_ZTS19ImGuiWindowTempData", !14, i64 0, !14, i64 8, !14, i64 16, !14, i64 24, !14, i64 32, !14, i64 40, !14, i64 48, !15, i64 56, !15, i64 60, !83, i64 64, !83, i64 68, !83, i64 72, !14, i64 76, !40, i64 84, !16, i64 88, !16, i64 90, !13, i64 92, !11, i64 96, !11, i64 97, !11, i64 98, !14, i64 100, !84, i64 108, !13, i64 136, !13, i64 140, !22, i64 144, !6, i64 160, !6, i64 168, !13, i64 176, !13, i64 180, !13, i64 184, !15, i64 188, !15, i64 192, !48, i64 200, !48, i64 216}
!83 = !{!"_ZTS6ImVec1", !15, i64 0}
!84 = !{!"_ZTS16ImGuiMenuColumns", !13, i64 0, !13, i64 4, !16, i64 8, !16, i64 10, !16, i64 12, !16, i64 14, !16, i64 16, !7, i64 18}
!85 = !{!"_ZTS8ImVec2ih", !16, i64 0, !16, i64 2}
!86 = !{!"_ZTS8ImVectorI15ImGuiOldColumnsE", !13, i64 0, !13, i64 4, !6, i64 8}
!87 = !{!"_ZTS10ImDrawList", !88, i64 0, !17, i64 16, !89, i64 32, !13, i64 48, !13, i64 52, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !90, i64 88, !91, i64 104, !92, i64 120, !93, i64 136, !94, i64 168, !15, i64 192}
!88 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !13, i64 0, !13, i64 4, !6, i64 8}
!89 = !{!"_ZTS8ImVectorI10ImDrawVertE", !13, i64 0, !13, i64 4, !6, i64 8}
!90 = !{!"_ZTS8ImVectorI6ImVec4E", !13, i64 0, !13, i64 4, !6, i64 8}
!91 = !{!"_ZTS8ImVectorIPvE", !13, i64 0, !13, i64 4, !6, i64 8}
!92 = !{!"_ZTS8ImVectorI6ImVec2E", !13, i64 0, !13, i64 4, !6, i64 8}
!93 = !{!"_ZTS15ImDrawCmdHeader", !20, i64 0, !6, i64 16, !13, i64 24}
!94 = !{!"_ZTS18ImDrawListSplitter", !13, i64 0, !13, i64 4, !49, i64 8}
!95 = !{!81, !6, i64 848}
!96 = !{!10, !6, i64 8088}
!97 = !{!10, !13, i64 7104}
!98 = distinct !{!98, !78}
!99 = !{!10, !13, i64 932}
!100 = !{!10, !13, i64 928}
!101 = !{!10, !11, i64 200}
!102 = !{!10, !15, i64 5672}
!103 = !{!10, !13, i64 8112}
!104 = !{!13, !13, i64 0}
!105 = distinct !{!105, !78}


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