; LLVM IR from Devaniti/BoolkaEngine :: ThirdParty/imgui/imgui.ll (ZN5ImGui8EndFrameEv)

; 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, [4 x i8], ptr, float, float, %struct.ImDrawListSharedData, double, i32, i32, i32, i8, i8, i8, i8, i8, [3 x i8], i32, ptr, %struct.ImVector.3, %struct.ImVector.3, %struct.ImVector.3, %struct.ImVector.3, %struct.ImGuiStorage, i32, [4 x i8], ptr, ptr, ptr, ptr, ptr, ptr, %struct.ImVec2, float, i32, i32, i8, i8, i8, i8, float, float, i32, i32, float, i8, i8, i8, i8, i8, i8, i8, i8, i32, i32, [4 x i8], i64, %struct.ImVec2, ptr, i32, i32, i32, i8, i8, [2 x i8], ptr, i32, float, %struct.ImGuiNextWindowData, %struct.ImGuiNextItemData, [4 x i8], %struct.ImVector.4, %struct.ImVector.5, %struct.ImVector.6, %struct.ImVector.7, %struct.ImVector.8, %struct.ImVector.9, %struct.ImVector.10, %struct.ImVector.10, ptr, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, %struct.ImRect, i32, i32, i32, i8, i8, i8, i8, i8, i8, i8, i8, i32, %struct.ImRect, i8, [3 x i8], i32, i32, i32, i32, i32, i32, [4 x i8], %struct.ImGuiNavMoveResult, %struct.ImGuiNavMoveResult, %struct.ImGuiNavMoveResult, ptr, i32, [4 x i8], ptr, ptr, ptr, float, float, i8, [7 x i8], 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, i8, i8, i32, i32, i32, [4 x i8], %struct.ImGuiPayload, %struct.ImRect, i32, i32, float, i32, i32, i32, i32, [4 x i8], %struct.ImVector.18, [16 x i8], ptr, %struct.ImPool, %struct.ImVector.20, %struct.ImVector.21, %struct.ImVector.17, ptr, %struct.ImPool.22, %struct.ImVector.20, %struct.ImVector.25, %struct.ImVec2, %struct.ImGuiInputTextState, %struct.ImFont, i32, i32, float, float, [3 x float], %struct.ImVec4, float, i8, i8, [2 x i8], float, float, float, i32, float, %struct.ImVector.2, %struct.ImVector.7, %struct.ImVec2, %struct.ImVec2, i8, i8, [2 x i8], float, %struct.ImGuiTextBuffer, %struct.ImVector.27, %struct.ImChunkStream, %struct.ImChunkStream.28, %struct.ImVector.29, i8, [3 x i8], i32, ptr, %struct.ImGuiTextBuffer, float, i8, [3 x i8], i32, i32, i32, i8, [3 x i8], i32, %struct.ImGuiMetricsConfig, [120 x float], 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], [21 x float], i8, i8, i8, i8, i8, i8, i8, float, i32, i32, i32, i32, i32, %struct.ImVec2, i32, %struct.ImVec2, [5 x %struct.ImVec2], [5 x double], [5 x i8], [5 x i8], [5 x i8], [5 x i8], [5 x i8], [5 x float], [5 x float], [5 x %struct.ImVec2], [5 x float], [512 x float], [512 x float], [21 x float], [21 x float], float, i16, %struct.ImVector }
%struct.ImVector = type { i32, i32, ptr }
%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, %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, [12 x %struct.ImVec2], [64 x i8], ptr }
%struct.ImVector.3 = type { i32, i32, ptr }
%struct.ImGuiStorage = type { %struct.ImVector.0 }
%struct.ImVector.0 = type { i32, i32, ptr }
%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.ImGuiNextItemData = type <{ i32, float, i32, i32, i8, [3 x i8] }>
%struct.ImVector.4 = type { i32, i32, ptr }
%struct.ImVector.5 = type { i32, i32, ptr }
%struct.ImVector.6 = 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.ImGuiNavMoveResult = type <{ ptr, i32, i32, 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.11] }
%struct.ImVector.11 = type { i32, i32, ptr }
%struct.ImDrawList = type <{ %struct.ImVector.12, %struct.ImVector, %struct.ImVector.13, i32, i32, ptr, ptr, ptr, ptr, %struct.ImVector.14, %struct.ImVector.15, %struct.ImVector.16, %struct.ImDrawCmdHeader, %struct.ImDrawListSplitter, float, [4 x i8] }>
%struct.ImVector.12 = type { i32, i32, ptr }
%struct.ImVector.13 = type { i32, i32, ptr }
%struct.ImVector.14 = type { i32, i32, ptr }
%struct.ImVector.15 = type { i32, i32, ptr }
%struct.ImVector.16 = type { i32, i32, ptr }
%struct.ImDrawCmdHeader = type <{ %struct.ImVec4, ptr, i32, [4 x i8] }>
%struct.ImDrawListSplitter = type { i32, i32, %struct.ImVector.17 }
%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.18 = type { i32, i32, ptr }
%struct.ImPool = type <{ %struct.ImVector.19, %struct.ImGuiStorage, i32, [4 x i8] }>
%struct.ImVector.19 = type { i32, i32, ptr }
%struct.ImVector.21 = type { i32, i32, ptr }
%struct.ImVector.17 = type { i32, i32, ptr }
%struct.ImPool.22 = type <{ %struct.ImVector.23, %struct.ImGuiStorage, i32, [4 x i8] }>
%struct.ImVector.23 = type { i32, i32, ptr }
%struct.ImVector.20 = type { i32, i32, ptr }
%struct.ImVector.25 = type { i32, i32, ptr }
%struct.ImGuiInputTextState = type { i32, i32, i32, %struct.ImVector, %struct.ImVector.2, %struct.ImVector.2, i8, i32, float, %"struct.ImStb::STB_TexteditState", float, i8, i8, i8, i32, ptr, ptr }
%"struct.ImStb::STB_TexteditState" = type { i32, i32, i32, i8, i32, i8, i8, i8, i8, i8, i8, i8, float, %"struct.ImStb::StbUndoState" }
%"struct.ImStb::StbUndoState" = type { [99 x %"struct.ImStb::StbUndoRecord"], [999 x i16], i16, i16, i32, i32 }
%"struct.ImStb::StbUndoRecord" = type { i32, i32, i32, i32 }
%struct.ImFont = type <{ %struct.ImVector.21, float, float, %struct.ImVector, %struct.ImVector.26, ptr, ptr, ptr, i16, i16, i16, i8, i8, float, float, float, i32, [2 x i8], [6 x i8] }>
%struct.ImVector.26 = type { i32, i32, ptr }
%struct.ImVec4 = type { float, float, float, float }
%struct.ImVector.2 = type { i32, i32, ptr }
%struct.ImVector.7 = type { i32, i32, ptr }
%struct.ImVector.27 = type { i32, i32, ptr }
%struct.ImChunkStream = type { %struct.ImVector.2 }
%struct.ImChunkStream.28 = type { %struct.ImVector.2 }
%struct.ImVector.29 = type { i32, i32, ptr }
%struct.ImGuiTextBuffer = type { %struct.ImVector.2 }
%struct.ImGuiMetricsConfig = type { i8, i8, i8, i8, i8, i32, i32 }
%struct.ImGuiWindow = type <{ ptr, i32, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, float, i32, i32, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i16, i16, i16, i32, i8, i8, i8, i8, i32, i8, i8, i8, i32, i8, %struct.ImVec2, %struct.ImVec2, [4 x i8], %struct.ImVector.7, %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.30, float, i32, ptr, %struct.ImDrawList, ptr, ptr, ptr, ptr, ptr, [2 x i32], [2 x %struct.ImRect], i32, i32, i8, [7 x i8] }>
%struct.ImGuiWindowTempData = type <{ %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, float, %struct.ImVec1, %struct.ImVec1, %struct.ImVec1, i32, i32, %struct.ImRect, %struct.ImRect, i32, i32, i32, i32, i8, i8, i8, i8, %struct.ImVec2, %struct.ImGuiMenuColumns, i32, i32, [4 x i8], %struct.ImVector.3, ptr, ptr, i32, i32, i32, i32, i32, i32, float, float, %struct.ImVector.21, %struct.ImVector.21, %struct.ImGuiStackSizes, [2 x i8] }>
%struct.ImVec1 = type { float }
%struct.ImGuiMenuColumns = type { float, float, float, [3 x float], [3 x float] }
%struct.ImGuiStackSizes = type { i16, i16, i16, i16, i16, i16, i16 }
%struct.ImVec2ih = type { i16, i16 }
%struct.ImVector.30 = type { i32, i32, ptr }
%struct.ImFontAtlas = type { i8, i32, ptr, i32, i32, ptr, ptr, i32, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVector.6, %struct.ImVector.36, %struct.ImVector.37, [64 x %struct.ImVec4], i32, i32 }
%struct.ImVector.36 = type { i32, i32, ptr }
%struct.ImVector.37 = type { i32, i32, ptr }

@GImGui = external dso_local global ptr, align 8
@.str.3 = external hidden unnamed_addr constant [82 x i8], align 1
@.str.84 = external hidden unnamed_addr constant [14 x i8], align 1
@__PRETTY_FUNCTION__._ZN5ImGui8EndFrameEv = external hidden unnamed_addr constant [23 x i8], align 1
@.str.86 = external hidden unnamed_addr constant [58 x i8], align 1
@.str.87 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.88 = external hidden unnamed_addr constant [47 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: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN8ImVectorItE6resizeEi(ptr noundef nonnull align 8 dereferenceable(16), i32 noundef) #3 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef float @_ZL11ImLengthSqrRK6ImVec2(ptr noundef nonnull align 4 dereferenceable(8)) #5

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui31UpdateMouseMovingWindowEndFrameEv() #8

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN8ImVectorIP11ImGuiWindowE6resizeEi(ptr noundef nonnull align 8 dereferenceable(16), i32 noundef) #3 align 2

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

13:                                               ; preds = %0
  br label %16

14:                                               ; preds = %0
  call void @__assert_fail(ptr noundef @.str.84, ptr noundef @.str.3, i32 noundef 4246, ptr noundef @__PRETTY_FUNCTION__._ZN5ImGui8EndFrameEv) #11
  unreachable

15:                                               ; No predecessors!
  br label %16

16:                                               ; preds = %15, %13
  %17 = load ptr, ptr %1, align 8, !tbaa !5
  %18 = getelementptr inbounds %struct.ImGuiContext, ptr %17, i32 0, i32 12
  %19 = load i32, ptr %18, align 4, !tbaa !75
  %20 = load ptr, ptr %1, align 8, !tbaa !5
  %21 = getelementptr inbounds %struct.ImGuiContext, ptr %20, i32 0, i32 11
  %22 = load i32, ptr %21, align 8, !tbaa !76
  %23 = icmp eq i32 %19, %22
  br i1 %23, label %24, label %25

24:                                               ; preds = %16
  store i32 1, ptr %2, align 4
  br label %262

25:                                               ; preds = %16
  %26 = load ptr, ptr %1, align 8, !tbaa !5
  %27 = getelementptr inbounds %struct.ImGuiContext, ptr %26, i32 0, i32 14
  %28 = load i8, ptr %27, align 4, !tbaa !77, !range !73, !noundef !74
  %29 = trunc i8 %28 to i1
  br i1 %29, label %30, label %31

30:                                               ; preds = %25
  br label %31

31:                                               ; preds = %30, %25
  %32 = phi i1 [ false, %25 ], [ true, %30 ]
  br i1 %32, label %33, label %34

33:                                               ; preds = %31
  br label %36

34:                                               ; preds = %31
  call void @__assert_fail(ptr noundef @.str.86, ptr noundef @.str.3, i32 noundef 4251, ptr noundef @__PRETTY_FUNCTION__._ZN5ImGui8EndFrameEv) #11
  unreachable

35:                                               ; No predecessors!
  br label %36

36:                                               ; preds = %35, %33
  %37 = load ptr, ptr %1, align 8, !tbaa !5
  call void @_ZN5ImGui16CallContextHooksEP12ImGuiContext20ImGuiContextHookType(ptr noundef %37, i32 noundef 2)
  call void @_ZN5ImGuiL30ErrorCheckEndFrameSanityChecksEv()
  %38 = load ptr, ptr %1, align 8, !tbaa !5
  %39 = getelementptr inbounds %struct.ImGuiContext, ptr %38, i32 0, i32 3
  %40 = getelementptr inbounds %struct.ImGuiIO, ptr %39, i32 0, i32 34
  %41 = load ptr, ptr %40, align 8, !tbaa !78
  %42 = icmp ne ptr %41, null
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #10
  br i1 %42, label %43, label %59

43:                                               ; preds = %36
  %44 = load ptr, ptr %1, align 8, !tbaa !5
  %45 = getelementptr inbounds %struct.ImGuiContext, ptr %44, i32 0, i32 196
  %46 = getelementptr inbounds %struct.ImVec2, ptr %45, i32 0, i32 0
  %47 = load float, ptr %46, align 8, !tbaa !79
  %48 = fcmp oeq float %47, 0x47EFFFFFE0000000
  br i1 %48, label %57, label %49

49:                                               ; preds = %43
  %50 = load ptr, ptr %1, align 8, !tbaa !5
  %51 = getelementptr inbounds %struct.ImGuiContext, ptr %50, i32 0, i32 196
  %52 = load ptr, ptr %1, align 8, !tbaa !5
  %53 = getelementptr inbounds %struct.ImGuiContext, ptr %52, i32 0, i32 195
  %54 = call <2 x float> @_ZmiRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %51, ptr noundef nonnull align 4 dereferenceable(8) %53)
  store <2 x float> %54, ptr %3, align 4
  %55 = call noundef float @_ZL11ImLengthSqrRK6ImVec2(ptr noundef nonnull align 4 dereferenceable(8) %3)
  %56 = fcmp ogt float %55, 0x3F1A36E2E0000000
  br label %57

57:                                               ; preds = %49, %43
  %58 = phi i1 [ true, %43 ], [ %56, %49 ]
  br label %59

59:                                               ; preds = %57, %36
  %60 = phi i1 [ false, %36 ], [ %58, %57 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #10
  br i1 %60, label %61, label %80

61:                                               ; preds = %59
  %62 = load ptr, ptr %1, align 8, !tbaa !5
  %63 = getelementptr inbounds %struct.ImGuiContext, ptr %62, i32 0, i32 3
  %64 = getelementptr inbounds %struct.ImGuiIO, ptr %63, i32 0, i32 34
  %65 = load ptr, ptr %64, align 8, !tbaa !78
  %66 = load ptr, ptr %1, align 8, !tbaa !5
  %67 = getelementptr inbounds %struct.ImGuiContext, ptr %66, i32 0, i32 195
  %68 = getelementptr inbounds %struct.ImVec2, ptr %67, i32 0, i32 0
  %69 = load float, ptr %68, align 8, !tbaa !80
  %70 = fptosi float %69 to i32
  %71 = load ptr, ptr %1, align 8, !tbaa !5
  %72 = getelementptr inbounds %struct.ImGuiContext, ptr %71, i32 0, i32 195
  %73 = getelementptr inbounds %struct.ImVec2, ptr %72, i32 0, i32 1
  %74 = load float, ptr %73, align 4, !tbaa !81
  %75 = fptosi float %74 to i32
  call void %65(i32 noundef %70, i32 noundef %75)
  %76 = load ptr, ptr %1, align 8, !tbaa !5
  %77 = getelementptr inbounds %struct.ImGuiContext, ptr %76, i32 0, i32 195
  %78 = load ptr, ptr %1, align 8, !tbaa !5
  %79 = getelementptr inbounds %struct.ImGuiContext, ptr %78, i32 0, i32 196
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %79, ptr align 8 %77, i64 8, i1 false), !tbaa.struct !82
  br label %80

80:                                               ; preds = %61, %59
  %81 = load ptr, ptr %1, align 8, !tbaa !5
  %82 = getelementptr inbounds %struct.ImGuiContext, ptr %81, i32 0, i32 15
  store i8 0, ptr %82, align 1, !tbaa !84
  %83 = load ptr, ptr %1, align 8, !tbaa !5
  %84 = getelementptr inbounds %struct.ImGuiContext, ptr %83, i32 0, i32 29
  %85 = load ptr, ptr %84, align 8, !tbaa !85
  %86 = icmp ne ptr %85, null
  br i1 %86, label %87, label %99

87:                                               ; preds = %80
  %88 = load ptr, ptr %1, align 8, !tbaa !5
  %89 = getelementptr inbounds %struct.ImGuiContext, ptr %88, i32 0, i32 29
  %90 = load ptr, ptr %89, align 8, !tbaa !85
  %91 = getelementptr inbounds %struct.ImGuiWindow, ptr %90, i32 0, i32 25
  %92 = load i8, ptr %91, align 8, !tbaa !86, !range !73, !noundef !74
  %93 = trunc i8 %92 to i1
  br i1 %93, label %99, label %94

94:                                               ; preds = %87
  %95 = load ptr, ptr %1, align 8, !tbaa !5
  %96 = getelementptr inbounds %struct.ImGuiContext, ptr %95, i32 0, i32 29
  %97 = load ptr, ptr %96, align 8, !tbaa !85
  %98 = getelementptr inbounds %struct.ImGuiWindow, ptr %97, i32 0, i32 23
  store i8 0, ptr %98, align 2, !tbaa !94
  br label %99

99:                                               ; preds = %94, %87, %80
  call void @_ZN5ImGui3EndEv()
  call void @_ZN5ImGuiL11NavEndFrameEv()
  %100 = load ptr, ptr %1, align 8, !tbaa !5
  %101 = getelementptr inbounds %struct.ImGuiContext, ptr %100, i32 0, i32 146
  %102 = load i8, ptr %101, align 4, !tbaa !95, !range !73, !noundef !74
  %103 = trunc i8 %102 to i1
  br i1 %103, label %104, label %144

104:                                              ; preds = %99
  call void @llvm.lifetime.start.p0(i64 1, ptr %4) #10
  %105 = load ptr, ptr %1, align 8, !tbaa !5
  %106 = getelementptr inbounds %struct.ImGuiContext, ptr %105, i32 0, i32 154
  %107 = getelementptr inbounds %struct.ImGuiPayload, ptr %106, i32 0, i32 7
  %108 = load i8, ptr %107, align 2, !tbaa !96, !range !73, !noundef !74
  %109 = trunc i8 %108 to i1
  %110 = zext i1 %109 to i8
  store i8 %110, ptr %4, align 1, !tbaa !97
  call void @llvm.lifetime.start.p0(i64 1, ptr %5) #10
  %111 = load ptr, ptr %1, align 8, !tbaa !5
  %112 = getelementptr inbounds %struct.ImGuiContext, ptr %111, i32 0, i32 154
  %113 = getelementptr inbounds %struct.ImGuiPayload, ptr %112, i32 0, i32 4
  %114 = load i32, ptr %113, align 4, !tbaa !98
  %115 = add nsw i32 %114, 1
  %116 = load ptr, ptr %1, align 8, !tbaa !5
  %117 = getelementptr inbounds %struct.ImGuiContext, ptr %116, i32 0, i32 11
  %118 = load i32, ptr %117, align 8, !tbaa !76
  %119 = icmp slt i32 %115, %118
  br i1 %119, label %120, label %134

120:                                              ; preds = %104
  %121 = load ptr, ptr %1, align 8, !tbaa !5
  %122 = getelementptr inbounds %struct.ImGuiContext, ptr %121, i32 0, i32 150
  %123 = load i32, ptr %122, align 8, !tbaa !99
  %124 = and i32 %123, 32
  %125 = icmp ne i32 %124, 0
  br i1 %125, label %132, label %126

126:                                              ; preds = %120
  %127 = load ptr, ptr %1, align 8, !tbaa !5
  %128 = getelementptr inbounds %struct.ImGuiContext, ptr %127, i32 0, i32 152
  %129 = load i32, ptr %128, align 8, !tbaa !100
  %130 = call noundef zeroext i1 @_ZN5ImGui11IsMouseDownEi(i32 noundef %129)
  %131 = xor i1 %130, true
  br label %132

132:                                              ; preds = %126, %120
  %133 = phi i1 [ true, %120 ], [ %131, %126 ]
  br label %134

134:                                              ; preds = %132, %104
  %135 = phi i1 [ false, %104 ], [ %133, %132 ]
  %136 = zext i1 %135 to i8
  store i8 %136, ptr %5, align 1, !tbaa !97
  %137 = load i8, ptr %4, align 1, !tbaa !97, !range !73, !noundef !74
  %138 = trunc i8 %137 to i1
  br i1 %138, label %142, label %139

139:                                              ; preds = %134
  %140 = load i8, ptr %5, align 1, !tbaa !97, !range !73, !noundef !74
  %141 = trunc i8 %140 to i1
  br i1 %141, label %142, label %143

142:                                              ; preds = %139, %134
  call void @_ZN5ImGui13ClearDragDropEv()
  br label %143

143:                                              ; preds = %142, %139
  call void @llvm.lifetime.end.p0(i64 1, ptr %5) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr %4) #10
  br label %144

144:                                              ; preds = %143, %99
  %145 = load ptr, ptr %1, align 8, !tbaa !5
  %146 = getelementptr inbounds %struct.ImGuiContext, ptr %145, i32 0, i32 146
  %147 = load i8, ptr %146, align 4, !tbaa !95, !range !73, !noundef !74
  %148 = trunc i8 %147 to i1
  br i1 %148, label %149, label %168

149:                                              ; preds = %144
  %150 = load ptr, ptr %1, align 8, !tbaa !5
  %151 = getelementptr inbounds %struct.ImGuiContext, ptr %150, i32 0, i32 151
  %152 = load i32, ptr %151, align 4, !tbaa !101
  %153 = load ptr, ptr %1, align 8, !tbaa !5
  %154 = getelementptr inbounds %struct.ImGuiContext, ptr %153, i32 0, i32 11
  %155 = load i32, ptr %154, align 8, !tbaa !76
  %156 = icmp slt i32 %152, %155
  br i1 %156, label %157, label %168

157:                                              ; preds = %149
  %158 = load ptr, ptr %1, align 8, !tbaa !5
  %159 = getelementptr inbounds %struct.ImGuiContext, ptr %158, i32 0, i32 150
  %160 = load i32, ptr %159, align 8, !tbaa !99
  %161 = and i32 %160, 1
  %162 = icmp ne i32 %161, 0
  br i1 %162, label %168, label %163

163:                                              ; preds = %157
  %164 = load ptr, ptr %1, align 8, !tbaa !5
  %165 = getelementptr inbounds %struct.ImGuiContext, ptr %164, i32 0, i32 147
  store i8 1, ptr %165, align 1, !tbaa !102
  call void (ptr, ...) @_ZN5ImGui10SetTooltipEPKcz(ptr noundef @.str.87)
  %166 = load ptr, ptr %1, align 8, !tbaa !5
  %167 = getelementptr inbounds %struct.ImGuiContext, ptr %166, i32 0, i32 147
  store i8 0, ptr %167, align 1, !tbaa !102
  br label %168

168:                                              ; preds = %163, %157, %149, %144
  %169 = load ptr, ptr %1, align 8, !tbaa !5
  %170 = getelementptr inbounds %struct.ImGuiContext, ptr %169, i32 0, i32 14
  store i8 0, ptr %170, align 4, !tbaa !77
  %171 = load ptr, ptr %1, align 8, !tbaa !5
  %172 = getelementptr inbounds %struct.ImGuiContext, ptr %171, i32 0, i32 11
  %173 = load i32, ptr %172, align 8, !tbaa !76
  %174 = load ptr, ptr %1, align 8, !tbaa !5
  %175 = getelementptr inbounds %struct.ImGuiContext, ptr %174, i32 0, i32 12
  store i32 %173, ptr %175, align 4, !tbaa !75
  call void @_ZN5ImGui31UpdateMouseMovingWindowEndFrameEv()
  %176 = load ptr, ptr %1, align 8, !tbaa !5
  %177 = getelementptr inbounds %struct.ImGuiContext, ptr %176, i32 0, i32 24
  call void @_ZN8ImVectorIP11ImGuiWindowE6resizeEi(ptr noundef nonnull align 8 dereferenceable(16) %177, i32 noundef 0)
  %178 = load ptr, ptr %1, align 8, !tbaa !5
  %179 = getelementptr inbounds %struct.ImGuiContext, ptr %178, i32 0, i32 24
  %180 = load ptr, ptr %1, align 8, !tbaa !5
  %181 = getelementptr inbounds %struct.ImGuiContext, ptr %180, i32 0, i32 22
  %182 = getelementptr inbounds %struct.ImVector.3, ptr %181, i32 0, i32 0
  %183 = load i32, ptr %182, align 8, !tbaa !103
  call void @_ZN8ImVectorIP11ImGuiWindowE7reserveEi(ptr noundef nonnull align 8 dereferenceable(16) %179, i32 noundef %183)
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #10
  store i32 0, ptr %6, align 4, !tbaa !104
  br label %184

184:                                              ; preds = %216, %168
  %185 = load i32, ptr %6, align 4, !tbaa !104
  %186 = load ptr, ptr %1, align 8, !tbaa !5
  %187 = getelementptr inbounds %struct.ImGuiContext, ptr %186, i32 0, i32 22
  %188 = getelementptr inbounds %struct.ImVector.3, ptr %187, i32 0, i32 0
  %189 = load i32, ptr %188, align 8, !tbaa !103
  %190 = icmp ne i32 %185, %189
  br i1 %190, label %192, label %191

191:                                              ; preds = %184
  store i32 2, ptr %2, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #10
  br label %219

192:                                              ; preds = %184
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #10
  %193 = load ptr, ptr %1, align 8, !tbaa !5
  %194 = getelementptr inbounds %struct.ImGuiContext, ptr %193, i32 0, i32 22
  %195 = load i32, ptr %6, align 4, !tbaa !104
  %196 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8ImVectorIP11ImGuiWindowEixEi(ptr noundef nonnull align 8 dereferenceable(16) %194, i32 noundef %195)
  %197 = load ptr, ptr %196, align 8, !tbaa !5
  store ptr %197, ptr %7, align 8, !tbaa !5
  %198 = load ptr, ptr %7, align 8, !tbaa !5
  %199 = getelementptr inbounds %struct.ImGuiWindow, ptr %198, i32 0, i32 23
  %200 = load i8, ptr %199, align 2, !tbaa !94, !range !73, !noundef !74
  %201 = trunc i8 %200 to i1
  br i1 %201, label %202, label %209

202:                                              ; preds = %192
  %203 = load ptr, ptr %7, align 8, !tbaa !5
  %204 = getelementptr inbounds %struct.ImGuiWindow, ptr %203, i32 0, i32 2
  %205 = load i32, ptr %204, align 4, !tbaa !105
  %206 = and i32 %205, 16777216
  %207 = icmp ne i32 %206, 0
  br i1 %207, label %208, label %209

208:                                              ; preds = %202
  store i32 4, ptr %2, align 4
  br label %213

209:                                              ; preds = %202, %192
  %210 = load ptr, ptr %1, align 8, !tbaa !5
  %211 = getelementptr inbounds %struct.ImGuiContext, ptr %210, i32 0, i32 24
  %212 = load ptr, ptr %7, align 8, !tbaa !5
  call void @_ZL21AddWindowToSortBufferP8ImVectorIP11ImGuiWindowES1_(ptr noundef %211, ptr noundef %212)
  store i32 0, ptr %2, align 4
  br label %213

213:                                              ; preds = %209, %208
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #10
  %214 = load i32, ptr %2, align 4
  switch i32 %214, label %265 [
    i32 0, label %215
    i32 4, label %216
  ]

215:                                              ; preds = %213
  br label %216

216:                                              ; preds = %215, %213
  %217 = load i32, ptr %6, align 4, !tbaa !104
  %218 = add nsw i32 %217, 1
  store i32 %218, ptr %6, align 4, !tbaa !104
  br label %184, !llvm.loop !106

219:                                              ; preds = %191
  %220 = load ptr, ptr %1, align 8, !tbaa !5
  %221 = getelementptr inbounds %struct.ImGuiContext, ptr %220, i32 0, i32 22
  %222 = getelementptr inbounds %struct.ImVector.3, ptr %221, i32 0, i32 0
  %223 = load i32, ptr %222, align 8, !tbaa !103
  %224 = load ptr, ptr %1, align 8, !tbaa !5
  %225 = getelementptr inbounds %struct.ImGuiContext, ptr %224, i32 0, i32 24
  %226 = getelementptr inbounds %struct.ImVector.3, ptr %225, i32 0, i32 0
  %227 = load i32, ptr %226, align 8, !tbaa !108
  %228 = icmp eq i32 %223, %227
  br i1 %228, label %229, label %230

229:                                              ; preds = %219
  br label %232

230:                                              ; preds = %219
  call void @__assert_fail(ptr noundef @.str.88, ptr noundef @.str.3, i32 noundef 4310, ptr noundef @__PRETTY_FUNCTION__._ZN5ImGui8EndFrameEv) #11
  unreachable

231:                                              ; No predecessors!
  br label %232

232:                                              ; preds = %231, %229
  %233 = load ptr, ptr %1, align 8, !tbaa !5
  %234 = getelementptr inbounds %struct.ImGuiContext, ptr %233, i32 0, i32 22
  %235 = load ptr, ptr %1, align 8, !tbaa !5
  %236 = getelementptr inbounds %struct.ImGuiContext, ptr %235, i32 0, i32 24
  call void @_ZN8ImVectorIP11ImGuiWindowE4swapERS2_(ptr noundef nonnull align 8 dereferenceable(16) %234, ptr noundef nonnull align 8 dereferenceable(16) %236)
  %237 = load ptr, ptr %1, align 8, !tbaa !5
  %238 = getelementptr inbounds %struct.ImGuiContext, ptr %237, i32 0, i32 27
  %239 = load i32, ptr %238, align 8, !tbaa !109
  %240 = load ptr, ptr %1, align 8, !tbaa !5
  %241 = getelementptr inbounds %struct.ImGuiContext, ptr %240, i32 0, i32 3
  %242 = getelementptr inbounds %struct.ImGuiIO, ptr %241, i32 0, i32 57
  store i32 %239, ptr %242, align 8, !tbaa !110
  %243 = load ptr, ptr %1, align 8, !tbaa !5
  %244 = getelementptr inbounds %struct.ImGuiContext, ptr %243, i32 0, i32 3
  %245 = getelementptr inbounds %struct.ImGuiIO, ptr %244, i32 0, i32 14
  %246 = load ptr, ptr %245, align 8, !tbaa !111
  %247 = getelementptr inbounds %struct.ImFontAtlas, ptr %246, i32 0, i32 0
  store i8 0, ptr %247, align 8, !tbaa !112
  %248 = load ptr, ptr %1, align 8, !tbaa !5
  %249 = getelementptr inbounds %struct.ImGuiContext, ptr %248, i32 0, i32 3
  %250 = getelementptr inbounds %struct.ImGuiIO, ptr %249, i32 0, i32 39
  store float 0.000000e+00, ptr %250, align 4, !tbaa !116
  %251 = load ptr, ptr %1, align 8, !tbaa !5
  %252 = getelementptr inbounds %struct.ImGuiContext, ptr %251, i32 0, i32 3
  %253 = getelementptr inbounds %struct.ImGuiIO, ptr %252, i32 0, i32 38
  store float 0.000000e+00, ptr %253, align 8, !tbaa !117
  %254 = load ptr, ptr %1, align 8, !tbaa !5
  %255 = getelementptr inbounds %struct.ImGuiContext, ptr %254, i32 0, i32 3
  %256 = getelementptr inbounds %struct.ImGuiIO, ptr %255, i32 0, i32 79
  call void @_ZN8ImVectorItE6resizeEi(ptr noundef nonnull align 8 dereferenceable(16) %256, i32 noundef 0)
  %257 = load ptr, ptr %1, align 8, !tbaa !5
  %258 = getelementptr inbounds %struct.ImGuiContext, ptr %257, i32 0, i32 3
  %259 = getelementptr inbounds %struct.ImGuiIO, ptr %258, i32 0, i32 45
  %260 = getelementptr inbounds [21 x float], ptr %259, i64 0, i64 0
  call void @llvm.memset.p0.i64(ptr align 4 %260, i8 0, i64 84, i1 false)
  %261 = load ptr, ptr %1, align 8, !tbaa !5
  call void @_ZN5ImGui16CallContextHooksEP12ImGuiContext20ImGuiContextHookType(ptr noundef %261, i32 noundef 3)
  store i32 0, ptr %2, align 4
  br label %262

262:                                              ; preds = %232, %24
  call void @llvm.lifetime.end.p0(i64 8, ptr %1) #10
  %263 = load i32, ptr %2, align 4
  switch i32 %263, label %265 [
    i32 0, label %264
    i32 1, label %264
  ]

264:                                              ; preds = %262, %262
  ret void

265:                                              ; preds = %262, %213
  unreachable
}

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN5ImGuiL30ErrorCheckEndFrameSanityChecksEv() #7

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN5ImGuiL11NavEndFrameEv() #7

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN5ImGui11IsMouseDownEi(i32 noundef) #9

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui13ClearDragDropEv() #7

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui10SetTooltipEPKcz(ptr noundef, ...) #7

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN8ImVectorIP11ImGuiWindowE7reserveEi(ptr noundef nonnull align 8 dereferenceable(16), i32 noundef) #3 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN8ImVectorIP11ImGuiWindowE4swapERS2_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) #5 align 2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { 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 #4 = { 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 #5 = { 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 #6 = { 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 #7 = { 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 = { 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 #9 = { 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 #10 = { nounwind }
attributes #11 = { 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 5472, !6, i64 6520, !15, i64 6528, !15, i64 6532, !19, i64 6536, !21, i64 6752, !13, i64 6760, !13, i64 6764, !13, i64 6768, !11, i64 6772, !11, i64 6773, !11, i64 6774, !11, i64 6775, !11, i64 6776, !13, i64 6780, !6, i64 6784, !22, i64 6792, !22, i64 6808, !22, i64 6824, !22, i64 6840, !23, i64 6856, !13, i64 6872, !6, i64 6880, !6, i64 6888, !6, i64 6896, !6, i64 6904, !6, i64 6912, !6, i64 6920, !14, i64 6928, !15, i64 6936, !13, i64 6940, !13, i64 6944, !11, i64 6948, !11, i64 6949, !11, i64 6950, !11, i64 6951, !15, i64 6952, !15, i64 6956, !13, i64 6960, !13, i64 6964, !15, i64 6968, !11, i64 6972, !11, i64 6973, !11, i64 6974, !11, i64 6975, !11, i64 6976, !11, i64 6977, !11, i64 6978, !13, i64 6980, !13, i64 6984, !25, i64 6992, !14, i64 7000, !6, i64 7008, !26, i64 7016, !13, i64 7020, !13, i64 7024, !11, i64 7028, !11, i64 7029, !6, i64 7032, !13, i64 7040, !15, i64 7044, !27, i64 7048, !29, i64 7160, !30, i64 7184, !31, i64 7200, !32, i64 7216, !33, i64 7232, !34, i64 7248, !35, i64 7264, !36, i64 7280, !36, i64 7296, !6, i64 7312, !13, i64 7320, !13, i64 7324, !13, i64 7328, !13, i64 7332, !13, i64 7336, !13, i64 7340, !13, i64 7344, !13, i64 7348, !13, i64 7352, !13, i64 7356, !13, i64 7360, !26, i64 7364, !28, i64 7368, !13, i64 7384, !37, i64 7388, !13, i64 7392, !11, i64 7396, !11, i64 7397, !11, i64 7398, !11, i64 7399, !11, i64 7400, !11, i64 7401, !11, i64 7402, !13, i64 7404, !28, i64 7408, !11, i64 7424, !13, i64 7428, !38, i64 7432, !13, i64 7436, !13, i64 7440, !13, i64 7444, !13, i64 7448, !39, i64 7456, !39, i64 7504, !39, i64 7552, !6, i64 7600, !13, i64 7608, !6, i64 7616, !6, i64 7624, !6, i64 7632, !15, i64 7640, !15, i64 7644, !11, i64 7648, !6, i64 7656, !6, i64 7664, !13, i64 7672, !13, i64 7676, !13, i64 7680, !13, i64 7684, !11, i64 7688, !40, i64 7696, !41, i64 7752, !15, i64 7784, !42, i64 7792, !42, i64 7992, !13, i64 8192, !11, i64 8196, !11, i64 8197, !11, i64 8198, !13, i64 8200, !13, i64 8204, !13, i64 8208, !51, i64 8216, !28, i64 8280, !13, i64 8296, !13, i64 8300, !15, i64 8304, !13, i64 8308, !13, i64 8312, !13, i64 8316, !13, i64 8320, !52, i64 8328, !7, i64 8344, !6, i64 8360, !53, i64 8368, !55, i64 8408, !56, i64 8424, !50, i64 8440, !6, i64 8456, !57, i64 8464, !55, i64 8504, !59, i64 8520, !14, i64 8536, !60, i64 8544, !64, i64 12280, !13, i64 12392, !13, i64 12396, !15, i64 12400, !15, i64 12404, !7, i64 12408, !20, i64 12420, !15, i64 12436, !11, i64 12440, !11, i64 12441, !15, i64 12444, !15, i64 12448, !15, i64 12452, !13, i64 12456, !15, i64 12460, !61, i64 12464, !33, i64 12480, !14, i64 12496, !14, i64 12504, !7, i64 12512, !11, i64 12513, !15, i64 12516, !66, i64 12520, !67, i64 12536, !68, i64 12552, !69, i64 12568, !70, i64 12584, !11, i64 12600, !71, i64 12604, !6, i64 12608, !66, i64 12616, !15, i64 12632, !11, i64 12636, !13, i64 12640, !13, i64 12644, !13, i64 12648, !11, i64 12652, !13, i64 12656, !72, i64 12660, !7, i64 12676, !13, i64 13156, !15, i64 13160, !13, i64 13164, !13, i64 13168, !13, i64 13172, !7, i64 13176}
!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 912, !11, i64 913, !11, i64 914, !11, i64 915, !11, i64 916, !11, i64 917, !11, i64 918, !15, i64 920, !13, i64 924, !13, i64 928, !13, i64 932, !13, i64 936, !13, i64 940, !14, i64 944, !13, i64 952, !14, i64 956, !7, i64 964, !7, i64 1008, !7, i64 1048, !7, i64 1053, !7, i64 1058, !7, i64 1063, !7, i64 1068, !7, i64 1076, !7, i64 1096, !7, i64 1116, !7, i64 1156, !7, i64 1176, !7, i64 3224, !7, i64 5272, !7, i64 5356, !15, i64 5440, !16, i64 5444, !17, i64 5448}
!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, !14, i64 4, !15, i64 12, !15, i64 16, !14, i64 20, !14, i64 28, !13, i64 36, !15, i64 40, !15, i64 44, !15, i64 48, !15, i64 52, !14, i64 56, !15, i64 64, !15, i64 68, !14, i64 72, !14, i64 80, !14, i64 88, !14, i64 96, !15, i64 104, !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, !13, i64 144, !14, i64 148, !14, i64 156, !14, i64 164, !14, i64 172, !15, i64 180, !11, i64 184, !11, i64 185, !11, i64 186, !15, i64 188, !15, i64 192, !7, i64 196}
!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, !7, i64 144, !6, i64 208}
!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 = !{!"_ZTS12ImGuiStorage", !24, i64 0}
!24 = !{!"_ZTS8ImVectorIN12ImGuiStorage16ImGuiStoragePairEE", !13, i64 0, !13, i64 4, !6, i64 8}
!25 = !{!"long long", !7, i64 0}
!26 = !{!"_ZTS16ImGuiInputSource", !7, i64 0}
!27 = !{!"_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, !28, i64 60, !6, i64 80, !6, i64 88, !15, i64 96, !14, i64 100}
!28 = !{!"_ZTS6ImRect", !14, i64 0, !14, i64 8}
!29 = !{!"_ZTS17ImGuiNextItemData", !13, i64 0, !15, i64 4, !13, i64 8, !13, i64 12, !11, i64 16}
!30 = !{!"_ZTS8ImVectorI13ImGuiColorModE", !13, i64 0, !13, i64 4, !6, i64 8}
!31 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !13, i64 0, !13, i64 4, !6, i64 8}
!32 = !{!"_ZTS8ImVectorIP6ImFontE", !13, i64 0, !13, i64 4, !6, i64 8}
!33 = !{!"_ZTS8ImVectorIjE", !13, i64 0, !13, i64 4, !6, i64 8}
!34 = !{!"_ZTS8ImVectorIiE", !13, i64 0, !13, i64 4, !6, i64 8}
!35 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!36 = !{!"_ZTS8ImVectorI14ImGuiPopupDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!37 = !{!"_ZTS13ImGuiNavLayer", !7, i64 0}
!38 = !{!"_ZTS15ImGuiNavForward", !7, i64 0}
!39 = !{!"_ZTS18ImGuiNavMoveResult", !6, i64 0, !13, i64 8, !13, i64 12, !15, i64 16, !15, i64 20, !15, i64 24, !28, i64 28}
!40 = !{!"_ZTS10ImDrawData", !11, i64 0, !6, i64 8, !13, i64 16, !13, i64 20, !13, i64 24, !14, i64 28, !14, i64 36, !14, i64 44}
!41 = !{!"_ZTS17ImDrawDataBuilder", !7, i64 0}
!42 = !{!"_ZTS10ImDrawList", !43, i64 0, !17, i64 16, !44, i64 32, !13, i64 48, !13, i64 52, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !45, i64 88, !46, i64 104, !47, i64 120, !48, i64 136, !49, i64 168, !15, i64 192}
!43 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !13, i64 0, !13, i64 4, !6, i64 8}
!44 = !{!"_ZTS8ImVectorI10ImDrawVertE", !13, i64 0, !13, i64 4, !6, i64 8}
!45 = !{!"_ZTS8ImVectorI6ImVec4E", !13, i64 0, !13, i64 4, !6, i64 8}
!46 = !{!"_ZTS8ImVectorIPvE", !13, i64 0, !13, i64 4, !6, i64 8}
!47 = !{!"_ZTS8ImVectorI6ImVec2E", !13, i64 0, !13, i64 4, !6, i64 8}
!48 = !{!"_ZTS15ImDrawCmdHeader", !20, i64 0, !6, i64 16, !13, i64 24}
!49 = !{!"_ZTS18ImDrawListSplitter", !13, i64 0, !13, i64 4, !50, i64 8}
!50 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !13, i64 0, !13, i64 4, !6, i64 8}
!51 = !{!"_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}
!52 = !{!"_ZTS8ImVectorIhE", !13, i64 0, !13, i64 4, !6, i64 8}
!53 = !{!"_ZTS6ImPoolI10ImGuiTableE", !54, i64 0, !23, i64 16, !13, i64 32}
!54 = !{!"_ZTS8ImVectorI10ImGuiTableE", !13, i64 0, !13, i64 4, !6, i64 8}
!55 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !13, i64 0, !13, i64 4, !6, i64 8}
!56 = !{!"_ZTS8ImVectorIfE", !13, i64 0, !13, i64 4, !6, i64 8}
!57 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !58, i64 0, !23, i64 16, !13, i64 32}
!58 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !13, i64 0, !13, i64 4, !6, i64 8}
!59 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !13, i64 0, !13, i64 4, !6, i64 8}
!60 = !{!"_ZTS19ImGuiInputTextState", !13, i64 0, !13, i64 4, !13, i64 8, !17, i64 16, !61, i64 32, !61, i64 48, !11, i64 64, !13, i64 68, !15, i64 72, !62, i64 76, !15, i64 3704, !11, i64 3708, !11, i64 3709, !11, i64 3710, !13, i64 3712, !6, i64 3720, !6, i64 3728}
!61 = !{!"_ZTS8ImVectorIcE", !13, i64 0, !13, i64 4, !6, i64 8}
!62 = !{!"_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, !63, i64 32}
!63 = !{!"_ZTSN5ImStb12StbUndoStateE", !7, i64 0, !7, i64 1584, !16, i64 3582, !16, i64 3584, !13, i64 3588, !13, i64 3592}
!64 = !{!"_ZTS6ImFont", !56, i64 0, !15, i64 16, !15, i64 20, !17, i64 24, !65, i64 40, !6, i64 56, !6, i64 64, !6, i64 72, !16, i64 80, !16, i64 82, !16, i64 84, !11, i64 86, !15, i64 88, !15, i64 92, !15, i64 96, !13, i64 100, !7, i64 104}
!65 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !13, i64 0, !13, i64 4, !6, i64 8}
!66 = !{!"_ZTS15ImGuiTextBuffer", !61, i64 0}
!67 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !13, i64 0, !13, i64 4, !6, i64 8}
!68 = !{!"_ZTS13ImChunkStreamI19ImGuiWindowSettingsE", !61, i64 0}
!69 = !{!"_ZTS13ImChunkStreamI18ImGuiTableSettingsE", !61, i64 0}
!70 = !{!"_ZTS8ImVectorI16ImGuiContextHookE", !13, i64 0, !13, i64 4, !6, i64 8}
!71 = !{!"_ZTS12ImGuiLogType", !7, i64 0}
!72 = !{!"_ZTS18ImGuiMetricsConfig", !11, i64 0, !11, i64 1, !11, i64 2, !11, i64 3, !11, i64 4, !13, i64 8, !13, i64 12}
!73 = !{i8 0, i8 2}
!74 = !{}
!75 = !{!10, !13, i64 6764}
!76 = !{!10, !13, i64 6760}
!77 = !{!10, !11, i64 6772}
!78 = !{!10, !6, i64 280}
!79 = !{!10, !15, i64 12504}
!80 = !{!10, !15, i64 12496}
!81 = !{!10, !15, i64 12500}
!82 = !{i64 0, i64 4, !83, i64 4, i64 4, !83}
!83 = !{!15, !15, i64 0}
!84 = !{!10, !11, i64 6773}
!85 = !{!10, !6, i64 6880}
!86 = !{!87, !11, i64 144}
!87 = !{!"_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, !7, i64 152, !16, i64 154, !16, i64 156, !16, i64 158, !13, i64 160, !7, i64 164, !7, i64 165, !7, i64 166, !11, i64 167, !13, i64 168, !7, i64 172, !7, i64 173, !7, i64 174, !13, i64 175, !13, i64 176, !13, i64 177, !14, i64 180, !14, i64 188, !33, i64 200, !88, i64 216, !28, i64 520, !28, i64 536, !28, i64 552, !28, i64 568, !28, i64 584, !28, i64 600, !28, i64 616, !92, i64 632, !92, i64 636, !13, i64 640, !15, i64 644, !15, i64 648, !23, i64 656, !93, i64 672, !15, i64 688, !13, i64 692, !6, i64 696, !42, i64 704, !6, i64 904, !6, i64 912, !6, i64 920, !6, i64 928, !6, i64 936, !7, i64 944, !7, i64 952, !13, i64 984, !13, i64 988, !11, i64 992}
!88 = !{!"_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, !89, i64 64, !89, i64 68, !89, i64 72, !13, i64 76, !13, i64 80, !28, i64 84, !28, i64 100, !37, i64 116, !13, i64 120, !13, i64 124, !13, i64 128, !11, i64 132, !11, i64 133, !11, i64 134, !14, i64 136, !90, i64 144, !13, i64 180, !13, i64 184, !22, i64 192, !6, i64 208, !6, i64 216, !13, i64 224, !13, i64 228, !13, i64 232, !13, i64 236, !13, i64 240, !13, i64 244, !15, i64 248, !15, i64 252, !56, i64 256, !56, i64 272, !91, i64 288}
!89 = !{!"_ZTS6ImVec1", !15, i64 0}
!90 = !{!"_ZTS16ImGuiMenuColumns", !15, i64 0, !15, i64 4, !15, i64 8, !7, i64 12, !7, i64 24}
!91 = !{!"_ZTS15ImGuiStackSizes", !16, i64 0, !16, i64 2, !16, i64 4, !16, i64 6, !16, i64 8, !16, i64 10, !16, i64 12}
!92 = !{!"_ZTS8ImVec2ih", !16, i64 0, !16, i64 2}
!93 = !{!"_ZTS8ImVectorI15ImGuiOldColumnsE", !13, i64 0, !13, i64 4, !6, i64 8}
!94 = !{!87, !11, i64 142}
!95 = !{!10, !11, i64 8196}
!96 = !{!10, !11, i64 8274}
!97 = !{!11, !11, i64 0}
!98 = !{!10, !13, i64 8236}
!99 = !{!10, !13, i64 8200}
!100 = !{!10, !13, i64 8208}
!101 = !{!10, !13, i64 8204}
!102 = !{!10, !11, i64 8197}
!103 = !{!10, !13, i64 6792}
!104 = !{!13, !13, i64 0}
!105 = !{!87, !13, i64 12}
!106 = distinct !{!106, !107}
!107 = !{!"llvm.loop.mustprogress"}
!108 = !{!10, !13, i64 6824}
!109 = !{!10, !13, i64 6872}
!110 = !{!10, !13, i64 944}
!111 = !{!10, !6, i64 168}
!112 = !{!113, !11, i64 0}
!113 = !{!"_ZTS11ImFontAtlas", !11, i64 0, !13, i64 4, !6, i64 8, !13, i64 16, !13, i64 20, !6, i64 24, !6, i64 32, !13, i64 40, !13, i64 44, !14, i64 48, !14, i64 56, !32, i64 64, !114, i64 80, !115, i64 96, !7, i64 112, !13, i64 1136, !13, i64 1140}
!114 = !{!"_ZTS8ImVectorI21ImFontAtlasCustomRectE", !13, i64 0, !13, i64 4, !6, i64 8}
!115 = !{!"_ZTS8ImVectorI12ImFontConfigE", !13, i64 0, !13, i64 4, !6, i64 8}
!116 = !{!10, !15, i64 316}
!117 = !{!10, !15, i64 312}


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

@GImGui = external dso_local local_unnamed_addr global ptr, align 8
@.str.3 = external hidden unnamed_addr constant [82 x i8], align 1
@.str.84 = external hidden unnamed_addr constant [14 x i8], align 1
@__PRETTY_FUNCTION__._ZN5ImGui8EndFrameEv = external hidden unnamed_addr constant [23 x i8], align 1
@.str.86 = external hidden unnamed_addr constant [58 x i8], align 1
@.str.87 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.88 = external hidden unnamed_addr constant [47 x i8], align 1

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

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef float @_ZL11ImLengthSqrRK6ImVec2(ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #4

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui31UpdateMouseMovingWindowEndFrameEv() local_unnamed_addr #7

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN5ImGui8EndFrameEv() local_unnamed_addr #7 {
  %1 = alloca %struct.ImVec2, align 8
  %2 = load ptr, ptr @GImGui, align 8, !tbaa !5
  %3 = load i8, ptr %2, align 8, !tbaa !9, !range !73, !noundef !74
  %4 = trunc nuw i8 %3 to i1
  br i1 %4, label %6, label %5

5:                                                ; preds = %0
  tail call void @__assert_fail(ptr noundef nonnull @.str.84, ptr noundef nonnull @.str.3, i32 noundef 4246, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5ImGui8EndFrameEv) #9
  unreachable

6:                                                ; preds = %0
  %7 = getelementptr inbounds i8, ptr %2, i64 6764
  %8 = load i32, ptr %7, align 4, !tbaa !75
  %9 = getelementptr inbounds i8, ptr %2, i64 6760
  %10 = load i32, ptr %9, align 8, !tbaa !76
  %11 = icmp eq i32 %8, %10
  br i1 %11, label %116, label %12

12:                                               ; preds = %6
  %13 = getelementptr inbounds i8, ptr %2, i64 6772
  %14 = load i8, ptr %13, align 4, !tbaa !77, !range !73, !noundef !74
  %15 = trunc nuw i8 %14 to i1
  br i1 %15, label %17, label %16

16:                                               ; preds = %12
  tail call void @__assert_fail(ptr noundef nonnull @.str.86, ptr noundef nonnull @.str.3, i32 noundef 4251, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5ImGui8EndFrameEv) #9
  unreachable

17:                                               ; preds = %12
  tail call void @_ZN5ImGui16CallContextHooksEP12ImGuiContext20ImGuiContextHookType(ptr noundef nonnull %2, i32 noundef 2)
  tail call void @_ZN5ImGuiL30ErrorCheckEndFrameSanityChecksEv()
  %18 = getelementptr inbounds i8, ptr %2, i64 280
  %19 = load ptr, ptr %18, align 8, !tbaa !78
  %.not = icmp eq ptr %19, null
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %1) #10
  br i1 %.not, label %.critedge, label %20

20:                                               ; preds = %17
  %21 = getelementptr inbounds i8, ptr %2, i64 12504
  %22 = load float, ptr %21, align 8, !tbaa !79
  %23 = fcmp oeq float %22, 0x47EFFFFFE0000000
  br i1 %23, label %.critedge2, label %24

24:                                               ; preds = %20
  %25 = getelementptr inbounds i8, ptr %2, i64 12496
  %26 = tail call <2 x float> @_ZmiRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %21, ptr noundef nonnull align 4 dereferenceable(8) %25)
  store <2 x float> %26, ptr %1, align 8
  %27 = call noundef float @_ZL11ImLengthSqrRK6ImVec2(ptr noundef nonnull align 4 dereferenceable(8) %1)
  %28 = fcmp ogt float %27, 0x3F1A36E2E0000000
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #10
  br i1 %28, label %._crit_edge71, label %38

._crit_edge71:                                    ; preds = %24
  %.pre = load ptr, ptr %18, align 8, !tbaa !78
  br label %29

.critedge2:                                       ; preds = %20
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #10
  br label %29

29:                                               ; preds = %._crit_edge71, %.critedge2
  %30 = phi ptr [ %.pre, %._crit_edge71 ], [ %19, %.critedge2 ]
  %31 = getelementptr inbounds i8, ptr %2, i64 12496
  %32 = load float, ptr %31, align 8, !tbaa !80
  %33 = fptosi float %32 to i32
  %34 = getelementptr inbounds i8, ptr %2, i64 12500
  %35 = load float, ptr %34, align 4, !tbaa !81
  %36 = fptosi float %35 to i32
  call void %30(i32 noundef %33, i32 noundef %36)
  %37 = load i64, ptr %31, align 8
  store i64 %37, ptr %21, align 8
  br label %38

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

38:                                               ; preds = %.critedge, %29, %24
  %39 = getelementptr inbounds i8, ptr %2, i64 6773
  store i8 0, ptr %39, align 1, !tbaa !82
  %40 = getelementptr inbounds i8, ptr %2, i64 6880
  %41 = load ptr, ptr %40, align 8, !tbaa !83
  %.not62 = icmp eq ptr %41, null
  br i1 %.not62, label %48, label %42

42:                                               ; preds = %38
  %43 = getelementptr inbounds i8, ptr %41, i64 144
  %44 = load i8, ptr %43, align 8, !tbaa !84, !range !73, !noundef !74
  %45 = trunc nuw i8 %44 to i1
  br i1 %45, label %48, label %46

46:                                               ; preds = %42
  %47 = getelementptr inbounds i8, ptr %41, i64 142
  store i8 0, ptr %47, align 2, !tbaa !92
  br label %48

48:                                               ; preds = %46, %42, %38
  call void @_ZN5ImGui3EndEv()
  call void @_ZN5ImGuiL11NavEndFrameEv()
  %49 = getelementptr inbounds i8, ptr %2, i64 8196
  %50 = load i8, ptr %49, align 4, !tbaa !93, !range !73, !noundef !74
  %51 = trunc nuw i8 %50 to i1
  br i1 %51, label %52, label %72

52:                                               ; preds = %48
  %53 = getelementptr inbounds i8, ptr %2, i64 8274
  %54 = load i8, ptr %53, align 2, !tbaa !94, !range !73, !noundef !74
  %55 = trunc nuw i8 %54 to i1
  %56 = getelementptr inbounds i8, ptr %2, i64 8236
  %57 = load i32, ptr %56, align 4, !tbaa !95
  %58 = add nsw i32 %57, 1
  %59 = load i32, ptr %9, align 8, !tbaa !76
  %60 = icmp slt i32 %58, %59
  br i1 %60, label %61, label %70

61:                                               ; preds = %52
  %62 = getelementptr inbounds i8, ptr %2, i64 8200
  %63 = load i32, ptr %62, align 8, !tbaa !96
  %64 = and i32 %63, 32
  %.not63 = icmp eq i32 %64, 0
  br i1 %.not63, label %65, label %.thread

65:                                               ; preds = %61
  %66 = getelementptr inbounds i8, ptr %2, i64 8208
  %67 = load i32, ptr %66, align 8, !tbaa !97
  %68 = call noundef zeroext i1 @_ZN5ImGui11IsMouseDownEi(i32 noundef %67)
  %69 = xor i1 %68, true
  br label %70

70:                                               ; preds = %65, %52
  %71 = phi i1 [ false, %52 ], [ %69, %65 ]
  %brmerge = or i1 %71, %55
  br i1 %brmerge, label %.thread, label %72

.thread:                                          ; preds = %61, %70
  call void @_ZN5ImGui13ClearDragDropEv()
  br label %72

72:                                               ; preds = %.thread, %70, %48
  %73 = load i8, ptr %49, align 4, !tbaa !93, !range !73, !noundef !74
  %74 = trunc nuw i8 %73 to i1
  %.pre73 = load i32, ptr %9, align 8, !tbaa !76
  br i1 %74, label %75, label %85

75:                                               ; preds = %72
  %76 = getelementptr inbounds i8, ptr %2, i64 8204
  %77 = load i32, ptr %76, align 4, !tbaa !98
  %78 = icmp slt i32 %77, %.pre73
  br i1 %78, label %79, label %85

79:                                               ; preds = %75
  %80 = getelementptr inbounds i8, ptr %2, i64 8200
  %81 = load i32, ptr %80, align 8, !tbaa !96
  %82 = and i32 %81, 1
  %.not64 = icmp eq i32 %82, 0
  br i1 %.not64, label %83, label %85

83:                                               ; preds = %79
  %84 = getelementptr inbounds i8, ptr %2, i64 8197
  store i8 1, ptr %84, align 1, !tbaa !99
  call void (ptr, ...) @_ZN5ImGui10SetTooltipEPKcz(ptr noundef nonnull @.str.87)
  store i8 0, ptr %84, align 1, !tbaa !99
  %.pre72 = load i32, ptr %9, align 8, !tbaa !76
  br label %85

85:                                               ; preds = %83, %79, %75, %72
  %86 = phi i32 [ %.pre72, %83 ], [ %.pre73, %79 ], [ %.pre73, %75 ], [ %.pre73, %72 ]
  store i8 0, ptr %13, align 4, !tbaa !77
  store i32 %86, ptr %7, align 4, !tbaa !75
  call void @_ZN5ImGui31UpdateMouseMovingWindowEndFrameEv()
  %87 = getelementptr inbounds i8, ptr %2, i64 6824
  call void @_ZN8ImVectorIP11ImGuiWindowE6resizeEi(ptr noundef nonnull align 8 dereferenceable(16) %87, i32 noundef 0)
  %88 = getelementptr inbounds i8, ptr %2, i64 6792
  %89 = load i32, ptr %88, align 8, !tbaa !100
  call void @_ZN8ImVectorIP11ImGuiWindowE7reserveEi(ptr noundef nonnull align 8 dereferenceable(16) %87, i32 noundef %89)
  %90 = load i32, ptr %88, align 8, !tbaa !100
  %.not6568 = icmp eq i32 %90, 0
  br i1 %.not6568, label %._crit_edge, label %.lr.ph

._crit_edge:                                      ; preds = %103, %85
  %.lcssa = phi i32 [ 0, %85 ], [ %104, %103 ]
  %91 = load i32, ptr %87, align 8, !tbaa !101
  %92 = icmp eq i32 %.lcssa, %91
  br i1 %92, label %107, label %106

.lr.ph:                                           ; preds = %85, %103
  %.069 = phi i32 [ %104, %103 ], [ 0, %85 ]
  %93 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8ImVectorIP11ImGuiWindowEixEi(ptr noundef nonnull align 8 dereferenceable(16) %88, i32 noundef %.069)
  %94 = load ptr, ptr %93, align 8, !tbaa !5
  %95 = getelementptr inbounds i8, ptr %94, i64 142
  %96 = load i8, ptr %95, align 2, !tbaa !92, !range !73, !noundef !74
  %97 = trunc nuw i8 %96 to i1
  br i1 %97, label %98, label %102

98:                                               ; preds = %.lr.ph
  %99 = getelementptr inbounds i8, ptr %94, i64 12
  %100 = load i32, ptr %99, align 4, !tbaa !102
  %101 = and i32 %100, 16777216
  %.not66 = icmp eq i32 %101, 0
  br i1 %.not66, label %102, label %103

102:                                              ; preds = %98, %.lr.ph
  call void @_ZL21AddWindowToSortBufferP8ImVectorIP11ImGuiWindowES1_(ptr noundef nonnull %87, ptr noundef nonnull %94)
  br label %103

103:                                              ; preds = %98, %102
  %104 = add nuw nsw i32 %.069, 1
  %105 = load i32, ptr %88, align 8, !tbaa !100
  %.not65 = icmp eq i32 %104, %105
  br i1 %.not65, label %._crit_edge, label %.lr.ph, !llvm.loop !103

106:                                              ; preds = %._crit_edge
  call void @__assert_fail(ptr noundef nonnull @.str.88, ptr noundef nonnull @.str.3, i32 noundef 4310, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5ImGui8EndFrameEv) #9
  unreachable

107:                                              ; preds = %._crit_edge
  call void @_ZN8ImVectorIP11ImGuiWindowE4swapERS2_(ptr noundef nonnull align 8 dereferenceable(16) %88, ptr noundef nonnull align 8 dereferenceable(16) %87)
  %108 = getelementptr inbounds i8, ptr %2, i64 6872
  %109 = load i32, ptr %108, align 8, !tbaa !105
  %110 = getelementptr inbounds i8, ptr %2, i64 944
  store i32 %109, ptr %110, align 8, !tbaa !106
  %111 = getelementptr inbounds i8, ptr %2, i64 168
  %112 = load ptr, ptr %111, align 8, !tbaa !107
  store i8 0, ptr %112, align 8, !tbaa !108
  %113 = getelementptr inbounds i8, ptr %2, i64 312
  store <2 x float> zeroinitializer, ptr %113, align 8, !tbaa !112
  %114 = getelementptr inbounds i8, ptr %2, i64 5456
  call void @_ZN8ImVectorItE6resizeEi(ptr noundef nonnull align 8 dereferenceable(16) %114, i32 noundef 0)
  %115 = getelementptr inbounds i8, ptr %2, i64 836
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 4 dereferenceable(84) %115, i8 0, i64 84, i1 false)
  call void @_ZN5ImGui16CallContextHooksEP12ImGuiContext20ImGuiContextHookType(ptr noundef nonnull %2, i32 noundef 3)
  br label %116

116:                                              ; preds = %6, %107
  ret void
}

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN5ImGui11IsMouseDownEi(i32 noundef) local_unnamed_addr #8

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui10SetTooltipEPKcz(ptr noundef, ...) local_unnamed_addr #6

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

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

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { inlinehint mustprogress 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 = { 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 #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 = { 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 #6 = { 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 #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 = { 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 #9 = { noreturn nounwind }
attributes #10 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"_ZTS12ImGuiContext", !11, i64 0, !11, i64 1, !12, i64 8, !18, i64 5472, !6, i64 6520, !15, i64 6528, !15, i64 6532, !19, i64 6536, !21, i64 6752, !13, i64 6760, !13, i64 6764, !13, i64 6768, !11, i64 6772, !11, i64 6773, !11, i64 6774, !11, i64 6775, !11, i64 6776, !13, i64 6780, !6, i64 6784, !22, i64 6792, !22, i64 6808, !22, i64 6824, !22, i64 6840, !23, i64 6856, !13, i64 6872, !6, i64 6880, !6, i64 6888, !6, i64 6896, !6, i64 6904, !6, i64 6912, !6, i64 6920, !14, i64 6928, !15, i64 6936, !13, i64 6940, !13, i64 6944, !11, i64 6948, !11, i64 6949, !11, i64 6950, !11, i64 6951, !15, i64 6952, !15, i64 6956, !13, i64 6960, !13, i64 6964, !15, i64 6968, !11, i64 6972, !11, i64 6973, !11, i64 6974, !11, i64 6975, !11, i64 6976, !11, i64 6977, !11, i64 6978, !13, i64 6980, !13, i64 6984, !25, i64 6992, !14, i64 7000, !6, i64 7008, !26, i64 7016, !13, i64 7020, !13, i64 7024, !11, i64 7028, !11, i64 7029, !6, i64 7032, !13, i64 7040, !15, i64 7044, !27, i64 7048, !29, i64 7160, !30, i64 7184, !31, i64 7200, !32, i64 7216, !33, i64 7232, !34, i64 7248, !35, i64 7264, !36, i64 7280, !36, i64 7296, !6, i64 7312, !13, i64 7320, !13, i64 7324, !13, i64 7328, !13, i64 7332, !13, i64 7336, !13, i64 7340, !13, i64 7344, !13, i64 7348, !13, i64 7352, !13, i64 7356, !13, i64 7360, !26, i64 7364, !28, i64 7368, !13, i64 7384, !37, i64 7388, !13, i64 7392, !11, i64 7396, !11, i64 7397, !11, i64 7398, !11, i64 7399, !11, i64 7400, !11, i64 7401, !11, i64 7402, !13, i64 7404, !28, i64 7408, !11, i64 7424, !13, i64 7428, !38, i64 7432, !13, i64 7436, !13, i64 7440, !13, i64 7444, !13, i64 7448, !39, i64 7456, !39, i64 7504, !39, i64 7552, !6, i64 7600, !13, i64 7608, !6, i64 7616, !6, i64 7624, !6, i64 7632, !15, i64 7640, !15, i64 7644, !11, i64 7648, !6, i64 7656, !6, i64 7664, !13, i64 7672, !13, i64 7676, !13, i64 7680, !13, i64 7684, !11, i64 7688, !40, i64 7696, !41, i64 7752, !15, i64 7784, !42, i64 7792, !42, i64 7992, !13, i64 8192, !11, i64 8196, !11, i64 8197, !11, i64 8198, !13, i64 8200, !13, i64 8204, !13, i64 8208, !51, i64 8216, !28, i64 8280, !13, i64 8296, !13, i64 8300, !15, i64 8304, !13, i64 8308, !13, i64 8312, !13, i64 8316, !13, i64 8320, !52, i64 8328, !7, i64 8344, !6, i64 8360, !53, i64 8368, !55, i64 8408, !56, i64 8424, !50, i64 8440, !6, i64 8456, !57, i64 8464, !55, i64 8504, !59, i64 8520, !14, i64 8536, !60, i64 8544, !64, i64 12280, !13, i64 12392, !13, i64 12396, !15, i64 12400, !15, i64 12404, !7, i64 12408, !20, i64 12420, !15, i64 12436, !11, i64 12440, !11, i64 12441, !15, i64 12444, !15, i64 12448, !15, i64 12452, !13, i64 12456, !15, i64 12460, !61, i64 12464, !33, i64 12480, !14, i64 12496, !14, i64 12504, !7, i64 12512, !11, i64 12513, !15, i64 12516, !66, i64 12520, !67, i64 12536, !68, i64 12552, !69, i64 12568, !70, i64 12584, !11, i64 12600, !71, i64 12604, !6, i64 12608, !66, i64 12616, !15, i64 12632, !11, i64 12636, !13, i64 12640, !13, i64 12644, !13, i64 12648, !11, i64 12652, !13, i64 12656, !72, i64 12660, !7, i64 12676, !13, i64 13156, !15, i64 13160, !13, i64 13164, !13, i64 13168, !13, i64 13172, !7, i64 13176}
!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 912, !11, i64 913, !11, i64 914, !11, i64 915, !11, i64 916, !11, i64 917, !11, i64 918, !15, i64 920, !13, i64 924, !13, i64 928, !13, i64 932, !13, i64 936, !13, i64 940, !14, i64 944, !13, i64 952, !14, i64 956, !7, i64 964, !7, i64 1008, !7, i64 1048, !7, i64 1053, !7, i64 1058, !7, i64 1063, !7, i64 1068, !7, i64 1076, !7, i64 1096, !7, i64 1116, !7, i64 1156, !7, i64 1176, !7, i64 3224, !7, i64 5272, !7, i64 5356, !15, i64 5440, !16, i64 5444, !17, i64 5448}
!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, !14, i64 4, !15, i64 12, !15, i64 16, !14, i64 20, !14, i64 28, !13, i64 36, !15, i64 40, !15, i64 44, !15, i64 48, !15, i64 52, !14, i64 56, !15, i64 64, !15, i64 68, !14, i64 72, !14, i64 80, !14, i64 88, !14, i64 96, !15, i64 104, !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, !13, i64 144, !14, i64 148, !14, i64 156, !14, i64 164, !14, i64 172, !15, i64 180, !11, i64 184, !11, i64 185, !11, i64 186, !15, i64 188, !15, i64 192, !7, i64 196}
!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, !7, i64 144, !6, i64 208}
!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 = !{!"_ZTS12ImGuiStorage", !24, i64 0}
!24 = !{!"_ZTS8ImVectorIN12ImGuiStorage16ImGuiStoragePairEE", !13, i64 0, !13, i64 4, !6, i64 8}
!25 = !{!"long long", !7, i64 0}
!26 = !{!"_ZTS16ImGuiInputSource", !7, i64 0}
!27 = !{!"_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, !28, i64 60, !6, i64 80, !6, i64 88, !15, i64 96, !14, i64 100}
!28 = !{!"_ZTS6ImRect", !14, i64 0, !14, i64 8}
!29 = !{!"_ZTS17ImGuiNextItemData", !13, i64 0, !15, i64 4, !13, i64 8, !13, i64 12, !11, i64 16}
!30 = !{!"_ZTS8ImVectorI13ImGuiColorModE", !13, i64 0, !13, i64 4, !6, i64 8}
!31 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !13, i64 0, !13, i64 4, !6, i64 8}
!32 = !{!"_ZTS8ImVectorIP6ImFontE", !13, i64 0, !13, i64 4, !6, i64 8}
!33 = !{!"_ZTS8ImVectorIjE", !13, i64 0, !13, i64 4, !6, i64 8}
!34 = !{!"_ZTS8ImVectorIiE", !13, i64 0, !13, i64 4, !6, i64 8}
!35 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!36 = !{!"_ZTS8ImVectorI14ImGuiPopupDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!37 = !{!"_ZTS13ImGuiNavLayer", !7, i64 0}
!38 = !{!"_ZTS15ImGuiNavForward", !7, i64 0}
!39 = !{!"_ZTS18ImGuiNavMoveResult", !6, i64 0, !13, i64 8, !13, i64 12, !15, i64 16, !15, i64 20, !15, i64 24, !28, i64 28}
!40 = !{!"_ZTS10ImDrawData", !11, i64 0, !6, i64 8, !13, i64 16, !13, i64 20, !13, i64 24, !14, i64 28, !14, i64 36, !14, i64 44}
!41 = !{!"_ZTS17ImDrawDataBuilder", !7, i64 0}
!42 = !{!"_ZTS10ImDrawList", !43, i64 0, !17, i64 16, !44, i64 32, !13, i64 48, !13, i64 52, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !45, i64 88, !46, i64 104, !47, i64 120, !48, i64 136, !49, i64 168, !15, i64 192}
!43 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !13, i64 0, !13, i64 4, !6, i64 8}
!44 = !{!"_ZTS8ImVectorI10ImDrawVertE", !13, i64 0, !13, i64 4, !6, i64 8}
!45 = !{!"_ZTS8ImVectorI6ImVec4E", !13, i64 0, !13, i64 4, !6, i64 8}
!46 = !{!"_ZTS8ImVectorIPvE", !13, i64 0, !13, i64 4, !6, i64 8}
!47 = !{!"_ZTS8ImVectorI6ImVec2E", !13, i64 0, !13, i64 4, !6, i64 8}
!48 = !{!"_ZTS15ImDrawCmdHeader", !20, i64 0, !6, i64 16, !13, i64 24}
!49 = !{!"_ZTS18ImDrawListSplitter", !13, i64 0, !13, i64 4, !50, i64 8}
!50 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !13, i64 0, !13, i64 4, !6, i64 8}
!51 = !{!"_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}
!52 = !{!"_ZTS8ImVectorIhE", !13, i64 0, !13, i64 4, !6, i64 8}
!53 = !{!"_ZTS6ImPoolI10ImGuiTableE", !54, i64 0, !23, i64 16, !13, i64 32}
!54 = !{!"_ZTS8ImVectorI10ImGuiTableE", !13, i64 0, !13, i64 4, !6, i64 8}
!55 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !13, i64 0, !13, i64 4, !6, i64 8}
!56 = !{!"_ZTS8ImVectorIfE", !13, i64 0, !13, i64 4, !6, i64 8}
!57 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !58, i64 0, !23, i64 16, !13, i64 32}
!58 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !13, i64 0, !13, i64 4, !6, i64 8}
!59 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !13, i64 0, !13, i64 4, !6, i64 8}
!60 = !{!"_ZTS19ImGuiInputTextState", !13, i64 0, !13, i64 4, !13, i64 8, !17, i64 16, !61, i64 32, !61, i64 48, !11, i64 64, !13, i64 68, !15, i64 72, !62, i64 76, !15, i64 3704, !11, i64 3708, !11, i64 3709, !11, i64 3710, !13, i64 3712, !6, i64 3720, !6, i64 3728}
!61 = !{!"_ZTS8ImVectorIcE", !13, i64 0, !13, i64 4, !6, i64 8}
!62 = !{!"_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, !63, i64 32}
!63 = !{!"_ZTSN5ImStb12StbUndoStateE", !7, i64 0, !7, i64 1584, !16, i64 3582, !16, i64 3584, !13, i64 3588, !13, i64 3592}
!64 = !{!"_ZTS6ImFont", !56, i64 0, !15, i64 16, !15, i64 20, !17, i64 24, !65, i64 40, !6, i64 56, !6, i64 64, !6, i64 72, !16, i64 80, !16, i64 82, !16, i64 84, !11, i64 86, !15, i64 88, !15, i64 92, !15, i64 96, !13, i64 100, !7, i64 104}
!65 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !13, i64 0, !13, i64 4, !6, i64 8}
!66 = !{!"_ZTS15ImGuiTextBuffer", !61, i64 0}
!67 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !13, i64 0, !13, i64 4, !6, i64 8}
!68 = !{!"_ZTS13ImChunkStreamI19ImGuiWindowSettingsE", !61, i64 0}
!69 = !{!"_ZTS13ImChunkStreamI18ImGuiTableSettingsE", !61, i64 0}
!70 = !{!"_ZTS8ImVectorI16ImGuiContextHookE", !13, i64 0, !13, i64 4, !6, i64 8}
!71 = !{!"_ZTS12ImGuiLogType", !7, i64 0}
!72 = !{!"_ZTS18ImGuiMetricsConfig", !11, i64 0, !11, i64 1, !11, i64 2, !11, i64 3, !11, i64 4, !13, i64 8, !13, i64 12}
!73 = !{i8 0, i8 2}
!74 = !{}
!75 = !{!10, !13, i64 6764}
!76 = !{!10, !13, i64 6760}
!77 = !{!10, !11, i64 6772}
!78 = !{!10, !6, i64 280}
!79 = !{!10, !15, i64 12504}
!80 = !{!10, !15, i64 12496}
!81 = !{!10, !15, i64 12500}
!82 = !{!10, !11, i64 6773}
!83 = !{!10, !6, i64 6880}
!84 = !{!85, !11, i64 144}
!85 = !{!"_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, !7, i64 152, !16, i64 154, !16, i64 156, !16, i64 158, !13, i64 160, !7, i64 164, !7, i64 165, !7, i64 166, !11, i64 167, !13, i64 168, !7, i64 172, !7, i64 173, !7, i64 174, !13, i64 175, !13, i64 176, !13, i64 177, !14, i64 180, !14, i64 188, !33, i64 200, !86, i64 216, !28, i64 520, !28, i64 536, !28, i64 552, !28, i64 568, !28, i64 584, !28, i64 600, !28, i64 616, !90, i64 632, !90, i64 636, !13, i64 640, !15, i64 644, !15, i64 648, !23, i64 656, !91, i64 672, !15, i64 688, !13, i64 692, !6, i64 696, !42, i64 704, !6, i64 904, !6, i64 912, !6, i64 920, !6, i64 928, !6, i64 936, !7, i64 944, !7, i64 952, !13, i64 984, !13, i64 988, !11, i64 992}
!86 = !{!"_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, !87, i64 64, !87, i64 68, !87, i64 72, !13, i64 76, !13, i64 80, !28, i64 84, !28, i64 100, !37, i64 116, !13, i64 120, !13, i64 124, !13, i64 128, !11, i64 132, !11, i64 133, !11, i64 134, !14, i64 136, !88, i64 144, !13, i64 180, !13, i64 184, !22, i64 192, !6, i64 208, !6, i64 216, !13, i64 224, !13, i64 228, !13, i64 232, !13, i64 236, !13, i64 240, !13, i64 244, !15, i64 248, !15, i64 252, !56, i64 256, !56, i64 272, !89, i64 288}
!87 = !{!"_ZTS6ImVec1", !15, i64 0}
!88 = !{!"_ZTS16ImGuiMenuColumns", !15, i64 0, !15, i64 4, !15, i64 8, !7, i64 12, !7, i64 24}
!89 = !{!"_ZTS15ImGuiStackSizes", !16, i64 0, !16, i64 2, !16, i64 4, !16, i64 6, !16, i64 8, !16, i64 10, !16, i64 12}
!90 = !{!"_ZTS8ImVec2ih", !16, i64 0, !16, i64 2}
!91 = !{!"_ZTS8ImVectorI15ImGuiOldColumnsE", !13, i64 0, !13, i64 4, !6, i64 8}
!92 = !{!85, !11, i64 142}
!93 = !{!10, !11, i64 8196}
!94 = !{!10, !11, i64 8274}
!95 = !{!10, !13, i64 8236}
!96 = !{!10, !13, i64 8200}
!97 = !{!10, !13, i64 8208}
!98 = !{!10, !13, i64 8204}
!99 = !{!10, !11, i64 8197}
!100 = !{!10, !13, i64 6792}
!101 = !{!10, !13, i64 6824}
!102 = !{!85, !13, i64 12}
!103 = distinct !{!103, !104}
!104 = !{!"llvm.loop.mustprogress"}
!105 = !{!10, !13, i64 6872}
!106 = !{!10, !13, i64 944}
!107 = !{!10, !6, i64 168}
!108 = !{!109, !11, i64 0}
!109 = !{!"_ZTS11ImFontAtlas", !11, i64 0, !13, i64 4, !6, i64 8, !13, i64 16, !13, i64 20, !6, i64 24, !6, i64 32, !13, i64 40, !13, i64 44, !14, i64 48, !14, i64 56, !32, i64 64, !110, i64 80, !111, i64 96, !7, i64 112, !13, i64 1136, !13, i64 1140}
!110 = !{!"_ZTS8ImVectorI21ImFontAtlasCustomRectE", !13, i64 0, !13, i64 4, !6, i64 8}
!111 = !{!"_ZTS8ImVectorI12ImFontConfigE", !13, i64 0, !13, i64 4, !6, i64 8}
!112 = !{!15, !15, i64 0}


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