; LLVM IR from Samson-Mano/EM_Propogation_simulation :: EM_Propogation_simulation/src/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, %struct.ImGuiIO, %struct.ImGuiStyle, ptr, float, float, %struct.ImDrawListSharedData, double, i32, i32, i32, i8, i8, i8, i8, i8, ptr, %struct.ImVector.1, %struct.ImVector.1, i32, i32, %struct.ImVector.2, %struct.ImVector.2, %struct.ImVector.2, %struct.ImVector.3, %struct.ImGuiStorage, i32, %struct.ImVec2, ptr, ptr, ptr, ptr, ptr, %struct.ImVec2, i32, float, %struct.ImVec2, %struct.ImVec2, i32, i32, i32, i8, i8, float, float, i32, i32, float, i8, i8, i8, i8, i8, i8, %struct.ImVec2, ptr, i32, i32, i32, i8, i8, ptr, i32, float, [140 x %struct.ImGuiKeyOwnerData], %struct.ImGuiKeyRoutingTable, i32, i8, i32, i32, i32, i32, %struct.ImGuiNextItemData, %struct.ImGuiLastItemData, %struct.ImGuiNextWindowData, %struct.ImVector.6, %struct.ImVector.7, %struct.ImVector.8, %struct.ImVector.9, %struct.ImVector.10, %struct.ImVector.11, %struct.ImVector.12, %struct.ImVector.12, i32, %struct.ImVector.13, ptr, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i8, i8, i8, i8, i8, i8, i8, i32, %struct.ImRect, i8, i8, i8, i32, i32, i32, i32, i32, i32, %struct.ImRect, %struct.ImRect, i32, i32, i32, %struct.ImGuiNavItemData, %struct.ImGuiNavItemData, %struct.ImGuiNavItemData, %struct.ImGuiNavItemData, i32, i32, ptr, ptr, ptr, float, float, i8, %struct.ImVec2, %struct.ImVec2, float, i32, i8, i8, i8, i32, i32, i32, [4 x i8], %struct.ImGuiPayload, %struct.ImRect, i32, i32, float, i32, i32, i32, i32, %struct.ImVector.14, [16 x i8], i32, %struct.ImVector.15, ptr, i32, %struct.ImVector.16, %struct.ImPool, %struct.ImVector.18, %struct.ImVector.19, ptr, %struct.ImPool.20, %struct.ImVector.22, %struct.ImVector.23, i32, i32, float, float, %struct.ImVec2, %struct.ImGuiInputTextState, %struct.ImGuiInputTextDeactivatedState, %struct.ImFont, i32, i32, i32, i32, float, float, i32, %struct.ImVec4, %struct.ImGuiComboPreviewData, float, float, i8, i8, float, float, float, float, i16, i16, %struct.ImVector.24, %struct.ImVector.9, %struct.ImGuiPlatformImeData, %struct.ImGuiPlatformImeData, i8, i8, float, %struct.ImGuiTextBuffer, %struct.ImVector.26, %struct.ImChunkStream, %struct.ImChunkStream.27, %struct.ImVector.28, i32, [7 x ptr], i8, i32, ptr, %struct.ImGuiTextBuffer, ptr, ptr, float, i8, i32, i32, i32, i32, %struct.ImGuiTextBuffer, %struct.ImGuiTextIndex, i8, i8, i8, i8, i8, i32, %struct.ImGuiMetricsConfig, %struct.ImGuiStackTool, [60 x float], i32, i32, float, i32, i32, i32, %struct.ImVector.24 }
%struct.ImGuiIO = type { i32, i32, %struct.ImVec2, float, float, ptr, ptr, float, float, float, float, float, float, float, ptr, ptr, float, i8, ptr, %struct.ImVec2, i8, i8, i8, i8, i8, i8, i8, i8, float, i8, i8, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i8, i8, i8, i8, i8, i8, i8, float, i32, i32, i32, i32, i32, %struct.ImVec2, [652 x i32], [652 x i8], [16 x float], ptr, %struct.ImVec2, [5 x i8], float, float, i32, i8, i8, i8, i8, i32, [652 x %struct.ImGuiKeyData], i8, %struct.ImVec2, [5 x %struct.ImVec2], [5 x double], [5 x i8], [5 x i8], [5 x i16], [5 x i16], [5 x i8], [5 x i8], [5 x i8], i8, [5 x float], [5 x float], [5 x float], float, i8, i8, i8, i8, i16, %struct.ImVector }
%struct.ImGuiKeyData = type { i8, float, float, float }
%struct.ImVector = type { i32, i32, ptr }
%struct.ImGuiStyle = type { float, float, %struct.ImVec2, float, float, %struct.ImVec2, %struct.ImVec2, i32, float, float, float, float, %struct.ImVec2, float, float, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, float, float, float, float, float, float, float, float, float, i32, %struct.ImVec2, %struct.ImVec2, float, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, i8, i8, i8, float, float, [53 x %struct.ImVec4] }
%struct.ImDrawListSharedData = type { %struct.ImVec2, ptr, float, float, float, %struct.ImVec4, i32, %struct.ImVector.0, [48 x %struct.ImVec2], float, [64 x i8], ptr }
%struct.ImVector.0 = type { i32, i32, ptr }
%struct.ImVector.1 = type { i32, i32, ptr }
%struct.ImVector.2 = type { i32, i32, ptr }
%struct.ImVector.3 = type { i32, i32, ptr }
%struct.ImGuiStorage = type { %struct.ImVector.4 }
%struct.ImVector.4 = type { i32, i32, ptr }
%struct.ImGuiKeyOwnerData = type <{ i32, i32, i8, i8, [2 x i8] }>
%struct.ImGuiKeyRoutingTable = type { [140 x i16], %struct.ImVector.5, %struct.ImVector.5 }
%struct.ImVector.5 = type { i32, i32, ptr }
%struct.ImGuiNextItemData = type <{ i32, float, i32, i32, i8, [3 x i8] }>
%struct.ImGuiLastItemData = type { i32, i32, i32, %struct.ImRect, %struct.ImRect, %struct.ImRect }
%struct.ImGuiNextWindowData = type <{ i32, i32, i32, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, i8, [3 x i8], %struct.ImRect, [4 x i8], ptr, ptr, float, %struct.ImVec2, [4 x i8] }>
%struct.ImVector.6 = type { i32, i32, ptr }
%struct.ImVector.7 = type { i32, i32, ptr }
%struct.ImVector.8 = 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.ImGuiNavItemData = type { ptr, i32, i32, %struct.ImRect, i32, float, float, float }
%struct.ImGuiPayload = type <{ ptr, i32, i32, i32, i32, [33 x i8], i8, i8, [5 x i8] }>
%struct.ImVector.14 = type { i32, i32, ptr }
%struct.ImVector.15 = type { i32, i32, ptr }
%struct.ImVector.16 = type { i32, i32, ptr }
%struct.ImPool = type { %struct.ImVector.17, %struct.ImGuiStorage, i32, i32 }
%struct.ImVector.17 = type { i32, i32, ptr }
%struct.ImVector.18 = type { i32, i32, ptr }
%struct.ImVector.19 = type { i32, i32, ptr }
%struct.ImPool.20 = type { %struct.ImVector.21, %struct.ImGuiStorage, i32, i32 }
%struct.ImVector.21 = type { i32, i32, ptr }
%struct.ImVector.22 = type { i32, i32, ptr }
%struct.ImVector.23 = type { i32, i32, ptr }
%struct.ImGuiInputTextState = type <{ ptr, i32, i32, i32, [4 x i8], %struct.ImVector, %struct.ImVector.24, %struct.ImVector.24, i8, [3 x i8], i32, float, %"struct.ImStb::STB_TexteditState", float, i8, i8, i8, i8, i32, [4 x i8] }>
%"struct.ImStb::STB_TexteditState" = type { i32, i32, i32, i8, i32, i8, i8, i8, i8, i8, i8, i8, float, %"struct.ImStb::StbUndoState" }
%"struct.ImStb::StbUndoState" = type { [99 x %"struct.ImStb::StbUndoRecord"], [999 x i16], i16, i16, i32, i32 }
%"struct.ImStb::StbUndoRecord" = type { i32, i32, i32, i32 }
%struct.ImGuiInputTextDeactivatedState = type { i32, %struct.ImVector.24 }
%struct.ImFont = type <{ %struct.ImVector.18, float, float, %struct.ImVector, %struct.ImVector.25, ptr, ptr, ptr, i16, i16, i16, i16, float, float, i8, [3 x i8], float, float, float, i32, [2 x i8], [2 x i8] }>
%struct.ImVector.25 = type { i32, i32, ptr }
%struct.ImVec4 = type { float, float, float, float }
%struct.ImGuiComboPreviewData = type { %struct.ImRect, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, i32 }
%struct.ImVector.9 = type { i32, i32, ptr }
%struct.ImGuiPlatformImeData = type { i8, %struct.ImVec2, float }
%struct.ImVector.26 = type { i32, i32, ptr }
%struct.ImChunkStream = type { %struct.ImVector.24 }
%struct.ImChunkStream.27 = type { %struct.ImVector.24 }
%struct.ImVector.28 = type { i32, i32, ptr }
%struct.ImGuiTextBuffer = type { %struct.ImVector.24 }
%struct.ImGuiTextIndex = type <{ %struct.ImVector.10, i32, [4 x i8] }>
%struct.ImGuiMetricsConfig = type { i8, i8, i8, i8, i8, i8, i8, i8, i32, i32 }
%struct.ImGuiStackTool = type { i32, i32, i32, %struct.ImVector.29, i8, float }
%struct.ImVector.29 = type { i32, i32, ptr }
%struct.ImVector.24 = type { i32, i32, ptr }
%struct.ImGuiWindow = type <{ ptr, ptr, i32, i32, ptr, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, float, float, float, float, float, float, float, i32, i32, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i16, i16, i16, i16, i16, i32, i8, i8, i8, i8, i32, i8, i8, i8, i8, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVector.9, %struct.ImGuiWindowTempData, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImVec2ih, %struct.ImVec2ih, i32, float, float, [4 x i8], %struct.ImGuiStorage, %struct.ImVector.32, float, i32, ptr, %struct.ImDrawList, ptr, ptr, ptr, ptr, ptr, ptr, ptr, [2 x i32], [2 x %struct.ImRect], i32, i32, i32, i8, [3 x i8] }>
%struct.ImGuiWindowTempData = type { %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, float, i8, i8, %struct.ImVec1, %struct.ImVec1, %struct.ImVec1, %struct.ImVec2, i32, i16, i16, i8, i8, i8, i8, %struct.ImVec2, %struct.ImGuiMenuColumns, i32, i32, %struct.ImVector.2, ptr, ptr, i32, i32, i32, float, float, %struct.ImVector.18, %struct.ImVector.18 }
%struct.ImVec1 = type { float }
%struct.ImGuiMenuColumns = type <{ i32, i32, i16, i16, i16, i16, i16, [4 x i16], [2 x i8] }>
%struct.ImVec2ih = type { i16, i16 }
%struct.ImVector.32 = type { i32, i32, ptr }
%struct.ImDrawList = type <{ %struct.ImVector.33, %struct.ImVector, %struct.ImVector.34, i32, i32, ptr, ptr, ptr, ptr, %struct.ImVector.35, %struct.ImVector.36, %struct.ImVector.0, %struct.ImDrawCmdHeader, %struct.ImDrawListSplitter, float, [4 x i8] }>
%struct.ImVector.33 = type { i32, i32, ptr }
%struct.ImVector.34 = type { i32, i32, ptr }
%struct.ImVector.35 = type { i32, i32, ptr }
%struct.ImVector.36 = type { i32, i32, ptr }
%struct.ImDrawCmdHeader = type <{ %struct.ImVec4, ptr, i32, [4 x i8] }>
%struct.ImDrawListSplitter = type { i32, i32, %struct.ImVector.19 }

@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
  call void @llvm.lifetime.start.p0(i64 8, ptr %1) #4
  %8 = load ptr, ptr @GImGui, align 8, !tbaa !5
  store ptr %8, ptr %1, align 8, !tbaa !5
  %9 = load ptr, ptr %1, align 8, !tbaa !5
  %10 = getelementptr inbounds %struct.ImGuiContext, ptr %9, i32 0, i32 46
  %11 = load i32, ptr %10, align 8, !tbaa !9
  %12 = icmp ne i32 %11, 0
  br i1 %12, label %18, label %13

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

18:                                               ; preds = %13, %0
  store i32 1, ptr %2, align 4
  br label %168

19:                                               ; preds = %13
  %20 = load ptr, ptr %1, align 8, !tbaa !5
  %21 = getelementptr inbounds %struct.ImGuiContext, ptr %20, i32 0, i32 86
  %22 = load ptr, ptr %21, align 8, !tbaa !78
  %23 = icmp ne ptr %22, null
  br i1 %23, label %24, label %32

24:                                               ; preds = %19
  %25 = load ptr, ptr %1, align 8, !tbaa !5
  %26 = getelementptr inbounds %struct.ImGuiContext, ptr %25, i32 0, i32 86
  %27 = load ptr, ptr %26, align 8, !tbaa !78
  %28 = getelementptr inbounds %struct.ImGuiWindow, ptr %27, i32 0, i32 37
  %29 = load i8, ptr %28, align 4, !tbaa !79, !range !93, !noundef !94
  %30 = trunc i8 %29 to i1
  br i1 %30, label %31, label %32

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

32:                                               ; preds = %24, %19
  %33 = load ptr, ptr %1, align 8, !tbaa !5
  %34 = getelementptr inbounds %struct.ImGuiContext, ptr %33, i32 0, i32 2
  %35 = getelementptr inbounds %struct.ImGuiIO, ptr %34, i32 0, i32 74
  %36 = getelementptr inbounds [5 x i8], ptr %35, i64 0, i64 0
  %37 = load i8, ptr %36, align 8, !tbaa !95, !range !93, !noundef !94
  %38 = trunc i8 %37 to i1
  br i1 %38, label %39, label %130

39:                                               ; preds = %32
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #4
  %40 = load ptr, ptr %1, align 8, !tbaa !5
  %41 = getelementptr inbounds %struct.ImGuiContext, ptr %40, i32 0, i32 30
  %42 = load ptr, ptr %41, align 8, !tbaa !96
  %43 = icmp ne ptr %42, null
  br i1 %43, label %44, label %50

44:                                               ; preds = %39
  %45 = load ptr, ptr %1, align 8, !tbaa !5
  %46 = getelementptr inbounds %struct.ImGuiContext, ptr %45, i32 0, i32 30
  %47 = load ptr, ptr %46, align 8, !tbaa !96
  %48 = getelementptr inbounds %struct.ImGuiWindow, ptr %47, i32 0, i32 84
  %49 = load ptr, ptr %48, align 8, !tbaa !97
  br label %51

50:                                               ; preds = %39
  br label %51

51:                                               ; preds = %50, %44
  %52 = phi ptr [ %49, %44 ], [ null, %50 ]
  store ptr %52, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %4) #4
  %53 = load ptr, ptr %3, align 8, !tbaa !5
  %54 = icmp ne ptr %53, null
  br i1 %54, label %55, label %67

55:                                               ; preds = %51
  %56 = load ptr, ptr %3, align 8, !tbaa !5
  %57 = getelementptr inbounds %struct.ImGuiWindow, ptr %56, i32 0, i32 3
  %58 = load i32, ptr %57, align 4, !tbaa !98
  %59 = and i32 %58, 67108864
  %60 = icmp ne i32 %59, 0
  br i1 %60, label %61, label %67

61:                                               ; preds = %55
  %62 = load ptr, ptr %3, align 8, !tbaa !5
  %63 = getelementptr inbounds %struct.ImGuiWindow, ptr %62, i32 0, i32 48
  %64 = load i32, ptr %63, align 4, !tbaa !99
  %65 = call noundef zeroext i1 @_ZN5ImGui11IsPopupOpenEji(i32 noundef %64, i32 noundef 256)
  %66 = xor i1 %65, true
  br label %67

67:                                               ; preds = %61, %55, %51
  %68 = phi i1 [ false, %55 ], [ false, %51 ], [ %66, %61 ]
  %69 = zext i1 %68 to i8
  store i8 %69, ptr %4, align 1, !tbaa !95
  %70 = load ptr, ptr %3, align 8, !tbaa !5
  %71 = icmp ne ptr %70, null
  br i1 %71, label %72, label %116

72:                                               ; preds = %67
  %73 = load i8, ptr %4, align 1, !tbaa !95, !range !93, !noundef !94
  %74 = trunc i8 %73 to i1
  br i1 %74, label %116, label %75

75:                                               ; preds = %72
  %76 = load ptr, ptr %1, align 8, !tbaa !5
  %77 = getelementptr inbounds %struct.ImGuiContext, ptr %76, i32 0, i32 30
  %78 = load ptr, ptr %77, align 8, !tbaa !96
  call void @_ZN5ImGui22StartMouseMovingWindowEP11ImGuiWindow(ptr noundef %78)
  %79 = load ptr, ptr %1, align 8, !tbaa !5
  %80 = getelementptr inbounds %struct.ImGuiContext, ptr %79, i32 0, i32 2
  %81 = getelementptr inbounds %struct.ImGuiIO, ptr %80, i32 0, i32 27
  %82 = load i8, ptr %81, align 1, !tbaa !100, !range !93, !noundef !94
  %83 = trunc i8 %82 to i1
  br i1 %83, label %84, label %107

84:                                               ; preds = %75
  %85 = load ptr, ptr %3, align 8, !tbaa !5
  %86 = getelementptr inbounds %struct.ImGuiWindow, ptr %85, i32 0, i32 3
  %87 = load i32, ptr %86, align 4, !tbaa !98
  %88 = and i32 %87, 1
  %89 = icmp ne i32 %88, 0
  br i1 %89, label %107, label %90

90:                                               ; preds = %84
  call void @llvm.lifetime.start.p0(i64 16, ptr %5) #4
  %91 = load ptr, ptr %3, align 8, !tbaa !5
  %92 = call { <2 x float>, <2 x float> } @_ZNK11ImGuiWindow12TitleBarRectEv(ptr noundef nonnull align 8 dereferenceable(981) %91)
  %93 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %5, i32 0, i32 0
  %94 = extractvalue { <2 x float>, <2 x float> } %92, 0
  store <2 x float> %94, ptr %93, align 4
  %95 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %5, i32 0, i32 1
  %96 = extractvalue { <2 x float>, <2 x float> } %92, 1
  store <2 x float> %96, ptr %95, align 4
  %97 = load ptr, ptr %1, align 8, !tbaa !5
  %98 = getelementptr inbounds %struct.ImGuiContext, ptr %97, i32 0, i32 2
  %99 = getelementptr inbounds %struct.ImGuiIO, ptr %98, i32 0, i32 72
  %100 = getelementptr inbounds [5 x %struct.ImVec2], ptr %99, i64 0, i64 0
  %101 = call noundef zeroext i1 @_ZNK6ImRect8ContainsERK6ImVec2(ptr noundef nonnull align 4 dereferenceable(16) %5, ptr noundef nonnull align 4 dereferenceable(8) %100)
  %102 = xor i1 %101, true
  call void @llvm.lifetime.end.p0(i64 16, ptr %5) #4
  br i1 %102, label %103, label %106

103:                                              ; preds = %90
  %104 = load ptr, ptr %1, align 8, !tbaa !5
  %105 = getelementptr inbounds %struct.ImGuiContext, ptr %104, i32 0, i32 32
  store ptr null, ptr %105, align 8, !tbaa !101
  br label %106

106:                                              ; preds = %103, %90
  br label %107

107:                                              ; preds = %106, %84, %75
  %108 = load ptr, ptr %1, align 8, !tbaa !5
  %109 = getelementptr inbounds %struct.ImGuiContext, ptr %108, i32 0, i32 43
  %110 = load i8, ptr %109, align 1, !tbaa !102, !range !93, !noundef !94
  %111 = trunc i8 %110 to i1
  br i1 %111, label %112, label %115

112:                                              ; preds = %107
  %113 = load ptr, ptr %1, align 8, !tbaa !5
  %114 = getelementptr inbounds %struct.ImGuiContext, ptr %113, i32 0, i32 32
  store ptr null, ptr %114, align 8, !tbaa !101
  br label %115

115:                                              ; preds = %112, %107
  br label %129

116:                                              ; preds = %72, %67
  %117 = load ptr, ptr %3, align 8, !tbaa !5
  %118 = icmp eq ptr %117, null
  br i1 %118, label %119, label %128

119:                                              ; preds = %116
  %120 = load ptr, ptr %1, align 8, !tbaa !5
  %121 = getelementptr inbounds %struct.ImGuiContext, ptr %120, i32 0, i32 86
  %122 = load ptr, ptr %121, align 8, !tbaa !78
  %123 = icmp ne ptr %122, null
  br i1 %123, label %124, label %128

124:                                              ; preds = %119
  %125 = call noundef ptr @_ZN5ImGui20GetTopMostPopupModalEv()
  %126 = icmp eq ptr %125, null
  br i1 %126, label %127, label %128

127:                                              ; preds = %124
  call void @_ZN5ImGui11FocusWindowEP11ImGuiWindow(ptr noundef null)
  br label %128

128:                                              ; preds = %127, %124, %119, %116
  br label %129

129:                                              ; preds = %128, %115
  call void @llvm.lifetime.end.p0(i64 1, ptr %4) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #4
  br label %130

130:                                              ; preds = %129, %32
  %131 = load ptr, ptr %1, align 8, !tbaa !5
  %132 = getelementptr inbounds %struct.ImGuiContext, ptr %131, i32 0, i32 2
  %133 = getelementptr inbounds %struct.ImGuiIO, ptr %132, i32 0, i32 74
  %134 = getelementptr inbounds [5 x i8], ptr %133, i64 0, i64 1
  %135 = load i8, ptr %134, align 1, !tbaa !95, !range !93, !noundef !94
  %136 = trunc i8 %135 to i1
  br i1 %136, label %137, label %167

137:                                              ; preds = %130
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #4
  %138 = call noundef ptr @_ZN5ImGui20GetTopMostPopupModalEv()
  store ptr %138, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %7) #4
  %139 = load ptr, ptr %1, align 8, !tbaa !5
  %140 = getelementptr inbounds %struct.ImGuiContext, ptr %139, i32 0, i32 30
  %141 = load ptr, ptr %140, align 8, !tbaa !96
  %142 = icmp ne ptr %141, null
  br i1 %142, label %143, label %154

143:                                              ; preds = %137
  %144 = load ptr, ptr %6, align 8, !tbaa !5
  %145 = icmp eq ptr %144, null
  br i1 %145, label %152, label %146

146:                                              ; preds = %143
  %147 = load ptr, ptr %1, align 8, !tbaa !5
  %148 = getelementptr inbounds %struct.ImGuiContext, ptr %147, i32 0, i32 30
  %149 = load ptr, ptr %148, align 8, !tbaa !96
  %150 = load ptr, ptr %6, align 8, !tbaa !5
  %151 = call noundef zeroext i1 @_ZN5ImGui13IsWindowAboveEP11ImGuiWindowS1_(ptr noundef %149, ptr noundef %150)
  br label %152

152:                                              ; preds = %146, %143
  %153 = phi i1 [ true, %143 ], [ %151, %146 ]
  br label %154

154:                                              ; preds = %152, %137
  %155 = phi i1 [ false, %137 ], [ %153, %152 ]
  %156 = zext i1 %155 to i8
  store i8 %156, ptr %7, align 1, !tbaa !95
  %157 = load i8, ptr %7, align 1, !tbaa !95, !range !93, !noundef !94
  %158 = trunc i8 %157 to i1
  br i1 %158, label %159, label %163

159:                                              ; preds = %154
  %160 = load ptr, ptr %1, align 8, !tbaa !5
  %161 = getelementptr inbounds %struct.ImGuiContext, ptr %160, i32 0, i32 30
  %162 = load ptr, ptr %161, align 8, !tbaa !96
  br label %165

163:                                              ; preds = %154
  %164 = load ptr, ptr %6, align 8, !tbaa !5
  br label %165

165:                                              ; preds = %163, %159
  %166 = phi ptr [ %162, %159 ], [ %164, %163 ]
  call void @_ZN5ImGui21ClosePopupsOverWindowEP11ImGuiWindowb(ptr noundef %166, i1 noundef zeroext true)
  call void @llvm.lifetime.end.p0(i64 1, ptr %7) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #4
  br label %167

167:                                              ; preds = %165, %130
  store i32 0, ptr %2, align 4
  br label %168

168:                                              ; preds = %167, %31, %18
  call void @llvm.lifetime.end.p0(i64 8, ptr %1) #4
  %169 = load i32, ptr %2, align 4
  switch i32 %169, label %171 [
    i32 0, label %170
    i32 1, label %170
  ]

170:                                              ; preds = %168, %168
  ret void

171:                                              ; preds = %168
  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(981)) #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: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN5ImGui13IsWindowAboveEP11ImGuiWindowS1_(ptr noundef, ptr noundef) #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 = { 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 16176}
!10 = !{!"_ZTS12ImGuiContext", !11, i64 0, !11, i64 1, !12, i64 8, !19, i64 14288, !6, i64 15360, !15, i64 15368, !15, i64 15372, !20, i64 15376, !23, i64 15904, !13, i64 15912, !13, i64 15916, !13, i64 15920, !11, i64 15924, !11, i64 15925, !11, i64 15926, !11, i64 15927, !11, i64 15928, !6, i64 15936, !24, i64 15944, !24, i64 15960, !16, i64 15976, !13, i64 15980, !25, i64 15984, !25, i64 16000, !25, i64 16016, !26, i64 16032, !27, i64 16048, !13, i64 16064, !14, i64 16068, !6, i64 16080, !6, i64 16088, !6, i64 16096, !6, i64 16104, !6, i64 16112, !14, i64 16120, !13, i64 16128, !15, i64 16132, !14, i64 16136, !14, i64 16144, !13, i64 16152, !13, i64 16156, !13, i64 16160, !11, i64 16164, !11, i64 16165, !15, i64 16168, !15, i64 16172, !13, i64 16176, !13, i64 16180, !15, i64 16184, !11, i64 16188, !11, i64 16189, !11, i64 16190, !11, i64 16191, !11, i64 16192, !11, i64 16193, !14, i64 16196, !6, i64 16208, !29, i64 16216, !13, i64 16220, !13, i64 16224, !11, i64 16228, !11, i64 16229, !6, i64 16232, !13, i64 16240, !15, i64 16244, !7, i64 16248, !30, i64 17928, !13, i64 18240, !11, i64 18244, !13, i64 18248, !13, i64 18252, !13, i64 18256, !13, i64 18260, !32, i64 18264, !33, i64 18284, !35, i64 18344, !36, i64 18456, !37, i64 18472, !38, i64 18488, !39, i64 18504, !40, i64 18520, !41, i64 18536, !42, i64 18552, !42, i64 18568, !13, i64 18584, !43, i64 18592, !6, i64 18608, !13, i64 18616, !13, i64 18620, !13, i64 18624, !13, i64 18628, !13, i64 18632, !13, i64 18636, !13, i64 18640, !13, i64 18644, !13, i64 18648, !13, i64 18652, !13, i64 18656, !29, i64 18660, !44, i64 18664, !11, i64 18668, !11, i64 18669, !11, i64 18670, !11, i64 18671, !11, i64 18672, !11, i64 18673, !11, i64 18674, !13, i64 18676, !34, i64 18680, !11, i64 18696, !11, i64 18697, !11, i64 18698, !13, i64 18700, !13, i64 18704, !13, i64 18708, !13, i64 18712, !13, i64 18716, !13, i64 18720, !34, i64 18724, !34, i64 18740, !13, i64 18756, !13, i64 18760, !13, i64 18764, !45, i64 18768, !45, i64 18816, !45, i64 18864, !45, i64 18912, !13, i64 18960, !13, i64 18964, !6, i64 18968, !6, i64 18976, !6, i64 18984, !15, i64 18992, !15, i64 18996, !11, i64 19000, !14, i64 19004, !14, i64 19012, !15, i64 19020, !13, i64 19024, !11, i64 19028, !11, i64 19029, !11, i64 19030, !13, i64 19032, !13, i64 19036, !13, i64 19040, !46, i64 19048, !34, i64 19112, !13, i64 19128, !13, i64 19132, !15, i64 19136, !13, i64 19140, !13, i64 19144, !13, i64 19148, !13, i64 19152, !47, i64 19160, !7, i64 19176, !13, i64 19192, !48, i64 19200, !6, i64 19216, !13, i64 19224, !49, i64 19232, !50, i64 19248, !52, i64 19288, !53, i64 19304, !6, i64 19320, !54, i64 19328, !56, i64 19368, !57, i64 19384, !13, i64 19400, !13, i64 19404, !15, i64 19408, !15, i64 19412, !14, i64 19416, !58, i64 19424, !62, i64 23152, !63, i64 23176, !13, i64 23296, !13, i64 23300, !13, i64 23304, !13, i64 23308, !15, i64 23312, !15, i64 23316, !13, i64 23320, !21, i64 23324, !65, i64 23340, !15, i64 23388, !15, i64 23392, !11, i64 23396, !11, i64 23397, !15, i64 23400, !15, i64 23404, !15, i64 23408, !15, i64 23412, !17, i64 23416, !17, i64 23418, !59, i64 23424, !39, i64 23440, !66, i64 23456, !66, i64 23472, !7, i64 23488, !11, i64 23489, !15, i64 23492, !67, i64 23496, !68, i64 23512, !69, i64 23528, !70, i64 23544, !71, i64 23560, !13, i64 23576, !7, i64 23584, !11, i64 23640, !72, i64 23644, !6, i64 23648, !67, i64 23656, !6, i64 23672, !6, i64 23680, !15, i64 23688, !11, i64 23692, !13, i64 23696, !13, i64 23700, !13, i64 23704, !13, i64 23708, !67, i64 23712, !73, i64 23728, !7, i64 23752, !7, i64 23753, !7, i64 23754, !11, i64 23755, !7, i64 23756, !13, i64 23760, !74, i64 23764, !75, i64 23784, !7, i64 23824, !13, i64 24064, !13, i64 24068, !15, i64 24072, !13, i64 24076, !13, i64 24080, !13, i64 24084, !59, i64 24088}
!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, !15, i64 52, !15, i64 56, !15, i64 60, !15, i64 64, !6, i64 72, !6, i64 80, !15, i64 88, !11, i64 92, !6, i64 96, !14, i64 104, !11, i64 112, !11, i64 113, !11, i64 114, !11, i64 115, !11, i64 116, !11, i64 117, !11, i64 118, !11, i64 119, !15, i64 120, !11, i64 124, !11, i64 125, !6, i64 128, !6, i64 136, !6, i64 144, !6, i64 152, !6, i64 160, !6, i64 168, !6, i64 176, !6, i64 184, !6, i64 192, !6, i64 200, !11, i64 208, !11, i64 209, !11, i64 210, !11, i64 211, !11, i64 212, !11, i64 213, !11, i64 214, !15, i64 216, !13, i64 220, !13, i64 224, !13, i64 228, !13, i64 232, !13, i64 236, !14, i64 240, !7, i64 248, !7, i64 2856, !7, i64 3508, !6, i64 3576, !14, i64 3584, !7, i64 3592, !15, i64 3600, !15, i64 3604, !16, i64 3608, !11, i64 3612, !11, i64 3613, !11, i64 3614, !11, i64 3615, !13, i64 3616, !7, i64 3620, !11, i64 14052, !14, i64 14056, !7, i64 14064, !7, i64 14104, !7, i64 14144, !7, i64 14149, !7, i64 14154, !7, i64 14164, !7, i64 14174, !7, i64 14179, !7, i64 14184, !11, i64 14189, !7, i64 14192, !7, i64 14212, !7, i64 14232, !15, i64 14252, !11, i64 14256, !11, i64 14257, !7, i64 14258, !11, i64 14259, !17, i64 14260, !18, i64 14264}
!13 = !{!"int", !7, i64 0}
!14 = !{!"_ZTS6ImVec2", !15, i64 0, !15, i64 4}
!15 = !{!"float", !7, i64 0}
!16 = !{!"_ZTS16ImGuiMouseSource", !7, i64 0}
!17 = !{!"short", !7, i64 0}
!18 = !{!"_ZTS8ImVectorItE", !13, i64 0, !13, i64 4, !6, i64 8}
!19 = !{!"_ZTS10ImGuiStyle", !15, i64 0, !15, i64 4, !14, i64 8, !15, i64 16, !15, i64 20, !14, i64 24, !14, i64 32, !13, i64 40, !15, i64 44, !15, i64 48, !15, i64 52, !15, i64 56, !14, i64 60, !15, i64 68, !15, i64 72, !14, i64 76, !14, i64 84, !14, i64 92, !14, i64 100, !15, i64 108, !15, i64 112, !15, i64 116, !15, i64 120, !15, i64 124, !15, i64 128, !15, i64 132, !15, i64 136, !15, i64 140, !15, i64 144, !13, i64 148, !14, i64 152, !14, i64 160, !15, i64 168, !14, i64 172, !14, i64 180, !14, i64 188, !14, i64 196, !15, i64 204, !11, i64 208, !11, i64 209, !11, i64 210, !15, i64 212, !15, i64 216, !7, i64 220}
!20 = !{!"_ZTS20ImDrawListSharedData", !14, i64 0, !6, i64 8, !15, i64 16, !15, i64 20, !15, i64 24, !21, i64 28, !13, i64 44, !22, i64 48, !7, i64 64, !15, i64 448, !7, i64 452, !6, i64 520}
!21 = !{!"_ZTS6ImVec4", !15, i64 0, !15, i64 4, !15, i64 8, !15, i64 12}
!22 = !{!"_ZTS8ImVectorI6ImVec2E", !13, i64 0, !13, i64 4, !6, i64 8}
!23 = !{!"double", !7, i64 0}
!24 = !{!"_ZTS8ImVectorI15ImGuiInputEventE", !13, i64 0, !13, i64 4, !6, i64 8}
!25 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !13, i64 0, !13, i64 4, !6, i64 8}
!26 = !{!"_ZTS8ImVectorI20ImGuiWindowStackDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!27 = !{!"_ZTS12ImGuiStorage", !28, i64 0}
!28 = !{!"_ZTS8ImVectorIN12ImGuiStorage16ImGuiStoragePairEE", !13, i64 0, !13, i64 4, !6, i64 8}
!29 = !{!"_ZTS16ImGuiInputSource", !7, i64 0}
!30 = !{!"_ZTS20ImGuiKeyRoutingTable", !7, i64 0, !31, i64 280, !31, i64 296}
!31 = !{!"_ZTS8ImVectorI19ImGuiKeyRoutingDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!32 = !{!"_ZTS17ImGuiNextItemData", !13, i64 0, !15, i64 4, !13, i64 8, !13, i64 12, !11, i64 16}
!33 = !{!"_ZTS17ImGuiLastItemData", !13, i64 0, !13, i64 4, !13, i64 8, !34, i64 12, !34, i64 28, !34, i64 44}
!34 = !{!"_ZTS6ImRect", !14, i64 0, !14, i64 8}
!35 = !{!"_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, !34, i64 60, !6, i64 80, !6, i64 88, !15, i64 96, !14, i64 100}
!36 = !{!"_ZTS8ImVectorI13ImGuiColorModE", !13, i64 0, !13, i64 4, !6, i64 8}
!37 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !13, i64 0, !13, i64 4, !6, i64 8}
!38 = !{!"_ZTS8ImVectorIP6ImFontE", !13, i64 0, !13, i64 4, !6, i64 8}
!39 = !{!"_ZTS8ImVectorIjE", !13, i64 0, !13, i64 4, !6, i64 8}
!40 = !{!"_ZTS8ImVectorIiE", !13, i64 0, !13, i64 4, !6, i64 8}
!41 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!42 = !{!"_ZTS8ImVectorI14ImGuiPopupDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!43 = !{!"_ZTS8ImVectorIP14ImGuiViewportPE", !13, i64 0, !13, i64 4, !6, i64 8}
!44 = !{!"_ZTS13ImGuiNavLayer", !7, i64 0}
!45 = !{!"_ZTS16ImGuiNavItemData", !6, i64 0, !13, i64 8, !13, i64 12, !34, i64 16, !13, i64 32, !15, i64 36, !15, i64 40, !15, i64 44}
!46 = !{!"_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}
!47 = !{!"_ZTS8ImVectorIhE", !13, i64 0, !13, i64 4, !6, i64 8}
!48 = !{!"_ZTS8ImVectorI20ImGuiListClipperDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!49 = !{!"_ZTS8ImVectorI18ImGuiTableTempDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!50 = !{!"_ZTS6ImPoolI10ImGuiTableE", !51, i64 0, !27, i64 16, !13, i64 32, !13, i64 36}
!51 = !{!"_ZTS8ImVectorI10ImGuiTableE", !13, i64 0, !13, i64 4, !6, i64 8}
!52 = !{!"_ZTS8ImVectorIfE", !13, i64 0, !13, i64 4, !6, i64 8}
!53 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !13, i64 0, !13, i64 4, !6, i64 8}
!54 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !55, i64 0, !27, i64 16, !13, i64 32, !13, i64 36}
!55 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !13, i64 0, !13, i64 4, !6, i64 8}
!56 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !13, i64 0, !13, i64 4, !6, i64 8}
!57 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !13, i64 0, !13, i64 4, !6, i64 8}
!58 = !{!"_ZTS19ImGuiInputTextState", !6, i64 0, !13, i64 8, !13, i64 12, !13, i64 16, !18, i64 24, !59, i64 40, !59, i64 56, !11, i64 72, !13, i64 76, !15, i64 80, !60, i64 84, !15, i64 3712, !11, i64 3716, !11, i64 3717, !11, i64 3718, !13, i64 3720}
!59 = !{!"_ZTS8ImVectorIcE", !13, i64 0, !13, i64 4, !6, i64 8}
!60 = !{!"_ZTSN5ImStb17STB_TexteditStateE", !13, i64 0, !13, i64 4, !13, i64 8, !7, i64 12, !13, i64 16, !7, i64 20, !7, i64 21, !7, i64 22, !7, i64 23, !7, i64 24, !7, i64 25, !7, i64 26, !15, i64 28, !61, i64 32}
!61 = !{!"_ZTSN5ImStb12StbUndoStateE", !7, i64 0, !7, i64 1584, !17, i64 3582, !17, i64 3584, !13, i64 3588, !13, i64 3592}
!62 = !{!"_ZTS30ImGuiInputTextDeactivatedState", !13, i64 0, !59, i64 8}
!63 = !{!"_ZTS6ImFont", !52, i64 0, !15, i64 16, !15, i64 20, !18, i64 24, !64, i64 40, !6, i64 56, !6, i64 64, !6, i64 72, !17, i64 80, !17, i64 82, !17, i64 84, !17, i64 86, !15, i64 88, !15, i64 92, !11, i64 96, !15, i64 100, !15, i64 104, !15, i64 108, !13, i64 112, !7, i64 116}
!64 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !13, i64 0, !13, i64 4, !6, i64 8}
!65 = !{!"_ZTS21ImGuiComboPreviewData", !34, i64 0, !14, i64 16, !14, i64 24, !14, i64 32, !15, i64 40, !13, i64 44}
!66 = !{!"_ZTS20ImGuiPlatformImeData", !11, i64 0, !14, i64 4, !15, i64 12}
!67 = !{!"_ZTS15ImGuiTextBuffer", !59, i64 0}
!68 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !13, i64 0, !13, i64 4, !6, i64 8}
!69 = !{!"_ZTS13ImChunkStreamI19ImGuiWindowSettingsE", !59, i64 0}
!70 = !{!"_ZTS13ImChunkStreamI18ImGuiTableSettingsE", !59, i64 0}
!71 = !{!"_ZTS8ImVectorI16ImGuiContextHookE", !13, i64 0, !13, i64 4, !6, i64 8}
!72 = !{!"_ZTS12ImGuiLogType", !7, i64 0}
!73 = !{!"_ZTS14ImGuiTextIndex", !40, i64 0, !13, i64 16}
!74 = !{!"_ZTS18ImGuiMetricsConfig", !11, i64 0, !11, i64 1, !11, i64 2, !11, i64 3, !11, i64 4, !11, i64 5, !11, i64 6, !11, i64 7, !13, i64 8, !13, i64 12}
!75 = !{!"_ZTS14ImGuiStackTool", !13, i64 0, !13, i64 4, !13, i64 8, !76, i64 16, !11, i64 32, !15, i64 36}
!76 = !{!"_ZTS8ImVectorI19ImGuiStackLevelInfoE", !13, i64 0, !13, i64 4, !6, i64 8}
!77 = !{!10, !13, i64 16156}
!78 = !{!10, !6, i64 18608}
!79 = !{!80, !11, i64 188}
!80 = !{!"_ZTS11ImGuiWindow", !6, i64 0, !6, i64 8, !13, i64 16, !13, i64 20, !6, i64 24, !14, i64 32, !14, i64 40, !14, i64 48, !14, i64 56, !14, i64 64, !14, i64 72, !14, i64 80, !15, i64 88, !15, i64 92, !15, i64 96, !15, i64 100, !15, i64 104, !15, i64 108, !15, i64 112, !15, i64 116, !13, i64 120, !13, i64 124, !13, i64 128, !14, i64 132, !14, i64 140, !14, i64 148, !14, i64 156, !14, i64 164, !14, i64 172, !11, i64 180, !11, i64 181, !11, i64 182, !11, i64 183, !11, i64 184, !11, i64 185, !11, i64 186, !11, i64 187, !11, i64 188, !11, i64 189, !11, i64 190, !11, i64 191, !11, i64 192, !7, i64 193, !17, i64 194, !17, i64 196, !17, i64 198, !17, i64 200, !17, i64 202, !13, i64 204, !7, i64 208, !7, i64 209, !7, i64 210, !11, i64 211, !13, i64 212, !7, i64 216, !7, i64 217, !7, i64 218, !7, i64 219, !13, i64 220, !13, i64 221, !13, i64 222, !14, i64 224, !14, i64 232, !39, i64 240, !81, i64 256, !34, i64 488, !34, i64 504, !34, i64 520, !34, i64 536, !34, i64 552, !34, i64 568, !34, i64 584, !84, i64 600, !84, i64 604, !13, i64 608, !15, i64 612, !15, i64 616, !27, i64 624, !85, i64 640, !15, i64 656, !13, i64 660, !6, i64 664, !86, i64 672, !6, i64 872, !6, i64 880, !6, i64 888, !6, i64 896, !6, i64 904, !6, i64 912, !6, i64 920, !7, i64 928, !7, i64 936, !13, i64 968, !13, i64 972, !13, i64 976, !11, i64 980}
!81 = !{!"_ZTS19ImGuiWindowTempData", !14, i64 0, !14, i64 8, !14, i64 16, !14, i64 24, !14, i64 32, !14, i64 40, !14, i64 48, !15, i64 56, !15, i64 60, !11, i64 64, !11, i64 65, !82, i64 68, !82, i64 72, !82, i64 76, !14, i64 80, !44, i64 88, !17, i64 92, !17, i64 94, !11, i64 96, !11, i64 97, !11, i64 98, !11, i64 99, !14, i64 100, !83, i64 108, !13, i64 136, !13, i64 140, !25, i64 144, !6, i64 160, !6, i64 168, !13, i64 176, !13, i64 180, !13, i64 184, !15, i64 188, !15, i64 192, !52, i64 200, !52, i64 216}
!82 = !{!"_ZTS6ImVec1", !15, i64 0}
!83 = !{!"_ZTS16ImGuiMenuColumns", !13, i64 0, !13, i64 4, !17, i64 8, !17, i64 10, !17, i64 12, !17, i64 14, !17, i64 16, !7, i64 18}
!84 = !{!"_ZTS8ImVec2ih", !17, i64 0, !17, i64 2}
!85 = !{!"_ZTS8ImVectorI15ImGuiOldColumnsE", !13, i64 0, !13, i64 4, !6, i64 8}
!86 = !{!"_ZTS10ImDrawList", !87, i64 0, !18, i64 16, !88, i64 32, !13, i64 48, !13, i64 52, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !89, i64 88, !90, i64 104, !22, i64 120, !91, i64 136, !92, i64 168, !15, i64 192}
!87 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !13, i64 0, !13, i64 4, !6, i64 8}
!88 = !{!"_ZTS8ImVectorI10ImDrawVertE", !13, i64 0, !13, i64 4, !6, i64 8}
!89 = !{!"_ZTS8ImVectorI6ImVec4E", !13, i64 0, !13, i64 4, !6, i64 8}
!90 = !{!"_ZTS8ImVectorIPvE", !13, i64 0, !13, i64 4, !6, i64 8}
!91 = !{!"_ZTS15ImDrawCmdHeader", !21, i64 0, !6, i64 16, !13, i64 24}
!92 = !{!"_ZTS18ImDrawListSplitter", !13, i64 0, !13, i64 4, !53, i64 8}
!93 = !{i8 0, i8 2}
!94 = !{}
!95 = !{!11, !11, i64 0}
!96 = !{!10, !6, i64 16088}
!97 = !{!80, !6, i64 888}
!98 = !{!80, !13, i64 20}
!99 = !{!80, !13, i64 204}
!100 = !{!10, !11, i64 127}
!101 = !{!10, !6, i64 16104}
!102 = !{!10, !11, i64 16165}


; 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 16176
  %4 = load i32, ptr %3, align 8, !tbaa !9
  %.not = icmp eq i32 %4, 0
  br i1 %.not, label %5, label %72

5:                                                ; preds = %0
  %6 = getelementptr inbounds i8, ptr %2, i64 16156
  %7 = load i32, ptr %6, align 4, !tbaa !77
  %.not33 = icmp eq i32 %7, 0
  br i1 %.not33, label %8, label %72

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

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

15:                                               ; preds = %11, %8
  %16 = getelementptr inbounds i8, ptr %2, i64 14152
  %17 = load i8, ptr %16, align 8, !tbaa !95, !range !93, !noundef !94
  %18 = trunc nuw i8 %17 to i1
  br i1 %18, label %19, label %59

19:                                               ; preds = %15
  %20 = getelementptr inbounds i8, ptr %2, i64 16088
  %21 = load ptr, ptr %20, align 8, !tbaa !96
  %.not35 = icmp eq ptr %21, null
  br i1 %.not35, label %.thread, label %22

22:                                               ; preds = %19
  %23 = getelementptr inbounds i8, ptr %21, i64 888
  %24 = load ptr, ptr %23, align 8, !tbaa !97
  %.not36 = icmp eq ptr %24, null
  br i1 %.not36, label %.thread, label %25

25:                                               ; preds = %22
  %26 = getelementptr inbounds i8, ptr %24, i64 20
  %27 = load i32, ptr %26, align 4, !tbaa !98
  %28 = and i32 %27, 67108864
  %.not37 = icmp eq i32 %28, 0
  br i1 %.not37, label %.critedge52, label %29

29:                                               ; preds = %25
  %30 = getelementptr inbounds i8, ptr %24, i64 204
  %31 = load i32, ptr %30, align 4, !tbaa !99
  %32 = tail call noundef zeroext i1 @_ZN5ImGui11IsPopupOpenEji(i32 noundef %31, i32 noundef 256)
  br i1 %32, label %..critedge52_crit_edge, label %59

..critedge52_crit_edge:                           ; preds = %29
  %.pre = load ptr, ptr %20, align 8, !tbaa !96
  br label %.critedge52

.critedge52:                                      ; preds = %..critedge52_crit_edge, %25
  %33 = phi ptr [ %.pre, %..critedge52_crit_edge ], [ %21, %25 ]
  tail call void @_ZN5ImGui22StartMouseMovingWindowEP11ImGuiWindow(ptr noundef %33)
  %34 = getelementptr inbounds i8, ptr %2, i64 127
  %35 = load i8, ptr %34, align 1, !tbaa !100, !range !93, !noundef !94
  %36 = trunc nuw i8 %35 to i1
  br i1 %36, label %37, label %49

37:                                               ; preds = %.critedge52
  %38 = load i32, ptr %26, align 4, !tbaa !98
  %39 = and i32 %38, 1
  %.not38 = icmp eq i32 %39, 0
  br i1 %.not38, label %40, label %49

40:                                               ; preds = %37
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %1) #4
  %41 = tail call { <2 x float>, <2 x float> } @_ZNK11ImGuiWindow12TitleBarRectEv(ptr noundef nonnull align 8 dereferenceable(981) %24)
  %42 = extractvalue { <2 x float>, <2 x float> } %41, 0
  store <2 x float> %42, ptr %1, align 8
  %43 = getelementptr inbounds i8, ptr %1, i64 8
  %44 = extractvalue { <2 x float>, <2 x float> } %41, 1
  store <2 x float> %44, ptr %43, align 8
  %45 = getelementptr inbounds i8, ptr %2, i64 14072
  %46 = call noundef zeroext i1 @_ZNK6ImRect8ContainsERK6ImVec2(ptr noundef nonnull align 4 dereferenceable(16) %1, ptr noundef nonnull align 4 dereferenceable(8) %45)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %1) #4
  br i1 %46, label %49, label %47

47:                                               ; preds = %40
  %48 = getelementptr inbounds i8, ptr %2, i64 16104
  store ptr null, ptr %48, align 8, !tbaa !101
  br label %49

49:                                               ; preds = %40, %47, %37, %.critedge52
  %50 = getelementptr inbounds i8, ptr %2, i64 16165
  %51 = load i8, ptr %50, align 1, !tbaa !102, !range !93, !noundef !94
  %52 = trunc nuw i8 %51 to i1
  br i1 %52, label %53, label %59

53:                                               ; preds = %49
  %54 = getelementptr inbounds i8, ptr %2, i64 16104
  store ptr null, ptr %54, align 8, !tbaa !101
  br label %59

.thread:                                          ; preds = %19, %22
  br i1 %.not34, label %59, label %55

55:                                               ; preds = %.thread
  %56 = tail call noundef ptr @_ZN5ImGui20GetTopMostPopupModalEv()
  %57 = icmp eq ptr %56, null
  br i1 %57, label %58, label %59

58:                                               ; preds = %55
  tail call void @_ZN5ImGui11FocusWindowEP11ImGuiWindow(ptr noundef null)
  br label %59

59:                                               ; preds = %29, %53, %49, %58, %55, %.thread, %15
  %60 = getelementptr inbounds i8, ptr %2, i64 14153
  %61 = load i8, ptr %60, align 1, !tbaa !95, !range !93, !noundef !94
  %62 = trunc nuw i8 %61 to i1
  br i1 %62, label %63, label %72

63:                                               ; preds = %59
  %64 = call noundef ptr @_ZN5ImGui20GetTopMostPopupModalEv()
  %65 = getelementptr inbounds i8, ptr %2, i64 16088
  %66 = load ptr, ptr %65, align 8, !tbaa !96
  %.not40 = icmp eq ptr %66, null
  br i1 %.not40, label %.critedge, label %67

67:                                               ; preds = %63
  %68 = icmp eq ptr %64, null
  br i1 %68, label %.critedge, label %69

69:                                               ; preds = %67
  %70 = call noundef zeroext i1 @_ZN5ImGui13IsWindowAboveEP11ImGuiWindowS1_(ptr noundef nonnull %66, ptr noundef nonnull %64)
  br i1 %70, label %..critedge42_crit_edge, label %.critedge

..critedge42_crit_edge:                           ; preds = %69
  %.pre53 = load ptr, ptr %65, align 8, !tbaa !96
  br label %.critedge

.critedge:                                        ; preds = %67, %..critedge42_crit_edge, %69, %63
  %71 = phi ptr [ %64, %63 ], [ %64, %69 ], [ %.pre53, %..critedge42_crit_edge ], [ %66, %67 ]
  call void @_ZN5ImGui21ClosePopupsOverWindowEP11ImGuiWindowb(ptr noundef %71, i1 noundef zeroext true)
  br label %72

72:                                               ; preds = %59, %.critedge, %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(981)) 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: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN5ImGui13IsWindowAboveEP11ImGuiWindowS1_(ptr noundef, ptr noundef) local_unnamed_addr #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 = { 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 16176}
!10 = !{!"_ZTS12ImGuiContext", !11, i64 0, !11, i64 1, !12, i64 8, !19, i64 14288, !6, i64 15360, !15, i64 15368, !15, i64 15372, !20, i64 15376, !23, i64 15904, !13, i64 15912, !13, i64 15916, !13, i64 15920, !11, i64 15924, !11, i64 15925, !11, i64 15926, !11, i64 15927, !11, i64 15928, !6, i64 15936, !24, i64 15944, !24, i64 15960, !16, i64 15976, !13, i64 15980, !25, i64 15984, !25, i64 16000, !25, i64 16016, !26, i64 16032, !27, i64 16048, !13, i64 16064, !14, i64 16068, !6, i64 16080, !6, i64 16088, !6, i64 16096, !6, i64 16104, !6, i64 16112, !14, i64 16120, !13, i64 16128, !15, i64 16132, !14, i64 16136, !14, i64 16144, !13, i64 16152, !13, i64 16156, !13, i64 16160, !11, i64 16164, !11, i64 16165, !15, i64 16168, !15, i64 16172, !13, i64 16176, !13, i64 16180, !15, i64 16184, !11, i64 16188, !11, i64 16189, !11, i64 16190, !11, i64 16191, !11, i64 16192, !11, i64 16193, !14, i64 16196, !6, i64 16208, !29, i64 16216, !13, i64 16220, !13, i64 16224, !11, i64 16228, !11, i64 16229, !6, i64 16232, !13, i64 16240, !15, i64 16244, !7, i64 16248, !30, i64 17928, !13, i64 18240, !11, i64 18244, !13, i64 18248, !13, i64 18252, !13, i64 18256, !13, i64 18260, !32, i64 18264, !33, i64 18284, !35, i64 18344, !36, i64 18456, !37, i64 18472, !38, i64 18488, !39, i64 18504, !40, i64 18520, !41, i64 18536, !42, i64 18552, !42, i64 18568, !13, i64 18584, !43, i64 18592, !6, i64 18608, !13, i64 18616, !13, i64 18620, !13, i64 18624, !13, i64 18628, !13, i64 18632, !13, i64 18636, !13, i64 18640, !13, i64 18644, !13, i64 18648, !13, i64 18652, !13, i64 18656, !29, i64 18660, !44, i64 18664, !11, i64 18668, !11, i64 18669, !11, i64 18670, !11, i64 18671, !11, i64 18672, !11, i64 18673, !11, i64 18674, !13, i64 18676, !34, i64 18680, !11, i64 18696, !11, i64 18697, !11, i64 18698, !13, i64 18700, !13, i64 18704, !13, i64 18708, !13, i64 18712, !13, i64 18716, !13, i64 18720, !34, i64 18724, !34, i64 18740, !13, i64 18756, !13, i64 18760, !13, i64 18764, !45, i64 18768, !45, i64 18816, !45, i64 18864, !45, i64 18912, !13, i64 18960, !13, i64 18964, !6, i64 18968, !6, i64 18976, !6, i64 18984, !15, i64 18992, !15, i64 18996, !11, i64 19000, !14, i64 19004, !14, i64 19012, !15, i64 19020, !13, i64 19024, !11, i64 19028, !11, i64 19029, !11, i64 19030, !13, i64 19032, !13, i64 19036, !13, i64 19040, !46, i64 19048, !34, i64 19112, !13, i64 19128, !13, i64 19132, !15, i64 19136, !13, i64 19140, !13, i64 19144, !13, i64 19148, !13, i64 19152, !47, i64 19160, !7, i64 19176, !13, i64 19192, !48, i64 19200, !6, i64 19216, !13, i64 19224, !49, i64 19232, !50, i64 19248, !52, i64 19288, !53, i64 19304, !6, i64 19320, !54, i64 19328, !56, i64 19368, !57, i64 19384, !13, i64 19400, !13, i64 19404, !15, i64 19408, !15, i64 19412, !14, i64 19416, !58, i64 19424, !62, i64 23152, !63, i64 23176, !13, i64 23296, !13, i64 23300, !13, i64 23304, !13, i64 23308, !15, i64 23312, !15, i64 23316, !13, i64 23320, !21, i64 23324, !65, i64 23340, !15, i64 23388, !15, i64 23392, !11, i64 23396, !11, i64 23397, !15, i64 23400, !15, i64 23404, !15, i64 23408, !15, i64 23412, !17, i64 23416, !17, i64 23418, !59, i64 23424, !39, i64 23440, !66, i64 23456, !66, i64 23472, !7, i64 23488, !11, i64 23489, !15, i64 23492, !67, i64 23496, !68, i64 23512, !69, i64 23528, !70, i64 23544, !71, i64 23560, !13, i64 23576, !7, i64 23584, !11, i64 23640, !72, i64 23644, !6, i64 23648, !67, i64 23656, !6, i64 23672, !6, i64 23680, !15, i64 23688, !11, i64 23692, !13, i64 23696, !13, i64 23700, !13, i64 23704, !13, i64 23708, !67, i64 23712, !73, i64 23728, !7, i64 23752, !7, i64 23753, !7, i64 23754, !11, i64 23755, !7, i64 23756, !13, i64 23760, !74, i64 23764, !75, i64 23784, !7, i64 23824, !13, i64 24064, !13, i64 24068, !15, i64 24072, !13, i64 24076, !13, i64 24080, !13, i64 24084, !59, i64 24088}
!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, !15, i64 52, !15, i64 56, !15, i64 60, !15, i64 64, !6, i64 72, !6, i64 80, !15, i64 88, !11, i64 92, !6, i64 96, !14, i64 104, !11, i64 112, !11, i64 113, !11, i64 114, !11, i64 115, !11, i64 116, !11, i64 117, !11, i64 118, !11, i64 119, !15, i64 120, !11, i64 124, !11, i64 125, !6, i64 128, !6, i64 136, !6, i64 144, !6, i64 152, !6, i64 160, !6, i64 168, !6, i64 176, !6, i64 184, !6, i64 192, !6, i64 200, !11, i64 208, !11, i64 209, !11, i64 210, !11, i64 211, !11, i64 212, !11, i64 213, !11, i64 214, !15, i64 216, !13, i64 220, !13, i64 224, !13, i64 228, !13, i64 232, !13, i64 236, !14, i64 240, !7, i64 248, !7, i64 2856, !7, i64 3508, !6, i64 3576, !14, i64 3584, !7, i64 3592, !15, i64 3600, !15, i64 3604, !16, i64 3608, !11, i64 3612, !11, i64 3613, !11, i64 3614, !11, i64 3615, !13, i64 3616, !7, i64 3620, !11, i64 14052, !14, i64 14056, !7, i64 14064, !7, i64 14104, !7, i64 14144, !7, i64 14149, !7, i64 14154, !7, i64 14164, !7, i64 14174, !7, i64 14179, !7, i64 14184, !11, i64 14189, !7, i64 14192, !7, i64 14212, !7, i64 14232, !15, i64 14252, !11, i64 14256, !11, i64 14257, !7, i64 14258, !11, i64 14259, !17, i64 14260, !18, i64 14264}
!13 = !{!"int", !7, i64 0}
!14 = !{!"_ZTS6ImVec2", !15, i64 0, !15, i64 4}
!15 = !{!"float", !7, i64 0}
!16 = !{!"_ZTS16ImGuiMouseSource", !7, i64 0}
!17 = !{!"short", !7, i64 0}
!18 = !{!"_ZTS8ImVectorItE", !13, i64 0, !13, i64 4, !6, i64 8}
!19 = !{!"_ZTS10ImGuiStyle", !15, i64 0, !15, i64 4, !14, i64 8, !15, i64 16, !15, i64 20, !14, i64 24, !14, i64 32, !13, i64 40, !15, i64 44, !15, i64 48, !15, i64 52, !15, i64 56, !14, i64 60, !15, i64 68, !15, i64 72, !14, i64 76, !14, i64 84, !14, i64 92, !14, i64 100, !15, i64 108, !15, i64 112, !15, i64 116, !15, i64 120, !15, i64 124, !15, i64 128, !15, i64 132, !15, i64 136, !15, i64 140, !15, i64 144, !13, i64 148, !14, i64 152, !14, i64 160, !15, i64 168, !14, i64 172, !14, i64 180, !14, i64 188, !14, i64 196, !15, i64 204, !11, i64 208, !11, i64 209, !11, i64 210, !15, i64 212, !15, i64 216, !7, i64 220}
!20 = !{!"_ZTS20ImDrawListSharedData", !14, i64 0, !6, i64 8, !15, i64 16, !15, i64 20, !15, i64 24, !21, i64 28, !13, i64 44, !22, i64 48, !7, i64 64, !15, i64 448, !7, i64 452, !6, i64 520}
!21 = !{!"_ZTS6ImVec4", !15, i64 0, !15, i64 4, !15, i64 8, !15, i64 12}
!22 = !{!"_ZTS8ImVectorI6ImVec2E", !13, i64 0, !13, i64 4, !6, i64 8}
!23 = !{!"double", !7, i64 0}
!24 = !{!"_ZTS8ImVectorI15ImGuiInputEventE", !13, i64 0, !13, i64 4, !6, i64 8}
!25 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !13, i64 0, !13, i64 4, !6, i64 8}
!26 = !{!"_ZTS8ImVectorI20ImGuiWindowStackDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!27 = !{!"_ZTS12ImGuiStorage", !28, i64 0}
!28 = !{!"_ZTS8ImVectorIN12ImGuiStorage16ImGuiStoragePairEE", !13, i64 0, !13, i64 4, !6, i64 8}
!29 = !{!"_ZTS16ImGuiInputSource", !7, i64 0}
!30 = !{!"_ZTS20ImGuiKeyRoutingTable", !7, i64 0, !31, i64 280, !31, i64 296}
!31 = !{!"_ZTS8ImVectorI19ImGuiKeyRoutingDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!32 = !{!"_ZTS17ImGuiNextItemData", !13, i64 0, !15, i64 4, !13, i64 8, !13, i64 12, !11, i64 16}
!33 = !{!"_ZTS17ImGuiLastItemData", !13, i64 0, !13, i64 4, !13, i64 8, !34, i64 12, !34, i64 28, !34, i64 44}
!34 = !{!"_ZTS6ImRect", !14, i64 0, !14, i64 8}
!35 = !{!"_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, !34, i64 60, !6, i64 80, !6, i64 88, !15, i64 96, !14, i64 100}
!36 = !{!"_ZTS8ImVectorI13ImGuiColorModE", !13, i64 0, !13, i64 4, !6, i64 8}
!37 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !13, i64 0, !13, i64 4, !6, i64 8}
!38 = !{!"_ZTS8ImVectorIP6ImFontE", !13, i64 0, !13, i64 4, !6, i64 8}
!39 = !{!"_ZTS8ImVectorIjE", !13, i64 0, !13, i64 4, !6, i64 8}
!40 = !{!"_ZTS8ImVectorIiE", !13, i64 0, !13, i64 4, !6, i64 8}
!41 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!42 = !{!"_ZTS8ImVectorI14ImGuiPopupDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!43 = !{!"_ZTS8ImVectorIP14ImGuiViewportPE", !13, i64 0, !13, i64 4, !6, i64 8}
!44 = !{!"_ZTS13ImGuiNavLayer", !7, i64 0}
!45 = !{!"_ZTS16ImGuiNavItemData", !6, i64 0, !13, i64 8, !13, i64 12, !34, i64 16, !13, i64 32, !15, i64 36, !15, i64 40, !15, i64 44}
!46 = !{!"_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}
!47 = !{!"_ZTS8ImVectorIhE", !13, i64 0, !13, i64 4, !6, i64 8}
!48 = !{!"_ZTS8ImVectorI20ImGuiListClipperDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!49 = !{!"_ZTS8ImVectorI18ImGuiTableTempDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!50 = !{!"_ZTS6ImPoolI10ImGuiTableE", !51, i64 0, !27, i64 16, !13, i64 32, !13, i64 36}
!51 = !{!"_ZTS8ImVectorI10ImGuiTableE", !13, i64 0, !13, i64 4, !6, i64 8}
!52 = !{!"_ZTS8ImVectorIfE", !13, i64 0, !13, i64 4, !6, i64 8}
!53 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !13, i64 0, !13, i64 4, !6, i64 8}
!54 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !55, i64 0, !27, i64 16, !13, i64 32, !13, i64 36}
!55 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !13, i64 0, !13, i64 4, !6, i64 8}
!56 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !13, i64 0, !13, i64 4, !6, i64 8}
!57 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !13, i64 0, !13, i64 4, !6, i64 8}
!58 = !{!"_ZTS19ImGuiInputTextState", !6, i64 0, !13, i64 8, !13, i64 12, !13, i64 16, !18, i64 24, !59, i64 40, !59, i64 56, !11, i64 72, !13, i64 76, !15, i64 80, !60, i64 84, !15, i64 3712, !11, i64 3716, !11, i64 3717, !11, i64 3718, !13, i64 3720}
!59 = !{!"_ZTS8ImVectorIcE", !13, i64 0, !13, i64 4, !6, i64 8}
!60 = !{!"_ZTSN5ImStb17STB_TexteditStateE", !13, i64 0, !13, i64 4, !13, i64 8, !7, i64 12, !13, i64 16, !7, i64 20, !7, i64 21, !7, i64 22, !7, i64 23, !7, i64 24, !7, i64 25, !7, i64 26, !15, i64 28, !61, i64 32}
!61 = !{!"_ZTSN5ImStb12StbUndoStateE", !7, i64 0, !7, i64 1584, !17, i64 3582, !17, i64 3584, !13, i64 3588, !13, i64 3592}
!62 = !{!"_ZTS30ImGuiInputTextDeactivatedState", !13, i64 0, !59, i64 8}
!63 = !{!"_ZTS6ImFont", !52, i64 0, !15, i64 16, !15, i64 20, !18, i64 24, !64, i64 40, !6, i64 56, !6, i64 64, !6, i64 72, !17, i64 80, !17, i64 82, !17, i64 84, !17, i64 86, !15, i64 88, !15, i64 92, !11, i64 96, !15, i64 100, !15, i64 104, !15, i64 108, !13, i64 112, !7, i64 116}
!64 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !13, i64 0, !13, i64 4, !6, i64 8}
!65 = !{!"_ZTS21ImGuiComboPreviewData", !34, i64 0, !14, i64 16, !14, i64 24, !14, i64 32, !15, i64 40, !13, i64 44}
!66 = !{!"_ZTS20ImGuiPlatformImeData", !11, i64 0, !14, i64 4, !15, i64 12}
!67 = !{!"_ZTS15ImGuiTextBuffer", !59, i64 0}
!68 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !13, i64 0, !13, i64 4, !6, i64 8}
!69 = !{!"_ZTS13ImChunkStreamI19ImGuiWindowSettingsE", !59, i64 0}
!70 = !{!"_ZTS13ImChunkStreamI18ImGuiTableSettingsE", !59, i64 0}
!71 = !{!"_ZTS8ImVectorI16ImGuiContextHookE", !13, i64 0, !13, i64 4, !6, i64 8}
!72 = !{!"_ZTS12ImGuiLogType", !7, i64 0}
!73 = !{!"_ZTS14ImGuiTextIndex", !40, i64 0, !13, i64 16}
!74 = !{!"_ZTS18ImGuiMetricsConfig", !11, i64 0, !11, i64 1, !11, i64 2, !11, i64 3, !11, i64 4, !11, i64 5, !11, i64 6, !11, i64 7, !13, i64 8, !13, i64 12}
!75 = !{!"_ZTS14ImGuiStackTool", !13, i64 0, !13, i64 4, !13, i64 8, !76, i64 16, !11, i64 32, !15, i64 36}
!76 = !{!"_ZTS8ImVectorI19ImGuiStackLevelInfoE", !13, i64 0, !13, i64 4, !6, i64 8}
!77 = !{!10, !13, i64 16156}
!78 = !{!10, !6, i64 18608}
!79 = !{!80, !11, i64 188}
!80 = !{!"_ZTS11ImGuiWindow", !6, i64 0, !6, i64 8, !13, i64 16, !13, i64 20, !6, i64 24, !14, i64 32, !14, i64 40, !14, i64 48, !14, i64 56, !14, i64 64, !14, i64 72, !14, i64 80, !15, i64 88, !15, i64 92, !15, i64 96, !15, i64 100, !15, i64 104, !15, i64 108, !15, i64 112, !15, i64 116, !13, i64 120, !13, i64 124, !13, i64 128, !14, i64 132, !14, i64 140, !14, i64 148, !14, i64 156, !14, i64 164, !14, i64 172, !11, i64 180, !11, i64 181, !11, i64 182, !11, i64 183, !11, i64 184, !11, i64 185, !11, i64 186, !11, i64 187, !11, i64 188, !11, i64 189, !11, i64 190, !11, i64 191, !11, i64 192, !7, i64 193, !17, i64 194, !17, i64 196, !17, i64 198, !17, i64 200, !17, i64 202, !13, i64 204, !7, i64 208, !7, i64 209, !7, i64 210, !11, i64 211, !13, i64 212, !7, i64 216, !7, i64 217, !7, i64 218, !7, i64 219, !13, i64 220, !13, i64 221, !13, i64 222, !14, i64 224, !14, i64 232, !39, i64 240, !81, i64 256, !34, i64 488, !34, i64 504, !34, i64 520, !34, i64 536, !34, i64 552, !34, i64 568, !34, i64 584, !84, i64 600, !84, i64 604, !13, i64 608, !15, i64 612, !15, i64 616, !27, i64 624, !85, i64 640, !15, i64 656, !13, i64 660, !6, i64 664, !86, i64 672, !6, i64 872, !6, i64 880, !6, i64 888, !6, i64 896, !6, i64 904, !6, i64 912, !6, i64 920, !7, i64 928, !7, i64 936, !13, i64 968, !13, i64 972, !13, i64 976, !11, i64 980}
!81 = !{!"_ZTS19ImGuiWindowTempData", !14, i64 0, !14, i64 8, !14, i64 16, !14, i64 24, !14, i64 32, !14, i64 40, !14, i64 48, !15, i64 56, !15, i64 60, !11, i64 64, !11, i64 65, !82, i64 68, !82, i64 72, !82, i64 76, !14, i64 80, !44, i64 88, !17, i64 92, !17, i64 94, !11, i64 96, !11, i64 97, !11, i64 98, !11, i64 99, !14, i64 100, !83, i64 108, !13, i64 136, !13, i64 140, !25, i64 144, !6, i64 160, !6, i64 168, !13, i64 176, !13, i64 180, !13, i64 184, !15, i64 188, !15, i64 192, !52, i64 200, !52, i64 216}
!82 = !{!"_ZTS6ImVec1", !15, i64 0}
!83 = !{!"_ZTS16ImGuiMenuColumns", !13, i64 0, !13, i64 4, !17, i64 8, !17, i64 10, !17, i64 12, !17, i64 14, !17, i64 16, !7, i64 18}
!84 = !{!"_ZTS8ImVec2ih", !17, i64 0, !17, i64 2}
!85 = !{!"_ZTS8ImVectorI15ImGuiOldColumnsE", !13, i64 0, !13, i64 4, !6, i64 8}
!86 = !{!"_ZTS10ImDrawList", !87, i64 0, !18, i64 16, !88, i64 32, !13, i64 48, !13, i64 52, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !89, i64 88, !90, i64 104, !22, i64 120, !91, i64 136, !92, i64 168, !15, i64 192}
!87 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !13, i64 0, !13, i64 4, !6, i64 8}
!88 = !{!"_ZTS8ImVectorI10ImDrawVertE", !13, i64 0, !13, i64 4, !6, i64 8}
!89 = !{!"_ZTS8ImVectorI6ImVec4E", !13, i64 0, !13, i64 4, !6, i64 8}
!90 = !{!"_ZTS8ImVectorIPvE", !13, i64 0, !13, i64 4, !6, i64 8}
!91 = !{!"_ZTS15ImDrawCmdHeader", !21, i64 0, !6, i64 16, !13, i64 24}
!92 = !{!"_ZTS18ImDrawListSplitter", !13, i64 0, !13, i64 4, !53, i64 8}
!93 = !{i8 0, i8 2}
!94 = !{}
!95 = !{!11, !11, i64 0}
!96 = !{!10, !6, i64 16088}
!97 = !{!80, !6, i64 888}
!98 = !{!80, !13, i64 20}
!99 = !{!80, !13, i64 204}
!100 = !{!10, !11, i64 127}
!101 = !{!10, !6, i64 16104}
!102 = !{!10, !11, i64 16165}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,SROAPass,SimplifyCFGPass,TailCallElimPass