; LLVM IR from drohmer/cgp :: library/third_party/src/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, i8, [5 x i8], %struct.ImGuiIO, %struct.ImGuiStyle, ptr, float, float, %struct.ImDrawListSharedData, double, i32, i32, i32, [4 x i8], %class.ImVector, %class.ImVector, %class.ImVector, %class.ImVector, %struct.ImGuiStorage, i32, [4 x i8], ptr, ptr, ptr, i32, i8, [3 x i8], i32, float, float, i32, i32, i32, float, i8, i8, i8, i8, i8, [3 x i8], i32, %struct.ImVec2, ptr, ptr, i32, i32, float, [4 x i8], ptr, %class.ImVector.1, %class.ImVector.2, %class.ImVector.3, %class.ImVector.4, %class.ImVector.4, %struct.ImGuiNextWindowData, i8, [3 x i8], i32, ptr, i32, i32, i32, i32, i32, i32, i32, i32, i32, %struct.ImRect, i32, ptr, ptr, ptr, float, float, i8, [3 x i8], i32, i32, i8, i8, i8, i8, i8, i8, i8, i8, i32, %struct.ImRect, i8, i8, [2 x i8], i32, i32, i32, i32, i32, %struct.ImGuiNavMoveResult, %struct.ImGuiNavMoveResult, %struct.ImGuiNavMoveResult, %struct.ImDrawData, %struct.ImDrawDataBuilder, float, [4 x i8], %struct.ImDrawList, i32, i8, i8, [2 x i8], i32, i32, i32, [4 x i8], %struct.ImGuiPayload, %struct.ImRect, i32, i32, float, i32, i32, i32, %class.ImVector.13, [8 x i8], %struct.ImGuiInputTextState, %struct.ImFont, i32, i32, %struct.ImVec4, i8, [3 x i8], float, float, %struct.ImVec2, i32, %class.ImVector.14, %struct.ImVec2, %struct.ImVec2, i8, [3 x i8], float, %struct.ImGuiTextBuffer, %class.ImVector.17, %class.ImVector.18, i8, [7 x i8], ptr, %struct.ImGuiTextBuffer, i32, i32, [120 x float], i32, float, i32, i32, i32, [3073 x i8], [3 x i8] }>
%struct.ImGuiIO = type { i32, i32, %struct.ImVec2, float, float, ptr, ptr, float, float, float, [21 x i32], float, float, ptr, ptr, float, i8, ptr, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, i8, i8, i8, i8, ptr, ptr, ptr, ptr, ptr, ptr, %struct.ImVec2, [5 x i8], float, float, i8, i8, i8, i8, [512 x i8], [17 x i16], [21 x float], i8, i8, i8, i8, i8, i8, i8, float, i32, i32, i32, i32, i32, %struct.ImVec2, %struct.ImVec2, [5 x %struct.ImVec2], [5 x double], [5 x i8], [5 x i8], [5 x i8], [5 x i8], [5 x float], [5 x float], [5 x %struct.ImVec2], [5 x float], [512 x float], [512 x float], [21 x float], [21 x float] }
%struct.ImGuiStyle = type { float, %struct.ImVec2, float, float, %struct.ImVec2, %struct.ImVec2, float, float, float, float, %struct.ImVec2, float, float, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, float, float, float, float, float, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, i8, i8, float, [43 x %struct.ImVec4] }
%struct.ImDrawListSharedData = type { %struct.ImVec2, ptr, float, float, %struct.ImVec4, [12 x %struct.ImVec2] }
%class.ImVector = type { i32, i32, ptr }
%struct.ImGuiStorage = type { %class.ImVector.0 }
%class.ImVector.0 = type { i32, i32, ptr }
%class.ImVector.1 = type { i32, i32, ptr }
%class.ImVector.2 = type { i32, i32, ptr }
%class.ImVector.3 = type { i32, i32, ptr }
%class.ImVector.4 = type { i32, i32, ptr }
%struct.ImGuiNextWindowData = type <{ i32, i32, i32, i32, i32, i32, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, i8, [3 x i8], %struct.ImRect, ptr, ptr, float, %struct.ImVec2, [4 x i8] }>
%struct.ImGuiNavMoveResult = type <{ i32, [4 x i8], ptr, float, float, float, %struct.ImRect, [4 x i8] }>
%struct.ImDrawData = type <{ i8, [7 x i8], ptr, i32, i32, i32, %struct.ImVec2, %struct.ImVec2, [4 x i8] }>
%struct.ImDrawDataBuilder = type { [2 x %class.ImVector.5] }
%class.ImVector.5 = type { i32, i32, ptr }
%struct.ImDrawList = type { %class.ImVector.6, %class.ImVector.7, %class.ImVector.8, i32, ptr, ptr, i32, ptr, ptr, %class.ImVector.9, %class.ImVector.10, %class.ImVector.11, i32, i32, %class.ImVector.12 }
%class.ImVector.6 = type { i32, i32, ptr }
%class.ImVector.7 = type { i32, i32, ptr }
%class.ImVector.8 = type { i32, i32, ptr }
%class.ImVector.9 = type { i32, i32, ptr }
%class.ImVector.10 = type { i32, i32, ptr }
%class.ImVector.11 = type { i32, i32, ptr }
%class.ImVector.12 = type { i32, i32, ptr }
%struct.ImGuiPayload = type <{ ptr, i32, i32, i32, i32, [33 x i8], i8, i8, [5 x i8] }>
%struct.ImRect = type { %struct.ImVec2, %struct.ImVec2 }
%class.ImVector.13 = type { i32, i32, ptr }
%struct.ImGuiInputTextState = type { i32, %class.ImVector.7, %class.ImVector.14, %class.ImVector.14, i32, i32, i32, float, %"struct.ImGuiStb::STB_TexteditState", float, i8, i8, i32, ptr, ptr }
%"struct.ImGuiStb::STB_TexteditState" = type { i32, i32, i32, i8, i8, i8, i8, i8, i8, i8, i8, float, %"struct.ImGuiStb::StbUndoState" }
%"struct.ImGuiStb::StbUndoState" = type { [99 x %"struct.ImGuiStb::StbUndoRecord"], [999 x i16], i16, i16, i32, i32 }
%"struct.ImGuiStb::StbUndoRecord" = type { i32, i32, i32, i32 }
%struct.ImFont = type { float, float, %struct.ImVec2, %class.ImVector.15, %class.ImVector.16, %class.ImVector.7, ptr, float, i16, i16, ptr, ptr, float, float, i8, i32 }
%class.ImVector.15 = type { i32, i32, ptr }
%class.ImVector.16 = type { i32, i32, ptr }
%struct.ImVec4 = type { float, float, float, float }
%class.ImVector.14 = type { i32, i32, ptr }
%class.ImVector.17 = type { i32, i32, ptr }
%class.ImVector.18 = type { i32, i32, ptr }
%struct.ImGuiTextBuffer = type { %class.ImVector.14 }
%struct.ImGuiWindow = type { ptr, i32, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, float, i32, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i32, i32, i32, i32, i32, i32, i8, i32, i32, i32, i32, i32, i32, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImGuiWindowTempData, %class.ImVector.22, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImRect, i32, float, %struct.ImGuiMenuColumns, %struct.ImGuiStorage, %class.ImVector.23, float, i32, ptr, %struct.ImDrawList, ptr, ptr, ptr, ptr, ptr, [2 x i32], [2 x %struct.ImRect], i32, i32, i32, i32, i32, i32 }
%struct.ImGuiWindowTempData = type { %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, %struct.ImVec2, float, float, i32, i32, i32, i32, %struct.ImRect, %struct.ImRect, i8, i8, i32, i32, i32, i32, i8, %struct.ImVec2, %class.ImVector, ptr, i32, i32, i32, float, float, %class.ImVector.20, %class.ImVector.16, %class.ImVector.16, %class.ImVector.21, [6 x i32], %struct.ImVec1, %struct.ImVec1, %struct.ImVec1, ptr }
%class.ImVector.20 = type { i32, i32, ptr }
%class.ImVector.21 = type { i32, i32, ptr }
%struct.ImVec1 = type { float }
%class.ImVector.22 = type { i32, i32, ptr }
%struct.ImGuiMenuColumns = type { i32, float, float, float, [4 x float], [4 x float] }
%class.ImVector.23 = type { i32, i32, ptr }
%struct.ImFontAtlas = type <{ i8, [3 x i8], i32, ptr, i32, i32, ptr, ptr, i32, i32, %struct.ImVec2, %struct.ImVec2, %class.ImVector.3, %class.ImVector.25, %class.ImVector.26, [1 x i32], [4 x i8] }>
%class.ImVector.25 = type { i32, i32, ptr }
%class.ImVector.26 = type { i32, i32, ptr }

@GImGui = external dso_local global ptr, align 8
@.str.3 = external hidden unnamed_addr constant [85 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [14 x i8], align 1
@__PRETTY_FUNCTION__._ZN5ImGui8EndFrameEv = external hidden unnamed_addr constant [23 x i8], align 1
@.str.52 = external hidden unnamed_addr constant [57 x i8], align 1
@.str.53 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.54 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.55 = external hidden unnamed_addr constant [43 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 hidden <2 x float> @_ZmiRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8)) #3

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui22StartMouseMovingWindowEP11ImGuiWindow(ptr noundef) #6

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN5ImGui8EndFrameEv() #6 {
  %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 ptr, align 8
  %7 = alloca i8, align 1
  %8 = alloca i32, align 4
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca ptr, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %1) #10
  %12 = load ptr, ptr @GImGui, align 8, !tbaa !5
  store ptr %12, ptr %1, align 8, !tbaa !5
  %13 = load ptr, ptr %1, align 8, !tbaa !5
  %14 = getelementptr inbounds %struct.ImGuiContext, ptr %13, i32 0, i32 0
  %15 = load i8, ptr %14, align 8, !tbaa !9, !range !55, !noundef !56
  %16 = trunc i8 %15 to i1
  br i1 %16, label %17, label %18

17:                                               ; preds = %0
  br label %20

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

19:                                               ; No predecessors!
  br label %20

20:                                               ; preds = %19, %17
  %21 = load ptr, ptr %1, align 8, !tbaa !5
  %22 = getelementptr inbounds %struct.ImGuiContext, ptr %21, i32 0, i32 12
  %23 = load i32, ptr %22, align 4, !tbaa !57
  %24 = load ptr, ptr %1, align 8, !tbaa !5
  %25 = getelementptr inbounds %struct.ImGuiContext, ptr %24, i32 0, i32 11
  %26 = load i32, ptr %25, align 8, !tbaa !58
  %27 = icmp eq i32 %23, %26
  br i1 %27, label %28, label %29

28:                                               ; preds = %20
  store i32 1, ptr %2, align 4
  br label %380

29:                                               ; preds = %20
  %30 = load ptr, ptr %1, align 8, !tbaa !5
  %31 = getelementptr inbounds %struct.ImGuiContext, ptr %30, i32 0, i32 1
  %32 = load i8, ptr %31, align 1, !tbaa !59, !range !55, !noundef !56
  %33 = trunc i8 %32 to i1
  br i1 %33, label %34, label %35

34:                                               ; preds = %29
  br label %35

35:                                               ; preds = %34, %29
  %36 = phi i1 [ false, %29 ], [ true, %34 ]
  br i1 %36, label %37, label %38

37:                                               ; preds = %35
  br label %40

38:                                               ; preds = %35
  call void @__assert_fail(ptr noundef @.str.52, ptr noundef @.str.3, i32 noundef 3539, ptr noundef @__PRETTY_FUNCTION__._ZN5ImGui8EndFrameEv) #11
  unreachable

39:                                               ; No predecessors!
  br label %40

40:                                               ; preds = %39, %37
  %41 = load ptr, ptr %1, align 8, !tbaa !5
  %42 = getelementptr inbounds %struct.ImGuiContext, ptr %41, i32 0, i32 4
  %43 = getelementptr inbounds %struct.ImGuiIO, ptr %42, i32 0, i32 28
  %44 = load ptr, ptr %43, align 8, !tbaa !60
  %45 = icmp ne ptr %44, null
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #10
  br i1 %45, label %46, label %54

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

54:                                               ; preds = %46, %40
  %55 = phi i1 [ false, %40 ], [ %53, %46 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #10
  br i1 %55, label %56, label %75

56:                                               ; preds = %54
  %57 = load ptr, ptr %1, align 8, !tbaa !5
  %58 = getelementptr inbounds %struct.ImGuiContext, ptr %57, i32 0, i32 4
  %59 = getelementptr inbounds %struct.ImGuiIO, ptr %58, i32 0, i32 28
  %60 = load ptr, ptr %59, align 8, !tbaa !60
  %61 = load ptr, ptr %1, align 8, !tbaa !5
  %62 = getelementptr inbounds %struct.ImGuiContext, ptr %61, i32 0, i32 136
  %63 = getelementptr inbounds %struct.ImVec2, ptr %62, i32 0, i32 0
  %64 = load float, ptr %63, align 8, !tbaa !61
  %65 = fptosi float %64 to i32
  %66 = load ptr, ptr %1, align 8, !tbaa !5
  %67 = getelementptr inbounds %struct.ImGuiContext, ptr %66, i32 0, i32 136
  %68 = getelementptr inbounds %struct.ImVec2, ptr %67, i32 0, i32 1
  %69 = load float, ptr %68, align 4, !tbaa !62
  %70 = fptosi float %69 to i32
  call void %60(i32 noundef %65, i32 noundef %70)
  %71 = load ptr, ptr %1, align 8, !tbaa !5
  %72 = getelementptr inbounds %struct.ImGuiContext, ptr %71, i32 0, i32 136
  %73 = load ptr, ptr %1, align 8, !tbaa !5
  %74 = getelementptr inbounds %struct.ImGuiContext, ptr %73, i32 0, i32 137
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %74, ptr align 8 %72, i64 8, i1 false), !tbaa.struct !63
  br label %75

75:                                               ; preds = %56, %54
  %76 = load ptr, ptr %1, align 8, !tbaa !5
  %77 = getelementptr inbounds %struct.ImGuiContext, ptr %76, i32 0, i32 18
  %78 = getelementptr inbounds %class.ImVector, ptr %77, i32 0, i32 0
  %79 = load i32, ptr %78, align 8, !tbaa !65
  %80 = icmp eq i32 %79, 1
  br i1 %80, label %81, label %82

81:                                               ; preds = %75
  br label %84

82:                                               ; preds = %75
  call void @__assert_fail(ptr noundef @.str.53, ptr noundef @.str.3, i32 noundef 3549, ptr noundef @__PRETTY_FUNCTION__._ZN5ImGui8EndFrameEv) #11
  unreachable

83:                                               ; No predecessors!
  br label %84

84:                                               ; preds = %83, %81
  %85 = load ptr, ptr %1, align 8, !tbaa !5
  %86 = getelementptr inbounds %struct.ImGuiContext, ptr %85, i32 0, i32 22
  %87 = load ptr, ptr %86, align 8, !tbaa !66
  %88 = icmp ne ptr %87, null
  br i1 %88, label %89, label %101

89:                                               ; preds = %84
  %90 = load ptr, ptr %1, align 8, !tbaa !5
  %91 = getelementptr inbounds %struct.ImGuiContext, ptr %90, i32 0, i32 22
  %92 = load ptr, ptr %91, align 8, !tbaa !66
  %93 = getelementptr inbounds %struct.ImGuiWindow, ptr %92, i32 0, i32 22
  %94 = load i8, ptr %93, align 4, !tbaa !67, !range !55, !noundef !56
  %95 = trunc i8 %94 to i1
  br i1 %95, label %101, label %96

96:                                               ; preds = %89
  %97 = load ptr, ptr %1, align 8, !tbaa !5
  %98 = getelementptr inbounds %struct.ImGuiContext, ptr %97, i32 0, i32 22
  %99 = load ptr, ptr %98, align 8, !tbaa !66
  %100 = getelementptr inbounds %struct.ImGuiWindow, ptr %99, i32 0, i32 20
  store i8 0, ptr %100, align 2, !tbaa !76
  br label %101

101:                                              ; preds = %96, %89, %84
  call void @_ZN5ImGui3EndEv()
  %102 = load ptr, ptr %1, align 8, !tbaa !5
  %103 = getelementptr inbounds %struct.ImGuiContext, ptr %102, i32 0, i32 71
  %104 = load ptr, ptr %103, align 8, !tbaa !77
  %105 = icmp ne ptr %104, null
  br i1 %105, label %106, label %107

106:                                              ; preds = %101
  call void @_ZN5ImGuiL22NavUpdateWindowingListEv()
  br label %107

107:                                              ; preds = %106, %101
  %108 = load ptr, ptr %1, align 8, !tbaa !5
  %109 = getelementptr inbounds %struct.ImGuiContext, ptr %108, i32 0, i32 107
  %110 = load i8, ptr %109, align 4, !tbaa !78, !range !55, !noundef !56
  %111 = trunc i8 %110 to i1
  br i1 %111, label %112, label %152

112:                                              ; preds = %107
  call void @llvm.lifetime.start.p0(i64 1, ptr %4) #10
  %113 = load ptr, ptr %1, align 8, !tbaa !5
  %114 = getelementptr inbounds %struct.ImGuiContext, ptr %113, i32 0, i32 114
  %115 = getelementptr inbounds %struct.ImGuiPayload, ptr %114, i32 0, i32 7
  %116 = load i8, ptr %115, align 2, !tbaa !79, !range !55, !noundef !56
  %117 = trunc i8 %116 to i1
  %118 = zext i1 %117 to i8
  store i8 %118, ptr %4, align 1, !tbaa !80
  call void @llvm.lifetime.start.p0(i64 1, ptr %5) #10
  %119 = load ptr, ptr %1, align 8, !tbaa !5
  %120 = getelementptr inbounds %struct.ImGuiContext, ptr %119, i32 0, i32 114
  %121 = getelementptr inbounds %struct.ImGuiPayload, ptr %120, i32 0, i32 4
  %122 = load i32, ptr %121, align 4, !tbaa !81
  %123 = add nsw i32 %122, 1
  %124 = load ptr, ptr %1, align 8, !tbaa !5
  %125 = getelementptr inbounds %struct.ImGuiContext, ptr %124, i32 0, i32 11
  %126 = load i32, ptr %125, align 8, !tbaa !58
  %127 = icmp slt i32 %123, %126
  br i1 %127, label %128, label %142

128:                                              ; preds = %112
  %129 = load ptr, ptr %1, align 8, !tbaa !5
  %130 = getelementptr inbounds %struct.ImGuiContext, ptr %129, i32 0, i32 110
  %131 = load i32, ptr %130, align 8, !tbaa !82
  %132 = and i32 %131, 32
  %133 = icmp ne i32 %132, 0
  br i1 %133, label %140, label %134

134:                                              ; preds = %128
  %135 = load ptr, ptr %1, align 8, !tbaa !5
  %136 = getelementptr inbounds %struct.ImGuiContext, ptr %135, i32 0, i32 112
  %137 = load i32, ptr %136, align 8, !tbaa !83
  %138 = call noundef zeroext i1 @_ZN5ImGui11IsMouseDownEi(i32 noundef %137)
  %139 = xor i1 %138, true
  br label %140

140:                                              ; preds = %134, %128
  %141 = phi i1 [ true, %128 ], [ %139, %134 ]
  br label %142

142:                                              ; preds = %140, %112
  %143 = phi i1 [ false, %112 ], [ %141, %140 ]
  %144 = zext i1 %143 to i8
  store i8 %144, ptr %5, align 1, !tbaa !80
  %145 = load i8, ptr %4, align 1, !tbaa !80, !range !55, !noundef !56
  %146 = trunc i8 %145 to i1
  br i1 %146, label %150, label %147

147:                                              ; preds = %142
  %148 = load i8, ptr %5, align 1, !tbaa !80, !range !55, !noundef !56
  %149 = trunc i8 %148 to i1
  br i1 %149, label %150, label %151

150:                                              ; preds = %147, %142
  call void @_ZN5ImGui13ClearDragDropEv()
  br label %151

151:                                              ; preds = %150, %147
  call void @llvm.lifetime.end.p0(i64 1, ptr %5) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr %4) #10
  br label %152

152:                                              ; preds = %151, %107
  %153 = load ptr, ptr %1, align 8, !tbaa !5
  %154 = getelementptr inbounds %struct.ImGuiContext, ptr %153, i32 0, i32 107
  %155 = load i8, ptr %154, align 4, !tbaa !78, !range !55, !noundef !56
  %156 = trunc i8 %155 to i1
  br i1 %156, label %157, label %170

157:                                              ; preds = %152
  %158 = load ptr, ptr %1, align 8, !tbaa !5
  %159 = getelementptr inbounds %struct.ImGuiContext, ptr %158, i32 0, i32 111
  %160 = load i32, ptr %159, align 4, !tbaa !84
  %161 = load ptr, ptr %1, align 8, !tbaa !5
  %162 = getelementptr inbounds %struct.ImGuiContext, ptr %161, i32 0, i32 11
  %163 = load i32, ptr %162, align 8, !tbaa !58
  %164 = icmp slt i32 %160, %163
  br i1 %164, label %165, label %170

165:                                              ; preds = %157
  %166 = load ptr, ptr %1, align 8, !tbaa !5
  %167 = getelementptr inbounds %struct.ImGuiContext, ptr %166, i32 0, i32 108
  store i8 1, ptr %167, align 1, !tbaa !85
  call void (ptr, ...) @_ZN5ImGui10SetTooltipEPKcz(ptr noundef @.str.54)
  %168 = load ptr, ptr %1, align 8, !tbaa !5
  %169 = getelementptr inbounds %struct.ImGuiContext, ptr %168, i32 0, i32 108
  store i8 0, ptr %169, align 1, !tbaa !85
  br label %170

170:                                              ; preds = %165, %157, %152
  %171 = load ptr, ptr %1, align 8, !tbaa !5
  %172 = getelementptr inbounds %struct.ImGuiContext, ptr %171, i32 0, i32 31
  %173 = load i32, ptr %172, align 4, !tbaa !86
  %174 = icmp eq i32 %173, 0
  br i1 %174, label %175, label %286

175:                                              ; preds = %170
  %176 = load ptr, ptr %1, align 8, !tbaa !5
  %177 = getelementptr inbounds %struct.ImGuiContext, ptr %176, i32 0, i32 25
  %178 = load i32, ptr %177, align 8, !tbaa !87
  %179 = icmp eq i32 %178, 0
  br i1 %179, label %180, label %286

180:                                              ; preds = %175
  %181 = load ptr, ptr %1, align 8, !tbaa !5
  %182 = getelementptr inbounds %struct.ImGuiContext, ptr %181, i32 0, i32 59
  %183 = load ptr, ptr %182, align 8, !tbaa !88
  %184 = icmp ne ptr %183, null
  br i1 %184, label %185, label %192

185:                                              ; preds = %180
  %186 = load ptr, ptr %1, align 8, !tbaa !5
  %187 = getelementptr inbounds %struct.ImGuiContext, ptr %186, i32 0, i32 59
  %188 = load ptr, ptr %187, align 8, !tbaa !88
  %189 = getelementptr inbounds %struct.ImGuiWindow, ptr %188, i32 0, i32 26
  %190 = load i8, ptr %189, align 8, !tbaa !89, !range !55, !noundef !56
  %191 = trunc i8 %190 to i1
  br i1 %191, label %285, label %192

192:                                              ; preds = %185, %180
  %193 = load ptr, ptr %1, align 8, !tbaa !5
  %194 = getelementptr inbounds %struct.ImGuiContext, ptr %193, i32 0, i32 4
  %195 = getelementptr inbounds %struct.ImGuiIO, ptr %194, i32 0, i32 59
  %196 = getelementptr inbounds [5 x i8], ptr %195, i64 0, i64 0
  %197 = load i8, ptr %196, align 8, !tbaa !80, !range !55, !noundef !56
  %198 = trunc i8 %197 to i1
  br i1 %198, label %199, label %219

199:                                              ; preds = %192
  %200 = load ptr, ptr %1, align 8, !tbaa !5
  %201 = getelementptr inbounds %struct.ImGuiContext, ptr %200, i32 0, i32 24
  %202 = load ptr, ptr %201, align 8, !tbaa !90
  %203 = icmp ne ptr %202, null
  br i1 %203, label %204, label %208

204:                                              ; preds = %199
  %205 = load ptr, ptr %1, align 8, !tbaa !5
  %206 = getelementptr inbounds %struct.ImGuiContext, ptr %205, i32 0, i32 23
  %207 = load ptr, ptr %206, align 8, !tbaa !91
  call void @_ZN5ImGui22StartMouseMovingWindowEP11ImGuiWindow(ptr noundef %207)
  br label %218

208:                                              ; preds = %199
  %209 = load ptr, ptr %1, align 8, !tbaa !5
  %210 = getelementptr inbounds %struct.ImGuiContext, ptr %209, i32 0, i32 59
  %211 = load ptr, ptr %210, align 8, !tbaa !88
  %212 = icmp ne ptr %211, null
  br i1 %212, label %213, label %217

213:                                              ; preds = %208
  %214 = call noundef ptr @_ZN5ImGui22GetFrontMostPopupModalEv()
  %215 = icmp eq ptr %214, null
  br i1 %215, label %216, label %217

216:                                              ; preds = %213
  call void @_ZN5ImGui11FocusWindowEP11ImGuiWindow(ptr noundef null)
  br label %217

217:                                              ; preds = %216, %213, %208
  br label %218

218:                                              ; preds = %217, %204
  br label %219

219:                                              ; preds = %218, %192
  %220 = load ptr, ptr %1, align 8, !tbaa !5
  %221 = getelementptr inbounds %struct.ImGuiContext, ptr %220, i32 0, i32 4
  %222 = getelementptr inbounds %struct.ImGuiIO, ptr %221, i32 0, i32 59
  %223 = getelementptr inbounds [5 x i8], ptr %222, i64 0, i64 1
  %224 = load i8, ptr %223, align 1, !tbaa !80, !range !55, !noundef !56
  %225 = trunc i8 %224 to i1
  br i1 %225, label %226, label %284

226:                                              ; preds = %219
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #10
  %227 = call noundef ptr @_ZN5ImGui22GetFrontMostPopupModalEv()
  store ptr %227, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %7) #10
  store i8 0, ptr %7, align 1, !tbaa !80
  %228 = load ptr, ptr %6, align 8, !tbaa !5
  %229 = icmp eq ptr %228, null
  br i1 %229, label %230, label %231

230:                                              ; preds = %226
  store i8 1, ptr %7, align 1, !tbaa !80
  br label %231

231:                                              ; preds = %230, %226
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #10
  %232 = load ptr, ptr %1, align 8, !tbaa !5
  %233 = getelementptr inbounds %struct.ImGuiContext, ptr %232, i32 0, i32 15
  %234 = getelementptr inbounds %class.ImVector, ptr %233, i32 0, i32 0
  %235 = load i32, ptr %234, align 8, !tbaa !92
  %236 = sub nsw i32 %235, 1
  store i32 %236, ptr %8, align 4, !tbaa !93
  br label %237

237:                                              ; preds = %269, %231
  %238 = load i32, ptr %8, align 4, !tbaa !93
  %239 = icmp sge i32 %238, 0
  br i1 %239, label %240, label %245

240:                                              ; preds = %237
  %241 = load i8, ptr %7, align 1, !tbaa !80, !range !55, !noundef !56
  %242 = trunc i8 %241 to i1
  %243 = zext i1 %242 to i32
  %244 = icmp eq i32 %243, 0
  br label %245

245:                                              ; preds = %240, %237
  %246 = phi i1 [ false, %237 ], [ %244, %240 ]
  br i1 %246, label %248, label %247

247:                                              ; preds = %245
  store i32 2, ptr %2, align 4
  br label %272

248:                                              ; preds = %245
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #10
  %249 = load ptr, ptr %1, align 8, !tbaa !5
  %250 = getelementptr inbounds %struct.ImGuiContext, ptr %249, i32 0, i32 15
  %251 = load i32, ptr %8, align 4, !tbaa !93
  %252 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8ImVectorIP11ImGuiWindowEixEi(ptr noundef nonnull align 8 dereferenceable(16) %250, i32 noundef %251)
  %253 = load ptr, ptr %252, align 8, !tbaa !5
  store ptr %253, ptr %9, align 8, !tbaa !5
  %254 = load ptr, ptr %9, align 8, !tbaa !5
  %255 = load ptr, ptr %6, align 8, !tbaa !5
  %256 = icmp eq ptr %254, %255
  br i1 %256, label %257, label %258

257:                                              ; preds = %248
  store i32 2, ptr %2, align 4
  br label %266

258:                                              ; preds = %248
  %259 = load ptr, ptr %9, align 8, !tbaa !5
  %260 = load ptr, ptr %1, align 8, !tbaa !5
  %261 = getelementptr inbounds %struct.ImGuiContext, ptr %260, i32 0, i32 23
  %262 = load ptr, ptr %261, align 8, !tbaa !91
  %263 = icmp eq ptr %259, %262
  br i1 %263, label %264, label %265

264:                                              ; preds = %258
  store i8 1, ptr %7, align 1, !tbaa !80
  br label %265

265:                                              ; preds = %264, %258
  store i32 0, ptr %2, align 4
  br label %266

266:                                              ; preds = %265, %257
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #10
  %267 = load i32, ptr %2, align 4
  switch i32 %267, label %272 [
    i32 0, label %268
  ]

268:                                              ; preds = %266
  br label %269

269:                                              ; preds = %268
  %270 = load i32, ptr %8, align 4, !tbaa !93
  %271 = add nsw i32 %270, -1
  store i32 %271, ptr %8, align 4, !tbaa !93
  br label %237, !llvm.loop !94

272:                                              ; preds = %266, %247
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #10
  br label %273

273:                                              ; preds = %272
  %274 = load i8, ptr %7, align 1, !tbaa !80, !range !55, !noundef !56
  %275 = trunc i8 %274 to i1
  br i1 %275, label %276, label %280

276:                                              ; preds = %273
  %277 = load ptr, ptr %1, align 8, !tbaa !5
  %278 = getelementptr inbounds %struct.ImGuiContext, ptr %277, i32 0, i32 23
  %279 = load ptr, ptr %278, align 8, !tbaa !91
  br label %282

280:                                              ; preds = %273
  %281 = load ptr, ptr %6, align 8, !tbaa !5
  br label %282

282:                                              ; preds = %280, %276
  %283 = phi ptr [ %279, %276 ], [ %281, %280 ]
  call void @_ZN5ImGui21ClosePopupsOverWindowEP11ImGuiWindow(ptr noundef %283)
  call void @llvm.lifetime.end.p0(i64 1, ptr %7) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #10
  br label %284

284:                                              ; preds = %282, %219
  br label %285

285:                                              ; preds = %284, %185
  br label %286

286:                                              ; preds = %285, %175, %170
  %287 = load ptr, ptr %1, align 8, !tbaa !5
  %288 = getelementptr inbounds %struct.ImGuiContext, ptr %287, i32 0, i32 17
  call void @_ZN8ImVectorIP11ImGuiWindowE6resizeEi(ptr noundef nonnull align 8 dereferenceable(16) %288, i32 noundef 0)
  %289 = load ptr, ptr %1, align 8, !tbaa !5
  %290 = getelementptr inbounds %struct.ImGuiContext, ptr %289, i32 0, i32 17
  %291 = load ptr, ptr %1, align 8, !tbaa !5
  %292 = getelementptr inbounds %struct.ImGuiContext, ptr %291, i32 0, i32 15
  %293 = getelementptr inbounds %class.ImVector, ptr %292, i32 0, i32 0
  %294 = load i32, ptr %293, align 8, !tbaa !92
  call void @_ZN8ImVectorIP11ImGuiWindowE7reserveEi(ptr noundef nonnull align 8 dereferenceable(16) %290, i32 noundef %294)
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #10
  store i32 0, ptr %10, align 4, !tbaa !93
  br label %295

295:                                              ; preds = %327, %286
  %296 = load i32, ptr %10, align 4, !tbaa !93
  %297 = load ptr, ptr %1, align 8, !tbaa !5
  %298 = getelementptr inbounds %struct.ImGuiContext, ptr %297, i32 0, i32 15
  %299 = getelementptr inbounds %class.ImVector, ptr %298, i32 0, i32 0
  %300 = load i32, ptr %299, align 8, !tbaa !92
  %301 = icmp ne i32 %296, %300
  br i1 %301, label %303, label %302

302:                                              ; preds = %295
  store i32 5, ptr %2, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #10
  br label %330

303:                                              ; preds = %295
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #10
  %304 = load ptr, ptr %1, align 8, !tbaa !5
  %305 = getelementptr inbounds %struct.ImGuiContext, ptr %304, i32 0, i32 15
  %306 = load i32, ptr %10, align 4, !tbaa !93
  %307 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8ImVectorIP11ImGuiWindowEixEi(ptr noundef nonnull align 8 dereferenceable(16) %305, i32 noundef %306)
  %308 = load ptr, ptr %307, align 8, !tbaa !5
  store ptr %308, ptr %11, align 8, !tbaa !5
  %309 = load ptr, ptr %11, align 8, !tbaa !5
  %310 = getelementptr inbounds %struct.ImGuiWindow, ptr %309, i32 0, i32 20
  %311 = load i8, ptr %310, align 2, !tbaa !76, !range !55, !noundef !56
  %312 = trunc i8 %311 to i1
  br i1 %312, label %313, label %320

313:                                              ; preds = %303
  %314 = load ptr, ptr %11, align 8, !tbaa !5
  %315 = getelementptr inbounds %struct.ImGuiWindow, ptr %314, i32 0, i32 2
  %316 = load i32, ptr %315, align 4, !tbaa !96
  %317 = and i32 %316, 16777216
  %318 = icmp ne i32 %317, 0
  br i1 %318, label %319, label %320

319:                                              ; preds = %313
  store i32 7, ptr %2, align 4
  br label %324

320:                                              ; preds = %313, %303
  %321 = load ptr, ptr %1, align 8, !tbaa !5
  %322 = getelementptr inbounds %struct.ImGuiContext, ptr %321, i32 0, i32 17
  %323 = load ptr, ptr %11, align 8, !tbaa !5
  call void @_ZL21AddWindowToSortBufferP8ImVectorIP11ImGuiWindowES1_(ptr noundef %322, ptr noundef %323)
  store i32 0, ptr %2, align 4
  br label %324

324:                                              ; preds = %320, %319
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #10
  %325 = load i32, ptr %2, align 4
  switch i32 %325, label %383 [
    i32 0, label %326
    i32 7, label %327
  ]

326:                                              ; preds = %324
  br label %327

327:                                              ; preds = %326, %324
  %328 = load i32, ptr %10, align 4, !tbaa !93
  %329 = add nsw i32 %328, 1
  store i32 %329, ptr %10, align 4, !tbaa !93
  br label %295, !llvm.loop !97

330:                                              ; preds = %302
  %331 = load ptr, ptr %1, align 8, !tbaa !5
  %332 = getelementptr inbounds %struct.ImGuiContext, ptr %331, i32 0, i32 15
  %333 = getelementptr inbounds %class.ImVector, ptr %332, i32 0, i32 0
  %334 = load i32, ptr %333, align 8, !tbaa !92
  %335 = load ptr, ptr %1, align 8, !tbaa !5
  %336 = getelementptr inbounds %struct.ImGuiContext, ptr %335, i32 0, i32 17
  %337 = getelementptr inbounds %class.ImVector, ptr %336, i32 0, i32 0
  %338 = load i32, ptr %337, align 8, !tbaa !98
  %339 = icmp eq i32 %334, %338
  br i1 %339, label %340, label %341

340:                                              ; preds = %330
  br label %343

341:                                              ; preds = %330
  call void @__assert_fail(ptr noundef @.str.55, ptr noundef @.str.3, i32 noundef 3624, ptr noundef @__PRETTY_FUNCTION__._ZN5ImGui8EndFrameEv) #11
  unreachable

342:                                              ; No predecessors!
  br label %343

343:                                              ; preds = %342, %340
  %344 = load ptr, ptr %1, align 8, !tbaa !5
  %345 = getelementptr inbounds %struct.ImGuiContext, ptr %344, i32 0, i32 15
  %346 = load ptr, ptr %1, align 8, !tbaa !5
  %347 = getelementptr inbounds %struct.ImGuiContext, ptr %346, i32 0, i32 17
  call void @_ZN8ImVectorIP11ImGuiWindowE4swapERS2_(ptr noundef nonnull align 8 dereferenceable(16) %345, ptr noundef nonnull align 8 dereferenceable(16) %347)
  %348 = load ptr, ptr %1, align 8, !tbaa !5
  %349 = getelementptr inbounds %struct.ImGuiContext, ptr %348, i32 0, i32 20
  %350 = load i32, ptr %349, align 8, !tbaa !99
  %351 = load ptr, ptr %1, align 8, !tbaa !5
  %352 = getelementptr inbounds %struct.ImGuiContext, ptr %351, i32 0, i32 4
  %353 = getelementptr inbounds %struct.ImGuiIO, ptr %352, i32 0, i32 53
  store i32 %350, ptr %353, align 4, !tbaa !100
  %354 = load ptr, ptr %1, align 8, !tbaa !5
  %355 = getelementptr inbounds %struct.ImGuiContext, ptr %354, i32 0, i32 4
  %356 = getelementptr inbounds %struct.ImGuiIO, ptr %355, i32 0, i32 14
  %357 = load ptr, ptr %356, align 8, !tbaa !101
  %358 = getelementptr inbounds %struct.ImFontAtlas, ptr %357, i32 0, i32 0
  store i8 0, ptr %358, align 8, !tbaa !102
  %359 = load ptr, ptr %1, align 8, !tbaa !5
  %360 = getelementptr inbounds %struct.ImGuiContext, ptr %359, i32 0, i32 4
  %361 = getelementptr inbounds %struct.ImGuiIO, ptr %360, i32 0, i32 34
  store float 0.000000e+00, ptr %361, align 4, !tbaa !106
  %362 = load ptr, ptr %1, align 8, !tbaa !5
  %363 = getelementptr inbounds %struct.ImGuiContext, ptr %362, i32 0, i32 4
  %364 = getelementptr inbounds %struct.ImGuiIO, ptr %363, i32 0, i32 33
  store float 0.000000e+00, ptr %364, align 8, !tbaa !107
  %365 = load ptr, ptr %1, align 8, !tbaa !5
  %366 = getelementptr inbounds %struct.ImGuiContext, ptr %365, i32 0, i32 4
  %367 = getelementptr inbounds %struct.ImGuiIO, ptr %366, i32 0, i32 40
  %368 = getelementptr inbounds [17 x i16], ptr %367, i64 0, i64 0
  call void @llvm.memset.p0.i64(ptr align 4 %368, i8 0, i64 34, i1 false)
  %369 = load ptr, ptr %1, align 8, !tbaa !5
  %370 = getelementptr inbounds %struct.ImGuiContext, ptr %369, i32 0, i32 4
  %371 = getelementptr inbounds %struct.ImGuiIO, ptr %370, i32 0, i32 41
  %372 = getelementptr inbounds [21 x float], ptr %371, i64 0, i64 0
  call void @llvm.memset.p0.i64(ptr align 8 %372, i8 0, i64 84, i1 false)
  %373 = load ptr, ptr %1, align 8, !tbaa !5
  %374 = getelementptr inbounds %struct.ImGuiContext, ptr %373, i32 0, i32 1
  store i8 0, ptr %374, align 1, !tbaa !59
  %375 = load ptr, ptr %1, align 8, !tbaa !5
  %376 = getelementptr inbounds %struct.ImGuiContext, ptr %375, i32 0, i32 11
  %377 = load i32, ptr %376, align 8, !tbaa !58
  %378 = load ptr, ptr %1, align 8, !tbaa !5
  %379 = getelementptr inbounds %struct.ImGuiContext, ptr %378, i32 0, i32 12
  store i32 %377, ptr %379, align 4, !tbaa !57
  store i32 0, ptr %2, align 4
  br label %380

380:                                              ; preds = %343, %28
  call void @llvm.lifetime.end.p0(i64 8, ptr %1) #10
  %381 = load i32, ptr %2, align 4
  switch i32 %381, label %383 [
    i32 0, label %382
    i32 1, label %382
  ]

382:                                              ; preds = %380, %380
  ret void

383:                                              ; preds = %380, %324
  unreachable
}

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

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

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

; 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) #9 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)) #4 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"="64" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 = { 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 #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 = { 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 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 = { 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 #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, !11, i64 2, !12, i64 8, !16, i64 5440, !6, i64 6280, !15, i64 6288, !15, i64 6292, !17, i64 6296, !19, i64 6432, !13, i64 6440, !13, i64 6444, !13, i64 6448, !20, i64 6456, !20, i64 6472, !20, i64 6488, !20, i64 6504, !21, i64 6520, !13, i64 6536, !6, i64 6544, !6, i64 6552, !6, i64 6560, !13, i64 6568, !11, i64 6572, !13, i64 6576, !15, i64 6580, !15, i64 6584, !13, i64 6588, !13, i64 6592, !13, i64 6596, !15, i64 6600, !11, i64 6604, !11, i64 6605, !11, i64 6606, !11, i64 6607, !11, i64 6608, !13, i64 6612, !14, i64 6616, !6, i64 6624, !6, i64 6632, !23, i64 6640, !13, i64 6644, !15, i64 6648, !6, i64 6656, !24, i64 6664, !25, i64 6680, !26, i64 6696, !27, i64 6712, !27, i64 6728, !28, i64 6744, !11, i64 6856, !13, i64 6860, !6, i64 6864, !13, i64 6872, !13, i64 6876, !13, i64 6880, !13, i64 6884, !13, i64 6888, !13, i64 6892, !13, i64 6896, !13, i64 6900, !23, i64 6904, !29, i64 6908, !13, i64 6924, !6, i64 6928, !6, i64 6936, !6, i64 6944, !15, i64 6952, !15, i64 6956, !11, i64 6960, !13, i64 6964, !13, 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, !29, i64 6984, !11, i64 7000, !11, i64 7001, !13, i64 7004, !30, i64 7008, !13, i64 7012, !13, i64 7016, !13, i64 7020, !31, i64 7024, !31, i64 7072, !31, i64 7120, !32, i64 7168, !33, i64 7216, !15, i64 7248, !34, i64 7256, !13, i64 7424, !11, i64 7428, !11, i64 7429, !13, i64 7432, !13, i64 7436, !13, i64 7440, !42, i64 7448, !29, i64 7512, !13, i64 7528, !13, i64 7532, !15, i64 7536, !13, i64 7540, !13, i64 7544, !13, i64 7548, !43, i64 7552, !7, i64 7568, !44, i64 7576, !49, i64 11296, !13, i64 11408, !13, i64 11412, !18, i64 11416, !11, i64 11432, !15, i64 11436, !15, i64 11440, !14, i64 11444, !13, i64 11452, !45, i64 11456, !14, i64 11472, !14, i64 11480, !11, i64 11488, !15, i64 11492, !52, i64 11496, !53, i64 11512, !54, i64 11528, !11, i64 11544, !6, i64 11552, !52, i64 11560, !13, i64 11576, !13, i64 11580, !7, i64 11584, !13, i64 12064, !15, i64 12068, !13, i64 12072, !13, i64 12076, !13, i64 12080, !7, i64 12084}
!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 136, !15, i64 140, !6, i64 144, !6, i64 152, !15, i64 160, !11, i64 164, !6, i64 168, !14, i64 176, !14, i64 184, !14, i64 192, !11, i64 200, !11, i64 201, !11, i64 202, !11, i64 203, !6, i64 208, !6, i64 216, !6, i64 224, !6, i64 232, !6, i64 240, !6, i64 248, !14, i64 256, !7, i64 264, !15, i64 272, !15, i64 276, !11, i64 280, !11, i64 281, !11, i64 282, !11, i64 283, !7, i64 284, !7, i64 796, !7, i64 832, !11, i64 916, !11, i64 917, !11, i64 918, !11, i64 919, !11, i64 920, !11, i64 921, !11, i64 922, !15, i64 924, !13, i64 928, !13, i64 932, !13, i64 936, !13, i64 940, !13, i64 944, !14, i64 948, !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 1088, !7, i64 1108, !7, i64 1148, !7, i64 1168, !7, i64 3216, !7, i64 5264, !7, i64 5348}
!13 = !{!"int", !7, i64 0}
!14 = !{!"_ZTS6ImVec2", !15, i64 0, !15, i64 4}
!15 = !{!"float", !7, i64 0}
!16 = !{!"_ZTS10ImGuiStyle", !15, i64 0, !14, i64 4, !15, i64 12, !15, i64 16, !14, i64 20, !14, i64 28, !15, i64 36, !15, i64 40, !15, i64 44, !15, i64 48, !14, i64 52, !15, i64 60, !15, i64 64, !14, i64 68, !14, i64 76, !14, i64 84, !15, i64 92, !15, i64 96, !15, i64 100, !15, i64 104, !15, i64 108, !15, i64 112, !14, i64 116, !14, i64 124, !14, i64 132, !15, i64 140, !11, i64 144, !11, i64 145, !15, i64 148, !7, i64 152}
!17 = !{!"_ZTS20ImDrawListSharedData", !14, i64 0, !6, i64 8, !15, i64 16, !15, i64 20, !18, i64 24, !7, i64 40}
!18 = !{!"_ZTS6ImVec4", !15, i64 0, !15, i64 4, !15, i64 8, !15, i64 12}
!19 = !{!"double", !7, i64 0}
!20 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !13, i64 0, !13, i64 4, !6, i64 8}
!21 = !{!"_ZTS12ImGuiStorage", !22, i64 0}
!22 = !{!"_ZTS8ImVectorIN12ImGuiStorage4PairEE", !13, i64 0, !13, i64 4, !6, i64 8}
!23 = !{!"_ZTS16ImGuiInputSource", !7, i64 0}
!24 = !{!"_ZTS8ImVectorI13ImGuiColorModE", !13, i64 0, !13, i64 4, !6, i64 8}
!25 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !13, i64 0, !13, i64 4, !6, i64 8}
!26 = !{!"_ZTS8ImVectorIP6ImFontE", !13, i64 0, !13, i64 4, !6, i64 8}
!27 = !{!"_ZTS8ImVectorI13ImGuiPopupRefE", !13, i64 0, !13, i64 4, !6, i64 8}
!28 = !{!"_ZTS19ImGuiNextWindowData", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12, !13, i64 16, !13, i64 20, !13, i64 24, !14, i64 28, !14, i64 36, !14, i64 44, !14, i64 52, !11, i64 60, !29, i64 64, !6, i64 80, !6, i64 88, !15, i64 96, !14, i64 100}
!29 = !{!"_ZTS6ImRect", !14, i64 0, !14, i64 8}
!30 = !{!"_ZTS15ImGuiNavForward", !7, i64 0}
!31 = !{!"_ZTS18ImGuiNavMoveResult", !13, i64 0, !6, i64 8, !15, i64 16, !15, i64 20, !15, i64 24, !29, i64 28}
!32 = !{!"_ZTS10ImDrawData", !11, i64 0, !6, i64 8, !13, i64 16, !13, i64 20, !13, i64 24, !14, i64 28, !14, i64 36}
!33 = !{!"_ZTS17ImDrawDataBuilder", !7, i64 0}
!34 = !{!"_ZTS10ImDrawList", !35, i64 0, !36, i64 16, !37, i64 32, !13, i64 48, !6, i64 56, !6, i64 64, !13, i64 72, !6, i64 80, !6, i64 88, !38, i64 96, !39, i64 112, !40, i64 128, !13, i64 144, !13, i64 148, !41, i64 152}
!35 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !13, i64 0, !13, i64 4, !6, i64 8}
!36 = !{!"_ZTS8ImVectorItE", !13, i64 0, !13, i64 4, !6, i64 8}
!37 = !{!"_ZTS8ImVectorI10ImDrawVertE", !13, i64 0, !13, i64 4, !6, i64 8}
!38 = !{!"_ZTS8ImVectorI6ImVec4E", !13, i64 0, !13, i64 4, !6, i64 8}
!39 = !{!"_ZTS8ImVectorIPvE", !13, i64 0, !13, i64 4, !6, i64 8}
!40 = !{!"_ZTS8ImVectorI6ImVec2E", !13, i64 0, !13, i64 4, !6, i64 8}
!41 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !13, i64 0, !13, i64 4, !6, i64 8}
!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 = !{!"_ZTS19ImGuiInputTextState", !13, i64 0, !36, i64 8, !45, i64 24, !45, i64 40, !13, i64 56, !13, i64 60, !13, i64 64, !15, i64 68, !46, i64 72, !15, i64 3692, !11, i64 3696, !11, i64 3697, !13, i64 3700, !6, i64 3704, !6, i64 3712}
!45 = !{!"_ZTS8ImVectorIcE", !13, i64 0, !13, i64 4, !6, i64 8}
!46 = !{!"_ZTSN8ImGuiStb17STB_TexteditStateE", !13, i64 0, !13, i64 4, !13, i64 8, !7, i64 12, !7, i64 13, !7, i64 14, !7, i64 15, !7, i64 16, !7, i64 17, !7, i64 18, !7, i64 19, !15, i64 20, !47, i64 24}
!47 = !{!"_ZTSN8ImGuiStb12StbUndoStateE", !7, i64 0, !7, i64 1584, !48, i64 3582, !48, i64 3584, !13, i64 3588, !13, i64 3592}
!48 = !{!"short", !7, i64 0}
!49 = !{!"_ZTS6ImFont", !15, i64 0, !15, i64 4, !14, i64 8, !50, i64 16, !51, i64 32, !36, i64 48, !6, i64 64, !15, i64 72, !48, i64 76, !48, i64 78, !6, i64 80, !6, i64 88, !15, i64 96, !15, i64 100, !11, i64 104, !13, i64 108}
!50 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !13, i64 0, !13, i64 4, !6, i64 8}
!51 = !{!"_ZTS8ImVectorIfE", !13, i64 0, !13, i64 4, !6, i64 8}
!52 = !{!"_ZTS15ImGuiTextBuffer", !45, i64 0}
!53 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !13, i64 0, !13, i64 4, !6, i64 8}
!54 = !{!"_ZTS8ImVectorI19ImGuiWindowSettingsE", !13, i64 0, !13, i64 4, !6, i64 8}
!55 = !{i8 0, i8 2}
!56 = !{}
!57 = !{!10, !13, i64 6444}
!58 = !{!10, !13, i64 6440}
!59 = !{!10, !11, i64 1}
!60 = !{!10, !6, i64 240}
!61 = !{!10, !15, i64 11472}
!62 = !{!10, !15, i64 11476}
!63 = !{i64 0, i64 4, !64, i64 4, i64 4, !64}
!64 = !{!15, !15, i64 0}
!65 = !{!10, !13, i64 6504}
!66 = !{!10, !6, i64 6544}
!67 = !{!68, !11, i64 124}
!68 = !{!"_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, !14, i64 88, !14, i64 96, !14, i64 104, !14, i64 112, !11, i64 120, !11, i64 121, !11, i64 122, !11, i64 123, !11, i64 124, !11, i64 125, !11, i64 126, !11, i64 127, !11, i64 128, !11, i64 129, !11, i64 130, !13, i64 132, !13, i64 136, !13, i64 140, !13, i64 144, !13, i64 148, !13, i64 152, !11, i64 156, !13, i64 160, !13, i64 164, !13, i64 168, !13, i64 172, !13, i64 176, !13, i64 180, !13, i64 184, !14, i64 188, !14, i64 196, !69, i64 208, !73, i64 512, !29, i64 528, !29, i64 544, !29, i64 560, !29, i64 576, !29, i64 592, !13, i64 608, !15, i64 612, !74, i64 616, !21, i64 664, !75, i64 680, !15, i64 696, !13, i64 700, !6, i64 704, !34, i64 712, !6, i64 880, !6, i64 888, !6, i64 896, !6, i64 904, !6, i64 912, !7, i64 920, !7, i64 928, !13, i64 960, !13, i64 964, !13, i64 968, !13, i64 972, !13, i64 976, !13, i64 980}
!69 = !{!"_ZTS19ImGuiWindowTempData", !14, i64 0, !14, i64 8, !14, i64 16, !14, i64 24, !14, i64 32, !15, i64 40, !14, i64 44, !15, i64 52, !15, i64 56, !13, i64 60, !13, i64 64, !13, i64 68, !13, i64 72, !29, i64 76, !29, i64 92, !11, i64 108, !11, i64 109, !13, i64 112, !13, i64 116, !13, i64 120, !13, i64 124, !11, i64 128, !14, i64 132, !20, i64 144, !6, i64 160, !13, i64 168, !13, i64 172, !13, i64 176, !15, i64 180, !15, i64 184, !70, i64 192, !51, i64 208, !51, i64 224, !71, i64 240, !7, i64 256, !72, i64 280, !72, i64 284, !72, i64 288, !6, i64 296}
!70 = !{!"_ZTS8ImVectorIiE", !13, i64 0, !13, i64 4, !6, i64 8}
!71 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!72 = !{!"_ZTS6ImVec1", !15, i64 0}
!73 = !{!"_ZTS8ImVectorIjE", !13, i64 0, !13, i64 4, !6, i64 8}
!74 = !{!"_ZTS16ImGuiMenuColumns", !13, i64 0, !15, i64 4, !15, i64 8, !15, i64 12, !7, i64 16, !7, i64 32}
!75 = !{!"_ZTS8ImVectorI15ImGuiColumnsSetE", !13, i64 0, !13, i64 4, !6, i64 8}
!76 = !{!68, !11, i64 122}
!77 = !{!10, !6, i64 6928}
!78 = !{!10, !11, i64 7428}
!79 = !{!10, !11, i64 7506}
!80 = !{!11, !11, i64 0}
!81 = !{!10, !13, i64 7468}
!82 = !{!10, !13, i64 7432}
!83 = !{!10, !13, i64 7440}
!84 = !{!10, !13, i64 7436}
!85 = !{!10, !11, i64 7429}
!86 = !{!10, !13, i64 6588}
!87 = !{!10, !13, i64 6568}
!88 = !{!10, !6, i64 6864}
!89 = !{!68, !11, i64 128}
!90 = !{!10, !6, i64 6560}
!91 = !{!10, !6, i64 6552}
!92 = !{!10, !13, i64 6456}
!93 = !{!13, !13, i64 0}
!94 = distinct !{!94, !95}
!95 = !{!"llvm.loop.mustprogress"}
!96 = !{!68, !13, i64 12}
!97 = distinct !{!97, !95}
!98 = !{!10, !13, i64 6488}
!99 = !{!10, !13, i64 6536}
!100 = !{!10, !13, i64 948}
!101 = !{!10, !6, i64 160}
!102 = !{!103, !11, i64 0}
!103 = !{!"_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, !26, i64 64, !104, i64 80, !105, i64 96, !7, i64 112}
!104 = !{!"_ZTS8ImVectorIN11ImFontAtlas10CustomRectEE", !13, i64 0, !13, i64 4, !6, i64 8}
!105 = !{!"_ZTS8ImVectorI12ImFontConfigE", !13, i64 0, !13, i64 4, !6, i64 8}
!106 = !{!10, !15, i64 284}
!107 = !{!10, !15, i64 280}


; 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 [85 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [14 x i8], align 1
@__PRETTY_FUNCTION__._ZN5ImGui8EndFrameEv = external hidden unnamed_addr constant [23 x i8], align 1
@.str.52 = external hidden unnamed_addr constant [57 x i8], align 1
@.str.53 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.54 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.55 = external hidden unnamed_addr constant [43 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 hidden <2 x float> @_ZmiRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #2

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN5ImGui8EndFrameEv() local_unnamed_addr #5 {
  %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 !55, !noundef !56
  %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.27, ptr noundef nonnull @.str.3, i32 noundef 3536, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5ImGui8EndFrameEv) #9
  unreachable

6:                                                ; preds = %0
  %7 = getelementptr inbounds i8, ptr %2, i64 6444
  %8 = load i32, ptr %7, align 4, !tbaa !57
  %9 = getelementptr inbounds i8, ptr %2, i64 6440
  %10 = load i32, ptr %9, align 8, !tbaa !58
  %11 = icmp eq i32 %8, %10
  br i1 %11, label %174, label %12

12:                                               ; preds = %6
  %13 = getelementptr inbounds i8, ptr %2, i64 1
  %14 = load i8, ptr %13, align 1, !tbaa !59, !range !55, !noundef !56
  %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.52, ptr noundef nonnull @.str.3, i32 noundef 3539, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5ImGui8EndFrameEv) #9
  unreachable

17:                                               ; preds = %12
  %18 = getelementptr inbounds i8, ptr %2, i64 240
  %19 = load ptr, ptr %18, align 8, !tbaa !60
  %.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 11480
  %22 = getelementptr inbounds i8, ptr %2, i64 11472
  %23 = tail call <2 x float> @_ZmiRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %21, ptr noundef nonnull align 4 dereferenceable(8) %22)
  store <2 x float> %23, ptr %1, align 8
  %24 = call noundef float @_ZL11ImLengthSqrRK6ImVec2(ptr noundef nonnull align 4 dereferenceable(8) %1)
  %25 = fcmp ogt float %24, 0x3F1A36E2E0000000
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #10
  br i1 %25, label %26, label %34

26:                                               ; preds = %20
  %27 = load ptr, ptr %18, align 8, !tbaa !60
  %28 = load float, ptr %22, align 8, !tbaa !61
  %29 = fptosi float %28 to i32
  %30 = getelementptr inbounds i8, ptr %2, i64 11476
  %31 = load float, ptr %30, align 4, !tbaa !62
  %32 = fptosi float %31 to i32
  call void %27(i32 noundef %29, i32 noundef %32)
  %33 = load i64, ptr %22, align 8
  store i64 %33, ptr %21, align 8
  br label %34

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

34:                                               ; preds = %.critedge, %26, %20
  %35 = getelementptr inbounds i8, ptr %2, i64 6504
  %36 = load i32, ptr %35, align 8, !tbaa !63
  %37 = icmp eq i32 %36, 1
  br i1 %37, label %39, label %38

38:                                               ; preds = %34
  call void @__assert_fail(ptr noundef nonnull @.str.53, ptr noundef nonnull @.str.3, i32 noundef 3549, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5ImGui8EndFrameEv) #9
  unreachable

39:                                               ; preds = %34
  %40 = getelementptr inbounds i8, ptr %2, i64 6544
  %41 = load ptr, ptr %40, align 8, !tbaa !64
  %.not86 = icmp eq ptr %41, null
  br i1 %.not86, label %48, label %42

42:                                               ; preds = %39
  %43 = getelementptr inbounds i8, ptr %41, i64 124
  %44 = load i8, ptr %43, align 4, !tbaa !65, !range !55, !noundef !56
  %45 = trunc nuw i8 %44 to i1
  br i1 %45, label %48, label %46

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

48:                                               ; preds = %46, %42, %39
  call void @_ZN5ImGui3EndEv()
  %49 = getelementptr inbounds i8, ptr %2, i64 6928
  %50 = load ptr, ptr %49, align 8, !tbaa !75
  %.not87 = icmp eq ptr %50, null
  br i1 %.not87, label %52, label %51

51:                                               ; preds = %48
  call void @_ZN5ImGuiL22NavUpdateWindowingListEv()
  br label %52

52:                                               ; preds = %51, %48
  %53 = getelementptr inbounds i8, ptr %2, i64 7428
  %54 = load i8, ptr %53, align 4, !tbaa !76, !range !55, !noundef !56
  %55 = trunc nuw i8 %54 to i1
  br i1 %55, label %56, label %76

56:                                               ; preds = %52
  %57 = getelementptr inbounds i8, ptr %2, i64 7506
  %58 = load i8, ptr %57, align 2, !tbaa !77, !range !55, !noundef !56
  %59 = trunc nuw i8 %58 to i1
  %60 = getelementptr inbounds i8, ptr %2, i64 7468
  %61 = load i32, ptr %60, align 4, !tbaa !78
  %62 = add nsw i32 %61, 1
  %63 = load i32, ptr %9, align 8, !tbaa !58
  %64 = icmp slt i32 %62, %63
  br i1 %64, label %65, label %74

65:                                               ; preds = %56
  %66 = getelementptr inbounds i8, ptr %2, i64 7432
  %67 = load i32, ptr %66, align 8, !tbaa !79
  %68 = and i32 %67, 32
  %.not88 = icmp eq i32 %68, 0
  br i1 %.not88, label %69, label %.thread

69:                                               ; preds = %65
  %70 = getelementptr inbounds i8, ptr %2, i64 7440
  %71 = load i32, ptr %70, align 8, !tbaa !80
  %72 = call noundef zeroext i1 @_ZN5ImGui11IsMouseDownEi(i32 noundef %71)
  %73 = xor i1 %72, true
  br label %74

74:                                               ; preds = %69, %56
  %75 = phi i1 [ false, %56 ], [ %73, %69 ]
  %brmerge = or i1 %75, %59
  br i1 %brmerge, label %.thread, label %76

.thread:                                          ; preds = %65, %74
  call void @_ZN5ImGui13ClearDragDropEv()
  br label %76

76:                                               ; preds = %.thread, %74, %52
  %77 = load i8, ptr %53, align 4, !tbaa !76, !range !55, !noundef !56
  %78 = trunc nuw i8 %77 to i1
  br i1 %78, label %79, label %86

79:                                               ; preds = %76
  %80 = getelementptr inbounds i8, ptr %2, i64 7436
  %81 = load i32, ptr %80, align 4, !tbaa !81
  %82 = load i32, ptr %9, align 8, !tbaa !58
  %83 = icmp slt i32 %81, %82
  br i1 %83, label %84, label %86

84:                                               ; preds = %79
  %85 = getelementptr inbounds i8, ptr %2, i64 7429
  store i8 1, ptr %85, align 1, !tbaa !82
  call void (ptr, ...) @_ZN5ImGui10SetTooltipEPKcz(ptr noundef nonnull @.str.54)
  store i8 0, ptr %85, align 1, !tbaa !82
  br label %86

86:                                               ; preds = %84, %79, %76
  %87 = getelementptr inbounds i8, ptr %2, i64 6588
  %88 = load i32, ptr %87, align 4, !tbaa !83
  %89 = icmp eq i32 %88, 0
  br i1 %89, label %90, label %143

90:                                               ; preds = %86
  %91 = getelementptr inbounds i8, ptr %2, i64 6568
  %92 = load i32, ptr %91, align 8, !tbaa !84
  %93 = icmp eq i32 %92, 0
  br i1 %93, label %94, label %143

94:                                               ; preds = %90
  %95 = getelementptr inbounds i8, ptr %2, i64 6864
  %96 = load ptr, ptr %95, align 8, !tbaa !85
  %.not89 = icmp eq ptr %96, null
  br i1 %.not89, label %101, label %97

97:                                               ; preds = %94
  %98 = getelementptr inbounds i8, ptr %96, i64 128
  %99 = load i8, ptr %98, align 8, !tbaa !86, !range !55, !noundef !56
  %100 = trunc nuw i8 %99 to i1
  br i1 %100, label %143, label %101

101:                                              ; preds = %97, %94
  %102 = getelementptr inbounds i8, ptr %2, i64 1056
  %103 = load i8, ptr %102, align 8, !tbaa !87, !range !55, !noundef !56
  %104 = trunc nuw i8 %103 to i1
  br i1 %104, label %105, label %116

105:                                              ; preds = %101
  %106 = getelementptr inbounds i8, ptr %2, i64 6560
  %107 = load ptr, ptr %106, align 8, !tbaa !88
  %.not90 = icmp eq ptr %107, null
  br i1 %.not90, label %111, label %108

108:                                              ; preds = %105
  %109 = getelementptr inbounds i8, ptr %2, i64 6552
  %110 = load ptr, ptr %109, align 8, !tbaa !89
  call void @_ZN5ImGui22StartMouseMovingWindowEP11ImGuiWindow(ptr noundef %110)
  br label %116

111:                                              ; preds = %105
  br i1 %.not89, label %116, label %112

112:                                              ; preds = %111
  %113 = call noundef ptr @_ZN5ImGui22GetFrontMostPopupModalEv()
  %114 = icmp eq ptr %113, null
  br i1 %114, label %115, label %116

115:                                              ; preds = %112
  call void @_ZN5ImGui11FocusWindowEP11ImGuiWindow(ptr noundef null)
  br label %116

116:                                              ; preds = %108, %115, %112, %111, %101
  %117 = getelementptr inbounds i8, ptr %2, i64 1057
  %118 = load i8, ptr %117, align 1, !tbaa !87, !range !55, !noundef !56
  %119 = trunc nuw i8 %118 to i1
  br i1 %119, label %120, label %143

120:                                              ; preds = %116
  %121 = call noundef ptr @_ZN5ImGui22GetFrontMostPopupModalEv()
  %122 = icmp eq ptr %121, null
  %123 = getelementptr inbounds i8, ptr %2, i64 6456
  %124 = load i32, ptr %123, align 8, !tbaa !90
  %125 = icmp slt i32 %124, 1
  %.not108 = or i1 %125, %122
  br i1 %.not108, label %.thread96, label %.lr.ph

.lr.ph:                                           ; preds = %120
  %spec.store.select = zext i1 %122 to i8
  %126 = getelementptr inbounds i8, ptr %2, i64 6552
  br label %127

127:                                              ; preds = %.lr.ph, %130
  %.081100.in = phi i32 [ %124, %.lr.ph ], [ %.081100, %130 ]
  %.08099 = phi i8 [ %spec.store.select, %.lr.ph ], [ %spec.select, %130 ]
  %.081100 = add nsw i32 %.081100.in, -1
  %128 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8ImVectorIP11ImGuiWindowEixEi(ptr noundef nonnull align 8 dereferenceable(16) %123, i32 noundef %.081100)
  %129 = load ptr, ptr %128, align 8, !tbaa !5
  %.not92 = icmp eq ptr %129, %121
  br i1 %.not92, label %.thread96.loopexit, label %130

130:                                              ; preds = %127
  %131 = load ptr, ptr %126, align 8, !tbaa !89
  %132 = icmp eq ptr %129, %131
  %spec.select = select i1 %132, i8 1, i8 %.08099
  %133 = icmp ugt i32 %.081100.in, 1
  %134 = and i8 %spec.select, 1
  %135 = icmp eq i8 %134, 0
  %136 = select i1 %133, i1 %135, i1 false
  br i1 %136, label %127, label %.thread96.loopexit

.thread96.loopexit:                               ; preds = %127, %130
  %.080.lcssa.ph = phi i8 [ %spec.select, %130 ], [ %.08099, %127 ]
  %137 = trunc nuw i8 %.080.lcssa.ph to i1
  br i1 %137, label %138, label %141

.thread96:                                        ; preds = %120
  br i1 %122, label %138, label %141

138:                                              ; preds = %.thread96.loopexit, %.thread96
  %139 = getelementptr inbounds i8, ptr %2, i64 6552
  %140 = load ptr, ptr %139, align 8, !tbaa !89
  br label %141

141:                                              ; preds = %.thread96.loopexit, %.thread96, %138
  %142 = phi ptr [ %140, %138 ], [ %121, %.thread96 ], [ %121, %.thread96.loopexit ]
  call void @_ZN5ImGui21ClosePopupsOverWindowEP11ImGuiWindow(ptr noundef %142)
  br label %143

143:                                              ; preds = %97, %141, %116, %90, %86
  %144 = getelementptr inbounds i8, ptr %2, i64 6488
  call void @_ZN8ImVectorIP11ImGuiWindowE6resizeEi(ptr noundef nonnull align 8 dereferenceable(16) %144, i32 noundef 0)
  %145 = getelementptr inbounds i8, ptr %2, i64 6456
  %146 = load i32, ptr %145, align 8, !tbaa !90
  call void @_ZN8ImVectorIP11ImGuiWindowE7reserveEi(ptr noundef nonnull align 8 dereferenceable(16) %144, i32 noundef %146)
  %147 = load i32, ptr %145, align 8, !tbaa !90
  %.not93103 = icmp eq i32 %147, 0
  br i1 %.not93103, label %._crit_edge, label %.lr.ph105

._crit_edge:                                      ; preds = %160, %143
  %.lcssa = phi i32 [ 0, %143 ], [ %161, %160 ]
  %148 = load i32, ptr %144, align 8, !tbaa !91
  %149 = icmp eq i32 %.lcssa, %148
  br i1 %149, label %164, label %163

.lr.ph105:                                        ; preds = %143, %160
  %.079104 = phi i32 [ %161, %160 ], [ 0, %143 ]
  %150 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8ImVectorIP11ImGuiWindowEixEi(ptr noundef nonnull align 8 dereferenceable(16) %145, i32 noundef %.079104)
  %151 = load ptr, ptr %150, align 8, !tbaa !5
  %152 = getelementptr inbounds i8, ptr %151, i64 122
  %153 = load i8, ptr %152, align 2, !tbaa !74, !range !55, !noundef !56
  %154 = trunc nuw i8 %153 to i1
  br i1 %154, label %155, label %159

155:                                              ; preds = %.lr.ph105
  %156 = getelementptr inbounds i8, ptr %151, i64 12
  %157 = load i32, ptr %156, align 4, !tbaa !92
  %158 = and i32 %157, 16777216
  %.not94 = icmp eq i32 %158, 0
  br i1 %.not94, label %159, label %160

159:                                              ; preds = %155, %.lr.ph105
  call void @_ZL21AddWindowToSortBufferP8ImVectorIP11ImGuiWindowES1_(ptr noundef nonnull %144, ptr noundef nonnull %151)
  br label %160

160:                                              ; preds = %155, %159
  %161 = add nuw nsw i32 %.079104, 1
  %162 = load i32, ptr %145, align 8, !tbaa !90
  %.not93 = icmp eq i32 %161, %162
  br i1 %.not93, label %._crit_edge, label %.lr.ph105, !llvm.loop !93

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

164:                                              ; preds = %._crit_edge
  call void @_ZN8ImVectorIP11ImGuiWindowE4swapERS2_(ptr noundef nonnull align 8 dereferenceable(16) %145, ptr noundef nonnull align 8 dereferenceable(16) %144)
  %165 = getelementptr inbounds i8, ptr %2, i64 6536
  %166 = load i32, ptr %165, align 8, !tbaa !95
  %167 = getelementptr inbounds i8, ptr %2, i64 948
  store i32 %166, ptr %167, align 4, !tbaa !96
  %168 = getelementptr inbounds i8, ptr %2, i64 160
  %169 = load ptr, ptr %168, align 8, !tbaa !97
  store i8 0, ptr %169, align 8, !tbaa !98
  %170 = getelementptr inbounds i8, ptr %2, i64 280
  store <2 x float> zeroinitializer, ptr %170, align 8, !tbaa !102
  %171 = getelementptr inbounds i8, ptr %2, i64 804
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 4 dereferenceable(34) %171, i8 0, i64 34, i1 false)
  %172 = getelementptr inbounds i8, ptr %2, i64 840
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(84) %172, i8 0, i64 84, i1 false)
  store i8 0, ptr %13, align 1, !tbaa !59
  %173 = load i32, ptr %9, align 8, !tbaa !58
  store i32 %173, ptr %7, align 4, !tbaa !57
  br label %174

174:                                              ; preds = %6, %164
  ret void
}

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN5ImGuiL22NavUpdateWindowingListEv() local_unnamed_addr #5

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

; 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 #8 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 #3 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"="64" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 #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 = { 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 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 #8 = { 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 #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, !11, i64 2, !12, i64 8, !16, i64 5440, !6, i64 6280, !15, i64 6288, !15, i64 6292, !17, i64 6296, !19, i64 6432, !13, i64 6440, !13, i64 6444, !13, i64 6448, !20, i64 6456, !20, i64 6472, !20, i64 6488, !20, i64 6504, !21, i64 6520, !13, i64 6536, !6, i64 6544, !6, i64 6552, !6, i64 6560, !13, i64 6568, !11, i64 6572, !13, i64 6576, !15, i64 6580, !15, i64 6584, !13, i64 6588, !13, i64 6592, !13, i64 6596, !15, i64 6600, !11, i64 6604, !11, i64 6605, !11, i64 6606, !11, i64 6607, !11, i64 6608, !13, i64 6612, !14, i64 6616, !6, i64 6624, !6, i64 6632, !23, i64 6640, !13, i64 6644, !15, i64 6648, !6, i64 6656, !24, i64 6664, !25, i64 6680, !26, i64 6696, !27, i64 6712, !27, i64 6728, !28, i64 6744, !11, i64 6856, !13, i64 6860, !6, i64 6864, !13, i64 6872, !13, i64 6876, !13, i64 6880, !13, i64 6884, !13, i64 6888, !13, i64 6892, !13, i64 6896, !13, i64 6900, !23, i64 6904, !29, i64 6908, !13, i64 6924, !6, i64 6928, !6, i64 6936, !6, i64 6944, !15, i64 6952, !15, i64 6956, !11, i64 6960, !13, i64 6964, !13, 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, !29, i64 6984, !11, i64 7000, !11, i64 7001, !13, i64 7004, !30, i64 7008, !13, i64 7012, !13, i64 7016, !13, i64 7020, !31, i64 7024, !31, i64 7072, !31, i64 7120, !32, i64 7168, !33, i64 7216, !15, i64 7248, !34, i64 7256, !13, i64 7424, !11, i64 7428, !11, i64 7429, !13, i64 7432, !13, i64 7436, !13, i64 7440, !42, i64 7448, !29, i64 7512, !13, i64 7528, !13, i64 7532, !15, i64 7536, !13, i64 7540, !13, i64 7544, !13, i64 7548, !43, i64 7552, !7, i64 7568, !44, i64 7576, !49, i64 11296, !13, i64 11408, !13, i64 11412, !18, i64 11416, !11, i64 11432, !15, i64 11436, !15, i64 11440, !14, i64 11444, !13, i64 11452, !45, i64 11456, !14, i64 11472, !14, i64 11480, !11, i64 11488, !15, i64 11492, !52, i64 11496, !53, i64 11512, !54, i64 11528, !11, i64 11544, !6, i64 11552, !52, i64 11560, !13, i64 11576, !13, i64 11580, !7, i64 11584, !13, i64 12064, !15, i64 12068, !13, i64 12072, !13, i64 12076, !13, i64 12080, !7, i64 12084}
!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 136, !15, i64 140, !6, i64 144, !6, i64 152, !15, i64 160, !11, i64 164, !6, i64 168, !14, i64 176, !14, i64 184, !14, i64 192, !11, i64 200, !11, i64 201, !11, i64 202, !11, i64 203, !6, i64 208, !6, i64 216, !6, i64 224, !6, i64 232, !6, i64 240, !6, i64 248, !14, i64 256, !7, i64 264, !15, i64 272, !15, i64 276, !11, i64 280, !11, i64 281, !11, i64 282, !11, i64 283, !7, i64 284, !7, i64 796, !7, i64 832, !11, i64 916, !11, i64 917, !11, i64 918, !11, i64 919, !11, i64 920, !11, i64 921, !11, i64 922, !15, i64 924, !13, i64 928, !13, i64 932, !13, i64 936, !13, i64 940, !13, i64 944, !14, i64 948, !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 1088, !7, i64 1108, !7, i64 1148, !7, i64 1168, !7, i64 3216, !7, i64 5264, !7, i64 5348}
!13 = !{!"int", !7, i64 0}
!14 = !{!"_ZTS6ImVec2", !15, i64 0, !15, i64 4}
!15 = !{!"float", !7, i64 0}
!16 = !{!"_ZTS10ImGuiStyle", !15, i64 0, !14, i64 4, !15, i64 12, !15, i64 16, !14, i64 20, !14, i64 28, !15, i64 36, !15, i64 40, !15, i64 44, !15, i64 48, !14, i64 52, !15, i64 60, !15, i64 64, !14, i64 68, !14, i64 76, !14, i64 84, !15, i64 92, !15, i64 96, !15, i64 100, !15, i64 104, !15, i64 108, !15, i64 112, !14, i64 116, !14, i64 124, !14, i64 132, !15, i64 140, !11, i64 144, !11, i64 145, !15, i64 148, !7, i64 152}
!17 = !{!"_ZTS20ImDrawListSharedData", !14, i64 0, !6, i64 8, !15, i64 16, !15, i64 20, !18, i64 24, !7, i64 40}
!18 = !{!"_ZTS6ImVec4", !15, i64 0, !15, i64 4, !15, i64 8, !15, i64 12}
!19 = !{!"double", !7, i64 0}
!20 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !13, i64 0, !13, i64 4, !6, i64 8}
!21 = !{!"_ZTS12ImGuiStorage", !22, i64 0}
!22 = !{!"_ZTS8ImVectorIN12ImGuiStorage4PairEE", !13, i64 0, !13, i64 4, !6, i64 8}
!23 = !{!"_ZTS16ImGuiInputSource", !7, i64 0}
!24 = !{!"_ZTS8ImVectorI13ImGuiColorModE", !13, i64 0, !13, i64 4, !6, i64 8}
!25 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !13, i64 0, !13, i64 4, !6, i64 8}
!26 = !{!"_ZTS8ImVectorIP6ImFontE", !13, i64 0, !13, i64 4, !6, i64 8}
!27 = !{!"_ZTS8ImVectorI13ImGuiPopupRefE", !13, i64 0, !13, i64 4, !6, i64 8}
!28 = !{!"_ZTS19ImGuiNextWindowData", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12, !13, i64 16, !13, i64 20, !13, i64 24, !14, i64 28, !14, i64 36, !14, i64 44, !14, i64 52, !11, i64 60, !29, i64 64, !6, i64 80, !6, i64 88, !15, i64 96, !14, i64 100}
!29 = !{!"_ZTS6ImRect", !14, i64 0, !14, i64 8}
!30 = !{!"_ZTS15ImGuiNavForward", !7, i64 0}
!31 = !{!"_ZTS18ImGuiNavMoveResult", !13, i64 0, !6, i64 8, !15, i64 16, !15, i64 20, !15, i64 24, !29, i64 28}
!32 = !{!"_ZTS10ImDrawData", !11, i64 0, !6, i64 8, !13, i64 16, !13, i64 20, !13, i64 24, !14, i64 28, !14, i64 36}
!33 = !{!"_ZTS17ImDrawDataBuilder", !7, i64 0}
!34 = !{!"_ZTS10ImDrawList", !35, i64 0, !36, i64 16, !37, i64 32, !13, i64 48, !6, i64 56, !6, i64 64, !13, i64 72, !6, i64 80, !6, i64 88, !38, i64 96, !39, i64 112, !40, i64 128, !13, i64 144, !13, i64 148, !41, i64 152}
!35 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !13, i64 0, !13, i64 4, !6, i64 8}
!36 = !{!"_ZTS8ImVectorItE", !13, i64 0, !13, i64 4, !6, i64 8}
!37 = !{!"_ZTS8ImVectorI10ImDrawVertE", !13, i64 0, !13, i64 4, !6, i64 8}
!38 = !{!"_ZTS8ImVectorI6ImVec4E", !13, i64 0, !13, i64 4, !6, i64 8}
!39 = !{!"_ZTS8ImVectorIPvE", !13, i64 0, !13, i64 4, !6, i64 8}
!40 = !{!"_ZTS8ImVectorI6ImVec2E", !13, i64 0, !13, i64 4, !6, i64 8}
!41 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !13, i64 0, !13, i64 4, !6, i64 8}
!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 = !{!"_ZTS19ImGuiInputTextState", !13, i64 0, !36, i64 8, !45, i64 24, !45, i64 40, !13, i64 56, !13, i64 60, !13, i64 64, !15, i64 68, !46, i64 72, !15, i64 3692, !11, i64 3696, !11, i64 3697, !13, i64 3700, !6, i64 3704, !6, i64 3712}
!45 = !{!"_ZTS8ImVectorIcE", !13, i64 0, !13, i64 4, !6, i64 8}
!46 = !{!"_ZTSN8ImGuiStb17STB_TexteditStateE", !13, i64 0, !13, i64 4, !13, i64 8, !7, i64 12, !7, i64 13, !7, i64 14, !7, i64 15, !7, i64 16, !7, i64 17, !7, i64 18, !7, i64 19, !15, i64 20, !47, i64 24}
!47 = !{!"_ZTSN8ImGuiStb12StbUndoStateE", !7, i64 0, !7, i64 1584, !48, i64 3582, !48, i64 3584, !13, i64 3588, !13, i64 3592}
!48 = !{!"short", !7, i64 0}
!49 = !{!"_ZTS6ImFont", !15, i64 0, !15, i64 4, !14, i64 8, !50, i64 16, !51, i64 32, !36, i64 48, !6, i64 64, !15, i64 72, !48, i64 76, !48, i64 78, !6, i64 80, !6, i64 88, !15, i64 96, !15, i64 100, !11, i64 104, !13, i64 108}
!50 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !13, i64 0, !13, i64 4, !6, i64 8}
!51 = !{!"_ZTS8ImVectorIfE", !13, i64 0, !13, i64 4, !6, i64 8}
!52 = !{!"_ZTS15ImGuiTextBuffer", !45, i64 0}
!53 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !13, i64 0, !13, i64 4, !6, i64 8}
!54 = !{!"_ZTS8ImVectorI19ImGuiWindowSettingsE", !13, i64 0, !13, i64 4, !6, i64 8}
!55 = !{i8 0, i8 2}
!56 = !{}
!57 = !{!10, !13, i64 6444}
!58 = !{!10, !13, i64 6440}
!59 = !{!10, !11, i64 1}
!60 = !{!10, !6, i64 240}
!61 = !{!10, !15, i64 11472}
!62 = !{!10, !15, i64 11476}
!63 = !{!10, !13, i64 6504}
!64 = !{!10, !6, i64 6544}
!65 = !{!66, !11, i64 124}
!66 = !{!"_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, !14, i64 88, !14, i64 96, !14, i64 104, !14, i64 112, !11, i64 120, !11, i64 121, !11, i64 122, !11, i64 123, !11, i64 124, !11, i64 125, !11, i64 126, !11, i64 127, !11, i64 128, !11, i64 129, !11, i64 130, !13, i64 132, !13, i64 136, !13, i64 140, !13, i64 144, !13, i64 148, !13, i64 152, !11, i64 156, !13, i64 160, !13, i64 164, !13, i64 168, !13, i64 172, !13, i64 176, !13, i64 180, !13, i64 184, !14, i64 188, !14, i64 196, !67, i64 208, !71, i64 512, !29, i64 528, !29, i64 544, !29, i64 560, !29, i64 576, !29, i64 592, !13, i64 608, !15, i64 612, !72, i64 616, !21, i64 664, !73, i64 680, !15, i64 696, !13, i64 700, !6, i64 704, !34, i64 712, !6, i64 880, !6, i64 888, !6, i64 896, !6, i64 904, !6, i64 912, !7, i64 920, !7, i64 928, !13, i64 960, !13, i64 964, !13, i64 968, !13, i64 972, !13, i64 976, !13, i64 980}
!67 = !{!"_ZTS19ImGuiWindowTempData", !14, i64 0, !14, i64 8, !14, i64 16, !14, i64 24, !14, i64 32, !15, i64 40, !14, i64 44, !15, i64 52, !15, i64 56, !13, i64 60, !13, i64 64, !13, i64 68, !13, i64 72, !29, i64 76, !29, i64 92, !11, i64 108, !11, i64 109, !13, i64 112, !13, i64 116, !13, i64 120, !13, i64 124, !11, i64 128, !14, i64 132, !20, i64 144, !6, i64 160, !13, i64 168, !13, i64 172, !13, i64 176, !15, i64 180, !15, i64 184, !68, i64 192, !51, i64 208, !51, i64 224, !69, i64 240, !7, i64 256, !70, i64 280, !70, i64 284, !70, i64 288, !6, i64 296}
!68 = !{!"_ZTS8ImVectorIiE", !13, i64 0, !13, i64 4, !6, i64 8}
!69 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!70 = !{!"_ZTS6ImVec1", !15, i64 0}
!71 = !{!"_ZTS8ImVectorIjE", !13, i64 0, !13, i64 4, !6, i64 8}
!72 = !{!"_ZTS16ImGuiMenuColumns", !13, i64 0, !15, i64 4, !15, i64 8, !15, i64 12, !7, i64 16, !7, i64 32}
!73 = !{!"_ZTS8ImVectorI15ImGuiColumnsSetE", !13, i64 0, !13, i64 4, !6, i64 8}
!74 = !{!66, !11, i64 122}
!75 = !{!10, !6, i64 6928}
!76 = !{!10, !11, i64 7428}
!77 = !{!10, !11, i64 7506}
!78 = !{!10, !13, i64 7468}
!79 = !{!10, !13, i64 7432}
!80 = !{!10, !13, i64 7440}
!81 = !{!10, !13, i64 7436}
!82 = !{!10, !11, i64 7429}
!83 = !{!10, !13, i64 6588}
!84 = !{!10, !13, i64 6568}
!85 = !{!10, !6, i64 6864}
!86 = !{!66, !11, i64 128}
!87 = !{!11, !11, i64 0}
!88 = !{!10, !6, i64 6560}
!89 = !{!10, !6, i64 6552}
!90 = !{!10, !13, i64 6456}
!91 = !{!10, !13, i64 6488}
!92 = !{!66, !13, i64 12}
!93 = distinct !{!93, !94}
!94 = !{!"llvm.loop.mustprogress"}
!95 = !{!10, !13, i64 6536}
!96 = !{!10, !13, i64 948}
!97 = !{!10, !6, i64 160}
!98 = !{!99, !11, i64 0}
!99 = !{!"_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, !26, i64 64, !100, i64 80, !101, i64 96, !7, i64 112}
!100 = !{!"_ZTS8ImVectorIN11ImFontAtlas10CustomRectEE", !13, i64 0, !13, i64 4, !6, i64 8}
!101 = !{!"_ZTS8ImVectorI12ImFontConfigE", !13, i64 0, !13, i64 4, !6, i64 8}
!102 = !{!15, !15, i64 0}


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