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

@.str.2 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [78 x i8], align 1
@__PRETTY_FUNCTION__._ZN7ImGuiIO17AddKeyAnalogEventE8ImGuiKeybf = external hidden unnamed_addr constant [55 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [191 x i8], align 1
@.str.9 = 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(21)) 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(21)) #3 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN7ImGuiIO17AddKeyAnalogEventE8ImGuiKeybf(ptr noundef nonnull align 8 dereferenceable(14280) %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 58
  %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 1376, 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 85
  %30 = load i8, ptr %29, align 1, !tbaa !21, !range !22, !noundef !23
  %31 = trunc i8 %30 to i1
  br i1 %31, label %33, label %32

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

33:                                               ; preds = %28
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #7
  %34 = getelementptr inbounds %struct.ImGuiIO, ptr %18, i32 0, i32 58
  %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 @_ZN5ImGui18IsNamedKeyOrModKeyE8ImGuiKey(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 1380, 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 = xor i1 %43, true
  br i1 %44, label %45, label %46

45:                                               ; preds = %41
  br label %48

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

47:                                               ; No predecessors!
  br label %48

48:                                               ; preds = %47, %45
  %49 = load i32, ptr %6, align 4, !tbaa !9
  %50 = icmp ne i32 %49, 2048
  br i1 %50, label %51, label %52

51:                                               ; preds = %48
  br label %54

52:                                               ; preds = %48
  call void @__assert_fail(ptr noundef @.str.6, ptr noundef @.str.3, i32 noundef 1382, ptr noundef @__PRETTY_FUNCTION__._ZN7ImGuiIO17AddKeyAnalogEventE8ImGuiKeybf) #6
  unreachable

53:                                               ; No predecessors!
  br label %54

54:                                               ; preds = %53, %51
  %55 = getelementptr inbounds %struct.ImGuiIO, ptr %18, i32 0, i32 86
  %56 = load i8, ptr %55, align 2, !tbaa !24
  %57 = sext i8 %56 to i32
  %58 = icmp eq i32 %57, -1
  br i1 %58, label %64, label %59

59:                                               ; preds = %54
  %60 = getelementptr inbounds %struct.ImGuiIO, ptr %18, i32 0, i32 86
  %61 = load i8, ptr %60, align 2, !tbaa !24
  %62 = sext i8 %61 to i32
  %63 = icmp eq i32 %62, 0
  br i1 %63, label %64, label %65

64:                                               ; preds = %59, %54
  br label %65

65:                                               ; preds = %64, %59
  %66 = phi i1 [ false, %59 ], [ true, %64 ]
  br i1 %66, label %67, label %68

67:                                               ; preds = %65
  br label %70

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

69:                                               ; No predecessors!
  br label %70

70:                                               ; preds = %69, %67
  %71 = getelementptr inbounds %struct.ImGuiIO, ptr %18, i32 0, i32 86
  %72 = load i8, ptr %71, align 2, !tbaa !24
  %73 = sext i8 %72 to i32
  %74 = icmp eq i32 %73, -1
  br i1 %74, label %75, label %98

75:                                               ; preds = %70
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #7
  store i32 512, ptr %10, align 4, !tbaa !25
  br label %76

76:                                               ; preds = %94, %75
  %77 = load i32, ptr %10, align 4, !tbaa !25
  %78 = icmp slt i32 %77, 652
  br i1 %78, label %80, label %79

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

80:                                               ; preds = %76
  %81 = getelementptr inbounds %struct.ImGuiIO, ptr %18, i32 0, i32 55
  %82 = load i32, ptr %10, align 4, !tbaa !25
  %83 = sext i32 %82 to i64
  %84 = getelementptr inbounds [652 x i32], ptr %81, i64 0, i64 %83
  %85 = load i32, ptr %84, align 4, !tbaa !25
  %86 = icmp eq i32 %85, -1
  br i1 %86, label %87, label %88

87:                                               ; preds = %80
  br label %88

88:                                               ; preds = %87, %80
  %89 = phi i1 [ false, %80 ], [ true, %87 ]
  br i1 %89, label %90, label %91

90:                                               ; preds = %88
  br label %93

91:                                               ; preds = %88
  call void @__assert_fail(ptr noundef @.str.9, ptr noundef @.str.3, i32 noundef 1389, ptr noundef @__PRETTY_FUNCTION__._ZN7ImGuiIO17AddKeyAnalogEventE8ImGuiKeybf) #6
  unreachable

92:                                               ; No predecessors!
  br label %93

93:                                               ; preds = %92, %90
  br label %94

94:                                               ; preds = %93
  %95 = load i32, ptr %10, align 4, !tbaa !25
  %96 = add nsw i32 %95, 1
  store i32 %96, ptr %10, align 4, !tbaa !25
  br label %76, !llvm.loop !26

97:                                               ; preds = %79
  br label %98

98:                                               ; preds = %97, %70
  %99 = getelementptr inbounds %struct.ImGuiIO, ptr %18, i32 0, i32 86
  store i8 0, ptr %99, align 2, !tbaa !24
  %100 = load i32, ptr %6, align 4, !tbaa !9
  %101 = call noundef zeroext i1 @_ZN5ImGui12IsGamepadKeyE8ImGuiKey(i32 noundef %100)
  br i1 %101, label %102, label %104

102:                                              ; preds = %98
  %103 = getelementptr inbounds %struct.ImGuiIO, ptr %18, i32 0, i32 87
  store i8 0, ptr %103, align 1, !tbaa !28
  br label %104

104:                                              ; preds = %102, %98
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #7
  %105 = load i32, ptr %6, align 4, !tbaa !9
  %106 = call noundef ptr @_ZL20FindLatestInputEvent19ImGuiInputEventTypei(i32 noundef 4, i32 noundef %105)
  store ptr %106, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #7
  %107 = load i32, ptr %6, align 4, !tbaa !9
  %108 = call noundef ptr @_ZN5ImGui10GetKeyDataE8ImGuiKey(i32 noundef %107)
  store ptr %108, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %13) #7
  %109 = load ptr, ptr %11, align 8, !tbaa !5
  %110 = icmp ne ptr %109, null
  br i1 %110, label %111, label %117

111:                                              ; preds = %104
  %112 = load ptr, ptr %11, align 8, !tbaa !5
  %113 = getelementptr inbounds %struct.ImGuiInputEvent, ptr %112, i32 0, i32 2
  %114 = getelementptr inbounds %struct.ImGuiInputEventKey, ptr %113, i32 0, i32 1
  %115 = load i8, ptr %114, align 4, !tbaa !29, !range !22, !noundef !23
  %116 = trunc i8 %115 to i1
  br label %122

117:                                              ; preds = %104
  %118 = load ptr, ptr %12, align 8, !tbaa !5
  %119 = getelementptr inbounds %struct.ImGuiKeyData, ptr %118, i32 0, i32 0
  %120 = load i8, ptr %119, align 4, !tbaa !30, !range !22, !noundef !23
  %121 = trunc i8 %120 to i1
  br label %122

122:                                              ; preds = %117, %111
  %123 = phi i1 [ %116, %111 ], [ %121, %117 ]
  %124 = zext i1 %123 to i8
  store i8 %124, ptr %13, align 1, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #7
  %125 = load ptr, ptr %11, align 8, !tbaa !5
  %126 = icmp ne ptr %125, null
  br i1 %126, label %127, label %132

127:                                              ; preds = %122
  %128 = load ptr, ptr %11, align 8, !tbaa !5
  %129 = getelementptr inbounds %struct.ImGuiInputEvent, ptr %128, i32 0, i32 2
  %130 = getelementptr inbounds %struct.ImGuiInputEventKey, ptr %129, i32 0, i32 2
  %131 = load float, ptr %130, align 4, !tbaa !29
  br label %136

132:                                              ; preds = %122
  %133 = load ptr, ptr %12, align 8, !tbaa !5
  %134 = getelementptr inbounds %struct.ImGuiKeyData, ptr %133, i32 0, i32 3
  %135 = load float, ptr %134, align 4, !tbaa !32
  br label %136

136:                                              ; preds = %132, %127
  %137 = phi float [ %131, %127 ], [ %135, %132 ]
  store float %137, ptr %14, align 4, !tbaa !13
  %138 = load i8, ptr %13, align 1, !tbaa !11, !range !22, !noundef !23
  %139 = trunc i8 %138 to i1
  %140 = zext i1 %139 to i32
  %141 = load i8, ptr %7, align 1, !tbaa !11, !range !22, !noundef !23
  %142 = trunc i8 %141 to i1
  %143 = zext i1 %142 to i32
  %144 = icmp eq i32 %140, %143
  br i1 %144, label %145, label %150

145:                                              ; preds = %136
  %146 = load float, ptr %14, align 4, !tbaa !13
  %147 = load float, ptr %8, align 4, !tbaa !13
  %148 = fcmp oeq float %146, %147
  br i1 %148, label %149, label %150

149:                                              ; preds = %145
  store i32 1, ptr %15, align 4
  br label %170

150:                                              ; preds = %145, %136
  call void @llvm.lifetime.start.p0(i64 24, ptr %16) #7
  call void @_ZN15ImGuiInputEventC2Ev(ptr noundef nonnull align 4 dereferenceable(21) %16)
  %151 = getelementptr inbounds %struct.ImGuiInputEvent, ptr %16, i32 0, i32 0
  store i32 4, ptr %151, align 4, !tbaa !33
  %152 = load i32, ptr %6, align 4, !tbaa !9
  %153 = call noundef zeroext i1 @_ZN5ImGui12IsGamepadKeyE8ImGuiKey(i32 noundef %152)
  %154 = zext i1 %153 to i64
  %155 = select i1 %153, i32 3, i32 2
  %156 = getelementptr inbounds %struct.ImGuiInputEvent, ptr %16, i32 0, i32 1
  store i32 %155, ptr %156, align 4, !tbaa !37
  %157 = load i32, ptr %6, align 4, !tbaa !9
  %158 = getelementptr inbounds %struct.ImGuiInputEvent, ptr %16, i32 0, i32 2
  %159 = getelementptr inbounds %struct.ImGuiInputEventKey, ptr %158, i32 0, i32 0
  store i32 %157, ptr %159, align 4, !tbaa !29
  %160 = load i8, ptr %7, align 1, !tbaa !11, !range !22, !noundef !23
  %161 = trunc i8 %160 to i1
  %162 = getelementptr inbounds %struct.ImGuiInputEvent, ptr %16, i32 0, i32 2
  %163 = getelementptr inbounds %struct.ImGuiInputEventKey, ptr %162, i32 0, i32 1
  %164 = zext i1 %161 to i8
  store i8 %164, ptr %163, align 4, !tbaa !29
  %165 = load float, ptr %8, align 4, !tbaa !13
  %166 = getelementptr inbounds %struct.ImGuiInputEvent, ptr %16, i32 0, i32 2
  %167 = getelementptr inbounds %struct.ImGuiInputEventKey, ptr %166, i32 0, i32 2
  store float %165, ptr %167, align 4, !tbaa !29
  %168 = load ptr, ptr %9, align 8, !tbaa !5
  %169 = getelementptr inbounds %struct.ImGuiContext, ptr %168, i32 0, i32 3
  call void @_ZN8ImVectorI15ImGuiInputEventE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(16) %169, ptr noundef nonnull align 4 dereferenceable(21) %16)
  call void @llvm.lifetime.end.p0(i64 24, ptr %16) #7
  store i32 0, ptr %15, align 4
  br label %170

170:                                              ; preds = %150, %149
  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
  %171 = load i32, ptr %15, align 4
  switch i32 %171, label %173 [
    i32 0, label %172
    i32 1, label %172
  ]

172:                                              ; preds = %170, %170, %32
  ret void

173:                                              ; preds = %170
  unreachable
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN5ImGui18IsNamedKeyOrModKeyE8ImGuiKey(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 @_ZL20FindLatestInputEvent19ImGuiInputEventTypei(i32 noundef, i32 noundef) #4

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN5ImGui10GetKeyDataE8ImGuiKey(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 3576}
!16 = !{!"_ZTS7ImGuiIO", !17, i64 0, !17, i64 4, !18, i64 8, !14, i64 16, !14, i64 20, !6, i64 24, !6, i64 32, !14, i64 40, !14, i64 44, !14, i64 48, !14, i64 52, !14, i64 56, !14, i64 60, !14, i64 64, !6, i64 72, !6, i64 80, !14, i64 88, !12, i64 92, !6, i64 96, !18, i64 104, !12, i64 112, !12, i64 113, !12, i64 114, !12, i64 115, !12, i64 116, !12, i64 117, !12, i64 118, !12, i64 119, !14, i64 120, !12, i64 124, !12, i64 125, !6, i64 128, !6, i64 136, !6, i64 144, !6, i64 152, !6, i64 160, !6, i64 168, !6, i64 176, !6, i64 184, !6, i64 192, !6, i64 200, !12, i64 208, !12, i64 209, !12, i64 210, !12, i64 211, !12, i64 212, !12, i64 213, !12, i64 214, !14, i64 216, !17, i64 220, !17, i64 224, !17, i64 228, !17, i64 232, !17, i64 236, !18, i64 240, !7, i64 248, !7, i64 2856, !7, i64 3508, !6, i64 3576, !18, i64 3584, !7, i64 3592, !14, i64 3600, !14, i64 3604, !12, i64 3608, !12, i64 3609, !12, i64 3610, !12, i64 3611, !17, i64 3612, !7, i64 3616, !12, i64 14048, !18, i64 14052, !7, i64 14060, !7, i64 14104, !7, i64 14144, !7, i64 14149, !7, i64 14154, !7, i64 14164, !7, i64 14174, !7, i64 14179, !7, i64 14184, !7, i64 14192, !7, i64 14212, !7, i64 14232, !14, i64 14252, !12, i64 14256, !12, i64 14257, !7, i64 14258, !12, i64 14259, !19, i64 14260, !20, i64 14264}
!17 = !{!"int", !7, i64 0}
!18 = !{!"_ZTS6ImVec2", !14, i64 0, !14, i64 4}
!19 = !{!"short", !7, i64 0}
!20 = !{!"_ZTS8ImVectorItE", !17, i64 0, !17, i64 4, !6, i64 8}
!21 = !{!16, !12, i64 14257}
!22 = !{i8 0, i8 2}
!23 = !{}
!24 = !{!16, !7, i64 14258}
!25 = !{!17, !17, i64 0}
!26 = distinct !{!26, !27}
!27 = !{!"llvm.loop.mustprogress"}
!28 = !{!16, !12, i64 14259}
!29 = !{!7, !7, i64 0}
!30 = !{!31, !12, i64 0}
!31 = !{!"_ZTS12ImGuiKeyData", !12, i64 0, !14, i64 4, !14, i64 8, !14, i64 12}
!32 = !{!31, !14, i64 12}
!33 = !{!34, !35, i64 0}
!34 = !{!"_ZTS15ImGuiInputEvent", !35, i64 0, !36, i64 4, !7, i64 8, !12, i64 20}
!35 = !{!"_ZTS19ImGuiInputEventType", !7, i64 0}
!36 = !{!"_ZTS16ImGuiInputSource", !7, i64 0}
!37 = !{!34, !36, i64 4}


; 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, %union.anon, i8, [3 x i8] }>
%union.anon = type { %struct.ImGuiInputEventKey }
%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 [78 x i8], align 1
@__PRETTY_FUNCTION__._ZN7ImGuiIO17AddKeyAnalogEventE8ImGuiKeybf = external hidden unnamed_addr constant [55 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [191 x i8], align 1
@.str.9 = 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(21)) 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(21)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN7ImGuiIO17AddKeyAnalogEventE8ImGuiKeybf(ptr nocapture noundef nonnull align 8 dereferenceable(14280) %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 3576
  %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 1376, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN7ImGuiIO17AddKeyAnalogEventE8ImGuiKeybf) #6
  unreachable

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

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

16:                                               ; preds = %12
  %17 = tail call noundef zeroext i1 @_ZN5ImGui18IsNamedKeyOrModKeyE8ImGuiKey(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 1380, 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 1381, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN7ImGuiIO17AddKeyAnalogEventE8ImGuiKeybf) #6
  unreachable

22:                                               ; preds = %19
  %.not29 = icmp eq i32 %1, 2048
  br i1 %.not29, label %23, label %24

23:                                               ; preds = %22
  tail call void @__assert_fail(ptr noundef nonnull @.str.6, ptr noundef nonnull @.str.3, i32 noundef 1382, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN7ImGuiIO17AddKeyAnalogEventE8ImGuiKeybf) #6
  unreachable

24:                                               ; preds = %22
  %25 = getelementptr inbounds i8, ptr %0, i64 14258
  %26 = load i8, ptr %25, align 2, !tbaa !19
  switch i8 %26, label %.critedge [
    i8 -1, label %.preheader
    i8 0, label %.loopexit
  ]

.preheader:                                       ; preds = %24
  %27 = getelementptr inbounds i8, ptr %0, i64 248
  br label %45

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

28:                                               ; preds = %45
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %29 = getelementptr inbounds [652 x i32], ptr %27, i64 0, i64 %indvars.iv.next
  %30 = load i32, ptr %29, align 4, !tbaa !20
  %31 = icmp eq i32 %30, -1
  br i1 %31, label %32, label %49

32:                                               ; preds = %28
  %indvars.iv.next.1 = add nuw nsw i64 %indvars.iv, 2
  %33 = getelementptr inbounds [652 x i32], ptr %27, i64 0, i64 %indvars.iv.next.1
  %34 = load i32, ptr %33, align 4, !tbaa !20
  %35 = icmp eq i32 %34, -1
  br i1 %35, label %36, label %49

36:                                               ; preds = %32
  %indvars.iv.next.2 = add nuw nsw i64 %indvars.iv, 3
  %37 = getelementptr inbounds [652 x i32], ptr %27, i64 0, i64 %indvars.iv.next.2
  %38 = load i32, ptr %37, align 4, !tbaa !20
  %39 = icmp eq i32 %38, -1
  br i1 %39, label %40, label %49

40:                                               ; preds = %36
  %indvars.iv.next.3 = add nuw nsw i64 %indvars.iv, 4
  %41 = getelementptr inbounds [652 x i32], ptr %27, i64 0, i64 %indvars.iv.next.3
  %42 = load i32, ptr %41, align 4, !tbaa !20
  %43 = icmp eq i32 %42, -1
  br i1 %43, label %44, label %49

44:                                               ; preds = %40
  %indvars.iv.next.4 = add nuw nsw i64 %indvars.iv, 5
  %exitcond.not.4 = icmp eq i64 %indvars.iv.next.4, 652
  br i1 %exitcond.not.4, label %.loopexit, label %45, !llvm.loop !21

45:                                               ; preds = %44, %.preheader
  %indvars.iv = phi i64 [ 512, %.preheader ], [ %indvars.iv.next.4, %44 ]
  %46 = getelementptr inbounds [652 x i32], ptr %27, i64 0, i64 %indvars.iv
  %47 = load i32, ptr %46, align 4, !tbaa !20
  %48 = icmp eq i32 %47, -1
  br i1 %48, label %28, label %49

49:                                               ; preds = %40, %36, %32, %28, %45
  tail call void @__assert_fail(ptr noundef nonnull @.str.9, ptr noundef nonnull @.str.3, i32 noundef 1389, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN7ImGuiIO17AddKeyAnalogEventE8ImGuiKeybf) #6
  unreachable

.loopexit:                                        ; preds = %44, %24
  store i8 0, ptr %25, align 2, !tbaa !19
  %50 = tail call noundef zeroext i1 @_ZN5ImGui12IsGamepadKeyE8ImGuiKey(i32 noundef %1)
  br i1 %50, label %51, label %53

51:                                               ; preds = %.loopexit
  %52 = getelementptr inbounds i8, ptr %0, i64 14259
  store i8 0, ptr %52, align 1, !tbaa !23
  br label %53

53:                                               ; preds = %51, %.loopexit
  %54 = tail call noundef ptr @_ZL20FindLatestInputEvent19ImGuiInputEventTypei(i32 noundef 4, i32 noundef %1)
  %55 = tail call noundef ptr @_ZN5ImGui10GetKeyDataE8ImGuiKey(i32 noundef %1)
  %.not30 = icmp eq ptr %54, null
  %56 = getelementptr inbounds i8, ptr %54, i64 12
  %.in.in = select i1 %.not30, ptr %55, ptr %56
  %.in = load i8, ptr %.in.in, align 4, !tbaa !24, !range !17, !noundef !18
  %57 = icmp eq i8 %.in, %6
  br i1 %57, label %58, label %63

58:                                               ; preds = %53
  %59 = getelementptr inbounds i8, ptr %55, i64 12
  %60 = getelementptr inbounds i8, ptr %54, i64 16
  %.in31 = select i1 %.not30, ptr %59, ptr %60
  %61 = load float, ptr %.in31, align 4, !tbaa !24
  %62 = fcmp oeq float %61, %3
  br i1 %62, label %71, label %63

63:                                               ; preds = %58, %53
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %5) #7
  call void @_ZN15ImGuiInputEventC2Ev(ptr noundef nonnull align 4 dereferenceable(21) %5)
  store i32 4, ptr %5, align 4, !tbaa !25
  %64 = call noundef zeroext i1 @_ZN5ImGui12IsGamepadKeyE8ImGuiKey(i32 noundef %1)
  %65 = select i1 %64, i32 3, i32 2
  %66 = getelementptr inbounds i8, ptr %5, i64 4
  store i32 %65, ptr %66, align 4, !tbaa !29
  %67 = getelementptr inbounds i8, ptr %5, i64 8
  store i32 %1, ptr %67, align 4, !tbaa !24
  %68 = getelementptr inbounds i8, ptr %5, i64 12
  store i8 %6, ptr %68, align 4, !tbaa !24
  %69 = getelementptr inbounds i8, ptr %5, i64 16
  store float %3, ptr %69, align 4, !tbaa !24
  %70 = getelementptr inbounds i8, ptr %8, i64 14288
  call void @_ZN8ImVectorI15ImGuiInputEventE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(16) %70, ptr noundef nonnull align 4 dereferenceable(21) %5)
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #7
  br label %71

71:                                               ; preds = %63, %58, %10, %12
  ret void
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN5ImGui18IsNamedKeyOrModKeyE8ImGuiKey(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 @_ZL20FindLatestInputEvent19ImGuiInputEventTypei(i32 noundef, i32 noundef) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN5ImGui10GetKeyDataE8ImGuiKey(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 3576}
!6 = !{!"_ZTS7ImGuiIO", !7, i64 0, !7, i64 4, !10, i64 8, !11, i64 16, !11, i64 20, !12, i64 24, !12, i64 32, !11, i64 40, !11, i64 44, !11, i64 48, !11, i64 52, !11, i64 56, !11, i64 60, !11, i64 64, !12, i64 72, !12, i64 80, !11, i64 88, !13, i64 92, !12, i64 96, !10, i64 104, !13, i64 112, !13, i64 113, !13, i64 114, !13, i64 115, !13, i64 116, !13, i64 117, !13, i64 118, !13, i64 119, !11, i64 120, !13, i64 124, !13, i64 125, !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, !13, i64 208, !13, i64 209, !13, i64 210, !13, i64 211, !13, i64 212, !13, i64 213, !13, i64 214, !11, i64 216, !7, i64 220, !7, i64 224, !7, i64 228, !7, i64 232, !7, i64 236, !10, i64 240, !8, i64 248, !8, i64 2856, !8, i64 3508, !12, i64 3576, !10, i64 3584, !8, i64 3592, !11, i64 3600, !11, i64 3604, !13, i64 3608, !13, i64 3609, !13, i64 3610, !13, i64 3611, !7, i64 3612, !8, i64 3616, !13, i64 14048, !10, i64 14052, !8, i64 14060, !8, i64 14104, !8, i64 14144, !8, i64 14149, !8, i64 14154, !8, i64 14164, !8, i64 14174, !8, i64 14179, !8, i64 14184, !8, i64 14192, !8, i64 14212, !8, i64 14232, !11, i64 14252, !13, i64 14256, !13, i64 14257, !8, i64 14258, !13, i64 14259, !14, i64 14260, !15, i64 14264}
!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 = !{!"_ZTS8ImVectorItE", !7, i64 0, !7, i64 4, !12, i64 8}
!16 = !{!6, !13, i64 14257}
!17 = !{i8 0, i8 2}
!18 = !{}
!19 = !{!6, !8, i64 14258}
!20 = !{!7, !7, i64 0}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.mustprogress"}
!23 = !{!6, !13, i64 14259}
!24 = !{!8, !8, i64 0}
!25 = !{!26, !27, i64 0}
!26 = !{!"_ZTS15ImGuiInputEvent", !27, i64 0, !28, i64 4, !8, i64 8, !13, i64 20}
!27 = !{!"_ZTS19ImGuiInputEventType", !8, i64 0}
!28 = !{!"_ZTS16ImGuiInputSource", !8, i64 0}
!29 = !{!26, !28, i64 4}


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