; LLVM IR from bohanwang/libpgo :: third-party/imgui/imgui_widgets.ll (ZN5ImGui14ButtonBehaviorERK6ImRectjPbS3_i)

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

@GImGui = external global ptr, align 8
@.str.1 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [86 x i8], align 1
@__PRETTY_FUNCTION__._ZN5ImGui14ButtonBehaviorERK6ImRectjPbS3_i = external hidden unnamed_addr constant [86 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: inlinehint mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN5ImGui16GetCurrentWindowEv() #1

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef, float noundef) #1

; Function Attrs: inlinehint mustprogress uwtable
declare hidden <2 x float> @_ZmiRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8)) #3

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN5ImGui14ButtonBehaviorERK6ImRectjPbS3_i(ptr noundef nonnull align 4 dereferenceable(16) %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4) #4 {
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca i32, align 4
  %14 = alloca ptr, align 8
  %15 = alloca i8, align 1
  %16 = alloca i8, align 1
  %17 = alloca i8, align 1
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca i8, align 1
  %23 = alloca i8, align 1
  %24 = alloca i8, align 1
  %25 = alloca ptr, align 8
  %26 = alloca ptr, align 8
  %27 = alloca ptr, align 8
  %28 = alloca float, align 4
  %29 = alloca i8, align 1
  %30 = alloca %struct.ImVec2, align 4
  %31 = alloca i32, align 4
  %32 = alloca i8, align 1
  %33 = alloca i8, align 1
  %34 = alloca i8, align 1
  %35 = alloca i8, align 1
  %36 = alloca i8, align 1
  store ptr %0, ptr %6, align 8, !tbaa !5
  store i32 %1, ptr %7, align 4, !tbaa !9
  store ptr %2, ptr %8, align 8, !tbaa !5
  store ptr %3, ptr %9, align 8, !tbaa !5
  store i32 %4, ptr %10, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #8
  %37 = load ptr, ptr @GImGui, align 8, !tbaa !5
  store ptr %37, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #8
  %38 = call noundef ptr @_ZN5ImGui16GetCurrentWindowEv()
  store ptr %38, ptr %12, align 8, !tbaa !5
  %39 = load i32, ptr %10, align 4, !tbaa !9
  %40 = and i32 %39, 7
  %41 = icmp eq i32 %40, 0
  br i1 %41, label %42, label %45

42:                                               ; preds = %5
  %43 = load i32, ptr %10, align 4, !tbaa !9
  %44 = or i32 %43, 1
  store i32 %44, ptr %10, align 4, !tbaa !9
  br label %45

45:                                               ; preds = %42, %5
  %46 = load i32, ptr %10, align 4, !tbaa !9
  %47 = and i32 %46, 1008
  %48 = icmp eq i32 %47, 0
  br i1 %48, label %49, label %52

49:                                               ; preds = %45
  %50 = load i32, ptr %10, align 4, !tbaa !9
  %51 = or i32 %50, 32
  store i32 %51, ptr %10, align 4, !tbaa !9
  br label %52

52:                                               ; preds = %49, %45
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #8
  %53 = load ptr, ptr %11, align 8, !tbaa !5
  %54 = getelementptr inbounds %struct.ImGuiContext, ptr %53, i32 0, i32 88
  %55 = getelementptr inbounds %struct.ImGuiLastItemData, ptr %54, i32 0, i32 0
  %56 = load i32, ptr %55, align 8, !tbaa !11
  %57 = load i32, ptr %7, align 4, !tbaa !9
  %58 = icmp eq i32 %56, %57
  br i1 %58, label %59, label %64

59:                                               ; preds = %52
  %60 = load ptr, ptr %11, align 8, !tbaa !5
  %61 = getelementptr inbounds %struct.ImGuiContext, ptr %60, i32 0, i32 88
  %62 = getelementptr inbounds %struct.ImGuiLastItemData, ptr %61, i32 0, i32 1
  %63 = load i32, ptr %62, align 4, !tbaa !88
  br label %68

64:                                               ; preds = %52
  %65 = load ptr, ptr %11, align 8, !tbaa !5
  %66 = getelementptr inbounds %struct.ImGuiContext, ptr %65, i32 0, i32 84
  %67 = load i32, ptr %66, align 4, !tbaa !89
  br label %68

68:                                               ; preds = %64, %59
  %69 = phi i32 [ %63, %59 ], [ %67, %64 ]
  store i32 %69, ptr %13, align 4, !tbaa !9
  %70 = load i32, ptr %10, align 4, !tbaa !9
  %71 = and i32 %70, 4096
  %72 = icmp ne i32 %71, 0
  br i1 %72, label %73, label %76

73:                                               ; preds = %68
  %74 = load i32, ptr %13, align 4, !tbaa !9
  %75 = or i32 %74, 512
  store i32 %75, ptr %13, align 4, !tbaa !9
  br label %76

76:                                               ; preds = %73, %68
  %77 = load i32, ptr %10, align 4, !tbaa !9
  %78 = and i32 %77, 1024
  %79 = icmp ne i32 %78, 0
  br i1 %79, label %80, label %83

80:                                               ; preds = %76
  %81 = load i32, ptr %13, align 4, !tbaa !9
  %82 = or i32 %81, 2
  store i32 %82, ptr %13, align 4, !tbaa !9
  br label %83

83:                                               ; preds = %80, %76
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #8
  %84 = load ptr, ptr %11, align 8, !tbaa !5
  %85 = getelementptr inbounds %struct.ImGuiContext, ptr %84, i32 0, i32 34
  %86 = load ptr, ptr %85, align 8, !tbaa !90
  store ptr %86, ptr %14, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %15) #8
  %87 = load i32, ptr %10, align 4, !tbaa !9
  %88 = and i32 %87, 2048
  %89 = icmp ne i32 %88, 0
  br i1 %89, label %90, label %103

90:                                               ; preds = %83
  %91 = load ptr, ptr %11, align 8, !tbaa !5
  %92 = getelementptr inbounds %struct.ImGuiContext, ptr %91, i32 0, i32 34
  %93 = load ptr, ptr %92, align 8, !tbaa !90
  %94 = icmp ne ptr %93, null
  br i1 %94, label %95, label %103

95:                                               ; preds = %90
  %96 = load ptr, ptr %11, align 8, !tbaa !5
  %97 = getelementptr inbounds %struct.ImGuiContext, ptr %96, i32 0, i32 34
  %98 = load ptr, ptr %97, align 8, !tbaa !90
  %99 = getelementptr inbounds %struct.ImGuiWindow, ptr %98, i32 0, i32 91
  %100 = load ptr, ptr %99, align 8, !tbaa !91
  %101 = load ptr, ptr %12, align 8, !tbaa !5
  %102 = icmp eq ptr %100, %101
  br label %103

103:                                              ; preds = %95, %90, %83
  %104 = phi i1 [ false, %90 ], [ false, %83 ], [ %102, %95 ]
  %105 = zext i1 %104 to i8
  store i8 %105, ptr %15, align 1, !tbaa !105
  %106 = load i8, ptr %15, align 1, !tbaa !105, !range !106, !noundef !107
  %107 = trunc i8 %106 to i1
  br i1 %107, label %108, label %112

108:                                              ; preds = %103
  %109 = load ptr, ptr %12, align 8, !tbaa !5
  %110 = load ptr, ptr %11, align 8, !tbaa !5
  %111 = getelementptr inbounds %struct.ImGuiContext, ptr %110, i32 0, i32 34
  store ptr %109, ptr %111, align 8, !tbaa !90
  br label %112

112:                                              ; preds = %108, %103
  call void @llvm.lifetime.start.p0(i64 1, ptr %16) #8
  store i8 0, ptr %16, align 1, !tbaa !105
  call void @llvm.lifetime.start.p0(i64 1, ptr %17) #8
  %113 = load ptr, ptr %6, align 8, !tbaa !5
  %114 = load i32, ptr %7, align 4, !tbaa !9
  %115 = load i32, ptr %13, align 4, !tbaa !9
  %116 = call noundef zeroext i1 @_ZN5ImGui13ItemHoverableERK6ImRectji(ptr noundef nonnull align 4 dereferenceable(16) %113, i32 noundef %114, i32 noundef %115)
  %117 = zext i1 %116 to i8
  store i8 %117, ptr %17, align 1, !tbaa !105
  %118 = load ptr, ptr %11, align 8, !tbaa !5
  %119 = getelementptr inbounds %struct.ImGuiContext, ptr %118, i32 0, i32 161
  %120 = load i8, ptr %119, align 4, !tbaa !108, !range !106, !noundef !107
  %121 = trunc i8 %120 to i1
  br i1 %121, label %122, label %157

122:                                              ; preds = %112
  %123 = load i32, ptr %10, align 4, !tbaa !9
  %124 = and i32 %123, 512
  %125 = icmp ne i32 %124, 0
  br i1 %125, label %126, label %157

126:                                              ; preds = %122
  %127 = load ptr, ptr %11, align 8, !tbaa !5
  %128 = getelementptr inbounds %struct.ImGuiContext, ptr %127, i32 0, i32 164
  %129 = load i32, ptr %128, align 8, !tbaa !109
  %130 = and i32 %129, 4
  %131 = icmp ne i32 %130, 0
  br i1 %131, label %157, label %132

132:                                              ; preds = %126
  %133 = call noundef zeroext i1 @_ZN5ImGui13IsItemHoveredEi(i32 noundef 128)
  br i1 %133, label %134, label %156

134:                                              ; preds = %132
  store i8 1, ptr %17, align 1, !tbaa !105
  %135 = load i32, ptr %7, align 4, !tbaa !9
  call void @_ZN5ImGui12SetHoveredIDEj(i32 noundef %135)
  %136 = load ptr, ptr %11, align 8, !tbaa !5
  %137 = getelementptr inbounds %struct.ImGuiContext, ptr %136, i32 0, i32 48
  %138 = load float, ptr %137, align 8, !tbaa !110
  %139 = load ptr, ptr %11, align 8, !tbaa !5
  %140 = getelementptr inbounds %struct.ImGuiContext, ptr %139, i32 0, i32 3
  %141 = getelementptr inbounds %struct.ImGuiIO, ptr %140, i32 0, i32 3
  %142 = load float, ptr %141, align 8, !tbaa !111
  %143 = fsub float %138, %142
  %144 = fcmp ole float %143, 0x3FE6666660000000
  br i1 %144, label %145, label %155

145:                                              ; preds = %134
  %146 = load ptr, ptr %11, align 8, !tbaa !5
  %147 = getelementptr inbounds %struct.ImGuiContext, ptr %146, i32 0, i32 48
  %148 = load float, ptr %147, align 8, !tbaa !110
  %149 = fcmp oge float %148, 0x3FE6666660000000
  br i1 %149, label %150, label %155

150:                                              ; preds = %145
  store i8 1, ptr %16, align 1, !tbaa !105
  %151 = load i32, ptr %7, align 4, !tbaa !9
  %152 = load ptr, ptr %11, align 8, !tbaa !5
  %153 = getelementptr inbounds %struct.ImGuiContext, ptr %152, i32 0, i32 177
  store i32 %151, ptr %153, align 8, !tbaa !112
  %154 = load ptr, ptr %12, align 8, !tbaa !5
  call void @_ZN5ImGui11FocusWindowEP11ImGuiWindowi(ptr noundef %154, i32 noundef 0)
  br label %155

155:                                              ; preds = %150, %145, %134
  br label %156

156:                                              ; preds = %155, %132
  br label %157

157:                                              ; preds = %156, %126, %122, %112
  %158 = load i8, ptr %15, align 1, !tbaa !105, !range !106, !noundef !107
  %159 = trunc i8 %158 to i1
  br i1 %159, label %160, label %164

160:                                              ; preds = %157
  %161 = load ptr, ptr %14, align 8, !tbaa !5
  %162 = load ptr, ptr %11, align 8, !tbaa !5
  %163 = getelementptr inbounds %struct.ImGuiContext, ptr %162, i32 0, i32 34
  store ptr %161, ptr %163, align 8, !tbaa !90
  br label %164

164:                                              ; preds = %160, %157
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #8
  %165 = load i32, ptr %10, align 4, !tbaa !9
  %166 = and i32 %165, 2097152
  %167 = icmp ne i32 %166, 0
  br i1 %167, label %168, label %169

168:                                              ; preds = %164
  br label %171

169:                                              ; preds = %164
  %170 = load i32, ptr %7, align 4, !tbaa !9
  br label %171

171:                                              ; preds = %169, %168
  %172 = phi i32 [ 0, %168 ], [ %170, %169 ]
  store i32 %172, ptr %18, align 4, !tbaa !9
  %173 = load i8, ptr %17, align 1, !tbaa !105, !range !106, !noundef !107
  %174 = trunc i8 %173 to i1
  br i1 %174, label %175, label %391

175:                                              ; preds = %171
  %176 = load i32, ptr %7, align 4, !tbaa !9
  %177 = icmp ne i32 %176, 0
  br i1 %177, label %178, label %179

178:                                              ; preds = %175
  br label %181

179:                                              ; preds = %175
  call void @__assert_fail(ptr noundef @.str.1, ptr noundef @.str.2, i32 noundef 540, ptr noundef @__PRETTY_FUNCTION__._ZN5ImGui14ButtonBehaviorERK6ImRectjPbS3_i) #9
  unreachable

180:                                              ; No predecessors!
  br label %181

181:                                              ; preds = %180, %178
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #8
  store i32 -1, ptr %19, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #8
  store i32 -1, ptr %20, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #8
  store i32 0, ptr %21, align 4, !tbaa !9
  br label %182

182:                                              ; preds = %212, %181
  %183 = load i32, ptr %21, align 4, !tbaa !9
  %184 = icmp slt i32 %183, 3
  br i1 %184, label %186, label %185

185:                                              ; preds = %182
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #8
  br label %215

186:                                              ; preds = %182
  %187 = load i32, ptr %10, align 4, !tbaa !9
  %188 = load i32, ptr %21, align 4, !tbaa !9
  %189 = shl i32 1, %188
  %190 = and i32 %187, %189
  %191 = icmp ne i32 %190, 0
  br i1 %191, label %192, label %211

192:                                              ; preds = %186
  %193 = load i32, ptr %21, align 4, !tbaa !9
  %194 = load i32, ptr %18, align 4, !tbaa !9
  %195 = call noundef zeroext i1 @_ZN5ImGui14IsMouseClickedEiij(i32 noundef %193, i32 noundef 0, i32 noundef %194)
  br i1 %195, label %196, label %201

196:                                              ; preds = %192
  %197 = load i32, ptr %19, align 4, !tbaa !9
  %198 = icmp eq i32 %197, -1
  br i1 %198, label %199, label %201

199:                                              ; preds = %196
  %200 = load i32, ptr %21, align 4, !tbaa !9
  store i32 %200, ptr %19, align 4, !tbaa !9
  br label %201

201:                                              ; preds = %199, %196, %192
  %202 = load i32, ptr %21, align 4, !tbaa !9
  %203 = load i32, ptr %18, align 4, !tbaa !9
  %204 = call noundef zeroext i1 @_ZN5ImGui15IsMouseReleasedEij(i32 noundef %202, i32 noundef %203)
  br i1 %204, label %205, label %210

205:                                              ; preds = %201
  %206 = load i32, ptr %20, align 4, !tbaa !9
  %207 = icmp eq i32 %206, -1
  br i1 %207, label %208, label %210

208:                                              ; preds = %205
  %209 = load i32, ptr %21, align 4, !tbaa !9
  store i32 %209, ptr %20, align 4, !tbaa !9
  br label %210

210:                                              ; preds = %208, %205, %201
  br label %211

211:                                              ; preds = %210, %186
  br label %212

212:                                              ; preds = %211
  %213 = load i32, ptr %21, align 4, !tbaa !9
  %214 = add nsw i32 %213, 1
  store i32 %214, ptr %21, align 4, !tbaa !9
  br label %182, !llvm.loop !113

215:                                              ; preds = %185
  %216 = load i32, ptr %10, align 4, !tbaa !9
  %217 = and i32 %216, 65536
  %218 = icmp ne i32 %217, 0
  br i1 %218, label %219, label %237

219:                                              ; preds = %215
  %220 = load ptr, ptr %11, align 8, !tbaa !5
  %221 = getelementptr inbounds %struct.ImGuiContext, ptr %220, i32 0, i32 3
  %222 = getelementptr inbounds %struct.ImGuiIO, ptr %221, i32 0, i32 65
  %223 = load i8, ptr %222, align 4, !tbaa !115, !range !106, !noundef !107
  %224 = trunc i8 %223 to i1
  br i1 %224, label %384, label %225

225:                                              ; preds = %219
  %226 = load ptr, ptr %11, align 8, !tbaa !5
  %227 = getelementptr inbounds %struct.ImGuiContext, ptr %226, i32 0, i32 3
  %228 = getelementptr inbounds %struct.ImGuiIO, ptr %227, i32 0, i32 66
  %229 = load i8, ptr %228, align 1, !tbaa !116, !range !106, !noundef !107
  %230 = trunc i8 %229 to i1
  br i1 %230, label %384, label %231

231:                                              ; preds = %225
  %232 = load ptr, ptr %11, align 8, !tbaa !5
  %233 = getelementptr inbounds %struct.ImGuiContext, ptr %232, i32 0, i32 3
  %234 = getelementptr inbounds %struct.ImGuiIO, ptr %233, i32 0, i32 67
  %235 = load i8, ptr %234, align 2, !tbaa !117, !range !106, !noundef !107
  %236 = trunc i8 %235 to i1
  br i1 %236, label %384, label %237

237:                                              ; preds = %231, %215
  %238 = load i32, ptr %19, align 4, !tbaa !9
  %239 = icmp ne i32 %238, -1
  br i1 %239, label %240, label %313

240:                                              ; preds = %237
  %241 = load ptr, ptr %11, align 8, !tbaa !5
  %242 = getelementptr inbounds %struct.ImGuiContext, ptr %241, i32 0, i32 53
  %243 = load i32, ptr %242, align 4, !tbaa !118
  %244 = load i32, ptr %7, align 4, !tbaa !9
  %245 = icmp ne i32 %243, %244
  br i1 %245, label %246, label %313

246:                                              ; preds = %240
  %247 = load i32, ptr %10, align 4, !tbaa !9
  %248 = and i32 %247, 1048576
  %249 = icmp ne i32 %248, 0
  br i1 %249, label %254, label %250

250:                                              ; preds = %246
  %251 = load i32, ptr %19, align 4, !tbaa !9
  %252 = call noundef i32 @_ZN5ImGui16MouseButtonToKeyEi(i32 noundef %251)
  %253 = load i32, ptr %7, align 4, !tbaa !9
  call void @_ZN5ImGui11SetKeyOwnerE8ImGuiKeyji(i32 noundef %252, i32 noundef %253, i32 noundef 0)
  br label %254

254:                                              ; preds = %250, %246
  %255 = load i32, ptr %10, align 4, !tbaa !9
  %256 = and i32 %255, 96
  %257 = icmp ne i32 %256, 0
  br i1 %257, label %258, label %273

258:                                              ; preds = %254
  %259 = load i32, ptr %7, align 4, !tbaa !9
  %260 = load ptr, ptr %12, align 8, !tbaa !5
  call void @_ZN5ImGui11SetActiveIDEjP11ImGuiWindow(i32 noundef %259, ptr noundef %260)
  %261 = load i32, ptr %19, align 4, !tbaa !9
  %262 = load ptr, ptr %11, align 8, !tbaa !5
  %263 = getelementptr inbounds %struct.ImGuiContext, ptr %262, i32 0, i32 63
  %264 = trunc i32 %261 to i8
  store i8 %264, ptr %263, align 1
  %265 = load i32, ptr %10, align 4, !tbaa !9
  %266 = and i32 %265, 262144
  %267 = icmp ne i32 %266, 0
  br i1 %267, label %271, label %268

268:                                              ; preds = %258
  %269 = load i32, ptr %7, align 4, !tbaa !9
  %270 = load ptr, ptr %12, align 8, !tbaa !5
  call void @_ZN5ImGui10SetFocusIDEjP11ImGuiWindow(i32 noundef %269, ptr noundef %270)
  br label %271

271:                                              ; preds = %268, %258
  %272 = load ptr, ptr %12, align 8, !tbaa !5
  call void @_ZN5ImGui11FocusWindowEP11ImGuiWindowi(ptr noundef %272, i32 noundef 0)
  br label %273

273:                                              ; preds = %271, %254
  %274 = load i32, ptr %10, align 4, !tbaa !9
  %275 = and i32 %274, 16
  %276 = icmp ne i32 %275, 0
  br i1 %276, label %291, label %277

277:                                              ; preds = %273
  %278 = load i32, ptr %10, align 4, !tbaa !9
  %279 = and i32 %278, 256
  %280 = icmp ne i32 %279, 0
  br i1 %280, label %281, label %312

281:                                              ; preds = %277
  %282 = load ptr, ptr %11, align 8, !tbaa !5
  %283 = getelementptr inbounds %struct.ImGuiContext, ptr %282, i32 0, i32 3
  %284 = getelementptr inbounds %struct.ImGuiIO, ptr %283, i32 0, i32 78
  %285 = load i32, ptr %19, align 4, !tbaa !9
  %286 = sext i32 %285 to i64
  %287 = getelementptr inbounds [5 x i16], ptr %284, i64 0, i64 %286
  %288 = load i16, ptr %287, align 2, !tbaa !119
  %289 = zext i16 %288 to i32
  %290 = icmp eq i32 %289, 2
  br i1 %290, label %291, label %312

291:                                              ; preds = %281, %273
  store i8 1, ptr %16, align 1, !tbaa !105
  %292 = load i32, ptr %10, align 4, !tbaa !9
  %293 = and i32 %292, 131072
  %294 = icmp ne i32 %293, 0
  br i1 %294, label %295, label %296

295:                                              ; preds = %291
  call void @_ZN5ImGui13ClearActiveIDEv()
  br label %299

296:                                              ; preds = %291
  %297 = load i32, ptr %7, align 4, !tbaa !9
  %298 = load ptr, ptr %12, align 8, !tbaa !5
  call void @_ZN5ImGui11SetActiveIDEjP11ImGuiWindow(i32 noundef %297, ptr noundef %298)
  br label %299

299:                                              ; preds = %296, %295
  %300 = load i32, ptr %10, align 4, !tbaa !9
  %301 = and i32 %300, 262144
  %302 = icmp ne i32 %301, 0
  br i1 %302, label %306, label %303

303:                                              ; preds = %299
  %304 = load i32, ptr %7, align 4, !tbaa !9
  %305 = load ptr, ptr %12, align 8, !tbaa !5
  call void @_ZN5ImGui10SetFocusIDEjP11ImGuiWindow(i32 noundef %304, ptr noundef %305)
  br label %306

306:                                              ; preds = %303, %299
  %307 = load i32, ptr %19, align 4, !tbaa !9
  %308 = load ptr, ptr %11, align 8, !tbaa !5
  %309 = getelementptr inbounds %struct.ImGuiContext, ptr %308, i32 0, i32 63
  %310 = trunc i32 %307 to i8
  store i8 %310, ptr %309, align 1
  %311 = load ptr, ptr %12, align 8, !tbaa !5
  call void @_ZN5ImGui11FocusWindowEP11ImGuiWindowi(ptr noundef %311, i32 noundef 0)
  br label %312

312:                                              ; preds = %306, %281, %277
  br label %313

313:                                              ; preds = %312, %240, %237
  %314 = load i32, ptr %10, align 4, !tbaa !9
  %315 = and i32 %314, 128
  %316 = icmp ne i32 %315, 0
  br i1 %316, label %317, label %352

317:                                              ; preds = %313
  %318 = load i32, ptr %20, align 4, !tbaa !9
  %319 = icmp ne i32 %318, -1
  br i1 %319, label %320, label %351

320:                                              ; preds = %317
  call void @llvm.lifetime.start.p0(i64 1, ptr %22) #8
  %321 = load i32, ptr %13, align 4, !tbaa !9
  %322 = and i32 %321, 2
  %323 = icmp ne i32 %322, 0
  br i1 %323, label %324, label %337

324:                                              ; preds = %320
  %325 = load ptr, ptr %11, align 8, !tbaa !5
  %326 = getelementptr inbounds %struct.ImGuiContext, ptr %325, i32 0, i32 3
  %327 = getelementptr inbounds %struct.ImGuiIO, ptr %326, i32 0, i32 87
  %328 = load i32, ptr %20, align 4, !tbaa !9
  %329 = sext i32 %328 to i64
  %330 = getelementptr inbounds [5 x float], ptr %327, i64 0, i64 %329
  %331 = load float, ptr %330, align 4, !tbaa !120
  %332 = load ptr, ptr %11, align 8, !tbaa !5
  %333 = getelementptr inbounds %struct.ImGuiContext, ptr %332, i32 0, i32 3
  %334 = getelementptr inbounds %struct.ImGuiIO, ptr %333, i32 0, i32 26
  %335 = load float, ptr %334, align 8, !tbaa !121
  %336 = fcmp oge float %331, %335
  br label %337

337:                                              ; preds = %324, %320
  %338 = phi i1 [ false, %320 ], [ %336, %324 ]
  %339 = zext i1 %338 to i8
  store i8 %339, ptr %22, align 1, !tbaa !105
  %340 = load i8, ptr %22, align 1, !tbaa !105, !range !106, !noundef !107
  %341 = trunc i8 %340 to i1
  br i1 %341, label %343, label %342

342:                                              ; preds = %337
  store i8 1, ptr %16, align 1, !tbaa !105
  br label %343

343:                                              ; preds = %342, %337
  %344 = load i32, ptr %10, align 4, !tbaa !9
  %345 = and i32 %344, 262144
  %346 = icmp ne i32 %345, 0
  br i1 %346, label %350, label %347

347:                                              ; preds = %343
  %348 = load i32, ptr %7, align 4, !tbaa !9
  %349 = load ptr, ptr %12, align 8, !tbaa !5
  call void @_ZN5ImGui10SetFocusIDEjP11ImGuiWindow(i32 noundef %348, ptr noundef %349)
  br label %350

350:                                              ; preds = %347, %343
  call void @_ZN5ImGui13ClearActiveIDEv()
  call void @llvm.lifetime.end.p0(i64 1, ptr %22) #8
  br label %351

351:                                              ; preds = %350, %317
  br label %352

352:                                              ; preds = %351, %313
  %353 = load ptr, ptr %11, align 8, !tbaa !5
  %354 = getelementptr inbounds %struct.ImGuiContext, ptr %353, i32 0, i32 53
  %355 = load i32, ptr %354, align 4, !tbaa !118
  %356 = load i32, ptr %7, align 4, !tbaa !9
  %357 = icmp eq i32 %355, %356
  br i1 %357, label %358, label %383

358:                                              ; preds = %352
  %359 = load i32, ptr %13, align 4, !tbaa !9
  %360 = and i32 %359, 2
  %361 = icmp ne i32 %360, 0
  br i1 %361, label %362, label %383

362:                                              ; preds = %358
  %363 = load ptr, ptr %11, align 8, !tbaa !5
  %364 = getelementptr inbounds %struct.ImGuiContext, ptr %363, i32 0, i32 3
  %365 = getelementptr inbounds %struct.ImGuiIO, ptr %364, i32 0, i32 86
  %366 = load ptr, ptr %11, align 8, !tbaa !5
  %367 = getelementptr inbounds %struct.ImGuiContext, ptr %366, i32 0, i32 63
  %368 = load i8, ptr %367, align 1
  %369 = sext i8 %368 to i32
  %370 = sext i32 %369 to i64
  %371 = getelementptr inbounds [5 x float], ptr %365, i64 0, i64 %370
  %372 = load float, ptr %371, align 4, !tbaa !120
  %373 = fcmp ogt float %372, 0.000000e+00
  br i1 %373, label %374, label %382

374:                                              ; preds = %362
  %375 = load ptr, ptr %11, align 8, !tbaa !5
  %376 = getelementptr inbounds %struct.ImGuiContext, ptr %375, i32 0, i32 63
  %377 = load i8, ptr %376, align 1
  %378 = sext i8 %377 to i32
  %379 = load i32, ptr %18, align 4, !tbaa !9
  %380 = call noundef zeroext i1 @_ZN5ImGui14IsMouseClickedEiij(i32 noundef %378, i32 noundef 1, i32 noundef %379)
  br i1 %380, label %381, label %382

381:                                              ; preds = %374
  store i8 1, ptr %16, align 1, !tbaa !105
  br label %382

382:                                              ; preds = %381, %374, %362
  br label %383

383:                                              ; preds = %382, %358, %352
  br label %384

384:                                              ; preds = %383, %231, %225, %219
  %385 = load i8, ptr %16, align 1, !tbaa !105, !range !106, !noundef !107
  %386 = trunc i8 %385 to i1
  br i1 %386, label %387, label %390

387:                                              ; preds = %384
  %388 = load ptr, ptr %11, align 8, !tbaa !5
  %389 = getelementptr inbounds %struct.ImGuiContext, ptr %388, i32 0, i32 119
  store i8 1, ptr %389, align 2, !tbaa !122
  br label %390

390:                                              ; preds = %387, %384
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #8
  br label %391

391:                                              ; preds = %390, %171
  %392 = load ptr, ptr %11, align 8, !tbaa !5
  %393 = getelementptr inbounds %struct.ImGuiContext, ptr %392, i32 0, i32 103
  %394 = load i32, ptr %393, align 8, !tbaa !123
  %395 = load i32, ptr %7, align 4, !tbaa !9
  %396 = icmp eq i32 %394, %395
  br i1 %396, label %397, label %413

397:                                              ; preds = %391
  %398 = load ptr, ptr %11, align 8, !tbaa !5
  %399 = getelementptr inbounds %struct.ImGuiContext, ptr %398, i32 0, i32 119
  %400 = load i8, ptr %399, align 2, !tbaa !122, !range !106, !noundef !107
  %401 = trunc i8 %400 to i1
  br i1 %401, label %413, label %402

402:                                              ; preds = %397
  %403 = load ptr, ptr %11, align 8, !tbaa !5
  %404 = getelementptr inbounds %struct.ImGuiContext, ptr %403, i32 0, i32 120
  %405 = load i8, ptr %404, align 1, !tbaa !124, !range !106, !noundef !107
  %406 = trunc i8 %405 to i1
  br i1 %406, label %407, label %413

407:                                              ; preds = %402
  %408 = load i32, ptr %10, align 4, !tbaa !9
  %409 = and i32 %408, 524288
  %410 = icmp ne i32 %409, 0
  br i1 %410, label %412, label %411

411:                                              ; preds = %407
  store i8 1, ptr %17, align 1, !tbaa !105
  br label %412

412:                                              ; preds = %411, %407
  br label %413

413:                                              ; preds = %412, %402, %397, %391
  %414 = load ptr, ptr %11, align 8, !tbaa !5
  %415 = getelementptr inbounds %struct.ImGuiContext, ptr %414, i32 0, i32 107
  %416 = load i32, ptr %415, align 8, !tbaa !125
  %417 = load i32, ptr %7, align 4, !tbaa !9
  %418 = icmp eq i32 %416, %417
  br i1 %418, label %419, label %508

419:                                              ; preds = %413
  call void @llvm.lifetime.start.p0(i64 1, ptr %23) #8
  %420 = load ptr, ptr %11, align 8, !tbaa !5
  %421 = getelementptr inbounds %struct.ImGuiContext, ptr %420, i32 0, i32 106
  %422 = load i32, ptr %421, align 4, !tbaa !126
  %423 = load i32, ptr %7, align 4, !tbaa !9
  %424 = icmp eq i32 %422, %423
  %425 = zext i1 %424 to i8
  store i8 %425, ptr %23, align 1, !tbaa !105
  call void @llvm.lifetime.start.p0(i64 1, ptr %24) #8
  %426 = load ptr, ptr %11, align 8, !tbaa !5
  %427 = getelementptr inbounds %struct.ImGuiContext, ptr %426, i32 0, i32 108
  %428 = load i32, ptr %427, align 4, !tbaa !127
  %429 = load i32, ptr %7, align 4, !tbaa !9
  %430 = icmp eq i32 %428, %429
  %431 = zext i1 %430 to i8
  store i8 %431, ptr %24, align 1, !tbaa !105
  %432 = load i8, ptr %24, align 1, !tbaa !105, !range !106, !noundef !107
  %433 = trunc i8 %432 to i1
  br i1 %433, label %471, label %434

434:                                              ; preds = %419
  %435 = load i32, ptr %13, align 4, !tbaa !9
  %436 = and i32 %435, 2
  %437 = icmp ne i32 %436, 0
  br i1 %437, label %438, label %471

438:                                              ; preds = %434
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #8
  %439 = call noundef ptr @_ZN5ImGui10GetKeyDataE8ImGuiKey(i32 noundef 524)
  store ptr %439, ptr %25, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #8
  %440 = call noundef ptr @_ZN5ImGui10GetKeyDataE8ImGuiKey(i32 noundef 525)
  store ptr %440, ptr %26, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #8
  %441 = call noundef ptr @_ZN5ImGui10GetKeyDataE8ImGuiKey(i32 noundef 636)
  store ptr %441, ptr %27, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #8
  %442 = load ptr, ptr %25, align 8, !tbaa !5
  %443 = getelementptr inbounds %struct.ImGuiKeyData, ptr %442, i32 0, i32 1
  %444 = load float, ptr %443, align 4, !tbaa !128
  %445 = load ptr, ptr %26, align 8, !tbaa !5
  %446 = getelementptr inbounds %struct.ImGuiKeyData, ptr %445, i32 0, i32 1
  %447 = load float, ptr %446, align 4, !tbaa !128
  %448 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %444, float noundef %447)
  %449 = load ptr, ptr %27, align 8, !tbaa !5
  %450 = getelementptr inbounds %struct.ImGuiKeyData, ptr %449, i32 0, i32 1
  %451 = load float, ptr %450, align 4, !tbaa !128
  %452 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %448, float noundef %451)
  store float %452, ptr %28, align 4, !tbaa !120
  %453 = load float, ptr %28, align 4, !tbaa !120
  %454 = load ptr, ptr %11, align 8, !tbaa !5
  %455 = getelementptr inbounds %struct.ImGuiContext, ptr %454, i32 0, i32 3
  %456 = getelementptr inbounds %struct.ImGuiIO, ptr %455, i32 0, i32 3
  %457 = load float, ptr %456, align 8, !tbaa !111
  %458 = fsub float %453, %457
  %459 = load float, ptr %28, align 4, !tbaa !120
  %460 = load ptr, ptr %11, align 8, !tbaa !5
  %461 = getelementptr inbounds %struct.ImGuiContext, ptr %460, i32 0, i32 3
  %462 = getelementptr inbounds %struct.ImGuiIO, ptr %461, i32 0, i32 26
  %463 = load float, ptr %462, align 8, !tbaa !121
  %464 = load ptr, ptr %11, align 8, !tbaa !5
  %465 = getelementptr inbounds %struct.ImGuiContext, ptr %464, i32 0, i32 3
  %466 = getelementptr inbounds %struct.ImGuiIO, ptr %465, i32 0, i32 27
  %467 = load float, ptr %466, align 4, !tbaa !130
  %468 = call noundef i32 @_ZN5ImGui25CalcTypematicRepeatAmountEffff(float noundef %458, float noundef %459, float noundef %463, float noundef %467)
  %469 = icmp sgt i32 %468, 0
  %470 = zext i1 %469 to i8
  store i8 %470, ptr %24, align 1, !tbaa !105
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #8
  br label %471

471:                                              ; preds = %438, %434, %419
  %472 = load i8, ptr %23, align 1, !tbaa !105, !range !106, !noundef !107
  %473 = trunc i8 %472 to i1
  br i1 %473, label %477, label %474

474:                                              ; preds = %471
  %475 = load i8, ptr %24, align 1, !tbaa !105, !range !106, !noundef !107
  %476 = trunc i8 %475 to i1
  br i1 %476, label %477, label %507

477:                                              ; preds = %474, %471
  store i8 1, ptr %16, align 1, !tbaa !105
  %478 = load i32, ptr %7, align 4, !tbaa !9
  %479 = load ptr, ptr %12, align 8, !tbaa !5
  call void @_ZN5ImGui11SetActiveIDEjP11ImGuiWindow(i32 noundef %478, ptr noundef %479)
  %480 = load ptr, ptr %11, align 8, !tbaa !5
  %481 = getelementptr inbounds %struct.ImGuiContext, ptr %480, i32 0, i32 115
  %482 = load i32, ptr %481, align 8, !tbaa !131
  %483 = load ptr, ptr %11, align 8, !tbaa !5
  %484 = getelementptr inbounds %struct.ImGuiContext, ptr %483, i32 0, i32 66
  store i32 %482, ptr %484, align 8, !tbaa !132
  %485 = load i32, ptr %10, align 4, !tbaa !9
  %486 = and i32 %485, 262144
  %487 = icmp ne i32 %486, 0
  br i1 %487, label %497, label %488

488:                                              ; preds = %477
  %489 = load ptr, ptr %11, align 8, !tbaa !5
  %490 = getelementptr inbounds %struct.ImGuiContext, ptr %489, i32 0, i32 109
  %491 = load i32, ptr %490, align 8, !tbaa !133
  %492 = and i32 %491, 16
  %493 = icmp ne i32 %492, 0
  br i1 %493, label %497, label %494

494:                                              ; preds = %488
  %495 = load i32, ptr %7, align 4, !tbaa !9
  %496 = load ptr, ptr %12, align 8, !tbaa !5
  call void @_ZN5ImGui10SetFocusIDEjP11ImGuiWindow(i32 noundef %495, ptr noundef %496)
  br label %497

497:                                              ; preds = %494, %488, %477
  %498 = load ptr, ptr %11, align 8, !tbaa !5
  %499 = getelementptr inbounds %struct.ImGuiContext, ptr %498, i32 0, i32 109
  %500 = load i32, ptr %499, align 8, !tbaa !133
  %501 = and i32 %500, 16
  %502 = icmp ne i32 %501, 0
  br i1 %502, label %503, label %506

503:                                              ; preds = %497
  %504 = load ptr, ptr %11, align 8, !tbaa !5
  %505 = getelementptr inbounds %struct.ImGuiContext, ptr %504, i32 0, i32 62
  store i8 1, ptr %505, align 2, !tbaa !134
  br label %506

506:                                              ; preds = %503, %497
  br label %507

507:                                              ; preds = %506, %474
  call void @llvm.lifetime.end.p0(i64 1, ptr %24) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %23) #8
  br label %508

508:                                              ; preds = %507, %413
  call void @llvm.lifetime.start.p0(i64 1, ptr %29) #8
  store i8 0, ptr %29, align 1, !tbaa !105
  %509 = load ptr, ptr %11, align 8, !tbaa !5
  %510 = getelementptr inbounds %struct.ImGuiContext, ptr %509, i32 0, i32 53
  %511 = load i32, ptr %510, align 4, !tbaa !118
  %512 = load i32, ptr %7, align 4, !tbaa !9
  %513 = icmp eq i32 %511, %512
  br i1 %513, label %514, label %667

514:                                              ; preds = %508
  %515 = load ptr, ptr %11, align 8, !tbaa !5
  %516 = getelementptr inbounds %struct.ImGuiContext, ptr %515, i32 0, i32 66
  %517 = load i32, ptr %516, align 8, !tbaa !132
  %518 = icmp eq i32 %517, 1
  br i1 %518, label %519, label %640

519:                                              ; preds = %514
  %520 = load ptr, ptr %11, align 8, !tbaa !5
  %521 = getelementptr inbounds %struct.ImGuiContext, ptr %520, i32 0, i32 56
  %522 = load i8, ptr %521, align 8, !tbaa !135, !range !106, !noundef !107
  %523 = trunc i8 %522 to i1
  br i1 %523, label %524, label %533

524:                                              ; preds = %519
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #8
  %525 = load ptr, ptr %11, align 8, !tbaa !5
  %526 = getelementptr inbounds %struct.ImGuiContext, ptr %525, i32 0, i32 3
  %527 = getelementptr inbounds %struct.ImGuiIO, ptr %526, i32 0, i32 59
  %528 = load ptr, ptr %6, align 8, !tbaa !5
  %529 = getelementptr inbounds %struct.ImRect, ptr %528, i32 0, i32 0
  %530 = call <2 x float> @_ZmiRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %527, ptr noundef nonnull align 4 dereferenceable(8) %529)
  store <2 x float> %530, ptr %30, align 4
  %531 = load ptr, ptr %11, align 8, !tbaa !5
  %532 = getelementptr inbounds %struct.ImGuiContext, ptr %531, i32 0, i32 64
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %532, ptr align 4 %30, i64 8, i1 false), !tbaa.struct !136
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #8
  br label %533

533:                                              ; preds = %524, %519
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #8
  %534 = load ptr, ptr %11, align 8, !tbaa !5
  %535 = getelementptr inbounds %struct.ImGuiContext, ptr %534, i32 0, i32 63
  %536 = load i8, ptr %535, align 1
  %537 = sext i8 %536 to i32
  store i32 %537, ptr %31, align 4, !tbaa !9
  %538 = load i32, ptr %31, align 4, !tbaa !9
  %539 = icmp eq i32 %538, -1
  br i1 %539, label %540, label %541

540:                                              ; preds = %533
  call void @_ZN5ImGui13ClearActiveIDEv()
  br label %632

541:                                              ; preds = %533
  %542 = load i32, ptr %31, align 4, !tbaa !9
  %543 = load i32, ptr %18, align 4, !tbaa !9
  %544 = call noundef zeroext i1 @_ZN5ImGui11IsMouseDownEij(i32 noundef %542, i32 noundef %543)
  br i1 %544, label %545, label %546

545:                                              ; preds = %541
  store i8 1, ptr %29, align 1, !tbaa !105
  br label %631

546:                                              ; preds = %541
  call void @llvm.lifetime.start.p0(i64 1, ptr %32) #8
  %547 = load i8, ptr %17, align 1, !tbaa !105, !range !106, !noundef !107
  %548 = trunc i8 %547 to i1
  br i1 %548, label %549, label %553

549:                                              ; preds = %546
  %550 = load i32, ptr %10, align 4, !tbaa !9
  %551 = and i32 %550, 32
  %552 = icmp ne i32 %551, 0
  br label %553

553:                                              ; preds = %549, %546
  %554 = phi i1 [ false, %546 ], [ %552, %549 ]
  %555 = zext i1 %554 to i8
  store i8 %555, ptr %32, align 1, !tbaa !105
  call void @llvm.lifetime.start.p0(i64 1, ptr %33) #8
  %556 = load i32, ptr %10, align 4, !tbaa !9
  %557 = and i32 %556, 64
  %558 = icmp ne i32 %557, 0
  %559 = zext i1 %558 to i8
  store i8 %559, ptr %33, align 1, !tbaa !105
  %560 = load i8, ptr %32, align 1, !tbaa !105, !range !106, !noundef !107
  %561 = trunc i8 %560 to i1
  br i1 %561, label %565, label %562

562:                                              ; preds = %553
  %563 = load i8, ptr %33, align 1, !tbaa !105, !range !106, !noundef !107
  %564 = trunc i8 %563 to i1
  br i1 %564, label %565, label %630

565:                                              ; preds = %562, %553
  %566 = load ptr, ptr %11, align 8, !tbaa !5
  %567 = getelementptr inbounds %struct.ImGuiContext, ptr %566, i32 0, i32 161
  %568 = load i8, ptr %567, align 4, !tbaa !108, !range !106, !noundef !107
  %569 = trunc i8 %568 to i1
  br i1 %569, label %630, label %570

570:                                              ; preds = %565
  call void @llvm.lifetime.start.p0(i64 1, ptr %34) #8
  %571 = load i32, ptr %10, align 4, !tbaa !9
  %572 = and i32 %571, 256
  %573 = icmp ne i32 %572, 0
  br i1 %573, label %574, label %593

574:                                              ; preds = %570
  %575 = load ptr, ptr %11, align 8, !tbaa !5
  %576 = getelementptr inbounds %struct.ImGuiContext, ptr %575, i32 0, i32 3
  %577 = getelementptr inbounds %struct.ImGuiIO, ptr %576, i32 0, i32 80
  %578 = load i32, ptr %31, align 4, !tbaa !9
  %579 = sext i32 %578 to i64
  %580 = getelementptr inbounds [5 x i8], ptr %577, i64 0, i64 %579
  %581 = load i8, ptr %580, align 1, !tbaa !105, !range !106, !noundef !107
  %582 = trunc i8 %581 to i1
  br i1 %582, label %583, label %593

583:                                              ; preds = %574
  %584 = load ptr, ptr %11, align 8, !tbaa !5
  %585 = getelementptr inbounds %struct.ImGuiContext, ptr %584, i32 0, i32 3
  %586 = getelementptr inbounds %struct.ImGuiIO, ptr %585, i32 0, i32 79
  %587 = load i32, ptr %31, align 4, !tbaa !9
  %588 = sext i32 %587 to i64
  %589 = getelementptr inbounds [5 x i16], ptr %586, i64 0, i64 %588
  %590 = load i16, ptr %589, align 2, !tbaa !119
  %591 = zext i16 %590 to i32
  %592 = icmp eq i32 %591, 2
  br label %593

593:                                              ; preds = %583, %574, %570
  %594 = phi i1 [ false, %574 ], [ false, %570 ], [ %592, %583 ]
  %595 = zext i1 %594 to i8
  store i8 %595, ptr %34, align 1, !tbaa !105
  call void @llvm.lifetime.start.p0(i64 1, ptr %35) #8
  %596 = load i32, ptr %13, align 4, !tbaa !9
  %597 = and i32 %596, 2
  %598 = icmp ne i32 %597, 0
  br i1 %598, label %599, label %612

599:                                              ; preds = %593
  %600 = load ptr, ptr %11, align 8, !tbaa !5
  %601 = getelementptr inbounds %struct.ImGuiContext, ptr %600, i32 0, i32 3
  %602 = getelementptr inbounds %struct.ImGuiIO, ptr %601, i32 0, i32 87
  %603 = load i32, ptr %31, align 4, !tbaa !9
  %604 = sext i32 %603 to i64
  %605 = getelementptr inbounds [5 x float], ptr %602, i64 0, i64 %604
  %606 = load float, ptr %605, align 4, !tbaa !120
  %607 = load ptr, ptr %11, align 8, !tbaa !5
  %608 = getelementptr inbounds %struct.ImGuiContext, ptr %607, i32 0, i32 3
  %609 = getelementptr inbounds %struct.ImGuiIO, ptr %608, i32 0, i32 26
  %610 = load float, ptr %609, align 8, !tbaa !121
  %611 = fcmp oge float %606, %610
  br label %612

612:                                              ; preds = %599, %593
  %613 = phi i1 [ false, %593 ], [ %611, %599 ]
  %614 = zext i1 %613 to i8
  store i8 %614, ptr %35, align 1, !tbaa !105
  call void @llvm.lifetime.start.p0(i64 1, ptr %36) #8
  %615 = load i32, ptr %31, align 4, !tbaa !9
  %616 = call noundef i32 @_ZN5ImGui16MouseButtonToKeyEi(i32 noundef %615)
  %617 = load i32, ptr %18, align 4, !tbaa !9
  %618 = call noundef zeroext i1 @_ZN5ImGui12TestKeyOwnerE8ImGuiKeyj(i32 noundef %616, i32 noundef %617)
  %619 = zext i1 %618 to i8
  store i8 %619, ptr %36, align 1, !tbaa !105
  %620 = load i8, ptr %34, align 1, !tbaa !105, !range !106, !noundef !107
  %621 = trunc i8 %620 to i1
  br i1 %621, label %629, label %622

622:                                              ; preds = %612
  %623 = load i8, ptr %35, align 1, !tbaa !105, !range !106, !noundef !107
  %624 = trunc i8 %623 to i1
  br i1 %624, label %629, label %625

625:                                              ; preds = %622
  %626 = load i8, ptr %36, align 1, !tbaa !105, !range !106, !noundef !107
  %627 = trunc i8 %626 to i1
  br i1 %627, label %628, label %629

628:                                              ; preds = %625
  store i8 1, ptr %16, align 1, !tbaa !105
  br label %629

629:                                              ; preds = %628, %625, %622, %612
  call void @llvm.lifetime.end.p0(i64 1, ptr %36) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %35) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %34) #8
  br label %630

630:                                              ; preds = %629, %565, %562
  call void @_ZN5ImGui13ClearActiveIDEv()
  call void @llvm.lifetime.end.p0(i64 1, ptr %33) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %32) #8
  br label %631

631:                                              ; preds = %630, %545
  br label %632

632:                                              ; preds = %631, %540
  %633 = load i32, ptr %10, align 4, !tbaa !9
  %634 = and i32 %633, 262144
  %635 = icmp ne i32 %634, 0
  br i1 %635, label %639, label %636

636:                                              ; preds = %632
  %637 = load ptr, ptr %11, align 8, !tbaa !5
  %638 = getelementptr inbounds %struct.ImGuiContext, ptr %637, i32 0, i32 119
  store i8 1, ptr %638, align 2, !tbaa !122
  br label %639

639:                                              ; preds = %636, %632
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #8
  br label %660

640:                                              ; preds = %514
  %641 = load ptr, ptr %11, align 8, !tbaa !5
  %642 = getelementptr inbounds %struct.ImGuiContext, ptr %641, i32 0, i32 66
  %643 = load i32, ptr %642, align 8, !tbaa !132
  %644 = icmp eq i32 %643, 2
  br i1 %644, label %650, label %645

645:                                              ; preds = %640
  %646 = load ptr, ptr %11, align 8, !tbaa !5
  %647 = getelementptr inbounds %struct.ImGuiContext, ptr %646, i32 0, i32 66
  %648 = load i32, ptr %647, align 8, !tbaa !132
  %649 = icmp eq i32 %648, 3
  br i1 %649, label %650, label %659

650:                                              ; preds = %645, %640
  %651 = load ptr, ptr %11, align 8, !tbaa !5
  %652 = getelementptr inbounds %struct.ImGuiContext, ptr %651, i32 0, i32 107
  %653 = load i32, ptr %652, align 8, !tbaa !125
  %654 = load i32, ptr %7, align 4, !tbaa !9
  %655 = icmp eq i32 %653, %654
  br i1 %655, label %656, label %657

656:                                              ; preds = %650
  store i8 1, ptr %29, align 1, !tbaa !105
  br label %658

657:                                              ; preds = %650
  call void @_ZN5ImGui13ClearActiveIDEv()
  br label %658

658:                                              ; preds = %657, %656
  br label %659

659:                                              ; preds = %658, %645
  br label %660

660:                                              ; preds = %659, %639
  %661 = load i8, ptr %16, align 1, !tbaa !105, !range !106, !noundef !107
  %662 = trunc i8 %661 to i1
  br i1 %662, label %663, label %666

663:                                              ; preds = %660
  %664 = load ptr, ptr %11, align 8, !tbaa !5
  %665 = getelementptr inbounds %struct.ImGuiContext, ptr %664, i32 0, i32 59
  store i8 1, ptr %665, align 1, !tbaa !137
  br label %666

666:                                              ; preds = %663, %660
  br label %667

667:                                              ; preds = %666, %508
  %668 = load ptr, ptr %11, align 8, !tbaa !5
  %669 = getelementptr inbounds %struct.ImGuiContext, ptr %668, i32 0, i32 111
  %670 = load i32, ptr %669, align 8, !tbaa !138
  %671 = load i32, ptr %7, align 4, !tbaa !9
  %672 = icmp eq i32 %670, %671
  br i1 %672, label %673, label %674

673:                                              ; preds = %667
  store i8 1, ptr %17, align 1, !tbaa !105
  br label %674

674:                                              ; preds = %673, %667
  %675 = load ptr, ptr %8, align 8, !tbaa !5
  %676 = icmp ne ptr %675, null
  br i1 %676, label %677, label %682

677:                                              ; preds = %674
  %678 = load i8, ptr %17, align 1, !tbaa !105, !range !106, !noundef !107
  %679 = trunc i8 %678 to i1
  %680 = load ptr, ptr %8, align 8, !tbaa !5
  %681 = zext i1 %679 to i8
  store i8 %681, ptr %680, align 1, !tbaa !105
  br label %682

682:                                              ; preds = %677, %674
  %683 = load ptr, ptr %9, align 8, !tbaa !5
  %684 = icmp ne ptr %683, null
  br i1 %684, label %685, label %690

685:                                              ; preds = %682
  %686 = load i8, ptr %29, align 1, !tbaa !105, !range !106, !noundef !107
  %687 = trunc i8 %686 to i1
  %688 = load ptr, ptr %9, align 8, !tbaa !5
  %689 = zext i1 %687 to i8
  store i8 %689, ptr %688, align 1, !tbaa !105
  br label %690

690:                                              ; preds = %685, %682
  %691 = load i8, ptr %16, align 1, !tbaa !105, !range !106, !noundef !107
  %692 = trunc i8 %691 to i1
  call void @llvm.lifetime.end.p0(i64 1, ptr %29) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %17) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %16) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #8
  ret i1 %692
}

declare noundef zeroext i1 @_ZN5ImGui13ItemHoverableERK6ImRectji(ptr noundef nonnull align 4 dereferenceable(16), i32 noundef, i32 noundef) #5

declare noundef zeroext i1 @_ZN5ImGui13IsItemHoveredEi(i32 noundef) #5

declare void @_ZN5ImGui12SetHoveredIDEj(i32 noundef) #5

declare void @_ZN5ImGui11FocusWindowEP11ImGuiWindowi(ptr noundef, i32 noundef) #5

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

declare noundef zeroext i1 @_ZN5ImGui14IsMouseClickedEiij(i32 noundef, i32 noundef, i32 noundef) #5

declare noundef zeroext i1 @_ZN5ImGui15IsMouseReleasedEij(i32 noundef, i32 noundef) #5

declare void @_ZN5ImGui11SetKeyOwnerE8ImGuiKeyji(i32 noundef, i32 noundef, i32 noundef) #5

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN5ImGui16MouseButtonToKeyEi(i32 noundef) #1

declare void @_ZN5ImGui11SetActiveIDEjP11ImGuiWindow(i32 noundef, ptr noundef) #5

declare void @_ZN5ImGui10SetFocusIDEjP11ImGuiWindow(i32 noundef, ptr noundef) #5

declare void @_ZN5ImGui13ClearActiveIDEv() #5

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef ptr @_ZN5ImGui10GetKeyDataE8ImGuiKey(i32 noundef) #7

declare noundef i32 @_ZN5ImGui25CalcTypematicRepeatAmountEffff(float noundef, float noundef, float noundef, float noundef) #5

declare noundef zeroext i1 @_ZN5ImGui11IsMouseDownEij(i32 noundef, i32 noundef) #5

declare noundef zeroext i1 @_ZN5ImGui12TestKeyOwnerE8ImGuiKeyj(i32 noundef, i32 noundef) #5

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { inlinehint mustprogress uwtable "min-legal-vector-width"="64" "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"="64" "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 = { "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 "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 #7 = { 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 #8 = { nounwind }
attributes #9 = { 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 = !{!"int", !7, i64 0}
!11 = !{!12, !10, i64 18936}
!12 = !{!"_ZTS12ImGuiContext", !13, i64 0, !13, i64 1, !14, i64 8, !20, i64 14568, !6, i64 15704, !16, i64 15712, !16, i64 15716, !16, i64 15720, !22, i64 15728, !25, i64 16256, !10, i64 16264, !10, i64 16268, !10, i64 16272, !13, i64 16276, !13, i64 16277, !13, i64 16278, !13, i64 16279, !13, i64 16280, !6, i64 16288, !7, i64 16296, !26, i64 16312, !26, i64 16328, !18, i64 16344, !10, i64 16348, !27, i64 16352, !27, i64 16368, !27, i64 16384, !28, i64 16400, !29, i64 16416, !10, i64 16432, !15, i64 16436, !10, i64 16444, !6, i64 16448, !6, i64 16456, !6, i64 16464, !6, i64 16472, !6, i64 16480, !6, i64 16488, !15, i64 16496, !10, i64 16504, !10, i64 16508, !16, i64 16512, !15, i64 16516, !15, i64 16524, !10, i64 16532, !10, i64 16536, !10, i64 16540, !16, i64 16544, !16, i64 16548, !13, i64 16552, !13, i64 16553, !13, i64 16554, !10, i64 16556, !10, i64 16560, !16, i64 16564, !13, i64 16568, !13, i64 16569, !13, i64 16570, !13, i64 16571, !13, i64 16572, !13, i64 16573, !13, i64 16574, !10, i64 16575, !15, i64 16576, !6, i64 16584, !31, i64 16592, !10, i64 16596, !13, i64 16600, !13, i64 16601, !6, i64 16608, !10, i64 16616, !16, i64 16620, !25, i64 16624, !25, i64 16632, !25, i64 16640, !32, i64 16648, !7, i64 16668, !33, i64 18520, !10, i64 18864, !13, i64 18868, !10, i64 18872, !10, i64 18876, !10, i64 18880, !10, i64 18884, !10, i64 18888, !35, i64 18896, !38, i64 18936, !40, i64 19016, !13, i64 19128, !10, i64 19132, !41, i64 19136, !42, i64 19152, !43, i64 19168, !44, i64 19184, !45, i64 19200, !46, i64 19216, !47, i64 19232, !47, i64 19248, !48, i64 19264, !49, i64 19280, !6, i64 19296, !10, i64 19304, !10, i64 19308, !50, i64 19312, !10, i64 19316, !10, i64 19320, !10, i64 19324, !10, i64 19328, !44, i64 19336, !10, i64 19352, !16, i64 19356, !10, i64 19360, !10, i64 19364, !31, i64 19368, !36, i64 19376, !13, i64 19384, !13, i64 19385, !13, i64 19386, !13, i64 19387, !13, i64 19388, !13, i64 19389, !13, i64 19390, !51, i64 19392, !13, i64 19448, !13, i64 19449, !13, i64 19450, !10, i64 19452, !10, i64 19456, !10, i64 19460, !21, i64 19464, !21, i64 19468, !21, i64 19472, !39, i64 19476, !39, i64 19492, !10, i64 19508, !10, i64 19512, !10, i64 19516, !51, i64 19520, !51, i64 19576, !51, i64 19632, !51, i64 19688, !10, i64 19744, !10, i64 19748, !10, i64 19752, !10, i64 19756, !13, i64 19760, !13, i64 19761, !10, i64 19764, !10, i64 19768, !6, i64 19776, !6, i64 19784, !6, i64 19792, !16, i64 19800, !16, i64 19804, !13, i64 19808, !52, i64 19812, !15, i64 19816, !15, i64 19824, !16, i64 19832, !13, i64 19836, !13, i64 19837, !13, i64 19838, !10, i64 19840, !10, i64 19844, !10, i64 19848, !53, i64 19856, !39, i64 19920, !39, i64 19936, !10, i64 19952, !10, i64 19956, !16, i64 19960, !10, i64 19964, !10, i64 19968, !10, i64 19972, !10, i64 19976, !54, i64 19984, !7, i64 20000, !10, i64 20016, !55, i64 20024, !6, i64 20040, !10, i64 20048, !10, i64 20052, !56, i64 20056, !57, i64 20072, !59, i64 20112, !60, i64 20128, !6, i64 20144, !61, i64 20152, !63, i64 20192, !64, i64 20208, !10, i64 20224, !10, i64 20228, !16, i64 20232, !16, i64 20236, !10, i64 20240, !10, i64 20244, !10, i64 20248, !16, i64 20252, !15, i64 20256, !65, i64 20264, !69, i64 24000, !70, i64 24024, !10, i64 24144, !37, i64 24148, !10, i64 24156, !10, i64 24160, !10, i64 24164, !10, i64 24168, !10, i64 24172, !16, i64 24176, !16, i64 24180, !10, i64 24184, !23, i64 24188, !72, i64 24204, !39, i64 24252, !13, i64 24268, !17, i64 24270, !16, i64 24272, !16, i64 24276, !16, i64 24280, !13, i64 24284, !13, i64 24285, !16, i64 24288, !16, i64 24292, !16, i64 24296, !17, i64 24300, !17, i64 24302, !17, i64 24304, !66, i64 24312, !73, i64 24328, !74, i64 24344, !76, i64 24448, !76, i64 24464, !13, i64 24480, !16, i64 24484, !77, i64 24488, !78, i64 24504, !79, i64 24520, !80, i64 24536, !81, i64 24552, !10, i64 24568, !7, i64 24576, !13, i64 24640, !82, i64 24644, !6, i64 24648, !77, i64 24656, !6, i64 24672, !6, i64 24680, !16, i64 24688, !13, i64 24692, !10, i64 24696, !10, i64 24700, !10, i64 24704, !10, i64 24708, !77, i64 24712, !83, i64 24728, !10, i64 24752, !7, i64 24756, !7, i64 24757, !13, i64 24758, !10, i64 24760, !7, i64 24764, !13, i64 24765, !7, i64 24766, !10, i64 24768, !16, i64 24772, !23, i64 24776, !84, i64 24792, !85, i64 24824, !87, i64 24864, !7, i64 24924, !10, i64 25164, !10, i64 25168, !16, i64 25172, !10, i64 25176, !10, i64 25180, !10, i64 25184, !66, i64 25192, !7, i64 25208}
!13 = !{!"bool", !7, i64 0}
!14 = !{!"_ZTS7ImGuiIO", !10, i64 0, !10, i64 4, !15, i64 8, !16, i64 16, !16, i64 20, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !16, i64 56, !13, i64 60, !6, i64 64, !15, i64 72, !13, i64 80, !13, i64 81, !13, i64 82, !13, i64 83, !13, i64 84, !13, i64 85, !13, i64 86, !13, i64 87, !16, i64 88, !16, i64 92, !16, i64 96, !16, i64 100, !16, i64 104, !16, i64 108, !13, i64 112, !13, i64 113, !13, i64 114, !13, i64 115, !13, i64 116, !6, 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, !17, i64 192, !13, i64 194, !13, i64 195, !13, i64 196, !13, i64 197, !13, i64 198, !13, i64 199, !13, i64 200, !16, i64 204, !10, i64 208, !10, i64 212, !10, i64 216, !10, i64 220, !15, i64 224, !6, i64 232, !15, i64 240, !7, i64 248, !16, i64 256, !16, i64 260, !18, i64 264, !13, i64 268, !13, i64 269, !13, i64 270, !13, i64 271, !10, i64 272, !7, i64 276, !13, i64 10932, !15, i64 10936, !7, i64 10944, !7, i64 10984, !7, i64 11024, !7, i64 11029, !7, i64 11034, !7, i64 11044, !7, i64 11054, !7, i64 11059, !7, i64 11064, !13, i64 11069, !13, i64 11070, !7, i64 11072, !7, i64 11092, !7, i64 11112, !16, i64 11132, !13, i64 11136, !13, i64 11137, !7, i64 11138, !13, i64 11139, !17, i64 11140, !19, i64 11144, !7, i64 11160, !7, i64 13824, !7, i64 14492}
!15 = !{!"_ZTS6ImVec2", !16, i64 0, !16, i64 4}
!16 = !{!"float", !7, i64 0}
!17 = !{!"short", !7, i64 0}
!18 = !{!"_ZTS16ImGuiMouseSource", !7, i64 0}
!19 = !{!"_ZTS8ImVectorItE", !10, i64 0, !10, i64 4, !6, i64 8}
!20 = !{!"_ZTS10ImGuiStyle", !16, i64 0, !16, i64 4, !15, i64 8, !16, i64 16, !16, i64 20, !15, i64 24, !15, i64 32, !21, i64 40, !16, i64 44, !16, i64 48, !16, i64 52, !16, i64 56, !15, i64 60, !16, i64 68, !16, i64 72, !15, i64 76, !15, i64 84, !15, i64 92, !15, i64 100, !16, i64 108, !16, i64 112, !16, i64 116, !16, i64 120, !16, i64 124, !16, i64 128, !16, i64 132, !16, i64 136, !16, i64 140, !16, i64 144, !16, i64 148, !16, i64 152, !15, i64 156, !21, i64 164, !15, i64 168, !15, i64 176, !16, i64 184, !15, i64 188, !15, i64 196, !15, i64 204, !15, i64 212, !16, i64 220, !13, i64 224, !13, i64 225, !13, i64 226, !16, i64 228, !16, i64 232, !7, i64 236, !16, i64 1116, !16, i64 1120, !16, i64 1124, !10, i64 1128, !10, i64 1132}
!21 = !{!"_ZTS8ImGuiDir", !7, i64 0}
!22 = !{!"_ZTS20ImDrawListSharedData", !15, i64 0, !6, i64 8, !16, i64 16, !16, i64 20, !16, i64 24, !23, i64 28, !10, i64 44, !24, i64 48, !7, i64 64, !16, i64 448, !7, i64 452, !6, i64 520}
!23 = !{!"_ZTS6ImVec4", !16, i64 0, !16, i64 4, !16, i64 8, !16, i64 12}
!24 = !{!"_ZTS8ImVectorI6ImVec2E", !10, i64 0, !10, i64 4, !6, i64 8}
!25 = !{!"double", !7, i64 0}
!26 = !{!"_ZTS8ImVectorI15ImGuiInputEventE", !10, i64 0, !10, i64 4, !6, i64 8}
!27 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !10, i64 0, !10, i64 4, !6, i64 8}
!28 = !{!"_ZTS8ImVectorI20ImGuiWindowStackDataE", !10, i64 0, !10, i64 4, !6, i64 8}
!29 = !{!"_ZTS12ImGuiStorage", !30, i64 0}
!30 = !{!"_ZTS8ImVectorI16ImGuiStoragePairE", !10, i64 0, !10, i64 4, !6, i64 8}
!31 = !{!"_ZTS16ImGuiInputSource", !7, i64 0}
!32 = !{!"_ZTS10ImBitArrayILi154ELin512EE", !7, i64 0}
!33 = !{!"_ZTS20ImGuiKeyRoutingTable", !7, i64 0, !34, i64 312, !34, i64 328}
!34 = !{!"_ZTS8ImVectorI19ImGuiKeyRoutingDataE", !10, i64 0, !10, i64 4, !6, i64 8}
!35 = !{!"_ZTS17ImGuiNextItemData", !10, i64 0, !10, i64 4, !36, i64 8, !16, i64 16, !10, i64 20, !10, i64 24, !13, i64 28, !7, i64 29, !37, i64 30}
!36 = !{!"long long", !7, i64 0}
!37 = !{!"_ZTS20ImGuiDataTypeStorage", !7, i64 0}
!38 = !{!"_ZTS17ImGuiLastItemData", !10, i64 0, !10, i64 4, !10, i64 8, !39, i64 12, !39, i64 28, !39, i64 44, !39, i64 60, !10, i64 76}
!39 = !{!"_ZTS6ImRect", !15, i64 0, !15, i64 8}
!40 = !{!"_ZTS19ImGuiNextWindowData", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !15, i64 16, !15, i64 24, !15, i64 32, !15, i64 40, !15, i64 48, !10, i64 56, !13, i64 60, !39, i64 64, !6, i64 80, !6, i64 88, !16, i64 96, !15, i64 100, !10, i64 108}
!41 = !{!"_ZTS8ImVectorI13ImGuiColorModE", !10, i64 0, !10, i64 4, !6, i64 8}
!42 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !10, i64 0, !10, i64 4, !6, i64 8}
!43 = !{!"_ZTS8ImVectorIP6ImFontE", !10, i64 0, !10, i64 4, !6, i64 8}
!44 = !{!"_ZTS8ImVectorI19ImGuiFocusScopeDataE", !10, i64 0, !10, i64 4, !6, i64 8}
!45 = !{!"_ZTS8ImVectorIiE", !10, i64 0, !10, i64 4, !6, i64 8}
!46 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !10, i64 0, !10, i64 4, !6, i64 8}
!47 = !{!"_ZTS8ImVectorI14ImGuiPopupDataE", !10, i64 0, !10, i64 4, !6, i64 8}
!48 = !{!"_ZTS8ImVectorI20ImGuiNavTreeNodeDataE", !10, i64 0, !10, i64 4, !6, i64 8}
!49 = !{!"_ZTS8ImVectorIP14ImGuiViewportPE", !10, i64 0, !10, i64 4, !6, i64 8}
!50 = !{!"_ZTS13ImGuiNavLayer", !7, i64 0}
!51 = !{!"_ZTS16ImGuiNavItemData", !6, i64 0, !10, i64 8, !10, i64 12, !39, i64 16, !10, i64 32, !16, i64 36, !16, i64 40, !16, i64 44, !36, i64 48}
!52 = !{!"_ZTS8ImGuiKey", !7, i64 0}
!53 = !{!"_ZTS12ImGuiPayload", !6, i64 0, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !7, i64 24, !13, i64 57, !13, i64 58}
!54 = !{!"_ZTS8ImVectorIhE", !10, i64 0, !10, i64 4, !6, i64 8}
!55 = !{!"_ZTS8ImVectorI20ImGuiListClipperDataE", !10, i64 0, !10, i64 4, !6, i64 8}
!56 = !{!"_ZTS8ImVectorI18ImGuiTableTempDataE", !10, i64 0, !10, i64 4, !6, i64 8}
!57 = !{!"_ZTS6ImPoolI10ImGuiTableE", !58, i64 0, !29, i64 16, !10, i64 32, !10, i64 36}
!58 = !{!"_ZTS8ImVectorI10ImGuiTableE", !10, i64 0, !10, i64 4, !6, i64 8}
!59 = !{!"_ZTS8ImVectorIfE", !10, i64 0, !10, i64 4, !6, i64 8}
!60 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !10, i64 0, !10, i64 4, !6, i64 8}
!61 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !62, i64 0, !29, i64 16, !10, i64 32, !10, i64 36}
!62 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !10, i64 0, !10, i64 4, !6, i64 8}
!63 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !10, i64 0, !10, i64 4, !6, i64 8}
!64 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !10, i64 0, !10, i64 4, !6, i64 8}
!65 = !{!"_ZTS19ImGuiInputTextState", !6, i64 0, !10, i64 8, !10, i64 12, !10, i64 16, !19, i64 24, !66, i64 40, !66, i64 56, !13, i64 72, !10, i64 76, !16, i64 80, !67, i64 84, !16, i64 3712, !13, i64 3716, !13, i64 3717, !13, i64 3718, !10, i64 3720, !13, i64 3724, !10, i64 3728, !10, i64 3732}
!66 = !{!"_ZTS8ImVectorIcE", !10, i64 0, !10, i64 4, !6, i64 8}
!67 = !{!"_ZTSN5ImStb17STB_TexteditStateE", !10, i64 0, !10, i64 4, !10, i64 8, !7, i64 12, !10, i64 16, !7, i64 20, !7, i64 21, !7, i64 22, !7, i64 23, !7, i64 24, !7, i64 25, !7, i64 26, !16, i64 28, !68, i64 32}
!68 = !{!"_ZTSN5ImStb12StbUndoStateE", !7, i64 0, !7, i64 1584, !17, i64 3582, !17, i64 3584, !10, i64 3588, !10, i64 3592}
!69 = !{!"_ZTS30ImGuiInputTextDeactivatedState", !10, i64 0, !66, i64 8}
!70 = !{!"_ZTS6ImFont", !59, i64 0, !16, i64 16, !16, i64 20, !19, i64 24, !71, i64 40, !6, i64 56, !6, i64 64, !6, i64 72, !17, i64 80, !17, i64 82, !17, i64 84, !17, i64 86, !16, i64 88, !16, i64 92, !13, i64 96, !16, i64 100, !16, i64 104, !16, i64 108, !10, i64 112, !7, i64 116}
!71 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !10, i64 0, !10, i64 4, !6, i64 8}
!72 = !{!"_ZTS21ImGuiComboPreviewData", !39, i64 0, !15, i64 16, !15, i64 24, !15, i64 32, !16, i64 40, !10, i64 44}
!73 = !{!"_ZTS8ImVectorIjE", !10, i64 0, !10, i64 4, !6, i64 8}
!74 = !{!"_ZTS22ImGuiTypingSelectState", !75, i64 0, !7, i64 24, !10, i64 88, !10, i64 92, !16, i64 96, !13, i64 100}
!75 = !{!"_ZTS24ImGuiTypingSelectRequest", !10, i64 0, !10, i64 4, !6, i64 8, !13, i64 16, !13, i64 17, !7, i64 18}
!76 = !{!"_ZTS20ImGuiPlatformImeData", !13, i64 0, !15, i64 4, !16, i64 12}
!77 = !{!"_ZTS15ImGuiTextBuffer", !66, i64 0}
!78 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !10, i64 0, !10, i64 4, !6, i64 8}
!79 = !{!"_ZTS13ImChunkStreamI19ImGuiWindowSettingsE", !66, i64 0}
!80 = !{!"_ZTS13ImChunkStreamI18ImGuiTableSettingsE", !66, i64 0}
!81 = !{!"_ZTS8ImVectorI16ImGuiContextHookE", !10, i64 0, !10, i64 4, !6, i64 8}
!82 = !{!"_ZTS12ImGuiLogType", !7, i64 0}
!83 = !{!"_ZTS14ImGuiTextIndex", !45, i64 0, !10, i64 16}
!84 = !{!"_ZTS18ImGuiMetricsConfig", !13, i64 0, !13, i64 1, !13, i64 2, !13, i64 3, !13, i64 4, !13, i64 5, !13, i64 6, !13, i64 7, !13, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24}
!85 = !{!"_ZTS16ImGuiIDStackTool", !10, i64 0, !10, i64 4, !10, i64 8, !86, i64 16, !13, i64 32, !16, i64 36}
!86 = !{!"_ZTS8ImVectorI19ImGuiStackLevelInfoE", !10, i64 0, !10, i64 4, !6, i64 8}
!87 = !{!"_ZTS19ImGuiDebugAllocInfo", !10, i64 0, !10, i64 4, !17, i64 8, !7, i64 12}
!88 = !{!12, !10, i64 18940}
!89 = !{!12, !10, i64 18884}
!90 = !{!12, !6, i64 16456}
!91 = !{!92, !6, i64 912}
!92 = !{!"_ZTS11ImGuiWindow", !6, i64 0, !6, i64 8, !10, i64 16, !10, i64 20, !10, i64 24, !6, i64 32, !15, i64 40, !15, i64 48, !15, i64 56, !15, i64 64, !15, i64 72, !15, i64 80, !15, i64 88, !16, i64 96, !16, i64 100, !16, i64 104, !16, i64 108, !16, i64 112, !16, i64 116, !16, i64 120, !16, i64 124, !16, i64 128, !16, i64 132, !10, i64 136, !10, i64 140, !10, i64 144, !10, i64 148, !15, i64 152, !15, i64 160, !15, i64 168, !15, i64 176, !15, i64 184, !15, i64 192, !13, i64 200, !13, i64 201, !13, i64 202, !13, i64 203, !13, i64 204, !13, i64 205, !13, i64 206, !13, i64 207, !13, i64 208, !13, i64 209, !13, i64 210, !13, i64 211, !13, i64 212, !13, i64 213, !7, i64 214, !7, i64 215, !17, i64 216, !17, i64 218, !17, i64 220, !17, i64 222, !17, i64 224, !7, i64 226, !7, i64 227, !13, i64 228, !21, i64 232, !7, i64 236, !7, i64 237, !7, i64 238, !7, i64 239, !10, i64 240, !10, i64 241, !10, i64 242, !15, i64 244, !15, i64 252, !73, i64 264, !93, i64 280, !39, i64 512, !39, i64 528, !39, i64 544, !39, i64 560, !39, i64 576, !39, i64 592, !39, i64 608, !96, i64 624, !96, i64 628, !10, i64 632, !16, i64 636, !16, i64 640, !29, i64 648, !97, i64 664, !16, i64 680, !10, i64 684, !6, i64 688, !98, i64 696, !6, i64 896, !6, i64 904, !6, i64 912, !6, i64 920, !6, i64 928, !6, i64 936, !6, i64 944, !6, i64 952, !7, i64 960, !7, i64 968, !7, i64 1000, !10, i64 1016, !10, i64 1020, !10, i64 1024, !13, i64 1028}
!93 = !{!"_ZTS19ImGuiWindowTempData", !15, i64 0, !15, i64 8, !15, i64 16, !15, i64 24, !15, i64 32, !15, i64 40, !15, i64 48, !16, i64 56, !16, i64 60, !13, i64 64, !13, i64 65, !94, i64 68, !94, i64 72, !94, i64 76, !15, i64 80, !50, i64 88, !17, i64 92, !17, i64 94, !13, i64 96, !13, i64 97, !13, i64 98, !13, i64 99, !15, i64 100, !95, i64 108, !10, i64 136, !10, i64 140, !27, i64 144, !6, i64 160, !6, i64 168, !10, i64 176, !10, i64 180, !10, i64 184, !10, i64 188, !16, i64 192, !16, i64 196, !59, i64 200, !59, i64 216}
!94 = !{!"_ZTS6ImVec1", !16, i64 0}
!95 = !{!"_ZTS16ImGuiMenuColumns", !10, i64 0, !10, i64 4, !17, i64 8, !17, i64 10, !17, i64 12, !17, i64 14, !17, i64 16, !7, i64 18}
!96 = !{!"_ZTS8ImVec2ih", !17, i64 0, !17, i64 2}
!97 = !{!"_ZTS8ImVectorI15ImGuiOldColumnsE", !10, i64 0, !10, i64 4, !6, i64 8}
!98 = !{!"_ZTS10ImDrawList", !99, i64 0, !19, i64 16, !100, i64 32, !10, i64 48, !10, i64 52, !6, i64 56, !6, i64 64, !6, i64 72, !24, i64 80, !101, i64 96, !102, i64 128, !103, i64 152, !104, i64 168, !16, i64 184, !6, i64 192}
!99 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !10, i64 0, !10, i64 4, !6, i64 8}
!100 = !{!"_ZTS8ImVectorI10ImDrawVertE", !10, i64 0, !10, i64 4, !6, i64 8}
!101 = !{!"_ZTS15ImDrawCmdHeader", !23, i64 0, !6, i64 16, !10, i64 24}
!102 = !{!"_ZTS18ImDrawListSplitter", !10, i64 0, !10, i64 4, !60, i64 8}
!103 = !{!"_ZTS8ImVectorI6ImVec4E", !10, i64 0, !10, i64 4, !6, i64 8}
!104 = !{!"_ZTS8ImVectorIPvE", !10, i64 0, !10, i64 4, !6, i64 8}
!105 = !{!13, !13, i64 0}
!106 = !{i8 0, i8 2}
!107 = !{}
!108 = !{!12, !13, i64 19836}
!109 = !{!12, !10, i64 19840}
!110 = !{!12, !16, i64 16544}
!111 = !{!12, !16, i64 24}
!112 = !{!12, !10, i64 19976}
!113 = distinct !{!113, !114}
!114 = !{!"llvm.loop.mustprogress"}
!115 = !{!12, !13, i64 276}
!116 = !{!12, !13, i64 277}
!117 = !{!12, !13, i64 278}
!118 = !{!12, !10, i64 16556}
!119 = !{!17, !17, i64 0}
!120 = !{!16, !16, i64 0}
!121 = !{!12, !16, i64 112}
!122 = !{!12, !13, i64 19386}
!123 = !{!12, !10, i64 19304}
!124 = !{!12, !13, i64 19387}
!125 = !{!12, !10, i64 19320}
!126 = !{!12, !10, i64 19316}
!127 = !{!12, !10, i64 19324}
!128 = !{!129, !16, i64 4}
!129 = !{!"_ZTS12ImGuiKeyData", !13, i64 0, !16, i64 4, !16, i64 8, !16, i64 12}
!130 = !{!12, !16, i64 116}
!131 = !{!12, !31, i64 19368}
!132 = !{!12, !31, i64 16592}
!133 = !{!12, !10, i64 19328}
!134 = !{!12, !13, i64 16574}
!135 = !{!12, !13, i64 16568}
!136 = !{i64 0, i64 4, !120, i64 4, i64 4, !120}
!137 = !{!12, !13, i64 16571}
!138 = !{!12, !10, i64 19352}


; 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"

@GImGui = external local_unnamed_addr global ptr, align 8
@.str.1 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [86 x i8], align 1
@__PRETTY_FUNCTION__._ZN5ImGui14ButtonBehaviorERK6ImRectjPbS3_i = external hidden unnamed_addr constant [86 x i8], align 1

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN5ImGui16GetCurrentWindowEv() local_unnamed_addr #0

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef, float noundef) local_unnamed_addr #0

; Function Attrs: inlinehint mustprogress uwtable
declare hidden <2 x float> @_ZmiRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN5ImGui14ButtonBehaviorERK6ImRectjPbS3_i(ptr noundef nonnull align 4 dereferenceable(16) %0, i32 noundef %1, ptr noundef writeonly %2, ptr noundef writeonly %3, i32 noundef %4) local_unnamed_addr #2 {
  %6 = load ptr, ptr @GImGui, align 8, !tbaa !5
  %7 = tail call noundef ptr @_ZN5ImGui16GetCurrentWindowEv()
  %8 = and i32 %4, 7
  %9 = icmp eq i32 %8, 0
  %10 = zext i1 %9 to i32
  %spec.select = or disjoint i32 %10, %4
  %11 = and i32 %4, 1008
  %12 = icmp eq i32 %11, 0
  %13 = or disjoint i32 %spec.select, 32
  %.1 = select i1 %12, i32 %13, i32 %spec.select
  %14 = getelementptr inbounds i8, ptr %6, i64 18936
  %15 = load i32, ptr %14, align 8, !tbaa !9
  %16 = icmp eq i32 %15, %1
  %.in.v = select i1 %16, i64 18940, i64 18884
  %.in = getelementptr inbounds i8, ptr %6, i64 %.in.v
  %17 = load i32, ptr %.in, align 4, !tbaa !87
  %18 = lshr i32 %.1, 3
  %19 = and i32 %18, 512
  %20 = lshr i32 %.1, 9
  %21 = and i32 %20, 2
  %.0188 = or disjoint i32 %21, %19
  %.1189 = or i32 %.0188, %17
  %22 = getelementptr inbounds i8, ptr %6, i64 16456
  %23 = load ptr, ptr %22, align 8, !tbaa !88
  %24 = and i32 %.1, 2048
  %.not214 = icmp eq i32 %24, 0
  %.not215 = icmp eq ptr %23, null
  %or.cond245 = select i1 %.not214, i1 true, i1 %.not215
  br i1 %or.cond245, label %.thread, label %25

25:                                               ; preds = %5
  %26 = getelementptr inbounds i8, ptr %23, i64 912
  %27 = load ptr, ptr %26, align 8, !tbaa !89
  %28 = icmp eq ptr %27, %7
  br i1 %28, label %29, label %.thread

29:                                               ; preds = %25
  store ptr %7, ptr %22, align 8, !tbaa !88
  br label %.thread

.thread:                                          ; preds = %5, %29, %25
  %30 = phi i1 [ true, %29 ], [ false, %25 ], [ false, %5 ]
  %31 = tail call noundef zeroext i1 @_ZN5ImGui13ItemHoverableERK6ImRectji(ptr noundef nonnull align 4 dereferenceable(16) %0, i32 noundef %1, i32 noundef %.1189)
  %32 = getelementptr inbounds i8, ptr %6, i64 19836
  %33 = load i8, ptr %32, align 4, !tbaa !103, !range !104, !noundef !105
  %34 = trunc nuw i8 %33 to i1
  %35 = and i32 %.1, 512
  %.not216 = icmp ne i32 %35, 0
  %or.cond247.not = and i1 %.not216, %34
  br i1 %or.cond247.not, label %36, label %52

36:                                               ; preds = %.thread
  %37 = getelementptr inbounds i8, ptr %6, i64 19840
  %38 = load i32, ptr %37, align 8, !tbaa !106
  %39 = and i32 %38, 4
  %.not217 = icmp eq i32 %39, 0
  br i1 %.not217, label %40, label %52

40:                                               ; preds = %36
  %41 = tail call noundef zeroext i1 @_ZN5ImGui13IsItemHoveredEi(i32 noundef 128)
  br i1 %41, label %42, label %52

42:                                               ; preds = %40
  tail call void @_ZN5ImGui12SetHoveredIDEj(i32 noundef %1)
  %43 = getelementptr inbounds i8, ptr %6, i64 16544
  %44 = load float, ptr %43, align 8, !tbaa !107
  %45 = getelementptr inbounds i8, ptr %6, i64 24
  %46 = load float, ptr %45, align 8, !tbaa !108
  %47 = fsub float %44, %46
  %48 = fcmp ugt float %47, 0x3FE6666660000000
  %49 = fcmp ult float %44, 0x3FE6666660000000
  %or.cond248 = or i1 %49, %48
  br i1 %or.cond248, label %52, label %50

50:                                               ; preds = %42
  %51 = getelementptr inbounds i8, ptr %6, i64 19976
  store i32 %1, ptr %51, align 8, !tbaa !109
  tail call void @_ZN5ImGui11FocusWindowEP11ImGuiWindowi(ptr noundef %7, i32 noundef 0)
  br label %52

52:                                               ; preds = %40, %50, %42, %36, %.thread
  %.0192.shrunk = phi i1 [ %31, %36 ], [ true, %50 ], [ true, %42 ], [ %31, %40 ], [ %31, %.thread ]
  %.0190 = phi i8 [ 0, %36 ], [ 1, %50 ], [ 0, %42 ], [ 0, %40 ], [ 0, %.thread ]
  br i1 %30, label %53, label %54

53:                                               ; preds = %52
  store ptr %23, ptr %22, align 8, !tbaa !88
  br label %54

54:                                               ; preds = %53, %52
  %55 = and i32 %.1, 2097152
  %.not218 = icmp eq i32 %55, 0
  %56 = select i1 %.not218, i32 %1, i32 0
  br i1 %.0192.shrunk, label %57, label %161

57:                                               ; preds = %54
  %.not219 = icmp eq i32 %1, 0
  br i1 %.not219, label %59, label %.preheader.preheader

.preheader.preheader:                             ; preds = %57
  %58 = and i32 %.1, 1
  %.not244 = icmp eq i32 %58, 0
  br i1 %.not244, label %.preheader.1, label %60

59:                                               ; preds = %57
  tail call void @__assert_fail(ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.2, i32 noundef 540, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5ImGui14ButtonBehaviorERK6ImRectjPbS3_i) #6
  unreachable

60:                                               ; preds = %.preheader.preheader
  %61 = tail call noundef zeroext i1 @_ZN5ImGui14IsMouseClickedEiij(i32 noundef 0, i32 noundef 0, i32 noundef %56)
  %not. = xor i1 %61, true
  %spec.select249 = sext i1 %not. to i32
  %62 = tail call noundef zeroext i1 @_ZN5ImGui15IsMouseReleasedEij(i32 noundef 0, i32 noundef %56)
  %not.269 = xor i1 %62, true
  %spec.select260 = sext i1 %not.269 to i32
  br label %.preheader.1

.preheader.1:                                     ; preds = %60, %.preheader.preheader
  %.1199 = phi i32 [ -1, %.preheader.preheader ], [ %spec.select260, %60 ]
  %.2197 = phi i32 [ -1, %.preheader.preheader ], [ %spec.select249, %60 ]
  %63 = and i32 %.1, 2
  %.not244.1 = icmp eq i32 %63, 0
  br i1 %.not244.1, label %.preheader.2, label %64

64:                                               ; preds = %.preheader.1
  %65 = tail call noundef zeroext i1 @_ZN5ImGui14IsMouseClickedEiij(i32 noundef 1, i32 noundef 0, i32 noundef %56)
  %66 = icmp eq i32 %.2197, -1
  %or.cond.1 = and i1 %65, %66
  %spec.select249.1 = select i1 %or.cond.1, i32 1, i32 %.2197
  %67 = tail call noundef zeroext i1 @_ZN5ImGui15IsMouseReleasedEij(i32 noundef 1, i32 noundef %56)
  %68 = icmp eq i32 %.1199, -1
  %or.cond3.1 = and i1 %67, %68
  %spec.select260.1 = select i1 %or.cond3.1, i32 1, i32 %.1199
  br label %.preheader.2

.preheader.2:                                     ; preds = %64, %.preheader.1
  %.1199.1 = phi i32 [ %.1199, %.preheader.1 ], [ %spec.select260.1, %64 ]
  %.2197.1 = phi i32 [ %.2197, %.preheader.1 ], [ %spec.select249.1, %64 ]
  %69 = and i32 %.1, 4
  %.not244.2 = icmp eq i32 %69, 0
  br i1 %.not244.2, label %75, label %70

70:                                               ; preds = %.preheader.2
  %71 = tail call noundef zeroext i1 @_ZN5ImGui14IsMouseClickedEiij(i32 noundef 2, i32 noundef 0, i32 noundef %56)
  %72 = icmp eq i32 %.2197.1, -1
  %or.cond.2 = select i1 %71, i1 %72, i1 false
  %spec.select249.2 = select i1 %or.cond.2, i32 2, i32 %.2197.1
  %73 = tail call noundef zeroext i1 @_ZN5ImGui15IsMouseReleasedEij(i32 noundef 2, i32 noundef %56)
  %74 = icmp eq i32 %.1199.1, -1
  %or.cond3.2 = select i1 %73, i1 %74, i1 false
  %spec.select260.2 = select i1 %or.cond3.2, i32 2, i32 %.1199.1
  br label %75

75:                                               ; preds = %70, %.preheader.2
  %.1199.2 = phi i32 [ %.1199.1, %.preheader.2 ], [ %spec.select260.2, %70 ]
  %.2197.2 = phi i32 [ %.2197.1, %.preheader.2 ], [ %spec.select249.2, %70 ]
  %76 = and i32 %.1, 65536
  %.not220 = icmp eq i32 %76, 0
  br i1 %.not220, label %89, label %77

77:                                               ; preds = %75
  %78 = getelementptr inbounds i8, ptr %6, i64 276
  %79 = load i8, ptr %78, align 4, !tbaa !110, !range !104, !noundef !105
  %80 = trunc nuw i8 %79 to i1
  br i1 %80, label %157, label %81

81:                                               ; preds = %77
  %82 = getelementptr inbounds i8, ptr %6, i64 277
  %83 = load i8, ptr %82, align 1, !tbaa !111, !range !104, !noundef !105
  %84 = trunc nuw i8 %83 to i1
  br i1 %84, label %157, label %85

85:                                               ; preds = %81
  %86 = getelementptr inbounds i8, ptr %6, i64 278
  %87 = load i8, ptr %86, align 2, !tbaa !112, !range !104, !noundef !105
  %88 = trunc nuw i8 %87 to i1
  br i1 %88, label %157, label %89

89:                                               ; preds = %85, %75
  %.not221 = icmp eq i32 %.2197.2, -1
  br i1 %.not221, label %125, label %90

90:                                               ; preds = %89
  %91 = getelementptr inbounds i8, ptr %6, i64 16556
  %92 = load i32, ptr %91, align 4, !tbaa !113
  %.not222 = icmp eq i32 %92, %1
  br i1 %.not222, label %125, label %93

93:                                               ; preds = %90
  %94 = and i32 %.1, 1048576
  %.not223 = icmp eq i32 %94, 0
  br i1 %.not223, label %95, label %97

95:                                               ; preds = %93
  %96 = tail call noundef i32 @_ZN5ImGui16MouseButtonToKeyEi(i32 noundef %.2197.2)
  tail call void @_ZN5ImGui11SetKeyOwnerE8ImGuiKeyji(i32 noundef %96, i32 noundef %1, i32 noundef 0)
  br label %97

97:                                               ; preds = %95, %93
  %98 = and i32 %.1, 96
  %.not224 = icmp eq i32 %98, 0
  br i1 %.not224, label %105, label %99

99:                                               ; preds = %97
  tail call void @_ZN5ImGui11SetActiveIDEjP11ImGuiWindow(i32 noundef %1, ptr noundef %7)
  %100 = getelementptr inbounds i8, ptr %6, i64 16575
  %101 = trunc nsw i32 %.2197.2 to i8
  store i8 %101, ptr %100, align 1
  %102 = and i32 %.1, 262144
  %.not225 = icmp eq i32 %102, 0
  br i1 %.not225, label %103, label %104

103:                                              ; preds = %99
  tail call void @_ZN5ImGui10SetFocusIDEjP11ImGuiWindow(i32 noundef %1, ptr noundef %7)
  br label %104

104:                                              ; preds = %103, %99
  tail call void @_ZN5ImGui11FocusWindowEP11ImGuiWindowi(ptr noundef %7, i32 noundef 0)
  br label %105

105:                                              ; preds = %104, %97
  %106 = and i32 %.1, 16
  %.not226 = icmp eq i32 %106, 0
  br i1 %.not226, label %107, label %115

107:                                              ; preds = %105
  %108 = and i32 %.1, 256
  %.not227 = icmp eq i32 %108, 0
  br i1 %.not227, label %125, label %109

109:                                              ; preds = %107
  %110 = getelementptr inbounds i8, ptr %6, i64 11042
  %111 = zext nneg i32 %.2197.2 to i64
  %112 = getelementptr inbounds [5 x i16], ptr %110, i64 0, i64 %111
  %113 = load i16, ptr %112, align 2, !tbaa !114
  %114 = icmp eq i16 %113, 2
  br i1 %114, label %115, label %125

115:                                              ; preds = %109, %105
  %116 = and i32 %.1, 131072
  %.not228 = icmp eq i32 %116, 0
  br i1 %.not228, label %118, label %117

117:                                              ; preds = %115
  tail call void @_ZN5ImGui13ClearActiveIDEv()
  br label %119

118:                                              ; preds = %115
  tail call void @_ZN5ImGui11SetActiveIDEjP11ImGuiWindow(i32 noundef %1, ptr noundef %7)
  br label %119

119:                                              ; preds = %118, %117
  %120 = and i32 %.1, 262144
  %.not229 = icmp eq i32 %120, 0
  br i1 %.not229, label %121, label %122

121:                                              ; preds = %119
  tail call void @_ZN5ImGui10SetFocusIDEjP11ImGuiWindow(i32 noundef %1, ptr noundef %7)
  br label %122

122:                                              ; preds = %121, %119
  %123 = getelementptr inbounds i8, ptr %6, i64 16575
  %124 = trunc nsw i32 %.2197.2 to i8
  store i8 %124, ptr %123, align 1
  tail call void @_ZN5ImGui11FocusWindowEP11ImGuiWindowi(ptr noundef %7, i32 noundef 0)
  br label %125

125:                                              ; preds = %107, %109, %122, %90, %89
  %.1191 = phi i8 [ 1, %122 ], [ %.0190, %109 ], [ %.0190, %107 ], [ %.0190, %90 ], [ %.0190, %89 ]
  %126 = and i32 %.1, 128
  %127 = icmp ne i32 %126, 0
  %128 = icmp ne i32 %.1199.2, -1
  %or.cond5 = select i1 %127, i1 %128, i1 false
  %129 = and i32 %.1189, 2
  br i1 %or.cond5, label %130, label %._crit_edge

130:                                              ; preds = %125
  %.not230 = icmp eq i32 %129, 0
  br i1 %.not230, label %.thread263, label %131

131:                                              ; preds = %130
  %132 = getelementptr inbounds i8, ptr %6, i64 11100
  %133 = zext nneg i32 %.1199.2 to i64
  %134 = getelementptr inbounds [5 x float], ptr %132, i64 0, i64 %133
  %135 = load float, ptr %134, align 4, !tbaa !115
  %136 = getelementptr inbounds i8, ptr %6, i64 112
  %137 = load float, ptr %136, align 8, !tbaa !116
  %138 = fcmp oge float %135, %137
  %cond.fr = freeze i1 %138
  %spec.select265 = select i1 %cond.fr, i8 %.1191, i8 1
  br label %.thread263

.thread263:                                       ; preds = %131, %130
  %139 = phi i8 [ 1, %130 ], [ %spec.select265, %131 ]
  %140 = and i32 %.1, 262144
  %.not231 = icmp eq i32 %140, 0
  br i1 %.not231, label %141, label %142

141:                                              ; preds = %.thread263
  tail call void @_ZN5ImGui10SetFocusIDEjP11ImGuiWindow(i32 noundef %1, ptr noundef %7)
  br label %142

142:                                              ; preds = %141, %.thread263
  tail call void @_ZN5ImGui13ClearActiveIDEv()
  br label %._crit_edge

._crit_edge:                                      ; preds = %125, %142
  %.3 = phi i8 [ %139, %142 ], [ %.1191, %125 ]
  %143 = getelementptr inbounds i8, ptr %6, i64 16556
  %144 = load i32, ptr %143, align 4, !tbaa !113
  %145 = icmp ne i32 %144, %1
  %.not232 = icmp eq i32 %129, 0
  %or.cond251 = select i1 %145, i1 true, i1 %.not232
  br i1 %or.cond251, label %157, label %146

146:                                              ; preds = %._crit_edge
  %147 = getelementptr inbounds i8, ptr %6, i64 11080
  %148 = getelementptr inbounds i8, ptr %6, i64 16575
  %149 = load i8, ptr %148, align 1
  %150 = sext i8 %149 to i64
  %151 = getelementptr inbounds [5 x float], ptr %147, i64 0, i64 %150
  %152 = load float, ptr %151, align 4, !tbaa !115
  %153 = fcmp ogt float %152, 0.000000e+00
  br i1 %153, label %154, label %157

154:                                              ; preds = %146
  %155 = sext i8 %149 to i32
  %156 = tail call noundef zeroext i1 @_ZN5ImGui14IsMouseClickedEiij(i32 noundef %155, i32 noundef 1, i32 noundef %56)
  %spec.select252 = select i1 %156, i8 1, i8 %.3
  br label %157

157:                                              ; preds = %154, %._crit_edge, %146, %85, %81, %77
  %.4 = phi i8 [ %.0190, %77 ], [ %.0190, %81 ], [ %.0190, %85 ], [ %.3, %146 ], [ %.3, %._crit_edge ], [ %spec.select252, %154 ]
  %158 = trunc nuw i8 %.4 to i1
  br i1 %158, label %159, label %161

159:                                              ; preds = %157
  %160 = getelementptr inbounds i8, ptr %6, i64 19386
  store i8 1, ptr %160, align 2, !tbaa !117
  br label %161

161:                                              ; preds = %157, %159, %54
  %.5 = phi i8 [ %.0190, %54 ], [ %.4, %159 ], [ %.4, %157 ]
  %162 = getelementptr inbounds i8, ptr %6, i64 19304
  %163 = load i32, ptr %162, align 8, !tbaa !118
  %164 = icmp eq i32 %163, %1
  br i1 %164, label %165, label %174

165:                                              ; preds = %161
  %166 = getelementptr inbounds i8, ptr %6, i64 19386
  %167 = load i8, ptr %166, align 2, !tbaa !117, !range !104, !noundef !105
  %168 = trunc nuw i8 %167 to i1
  br i1 %168, label %174, label %169

169:                                              ; preds = %165
  %170 = getelementptr inbounds i8, ptr %6, i64 19387
  %171 = load i8, ptr %170, align 1, !tbaa !119, !range !104, !noundef !105
  %172 = trunc nuw i8 %171 to i1
  %173 = and i32 %.1, 524288
  %.not233 = icmp eq i32 %173, 0
  %or.cond253 = and i1 %.not233, %172
  %spec.select261 = or i1 %.0192.shrunk, %or.cond253
  br label %174

174:                                              ; preds = %169, %165, %161
  %.1193.shrunk = phi i1 [ %.0192.shrunk, %165 ], [ %.0192.shrunk, %161 ], [ %spec.select261, %169 ]
  %175 = getelementptr inbounds i8, ptr %6, i64 19320
  %176 = load i32, ptr %175, align 8, !tbaa !120
  %177 = icmp eq i32 %176, %1
  br i1 %177, label %178, label %224

178:                                              ; preds = %174
  %179 = getelementptr inbounds i8, ptr %6, i64 19316
  %180 = load i32, ptr %179, align 4, !tbaa !121
  %181 = icmp eq i32 %180, %1
  %182 = getelementptr inbounds i8, ptr %6, i64 19324
  %183 = load i32, ptr %182, align 4, !tbaa !122
  %184 = icmp eq i32 %183, %1
  %185 = and i32 %.1189, 2
  %.not234 = icmp eq i32 %185, 0
  %or.cond254 = select i1 %184, i1 true, i1 %.not234
  br i1 %or.cond254, label %207, label %186

186:                                              ; preds = %178
  %187 = tail call noundef ptr @_ZN5ImGui10GetKeyDataE8ImGuiKey(i32 noundef 524)
  %188 = tail call noundef ptr @_ZN5ImGui10GetKeyDataE8ImGuiKey(i32 noundef 525)
  %189 = tail call noundef ptr @_ZN5ImGui10GetKeyDataE8ImGuiKey(i32 noundef 636)
  %190 = getelementptr inbounds i8, ptr %187, i64 4
  %191 = load float, ptr %190, align 4, !tbaa !123
  %192 = getelementptr inbounds i8, ptr %188, i64 4
  %193 = load float, ptr %192, align 4, !tbaa !123
  %194 = tail call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %191, float noundef %193)
  %195 = getelementptr inbounds i8, ptr %189, i64 4
  %196 = load float, ptr %195, align 4, !tbaa !123
  %197 = tail call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %194, float noundef %196)
  %198 = getelementptr inbounds i8, ptr %6, i64 24
  %199 = load float, ptr %198, align 8, !tbaa !108
  %200 = fsub float %197, %199
  %201 = getelementptr inbounds i8, ptr %6, i64 112
  %202 = load float, ptr %201, align 8, !tbaa !116
  %203 = getelementptr inbounds i8, ptr %6, i64 116
  %204 = load float, ptr %203, align 4, !tbaa !125
  %205 = tail call noundef i32 @_ZN5ImGui25CalcTypematicRepeatAmountEffff(float noundef %200, float noundef %197, float noundef %202, float noundef %204)
  %206 = icmp sgt i32 %205, 0
  br label %207

207:                                              ; preds = %186, %178
  %.0204.in = phi i1 [ %184, %178 ], [ %206, %186 ]
  %brmerge = or i1 %181, %.0204.in
  br i1 %brmerge, label %208, label %224

208:                                              ; preds = %207
  tail call void @_ZN5ImGui11SetActiveIDEjP11ImGuiWindow(i32 noundef %1, ptr noundef %7)
  %209 = getelementptr inbounds i8, ptr %6, i64 19368
  %210 = load i32, ptr %209, align 8, !tbaa !126
  %211 = getelementptr inbounds i8, ptr %6, i64 16592
  store i32 %210, ptr %211, align 8, !tbaa !127
  %212 = and i32 %.1, 262144
  %.not235 = icmp eq i32 %212, 0
  br i1 %.not235, label %213, label %218

213:                                              ; preds = %208
  %214 = getelementptr inbounds i8, ptr %6, i64 19328
  %215 = load i32, ptr %214, align 8, !tbaa !128
  %216 = and i32 %215, 16
  %.not236 = icmp eq i32 %216, 0
  br i1 %.not236, label %217, label %218

217:                                              ; preds = %213
  tail call void @_ZN5ImGui10SetFocusIDEjP11ImGuiWindow(i32 noundef %1, ptr noundef %7)
  br label %218

218:                                              ; preds = %217, %213, %208
  %219 = getelementptr inbounds i8, ptr %6, i64 19328
  %220 = load i32, ptr %219, align 8, !tbaa !128
  %221 = and i32 %220, 16
  %.not237 = icmp eq i32 %221, 0
  br i1 %.not237, label %224, label %222

222:                                              ; preds = %218
  %223 = getelementptr inbounds i8, ptr %6, i64 16574
  store i8 1, ptr %223, align 2, !tbaa !129
  br label %224

224:                                              ; preds = %222, %218, %207, %174
  %.7 = phi i8 [ %.5, %174 ], [ 1, %222 ], [ 1, %218 ], [ %.5, %207 ]
  %225 = getelementptr inbounds i8, ptr %6, i64 16556
  %226 = load i32, ptr %225, align 4, !tbaa !113
  %227 = icmp eq i32 %226, %1
  br i1 %227, label %228, label %294

228:                                              ; preds = %224
  %229 = getelementptr inbounds i8, ptr %6, i64 16592
  %230 = load i32, ptr %229, align 8, !tbaa !127
  switch i32 %230, label %290 [
    i32 1, label %231
    i32 2, label %286
    i32 3, label %286
  ]

231:                                              ; preds = %228
  %232 = getelementptr inbounds i8, ptr %6, i64 16568
  %233 = load i8, ptr %232, align 8, !tbaa !130, !range !104, !noundef !105
  %234 = trunc nuw i8 %233 to i1
  br i1 %234, label %235, label %239

235:                                              ; preds = %231
  %236 = getelementptr inbounds i8, ptr %6, i64 248
  %237 = tail call <2 x float> @_ZmiRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %236, ptr noundef nonnull align 4 dereferenceable(8) %0)
  %238 = getelementptr inbounds i8, ptr %6, i64 16576
  store <2 x float> %237, ptr %238, align 8
  br label %239

239:                                              ; preds = %235, %231
  %240 = getelementptr inbounds i8, ptr %6, i64 16575
  %241 = load i8, ptr %240, align 1
  %242 = sext i8 %241 to i32
  %243 = icmp eq i8 %241, -1
  br i1 %243, label %.sink.split, label %244

244:                                              ; preds = %239
  %245 = tail call noundef zeroext i1 @_ZN5ImGui11IsMouseDownEij(i32 noundef %242, i32 noundef %56)
  br i1 %245, label %282, label %246

246:                                              ; preds = %244
  %247 = and i32 %.1, 32
  %248 = icmp ne i32 %247, 0
  %249 = and i1 %248, %.1193.shrunk
  %250 = and i32 %.1, 64
  %.not238 = icmp ne i32 %250, 0
  %or.cond256.not = or i1 %.not238, %249
  br i1 %or.cond256.not, label %251, label %.sink.split

251:                                              ; preds = %246
  %252 = load i8, ptr %32, align 4, !tbaa !103, !range !104, !noundef !105
  %253 = trunc nuw i8 %252 to i1
  br i1 %253, label %.sink.split, label %254

254:                                              ; preds = %251
  %255 = and i32 %.1, 256
  %.not239 = icmp eq i32 %255, 0
  br i1 %.not239, label %267, label %256

256:                                              ; preds = %254
  %257 = getelementptr inbounds i8, ptr %6, i64 11062
  %258 = sext i8 %241 to i64
  %259 = getelementptr inbounds [5 x i8], ptr %257, i64 0, i64 %258
  %260 = load i8, ptr %259, align 1, !tbaa !131, !range !104, !noundef !105
  %261 = trunc nuw i8 %260 to i1
  br i1 %261, label %262, label %267

262:                                              ; preds = %256
  %263 = getelementptr inbounds i8, ptr %6, i64 11052
  %264 = getelementptr inbounds [5 x i16], ptr %263, i64 0, i64 %258
  %265 = load i16, ptr %264, align 2, !tbaa !114
  %266 = icmp eq i16 %265, 2
  br label %267

267:                                              ; preds = %262, %256, %254
  %268 = phi i1 [ false, %256 ], [ false, %254 ], [ %266, %262 ]
  %269 = and i32 %.1189, 2
  %.not240 = icmp eq i32 %269, 0
  br i1 %.not240, label %278, label %270

270:                                              ; preds = %267
  %271 = getelementptr inbounds i8, ptr %6, i64 11100
  %272 = sext i8 %241 to i64
  %273 = getelementptr inbounds [5 x float], ptr %271, i64 0, i64 %272
  %274 = load float, ptr %273, align 4, !tbaa !115
  %275 = getelementptr inbounds i8, ptr %6, i64 112
  %276 = load float, ptr %275, align 8, !tbaa !116
  %277 = fcmp oge float %274, %276
  br label %278

278:                                              ; preds = %270, %267
  %279 = phi i1 [ false, %267 ], [ %277, %270 ]
  %280 = tail call noundef i32 @_ZN5ImGui16MouseButtonToKeyEi(i32 noundef %242)
  %281 = tail call noundef zeroext i1 @_ZN5ImGui12TestKeyOwnerE8ImGuiKeyj(i32 noundef %280, i32 noundef %56)
  %brmerge257 = select i1 %268, i1 true, i1 %279
  %spec.select258 = select i1 %281, i8 1, i8 %.7
  %spec.select262 = select i1 %brmerge257, i8 %.7, i8 %spec.select258
  br label %.sink.split

.sink.split:                                      ; preds = %251, %246, %278, %239
  %.10.ph = phi i8 [ %.7, %239 ], [ %.7, %251 ], [ %.7, %246 ], [ %spec.select262, %278 ]
  tail call void @_ZN5ImGui13ClearActiveIDEv()
  br label %282

282:                                              ; preds = %.sink.split, %244
  %.0201 = phi i8 [ 1, %244 ], [ 0, %.sink.split ]
  %.10 = phi i8 [ %.7, %244 ], [ %.10.ph, %.sink.split ]
  %283 = and i32 %.1, 262144
  %.not241 = icmp eq i32 %283, 0
  br i1 %.not241, label %284, label %290

284:                                              ; preds = %282
  %285 = getelementptr inbounds i8, ptr %6, i64 19386
  store i8 1, ptr %285, align 2, !tbaa !117
  br label %290

286:                                              ; preds = %228, %228
  %287 = load i32, ptr %175, align 8, !tbaa !120
  %288 = icmp eq i32 %287, %1
  br i1 %288, label %290, label %289

289:                                              ; preds = %286
  tail call void @_ZN5ImGui13ClearActiveIDEv()
  br label %290

290:                                              ; preds = %286, %228, %282, %284, %289
  %.1202 = phi i8 [ 0, %289 ], [ %.0201, %284 ], [ %.0201, %282 ], [ 0, %228 ], [ 1, %286 ]
  %.11 = phi i8 [ %.7, %289 ], [ %.10, %284 ], [ %.10, %282 ], [ %.7, %228 ], [ %.7, %286 ]
  %291 = trunc nuw i8 %.11 to i1
  br i1 %291, label %292, label %294

292:                                              ; preds = %290
  %293 = getelementptr inbounds i8, ptr %6, i64 16571
  store i8 1, ptr %293, align 1, !tbaa !132
  br label %294

294:                                              ; preds = %290, %292, %224
  %.2203 = phi i8 [ %.1202, %292 ], [ %.1202, %290 ], [ 0, %224 ]
  %.12 = phi i8 [ %.11, %292 ], [ %.11, %290 ], [ %.7, %224 ]
  %.not242 = icmp eq ptr %2, null
  br i1 %.not242, label %300, label %295

295:                                              ; preds = %294
  %296 = getelementptr inbounds i8, ptr %6, i64 19352
  %297 = load i32, ptr %296, align 8, !tbaa !133
  %298 = icmp eq i32 %297, %1
  %spec.select259 = select i1 %298, i1 true, i1 %.1193.shrunk
  %299 = zext i1 %spec.select259 to i8
  store i8 %299, ptr %2, align 1, !tbaa !131
  br label %300

300:                                              ; preds = %295, %294
  %.not243 = icmp eq ptr %3, null
  br i1 %.not243, label %302, label %301

301:                                              ; preds = %300
  store i8 %.2203, ptr %3, align 1, !tbaa !131
  br label %302

302:                                              ; preds = %301, %300
  %303 = trunc nuw i8 %.12 to i1
  ret i1 %303
}

declare noundef zeroext i1 @_ZN5ImGui13ItemHoverableERK6ImRectji(ptr noundef nonnull align 4 dereferenceable(16), i32 noundef, i32 noundef) local_unnamed_addr #3

declare noundef zeroext i1 @_ZN5ImGui13IsItemHoveredEi(i32 noundef) local_unnamed_addr #3

declare void @_ZN5ImGui12SetHoveredIDEj(i32 noundef) local_unnamed_addr #3

declare void @_ZN5ImGui11FocusWindowEP11ImGuiWindowi(ptr noundef, i32 noundef) local_unnamed_addr #3

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

declare noundef zeroext i1 @_ZN5ImGui14IsMouseClickedEiij(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #3

declare noundef zeroext i1 @_ZN5ImGui15IsMouseReleasedEij(i32 noundef, i32 noundef) local_unnamed_addr #3

declare void @_ZN5ImGui11SetKeyOwnerE8ImGuiKeyji(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN5ImGui16MouseButtonToKeyEi(i32 noundef) local_unnamed_addr #0

declare void @_ZN5ImGui11SetActiveIDEjP11ImGuiWindow(i32 noundef, ptr noundef) local_unnamed_addr #3

declare void @_ZN5ImGui10SetFocusIDEjP11ImGuiWindow(i32 noundef, ptr noundef) local_unnamed_addr #3

declare void @_ZN5ImGui13ClearActiveIDEv() local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef ptr @_ZN5ImGui10GetKeyDataE8ImGuiKey(i32 noundef) local_unnamed_addr #5

declare noundef i32 @_ZN5ImGui25CalcTypematicRepeatAmountEffff(float noundef, float noundef, float noundef, float noundef) local_unnamed_addr #3

declare noundef zeroext i1 @_ZN5ImGui11IsMouseDownEij(i32 noundef, i32 noundef) local_unnamed_addr #3

declare noundef zeroext i1 @_ZN5ImGui12TestKeyOwnerE8ImGuiKeyj(i32 noundef, i32 noundef) local_unnamed_addr #3

attributes #0 = { 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 #1 = { inlinehint mustprogress uwtable "min-legal-vector-width"="64" "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 uwtable "min-legal-vector-width"="64" "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 = { "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 = { 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 #5 = { 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 #6 = { 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, !13, i64 18936}
!10 = !{!"_ZTS12ImGuiContext", !11, i64 0, !11, i64 1, !12, i64 8, !19, i64 14568, !6, i64 15704, !15, i64 15712, !15, i64 15716, !15, i64 15720, !21, i64 15728, !24, i64 16256, !13, i64 16264, !13, i64 16268, !13, i64 16272, !11, i64 16276, !11, i64 16277, !11, i64 16278, !11, i64 16279, !11, i64 16280, !6, i64 16288, !7, i64 16296, !25, i64 16312, !25, i64 16328, !17, i64 16344, !13, i64 16348, !26, i64 16352, !26, i64 16368, !26, i64 16384, !27, i64 16400, !28, i64 16416, !13, i64 16432, !14, i64 16436, !13, i64 16444, !6, i64 16448, !6, i64 16456, !6, i64 16464, !6, i64 16472, !6, i64 16480, !6, i64 16488, !14, i64 16496, !13, i64 16504, !13, i64 16508, !15, i64 16512, !14, i64 16516, !14, i64 16524, !13, i64 16532, !13, i64 16536, !13, i64 16540, !15, i64 16544, !15, i64 16548, !11, i64 16552, !11, i64 16553, !11, i64 16554, !13, i64 16556, !13, i64 16560, !15, i64 16564, !11, i64 16568, !11, i64 16569, !11, i64 16570, !11, i64 16571, !11, i64 16572, !11, i64 16573, !11, i64 16574, !13, i64 16575, !14, i64 16576, !6, i64 16584, !30, i64 16592, !13, i64 16596, !11, i64 16600, !11, i64 16601, !6, i64 16608, !13, i64 16616, !15, i64 16620, !24, i64 16624, !24, i64 16632, !24, i64 16640, !31, i64 16648, !7, i64 16668, !32, i64 18520, !13, i64 18864, !11, i64 18868, !13, i64 18872, !13, i64 18876, !13, i64 18880, !13, i64 18884, !13, i64 18888, !34, i64 18896, !37, i64 18936, !39, i64 19016, !11, i64 19128, !13, i64 19132, !40, i64 19136, !41, i64 19152, !42, i64 19168, !43, i64 19184, !44, i64 19200, !45, i64 19216, !46, i64 19232, !46, i64 19248, !47, i64 19264, !48, i64 19280, !6, i64 19296, !13, i64 19304, !13, i64 19308, !49, i64 19312, !13, i64 19316, !13, i64 19320, !13, i64 19324, !13, i64 19328, !43, i64 19336, !13, i64 19352, !15, i64 19356, !13, i64 19360, !13, i64 19364, !30, i64 19368, !35, i64 19376, !11, i64 19384, !11, i64 19385, !11, i64 19386, !11, i64 19387, !11, i64 19388, !11, i64 19389, !11, i64 19390, !50, i64 19392, !11, i64 19448, !11, i64 19449, !11, i64 19450, !13, i64 19452, !13, i64 19456, !13, i64 19460, !20, i64 19464, !20, i64 19468, !20, i64 19472, !38, i64 19476, !38, i64 19492, !13, i64 19508, !13, i64 19512, !13, i64 19516, !50, i64 19520, !50, i64 19576, !50, i64 19632, !50, i64 19688, !13, i64 19744, !13, i64 19748, !13, i64 19752, !13, i64 19756, !11, i64 19760, !11, i64 19761, !13, i64 19764, !13, i64 19768, !6, i64 19776, !6, i64 19784, !6, i64 19792, !15, i64 19800, !15, i64 19804, !11, i64 19808, !51, i64 19812, !14, i64 19816, !14, i64 19824, !15, i64 19832, !11, i64 19836, !11, i64 19837, !11, i64 19838, !13, i64 19840, !13, i64 19844, !13, i64 19848, !52, i64 19856, !38, i64 19920, !38, i64 19936, !13, i64 19952, !13, i64 19956, !15, i64 19960, !13, i64 19964, !13, i64 19968, !13, i64 19972, !13, i64 19976, !53, i64 19984, !7, i64 20000, !13, i64 20016, !54, i64 20024, !6, i64 20040, !13, i64 20048, !13, i64 20052, !55, i64 20056, !56, i64 20072, !58, i64 20112, !59, i64 20128, !6, i64 20144, !60, i64 20152, !62, i64 20192, !63, i64 20208, !13, i64 20224, !13, i64 20228, !15, i64 20232, !15, i64 20236, !13, i64 20240, !13, i64 20244, !13, i64 20248, !15, i64 20252, !14, i64 20256, !64, i64 20264, !68, i64 24000, !69, i64 24024, !13, i64 24144, !36, i64 24148, !13, i64 24156, !13, i64 24160, !13, i64 24164, !13, i64 24168, !13, i64 24172, !15, i64 24176, !15, i64 24180, !13, i64 24184, !22, i64 24188, !71, i64 24204, !38, i64 24252, !11, i64 24268, !16, i64 24270, !15, i64 24272, !15, i64 24276, !15, i64 24280, !11, i64 24284, !11, i64 24285, !15, i64 24288, !15, i64 24292, !15, i64 24296, !16, i64 24300, !16, i64 24302, !16, i64 24304, !65, i64 24312, !72, i64 24328, !73, i64 24344, !75, i64 24448, !75, i64 24464, !11, i64 24480, !15, i64 24484, !76, i64 24488, !77, i64 24504, !78, i64 24520, !79, i64 24536, !80, i64 24552, !13, i64 24568, !7, i64 24576, !11, i64 24640, !81, i64 24644, !6, i64 24648, !76, i64 24656, !6, i64 24672, !6, i64 24680, !15, i64 24688, !11, i64 24692, !13, i64 24696, !13, i64 24700, !13, i64 24704, !13, i64 24708, !76, i64 24712, !82, i64 24728, !13, i64 24752, !7, i64 24756, !7, i64 24757, !11, i64 24758, !13, i64 24760, !7, i64 24764, !11, i64 24765, !7, i64 24766, !13, i64 24768, !15, i64 24772, !22, i64 24776, !83, i64 24792, !84, i64 24824, !86, i64 24864, !7, i64 24924, !13, i64 25164, !13, i64 25168, !15, i64 25172, !13, i64 25176, !13, i64 25180, !13, i64 25184, !65, i64 25192, !7, i64 25208}
!11 = !{!"bool", !7, i64 0}
!12 = !{!"_ZTS7ImGuiIO", !13, i64 0, !13, i64 4, !14, i64 8, !15, i64 16, !15, i64 20, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !15, i64 56, !11, i64 60, !6, i64 64, !14, i64 72, !11, i64 80, !11, i64 81, !11, i64 82, !11, i64 83, !11, i64 84, !11, i64 85, !11, i64 86, !11, i64 87, !15, i64 88, !15, i64 92, !15, i64 96, !15, i64 100, !15, i64 104, !15, i64 108, !11, i64 112, !11, i64 113, !11, i64 114, !11, i64 115, !11, i64 116, !6, 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, !16, i64 192, !11, i64 194, !11, i64 195, !11, i64 196, !11, i64 197, !11, i64 198, !11, i64 199, !11, i64 200, !15, i64 204, !13, i64 208, !13, i64 212, !13, i64 216, !13, i64 220, !14, i64 224, !6, i64 232, !14, i64 240, !7, i64 248, !15, i64 256, !15, i64 260, !17, i64 264, !11, i64 268, !11, i64 269, !11, i64 270, !11, i64 271, !13, i64 272, !7, i64 276, !11, i64 10932, !14, i64 10936, !7, i64 10944, !7, i64 10984, !7, i64 11024, !7, i64 11029, !7, i64 11034, !7, i64 11044, !7, i64 11054, !7, i64 11059, !7, i64 11064, !11, i64 11069, !11, i64 11070, !7, i64 11072, !7, i64 11092, !7, i64 11112, !15, i64 11132, !11, i64 11136, !11, i64 11137, !7, i64 11138, !11, i64 11139, !16, i64 11140, !18, i64 11144, !7, i64 11160, !7, i64 13824, !7, i64 14492}
!13 = !{!"int", !7, i64 0}
!14 = !{!"_ZTS6ImVec2", !15, i64 0, !15, i64 4}
!15 = !{!"float", !7, i64 0}
!16 = !{!"short", !7, i64 0}
!17 = !{!"_ZTS16ImGuiMouseSource", !7, i64 0}
!18 = !{!"_ZTS8ImVectorItE", !13, i64 0, !13, i64 4, !6, i64 8}
!19 = !{!"_ZTS10ImGuiStyle", !15, i64 0, !15, i64 4, !14, i64 8, !15, i64 16, !15, i64 20, !14, i64 24, !14, i64 32, !20, i64 40, !15, i64 44, !15, i64 48, !15, i64 52, !15, i64 56, !14, i64 60, !15, i64 68, !15, i64 72, !14, i64 76, !14, i64 84, !14, i64 92, !14, i64 100, !15, i64 108, !15, i64 112, !15, i64 116, !15, i64 120, !15, i64 124, !15, i64 128, !15, i64 132, !15, i64 136, !15, i64 140, !15, i64 144, !15, i64 148, !15, i64 152, !14, i64 156, !20, i64 164, !14, i64 168, !14, i64 176, !15, i64 184, !14, i64 188, !14, i64 196, !14, i64 204, !14, i64 212, !15, i64 220, !11, i64 224, !11, i64 225, !11, i64 226, !15, i64 228, !15, i64 232, !7, i64 236, !15, i64 1116, !15, i64 1120, !15, i64 1124, !13, i64 1128, !13, i64 1132}
!20 = !{!"_ZTS8ImGuiDir", !7, i64 0}
!21 = !{!"_ZTS20ImDrawListSharedData", !14, i64 0, !6, i64 8, !15, i64 16, !15, i64 20, !15, i64 24, !22, i64 28, !13, i64 44, !23, i64 48, !7, i64 64, !15, i64 448, !7, i64 452, !6, i64 520}
!22 = !{!"_ZTS6ImVec4", !15, i64 0, !15, i64 4, !15, i64 8, !15, i64 12}
!23 = !{!"_ZTS8ImVectorI6ImVec2E", !13, i64 0, !13, i64 4, !6, i64 8}
!24 = !{!"double", !7, i64 0}
!25 = !{!"_ZTS8ImVectorI15ImGuiInputEventE", !13, i64 0, !13, i64 4, !6, i64 8}
!26 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !13, i64 0, !13, i64 4, !6, i64 8}
!27 = !{!"_ZTS8ImVectorI20ImGuiWindowStackDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!28 = !{!"_ZTS12ImGuiStorage", !29, i64 0}
!29 = !{!"_ZTS8ImVectorI16ImGuiStoragePairE", !13, i64 0, !13, i64 4, !6, i64 8}
!30 = !{!"_ZTS16ImGuiInputSource", !7, i64 0}
!31 = !{!"_ZTS10ImBitArrayILi154ELin512EE", !7, i64 0}
!32 = !{!"_ZTS20ImGuiKeyRoutingTable", !7, i64 0, !33, i64 312, !33, i64 328}
!33 = !{!"_ZTS8ImVectorI19ImGuiKeyRoutingDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!34 = !{!"_ZTS17ImGuiNextItemData", !13, i64 0, !13, i64 4, !35, i64 8, !15, i64 16, !13, i64 20, !13, i64 24, !11, i64 28, !7, i64 29, !36, i64 30}
!35 = !{!"long long", !7, i64 0}
!36 = !{!"_ZTS20ImGuiDataTypeStorage", !7, i64 0}
!37 = !{!"_ZTS17ImGuiLastItemData", !13, i64 0, !13, i64 4, !13, i64 8, !38, i64 12, !38, i64 28, !38, i64 44, !38, i64 60, !13, i64 76}
!38 = !{!"_ZTS6ImRect", !14, i64 0, !14, i64 8}
!39 = !{!"_ZTS19ImGuiNextWindowData", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12, !14, i64 16, !14, i64 24, !14, i64 32, !14, i64 40, !14, i64 48, !13, i64 56, !11, i64 60, !38, i64 64, !6, i64 80, !6, i64 88, !15, i64 96, !14, i64 100, !13, i64 108}
!40 = !{!"_ZTS8ImVectorI13ImGuiColorModE", !13, i64 0, !13, i64 4, !6, i64 8}
!41 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !13, i64 0, !13, i64 4, !6, i64 8}
!42 = !{!"_ZTS8ImVectorIP6ImFontE", !13, i64 0, !13, i64 4, !6, i64 8}
!43 = !{!"_ZTS8ImVectorI19ImGuiFocusScopeDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!44 = !{!"_ZTS8ImVectorIiE", !13, i64 0, !13, i64 4, !6, i64 8}
!45 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!46 = !{!"_ZTS8ImVectorI14ImGuiPopupDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!47 = !{!"_ZTS8ImVectorI20ImGuiNavTreeNodeDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!48 = !{!"_ZTS8ImVectorIP14ImGuiViewportPE", !13, i64 0, !13, i64 4, !6, i64 8}
!49 = !{!"_ZTS13ImGuiNavLayer", !7, i64 0}
!50 = !{!"_ZTS16ImGuiNavItemData", !6, i64 0, !13, i64 8, !13, i64 12, !38, i64 16, !13, i64 32, !15, i64 36, !15, i64 40, !15, i64 44, !35, i64 48}
!51 = !{!"_ZTS8ImGuiKey", !7, i64 0}
!52 = !{!"_ZTS12ImGuiPayload", !6, i64 0, !13, i64 8, !13, i64 12, !13, i64 16, !13, i64 20, !7, i64 24, !11, i64 57, !11, i64 58}
!53 = !{!"_ZTS8ImVectorIhE", !13, i64 0, !13, i64 4, !6, i64 8}
!54 = !{!"_ZTS8ImVectorI20ImGuiListClipperDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!55 = !{!"_ZTS8ImVectorI18ImGuiTableTempDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!56 = !{!"_ZTS6ImPoolI10ImGuiTableE", !57, i64 0, !28, i64 16, !13, i64 32, !13, i64 36}
!57 = !{!"_ZTS8ImVectorI10ImGuiTableE", !13, i64 0, !13, i64 4, !6, i64 8}
!58 = !{!"_ZTS8ImVectorIfE", !13, i64 0, !13, i64 4, !6, i64 8}
!59 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !13, i64 0, !13, i64 4, !6, i64 8}
!60 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !61, i64 0, !28, i64 16, !13, i64 32, !13, i64 36}
!61 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !13, i64 0, !13, i64 4, !6, i64 8}
!62 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !13, i64 0, !13, i64 4, !6, i64 8}
!63 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !13, i64 0, !13, i64 4, !6, i64 8}
!64 = !{!"_ZTS19ImGuiInputTextState", !6, i64 0, !13, i64 8, !13, i64 12, !13, i64 16, !18, i64 24, !65, i64 40, !65, i64 56, !11, i64 72, !13, i64 76, !15, i64 80, !66, i64 84, !15, i64 3712, !11, i64 3716, !11, i64 3717, !11, i64 3718, !13, i64 3720, !11, i64 3724, !13, i64 3728, !13, i64 3732}
!65 = !{!"_ZTS8ImVectorIcE", !13, i64 0, !13, i64 4, !6, i64 8}
!66 = !{!"_ZTSN5ImStb17STB_TexteditStateE", !13, i64 0, !13, i64 4, !13, i64 8, !7, i64 12, !13, i64 16, !7, i64 20, !7, i64 21, !7, i64 22, !7, i64 23, !7, i64 24, !7, i64 25, !7, i64 26, !15, i64 28, !67, i64 32}
!67 = !{!"_ZTSN5ImStb12StbUndoStateE", !7, i64 0, !7, i64 1584, !16, i64 3582, !16, i64 3584, !13, i64 3588, !13, i64 3592}
!68 = !{!"_ZTS30ImGuiInputTextDeactivatedState", !13, i64 0, !65, i64 8}
!69 = !{!"_ZTS6ImFont", !58, i64 0, !15, i64 16, !15, i64 20, !18, i64 24, !70, i64 40, !6, i64 56, !6, i64 64, !6, i64 72, !16, i64 80, !16, i64 82, !16, i64 84, !16, i64 86, !15, i64 88, !15, i64 92, !11, i64 96, !15, i64 100, !15, i64 104, !15, i64 108, !13, i64 112, !7, i64 116}
!70 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !13, i64 0, !13, i64 4, !6, i64 8}
!71 = !{!"_ZTS21ImGuiComboPreviewData", !38, i64 0, !14, i64 16, !14, i64 24, !14, i64 32, !15, i64 40, !13, i64 44}
!72 = !{!"_ZTS8ImVectorIjE", !13, i64 0, !13, i64 4, !6, i64 8}
!73 = !{!"_ZTS22ImGuiTypingSelectState", !74, i64 0, !7, i64 24, !13, i64 88, !13, i64 92, !15, i64 96, !11, i64 100}
!74 = !{!"_ZTS24ImGuiTypingSelectRequest", !13, i64 0, !13, i64 4, !6, i64 8, !11, i64 16, !11, i64 17, !7, i64 18}
!75 = !{!"_ZTS20ImGuiPlatformImeData", !11, i64 0, !14, i64 4, !15, i64 12}
!76 = !{!"_ZTS15ImGuiTextBuffer", !65, i64 0}
!77 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !13, i64 0, !13, i64 4, !6, i64 8}
!78 = !{!"_ZTS13ImChunkStreamI19ImGuiWindowSettingsE", !65, i64 0}
!79 = !{!"_ZTS13ImChunkStreamI18ImGuiTableSettingsE", !65, i64 0}
!80 = !{!"_ZTS8ImVectorI16ImGuiContextHookE", !13, i64 0, !13, i64 4, !6, i64 8}
!81 = !{!"_ZTS12ImGuiLogType", !7, i64 0}
!82 = !{!"_ZTS14ImGuiTextIndex", !44, i64 0, !13, i64 16}
!83 = !{!"_ZTS18ImGuiMetricsConfig", !11, i64 0, !11, i64 1, !11, i64 2, !11, i64 3, !11, i64 4, !11, i64 5, !11, i64 6, !11, i64 7, !11, i64 8, !13, i64 12, !13, i64 16, !13, i64 20, !13, i64 24}
!84 = !{!"_ZTS16ImGuiIDStackTool", !13, i64 0, !13, i64 4, !13, i64 8, !85, i64 16, !11, i64 32, !15, i64 36}
!85 = !{!"_ZTS8ImVectorI19ImGuiStackLevelInfoE", !13, i64 0, !13, i64 4, !6, i64 8}
!86 = !{!"_ZTS19ImGuiDebugAllocInfo", !13, i64 0, !13, i64 4, !16, i64 8, !7, i64 12}
!87 = !{!13, !13, i64 0}
!88 = !{!10, !6, i64 16456}
!89 = !{!90, !6, i64 912}
!90 = !{!"_ZTS11ImGuiWindow", !6, i64 0, !6, i64 8, !13, i64 16, !13, i64 20, !13, i64 24, !6, i64 32, !14, i64 40, !14, i64 48, !14, i64 56, !14, i64 64, !14, i64 72, !14, i64 80, !14, i64 88, !15, i64 96, !15, i64 100, !15, i64 104, !15, i64 108, !15, i64 112, !15, i64 116, !15, i64 120, !15, i64 124, !15, i64 128, !15, i64 132, !13, i64 136, !13, i64 140, !13, i64 144, !13, i64 148, !14, i64 152, !14, i64 160, !14, i64 168, !14, i64 176, !14, i64 184, !14, i64 192, !11, i64 200, !11, i64 201, !11, i64 202, !11, i64 203, !11, i64 204, !11, i64 205, !11, i64 206, !11, i64 207, !11, i64 208, !11, i64 209, !11, i64 210, !11, i64 211, !11, i64 212, !11, i64 213, !7, i64 214, !7, i64 215, !16, i64 216, !16, i64 218, !16, i64 220, !16, i64 222, !16, i64 224, !7, i64 226, !7, i64 227, !11, i64 228, !20, i64 232, !7, i64 236, !7, i64 237, !7, i64 238, !7, i64 239, !13, i64 240, !13, i64 241, !13, i64 242, !14, i64 244, !14, i64 252, !72, i64 264, !91, i64 280, !38, i64 512, !38, i64 528, !38, i64 544, !38, i64 560, !38, i64 576, !38, i64 592, !38, i64 608, !94, i64 624, !94, i64 628, !13, i64 632, !15, i64 636, !15, i64 640, !28, i64 648, !95, i64 664, !15, i64 680, !13, i64 684, !6, i64 688, !96, i64 696, !6, i64 896, !6, i64 904, !6, i64 912, !6, i64 920, !6, i64 928, !6, i64 936, !6, i64 944, !6, i64 952, !7, i64 960, !7, i64 968, !7, i64 1000, !13, i64 1016, !13, i64 1020, !13, i64 1024, !11, i64 1028}
!91 = !{!"_ZTS19ImGuiWindowTempData", !14, i64 0, !14, i64 8, !14, i64 16, !14, i64 24, !14, i64 32, !14, i64 40, !14, i64 48, !15, i64 56, !15, i64 60, !11, i64 64, !11, i64 65, !92, i64 68, !92, i64 72, !92, i64 76, !14, i64 80, !49, i64 88, !16, i64 92, !16, i64 94, !11, i64 96, !11, i64 97, !11, i64 98, !11, i64 99, !14, i64 100, !93, i64 108, !13, i64 136, !13, i64 140, !26, i64 144, !6, i64 160, !6, i64 168, !13, i64 176, !13, i64 180, !13, i64 184, !13, i64 188, !15, i64 192, !15, i64 196, !58, i64 200, !58, i64 216}
!92 = !{!"_ZTS6ImVec1", !15, i64 0}
!93 = !{!"_ZTS16ImGuiMenuColumns", !13, i64 0, !13, i64 4, !16, i64 8, !16, i64 10, !16, i64 12, !16, i64 14, !16, i64 16, !7, i64 18}
!94 = !{!"_ZTS8ImVec2ih", !16, i64 0, !16, i64 2}
!95 = !{!"_ZTS8ImVectorI15ImGuiOldColumnsE", !13, i64 0, !13, i64 4, !6, i64 8}
!96 = !{!"_ZTS10ImDrawList", !97, i64 0, !18, i64 16, !98, i64 32, !13, i64 48, !13, i64 52, !6, i64 56, !6, i64 64, !6, i64 72, !23, i64 80, !99, i64 96, !100, i64 128, !101, i64 152, !102, i64 168, !15, i64 184, !6, i64 192}
!97 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !13, i64 0, !13, i64 4, !6, i64 8}
!98 = !{!"_ZTS8ImVectorI10ImDrawVertE", !13, i64 0, !13, i64 4, !6, i64 8}
!99 = !{!"_ZTS15ImDrawCmdHeader", !22, i64 0, !6, i64 16, !13, i64 24}
!100 = !{!"_ZTS18ImDrawListSplitter", !13, i64 0, !13, i64 4, !59, i64 8}
!101 = !{!"_ZTS8ImVectorI6ImVec4E", !13, i64 0, !13, i64 4, !6, i64 8}
!102 = !{!"_ZTS8ImVectorIPvE", !13, i64 0, !13, i64 4, !6, i64 8}
!103 = !{!10, !11, i64 19836}
!104 = !{i8 0, i8 2}
!105 = !{}
!106 = !{!10, !13, i64 19840}
!107 = !{!10, !15, i64 16544}
!108 = !{!10, !15, i64 24}
!109 = !{!10, !13, i64 19976}
!110 = !{!10, !11, i64 276}
!111 = !{!10, !11, i64 277}
!112 = !{!10, !11, i64 278}
!113 = !{!10, !13, i64 16556}
!114 = !{!16, !16, i64 0}
!115 = !{!15, !15, i64 0}
!116 = !{!10, !15, i64 112}
!117 = !{!10, !11, i64 19386}
!118 = !{!10, !13, i64 19304}
!119 = !{!10, !11, i64 19387}
!120 = !{!10, !13, i64 19320}
!121 = !{!10, !13, i64 19316}
!122 = !{!10, !13, i64 19324}
!123 = !{!124, !15, i64 4}
!124 = !{!"_ZTS12ImGuiKeyData", !11, i64 0, !15, i64 4, !15, i64 8, !15, i64 12}
!125 = !{!10, !15, i64 116}
!126 = !{!10, !30, i64 19368}
!127 = !{!10, !30, i64 16592}
!128 = !{!10, !13, i64 19328}
!129 = !{!10, !11, i64 16574}
!130 = !{!10, !11, i64 16568}
!131 = !{!11, !11, i64 0}
!132 = !{!10, !11, i64 16571}
!133 = !{!10, !13, i64 19352}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LCSSAPass,LoopRotatePass,LoopSimplifyPass,PostOrderFunctionAttrsPass,ReassociatePass,SCCPPass,SROAPass,SimplifyCFGPass,TailCallElimPass