; LLVM IR from vertver/Fresponze-old :: modules/imgui/imgui.ll (ZN5ImGui31UpdateMouseMovingWindowEndFrameEv)

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

@GImGui = external dso_local global ptr, align 8

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN5ImGui31UpdateMouseMovingWindowEndFrameEv() #1 {
  %1 = alloca ptr, align 8
  %2 = alloca i32, align 4
  %3 = alloca ptr, align 8
  %4 = alloca i8, align 1
  %5 = alloca %struct.ImRect, align 4
  %6 = alloca ptr, align 8
  %7 = alloca i8, align 1
  %8 = alloca i32, align 4
  %9 = alloca ptr, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %1) #5
  %10 = load ptr, ptr @GImGui, align 8, !tbaa !5
  store ptr %10, ptr %1, align 8, !tbaa !5
  %11 = load ptr, ptr %1, align 8, !tbaa !5
  %12 = getelementptr inbounds %struct.ImGuiContext, ptr %11, i32 0, i32 40
  %13 = load i32, ptr %12, align 8, !tbaa !9
  %14 = icmp ne i32 %13, 0
  br i1 %14, label %20, label %15

15:                                               ; preds = %0
  %16 = load ptr, ptr %1, align 8, !tbaa !5
  %17 = getelementptr inbounds %struct.ImGuiContext, ptr %16, i32 0, i32 34
  %18 = load i32, ptr %17, align 4, !tbaa !66
  %19 = icmp ne i32 %18, 0
  br i1 %19, label %20, label %21

20:                                               ; preds = %15, %0
  store i32 1, ptr %2, align 4
  br label %180

21:                                               ; preds = %15
  %22 = load ptr, ptr %1, align 8, !tbaa !5
  %23 = getelementptr inbounds %struct.ImGuiContext, ptr %22, i32 0, i32 72
  %24 = load ptr, ptr %23, align 8, !tbaa !67
  %25 = icmp ne ptr %24, null
  br i1 %25, label %26, label %34

26:                                               ; preds = %21
  %27 = load ptr, ptr %1, align 8, !tbaa !5
  %28 = getelementptr inbounds %struct.ImGuiContext, ptr %27, i32 0, i32 72
  %29 = load ptr, ptr %28, align 8, !tbaa !67
  %30 = getelementptr inbounds %struct.ImGuiWindow, ptr %29, i32 0, i32 27
  %31 = load i8, ptr %30, align 4, !tbaa !68, !range !76, !noundef !77
  %32 = trunc i8 %31 to i1
  br i1 %32, label %33, label %34

33:                                               ; preds = %26
  store i32 1, ptr %2, align 4
  br label %180

34:                                               ; preds = %26, %21
  %35 = load ptr, ptr %1, align 8, !tbaa !5
  %36 = getelementptr inbounds %struct.ImGuiContext, ptr %35, i32 0, i32 3
  %37 = getelementptr inbounds %struct.ImGuiIO, ptr %36, i32 0, i32 64
  %38 = getelementptr inbounds [5 x i8], ptr %37, i64 0, i64 0
  %39 = load i8, ptr %38, align 8, !tbaa !78, !range !76, !noundef !77
  %40 = trunc i8 %39 to i1
  br i1 %40, label %41, label %114

41:                                               ; preds = %34
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #5
  %42 = load ptr, ptr %1, align 8, !tbaa !5
  %43 = getelementptr inbounds %struct.ImGuiContext, ptr %42, i32 0, i32 29
  %44 = load ptr, ptr %43, align 8, !tbaa !79
  store ptr %44, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %4) #5
  %45 = load ptr, ptr %3, align 8, !tbaa !5
  %46 = icmp ne ptr %45, null
  br i1 %46, label %47, label %59

47:                                               ; preds = %41
  %48 = load ptr, ptr %3, align 8, !tbaa !5
  %49 = getelementptr inbounds %struct.ImGuiWindow, ptr %48, i32 0, i32 2
  %50 = load i32, ptr %49, align 4, !tbaa !80
  %51 = and i32 %50, 67108864
  %52 = icmp ne i32 %51, 0
  br i1 %52, label %53, label %59

53:                                               ; preds = %47
  %54 = load ptr, ptr %3, align 8, !tbaa !5
  %55 = getelementptr inbounds %struct.ImGuiWindow, ptr %54, i32 0, i32 36
  %56 = load i32, ptr %55, align 8, !tbaa !81
  %57 = call noundef zeroext i1 @_ZN5ImGui11IsPopupOpenEji(i32 noundef %56, i32 noundef 256)
  %58 = xor i1 %57, true
  br label %59

59:                                               ; preds = %53, %47, %41
  %60 = phi i1 [ false, %47 ], [ false, %41 ], [ %58, %53 ]
  %61 = zext i1 %60 to i8
  store i8 %61, ptr %4, align 1, !tbaa !78
  %62 = load ptr, ptr %3, align 8, !tbaa !5
  %63 = icmp ne ptr %62, null
  br i1 %63, label %64, label %100

64:                                               ; preds = %59
  %65 = load i8, ptr %4, align 1, !tbaa !78, !range !76, !noundef !77
  %66 = trunc i8 %65 to i1
  br i1 %66, label %100, label %67

67:                                               ; preds = %64
  %68 = load ptr, ptr %1, align 8, !tbaa !5
  %69 = getelementptr inbounds %struct.ImGuiContext, ptr %68, i32 0, i32 28
  %70 = load ptr, ptr %69, align 8, !tbaa !82
  call void @_ZN5ImGui22StartMouseMovingWindowEP11ImGuiWindow(ptr noundef %70)
  %71 = load ptr, ptr %1, align 8, !tbaa !5
  %72 = getelementptr inbounds %struct.ImGuiContext, ptr %71, i32 0, i32 3
  %73 = getelementptr inbounds %struct.ImGuiIO, ptr %72, i32 0, i32 23
  %74 = load i8, ptr %73, align 4, !tbaa !83, !range !76, !noundef !77
  %75 = trunc i8 %74 to i1
  br i1 %75, label %76, label %99

76:                                               ; preds = %67
  %77 = load ptr, ptr %3, align 8, !tbaa !5
  %78 = getelementptr inbounds %struct.ImGuiWindow, ptr %77, i32 0, i32 2
  %79 = load i32, ptr %78, align 4, !tbaa !80
  %80 = and i32 %79, 1
  %81 = icmp ne i32 %80, 0
  br i1 %81, label %99, label %82

82:                                               ; preds = %76
  call void @llvm.lifetime.start.p0(i64 16, ptr %5) #5
  %83 = load ptr, ptr %3, align 8, !tbaa !5
  %84 = call { <2 x float>, <2 x float> } @_ZNK11ImGuiWindow12TitleBarRectEv(ptr noundef nonnull align 8 dereferenceable(1012) %83)
  %85 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %5, i32 0, i32 0
  %86 = extractvalue { <2 x float>, <2 x float> } %84, 0
  store <2 x float> %86, ptr %85, align 4
  %87 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %5, i32 0, i32 1
  %88 = extractvalue { <2 x float>, <2 x float> } %84, 1
  store <2 x float> %88, ptr %87, align 4
  %89 = load ptr, ptr %1, align 8, !tbaa !5
  %90 = getelementptr inbounds %struct.ImGuiContext, ptr %89, i32 0, i32 3
  %91 = getelementptr inbounds %struct.ImGuiIO, ptr %90, i32 0, i32 62
  %92 = getelementptr inbounds [5 x %struct.ImVec2], ptr %91, i64 0, i64 0
  %93 = call noundef zeroext i1 @_ZNK6ImRect8ContainsERK6ImVec2(ptr noundef nonnull align 4 dereferenceable(16) %5, ptr noundef nonnull align 4 dereferenceable(8) %92)
  %94 = xor i1 %93, true
  call void @llvm.lifetime.end.p0(i64 16, ptr %5) #5
  br i1 %94, label %95, label %98

95:                                               ; preds = %82
  %96 = load ptr, ptr %1, align 8, !tbaa !5
  %97 = getelementptr inbounds %struct.ImGuiContext, ptr %96, i32 0, i32 30
  store ptr null, ptr %97, align 8, !tbaa !84
  br label %98

98:                                               ; preds = %95, %82
  br label %99

99:                                               ; preds = %98, %76, %67
  br label %113

100:                                              ; preds = %64, %59
  %101 = load ptr, ptr %3, align 8, !tbaa !5
  %102 = icmp eq ptr %101, null
  br i1 %102, label %103, label %112

103:                                              ; preds = %100
  %104 = load ptr, ptr %1, align 8, !tbaa !5
  %105 = getelementptr inbounds %struct.ImGuiContext, ptr %104, i32 0, i32 72
  %106 = load ptr, ptr %105, align 8, !tbaa !67
  %107 = icmp ne ptr %106, null
  br i1 %107, label %108, label %112

108:                                              ; preds = %103
  %109 = call noundef ptr @_ZN5ImGui20GetTopMostPopupModalEv()
  %110 = icmp eq ptr %109, null
  br i1 %110, label %111, label %112

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

112:                                              ; preds = %111, %108, %103, %100
  br label %113

113:                                              ; preds = %112, %99
  call void @llvm.lifetime.end.p0(i64 1, ptr %4) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #5
  br label %114

114:                                              ; preds = %113, %34
  %115 = load ptr, ptr %1, align 8, !tbaa !5
  %116 = getelementptr inbounds %struct.ImGuiContext, ptr %115, i32 0, i32 3
  %117 = getelementptr inbounds %struct.ImGuiIO, ptr %116, i32 0, i32 64
  %118 = getelementptr inbounds [5 x i8], ptr %117, i64 0, i64 1
  %119 = load i8, ptr %118, align 1, !tbaa !78, !range !76, !noundef !77
  %120 = trunc i8 %119 to i1
  br i1 %120, label %121, label %179

121:                                              ; preds = %114
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #5
  %122 = call noundef ptr @_ZN5ImGui20GetTopMostPopupModalEv()
  store ptr %122, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %7) #5
  store i8 0, ptr %7, align 1, !tbaa !78
  %123 = load ptr, ptr %6, align 8, !tbaa !5
  %124 = icmp eq ptr %123, null
  br i1 %124, label %125, label %126

125:                                              ; preds = %121
  store i8 1, ptr %7, align 1, !tbaa !78
  br label %126

126:                                              ; preds = %125, %121
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #5
  %127 = load ptr, ptr %1, align 8, !tbaa !5
  %128 = getelementptr inbounds %struct.ImGuiContext, ptr %127, i32 0, i32 20
  %129 = getelementptr inbounds %struct.ImVector.3, ptr %128, i32 0, i32 0
  %130 = load i32, ptr %129, align 8, !tbaa !85
  %131 = sub nsw i32 %130, 1
  store i32 %131, ptr %8, align 4, !tbaa !86
  br label %132

132:                                              ; preds = %164, %126
  %133 = load i32, ptr %8, align 4, !tbaa !86
  %134 = icmp sge i32 %133, 0
  br i1 %134, label %135, label %140

135:                                              ; preds = %132
  %136 = load i8, ptr %7, align 1, !tbaa !78, !range !76, !noundef !77
  %137 = trunc i8 %136 to i1
  %138 = zext i1 %137 to i32
  %139 = icmp eq i32 %138, 0
  br label %140

140:                                              ; preds = %135, %132
  %141 = phi i1 [ false, %132 ], [ %139, %135 ]
  br i1 %141, label %143, label %142

142:                                              ; preds = %140
  store i32 2, ptr %2, align 4
  br label %167

143:                                              ; preds = %140
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #5
  %144 = load ptr, ptr %1, align 8, !tbaa !5
  %145 = getelementptr inbounds %struct.ImGuiContext, ptr %144, i32 0, i32 20
  %146 = load i32, ptr %8, align 4, !tbaa !86
  %147 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8ImVectorIP11ImGuiWindowEixEi(ptr noundef nonnull align 8 dereferenceable(16) %145, i32 noundef %146)
  %148 = load ptr, ptr %147, align 8, !tbaa !5
  store ptr %148, ptr %9, align 8, !tbaa !5
  %149 = load ptr, ptr %9, align 8, !tbaa !5
  %150 = load ptr, ptr %6, align 8, !tbaa !5
  %151 = icmp eq ptr %149, %150
  br i1 %151, label %152, label %153

152:                                              ; preds = %143
  store i32 2, ptr %2, align 4
  br label %161

153:                                              ; preds = %143
  %154 = load ptr, ptr %9, align 8, !tbaa !5
  %155 = load ptr, ptr %1, align 8, !tbaa !5
  %156 = getelementptr inbounds %struct.ImGuiContext, ptr %155, i32 0, i32 28
  %157 = load ptr, ptr %156, align 8, !tbaa !82
  %158 = icmp eq ptr %154, %157
  br i1 %158, label %159, label %160

159:                                              ; preds = %153
  store i8 1, ptr %7, align 1, !tbaa !78
  br label %160

160:                                              ; preds = %159, %153
  store i32 0, ptr %2, align 4
  br label %161

161:                                              ; preds = %160, %152
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  %162 = load i32, ptr %2, align 4
  switch i32 %162, label %167 [
    i32 0, label %163
  ]

163:                                              ; preds = %161
  br label %164

164:                                              ; preds = %163
  %165 = load i32, ptr %8, align 4, !tbaa !86
  %166 = add nsw i32 %165, -1
  store i32 %166, ptr %8, align 4, !tbaa !86
  br label %132, !llvm.loop !87

167:                                              ; preds = %161, %142
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #5
  br label %168

168:                                              ; preds = %167
  %169 = load i8, ptr %7, align 1, !tbaa !78, !range !76, !noundef !77
  %170 = trunc i8 %169 to i1
  br i1 %170, label %171, label %175

171:                                              ; preds = %168
  %172 = load ptr, ptr %1, align 8, !tbaa !5
  %173 = getelementptr inbounds %struct.ImGuiContext, ptr %172, i32 0, i32 28
  %174 = load ptr, ptr %173, align 8, !tbaa !82
  br label %177

175:                                              ; preds = %168
  %176 = load ptr, ptr %6, align 8, !tbaa !5
  br label %177

177:                                              ; preds = %175, %171
  %178 = phi ptr [ %174, %171 ], [ %176, %175 ]
  call void @_ZN5ImGui21ClosePopupsOverWindowEP11ImGuiWindowb(ptr noundef %178, i1 noundef zeroext true)
  call void @llvm.lifetime.end.p0(i64 1, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #5
  br label %179

179:                                              ; preds = %177, %114
  store i32 0, ptr %2, align 4
  br label %180

180:                                              ; preds = %179, %33, %20
  call void @llvm.lifetime.end.p0(i64 8, ptr %1) #5
  %181 = load i32, ptr %2, align 4
  switch i32 %181, label %183 [
    i32 0, label %182
    i32 1, label %182
  ]

182:                                              ; preds = %180, %180
  ret void

183:                                              ; preds = %180
  unreachable
}

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN5ImGui11IsPopupOpenEji(i32 noundef, i32 noundef) #2

; Function Attrs: mustprogress uwtable
declare dso_local { <2 x float>, <2 x float> } @_ZNK11ImGuiWindow12TitleBarRectEv(ptr noundef nonnull align 8 dereferenceable(1012)) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK6ImRect8ContainsERK6ImVec2(ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(8)) #3 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui21ClosePopupsOverWindowEP11ImGuiWindowb(ptr noundef, i1 noundef zeroext) #2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { 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 = { 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 = { 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 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !13, i64 6864}
!10 = !{!"_ZTS12ImGuiContext", !11, i64 0, !11, i64 1, !12, i64 8, !18, i64 5480, !6, i64 6432, !15, i64 6440, !15, i64 6444, !19, i64 6448, !21, i64 6664, !13, i64 6672, !13, i64 6676, !13, i64 6680, !11, i64 6684, !11, i64 6685, !11, i64 6686, !11, i64 6687, !13, i64 6688, !6, i64 6696, !22, i64 6704, !22, i64 6720, !22, i64 6736, !22, i64 6752, !23, i64 6768, !13, i64 6784, !6, i64 6792, !6, i64 6800, !6, i64 6808, !6, i64 6816, !6, i64 6824, !14, i64 6832, !15, i64 6840, !13, i64 6844, !11, i64 6848, !13, i64 6852, !15, i64 6856, !15, i64 6860, !13, i64 6864, !13, i64 6868, !15, i64 6872, !11, i64 6876, !11, i64 6877, !11, i64 6878, !11, i64 6879, !11, i64 6880, !13, i64 6884, !13, i64 6888, !25, i64 6896, !14, i64 6904, !6, i64 6912, !26, i64 6920, !13, i64 6924, !13, i64 6928, !11, i64 6932, !11, i64 6933, !6, i64 6936, !13, i64 6944, !15, i64 6948, !27, i64 6952, !29, i64 7064, !30, i64 7088, !31, i64 7104, !32, i64 7120, !33, i64 7136, !33, i64 7152, !6, i64 7168, !13, i64 7176, !13, i64 7180, !13, i64 7184, !13, i64 7188, !13, i64 7192, !13, i64 7196, !13, i64 7200, !13, i64 7204, !13, i64 7208, !13, i64 7212, !13, i64 7216, !26, i64 7220, !28, i64 7224, !13, i64 7240, !34, i64 7244, !13, i64 7248, !11, i64 7252, !11, i64 7253, !11, i64 7254, !11, i64 7255, !11, i64 7256, !11, i64 7257, !11, i64 7258, !13, i64 7260, !28, i64 7264, !11, i64 7280, !11, i64 7281, !13, i64 7284, !35, i64 7288, !13, i64 7292, !13, i64 7296, !13, i64 7300, !13, i64 7304, !36, i64 7312, !36, i64 7360, !36, i64 7408, !6, i64 7456, !13, i64 7464, !6, i64 7472, !6, i64 7480, !6, i64 7488, !15, i64 7496, !15, i64 7500, !11, i64 7504, !6, i64 7512, !6, i64 7520, !13, i64 7528, !13, i64 7532, !13, i64 7536, !13, i64 7540, !11, i64 7544, !37, i64 7552, !38, i64 7608, !15, i64 7640, !39, i64 7648, !39, i64 7872, !13, i64 8096, !11, i64 8100, !11, i64 8101, !11, i64 8102, !13, i64 8104, !13, i64 8108, !13, i64 8112, !48, i64 8120, !28, i64 8184, !13, i64 8200, !13, i64 8204, !15, i64 8208, !13, i64 8212, !13, i64 8216, !13, i64 8220, !13, i64 8224, !49, i64 8232, !7, i64 8248, !6, i64 8264, !50, i64 8272, !52, i64 8312, !53, i64 8328, !14, i64 8344, !54, i64 8352, !58, i64 12080, !13, i64 12200, !13, i64 12204, !15, i64 12208, !15, i64 12212, !7, i64 12216, !20, i64 12228, !11, i64 12244, !15, i64 12248, !15, i64 12252, !15, i64 12256, !13, i64 12260, !55, i64 12264, !61, i64 12280, !14, i64 12296, !14, i64 12304, !11, i64 12312, !15, i64 12316, !62, i64 12320, !63, i64 12336, !64, i64 12352, !11, i64 12368, !65, i64 12372, !6, i64 12376, !62, i64 12384, !15, i64 12400, !11, i64 12404, !13, i64 12408, !13, i64 12412, !13, i64 12416, !11, i64 12420, !13, i64 12424, !7, i64 12428, !13, i64 12908, !15, i64 12912, !13, i64 12916, !13, i64 12920, !13, i64 12924, !7, i64 12928}
!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, !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, !6, i64 288, !14, i64 296, !7, i64 304, !15, i64 312, !15, i64 316, !11, i64 320, !11, i64 321, !11, i64 322, !11, i64 323, !7, i64 324, !7, i64 836, !11, i64 920, !11, i64 921, !11, i64 922, !11, i64 923, !11, i64 924, !11, i64 925, !11, i64 926, !15, i64 928, !13, i64 932, !13, i64 936, !13, i64 940, !13, i64 944, !13, i64 948, !14, i64 952, !13, i64 960, !14, i64 964, !7, i64 972, !7, i64 1016, !7, i64 1056, !7, i64 1061, !7, i64 1066, !7, i64 1071, !7, i64 1076, !7, i64 1084, !7, i64 1104, !7, i64 1124, !7, i64 1164, !7, i64 1184, !7, i64 3232, !7, i64 5280, !7, i64 5364, !15, i64 5448, !16, i64 5452, !17, i64 5456}
!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, !15, i64 96, !15, i64 100, !15, i64 104, !15, i64 108, !15, i64 112, !15, i64 116, !15, i64 120, !15, i64 124, !15, i64 128, !13, i64 132, !14, i64 136, !14, i64 144, !14, i64 152, !14, i64 160, !15, i64 168, !11, i64 172, !11, i64 173, !11, i64 174, !15, i64 176, !15, i64 180, !7, i64 184}
!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 = !{!"_ZTS8ImVectorI14ImGuiPopupDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!34 = !{!"_ZTS13ImGuiNavLayer", !7, i64 0}
!35 = !{!"_ZTS15ImGuiNavForward", !7, i64 0}
!36 = !{!"_ZTS18ImGuiNavMoveResult", !6, i64 0, !13, i64 8, !13, i64 12, !15, i64 16, !15, i64 20, !15, i64 24, !28, i64 28}
!37 = !{!"_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}
!38 = !{!"_ZTS17ImDrawDataBuilder", !7, i64 0}
!39 = !{!"_ZTS10ImDrawList", !40, i64 0, !17, i64 16, !41, i64 32, !13, i64 48, !6, i64 56, !6, i64 64, !13, i64 72, !6, i64 80, !6, i64 88, !42, i64 96, !43, i64 112, !44, i64 128, !45, i64 144, !46, i64 200}
!40 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !13, i64 0, !13, i64 4, !6, i64 8}
!41 = !{!"_ZTS8ImVectorI10ImDrawVertE", !13, i64 0, !13, i64 4, !6, i64 8}
!42 = !{!"_ZTS8ImVectorI6ImVec4E", !13, i64 0, !13, i64 4, !6, i64 8}
!43 = !{!"_ZTS8ImVectorIPvE", !13, i64 0, !13, i64 4, !6, i64 8}
!44 = !{!"_ZTS8ImVectorI6ImVec2E", !13, i64 0, !13, i64 4, !6, i64 8}
!45 = !{!"_ZTS9ImDrawCmd", !20, i64 0, !6, i64 16, !13, i64 24, !13, i64 28, !13, i64 32, !6, i64 40, !6, i64 48}
!46 = !{!"_ZTS18ImDrawListSplitter", !13, i64 0, !13, i64 4, !47, i64 8}
!47 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !13, i64 0, !13, i64 4, !6, i64 8}
!48 = !{!"_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}
!49 = !{!"_ZTS8ImVectorIhE", !13, i64 0, !13, i64 4, !6, i64 8}
!50 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !51, i64 0, !23, i64 16, !13, i64 32}
!51 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !13, i64 0, !13, i64 4, !6, i64 8}
!52 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !13, i64 0, !13, i64 4, !6, i64 8}
!53 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !13, i64 0, !13, i64 4, !6, i64 8}
!54 = !{!"_ZTS19ImGuiInputTextState", !13, i64 0, !13, i64 4, !13, i64 8, !17, i64 16, !55, i64 32, !55, i64 48, !11, i64 64, !13, i64 68, !15, i64 72, !56, i64 76, !15, i64 3696, !11, i64 3700, !11, i64 3701, !13, i64 3704, !6, i64 3712, !6, i64 3720}
!55 = !{!"_ZTS8ImVectorIcE", !13, i64 0, !13, i64 4, !6, i64 8}
!56 = !{!"_ZTSN5ImStb17STB_TexteditStateE", !13, i64 0, !13, i64 4, !13, i64 8, !7, i64 12, !7, i64 13, !7, i64 14, !7, i64 15, !7, i64 16, !7, i64 17, !7, i64 18, !7, i64 19, !15, i64 20, !57, i64 24}
!57 = !{!"_ZTSN5ImStb12StbUndoStateE", !7, i64 0, !7, i64 1584, !16, i64 3582, !16, i64 3584, !13, i64 3588, !13, i64 3592}
!58 = !{!"_ZTS6ImFont", !59, i64 0, !15, i64 16, !15, i64 20, !17, i64 24, !60, i64 40, !6, i64 56, !14, i64 64, !6, i64 72, !6, i64 80, !16, i64 88, !16, i64 90, !16, i64 92, !11, i64 94, !15, i64 96, !15, i64 100, !15, i64 104, !13, i64 108, !7, i64 112}
!59 = !{!"_ZTS8ImVectorIfE", !13, i64 0, !13, i64 4, !6, i64 8}
!60 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !13, i64 0, !13, i64 4, !6, i64 8}
!61 = !{!"_ZTS8ImVectorIjE", !13, i64 0, !13, i64 4, !6, i64 8}
!62 = !{!"_ZTS15ImGuiTextBuffer", !55, i64 0}
!63 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !13, i64 0, !13, i64 4, !6, i64 8}
!64 = !{!"_ZTS13ImChunkStreamI19ImGuiWindowSettingsE", !55, i64 0}
!65 = !{!"_ZTS12ImGuiLogType", !7, i64 0}
!66 = !{!10, !13, i64 6844}
!67 = !{!10, !6, i64 7168}
!68 = !{!69, !11, i64 132}
!69 = !{!"_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, !15, i64 64, !15, i64 68, !13, i64 72, !13, i64 76, !13, i64 80, !14, i64 84, !14, i64 92, !14, i64 100, !14, i64 108, !14, i64 116, !11, i64 124, !11, i64 125, !11, i64 126, !11, i64 127, !11, i64 128, !11, i64 129, !11, i64 130, !11, i64 131, !11, i64 132, !11, i64 133, !11, i64 134, !11, i64 135, !7, i64 136, !16, i64 138, !16, i64 140, !16, i64 142, !13, i64 144, !7, i64 148, !7, i64 149, !7, i64 150, !11, i64 151, !13, i64 152, !13, i64 156, !13, i64 160, !13, i64 164, !13, i64 168, !13, i64 172, !14, i64 176, !14, i64 184, !61, i64 192, !70, i64 208, !28, i64 536, !28, i64 552, !28, i64 568, !28, i64 584, !28, i64 600, !28, i64 616, !13, i64 632, !15, i64 636, !15, i64 640, !23, i64 648, !75, i64 664, !15, i64 680, !13, i64 684, !6, i64 688, !39, i64 696, !6, i64 920, !6, i64 928, !6, i64 936, !6, i64 944, !6, i64 952, !7, i64 960, !7, i64 968, !11, i64 1000, !13, i64 1004, !13, i64 1008}
!70 = !{!"_ZTS19ImGuiWindowTempData", !14, i64 0, !14, i64 8, !14, i64 16, !14, i64 24, !14, i64 32, !14, i64 40, !15, i64 48, !15, i64 52, !71, i64 56, !71, i64 60, !71, i64 64, !13, i64 68, !13, i64 72, !28, i64 76, !28, i64 92, !34, i64 108, !13, i64 112, !13, i64 116, !13, i64 120, !13, i64 124, !11, i64 128, !11, i64 129, !11, i64 130, !14, i64 132, !72, i64 140, !13, i64 176, !13, i64 180, !22, i64 184, !6, i64 200, !6, i64 208, !13, i64 216, !13, i64 220, !13, i64 224, !13, i64 228, !13, i64 232, !15, i64 236, !15, i64 240, !73, i64 248, !59, i64 264, !59, i64 280, !74, i64 296, !7, i64 312}
!71 = !{!"_ZTS6ImVec1", !15, i64 0}
!72 = !{!"_ZTS16ImGuiMenuColumns", !15, i64 0, !15, i64 4, !15, i64 8, !7, i64 12, !7, i64 24}
!73 = !{!"_ZTS8ImVectorIiE", !13, i64 0, !13, i64 4, !6, i64 8}
!74 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!75 = !{!"_ZTS8ImVectorI12ImGuiColumnsE", !13, i64 0, !13, i64 4, !6, i64 8}
!76 = !{i8 0, i8 2}
!77 = !{}
!78 = !{!11, !11, i64 0}
!79 = !{!10, !6, i64 6808}
!80 = !{!69, !13, i64 12}
!81 = !{!69, !13, i64 144}
!82 = !{!10, !6, i64 6800}
!83 = !{!10, !11, i64 204}
!84 = !{!10, !6, i64 6816}
!85 = !{!10, !13, i64 6704}
!86 = !{!13, !13, i64 0}
!87 = distinct !{!87, !88}
!88 = !{!"llvm.loop.mustprogress"}


; 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.ImRect = type { %struct.ImVec2, %struct.ImVec2 }
%struct.ImVec2 = type { float, float }

@GImGui = external dso_local local_unnamed_addr global ptr, align 8

; 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 uwtable
declare dso_local void @_ZN5ImGui22StartMouseMovingWindowEP11ImGuiWindow(ptr noundef) local_unnamed_addr #1

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN5ImGui31UpdateMouseMovingWindowEndFrameEv() local_unnamed_addr #1 {
  %1 = alloca %struct.ImRect, align 8
  %2 = load ptr, ptr @GImGui, align 8, !tbaa !5
  %3 = getelementptr inbounds i8, ptr %2, i64 6864
  %4 = load i32, ptr %3, align 8, !tbaa !9
  %.not = icmp eq i32 %4, 0
  br i1 %.not, label %5, label %79

5:                                                ; preds = %0
  %6 = getelementptr inbounds i8, ptr %2, i64 6844
  %7 = load i32, ptr %6, align 4, !tbaa !66
  %.not40 = icmp eq i32 %7, 0
  br i1 %.not40, label %8, label %79

8:                                                ; preds = %5
  %9 = getelementptr inbounds i8, ptr %2, i64 7168
  %10 = load ptr, ptr %9, align 8, !tbaa !67
  %.not41 = icmp eq ptr %10, null
  br i1 %.not41, label %15, label %11

11:                                               ; preds = %8
  %12 = getelementptr inbounds i8, ptr %10, i64 132
  %13 = load i8, ptr %12, align 4, !tbaa !68, !range !76, !noundef !77
  %14 = trunc nuw i8 %13 to i1
  br i1 %14, label %79, label %15

15:                                               ; preds = %11, %8
  %16 = getelementptr inbounds i8, ptr %2, i64 1064
  %17 = load i8, ptr %16, align 8, !tbaa !78, !range !76, !noundef !77
  %18 = trunc nuw i8 %17 to i1
  br i1 %18, label %19, label %52

19:                                               ; preds = %15
  %20 = getelementptr inbounds i8, ptr %2, i64 6808
  %21 = load ptr, ptr %20, align 8, !tbaa !79
  %.not42 = icmp eq ptr %21, null
  br i1 %.not42, label %47, label %22

22:                                               ; preds = %19
  %23 = getelementptr inbounds i8, ptr %21, i64 12
  %24 = load i32, ptr %23, align 4, !tbaa !80
  %25 = and i32 %24, 67108864
  %.not43 = icmp eq i32 %25, 0
  br i1 %.not43, label %.thread, label %26

26:                                               ; preds = %22
  %27 = getelementptr inbounds i8, ptr %21, i64 144
  %28 = load i32, ptr %27, align 8, !tbaa !81
  %29 = tail call noundef zeroext i1 @_ZN5ImGui11IsPopupOpenEji(i32 noundef %28, i32 noundef 256)
  br i1 %29, label %.thread, label %52

.thread:                                          ; preds = %22, %26
  %30 = getelementptr inbounds i8, ptr %2, i64 6800
  %31 = load ptr, ptr %30, align 8, !tbaa !82
  tail call void @_ZN5ImGui22StartMouseMovingWindowEP11ImGuiWindow(ptr noundef %31)
  %32 = getelementptr inbounds i8, ptr %2, i64 204
  %33 = load i8, ptr %32, align 4, !tbaa !83, !range !76, !noundef !77
  %34 = trunc nuw i8 %33 to i1
  br i1 %34, label %35, label %52

35:                                               ; preds = %.thread
  %36 = load i32, ptr %23, align 4, !tbaa !80
  %37 = and i32 %36, 1
  %.not44 = icmp eq i32 %37, 0
  br i1 %.not44, label %38, label %52

38:                                               ; preds = %35
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %1) #5
  %39 = tail call { <2 x float>, <2 x float> } @_ZNK11ImGuiWindow12TitleBarRectEv(ptr noundef nonnull align 8 dereferenceable(1012) %21)
  %40 = extractvalue { <2 x float>, <2 x float> } %39, 0
  store <2 x float> %40, ptr %1, align 8
  %41 = getelementptr inbounds i8, ptr %1, i64 8
  %42 = extractvalue { <2 x float>, <2 x float> } %39, 1
  store <2 x float> %42, ptr %41, align 8
  %43 = getelementptr inbounds i8, ptr %2, i64 980
  %44 = call noundef zeroext i1 @_ZNK6ImRect8ContainsERK6ImVec2(ptr noundef nonnull align 4 dereferenceable(16) %1, ptr noundef nonnull align 4 dereferenceable(8) %43)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %1) #5
  br i1 %44, label %52, label %45

45:                                               ; preds = %38
  %46 = getelementptr inbounds i8, ptr %2, i64 6816
  store ptr null, ptr %46, align 8, !tbaa !84
  br label %52

47:                                               ; preds = %19
  br i1 %.not41, label %52, label %48

48:                                               ; preds = %47
  %49 = tail call noundef ptr @_ZN5ImGui20GetTopMostPopupModalEv()
  %50 = icmp eq ptr %49, null
  br i1 %50, label %51, label %52

51:                                               ; preds = %48
  tail call void @_ZN5ImGui11FocusWindowEP11ImGuiWindow(ptr noundef null)
  br label %52

52:                                               ; preds = %26, %38, %45, %35, %.thread, %51, %48, %47, %15
  %53 = getelementptr inbounds i8, ptr %2, i64 1065
  %54 = load i8, ptr %53, align 1, !tbaa !78, !range !76, !noundef !77
  %55 = trunc nuw i8 %54 to i1
  br i1 %55, label %56, label %79

56:                                               ; preds = %52
  %57 = call noundef ptr @_ZN5ImGui20GetTopMostPopupModalEv()
  %58 = icmp eq ptr %57, null
  %59 = getelementptr inbounds i8, ptr %2, i64 6704
  %60 = load i32, ptr %59, align 8, !tbaa !85
  %61 = icmp slt i32 %60, 1
  %.not57 = or i1 %61, %58
  br i1 %.not57, label %.thread49, label %.lr.ph

.lr.ph:                                           ; preds = %56
  %spec.store.select = zext i1 %58 to i8
  %62 = getelementptr inbounds i8, ptr %2, i64 6800
  br label %63

63:                                               ; preds = %.lr.ph, %66
  %.03453.in = phi i32 [ %60, %.lr.ph ], [ %.03453, %66 ]
  %.03552 = phi i8 [ %spec.store.select, %.lr.ph ], [ %spec.select, %66 ]
  %.03453 = add nsw i32 %.03453.in, -1
  %64 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8ImVectorIP11ImGuiWindowEixEi(ptr noundef nonnull align 8 dereferenceable(16) %59, i32 noundef %.03453)
  %65 = load ptr, ptr %64, align 8, !tbaa !5
  %.not46 = icmp eq ptr %65, %57
  br i1 %.not46, label %.thread49.loopexit, label %66

66:                                               ; preds = %63
  %67 = load ptr, ptr %62, align 8, !tbaa !82
  %68 = icmp eq ptr %65, %67
  %spec.select = select i1 %68, i8 1, i8 %.03552
  %69 = icmp ugt i32 %.03453.in, 1
  %70 = and i8 %spec.select, 1
  %71 = icmp eq i8 %70, 0
  %72 = select i1 %69, i1 %71, i1 false
  br i1 %72, label %63, label %.thread49.loopexit

.thread49.loopexit:                               ; preds = %63, %66
  %.035.lcssa.ph = phi i8 [ %spec.select, %66 ], [ %.03552, %63 ]
  %73 = trunc nuw i8 %.035.lcssa.ph to i1
  br i1 %73, label %74, label %77

.thread49:                                        ; preds = %56
  br i1 %58, label %74, label %77

74:                                               ; preds = %.thread49.loopexit, %.thread49
  %75 = getelementptr inbounds i8, ptr %2, i64 6800
  %76 = load ptr, ptr %75, align 8, !tbaa !82
  br label %77

77:                                               ; preds = %.thread49.loopexit, %.thread49, %74
  %78 = phi ptr [ %76, %74 ], [ %57, %.thread49 ], [ %57, %.thread49.loopexit ]
  call void @_ZN5ImGui21ClosePopupsOverWindowEP11ImGuiWindowb(ptr noundef %78, i1 noundef zeroext true)
  br label %79

79:                                               ; preds = %52, %77, %11, %0, %5
  ret void
}

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN5ImGui11IsPopupOpenEji(i32 noundef, i32 noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local { <2 x float>, <2 x float> } @_ZNK11ImGuiWindow12TitleBarRectEv(ptr noundef nonnull align 8 dereferenceable(1012)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK6ImRect8ContainsERK6ImVec2(ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #3 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui21ClosePopupsOverWindowEP11ImGuiWindowb(ptr noundef, i1 noundef zeroext) local_unnamed_addr #2

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !13, i64 6864}
!10 = !{!"_ZTS12ImGuiContext", !11, i64 0, !11, i64 1, !12, i64 8, !18, i64 5480, !6, i64 6432, !15, i64 6440, !15, i64 6444, !19, i64 6448, !21, i64 6664, !13, i64 6672, !13, i64 6676, !13, i64 6680, !11, i64 6684, !11, i64 6685, !11, i64 6686, !11, i64 6687, !13, i64 6688, !6, i64 6696, !22, i64 6704, !22, i64 6720, !22, i64 6736, !22, i64 6752, !23, i64 6768, !13, i64 6784, !6, i64 6792, !6, i64 6800, !6, i64 6808, !6, i64 6816, !6, i64 6824, !14, i64 6832, !15, i64 6840, !13, i64 6844, !11, i64 6848, !13, i64 6852, !15, i64 6856, !15, i64 6860, !13, i64 6864, !13, i64 6868, !15, i64 6872, !11, i64 6876, !11, i64 6877, !11, i64 6878, !11, i64 6879, !11, i64 6880, !13, i64 6884, !13, i64 6888, !25, i64 6896, !14, i64 6904, !6, i64 6912, !26, i64 6920, !13, i64 6924, !13, i64 6928, !11, i64 6932, !11, i64 6933, !6, i64 6936, !13, i64 6944, !15, i64 6948, !27, i64 6952, !29, i64 7064, !30, i64 7088, !31, i64 7104, !32, i64 7120, !33, i64 7136, !33, i64 7152, !6, i64 7168, !13, i64 7176, !13, i64 7180, !13, i64 7184, !13, i64 7188, !13, i64 7192, !13, i64 7196, !13, i64 7200, !13, i64 7204, !13, i64 7208, !13, i64 7212, !13, i64 7216, !26, i64 7220, !28, i64 7224, !13, i64 7240, !34, i64 7244, !13, i64 7248, !11, i64 7252, !11, i64 7253, !11, i64 7254, !11, i64 7255, !11, i64 7256, !11, i64 7257, !11, i64 7258, !13, i64 7260, !28, i64 7264, !11, i64 7280, !11, i64 7281, !13, i64 7284, !35, i64 7288, !13, i64 7292, !13, i64 7296, !13, i64 7300, !13, i64 7304, !36, i64 7312, !36, i64 7360, !36, i64 7408, !6, i64 7456, !13, i64 7464, !6, i64 7472, !6, i64 7480, !6, i64 7488, !15, i64 7496, !15, i64 7500, !11, i64 7504, !6, i64 7512, !6, i64 7520, !13, i64 7528, !13, i64 7532, !13, i64 7536, !13, i64 7540, !11, i64 7544, !37, i64 7552, !38, i64 7608, !15, i64 7640, !39, i64 7648, !39, i64 7872, !13, i64 8096, !11, i64 8100, !11, i64 8101, !11, i64 8102, !13, i64 8104, !13, i64 8108, !13, i64 8112, !48, i64 8120, !28, i64 8184, !13, i64 8200, !13, i64 8204, !15, i64 8208, !13, i64 8212, !13, i64 8216, !13, i64 8220, !13, i64 8224, !49, i64 8232, !7, i64 8248, !6, i64 8264, !50, i64 8272, !52, i64 8312, !53, i64 8328, !14, i64 8344, !54, i64 8352, !58, i64 12080, !13, i64 12200, !13, i64 12204, !15, i64 12208, !15, i64 12212, !7, i64 12216, !20, i64 12228, !11, i64 12244, !15, i64 12248, !15, i64 12252, !15, i64 12256, !13, i64 12260, !55, i64 12264, !61, i64 12280, !14, i64 12296, !14, i64 12304, !11, i64 12312, !15, i64 12316, !62, i64 12320, !63, i64 12336, !64, i64 12352, !11, i64 12368, !65, i64 12372, !6, i64 12376, !62, i64 12384, !15, i64 12400, !11, i64 12404, !13, i64 12408, !13, i64 12412, !13, i64 12416, !11, i64 12420, !13, i64 12424, !7, i64 12428, !13, i64 12908, !15, i64 12912, !13, i64 12916, !13, i64 12920, !13, i64 12924, !7, i64 12928}
!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, !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, !6, i64 288, !14, i64 296, !7, i64 304, !15, i64 312, !15, i64 316, !11, i64 320, !11, i64 321, !11, i64 322, !11, i64 323, !7, i64 324, !7, i64 836, !11, i64 920, !11, i64 921, !11, i64 922, !11, i64 923, !11, i64 924, !11, i64 925, !11, i64 926, !15, i64 928, !13, i64 932, !13, i64 936, !13, i64 940, !13, i64 944, !13, i64 948, !14, i64 952, !13, i64 960, !14, i64 964, !7, i64 972, !7, i64 1016, !7, i64 1056, !7, i64 1061, !7, i64 1066, !7, i64 1071, !7, i64 1076, !7, i64 1084, !7, i64 1104, !7, i64 1124, !7, i64 1164, !7, i64 1184, !7, i64 3232, !7, i64 5280, !7, i64 5364, !15, i64 5448, !16, i64 5452, !17, i64 5456}
!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, !15, i64 96, !15, i64 100, !15, i64 104, !15, i64 108, !15, i64 112, !15, i64 116, !15, i64 120, !15, i64 124, !15, i64 128, !13, i64 132, !14, i64 136, !14, i64 144, !14, i64 152, !14, i64 160, !15, i64 168, !11, i64 172, !11, i64 173, !11, i64 174, !15, i64 176, !15, i64 180, !7, i64 184}
!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 = !{!"_ZTS8ImVectorI14ImGuiPopupDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!34 = !{!"_ZTS13ImGuiNavLayer", !7, i64 0}
!35 = !{!"_ZTS15ImGuiNavForward", !7, i64 0}
!36 = !{!"_ZTS18ImGuiNavMoveResult", !6, i64 0, !13, i64 8, !13, i64 12, !15, i64 16, !15, i64 20, !15, i64 24, !28, i64 28}
!37 = !{!"_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}
!38 = !{!"_ZTS17ImDrawDataBuilder", !7, i64 0}
!39 = !{!"_ZTS10ImDrawList", !40, i64 0, !17, i64 16, !41, i64 32, !13, i64 48, !6, i64 56, !6, i64 64, !13, i64 72, !6, i64 80, !6, i64 88, !42, i64 96, !43, i64 112, !44, i64 128, !45, i64 144, !46, i64 200}
!40 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !13, i64 0, !13, i64 4, !6, i64 8}
!41 = !{!"_ZTS8ImVectorI10ImDrawVertE", !13, i64 0, !13, i64 4, !6, i64 8}
!42 = !{!"_ZTS8ImVectorI6ImVec4E", !13, i64 0, !13, i64 4, !6, i64 8}
!43 = !{!"_ZTS8ImVectorIPvE", !13, i64 0, !13, i64 4, !6, i64 8}
!44 = !{!"_ZTS8ImVectorI6ImVec2E", !13, i64 0, !13, i64 4, !6, i64 8}
!45 = !{!"_ZTS9ImDrawCmd", !20, i64 0, !6, i64 16, !13, i64 24, !13, i64 28, !13, i64 32, !6, i64 40, !6, i64 48}
!46 = !{!"_ZTS18ImDrawListSplitter", !13, i64 0, !13, i64 4, !47, i64 8}
!47 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !13, i64 0, !13, i64 4, !6, i64 8}
!48 = !{!"_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}
!49 = !{!"_ZTS8ImVectorIhE", !13, i64 0, !13, i64 4, !6, i64 8}
!50 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !51, i64 0, !23, i64 16, !13, i64 32}
!51 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !13, i64 0, !13, i64 4, !6, i64 8}
!52 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !13, i64 0, !13, i64 4, !6, i64 8}
!53 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !13, i64 0, !13, i64 4, !6, i64 8}
!54 = !{!"_ZTS19ImGuiInputTextState", !13, i64 0, !13, i64 4, !13, i64 8, !17, i64 16, !55, i64 32, !55, i64 48, !11, i64 64, !13, i64 68, !15, i64 72, !56, i64 76, !15, i64 3696, !11, i64 3700, !11, i64 3701, !13, i64 3704, !6, i64 3712, !6, i64 3720}
!55 = !{!"_ZTS8ImVectorIcE", !13, i64 0, !13, i64 4, !6, i64 8}
!56 = !{!"_ZTSN5ImStb17STB_TexteditStateE", !13, i64 0, !13, i64 4, !13, i64 8, !7, i64 12, !7, i64 13, !7, i64 14, !7, i64 15, !7, i64 16, !7, i64 17, !7, i64 18, !7, i64 19, !15, i64 20, !57, i64 24}
!57 = !{!"_ZTSN5ImStb12StbUndoStateE", !7, i64 0, !7, i64 1584, !16, i64 3582, !16, i64 3584, !13, i64 3588, !13, i64 3592}
!58 = !{!"_ZTS6ImFont", !59, i64 0, !15, i64 16, !15, i64 20, !17, i64 24, !60, i64 40, !6, i64 56, !14, i64 64, !6, i64 72, !6, i64 80, !16, i64 88, !16, i64 90, !16, i64 92, !11, i64 94, !15, i64 96, !15, i64 100, !15, i64 104, !13, i64 108, !7, i64 112}
!59 = !{!"_ZTS8ImVectorIfE", !13, i64 0, !13, i64 4, !6, i64 8}
!60 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !13, i64 0, !13, i64 4, !6, i64 8}
!61 = !{!"_ZTS8ImVectorIjE", !13, i64 0, !13, i64 4, !6, i64 8}
!62 = !{!"_ZTS15ImGuiTextBuffer", !55, i64 0}
!63 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !13, i64 0, !13, i64 4, !6, i64 8}
!64 = !{!"_ZTS13ImChunkStreamI19ImGuiWindowSettingsE", !55, i64 0}
!65 = !{!"_ZTS12ImGuiLogType", !7, i64 0}
!66 = !{!10, !13, i64 6844}
!67 = !{!10, !6, i64 7168}
!68 = !{!69, !11, i64 132}
!69 = !{!"_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, !15, i64 64, !15, i64 68, !13, i64 72, !13, i64 76, !13, i64 80, !14, i64 84, !14, i64 92, !14, i64 100, !14, i64 108, !14, i64 116, !11, i64 124, !11, i64 125, !11, i64 126, !11, i64 127, !11, i64 128, !11, i64 129, !11, i64 130, !11, i64 131, !11, i64 132, !11, i64 133, !11, i64 134, !11, i64 135, !7, i64 136, !16, i64 138, !16, i64 140, !16, i64 142, !13, i64 144, !7, i64 148, !7, i64 149, !7, i64 150, !11, i64 151, !13, i64 152, !13, i64 156, !13, i64 160, !13, i64 164, !13, i64 168, !13, i64 172, !14, i64 176, !14, i64 184, !61, i64 192, !70, i64 208, !28, i64 536, !28, i64 552, !28, i64 568, !28, i64 584, !28, i64 600, !28, i64 616, !13, i64 632, !15, i64 636, !15, i64 640, !23, i64 648, !75, i64 664, !15, i64 680, !13, i64 684, !6, i64 688, !39, i64 696, !6, i64 920, !6, i64 928, !6, i64 936, !6, i64 944, !6, i64 952, !7, i64 960, !7, i64 968, !11, i64 1000, !13, i64 1004, !13, i64 1008}
!70 = !{!"_ZTS19ImGuiWindowTempData", !14, i64 0, !14, i64 8, !14, i64 16, !14, i64 24, !14, i64 32, !14, i64 40, !15, i64 48, !15, i64 52, !71, i64 56, !71, i64 60, !71, i64 64, !13, i64 68, !13, i64 72, !28, i64 76, !28, i64 92, !34, i64 108, !13, i64 112, !13, i64 116, !13, i64 120, !13, i64 124, !11, i64 128, !11, i64 129, !11, i64 130, !14, i64 132, !72, i64 140, !13, i64 176, !13, i64 180, !22, i64 184, !6, i64 200, !6, i64 208, !13, i64 216, !13, i64 220, !13, i64 224, !13, i64 228, !13, i64 232, !15, i64 236, !15, i64 240, !73, i64 248, !59, i64 264, !59, i64 280, !74, i64 296, !7, i64 312}
!71 = !{!"_ZTS6ImVec1", !15, i64 0}
!72 = !{!"_ZTS16ImGuiMenuColumns", !15, i64 0, !15, i64 4, !15, i64 8, !7, i64 12, !7, i64 24}
!73 = !{!"_ZTS8ImVectorIiE", !13, i64 0, !13, i64 4, !6, i64 8}
!74 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!75 = !{!"_ZTS8ImVectorI12ImGuiColumnsE", !13, i64 0, !13, i64 4, !6, i64 8}
!76 = !{i8 0, i8 2}
!77 = !{}
!78 = !{!11, !11, i64 0}
!79 = !{!10, !6, i64 6808}
!80 = !{!69, !13, i64 12}
!81 = !{!69, !13, i64 144}
!82 = !{!10, !6, i64 6800}
!83 = !{!10, !11, i64 204}
!84 = !{!10, !6, i64 6816}
!85 = !{!10, !13, i64 6704}


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