; LLVM IR from aap/librw :: skeleton/imgui/imgui.ll (ZN7ImGuiIO17AddKeyAnalogEventE8ImGuiKeybf)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%struct.ImGuiInputEvent = type <{ i32, i32, i32, %union.anon, i8, [3 x i8] }>
%union.anon = type { %struct.ImGuiInputEventMousePos }
%struct.ImGuiInputEventMousePos = type { float, float, i32 }
%struct.ImGuiIO = type <{ i32, i32, %struct.ImVec2, float, float, ptr, ptr, ptr, ptr, float, i8, [3 x i8], ptr, %struct.ImVec2, i8, i8, i8, i8, i8, i8, i8, i8, i8, [3 x i8], float, float, float, float, float, float, i8, i8, i8, i8, i8, [7 x i8], ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i16, i8, i8, i8, i8, i8, i8, i8, [3 x i8], float, i32, i32, i32, i32, %struct.ImVec2, ptr, %struct.ImVec2, [5 x i8], [3 x i8], float, float, i32, i8, i8, i8, i8, i32, [666 x %struct.ImGuiKeyData], i8, [3 x i8], %struct.ImVec2, [5 x %struct.ImVec2], [5 x double], [5 x i8], [5 x i8], [5 x i16], [5 x i16], [5 x i8], [5 x i8], [5 x i8], i8, i8, i8, [5 x float], [5 x float], [5 x float], float, i8, i8, i8, i8, i16, [2 x i8], %struct.ImVector, [666 x i32], [666 x i8], [2 x i8], [16 x float], [4 x i8] }>
%struct.ImGuiKeyData = type { i8, float, float, float }
%struct.ImVec2 = type { float, float }
%struct.ImVector = type { i32, i32, ptr }
%struct.ImGuiContext = type { i8, i8, [6 x i8], %struct.ImGuiIO, %struct.ImGuiStyle, ptr, float, float, float, float, %struct.ImDrawListSharedData, double, i32, i32, i32, i8, i8, i8, i8, i8, ptr, [16 x i8], %struct.ImVector.1, %struct.ImVector.1, i32, i32, %struct.ImVector.2, %struct.ImVector.2, %struct.ImVector.2, %struct.ImVector.3, %struct.ImGuiStorage, i32, %struct.ImVec2, i32, ptr, ptr, ptr, ptr, ptr, ptr, %struct.ImVec2, i32, i32, float, %struct.ImVec2, %struct.ImVec2, i32, i32, i32, float, float, i8, i8, i8, i32, i32, float, i8, i8, i8, i8, i8, i8, i8, i8, %struct.ImVec2, ptr, i32, i32, i8, i8, ptr, i32, float, double, double, double, %struct.ImBitArray, [154 x %struct.ImGuiKeyOwnerData], %struct.ImGuiKeyRoutingTable, i32, i8, i32, i32, i32, i32, %struct.ImGuiNextItemData, %struct.ImGuiLastItemData, %struct.ImGuiNextWindowData, i8, i32, %struct.ImVector.6, %struct.ImVector.7, %struct.ImVector.8, %struct.ImVector.9, %struct.ImVector.10, %struct.ImVector.11, %struct.ImVector.12, %struct.ImVector.12, %struct.ImVector.13, %struct.ImVector.14, ptr, i32, i32, i32, i32, i32, i32, i32, %struct.ImVector.9, i32, float, i32, i32, i32, i64, i8, i8, i8, i8, i8, i8, i8, %struct.ImGuiNavItemData, i8, i8, i8, i32, i32, i32, i32, i32, i32, %struct.ImRect, %struct.ImRect, i32, i32, i32, %struct.ImGuiNavItemData, %struct.ImGuiNavItemData, %struct.ImGuiNavItemData, %struct.ImGuiNavItemData, i32, i32, i32, i32, i8, i8, i32, i32, ptr, ptr, ptr, float, float, i8, i32, %struct.ImVec2, %struct.ImVec2, float, i8, i8, i8, i32, i32, i32, [4 x i8], %struct.ImGuiPayload, %struct.ImRect, %struct.ImRect, i32, i32, float, i32, i32, i32, i32, %struct.ImVector.15, [16 x i8], i32, %struct.ImVector.16, ptr, i32, i32, %struct.ImVector.17, %struct.ImPool, %struct.ImVector.19, %struct.ImVector.20, ptr, %struct.ImPool.21, %struct.ImVector.23, %struct.ImVector.24, %struct.ImGuiBoxSelectState, ptr, i32, %struct.ImVector.25, %struct.ImPool.26, i32, i32, float, float, i32, i32, i32, float, %struct.ImVec2, %struct.ImGuiInputTextState, %struct.ImGuiInputTextDeactivatedState, %struct.ImFont, i32, %struct.ImGuiDataTypeStorage, i32, i32, i32, i32, i32, float, float, i32, %struct.ImVec4, %struct.ImGuiComboPreviewData, %struct.ImRect, i8, i16, float, float, float, i8, i8, float, float, float, i16, i16, i16, %struct.ImVector.28, %struct.ImVector.30, %struct.ImGuiTypingSelectState, %struct.ImGuiPlatformImeData, %struct.ImGuiPlatformImeData, i8, float, %struct.ImGuiTextBuffer, %struct.ImVector.31, %struct.ImChunkStream, %struct.ImChunkStream.32, %struct.ImVector.33, i32, [9 x ptr], i8, i32, ptr, %struct.ImGuiTextBuffer, ptr, ptr, float, i8, i32, i32, i32, i32, %struct.ImGuiTextBuffer, %struct.ImGuiTextIndex, i32, i8, i8, i8, i32, i8, i8, i8, i32, float, %struct.ImVec4, %struct.ImGuiMetricsConfig, %struct.ImGuiIDStackTool, %struct.ImGuiDebugAllocInfo, [60 x float], i32, i32, float, i32, i32, i32, %struct.ImVector.28, [64 x i8] }
%struct.ImGuiStyle = type { float, float, %struct.ImVec2, float, float, %struct.ImVec2, %struct.ImVec2, i32, float, float, float, float, %struct.ImVec2, float, float, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, float, float, float, float, float, float, float, float, float, float, float, float, %struct.ImVec2, i32, %struct.ImVec2, %struct.ImVec2, float, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, i8, i8, i8, float, float, [56 x %struct.ImVec4], float, float, float, i32, i32 }
%struct.ImDrawListSharedData = type { %struct.ImVec2, ptr, float, float, float, float, %struct.ImVec4, i32, %struct.ImVector.0, [48 x %struct.ImVec2], float, [64 x i8], ptr }
%struct.ImVector.0 = type { i32, i32, ptr }
%struct.ImVector.1 = type { i32, i32, ptr }
%struct.ImVector.2 = type { i32, i32, ptr }
%struct.ImVector.3 = type { i32, i32, ptr }
%struct.ImGuiStorage = type { %struct.ImVector.4 }
%struct.ImVector.4 = type { i32, i32, ptr }
%struct.ImBitArray = type { [5 x i32] }
%struct.ImGuiKeyOwnerData = type <{ i32, i32, i8, i8, [2 x i8] }>
%struct.ImGuiKeyRoutingTable = type { [154 x i16], %struct.ImVector.5, %struct.ImVector.5 }
%struct.ImVector.5 = type { i32, i32, ptr }
%struct.ImGuiNextItemData = type <{ i32, i32, i32, [4 x i8], i64, float, i32, i32, i8, i8, %struct.ImGuiDataTypeStorage, [2 x i8], i32, [4 x i8] }>
%struct.ImGuiLastItemData = type { i32, i32, i32, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImRect, i32 }
%struct.ImGuiNextWindowData = type { i32, i32, i32, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, i32, i8, %struct.ImRect, ptr, ptr, float, %struct.ImVec2, i32 }
%struct.ImVector.6 = type { i32, i32, ptr }
%struct.ImVector.7 = type { i32, i32, ptr }
%struct.ImVector.8 = type { i32, i32, ptr }
%struct.ImVector.10 = type { i32, i32, ptr }
%struct.ImVector.11 = type { i32, i32, ptr }
%struct.ImVector.12 = type { i32, i32, ptr }
%struct.ImVector.13 = type { i32, i32, ptr }
%struct.ImVector.14 = type { i32, i32, ptr }
%struct.ImVector.9 = type { i32, i32, ptr }
%struct.ImGuiNavItemData = type { ptr, i32, i32, %struct.ImRect, i32, float, float, float, i64 }
%struct.ImGuiPayload = type <{ ptr, i32, i32, i32, i32, [33 x i8], i8, i8, [5 x i8] }>
%struct.ImVector.15 = type { i32, i32, ptr }
%struct.ImVector.16 = type { i32, i32, ptr }
%struct.ImVector.17 = type { i32, i32, ptr }
%struct.ImPool = type { %struct.ImVector.18, %struct.ImGuiStorage, i32, i32 }
%struct.ImVector.18 = type { i32, i32, ptr }
%struct.ImVector.19 = type { i32, i32, ptr }
%struct.ImVector.20 = type { i32, i32, ptr }
%struct.ImPool.21 = type { %struct.ImVector.22, %struct.ImGuiStorage, i32, i32 }
%struct.ImVector.22 = type { i32, i32, ptr }
%struct.ImVector.23 = type { i32, i32, ptr }
%struct.ImVector.24 = type { i32, i32, ptr }
%struct.ImGuiBoxSelectState = type <{ i32, i8, i8, i8, i8, i8, i16, i8, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, [4 x i8], ptr, i8, [3 x i8], %struct.ImRect, %struct.ImRect, %struct.ImRect, [4 x i8] }>
%struct.ImVector.25 = type { i32, i32, ptr }
%struct.ImPool.26 = type { %struct.ImVector.27, %struct.ImGuiStorage, i32, i32 }
%struct.ImVector.27 = type { i32, i32, ptr }
%struct.ImGuiInputTextState = type { ptr, i32, i32, i32, %struct.ImVector, %struct.ImVector.28, %struct.ImVector.28, i8, i32, float, %"struct.ImStb::STB_TexteditState", float, i8, i8, i8, i32, i8, i32, i32 }
%"struct.ImStb::STB_TexteditState" = type { i32, i32, i32, i8, i32, i8, i8, i8, i8, i8, i8, i8, float, %"struct.ImStb::StbUndoState" }
%"struct.ImStb::StbUndoState" = type { [99 x %"struct.ImStb::StbUndoRecord"], [999 x i16], i16, i16, i32, i32 }
%"struct.ImStb::StbUndoRecord" = type { i32, i32, i32, i32 }
%struct.ImGuiInputTextDeactivatedState = type { i32, %struct.ImVector.28 }
%struct.ImFont = type <{ %struct.ImVector.19, float, float, %struct.ImVector, %struct.ImVector.29, ptr, ptr, ptr, i16, i16, i16, i16, float, float, i8, [3 x i8], float, float, float, i32, [2 x i8], [2 x i8] }>
%struct.ImVector.29 = type { i32, i32, ptr }
%struct.ImGuiDataTypeStorage = type { [8 x i8] }
%struct.ImGuiComboPreviewData = type { %struct.ImRect, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, i32 }
%struct.ImRect = type { %struct.ImVec2, %struct.ImVec2 }
%struct.ImVector.30 = type { i32, i32, ptr }
%struct.ImGuiTypingSelectState = type <{ %struct.ImGuiTypingSelectRequest, [64 x i8], i32, i32, float, i8, [3 x i8] }>
%struct.ImGuiTypingSelectRequest = type { i32, i32, ptr, i8, i8, i8 }
%struct.ImGuiPlatformImeData = type { i8, %struct.ImVec2, float }
%struct.ImVector.31 = type { i32, i32, ptr }
%struct.ImChunkStream = type { %struct.ImVector.28 }
%struct.ImChunkStream.32 = type { %struct.ImVector.28 }
%struct.ImVector.33 = type { i32, i32, ptr }
%struct.ImGuiTextBuffer = type { %struct.ImVector.28 }
%struct.ImGuiTextIndex = type <{ %struct.ImVector.10, i32, [4 x i8] }>
%struct.ImVec4 = type { float, float, float, float }
%struct.ImGuiMetricsConfig = type { i8, i8, i8, i8, i8, i8, i8, i8, i8, i32, i32, i32, i32 }
%struct.ImGuiIDStackTool = type { i32, i32, i32, %struct.ImVector.34, i8, float }
%struct.ImVector.34 = type { i32, i32, ptr }
%struct.ImGuiDebugAllocInfo = type { i32, i32, i16, [6 x %struct.ImGuiDebugAllocEntry] }
%struct.ImGuiDebugAllocEntry = type { i32, i16, i16 }
%struct.ImVector.28 = type { i32, i32, ptr }
%struct.ImGuiInputEventKey = type { i32, i8, float }

@.str.2 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [68 x i8], align 1
@__PRETTY_FUNCTION__._ZN7ImGuiIO17AddKeyAnalogEventE8ImGuiKeybf = external hidden unnamed_addr constant [55 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [191 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [135 x i8], align 1

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

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

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

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

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

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

22:                                               ; preds = %4
  br label %25

23:                                               ; preds = %4
  call void @__assert_fail(ptr noundef @.str.2, ptr noundef @.str.3, i32 noundef 1557, ptr noundef @__PRETTY_FUNCTION__._ZN7ImGuiIO17AddKeyAnalogEventE8ImGuiKeybf) #6
  unreachable

24:                                               ; No predecessors!
  br label %25

25:                                               ; preds = %24, %22
  %26 = load i32, ptr %6, align 4, !tbaa !9
  %27 = icmp eq i32 %26, 0
  br i1 %27, label %32, label %28

28:                                               ; preds = %25
  %29 = getelementptr inbounds %struct.ImGuiIO, ptr %18, i32 0, i32 95
  %30 = load i8, ptr %29, align 1, !tbaa !22, !range !23, !noundef !24
  %31 = trunc i8 %30 to i1
  br i1 %31, label %33, label %32

32:                                               ; preds = %28, %25
  br label %210

33:                                               ; preds = %28
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #7
  %34 = getelementptr inbounds %struct.ImGuiIO, ptr %18, i32 0, i32 62
  %35 = load ptr, ptr %34, align 8, !tbaa !15
  store ptr %35, ptr %9, align 8, !tbaa !5
  %36 = load i32, ptr %6, align 4, !tbaa !9
  %37 = call noundef zeroext i1 @_ZN5ImGui15IsNamedKeyOrModE8ImGuiKey(i32 noundef %36)
  br i1 %37, label %38, label %39

38:                                               ; preds = %33
  br label %41

39:                                               ; preds = %33
  call void @__assert_fail(ptr noundef @.str.4, ptr noundef @.str.3, i32 noundef 1561, ptr noundef @__PRETTY_FUNCTION__._ZN7ImGuiIO17AddKeyAnalogEventE8ImGuiKeybf) #6
  unreachable

40:                                               ; No predecessors!
  br label %41

41:                                               ; preds = %40, %38
  %42 = load i32, ptr %6, align 4, !tbaa !9
  %43 = call noundef zeroext i1 @_ZN5ImGui10IsAliasKeyE8ImGuiKey(i32 noundef %42)
  %44 = zext i1 %43 to i32
  %45 = icmp eq i32 %44, 0
  br i1 %45, label %46, label %47

46:                                               ; preds = %41
  br label %49

47:                                               ; preds = %41
  call void @__assert_fail(ptr noundef @.str.5, ptr noundef @.str.3, i32 noundef 1562, ptr noundef @__PRETTY_FUNCTION__._ZN7ImGuiIO17AddKeyAnalogEventE8ImGuiKeybf) #6
  unreachable

48:                                               ; No predecessors!
  br label %49

49:                                               ; preds = %48, %46
  %50 = load ptr, ptr %9, align 8, !tbaa !5
  %51 = getelementptr inbounds %struct.ImGuiContext, ptr %50, i32 0, i32 3
  %52 = getelementptr inbounds %struct.ImGuiIO, ptr %51, i32 0, i32 15
  %53 = load i8, ptr %52, align 1, !tbaa !25, !range !23, !noundef !24
  %54 = trunc i8 %53 to i1
  br i1 %54, label %55, label %85

55:                                               ; preds = %49
  %56 = load i32, ptr %6, align 4, !tbaa !9
  %57 = icmp eq i32 %56, 32768
  br i1 %57, label %58, label %59

58:                                               ; preds = %55
  store i32 4096, ptr %6, align 4, !tbaa !9
  br label %84

59:                                               ; preds = %55
  %60 = load i32, ptr %6, align 4, !tbaa !9
  %61 = icmp eq i32 %60, 4096
  br i1 %61, label %62, label %63

62:                                               ; preds = %59
  store i32 32768, ptr %6, align 4, !tbaa !9
  br label %83

63:                                               ; preds = %59
  %64 = load i32, ptr %6, align 4, !tbaa !9
  %65 = icmp eq i32 %64, 530
  br i1 %65, label %66, label %67

66:                                               ; preds = %63
  store i32 527, ptr %6, align 4, !tbaa !9
  br label %82

67:                                               ; preds = %63
  %68 = load i32, ptr %6, align 4, !tbaa !9
  %69 = icmp eq i32 %68, 534
  br i1 %69, label %70, label %71

70:                                               ; preds = %67
  store i32 531, ptr %6, align 4, !tbaa !9
  br label %81

71:                                               ; preds = %67
  %72 = load i32, ptr %6, align 4, !tbaa !9
  %73 = icmp eq i32 %72, 527
  br i1 %73, label %74, label %75

74:                                               ; preds = %71
  store i32 530, ptr %6, align 4, !tbaa !9
  br label %80

75:                                               ; preds = %71
  %76 = load i32, ptr %6, align 4, !tbaa !9
  %77 = icmp eq i32 %76, 531
  br i1 %77, label %78, label %79

78:                                               ; preds = %75
  store i32 534, ptr %6, align 4, !tbaa !9
  br label %79

79:                                               ; preds = %78, %75
  br label %80

80:                                               ; preds = %79, %74
  br label %81

81:                                               ; preds = %80, %70
  br label %82

82:                                               ; preds = %81, %66
  br label %83

83:                                               ; preds = %82, %62
  br label %84

84:                                               ; preds = %83, %58
  br label %85

85:                                               ; preds = %84, %49
  %86 = getelementptr inbounds %struct.ImGuiIO, ptr %18, i32 0, i32 96
  %87 = load i8, ptr %86, align 2, !tbaa !98
  %88 = sext i8 %87 to i32
  %89 = icmp eq i32 %88, -1
  br i1 %89, label %95, label %90

90:                                               ; preds = %85
  %91 = getelementptr inbounds %struct.ImGuiIO, ptr %18, i32 0, i32 96
  %92 = load i8, ptr %91, align 2, !tbaa !98
  %93 = sext i8 %92 to i32
  %94 = icmp eq i32 %93, 0
  br i1 %94, label %95, label %96

95:                                               ; preds = %90, %85
  br label %96

96:                                               ; preds = %95, %90
  %97 = phi i1 [ false, %90 ], [ true, %95 ]
  br i1 %97, label %98, label %99

98:                                               ; preds = %96
  br label %101

99:                                               ; preds = %96
  call void @__assert_fail(ptr noundef @.str.7, ptr noundef @.str.3, i32 noundef 1577, ptr noundef @__PRETTY_FUNCTION__._ZN7ImGuiIO17AddKeyAnalogEventE8ImGuiKeybf) #6
  unreachable

100:                                              ; No predecessors!
  br label %101

101:                                              ; preds = %100, %98
  %102 = getelementptr inbounds %struct.ImGuiIO, ptr %18, i32 0, i32 96
  %103 = load i8, ptr %102, align 2, !tbaa !98
  %104 = sext i8 %103 to i32
  %105 = icmp eq i32 %104, -1
  br i1 %105, label %106, label %129

106:                                              ; preds = %101
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #7
  store i32 512, ptr %10, align 4, !tbaa !99
  br label %107

107:                                              ; preds = %125, %106
  %108 = load i32, ptr %10, align 4, !tbaa !99
  %109 = icmp slt i32 %108, 666
  br i1 %109, label %111, label %110

110:                                              ; preds = %107
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #7
  br label %128

111:                                              ; preds = %107
  %112 = getelementptr inbounds %struct.ImGuiIO, ptr %18, i32 0, i32 101
  %113 = load i32, ptr %10, align 4, !tbaa !99
  %114 = sext i32 %113 to i64
  %115 = getelementptr inbounds [666 x i32], ptr %112, i64 0, i64 %114
  %116 = load i32, ptr %115, align 4, !tbaa !99
  %117 = icmp eq i32 %116, -1
  br i1 %117, label %118, label %119

118:                                              ; preds = %111
  br label %119

119:                                              ; preds = %118, %111
  %120 = phi i1 [ false, %111 ], [ true, %118 ]
  br i1 %120, label %121, label %122

121:                                              ; preds = %119
  br label %124

122:                                              ; preds = %119
  call void @__assert_fail(ptr noundef @.str.8, ptr noundef @.str.3, i32 noundef 1580, ptr noundef @__PRETTY_FUNCTION__._ZN7ImGuiIO17AddKeyAnalogEventE8ImGuiKeybf) #6
  unreachable

123:                                              ; No predecessors!
  br label %124

124:                                              ; preds = %123, %121
  br label %125

125:                                              ; preds = %124
  %126 = load i32, ptr %10, align 4, !tbaa !99
  %127 = add nsw i32 %126, 1
  store i32 %127, ptr %10, align 4, !tbaa !99
  br label %107, !llvm.loop !100

128:                                              ; preds = %110
  br label %129

129:                                              ; preds = %128, %101
  %130 = getelementptr inbounds %struct.ImGuiIO, ptr %18, i32 0, i32 96
  store i8 0, ptr %130, align 2, !tbaa !98
  %131 = load i32, ptr %6, align 4, !tbaa !9
  %132 = call noundef zeroext i1 @_ZN5ImGui12IsGamepadKeyE8ImGuiKey(i32 noundef %131)
  br i1 %132, label %133, label %135

133:                                              ; preds = %129
  %134 = getelementptr inbounds %struct.ImGuiIO, ptr %18, i32 0, i32 97
  store i8 0, ptr %134, align 1, !tbaa !102
  br label %135

135:                                              ; preds = %133, %129
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #7
  %136 = load ptr, ptr %9, align 8, !tbaa !5
  %137 = load i32, ptr %6, align 4, !tbaa !9
  %138 = call noundef ptr @_ZL20FindLatestInputEventP12ImGuiContext19ImGuiInputEventTypei(ptr noundef %136, i32 noundef 4, i32 noundef %137)
  store ptr %138, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #7
  %139 = load ptr, ptr %9, align 8, !tbaa !5
  %140 = load i32, ptr %6, align 4, !tbaa !9
  %141 = call noundef ptr @_ZN5ImGui10GetKeyDataEP12ImGuiContext8ImGuiKey(ptr noundef %139, i32 noundef %140)
  store ptr %141, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %13) #7
  %142 = load ptr, ptr %11, align 8, !tbaa !5
  %143 = icmp ne ptr %142, null
  br i1 %143, label %144, label %150

144:                                              ; preds = %135
  %145 = load ptr, ptr %11, align 8, !tbaa !5
  %146 = getelementptr inbounds %struct.ImGuiInputEvent, ptr %145, i32 0, i32 3
  %147 = getelementptr inbounds %struct.ImGuiInputEventKey, ptr %146, i32 0, i32 1
  %148 = load i8, ptr %147, align 4, !tbaa !103, !range !23, !noundef !24
  %149 = trunc i8 %148 to i1
  br label %155

150:                                              ; preds = %135
  %151 = load ptr, ptr %12, align 8, !tbaa !5
  %152 = getelementptr inbounds %struct.ImGuiKeyData, ptr %151, i32 0, i32 0
  %153 = load i8, ptr %152, align 4, !tbaa !104, !range !23, !noundef !24
  %154 = trunc i8 %153 to i1
  br label %155

155:                                              ; preds = %150, %144
  %156 = phi i1 [ %149, %144 ], [ %154, %150 ]
  %157 = zext i1 %156 to i8
  store i8 %157, ptr %13, align 1, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #7
  %158 = load ptr, ptr %11, align 8, !tbaa !5
  %159 = icmp ne ptr %158, null
  br i1 %159, label %160, label %165

160:                                              ; preds = %155
  %161 = load ptr, ptr %11, align 8, !tbaa !5
  %162 = getelementptr inbounds %struct.ImGuiInputEvent, ptr %161, i32 0, i32 3
  %163 = getelementptr inbounds %struct.ImGuiInputEventKey, ptr %162, i32 0, i32 2
  %164 = load float, ptr %163, align 4, !tbaa !103
  br label %169

165:                                              ; preds = %155
  %166 = load ptr, ptr %12, align 8, !tbaa !5
  %167 = getelementptr inbounds %struct.ImGuiKeyData, ptr %166, i32 0, i32 3
  %168 = load float, ptr %167, align 4, !tbaa !106
  br label %169

169:                                              ; preds = %165, %160
  %170 = phi float [ %164, %160 ], [ %168, %165 ]
  store float %170, ptr %14, align 4, !tbaa !13
  %171 = load i8, ptr %13, align 1, !tbaa !11, !range !23, !noundef !24
  %172 = trunc i8 %171 to i1
  %173 = zext i1 %172 to i32
  %174 = load i8, ptr %7, align 1, !tbaa !11, !range !23, !noundef !24
  %175 = trunc i8 %174 to i1
  %176 = zext i1 %175 to i32
  %177 = icmp eq i32 %173, %176
  br i1 %177, label %178, label %183

178:                                              ; preds = %169
  %179 = load float, ptr %14, align 4, !tbaa !13
  %180 = load float, ptr %8, align 4, !tbaa !13
  %181 = fcmp oeq float %179, %180
  br i1 %181, label %182, label %183

182:                                              ; preds = %178
  store i32 1, ptr %15, align 4
  br label %208

183:                                              ; preds = %178, %169
  call void @llvm.lifetime.start.p0(i64 28, ptr %16) #7
  call void @_ZN15ImGuiInputEventC2Ev(ptr noundef nonnull align 4 dereferenceable(25) %16)
  %184 = getelementptr inbounds %struct.ImGuiInputEvent, ptr %16, i32 0, i32 0
  store i32 4, ptr %184, align 4, !tbaa !107
  %185 = load i32, ptr %6, align 4, !tbaa !9
  %186 = call noundef zeroext i1 @_ZN5ImGui12IsGamepadKeyE8ImGuiKey(i32 noundef %185)
  %187 = zext i1 %186 to i64
  %188 = select i1 %186, i32 3, i32 2
  %189 = getelementptr inbounds %struct.ImGuiInputEvent, ptr %16, i32 0, i32 1
  store i32 %188, ptr %189, align 4, !tbaa !110
  %190 = load ptr, ptr %9, align 8, !tbaa !5
  %191 = getelementptr inbounds %struct.ImGuiContext, ptr %190, i32 0, i32 25
  %192 = load i32, ptr %191, align 4, !tbaa !111
  %193 = add i32 %192, 1
  store i32 %193, ptr %191, align 4, !tbaa !111
  %194 = getelementptr inbounds %struct.ImGuiInputEvent, ptr %16, i32 0, i32 2
  store i32 %192, ptr %194, align 4, !tbaa !112
  %195 = load i32, ptr %6, align 4, !tbaa !9
  %196 = getelementptr inbounds %struct.ImGuiInputEvent, ptr %16, i32 0, i32 3
  %197 = getelementptr inbounds %struct.ImGuiInputEventKey, ptr %196, i32 0, i32 0
  store i32 %195, ptr %197, align 4, !tbaa !103
  %198 = load i8, ptr %7, align 1, !tbaa !11, !range !23, !noundef !24
  %199 = trunc i8 %198 to i1
  %200 = getelementptr inbounds %struct.ImGuiInputEvent, ptr %16, i32 0, i32 3
  %201 = getelementptr inbounds %struct.ImGuiInputEventKey, ptr %200, i32 0, i32 1
  %202 = zext i1 %199 to i8
  store i8 %202, ptr %201, align 4, !tbaa !103
  %203 = load float, ptr %8, align 4, !tbaa !13
  %204 = getelementptr inbounds %struct.ImGuiInputEvent, ptr %16, i32 0, i32 3
  %205 = getelementptr inbounds %struct.ImGuiInputEventKey, ptr %204, i32 0, i32 2
  store float %203, ptr %205, align 4, !tbaa !103
  %206 = load ptr, ptr %9, align 8, !tbaa !5
  %207 = getelementptr inbounds %struct.ImGuiContext, ptr %206, i32 0, i32 22
  call void @_ZN8ImVectorI15ImGuiInputEventE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(16) %207, ptr noundef nonnull align 4 dereferenceable(25) %16)
  call void @llvm.lifetime.end.p0(i64 28, ptr %16) #7
  store i32 0, ptr %15, align 4
  br label %208

208:                                              ; preds = %183, %182
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %13) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #7
  %209 = load i32, ptr %15, align 4
  switch i32 %209, label %211 [
    i32 0, label %210
    i32 1, label %210
  ]

210:                                              ; preds = %208, %208, %32
  ret void

211:                                              ; preds = %208
  unreachable
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN5ImGui15IsNamedKeyOrModE8ImGuiKey(i32 noundef) #5

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN5ImGui10IsAliasKeyE8ImGuiKey(i32 noundef) #5

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN5ImGui12IsGamepadKeyE8ImGuiKey(i32 noundef) #5

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

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

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

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

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


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%struct.ImGuiInputEvent = type <{ i32, i32, i32, %union.anon, i8, [3 x i8] }>
%union.anon = type { %struct.ImGuiInputEventMousePos }
%struct.ImGuiInputEventMousePos = type { float, float, i32 }

@.str.2 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [68 x i8], align 1
@__PRETTY_FUNCTION__._ZN7ImGuiIO17AddKeyAnalogEventE8ImGuiKeybf = external hidden unnamed_addr constant [55 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [191 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [135 x i8], align 1

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

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

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

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

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

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

9:                                                ; preds = %4
  tail call void @__assert_fail(ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.3, i32 noundef 1557, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN7ImGuiIO17AddKeyAnalogEventE8ImGuiKeybf) #6
  unreachable

10:                                               ; preds = %4
  %11 = icmp eq i32 %1, 0
  br i1 %11, label %72, label %12

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

16:                                               ; preds = %12
  %17 = tail call noundef zeroext i1 @_ZN5ImGui15IsNamedKeyOrModE8ImGuiKey(i32 noundef %1)
  br i1 %17, label %19, label %18

18:                                               ; preds = %16
  tail call void @__assert_fail(ptr noundef nonnull @.str.4, ptr noundef nonnull @.str.3, i32 noundef 1561, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN7ImGuiIO17AddKeyAnalogEventE8ImGuiKeybf) #6
  unreachable

19:                                               ; preds = %16
  %20 = tail call noundef zeroext i1 @_ZN5ImGui10IsAliasKeyE8ImGuiKey(i32 noundef %1)
  br i1 %20, label %21, label %22

21:                                               ; preds = %19
  tail call void @__assert_fail(ptr noundef nonnull @.str.5, ptr noundef nonnull @.str.3, i32 noundef 1562, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN7ImGuiIO17AddKeyAnalogEventE8ImGuiKeybf) #6
  unreachable

22:                                               ; preds = %19
  %23 = getelementptr inbounds i8, ptr %8, i64 89
  %24 = load i8, ptr %23, align 1, !tbaa !20, !range !18, !noundef !19
  %25 = trunc nuw i8 %24 to i1
  br i1 %25, label %26, label %33

26:                                               ; preds = %22
  switch i32 %1, label %31 [
    i32 32768, label %33
    i32 4096, label %27
    i32 530, label %28
    i32 534, label %29
    i32 527, label %30
  ]

27:                                               ; preds = %26
  br label %33

28:                                               ; preds = %26
  br label %33

29:                                               ; preds = %26
  br label %33

30:                                               ; preds = %26
  br label %33

31:                                               ; preds = %26
  %32 = icmp eq i32 %1, 531
  %spec.store.select = select i1 %32, i32 534, i32 %1
  br label %33

33:                                               ; preds = %26, %28, %30, %31, %29, %27, %22
  %.0 = phi i32 [ 32768, %27 ], [ 527, %28 ], [ 531, %29 ], [ 530, %30 ], [ %spec.store.select, %31 ], [ %1, %22 ], [ 4096, %26 ]
  %34 = getelementptr inbounds i8, ptr %0, i64 11162
  %35 = load i8, ptr %34, align 2, !tbaa !94
  switch i8 %35, label %.critedge [
    i8 -1, label %.preheader
    i8 0, label %.loopexit
  ]

.preheader:                                       ; preds = %33
  %36 = getelementptr inbounds i8, ptr %0, i64 11184
  br label %42

.critedge:                                        ; preds = %33
  tail call void @__assert_fail(ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.3, i32 noundef 1577, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN7ImGuiIO17AddKeyAnalogEventE8ImGuiKeybf) #6
  unreachable

37:                                               ; preds = %42
  %indvars.iv.next = or disjoint i64 %indvars.iv, 1
  %38 = getelementptr inbounds [666 x i32], ptr %36, i64 0, i64 %indvars.iv.next
  %39 = load i32, ptr %38, align 4, !tbaa !95
  %40 = icmp eq i32 %39, -1
  br i1 %40, label %41, label %46

41:                                               ; preds = %37
  %indvars.iv.next.1 = add nuw nsw i64 %indvars.iv, 2
  %exitcond.not.1 = icmp eq i64 %indvars.iv.next.1, 666
  br i1 %exitcond.not.1, label %.loopexit, label %42, !llvm.loop !96

42:                                               ; preds = %41, %.preheader
  %indvars.iv = phi i64 [ 512, %.preheader ], [ %indvars.iv.next.1, %41 ]
  %43 = getelementptr inbounds [666 x i32], ptr %36, i64 0, i64 %indvars.iv
  %44 = load i32, ptr %43, align 8, !tbaa !95
  %45 = icmp eq i32 %44, -1
  br i1 %45, label %37, label %46

46:                                               ; preds = %37, %42
  tail call void @__assert_fail(ptr noundef nonnull @.str.8, ptr noundef nonnull @.str.3, i32 noundef 1580, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN7ImGuiIO17AddKeyAnalogEventE8ImGuiKeybf) #6
  unreachable

.loopexit:                                        ; preds = %41, %33
  store i8 0, ptr %34, align 2, !tbaa !94
  %47 = tail call noundef zeroext i1 @_ZN5ImGui12IsGamepadKeyE8ImGuiKey(i32 noundef %.0)
  br i1 %47, label %48, label %50

48:                                               ; preds = %.loopexit
  %49 = getelementptr inbounds i8, ptr %0, i64 11163
  store i8 0, ptr %49, align 1, !tbaa !98
  br label %50

50:                                               ; preds = %48, %.loopexit
  %51 = tail call noundef ptr @_ZL20FindLatestInputEventP12ImGuiContext19ImGuiInputEventTypei(ptr noundef nonnull %8, i32 noundef 4, i32 noundef %.0)
  %52 = tail call noundef ptr @_ZN5ImGui10GetKeyDataEP12ImGuiContext8ImGuiKey(ptr noundef nonnull %8, i32 noundef %.0)
  %.not39 = icmp eq ptr %51, null
  %53 = getelementptr inbounds i8, ptr %51, i64 16
  %.in.in = select i1 %.not39, ptr %52, ptr %53
  %.in = load i8, ptr %.in.in, align 4, !tbaa !99, !range !18, !noundef !19
  %54 = icmp eq i8 %.in, %6
  br i1 %54, label %55, label %60

55:                                               ; preds = %50
  %56 = getelementptr inbounds i8, ptr %52, i64 12
  %57 = getelementptr inbounds i8, ptr %51, i64 20
  %.in40 = select i1 %.not39, ptr %56, ptr %57
  %58 = load float, ptr %.in40, align 4, !tbaa !99
  %59 = fcmp oeq float %58, %3
  br i1 %59, label %72, label %60

60:                                               ; preds = %55, %50
  call void @llvm.lifetime.start.p0(i64 28, ptr nonnull %5) #7
  call void @_ZN15ImGuiInputEventC2Ev(ptr noundef nonnull align 4 dereferenceable(25) %5)
  store i32 4, ptr %5, align 4, !tbaa !100
  %61 = call noundef zeroext i1 @_ZN5ImGui12IsGamepadKeyE8ImGuiKey(i32 noundef %.0)
  %62 = select i1 %61, i32 3, i32 2
  %63 = getelementptr inbounds i8, ptr %5, i64 4
  store i32 %62, ptr %63, align 4, !tbaa !103
  %64 = getelementptr inbounds i8, ptr %8, i64 16404
  %65 = load i32, ptr %64, align 4, !tbaa !104
  %66 = add i32 %65, 1
  store i32 %66, ptr %64, align 4, !tbaa !104
  %67 = getelementptr inbounds i8, ptr %5, i64 8
  store i32 %65, ptr %67, align 4, !tbaa !105
  %68 = getelementptr inbounds i8, ptr %5, i64 12
  store i32 %.0, ptr %68, align 4, !tbaa !99
  %69 = getelementptr inbounds i8, ptr %5, i64 16
  store i8 %6, ptr %69, align 4, !tbaa !99
  %70 = getelementptr inbounds i8, ptr %5, i64 20
  store float %3, ptr %70, align 4, !tbaa !99
  %71 = getelementptr inbounds i8, ptr %8, i64 16368
  call void @_ZN8ImVectorI15ImGuiInputEventE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(16) %71, ptr noundef nonnull align 4 dereferenceable(25) %5)
  call void @llvm.lifetime.end.p0(i64 28, ptr nonnull %5) #7
  br label %72

72:                                               ; preds = %60, %55, %10, %12
  ret void
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN5ImGui15IsNamedKeyOrModE8ImGuiKey(i32 noundef) local_unnamed_addr #5

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN5ImGui10IsAliasKeyE8ImGuiKey(i32 noundef) local_unnamed_addr #5

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN5ImGui12IsGamepadKeyE8ImGuiKey(i32 noundef) local_unnamed_addr #5

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

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

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

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

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


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass