; LLVM IR from xhub/reshop :: gui/external/imgui/imgui.ll (ZN7ImGuiIO19AddMouseButtonEventEib)

; 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.ImGuiInputEvent = type <{ i32, i32, i32, %union.anon, i8, [3 x i8] }>
%union.anon = type { %struct.ImGuiInputEventMousePos }
%struct.ImGuiInputEventMousePos = type { float, float, i32 }
%struct.ImGuiIO = type { i32, i32, %struct.ImVec2, float, float, ptr, ptr, ptr, ptr, float, i8, ptr, %struct.ImVec2, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, float, float, float, float, float, float, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, ptr, ptr, ptr, ptr, ptr, i8, i8, i8, i8, i8, i8, i8, float, i32, i32, i32, i32, %struct.ImVec2, ptr, %struct.ImVec2, [5 x i8], float, float, i32, i8, i8, i8, i8, i32, [154 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, i8, [5 x float], [5 x float], [5 x float], float, i8, i8, i16, %struct.ImVector, ptr, ptr, ptr }
%struct.ImGuiKeyData = type { i8, float, float, float }
%struct.ImVec2 = type { float, float }
%struct.ImVector = type { i32, i32, ptr }
%struct.ImGuiInputEventMouseButton = type { i32, i8, i32 }
%struct.ImGuiContext = type { i8, i8, %struct.ImGuiIO, %struct.ImGuiPlatformIO, %struct.ImGuiStyle, ptr, float, float, float, float, %struct.ImDrawListSharedData, double, i32, i32, i32, i32, 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, i32, i32, float, float, i8, i8, i8, i32, i32, float, i8, i8, i8, i8, i8, i8, i8, i8, %struct.ImVec2, ptr, i32, i32, %struct.ImGuiDeactivatedItemData, %struct.ImGuiDataTypeStorage, 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, i8, i8, i8, i8, i32, ptr, i32, i32, i32, i32, i32, i32, %struct.ImVector.9, i32, float, i32, i32, i32, i64, 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, ptr, %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, [10 x ptr], i8, i32, ptr, ptr, %struct.ImGuiTextBuffer, ptr, ptr, float, i8, i32, i32, i32, ptr, ptr, %struct.ImVec2, i8, i32, %struct.ImGuiErrorRecoveryState, ptr, i32, i32, %struct.ImGuiTextBuffer, %struct.ImGuiTextIndex, i32, 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.ImGuiPlatformIO = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, i16, 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, ptr, float, float, float, float, %struct.ImVec4, i32, [4 x i8], %struct.ImVector.0, [48 x %struct.ImVec2], float, [64 x i8], [4 x i8] }>
%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.ImGuiDeactivatedItemData = type { i32, i32, i8, i8 }
%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, ptr, i32, i32, i32, [4 x i8], ptr, %struct.ImVector.28, %struct.ImVector.28, %struct.ImVector.28, i32, %struct.ImVec2, float, i8, i8, i8, i8, i32, i32, [4 x i8] }>
%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.ImRect = type { %struct.ImVec2, %struct.ImVec2 }
%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.ImGuiErrorRecoveryState = type { i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16 }
%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.ImGuiInputEventKey = type { i32, i8, float }

@.str.2 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [74 x i8], align 1
@__PRETTY_FUNCTION__._ZN7ImGuiIO19AddMouseButtonEventEib = external hidden unnamed_addr constant [45 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [59 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [48 x i8], align 1

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN15ImGuiInputEventC2Ev(ptr noundef nonnull align 4 dereferenceable(25)) unnamed_addr #2 align 2

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

; Function Attrs: mustprogress uwtable
declare hidden noundef ptr @_ZL20FindLatestInputEventP12ImGuiContext19ImGuiInputEventTypei(ptr noundef, i32 noundef, i32 noundef) #4

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN7ImGuiIO19AddMouseButtonEventEib(ptr noundef nonnull align 8 dereferenceable(2976) %0, i32 noundef %1, i1 noundef zeroext %2) #4 align 2 {
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca i8, align 1
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca ptr, align 8
  %10 = alloca i8, align 1
  %11 = alloca ptr, align 8
  %12 = alloca %struct.ImGuiInputEvent, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store i32 %1, ptr %5, align 4, !tbaa !9
  %13 = zext i1 %2 to i8
  store i8 %13, ptr %6, align 1, !tbaa !11
  %14 = load ptr, ptr %4, align 8
  %15 = getelementptr inbounds %struct.ImGuiIO, ptr %14, i32 0, i32 64
  %16 = load ptr, ptr %15, align 8, !tbaa !13
  %17 = icmp ne ptr %16, null
  br i1 %17, label %18, label %19

18:                                               ; preds = %3
  br label %21

19:                                               ; preds = %3
  call void @__assert_fail(ptr noundef @.str.2, ptr noundef @.str.3, i32 noundef 1719, ptr noundef @__PRETTY_FUNCTION__._ZN7ImGuiIO19AddMouseButtonEventEib) #5
  unreachable

20:                                               ; No predecessors!
  br label %21

21:                                               ; preds = %20, %18
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #6
  %22 = getelementptr inbounds %struct.ImGuiIO, ptr %14, i32 0, i32 64
  %23 = load ptr, ptr %22, align 8, !tbaa !13
  store ptr %23, ptr %7, align 8, !tbaa !5
  %24 = load i32, ptr %5, align 4, !tbaa !9
  %25 = icmp sge i32 %24, 0
  br i1 %25, label %26, label %29

26:                                               ; preds = %21
  %27 = load i32, ptr %5, align 4, !tbaa !9
  %28 = icmp slt i32 %27, 5
  br label %29

29:                                               ; preds = %26, %21
  %30 = phi i1 [ false, %21 ], [ %28, %26 ]
  br i1 %30, label %31, label %32

31:                                               ; preds = %29
  br label %34

32:                                               ; preds = %29
  call void @__assert_fail(ptr noundef @.str.8, ptr noundef @.str.3, i32 noundef 1721, ptr noundef @__PRETTY_FUNCTION__._ZN7ImGuiIO19AddMouseButtonEventEib) #5
  unreachable

33:                                               ; No predecessors!
  br label %34

34:                                               ; preds = %33, %31
  %35 = getelementptr inbounds %struct.ImGuiIO, ptr %14, i32 0, i32 94
  %36 = load i8, ptr %35, align 1, !tbaa !20, !range !21, !noundef !22
  %37 = trunc i8 %36 to i1
  br i1 %37, label %39, label %38

38:                                               ; preds = %34
  store i32 1, ptr %8, align 4
  br label %157

39:                                               ; preds = %34
  %40 = getelementptr inbounds %struct.ImGuiIO, ptr %14, i32 0, i32 21
  %41 = load i8, ptr %40, align 8, !tbaa !23, !range !21, !noundef !22
  %42 = trunc i8 %41 to i1
  br i1 %42, label %43, label %56

43:                                               ; preds = %39
  %44 = load i32, ptr %5, align 4, !tbaa !9
  %45 = icmp eq i32 %44, 0
  br i1 %45, label %46, label %56

46:                                               ; preds = %43
  %47 = getelementptr inbounds %struct.ImGuiIO, ptr %14, i32 0, i32 88
  %48 = load i8, ptr %47, align 2, !tbaa !24, !range !21, !noundef !22
  %49 = trunc i8 %48 to i1
  br i1 %49, label %50, label %56

50:                                               ; preds = %46
  store i32 1, ptr %5, align 4, !tbaa !9
  %51 = load i8, ptr %6, align 1, !tbaa !11, !range !21, !noundef !22
  %52 = trunc i8 %51 to i1
  br i1 %52, label %55, label %53

53:                                               ; preds = %50
  %54 = getelementptr inbounds %struct.ImGuiIO, ptr %14, i32 0, i32 88
  store i8 0, ptr %54, align 2, !tbaa !24
  br label %55

55:                                               ; preds = %53, %50
  br label %56

56:                                               ; preds = %55, %46, %43, %39
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #6
  %57 = load ptr, ptr %7, align 8, !tbaa !5
  %58 = load i32, ptr %5, align 4, !tbaa !9
  %59 = call noundef ptr @_ZL20FindLatestInputEventP12ImGuiContext19ImGuiInputEventTypei(ptr noundef %57, i32 noundef 3, i32 noundef %58)
  store ptr %59, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %10) #6
  %60 = load ptr, ptr %9, align 8, !tbaa !5
  %61 = icmp ne ptr %60, null
  br i1 %61, label %62, label %68

62:                                               ; preds = %56
  %63 = load ptr, ptr %9, align 8, !tbaa !5
  %64 = getelementptr inbounds %struct.ImGuiInputEvent, ptr %63, i32 0, i32 3
  %65 = getelementptr inbounds %struct.ImGuiInputEventMouseButton, ptr %64, i32 0, i32 1
  %66 = load i8, ptr %65, align 4, !tbaa !25, !range !21, !noundef !22
  %67 = trunc i8 %66 to i1
  br label %77

68:                                               ; preds = %56
  %69 = load ptr, ptr %7, align 8, !tbaa !5
  %70 = getelementptr inbounds %struct.ImGuiContext, ptr %69, i32 0, i32 2
  %71 = getelementptr inbounds %struct.ImGuiIO, ptr %70, i32 0, i32 66
  %72 = load i32, ptr %5, align 4, !tbaa !9
  %73 = sext i32 %72 to i64
  %74 = getelementptr inbounds [5 x i8], ptr %71, i64 0, i64 %73
  %75 = load i8, ptr %74, align 1, !tbaa !11, !range !21, !noundef !22
  %76 = trunc i8 %75 to i1
  br label %77

77:                                               ; preds = %68, %62
  %78 = phi i1 [ %67, %62 ], [ %76, %68 ]
  %79 = zext i1 %78 to i8
  store i8 %79, ptr %10, align 1, !tbaa !11
  %80 = load i8, ptr %10, align 1, !tbaa !11, !range !21, !noundef !22
  %81 = trunc i8 %80 to i1
  %82 = zext i1 %81 to i32
  %83 = load i8, ptr %6, align 1, !tbaa !11, !range !21, !noundef !22
  %84 = trunc i8 %83 to i1
  %85 = zext i1 %84 to i32
  %86 = icmp eq i32 %82, %85
  br i1 %86, label %87, label %88

87:                                               ; preds = %77
  store i32 1, ptr %8, align 4
  br label %156

88:                                               ; preds = %77
  %89 = getelementptr inbounds %struct.ImGuiIO, ptr %14, i32 0, i32 21
  %90 = load i8, ptr %89, align 8, !tbaa !23, !range !21, !noundef !22
  %91 = trunc i8 %90 to i1
  br i1 %91, label %92, label %133

92:                                               ; preds = %88
  %93 = load i32, ptr %5, align 4, !tbaa !9
  %94 = icmp eq i32 %93, 0
  br i1 %94, label %95, label %133

95:                                               ; preds = %92
  %96 = load i8, ptr %6, align 1, !tbaa !11, !range !21, !noundef !22
  %97 = trunc i8 %96 to i1
  br i1 %97, label %98, label %133

98:                                               ; preds = %95
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #6
  %99 = load ptr, ptr %7, align 8, !tbaa !5
  %100 = call noundef ptr @_ZL20FindLatestInputEventP12ImGuiContext19ImGuiInputEventTypei(ptr noundef %99, i32 noundef 4, i32 noundef 32768)
  store ptr %100, ptr %11, align 8, !tbaa !5
  %101 = load ptr, ptr %11, align 8, !tbaa !5
  %102 = icmp ne ptr %101, null
  br i1 %102, label %103, label %109

103:                                              ; preds = %98
  %104 = load ptr, ptr %11, align 8, !tbaa !5
  %105 = getelementptr inbounds %struct.ImGuiInputEvent, ptr %104, i32 0, i32 3
  %106 = getelementptr inbounds %struct.ImGuiInputEventKey, ptr %105, i32 0, i32 1
  %107 = load i8, ptr %106, align 4, !tbaa !25, !range !21, !noundef !22
  %108 = trunc i8 %107 to i1
  br label %115

109:                                              ; preds = %98
  %110 = load ptr, ptr %7, align 8, !tbaa !5
  %111 = getelementptr inbounds %struct.ImGuiContext, ptr %110, i32 0, i32 2
  %112 = getelementptr inbounds %struct.ImGuiIO, ptr %111, i32 0, i32 73
  %113 = load i8, ptr %112, align 1, !tbaa !26, !range !21, !noundef !22
  %114 = trunc i8 %113 to i1
  br label %115

115:                                              ; preds = %109, %103
  %116 = phi i1 [ %108, %103 ], [ %114, %109 ]
  br i1 %116, label %117, label %129

117:                                              ; preds = %115
  br label %118

118:                                              ; preds = %117
  %119 = load ptr, ptr %7, align 8, !tbaa !5
  %120 = getelementptr inbounds %struct.ImGuiContext, ptr %119, i32 0, i32 271
  %121 = load i32, ptr %120, align 4, !tbaa !100
  %122 = and i32 %121, 128
  %123 = icmp ne i32 %122, 0
  br i1 %123, label %124, label %125

124:                                              ; preds = %118
  call void (ptr, ...) @_ZN5ImGui8DebugLogEPKcz(ptr noundef @.str.9)
  br label %125

125:                                              ; preds = %124, %118
  br label %126

126:                                              ; preds = %125
  br label %127

127:                                              ; preds = %126
  %128 = getelementptr inbounds %struct.ImGuiIO, ptr %14, i32 0, i32 88
  store i8 1, ptr %128, align 2, !tbaa !24
  call void @_ZN7ImGuiIO19AddMouseButtonEventEib(ptr noundef nonnull align 8 dereferenceable(2976) %14, i32 noundef 1, i1 noundef zeroext true)
  store i32 1, ptr %8, align 4
  br label %130

129:                                              ; preds = %115
  store i32 0, ptr %8, align 4
  br label %130

130:                                              ; preds = %129, %127
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  %131 = load i32, ptr %8, align 4
  switch i32 %131, label %156 [
    i32 0, label %132
  ]

132:                                              ; preds = %130
  br label %133

133:                                              ; preds = %132, %95, %92, %88
  call void @llvm.lifetime.start.p0(i64 28, ptr %12) #6
  call void @_ZN15ImGuiInputEventC2Ev(ptr noundef nonnull align 4 dereferenceable(25) %12)
  %134 = getelementptr inbounds %struct.ImGuiInputEvent, ptr %12, i32 0, i32 0
  store i32 3, ptr %134, align 4, !tbaa !101
  %135 = getelementptr inbounds %struct.ImGuiInputEvent, ptr %12, i32 0, i32 1
  store i32 1, ptr %135, align 4, !tbaa !104
  %136 = load ptr, ptr %7, align 8, !tbaa !5
  %137 = getelementptr inbounds %struct.ImGuiContext, ptr %136, i32 0, i32 25
  %138 = load i32, ptr %137, align 4, !tbaa !105
  %139 = add i32 %138, 1
  store i32 %139, ptr %137, align 4, !tbaa !105
  %140 = getelementptr inbounds %struct.ImGuiInputEvent, ptr %12, i32 0, i32 2
  store i32 %138, ptr %140, align 4, !tbaa !106
  %141 = load i32, ptr %5, align 4, !tbaa !9
  %142 = getelementptr inbounds %struct.ImGuiInputEvent, ptr %12, i32 0, i32 3
  %143 = getelementptr inbounds %struct.ImGuiInputEventMouseButton, ptr %142, i32 0, i32 0
  store i32 %141, ptr %143, align 4, !tbaa !25
  %144 = load i8, ptr %6, align 1, !tbaa !11, !range !21, !noundef !22
  %145 = trunc i8 %144 to i1
  %146 = getelementptr inbounds %struct.ImGuiInputEvent, ptr %12, i32 0, i32 3
  %147 = getelementptr inbounds %struct.ImGuiInputEventMouseButton, ptr %146, i32 0, i32 1
  %148 = zext i1 %145 to i8
  store i8 %148, ptr %147, align 4, !tbaa !25
  %149 = load ptr, ptr %7, align 8, !tbaa !5
  %150 = getelementptr inbounds %struct.ImGuiContext, ptr %149, i32 0, i32 24
  %151 = load i32, ptr %150, align 8, !tbaa !107
  %152 = getelementptr inbounds %struct.ImGuiInputEvent, ptr %12, i32 0, i32 3
  %153 = getelementptr inbounds %struct.ImGuiInputEventMouseButton, ptr %152, i32 0, i32 2
  store i32 %151, ptr %153, align 4, !tbaa !25
  %154 = load ptr, ptr %7, align 8, !tbaa !5
  %155 = getelementptr inbounds %struct.ImGuiContext, ptr %154, i32 0, i32 22
  call void @_ZN8ImVectorI15ImGuiInputEventE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(16) %155, ptr noundef nonnull align 4 dereferenceable(25) %12)
  call void @llvm.lifetime.end.p0(i64 28, ptr %12) #6
  store i32 0, ptr %8, align 4
  br label %156

156:                                              ; preds = %133, %130, %87
  call void @llvm.lifetime.end.p0(i64 1, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  br label %157

157:                                              ; preds = %156, %38
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #6
  %158 = load i32, ptr %8, align 4
  switch i32 %158, label %160 [
    i32 0, label %159
    i32 1, label %159
  ]

159:                                              ; preds = %157, %157
  ret void

160:                                              ; preds = %157
  unreachable
}

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 #3 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 #5 = { noreturn nounwind }
attributes #6 = { 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, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"bool", !7, i64 0}
!13 = !{!14, !6, i64 216}
!14 = !{!"_ZTS7ImGuiIO", !10, i64 0, !10, i64 4, !15, i64 8, !16, i64 16, !16, i64 20, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !16, i64 56, !12, i64 60, !6, i64 64, !15, i64 72, !12, i64 80, !12, i64 81, !12, i64 82, !12, i64 83, !12, i64 84, !12, i64 85, !12, i64 86, !12, i64 87, !12, i64 88, !12, i64 89, !12, i64 90, !12, i64 91, !12, i64 92, !12, i64 93, !12, i64 94, !12, i64 95, !12, i64 96, !16, i64 100, !16, i64 104, !16, i64 108, !16, i64 112, !16, i64 116, !16, i64 120, !12, i64 124, !12, i64 125, !12, i64 126, !12, i64 127, !12, i64 128, !12, i64 129, !12, i64 130, !12, i64 131, !12, i64 132, !12, i64 133, !6, i64 136, !6, i64 144, !6, i64 152, !6, i64 160, !6, i64 168, !12, i64 176, !12, i64 177, !12, i64 178, !12, i64 179, !12, i64 180, !12, i64 181, !12, i64 182, !16, i64 184, !10, i64 188, !10, i64 192, !10, i64 196, !10, i64 200, !15, i64 204, !6, i64 216, !15, i64 224, !7, i64 232, !16, i64 240, !16, i64 244, !17, i64 248, !12, i64 252, !12, i64 253, !12, i64 254, !12, i64 255, !10, i64 256, !7, i64 260, !12, i64 2724, !15, i64 2728, !7, i64 2736, !7, i64 2776, !7, i64 2816, !7, i64 2821, !7, i64 2826, !7, i64 2836, !7, i64 2846, !7, i64 2851, !7, i64 2856, !12, i64 2861, !12, i64 2862, !7, i64 2864, !7, i64 2884, !7, i64 2904, !16, i64 2924, !12, i64 2928, !12, i64 2929, !18, i64 2930, !19, i64 2936, !6, i64 2952, !6, i64 2960, !6, i64 2968}
!15 = !{!"_ZTS6ImVec2", !16, i64 0, !16, i64 4}
!16 = !{!"float", !7, i64 0}
!17 = !{!"_ZTS16ImGuiMouseSource", !7, i64 0}
!18 = !{!"short", !7, i64 0}
!19 = !{!"_ZTS8ImVectorItE", !10, i64 0, !10, i64 4, !6, i64 8}
!20 = !{!14, !12, i64 2929}
!21 = !{i8 0, i8 2}
!22 = !{}
!23 = !{!14, !12, i64 88}
!24 = !{!14, !12, i64 2862}
!25 = !{!7, !7, i64 0}
!26 = !{!27, !12, i64 263}
!27 = !{!"_ZTS12ImGuiContext", !12, i64 0, !12, i64 1, !14, i64 8, !28, i64 2984, !29, i64 3056, !6, i64 4216, !16, i64 4224, !16, i64 4228, !16, i64 4232, !16, i64 4236, !31, i64 4240, !34, i64 4776, !10, i64 4784, !10, i64 4788, !10, i64 4792, !10, i64 4796, !12, i64 4800, !12, i64 4801, !12, i64 4802, !12, i64 4803, !6, i64 4808, !7, i64 4816, !35, i64 4832, !35, i64 4848, !17, i64 4864, !10, i64 4868, !36, i64 4872, !36, i64 4888, !36, i64 4904, !37, i64 4920, !38, i64 4936, !10, i64 4952, !15, i64 4956, !10, i64 4964, !6, i64 4968, !6, i64 4976, !6, i64 4984, !6, i64 4992, !6, i64 5000, !6, i64 5008, !15, i64 5016, !10, i64 5024, !10, i64 5028, !16, i64 5032, !15, i64 5036, !15, i64 5044, !10, i64 5052, !10, i64 5056, !10, i64 5060, !10, i64 5064, !10, i64 5068, !16, i64 5072, !16, i64 5076, !12, i64 5080, !12, i64 5081, !12, i64 5082, !10, i64 5084, !10, i64 5088, !16, i64 5092, !12, i64 5096, !12, i64 5097, !12, i64 5098, !12, i64 5099, !12, i64 5100, !12, i64 5101, !12, i64 5102, !10, i64 5103, !15, i64 5104, !6, i64 5112, !40, i64 5120, !10, i64 5124, !41, i64 5128, !42, i64 5140, !10, i64 5148, !16, i64 5152, !34, i64 5160, !34, i64 5168, !34, i64 5176, !43, i64 5184, !7, i64 5204, !44, i64 7056, !10, i64 7400, !12, i64 7404, !10, i64 7408, !10, i64 7412, !10, i64 7416, !10, i64 7420, !46, i64 7424, !48, i64 7480, !50, i64 7560, !12, i64 7672, !10, i64 7676, !51, i64 7680, !52, i64 7696, !53, i64 7712, !54, i64 7728, !55, i64 7744, !56, i64 7760, !57, i64 7776, !57, i64 7792, !58, i64 7808, !59, i64 7824, !12, i64 7840, !12, i64 7841, !12, i64 7842, !12, i64 7843, !10, i64 7844, !6, i64 7848, !10, i64 7856, !60, i64 7860, !10, i64 7864, !10, i64 7868, !10, i64 7872, !10, i64 7876, !54, i64 7880, !10, i64 7896, !16, i64 7900, !10, i64 7904, !10, i64 7908, !40, i64 7912, !47, i64 7920, !7, i64 7928, !12, i64 7929, !12, i64 7930, !12, i64 7931, !61, i64 7936, !12, i64 7992, !12, i64 7993, !12, i64 7994, !10, i64 7996, !10, i64 8000, !10, i64 8004, !30, i64 8008, !30, i64 8012, !30, i64 8016, !49, i64 8020, !49, i64 8036, !10, i64 8052, !10, i64 8056, !10, i64 8060, !61, i64 8064, !61, i64 8120, !61, i64 8176, !61, i64 8232, !10, i64 8288, !10, i64 8292, !10, i64 8296, !10, i64 8300, !12, i64 8304, !12, i64 8305, !10, i64 8308, !10, i64 8312, !6, i64 8320, !6, i64 8328, !6, i64 8336, !16, i64 8344, !16, i64 8348, !12, i64 8352, !62, i64 8356, !15, i64 8360, !15, i64 8368, !16, i64 8376, !12, i64 8380, !12, i64 8381, !12, i64 8382, !10, i64 8384, !10, i64 8388, !10, i64 8392, !63, i64 8400, !49, i64 8464, !49, i64 8480, !10, i64 8496, !10, i64 8500, !16, i64 8504, !10, i64 8508, !10, i64 8512, !10, i64 8516, !10, i64 8520, !64, i64 8528, !7, i64 8544, !10, i64 8560, !65, i64 8568, !6, i64 8584, !10, i64 8592, !10, i64 8596, !66, i64 8600, !67, i64 8616, !69, i64 8656, !70, i64 8672, !6, i64 8688, !71, i64 8696, !73, i64 8736, !74, i64 8752, !75, i64 8768, !6, i64 8872, !10, i64 8880, !76, i64 8888, !77, i64 8904, !10, i64 8944, !10, i64 8948, !16, i64 8952, !16, i64 8956, !10, i64 8960, !10, i64 8964, !10, i64 8968, !16, i64 8972, !15, i64 8976, !79, i64 8984, !81, i64 9104, !82, i64 9128, !10, i64 9248, !42, i64 9252, !10, i64 9260, !10, i64 9264, !10, i64 9268, !10, i64 9272, !10, i64 9276, !16, i64 9280, !16, i64 9284, !10, i64 9288, !32, i64 9292, !84, i64 9308, !49, i64 9356, !12, i64 9372, !18, i64 9374, !16, i64 9376, !16, i64 9380, !16, i64 9384, !12, i64 9388, !12, i64 9389, !16, i64 9392, !16, i64 9396, !16, i64 9400, !18, i64 9404, !18, i64 9406, !6, i64 9408, !80, i64 9416, !85, i64 9432, !86, i64 9448, !88, i64 9552, !88, i64 9568, !12, i64 9584, !16, i64 9588, !89, i64 9592, !90, i64 9608, !91, i64 9624, !92, i64 9640, !93, i64 9656, !10, i64 9672, !7, i64 9680, !12, i64 9760, !10, i64 9764, !6, i64 9768, !6, i64 9776, !89, i64 9784, !6, i64 9800, !6, i64 9808, !16, i64 9816, !12, i64 9820, !10, i64 9824, !10, i64 9828, !10, i64 9832, !6, i64 9840, !6, i64 9848, !15, i64 9856, !12, i64 9864, !10, i64 9868, !94, i64 9872, !6, i64 9896, !10, i64 9904, !10, i64 9908, !89, i64 9912, !95, i64 9928, !10, i64 9952, !10, i64 9956, !7, i64 9960, !7, i64 9961, !12, i64 9962, !10, i64 9964, !7, i64 9968, !12, i64 9969, !7, i64 9970, !10, i64 9972, !16, i64 9976, !32, i64 9980, !96, i64 9996, !97, i64 10024, !99, i64 10064, !7, i64 10124, !10, i64 10364, !10, i64 10368, !16, i64 10372, !10, i64 10376, !10, i64 10380, !10, i64 10384, !80, i64 10392, !7, i64 10408}
!28 = !{!"_ZTS15ImGuiPlatformIO", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !18, i64 56, !6, i64 64}
!29 = !{!"_ZTS10ImGuiStyle", !16, i64 0, !16, i64 4, !15, i64 8, !16, i64 16, !16, i64 20, !15, i64 24, !15, i64 32, !30, i64 40, !16, i64 44, !16, i64 48, !16, i64 52, !16, i64 56, !15, i64 60, !16, i64 68, !16, i64 72, !15, i64 76, !15, i64 84, !15, i64 92, !15, i64 100, !16, i64 108, !16, i64 112, !16, i64 116, !16, i64 120, !16, i64 124, !16, i64 128, !16, i64 132, !16, i64 136, !16, i64 140, !16, i64 144, !16, i64 148, !16, i64 152, !16, i64 156, !15, i64 160, !30, i64 168, !15, i64 172, !15, i64 180, !16, i64 188, !15, i64 192, !15, i64 200, !15, i64 208, !15, i64 216, !16, i64 224, !12, i64 228, !12, i64 229, !12, i64 230, !16, i64 232, !16, i64 236, !7, i64 240, !16, i64 1136, !16, i64 1140, !16, i64 1144, !10, i64 1148, !10, i64 1152}
!30 = !{!"_ZTS8ImGuiDir", !7, i64 0}
!31 = !{!"_ZTS20ImDrawListSharedData", !15, i64 0, !6, i64 8, !6, i64 16, !16, i64 24, !16, i64 28, !16, i64 32, !16, i64 36, !32, i64 40, !10, i64 56, !33, i64 64, !7, i64 80, !16, i64 464, !7, i64 468}
!32 = !{!"_ZTS6ImVec4", !16, i64 0, !16, i64 4, !16, i64 8, !16, i64 12}
!33 = !{!"_ZTS8ImVectorI6ImVec2E", !10, i64 0, !10, i64 4, !6, i64 8}
!34 = !{!"double", !7, i64 0}
!35 = !{!"_ZTS8ImVectorI15ImGuiInputEventE", !10, i64 0, !10, i64 4, !6, i64 8}
!36 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !10, i64 0, !10, i64 4, !6, i64 8}
!37 = !{!"_ZTS8ImVectorI20ImGuiWindowStackDataE", !10, i64 0, !10, i64 4, !6, i64 8}
!38 = !{!"_ZTS12ImGuiStorage", !39, i64 0}
!39 = !{!"_ZTS8ImVectorI16ImGuiStoragePairE", !10, i64 0, !10, i64 4, !6, i64 8}
!40 = !{!"_ZTS16ImGuiInputSource", !7, i64 0}
!41 = !{!"_ZTS24ImGuiDeactivatedItemData", !10, i64 0, !10, i64 4, !12, i64 8, !12, i64 9}
!42 = !{!"_ZTS20ImGuiDataTypeStorage", !7, i64 0}
!43 = !{!"_ZTS10ImBitArrayILi154ELin512EE", !7, i64 0}
!44 = !{!"_ZTS20ImGuiKeyRoutingTable", !7, i64 0, !45, i64 312, !45, i64 328}
!45 = !{!"_ZTS8ImVectorI19ImGuiKeyRoutingDataE", !10, i64 0, !10, i64 4, !6, i64 8}
!46 = !{!"_ZTS17ImGuiNextItemData", !10, i64 0, !10, i64 4, !10, i64 8, !47, i64 16, !16, i64 24, !10, i64 28, !10, i64 32, !12, i64 36, !7, i64 37, !42, i64 38, !10, i64 48}
!47 = !{!"long long", !7, i64 0}
!48 = !{!"_ZTS17ImGuiLastItemData", !10, i64 0, !10, i64 4, !10, i64 8, !49, i64 12, !49, i64 28, !49, i64 44, !49, i64 60, !10, i64 76}
!49 = !{!"_ZTS6ImRect", !15, i64 0, !15, i64 8}
!50 = !{!"_ZTS19ImGuiNextWindowData", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !15, i64 16, !15, i64 24, !15, i64 32, !15, i64 40, !15, i64 48, !10, i64 56, !12, i64 60, !49, i64 64, !6, i64 80, !6, i64 88, !16, i64 96, !15, i64 100, !10, i64 108}
!51 = !{!"_ZTS8ImVectorI13ImGuiColorModE", !10, i64 0, !10, i64 4, !6, i64 8}
!52 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !10, i64 0, !10, i64 4, !6, i64 8}
!53 = !{!"_ZTS8ImVectorIP6ImFontE", !10, i64 0, !10, i64 4, !6, i64 8}
!54 = !{!"_ZTS8ImVectorI19ImGuiFocusScopeDataE", !10, i64 0, !10, i64 4, !6, i64 8}
!55 = !{!"_ZTS8ImVectorIiE", !10, i64 0, !10, i64 4, !6, i64 8}
!56 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !10, i64 0, !10, i64 4, !6, i64 8}
!57 = !{!"_ZTS8ImVectorI14ImGuiPopupDataE", !10, i64 0, !10, i64 4, !6, i64 8}
!58 = !{!"_ZTS8ImVectorI22ImGuiTreeNodeStackDataE", !10, i64 0, !10, i64 4, !6, i64 8}
!59 = !{!"_ZTS8ImVectorIP14ImGuiViewportPE", !10, i64 0, !10, i64 4, !6, i64 8}
!60 = !{!"_ZTS13ImGuiNavLayer", !7, i64 0}
!61 = !{!"_ZTS16ImGuiNavItemData", !6, i64 0, !10, i64 8, !10, i64 12, !49, i64 16, !10, i64 32, !16, i64 36, !16, i64 40, !16, i64 44, !47, i64 48}
!62 = !{!"_ZTS8ImGuiKey", !7, i64 0}
!63 = !{!"_ZTS12ImGuiPayload", !6, i64 0, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !7, i64 24, !12, i64 57, !12, i64 58}
!64 = !{!"_ZTS8ImVectorIhE", !10, i64 0, !10, i64 4, !6, i64 8}
!65 = !{!"_ZTS8ImVectorI20ImGuiListClipperDataE", !10, i64 0, !10, i64 4, !6, i64 8}
!66 = !{!"_ZTS8ImVectorI18ImGuiTableTempDataE", !10, i64 0, !10, i64 4, !6, i64 8}
!67 = !{!"_ZTS6ImPoolI10ImGuiTableE", !68, i64 0, !38, i64 16, !10, i64 32, !10, i64 36}
!68 = !{!"_ZTS8ImVectorI10ImGuiTableE", !10, i64 0, !10, i64 4, !6, i64 8}
!69 = !{!"_ZTS8ImVectorIfE", !10, i64 0, !10, i64 4, !6, i64 8}
!70 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !10, i64 0, !10, i64 4, !6, i64 8}
!71 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !72, i64 0, !38, i64 16, !10, i64 32, !10, i64 36}
!72 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !10, i64 0, !10, i64 4, !6, i64 8}
!73 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !10, i64 0, !10, i64 4, !6, i64 8}
!74 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !10, i64 0, !10, i64 4, !6, i64 8}
!75 = !{!"_ZTS19ImGuiBoxSelectState", !10, i64 0, !12, i64 4, !12, i64 5, !12, i64 6, !12, i64 7, !12, i64 8, !10, i64 9, !15, i64 12, !15, i64 20, !15, i64 28, !6, i64 40, !12, i64 48, !49, i64 52, !49, i64 68, !49, i64 84}
!76 = !{!"_ZTS8ImVectorI24ImGuiMultiSelectTempDataE", !10, i64 0, !10, i64 4, !6, i64 8}
!77 = !{!"_ZTS6ImPoolI21ImGuiMultiSelectStateE", !78, i64 0, !38, i64 16, !10, i64 32, !10, i64 36}
!78 = !{!"_ZTS8ImVectorI21ImGuiMultiSelectStateE", !10, i64 0, !10, i64 4, !6, i64 8}
!79 = !{!"_ZTS19ImGuiInputTextState", !6, i64 0, !6, i64 8, !10, i64 16, !10, i64 20, !10, i64 24, !6, i64 32, !80, i64 40, !80, i64 56, !80, i64 72, !10, i64 88, !15, i64 92, !16, i64 100, !12, i64 104, !12, i64 105, !12, i64 106, !12, i64 107, !10, i64 108, !10, i64 112}
!80 = !{!"_ZTS8ImVectorIcE", !10, i64 0, !10, i64 4, !6, i64 8}
!81 = !{!"_ZTS30ImGuiInputTextDeactivatedState", !10, i64 0, !80, i64 8}
!82 = !{!"_ZTS6ImFont", !69, i64 0, !16, i64 16, !16, i64 20, !19, i64 24, !83, i64 40, !6, i64 56, !6, i64 64, !6, i64 72, !18, i64 80, !18, i64 82, !18, i64 84, !18, i64 86, !16, i64 88, !16, i64 92, !12, i64 96, !16, i64 100, !16, i64 104, !16, i64 108, !10, i64 112, !7, i64 116}
!83 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !10, i64 0, !10, i64 4, !6, i64 8}
!84 = !{!"_ZTS21ImGuiComboPreviewData", !49, i64 0, !15, i64 16, !15, i64 24, !15, i64 32, !16, i64 40, !10, i64 44}
!85 = !{!"_ZTS8ImVectorIjE", !10, i64 0, !10, i64 4, !6, i64 8}
!86 = !{!"_ZTS22ImGuiTypingSelectState", !87, i64 0, !7, i64 24, !10, i64 88, !10, i64 92, !16, i64 96, !12, i64 100}
!87 = !{!"_ZTS24ImGuiTypingSelectRequest", !10, i64 0, !10, i64 4, !6, i64 8, !12, i64 16, !12, i64 17, !7, i64 18}
!88 = !{!"_ZTS20ImGuiPlatformImeData", !12, i64 0, !15, i64 4, !16, i64 12}
!89 = !{!"_ZTS15ImGuiTextBuffer", !80, i64 0}
!90 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !10, i64 0, !10, i64 4, !6, i64 8}
!91 = !{!"_ZTS13ImChunkStreamI19ImGuiWindowSettingsE", !80, i64 0}
!92 = !{!"_ZTS13ImChunkStreamI18ImGuiTableSettingsE", !80, i64 0}
!93 = !{!"_ZTS8ImVectorI16ImGuiContextHookE", !10, i64 0, !10, i64 4, !6, i64 8}
!94 = !{!"_ZTS23ImGuiErrorRecoveryState", !18, i64 0, !18, i64 2, !18, i64 4, !18, i64 6, !18, i64 8, !18, i64 10, !18, i64 12, !18, i64 14, !18, i64 16, !18, i64 18, !18, i64 20}
!95 = !{!"_ZTS14ImGuiTextIndex", !55, i64 0, !10, i64 16}
!96 = !{!"_ZTS18ImGuiMetricsConfig", !12, i64 0, !12, i64 1, !12, i64 2, !12, i64 3, !12, i64 4, !12, i64 5, !12, i64 6, !12, i64 7, !12, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24}
!97 = !{!"_ZTS16ImGuiIDStackTool", !10, i64 0, !10, i64 4, !10, i64 8, !98, i64 16, !12, i64 32, !16, i64 36}
!98 = !{!"_ZTS8ImVectorI19ImGuiStackLevelInfoE", !10, i64 0, !10, i64 4, !6, i64 8}
!99 = !{!"_ZTS19ImGuiDebugAllocInfo", !10, i64 0, !10, i64 4, !18, i64 8, !7, i64 12}
!100 = !{!27, !10, i64 9908}
!101 = !{!102, !103, i64 0}
!102 = !{!"_ZTS15ImGuiInputEvent", !103, i64 0, !40, i64 4, !10, i64 8, !7, i64 12, !12, i64 24}
!103 = !{!"_ZTS19ImGuiInputEventType", !7, i64 0}
!104 = !{!102, !40, i64 4}
!105 = !{!27, !10, i64 4868}
!106 = !{!102, !10, i64 8}
!107 = !{!27, !17, i64 4864}


; 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.ImGuiInputEvent = type <{ i32, i32, i32, %union.anon, i8, [3 x i8] }>
%union.anon = type { %struct.ImGuiInputEventMousePos }
%struct.ImGuiInputEventMousePos = type { float, float, i32 }

@.str.2 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [74 x i8], align 1
@__PRETTY_FUNCTION__._ZN7ImGuiIO19AddMouseButtonEventEib = external hidden unnamed_addr constant [45 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [59 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [48 x i8], align 1

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN15ImGuiInputEventC2Ev(ptr noundef nonnull align 4 dereferenceable(25)) unnamed_addr #2 align 2

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

; Function Attrs: mustprogress uwtable
declare hidden noundef ptr @_ZL20FindLatestInputEventP12ImGuiContext19ImGuiInputEventTypei(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN7ImGuiIO19AddMouseButtonEventEib(ptr nocapture noundef nonnull align 8 dereferenceable(2976) %0, i32 noundef %1, i1 noundef zeroext %2) local_unnamed_addr #4 align 2 {
  %4 = alloca %struct.ImGuiInputEvent, align 4
  %5 = alloca %struct.ImGuiInputEvent, align 4
  %6 = zext i1 %2 to i8
  %7 = getelementptr inbounds i8, ptr %0, i64 216
  %8 = load ptr, ptr %7, align 8, !tbaa !5
  %.not = icmp eq ptr %8, null
  br i1 %.not, label %9, label %10

9:                                                ; preds = %3
  tail call void @__assert_fail(ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.3, i32 noundef 1719, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN7ImGuiIO19AddMouseButtonEventEib) #5
  unreachable

10:                                               ; preds = %3
  %11 = icmp ult i32 %1, 5
  br i1 %11, label %13, label %12

12:                                               ; preds = %10
  tail call void @__assert_fail(ptr noundef nonnull @.str.8, ptr noundef nonnull @.str.3, i32 noundef 1721, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN7ImGuiIO19AddMouseButtonEventEib) #5
  unreachable

13:                                               ; preds = %10
  %14 = getelementptr inbounds i8, ptr %0, i64 2929
  %15 = load i8, ptr %14, align 1, !tbaa !17, !range !18, !noundef !19
  %16 = trunc nuw i8 %15 to i1
  br i1 %16, label %17, label %_ZN7ImGuiIO19AddMouseButtonEventEib.exit

17:                                               ; preds = %13
  %18 = getelementptr inbounds i8, ptr %0, i64 88
  %19 = load i8, ptr %18, align 8, !tbaa !20, !range !18, !noundef !19
  %20 = trunc nuw i8 %19 to i1
  %21 = icmp eq i32 %1, 0
  %or.cond = and i1 %21, %20
  br i1 %or.cond, label %22, label %27

22:                                               ; preds = %17
  %23 = getelementptr inbounds i8, ptr %0, i64 2862
  %24 = load i8, ptr %23, align 2, !tbaa !21, !range !18, !noundef !19
  %25 = trunc nuw i8 %24 to i1
  %.not37 = xor i1 %25, true
  %brmerge = or i1 %.not37, %2
  %.mux = zext nneg i8 %24 to i32
  br i1 %brmerge, label %27, label %26

26:                                               ; preds = %22
  store i8 0, ptr %23, align 2, !tbaa !21
  br label %27

27:                                               ; preds = %22, %26, %17
  %.0 = phi i32 [ 1, %26 ], [ %.mux, %22 ], [ %1, %17 ]
  %28 = tail call noundef ptr @_ZL20FindLatestInputEventP12ImGuiContext19ImGuiInputEventTypei(ptr noundef nonnull %8, i32 noundef 3, i32 noundef %.0)
  %.not33 = icmp eq ptr %28, null
  %29 = getelementptr inbounds i8, ptr %28, i64 16
  %30 = getelementptr inbounds i8, ptr %8, i64 240
  %31 = zext nneg i32 %.0 to i64
  %32 = getelementptr inbounds [5 x i8], ptr %30, i64 0, i64 %31
  %.in.in = select i1 %.not33, ptr %32, ptr %29
  %.in = load i8, ptr %.in.in, align 1, !tbaa !22, !range !18, !noundef !19
  %33 = icmp eq i8 %.in, %6
  br i1 %33, label %_ZN7ImGuiIO19AddMouseButtonEventEib.exit, label %34

34:                                               ; preds = %27
  %35 = load i8, ptr %18, align 8, !tbaa !20, !range !18, !noundef !19
  %36 = trunc nuw i8 %35 to i1
  %37 = icmp eq i32 %.0, 0
  %or.cond3 = and i1 %37, %36
  %brmerge39.demorgan = and i1 %or.cond3, %2
  br i1 %brmerge39.demorgan, label %38, label %.critedge

38:                                               ; preds = %34
  %39 = tail call noundef ptr @_ZL20FindLatestInputEventP12ImGuiContext19ImGuiInputEventTypei(ptr noundef nonnull %8, i32 noundef 4, i32 noundef 32768)
  %.not34 = icmp eq ptr %39, null
  %40 = getelementptr inbounds i8, ptr %39, i64 16
  %41 = getelementptr inbounds i8, ptr %8, i64 263
  %.in35.in = select i1 %.not34, ptr %41, ptr %40
  %.in35 = load i8, ptr %.in35.in, align 1, !tbaa !22, !range !18, !noundef !19
  %42 = trunc nuw i8 %.in35 to i1
  br i1 %42, label %43, label %.critedge

43:                                               ; preds = %38
  %44 = getelementptr inbounds i8, ptr %8, i64 9908
  %45 = load i32, ptr %44, align 4, !tbaa !23
  %46 = and i32 %45, 128
  %.not36 = icmp eq i32 %46, 0
  br i1 %.not36, label %48, label %47

47:                                               ; preds = %43
  tail call void (ptr, ...) @_ZN5ImGui8DebugLogEPKcz(ptr noundef nonnull @.str.9)
  br label %48

48:                                               ; preds = %47, %43
  %49 = getelementptr inbounds i8, ptr %0, i64 2862
  store i8 1, ptr %49, align 2, !tbaa !21
  %50 = load ptr, ptr %7, align 8, !tbaa !5
  %.not.i = icmp eq ptr %50, null
  br i1 %.not.i, label %51, label %52

51:                                               ; preds = %48
  tail call void @__assert_fail(ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.3, i32 noundef 1719, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN7ImGuiIO19AddMouseButtonEventEib) #5
  unreachable

52:                                               ; preds = %48
  %53 = load i8, ptr %14, align 1, !tbaa !17, !range !18, !noundef !19
  %54 = trunc nuw i8 %53 to i1
  br i1 %54, label %55, label %_ZN7ImGuiIO19AddMouseButtonEventEib.exit

55:                                               ; preds = %52
  %56 = tail call noundef ptr @_ZL20FindLatestInputEventP12ImGuiContext19ImGuiInputEventTypei(ptr noundef nonnull %50, i32 noundef 3, i32 noundef 1)
  %.not33.i = icmp eq ptr %56, null
  %57 = getelementptr inbounds i8, ptr %56, i64 16
  %58 = getelementptr inbounds i8, ptr %50, i64 241
  %.in.in.i = select i1 %.not33.i, ptr %58, ptr %57
  %.in.i = load i8, ptr %.in.in.i, align 1, !tbaa !22, !range !18, !noundef !19
  %.not40 = icmp eq i8 %.in.i, 0
  br i1 %.not40, label %.critedge.i, label %_ZN7ImGuiIO19AddMouseButtonEventEib.exit

.critedge.i:                                      ; preds = %55
  call void @llvm.lifetime.start.p0(i64 28, ptr nonnull %4) #6
  call void @_ZN15ImGuiInputEventC2Ev(ptr noundef nonnull align 4 dereferenceable(25) %4)
  store i32 3, ptr %4, align 4, !tbaa !97
  %59 = getelementptr inbounds i8, ptr %4, i64 4
  store i32 1, ptr %59, align 4, !tbaa !100
  %60 = getelementptr inbounds i8, ptr %50, i64 4868
  %61 = load i32, ptr %60, align 4, !tbaa !101
  %62 = add i32 %61, 1
  store i32 %62, ptr %60, align 4, !tbaa !101
  %63 = getelementptr inbounds i8, ptr %4, i64 8
  store i32 %61, ptr %63, align 4, !tbaa !102
  %64 = getelementptr inbounds i8, ptr %4, i64 12
  store i32 1, ptr %64, align 4, !tbaa !22
  %65 = getelementptr inbounds i8, ptr %4, i64 16
  store i8 1, ptr %65, align 4, !tbaa !22
  %66 = getelementptr inbounds i8, ptr %50, i64 4864
  %67 = load i32, ptr %66, align 8, !tbaa !103
  %68 = getelementptr inbounds i8, ptr %4, i64 20
  store i32 %67, ptr %68, align 4, !tbaa !22
  %69 = getelementptr inbounds i8, ptr %50, i64 4832
  call void @_ZN8ImVectorI15ImGuiInputEventE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(16) %69, ptr noundef nonnull align 4 dereferenceable(25) %4)
  call void @llvm.lifetime.end.p0(i64 28, ptr nonnull %4) #6
  br label %_ZN7ImGuiIO19AddMouseButtonEventEib.exit

.critedge:                                        ; preds = %38, %34
  call void @llvm.lifetime.start.p0(i64 28, ptr nonnull %5) #6
  call void @_ZN15ImGuiInputEventC2Ev(ptr noundef nonnull align 4 dereferenceable(25) %5)
  store i32 3, ptr %5, align 4, !tbaa !97
  %70 = getelementptr inbounds i8, ptr %5, i64 4
  store i32 1, ptr %70, align 4, !tbaa !100
  %71 = getelementptr inbounds i8, ptr %8, i64 4868
  %72 = load i32, ptr %71, align 4, !tbaa !101
  %73 = add i32 %72, 1
  store i32 %73, ptr %71, align 4, !tbaa !101
  %74 = getelementptr inbounds i8, ptr %5, i64 8
  store i32 %72, ptr %74, align 4, !tbaa !102
  %75 = getelementptr inbounds i8, ptr %5, i64 12
  store i32 %.0, ptr %75, align 4, !tbaa !22
  %76 = getelementptr inbounds i8, ptr %5, i64 16
  store i8 %6, ptr %76, align 4, !tbaa !22
  %77 = getelementptr inbounds i8, ptr %8, i64 4864
  %78 = load i32, ptr %77, align 8, !tbaa !103
  %79 = getelementptr inbounds i8, ptr %5, i64 20
  store i32 %78, ptr %79, align 4, !tbaa !22
  %80 = getelementptr inbounds i8, ptr %8, i64 4832
  call void @_ZN8ImVectorI15ImGuiInputEventE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(16) %80, ptr noundef nonnull align 4 dereferenceable(25) %5)
  call void @llvm.lifetime.end.p0(i64 28, ptr nonnull %5) #6
  br label %_ZN7ImGuiIO19AddMouseButtonEventEib.exit

_ZN7ImGuiIO19AddMouseButtonEventEib.exit:         ; preds = %.critedge.i, %55, %52, %.critedge, %27, %13
  ret void
}

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 #3 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 #5 = { noreturn nounwind }
attributes #6 = { 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, !12, i64 216}
!6 = !{!"_ZTS7ImGuiIO", !7, i64 0, !7, i64 4, !10, i64 8, !11, i64 16, !11, i64 20, !12, i64 24, !12, i64 32, !12, i64 40, !12, i64 48, !11, i64 56, !13, i64 60, !12, i64 64, !10, i64 72, !13, i64 80, !13, i64 81, !13, i64 82, !13, i64 83, !13, i64 84, !13, i64 85, !13, i64 86, !13, i64 87, !13, i64 88, !13, i64 89, !13, i64 90, !13, i64 91, !13, i64 92, !13, i64 93, !13, i64 94, !13, i64 95, !13, i64 96, !11, i64 100, !11, i64 104, !11, i64 108, !11, i64 112, !11, i64 116, !11, i64 120, !13, i64 124, !13, i64 125, !13, i64 126, !13, i64 127, !13, i64 128, !13, i64 129, !13, i64 130, !13, i64 131, !13, i64 132, !13, i64 133, !12, i64 136, !12, i64 144, !12, i64 152, !12, i64 160, !12, i64 168, !13, i64 176, !13, i64 177, !13, i64 178, !13, i64 179, !13, i64 180, !13, i64 181, !13, i64 182, !11, i64 184, !7, i64 188, !7, i64 192, !7, i64 196, !7, i64 200, !10, i64 204, !12, i64 216, !10, i64 224, !8, i64 232, !11, i64 240, !11, i64 244, !14, i64 248, !13, i64 252, !13, i64 253, !13, i64 254, !13, i64 255, !7, i64 256, !8, i64 260, !13, i64 2724, !10, i64 2728, !8, i64 2736, !8, i64 2776, !8, i64 2816, !8, i64 2821, !8, i64 2826, !8, i64 2836, !8, i64 2846, !8, i64 2851, !8, i64 2856, !13, i64 2861, !13, i64 2862, !8, i64 2864, !8, i64 2884, !8, i64 2904, !11, i64 2924, !13, i64 2928, !13, i64 2929, !15, i64 2930, !16, i64 2936, !12, i64 2952, !12, i64 2960, !12, i64 2968}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"_ZTS6ImVec2", !11, i64 0, !11, i64 4}
!11 = !{!"float", !8, i64 0}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!"bool", !8, i64 0}
!14 = !{!"_ZTS16ImGuiMouseSource", !8, i64 0}
!15 = !{!"short", !8, i64 0}
!16 = !{!"_ZTS8ImVectorItE", !7, i64 0, !7, i64 4, !12, i64 8}
!17 = !{!6, !13, i64 2929}
!18 = !{i8 0, i8 2}
!19 = !{}
!20 = !{!6, !13, i64 88}
!21 = !{!6, !13, i64 2862}
!22 = !{!8, !8, i64 0}
!23 = !{!24, !7, i64 9908}
!24 = !{!"_ZTS12ImGuiContext", !13, i64 0, !13, i64 1, !6, i64 8, !25, i64 2984, !26, i64 3056, !12, i64 4216, !11, i64 4224, !11, i64 4228, !11, i64 4232, !11, i64 4236, !28, i64 4240, !31, i64 4776, !7, i64 4784, !7, i64 4788, !7, i64 4792, !7, i64 4796, !13, i64 4800, !13, i64 4801, !13, i64 4802, !13, i64 4803, !12, i64 4808, !8, i64 4816, !32, i64 4832, !32, i64 4848, !14, i64 4864, !7, i64 4868, !33, i64 4872, !33, i64 4888, !33, i64 4904, !34, i64 4920, !35, i64 4936, !7, i64 4952, !10, i64 4956, !7, i64 4964, !12, i64 4968, !12, i64 4976, !12, i64 4984, !12, i64 4992, !12, i64 5000, !12, i64 5008, !10, i64 5016, !7, i64 5024, !7, i64 5028, !11, i64 5032, !10, i64 5036, !10, i64 5044, !7, i64 5052, !7, i64 5056, !7, i64 5060, !7, i64 5064, !7, i64 5068, !11, i64 5072, !11, i64 5076, !13, i64 5080, !13, i64 5081, !13, i64 5082, !7, i64 5084, !7, i64 5088, !11, i64 5092, !13, i64 5096, !13, i64 5097, !13, i64 5098, !13, i64 5099, !13, i64 5100, !13, i64 5101, !13, i64 5102, !7, i64 5103, !10, i64 5104, !12, i64 5112, !37, i64 5120, !7, i64 5124, !38, i64 5128, !39, i64 5140, !7, i64 5148, !11, i64 5152, !31, i64 5160, !31, i64 5168, !31, i64 5176, !40, i64 5184, !8, i64 5204, !41, i64 7056, !7, i64 7400, !13, i64 7404, !7, i64 7408, !7, i64 7412, !7, i64 7416, !7, i64 7420, !43, i64 7424, !45, i64 7480, !47, i64 7560, !13, i64 7672, !7, i64 7676, !48, i64 7680, !49, i64 7696, !50, i64 7712, !51, i64 7728, !52, i64 7744, !53, i64 7760, !54, i64 7776, !54, i64 7792, !55, i64 7808, !56, i64 7824, !13, i64 7840, !13, i64 7841, !13, i64 7842, !13, i64 7843, !7, i64 7844, !12, i64 7848, !7, i64 7856, !57, i64 7860, !7, i64 7864, !7, i64 7868, !7, i64 7872, !7, i64 7876, !51, i64 7880, !7, i64 7896, !11, i64 7900, !7, i64 7904, !7, i64 7908, !37, i64 7912, !44, i64 7920, !8, i64 7928, !13, i64 7929, !13, i64 7930, !13, i64 7931, !58, i64 7936, !13, i64 7992, !13, i64 7993, !13, i64 7994, !7, i64 7996, !7, i64 8000, !7, i64 8004, !27, i64 8008, !27, i64 8012, !27, i64 8016, !46, i64 8020, !46, i64 8036, !7, i64 8052, !7, i64 8056, !7, i64 8060, !58, i64 8064, !58, i64 8120, !58, i64 8176, !58, i64 8232, !7, i64 8288, !7, i64 8292, !7, i64 8296, !7, i64 8300, !13, i64 8304, !13, i64 8305, !7, i64 8308, !7, i64 8312, !12, i64 8320, !12, i64 8328, !12, i64 8336, !11, i64 8344, !11, i64 8348, !13, i64 8352, !59, i64 8356, !10, i64 8360, !10, i64 8368, !11, i64 8376, !13, i64 8380, !13, i64 8381, !13, i64 8382, !7, i64 8384, !7, i64 8388, !7, i64 8392, !60, i64 8400, !46, i64 8464, !46, i64 8480, !7, i64 8496, !7, i64 8500, !11, i64 8504, !7, i64 8508, !7, i64 8512, !7, i64 8516, !7, i64 8520, !61, i64 8528, !8, i64 8544, !7, i64 8560, !62, i64 8568, !12, i64 8584, !7, i64 8592, !7, i64 8596, !63, i64 8600, !64, i64 8616, !66, i64 8656, !67, i64 8672, !12, i64 8688, !68, i64 8696, !70, i64 8736, !71, i64 8752, !72, i64 8768, !12, i64 8872, !7, i64 8880, !73, i64 8888, !74, i64 8904, !7, i64 8944, !7, i64 8948, !11, i64 8952, !11, i64 8956, !7, i64 8960, !7, i64 8964, !7, i64 8968, !11, i64 8972, !10, i64 8976, !76, i64 8984, !78, i64 9104, !79, i64 9128, !7, i64 9248, !39, i64 9252, !7, i64 9260, !7, i64 9264, !7, i64 9268, !7, i64 9272, !7, i64 9276, !11, i64 9280, !11, i64 9284, !7, i64 9288, !29, i64 9292, !81, i64 9308, !46, i64 9356, !13, i64 9372, !15, i64 9374, !11, i64 9376, !11, i64 9380, !11, i64 9384, !13, i64 9388, !13, i64 9389, !11, i64 9392, !11, i64 9396, !11, i64 9400, !15, i64 9404, !15, i64 9406, !12, i64 9408, !77, i64 9416, !82, i64 9432, !83, i64 9448, !85, i64 9552, !85, i64 9568, !13, i64 9584, !11, i64 9588, !86, i64 9592, !87, i64 9608, !88, i64 9624, !89, i64 9640, !90, i64 9656, !7, i64 9672, !8, i64 9680, !13, i64 9760, !7, i64 9764, !12, i64 9768, !12, i64 9776, !86, i64 9784, !12, i64 9800, !12, i64 9808, !11, i64 9816, !13, i64 9820, !7, i64 9824, !7, i64 9828, !7, i64 9832, !12, i64 9840, !12, i64 9848, !10, i64 9856, !13, i64 9864, !7, i64 9868, !91, i64 9872, !12, i64 9896, !7, i64 9904, !7, i64 9908, !86, i64 9912, !92, i64 9928, !7, i64 9952, !7, i64 9956, !8, i64 9960, !8, i64 9961, !13, i64 9962, !7, i64 9964, !8, i64 9968, !13, i64 9969, !8, i64 9970, !7, i64 9972, !11, i64 9976, !29, i64 9980, !93, i64 9996, !94, i64 10024, !96, i64 10064, !8, i64 10124, !7, i64 10364, !7, i64 10368, !11, i64 10372, !7, i64 10376, !7, i64 10380, !7, i64 10384, !77, i64 10392, !8, i64 10408}
!25 = !{!"_ZTS15ImGuiPlatformIO", !12, i64 0, !12, i64 8, !12, i64 16, !12, i64 24, !12, i64 32, !12, i64 40, !12, i64 48, !15, i64 56, !12, i64 64}
!26 = !{!"_ZTS10ImGuiStyle", !11, i64 0, !11, i64 4, !10, i64 8, !11, i64 16, !11, i64 20, !10, i64 24, !10, i64 32, !27, i64 40, !11, i64 44, !11, i64 48, !11, i64 52, !11, i64 56, !10, i64 60, !11, i64 68, !11, i64 72, !10, i64 76, !10, i64 84, !10, i64 92, !10, i64 100, !11, i64 108, !11, i64 112, !11, i64 116, !11, i64 120, !11, i64 124, !11, i64 128, !11, i64 132, !11, i64 136, !11, i64 140, !11, i64 144, !11, i64 148, !11, i64 152, !11, i64 156, !10, i64 160, !27, i64 168, !10, i64 172, !10, i64 180, !11, i64 188, !10, i64 192, !10, i64 200, !10, i64 208, !10, i64 216, !11, i64 224, !13, i64 228, !13, i64 229, !13, i64 230, !11, i64 232, !11, i64 236, !8, i64 240, !11, i64 1136, !11, i64 1140, !11, i64 1144, !7, i64 1148, !7, i64 1152}
!27 = !{!"_ZTS8ImGuiDir", !8, i64 0}
!28 = !{!"_ZTS20ImDrawListSharedData", !10, i64 0, !12, i64 8, !12, i64 16, !11, i64 24, !11, i64 28, !11, i64 32, !11, i64 36, !29, i64 40, !7, i64 56, !30, i64 64, !8, i64 80, !11, i64 464, !8, i64 468}
!29 = !{!"_ZTS6ImVec4", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12}
!30 = !{!"_ZTS8ImVectorI6ImVec2E", !7, i64 0, !7, i64 4, !12, i64 8}
!31 = !{!"double", !8, i64 0}
!32 = !{!"_ZTS8ImVectorI15ImGuiInputEventE", !7, i64 0, !7, i64 4, !12, i64 8}
!33 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !7, i64 0, !7, i64 4, !12, i64 8}
!34 = !{!"_ZTS8ImVectorI20ImGuiWindowStackDataE", !7, i64 0, !7, i64 4, !12, i64 8}
!35 = !{!"_ZTS12ImGuiStorage", !36, i64 0}
!36 = !{!"_ZTS8ImVectorI16ImGuiStoragePairE", !7, i64 0, !7, i64 4, !12, i64 8}
!37 = !{!"_ZTS16ImGuiInputSource", !8, i64 0}
!38 = !{!"_ZTS24ImGuiDeactivatedItemData", !7, i64 0, !7, i64 4, !13, i64 8, !13, i64 9}
!39 = !{!"_ZTS20ImGuiDataTypeStorage", !8, i64 0}
!40 = !{!"_ZTS10ImBitArrayILi154ELin512EE", !8, i64 0}
!41 = !{!"_ZTS20ImGuiKeyRoutingTable", !8, i64 0, !42, i64 312, !42, i64 328}
!42 = !{!"_ZTS8ImVectorI19ImGuiKeyRoutingDataE", !7, i64 0, !7, i64 4, !12, i64 8}
!43 = !{!"_ZTS17ImGuiNextItemData", !7, i64 0, !7, i64 4, !7, i64 8, !44, i64 16, !11, i64 24, !7, i64 28, !7, i64 32, !13, i64 36, !8, i64 37, !39, i64 38, !7, i64 48}
!44 = !{!"long long", !8, i64 0}
!45 = !{!"_ZTS17ImGuiLastItemData", !7, i64 0, !7, i64 4, !7, i64 8, !46, i64 12, !46, i64 28, !46, i64 44, !46, i64 60, !7, i64 76}
!46 = !{!"_ZTS6ImRect", !10, i64 0, !10, i64 8}
!47 = !{!"_ZTS19ImGuiNextWindowData", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !10, i64 16, !10, i64 24, !10, i64 32, !10, i64 40, !10, i64 48, !7, i64 56, !13, i64 60, !46, i64 64, !12, i64 80, !12, i64 88, !11, i64 96, !10, i64 100, !7, i64 108}
!48 = !{!"_ZTS8ImVectorI13ImGuiColorModE", !7, i64 0, !7, i64 4, !12, i64 8}
!49 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !7, i64 0, !7, i64 4, !12, i64 8}
!50 = !{!"_ZTS8ImVectorIP6ImFontE", !7, i64 0, !7, i64 4, !12, i64 8}
!51 = !{!"_ZTS8ImVectorI19ImGuiFocusScopeDataE", !7, i64 0, !7, i64 4, !12, i64 8}
!52 = !{!"_ZTS8ImVectorIiE", !7, i64 0, !7, i64 4, !12, i64 8}
!53 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !7, i64 0, !7, i64 4, !12, i64 8}
!54 = !{!"_ZTS8ImVectorI14ImGuiPopupDataE", !7, i64 0, !7, i64 4, !12, i64 8}
!55 = !{!"_ZTS8ImVectorI22ImGuiTreeNodeStackDataE", !7, i64 0, !7, i64 4, !12, i64 8}
!56 = !{!"_ZTS8ImVectorIP14ImGuiViewportPE", !7, i64 0, !7, i64 4, !12, i64 8}
!57 = !{!"_ZTS13ImGuiNavLayer", !8, i64 0}
!58 = !{!"_ZTS16ImGuiNavItemData", !12, i64 0, !7, i64 8, !7, i64 12, !46, i64 16, !7, i64 32, !11, i64 36, !11, i64 40, !11, i64 44, !44, i64 48}
!59 = !{!"_ZTS8ImGuiKey", !8, i64 0}
!60 = !{!"_ZTS12ImGuiPayload", !12, i64 0, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !8, i64 24, !13, i64 57, !13, i64 58}
!61 = !{!"_ZTS8ImVectorIhE", !7, i64 0, !7, i64 4, !12, i64 8}
!62 = !{!"_ZTS8ImVectorI20ImGuiListClipperDataE", !7, i64 0, !7, i64 4, !12, i64 8}
!63 = !{!"_ZTS8ImVectorI18ImGuiTableTempDataE", !7, i64 0, !7, i64 4, !12, i64 8}
!64 = !{!"_ZTS6ImPoolI10ImGuiTableE", !65, i64 0, !35, i64 16, !7, i64 32, !7, i64 36}
!65 = !{!"_ZTS8ImVectorI10ImGuiTableE", !7, i64 0, !7, i64 4, !12, i64 8}
!66 = !{!"_ZTS8ImVectorIfE", !7, i64 0, !7, i64 4, !12, i64 8}
!67 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !7, i64 0, !7, i64 4, !12, i64 8}
!68 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !69, i64 0, !35, i64 16, !7, i64 32, !7, i64 36}
!69 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !7, i64 0, !7, i64 4, !12, i64 8}
!70 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !7, i64 0, !7, i64 4, !12, i64 8}
!71 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !7, i64 0, !7, i64 4, !12, i64 8}
!72 = !{!"_ZTS19ImGuiBoxSelectState", !7, i64 0, !13, i64 4, !13, i64 5, !13, i64 6, !13, i64 7, !13, i64 8, !7, i64 9, !10, i64 12, !10, i64 20, !10, i64 28, !12, i64 40, !13, i64 48, !46, i64 52, !46, i64 68, !46, i64 84}
!73 = !{!"_ZTS8ImVectorI24ImGuiMultiSelectTempDataE", !7, i64 0, !7, i64 4, !12, i64 8}
!74 = !{!"_ZTS6ImPoolI21ImGuiMultiSelectStateE", !75, i64 0, !35, i64 16, !7, i64 32, !7, i64 36}
!75 = !{!"_ZTS8ImVectorI21ImGuiMultiSelectStateE", !7, i64 0, !7, i64 4, !12, i64 8}
!76 = !{!"_ZTS19ImGuiInputTextState", !12, i64 0, !12, i64 8, !7, i64 16, !7, i64 20, !7, i64 24, !12, i64 32, !77, i64 40, !77, i64 56, !77, i64 72, !7, i64 88, !10, i64 92, !11, i64 100, !13, i64 104, !13, i64 105, !13, i64 106, !13, i64 107, !7, i64 108, !7, i64 112}
!77 = !{!"_ZTS8ImVectorIcE", !7, i64 0, !7, i64 4, !12, i64 8}
!78 = !{!"_ZTS30ImGuiInputTextDeactivatedState", !7, i64 0, !77, i64 8}
!79 = !{!"_ZTS6ImFont", !66, i64 0, !11, i64 16, !11, i64 20, !16, i64 24, !80, i64 40, !12, i64 56, !12, i64 64, !12, i64 72, !15, i64 80, !15, i64 82, !15, i64 84, !15, i64 86, !11, i64 88, !11, i64 92, !13, i64 96, !11, i64 100, !11, i64 104, !11, i64 108, !7, i64 112, !8, i64 116}
!80 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !7, i64 0, !7, i64 4, !12, i64 8}
!81 = !{!"_ZTS21ImGuiComboPreviewData", !46, i64 0, !10, i64 16, !10, i64 24, !10, i64 32, !11, i64 40, !7, i64 44}
!82 = !{!"_ZTS8ImVectorIjE", !7, i64 0, !7, i64 4, !12, i64 8}
!83 = !{!"_ZTS22ImGuiTypingSelectState", !84, i64 0, !8, i64 24, !7, i64 88, !7, i64 92, !11, i64 96, !13, i64 100}
!84 = !{!"_ZTS24ImGuiTypingSelectRequest", !7, i64 0, !7, i64 4, !12, i64 8, !13, i64 16, !13, i64 17, !8, i64 18}
!85 = !{!"_ZTS20ImGuiPlatformImeData", !13, i64 0, !10, i64 4, !11, i64 12}
!86 = !{!"_ZTS15ImGuiTextBuffer", !77, i64 0}
!87 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !7, i64 0, !7, i64 4, !12, i64 8}
!88 = !{!"_ZTS13ImChunkStreamI19ImGuiWindowSettingsE", !77, i64 0}
!89 = !{!"_ZTS13ImChunkStreamI18ImGuiTableSettingsE", !77, i64 0}
!90 = !{!"_ZTS8ImVectorI16ImGuiContextHookE", !7, i64 0, !7, i64 4, !12, i64 8}
!91 = !{!"_ZTS23ImGuiErrorRecoveryState", !15, i64 0, !15, i64 2, !15, i64 4, !15, i64 6, !15, i64 8, !15, i64 10, !15, i64 12, !15, i64 14, !15, i64 16, !15, i64 18, !15, i64 20}
!92 = !{!"_ZTS14ImGuiTextIndex", !52, i64 0, !7, i64 16}
!93 = !{!"_ZTS18ImGuiMetricsConfig", !13, i64 0, !13, i64 1, !13, i64 2, !13, i64 3, !13, i64 4, !13, i64 5, !13, i64 6, !13, i64 7, !13, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !7, i64 24}
!94 = !{!"_ZTS16ImGuiIDStackTool", !7, i64 0, !7, i64 4, !7, i64 8, !95, i64 16, !13, i64 32, !11, i64 36}
!95 = !{!"_ZTS8ImVectorI19ImGuiStackLevelInfoE", !7, i64 0, !7, i64 4, !12, i64 8}
!96 = !{!"_ZTS19ImGuiDebugAllocInfo", !7, i64 0, !7, i64 4, !15, i64 8, !8, i64 12}
!97 = !{!98, !99, i64 0}
!98 = !{!"_ZTS15ImGuiInputEvent", !99, i64 0, !37, i64 4, !7, i64 8, !8, i64 12, !13, i64 24}
!99 = !{!"_ZTS19ImGuiInputEventType", !8, i64 0}
!100 = !{!98, !37, i64 4}
!101 = !{!24, !7, i64 4868}
!102 = !{!98, !7, i64 8}
!103 = !{!24, !14, i64 4864}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InlinerPass,InstCombinePass,JumpThreadingPass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass