; LLVM IR from l1mey112/yr11-physics-applied :: cimgui/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, 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], %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, 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, 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, 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, %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, 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, 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 }

@GImGui = external dso_local global ptr, align 8
@.str.3 = external hidden unnamed_addr constant [59 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [86 x i8], align 1
@__PRETTY_FUNCTION__._ZN7ImGuiIO17AddKeyAnalogEventE8ImGuiKeybf = external hidden unnamed_addr constant [55 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [191 x i8], align 1
@.str.10 = 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(14264) %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 = load i32, ptr %6, align 4, !tbaa !9
  %20 = icmp eq i32 %19, 0
  br i1 %20, label %25, label %21

21:                                               ; preds = %4
  %22 = getelementptr inbounds %struct.ImGuiIO, ptr %18, i32 0, i32 82
  %23 = load i8, ptr %22, align 1, !tbaa !15, !range !21, !noundef !22
  %24 = trunc i8 %23 to i1
  br i1 %24, label %26, label %25

25:                                               ; preds = %21, %4
  br label %174

26:                                               ; preds = %21
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #6
  %27 = load ptr, ptr @GImGui, align 8, !tbaa !5
  store ptr %27, ptr %9, align 8, !tbaa !5
  %28 = load ptr, ptr %9, align 8, !tbaa !5
  %29 = getelementptr inbounds %struct.ImGuiContext, ptr %28, i32 0, i32 2
  %30 = icmp eq ptr %29, %18
  br i1 %30, label %31, label %32

31:                                               ; preds = %26
  br label %32

32:                                               ; preds = %31, %26
  %33 = phi i1 [ false, %26 ], [ true, %31 ]
  br i1 %33, label %34, label %35

34:                                               ; preds = %32
  br label %37

35:                                               ; preds = %32
  call void @__assert_fail(ptr noundef @.str.3, ptr noundef @.str.4, i32 noundef 1352, ptr noundef @__PRETTY_FUNCTION__._ZN7ImGuiIO17AddKeyAnalogEventE8ImGuiKeybf) #7
  unreachable

36:                                               ; No predecessors!
  br label %37

37:                                               ; preds = %36, %34
  %38 = load i32, ptr %6, align 4, !tbaa !9
  %39 = call noundef zeroext i1 @_ZN5ImGui18IsNamedKeyOrModKeyE8ImGuiKey(i32 noundef %38)
  br i1 %39, label %40, label %41

40:                                               ; preds = %37
  br label %43

41:                                               ; preds = %37
  call void @__assert_fail(ptr noundef @.str.5, ptr noundef @.str.4, i32 noundef 1353, ptr noundef @__PRETTY_FUNCTION__._ZN7ImGuiIO17AddKeyAnalogEventE8ImGuiKeybf) #7
  unreachable

42:                                               ; No predecessors!
  br label %43

43:                                               ; preds = %42, %40
  %44 = load i32, ptr %6, align 4, !tbaa !9
  %45 = call noundef zeroext i1 @_ZN5ImGui10IsAliasKeyE8ImGuiKey(i32 noundef %44)
  %46 = xor i1 %45, true
  br i1 %46, label %47, label %48

47:                                               ; preds = %43
  br label %50

48:                                               ; preds = %43
  call void @__assert_fail(ptr noundef @.str.6, ptr noundef @.str.4, i32 noundef 1354, ptr noundef @__PRETTY_FUNCTION__._ZN7ImGuiIO17AddKeyAnalogEventE8ImGuiKeybf) #7
  unreachable

49:                                               ; No predecessors!
  br label %50

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

53:                                               ; preds = %50
  br label %56

54:                                               ; preds = %50
  call void @__assert_fail(ptr noundef @.str.7, ptr noundef @.str.4, i32 noundef 1355, ptr noundef @__PRETTY_FUNCTION__._ZN7ImGuiIO17AddKeyAnalogEventE8ImGuiKeybf) #7
  unreachable

55:                                               ; No predecessors!
  br label %56

56:                                               ; preds = %55, %53
  %57 = getelementptr inbounds %struct.ImGuiIO, ptr %18, i32 0, i32 83
  %58 = load i8, ptr %57, align 2, !tbaa !23
  %59 = sext i8 %58 to i32
  %60 = icmp eq i32 %59, -1
  br i1 %60, label %66, label %61

61:                                               ; preds = %56
  %62 = getelementptr inbounds %struct.ImGuiIO, ptr %18, i32 0, i32 83
  %63 = load i8, ptr %62, align 2, !tbaa !23
  %64 = sext i8 %63 to i32
  %65 = icmp eq i32 %64, 0
  br i1 %65, label %66, label %67

66:                                               ; preds = %61, %56
  br label %67

67:                                               ; preds = %66, %61
  %68 = phi i1 [ false, %61 ], [ true, %66 ]
  br i1 %68, label %69, label %70

69:                                               ; preds = %67
  br label %72

70:                                               ; preds = %67
  call void @__assert_fail(ptr noundef @.str.9, ptr noundef @.str.4, i32 noundef 1359, ptr noundef @__PRETTY_FUNCTION__._ZN7ImGuiIO17AddKeyAnalogEventE8ImGuiKeybf) #7
  unreachable

71:                                               ; No predecessors!
  br label %72

72:                                               ; preds = %71, %69
  %73 = getelementptr inbounds %struct.ImGuiIO, ptr %18, i32 0, i32 83
  %74 = load i8, ptr %73, align 2, !tbaa !23
  %75 = sext i8 %74 to i32
  %76 = icmp eq i32 %75, -1
  br i1 %76, label %77, label %100

77:                                               ; preds = %72
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #6
  store i32 512, ptr %10, align 4, !tbaa !24
  br label %78

78:                                               ; preds = %96, %77
  %79 = load i32, ptr %10, align 4, !tbaa !24
  %80 = icmp slt i32 %79, 652
  br i1 %80, label %82, label %81

81:                                               ; preds = %78
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #6
  br label %99

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

89:                                               ; preds = %82
  br label %90

90:                                               ; preds = %89, %82
  %91 = phi i1 [ false, %82 ], [ true, %89 ]
  br i1 %91, label %92, label %93

92:                                               ; preds = %90
  br label %95

93:                                               ; preds = %90
  call void @__assert_fail(ptr noundef @.str.10, ptr noundef @.str.4, i32 noundef 1362, ptr noundef @__PRETTY_FUNCTION__._ZN7ImGuiIO17AddKeyAnalogEventE8ImGuiKeybf) #7
  unreachable

94:                                               ; No predecessors!
  br label %95

95:                                               ; preds = %94, %92
  br label %96

96:                                               ; preds = %95
  %97 = load i32, ptr %10, align 4, !tbaa !24
  %98 = add nsw i32 %97, 1
  store i32 %98, ptr %10, align 4, !tbaa !24
  br label %78, !llvm.loop !25

99:                                               ; preds = %81
  br label %100

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

104:                                              ; preds = %100
  %105 = getelementptr inbounds %struct.ImGuiIO, ptr %18, i32 0, i32 84
  store i8 0, ptr %105, align 1, !tbaa !27
  br label %106

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

113:                                              ; preds = %106
  %114 = load ptr, ptr %11, align 8, !tbaa !5
  %115 = getelementptr inbounds %struct.ImGuiInputEvent, ptr %114, i32 0, i32 2
  %116 = getelementptr inbounds %struct.ImGuiInputEventKey, ptr %115, i32 0, i32 1
  %117 = load i8, ptr %116, align 4, !tbaa !28, !range !21, !noundef !22
  %118 = trunc i8 %117 to i1
  br label %124

119:                                              ; preds = %106
  %120 = load ptr, ptr %12, align 8, !tbaa !5
  %121 = getelementptr inbounds %struct.ImGuiKeyData, ptr %120, i32 0, i32 0
  %122 = load i8, ptr %121, align 4, !tbaa !29, !range !21, !noundef !22
  %123 = trunc i8 %122 to i1
  br label %124

124:                                              ; preds = %119, %113
  %125 = phi i1 [ %118, %113 ], [ %123, %119 ]
  %126 = zext i1 %125 to i8
  store i8 %126, ptr %13, align 1, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #6
  %127 = load ptr, ptr %11, align 8, !tbaa !5
  %128 = icmp ne ptr %127, null
  br i1 %128, label %129, label %134

129:                                              ; preds = %124
  %130 = load ptr, ptr %11, align 8, !tbaa !5
  %131 = getelementptr inbounds %struct.ImGuiInputEvent, ptr %130, i32 0, i32 2
  %132 = getelementptr inbounds %struct.ImGuiInputEventKey, ptr %131, i32 0, i32 2
  %133 = load float, ptr %132, align 4, !tbaa !28
  br label %138

134:                                              ; preds = %124
  %135 = load ptr, ptr %12, align 8, !tbaa !5
  %136 = getelementptr inbounds %struct.ImGuiKeyData, ptr %135, i32 0, i32 3
  %137 = load float, ptr %136, align 4, !tbaa !31
  br label %138

138:                                              ; preds = %134, %129
  %139 = phi float [ %133, %129 ], [ %137, %134 ]
  store float %139, ptr %14, align 4, !tbaa !13
  %140 = load i8, ptr %13, align 1, !tbaa !11, !range !21, !noundef !22
  %141 = trunc i8 %140 to i1
  %142 = zext i1 %141 to i32
  %143 = load i8, ptr %7, align 1, !tbaa !11, !range !21, !noundef !22
  %144 = trunc i8 %143 to i1
  %145 = zext i1 %144 to i32
  %146 = icmp eq i32 %142, %145
  br i1 %146, label %147, label %152

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

151:                                              ; preds = %147
  store i32 1, ptr %15, align 4
  br label %172

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

172:                                              ; preds = %152, %151
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  %173 = load i32, ptr %15, align 4
  switch i32 %173, label %175 [
    i32 0, label %174
    i32 1, label %174
  ]

174:                                              ; preds = %172, %172, %25
  ret void

175:                                              ; preds = %172
  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 = { nounwind }
attributes #7 = { noreturn nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !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, !12, i64 14241}
!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, !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, !18, i64 3572, !7, i64 3580, !14, i64 3588, !14, i64 3592, !12, i64 3596, !12, i64 3597, !12, i64 3598, !12, i64 3599, !17, i64 3600, !7, i64 3604, !12, i64 14036, !18, i64 14040, !7, i64 14048, !7, i64 14088, !7, i64 14128, !7, i64 14133, !7, i64 14138, !7, i64 14148, !7, i64 14158, !7, i64 14163, !7, i64 14168, !7, i64 14176, !7, i64 14196, !7, i64 14216, !14, i64 14236, !12, i64 14240, !12, i64 14241, !7, i64 14242, !12, i64 14243, !19, i64 14244, !20, i64 14248}
!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 = !{i8 0, i8 2}
!22 = !{}
!23 = !{!16, !7, i64 14242}
!24 = !{!17, !17, i64 0}
!25 = distinct !{!25, !26}
!26 = !{!"llvm.loop.mustprogress"}
!27 = !{!16, !12, i64 14243}
!28 = !{!7, !7, i64 0}
!29 = !{!30, !12, i64 0}
!30 = !{!"_ZTS12ImGuiKeyData", !12, i64 0, !14, i64 4, !14, i64 8, !14, i64 12}
!31 = !{!30, !14, i64 12}
!32 = !{!33, !34, i64 0}
!33 = !{!"_ZTS15ImGuiInputEvent", !34, i64 0, !35, i64 4, !7, i64 8, !12, i64 20}
!34 = !{!"_ZTS19ImGuiInputEventType", !7, i64 0}
!35 = !{!"_ZTS16ImGuiInputSource", !7, i64 0}
!36 = !{!33, !35, 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 }

@GImGui = external dso_local local_unnamed_addr global ptr, align 8
@.str.3 = external hidden unnamed_addr constant [59 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [86 x i8], align 1
@__PRETTY_FUNCTION__._ZN7ImGuiIO17AddKeyAnalogEventE8ImGuiKeybf = external hidden unnamed_addr constant [55 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [191 x i8], align 1
@.str.10 = 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 noundef nonnull align 8 dereferenceable(14264) %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 = icmp eq i32 %1, 0
  br i1 %7, label %72, label %8

8:                                                ; preds = %4
  %9 = getelementptr inbounds i8, ptr %0, i64 14241
  %10 = load i8, ptr %9, align 1, !tbaa !5, !range !16, !noundef !17
  %11 = trunc nuw i8 %10 to i1
  br i1 %11, label %12, label %72

12:                                               ; preds = %8
  %13 = load ptr, ptr @GImGui, align 8, !tbaa !18
  %14 = getelementptr inbounds i8, ptr %13, i64 8
  %15 = icmp eq ptr %14, %0
  br i1 %15, label %17, label %16

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

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

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

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

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

23:                                               ; preds = %20
  %.not = icmp eq i32 %1, 2048
  br i1 %.not, label %24, label %25

24:                                               ; preds = %23
  tail call void @__assert_fail(ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.4, i32 noundef 1355, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN7ImGuiIO17AddKeyAnalogEventE8ImGuiKeybf) #6
  unreachable

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

.preheader:                                       ; preds = %25
  %28 = getelementptr inbounds i8, ptr %0, i64 248
  br label %46

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

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

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

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

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

45:                                               ; preds = %41
  %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 %46, !llvm.loop !21

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

50:                                               ; preds = %41, %37, %33, %29, %46
  tail call void @__assert_fail(ptr noundef nonnull @.str.10, ptr noundef nonnull @.str.4, i32 noundef 1362, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN7ImGuiIO17AddKeyAnalogEventE8ImGuiKeybf) #6
  unreachable

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

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

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

59:                                               ; preds = %54
  %60 = getelementptr inbounds i8, ptr %56, i64 12
  %61 = getelementptr inbounds i8, ptr %55, i64 16
  %.in32 = select i1 %.not31, ptr %60, ptr %61
  %62 = load float, ptr %.in32, align 4, !tbaa !24
  %63 = fcmp oeq float %62, %3
  br i1 %63, label %72, label %64

64:                                               ; preds = %59, %54
  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
  %65 = call noundef zeroext i1 @_ZN5ImGui12IsGamepadKeyE8ImGuiKey(i32 noundef %1)
  %66 = select i1 %65, i32 3, i32 2
  %67 = getelementptr inbounds i8, ptr %5, i64 4
  store i32 %66, ptr %67, align 4, !tbaa !29
  %68 = getelementptr inbounds i8, ptr %5, i64 8
  store i32 %1, ptr %68, align 4, !tbaa !24
  %69 = getelementptr inbounds i8, ptr %5, i64 12
  store i8 %6, ptr %69, align 4, !tbaa !24
  %70 = getelementptr inbounds i8, ptr %5, i64 16
  store float %3, ptr %70, align 4, !tbaa !24
  %71 = getelementptr inbounds i8, ptr %13, i64 14272
  call void @_ZN8ImVectorI15ImGuiInputEventE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(16) %71, ptr noundef nonnull align 4 dereferenceable(21) %5)
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #7
  br label %72

72:                                               ; preds = %64, %59, %4, %8
  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, !13, i64 14241}
!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, !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, !10, i64 3572, !8, i64 3580, !11, i64 3588, !11, i64 3592, !13, i64 3596, !13, i64 3597, !13, i64 3598, !13, i64 3599, !7, i64 3600, !8, i64 3604, !13, i64 14036, !10, i64 14040, !8, i64 14048, !8, i64 14088, !8, i64 14128, !8, i64 14133, !8, i64 14138, !8, i64 14148, !8, i64 14158, !8, i64 14163, !8, i64 14168, !8, i64 14176, !8, i64 14196, !8, i64 14216, !11, i64 14236, !13, i64 14240, !13, i64 14241, !8, i64 14242, !13, i64 14243, !14, i64 14244, !15, i64 14248}
!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 = !{i8 0, i8 2}
!17 = !{}
!18 = !{!12, !12, i64 0}
!19 = !{!6, !8, i64 14242}
!20 = !{!7, !7, i64 0}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.mustprogress"}
!23 = !{!6, !13, i64 14243}
!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,SROAPass,SimplifyCFGPass,TailCallElimPass