; LLVM IR from Overload-Technologies/Overload :: Dependencies/ImGui/src/imgui.ll (ZN5ImGui17UpdateInputEventsEb)

; 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.ImBitArray.56 = type { [5 x i32] }
%struct.ImVec2 = type { float, float }
%struct.ImGuiContext = type { i8, i8, %struct.ImGuiIO, %struct.ImGuiPlatformIO, %struct.ImGuiStyle, i32, i32, ptr, float, float, float, float, %struct.ImDrawListSharedData, double, i32, i32, i32, i32, i32, i8, i8, i8, i8, ptr, [16 x i8], %struct.ImVector.3, %struct.ImVector.3, i32, i32, %struct.ImVector.4, %struct.ImVector.4, %struct.ImVector.4, %struct.ImVector.5, %struct.ImGuiStorage, i32, float, 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, [155 x %struct.ImGuiKeyOwnerData], %struct.ImGuiKeyRoutingTable, i32, i8, i32, i32, i32, i32, %struct.ImGuiNextItemData, %struct.ImGuiLastItemData, %struct.ImGuiNextWindowData, i8, i32, %struct.ImVector.8, %struct.ImVector.9, %struct.ImVector.10, %struct.ImVector.11, %struct.ImVector.12, %struct.ImVector.13, %struct.ImVector.14, %struct.ImVector.14, %struct.ImVector.15, %struct.ImVector.16, ptr, ptr, ptr, i32, %struct.ImGuiPlatformMonitor, %struct.ImRect, i32, i32, i32, i8, i8, i8, i8, i32, ptr, i32, i32, i32, i32, i32, i32, %struct.ImVector.11, 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.17, [16 x i8], i32, %struct.ImVector.18, ptr, i32, i32, %struct.ImVector.19, %struct.ImPool, %struct.ImVector.21, %struct.ImVector.22, ptr, %struct.ImPool.23, %struct.ImVector.25, %struct.ImVector.26, %struct.ImGuiBoxSelectState, ptr, i32, %struct.ImVector.27, %struct.ImPool.28, 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.30, %struct.ImVector.32, %struct.ImGuiTypingSelectState, %struct.ImGuiPlatformImeData, %struct.ImGuiPlatformImeData, i32, [4 x i8], %struct.ImGuiDockContext, ptr, i8, float, %struct.ImGuiTextBuffer, %struct.ImVector.35, %struct.ImChunkStream, %struct.ImChunkStream.36, %struct.ImVector.37, i32, [13 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, ptr, [60 x float], i32, i32, float, i32, i32, i32, %struct.ImVector.30, [64 x i8] }
%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, i8, i8, i8, i8, i8, i8, i8, i8, float, float, float, float, float, float, i8, 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, i32, i8, i8, i8, i8, i32, [155 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 double], [5 x i8], [5 x i8], i8, i8, [5 x float], [5 x float], [5 x %struct.ImVec2], [5 x float], float, i8, i8, i16, %struct.ImVector, ptr, ptr, ptr }
%struct.ImGuiKeyData = type { i8, float, float, float }
%struct.ImVector = type { i32, i32, ptr }
%struct.ImGuiPlatformIO = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, i16, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, %struct.ImVector.0, %struct.ImVector.1 }
%struct.ImVector.0 = type { i32, i32, ptr }
%struct.ImVector.1 = type { i32, i32, ptr }
%struct.ImGuiStyle = type { float, float, %struct.ImVec2, float, 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, float, float, %struct.ImVec2, i32, %struct.ImVec2, %struct.ImVec2, float, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, float, i8, i8, i8, float, float, [58 x %struct.ImVec4], float, float, float, i32, i32 }
%struct.ImDrawListSharedData = type <{ %struct.ImVec2, ptr, ptr, float, float, float, float, float, i32, %struct.ImVec4, %struct.ImVector.2, [48 x %struct.ImVec2], float, [64 x i8], [4 x i8] }>
%struct.ImVector.2 = type { i32, i32, ptr }
%struct.ImVector.3 = type { i32, i32, ptr }
%struct.ImVector.4 = type { i32, i32, ptr }
%struct.ImVector.5 = type { i32, i32, ptr }
%struct.ImGuiStorage = type { %struct.ImVector.6 }
%struct.ImVector.6 = 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 { [155 x i16], %struct.ImVector.7, %struct.ImVector.7 }
%struct.ImVector.7 = 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, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, i32, i32, i8, i8, %struct.ImRect, ptr, ptr, float, i32, i32, %struct.ImGuiWindowClass, %struct.ImVec2, i32 }
%struct.ImGuiWindowClass = type <{ i32, i32, i32, i32, i32, i32, i32, i8, i8, [2 x i8] }>
%struct.ImVector.8 = type { i32, i32, ptr }
%struct.ImVector.9 = type { i32, i32, ptr }
%struct.ImVector.10 = 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.15 = type { i32, i32, ptr }
%struct.ImVector.16 = type { i32, i32, ptr }
%struct.ImGuiPlatformMonitor = type { %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, ptr }
%struct.ImVector.11 = 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.17 = type { i32, i32, ptr }
%struct.ImVector.18 = type { i32, i32, ptr }
%struct.ImVector.19 = type { i32, i32, ptr }
%struct.ImPool = type { %struct.ImVector.20, %struct.ImGuiStorage, i32, i32 }
%struct.ImVector.20 = type { i32, i32, ptr }
%struct.ImVector.21 = type { i32, i32, ptr }
%struct.ImVector.22 = type { i32, i32, ptr }
%struct.ImPool.23 = type { %struct.ImVector.24, %struct.ImGuiStorage, i32, i32 }
%struct.ImVector.24 = type { i32, i32, ptr }
%struct.ImVector.25 = type { i32, i32, ptr }
%struct.ImVector.26 = 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.27 = type { i32, i32, ptr }
%struct.ImPool.28 = type { %struct.ImVector.29, %struct.ImGuiStorage, i32, i32 }
%struct.ImVector.29 = type { i32, i32, ptr }
%struct.ImGuiInputTextState = type <{ ptr, ptr, i32, i32, i32, [4 x i8], ptr, %struct.ImVector.30, %struct.ImVector.30, %struct.ImVector.30, i32, %struct.ImVec2, float, i8, i8, i8, i8, i32, i32, [4 x i8] }>
%struct.ImGuiInputTextDeactivatedState = type { i32, %struct.ImVector.30 }
%struct.ImFont = type <{ %struct.ImVector.21, float, float, %struct.ImVector, %struct.ImVector.31, ptr, ptr, ptr, i16, i16, i16, i16, float, float, float, float, float, i32, i8, [1 x i8], [6 x i8] }>
%struct.ImVector.31 = 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.32 = 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.ImGuiDockContext = type <{ %struct.ImGuiStorage, %struct.ImVector.33, %struct.ImVector.34, i8, [7 x i8] }>
%struct.ImVector.33 = type { i32, i32, ptr }
%struct.ImVector.34 = type { i32, i32, ptr }
%struct.ImVector.35 = type { i32, i32, ptr }
%struct.ImChunkStream = type { %struct.ImVector.30 }
%struct.ImChunkStream.36 = type { %struct.ImVector.30 }
%struct.ImVector.37 = type { i32, i32, ptr }
%struct.ImGuiErrorRecoveryState = type { i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16 }
%struct.ImGuiTextBuffer = type { %struct.ImVector.30 }
%struct.ImGuiTextIndex = type <{ %struct.ImVector.12, 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.38, i8, float, %struct.ImGuiTextBuffer }
%struct.ImVector.38 = type { i32, i32, ptr }
%struct.ImGuiDebugAllocInfo = type { i32, i32, i16, [6 x %struct.ImGuiDebugAllocEntry] }
%struct.ImGuiDebugAllocEntry = type { i32, i16, i16 }
%struct.ImVector.30 = type { i32, i32, ptr }
%struct.ImGuiInputEvent = type <{ i32, i32, i32, %union.anon, i8, [3 x i8] }>
%union.anon = type { %struct.ImGuiInputEventMousePos }
%struct.ImGuiInputEventMousePos = type { float, float, i32 }
%struct.ImGuiInputEventMouseButton = type { i32, i8, i32 }
%struct.ImGuiInputEventMouseWheel = type { float, float, i32 }
%struct.ImGuiInputEventMouseViewport = type { i32 }
%struct.ImGuiInputEventKey = type { i32, i8, float }
%struct.ImGuiInputEventText = type { i32 }
%struct.ImGuiInputEventAppFocused = type { i8 }

@GImGui = external dso_local global ptr, align 8
@.str.3 = external hidden unnamed_addr constant [97 x i8], align 1
@.str.225 = external hidden unnamed_addr constant [47 x i8], align 1
@__PRETTY_FUNCTION__._ZN5ImGui17UpdateInputEventsEb = external hidden unnamed_addr constant [36 x i8], align 1
@.str.226 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.227 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.228 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.229 = external hidden unnamed_addr constant [10 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: mustprogress nounwind uwtable
declare dso_local void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8), float noundef, float noundef) unnamed_addr #1 align 2

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2

; 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) #3

; 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)) #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7ImGuiIO14ClearInputKeysEv(ptr noundef nonnull align 8 dereferenceable(3088)) #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7ImGuiIO15ClearInputMouseEv(ptr noundef nonnull align 8 dereferenceable(3088)) #5 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN5ImGui17UpdateInputEventsEb(i1 noundef zeroext %0) #5 {
  %2 = alloca i8, align 1
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i8, align 1
  %6 = alloca i8, align 1
  %7 = alloca i8, align 1
  %8 = alloca i8, align 1
  %9 = alloca i8, align 1
  %10 = alloca i8, align 1
  %11 = alloca i32, align 4
  %12 = alloca %struct.ImBitArray.56, align 4
  %13 = alloca i32, align 4
  %14 = alloca ptr, align 8
  %15 = alloca i32, align 4
  %16 = alloca %struct.ImVec2, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca ptr, align 8
  %20 = alloca i32, align 4
  %21 = alloca i8, align 1
  %22 = alloca i32, align 4
  %23 = alloca i16, align 2
  %24 = alloca i8, align 1
  %25 = alloca i32, align 4
  %26 = alloca i32, align 4
  %27 = zext i1 %0 to i8
  store i8 %27, ptr %2, align 1, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #7
  %28 = load ptr, ptr @GImGui, align 8, !tbaa !9
  store ptr %28, ptr %3, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #7
  %29 = load ptr, ptr %3, align 8, !tbaa !9
  %30 = getelementptr inbounds %struct.ImGuiContext, ptr %29, i32 0, i32 2
  store ptr %30, ptr %4, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %5) #7
  %31 = load i8, ptr %2, align 1, !tbaa !5, !range !11, !noundef !12
  %32 = trunc i8 %31 to i1
  br i1 %32, label %33, label %38

33:                                               ; preds = %1
  %34 = load ptr, ptr %3, align 8, !tbaa !9
  %35 = getelementptr inbounds %struct.ImGuiContext, ptr %34, i32 0, i32 312
  %36 = load i32, ptr %35, align 4, !tbaa !13
  %37 = icmp eq i32 %36, 1
  br label %38

38:                                               ; preds = %33, %1
  %39 = phi i1 [ false, %1 ], [ %37, %33 ]
  %40 = zext i1 %39 to i8
  store i8 %40, ptr %5, align 1, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %6) #7
  store i8 0, ptr %6, align 1, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %7) #7
  store i8 0, ptr %7, align 1, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %8) #7
  store i8 0, ptr %8, align 1, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %9) #7
  store i8 0, ptr %9, align 1, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %10) #7
  store i8 0, ptr %10, align 1, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #7
  store i32 0, ptr %11, align 4, !tbaa !101
  call void @llvm.lifetime.start.p0(i64 20, ptr %12) #7
  call void @_ZN10ImBitArrayILi155ELi0EEC2Ev(ptr noundef nonnull align 4 dereferenceable(20) %12)
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #7
  store i32 0, ptr %13, align 4, !tbaa !101
  br label %41

41:                                               ; preds = %402, %38
  %42 = load i32, ptr %13, align 4, !tbaa !101
  %43 = load ptr, ptr %3, align 8, !tbaa !9
  %44 = getelementptr inbounds %struct.ImGuiContext, ptr %43, i32 0, i32 25
  %45 = getelementptr inbounds %struct.ImVector.3, ptr %44, i32 0, i32 0
  %46 = load i32, ptr %45, align 8, !tbaa !102
  %47 = icmp slt i32 %42, %46
  br i1 %47, label %48, label %405

48:                                               ; preds = %41
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #7
  %49 = load ptr, ptr %3, align 8, !tbaa !9
  %50 = getelementptr inbounds %struct.ImGuiContext, ptr %49, i32 0, i32 25
  %51 = load i32, ptr %13, align 4, !tbaa !101
  %52 = call noundef nonnull align 4 dereferenceable(25) ptr @_ZN8ImVectorI15ImGuiInputEventEixEi(ptr noundef nonnull align 8 dereferenceable(16) %50, i32 noundef %51)
  store ptr %52, ptr %14, align 8, !tbaa !9
  %53 = load ptr, ptr %14, align 8, !tbaa !9
  %54 = getelementptr inbounds %struct.ImGuiInputEvent, ptr %53, i32 0, i32 0
  %55 = load i32, ptr %54, align 4, !tbaa !103
  %56 = icmp eq i32 %55, 1
  br i1 %56, label %57, label %100

57:                                               ; preds = %48
  %58 = load ptr, ptr %3, align 8, !tbaa !9
  %59 = getelementptr inbounds %struct.ImGuiContext, ptr %58, i32 0, i32 2
  %60 = getelementptr inbounds %struct.ImGuiIO, ptr %59, i32 0, i32 63
  %61 = load i8, ptr %60, align 1, !tbaa !106, !range !11, !noundef !12
  %62 = trunc i8 %61 to i1
  br i1 %62, label %63, label %64

63:                                               ; preds = %57
  store i32 4, ptr %15, align 4
  br label %399

64:                                               ; preds = %57
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #7
  %65 = load ptr, ptr %14, align 8, !tbaa !9
  %66 = getelementptr inbounds %struct.ImGuiInputEvent, ptr %65, i32 0, i32 3
  %67 = getelementptr inbounds %struct.ImGuiInputEventMousePos, ptr %66, i32 0, i32 0
  %68 = load float, ptr %67, align 4, !tbaa !107
  %69 = load ptr, ptr %14, align 8, !tbaa !9
  %70 = getelementptr inbounds %struct.ImGuiInputEvent, ptr %69, i32 0, i32 3
  %71 = getelementptr inbounds %struct.ImGuiInputEventMousePos, ptr %70, i32 0, i32 1
  %72 = load float, ptr %71, align 4, !tbaa !107
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %16, float noundef %68, float noundef %72)
  %73 = load i8, ptr %2, align 1, !tbaa !5, !range !11, !noundef !12
  %74 = trunc i8 %73 to i1
  br i1 %74, label %75, label %88

75:                                               ; preds = %64
  %76 = load i32, ptr %11, align 4, !tbaa !101
  %77 = icmp ne i32 %76, 0
  br i1 %77, label %87, label %78

78:                                               ; preds = %75
  %79 = load i8, ptr %7, align 1, !tbaa !5, !range !11, !noundef !12
  %80 = trunc i8 %79 to i1
  br i1 %80, label %87, label %81

81:                                               ; preds = %78
  %82 = load i8, ptr %8, align 1, !tbaa !5, !range !11, !noundef !12
  %83 = trunc i8 %82 to i1
  br i1 %83, label %87, label %84

84:                                               ; preds = %81
  %85 = load i8, ptr %10, align 1, !tbaa !5, !range !11, !noundef !12
  %86 = trunc i8 %85 to i1
  br i1 %86, label %87, label %88

87:                                               ; preds = %84, %81, %78, %75
  store i32 2, ptr %15, align 4
  br label %97

88:                                               ; preds = %84, %64
  %89 = load ptr, ptr %4, align 8, !tbaa !9
  %90 = getelementptr inbounds %struct.ImGuiIO, ptr %89, i32 0, i32 74
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %90, ptr align 4 %16, i64 8, i1 false), !tbaa.struct !108
  %91 = load ptr, ptr %14, align 8, !tbaa !9
  %92 = getelementptr inbounds %struct.ImGuiInputEvent, ptr %91, i32 0, i32 3
  %93 = getelementptr inbounds %struct.ImGuiInputEventMousePos, ptr %92, i32 0, i32 2
  %94 = load i32, ptr %93, align 4, !tbaa !107
  %95 = load ptr, ptr %4, align 8, !tbaa !9
  %96 = getelementptr inbounds %struct.ImGuiIO, ptr %95, i32 0, i32 78
  store i32 %94, ptr %96, align 8, !tbaa !110
  store i8 1, ptr %6, align 1, !tbaa !5
  store i32 0, ptr %15, align 4
  br label %97

97:                                               ; preds = %88, %87
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #7
  %98 = load i32, ptr %15, align 4
  switch i32 %98, label %399 [
    i32 0, label %99
  ]

99:                                               ; preds = %97
  br label %398

100:                                              ; preds = %48
  %101 = load ptr, ptr %14, align 8, !tbaa !9
  %102 = getelementptr inbounds %struct.ImGuiInputEvent, ptr %101, i32 0, i32 0
  %103 = load i32, ptr %102, align 4, !tbaa !103
  %104 = icmp eq i32 %103, 3
  br i1 %104, label %105, label %171

105:                                              ; preds = %100
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #7
  %106 = load ptr, ptr %14, align 8, !tbaa !9
  %107 = getelementptr inbounds %struct.ImGuiInputEvent, ptr %106, i32 0, i32 3
  %108 = getelementptr inbounds %struct.ImGuiInputEventMouseButton, ptr %107, i32 0, i32 0
  %109 = load i32, ptr %108, align 4, !tbaa !107
  store i32 %109, ptr %17, align 4, !tbaa !101
  %110 = load i32, ptr %17, align 4, !tbaa !101
  %111 = icmp sge i32 %110, 0
  br i1 %111, label %112, label %115

112:                                              ; preds = %105
  %113 = load i32, ptr %17, align 4, !tbaa !101
  %114 = icmp slt i32 %113, 5
  br label %115

115:                                              ; preds = %112, %105
  %116 = phi i1 [ false, %105 ], [ %114, %112 ]
  br i1 %116, label %117, label %118

117:                                              ; preds = %115
  br label %120

118:                                              ; preds = %115
  call void @__assert_fail(ptr noundef @.str.225, ptr noundef @.str.3, i32 noundef 10456, ptr noundef @__PRETTY_FUNCTION__._ZN5ImGui17UpdateInputEventsEb) #8
  unreachable

119:                                              ; No predecessors!
  br label %120

120:                                              ; preds = %119, %117
  %121 = load i8, ptr %2, align 1, !tbaa !5, !range !11, !noundef !12
  %122 = trunc i8 %121 to i1
  br i1 %122, label %123, label %133

123:                                              ; preds = %120
  %124 = load i32, ptr %11, align 4, !tbaa !101
  %125 = load i32, ptr %17, align 4, !tbaa !101
  %126 = shl i32 1, %125
  %127 = and i32 %124, %126
  %128 = icmp ne i32 %127, 0
  br i1 %128, label %132, label %129

129:                                              ; preds = %123
  %130 = load i8, ptr %7, align 1, !tbaa !5, !range !11, !noundef !12
  %131 = trunc i8 %130 to i1
  br i1 %131, label %132, label %133

132:                                              ; preds = %129, %123
  store i32 2, ptr %15, align 4
  br label %168

133:                                              ; preds = %129, %120
  %134 = load i8, ptr %2, align 1, !tbaa !5, !range !11, !noundef !12
  %135 = trunc i8 %134 to i1
  br i1 %135, label %136, label %146

136:                                              ; preds = %133
  %137 = load ptr, ptr %14, align 8, !tbaa !9
  %138 = getelementptr inbounds %struct.ImGuiInputEvent, ptr %137, i32 0, i32 3
  %139 = getelementptr inbounds %struct.ImGuiInputEventMouseButton, ptr %138, i32 0, i32 2
  %140 = load i32, ptr %139, align 4, !tbaa !107
  %141 = icmp eq i32 %140, 1
  br i1 %141, label %142, label %146

142:                                              ; preds = %136
  %143 = load i8, ptr %6, align 1, !tbaa !5, !range !11, !noundef !12
  %144 = trunc i8 %143 to i1
  br i1 %144, label %145, label %146

145:                                              ; preds = %142
  store i32 2, ptr %15, align 4
  br label %168

146:                                              ; preds = %142, %136, %133
  %147 = load ptr, ptr %14, align 8, !tbaa !9
  %148 = getelementptr inbounds %struct.ImGuiInputEvent, ptr %147, i32 0, i32 3
  %149 = getelementptr inbounds %struct.ImGuiInputEventMouseButton, ptr %148, i32 0, i32 1
  %150 = load i8, ptr %149, align 4, !tbaa !107, !range !11, !noundef !12
  %151 = trunc i8 %150 to i1
  %152 = load ptr, ptr %4, align 8, !tbaa !9
  %153 = getelementptr inbounds %struct.ImGuiIO, ptr %152, i32 0, i32 75
  %154 = load i32, ptr %17, align 4, !tbaa !101
  %155 = sext i32 %154 to i64
  %156 = getelementptr inbounds [5 x i8], ptr %153, i64 0, i64 %155
  %157 = zext i1 %151 to i8
  store i8 %157, ptr %156, align 1, !tbaa !5
  %158 = load ptr, ptr %14, align 8, !tbaa !9
  %159 = getelementptr inbounds %struct.ImGuiInputEvent, ptr %158, i32 0, i32 3
  %160 = getelementptr inbounds %struct.ImGuiInputEventMouseButton, ptr %159, i32 0, i32 2
  %161 = load i32, ptr %160, align 4, !tbaa !107
  %162 = load ptr, ptr %4, align 8, !tbaa !9
  %163 = getelementptr inbounds %struct.ImGuiIO, ptr %162, i32 0, i32 78
  store i32 %161, ptr %163, align 8, !tbaa !110
  %164 = load i32, ptr %17, align 4, !tbaa !101
  %165 = shl i32 1, %164
  %166 = load i32, ptr %11, align 4, !tbaa !101
  %167 = or i32 %166, %165
  store i32 %167, ptr %11, align 4, !tbaa !101
  store i32 0, ptr %15, align 4
  br label %168

168:                                              ; preds = %146, %145, %132
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #7
  %169 = load i32, ptr %15, align 4
  switch i32 %169, label %399 [
    i32 0, label %170
  ]

170:                                              ; preds = %168
  br label %397

171:                                              ; preds = %100
  %172 = load ptr, ptr %14, align 8, !tbaa !9
  %173 = getelementptr inbounds %struct.ImGuiInputEvent, ptr %172, i32 0, i32 0
  %174 = load i32, ptr %173, align 4, !tbaa !103
  %175 = icmp eq i32 %174, 2
  br i1 %175, label %176, label %209

176:                                              ; preds = %171
  %177 = load i8, ptr %2, align 1, !tbaa !5, !range !11, !noundef !12
  %178 = trunc i8 %177 to i1
  br i1 %178, label %179, label %186

179:                                              ; preds = %176
  %180 = load i8, ptr %6, align 1, !tbaa !5, !range !11, !noundef !12
  %181 = trunc i8 %180 to i1
  br i1 %181, label %185, label %182

182:                                              ; preds = %179
  %183 = load i32, ptr %11, align 4, !tbaa !101
  %184 = icmp ne i32 %183, 0
  br i1 %184, label %185, label %186

185:                                              ; preds = %182, %179
  store i32 2, ptr %15, align 4
  br label %399

186:                                              ; preds = %182, %176
  %187 = load ptr, ptr %14, align 8, !tbaa !9
  %188 = getelementptr inbounds %struct.ImGuiInputEvent, ptr %187, i32 0, i32 3
  %189 = getelementptr inbounds %struct.ImGuiInputEventMouseWheel, ptr %188, i32 0, i32 0
  %190 = load float, ptr %189, align 4, !tbaa !107
  %191 = load ptr, ptr %4, align 8, !tbaa !9
  %192 = getelementptr inbounds %struct.ImGuiIO, ptr %191, i32 0, i32 77
  %193 = load float, ptr %192, align 4, !tbaa !111
  %194 = fadd float %193, %190
  store float %194, ptr %192, align 4, !tbaa !111
  %195 = load ptr, ptr %14, align 8, !tbaa !9
  %196 = getelementptr inbounds %struct.ImGuiInputEvent, ptr %195, i32 0, i32 3
  %197 = getelementptr inbounds %struct.ImGuiInputEventMouseWheel, ptr %196, i32 0, i32 1
  %198 = load float, ptr %197, align 4, !tbaa !107
  %199 = load ptr, ptr %4, align 8, !tbaa !9
  %200 = getelementptr inbounds %struct.ImGuiIO, ptr %199, i32 0, i32 76
  %201 = load float, ptr %200, align 8, !tbaa !112
  %202 = fadd float %201, %198
  store float %202, ptr %200, align 8, !tbaa !112
  %203 = load ptr, ptr %14, align 8, !tbaa !9
  %204 = getelementptr inbounds %struct.ImGuiInputEvent, ptr %203, i32 0, i32 3
  %205 = getelementptr inbounds %struct.ImGuiInputEventMouseWheel, ptr %204, i32 0, i32 2
  %206 = load i32, ptr %205, align 4, !tbaa !107
  %207 = load ptr, ptr %4, align 8, !tbaa !9
  %208 = getelementptr inbounds %struct.ImGuiIO, ptr %207, i32 0, i32 78
  store i32 %206, ptr %208, align 8, !tbaa !110
  store i8 1, ptr %7, align 1, !tbaa !5
  br label %396

209:                                              ; preds = %171
  %210 = load ptr, ptr %14, align 8, !tbaa !9
  %211 = getelementptr inbounds %struct.ImGuiInputEvent, ptr %210, i32 0, i32 0
  %212 = load i32, ptr %211, align 4, !tbaa !103
  %213 = icmp eq i32 %212, 4
  br i1 %213, label %214, label %221

214:                                              ; preds = %209
  %215 = load ptr, ptr %14, align 8, !tbaa !9
  %216 = getelementptr inbounds %struct.ImGuiInputEvent, ptr %215, i32 0, i32 3
  %217 = getelementptr inbounds %struct.ImGuiInputEventMouseViewport, ptr %216, i32 0, i32 0
  %218 = load i32, ptr %217, align 4, !tbaa !107
  %219 = load ptr, ptr %4, align 8, !tbaa !9
  %220 = getelementptr inbounds %struct.ImGuiIO, ptr %219, i32 0, i32 79
  store i32 %218, ptr %220, align 4, !tbaa !113
  br label %395

221:                                              ; preds = %209
  %222 = load ptr, ptr %14, align 8, !tbaa !9
  %223 = getelementptr inbounds %struct.ImGuiInputEvent, ptr %222, i32 0, i32 0
  %224 = load i32, ptr %223, align 4, !tbaa !103
  %225 = icmp eq i32 %224, 5
  br i1 %225, label %226, label %320

226:                                              ; preds = %221
  %227 = load ptr, ptr %4, align 8, !tbaa !9
  %228 = getelementptr inbounds %struct.ImGuiIO, ptr %227, i32 0, i32 0
  %229 = load i32, ptr %228, align 8, !tbaa !114
  %230 = and i32 %229, 64
  %231 = icmp ne i32 %230, 0
  br i1 %231, label %232, label %233

232:                                              ; preds = %226
  store i32 4, ptr %15, align 4
  br label %399

233:                                              ; preds = %226
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #7
  %234 = load ptr, ptr %14, align 8, !tbaa !9
  %235 = getelementptr inbounds %struct.ImGuiInputEvent, ptr %234, i32 0, i32 3
  %236 = getelementptr inbounds %struct.ImGuiInputEventKey, ptr %235, i32 0, i32 0
  %237 = load i32, ptr %236, align 4, !tbaa !107
  store i32 %237, ptr %18, align 4, !tbaa !115
  %238 = load i32, ptr %18, align 4, !tbaa !115
  %239 = icmp ne i32 %238, 0
  br i1 %239, label %240, label %241

240:                                              ; preds = %233
  br label %243

241:                                              ; preds = %233
  call void @__assert_fail(ptr noundef @.str.226, ptr noundef @.str.3, i32 noundef 10485, ptr noundef @__PRETTY_FUNCTION__._ZN5ImGui17UpdateInputEventsEb) #8
  unreachable

242:                                              ; No predecessors!
  br label %243

243:                                              ; preds = %242, %240
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #7
  %244 = load i32, ptr %18, align 4, !tbaa !115
  %245 = call noundef ptr @_ZN5ImGui10GetKeyDataE8ImGuiKey(i32 noundef %244)
  store ptr %245, ptr %19, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #7
  %246 = load ptr, ptr %19, align 8, !tbaa !9
  %247 = load ptr, ptr %3, align 8, !tbaa !9
  %248 = getelementptr inbounds %struct.ImGuiContext, ptr %247, i32 0, i32 2
  %249 = getelementptr inbounds %struct.ImGuiIO, ptr %248, i32 0, i32 85
  %250 = getelementptr inbounds [155 x %struct.ImGuiKeyData], ptr %249, i64 0, i64 0
  %251 = ptrtoint ptr %246 to i64
  %252 = ptrtoint ptr %250 to i64
  %253 = sub i64 %251, %252
  %254 = sdiv exact i64 %253, 16
  %255 = trunc i64 %254 to i32
  store i32 %255, ptr %20, align 4, !tbaa !101
  %256 = load i8, ptr %2, align 1, !tbaa !5, !range !11, !noundef !12
  %257 = trunc i8 %256 to i1
  br i1 %257, label %258, label %278

258:                                              ; preds = %243
  %259 = load ptr, ptr %19, align 8, !tbaa !9
  %260 = getelementptr inbounds %struct.ImGuiKeyData, ptr %259, i32 0, i32 0
  %261 = load i8, ptr %260, align 4, !tbaa !116, !range !11, !noundef !12
  %262 = trunc i8 %261 to i1
  %263 = zext i1 %262 to i32
  %264 = load ptr, ptr %14, align 8, !tbaa !9
  %265 = getelementptr inbounds %struct.ImGuiInputEvent, ptr %264, i32 0, i32 3
  %266 = getelementptr inbounds %struct.ImGuiInputEventKey, ptr %265, i32 0, i32 1
  %267 = load i8, ptr %266, align 4, !tbaa !107, !range !11, !noundef !12
  %268 = trunc i8 %267 to i1
  %269 = zext i1 %268 to i32
  %270 = icmp ne i32 %263, %269
  br i1 %270, label %271, label %278

271:                                              ; preds = %258
  %272 = load i32, ptr %20, align 4, !tbaa !101
  %273 = call noundef zeroext i1 @_ZNK10ImBitArrayILi155ELi0EE7TestBitEi(ptr noundef nonnull align 4 dereferenceable(20) %12, i32 noundef %272)
  br i1 %273, label %277, label %274

274:                                              ; preds = %271
  %275 = load i32, ptr %11, align 4, !tbaa !101
  %276 = icmp ne i32 %275, 0
  br i1 %276, label %277, label %278

277:                                              ; preds = %274, %271
  store i32 2, ptr %15, align 4
  br label %317

278:                                              ; preds = %274, %258, %243
  call void @llvm.lifetime.start.p0(i64 1, ptr %21) #7
  %279 = call noundef i32 @_ZL21GetMergedModsFromKeysv()
  %280 = load i32, ptr %18, align 4, !tbaa !115
  %281 = or i32 %279, %280
  %282 = call noundef zeroext i1 @_ZL30IsKeyChordPotentiallyCharInputi(i32 noundef %281)
  %283 = zext i1 %282 to i8
  store i8 %283, ptr %21, align 1, !tbaa !5
  %284 = load i8, ptr %5, align 1, !tbaa !5, !range !11, !noundef !12
  %285 = trunc i8 %284 to i1
  br i1 %285, label %286, label %293

286:                                              ; preds = %278
  %287 = load i8, ptr %10, align 1, !tbaa !5, !range !11, !noundef !12
  %288 = trunc i8 %287 to i1
  br i1 %288, label %289, label %293

289:                                              ; preds = %286
  %290 = load i8, ptr %21, align 1, !tbaa !5, !range !11, !noundef !12
  %291 = trunc i8 %290 to i1
  br i1 %291, label %293, label %292

292:                                              ; preds = %289
  store i32 2, ptr %15, align 4
  br label %316

293:                                              ; preds = %289, %286, %278
  %294 = load ptr, ptr %14, align 8, !tbaa !9
  %295 = getelementptr inbounds %struct.ImGuiInputEvent, ptr %294, i32 0, i32 3
  %296 = getelementptr inbounds %struct.ImGuiInputEventKey, ptr %295, i32 0, i32 1
  %297 = load i8, ptr %296, align 4, !tbaa !107, !range !11, !noundef !12
  %298 = trunc i8 %297 to i1
  %299 = load ptr, ptr %19, align 8, !tbaa !9
  %300 = getelementptr inbounds %struct.ImGuiKeyData, ptr %299, i32 0, i32 0
  %301 = zext i1 %298 to i8
  store i8 %301, ptr %300, align 4, !tbaa !116
  %302 = load ptr, ptr %14, align 8, !tbaa !9
  %303 = getelementptr inbounds %struct.ImGuiInputEvent, ptr %302, i32 0, i32 3
  %304 = getelementptr inbounds %struct.ImGuiInputEventKey, ptr %303, i32 0, i32 2
  %305 = load float, ptr %304, align 4, !tbaa !107
  %306 = load ptr, ptr %19, align 8, !tbaa !9
  %307 = getelementptr inbounds %struct.ImGuiKeyData, ptr %306, i32 0, i32 3
  store float %305, ptr %307, align 4, !tbaa !118
  store i8 1, ptr %8, align 1, !tbaa !5
  %308 = load i32, ptr %20, align 4, !tbaa !101
  call void @_ZN10ImBitArrayILi155ELi0EE6SetBitEi(ptr noundef nonnull align 4 dereferenceable(20) %12, i32 noundef %308)
  %309 = load i8, ptr %5, align 1, !tbaa !5, !range !11, !noundef !12
  %310 = trunc i8 %309 to i1
  br i1 %310, label %311, label %315

311:                                              ; preds = %293
  %312 = load i8, ptr %21, align 1, !tbaa !5, !range !11, !noundef !12
  %313 = trunc i8 %312 to i1
  br i1 %313, label %315, label %314

314:                                              ; preds = %311
  store i8 1, ptr %9, align 1, !tbaa !5
  br label %315

315:                                              ; preds = %314, %311, %293
  store i32 0, ptr %15, align 4
  br label %316

316:                                              ; preds = %315, %292
  call void @llvm.lifetime.end.p0(i64 1, ptr %21) #7
  br label %317

317:                                              ; preds = %316, %277
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #7
  %318 = load i32, ptr %15, align 4
  switch i32 %318, label %399 [
    i32 0, label %319
  ]

319:                                              ; preds = %317
  br label %394

320:                                              ; preds = %221
  %321 = load ptr, ptr %14, align 8, !tbaa !9
  %322 = getelementptr inbounds %struct.ImGuiInputEvent, ptr %321, i32 0, i32 0
  %323 = load i32, ptr %322, align 4, !tbaa !103
  %324 = icmp eq i32 %323, 6
  br i1 %324, label %325, label %373

325:                                              ; preds = %320
  %326 = load ptr, ptr %4, align 8, !tbaa !9
  %327 = getelementptr inbounds %struct.ImGuiIO, ptr %326, i32 0, i32 0
  %328 = load i32, ptr %327, align 8, !tbaa !114
  %329 = and i32 %328, 64
  %330 = icmp ne i32 %329, 0
  br i1 %330, label %331, label %332

331:                                              ; preds = %325
  store i32 4, ptr %15, align 4
  br label %399

332:                                              ; preds = %325
  %333 = load i8, ptr %2, align 1, !tbaa !5, !range !11, !noundef !12
  %334 = trunc i8 %333 to i1
  br i1 %334, label %335, label %345

335:                                              ; preds = %332
  %336 = load i32, ptr %11, align 4, !tbaa !101
  %337 = icmp ne i32 %336, 0
  br i1 %337, label %344, label %338

338:                                              ; preds = %335
  %339 = load i8, ptr %6, align 1, !tbaa !5, !range !11, !noundef !12
  %340 = trunc i8 %339 to i1
  br i1 %340, label %344, label %341

341:                                              ; preds = %338
  %342 = load i8, ptr %7, align 1, !tbaa !5, !range !11, !noundef !12
  %343 = trunc i8 %342 to i1
  br i1 %343, label %344, label %345

344:                                              ; preds = %341, %338, %335
  store i32 2, ptr %15, align 4
  br label %399

345:                                              ; preds = %341, %332
  %346 = load i8, ptr %5, align 1, !tbaa !5, !range !11, !noundef !12
  %347 = trunc i8 %346 to i1
  br i1 %347, label %348, label %352

348:                                              ; preds = %345
  %349 = load i8, ptr %9, align 1, !tbaa !5, !range !11, !noundef !12
  %350 = trunc i8 %349 to i1
  br i1 %350, label %351, label %352

351:                                              ; preds = %348
  store i32 2, ptr %15, align 4
  br label %399

352:                                              ; preds = %348, %345
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #7
  %353 = load ptr, ptr %14, align 8, !tbaa !9
  %354 = getelementptr inbounds %struct.ImGuiInputEvent, ptr %353, i32 0, i32 3
  %355 = getelementptr inbounds %struct.ImGuiInputEventText, ptr %354, i32 0, i32 0
  %356 = load i32, ptr %355, align 4, !tbaa !107
  store i32 %356, ptr %22, align 4, !tbaa !101
  %357 = load ptr, ptr %4, align 8, !tbaa !9
  %358 = getelementptr inbounds %struct.ImGuiIO, ptr %357, i32 0, i32 108
  call void @llvm.lifetime.start.p0(i64 2, ptr %23) #7
  %359 = load i32, ptr %22, align 4, !tbaa !101
  %360 = icmp ule i32 %359, 65535
  br i1 %360, label %361, label %365

361:                                              ; preds = %352
  %362 = load i32, ptr %22, align 4, !tbaa !101
  %363 = trunc i32 %362 to i16
  %364 = zext i16 %363 to i32
  br label %366

365:                                              ; preds = %352
  br label %366

366:                                              ; preds = %365, %361
  %367 = phi i32 [ %364, %361 ], [ 65533, %365 ]
  %368 = trunc i32 %367 to i16
  store i16 %368, ptr %23, align 2, !tbaa !119
  call void @_ZN8ImVectorItE9push_backERKt(ptr noundef nonnull align 8 dereferenceable(16) %358, ptr noundef nonnull align 2 dereferenceable(2) %23)
  call void @llvm.lifetime.end.p0(i64 2, ptr %23) #7
  %369 = load i8, ptr %5, align 1, !tbaa !5, !range !11, !noundef !12
  %370 = trunc i8 %369 to i1
  br i1 %370, label %371, label %372

371:                                              ; preds = %366
  store i8 1, ptr %10, align 1, !tbaa !5
  br label %372

372:                                              ; preds = %371, %366
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #7
  br label %393

373:                                              ; preds = %320
  %374 = load ptr, ptr %14, align 8, !tbaa !9
  %375 = getelementptr inbounds %struct.ImGuiInputEvent, ptr %374, i32 0, i32 0
  %376 = load i32, ptr %375, align 4, !tbaa !103
  %377 = icmp eq i32 %376, 7
  br i1 %377, label %378, label %391

378:                                              ; preds = %373
  call void @llvm.lifetime.start.p0(i64 1, ptr %24) #7
  %379 = load ptr, ptr %14, align 8, !tbaa !9
  %380 = getelementptr inbounds %struct.ImGuiInputEvent, ptr %379, i32 0, i32 3
  %381 = getelementptr inbounds %struct.ImGuiInputEventAppFocused, ptr %380, i32 0, i32 0
  %382 = load i8, ptr %381, align 4, !tbaa !107, !range !11, !noundef !12
  %383 = trunc i8 %382 to i1
  %384 = xor i1 %383, true
  %385 = zext i1 %384 to i8
  store i8 %385, ptr %24, align 1, !tbaa !5
  %386 = load i8, ptr %24, align 1, !tbaa !5, !range !11, !noundef !12
  %387 = trunc i8 %386 to i1
  %388 = load ptr, ptr %4, align 8, !tbaa !9
  %389 = getelementptr inbounds %struct.ImGuiIO, ptr %388, i32 0, i32 105
  %390 = zext i1 %387 to i8
  store i8 %390, ptr %389, align 4, !tbaa !120
  call void @llvm.lifetime.end.p0(i64 1, ptr %24) #7
  br label %392

391:                                              ; preds = %373
  call void @__assert_fail(ptr noundef @.str.227, ptr noundef @.str.3, i32 noundef 10525, ptr noundef @__PRETTY_FUNCTION__._ZN5ImGui17UpdateInputEventsEb) #8
  unreachable

392:                                              ; preds = %378
  br label %393

393:                                              ; preds = %392, %372
  br label %394

394:                                              ; preds = %393, %319
  br label %395

395:                                              ; preds = %394, %214
  br label %396

396:                                              ; preds = %395, %186
  br label %397

397:                                              ; preds = %396, %170
  br label %398

398:                                              ; preds = %397, %99
  store i32 0, ptr %15, align 4
  br label %399

399:                                              ; preds = %398, %351, %344, %331, %317, %232, %185, %168, %97, %63
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #7
  %400 = load i32, ptr %15, align 4
  switch i32 %400, label %493 [
    i32 0, label %401
    i32 4, label %402
    i32 2, label %405
  ]

401:                                              ; preds = %399
  br label %402

402:                                              ; preds = %401, %399
  %403 = load i32, ptr %13, align 4, !tbaa !101
  %404 = add nsw i32 %403, 1
  store i32 %404, ptr %13, align 4, !tbaa !101
  br label %41, !llvm.loop !121

405:                                              ; preds = %399, %41
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #7
  store i32 0, ptr %25, align 4, !tbaa !101
  br label %406

406:                                              ; preds = %418, %405
  %407 = load i32, ptr %25, align 4, !tbaa !101
  %408 = load i32, ptr %13, align 4, !tbaa !101
  %409 = icmp slt i32 %407, %408
  br i1 %409, label %411, label %410

410:                                              ; preds = %406
  store i32 5, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #7
  br label %421

411:                                              ; preds = %406
  %412 = load ptr, ptr %3, align 8, !tbaa !9
  %413 = getelementptr inbounds %struct.ImGuiContext, ptr %412, i32 0, i32 26
  %414 = load ptr, ptr %3, align 8, !tbaa !9
  %415 = getelementptr inbounds %struct.ImGuiContext, ptr %414, i32 0, i32 25
  %416 = load i32, ptr %25, align 4, !tbaa !101
  %417 = call noundef nonnull align 4 dereferenceable(25) ptr @_ZN8ImVectorI15ImGuiInputEventEixEi(ptr noundef nonnull align 8 dereferenceable(16) %415, i32 noundef %416)
  call void @_ZN8ImVectorI15ImGuiInputEventE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(16) %413, ptr noundef nonnull align 4 dereferenceable(25) %417)
  br label %418

418:                                              ; preds = %411
  %419 = load i32, ptr %25, align 4, !tbaa !101
  %420 = add nsw i32 %419, 1
  store i32 %420, ptr %25, align 4, !tbaa !101
  br label %406, !llvm.loop !123

421:                                              ; preds = %410
  %422 = load i32, ptr %13, align 4, !tbaa !101
  %423 = icmp ne i32 %422, 0
  br i1 %423, label %424, label %456

424:                                              ; preds = %421
  %425 = load ptr, ptr %3, align 8, !tbaa !9
  %426 = getelementptr inbounds %struct.ImGuiContext, ptr %425, i32 0, i32 287
  %427 = load i32, ptr %426, align 4, !tbaa !124
  %428 = and i32 %427, 128
  %429 = icmp ne i32 %428, 0
  br i1 %429, label %430, label %456

430:                                              ; preds = %424
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #7
  store i32 0, ptr %26, align 4, !tbaa !101
  br label %431

431:                                              ; preds = %452, %430
  %432 = load i32, ptr %26, align 4, !tbaa !101
  %433 = load ptr, ptr %3, align 8, !tbaa !9
  %434 = getelementptr inbounds %struct.ImGuiContext, ptr %433, i32 0, i32 25
  %435 = getelementptr inbounds %struct.ImVector.3, ptr %434, i32 0, i32 0
  %436 = load i32, ptr %435, align 8, !tbaa !102
  %437 = icmp slt i32 %432, %436
  br i1 %437, label %439, label %438

438:                                              ; preds = %431
  store i32 8, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #7
  br label %455

439:                                              ; preds = %431
  %440 = load i32, ptr %26, align 4, !tbaa !101
  %441 = load i32, ptr %13, align 4, !tbaa !101
  %442 = icmp slt i32 %440, %441
  br i1 %442, label %443, label %444

443:                                              ; preds = %439
  br label %445

444:                                              ; preds = %439
  br label %445

445:                                              ; preds = %444, %443
  %446 = phi ptr [ @.str.228, %443 ], [ @.str.229, %444 ]
  %447 = getelementptr inbounds [10 x i8], ptr %446, i64 0, i64 0
  %448 = load ptr, ptr %3, align 8, !tbaa !9
  %449 = getelementptr inbounds %struct.ImGuiContext, ptr %448, i32 0, i32 25
  %450 = load i32, ptr %26, align 4, !tbaa !101
  %451 = call noundef nonnull align 4 dereferenceable(25) ptr @_ZN8ImVectorI15ImGuiInputEventEixEi(ptr noundef nonnull align 8 dereferenceable(16) %449, i32 noundef %450)
  call void @_ZL20DebugPrintInputEventPKcPK15ImGuiInputEvent(ptr noundef %447, ptr noundef %451)
  br label %452

452:                                              ; preds = %445
  %453 = load i32, ptr %26, align 4, !tbaa !101
  %454 = add nsw i32 %453, 1
  store i32 %454, ptr %26, align 4, !tbaa !101
  br label %431, !llvm.loop !125

455:                                              ; preds = %438
  br label %456

456:                                              ; preds = %455, %424, %421
  %457 = load i32, ptr %13, align 4, !tbaa !101
  %458 = load ptr, ptr %3, align 8, !tbaa !9
  %459 = getelementptr inbounds %struct.ImGuiContext, ptr %458, i32 0, i32 25
  %460 = getelementptr inbounds %struct.ImVector.3, ptr %459, i32 0, i32 0
  %461 = load i32, ptr %460, align 8, !tbaa !102
  %462 = icmp eq i32 %457, %461
  br i1 %462, label %463, label %466

463:                                              ; preds = %456
  %464 = load ptr, ptr %3, align 8, !tbaa !9
  %465 = getelementptr inbounds %struct.ImGuiContext, ptr %464, i32 0, i32 25
  call void @_ZN8ImVectorI15ImGuiInputEventE6resizeEi(ptr noundef nonnull align 8 dereferenceable(16) %465, i32 noundef 0)
  br label %481

466:                                              ; preds = %456
  %467 = load ptr, ptr %3, align 8, !tbaa !9
  %468 = getelementptr inbounds %struct.ImGuiContext, ptr %467, i32 0, i32 25
  %469 = load ptr, ptr %3, align 8, !tbaa !9
  %470 = getelementptr inbounds %struct.ImGuiContext, ptr %469, i32 0, i32 25
  %471 = getelementptr inbounds %struct.ImVector.3, ptr %470, i32 0, i32 2
  %472 = load ptr, ptr %471, align 8, !tbaa !126
  %473 = load ptr, ptr %3, align 8, !tbaa !9
  %474 = getelementptr inbounds %struct.ImGuiContext, ptr %473, i32 0, i32 25
  %475 = getelementptr inbounds %struct.ImVector.3, ptr %474, i32 0, i32 2
  %476 = load ptr, ptr %475, align 8, !tbaa !126
  %477 = load i32, ptr %13, align 4, !tbaa !101
  %478 = sext i32 %477 to i64
  %479 = getelementptr inbounds %struct.ImGuiInputEvent, ptr %476, i64 %478
  %480 = call noundef ptr @_ZN8ImVectorI15ImGuiInputEventE5eraseEPKS0_S3_(ptr noundef nonnull align 8 dereferenceable(16) %468, ptr noundef %472, ptr noundef %479)
  br label %481

481:                                              ; preds = %466, %463
  %482 = load ptr, ptr %3, align 8, !tbaa !9
  %483 = getelementptr inbounds %struct.ImGuiContext, ptr %482, i32 0, i32 2
  %484 = getelementptr inbounds %struct.ImGuiIO, ptr %483, i32 0, i32 105
  %485 = load i8, ptr %484, align 4, !tbaa !127, !range !11, !noundef !12
  %486 = trunc i8 %485 to i1
  br i1 %486, label %487, label %492

487:                                              ; preds = %481
  %488 = load ptr, ptr %3, align 8, !tbaa !9
  %489 = getelementptr inbounds %struct.ImGuiContext, ptr %488, i32 0, i32 2
  call void @_ZN7ImGuiIO14ClearInputKeysEv(ptr noundef nonnull align 8 dereferenceable(3088) %489)
  %490 = load ptr, ptr %3, align 8, !tbaa !9
  %491 = getelementptr inbounds %struct.ImGuiContext, ptr %490, i32 0, i32 2
  call void @_ZN7ImGuiIO15ClearInputMouseEv(ptr noundef nonnull align 8 dereferenceable(3088) %491)
  br label %492

492:                                              ; preds = %487, %481
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #7
  call void @llvm.lifetime.end.p0(i64 20, ptr %12) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %10) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %9) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %8) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %7) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %6) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %5) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #7
  ret void

493:                                              ; preds = %399
  unreachable
}

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef ptr @_ZN5ImGui10GetKeyDataE8ImGuiKey(i32 noundef) #4

; Function Attrs: mustprogress uwtable
declare hidden noundef zeroext i1 @_ZL30IsKeyChordPotentiallyCharInputi(i32 noundef) #5

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN10ImBitArrayILi155ELi0EEC2Ev(ptr noundef nonnull align 4 dereferenceable(20)) unnamed_addr #5 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK10ImBitArrayILi155ELi0EE7TestBitEi(ptr noundef nonnull align 4 dereferenceable(20), i32 noundef) #1 align 2

; Function Attrs: mustprogress uwtable
declare hidden noundef i32 @_ZL21GetMergedModsFromKeysv() #5

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN10ImBitArrayILi155ELi0EE6SetBitEi(ptr noundef nonnull align 4 dereferenceable(20), i32 noundef) #1 align 2

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL20DebugPrintInputEventPKcPK15ImGuiInputEvent(ptr noundef, ptr noundef) #5

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { 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 #4 = { 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 #5 = { 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 #6 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { nounwind }
attributes #8 = { noreturn nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"bool", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{i8 0, i8 2}
!12 = !{}
!13 = !{!14, !16, i64 11068}
!14 = !{!"_ZTS12ImGuiContext", !6, i64 0, !6, i64 1, !15, i64 8, !22, i64 3096, !25, i64 3392, !16, i64 4596, !16, i64 4600, !10, i64 4608, !18, i64 4616, !18, i64 4620, !18, i64 4624, !18, i64 4628, !27, i64 4632, !30, i64 5168, !16, i64 5176, !16, i64 5180, !16, i64 5184, !16, i64 5188, !16, i64 5192, !6, i64 5196, !6, i64 5197, !6, i64 5198, !6, i64 5199, !10, i64 5200, !7, i64 5208, !31, i64 5224, !31, i64 5240, !19, i64 5256, !16, i64 5260, !32, i64 5264, !32, i64 5280, !32, i64 5296, !33, i64 5312, !34, i64 5328, !16, i64 5344, !18, i64 5348, !16, i64 5352, !10, i64 5360, !10, i64 5368, !10, i64 5376, !10, i64 5384, !10, i64 5392, !10, i64 5400, !17, i64 5408, !16, i64 5416, !16, i64 5420, !18, i64 5424, !17, i64 5428, !17, i64 5436, !16, i64 5444, !16, i64 5448, !16, i64 5452, !16, i64 5456, !16, i64 5460, !18, i64 5464, !18, i64 5468, !6, i64 5472, !6, i64 5473, !6, i64 5474, !16, i64 5476, !16, i64 5480, !18, i64 5484, !6, i64 5488, !6, i64 5489, !6, i64 5490, !6, i64 5491, !6, i64 5492, !6, i64 5493, !6, i64 5494, !16, i64 5495, !17, i64 5496, !10, i64 5504, !36, i64 5512, !16, i64 5516, !37, i64 5520, !38, i64 5532, !16, i64 5540, !18, i64 5544, !30, i64 5552, !30, i64 5560, !30, i64 5568, !39, i64 5576, !7, i64 5596, !40, i64 7456, !16, i64 7800, !6, i64 7804, !16, i64 7808, !16, i64 7812, !16, i64 7816, !16, i64 7820, !42, i64 7824, !44, i64 7880, !46, i64 7960, !6, i64 8120, !16, i64 8124, !48, i64 8128, !49, i64 8144, !50, i64 8160, !51, i64 8176, !52, i64 8192, !53, i64 8208, !54, i64 8224, !54, i64 8240, !55, i64 8256, !56, i64 8272, !10, i64 8288, !10, i64 8296, !10, i64 8304, !16, i64 8312, !57, i64 8320, !45, i64 8368, !16, i64 8384, !16, i64 8388, !16, i64 8392, !6, i64 8396, !6, i64 8397, !6, i64 8398, !6, i64 8399, !16, i64 8400, !10, i64 8408, !16, i64 8416, !58, i64 8420, !16, i64 8424, !16, i64 8428, !16, i64 8432, !16, i64 8436, !51, i64 8440, !16, i64 8456, !18, i64 8460, !16, i64 8464, !16, i64 8468, !36, i64 8472, !43, i64 8480, !7, i64 8488, !6, i64 8489, !6, i64 8490, !6, i64 8491, !59, i64 8496, !6, i64 8552, !6, i64 8553, !6, i64 8554, !16, i64 8556, !16, i64 8560, !16, i64 8564, !26, i64 8568, !26, i64 8572, !26, i64 8576, !45, i64 8580, !45, i64 8596, !16, i64 8612, !16, i64 8616, !16, i64 8620, !59, i64 8624, !59, i64 8680, !59, i64 8736, !59, i64 8792, !16, i64 8848, !16, i64 8852, !16, i64 8856, !16, i64 8860, !6, i64 8864, !6, i64 8865, !16, i64 8868, !16, i64 8872, !10, i64 8880, !10, i64 8888, !10, i64 8896, !18, i64 8904, !18, i64 8908, !6, i64 8912, !60, i64 8916, !17, i64 8920, !17, i64 8928, !18, i64 8936, !6, i64 8940, !6, i64 8941, !6, i64 8942, !16, i64 8944, !16, i64 8948, !16, i64 8952, !61, i64 8960, !45, i64 9024, !45, i64 9040, !16, i64 9056, !16, i64 9060, !18, i64 9064, !16, i64 9068, !16, i64 9072, !16, i64 9076, !16, i64 9080, !62, i64 9088, !7, i64 9104, !16, i64 9120, !63, i64 9128, !10, i64 9144, !16, i64 9152, !16, i64 9156, !64, i64 9160, !65, i64 9176, !67, i64 9216, !68, i64 9232, !10, i64 9248, !69, i64 9256, !71, i64 9296, !72, i64 9312, !73, i64 9328, !10, i64 9432, !16, i64 9440, !74, i64 9448, !75, i64 9464, !16, i64 9504, !16, i64 9508, !18, i64 9512, !18, i64 9516, !16, i64 9520, !16, i64 9524, !16, i64 9528, !18, i64 9532, !17, i64 9536, !77, i64 9544, !79, i64 9664, !80, i64 9688, !16, i64 9808, !38, i64 9812, !16, i64 9820, !16, i64 9824, !16, i64 9828, !16, i64 9832, !16, i64 9836, !18, i64 9840, !18, i64 9844, !16, i64 9848, !28, i64 9852, !82, i64 9868, !45, i64 9916, !6, i64 9932, !20, i64 9934, !18, i64 9936, !18, i64 9940, !18, i64 9944, !6, i64 9948, !6, i64 9949, !18, i64 9952, !18, i64 9956, !18, i64 9960, !20, i64 9964, !20, i64 9966, !10, i64 9968, !78, i64 9976, !83, i64 9992, !84, i64 10008, !86, i64 10112, !86, i64 10128, !16, i64 10144, !87, i64 10152, !10, i64 10208, !6, i64 10216, !18, i64 10220, !90, i64 10224, !91, i64 10240, !92, i64 10256, !93, i64 10272, !94, i64 10288, !16, i64 10304, !7, i64 10312, !6, i64 10416, !16, i64 10420, !10, i64 10424, !10, i64 10432, !90, i64 10440, !10, i64 10456, !10, i64 10464, !18, i64 10472, !6, i64 10476, !16, i64 10480, !16, i64 10484, !16, i64 10488, !10, i64 10496, !10, i64 10504, !17, i64 10512, !6, i64 10520, !16, i64 10524, !95, i64 10528, !10, i64 10552, !16, i64 10560, !16, i64 10564, !90, i64 10568, !96, i64 10584, !16, i64 10608, !16, i64 10612, !7, i64 10616, !7, i64 10617, !6, i64 10618, !16, i64 10620, !7, i64 10624, !6, i64 10625, !7, i64 10626, !16, i64 10628, !18, i64 10632, !28, i64 10636, !97, i64 10652, !98, i64 10680, !100, i64 10736, !10, i64 10800, !7, i64 10808, !16, i64 11048, !16, i64 11052, !18, i64 11056, !16, i64 11060, !16, i64 11064, !16, i64 11068, !78, i64 11072, !7, i64 11088}
!15 = !{!"_ZTS7ImGuiIO", !16, i64 0, !16, i64 4, !17, i64 8, !18, i64 16, !18, i64 20, !10, i64 24, !10, i64 32, !10, i64 40, !10, i64 48, !18, i64 56, !6, i64 60, !10, i64 64, !17, i64 72, !6, i64 80, !6, i64 81, !6, i64 82, !6, i64 83, !6, i64 84, !6, i64 85, !6, i64 86, !6, i64 87, !6, i64 88, !6, i64 89, !6, i64 90, !6, i64 91, !6, i64 92, !6, i64 93, !6, i64 94, !6, i64 95, !6, i64 96, !6, i64 97, !6, i64 98, !6, i64 99, !6, i64 100, !6, i64 101, !6, i64 102, !6, i64 103, !6, i64 104, !18, i64 108, !18, i64 112, !18, i64 116, !18, i64 120, !18, i64 124, !18, i64 128, !6, i64 132, !6, i64 133, !6, i64 134, !6, i64 135, !6, i64 136, !6, i64 137, !6, i64 138, !6, i64 139, !6, i64 140, !6, i64 141, !6, i64 142, !10, i64 144, !10, i64 152, !10, i64 160, !10, i64 168, !10, i64 176, !6, i64 184, !6, i64 185, !6, i64 186, !6, i64 187, !6, i64 188, !6, i64 189, !6, i64 190, !18, i64 192, !16, i64 196, !16, i64 200, !16, i64 204, !16, i64 208, !17, i64 212, !10, i64 224, !17, i64 232, !7, i64 240, !18, i64 248, !18, i64 252, !19, i64 256, !16, i64 260, !6, i64 264, !6, i64 265, !6, i64 266, !6, i64 267, !16, i64 268, !7, i64 272, !6, i64 2752, !17, i64 2756, !7, i64 2764, !7, i64 2808, !7, i64 2848, !7, i64 2853, !7, i64 2858, !7, i64 2868, !7, i64 2878, !7, i64 2888, !7, i64 2928, !7, i64 2933, !6, i64 2938, !6, i64 2939, !7, i64 2940, !7, i64 2960, !7, i64 2980, !7, i64 3020, !18, i64 3040, !6, i64 3044, !6, i64 3045, !20, i64 3046, !21, i64 3048, !10, i64 3064, !10, i64 3072, !10, i64 3080}
!16 = !{!"int", !7, i64 0}
!17 = !{!"_ZTS6ImVec2", !18, i64 0, !18, i64 4}
!18 = !{!"float", !7, i64 0}
!19 = !{!"_ZTS16ImGuiMouseSource", !7, i64 0}
!20 = !{!"short", !7, i64 0}
!21 = !{!"_ZTS8ImVectorItE", !16, i64 0, !16, i64 4, !10, i64 8}
!22 = !{!"_ZTS15ImGuiPlatformIO", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !10, i64 40, !10, i64 48, !20, i64 56, !10, i64 64, !10, i64 72, !10, i64 80, !10, i64 88, !10, i64 96, !10, i64 104, !10, i64 112, !10, i64 120, !10, i64 128, !10, i64 136, !10, i64 144, !10, i64 152, !10, i64 160, !10, i64 168, !10, i64 176, !10, i64 184, !10, i64 192, !10, i64 200, !10, i64 208, !10, i64 216, !10, i64 224, !10, i64 232, !10, i64 240, !10, i64 248, !10, i64 256, !23, i64 264, !24, i64 280}
!23 = !{!"_ZTS8ImVectorI20ImGuiPlatformMonitorE", !16, i64 0, !16, i64 4, !10, i64 8}
!24 = !{!"_ZTS8ImVectorIP13ImGuiViewportE", !16, i64 0, !16, i64 4, !10, i64 8}
!25 = !{!"_ZTS10ImGuiStyle", !18, i64 0, !18, i64 4, !17, i64 8, !18, i64 16, !18, i64 20, !18, i64 24, !17, i64 28, !17, i64 36, !26, i64 44, !18, i64 48, !18, i64 52, !18, i64 56, !18, i64 60, !17, i64 64, !18, i64 72, !18, i64 76, !17, i64 80, !17, i64 88, !17, i64 96, !17, i64 104, !18, i64 112, !18, i64 116, !18, i64 120, !18, i64 124, !18, i64 128, !18, i64 132, !18, i64 136, !18, i64 140, !18, i64 144, !18, i64 148, !18, i64 152, !18, i64 156, !18, i64 160, !18, i64 164, !18, i64 168, !17, i64 172, !26, i64 180, !17, i64 184, !17, i64 192, !18, i64 200, !17, i64 204, !17, i64 212, !17, i64 220, !17, i64 228, !18, i64 236, !18, i64 240, !6, i64 244, !6, i64 245, !6, i64 246, !18, i64 248, !18, i64 252, !7, i64 256, !18, i64 1184, !18, i64 1188, !18, i64 1192, !16, i64 1196, !16, i64 1200}
!26 = !{!"_ZTS8ImGuiDir", !7, i64 0}
!27 = !{!"_ZTS20ImDrawListSharedData", !17, i64 0, !10, i64 8, !10, i64 16, !18, i64 24, !18, i64 28, !18, i64 32, !18, i64 36, !18, i64 40, !16, i64 44, !28, i64 48, !29, i64 64, !7, i64 80, !18, i64 464, !7, i64 468}
!28 = !{!"_ZTS6ImVec4", !18, i64 0, !18, i64 4, !18, i64 8, !18, i64 12}
!29 = !{!"_ZTS8ImVectorI6ImVec2E", !16, i64 0, !16, i64 4, !10, i64 8}
!30 = !{!"double", !7, i64 0}
!31 = !{!"_ZTS8ImVectorI15ImGuiInputEventE", !16, i64 0, !16, i64 4, !10, i64 8}
!32 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !16, i64 0, !16, i64 4, !10, i64 8}
!33 = !{!"_ZTS8ImVectorI20ImGuiWindowStackDataE", !16, i64 0, !16, i64 4, !10, i64 8}
!34 = !{!"_ZTS12ImGuiStorage", !35, i64 0}
!35 = !{!"_ZTS8ImVectorI16ImGuiStoragePairE", !16, i64 0, !16, i64 4, !10, i64 8}
!36 = !{!"_ZTS16ImGuiInputSource", !7, i64 0}
!37 = !{!"_ZTS24ImGuiDeactivatedItemData", !16, i64 0, !16, i64 4, !6, i64 8, !6, i64 9}
!38 = !{!"_ZTS20ImGuiDataTypeStorage", !7, i64 0}
!39 = !{!"_ZTS10ImBitArrayILi155ELin512EE", !7, i64 0}
!40 = !{!"_ZTS20ImGuiKeyRoutingTable", !7, i64 0, !41, i64 312, !41, i64 328}
!41 = !{!"_ZTS8ImVectorI19ImGuiKeyRoutingDataE", !16, i64 0, !16, i64 4, !10, i64 8}
!42 = !{!"_ZTS17ImGuiNextItemData", !16, i64 0, !16, i64 4, !16, i64 8, !43, i64 16, !18, i64 24, !16, i64 28, !16, i64 32, !6, i64 36, !7, i64 37, !38, i64 38, !16, i64 48}
!43 = !{!"long long", !7, i64 0}
!44 = !{!"_ZTS17ImGuiLastItemData", !16, i64 0, !16, i64 4, !16, i64 8, !45, i64 12, !45, i64 28, !45, i64 44, !45, i64 60, !16, i64 76}
!45 = !{!"_ZTS6ImRect", !17, i64 0, !17, i64 8}
!46 = !{!"_ZTS19ImGuiNextWindowData", !16, i64 0, !16, i64 4, !16, i64 8, !16, i64 12, !16, i64 16, !17, i64 20, !17, i64 28, !17, i64 36, !17, i64 44, !17, i64 52, !16, i64 60, !16, i64 64, !6, i64 68, !6, i64 69, !45, i64 72, !10, i64 88, !10, i64 96, !18, i64 104, !16, i64 108, !16, i64 112, !47, i64 116, !17, i64 148, !16, i64 156}
!47 = !{!"_ZTS16ImGuiWindowClass", !16, i64 0, !16, i64 4, !16, i64 8, !16, i64 12, !16, i64 16, !16, i64 20, !16, i64 24, !6, i64 28, !6, i64 29}
!48 = !{!"_ZTS8ImVectorI13ImGuiColorModE", !16, i64 0, !16, i64 4, !10, i64 8}
!49 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !16, i64 0, !16, i64 4, !10, i64 8}
!50 = !{!"_ZTS8ImVectorIP6ImFontE", !16, i64 0, !16, i64 4, !10, i64 8}
!51 = !{!"_ZTS8ImVectorI19ImGuiFocusScopeDataE", !16, i64 0, !16, i64 4, !10, i64 8}
!52 = !{!"_ZTS8ImVectorIiE", !16, i64 0, !16, i64 4, !10, i64 8}
!53 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !16, i64 0, !16, i64 4, !10, i64 8}
!54 = !{!"_ZTS8ImVectorI14ImGuiPopupDataE", !16, i64 0, !16, i64 4, !10, i64 8}
!55 = !{!"_ZTS8ImVectorI22ImGuiTreeNodeStackDataE", !16, i64 0, !16, i64 4, !10, i64 8}
!56 = !{!"_ZTS8ImVectorIP14ImGuiViewportPE", !16, i64 0, !16, i64 4, !10, i64 8}
!57 = !{!"_ZTS20ImGuiPlatformMonitor", !17, i64 0, !17, i64 8, !17, i64 16, !17, i64 24, !18, i64 32, !10, i64 40}
!58 = !{!"_ZTS13ImGuiNavLayer", !7, i64 0}
!59 = !{!"_ZTS16ImGuiNavItemData", !10, i64 0, !16, i64 8, !16, i64 12, !45, i64 16, !16, i64 32, !18, i64 36, !18, i64 40, !18, i64 44, !43, i64 48}
!60 = !{!"_ZTS8ImGuiKey", !7, i64 0}
!61 = !{!"_ZTS12ImGuiPayload", !10, i64 0, !16, i64 8, !16, i64 12, !16, i64 16, !16, i64 20, !7, i64 24, !6, i64 57, !6, i64 58}
!62 = !{!"_ZTS8ImVectorIhE", !16, i64 0, !16, i64 4, !10, i64 8}
!63 = !{!"_ZTS8ImVectorI20ImGuiListClipperDataE", !16, i64 0, !16, i64 4, !10, i64 8}
!64 = !{!"_ZTS8ImVectorI18ImGuiTableTempDataE", !16, i64 0, !16, i64 4, !10, i64 8}
!65 = !{!"_ZTS6ImPoolI10ImGuiTableE", !66, i64 0, !34, i64 16, !16, i64 32, !16, i64 36}
!66 = !{!"_ZTS8ImVectorI10ImGuiTableE", !16, i64 0, !16, i64 4, !10, i64 8}
!67 = !{!"_ZTS8ImVectorIfE", !16, i64 0, !16, i64 4, !10, i64 8}
!68 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !16, i64 0, !16, i64 4, !10, i64 8}
!69 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !70, i64 0, !34, i64 16, !16, i64 32, !16, i64 36}
!70 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !16, i64 0, !16, i64 4, !10, i64 8}
!71 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !16, i64 0, !16, i64 4, !10, i64 8}
!72 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !16, i64 0, !16, i64 4, !10, i64 8}
!73 = !{!"_ZTS19ImGuiBoxSelectState", !16, i64 0, !6, i64 4, !6, i64 5, !6, i64 6, !6, i64 7, !6, i64 8, !16, i64 9, !17, i64 12, !17, i64 20, !17, i64 28, !10, i64 40, !6, i64 48, !45, i64 52, !45, i64 68, !45, i64 84}
!74 = !{!"_ZTS8ImVectorI24ImGuiMultiSelectTempDataE", !16, i64 0, !16, i64 4, !10, i64 8}
!75 = !{!"_ZTS6ImPoolI21ImGuiMultiSelectStateE", !76, i64 0, !34, i64 16, !16, i64 32, !16, i64 36}
!76 = !{!"_ZTS8ImVectorI21ImGuiMultiSelectStateE", !16, i64 0, !16, i64 4, !10, i64 8}
!77 = !{!"_ZTS19ImGuiInputTextState", !10, i64 0, !10, i64 8, !16, i64 16, !16, i64 20, !16, i64 24, !10, i64 32, !78, i64 40, !78, i64 56, !78, i64 72, !16, i64 88, !17, i64 92, !18, i64 100, !6, i64 104, !6, i64 105, !6, i64 106, !6, i64 107, !16, i64 108, !16, i64 112}
!78 = !{!"_ZTS8ImVectorIcE", !16, i64 0, !16, i64 4, !10, i64 8}
!79 = !{!"_ZTS30ImGuiInputTextDeactivatedState", !16, i64 0, !78, i64 8}
!80 = !{!"_ZTS6ImFont", !67, i64 0, !18, i64 16, !18, i64 20, !21, i64 24, !81, i64 40, !10, i64 56, !10, i64 64, !10, i64 72, !20, i64 80, !20, i64 82, !20, i64 84, !20, i64 86, !18, i64 88, !18, i64 92, !18, i64 96, !18, i64 100, !18, i64 104, !16, i64 108, !6, i64 112, !7, i64 113}
!81 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !16, i64 0, !16, i64 4, !10, i64 8}
!82 = !{!"_ZTS21ImGuiComboPreviewData", !45, i64 0, !17, i64 16, !17, i64 24, !17, i64 32, !18, i64 40, !16, i64 44}
!83 = !{!"_ZTS8ImVectorIjE", !16, i64 0, !16, i64 4, !10, i64 8}
!84 = !{!"_ZTS22ImGuiTypingSelectState", !85, i64 0, !7, i64 24, !16, i64 88, !16, i64 92, !18, i64 96, !6, i64 100}
!85 = !{!"_ZTS24ImGuiTypingSelectRequest", !16, i64 0, !16, i64 4, !10, i64 8, !6, i64 16, !6, i64 17, !7, i64 18}
!86 = !{!"_ZTS20ImGuiPlatformImeData", !6, i64 0, !17, i64 4, !18, i64 12}
!87 = !{!"_ZTS16ImGuiDockContext", !34, i64 0, !88, i64 16, !89, i64 32, !6, i64 48}
!88 = !{!"_ZTS8ImVectorI16ImGuiDockRequestE", !16, i64 0, !16, i64 4, !10, i64 8}
!89 = !{!"_ZTS8ImVectorI21ImGuiDockNodeSettingsE", !16, i64 0, !16, i64 4, !10, i64 8}
!90 = !{!"_ZTS15ImGuiTextBuffer", !78, i64 0}
!91 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !16, i64 0, !16, i64 4, !10, i64 8}
!92 = !{!"_ZTS13ImChunkStreamI19ImGuiWindowSettingsE", !78, i64 0}
!93 = !{!"_ZTS13ImChunkStreamI18ImGuiTableSettingsE", !78, i64 0}
!94 = !{!"_ZTS8ImVectorI16ImGuiContextHookE", !16, i64 0, !16, i64 4, !10, i64 8}
!95 = !{!"_ZTS23ImGuiErrorRecoveryState", !20, i64 0, !20, i64 2, !20, i64 4, !20, i64 6, !20, i64 8, !20, i64 10, !20, i64 12, !20, i64 14, !20, i64 16, !20, i64 18, !20, i64 20}
!96 = !{!"_ZTS14ImGuiTextIndex", !52, i64 0, !16, i64 16}
!97 = !{!"_ZTS18ImGuiMetricsConfig", !6, i64 0, !6, i64 1, !6, i64 2, !6, i64 3, !6, i64 4, !6, i64 5, !6, i64 6, !6, i64 7, !6, i64 8, !16, i64 12, !16, i64 16, !16, i64 20, !16, i64 24}
!98 = !{!"_ZTS16ImGuiIDStackTool", !16, i64 0, !16, i64 4, !16, i64 8, !99, i64 16, !6, i64 32, !18, i64 36, !90, i64 40}
!99 = !{!"_ZTS8ImVectorI19ImGuiStackLevelInfoE", !16, i64 0, !16, i64 4, !10, i64 8}
!100 = !{!"_ZTS19ImGuiDebugAllocInfo", !16, i64 0, !16, i64 4, !20, i64 8, !7, i64 12}
!101 = !{!16, !16, i64 0}
!102 = !{!14, !16, i64 5224}
!103 = !{!104, !105, i64 0}
!104 = !{!"_ZTS15ImGuiInputEvent", !105, i64 0, !36, i64 4, !16, i64 8, !7, i64 12, !6, i64 24}
!105 = !{!"_ZTS19ImGuiInputEventType", !7, i64 0}
!106 = !{!14, !6, i64 195}
!107 = !{!7, !7, i64 0}
!108 = !{i64 0, i64 4, !109, i64 4, i64 4, !109}
!109 = !{!18, !18, i64 0}
!110 = !{!15, !19, i64 256}
!111 = !{!15, !18, i64 252}
!112 = !{!15, !18, i64 248}
!113 = !{!15, !16, i64 260}
!114 = !{!15, !16, i64 0}
!115 = !{!60, !60, i64 0}
!116 = !{!117, !6, i64 0}
!117 = !{!"_ZTS12ImGuiKeyData", !6, i64 0, !18, i64 4, !18, i64 8, !18, i64 12}
!118 = !{!117, !18, i64 12}
!119 = !{!20, !20, i64 0}
!120 = !{!15, !6, i64 3044}
!121 = distinct !{!121, !122}
!122 = !{!"llvm.loop.mustprogress"}
!123 = distinct !{!123, !122}
!124 = !{!14, !16, i64 10564}
!125 = distinct !{!125, !122}
!126 = !{!14, !10, i64 5232}
!127 = !{!14, !6, i64 3052}


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

@GImGui = external dso_local local_unnamed_addr global ptr, align 8
@.str.3 = external hidden unnamed_addr constant [97 x i8], align 1
@.str.225 = external hidden unnamed_addr constant [47 x i8], align 1
@__PRETTY_FUNCTION__._ZN5ImGui17UpdateInputEventsEb = external hidden unnamed_addr constant [36 x i8], align 1
@.str.226 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.227 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.228 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.229 = external hidden unnamed_addr constant [10 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 nounwind uwtable
declare dso_local void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8), float noundef, float noundef) unnamed_addr #1 align 2

; 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 #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 dso_local void @_ZN7ImGuiIO14ClearInputKeysEv(ptr noundef nonnull align 8 dereferenceable(3088)) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7ImGuiIO15ClearInputMouseEv(ptr noundef nonnull align 8 dereferenceable(3088)) local_unnamed_addr #4 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN5ImGui17UpdateInputEventsEb(i1 noundef zeroext %0) local_unnamed_addr #4 {
  %2 = alloca %struct.ImBitArray.56, align 4
  %3 = alloca %struct.ImVec2, align 8
  %4 = alloca i16, align 2
  %5 = load ptr, ptr @GImGui, align 8, !tbaa !5
  %6 = getelementptr inbounds i8, ptr %5, i64 8
  br i1 %0, label %7, label %11

7:                                                ; preds = %1
  %8 = getelementptr inbounds i8, ptr %5, i64 11068
  %9 = load i32, ptr %8, align 4, !tbaa !9
  %10 = icmp eq i32 %9, 1
  br label %11

11:                                               ; preds = %7, %1
  %12 = phi i1 [ false, %1 ], [ %10, %7 ]
  call void @llvm.lifetime.start.p0(i64 20, ptr nonnull %2) #6
  call void @_ZN10ImBitArrayILi155ELi0EEC2Ev(ptr noundef nonnull align 4 dereferenceable(20) %2)
  %13 = getelementptr inbounds i8, ptr %5, i64 5224
  %14 = load i32, ptr %13, align 8, !tbaa !98
  %15 = icmp sgt i32 %14, 0
  br i1 %15, label %.lr.ph, label %._crit_edge..loopexit_crit_edge

.lr.ph:                                           ; preds = %11
  %16 = getelementptr inbounds i8, ptr %5, i64 3052
  %17 = getelementptr inbounds i8, ptr %5, i64 3056
  %18 = getelementptr inbounds i8, ptr %5, i64 280
  %19 = ptrtoint ptr %18 to i64
  %20 = getelementptr inbounds i8, ptr %5, i64 268
  %21 = getelementptr inbounds i8, ptr %5, i64 260
  %22 = getelementptr inbounds i8, ptr %5, i64 256
  %23 = getelementptr inbounds i8, ptr %5, i64 264
  %24 = getelementptr inbounds i8, ptr %5, i64 248
  %25 = getelementptr inbounds i8, ptr %5, i64 195
  %26 = getelementptr inbounds i8, ptr %5, i64 240
  br label %27

27:                                               ; preds = %.lr.ph, %.thread182
  %.0125224 = phi i8 [ 0, %.lr.ph ], [ %.3.ph, %.thread182 ]
  %.0126223 = phi i8 [ 0, %.lr.ph ], [ %.2128.ph, %.thread182 ]
  %.0129222 = phi i1 [ false, %.lr.ph ], [ %.4.ph, %.thread182 ]
  %.0133221 = phi i1 [ false, %.lr.ph ], [ %.5.ph, %.thread182 ]
  %.0138220 = phi i8 [ 0, %.lr.ph ], [ %.3141.ph, %.thread182 ]
  %.0142219 = phi i32 [ 0, %.lr.ph ], [ %.3145.ph, %.thread182 ]
  %.0146217 = phi i32 [ 0, %.lr.ph ], [ %147, %.thread182 ]
  %28 = call noundef nonnull align 4 dereferenceable(25) ptr @_ZN8ImVectorI15ImGuiInputEventEixEi(ptr noundef nonnull align 8 dereferenceable(16) %13, i32 noundef %.0146217)
  %29 = load i32, ptr %28, align 4, !tbaa !99
  switch i32 %29, label %146 [
    i32 1, label %30
    i32 3, label %47
    i32 2, label %71
    i32 4, label %85
    i32 5, label %88
    i32 6, label %125
    i32 7, label %142
  ]

30:                                               ; preds = %27
  %31 = load i8, ptr %25, align 1, !tbaa !102, !range !103, !noundef !104
  %32 = trunc nuw i8 %31 to i1
  br i1 %32, label %.thread182, label %33

33:                                               ; preds = %30
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #6
  %34 = getelementptr inbounds i8, ptr %28, i64 12
  %35 = load float, ptr %34, align 4, !tbaa !105
  %36 = getelementptr inbounds i8, ptr %28, i64 16
  %37 = load float, ptr %36, align 4, !tbaa !105
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %3, float noundef %35, float noundef %37)
  br i1 %0, label %38, label %43

38:                                               ; preds = %33
  %.not160 = icmp ne i32 %.0142219, 0
  %39 = trunc nuw i8 %.0126223 to i1
  %40 = select i1 %.not160, i1 true, i1 %39
  %or.cond207 = select i1 %40, i1 true, i1 %.0129222
  br i1 %or.cond207, label %.thread, label %41

41:                                               ; preds = %38
  %42 = trunc nuw i8 %.0138220 to i1
  br i1 %42, label %.thread, label %43

.thread:                                          ; preds = %41, %38
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #6
  br label %.thread177

43:                                               ; preds = %33, %41
  %44 = load i64, ptr %3, align 8
  store i64 %44, ptr %26, align 8
  %45 = getelementptr inbounds i8, ptr %28, i64 20
  %46 = load i32, ptr %45, align 4, !tbaa !105
  store i32 %46, ptr %23, align 8, !tbaa !106
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #6
  br label %.thread182

47:                                               ; preds = %27
  %48 = getelementptr inbounds i8, ptr %28, i64 12
  %49 = load i32, ptr %48, align 4, !tbaa !105
  %50 = icmp ult i32 %49, 5
  br i1 %50, label %52, label %51

51:                                               ; preds = %47
  call void @__assert_fail(ptr noundef nonnull @.str.225, ptr noundef nonnull @.str.3, i32 noundef 10456, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5ImGui17UpdateInputEventsEb) #7
  unreachable

52:                                               ; preds = %47
  %53 = shl nuw nsw i32 1, %49
  br i1 %0, label %54, label %._crit_edge266

54:                                               ; preds = %52
  %55 = and i32 %53, %.0142219
  %.not159 = icmp eq i32 %55, 0
  br i1 %.not159, label %56, label %.thread177

56:                                               ; preds = %54
  %57 = trunc nuw i8 %.0126223 to i1
  br i1 %57, label %.thread177, label %58

58:                                               ; preds = %56
  %59 = getelementptr inbounds i8, ptr %28, i64 20
  %60 = load i32, ptr %59, align 4
  %61 = icmp eq i32 %60, 1
  br i1 %61, label %62, label %._crit_edge266

62:                                               ; preds = %58
  %63 = trunc nuw i8 %.0125224 to i1
  br i1 %63, label %.thread177, label %._crit_edge266

._crit_edge266:                                   ; preds = %52, %58, %62
  %64 = getelementptr inbounds i8, ptr %28, i64 16
  %65 = load i8, ptr %64, align 4, !tbaa !105, !range !103, !noundef !104
  %66 = zext nneg i32 %49 to i64
  %67 = getelementptr inbounds [5 x i8], ptr %24, i64 0, i64 %66
  store i8 %65, ptr %67, align 1, !tbaa !107
  %68 = getelementptr inbounds i8, ptr %28, i64 20
  %69 = load i32, ptr %68, align 4, !tbaa !105
  store i32 %69, ptr %23, align 8, !tbaa !106
  %70 = or i32 %53, %.0142219
  br label %.thread182

71:                                               ; preds = %27
  %72 = trunc nuw i8 %.0125224 to i1
  %73 = icmp ne i32 %.0142219, 0
  %or.cond = select i1 %72, i1 true, i1 %73
  %or.cond167 = select i1 %0, i1 %or.cond, i1 false
  br i1 %or.cond167, label %.thread177, label %74

74:                                               ; preds = %71
  %75 = getelementptr inbounds i8, ptr %28, i64 12
  %76 = load float, ptr %75, align 4, !tbaa !105
  %77 = load float, ptr %21, align 4, !tbaa !108
  %78 = fadd float %76, %77
  store float %78, ptr %21, align 4, !tbaa !108
  %79 = getelementptr inbounds i8, ptr %28, i64 16
  %80 = load float, ptr %79, align 4, !tbaa !105
  %81 = load float, ptr %22, align 8, !tbaa !109
  %82 = fadd float %80, %81
  store float %82, ptr %22, align 8, !tbaa !109
  %83 = getelementptr inbounds i8, ptr %28, i64 20
  %84 = load i32, ptr %83, align 4, !tbaa !105
  store i32 %84, ptr %23, align 8, !tbaa !106
  br label %.thread182

85:                                               ; preds = %27
  %86 = getelementptr inbounds i8, ptr %28, i64 12
  %87 = load i32, ptr %86, align 4, !tbaa !105
  store i32 %87, ptr %20, align 4, !tbaa !110
  br label %.thread182

88:                                               ; preds = %27
  %89 = load i32, ptr %6, align 8, !tbaa !111
  %90 = and i32 %89, 64
  %.not156 = icmp eq i32 %90, 0
  br i1 %.not156, label %91, label %.thread182

91:                                               ; preds = %88
  %92 = getelementptr inbounds i8, ptr %28, i64 12
  %93 = load i32, ptr %92, align 4, !tbaa !105
  %.not157 = icmp eq i32 %93, 0
  br i1 %.not157, label %94, label %95

94:                                               ; preds = %91
  call void @__assert_fail(ptr noundef nonnull @.str.226, ptr noundef nonnull @.str.3, i32 noundef 10485, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5ImGui17UpdateInputEventsEb) #7
  unreachable

95:                                               ; preds = %91
  %96 = call noundef ptr @_ZN5ImGui10GetKeyDataE8ImGuiKey(i32 noundef %93)
  %97 = ptrtoint ptr %96 to i64
  %98 = sub i64 %97, %19
  %99 = lshr exact i64 %98, 4
  %100 = trunc i64 %99 to i32
  br i1 %0, label %101, label %108

101:                                              ; preds = %95
  %102 = load i8, ptr %96, align 4, !tbaa !112, !range !103, !noundef !104
  %103 = getelementptr inbounds i8, ptr %28, i64 16
  %104 = load i8, ptr %103, align 4, !tbaa !105, !range !103, !noundef !104
  %.not158 = icmp eq i8 %102, %104
  br i1 %.not158, label %108, label %105

105:                                              ; preds = %101
  %106 = call noundef zeroext i1 @_ZNK10ImBitArrayILi155ELi0EE7TestBitEi(ptr noundef nonnull align 4 dereferenceable(20) %2, i32 noundef %100)
  %107 = icmp ne i32 %.0142219, 0
  %or.cond5 = select i1 %106, i1 true, i1 %107
  br i1 %or.cond5, label %.thread177, label %108

108:                                              ; preds = %105, %101, %95
  %109 = call noundef i32 @_ZL21GetMergedModsFromKeysv()
  %110 = or i32 %109, %93
  %111 = call noundef zeroext i1 @_ZL30IsKeyChordPotentiallyCharInputi(i32 noundef %110)
  br i1 %12, label %112, label %.critedge170

112:                                              ; preds = %108
  %113 = trunc nuw i8 %.0138220 to i1
  %.not168 = xor i1 %113, true
  %brmerge = or i1 %111, %.not168
  br i1 %brmerge, label %114, label %.thread177

114:                                              ; preds = %112
  %115 = getelementptr inbounds i8, ptr %28, i64 16
  %116 = load i8, ptr %115, align 4, !tbaa !105, !range !103, !noundef !104
  store i8 %116, ptr %96, align 4, !tbaa !112
  %117 = getelementptr inbounds i8, ptr %28, i64 20
  %118 = load float, ptr %117, align 4, !tbaa !105
  %119 = getelementptr inbounds i8, ptr %96, i64 12
  store float %118, ptr %119, align 4, !tbaa !114
  call void @_ZN10ImBitArrayILi155ELi0EE6SetBitEi(ptr noundef nonnull align 4 dereferenceable(20) %2, i32 noundef %100)
  %not. = xor i1 %111, true
  %spec.select = select i1 %not., i1 true, i1 %.0133221
  br label %.thread182

.critedge170:                                     ; preds = %108
  %120 = getelementptr inbounds i8, ptr %28, i64 16
  %121 = load i8, ptr %120, align 4, !tbaa !105, !range !103, !noundef !104
  store i8 %121, ptr %96, align 4, !tbaa !112
  %122 = getelementptr inbounds i8, ptr %28, i64 20
  %123 = load float, ptr %122, align 4, !tbaa !105
  %124 = getelementptr inbounds i8, ptr %96, i64 12
  store float %123, ptr %124, align 4, !tbaa !114
  call void @_ZN10ImBitArrayILi155ELi0EE6SetBitEi(ptr noundef nonnull align 4 dereferenceable(20) %2, i32 noundef %100)
  br label %.thread182

125:                                              ; preds = %27
  %126 = load i32, ptr %6, align 8, !tbaa !111
  %127 = and i32 %126, 64
  %.not = icmp eq i32 %127, 0
  br i1 %.not, label %128, label %.thread182

128:                                              ; preds = %125
  br i1 %0, label %129, label %135

129:                                              ; preds = %128
  %.not155 = icmp eq i32 %.0142219, 0
  br i1 %.not155, label %130, label %.thread177

130:                                              ; preds = %129
  %131 = trunc nuw i8 %.0125224 to i1
  %132 = trunc nuw i8 %.0126223 to i1
  %133 = select i1 %12, i1 %.0133221, i1 false
  %134 = select i1 %131, i1 true, i1 %132
  %or.cond293 = select i1 %134, i1 true, i1 %133
  br i1 %or.cond293, label %.thread177, label %136

135:                                              ; preds = %128
  %.old = select i1 %12, i1 %.0133221, i1 false
  br i1 %.old, label %.thread177, label %136

136:                                              ; preds = %130, %135
  %.0138.mux = select i1 %12, i8 1, i8 %.0138220
  %137 = getelementptr inbounds i8, ptr %28, i64 12
  %138 = load i32, ptr %137, align 4, !tbaa !105
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %4) #6
  %139 = icmp ult i32 %138, 65536
  %140 = trunc i32 %138 to i16
  %141 = select i1 %139, i16 %140, i16 -3
  store i16 %141, ptr %4, align 2, !tbaa !115
  call void @_ZN8ImVectorItE9push_backERKt(ptr noundef nonnull align 8 dereferenceable(16) %17, ptr noundef nonnull align 2 dereferenceable(2) %4)
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %4) #6
  br label %.thread182

142:                                              ; preds = %27
  %143 = getelementptr inbounds i8, ptr %28, i64 12
  %144 = load i8, ptr %143, align 4, !tbaa !105, !range !103, !noundef !104
  %145 = xor i8 %144, 1
  store i8 %145, ptr %16, align 4, !tbaa !116
  br label %.thread182

146:                                              ; preds = %27
  call void @__assert_fail(ptr noundef nonnull @.str.227, ptr noundef nonnull @.str.3, i32 noundef 10525, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5ImGui17UpdateInputEventsEb) #7
  unreachable

.thread182:                                       ; preds = %114, %.critedge170, %30, %88, %125, %._crit_edge266, %43, %85, %136, %142, %74
  %.3145.ph = phi i32 [ %.0142219, %142 ], [ %.0142219, %136 ], [ %.0142219, %85 ], [ %.0142219, %74 ], [ %70, %._crit_edge266 ], [ %.0142219, %43 ], [ %.0142219, %125 ], [ %.0142219, %88 ], [ %.0142219, %30 ], [ %.0142219, %.critedge170 ], [ %.0142219, %114 ]
  %.3141.ph = phi i8 [ %.0138220, %142 ], [ %.0138.mux, %136 ], [ %.0138220, %85 ], [ %.0138220, %74 ], [ %.0138220, %._crit_edge266 ], [ %.0138220, %43 ], [ %.0138220, %125 ], [ %.0138220, %88 ], [ %.0138220, %30 ], [ %.0138220, %.critedge170 ], [ %.0138220, %114 ]
  %.5.ph = phi i1 [ %.0133221, %142 ], [ %.0133221, %136 ], [ %.0133221, %85 ], [ %.0133221, %74 ], [ %.0133221, %._crit_edge266 ], [ %.0133221, %43 ], [ %.0133221, %125 ], [ %.0133221, %88 ], [ %.0133221, %30 ], [ %.0133221, %.critedge170 ], [ %spec.select, %114 ]
  %.4.ph = phi i1 [ %.0129222, %142 ], [ %.0129222, %136 ], [ %.0129222, %85 ], [ %.0129222, %74 ], [ %.0129222, %._crit_edge266 ], [ %.0129222, %43 ], [ %.0129222, %125 ], [ %.0129222, %88 ], [ %.0129222, %30 ], [ true, %.critedge170 ], [ true, %114 ]
  %.2128.ph = phi i8 [ %.0126223, %142 ], [ %.0126223, %136 ], [ %.0126223, %85 ], [ 1, %74 ], [ %.0126223, %._crit_edge266 ], [ %.0126223, %43 ], [ %.0126223, %125 ], [ %.0126223, %88 ], [ %.0126223, %30 ], [ %.0126223, %.critedge170 ], [ %.0126223, %114 ]
  %.3.ph = phi i8 [ %.0125224, %142 ], [ %.0125224, %136 ], [ %.0125224, %85 ], [ %.0125224, %74 ], [ %.0125224, %._crit_edge266 ], [ 1, %43 ], [ %.0125224, %125 ], [ %.0125224, %88 ], [ %.0125224, %30 ], [ %.0125224, %.critedge170 ], [ %.0125224, %114 ]
  %147 = add nuw nsw i32 %.0146217, 1
  %148 = load i32, ptr %13, align 8, !tbaa !98
  %149 = icmp slt i32 %147, %148
  br i1 %149, label %27, label %.lr.ph257, !llvm.loop !117

.thread177:                                       ; preds = %135, %62, %54, %56, %105, %112, %129, %130, %71, %.thread
  %.not260 = icmp eq i32 %.0146217, 0
  br i1 %.not260, label %._crit_edge..loopexit_crit_edge, label %.lr.ph257

.lr.ph257:                                        ; preds = %.thread182, %.thread177
  %.0146216275 = phi i32 [ %.0146217, %.thread177 ], [ %147, %.thread182 ]
  %150 = getelementptr inbounds i8, ptr %5, i64 5240
  br label %151

._crit_edge..loopexit_crit_edge:                  ; preds = %11, %.thread177
  %.pre = load i32, ptr %13, align 8, !tbaa !98
  br label %.loopexit

151:                                              ; preds = %.lr.ph257, %151
  %.0124256 = phi i32 [ 0, %.lr.ph257 ], [ %153, %151 ]
  %152 = call noundef nonnull align 4 dereferenceable(25) ptr @_ZN8ImVectorI15ImGuiInputEventEixEi(ptr noundef nonnull align 8 dereferenceable(16) %13, i32 noundef %.0124256)
  call void @_ZN8ImVectorI15ImGuiInputEventE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(16) %150, ptr noundef nonnull align 4 dereferenceable(25) %152)
  %153 = add nuw nsw i32 %.0124256, 1
  %exitcond.not = icmp eq i32 %153, %.0146216275
  br i1 %exitcond.not, label %._crit_edge, label %151, !llvm.loop !119

._crit_edge:                                      ; preds = %151
  %154 = getelementptr inbounds i8, ptr %5, i64 10564
  %155 = load i32, ptr %154, align 4, !tbaa !120
  %156 = and i32 %155, 128
  %.not162 = icmp ne i32 %156, 0
  %.pre265 = load i32, ptr %13, align 8, !tbaa !98
  %157 = icmp sgt i32 %.pre265, 0
  %or.cond290 = select i1 %.not162, i1 %157, i1 false
  br i1 %or.cond290, label %.lr.ph259, label %.loopexit

.lr.ph259:                                        ; preds = %._crit_edge, %.lr.ph259
  %.0258 = phi i32 [ %160, %.lr.ph259 ], [ 0, %._crit_edge ]
  %158 = icmp ult i32 %.0258, %.0146216275
  %.str.228..str.229 = select i1 %158, ptr @.str.228, ptr @.str.229
  %159 = call noundef nonnull align 4 dereferenceable(25) ptr @_ZN8ImVectorI15ImGuiInputEventEixEi(ptr noundef nonnull align 8 dereferenceable(16) %13, i32 noundef %.0258)
  call void @_ZL20DebugPrintInputEventPKcPK15ImGuiInputEvent(ptr noundef nonnull %.str.228..str.229, ptr noundef nonnull %159)
  %160 = add nuw nsw i32 %.0258, 1
  %161 = load i32, ptr %13, align 8, !tbaa !98
  %162 = icmp slt i32 %160, %161
  br i1 %162, label %.lr.ph259, label %.loopexit, !llvm.loop !121

.loopexit:                                        ; preds = %.lr.ph259, %._crit_edge..loopexit_crit_edge, %._crit_edge
  %.0146216270279 = phi i32 [ 0, %._crit_edge..loopexit_crit_edge ], [ %.0146216275, %._crit_edge ], [ %.0146216275, %.lr.ph259 ]
  %163 = phi i32 [ %.pre, %._crit_edge..loopexit_crit_edge ], [ %.pre265, %._crit_edge ], [ %161, %.lr.ph259 ]
  %164 = icmp eq i32 %.0146216270279, %163
  br i1 %164, label %165, label %166

165:                                              ; preds = %.loopexit
  call void @_ZN8ImVectorI15ImGuiInputEventE6resizeEi(ptr noundef nonnull align 8 dereferenceable(16) %13, i32 noundef 0)
  br label %172

166:                                              ; preds = %.loopexit
  %167 = getelementptr inbounds i8, ptr %5, i64 5232
  %168 = load ptr, ptr %167, align 8, !tbaa !122
  %169 = zext nneg i32 %.0146216270279 to i64
  %170 = getelementptr inbounds %struct.ImGuiInputEvent, ptr %168, i64 %169
  %171 = call noundef ptr @_ZN8ImVectorI15ImGuiInputEventE5eraseEPKS0_S3_(ptr noundef nonnull align 8 dereferenceable(16) %13, ptr noundef %168, ptr noundef %170)
  br label %172

172:                                              ; preds = %166, %165
  %173 = getelementptr inbounds i8, ptr %5, i64 3052
  %174 = load i8, ptr %173, align 4, !tbaa !123, !range !103, !noundef !104
  %175 = trunc nuw i8 %174 to i1
  br i1 %175, label %176, label %177

176:                                              ; preds = %172
  call void @_ZN7ImGuiIO14ClearInputKeysEv(ptr noundef nonnull align 8 dereferenceable(3088) %6)
  call void @_ZN7ImGuiIO15ClearInputMouseEv(ptr noundef nonnull align 8 dereferenceable(3088) %6)
  br label %177

177:                                              ; preds = %176, %172
  call void @llvm.lifetime.end.p0(i64 20, ptr nonnull %2) #6
  ret void
}

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef ptr @_ZN5ImGui10GetKeyDataE8ImGuiKey(i32 noundef) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare hidden noundef zeroext i1 @_ZL30IsKeyChordPotentiallyCharInputi(i32 noundef) local_unnamed_addr #4

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK10ImBitArrayILi155ELi0EE7TestBitEi(ptr noundef nonnull align 4 dereferenceable(20), i32 noundef) local_unnamed_addr #1 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN10ImBitArrayILi155ELi0EE6SetBitEi(ptr noundef nonnull align 4 dereferenceable(20), i32 noundef) local_unnamed_addr #1 align 2

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

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

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { 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 #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 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { nounwind }
attributes #7 = { noreturn nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !13, i64 11068}
!10 = !{!"_ZTS12ImGuiContext", !11, i64 0, !11, i64 1, !12, i64 8, !19, i64 3096, !22, i64 3392, !13, i64 4596, !13, i64 4600, !6, i64 4608, !15, i64 4616, !15, i64 4620, !15, i64 4624, !15, i64 4628, !24, i64 4632, !27, i64 5168, !13, i64 5176, !13, i64 5180, !13, i64 5184, !13, i64 5188, !13, i64 5192, !11, i64 5196, !11, i64 5197, !11, i64 5198, !11, i64 5199, !6, i64 5200, !7, i64 5208, !28, i64 5224, !28, i64 5240, !16, i64 5256, !13, i64 5260, !29, i64 5264, !29, i64 5280, !29, i64 5296, !30, i64 5312, !31, i64 5328, !13, i64 5344, !15, i64 5348, !13, i64 5352, !6, i64 5360, !6, i64 5368, !6, i64 5376, !6, i64 5384, !6, i64 5392, !6, i64 5400, !14, i64 5408, !13, i64 5416, !13, i64 5420, !15, i64 5424, !14, i64 5428, !14, i64 5436, !13, i64 5444, !13, i64 5448, !13, i64 5452, !13, i64 5456, !13, i64 5460, !15, i64 5464, !15, i64 5468, !11, i64 5472, !11, i64 5473, !11, i64 5474, !13, i64 5476, !13, i64 5480, !15, i64 5484, !11, i64 5488, !11, i64 5489, !11, i64 5490, !11, i64 5491, !11, i64 5492, !11, i64 5493, !11, i64 5494, !13, i64 5495, !14, i64 5496, !6, i64 5504, !33, i64 5512, !13, i64 5516, !34, i64 5520, !35, i64 5532, !13, i64 5540, !15, i64 5544, !27, i64 5552, !27, i64 5560, !27, i64 5568, !36, i64 5576, !7, i64 5596, !37, i64 7456, !13, i64 7800, !11, i64 7804, !13, i64 7808, !13, i64 7812, !13, i64 7816, !13, i64 7820, !39, i64 7824, !41, i64 7880, !43, i64 7960, !11, i64 8120, !13, i64 8124, !45, i64 8128, !46, i64 8144, !47, i64 8160, !48, i64 8176, !49, i64 8192, !50, i64 8208, !51, i64 8224, !51, i64 8240, !52, i64 8256, !53, i64 8272, !6, i64 8288, !6, i64 8296, !6, i64 8304, !13, i64 8312, !54, i64 8320, !42, i64 8368, !13, i64 8384, !13, i64 8388, !13, i64 8392, !11, i64 8396, !11, i64 8397, !11, i64 8398, !11, i64 8399, !13, i64 8400, !6, i64 8408, !13, i64 8416, !55, i64 8420, !13, i64 8424, !13, i64 8428, !13, i64 8432, !13, i64 8436, !48, i64 8440, !13, i64 8456, !15, i64 8460, !13, i64 8464, !13, i64 8468, !33, i64 8472, !40, i64 8480, !7, i64 8488, !11, i64 8489, !11, i64 8490, !11, i64 8491, !56, i64 8496, !11, i64 8552, !11, i64 8553, !11, i64 8554, !13, i64 8556, !13, i64 8560, !13, i64 8564, !23, i64 8568, !23, i64 8572, !23, i64 8576, !42, i64 8580, !42, i64 8596, !13, i64 8612, !13, i64 8616, !13, i64 8620, !56, i64 8624, !56, i64 8680, !56, i64 8736, !56, i64 8792, !13, i64 8848, !13, i64 8852, !13, i64 8856, !13, i64 8860, !11, i64 8864, !11, i64 8865, !13, i64 8868, !13, i64 8872, !6, i64 8880, !6, i64 8888, !6, i64 8896, !15, i64 8904, !15, i64 8908, !11, i64 8912, !57, i64 8916, !14, i64 8920, !14, i64 8928, !15, i64 8936, !11, i64 8940, !11, i64 8941, !11, i64 8942, !13, i64 8944, !13, i64 8948, !13, i64 8952, !58, i64 8960, !42, i64 9024, !42, i64 9040, !13, i64 9056, !13, i64 9060, !15, i64 9064, !13, i64 9068, !13, i64 9072, !13, i64 9076, !13, i64 9080, !59, i64 9088, !7, i64 9104, !13, i64 9120, !60, i64 9128, !6, i64 9144, !13, i64 9152, !13, i64 9156, !61, i64 9160, !62, i64 9176, !64, i64 9216, !65, i64 9232, !6, i64 9248, !66, i64 9256, !68, i64 9296, !69, i64 9312, !70, i64 9328, !6, i64 9432, !13, i64 9440, !71, i64 9448, !72, i64 9464, !13, i64 9504, !13, i64 9508, !15, i64 9512, !15, i64 9516, !13, i64 9520, !13, i64 9524, !13, i64 9528, !15, i64 9532, !14, i64 9536, !74, i64 9544, !76, i64 9664, !77, i64 9688, !13, i64 9808, !35, i64 9812, !13, i64 9820, !13, i64 9824, !13, i64 9828, !13, i64 9832, !13, i64 9836, !15, i64 9840, !15, i64 9844, !13, i64 9848, !25, i64 9852, !79, i64 9868, !42, i64 9916, !11, i64 9932, !17, i64 9934, !15, i64 9936, !15, i64 9940, !15, i64 9944, !11, i64 9948, !11, i64 9949, !15, i64 9952, !15, i64 9956, !15, i64 9960, !17, i64 9964, !17, i64 9966, !6, i64 9968, !75, i64 9976, !80, i64 9992, !81, i64 10008, !83, i64 10112, !83, i64 10128, !13, i64 10144, !84, i64 10152, !6, i64 10208, !11, i64 10216, !15, i64 10220, !87, i64 10224, !88, i64 10240, !89, i64 10256, !90, i64 10272, !91, i64 10288, !13, i64 10304, !7, i64 10312, !11, i64 10416, !13, i64 10420, !6, i64 10424, !6, i64 10432, !87, i64 10440, !6, i64 10456, !6, i64 10464, !15, i64 10472, !11, i64 10476, !13, i64 10480, !13, i64 10484, !13, i64 10488, !6, i64 10496, !6, i64 10504, !14, i64 10512, !11, i64 10520, !13, i64 10524, !92, i64 10528, !6, i64 10552, !13, i64 10560, !13, i64 10564, !87, i64 10568, !93, i64 10584, !13, i64 10608, !13, i64 10612, !7, i64 10616, !7, i64 10617, !11, i64 10618, !13, i64 10620, !7, i64 10624, !11, i64 10625, !7, i64 10626, !13, i64 10628, !15, i64 10632, !25, i64 10636, !94, i64 10652, !95, i64 10680, !97, i64 10736, !6, i64 10800, !7, i64 10808, !13, i64 11048, !13, i64 11052, !15, i64 11056, !13, i64 11060, !13, i64 11064, !13, i64 11068, !75, i64 11072, !7, i64 11088}
!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, !11, i64 89, !11, i64 90, !11, i64 91, !11, i64 92, !11, i64 93, !11, i64 94, !11, i64 95, !11, i64 96, !11, i64 97, !11, i64 98, !11, i64 99, !11, i64 100, !11, i64 101, !11, i64 102, !11, i64 103, !11, i64 104, !15, i64 108, !15, i64 112, !15, i64 116, !15, i64 120, !15, i64 124, !15, i64 128, !11, i64 132, !11, i64 133, !11, i64 134, !11, i64 135, !11, i64 136, !11, i64 137, !11, i64 138, !11, i64 139, !11, i64 140, !11, i64 141, !11, i64 142, !6, i64 144, !6, i64 152, !6, i64 160, !6, i64 168, !6, i64 176, !11, i64 184, !11, i64 185, !11, i64 186, !11, i64 187, !11, i64 188, !11, i64 189, !11, i64 190, !15, i64 192, !13, i64 196, !13, i64 200, !13, i64 204, !13, i64 208, !14, i64 212, !6, i64 224, !14, i64 232, !7, i64 240, !15, i64 248, !15, i64 252, !16, i64 256, !13, i64 260, !11, i64 264, !11, i64 265, !11, i64 266, !11, i64 267, !13, i64 268, !7, i64 272, !11, i64 2752, !14, i64 2756, !7, i64 2764, !7, i64 2808, !7, i64 2848, !7, i64 2853, !7, i64 2858, !7, i64 2868, !7, i64 2878, !7, i64 2888, !7, i64 2928, !7, i64 2933, !11, i64 2938, !11, i64 2939, !7, i64 2940, !7, i64 2960, !7, i64 2980, !7, i64 3020, !15, i64 3040, !11, i64 3044, !11, i64 3045, !17, i64 3046, !18, i64 3048, !6, i64 3064, !6, i64 3072, !6, i64 3080}
!13 = !{!"int", !7, i64 0}
!14 = !{!"_ZTS6ImVec2", !15, i64 0, !15, i64 4}
!15 = !{!"float", !7, i64 0}
!16 = !{!"_ZTS16ImGuiMouseSource", !7, i64 0}
!17 = !{!"short", !7, i64 0}
!18 = !{!"_ZTS8ImVectorItE", !13, i64 0, !13, i64 4, !6, i64 8}
!19 = !{!"_ZTS15ImGuiPlatformIO", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !17, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !6, i64 88, !6, i64 96, !6, i64 104, !6, i64 112, !6, 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, !6, i64 216, !6, i64 224, !6, i64 232, !6, i64 240, !6, i64 248, !6, i64 256, !20, i64 264, !21, i64 280}
!20 = !{!"_ZTS8ImVectorI20ImGuiPlatformMonitorE", !13, i64 0, !13, i64 4, !6, i64 8}
!21 = !{!"_ZTS8ImVectorIP13ImGuiViewportE", !13, i64 0, !13, i64 4, !6, i64 8}
!22 = !{!"_ZTS10ImGuiStyle", !15, i64 0, !15, i64 4, !14, i64 8, !15, i64 16, !15, i64 20, !15, i64 24, !14, i64 28, !14, i64 36, !23, i64 44, !15, i64 48, !15, i64 52, !15, i64 56, !15, i64 60, !14, i64 64, !15, i64 72, !15, i64 76, !14, i64 80, !14, i64 88, !14, i64 96, !14, i64 104, !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, !15, i64 160, !15, i64 164, !15, i64 168, !14, i64 172, !23, i64 180, !14, i64 184, !14, i64 192, !15, i64 200, !14, i64 204, !14, i64 212, !14, i64 220, !14, i64 228, !15, i64 236, !15, i64 240, !11, i64 244, !11, i64 245, !11, i64 246, !15, i64 248, !15, i64 252, !7, i64 256, !15, i64 1184, !15, i64 1188, !15, i64 1192, !13, i64 1196, !13, i64 1200}
!23 = !{!"_ZTS8ImGuiDir", !7, i64 0}
!24 = !{!"_ZTS20ImDrawListSharedData", !14, i64 0, !6, i64 8, !6, i64 16, !15, i64 24, !15, i64 28, !15, i64 32, !15, i64 36, !15, i64 40, !13, i64 44, !25, i64 48, !26, i64 64, !7, i64 80, !15, i64 464, !7, i64 468}
!25 = !{!"_ZTS6ImVec4", !15, i64 0, !15, i64 4, !15, i64 8, !15, i64 12}
!26 = !{!"_ZTS8ImVectorI6ImVec2E", !13, i64 0, !13, i64 4, !6, i64 8}
!27 = !{!"double", !7, i64 0}
!28 = !{!"_ZTS8ImVectorI15ImGuiInputEventE", !13, i64 0, !13, i64 4, !6, i64 8}
!29 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !13, i64 0, !13, i64 4, !6, i64 8}
!30 = !{!"_ZTS8ImVectorI20ImGuiWindowStackDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!31 = !{!"_ZTS12ImGuiStorage", !32, i64 0}
!32 = !{!"_ZTS8ImVectorI16ImGuiStoragePairE", !13, i64 0, !13, i64 4, !6, i64 8}
!33 = !{!"_ZTS16ImGuiInputSource", !7, i64 0}
!34 = !{!"_ZTS24ImGuiDeactivatedItemData", !13, i64 0, !13, i64 4, !11, i64 8, !11, i64 9}
!35 = !{!"_ZTS20ImGuiDataTypeStorage", !7, i64 0}
!36 = !{!"_ZTS10ImBitArrayILi155ELin512EE", !7, i64 0}
!37 = !{!"_ZTS20ImGuiKeyRoutingTable", !7, i64 0, !38, i64 312, !38, i64 328}
!38 = !{!"_ZTS8ImVectorI19ImGuiKeyRoutingDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!39 = !{!"_ZTS17ImGuiNextItemData", !13, i64 0, !13, i64 4, !13, i64 8, !40, i64 16, !15, i64 24, !13, i64 28, !13, i64 32, !11, i64 36, !7, i64 37, !35, i64 38, !13, i64 48}
!40 = !{!"long long", !7, i64 0}
!41 = !{!"_ZTS17ImGuiLastItemData", !13, i64 0, !13, i64 4, !13, i64 8, !42, i64 12, !42, i64 28, !42, i64 44, !42, i64 60, !13, i64 76}
!42 = !{!"_ZTS6ImRect", !14, i64 0, !14, i64 8}
!43 = !{!"_ZTS19ImGuiNextWindowData", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12, !13, i64 16, !14, i64 20, !14, i64 28, !14, i64 36, !14, i64 44, !14, i64 52, !13, i64 60, !13, i64 64, !11, i64 68, !11, i64 69, !42, i64 72, !6, i64 88, !6, i64 96, !15, i64 104, !13, i64 108, !13, i64 112, !44, i64 116, !14, i64 148, !13, i64 156}
!44 = !{!"_ZTS16ImGuiWindowClass", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12, !13, i64 16, !13, i64 20, !13, i64 24, !11, i64 28, !11, i64 29}
!45 = !{!"_ZTS8ImVectorI13ImGuiColorModE", !13, i64 0, !13, i64 4, !6, i64 8}
!46 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !13, i64 0, !13, i64 4, !6, i64 8}
!47 = !{!"_ZTS8ImVectorIP6ImFontE", !13, i64 0, !13, i64 4, !6, i64 8}
!48 = !{!"_ZTS8ImVectorI19ImGuiFocusScopeDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!49 = !{!"_ZTS8ImVectorIiE", !13, i64 0, !13, i64 4, !6, i64 8}
!50 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!51 = !{!"_ZTS8ImVectorI14ImGuiPopupDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!52 = !{!"_ZTS8ImVectorI22ImGuiTreeNodeStackDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!53 = !{!"_ZTS8ImVectorIP14ImGuiViewportPE", !13, i64 0, !13, i64 4, !6, i64 8}
!54 = !{!"_ZTS20ImGuiPlatformMonitor", !14, i64 0, !14, i64 8, !14, i64 16, !14, i64 24, !15, i64 32, !6, i64 40}
!55 = !{!"_ZTS13ImGuiNavLayer", !7, i64 0}
!56 = !{!"_ZTS16ImGuiNavItemData", !6, i64 0, !13, i64 8, !13, i64 12, !42, i64 16, !13, i64 32, !15, i64 36, !15, i64 40, !15, i64 44, !40, i64 48}
!57 = !{!"_ZTS8ImGuiKey", !7, i64 0}
!58 = !{!"_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}
!59 = !{!"_ZTS8ImVectorIhE", !13, i64 0, !13, i64 4, !6, i64 8}
!60 = !{!"_ZTS8ImVectorI20ImGuiListClipperDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!61 = !{!"_ZTS8ImVectorI18ImGuiTableTempDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!62 = !{!"_ZTS6ImPoolI10ImGuiTableE", !63, i64 0, !31, i64 16, !13, i64 32, !13, i64 36}
!63 = !{!"_ZTS8ImVectorI10ImGuiTableE", !13, i64 0, !13, i64 4, !6, i64 8}
!64 = !{!"_ZTS8ImVectorIfE", !13, i64 0, !13, i64 4, !6, i64 8}
!65 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !13, i64 0, !13, i64 4, !6, i64 8}
!66 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !67, i64 0, !31, i64 16, !13, i64 32, !13, i64 36}
!67 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !13, i64 0, !13, i64 4, !6, i64 8}
!68 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !13, i64 0, !13, i64 4, !6, i64 8}
!69 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !13, i64 0, !13, i64 4, !6, i64 8}
!70 = !{!"_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, !42, i64 52, !42, i64 68, !42, i64 84}
!71 = !{!"_ZTS8ImVectorI24ImGuiMultiSelectTempDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!72 = !{!"_ZTS6ImPoolI21ImGuiMultiSelectStateE", !73, i64 0, !31, i64 16, !13, i64 32, !13, i64 36}
!73 = !{!"_ZTS8ImVectorI21ImGuiMultiSelectStateE", !13, i64 0, !13, i64 4, !6, i64 8}
!74 = !{!"_ZTS19ImGuiInputTextState", !6, i64 0, !6, i64 8, !13, i64 16, !13, i64 20, !13, i64 24, !6, i64 32, !75, i64 40, !75, i64 56, !75, i64 72, !13, i64 88, !14, i64 92, !15, i64 100, !11, i64 104, !11, i64 105, !11, i64 106, !11, i64 107, !13, i64 108, !13, i64 112}
!75 = !{!"_ZTS8ImVectorIcE", !13, i64 0, !13, i64 4, !6, i64 8}
!76 = !{!"_ZTS30ImGuiInputTextDeactivatedState", !13, i64 0, !75, i64 8}
!77 = !{!"_ZTS6ImFont", !64, i64 0, !15, i64 16, !15, i64 20, !18, i64 24, !78, i64 40, !6, i64 56, !6, i64 64, !6, i64 72, !17, i64 80, !17, i64 82, !17, i64 84, !17, i64 86, !15, i64 88, !15, i64 92, !15, i64 96, !15, i64 100, !15, i64 104, !13, i64 108, !11, i64 112, !7, i64 113}
!78 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !13, i64 0, !13, i64 4, !6, i64 8}
!79 = !{!"_ZTS21ImGuiComboPreviewData", !42, i64 0, !14, i64 16, !14, i64 24, !14, i64 32, !15, i64 40, !13, i64 44}
!80 = !{!"_ZTS8ImVectorIjE", !13, i64 0, !13, i64 4, !6, i64 8}
!81 = !{!"_ZTS22ImGuiTypingSelectState", !82, i64 0, !7, i64 24, !13, i64 88, !13, i64 92, !15, i64 96, !11, i64 100}
!82 = !{!"_ZTS24ImGuiTypingSelectRequest", !13, i64 0, !13, i64 4, !6, i64 8, !11, i64 16, !11, i64 17, !7, i64 18}
!83 = !{!"_ZTS20ImGuiPlatformImeData", !11, i64 0, !14, i64 4, !15, i64 12}
!84 = !{!"_ZTS16ImGuiDockContext", !31, i64 0, !85, i64 16, !86, i64 32, !11, i64 48}
!85 = !{!"_ZTS8ImVectorI16ImGuiDockRequestE", !13, i64 0, !13, i64 4, !6, i64 8}
!86 = !{!"_ZTS8ImVectorI21ImGuiDockNodeSettingsE", !13, i64 0, !13, i64 4, !6, i64 8}
!87 = !{!"_ZTS15ImGuiTextBuffer", !75, i64 0}
!88 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !13, i64 0, !13, i64 4, !6, i64 8}
!89 = !{!"_ZTS13ImChunkStreamI19ImGuiWindowSettingsE", !75, i64 0}
!90 = !{!"_ZTS13ImChunkStreamI18ImGuiTableSettingsE", !75, i64 0}
!91 = !{!"_ZTS8ImVectorI16ImGuiContextHookE", !13, i64 0, !13, i64 4, !6, i64 8}
!92 = !{!"_ZTS23ImGuiErrorRecoveryState", !17, i64 0, !17, i64 2, !17, i64 4, !17, i64 6, !17, i64 8, !17, i64 10, !17, i64 12, !17, i64 14, !17, i64 16, !17, i64 18, !17, i64 20}
!93 = !{!"_ZTS14ImGuiTextIndex", !49, i64 0, !13, i64 16}
!94 = !{!"_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}
!95 = !{!"_ZTS16ImGuiIDStackTool", !13, i64 0, !13, i64 4, !13, i64 8, !96, i64 16, !11, i64 32, !15, i64 36, !87, i64 40}
!96 = !{!"_ZTS8ImVectorI19ImGuiStackLevelInfoE", !13, i64 0, !13, i64 4, !6, i64 8}
!97 = !{!"_ZTS19ImGuiDebugAllocInfo", !13, i64 0, !13, i64 4, !17, i64 8, !7, i64 12}
!98 = !{!10, !13, i64 5224}
!99 = !{!100, !101, i64 0}
!100 = !{!"_ZTS15ImGuiInputEvent", !101, i64 0, !33, i64 4, !13, i64 8, !7, i64 12, !11, i64 24}
!101 = !{!"_ZTS19ImGuiInputEventType", !7, i64 0}
!102 = !{!10, !11, i64 195}
!103 = !{i8 0, i8 2}
!104 = !{}
!105 = !{!7, !7, i64 0}
!106 = !{!12, !16, i64 256}
!107 = !{!11, !11, i64 0}
!108 = !{!12, !15, i64 252}
!109 = !{!12, !15, i64 248}
!110 = !{!12, !13, i64 260}
!111 = !{!12, !13, i64 0}
!112 = !{!113, !11, i64 0}
!113 = !{!"_ZTS12ImGuiKeyData", !11, i64 0, !15, i64 4, !15, i64 8, !15, i64 12}
!114 = !{!113, !15, i64 12}
!115 = !{!17, !17, i64 0}
!116 = !{!12, !11, i64 3044}
!117 = distinct !{!117, !118}
!118 = !{!"llvm.loop.mustprogress"}
!119 = distinct !{!119, !118}
!120 = !{!10, !13, i64 10564}
!121 = distinct !{!121, !118}
!122 = !{!10, !6, i64 5232}
!123 = !{!10, !11, i64 3052}


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