; LLVM IR from aap/librw :: skeleton/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, float, float, %struct.ImDrawListSharedData, double, i32, i32, i32, i8, i8, i8, i8, i8, ptr, [16 x i8], %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, i32, ptr, ptr, ptr, ptr, ptr, ptr, %struct.ImVec2, i32, i32, float, %struct.ImVec2, %struct.ImVec2, i32, i32, i32, float, float, i8, i8, i8, i32, i32, float, i8, i8, i8, i8, i8, i8, i8, i8, %struct.ImVec2, ptr, i32, i32, i8, i8, ptr, i32, float, double, double, double, %struct.ImBitArray, [154 x %struct.ImGuiKeyOwnerData], %struct.ImGuiKeyRoutingTable, i32, i8, i32, i32, i32, i32, %struct.ImGuiNextItemData, %struct.ImGuiLastItemData, %struct.ImGuiNextWindowData, i8, i32, %struct.ImVector.6, %struct.ImVector.7, %struct.ImVector.8, %struct.ImVector.9, %struct.ImVector.10, %struct.ImVector.11, %struct.ImVector.12, %struct.ImVector.12, %struct.ImVector.13, %struct.ImVector.14, ptr, i32, i32, i32, i32, i32, i32, i32, %struct.ImVector.9, i32, float, i32, i32, i32, i64, i8, i8, i8, i8, i8, i8, i8, %struct.ImGuiNavItemData, 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, i32, i32, i8, i8, i32, i32, ptr, ptr, ptr, float, float, i8, i32, %struct.ImVec2, %struct.ImVec2, float, i8, i8, i8, i32, i32, i32, [4 x i8], %struct.ImGuiPayload, %struct.ImRect, %struct.ImRect, i32, i32, float, i32, i32, i32, i32, %struct.ImVector.15, [16 x i8], i32, %struct.ImVector.16, ptr, i32, i32, %struct.ImVector.17, %struct.ImPool, %struct.ImVector.19, %struct.ImVector.20, ptr, %struct.ImPool.21, %struct.ImVector.23, %struct.ImVector.24, %struct.ImGuiBoxSelectState, ptr, i32, %struct.ImVector.25, %struct.ImPool.26, i32, i32, float, float, i32, i32, i32, float, %struct.ImVec2, %struct.ImGuiInputTextState, %struct.ImGuiInputTextDeactivatedState, %struct.ImFont, i32, %struct.ImGuiDataTypeStorage, i32, i32, i32, i32, i32, float, float, i32, %struct.ImVec4, %struct.ImGuiComboPreviewData, %struct.ImRect, i8, i16, float, float, float, i8, i8, float, float, float, i16, i16, i16, %struct.ImVector.28, %struct.ImVector.30, %struct.ImGuiTypingSelectState, %struct.ImGuiPlatformImeData, %struct.ImGuiPlatformImeData, i8, float, %struct.ImGuiTextBuffer, %struct.ImVector.31, %struct.ImChunkStream, %struct.ImChunkStream.32, %struct.ImVector.33, i32, [9 x ptr], i8, i32, ptr, %struct.ImGuiTextBuffer, ptr, ptr, float, i8, i32, i32, i32, i32, %struct.ImGuiTextBuffer, %struct.ImGuiTextIndex, i32, i8, i8, i8, i32, i8, i8, i8, i32, float, %struct.ImVec4, %struct.ImGuiMetricsConfig, %struct.ImGuiIDStackTool, %struct.ImGuiDebugAllocInfo, [60 x float], i32, i32, float, i32, i32, i32, %struct.ImVector.28, [64 x i8] }
%struct.ImGuiIO = type <{ i32, i32, %struct.ImVec2, float, float, ptr, ptr, ptr, ptr, float, i8, [3 x i8], ptr, %struct.ImVec2, i8, i8, i8, i8, i8, i8, i8, i8, i8, [3 x i8], float, float, float, float, float, float, i8, i8, i8, i8, i8, [7 x i8], ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i16, i8, i8, i8, i8, i8, i8, i8, [3 x i8], float, i32, i32, i32, i32, %struct.ImVec2, ptr, %struct.ImVec2, [5 x i8], [3 x i8], float, float, i32, i8, i8, i8, i8, i32, [666 x %struct.ImGuiKeyData], i8, [3 x 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, i8, i8, [5 x float], [5 x float], [5 x float], float, i8, i8, i8, i8, i16, [2 x i8], %struct.ImVector, [666 x i32], [666 x i8], [2 x i8], [16 x float], [4 x i8] }>
%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, float, float, float, %struct.ImVec2, i32, %struct.ImVec2, %struct.ImVec2, float, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, i8, i8, i8, float, float, [56 x %struct.ImVec4], float, float, float, i32, i32 }
%struct.ImDrawListSharedData = type { %struct.ImVec2, ptr, float, 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.ImBitArray = type { [5 x i32] }
%struct.ImGuiKeyOwnerData = type <{ i32, i32, i8, i8, [2 x i8] }>
%struct.ImGuiKeyRoutingTable = type { [154 x i16], %struct.ImVector.5, %struct.ImVector.5 }
%struct.ImVector.5 = type { i32, i32, ptr }
%struct.ImGuiNextItemData = type <{ i32, i32, i32, [4 x i8], i64, float, i32, i32, i8, i8, %struct.ImGuiDataTypeStorage, [2 x i8], i32, [4 x i8] }>
%struct.ImGuiLastItemData = type { i32, i32, i32, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImRect, i32 }
%struct.ImGuiNextWindowData = type { i32, i32, i32, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, i32, i8, %struct.ImRect, ptr, ptr, float, %struct.ImVec2, i32 }
%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.ImVector.14 = type { i32, i32, ptr }
%struct.ImVector.9 = type { i32, i32, ptr }
%struct.ImGuiNavItemData = type { ptr, i32, i32, %struct.ImRect, i32, float, float, float, i64 }
%struct.ImGuiPayload = type <{ ptr, i32, i32, i32, i32, [33 x i8], i8, i8, [5 x i8] }>
%struct.ImVector.15 = type { i32, i32, ptr }
%struct.ImVector.16 = type { i32, i32, ptr }
%struct.ImVector.17 = type { i32, i32, ptr }
%struct.ImPool = type { %struct.ImVector.18, %struct.ImGuiStorage, i32, i32 }
%struct.ImVector.18 = type { i32, i32, ptr }
%struct.ImVector.19 = type { i32, i32, ptr }
%struct.ImVector.20 = type { i32, i32, ptr }
%struct.ImPool.21 = type { %struct.ImVector.22, %struct.ImGuiStorage, i32, i32 }
%struct.ImVector.22 = type { i32, i32, ptr }
%struct.ImVector.23 = type { i32, i32, ptr }
%struct.ImVector.24 = type { i32, i32, ptr }
%struct.ImGuiBoxSelectState = type <{ i32, i8, i8, i8, i8, i8, i16, i8, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, [4 x i8], ptr, i8, [3 x i8], %struct.ImRect, %struct.ImRect, %struct.ImRect, [4 x i8] }>
%struct.ImVector.25 = type { i32, i32, ptr }
%struct.ImPool.26 = type { %struct.ImVector.27, %struct.ImGuiStorage, i32, i32 }
%struct.ImVector.27 = type { i32, i32, ptr }
%struct.ImGuiInputTextState = type { ptr, i32, i32, i32, %struct.ImVector, %struct.ImVector.28, %struct.ImVector.28, i8, i32, float, %"struct.ImStb::STB_TexteditState", float, i8, i8, i8, i32, i8, i32, i32 }
%"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.28 }
%struct.ImFont = type <{ %struct.ImVector.19, float, float, %struct.ImVector, %struct.ImVector.29, 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.29 = type { i32, i32, ptr }
%struct.ImGuiDataTypeStorage = type { [8 x i8] }
%struct.ImGuiComboPreviewData = type { %struct.ImRect, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, i32 }
%struct.ImVector.30 = type { i32, i32, ptr }
%struct.ImGuiTypingSelectState = type <{ %struct.ImGuiTypingSelectRequest, [64 x i8], i32, i32, float, i8, [3 x i8] }>
%struct.ImGuiTypingSelectRequest = type { i32, i32, ptr, i8, i8, i8 }
%struct.ImGuiPlatformImeData = type { i8, %struct.ImVec2, float }
%struct.ImVector.31 = type { i32, i32, ptr }
%struct.ImChunkStream = type { %struct.ImVector.28 }
%struct.ImChunkStream.32 = type { %struct.ImVector.28 }
%struct.ImVector.33 = type { i32, i32, ptr }
%struct.ImGuiTextBuffer = type { %struct.ImVector.28 }
%struct.ImGuiTextIndex = type <{ %struct.ImVector.10, i32, [4 x i8] }>
%struct.ImVec4 = type { float, float, float, float }
%struct.ImGuiMetricsConfig = type { i8, i8, i8, i8, i8, i8, i8, i8, i8, i32, i32, i32, i32 }
%struct.ImGuiIDStackTool = type { i32, i32, i32, %struct.ImVector.34, i8, float }
%struct.ImVector.34 = type { i32, i32, ptr }
%struct.ImGuiDebugAllocInfo = type { i32, i32, i16, [6 x %struct.ImGuiDebugAllocEntry] }
%struct.ImGuiDebugAllocEntry = type { i32, i16, i16 }
%struct.ImVector.28 = type { i32, i32, ptr }
%struct.ImGuiWindow = type <{ ptr, ptr, i32, i32, i32, [4 x i8], ptr, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, float, float, float, float, float, float, float, float, float, i32, 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, i8, i8, i16, i16, i16, i16, i16, i8, i8, i8, [3 x i8], i32, i8, i8, i8, i8, i32, %struct.ImVec2, %struct.ImVec2, [4 x i8], %struct.ImVector.30, %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.37, float, i32, ptr, %struct.ImDrawList, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, [2 x i32], [2 x %struct.ImRect], [2 x %struct.ImVec2], 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, i32, float, float, %struct.ImVector.19, %struct.ImVector.19 }
%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.37 = type { i32, i32, ptr }
%struct.ImDrawList = type { %struct.ImVector.38, %struct.ImVector, %struct.ImVector.39, i32, i32, ptr, ptr, ptr, %struct.ImVector.0, %struct.ImDrawCmdHeader, %struct.ImDrawListSplitter, %struct.ImVector.40, %struct.ImVector.41, float, ptr }
%struct.ImVector.38 = type { i32, i32, ptr }
%struct.ImVector.39 = type { i32, i32, ptr }
%struct.ImDrawCmdHeader = type <{ %struct.ImVec4, ptr, i32, [4 x i8] }>
%struct.ImDrawListSplitter = type { i32, i32, %struct.ImVector.20 }
%struct.ImVector.40 = type { i32, i32, ptr }
%struct.ImVector.41 = 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 @_ZN5ImGui11FocusWindowEP11ImGuiWindowi(ptr noundef, i32 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 54
  %11 = load i32, ptr %10, align 4, !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 47
  %16 = load i32, ptr %15, align 8, !tbaa !91
  %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 %165

19:                                               ; preds = %13
  %20 = load ptr, ptr %1, align 8, !tbaa !5
  %21 = getelementptr inbounds %struct.ImGuiContext, ptr %20, i32 0, i32 101
  %22 = load ptr, ptr %21, align 8, !tbaa !92
  %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 101
  %27 = load ptr, ptr %26, align 8, !tbaa !92
  %28 = getelementptr inbounds %struct.ImGuiWindow, ptr %27, i32 0, i32 43
  %29 = load i8, ptr %28, align 1, !tbaa !93, !range !107, !noundef !108
  %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 %165

32:                                               ; preds = %24, %19
  %33 = load ptr, ptr %1, align 8, !tbaa !5
  %34 = getelementptr inbounds %struct.ImGuiContext, ptr %33, i32 0, i32 3
  %35 = getelementptr inbounds %struct.ImGuiIO, ptr %34, i32 0, i32 80
  %36 = getelementptr inbounds [5 x i8], ptr %35, i64 0, i64 0
  %37 = load i8, ptr %36, align 8, !tbaa !109, !range !107, !noundef !108
  %38 = trunc i8 %37 to i1
  br i1 %38, label %39, label %127

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 35
  %42 = load ptr, ptr %41, align 8, !tbaa !110
  %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 35
  %47 = load ptr, ptr %46, align 8, !tbaa !110
  %48 = getelementptr inbounds %struct.ImGuiWindow, ptr %47, i32 0, i32 91
  %49 = load ptr, ptr %48, align 8, !tbaa !111
  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 !112
  %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 27
  %64 = load i32, ptr %63, align 4, !tbaa !113
  %65 = call noundef zeroext i1 @_ZN5ImGui11IsPopupOpenEji(i32 noundef %64, i32 noundef 2048)
  %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 !109
  %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 !109, !range !107, !noundef !108
  %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 35
  %78 = load ptr, ptr %77, align 8, !tbaa !110
  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 3
  %81 = getelementptr inbounds %struct.ImGuiIO, ptr %80, i32 0, i32 22
  %82 = load i8, ptr %81, align 8, !tbaa !114, !range !107, !noundef !108
  %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 !112
  %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(1029) %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 3
  %99 = getelementptr inbounds %struct.ImGuiIO, ptr %98, i32 0, i32 78
  %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 38
  store ptr null, ptr %105, align 8, !tbaa !115
  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 52
  %110 = load i8, ptr %109, align 1, !tbaa !116, !range !107, !noundef !108
  %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 38
  store ptr null, ptr %114, align 8, !tbaa !115
  br label %115

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

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 %125

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

124:                                              ; preds = %119
  call void @_ZN5ImGui11FocusWindowEP11ImGuiWindowi(ptr noundef null, i32 noundef 2)
  br label %125

125:                                              ; preds = %124, %119, %116
  br label %126

126:                                              ; preds = %125, %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 %127

127:                                              ; preds = %126, %32
  %128 = load ptr, ptr %1, align 8, !tbaa !5
  %129 = getelementptr inbounds %struct.ImGuiContext, ptr %128, i32 0, i32 3
  %130 = getelementptr inbounds %struct.ImGuiIO, ptr %129, i32 0, i32 80
  %131 = getelementptr inbounds [5 x i8], ptr %130, i64 0, i64 1
  %132 = load i8, ptr %131, align 1, !tbaa !109, !range !107, !noundef !108
  %133 = trunc i8 %132 to i1
  br i1 %133, label %134, label %164

134:                                              ; preds = %127
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #4
  %135 = call noundef ptr @_ZN5ImGui20GetTopMostPopupModalEv()
  store ptr %135, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %7) #4
  %136 = load ptr, ptr %1, align 8, !tbaa !5
  %137 = getelementptr inbounds %struct.ImGuiContext, ptr %136, i32 0, i32 35
  %138 = load ptr, ptr %137, align 8, !tbaa !110
  %139 = icmp ne ptr %138, null
  br i1 %139, label %140, label %151

140:                                              ; preds = %134
  %141 = load ptr, ptr %6, align 8, !tbaa !5
  %142 = icmp eq ptr %141, null
  br i1 %142, label %149, label %143

143:                                              ; preds = %140
  %144 = load ptr, ptr %1, align 8, !tbaa !5
  %145 = getelementptr inbounds %struct.ImGuiContext, ptr %144, i32 0, i32 35
  %146 = load ptr, ptr %145, align 8, !tbaa !110
  %147 = load ptr, ptr %6, align 8, !tbaa !5
  %148 = call noundef zeroext i1 @_ZN5ImGui13IsWindowAboveEP11ImGuiWindowS1_(ptr noundef %146, ptr noundef %147)
  br label %149

149:                                              ; preds = %143, %140
  %150 = phi i1 [ true, %140 ], [ %148, %143 ]
  br label %151

151:                                              ; preds = %149, %134
  %152 = phi i1 [ false, %134 ], [ %150, %149 ]
  %153 = zext i1 %152 to i8
  store i8 %153, ptr %7, align 1, !tbaa !109
  %154 = load i8, ptr %7, align 1, !tbaa !109, !range !107, !noundef !108
  %155 = trunc i8 %154 to i1
  br i1 %155, label %156, label %160

156:                                              ; preds = %151
  %157 = load ptr, ptr %1, align 8, !tbaa !5
  %158 = getelementptr inbounds %struct.ImGuiContext, ptr %157, i32 0, i32 35
  %159 = load ptr, ptr %158, align 8, !tbaa !110
  br label %162

160:                                              ; preds = %151
  %161 = load ptr, ptr %6, align 8, !tbaa !5
  br label %162

162:                                              ; preds = %160, %156
  %163 = phi ptr [ %159, %156 ], [ %161, %160 ]
  call void @_ZN5ImGui21ClosePopupsOverWindowEP11ImGuiWindowb(ptr noundef %163, 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 %164

164:                                              ; preds = %162, %127
  store i32 0, ptr %2, align 4
  br label %165

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

167:                                              ; preds = %165, %165
  ret void

168:                                              ; preds = %165
  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(1029)) #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 16612}
!10 = !{!"_ZTS12ImGuiContext", !11, i64 0, !11, i64 1, !12, i64 8, !19, i64 14592, !6, i64 15752, !15, i64 15760, !15, i64 15764, !15, i64 15768, !15, i64 15772, !21, i64 15776, !24, i64 16312, !13, i64 16320, !13, i64 16324, !13, i64 16328, !11, i64 16332, !11, i64 16333, !11, i64 16334, !11, i64 16335, !11, i64 16336, !6, i64 16344, !7, i64 16352, !25, i64 16368, !25, i64 16384, !17, i64 16400, !13, i64 16404, !26, i64 16408, !26, i64 16424, !26, i64 16440, !27, i64 16456, !28, i64 16472, !13, i64 16488, !14, i64 16492, !13, i64 16500, !6, i64 16504, !6, i64 16512, !6, i64 16520, !6, i64 16528, !6, i64 16536, !6, i64 16544, !14, i64 16552, !13, i64 16560, !13, i64 16564, !15, i64 16568, !14, i64 16572, !14, i64 16580, !13, i64 16588, !13, i64 16592, !13, i64 16596, !15, i64 16600, !15, i64 16604, !11, i64 16608, !11, i64 16609, !11, i64 16610, !13, i64 16612, !13, i64 16616, !15, i64 16620, !11, i64 16624, !11, i64 16625, !11, i64 16626, !11, i64 16627, !11, i64 16628, !11, i64 16629, !11, i64 16630, !13, i64 16631, !14, i64 16632, !6, i64 16640, !30, i64 16648, !13, i64 16652, !11, i64 16656, !11, i64 16657, !6, i64 16664, !13, i64 16672, !15, i64 16676, !24, i64 16680, !24, i64 16688, !24, i64 16696, !31, i64 16704, !7, i64 16724, !32, i64 18576, !13, i64 18920, !11, i64 18924, !13, i64 18928, !13, i64 18932, !13, i64 18936, !13, i64 18940, !34, i64 18944, !37, i64 19000, !39, i64 19080, !11, i64 19192, !13, i64 19196, !40, i64 19200, !41, i64 19216, !42, i64 19232, !43, i64 19248, !44, i64 19264, !45, i64 19280, !46, i64 19296, !46, i64 19312, !47, i64 19328, !48, i64 19344, !6, i64 19360, !13, i64 19368, !13, i64 19372, !49, i64 19376, !13, i64 19380, !13, i64 19384, !13, i64 19388, !13, i64 19392, !43, i64 19400, !13, i64 19416, !15, i64 19420, !13, i64 19424, !13, i64 19428, !30, i64 19432, !35, i64 19440, !11, i64 19448, !11, i64 19449, !11, i64 19450, !11, i64 19451, !11, i64 19452, !11, i64 19453, !11, i64 19454, !50, i64 19456, !11, i64 19512, !11, i64 19513, !11, i64 19514, !13, i64 19516, !13, i64 19520, !13, i64 19524, !20, i64 19528, !20, i64 19532, !20, i64 19536, !38, i64 19540, !38, i64 19556, !13, i64 19572, !13, i64 19576, !13, i64 19580, !50, i64 19584, !50, i64 19640, !50, i64 19696, !50, i64 19752, !13, i64 19808, !13, i64 19812, !13, i64 19816, !13, i64 19820, !11, i64 19824, !11, i64 19825, !13, i64 19828, !13, i64 19832, !6, i64 19840, !6, i64 19848, !6, i64 19856, !15, i64 19864, !15, i64 19868, !11, i64 19872, !51, i64 19876, !14, i64 19880, !14, i64 19888, !15, i64 19896, !11, i64 19900, !11, i64 19901, !11, i64 19902, !13, i64 19904, !13, i64 19908, !13, i64 19912, !52, i64 19920, !38, i64 19984, !38, i64 20000, !13, i64 20016, !13, i64 20020, !15, i64 20024, !13, i64 20028, !13, i64 20032, !13, i64 20036, !13, i64 20040, !53, i64 20048, !7, i64 20064, !13, i64 20080, !54, i64 20088, !6, i64 20104, !13, i64 20112, !13, i64 20116, !55, i64 20120, !56, i64 20136, !58, i64 20176, !59, i64 20192, !6, i64 20208, !60, i64 20216, !62, i64 20256, !63, i64 20272, !64, i64 20288, !6, i64 20392, !13, i64 20400, !65, i64 20408, !66, i64 20424, !13, i64 20464, !13, i64 20468, !15, i64 20472, !15, i64 20476, !13, i64 20480, !13, i64 20484, !13, i64 20488, !15, i64 20492, !14, i64 20496, !68, i64 20504, !72, i64 24240, !73, i64 24264, !13, i64 24384, !36, i64 24388, !13, i64 24396, !13, i64 24400, !13, i64 24404, !13, i64 24408, !13, i64 24412, !15, i64 24416, !15, i64 24420, !13, i64 24424, !22, i64 24428, !75, i64 24444, !38, i64 24492, !11, i64 24508, !16, i64 24510, !15, i64 24512, !15, i64 24516, !15, i64 24520, !11, i64 24524, !11, i64 24525, !15, i64 24528, !15, i64 24532, !15, i64 24536, !16, i64 24540, !16, i64 24542, !16, i64 24544, !69, i64 24552, !76, i64 24568, !77, i64 24584, !79, i64 24688, !79, i64 24704, !11, i64 24720, !15, i64 24724, !80, i64 24728, !81, i64 24744, !82, i64 24760, !83, i64 24776, !84, i64 24792, !13, i64 24808, !7, i64 24816, !11, i64 24888, !85, i64 24892, !6, i64 24896, !80, i64 24904, !6, i64 24920, !6, i64 24928, !15, i64 24936, !11, i64 24940, !13, i64 24944, !13, i64 24948, !13, i64 24952, !13, i64 24956, !80, i64 24960, !86, i64 24976, !13, i64 25000, !7, i64 25004, !7, i64 25005, !11, i64 25006, !13, i64 25008, !7, i64 25012, !11, i64 25013, !7, i64 25014, !13, i64 25016, !15, i64 25020, !22, i64 25024, !87, i64 25040, !88, i64 25072, !90, i64 25112, !7, i64 25172, !13, i64 25412, !13, i64 25416, !15, i64 25420, !13, i64 25424, !13, i64 25428, !13, i64 25432, !69, i64 25440, !7, i64 25456}
!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, !6, i64 40, !6, i64 48, !15, i64 56, !11, i64 60, !6, i64 64, !14, i64 72, !11, i64 80, !11, i64 81, !11, i64 82, !11, i64 83, !11, i64 84, !11, i64 85, !11, i64 86, !11, i64 87, !11, i64 88, !15, i64 92, !15, i64 96, !15, i64 100, !15, i64 104, !15, i64 108, !15, i64 112, !11, i64 116, !11, i64 117, !11, i64 118, !11, i64 119, !11, i64 120, !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, !6, i64 208, !16, i64 216, !11, i64 218, !11, i64 219, !11, i64 220, !11, i64 221, !11, i64 222, !11, i64 223, !11, i64 224, !15, i64 228, !13, i64 232, !13, i64 236, !13, i64 240, !13, i64 244, !14, i64 248, !6, i64 256, !14, i64 264, !7, i64 272, !15, i64 280, !15, i64 284, !17, i64 288, !11, i64 292, !11, i64 293, !11, i64 294, !11, i64 295, !13, i64 296, !7, i64 300, !11, i64 10956, !14, i64 10960, !7, i64 10968, !7, i64 11008, !7, i64 11048, !7, i64 11053, !7, i64 11058, !7, i64 11068, !7, i64 11078, !7, i64 11083, !7, i64 11088, !11, i64 11093, !11, i64 11094, !7, i64 11096, !7, i64 11116, !7, i64 11136, !15, i64 11156, !11, i64 11160, !11, i64 11161, !7, i64 11162, !11, i64 11163, !16, i64 11164, !18, i64 11168, !7, i64 11184, !7, i64 13848, !7, i64 14516}
!13 = !{!"int", !7, i64 0}
!14 = !{!"_ZTS6ImVec2", !15, i64 0, !15, i64 4}
!15 = !{!"float", !7, i64 0}
!16 = !{!"short", !7, i64 0}
!17 = !{!"_ZTS16ImGuiMouseSource", !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, !20, 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, !15, i64 148, !15, i64 152, !15, i64 156, !14, i64 160, !20, i64 168, !14, i64 172, !14, i64 180, !15, i64 188, !14, i64 192, !14, i64 200, !14, i64 208, !14, i64 216, !15, i64 224, !11, i64 228, !11, i64 229, !11, i64 230, !15, i64 232, !15, i64 236, !7, i64 240, !15, i64 1136, !15, i64 1140, !15, i64 1144, !13, i64 1148, !13, i64 1152}
!20 = !{!"_ZTS8ImGuiDir", !7, i64 0}
!21 = !{!"_ZTS20ImDrawListSharedData", !14, i64 0, !6, i64 8, !15, i64 16, !15, i64 20, !15, i64 24, !15, i64 28, !22, i64 32, !13, i64 48, !23, i64 56, !7, i64 72, !15, i64 456, !7, i64 460, !6, i64 528}
!22 = !{!"_ZTS6ImVec4", !15, i64 0, !15, i64 4, !15, i64 8, !15, i64 12}
!23 = !{!"_ZTS8ImVectorI6ImVec2E", !13, i64 0, !13, i64 4, !6, i64 8}
!24 = !{!"double", !7, i64 0}
!25 = !{!"_ZTS8ImVectorI15ImGuiInputEventE", !13, i64 0, !13, i64 4, !6, i64 8}
!26 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !13, i64 0, !13, i64 4, !6, i64 8}
!27 = !{!"_ZTS8ImVectorI20ImGuiWindowStackDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!28 = !{!"_ZTS12ImGuiStorage", !29, i64 0}
!29 = !{!"_ZTS8ImVectorI16ImGuiStoragePairE", !13, i64 0, !13, i64 4, !6, i64 8}
!30 = !{!"_ZTS16ImGuiInputSource", !7, i64 0}
!31 = !{!"_ZTS10ImBitArrayILi154ELin512EE", !7, i64 0}
!32 = !{!"_ZTS20ImGuiKeyRoutingTable", !7, i64 0, !33, i64 312, !33, i64 328}
!33 = !{!"_ZTS8ImVectorI19ImGuiKeyRoutingDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!34 = !{!"_ZTS17ImGuiNextItemData", !13, i64 0, !13, i64 4, !13, i64 8, !35, i64 16, !15, i64 24, !13, i64 28, !13, i64 32, !11, i64 36, !7, i64 37, !36, i64 38, !13, i64 48}
!35 = !{!"long long", !7, i64 0}
!36 = !{!"_ZTS20ImGuiDataTypeStorage", !7, i64 0}
!37 = !{!"_ZTS17ImGuiLastItemData", !13, i64 0, !13, i64 4, !13, i64 8, !38, i64 12, !38, i64 28, !38, i64 44, !38, i64 60, !13, i64 76}
!38 = !{!"_ZTS6ImRect", !14, i64 0, !14, i64 8}
!39 = !{!"_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, !13, i64 56, !11, i64 60, !38, i64 64, !6, i64 80, !6, i64 88, !15, i64 96, !14, i64 100, !13, i64 108}
!40 = !{!"_ZTS8ImVectorI13ImGuiColorModE", !13, i64 0, !13, i64 4, !6, i64 8}
!41 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !13, i64 0, !13, i64 4, !6, i64 8}
!42 = !{!"_ZTS8ImVectorIP6ImFontE", !13, i64 0, !13, i64 4, !6, i64 8}
!43 = !{!"_ZTS8ImVectorI19ImGuiFocusScopeDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!44 = !{!"_ZTS8ImVectorIiE", !13, i64 0, !13, i64 4, !6, i64 8}
!45 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!46 = !{!"_ZTS8ImVectorI14ImGuiPopupDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!47 = !{!"_ZTS8ImVectorI22ImGuiTreeNodeStackDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!48 = !{!"_ZTS8ImVectorIP14ImGuiViewportPE", !13, i64 0, !13, i64 4, !6, i64 8}
!49 = !{!"_ZTS13ImGuiNavLayer", !7, i64 0}
!50 = !{!"_ZTS16ImGuiNavItemData", !6, i64 0, !13, i64 8, !13, i64 12, !38, i64 16, !13, i64 32, !15, i64 36, !15, i64 40, !15, i64 44, !35, i64 48}
!51 = !{!"_ZTS8ImGuiKey", !7, i64 0}
!52 = !{!"_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}
!53 = !{!"_ZTS8ImVectorIhE", !13, i64 0, !13, i64 4, !6, i64 8}
!54 = !{!"_ZTS8ImVectorI20ImGuiListClipperDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!55 = !{!"_ZTS8ImVectorI18ImGuiTableTempDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!56 = !{!"_ZTS6ImPoolI10ImGuiTableE", !57, i64 0, !28, i64 16, !13, i64 32, !13, i64 36}
!57 = !{!"_ZTS8ImVectorI10ImGuiTableE", !13, i64 0, !13, i64 4, !6, i64 8}
!58 = !{!"_ZTS8ImVectorIfE", !13, i64 0, !13, i64 4, !6, i64 8}
!59 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !13, i64 0, !13, i64 4, !6, i64 8}
!60 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !61, i64 0, !28, i64 16, !13, i64 32, !13, i64 36}
!61 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !13, i64 0, !13, i64 4, !6, i64 8}
!62 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !13, i64 0, !13, i64 4, !6, i64 8}
!63 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !13, i64 0, !13, i64 4, !6, i64 8}
!64 = !{!"_ZTS19ImGuiBoxSelectState", !13, i64 0, !11, i64 4, !11, i64 5, !11, i64 6, !11, i64 7, !11, i64 8, !13, i64 9, !14, i64 12, !14, i64 20, !14, i64 28, !6, i64 40, !11, i64 48, !38, i64 52, !38, i64 68, !38, i64 84}
!65 = !{!"_ZTS8ImVectorI24ImGuiMultiSelectTempDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!66 = !{!"_ZTS6ImPoolI21ImGuiMultiSelectStateE", !67, i64 0, !28, i64 16, !13, i64 32, !13, i64 36}
!67 = !{!"_ZTS8ImVectorI21ImGuiMultiSelectStateE", !13, i64 0, !13, i64 4, !6, i64 8}
!68 = !{!"_ZTS19ImGuiInputTextState", !6, i64 0, !13, i64 8, !13, i64 12, !13, i64 16, !18, i64 24, !69, i64 40, !69, i64 56, !11, i64 72, !13, i64 76, !15, i64 80, !70, i64 84, !15, i64 3712, !11, i64 3716, !11, i64 3717, !11, i64 3718, !13, i64 3720, !11, i64 3724, !13, i64 3728, !13, i64 3732}
!69 = !{!"_ZTS8ImVectorIcE", !13, i64 0, !13, i64 4, !6, i64 8}
!70 = !{!"_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, !71, i64 32}
!71 = !{!"_ZTSN5ImStb12StbUndoStateE", !7, i64 0, !7, i64 1584, !16, i64 3582, !16, i64 3584, !13, i64 3588, !13, i64 3592}
!72 = !{!"_ZTS30ImGuiInputTextDeactivatedState", !13, i64 0, !69, i64 8}
!73 = !{!"_ZTS6ImFont", !58, i64 0, !15, i64 16, !15, i64 20, !18, i64 24, !74, i64 40, !6, i64 56, !6, i64 64, !6, i64 72, !16, i64 80, !16, i64 82, !16, i64 84, !16, 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}
!74 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !13, i64 0, !13, i64 4, !6, i64 8}
!75 = !{!"_ZTS21ImGuiComboPreviewData", !38, i64 0, !14, i64 16, !14, i64 24, !14, i64 32, !15, i64 40, !13, i64 44}
!76 = !{!"_ZTS8ImVectorIjE", !13, i64 0, !13, i64 4, !6, i64 8}
!77 = !{!"_ZTS22ImGuiTypingSelectState", !78, i64 0, !7, i64 24, !13, i64 88, !13, i64 92, !15, i64 96, !11, i64 100}
!78 = !{!"_ZTS24ImGuiTypingSelectRequest", !13, i64 0, !13, i64 4, !6, i64 8, !11, i64 16, !11, i64 17, !7, i64 18}
!79 = !{!"_ZTS20ImGuiPlatformImeData", !11, i64 0, !14, i64 4, !15, i64 12}
!80 = !{!"_ZTS15ImGuiTextBuffer", !69, i64 0}
!81 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !13, i64 0, !13, i64 4, !6, i64 8}
!82 = !{!"_ZTS13ImChunkStreamI19ImGuiWindowSettingsE", !69, i64 0}
!83 = !{!"_ZTS13ImChunkStreamI18ImGuiTableSettingsE", !69, i64 0}
!84 = !{!"_ZTS8ImVectorI16ImGuiContextHookE", !13, i64 0, !13, i64 4, !6, i64 8}
!85 = !{!"_ZTS12ImGuiLogType", !7, i64 0}
!86 = !{!"_ZTS14ImGuiTextIndex", !44, i64 0, !13, i64 16}
!87 = !{!"_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, !11, i64 8, !13, i64 12, !13, i64 16, !13, i64 20, !13, i64 24}
!88 = !{!"_ZTS16ImGuiIDStackTool", !13, i64 0, !13, i64 4, !13, i64 8, !89, i64 16, !11, i64 32, !15, i64 36}
!89 = !{!"_ZTS8ImVectorI19ImGuiStackLevelInfoE", !13, i64 0, !13, i64 4, !6, i64 8}
!90 = !{!"_ZTS19ImGuiDebugAllocInfo", !13, i64 0, !13, i64 4, !16, i64 8, !7, i64 12}
!91 = !{!10, !13, i64 16592}
!92 = !{!10, !6, i64 19360}
!93 = !{!94, !11, i64 209}
!94 = !{!"_ZTS11ImGuiWindow", !6, i64 0, !6, i64 8, !13, i64 16, !13, i64 20, !13, i64 24, !6, i64 32, !14, i64 40, !14, i64 48, !14, i64 56, !14, i64 64, !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, !15, i64 132, !13, i64 136, !13, i64 140, !13, i64 144, !13, i64 148, !14, i64 152, !14, i64 160, !14, i64 168, !14, i64 176, !14, i64 184, !14, i64 192, !11, i64 200, !11, i64 201, !11, i64 202, !11, i64 203, !11, i64 204, !11, i64 205, !11, i64 206, !11, i64 207, !11, i64 208, !11, i64 209, !11, i64 210, !11, i64 211, !11, i64 212, !11, i64 213, !7, i64 214, !7, i64 215, !16, i64 216, !16, i64 218, !16, i64 220, !16, i64 222, !16, i64 224, !7, i64 226, !7, i64 227, !11, i64 228, !20, i64 232, !7, i64 236, !7, i64 237, !7, i64 238, !7, i64 239, !13, i64 240, !13, i64 241, !13, i64 242, !14, i64 244, !14, i64 252, !76, i64 264, !95, i64 280, !38, i64 512, !38, i64 528, !38, i64 544, !38, i64 560, !38, i64 576, !38, i64 592, !38, i64 608, !98, i64 624, !98, i64 628, !13, i64 632, !15, i64 636, !15, i64 640, !28, i64 648, !99, i64 664, !15, i64 680, !13, i64 684, !6, i64 688, !100, i64 696, !6, i64 896, !6, i64 904, !6, i64 912, !6, i64 920, !6, i64 928, !6, i64 936, !6, i64 944, !6, i64 952, !7, i64 960, !7, i64 968, !7, i64 1000, !13, i64 1016, !13, i64 1020, !13, i64 1024, !11, i64 1028}
!95 = !{!"_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, !96, i64 68, !96, i64 72, !96, i64 76, !14, i64 80, !49, i64 88, !16, i64 92, !16, i64 94, !11, i64 96, !11, i64 97, !11, i64 98, !11, i64 99, !14, i64 100, !97, i64 108, !13, i64 136, !13, i64 140, !26, i64 144, !6, i64 160, !6, i64 168, !13, i64 176, !13, i64 180, !13, i64 184, !13, i64 188, !15, i64 192, !15, i64 196, !58, i64 200, !58, i64 216}
!96 = !{!"_ZTS6ImVec1", !15, i64 0}
!97 = !{!"_ZTS16ImGuiMenuColumns", !13, i64 0, !13, i64 4, !16, i64 8, !16, i64 10, !16, i64 12, !16, i64 14, !16, i64 16, !7, i64 18}
!98 = !{!"_ZTS8ImVec2ih", !16, i64 0, !16, i64 2}
!99 = !{!"_ZTS8ImVectorI15ImGuiOldColumnsE", !13, i64 0, !13, i64 4, !6, i64 8}
!100 = !{!"_ZTS10ImDrawList", !101, i64 0, !18, i64 16, !102, i64 32, !13, i64 48, !13, i64 52, !6, i64 56, !6, i64 64, !6, i64 72, !23, i64 80, !103, i64 96, !104, i64 128, !105, i64 152, !106, i64 168, !15, i64 184, !6, i64 192}
!101 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !13, i64 0, !13, i64 4, !6, i64 8}
!102 = !{!"_ZTS8ImVectorI10ImDrawVertE", !13, i64 0, !13, i64 4, !6, i64 8}
!103 = !{!"_ZTS15ImDrawCmdHeader", !22, i64 0, !6, i64 16, !13, i64 24}
!104 = !{!"_ZTS18ImDrawListSplitter", !13, i64 0, !13, i64 4, !59, i64 8}
!105 = !{!"_ZTS8ImVectorI6ImVec4E", !13, i64 0, !13, i64 4, !6, i64 8}
!106 = !{!"_ZTS8ImVectorIPvE", !13, i64 0, !13, i64 4, !6, i64 8}
!107 = !{i8 0, i8 2}
!108 = !{}
!109 = !{!11, !11, i64 0}
!110 = !{!10, !6, i64 16512}
!111 = !{!94, !6, i64 912}
!112 = !{!94, !13, i64 20}
!113 = !{!94, !13, i64 148}
!114 = !{!10, !11, i64 96}
!115 = !{!10, !6, i64 16536}
!116 = !{!10, !11, i64 16609}


; 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 @_ZN5ImGui11FocusWindowEP11ImGuiWindowi(ptr noundef, i32 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 16612
  %4 = load i32, ptr %3, align 4, !tbaa !9
  %.not = icmp eq i32 %4, 0
  br i1 %.not, label %5, label %69

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

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

11:                                               ; preds = %8
  %12 = getelementptr inbounds i8, ptr %10, i64 209
  %13 = load i8, ptr %12, align 1, !tbaa !93, !range !107, !noundef !108
  %14 = trunc nuw i8 %13 to i1
  br i1 %14, label %69, label %15

15:                                               ; preds = %11, %8
  %16 = getelementptr inbounds i8, ptr %2, i64 11056
  %17 = load i8, ptr %16, align 8, !tbaa !109, !range !107, !noundef !108
  %18 = trunc nuw i8 %17 to i1
  br i1 %18, label %19, label %56

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

22:                                               ; preds = %19
  %23 = getelementptr inbounds i8, ptr %21, i64 912
  %24 = load ptr, ptr %23, align 8, !tbaa !111
  %.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 !112
  %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 148
  %31 = load i32, ptr %30, align 4, !tbaa !113
  %32 = tail call noundef zeroext i1 @_ZN5ImGui11IsPopupOpenEji(i32 noundef %31, i32 noundef 2048)
  br i1 %32, label %..critedge52_crit_edge, label %56

..critedge52_crit_edge:                           ; preds = %29
  %.pre = load ptr, ptr %20, align 8, !tbaa !110
  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 96
  %35 = load i8, ptr %34, align 8, !tbaa !114, !range !107, !noundef !108
  %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 !112
  %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(1029) %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 10976
  %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 16536
  store ptr null, ptr %48, align 8, !tbaa !115
  br label %49

49:                                               ; preds = %40, %47, %37, %.critedge52
  %50 = getelementptr inbounds i8, ptr %2, i64 16609
  %51 = load i8, ptr %50, align 1, !tbaa !116, !range !107, !noundef !108
  %52 = trunc nuw i8 %51 to i1
  br i1 %52, label %53, label %56

53:                                               ; preds = %49
  %54 = getelementptr inbounds i8, ptr %2, i64 16536
  store ptr null, ptr %54, align 8, !tbaa !115
  br label %56

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

55:                                               ; preds = %.thread
  tail call void @_ZN5ImGui11FocusWindowEP11ImGuiWindowi(ptr noundef null, i32 noundef 2)
  br label %56

56:                                               ; preds = %29, %53, %49, %55, %.thread, %15
  %57 = getelementptr inbounds i8, ptr %2, i64 11057
  %58 = load i8, ptr %57, align 1, !tbaa !109, !range !107, !noundef !108
  %59 = trunc nuw i8 %58 to i1
  br i1 %59, label %60, label %69

60:                                               ; preds = %56
  %61 = call noundef ptr @_ZN5ImGui20GetTopMostPopupModalEv()
  %62 = getelementptr inbounds i8, ptr %2, i64 16512
  %63 = load ptr, ptr %62, align 8, !tbaa !110
  %.not40 = icmp eq ptr %63, null
  br i1 %.not40, label %.critedge, label %64

64:                                               ; preds = %60
  %65 = icmp eq ptr %61, null
  br i1 %65, label %.critedge, label %66

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

..critedge42_crit_edge:                           ; preds = %66
  %.pre53 = load ptr, ptr %62, align 8, !tbaa !110
  br label %.critedge

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

69:                                               ; preds = %56, %.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(1029)) 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 16612}
!10 = !{!"_ZTS12ImGuiContext", !11, i64 0, !11, i64 1, !12, i64 8, !19, i64 14592, !6, i64 15752, !15, i64 15760, !15, i64 15764, !15, i64 15768, !15, i64 15772, !21, i64 15776, !24, i64 16312, !13, i64 16320, !13, i64 16324, !13, i64 16328, !11, i64 16332, !11, i64 16333, !11, i64 16334, !11, i64 16335, !11, i64 16336, !6, i64 16344, !7, i64 16352, !25, i64 16368, !25, i64 16384, !17, i64 16400, !13, i64 16404, !26, i64 16408, !26, i64 16424, !26, i64 16440, !27, i64 16456, !28, i64 16472, !13, i64 16488, !14, i64 16492, !13, i64 16500, !6, i64 16504, !6, i64 16512, !6, i64 16520, !6, i64 16528, !6, i64 16536, !6, i64 16544, !14, i64 16552, !13, i64 16560, !13, i64 16564, !15, i64 16568, !14, i64 16572, !14, i64 16580, !13, i64 16588, !13, i64 16592, !13, i64 16596, !15, i64 16600, !15, i64 16604, !11, i64 16608, !11, i64 16609, !11, i64 16610, !13, i64 16612, !13, i64 16616, !15, i64 16620, !11, i64 16624, !11, i64 16625, !11, i64 16626, !11, i64 16627, !11, i64 16628, !11, i64 16629, !11, i64 16630, !13, i64 16631, !14, i64 16632, !6, i64 16640, !30, i64 16648, !13, i64 16652, !11, i64 16656, !11, i64 16657, !6, i64 16664, !13, i64 16672, !15, i64 16676, !24, i64 16680, !24, i64 16688, !24, i64 16696, !31, i64 16704, !7, i64 16724, !32, i64 18576, !13, i64 18920, !11, i64 18924, !13, i64 18928, !13, i64 18932, !13, i64 18936, !13, i64 18940, !34, i64 18944, !37, i64 19000, !39, i64 19080, !11, i64 19192, !13, i64 19196, !40, i64 19200, !41, i64 19216, !42, i64 19232, !43, i64 19248, !44, i64 19264, !45, i64 19280, !46, i64 19296, !46, i64 19312, !47, i64 19328, !48, i64 19344, !6, i64 19360, !13, i64 19368, !13, i64 19372, !49, i64 19376, !13, i64 19380, !13, i64 19384, !13, i64 19388, !13, i64 19392, !43, i64 19400, !13, i64 19416, !15, i64 19420, !13, i64 19424, !13, i64 19428, !30, i64 19432, !35, i64 19440, !11, i64 19448, !11, i64 19449, !11, i64 19450, !11, i64 19451, !11, i64 19452, !11, i64 19453, !11, i64 19454, !50, i64 19456, !11, i64 19512, !11, i64 19513, !11, i64 19514, !13, i64 19516, !13, i64 19520, !13, i64 19524, !20, i64 19528, !20, i64 19532, !20, i64 19536, !38, i64 19540, !38, i64 19556, !13, i64 19572, !13, i64 19576, !13, i64 19580, !50, i64 19584, !50, i64 19640, !50, i64 19696, !50, i64 19752, !13, i64 19808, !13, i64 19812, !13, i64 19816, !13, i64 19820, !11, i64 19824, !11, i64 19825, !13, i64 19828, !13, i64 19832, !6, i64 19840, !6, i64 19848, !6, i64 19856, !15, i64 19864, !15, i64 19868, !11, i64 19872, !51, i64 19876, !14, i64 19880, !14, i64 19888, !15, i64 19896, !11, i64 19900, !11, i64 19901, !11, i64 19902, !13, i64 19904, !13, i64 19908, !13, i64 19912, !52, i64 19920, !38, i64 19984, !38, i64 20000, !13, i64 20016, !13, i64 20020, !15, i64 20024, !13, i64 20028, !13, i64 20032, !13, i64 20036, !13, i64 20040, !53, i64 20048, !7, i64 20064, !13, i64 20080, !54, i64 20088, !6, i64 20104, !13, i64 20112, !13, i64 20116, !55, i64 20120, !56, i64 20136, !58, i64 20176, !59, i64 20192, !6, i64 20208, !60, i64 20216, !62, i64 20256, !63, i64 20272, !64, i64 20288, !6, i64 20392, !13, i64 20400, !65, i64 20408, !66, i64 20424, !13, i64 20464, !13, i64 20468, !15, i64 20472, !15, i64 20476, !13, i64 20480, !13, i64 20484, !13, i64 20488, !15, i64 20492, !14, i64 20496, !68, i64 20504, !72, i64 24240, !73, i64 24264, !13, i64 24384, !36, i64 24388, !13, i64 24396, !13, i64 24400, !13, i64 24404, !13, i64 24408, !13, i64 24412, !15, i64 24416, !15, i64 24420, !13, i64 24424, !22, i64 24428, !75, i64 24444, !38, i64 24492, !11, i64 24508, !16, i64 24510, !15, i64 24512, !15, i64 24516, !15, i64 24520, !11, i64 24524, !11, i64 24525, !15, i64 24528, !15, i64 24532, !15, i64 24536, !16, i64 24540, !16, i64 24542, !16, i64 24544, !69, i64 24552, !76, i64 24568, !77, i64 24584, !79, i64 24688, !79, i64 24704, !11, i64 24720, !15, i64 24724, !80, i64 24728, !81, i64 24744, !82, i64 24760, !83, i64 24776, !84, i64 24792, !13, i64 24808, !7, i64 24816, !11, i64 24888, !85, i64 24892, !6, i64 24896, !80, i64 24904, !6, i64 24920, !6, i64 24928, !15, i64 24936, !11, i64 24940, !13, i64 24944, !13, i64 24948, !13, i64 24952, !13, i64 24956, !80, i64 24960, !86, i64 24976, !13, i64 25000, !7, i64 25004, !7, i64 25005, !11, i64 25006, !13, i64 25008, !7, i64 25012, !11, i64 25013, !7, i64 25014, !13, i64 25016, !15, i64 25020, !22, i64 25024, !87, i64 25040, !88, i64 25072, !90, i64 25112, !7, i64 25172, !13, i64 25412, !13, i64 25416, !15, i64 25420, !13, i64 25424, !13, i64 25428, !13, i64 25432, !69, i64 25440, !7, i64 25456}
!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, !6, i64 40, !6, i64 48, !15, i64 56, !11, i64 60, !6, i64 64, !14, i64 72, !11, i64 80, !11, i64 81, !11, i64 82, !11, i64 83, !11, i64 84, !11, i64 85, !11, i64 86, !11, i64 87, !11, i64 88, !15, i64 92, !15, i64 96, !15, i64 100, !15, i64 104, !15, i64 108, !15, i64 112, !11, i64 116, !11, i64 117, !11, i64 118, !11, i64 119, !11, i64 120, !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, !6, i64 208, !16, i64 216, !11, i64 218, !11, i64 219, !11, i64 220, !11, i64 221, !11, i64 222, !11, i64 223, !11, i64 224, !15, i64 228, !13, i64 232, !13, i64 236, !13, i64 240, !13, i64 244, !14, i64 248, !6, i64 256, !14, i64 264, !7, i64 272, !15, i64 280, !15, i64 284, !17, i64 288, !11, i64 292, !11, i64 293, !11, i64 294, !11, i64 295, !13, i64 296, !7, i64 300, !11, i64 10956, !14, i64 10960, !7, i64 10968, !7, i64 11008, !7, i64 11048, !7, i64 11053, !7, i64 11058, !7, i64 11068, !7, i64 11078, !7, i64 11083, !7, i64 11088, !11, i64 11093, !11, i64 11094, !7, i64 11096, !7, i64 11116, !7, i64 11136, !15, i64 11156, !11, i64 11160, !11, i64 11161, !7, i64 11162, !11, i64 11163, !16, i64 11164, !18, i64 11168, !7, i64 11184, !7, i64 13848, !7, i64 14516}
!13 = !{!"int", !7, i64 0}
!14 = !{!"_ZTS6ImVec2", !15, i64 0, !15, i64 4}
!15 = !{!"float", !7, i64 0}
!16 = !{!"short", !7, i64 0}
!17 = !{!"_ZTS16ImGuiMouseSource", !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, !20, 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, !15, i64 148, !15, i64 152, !15, i64 156, !14, i64 160, !20, i64 168, !14, i64 172, !14, i64 180, !15, i64 188, !14, i64 192, !14, i64 200, !14, i64 208, !14, i64 216, !15, i64 224, !11, i64 228, !11, i64 229, !11, i64 230, !15, i64 232, !15, i64 236, !7, i64 240, !15, i64 1136, !15, i64 1140, !15, i64 1144, !13, i64 1148, !13, i64 1152}
!20 = !{!"_ZTS8ImGuiDir", !7, i64 0}
!21 = !{!"_ZTS20ImDrawListSharedData", !14, i64 0, !6, i64 8, !15, i64 16, !15, i64 20, !15, i64 24, !15, i64 28, !22, i64 32, !13, i64 48, !23, i64 56, !7, i64 72, !15, i64 456, !7, i64 460, !6, i64 528}
!22 = !{!"_ZTS6ImVec4", !15, i64 0, !15, i64 4, !15, i64 8, !15, i64 12}
!23 = !{!"_ZTS8ImVectorI6ImVec2E", !13, i64 0, !13, i64 4, !6, i64 8}
!24 = !{!"double", !7, i64 0}
!25 = !{!"_ZTS8ImVectorI15ImGuiInputEventE", !13, i64 0, !13, i64 4, !6, i64 8}
!26 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !13, i64 0, !13, i64 4, !6, i64 8}
!27 = !{!"_ZTS8ImVectorI20ImGuiWindowStackDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!28 = !{!"_ZTS12ImGuiStorage", !29, i64 0}
!29 = !{!"_ZTS8ImVectorI16ImGuiStoragePairE", !13, i64 0, !13, i64 4, !6, i64 8}
!30 = !{!"_ZTS16ImGuiInputSource", !7, i64 0}
!31 = !{!"_ZTS10ImBitArrayILi154ELin512EE", !7, i64 0}
!32 = !{!"_ZTS20ImGuiKeyRoutingTable", !7, i64 0, !33, i64 312, !33, i64 328}
!33 = !{!"_ZTS8ImVectorI19ImGuiKeyRoutingDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!34 = !{!"_ZTS17ImGuiNextItemData", !13, i64 0, !13, i64 4, !13, i64 8, !35, i64 16, !15, i64 24, !13, i64 28, !13, i64 32, !11, i64 36, !7, i64 37, !36, i64 38, !13, i64 48}
!35 = !{!"long long", !7, i64 0}
!36 = !{!"_ZTS20ImGuiDataTypeStorage", !7, i64 0}
!37 = !{!"_ZTS17ImGuiLastItemData", !13, i64 0, !13, i64 4, !13, i64 8, !38, i64 12, !38, i64 28, !38, i64 44, !38, i64 60, !13, i64 76}
!38 = !{!"_ZTS6ImRect", !14, i64 0, !14, i64 8}
!39 = !{!"_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, !13, i64 56, !11, i64 60, !38, i64 64, !6, i64 80, !6, i64 88, !15, i64 96, !14, i64 100, !13, i64 108}
!40 = !{!"_ZTS8ImVectorI13ImGuiColorModE", !13, i64 0, !13, i64 4, !6, i64 8}
!41 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !13, i64 0, !13, i64 4, !6, i64 8}
!42 = !{!"_ZTS8ImVectorIP6ImFontE", !13, i64 0, !13, i64 4, !6, i64 8}
!43 = !{!"_ZTS8ImVectorI19ImGuiFocusScopeDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!44 = !{!"_ZTS8ImVectorIiE", !13, i64 0, !13, i64 4, !6, i64 8}
!45 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!46 = !{!"_ZTS8ImVectorI14ImGuiPopupDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!47 = !{!"_ZTS8ImVectorI22ImGuiTreeNodeStackDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!48 = !{!"_ZTS8ImVectorIP14ImGuiViewportPE", !13, i64 0, !13, i64 4, !6, i64 8}
!49 = !{!"_ZTS13ImGuiNavLayer", !7, i64 0}
!50 = !{!"_ZTS16ImGuiNavItemData", !6, i64 0, !13, i64 8, !13, i64 12, !38, i64 16, !13, i64 32, !15, i64 36, !15, i64 40, !15, i64 44, !35, i64 48}
!51 = !{!"_ZTS8ImGuiKey", !7, i64 0}
!52 = !{!"_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}
!53 = !{!"_ZTS8ImVectorIhE", !13, i64 0, !13, i64 4, !6, i64 8}
!54 = !{!"_ZTS8ImVectorI20ImGuiListClipperDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!55 = !{!"_ZTS8ImVectorI18ImGuiTableTempDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!56 = !{!"_ZTS6ImPoolI10ImGuiTableE", !57, i64 0, !28, i64 16, !13, i64 32, !13, i64 36}
!57 = !{!"_ZTS8ImVectorI10ImGuiTableE", !13, i64 0, !13, i64 4, !6, i64 8}
!58 = !{!"_ZTS8ImVectorIfE", !13, i64 0, !13, i64 4, !6, i64 8}
!59 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !13, i64 0, !13, i64 4, !6, i64 8}
!60 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !61, i64 0, !28, i64 16, !13, i64 32, !13, i64 36}
!61 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !13, i64 0, !13, i64 4, !6, i64 8}
!62 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !13, i64 0, !13, i64 4, !6, i64 8}
!63 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !13, i64 0, !13, i64 4, !6, i64 8}
!64 = !{!"_ZTS19ImGuiBoxSelectState", !13, i64 0, !11, i64 4, !11, i64 5, !11, i64 6, !11, i64 7, !11, i64 8, !13, i64 9, !14, i64 12, !14, i64 20, !14, i64 28, !6, i64 40, !11, i64 48, !38, i64 52, !38, i64 68, !38, i64 84}
!65 = !{!"_ZTS8ImVectorI24ImGuiMultiSelectTempDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!66 = !{!"_ZTS6ImPoolI21ImGuiMultiSelectStateE", !67, i64 0, !28, i64 16, !13, i64 32, !13, i64 36}
!67 = !{!"_ZTS8ImVectorI21ImGuiMultiSelectStateE", !13, i64 0, !13, i64 4, !6, i64 8}
!68 = !{!"_ZTS19ImGuiInputTextState", !6, i64 0, !13, i64 8, !13, i64 12, !13, i64 16, !18, i64 24, !69, i64 40, !69, i64 56, !11, i64 72, !13, i64 76, !15, i64 80, !70, i64 84, !15, i64 3712, !11, i64 3716, !11, i64 3717, !11, i64 3718, !13, i64 3720, !11, i64 3724, !13, i64 3728, !13, i64 3732}
!69 = !{!"_ZTS8ImVectorIcE", !13, i64 0, !13, i64 4, !6, i64 8}
!70 = !{!"_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, !71, i64 32}
!71 = !{!"_ZTSN5ImStb12StbUndoStateE", !7, i64 0, !7, i64 1584, !16, i64 3582, !16, i64 3584, !13, i64 3588, !13, i64 3592}
!72 = !{!"_ZTS30ImGuiInputTextDeactivatedState", !13, i64 0, !69, i64 8}
!73 = !{!"_ZTS6ImFont", !58, i64 0, !15, i64 16, !15, i64 20, !18, i64 24, !74, i64 40, !6, i64 56, !6, i64 64, !6, i64 72, !16, i64 80, !16, i64 82, !16, i64 84, !16, 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}
!74 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !13, i64 0, !13, i64 4, !6, i64 8}
!75 = !{!"_ZTS21ImGuiComboPreviewData", !38, i64 0, !14, i64 16, !14, i64 24, !14, i64 32, !15, i64 40, !13, i64 44}
!76 = !{!"_ZTS8ImVectorIjE", !13, i64 0, !13, i64 4, !6, i64 8}
!77 = !{!"_ZTS22ImGuiTypingSelectState", !78, i64 0, !7, i64 24, !13, i64 88, !13, i64 92, !15, i64 96, !11, i64 100}
!78 = !{!"_ZTS24ImGuiTypingSelectRequest", !13, i64 0, !13, i64 4, !6, i64 8, !11, i64 16, !11, i64 17, !7, i64 18}
!79 = !{!"_ZTS20ImGuiPlatformImeData", !11, i64 0, !14, i64 4, !15, i64 12}
!80 = !{!"_ZTS15ImGuiTextBuffer", !69, i64 0}
!81 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !13, i64 0, !13, i64 4, !6, i64 8}
!82 = !{!"_ZTS13ImChunkStreamI19ImGuiWindowSettingsE", !69, i64 0}
!83 = !{!"_ZTS13ImChunkStreamI18ImGuiTableSettingsE", !69, i64 0}
!84 = !{!"_ZTS8ImVectorI16ImGuiContextHookE", !13, i64 0, !13, i64 4, !6, i64 8}
!85 = !{!"_ZTS12ImGuiLogType", !7, i64 0}
!86 = !{!"_ZTS14ImGuiTextIndex", !44, i64 0, !13, i64 16}
!87 = !{!"_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, !11, i64 8, !13, i64 12, !13, i64 16, !13, i64 20, !13, i64 24}
!88 = !{!"_ZTS16ImGuiIDStackTool", !13, i64 0, !13, i64 4, !13, i64 8, !89, i64 16, !11, i64 32, !15, i64 36}
!89 = !{!"_ZTS8ImVectorI19ImGuiStackLevelInfoE", !13, i64 0, !13, i64 4, !6, i64 8}
!90 = !{!"_ZTS19ImGuiDebugAllocInfo", !13, i64 0, !13, i64 4, !16, i64 8, !7, i64 12}
!91 = !{!10, !13, i64 16592}
!92 = !{!10, !6, i64 19360}
!93 = !{!94, !11, i64 209}
!94 = !{!"_ZTS11ImGuiWindow", !6, i64 0, !6, i64 8, !13, i64 16, !13, i64 20, !13, i64 24, !6, i64 32, !14, i64 40, !14, i64 48, !14, i64 56, !14, i64 64, !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, !15, i64 132, !13, i64 136, !13, i64 140, !13, i64 144, !13, i64 148, !14, i64 152, !14, i64 160, !14, i64 168, !14, i64 176, !14, i64 184, !14, i64 192, !11, i64 200, !11, i64 201, !11, i64 202, !11, i64 203, !11, i64 204, !11, i64 205, !11, i64 206, !11, i64 207, !11, i64 208, !11, i64 209, !11, i64 210, !11, i64 211, !11, i64 212, !11, i64 213, !7, i64 214, !7, i64 215, !16, i64 216, !16, i64 218, !16, i64 220, !16, i64 222, !16, i64 224, !7, i64 226, !7, i64 227, !11, i64 228, !20, i64 232, !7, i64 236, !7, i64 237, !7, i64 238, !7, i64 239, !13, i64 240, !13, i64 241, !13, i64 242, !14, i64 244, !14, i64 252, !76, i64 264, !95, i64 280, !38, i64 512, !38, i64 528, !38, i64 544, !38, i64 560, !38, i64 576, !38, i64 592, !38, i64 608, !98, i64 624, !98, i64 628, !13, i64 632, !15, i64 636, !15, i64 640, !28, i64 648, !99, i64 664, !15, i64 680, !13, i64 684, !6, i64 688, !100, i64 696, !6, i64 896, !6, i64 904, !6, i64 912, !6, i64 920, !6, i64 928, !6, i64 936, !6, i64 944, !6, i64 952, !7, i64 960, !7, i64 968, !7, i64 1000, !13, i64 1016, !13, i64 1020, !13, i64 1024, !11, i64 1028}
!95 = !{!"_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, !96, i64 68, !96, i64 72, !96, i64 76, !14, i64 80, !49, i64 88, !16, i64 92, !16, i64 94, !11, i64 96, !11, i64 97, !11, i64 98, !11, i64 99, !14, i64 100, !97, i64 108, !13, i64 136, !13, i64 140, !26, i64 144, !6, i64 160, !6, i64 168, !13, i64 176, !13, i64 180, !13, i64 184, !13, i64 188, !15, i64 192, !15, i64 196, !58, i64 200, !58, i64 216}
!96 = !{!"_ZTS6ImVec1", !15, i64 0}
!97 = !{!"_ZTS16ImGuiMenuColumns", !13, i64 0, !13, i64 4, !16, i64 8, !16, i64 10, !16, i64 12, !16, i64 14, !16, i64 16, !7, i64 18}
!98 = !{!"_ZTS8ImVec2ih", !16, i64 0, !16, i64 2}
!99 = !{!"_ZTS8ImVectorI15ImGuiOldColumnsE", !13, i64 0, !13, i64 4, !6, i64 8}
!100 = !{!"_ZTS10ImDrawList", !101, i64 0, !18, i64 16, !102, i64 32, !13, i64 48, !13, i64 52, !6, i64 56, !6, i64 64, !6, i64 72, !23, i64 80, !103, i64 96, !104, i64 128, !105, i64 152, !106, i64 168, !15, i64 184, !6, i64 192}
!101 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !13, i64 0, !13, i64 4, !6, i64 8}
!102 = !{!"_ZTS8ImVectorI10ImDrawVertE", !13, i64 0, !13, i64 4, !6, i64 8}
!103 = !{!"_ZTS15ImDrawCmdHeader", !22, i64 0, !6, i64 16, !13, i64 24}
!104 = !{!"_ZTS18ImDrawListSplitter", !13, i64 0, !13, i64 4, !59, i64 8}
!105 = !{!"_ZTS8ImVectorI6ImVec4E", !13, i64 0, !13, i64 4, !6, i64 8}
!106 = !{!"_ZTS8ImVectorIPvE", !13, i64 0, !13, i64 4, !6, i64 8}
!107 = !{i8 0, i8 2}
!108 = !{}
!109 = !{!11, !11, i64 0}
!110 = !{!10, !6, i64 16512}
!111 = !{!94, !6, i64 912}
!112 = !{!94, !13, i64 20}
!113 = !{!94, !13, i64 148}
!114 = !{!10, !11, i64 96}
!115 = !{!10, !6, i64 16536}
!116 = !{!10, !11, i64 16609}


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