; LLVM IR from Samson-Mano/EM_Propogation_simulation :: EM_Propogation_simulation/src/ImGui/imgui.ll (ZN7ImGuiIO17AddKeyAnalogEventE8ImGuiKeybf)

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

%struct.ImGuiInputEvent = type <{ i32, i32, i32, %union.anon, i8, [3 x i8] }>
%union.anon = type { %struct.ImGuiInputEventMousePos }
%struct.ImGuiInputEventMousePos = type { float, float, i32 }
%struct.ImGuiIO = type { i32, i32, %struct.ImVec2, float, float, ptr, ptr, float, float, float, float, float, float, float, ptr, ptr, float, i8, ptr, %struct.ImVec2, i8, i8, i8, i8, i8, i8, i8, i8, float, i8, i8, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i8, i8, i8, i8, i8, i8, i8, float, i32, i32, i32, i32, i32, %struct.ImVec2, [652 x i32], [652 x i8], [16 x float], ptr, %struct.ImVec2, [5 x i8], float, float, i32, 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], 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.ImGuiInputEventKey = type { i32, i8, float }
%struct.ImGuiContext = type { i8, i8, %struct.ImGuiIO, %struct.ImGuiStyle, ptr, float, float, %struct.ImDrawListSharedData, double, i32, i32, i32, i8, i8, i8, i8, i8, ptr, %struct.ImVector.1, %struct.ImVector.1, i32, i32, %struct.ImVector.2, %struct.ImVector.2, %struct.ImVector.2, %struct.ImVector.3, %struct.ImGuiStorage, i32, %struct.ImVec2, ptr, ptr, ptr, ptr, ptr, %struct.ImVec2, i32, float, %struct.ImVec2, %struct.ImVec2, i32, i32, i32, i8, i8, float, float, i32, i32, float, i8, i8, i8, i8, i8, i8, %struct.ImVec2, ptr, i32, i32, i32, i8, i8, ptr, i32, float, [140 x %struct.ImGuiKeyOwnerData], %struct.ImGuiKeyRoutingTable, i32, i8, i32, i32, i32, i32, %struct.ImGuiNextItemData, %struct.ImGuiLastItemData, %struct.ImGuiNextWindowData, %struct.ImVector.6, %struct.ImVector.7, %struct.ImVector.8, %struct.ImVector.9, %struct.ImVector.10, %struct.ImVector.11, %struct.ImVector.12, %struct.ImVector.12, i32, %struct.ImVector.13, ptr, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i8, i8, i8, i8, i8, i8, i8, i32, %struct.ImRect, i8, i8, i8, i32, i32, i32, i32, i32, i32, %struct.ImRect, %struct.ImRect, i32, i32, i32, %struct.ImGuiNavItemData, %struct.ImGuiNavItemData, %struct.ImGuiNavItemData, %struct.ImGuiNavItemData, i32, i32, ptr, ptr, ptr, float, float, i8, %struct.ImVec2, %struct.ImVec2, float, i32, i8, i8, i8, i32, i32, i32, [4 x i8], %struct.ImGuiPayload, %struct.ImRect, i32, i32, float, i32, i32, i32, i32, %struct.ImVector.14, [16 x i8], i32, %struct.ImVector.15, ptr, i32, %struct.ImVector.16, %struct.ImPool, %struct.ImVector.18, %struct.ImVector.19, ptr, %struct.ImPool.20, %struct.ImVector.22, %struct.ImVector.23, i32, i32, float, float, %struct.ImVec2, %struct.ImGuiInputTextState, %struct.ImGuiInputTextDeactivatedState, %struct.ImFont, i32, i32, i32, i32, float, float, i32, %struct.ImVec4, %struct.ImGuiComboPreviewData, float, float, i8, i8, float, float, float, float, i16, i16, %struct.ImVector.24, %struct.ImVector.9, %struct.ImGuiPlatformImeData, %struct.ImGuiPlatformImeData, i8, i8, float, %struct.ImGuiTextBuffer, %struct.ImVector.26, %struct.ImChunkStream, %struct.ImChunkStream.27, %struct.ImVector.28, i32, [7 x ptr], i8, i32, ptr, %struct.ImGuiTextBuffer, ptr, ptr, float, i8, i32, i32, i32, i32, %struct.ImGuiTextBuffer, %struct.ImGuiTextIndex, i8, i8, i8, i8, i8, i32, %struct.ImGuiMetricsConfig, %struct.ImGuiStackTool, [60 x float], i32, i32, float, i32, i32, i32, %struct.ImVector.24 }
%struct.ImGuiStyle = type { float, float, %struct.ImVec2, float, float, %struct.ImVec2, %struct.ImVec2, i32, float, float, float, float, %struct.ImVec2, float, float, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, float, float, float, float, float, float, float, float, float, i32, %struct.ImVec2, %struct.ImVec2, float, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, i8, i8, i8, float, float, [53 x %struct.ImVec4] }
%struct.ImDrawListSharedData = type { %struct.ImVec2, ptr, float, float, float, %struct.ImVec4, i32, %struct.ImVector.0, [48 x %struct.ImVec2], float, [64 x i8], ptr }
%struct.ImVector.0 = type { i32, i32, ptr }
%struct.ImVector.1 = type { i32, i32, ptr }
%struct.ImVector.2 = type { i32, i32, ptr }
%struct.ImVector.3 = type { i32, i32, ptr }
%struct.ImGuiStorage = type { %struct.ImVector.4 }
%struct.ImVector.4 = type { i32, i32, ptr }
%struct.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.ImGuiInputTextDeactivatedState = type { i32, %struct.ImVector.24 }
%struct.ImFont = type <{ %struct.ImVector.18, float, float, %struct.ImVector, %struct.ImVector.25, ptr, ptr, ptr, i16, i16, i16, i16, float, float, i8, [3 x i8], float, float, float, i32, [2 x i8], [2 x i8] }>
%struct.ImVector.25 = type { i32, i32, ptr }
%struct.ImVec4 = type { float, float, float, float }
%struct.ImGuiComboPreviewData = type { %struct.ImRect, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, i32 }
%struct.ImVector.9 = type { i32, i32, ptr }
%struct.ImGuiPlatformImeData = type { i8, %struct.ImVec2, float }
%struct.ImVector.26 = type { i32, i32, ptr }
%struct.ImChunkStream = type { %struct.ImVector.24 }
%struct.ImChunkStream.27 = type { %struct.ImVector.24 }
%struct.ImVector.28 = type { i32, i32, ptr }
%struct.ImGuiTextBuffer = type { %struct.ImVector.24 }
%struct.ImGuiTextIndex = type <{ %struct.ImVector.10, i32, [4 x i8] }>
%struct.ImGuiMetricsConfig = type { i8, i8, i8, i8, i8, i8, i8, i8, i32, i32 }
%struct.ImGuiStackTool = type { i32, i32, i32, %struct.ImVector.29, i8, float }
%struct.ImVector.29 = type { i32, i32, ptr }
%struct.ImVector.24 = type { i32, i32, ptr }

@.str.2 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [117 x i8], align 1
@__PRETTY_FUNCTION__._ZN7ImGuiIO17AddKeyAnalogEventE8ImGuiKeybf = external hidden unnamed_addr constant [55 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [191 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [135 x i8], align 1

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

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

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

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

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

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

22:                                               ; preds = %4
  br label %25

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

24:                                               ; No predecessors!
  br label %25

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

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

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

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

38:                                               ; preds = %33
  br label %41

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

40:                                               ; No predecessors!
  br label %41

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

46:                                               ; preds = %41
  br label %49

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

48:                                               ; No predecessors!
  br label %49

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

52:                                               ; preds = %49
  br label %55

53:                                               ; preds = %49
  call void @__assert_fail(ptr noundef @.str.6, ptr noundef @.str.3, i32 noundef 1391, ptr noundef @__PRETTY_FUNCTION__._ZN7ImGuiIO17AddKeyAnalogEventE8ImGuiKeybf) #6
  unreachable

54:                                               ; No predecessors!
  br label %55

55:                                               ; preds = %54, %52
  %56 = getelementptr inbounds %struct.ImGuiIO, ptr %18, i32 0, i32 88
  %57 = load i8, ptr %56, align 2, !tbaa !25
  %58 = sext i8 %57 to i32
  %59 = icmp eq i32 %58, -1
  br i1 %59, label %65, label %60

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

65:                                               ; preds = %60, %55
  br label %66

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

68:                                               ; preds = %66
  br label %71

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

70:                                               ; No predecessors!
  br label %71

71:                                               ; preds = %70, %68
  %72 = getelementptr inbounds %struct.ImGuiIO, ptr %18, i32 0, i32 88
  %73 = load i8, ptr %72, align 2, !tbaa !25
  %74 = sext i8 %73 to i32
  %75 = icmp eq i32 %74, -1
  br i1 %75, label %76, label %99

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

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

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

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

88:                                               ; preds = %81
  br label %89

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

91:                                               ; preds = %89
  br label %94

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

93:                                               ; No predecessors!
  br label %94

94:                                               ; preds = %93, %91
  br label %95

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

98:                                               ; preds = %80
  br label %99

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

103:                                              ; preds = %99
  %104 = getelementptr inbounds %struct.ImGuiIO, ptr %18, i32 0, i32 89
  store i8 0, ptr %104, align 1, !tbaa !29
  br label %105

105:                                              ; preds = %103, %99
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #7
  %106 = load ptr, ptr %9, align 8, !tbaa !5
  %107 = load i32, ptr %6, align 4, !tbaa !9
  %108 = call noundef ptr @_ZL20FindLatestInputEventP12ImGuiContext19ImGuiInputEventTypei(ptr noundef %106, 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) #7
  %109 = load ptr, ptr %9, align 8, !tbaa !5
  %110 = load i32, ptr %6, align 4, !tbaa !9
  %111 = call noundef ptr @_ZN5ImGui10GetKeyDataEP12ImGuiContext8ImGuiKey(ptr noundef %109, i32 noundef %110)
  store ptr %111, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %13) #7
  %112 = load ptr, ptr %11, align 8, !tbaa !5
  %113 = icmp ne ptr %112, null
  br i1 %113, label %114, label %120

114:                                              ; preds = %105
  %115 = load ptr, ptr %11, align 8, !tbaa !5
  %116 = getelementptr inbounds %struct.ImGuiInputEvent, ptr %115, i32 0, i32 3
  %117 = getelementptr inbounds %struct.ImGuiInputEventKey, ptr %116, i32 0, i32 1
  %118 = load i8, ptr %117, align 4, !tbaa !30, !range !23, !noundef !24
  %119 = trunc i8 %118 to i1
  br label %125

120:                                              ; preds = %105
  %121 = load ptr, ptr %12, align 8, !tbaa !5
  %122 = getelementptr inbounds %struct.ImGuiKeyData, ptr %121, i32 0, i32 0
  %123 = load i8, ptr %122, align 4, !tbaa !31, !range !23, !noundef !24
  %124 = trunc i8 %123 to i1
  br label %125

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

130:                                              ; preds = %125
  %131 = load ptr, ptr %11, align 8, !tbaa !5
  %132 = getelementptr inbounds %struct.ImGuiInputEvent, ptr %131, i32 0, i32 3
  %133 = getelementptr inbounds %struct.ImGuiInputEventKey, ptr %132, i32 0, i32 2
  %134 = load float, ptr %133, align 4, !tbaa !30
  br label %139

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

139:                                              ; preds = %135, %130
  %140 = phi float [ %134, %130 ], [ %138, %135 ]
  store float %140, ptr %14, align 4, !tbaa !13
  %141 = load i8, ptr %13, align 1, !tbaa !11, !range !23, !noundef !24
  %142 = trunc i8 %141 to i1
  %143 = zext i1 %142 to i32
  %144 = load i8, ptr %7, align 1, !tbaa !11, !range !23, !noundef !24
  %145 = trunc i8 %144 to i1
  %146 = zext i1 %145 to i32
  %147 = icmp eq i32 %143, %146
  br i1 %147, label %148, label %153

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

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

153:                                              ; preds = %148, %139
  call void @llvm.lifetime.start.p0(i64 28, ptr %16) #7
  call void @_ZN15ImGuiInputEventC2Ev(ptr noundef nonnull align 4 dereferenceable(25) %16)
  %154 = getelementptr inbounds %struct.ImGuiInputEvent, ptr %16, i32 0, i32 0
  store i32 4, ptr %154, align 4, !tbaa !34
  %155 = load i32, ptr %6, align 4, !tbaa !9
  %156 = call noundef zeroext i1 @_ZN5ImGui12IsGamepadKeyE8ImGuiKey(i32 noundef %155)
  %157 = zext i1 %156 to i64
  %158 = select i1 %156, i32 3, i32 2
  %159 = getelementptr inbounds %struct.ImGuiInputEvent, ptr %16, i32 0, i32 1
  store i32 %158, ptr %159, align 4, !tbaa !38
  %160 = load ptr, ptr %9, align 8, !tbaa !5
  %161 = getelementptr inbounds %struct.ImGuiContext, ptr %160, i32 0, i32 21
  %162 = load i32, ptr %161, align 4, !tbaa !39
  %163 = add i32 %162, 1
  store i32 %163, ptr %161, align 4, !tbaa !39
  %164 = getelementptr inbounds %struct.ImGuiInputEvent, ptr %16, i32 0, i32 2
  store i32 %162, ptr %164, align 4, !tbaa !98
  %165 = load i32, ptr %6, align 4, !tbaa !9
  %166 = getelementptr inbounds %struct.ImGuiInputEvent, ptr %16, i32 0, i32 3
  %167 = getelementptr inbounds %struct.ImGuiInputEventKey, ptr %166, i32 0, i32 0
  store i32 %165, ptr %167, align 4, !tbaa !30
  %168 = load i8, ptr %7, align 1, !tbaa !11, !range !23, !noundef !24
  %169 = trunc i8 %168 to i1
  %170 = getelementptr inbounds %struct.ImGuiInputEvent, ptr %16, i32 0, i32 3
  %171 = getelementptr inbounds %struct.ImGuiInputEventKey, ptr %170, i32 0, i32 1
  %172 = zext i1 %169 to i8
  store i8 %172, ptr %171, align 4, !tbaa !30
  %173 = load float, ptr %8, align 4, !tbaa !13
  %174 = getelementptr inbounds %struct.ImGuiInputEvent, ptr %16, i32 0, i32 3
  %175 = getelementptr inbounds %struct.ImGuiInputEventKey, ptr %174, i32 0, i32 2
  store float %173, ptr %175, align 4, !tbaa !30
  %176 = load ptr, ptr %9, align 8, !tbaa !5
  %177 = getelementptr inbounds %struct.ImGuiContext, ptr %176, i32 0, i32 18
  call void @_ZN8ImVectorI15ImGuiInputEventE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(16) %177, ptr noundef nonnull align 4 dereferenceable(25) %16)
  call void @llvm.lifetime.end.p0(i64 28, ptr %16) #7
  store i32 0, ptr %15, align 4
  br label %178

178:                                              ; preds = %153, %152
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %13) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #7
  %179 = load i32, ptr %15, align 4
  switch i32 %179, label %181 [
    i32 0, label %180
    i32 1, label %180
  ]

180:                                              ; preds = %178, %178, %32
  ret void

181:                                              ; preds = %178
  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 @_ZL20FindLatestInputEventP12ImGuiContext19ImGuiInputEventTypei(ptr noundef, i32 noundef, i32 noundef) #4

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"_ZTS8ImGuiKey", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"bool", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"float", !7, i64 0}
!15 = !{!16, !6, i64 3576}
!16 = !{!"_ZTS7ImGuiIO", !17, i64 0, !17, i64 4, !18, i64 8, !14, i64 16, !14, i64 20, !6, i64 24, !6, i64 32, !14, i64 40, !14, i64 44, !14, i64 48, !14, i64 52, !14, i64 56, !14, i64 60, !14, i64 64, !6, i64 72, !6, i64 80, !14, i64 88, !12, i64 92, !6, i64 96, !18, i64 104, !12, i64 112, !12, i64 113, !12, i64 114, !12, i64 115, !12, i64 116, !12, i64 117, !12, i64 118, !12, i64 119, !14, i64 120, !12, i64 124, !12, i64 125, !6, i64 128, !6, i64 136, !6, i64 144, !6, i64 152, !6, i64 160, !6, i64 168, !6, i64 176, !6, i64 184, !6, i64 192, !6, i64 200, !12, i64 208, !12, i64 209, !12, i64 210, !12, i64 211, !12, i64 212, !12, i64 213, !12, i64 214, !14, i64 216, !17, i64 220, !17, i64 224, !17, i64 228, !17, i64 232, !17, i64 236, !18, i64 240, !7, i64 248, !7, i64 2856, !7, i64 3508, !6, i64 3576, !18, i64 3584, !7, i64 3592, !14, i64 3600, !14, i64 3604, !19, i64 3608, !12, i64 3612, !12, i64 3613, !12, i64 3614, !12, i64 3615, !17, i64 3616, !7, i64 3620, !12, i64 14052, !18, i64 14056, !7, i64 14064, !7, i64 14104, !7, i64 14144, !7, i64 14149, !7, i64 14154, !7, i64 14164, !7, i64 14174, !7, i64 14179, !7, i64 14184, !12, i64 14189, !7, i64 14192, !7, i64 14212, !7, i64 14232, !14, i64 14252, !12, i64 14256, !12, i64 14257, !7, i64 14258, !12, i64 14259, !20, i64 14260, !21, i64 14264}
!17 = !{!"int", !7, i64 0}
!18 = !{!"_ZTS6ImVec2", !14, i64 0, !14, i64 4}
!19 = !{!"_ZTS16ImGuiMouseSource", !7, i64 0}
!20 = !{!"short", !7, i64 0}
!21 = !{!"_ZTS8ImVectorItE", !17, i64 0, !17, i64 4, !6, i64 8}
!22 = !{!16, !12, i64 14257}
!23 = !{i8 0, i8 2}
!24 = !{}
!25 = !{!16, !7, i64 14258}
!26 = !{!17, !17, i64 0}
!27 = distinct !{!27, !28}
!28 = !{!"llvm.loop.mustprogress"}
!29 = !{!16, !12, i64 14259}
!30 = !{!7, !7, i64 0}
!31 = !{!32, !12, i64 0}
!32 = !{!"_ZTS12ImGuiKeyData", !12, i64 0, !14, i64 4, !14, i64 8, !14, i64 12}
!33 = !{!32, !14, i64 12}
!34 = !{!35, !36, i64 0}
!35 = !{!"_ZTS15ImGuiInputEvent", !36, i64 0, !37, i64 4, !17, i64 8, !7, i64 12, !12, i64 24}
!36 = !{!"_ZTS19ImGuiInputEventType", !7, i64 0}
!37 = !{!"_ZTS16ImGuiInputSource", !7, i64 0}
!38 = !{!35, !37, i64 4}
!39 = !{!40, !17, i64 15980}
!40 = !{!"_ZTS12ImGuiContext", !12, i64 0, !12, i64 1, !16, i64 8, !41, i64 14288, !6, i64 15360, !14, i64 15368, !14, i64 15372, !42, i64 15376, !45, i64 15904, !17, i64 15912, !17, i64 15916, !17, i64 15920, !12, i64 15924, !12, i64 15925, !12, i64 15926, !12, i64 15927, !12, i64 15928, !6, i64 15936, !46, i64 15944, !46, i64 15960, !19, i64 15976, !17, i64 15980, !47, i64 15984, !47, i64 16000, !47, i64 16016, !48, i64 16032, !49, i64 16048, !17, i64 16064, !18, i64 16068, !6, i64 16080, !6, i64 16088, !6, i64 16096, !6, i64 16104, !6, i64 16112, !18, i64 16120, !17, i64 16128, !14, i64 16132, !18, i64 16136, !18, i64 16144, !17, i64 16152, !17, i64 16156, !17, i64 16160, !12, i64 16164, !12, i64 16165, !14, i64 16168, !14, i64 16172, !17, i64 16176, !17, i64 16180, !14, i64 16184, !12, i64 16188, !12, i64 16189, !12, i64 16190, !12, i64 16191, !12, i64 16192, !12, i64 16193, !18, i64 16196, !6, i64 16208, !37, i64 16216, !17, i64 16220, !17, i64 16224, !12, i64 16228, !12, i64 16229, !6, i64 16232, !17, i64 16240, !14, i64 16244, !7, i64 16248, !51, i64 17928, !17, i64 18240, !12, i64 18244, !17, i64 18248, !17, i64 18252, !17, i64 18256, !17, i64 18260, !53, i64 18264, !54, i64 18284, !56, i64 18344, !57, i64 18456, !58, i64 18472, !59, i64 18488, !60, i64 18504, !61, i64 18520, !62, i64 18536, !63, i64 18552, !63, i64 18568, !17, i64 18584, !64, i64 18592, !6, i64 18608, !17, i64 18616, !17, i64 18620, !17, i64 18624, !17, i64 18628, !17, i64 18632, !17, i64 18636, !17, i64 18640, !17, i64 18644, !17, i64 18648, !17, i64 18652, !17, i64 18656, !37, i64 18660, !65, i64 18664, !12, i64 18668, !12, i64 18669, !12, i64 18670, !12, i64 18671, !12, i64 18672, !12, i64 18673, !12, i64 18674, !17, i64 18676, !55, i64 18680, !12, i64 18696, !12, i64 18697, !12, i64 18698, !17, i64 18700, !17, i64 18704, !17, i64 18708, !17, i64 18712, !17, i64 18716, !17, i64 18720, !55, i64 18724, !55, i64 18740, !17, i64 18756, !17, i64 18760, !17, i64 18764, !66, i64 18768, !66, i64 18816, !66, i64 18864, !66, i64 18912, !17, i64 18960, !17, i64 18964, !6, i64 18968, !6, i64 18976, !6, i64 18984, !14, i64 18992, !14, i64 18996, !12, i64 19000, !18, i64 19004, !18, i64 19012, !14, i64 19020, !17, i64 19024, !12, i64 19028, !12, i64 19029, !12, i64 19030, !17, i64 19032, !17, i64 19036, !17, i64 19040, !67, i64 19048, !55, i64 19112, !17, i64 19128, !17, i64 19132, !14, i64 19136, !17, i64 19140, !17, i64 19144, !17, i64 19148, !17, i64 19152, !68, i64 19160, !7, i64 19176, !17, i64 19192, !69, i64 19200, !6, i64 19216, !17, i64 19224, !70, i64 19232, !71, i64 19248, !73, i64 19288, !74, i64 19304, !6, i64 19320, !75, i64 19328, !77, i64 19368, !78, i64 19384, !17, i64 19400, !17, i64 19404, !14, i64 19408, !14, i64 19412, !18, i64 19416, !79, i64 19424, !83, i64 23152, !84, i64 23176, !17, i64 23296, !17, i64 23300, !17, i64 23304, !17, i64 23308, !14, i64 23312, !14, i64 23316, !17, i64 23320, !43, i64 23324, !86, i64 23340, !14, i64 23388, !14, i64 23392, !12, i64 23396, !12, i64 23397, !14, i64 23400, !14, i64 23404, !14, i64 23408, !14, i64 23412, !20, i64 23416, !20, i64 23418, !80, i64 23424, !60, i64 23440, !87, i64 23456, !87, i64 23472, !7, i64 23488, !12, i64 23489, !14, i64 23492, !88, i64 23496, !89, i64 23512, !90, i64 23528, !91, i64 23544, !92, i64 23560, !17, i64 23576, !7, i64 23584, !12, i64 23640, !93, i64 23644, !6, i64 23648, !88, i64 23656, !6, i64 23672, !6, i64 23680, !14, i64 23688, !12, i64 23692, !17, i64 23696, !17, i64 23700, !17, i64 23704, !17, i64 23708, !88, i64 23712, !94, i64 23728, !7, i64 23752, !7, i64 23753, !7, i64 23754, !12, i64 23755, !7, i64 23756, !17, i64 23760, !95, i64 23764, !96, i64 23784, !7, i64 23824, !17, i64 24064, !17, i64 24068, !14, i64 24072, !17, i64 24076, !17, i64 24080, !17, i64 24084, !80, i64 24088}
!41 = !{!"_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, !14, i64 168, !18, i64 172, !18, i64 180, !18, i64 188, !18, i64 196, !14, i64 204, !12, i64 208, !12, i64 209, !12, i64 210, !14, i64 212, !14, i64 216, !7, i64 220}
!42 = !{!"_ZTS20ImDrawListSharedData", !18, i64 0, !6, i64 8, !14, i64 16, !14, i64 20, !14, i64 24, !43, i64 28, !17, i64 44, !44, i64 48, !7, i64 64, !14, i64 448, !7, i64 452, !6, i64 520}
!43 = !{!"_ZTS6ImVec4", !14, i64 0, !14, i64 4, !14, i64 8, !14, i64 12}
!44 = !{!"_ZTS8ImVectorI6ImVec2E", !17, i64 0, !17, i64 4, !6, i64 8}
!45 = !{!"double", !7, i64 0}
!46 = !{!"_ZTS8ImVectorI15ImGuiInputEventE", !17, i64 0, !17, i64 4, !6, i64 8}
!47 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !17, i64 0, !17, i64 4, !6, i64 8}
!48 = !{!"_ZTS8ImVectorI20ImGuiWindowStackDataE", !17, i64 0, !17, i64 4, !6, i64 8}
!49 = !{!"_ZTS12ImGuiStorage", !50, i64 0}
!50 = !{!"_ZTS8ImVectorIN12ImGuiStorage16ImGuiStoragePairEE", !17, i64 0, !17, i64 4, !6, i64 8}
!51 = !{!"_ZTS20ImGuiKeyRoutingTable", !7, i64 0, !52, i64 280, !52, i64 296}
!52 = !{!"_ZTS8ImVectorI19ImGuiKeyRoutingDataE", !17, i64 0, !17, i64 4, !6, i64 8}
!53 = !{!"_ZTS17ImGuiNextItemData", !17, i64 0, !14, i64 4, !17, i64 8, !17, i64 12, !12, i64 16}
!54 = !{!"_ZTS17ImGuiLastItemData", !17, i64 0, !17, i64 4, !17, i64 8, !55, i64 12, !55, i64 28, !55, i64 44}
!55 = !{!"_ZTS6ImRect", !18, i64 0, !18, i64 8}
!56 = !{!"_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, !55, i64 60, !6, i64 80, !6, i64 88, !14, i64 96, !18, i64 100}
!57 = !{!"_ZTS8ImVectorI13ImGuiColorModE", !17, i64 0, !17, i64 4, !6, i64 8}
!58 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !17, i64 0, !17, i64 4, !6, i64 8}
!59 = !{!"_ZTS8ImVectorIP6ImFontE", !17, i64 0, !17, i64 4, !6, i64 8}
!60 = !{!"_ZTS8ImVectorIjE", !17, i64 0, !17, i64 4, !6, i64 8}
!61 = !{!"_ZTS8ImVectorIiE", !17, i64 0, !17, i64 4, !6, i64 8}
!62 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !17, i64 0, !17, i64 4, !6, i64 8}
!63 = !{!"_ZTS8ImVectorI14ImGuiPopupDataE", !17, i64 0, !17, i64 4, !6, i64 8}
!64 = !{!"_ZTS8ImVectorIP14ImGuiViewportPE", !17, i64 0, !17, i64 4, !6, i64 8}
!65 = !{!"_ZTS13ImGuiNavLayer", !7, i64 0}
!66 = !{!"_ZTS16ImGuiNavItemData", !6, i64 0, !17, i64 8, !17, i64 12, !55, i64 16, !17, i64 32, !14, i64 36, !14, i64 40, !14, i64 44}
!67 = !{!"_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}
!68 = !{!"_ZTS8ImVectorIhE", !17, i64 0, !17, i64 4, !6, i64 8}
!69 = !{!"_ZTS8ImVectorI20ImGuiListClipperDataE", !17, i64 0, !17, i64 4, !6, i64 8}
!70 = !{!"_ZTS8ImVectorI18ImGuiTableTempDataE", !17, i64 0, !17, i64 4, !6, i64 8}
!71 = !{!"_ZTS6ImPoolI10ImGuiTableE", !72, i64 0, !49, i64 16, !17, i64 32, !17, i64 36}
!72 = !{!"_ZTS8ImVectorI10ImGuiTableE", !17, i64 0, !17, i64 4, !6, i64 8}
!73 = !{!"_ZTS8ImVectorIfE", !17, i64 0, !17, i64 4, !6, i64 8}
!74 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !17, i64 0, !17, i64 4, !6, i64 8}
!75 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !76, i64 0, !49, i64 16, !17, i64 32, !17, i64 36}
!76 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !17, i64 0, !17, i64 4, !6, i64 8}
!77 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !17, i64 0, !17, i64 4, !6, i64 8}
!78 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !17, i64 0, !17, i64 4, !6, i64 8}
!79 = !{!"_ZTS19ImGuiInputTextState", !6, i64 0, !17, i64 8, !17, i64 12, !17, i64 16, !21, i64 24, !80, i64 40, !80, i64 56, !12, i64 72, !17, i64 76, !14, i64 80, !81, i64 84, !14, i64 3712, !12, i64 3716, !12, i64 3717, !12, i64 3718, !17, i64 3720}
!80 = !{!"_ZTS8ImVectorIcE", !17, i64 0, !17, i64 4, !6, i64 8}
!81 = !{!"_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, !82, i64 32}
!82 = !{!"_ZTSN5ImStb12StbUndoStateE", !7, i64 0, !7, i64 1584, !20, i64 3582, !20, i64 3584, !17, i64 3588, !17, i64 3592}
!83 = !{!"_ZTS30ImGuiInputTextDeactivatedState", !17, i64 0, !80, i64 8}
!84 = !{!"_ZTS6ImFont", !73, i64 0, !14, i64 16, !14, i64 20, !21, i64 24, !85, i64 40, !6, i64 56, !6, i64 64, !6, i64 72, !20, i64 80, !20, i64 82, !20, i64 84, !20, i64 86, !14, i64 88, !14, i64 92, !12, i64 96, !14, i64 100, !14, i64 104, !14, i64 108, !17, i64 112, !7, i64 116}
!85 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !17, i64 0, !17, i64 4, !6, i64 8}
!86 = !{!"_ZTS21ImGuiComboPreviewData", !55, i64 0, !18, i64 16, !18, i64 24, !18, i64 32, !14, i64 40, !17, i64 44}
!87 = !{!"_ZTS20ImGuiPlatformImeData", !12, i64 0, !18, i64 4, !14, i64 12}
!88 = !{!"_ZTS15ImGuiTextBuffer", !80, i64 0}
!89 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !17, i64 0, !17, i64 4, !6, i64 8}
!90 = !{!"_ZTS13ImChunkStreamI19ImGuiWindowSettingsE", !80, i64 0}
!91 = !{!"_ZTS13ImChunkStreamI18ImGuiTableSettingsE", !80, i64 0}
!92 = !{!"_ZTS8ImVectorI16ImGuiContextHookE", !17, i64 0, !17, i64 4, !6, i64 8}
!93 = !{!"_ZTS12ImGuiLogType", !7, i64 0}
!94 = !{!"_ZTS14ImGuiTextIndex", !61, i64 0, !17, i64 16}
!95 = !{!"_ZTS18ImGuiMetricsConfig", !12, i64 0, !12, i64 1, !12, i64 2, !12, i64 3, !12, i64 4, !12, i64 5, !12, i64 6, !12, i64 7, !17, i64 8, !17, i64 12}
!96 = !{!"_ZTS14ImGuiStackTool", !17, i64 0, !17, i64 4, !17, i64 8, !97, i64 16, !12, i64 32, !14, i64 36}
!97 = !{!"_ZTS8ImVectorI19ImGuiStackLevelInfoE", !17, i64 0, !17, i64 4, !6, i64 8}
!98 = !{!35, !17, i64 8}


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

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

@.str.2 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [117 x i8], align 1
@__PRETTY_FUNCTION__._ZN7ImGuiIO17AddKeyAnalogEventE8ImGuiKeybf = external hidden unnamed_addr constant [55 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [191 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [135 x i8], align 1

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

53:                                               ; preds = %51, %.loopexit
  %54 = tail call noundef ptr @_ZL20FindLatestInputEventP12ImGuiContext19ImGuiInputEventTypei(ptr noundef nonnull %8, i32 noundef 4, i32 noundef %1)
  %55 = tail call noundef ptr @_ZN5ImGui10GetKeyDataEP12ImGuiContext8ImGuiKey(ptr noundef nonnull %8, i32 noundef %1)
  %.not33 = icmp eq ptr %54, null
  %56 = getelementptr inbounds i8, ptr %54, i64 16
  %.in.in = select i1 %.not33, ptr %55, ptr %56
  %.in = load i8, ptr %.in.in, align 4, !tbaa !25, !range !18, !noundef !19
  %57 = icmp eq i8 %.in, %6
  br i1 %57, label %58, label %63

58:                                               ; preds = %53
  %59 = getelementptr inbounds i8, ptr %55, i64 12
  %60 = getelementptr inbounds i8, ptr %54, i64 20
  %.in34 = select i1 %.not33, ptr %59, ptr %60
  %61 = load float, ptr %.in34, align 4, !tbaa !25
  %62 = fcmp oeq float %61, %3
  br i1 %62, label %75, label %63

63:                                               ; preds = %58, %53
  call void @llvm.lifetime.start.p0(i64 28, ptr nonnull %5) #7
  call void @_ZN15ImGuiInputEventC2Ev(ptr noundef nonnull align 4 dereferenceable(25) %5)
  store i32 4, ptr %5, align 4, !tbaa !26
  %64 = call noundef zeroext i1 @_ZN5ImGui12IsGamepadKeyE8ImGuiKey(i32 noundef %1)
  %65 = select i1 %64, i32 3, i32 2
  %66 = getelementptr inbounds i8, ptr %5, i64 4
  store i32 %65, ptr %66, align 4, !tbaa !30
  %67 = getelementptr inbounds i8, ptr %8, i64 15980
  %68 = load i32, ptr %67, align 4, !tbaa !31
  %69 = add i32 %68, 1
  store i32 %69, ptr %67, align 4, !tbaa !31
  %70 = getelementptr inbounds i8, ptr %5, i64 8
  store i32 %68, ptr %70, align 4, !tbaa !90
  %71 = getelementptr inbounds i8, ptr %5, i64 12
  store i32 %1, ptr %71, align 4, !tbaa !25
  %72 = getelementptr inbounds i8, ptr %5, i64 16
  store i8 %6, ptr %72, align 4, !tbaa !25
  %73 = getelementptr inbounds i8, ptr %5, i64 20
  store float %3, ptr %73, align 4, !tbaa !25
  %74 = getelementptr inbounds i8, ptr %8, i64 15944
  call void @_ZN8ImVectorI15ImGuiInputEventE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(16) %74, ptr noundef nonnull align 4 dereferenceable(25) %5)
  call void @llvm.lifetime.end.p0(i64 28, ptr nonnull %5) #7
  br label %75

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

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

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

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

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !12, i64 3576}
!6 = !{!"_ZTS7ImGuiIO", !7, i64 0, !7, i64 4, !10, i64 8, !11, i64 16, !11, i64 20, !12, i64 24, !12, i64 32, !11, i64 40, !11, i64 44, !11, i64 48, !11, i64 52, !11, i64 56, !11, i64 60, !11, i64 64, !12, i64 72, !12, i64 80, !11, i64 88, !13, i64 92, !12, i64 96, !10, i64 104, !13, i64 112, !13, i64 113, !13, i64 114, !13, i64 115, !13, i64 116, !13, i64 117, !13, i64 118, !13, i64 119, !11, i64 120, !13, i64 124, !13, i64 125, !12, i64 128, !12, i64 136, !12, i64 144, !12, i64 152, !12, i64 160, !12, i64 168, !12, i64 176, !12, i64 184, !12, i64 192, !12, i64 200, !13, i64 208, !13, i64 209, !13, i64 210, !13, i64 211, !13, i64 212, !13, i64 213, !13, i64 214, !11, i64 216, !7, i64 220, !7, i64 224, !7, i64 228, !7, i64 232, !7, i64 236, !10, i64 240, !8, i64 248, !8, i64 2856, !8, i64 3508, !12, i64 3576, !10, i64 3584, !8, i64 3592, !11, i64 3600, !11, i64 3604, !14, i64 3608, !13, i64 3612, !13, i64 3613, !13, i64 3614, !13, i64 3615, !7, i64 3616, !8, i64 3620, !13, i64 14052, !10, i64 14056, !8, i64 14064, !8, i64 14104, !8, i64 14144, !8, i64 14149, !8, i64 14154, !8, i64 14164, !8, i64 14174, !8, i64 14179, !8, i64 14184, !13, i64 14189, !8, i64 14192, !8, i64 14212, !8, i64 14232, !11, i64 14252, !13, i64 14256, !13, i64 14257, !8, i64 14258, !13, i64 14259, !15, i64 14260, !16, i64 14264}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"_ZTS6ImVec2", !11, i64 0, !11, i64 4}
!11 = !{!"float", !8, i64 0}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!"bool", !8, i64 0}
!14 = !{!"_ZTS16ImGuiMouseSource", !8, i64 0}
!15 = !{!"short", !8, i64 0}
!16 = !{!"_ZTS8ImVectorItE", !7, i64 0, !7, i64 4, !12, i64 8}
!17 = !{!6, !13, i64 14257}
!18 = !{i8 0, i8 2}
!19 = !{}
!20 = !{!6, !8, i64 14258}
!21 = !{!7, !7, i64 0}
!22 = distinct !{!22, !23}
!23 = !{!"llvm.loop.mustprogress"}
!24 = !{!6, !13, i64 14259}
!25 = !{!8, !8, i64 0}
!26 = !{!27, !28, i64 0}
!27 = !{!"_ZTS15ImGuiInputEvent", !28, i64 0, !29, i64 4, !7, i64 8, !8, i64 12, !13, i64 24}
!28 = !{!"_ZTS19ImGuiInputEventType", !8, i64 0}
!29 = !{!"_ZTS16ImGuiInputSource", !8, i64 0}
!30 = !{!27, !29, i64 4}
!31 = !{!32, !7, i64 15980}
!32 = !{!"_ZTS12ImGuiContext", !13, i64 0, !13, i64 1, !6, i64 8, !33, i64 14288, !12, i64 15360, !11, i64 15368, !11, i64 15372, !34, i64 15376, !37, i64 15904, !7, i64 15912, !7, i64 15916, !7, i64 15920, !13, i64 15924, !13, i64 15925, !13, i64 15926, !13, i64 15927, !13, i64 15928, !12, i64 15936, !38, i64 15944, !38, i64 15960, !14, i64 15976, !7, i64 15980, !39, i64 15984, !39, i64 16000, !39, i64 16016, !40, i64 16032, !41, i64 16048, !7, i64 16064, !10, i64 16068, !12, i64 16080, !12, i64 16088, !12, i64 16096, !12, i64 16104, !12, i64 16112, !10, i64 16120, !7, i64 16128, !11, i64 16132, !10, i64 16136, !10, i64 16144, !7, i64 16152, !7, i64 16156, !7, i64 16160, !13, i64 16164, !13, i64 16165, !11, i64 16168, !11, i64 16172, !7, i64 16176, !7, i64 16180, !11, i64 16184, !13, i64 16188, !13, i64 16189, !13, i64 16190, !13, i64 16191, !13, i64 16192, !13, i64 16193, !10, i64 16196, !12, i64 16208, !29, i64 16216, !7, i64 16220, !7, i64 16224, !13, i64 16228, !13, i64 16229, !12, i64 16232, !7, i64 16240, !11, i64 16244, !8, i64 16248, !43, i64 17928, !7, i64 18240, !13, i64 18244, !7, i64 18248, !7, i64 18252, !7, i64 18256, !7, i64 18260, !45, i64 18264, !46, i64 18284, !48, i64 18344, !49, i64 18456, !50, i64 18472, !51, i64 18488, !52, i64 18504, !53, i64 18520, !54, i64 18536, !55, i64 18552, !55, i64 18568, !7, i64 18584, !56, i64 18592, !12, i64 18608, !7, i64 18616, !7, i64 18620, !7, i64 18624, !7, i64 18628, !7, i64 18632, !7, i64 18636, !7, i64 18640, !7, i64 18644, !7, i64 18648, !7, i64 18652, !7, i64 18656, !29, i64 18660, !57, i64 18664, !13, i64 18668, !13, i64 18669, !13, i64 18670, !13, i64 18671, !13, i64 18672, !13, i64 18673, !13, i64 18674, !7, i64 18676, !47, i64 18680, !13, i64 18696, !13, i64 18697, !13, i64 18698, !7, i64 18700, !7, i64 18704, !7, i64 18708, !7, i64 18712, !7, i64 18716, !7, i64 18720, !47, i64 18724, !47, i64 18740, !7, i64 18756, !7, i64 18760, !7, i64 18764, !58, i64 18768, !58, i64 18816, !58, i64 18864, !58, i64 18912, !7, i64 18960, !7, i64 18964, !12, i64 18968, !12, i64 18976, !12, i64 18984, !11, i64 18992, !11, i64 18996, !13, i64 19000, !10, i64 19004, !10, i64 19012, !11, i64 19020, !7, i64 19024, !13, i64 19028, !13, i64 19029, !13, i64 19030, !7, i64 19032, !7, i64 19036, !7, i64 19040, !59, i64 19048, !47, i64 19112, !7, i64 19128, !7, i64 19132, !11, i64 19136, !7, i64 19140, !7, i64 19144, !7, i64 19148, !7, i64 19152, !60, i64 19160, !8, i64 19176, !7, i64 19192, !61, i64 19200, !12, i64 19216, !7, i64 19224, !62, i64 19232, !63, i64 19248, !65, i64 19288, !66, i64 19304, !12, i64 19320, !67, i64 19328, !69, i64 19368, !70, i64 19384, !7, i64 19400, !7, i64 19404, !11, i64 19408, !11, i64 19412, !10, i64 19416, !71, i64 19424, !75, i64 23152, !76, i64 23176, !7, i64 23296, !7, i64 23300, !7, i64 23304, !7, i64 23308, !11, i64 23312, !11, i64 23316, !7, i64 23320, !35, i64 23324, !78, i64 23340, !11, i64 23388, !11, i64 23392, !13, i64 23396, !13, i64 23397, !11, i64 23400, !11, i64 23404, !11, i64 23408, !11, i64 23412, !15, i64 23416, !15, i64 23418, !72, i64 23424, !52, i64 23440, !79, i64 23456, !79, i64 23472, !8, i64 23488, !13, i64 23489, !11, i64 23492, !80, i64 23496, !81, i64 23512, !82, i64 23528, !83, i64 23544, !84, i64 23560, !7, i64 23576, !8, i64 23584, !13, i64 23640, !85, i64 23644, !12, i64 23648, !80, i64 23656, !12, i64 23672, !12, i64 23680, !11, i64 23688, !13, i64 23692, !7, i64 23696, !7, i64 23700, !7, i64 23704, !7, i64 23708, !80, i64 23712, !86, i64 23728, !8, i64 23752, !8, i64 23753, !8, i64 23754, !13, i64 23755, !8, i64 23756, !7, i64 23760, !87, i64 23764, !88, i64 23784, !8, i64 23824, !7, i64 24064, !7, i64 24068, !11, i64 24072, !7, i64 24076, !7, i64 24080, !7, i64 24084, !72, i64 24088}
!33 = !{!"_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, !11, i64 168, !10, i64 172, !10, i64 180, !10, i64 188, !10, i64 196, !11, i64 204, !13, i64 208, !13, i64 209, !13, i64 210, !11, i64 212, !11, i64 216, !8, i64 220}
!34 = !{!"_ZTS20ImDrawListSharedData", !10, i64 0, !12, i64 8, !11, i64 16, !11, i64 20, !11, i64 24, !35, i64 28, !7, i64 44, !36, i64 48, !8, i64 64, !11, i64 448, !8, i64 452, !12, i64 520}
!35 = !{!"_ZTS6ImVec4", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12}
!36 = !{!"_ZTS8ImVectorI6ImVec2E", !7, i64 0, !7, i64 4, !12, i64 8}
!37 = !{!"double", !8, i64 0}
!38 = !{!"_ZTS8ImVectorI15ImGuiInputEventE", !7, i64 0, !7, i64 4, !12, i64 8}
!39 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !7, i64 0, !7, i64 4, !12, i64 8}
!40 = !{!"_ZTS8ImVectorI20ImGuiWindowStackDataE", !7, i64 0, !7, i64 4, !12, i64 8}
!41 = !{!"_ZTS12ImGuiStorage", !42, i64 0}
!42 = !{!"_ZTS8ImVectorIN12ImGuiStorage16ImGuiStoragePairEE", !7, i64 0, !7, i64 4, !12, i64 8}
!43 = !{!"_ZTS20ImGuiKeyRoutingTable", !8, i64 0, !44, i64 280, !44, i64 296}
!44 = !{!"_ZTS8ImVectorI19ImGuiKeyRoutingDataE", !7, i64 0, !7, i64 4, !12, i64 8}
!45 = !{!"_ZTS17ImGuiNextItemData", !7, i64 0, !11, i64 4, !7, i64 8, !7, i64 12, !13, i64 16}
!46 = !{!"_ZTS17ImGuiLastItemData", !7, i64 0, !7, i64 4, !7, i64 8, !47, i64 12, !47, i64 28, !47, i64 44}
!47 = !{!"_ZTS6ImRect", !10, i64 0, !10, i64 8}
!48 = !{!"_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, !47, i64 60, !12, i64 80, !12, i64 88, !11, i64 96, !10, i64 100}
!49 = !{!"_ZTS8ImVectorI13ImGuiColorModE", !7, i64 0, !7, i64 4, !12, i64 8}
!50 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !7, i64 0, !7, i64 4, !12, i64 8}
!51 = !{!"_ZTS8ImVectorIP6ImFontE", !7, i64 0, !7, i64 4, !12, i64 8}
!52 = !{!"_ZTS8ImVectorIjE", !7, i64 0, !7, i64 4, !12, i64 8}
!53 = !{!"_ZTS8ImVectorIiE", !7, i64 0, !7, i64 4, !12, i64 8}
!54 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !7, i64 0, !7, i64 4, !12, i64 8}
!55 = !{!"_ZTS8ImVectorI14ImGuiPopupDataE", !7, i64 0, !7, i64 4, !12, i64 8}
!56 = !{!"_ZTS8ImVectorIP14ImGuiViewportPE", !7, i64 0, !7, i64 4, !12, i64 8}
!57 = !{!"_ZTS13ImGuiNavLayer", !8, i64 0}
!58 = !{!"_ZTS16ImGuiNavItemData", !12, i64 0, !7, i64 8, !7, i64 12, !47, i64 16, !7, i64 32, !11, i64 36, !11, i64 40, !11, i64 44}
!59 = !{!"_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}
!60 = !{!"_ZTS8ImVectorIhE", !7, i64 0, !7, i64 4, !12, i64 8}
!61 = !{!"_ZTS8ImVectorI20ImGuiListClipperDataE", !7, i64 0, !7, i64 4, !12, i64 8}
!62 = !{!"_ZTS8ImVectorI18ImGuiTableTempDataE", !7, i64 0, !7, i64 4, !12, i64 8}
!63 = !{!"_ZTS6ImPoolI10ImGuiTableE", !64, i64 0, !41, i64 16, !7, i64 32, !7, i64 36}
!64 = !{!"_ZTS8ImVectorI10ImGuiTableE", !7, i64 0, !7, i64 4, !12, i64 8}
!65 = !{!"_ZTS8ImVectorIfE", !7, i64 0, !7, i64 4, !12, i64 8}
!66 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !7, i64 0, !7, i64 4, !12, i64 8}
!67 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !68, i64 0, !41, i64 16, !7, i64 32, !7, i64 36}
!68 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !7, i64 0, !7, i64 4, !12, i64 8}
!69 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !7, i64 0, !7, i64 4, !12, i64 8}
!70 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !7, i64 0, !7, i64 4, !12, i64 8}
!71 = !{!"_ZTS19ImGuiInputTextState", !12, i64 0, !7, i64 8, !7, i64 12, !7, i64 16, !16, i64 24, !72, i64 40, !72, i64 56, !13, i64 72, !7, i64 76, !11, i64 80, !73, i64 84, !11, i64 3712, !13, i64 3716, !13, i64 3717, !13, i64 3718, !7, i64 3720}
!72 = !{!"_ZTS8ImVectorIcE", !7, i64 0, !7, i64 4, !12, i64 8}
!73 = !{!"_ZTSN5ImStb17STB_TexteditStateE", !7, i64 0, !7, i64 4, !7, i64 8, !8, i64 12, !7, i64 16, !8, i64 20, !8, i64 21, !8, i64 22, !8, i64 23, !8, i64 24, !8, i64 25, !8, i64 26, !11, i64 28, !74, i64 32}
!74 = !{!"_ZTSN5ImStb12StbUndoStateE", !8, i64 0, !8, i64 1584, !15, i64 3582, !15, i64 3584, !7, i64 3588, !7, i64 3592}
!75 = !{!"_ZTS30ImGuiInputTextDeactivatedState", !7, i64 0, !72, i64 8}
!76 = !{!"_ZTS6ImFont", !65, i64 0, !11, i64 16, !11, i64 20, !16, i64 24, !77, i64 40, !12, i64 56, !12, i64 64, !12, i64 72, !15, i64 80, !15, i64 82, !15, i64 84, !15, i64 86, !11, i64 88, !11, i64 92, !13, i64 96, !11, i64 100, !11, i64 104, !11, i64 108, !7, i64 112, !8, i64 116}
!77 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !7, i64 0, !7, i64 4, !12, i64 8}
!78 = !{!"_ZTS21ImGuiComboPreviewData", !47, i64 0, !10, i64 16, !10, i64 24, !10, i64 32, !11, i64 40, !7, i64 44}
!79 = !{!"_ZTS20ImGuiPlatformImeData", !13, i64 0, !10, i64 4, !11, i64 12}
!80 = !{!"_ZTS15ImGuiTextBuffer", !72, i64 0}
!81 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !7, i64 0, !7, i64 4, !12, i64 8}
!82 = !{!"_ZTS13ImChunkStreamI19ImGuiWindowSettingsE", !72, i64 0}
!83 = !{!"_ZTS13ImChunkStreamI18ImGuiTableSettingsE", !72, i64 0}
!84 = !{!"_ZTS8ImVectorI16ImGuiContextHookE", !7, i64 0, !7, i64 4, !12, i64 8}
!85 = !{!"_ZTS12ImGuiLogType", !8, i64 0}
!86 = !{!"_ZTS14ImGuiTextIndex", !53, i64 0, !7, i64 16}
!87 = !{!"_ZTS18ImGuiMetricsConfig", !13, i64 0, !13, i64 1, !13, i64 2, !13, i64 3, !13, i64 4, !13, i64 5, !13, i64 6, !13, i64 7, !7, i64 8, !7, i64 12}
!88 = !{!"_ZTS14ImGuiStackTool", !7, i64 0, !7, i64 4, !7, i64 8, !89, i64 16, !13, i64 32, !11, i64 36}
!89 = !{!"_ZTS8ImVectorI19ImGuiStackLevelInfoE", !7, i64 0, !7, i64 4, !12, i64 8}
!90 = !{!27, !7, i64 8}


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