; LLVM IR from PepcyCh/bisemutum-engine :: bisemutum/thirdparty/ImGuizmo/example (imgui)

; 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, i8, [2 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.1, %struct.ImVector.1, %struct.ImVector.1, %struct.ImVector.2, %struct.ImGuiStorage, i32, %struct.ImVec2, ptr, ptr, ptr, ptr, ptr, %struct.ImVec2, float, i32, i32, i32, i8, i8, i8, i8, float, float, i32, i32, float, i8, i8, i8, i8, i8, i8, %struct.ImVec2, ptr, i32, i32, i32, i8, i8, ptr, i32, float, i32, %struct.ImBitArray, i32, i32, %struct.ImGuiNextItemData, %struct.ImGuiLastItemData, %struct.ImGuiNextWindowData, %struct.ImVector.4, %struct.ImVector.5, %struct.ImVector.6, %struct.ImVector.7, %struct.ImVector.8, %struct.ImVector.9, %struct.ImVector.10, %struct.ImVector.10, i32, %struct.ImVector.11, 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, 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.12, [16 x i8], i32, %struct.ImVector.13, ptr, i32, %struct.ImVector.14, %struct.ImPool, %struct.ImVector.16, %struct.ImVector.17, ptr, %struct.ImPool.18, %struct.ImVector.20, %struct.ImVector.21, 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.22, %struct.ImVector.7, %struct.ImGuiPlatformImeData, %struct.ImGuiPlatformImeData, i8, i8, float, %struct.ImGuiTextBuffer, %struct.ImVector.24, %struct.ImChunkStream, %struct.ImChunkStream.25, %struct.ImVector.26, i32, i8, i32, ptr, %struct.ImGuiTextBuffer, ptr, ptr, float, i8, i32, i32, i32, i32, %struct.ImGuiTextBuffer, i8, i8, i32, %struct.ImGuiMetricsConfig, %struct.ImGuiStackTool, [60 x float], i32, i32, float, i32, i32, i32, %struct.ImVector.22 }
%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, [48 x %struct.ImVec2], float, [64 x i8], ptr }
%struct.ImVector.1 = type { i32, i32, ptr }
%struct.ImVector.2 = type { i32, i32, ptr }
%struct.ImGuiStorage = type { %struct.ImVector.3 }
%struct.ImVector.3 = type { i32, i32, ptr }
%struct.ImBitArray = type { [5 x i32] }
%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.4 = type { i32, i32, ptr }
%struct.ImVector.5 = type { i32, i32, ptr }
%struct.ImVector.6 = type { i32, i32, ptr }
%struct.ImVector.8 = type { i32, i32, ptr }
%struct.ImVector.9 = type { i32, i32, ptr }
%struct.ImVector.10 = type { i32, i32, ptr }
%struct.ImVector.11 = 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.12 = type { i32, i32, ptr }
%struct.ImVector.13 = type { i32, i32, ptr }
%struct.ImVector.14 = type { i32, i32, ptr }
%struct.ImPool = type { %struct.ImVector.15, %struct.ImGuiStorage, i32, i32 }
%struct.ImVector.15 = type { i32, i32, ptr }
%struct.ImVector.16 = type { i32, i32, ptr }
%struct.ImVector.17 = type { i32, i32, ptr }
%struct.ImPool.18 = type { %struct.ImVector.19, %struct.ImGuiStorage, i32, i32 }
%struct.ImVector.19 = type { i32, i32, ptr }
%struct.ImVector.20 = type { i32, i32, ptr }
%struct.ImVector.21 = type { i32, i32, ptr }
%struct.ImGuiInputTextState = type <{ i32, i32, i32, [4 x i8], %struct.ImVector, %struct.ImVector.22, %struct.ImVector.22, 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.16, float, float, %struct.ImVector, %struct.ImVector.23, ptr, ptr, ptr, i16, i16, i16, i16, i8, [3 x i8], float, float, float, i32, [2 x i8], [2 x i8] }>
%struct.ImVector.23 = 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.7 = type { i32, i32, ptr }
%struct.ImGuiPlatformImeData = type { i8, %struct.ImVec2, float }
%struct.ImVector.24 = type { i32, i32, ptr }
%struct.ImChunkStream = type { %struct.ImVector.22 }
%struct.ImChunkStream.25 = type { %struct.ImVector.22 }
%struct.ImVector.26 = type { i32, i32, ptr }
%struct.ImGuiTextBuffer = type { %struct.ImVector.22 }
%struct.ImGuiMetricsConfig = type { i8, i8, i8, i8, i8, i8, i8, i32, i32 }
%struct.ImGuiStackTool = type { i32, i32, i32, %struct.ImVector.27, i8, float }
%struct.ImVector.27 = type { i32, i32, ptr }
%struct.ImVector.22 = 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 [106 x i8], align 1
@__PRETTY_FUNCTION__._ZN7ImGuiIO17AddKeyAnalogEventE8ImGuiKeybf = external hidden unnamed_addr constant [55 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [24 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(22)) 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(22)) #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 i8, align 1
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca %struct.ImGuiInputEvent, align 4
  store ptr %0, ptr %5, align 8, !tbaa !5
  store i32 %1, ptr %6, align 4, !tbaa !9
  %16 = zext i1 %2 to i8
  store i8 %16, ptr %7, align 1, !tbaa !11
  store float %3, ptr %8, align 4, !tbaa !13
  %17 = load ptr, ptr %5, align 8
  %18 = load i32, ptr %6, align 4, !tbaa !9
  %19 = icmp eq i32 %18, 0
  br i1 %19, label %24, label %20

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

24:                                               ; preds = %20, %4
  br label %186

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

30:                                               ; preds = %25
  br label %31

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

33:                                               ; preds = %31
  br label %36

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

35:                                               ; No predecessors!
  br label %36

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

39:                                               ; preds = %36
  br label %42

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

41:                                               ; No predecessors!
  br label %42

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

46:                                               ; preds = %42
  br label %49

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

48:                                               ; No predecessors!
  br label %49

49:                                               ; preds = %48, %46
  %50 = getelementptr inbounds %struct.ImGuiIO, ptr %17, i32 0, i32 83
  %51 = load i8, ptr %50, align 2, !tbaa !23
  %52 = sext i8 %51 to i32
  %53 = icmp eq i32 %52, -1
  br i1 %53, label %59, label %54

54:                                               ; preds = %49
  %55 = getelementptr inbounds %struct.ImGuiIO, ptr %17, i32 0, i32 83
  %56 = load i8, ptr %55, align 2, !tbaa !23
  %57 = sext i8 %56 to i32
  %58 = icmp eq i32 %57, 0
  br i1 %58, label %59, label %60

59:                                               ; preds = %54, %49
  br label %60

60:                                               ; preds = %59, %54
  %61 = phi i1 [ false, %54 ], [ true, %59 ]
  br i1 %61, label %62, label %63

62:                                               ; preds = %60
  br label %65

63:                                               ; preds = %60
  call void @__assert_fail(ptr noundef @.str.8, ptr noundef @.str.4, i32 noundef 1313, ptr noundef @__PRETTY_FUNCTION__._ZN7ImGuiIO17AddKeyAnalogEventE8ImGuiKeybf) #7
  unreachable

64:                                               ; No predecessors!
  br label %65

65:                                               ; preds = %64, %62
  %66 = getelementptr inbounds %struct.ImGuiIO, ptr %17, i32 0, i32 83
  %67 = load i8, ptr %66, align 2, !tbaa !23
  %68 = sext i8 %67 to i32
  %69 = icmp eq i32 %68, -1
  br i1 %69, label %70, label %93

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

71:                                               ; preds = %89, %70
  %72 = load i32, ptr %10, align 4, !tbaa !24
  %73 = icmp slt i32 %72, 652
  br i1 %73, label %75, label %74

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

75:                                               ; preds = %71
  %76 = getelementptr inbounds %struct.ImGuiIO, ptr %17, i32 0, i32 53
  %77 = load i32, ptr %10, align 4, !tbaa !24
  %78 = sext i32 %77 to i64
  %79 = getelementptr inbounds [652 x i32], ptr %76, i64 0, i64 %78
  %80 = load i32, ptr %79, align 4, !tbaa !24
  %81 = icmp eq i32 %80, -1
  br i1 %81, label %82, label %83

82:                                               ; preds = %75
  br label %83

83:                                               ; preds = %82, %75
  %84 = phi i1 [ false, %75 ], [ true, %82 ]
  br i1 %84, label %85, label %86

85:                                               ; preds = %83
  br label %88

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

87:                                               ; No predecessors!
  br label %88

88:                                               ; preds = %87, %85
  br label %89

89:                                               ; preds = %88
  %90 = load i32, ptr %10, align 4, !tbaa !24
  %91 = add nsw i32 %90, 1
  store i32 %91, ptr %10, align 4, !tbaa !24
  br label %71, !llvm.loop !25

92:                                               ; preds = %74
  br label %93

93:                                               ; preds = %92, %65
  %94 = getelementptr inbounds %struct.ImGuiIO, ptr %17, i32 0, i32 83
  store i8 0, ptr %94, align 2, !tbaa !23
  %95 = load i32, ptr %6, align 4, !tbaa !9
  %96 = call noundef zeroext i1 @_ZN5ImGui12IsGamepadKeyE8ImGuiKey(i32 noundef %95)
  br i1 %96, label %97, label %99

97:                                               ; preds = %93
  %98 = getelementptr inbounds %struct.ImGuiIO, ptr %17, i32 0, i32 84
  store i8 0, ptr %98, align 1, !tbaa !27
  br label %99

99:                                               ; preds = %97, %93
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #6
  %100 = load i32, ptr %6, align 4, !tbaa !9
  %101 = call noundef ptr @_ZN5ImGui10GetKeyDataE8ImGuiKey(i32 noundef %100)
  store ptr %101, ptr %11, align 8, !tbaa !5
  %102 = load ptr, ptr %11, align 8, !tbaa !5
  %103 = getelementptr inbounds %struct.ImGuiKeyData, ptr %102, i32 0, i32 0
  %104 = load i8, ptr %103, align 4, !tbaa !28, !range !21, !noundef !22
  %105 = trunc i8 %104 to i1
  %106 = zext i1 %105 to i32
  %107 = load i8, ptr %7, align 1, !tbaa !11, !range !21, !noundef !22
  %108 = trunc i8 %107 to i1
  %109 = zext i1 %108 to i32
  %110 = icmp eq i32 %106, %109
  br i1 %110, label %111, label %164

111:                                              ; preds = %99
  %112 = load ptr, ptr %11, align 8, !tbaa !5
  %113 = getelementptr inbounds %struct.ImGuiKeyData, ptr %112, i32 0, i32 3
  %114 = load float, ptr %113, align 4, !tbaa !30
  %115 = load float, ptr %8, align 4, !tbaa !13
  %116 = fcmp oeq float %114, %115
  br i1 %116, label %117, label %164

117:                                              ; preds = %111
  call void @llvm.lifetime.start.p0(i64 1, ptr %12) #6
  store i8 0, ptr %12, align 1, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #6
  %118 = load ptr, ptr %9, align 8, !tbaa !5
  %119 = getelementptr inbounds %struct.ImGuiContext, ptr %118, i32 0, i32 3
  %120 = getelementptr inbounds %struct.ImVector.0, ptr %119, i32 0, i32 0
  %121 = load i32, ptr %120, align 8, !tbaa !31
  %122 = sub nsw i32 %121, 1
  store i32 %122, ptr %13, align 4, !tbaa !24
  br label %123

123:                                              ; preds = %153, %117
  %124 = load i32, ptr %13, align 4, !tbaa !24
  %125 = icmp sge i32 %124, 0
  br i1 %125, label %126, label %130

126:                                              ; preds = %123
  %127 = load i8, ptr %12, align 1, !tbaa !11, !range !21, !noundef !22
  %128 = trunc i8 %127 to i1
  %129 = xor i1 %128, true
  br label %130

130:                                              ; preds = %126, %123
  %131 = phi i1 [ false, %123 ], [ %129, %126 ]
  br i1 %131, label %133, label %132

132:                                              ; preds = %130
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #6
  br label %156

133:                                              ; preds = %130
  %134 = load ptr, ptr %9, align 8, !tbaa !5
  %135 = getelementptr inbounds %struct.ImGuiContext, ptr %134, i32 0, i32 3
  %136 = load i32, ptr %13, align 4, !tbaa !24
  %137 = call noundef nonnull align 4 dereferenceable(22) ptr @_ZN8ImVectorI15ImGuiInputEventEixEi(ptr noundef nonnull align 8 dereferenceable(16) %135, i32 noundef %136)
  %138 = getelementptr inbounds %struct.ImGuiInputEvent, ptr %137, i32 0, i32 0
  %139 = load i32, ptr %138, align 4, !tbaa !87
  %140 = icmp eq i32 %139, 4
  br i1 %140, label %141, label %152

141:                                              ; preds = %133
  %142 = load ptr, ptr %9, align 8, !tbaa !5
  %143 = getelementptr inbounds %struct.ImGuiContext, ptr %142, i32 0, i32 3
  %144 = load i32, ptr %13, align 4, !tbaa !24
  %145 = call noundef nonnull align 4 dereferenceable(22) ptr @_ZN8ImVectorI15ImGuiInputEventEixEi(ptr noundef nonnull align 8 dereferenceable(16) %143, i32 noundef %144)
  %146 = getelementptr inbounds %struct.ImGuiInputEvent, ptr %145, i32 0, i32 2
  %147 = getelementptr inbounds %struct.ImGuiInputEventKey, ptr %146, i32 0, i32 0
  %148 = load i32, ptr %147, align 4, !tbaa !90
  %149 = load i32, ptr %6, align 4, !tbaa !9
  %150 = icmp eq i32 %148, %149
  br i1 %150, label %151, label %152

151:                                              ; preds = %141
  store i8 1, ptr %12, align 1, !tbaa !11
  br label %152

152:                                              ; preds = %151, %141, %133
  br label %153

153:                                              ; preds = %152
  %154 = load i32, ptr %13, align 4, !tbaa !24
  %155 = add nsw i32 %154, -1
  store i32 %155, ptr %13, align 4, !tbaa !24
  br label %123, !llvm.loop !91

156:                                              ; preds = %132
  %157 = load i8, ptr %12, align 1, !tbaa !11, !range !21, !noundef !22
  %158 = trunc i8 %157 to i1
  br i1 %158, label %160, label %159

159:                                              ; preds = %156
  store i32 1, ptr %14, align 4
  br label %161

160:                                              ; preds = %156
  store i32 0, ptr %14, align 4
  br label %161

161:                                              ; preds = %160, %159
  call void @llvm.lifetime.end.p0(i64 1, ptr %12) #6
  %162 = load i32, ptr %14, align 4
  switch i32 %162, label %184 [
    i32 0, label %163
  ]

163:                                              ; preds = %161
  br label %164

164:                                              ; preds = %163, %111, %99
  call void @llvm.lifetime.start.p0(i64 24, ptr %15) #6
  call void @_ZN15ImGuiInputEventC2Ev(ptr noundef nonnull align 4 dereferenceable(22) %15)
  %165 = getelementptr inbounds %struct.ImGuiInputEvent, ptr %15, i32 0, i32 0
  store i32 4, ptr %165, align 4, !tbaa !87
  %166 = load i32, ptr %6, align 4, !tbaa !9
  %167 = call noundef zeroext i1 @_ZN5ImGui12IsGamepadKeyE8ImGuiKey(i32 noundef %166)
  %168 = zext i1 %167 to i64
  %169 = select i1 %167, i32 3, i32 2
  %170 = getelementptr inbounds %struct.ImGuiInputEvent, ptr %15, i32 0, i32 1
  store i32 %169, ptr %170, align 4, !tbaa !92
  %171 = load i32, ptr %6, align 4, !tbaa !9
  %172 = getelementptr inbounds %struct.ImGuiInputEvent, ptr %15, i32 0, i32 2
  %173 = getelementptr inbounds %struct.ImGuiInputEventKey, ptr %172, i32 0, i32 0
  store i32 %171, ptr %173, align 4, !tbaa !90
  %174 = load i8, ptr %7, align 1, !tbaa !11, !range !21, !noundef !22
  %175 = trunc i8 %174 to i1
  %176 = getelementptr inbounds %struct.ImGuiInputEvent, ptr %15, i32 0, i32 2
  %177 = getelementptr inbounds %struct.ImGuiInputEventKey, ptr %176, i32 0, i32 1
  %178 = zext i1 %175 to i8
  store i8 %178, ptr %177, align 4, !tbaa !90
  %179 = load float, ptr %8, align 4, !tbaa !13
  %180 = getelementptr inbounds %struct.ImGuiInputEvent, ptr %15, i32 0, i32 2
  %181 = getelementptr inbounds %struct.ImGuiInputEventKey, ptr %180, i32 0, i32 2
  store float %179, ptr %181, align 4, !tbaa !90
  %182 = load ptr, ptr %9, align 8, !tbaa !5
  %183 = getelementptr inbounds %struct.ImGuiContext, ptr %182, i32 0, i32 3
  call void @_ZN8ImVectorI15ImGuiInputEventE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(16) %183, ptr noundef nonnull align 4 dereferenceable(22) %15)
  call void @llvm.lifetime.end.p0(i64 24, ptr %15) #6
  store i32 0, ptr %14, align 4
  br label %184

184:                                              ; preds = %164, %161
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  %185 = load i32, ptr %14, align 4
  switch i32 %185, label %187 [
    i32 0, label %186
    i32 1, label %186
  ]

186:                                              ; preds = %184, %184, %24
  ret void

187:                                              ; preds = %184
  unreachable
}

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

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

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 = !{!29, !12, i64 0}
!29 = !{!"_ZTS12ImGuiKeyData", !12, i64 0, !14, i64 4, !14, i64 8, !14, i64 12}
!30 = !{!29, !14, i64 12}
!31 = !{!32, !17, i64 14272}
!32 = !{!"_ZTS12ImGuiContext", !12, i64 0, !12, i64 1, !16, i64 8, !33, i64 14272, !33, i64 14288, !34, i64 14304, !6, i64 15352, !14, i64 15360, !14, i64 15364, !35, i64 15368, !37, i64 15880, !17, i64 15888, !17, i64 15892, !17, i64 15896, !12, i64 15900, !12, i64 15901, !12, i64 15902, !12, i64 15903, !12, i64 15904, !6, i64 15912, !38, i64 15920, !38, i64 15936, !38, i64 15952, !39, i64 15968, !40, i64 15984, !17, i64 16000, !18, i64 16004, !6, i64 16016, !6, i64 16024, !6, i64 16032, !6, i64 16040, !6, i64 16048, !18, i64 16056, !14, i64 16064, !17, i64 16068, !17, i64 16072, !17, i64 16076, !12, i64 16080, !12, i64 16081, !12, i64 16082, !12, i64 16083, !14, i64 16084, !14, i64 16088, !17, i64 16092, !17, i64 16096, !14, i64 16100, !12, i64 16104, !12, i64 16105, !12, i64 16106, !12, i64 16107, !12, i64 16108, !12, i64 16109, !18, i64 16112, !6, i64 16120, !42, i64 16128, !17, i64 16132, !17, i64 16136, !12, i64 16140, !12, i64 16141, !6, i64 16144, !17, i64 16152, !14, i64 16156, !17, i64 16160, !43, i64 16164, !17, i64 16184, !17, i64 16188, !44, i64 16192, !45, i64 16212, !47, i64 16272, !48, i64 16384, !49, i64 16400, !50, i64 16416, !51, i64 16432, !52, i64 16448, !53, i64 16464, !54, i64 16480, !54, i64 16496, !17, i64 16512, !55, i64 16520, !6, i64 16536, !17, i64 16544, !17, i64 16548, !17, i64 16552, !17, i64 16556, !17, i64 16560, !17, i64 16564, !17, i64 16568, !17, i64 16572, !17, i64 16576, !17, i64 16580, !17, i64 16584, !17, i64 16588, !42, i64 16592, !56, i64 16596, !12, i64 16600, !12, i64 16601, !12, i64 16602, !12, i64 16603, !12, i64 16604, !12, i64 16605, !12, i64 16606, !17, i64 16608, !46, i64 16612, !12, i64 16628, !12, i64 16629, !12, i64 16630, !17, i64 16632, !17, i64 16636, !17, i64 16640, !17, i64 16644, !17, i64 16648, !17, i64 16652, !46, i64 16656, !46, i64 16672, !17, i64 16688, !17, i64 16692, !17, i64 16696, !57, i64 16704, !57, i64 16752, !57, i64 16800, !57, i64 16848, !6, i64 16896, !6, i64 16904, !6, i64 16912, !14, i64 16920, !14, i64 16924, !12, i64 16928, !18, i64 16932, !18, i64 16940, !14, i64 16948, !17, i64 16952, !12, i64 16956, !12, i64 16957, !12, i64 16958, !17, i64 16960, !17, i64 16964, !17, i64 16968, !58, i64 16976, !46, i64 17040, !17, i64 17056, !17, i64 17060, !14, i64 17064, !17, i64 17068, !17, i64 17072, !17, i64 17076, !17, i64 17080, !59, i64 17088, !7, i64 17104, !17, i64 17120, !60, i64 17128, !6, i64 17144, !17, i64 17152, !61, i64 17160, !62, i64 17176, !64, i64 17216, !65, i64 17232, !6, i64 17248, !66, i64 17256, !68, i64 17296, !69, i64 17312, !17, i64 17328, !17, i64 17332, !14, i64 17336, !14, i64 17340, !18, i64 17344, !70, i64 17352, !74, i64 21072, !17, i64 21184, !17, i64 21188, !14, i64 21192, !14, i64 21196, !17, i64 21200, !36, i64 21204, !76, i64 21220, !14, i64 21268, !14, i64 21272, !12, i64 21276, !12, i64 21277, !14, i64 21280, !14, i64 21284, !14, i64 21288, !14, i64 21292, !19, i64 21296, !19, i64 21298, !71, i64 21304, !51, i64 21320, !77, i64 21336, !77, i64 21352, !7, i64 21368, !12, i64 21369, !14, i64 21372, !78, i64 21376, !79, i64 21392, !80, i64 21408, !81, i64 21424, !82, i64 21440, !17, i64 21456, !12, i64 21460, !83, i64 21464, !6, i64 21472, !78, i64 21480, !6, i64 21496, !6, i64 21504, !14, i64 21512, !12, i64 21516, !17, i64 21520, !17, i64 21524, !17, i64 21528, !17, i64 21532, !78, i64 21536, !12, i64 21552, !7, i64 21553, !17, i64 21556, !84, i64 21560, !85, i64 21576, !7, i64 21616, !17, i64 21856, !17, i64 21860, !14, i64 21864, !17, i64 21868, !17, i64 21872, !17, i64 21876, !71, i64 21880}
!33 = !{!"_ZTS8ImVectorI15ImGuiInputEventE", !17, i64 0, !17, i64 4, !6, i64 8}
!34 = !{!"_ZTS10ImGuiStyle", !14, i64 0, !14, i64 4, !18, i64 8, !14, i64 16, !14, i64 20, !18, i64 24, !18, i64 32, !17, 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, !17, i64 148, !18, i64 152, !18, i64 160, !18, i64 168, !18, i64 176, !14, i64 184, !12, i64 188, !12, i64 189, !12, i64 190, !14, i64 192, !14, i64 196, !7, i64 200}
!35 = !{!"_ZTS20ImDrawListSharedData", !18, i64 0, !6, i64 8, !14, i64 16, !14, i64 20, !14, i64 24, !36, i64 28, !17, i64 44, !7, i64 48, !14, i64 432, !7, i64 436, !6, i64 504}
!36 = !{!"_ZTS6ImVec4", !14, i64 0, !14, i64 4, !14, i64 8, !14, i64 12}
!37 = !{!"double", !7, i64 0}
!38 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !17, i64 0, !17, i64 4, !6, i64 8}
!39 = !{!"_ZTS8ImVectorI20ImGuiWindowStackDataE", !17, i64 0, !17, i64 4, !6, i64 8}
!40 = !{!"_ZTS12ImGuiStorage", !41, i64 0}
!41 = !{!"_ZTS8ImVectorIN12ImGuiStorage16ImGuiStoragePairEE", !17, i64 0, !17, i64 4, !6, i64 8}
!42 = !{!"_ZTS16ImGuiInputSource", !7, i64 0}
!43 = !{!"_ZTS10ImBitArrayILi140ELin512EE", !7, i64 0}
!44 = !{!"_ZTS17ImGuiNextItemData", !17, i64 0, !14, i64 4, !17, i64 8, !17, i64 12, !12, i64 16}
!45 = !{!"_ZTS17ImGuiLastItemData", !17, i64 0, !17, i64 4, !17, i64 8, !46, i64 12, !46, i64 28, !46, i64 44}
!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, !12, i64 56, !46, i64 60, !6, i64 80, !6, i64 88, !14, i64 96, !18, i64 100}
!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 = !{!"_ZTS8ImVectorIjE", !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 = !{!"_ZTS8ImVectorIP14ImGuiViewportPE", !17, i64 0, !17, i64 4, !6, i64 8}
!56 = !{!"_ZTS13ImGuiNavLayer", !7, i64 0}
!57 = !{!"_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}
!58 = !{!"_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}
!59 = !{!"_ZTS8ImVectorIhE", !17, i64 0, !17, i64 4, !6, i64 8}
!60 = !{!"_ZTS8ImVectorI20ImGuiListClipperDataE", !17, i64 0, !17, i64 4, !6, i64 8}
!61 = !{!"_ZTS8ImVectorI18ImGuiTableTempDataE", !17, i64 0, !17, i64 4, !6, i64 8}
!62 = !{!"_ZTS6ImPoolI10ImGuiTableE", !63, i64 0, !40, i64 16, !17, i64 32, !17, i64 36}
!63 = !{!"_ZTS8ImVectorI10ImGuiTableE", !17, i64 0, !17, i64 4, !6, i64 8}
!64 = !{!"_ZTS8ImVectorIfE", !17, i64 0, !17, i64 4, !6, i64 8}
!65 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !17, i64 0, !17, i64 4, !6, i64 8}
!66 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !67, i64 0, !40, i64 16, !17, i64 32, !17, i64 36}
!67 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !17, i64 0, !17, i64 4, !6, i64 8}
!68 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !17, i64 0, !17, i64 4, !6, i64 8}
!69 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !17, i64 0, !17, i64 4, !6, i64 8}
!70 = !{!"_ZTS19ImGuiInputTextState", !17, i64 0, !17, i64 4, !17, i64 8, !20, i64 16, !71, i64 32, !71, i64 48, !12, i64 64, !17, i64 68, !14, i64 72, !72, i64 76, !14, i64 3704, !12, i64 3708, !12, i64 3709, !12, i64 3710, !17, i64 3712}
!71 = !{!"_ZTS8ImVectorIcE", !17, i64 0, !17, i64 4, !6, i64 8}
!72 = !{!"_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, !73, i64 32}
!73 = !{!"_ZTSN5ImStb12StbUndoStateE", !7, i64 0, !7, i64 1584, !19, i64 3582, !19, i64 3584, !17, i64 3588, !17, i64 3592}
!74 = !{!"_ZTS6ImFont", !64, i64 0, !14, i64 16, !14, i64 20, !20, i64 24, !75, i64 40, !6, i64 56, !6, i64 64, !6, i64 72, !19, i64 80, !19, i64 82, !19, i64 84, !19, i64 86, !12, i64 88, !14, i64 92, !14, i64 96, !14, i64 100, !17, i64 104, !7, i64 108}
!75 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !17, i64 0, !17, i64 4, !6, i64 8}
!76 = !{!"_ZTS21ImGuiComboPreviewData", !46, i64 0, !18, i64 16, !18, i64 24, !18, i64 32, !14, i64 40, !17, i64 44}
!77 = !{!"_ZTS20ImGuiPlatformImeData", !12, i64 0, !18, i64 4, !14, i64 12}
!78 = !{!"_ZTS15ImGuiTextBuffer", !71, i64 0}
!79 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !17, i64 0, !17, i64 4, !6, i64 8}
!80 = !{!"_ZTS13ImChunkStreamI19ImGuiWindowSettingsE", !71, i64 0}
!81 = !{!"_ZTS13ImChunkStreamI18ImGuiTableSettingsE", !71, i64 0}
!82 = !{!"_ZTS8ImVectorI16ImGuiContextHookE", !17, i64 0, !17, i64 4, !6, i64 8}
!83 = !{!"_ZTS12ImGuiLogType", !7, i64 0}
!84 = !{!"_ZTS18ImGuiMetricsConfig", !12, i64 0, !12, i64 1, !12, i64 2, !12, i64 3, !12, i64 4, !12, i64 5, !12, i64 6, !17, i64 8, !17, i64 12}
!85 = !{!"_ZTS14ImGuiStackTool", !17, i64 0, !17, i64 4, !17, i64 8, !86, i64 16, !12, i64 32, !14, i64 36}
!86 = !{!"_ZTS8ImVectorI19ImGuiStackLevelInfoE", !17, i64 0, !17, i64 4, !6, i64 8}
!87 = !{!88, !89, i64 0}
!88 = !{!"_ZTS15ImGuiInputEvent", !89, i64 0, !42, i64 4, !7, i64 8, !12, i64 20, !12, i64 21}
!89 = !{!"_ZTS19ImGuiInputEventType", !7, i64 0}
!90 = !{!7, !7, i64 0}
!91 = distinct !{!91, !26}
!92 = !{!88, !42, 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, i8, [2 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 [106 x i8], align 1
@__PRETTY_FUNCTION__._ZN7ImGuiIO17AddKeyAnalogEventE8ImGuiKeybf = external hidden unnamed_addr constant [55 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [24 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(22)) 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(22)) 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 %.critedge41, 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 %.critedge41

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 1307, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN7ImGuiIO17AddKeyAnalogEventE8ImGuiKeybf) #6
  unreachable

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

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

.preheader:                                       ; preds = %23
  %26 = getelementptr inbounds i8, ptr %0, i64 248
  br label %44

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

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

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

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

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

43:                                               ; preds = %39
  %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 %44, !llvm.loop !21

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

48:                                               ; preds = %39, %35, %31, %27, %44
  tail call void @__assert_fail(ptr noundef nonnull @.str.9, ptr noundef nonnull @.str.4, i32 noundef 1316, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN7ImGuiIO17AddKeyAnalogEventE8ImGuiKeybf) #6
  unreachable

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

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

52:                                               ; preds = %50, %.loopexit
  %53 = tail call noundef ptr @_ZN5ImGui10GetKeyDataE8ImGuiKey(i32 noundef %1)
  %54 = load i8, ptr %53, align 4, !tbaa !24, !range !16, !noundef !17
  %55 = icmp eq i8 %54, %6
  br i1 %55, label %56, label %74

56:                                               ; preds = %52
  %57 = getelementptr inbounds i8, ptr %53, i64 12
  %58 = load float, ptr %57, align 4, !tbaa !26
  %59 = fcmp oeq float %58, %3
  br i1 %59, label %60, label %74

60:                                               ; preds = %56
  %61 = getelementptr inbounds i8, ptr %13, i64 14272
  %62 = load i32, ptr %61, align 8, !tbaa !27
  %63 = icmp slt i32 %62, 1
  br i1 %63, label %.critedge41, label %.lr.ph

.lr.ph:                                           ; preds = %60, %.lr.ph.backedge
  %.03040.in = phi i32 [ %.03040, %.lr.ph.backedge ], [ %62, %60 ]
  %.03040 = add nsw i32 %.03040.in, -1
  %64 = tail call noundef nonnull align 4 dereferenceable(22) ptr @_ZN8ImVectorI15ImGuiInputEventEixEi(ptr noundef nonnull align 8 dereferenceable(16) %61, i32 noundef %.03040)
  %65 = load i32, ptr %64, align 4, !tbaa !83
  %66 = icmp eq i32 %65, 4
  br i1 %66, label %67, label %.thread

67:                                               ; preds = %.lr.ph
  %68 = tail call noundef nonnull align 4 dereferenceable(22) ptr @_ZN8ImVectorI15ImGuiInputEventEixEi(ptr noundef nonnull align 8 dereferenceable(16) %61, i32 noundef %.03040)
  %69 = getelementptr inbounds i8, ptr %68, i64 8
  %70 = load i32, ptr %69, align 4, !tbaa !86
  %71 = icmp eq i32 %70, %1
  %72 = icmp ult i32 %.03040.in, 2
  %.not36 = select i1 %72, i1 true, i1 %71
  br i1 %.not36, label %._crit_edge, label %.lr.ph.backedge

.lr.ph.backedge:                                  ; preds = %67, %.thread
  br label %.lr.ph, !llvm.loop !87

.thread:                                          ; preds = %.lr.ph
  %73 = icmp ult i32 %.03040.in, 2
  br i1 %73, label %.critedge41, label %.lr.ph.backedge

._crit_edge:                                      ; preds = %67
  br i1 %71, label %74, label %.critedge41

74:                                               ; preds = %._crit_edge, %56, %52
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %5) #7
  call void @_ZN15ImGuiInputEventC2Ev(ptr noundef nonnull align 4 dereferenceable(22) %5)
  store i32 4, ptr %5, align 4, !tbaa !83
  %75 = call noundef zeroext i1 @_ZN5ImGui12IsGamepadKeyE8ImGuiKey(i32 noundef %1)
  %76 = select i1 %75, i32 3, i32 2
  %77 = getelementptr inbounds i8, ptr %5, i64 4
  store i32 %76, ptr %77, align 4, !tbaa !88
  %78 = getelementptr inbounds i8, ptr %5, i64 8
  store i32 %1, ptr %78, align 4, !tbaa !86
  %79 = getelementptr inbounds i8, ptr %5, i64 12
  store i8 %6, ptr %79, align 4, !tbaa !86
  %80 = getelementptr inbounds i8, ptr %5, i64 16
  store float %3, ptr %80, align 4, !tbaa !86
  %81 = getelementptr inbounds i8, ptr %13, i64 14272
  call void @_ZN8ImVectorI15ImGuiInputEventE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(16) %81, ptr noundef nonnull align 4 dereferenceable(22) %5)
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #7
  br label %.critedge41

.critedge41:                                      ; preds = %.thread, %60, %74, %._crit_edge, %4, %8
  ret void
}

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

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

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 = !{!25, !13, i64 0}
!25 = !{!"_ZTS12ImGuiKeyData", !13, i64 0, !11, i64 4, !11, i64 8, !11, i64 12}
!26 = !{!25, !11, i64 12}
!27 = !{!28, !7, i64 14272}
!28 = !{!"_ZTS12ImGuiContext", !13, i64 0, !13, i64 1, !6, i64 8, !29, i64 14272, !29, i64 14288, !30, i64 14304, !12, i64 15352, !11, i64 15360, !11, i64 15364, !31, i64 15368, !33, i64 15880, !7, i64 15888, !7, i64 15892, !7, i64 15896, !13, i64 15900, !13, i64 15901, !13, i64 15902, !13, i64 15903, !13, i64 15904, !12, i64 15912, !34, i64 15920, !34, i64 15936, !34, i64 15952, !35, i64 15968, !36, i64 15984, !7, i64 16000, !10, i64 16004, !12, i64 16016, !12, i64 16024, !12, i64 16032, !12, i64 16040, !12, i64 16048, !10, i64 16056, !11, i64 16064, !7, i64 16068, !7, i64 16072, !7, i64 16076, !13, i64 16080, !13, i64 16081, !13, i64 16082, !13, i64 16083, !11, i64 16084, !11, i64 16088, !7, i64 16092, !7, i64 16096, !11, i64 16100, !13, i64 16104, !13, i64 16105, !13, i64 16106, !13, i64 16107, !13, i64 16108, !13, i64 16109, !10, i64 16112, !12, i64 16120, !38, i64 16128, !7, i64 16132, !7, i64 16136, !13, i64 16140, !13, i64 16141, !12, i64 16144, !7, i64 16152, !11, i64 16156, !7, i64 16160, !39, i64 16164, !7, i64 16184, !7, i64 16188, !40, i64 16192, !41, i64 16212, !43, i64 16272, !44, i64 16384, !45, i64 16400, !46, i64 16416, !47, i64 16432, !48, i64 16448, !49, i64 16464, !50, i64 16480, !50, i64 16496, !7, i64 16512, !51, i64 16520, !12, i64 16536, !7, i64 16544, !7, i64 16548, !7, i64 16552, !7, i64 16556, !7, i64 16560, !7, i64 16564, !7, i64 16568, !7, i64 16572, !7, i64 16576, !7, i64 16580, !7, i64 16584, !7, i64 16588, !38, i64 16592, !52, i64 16596, !13, i64 16600, !13, i64 16601, !13, i64 16602, !13, i64 16603, !13, i64 16604, !13, i64 16605, !13, i64 16606, !7, i64 16608, !42, i64 16612, !13, i64 16628, !13, i64 16629, !13, i64 16630, !7, i64 16632, !7, i64 16636, !7, i64 16640, !7, i64 16644, !7, i64 16648, !7, i64 16652, !42, i64 16656, !42, i64 16672, !7, i64 16688, !7, i64 16692, !7, i64 16696, !53, i64 16704, !53, i64 16752, !53, i64 16800, !53, i64 16848, !12, i64 16896, !12, i64 16904, !12, i64 16912, !11, i64 16920, !11, i64 16924, !13, i64 16928, !10, i64 16932, !10, i64 16940, !11, i64 16948, !7, i64 16952, !13, i64 16956, !13, i64 16957, !13, i64 16958, !7, i64 16960, !7, i64 16964, !7, i64 16968, !54, i64 16976, !42, i64 17040, !7, i64 17056, !7, i64 17060, !11, i64 17064, !7, i64 17068, !7, i64 17072, !7, i64 17076, !7, i64 17080, !55, i64 17088, !8, i64 17104, !7, i64 17120, !56, i64 17128, !12, i64 17144, !7, i64 17152, !57, i64 17160, !58, i64 17176, !60, i64 17216, !61, i64 17232, !12, i64 17248, !62, i64 17256, !64, i64 17296, !65, i64 17312, !7, i64 17328, !7, i64 17332, !11, i64 17336, !11, i64 17340, !10, i64 17344, !66, i64 17352, !70, i64 21072, !7, i64 21184, !7, i64 21188, !11, i64 21192, !11, i64 21196, !7, i64 21200, !32, i64 21204, !72, i64 21220, !11, i64 21268, !11, i64 21272, !13, i64 21276, !13, i64 21277, !11, i64 21280, !11, i64 21284, !11, i64 21288, !11, i64 21292, !14, i64 21296, !14, i64 21298, !67, i64 21304, !47, i64 21320, !73, i64 21336, !73, i64 21352, !8, i64 21368, !13, i64 21369, !11, i64 21372, !74, i64 21376, !75, i64 21392, !76, i64 21408, !77, i64 21424, !78, i64 21440, !7, i64 21456, !13, i64 21460, !79, i64 21464, !12, i64 21472, !74, i64 21480, !12, i64 21496, !12, i64 21504, !11, i64 21512, !13, i64 21516, !7, i64 21520, !7, i64 21524, !7, i64 21528, !7, i64 21532, !74, i64 21536, !13, i64 21552, !8, i64 21553, !7, i64 21556, !80, i64 21560, !81, i64 21576, !8, i64 21616, !7, i64 21856, !7, i64 21860, !11, i64 21864, !7, i64 21868, !7, i64 21872, !7, i64 21876, !67, i64 21880}
!29 = !{!"_ZTS8ImVectorI15ImGuiInputEventE", !7, i64 0, !7, i64 4, !12, i64 8}
!30 = !{!"_ZTS10ImGuiStyle", !11, i64 0, !11, i64 4, !10, i64 8, !11, i64 16, !11, i64 20, !10, i64 24, !10, i64 32, !7, 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, !7, i64 148, !10, i64 152, !10, i64 160, !10, i64 168, !10, i64 176, !11, i64 184, !13, i64 188, !13, i64 189, !13, i64 190, !11, i64 192, !11, i64 196, !8, i64 200}
!31 = !{!"_ZTS20ImDrawListSharedData", !10, i64 0, !12, i64 8, !11, i64 16, !11, i64 20, !11, i64 24, !32, i64 28, !7, i64 44, !8, i64 48, !11, i64 432, !8, i64 436, !12, i64 504}
!32 = !{!"_ZTS6ImVec4", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12}
!33 = !{!"double", !8, i64 0}
!34 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !7, i64 0, !7, i64 4, !12, i64 8}
!35 = !{!"_ZTS8ImVectorI20ImGuiWindowStackDataE", !7, i64 0, !7, i64 4, !12, i64 8}
!36 = !{!"_ZTS12ImGuiStorage", !37, i64 0}
!37 = !{!"_ZTS8ImVectorIN12ImGuiStorage16ImGuiStoragePairEE", !7, i64 0, !7, i64 4, !12, i64 8}
!38 = !{!"_ZTS16ImGuiInputSource", !8, i64 0}
!39 = !{!"_ZTS10ImBitArrayILi140ELin512EE", !8, i64 0}
!40 = !{!"_ZTS17ImGuiNextItemData", !7, i64 0, !11, i64 4, !7, i64 8, !7, i64 12, !13, i64 16}
!41 = !{!"_ZTS17ImGuiLastItemData", !7, i64 0, !7, i64 4, !7, i64 8, !42, i64 12, !42, i64 28, !42, i64 44}
!42 = !{!"_ZTS6ImRect", !10, i64 0, !10, i64 8}
!43 = !{!"_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, !13, i64 56, !42, i64 60, !12, i64 80, !12, i64 88, !11, i64 96, !10, i64 100}
!44 = !{!"_ZTS8ImVectorI13ImGuiColorModE", !7, i64 0, !7, i64 4, !12, i64 8}
!45 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !7, i64 0, !7, i64 4, !12, i64 8}
!46 = !{!"_ZTS8ImVectorIP6ImFontE", !7, i64 0, !7, i64 4, !12, i64 8}
!47 = !{!"_ZTS8ImVectorIjE", !7, i64 0, !7, i64 4, !12, i64 8}
!48 = !{!"_ZTS8ImVectorIiE", !7, i64 0, !7, i64 4, !12, i64 8}
!49 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !7, i64 0, !7, i64 4, !12, i64 8}
!50 = !{!"_ZTS8ImVectorI14ImGuiPopupDataE", !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, !42, i64 16, !7, i64 32, !11, i64 36, !11, i64 40, !11, i64 44}
!54 = !{!"_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}
!55 = !{!"_ZTS8ImVectorIhE", !7, i64 0, !7, i64 4, !12, i64 8}
!56 = !{!"_ZTS8ImVectorI20ImGuiListClipperDataE", !7, i64 0, !7, i64 4, !12, i64 8}
!57 = !{!"_ZTS8ImVectorI18ImGuiTableTempDataE", !7, i64 0, !7, i64 4, !12, i64 8}
!58 = !{!"_ZTS6ImPoolI10ImGuiTableE", !59, i64 0, !36, i64 16, !7, i64 32, !7, i64 36}
!59 = !{!"_ZTS8ImVectorI10ImGuiTableE", !7, i64 0, !7, i64 4, !12, i64 8}
!60 = !{!"_ZTS8ImVectorIfE", !7, i64 0, !7, i64 4, !12, i64 8}
!61 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !7, i64 0, !7, i64 4, !12, i64 8}
!62 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !63, i64 0, !36, i64 16, !7, i64 32, !7, i64 36}
!63 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !7, i64 0, !7, i64 4, !12, i64 8}
!64 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !7, i64 0, !7, i64 4, !12, i64 8}
!65 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !7, i64 0, !7, i64 4, !12, i64 8}
!66 = !{!"_ZTS19ImGuiInputTextState", !7, i64 0, !7, i64 4, !7, i64 8, !15, i64 16, !67, i64 32, !67, i64 48, !13, i64 64, !7, i64 68, !11, i64 72, !68, i64 76, !11, i64 3704, !13, i64 3708, !13, i64 3709, !13, i64 3710, !7, i64 3712}
!67 = !{!"_ZTS8ImVectorIcE", !7, i64 0, !7, i64 4, !12, i64 8}
!68 = !{!"_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, !69, i64 32}
!69 = !{!"_ZTSN5ImStb12StbUndoStateE", !8, i64 0, !8, i64 1584, !14, i64 3582, !14, i64 3584, !7, i64 3588, !7, i64 3592}
!70 = !{!"_ZTS6ImFont", !60, i64 0, !11, i64 16, !11, i64 20, !15, i64 24, !71, i64 40, !12, i64 56, !12, i64 64, !12, i64 72, !14, i64 80, !14, i64 82, !14, i64 84, !14, i64 86, !13, i64 88, !11, i64 92, !11, i64 96, !11, i64 100, !7, i64 104, !8, i64 108}
!71 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !7, i64 0, !7, i64 4, !12, i64 8}
!72 = !{!"_ZTS21ImGuiComboPreviewData", !42, i64 0, !10, i64 16, !10, i64 24, !10, i64 32, !11, i64 40, !7, i64 44}
!73 = !{!"_ZTS20ImGuiPlatformImeData", !13, i64 0, !10, i64 4, !11, i64 12}
!74 = !{!"_ZTS15ImGuiTextBuffer", !67, i64 0}
!75 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !7, i64 0, !7, i64 4, !12, i64 8}
!76 = !{!"_ZTS13ImChunkStreamI19ImGuiWindowSettingsE", !67, i64 0}
!77 = !{!"_ZTS13ImChunkStreamI18ImGuiTableSettingsE", !67, i64 0}
!78 = !{!"_ZTS8ImVectorI16ImGuiContextHookE", !7, i64 0, !7, i64 4, !12, i64 8}
!79 = !{!"_ZTS12ImGuiLogType", !8, i64 0}
!80 = !{!"_ZTS18ImGuiMetricsConfig", !13, i64 0, !13, i64 1, !13, i64 2, !13, i64 3, !13, i64 4, !13, i64 5, !13, i64 6, !7, i64 8, !7, i64 12}
!81 = !{!"_ZTS14ImGuiStackTool", !7, i64 0, !7, i64 4, !7, i64 8, !82, i64 16, !13, i64 32, !11, i64 36}
!82 = !{!"_ZTS8ImVectorI19ImGuiStackLevelInfoE", !7, i64 0, !7, i64 4, !12, i64 8}
!83 = !{!84, !85, i64 0}
!84 = !{!"_ZTS15ImGuiInputEvent", !85, i64 0, !38, i64 4, !8, i64 8, !13, i64 20, !13, i64 21}
!85 = !{!"_ZTS19ImGuiInputEventType", !8, i64 0}
!86 = !{!8, !8, i64 0}
!87 = distinct !{!87, !22}
!88 = !{!84, !38, i64 4}


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