; LLVM IR from BrunoLevy/learn-fpga :: LiteX/software/Libs/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, %struct.ImDrawListSharedData, double, i32, i32, i32, i8, i8, i8, i8, i8, [7 x i8], ptr, %struct.ImVector.0, %struct.ImVector.0, %struct.ImVector.0, %struct.ImVector.11, %struct.ImGuiStorage, i32, %struct.ImVec2, [4 x i8], ptr, ptr, ptr, ptr, ptr, %struct.ImVec2, float, i32, i32, i32, i8, i8, i8, i8, float, float, i32, i32, float, i8, i8, i8, i8, i8, i8, i8, i8, i32, i32, i64, %struct.ImVec2, ptr, i32, i32, i32, i8, i8, [2 x i8], ptr, i32, float, i32, %struct.ImGuiNextItemData, %struct.ImGuiLastItemData, [4 x i8], %struct.ImGuiNextWindowData, %struct.ImVector.12, %struct.ImVector.13, %struct.ImVector.14, %struct.ImVector, %struct.ImVector.15, %struct.ImVector.16, %struct.ImVector.17, %struct.ImVector.17, i32, [4 x i8], %struct.ImVector.18, ptr, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i8, i8, i8, i8, i8, i8, i8, i8, i32, %struct.ImRect, i8, i8, i8, i8, i32, i32, i32, i32, i32, i32, %struct.ImRect, %struct.ImRect, i32, i32, i32, [4 x i8], %struct.ImGuiNavItemData, %struct.ImGuiNavItemData, %struct.ImGuiNavItemData, %struct.ImGuiNavItemData, ptr, ptr, ptr, float, float, i8, [3 x i8], float, i32, i8, i8, i8, i8, i32, i32, i32, [4 x i8], %struct.ImGuiPayload, %struct.ImRect, i32, i32, float, i32, i32, i32, i32, [4 x i8], %struct.ImVector.19, [16 x i8], i32, [4 x i8], %struct.ImVector.20, ptr, i32, [4 x i8], %struct.ImVector.21, %struct.ImPool, %struct.ImVector.1, %struct.ImVector.10, ptr, %struct.ImPool.23, %struct.ImVector.25, %struct.ImVector.26, %struct.ImVec2, %struct.ImGuiInputTextState, %struct.ImFont, i32, i32, float, float, i32, %struct.ImVec4, %struct.ImGuiComboPreviewData, float, i8, i8, [2 x i8], float, float, float, float, i16, i16, float, [4 x i8], %struct.ImVector.27, %struct.ImVector, %struct.ImVec2, %struct.ImVec2, i8, i8, [2 x i8], float, %struct.ImGuiTextBuffer, %struct.ImVector.29, %struct.ImChunkStream, %struct.ImChunkStream.30, %struct.ImVector.31, i32, i8, [3 x i8], i32, [4 x i8], ptr, %struct.ImGuiTextBuffer, ptr, ptr, float, i8, [3 x i8], i32, i32, i32, i8, [3 x i8], i32, %struct.ImGuiMetricsConfig, [4 x i8], %struct.ImGuiStackTool, [120 x float], i32, i32, float, i32, i32, i32, [3073 x i8], [7 x i8] }>
%struct.ImGuiIO = type { i32, i32, %struct.ImVec2, float, float, ptr, ptr, float, float, float, [22 x i32], float, float, ptr, ptr, float, i8, ptr, %struct.ImVec2, i8, i8, i8, i8, i8, i8, float, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, %struct.ImVec2, [5 x i8], float, float, i8, i8, i8, i8, [512 x i8], [20 x float], i8, i8, i8, i8, i8, i8, i8, float, i32, i32, i32, i32, i32, %struct.ImVec2, i8, i32, i32, %struct.ImVec2, [5 x %struct.ImVec2], [5 x double], [5 x i8], [5 x i8], [5 x i16], [5 x i16], [5 x i8], [5 x i8], [5 x i8], [5 x float], [5 x float], [5 x %struct.ImVec2], [5 x float], [512 x float], [512 x float], [20 x float], [20 x float], float, i8, i16, %struct.ImVector.5 }
%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, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, i8, i8, i8, float, float, [53 x %struct.ImVec4] }
%struct.ImDrawListSharedData = type { %struct.ImVec2, ptr, float, float, float, %struct.ImVec4, i32, [48 x %struct.ImVec2], float, [64 x i8], ptr }
%struct.ImVector.0 = type { i32, i32, ptr }
%struct.ImVector.11 = type { i32, i32, ptr }
%struct.ImGuiStorage = type { %struct.ImVector.2 }
%struct.ImVector.2 = type { i32, i32, ptr }
%struct.ImGuiNextItemData = type <{ i32, float, i32, i32, i8, [3 x i8] }>
%struct.ImGuiLastItemData = type { i32, i32, i32, %struct.ImRect, %struct.ImRect, %struct.ImRect }
%struct.ImGuiNextWindowData = type <{ i32, i32, i32, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, i8, [3 x i8], %struct.ImRect, [4 x i8], ptr, ptr, float, %struct.ImVec2, [4 x i8] }>
%struct.ImVector.12 = type { i32, i32, ptr }
%struct.ImVector.13 = type { i32, i32, ptr }
%struct.ImVector.14 = type { i32, i32, ptr }
%struct.ImVector.15 = type { i32, i32, ptr }
%struct.ImVector.16 = type { i32, i32, ptr }
%struct.ImVector.17 = type { i32, i32, ptr }
%struct.ImVector.18 = type { i32, i32, ptr }
%struct.ImGuiNavItemData = type { ptr, i32, i32, %struct.ImRect, i32, float, float, float }
%struct.ImGuiPayload = type <{ ptr, i32, i32, i32, i32, [33 x i8], i8, i8, [5 x i8] }>
%struct.ImRect = type { %struct.ImVec2, %struct.ImVec2 }
%struct.ImVector.19 = type { i32, i32, ptr }
%struct.ImVector.20 = type { i32, i32, ptr }
%struct.ImVector.21 = type { i32, i32, ptr }
%struct.ImPool = type { %struct.ImVector.22, %struct.ImGuiStorage, i32, i32 }
%struct.ImVector.22 = type { i32, i32, ptr }
%struct.ImVector.1 = type { i32, i32, ptr }
%struct.ImVector.10 = type { i32, i32, ptr }
%struct.ImPool.23 = type { %struct.ImVector.24, %struct.ImGuiStorage, i32, i32 }
%struct.ImVector.24 = type { i32, i32, ptr }
%struct.ImVector.25 = type { i32, i32, ptr }
%struct.ImVector.26 = type { i32, i32, ptr }
%struct.ImGuiInputTextState = type <{ i32, i32, i32, [4 x i8], %struct.ImVector.5, %struct.ImVector.27, %struct.ImVector.27, i8, [3 x i8], i32, float, %"struct.ImStb::STB_TexteditState", float, i8, i8, i8, i8, i32, [4 x i8] }>
%"struct.ImStb::STB_TexteditState" = type { i32, i32, i32, i8, i32, i8, i8, i8, i8, i8, i8, i8, float, %"struct.ImStb::StbUndoState" }
%"struct.ImStb::StbUndoState" = type { [99 x %"struct.ImStb::StbUndoRecord"], [999 x i16], i16, i16, i32, i32 }
%"struct.ImStb::StbUndoRecord" = type { i32, i32, i32, i32 }
%struct.ImFont = type <{ %struct.ImVector.1, float, float, %struct.ImVector.5, %struct.ImVector.28, ptr, ptr, ptr, i16, i16, i16, i16, i8, [3 x i8], float, float, float, i32, [2 x i8], [2 x i8] }>
%struct.ImVector.28 = type { i32, i32, ptr }
%struct.ImVec4 = type { float, float, float, float }
%struct.ImGuiComboPreviewData = type { %struct.ImRect, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, i32 }
%struct.ImVector.27 = type { i32, i32, ptr }
%struct.ImVector = type { i32, i32, ptr }
%struct.ImVector.29 = type { i32, i32, ptr }
%struct.ImChunkStream = type { %struct.ImVector.27 }
%struct.ImChunkStream.30 = type { %struct.ImVector.27 }
%struct.ImVector.31 = type { i32, i32, ptr }
%struct.ImGuiTextBuffer = type { %struct.ImVector.27 }
%struct.ImGuiMetricsConfig = type { i8, i8, i8, i8, i8, i8, i32, i32 }
%struct.ImGuiStackTool = type { i32, i32, i32, %struct.ImVector.32 }
%struct.ImVector.32 = type { i32, i32, ptr }
%struct.ImGuiWindow = type <{ ptr, i32, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, float, 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, i16, i16, i16, i16, [2 x i8], i32, i8, i8, i8, i8, i32, i8, i8, i8, i8, i32, %struct.ImVec2, %struct.ImVec2, %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, [2 x i32], [2 x %struct.ImRect], i32, i32, i8, [7 x i8] }>
%struct.ImGuiWindowTempData = type { %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, float, %struct.ImVec1, %struct.ImVec1, %struct.ImVec1, %struct.ImVec2, i32, i16, i16, i32, i8, i8, i8, %struct.ImVec2, %struct.ImGuiMenuColumns, i32, i32, %struct.ImVector.0, ptr, ptr, 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, ptr, %struct.ImVector.7, %struct.ImVector.8, %struct.ImVector.9, %struct.ImDrawCmdHeader, %struct.ImDrawListSplitter, float, [4 x i8] }>
%struct.ImVector.4 = type { i32, i32, ptr }
%struct.ImVector.6 = type { i32, i32, ptr }
%struct.ImVector.7 = type { i32, i32, ptr }
%struct.ImVector.8 = type { i32, i32, ptr }
%struct.ImVector.9 = type { i32, i32, ptr }
%struct.ImDrawCmdHeader = type <{ %struct.ImVec4, ptr, i32, [4 x i8] }>
%struct.ImDrawListSplitter = type { i32, i32, %struct.ImVector.10 }

@GImGui = external global ptr, align 8
@.str.1 = external hidden unnamed_addr constant [59 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [98 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 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: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #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)) #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 ptr, align 8
  %14 = alloca i8, align 1
  %15 = alloca i8, align 1
  %16 = alloca i8, align 1
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i8, align 1
  %20 = alloca i8, align 1
  %21 = alloca i8, align 1
  %22 = alloca i8, align 1
  %23 = alloca %struct.ImVec2, align 4
  %24 = alloca i32, align 4
  %25 = alloca i8, align 1
  %26 = alloca i8, align 1
  %27 = alloca i8, align 1
  %28 = 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
  %29 = load ptr, ptr @GImGui, align 8, !tbaa !5
  store ptr %29, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #8
  %30 = call noundef ptr @_ZN5ImGui16GetCurrentWindowEv()
  store ptr %30, ptr %12, align 8, !tbaa !5
  %31 = load i32, ptr %10, align 4, !tbaa !9
  %32 = and i32 %31, 7
  %33 = icmp eq i32 %32, 0
  br i1 %33, label %34, label %37

34:                                               ; preds = %5
  %35 = load i32, ptr %10, align 4, !tbaa !9
  %36 = or i32 %35, 1
  store i32 %36, ptr %10, align 4, !tbaa !9
  br label %37

37:                                               ; preds = %34, %5
  %38 = load i32, ptr %10, align 4, !tbaa !9
  %39 = and i32 %38, 1008
  %40 = icmp eq i32 %39, 0
  br i1 %40, label %41, label %44

41:                                               ; preds = %37
  %42 = load i32, ptr %10, align 4, !tbaa !9
  %43 = or i32 %42, 32
  store i32 %43, ptr %10, align 4, !tbaa !9
  br label %44

44:                                               ; preds = %41, %37
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #8
  %45 = load ptr, ptr %11, align 8, !tbaa !5
  %46 = getelementptr inbounds %struct.ImGuiContext, ptr %45, i32 0, i32 29
  %47 = load ptr, ptr %46, align 8, !tbaa !11
  store ptr %47, ptr %13, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %14) #8
  %48 = load i32, ptr %10, align 4, !tbaa !9
  %49 = and i32 %48, 2048
  %50 = icmp ne i32 %49, 0
  br i1 %50, label %51, label %64

51:                                               ; preds = %44
  %52 = load ptr, ptr %11, align 8, !tbaa !5
  %53 = getelementptr inbounds %struct.ImGuiContext, ptr %52, i32 0, i32 29
  %54 = load ptr, ptr %53, align 8, !tbaa !11
  %55 = icmp ne ptr %54, null
  br i1 %55, label %56, label %64

56:                                               ; preds = %51
  %57 = load ptr, ptr %11, align 8, !tbaa !5
  %58 = getelementptr inbounds %struct.ImGuiContext, ptr %57, i32 0, i32 29
  %59 = load ptr, ptr %58, align 8, !tbaa !11
  %60 = getelementptr inbounds %struct.ImGuiWindow, ptr %59, i32 0, i32 76
  %61 = load ptr, ptr %60, align 8, !tbaa !71
  %62 = load ptr, ptr %12, align 8, !tbaa !5
  %63 = icmp eq ptr %61, %62
  br label %64

64:                                               ; preds = %56, %51, %44
  %65 = phi i1 [ false, %51 ], [ false, %44 ], [ %63, %56 ]
  %66 = zext i1 %65 to i8
  store i8 %66, ptr %14, align 1, !tbaa !86
  %67 = load i8, ptr %14, align 1, !tbaa !86, !range !87, !noundef !88
  %68 = trunc i8 %67 to i1
  br i1 %68, label %69, label %73

69:                                               ; preds = %64
  %70 = load ptr, ptr %12, align 8, !tbaa !5
  %71 = load ptr, ptr %11, align 8, !tbaa !5
  %72 = getelementptr inbounds %struct.ImGuiContext, ptr %71, i32 0, i32 29
  store ptr %70, ptr %72, align 8, !tbaa !11
  br label %73

73:                                               ; preds = %69, %64
  call void @llvm.lifetime.start.p0(i64 1, ptr %15) #8
  store i8 0, ptr %15, align 1, !tbaa !86
  call void @llvm.lifetime.start.p0(i64 1, ptr %16) #8
  %74 = load ptr, ptr %6, align 8, !tbaa !5
  %75 = load i32, ptr %7, align 4, !tbaa !9
  %76 = call noundef zeroext i1 @_ZN5ImGui13ItemHoverableERK6ImRectj(ptr noundef nonnull align 4 dereferenceable(16) %74, i32 noundef %75)
  %77 = zext i1 %76 to i8
  store i8 %77, ptr %16, align 1, !tbaa !86
  %78 = load i8, ptr %16, align 1, !tbaa !86, !range !87, !noundef !88
  %79 = trunc i8 %78 to i1
  br i1 %79, label %80, label %99

80:                                               ; preds = %73
  %81 = load ptr, ptr %11, align 8, !tbaa !5
  %82 = getelementptr inbounds %struct.ImGuiContext, ptr %81, i32 0, i32 139
  %83 = load i8, ptr %82, align 4, !tbaa !89, !range !87, !noundef !88
  %84 = trunc i8 %83 to i1
  br i1 %84, label %85, label %99

85:                                               ; preds = %80
  %86 = load ptr, ptr %11, align 8, !tbaa !5
  %87 = getelementptr inbounds %struct.ImGuiContext, ptr %86, i32 0, i32 147
  %88 = getelementptr inbounds %struct.ImGuiPayload, ptr %87, i32 0, i32 2
  %89 = load i32, ptr %88, align 4, !tbaa !90
  %90 = load i32, ptr %7, align 4, !tbaa !9
  %91 = icmp eq i32 %89, %90
  br i1 %91, label %92, label %99

92:                                               ; preds = %85
  %93 = load ptr, ptr %11, align 8, !tbaa !5
  %94 = getelementptr inbounds %struct.ImGuiContext, ptr %93, i32 0, i32 143
  %95 = load i32, ptr %94, align 8, !tbaa !91
  %96 = and i32 %95, 2
  %97 = icmp ne i32 %96, 0
  br i1 %97, label %99, label %98

98:                                               ; preds = %92
  store i8 0, ptr %16, align 1, !tbaa !86
  br label %99

99:                                               ; preds = %98, %92, %85, %80, %73
  %100 = load ptr, ptr %11, align 8, !tbaa !5
  %101 = getelementptr inbounds %struct.ImGuiContext, ptr %100, i32 0, i32 139
  %102 = load i8, ptr %101, align 4, !tbaa !89, !range !87, !noundef !88
  %103 = trunc i8 %102 to i1
  br i1 %103, label %104, label %139

104:                                              ; preds = %99
  %105 = load i32, ptr %10, align 4, !tbaa !9
  %106 = and i32 %105, 512
  %107 = icmp ne i32 %106, 0
  br i1 %107, label %108, label %139

108:                                              ; preds = %104
  %109 = load ptr, ptr %11, align 8, !tbaa !5
  %110 = getelementptr inbounds %struct.ImGuiContext, ptr %109, i32 0, i32 143
  %111 = load i32, ptr %110, align 8, !tbaa !91
  %112 = and i32 %111, 4
  %113 = icmp ne i32 %112, 0
  br i1 %113, label %139, label %114

114:                                              ; preds = %108
  %115 = call noundef zeroext i1 @_ZN5ImGui13IsItemHoveredEi(i32 noundef 128)
  br i1 %115, label %116, label %138

116:                                              ; preds = %114
  store i8 1, ptr %16, align 1, !tbaa !86
  %117 = load i32, ptr %7, align 4, !tbaa !9
  call void @_ZN5ImGui12SetHoveredIDEj(i32 noundef %117)
  %118 = load ptr, ptr %11, align 8, !tbaa !5
  %119 = getelementptr inbounds %struct.ImGuiContext, ptr %118, i32 0, i32 42
  %120 = load float, ptr %119, align 4, !tbaa !92
  %121 = load ptr, ptr %11, align 8, !tbaa !5
  %122 = getelementptr inbounds %struct.ImGuiContext, ptr %121, i32 0, i32 3
  %123 = getelementptr inbounds %struct.ImGuiIO, ptr %122, i32 0, i32 3
  %124 = load float, ptr %123, align 8, !tbaa !93
  %125 = fsub float %120, %124
  %126 = fcmp ole float %125, 0x3FE6666660000000
  br i1 %126, label %127, label %137

127:                                              ; preds = %116
  %128 = load ptr, ptr %11, align 8, !tbaa !5
  %129 = getelementptr inbounds %struct.ImGuiContext, ptr %128, i32 0, i32 42
  %130 = load float, ptr %129, align 4, !tbaa !92
  %131 = fcmp oge float %130, 0x3FE6666660000000
  br i1 %131, label %132, label %137

132:                                              ; preds = %127
  store i8 1, ptr %15, align 1, !tbaa !86
  %133 = load i32, ptr %7, align 4, !tbaa !9
  %134 = load ptr, ptr %11, align 8, !tbaa !5
  %135 = getelementptr inbounds %struct.ImGuiContext, ptr %134, i32 0, i32 155
  store i32 %133, ptr %135, align 8, !tbaa !94
  %136 = load ptr, ptr %12, align 8, !tbaa !5
  call void @_ZN5ImGui11FocusWindowEP11ImGuiWindow(ptr noundef %136)
  br label %137

137:                                              ; preds = %132, %127, %116
  br label %138

138:                                              ; preds = %137, %114
  br label %139

139:                                              ; preds = %138, %108, %104, %99
  %140 = load i8, ptr %14, align 1, !tbaa !86, !range !87, !noundef !88
  %141 = trunc i8 %140 to i1
  br i1 %141, label %142, label %146

142:                                              ; preds = %139
  %143 = load ptr, ptr %13, align 8, !tbaa !5
  %144 = load ptr, ptr %11, align 8, !tbaa !5
  %145 = getelementptr inbounds %struct.ImGuiContext, ptr %144, i32 0, i32 29
  store ptr %143, ptr %145, align 8, !tbaa !11
  br label %146

146:                                              ; preds = %142, %139
  %147 = load i8, ptr %16, align 1, !tbaa !86, !range !87, !noundef !88
  %148 = trunc i8 %147 to i1
  br i1 %148, label %149, label %165

149:                                              ; preds = %146
  %150 = load i32, ptr %10, align 4, !tbaa !9
  %151 = and i32 %150, 4096
  %152 = icmp ne i32 %151, 0
  br i1 %152, label %153, label %165

153:                                              ; preds = %149
  %154 = load ptr, ptr %11, align 8, !tbaa !5
  %155 = getelementptr inbounds %struct.ImGuiContext, ptr %154, i32 0, i32 37
  %156 = load i32, ptr %155, align 4, !tbaa !95
  %157 = load i32, ptr %7, align 4, !tbaa !9
  %158 = icmp ne i32 %156, %157
  br i1 %158, label %159, label %165

159:                                              ; preds = %153
  %160 = load ptr, ptr %11, align 8, !tbaa !5
  %161 = getelementptr inbounds %struct.ImGuiContext, ptr %160, i32 0, i32 37
  %162 = load i32, ptr %161, align 4, !tbaa !95
  %163 = icmp ne i32 %162, 0
  br i1 %163, label %164, label %165

164:                                              ; preds = %159
  store i8 0, ptr %16, align 1, !tbaa !86
  br label %165

165:                                              ; preds = %164, %159, %153, %149, %146
  %166 = load i8, ptr %16, align 1, !tbaa !86, !range !87, !noundef !88
  %167 = trunc i8 %166 to i1
  br i1 %167, label %168, label %406

168:                                              ; preds = %165
  %169 = load i32, ptr %10, align 4, !tbaa !9
  %170 = and i32 %169, 65536
  %171 = icmp ne i32 %170, 0
  br i1 %171, label %172, label %190

172:                                              ; preds = %168
  %173 = load ptr, ptr %11, align 8, !tbaa !5
  %174 = getelementptr inbounds %struct.ImGuiContext, ptr %173, i32 0, i32 3
  %175 = getelementptr inbounds %struct.ImGuiIO, ptr %174, i32 0, i32 40
  %176 = load i8, ptr %175, align 8, !tbaa !96, !range !87, !noundef !88
  %177 = trunc i8 %176 to i1
  br i1 %177, label %399, label %178

178:                                              ; preds = %172
  %179 = load ptr, ptr %11, align 8, !tbaa !5
  %180 = getelementptr inbounds %struct.ImGuiContext, ptr %179, i32 0, i32 3
  %181 = getelementptr inbounds %struct.ImGuiIO, ptr %180, i32 0, i32 41
  %182 = load i8, ptr %181, align 1, !tbaa !97, !range !87, !noundef !88
  %183 = trunc i8 %182 to i1
  br i1 %183, label %399, label %184

184:                                              ; preds = %178
  %185 = load ptr, ptr %11, align 8, !tbaa !5
  %186 = getelementptr inbounds %struct.ImGuiContext, ptr %185, i32 0, i32 3
  %187 = getelementptr inbounds %struct.ImGuiIO, ptr %186, i32 0, i32 42
  %188 = load i8, ptr %187, align 2, !tbaa !98, !range !87, !noundef !88
  %189 = trunc i8 %188 to i1
  br i1 %189, label %399, label %190

190:                                              ; preds = %184, %168
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #8
  store i32 -1, ptr %17, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #8
  store i32 -1, ptr %18, align 4, !tbaa !9
  %191 = load i32, ptr %10, align 4, !tbaa !9
  %192 = and i32 %191, 1
  %193 = icmp ne i32 %192, 0
  br i1 %193, label %194, label %202

194:                                              ; preds = %190
  %195 = load ptr, ptr %11, align 8, !tbaa !5
  %196 = getelementptr inbounds %struct.ImGuiContext, ptr %195, i32 0, i32 3
  %197 = getelementptr inbounds %struct.ImGuiIO, ptr %196, i32 0, i32 66
  %198 = getelementptr inbounds [5 x i8], ptr %197, i64 0, i64 0
  %199 = load i8, ptr %198, align 8, !tbaa !86, !range !87, !noundef !88
  %200 = trunc i8 %199 to i1
  br i1 %200, label %201, label %202

201:                                              ; preds = %194
  store i32 0, ptr %17, align 4, !tbaa !9
  br label %228

202:                                              ; preds = %194, %190
  %203 = load i32, ptr %10, align 4, !tbaa !9
  %204 = and i32 %203, 2
  %205 = icmp ne i32 %204, 0
  br i1 %205, label %206, label %214

206:                                              ; preds = %202
  %207 = load ptr, ptr %11, align 8, !tbaa !5
  %208 = getelementptr inbounds %struct.ImGuiContext, ptr %207, i32 0, i32 3
  %209 = getelementptr inbounds %struct.ImGuiIO, ptr %208, i32 0, i32 66
  %210 = getelementptr inbounds [5 x i8], ptr %209, i64 0, i64 1
  %211 = load i8, ptr %210, align 1, !tbaa !86, !range !87, !noundef !88
  %212 = trunc i8 %211 to i1
  br i1 %212, label %213, label %214

213:                                              ; preds = %206
  store i32 1, ptr %17, align 4, !tbaa !9
  br label %227

214:                                              ; preds = %206, %202
  %215 = load i32, ptr %10, align 4, !tbaa !9
  %216 = and i32 %215, 4
  %217 = icmp ne i32 %216, 0
  br i1 %217, label %218, label %226

218:                                              ; preds = %214
  %219 = load ptr, ptr %11, align 8, !tbaa !5
  %220 = getelementptr inbounds %struct.ImGuiContext, ptr %219, i32 0, i32 3
  %221 = getelementptr inbounds %struct.ImGuiIO, ptr %220, i32 0, i32 66
  %222 = getelementptr inbounds [5 x i8], ptr %221, i64 0, i64 2
  %223 = load i8, ptr %222, align 2, !tbaa !86, !range !87, !noundef !88
  %224 = trunc i8 %223 to i1
  br i1 %224, label %225, label %226

225:                                              ; preds = %218
  store i32 2, ptr %17, align 4, !tbaa !9
  br label %226

226:                                              ; preds = %225, %218, %214
  br label %227

227:                                              ; preds = %226, %213
  br label %228

228:                                              ; preds = %227, %201
  %229 = load i32, ptr %10, align 4, !tbaa !9
  %230 = and i32 %229, 1
  %231 = icmp ne i32 %230, 0
  br i1 %231, label %232, label %240

232:                                              ; preds = %228
  %233 = load ptr, ptr %11, align 8, !tbaa !5
  %234 = getelementptr inbounds %struct.ImGuiContext, ptr %233, i32 0, i32 3
  %235 = getelementptr inbounds %struct.ImGuiIO, ptr %234, i32 0, i32 70
  %236 = getelementptr inbounds [5 x i8], ptr %235, i64 0, i64 0
  %237 = load i8, ptr %236, align 2, !tbaa !86, !range !87, !noundef !88
  %238 = trunc i8 %237 to i1
  br i1 %238, label %239, label %240

239:                                              ; preds = %232
  store i32 0, ptr %18, align 4, !tbaa !9
  br label %266

240:                                              ; preds = %232, %228
  %241 = load i32, ptr %10, align 4, !tbaa !9
  %242 = and i32 %241, 2
  %243 = icmp ne i32 %242, 0
  br i1 %243, label %244, label %252

244:                                              ; preds = %240
  %245 = load ptr, ptr %11, align 8, !tbaa !5
  %246 = getelementptr inbounds %struct.ImGuiContext, ptr %245, i32 0, i32 3
  %247 = getelementptr inbounds %struct.ImGuiIO, ptr %246, i32 0, i32 70
  %248 = getelementptr inbounds [5 x i8], ptr %247, i64 0, i64 1
  %249 = load i8, ptr %248, align 1, !tbaa !86, !range !87, !noundef !88
  %250 = trunc i8 %249 to i1
  br i1 %250, label %251, label %252

251:                                              ; preds = %244
  store i32 1, ptr %18, align 4, !tbaa !9
  br label %265

252:                                              ; preds = %244, %240
  %253 = load i32, ptr %10, align 4, !tbaa !9
  %254 = and i32 %253, 4
  %255 = icmp ne i32 %254, 0
  br i1 %255, label %256, label %264

256:                                              ; preds = %252
  %257 = load ptr, ptr %11, align 8, !tbaa !5
  %258 = getelementptr inbounds %struct.ImGuiContext, ptr %257, i32 0, i32 3
  %259 = getelementptr inbounds %struct.ImGuiIO, ptr %258, i32 0, i32 70
  %260 = getelementptr inbounds [5 x i8], ptr %259, i64 0, i64 2
  %261 = load i8, ptr %260, align 2, !tbaa !86, !range !87, !noundef !88
  %262 = trunc i8 %261 to i1
  br i1 %262, label %263, label %264

263:                                              ; preds = %256
  store i32 2, ptr %18, align 4, !tbaa !9
  br label %264

264:                                              ; preds = %263, %256, %252
  br label %265

265:                                              ; preds = %264, %251
  br label %266

266:                                              ; preds = %265, %239
  %267 = load i32, ptr %17, align 4, !tbaa !9
  %268 = icmp ne i32 %267, -1
  br i1 %268, label %269, label %332

269:                                              ; preds = %266
  %270 = load ptr, ptr %11, align 8, !tbaa !5
  %271 = getelementptr inbounds %struct.ImGuiContext, ptr %270, i32 0, i32 44
  %272 = load i32, ptr %271, align 4, !tbaa !99
  %273 = load i32, ptr %7, align 4, !tbaa !9
  %274 = icmp ne i32 %272, %273
  br i1 %274, label %275, label %332

275:                                              ; preds = %269
  %276 = load i32, ptr %10, align 4, !tbaa !9
  %277 = and i32 %276, 96
  %278 = icmp ne i32 %277, 0
  br i1 %278, label %279, label %293

279:                                              ; preds = %275
  %280 = load i32, ptr %7, align 4, !tbaa !9
  %281 = load ptr, ptr %12, align 8, !tbaa !5
  call void @_ZN5ImGui11SetActiveIDEjP11ImGuiWindow(i32 noundef %280, ptr noundef %281)
  %282 = load i32, ptr %17, align 4, !tbaa !9
  %283 = load ptr, ptr %11, align 8, !tbaa !5
  %284 = getelementptr inbounds %struct.ImGuiContext, ptr %283, i32 0, i32 61
  store i32 %282, ptr %284, align 4, !tbaa !100
  %285 = load i32, ptr %10, align 4, !tbaa !9
  %286 = and i32 %285, 262144
  %287 = icmp ne i32 %286, 0
  br i1 %287, label %291, label %288

288:                                              ; preds = %279
  %289 = load i32, ptr %7, align 4, !tbaa !9
  %290 = load ptr, ptr %12, align 8, !tbaa !5
  call void @_ZN5ImGui10SetFocusIDEjP11ImGuiWindow(i32 noundef %289, ptr noundef %290)
  br label %291

291:                                              ; preds = %288, %279
  %292 = load ptr, ptr %12, align 8, !tbaa !5
  call void @_ZN5ImGui11FocusWindowEP11ImGuiWindow(ptr noundef %292)
  br label %293

293:                                              ; preds = %291, %275
  %294 = load i32, ptr %10, align 4, !tbaa !9
  %295 = and i32 %294, 16
  %296 = icmp ne i32 %295, 0
  br i1 %296, label %311, label %297

297:                                              ; preds = %293
  %298 = load i32, ptr %10, align 4, !tbaa !9
  %299 = and i32 %298, 256
  %300 = icmp ne i32 %299, 0
  br i1 %300, label %301, label %331

301:                                              ; preds = %297
  %302 = load ptr, ptr %11, align 8, !tbaa !5
  %303 = getelementptr inbounds %struct.ImGuiContext, ptr %302, i32 0, i32 3
  %304 = getelementptr inbounds %struct.ImGuiIO, ptr %303, i32 0, i32 68
  %305 = load i32, ptr %17, align 4, !tbaa !9
  %306 = sext i32 %305 to i64
  %307 = getelementptr inbounds [5 x i16], ptr %304, i64 0, i64 %306
  %308 = load i16, ptr %307, align 2, !tbaa !101
  %309 = zext i16 %308 to i32
  %310 = icmp eq i32 %309, 2
  br i1 %310, label %311, label %331

311:                                              ; preds = %301, %293
  store i8 1, ptr %15, align 1, !tbaa !86
  %312 = load i32, ptr %10, align 4, !tbaa !9
  %313 = and i32 %312, 131072
  %314 = icmp ne i32 %313, 0
  br i1 %314, label %315, label %316

315:                                              ; preds = %311
  call void @_ZN5ImGui13ClearActiveIDEv()
  br label %319

316:                                              ; preds = %311
  %317 = load i32, ptr %7, align 4, !tbaa !9
  %318 = load ptr, ptr %12, align 8, !tbaa !5
  call void @_ZN5ImGui11SetActiveIDEjP11ImGuiWindow(i32 noundef %317, ptr noundef %318)
  br label %319

319:                                              ; preds = %316, %315
  %320 = load i32, ptr %10, align 4, !tbaa !9
  %321 = and i32 %320, 262144
  %322 = icmp ne i32 %321, 0
  br i1 %322, label %326, label %323

323:                                              ; preds = %319
  %324 = load i32, ptr %7, align 4, !tbaa !9
  %325 = load ptr, ptr %12, align 8, !tbaa !5
  call void @_ZN5ImGui10SetFocusIDEjP11ImGuiWindow(i32 noundef %324, ptr noundef %325)
  br label %326

326:                                              ; preds = %323, %319
  %327 = load i32, ptr %17, align 4, !tbaa !9
  %328 = load ptr, ptr %11, align 8, !tbaa !5
  %329 = getelementptr inbounds %struct.ImGuiContext, ptr %328, i32 0, i32 61
  store i32 %327, ptr %329, align 4, !tbaa !100
  %330 = load ptr, ptr %12, align 8, !tbaa !5
  call void @_ZN5ImGui11FocusWindowEP11ImGuiWindow(ptr noundef %330)
  br label %331

331:                                              ; preds = %326, %301, %297
  br label %332

332:                                              ; preds = %331, %269, %266
  %333 = load i32, ptr %10, align 4, !tbaa !9
  %334 = and i32 %333, 128
  %335 = icmp ne i32 %334, 0
  br i1 %335, label %336, label %370

336:                                              ; preds = %332
  %337 = load i32, ptr %18, align 4, !tbaa !9
  %338 = icmp ne i32 %337, -1
  br i1 %338, label %339, label %370

339:                                              ; preds = %336
  call void @llvm.lifetime.start.p0(i64 1, ptr %19) #8
  %340 = load i32, ptr %10, align 4, !tbaa !9
  %341 = and i32 %340, 1024
  %342 = icmp ne i32 %341, 0
  br i1 %342, label %343, label %356

343:                                              ; preds = %339
  %344 = load ptr, ptr %11, align 8, !tbaa !5
  %345 = getelementptr inbounds %struct.ImGuiContext, ptr %344, i32 0, i32 3
  %346 = getelementptr inbounds %struct.ImGuiIO, ptr %345, i32 0, i32 74
  %347 = load i32, ptr %18, align 4, !tbaa !9
  %348 = sext i32 %347 to i64
  %349 = getelementptr inbounds [5 x float], ptr %346, i64 0, i64 %348
  %350 = load float, ptr %349, align 4, !tbaa !102
  %351 = load ptr, ptr %11, align 8, !tbaa !5
  %352 = getelementptr inbounds %struct.ImGuiContext, ptr %351, i32 0, i32 3
  %353 = getelementptr inbounds %struct.ImGuiIO, ptr %352, i32 0, i32 11
  %354 = load float, ptr %353, align 4, !tbaa !103
  %355 = fcmp oge float %350, %354
  br label %356

356:                                              ; preds = %343, %339
  %357 = phi i1 [ false, %339 ], [ %355, %343 ]
  %358 = zext i1 %357 to i8
  store i8 %358, ptr %19, align 1, !tbaa !86
  %359 = load i8, ptr %19, align 1, !tbaa !86, !range !87, !noundef !88
  %360 = trunc i8 %359 to i1
  br i1 %360, label %362, label %361

361:                                              ; preds = %356
  store i8 1, ptr %15, align 1, !tbaa !86
  br label %362

362:                                              ; preds = %361, %356
  %363 = load i32, ptr %10, align 4, !tbaa !9
  %364 = and i32 %363, 262144
  %365 = icmp ne i32 %364, 0
  br i1 %365, label %369, label %366

366:                                              ; preds = %362
  %367 = load i32, ptr %7, align 4, !tbaa !9
  %368 = load ptr, ptr %12, align 8, !tbaa !5
  call void @_ZN5ImGui10SetFocusIDEjP11ImGuiWindow(i32 noundef %367, ptr noundef %368)
  br label %369

369:                                              ; preds = %366, %362
  call void @_ZN5ImGui13ClearActiveIDEv()
  call void @llvm.lifetime.end.p0(i64 1, ptr %19) #8
  br label %370

370:                                              ; preds = %369, %336, %332
  %371 = load ptr, ptr %11, align 8, !tbaa !5
  %372 = getelementptr inbounds %struct.ImGuiContext, ptr %371, i32 0, i32 44
  %373 = load i32, ptr %372, align 4, !tbaa !99
  %374 = load i32, ptr %7, align 4, !tbaa !9
  %375 = icmp eq i32 %373, %374
  br i1 %375, label %376, label %398

376:                                              ; preds = %370
  %377 = load i32, ptr %10, align 4, !tbaa !9
  %378 = and i32 %377, 1024
  %379 = icmp ne i32 %378, 0
  br i1 %379, label %380, label %398

380:                                              ; preds = %376
  %381 = load ptr, ptr %11, align 8, !tbaa !5
  %382 = getelementptr inbounds %struct.ImGuiContext, ptr %381, i32 0, i32 3
  %383 = getelementptr inbounds %struct.ImGuiIO, ptr %382, i32 0, i32 73
  %384 = load ptr, ptr %11, align 8, !tbaa !5
  %385 = getelementptr inbounds %struct.ImGuiContext, ptr %384, i32 0, i32 61
  %386 = load i32, ptr %385, align 4, !tbaa !100
  %387 = sext i32 %386 to i64
  %388 = getelementptr inbounds [5 x float], ptr %383, i64 0, i64 %387
  %389 = load float, ptr %388, align 4, !tbaa !102
  %390 = fcmp ogt float %389, 0.000000e+00
  br i1 %390, label %391, label %397

391:                                              ; preds = %380
  %392 = load ptr, ptr %11, align 8, !tbaa !5
  %393 = getelementptr inbounds %struct.ImGuiContext, ptr %392, i32 0, i32 61
  %394 = load i32, ptr %393, align 4, !tbaa !100
  %395 = call noundef zeroext i1 @_ZN5ImGui14IsMouseClickedEib(i32 noundef %394, i1 noundef zeroext true)
  br i1 %395, label %396, label %397

396:                                              ; preds = %391
  store i8 1, ptr %15, align 1, !tbaa !86
  br label %397

397:                                              ; preds = %396, %391, %380
  br label %398

398:                                              ; preds = %397, %376, %370
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #8
  br label %399

399:                                              ; preds = %398, %184, %178, %172
  %400 = load i8, ptr %15, align 1, !tbaa !86, !range !87, !noundef !88
  %401 = trunc i8 %400 to i1
  br i1 %401, label %402, label %405

402:                                              ; preds = %399
  %403 = load ptr, ptr %11, align 8, !tbaa !5
  %404 = getelementptr inbounds %struct.ImGuiContext, ptr %403, i32 0, i32 102
  store i8 1, ptr %404, align 2, !tbaa !104
  br label %405

405:                                              ; preds = %402, %399
  br label %406

406:                                              ; preds = %405, %165
  %407 = load ptr, ptr %11, align 8, !tbaa !5
  %408 = getelementptr inbounds %struct.ImGuiContext, ptr %407, i32 0, i32 86
  %409 = load i32, ptr %408, align 8, !tbaa !105
  %410 = load i32, ptr %7, align 4, !tbaa !9
  %411 = icmp eq i32 %409, %410
  br i1 %411, label %412, label %447

412:                                              ; preds = %406
  %413 = load ptr, ptr %11, align 8, !tbaa !5
  %414 = getelementptr inbounds %struct.ImGuiContext, ptr %413, i32 0, i32 102
  %415 = load i8, ptr %414, align 2, !tbaa !104, !range !87, !noundef !88
  %416 = trunc i8 %415 to i1
  br i1 %416, label %447, label %417

417:                                              ; preds = %412
  %418 = load ptr, ptr %11, align 8, !tbaa !5
  %419 = getelementptr inbounds %struct.ImGuiContext, ptr %418, i32 0, i32 103
  %420 = load i8, ptr %419, align 1, !tbaa !106, !range !87, !noundef !88
  %421 = trunc i8 %420 to i1
  br i1 %421, label %422, label %447

422:                                              ; preds = %417
  %423 = load ptr, ptr %11, align 8, !tbaa !5
  %424 = getelementptr inbounds %struct.ImGuiContext, ptr %423, i32 0, i32 44
  %425 = load i32, ptr %424, align 4, !tbaa !99
  %426 = icmp eq i32 %425, 0
  br i1 %426, label %441, label %427

427:                                              ; preds = %422
  %428 = load ptr, ptr %11, align 8, !tbaa !5
  %429 = getelementptr inbounds %struct.ImGuiContext, ptr %428, i32 0, i32 44
  %430 = load i32, ptr %429, align 4, !tbaa !99
  %431 = load i32, ptr %7, align 4, !tbaa !9
  %432 = icmp eq i32 %430, %431
  br i1 %432, label %441, label %433

433:                                              ; preds = %427
  %434 = load ptr, ptr %11, align 8, !tbaa !5
  %435 = getelementptr inbounds %struct.ImGuiContext, ptr %434, i32 0, i32 44
  %436 = load i32, ptr %435, align 4, !tbaa !99
  %437 = load ptr, ptr %12, align 8, !tbaa !5
  %438 = getelementptr inbounds %struct.ImGuiWindow, ptr %437, i32 0, i32 13
  %439 = load i32, ptr %438, align 4, !tbaa !107
  %440 = icmp eq i32 %436, %439
  br i1 %440, label %441, label %447

441:                                              ; preds = %433, %427, %422
  %442 = load i32, ptr %10, align 4, !tbaa !9
  %443 = and i32 %442, 524288
  %444 = icmp ne i32 %443, 0
  br i1 %444, label %446, label %445

445:                                              ; preds = %441
  store i8 1, ptr %16, align 1, !tbaa !86
  br label %446

446:                                              ; preds = %445, %441
  br label %447

447:                                              ; preds = %446, %433, %417, %412, %406
  %448 = load ptr, ptr %11, align 8, !tbaa !5
  %449 = getelementptr inbounds %struct.ImGuiContext, ptr %448, i32 0, i32 89
  %450 = load i32, ptr %449, align 4, !tbaa !108
  %451 = load i32, ptr %7, align 4, !tbaa !9
  %452 = icmp eq i32 %450, %451
  br i1 %452, label %453, label %485

453:                                              ; preds = %447
  call void @llvm.lifetime.start.p0(i64 1, ptr %20) #8
  %454 = load ptr, ptr %11, align 8, !tbaa !5
  %455 = getelementptr inbounds %struct.ImGuiContext, ptr %454, i32 0, i32 88
  %456 = load i32, ptr %455, align 8, !tbaa !109
  %457 = load i32, ptr %7, align 4, !tbaa !9
  %458 = icmp eq i32 %456, %457
  %459 = zext i1 %458 to i8
  store i8 %459, ptr %20, align 1, !tbaa !86
  call void @llvm.lifetime.start.p0(i64 1, ptr %21) #8
  %460 = load i32, ptr %10, align 4, !tbaa !9
  %461 = and i32 %460, 1024
  %462 = icmp ne i32 %461, 0
  %463 = zext i1 %462 to i64
  %464 = select i1 %462, i32 3, i32 1
  %465 = call noundef zeroext i1 @_ZN5ImGui14IsNavInputTestEi18ImGuiInputReadMode(i32 noundef 0, i32 noundef %464)
  %466 = zext i1 %465 to i8
  store i8 %466, ptr %21, align 1, !tbaa !86
  %467 = load i8, ptr %20, align 1, !tbaa !86, !range !87, !noundef !88
  %468 = trunc i8 %467 to i1
  br i1 %468, label %472, label %469

469:                                              ; preds = %453
  %470 = load i8, ptr %21, align 1, !tbaa !86, !range !87, !noundef !88
  %471 = trunc i8 %470 to i1
  br i1 %471, label %472, label %484

472:                                              ; preds = %469, %453
  store i8 1, ptr %15, align 1, !tbaa !86
  %473 = load i32, ptr %7, align 4, !tbaa !9
  %474 = load ptr, ptr %12, align 8, !tbaa !5
  call void @_ZN5ImGui11SetActiveIDEjP11ImGuiWindow(i32 noundef %473, ptr noundef %474)
  %475 = load ptr, ptr %11, align 8, !tbaa !5
  %476 = getelementptr inbounds %struct.ImGuiContext, ptr %475, i32 0, i32 60
  store i32 4, ptr %476, align 8, !tbaa !110
  %477 = load i32, ptr %10, align 4, !tbaa !9
  %478 = and i32 %477, 262144
  %479 = icmp ne i32 %478, 0
  br i1 %479, label %483, label %480

480:                                              ; preds = %472
  %481 = load i32, ptr %7, align 4, !tbaa !9
  %482 = load ptr, ptr %12, align 8, !tbaa !5
  call void @_ZN5ImGui10SetFocusIDEjP11ImGuiWindow(i32 noundef %481, ptr noundef %482)
  br label %483

483:                                              ; preds = %480, %472
  br label %484

484:                                              ; preds = %483, %469
  call void @llvm.lifetime.end.p0(i64 1, ptr %21) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %20) #8
  br label %485

485:                                              ; preds = %484, %447
  call void @llvm.lifetime.start.p0(i64 1, ptr %22) #8
  store i8 0, ptr %22, align 1, !tbaa !86
  %486 = load ptr, ptr %11, align 8, !tbaa !5
  %487 = getelementptr inbounds %struct.ImGuiContext, ptr %486, i32 0, i32 44
  %488 = load i32, ptr %487, align 4, !tbaa !99
  %489 = load i32, ptr %7, align 4, !tbaa !9
  %490 = icmp eq i32 %488, %489
  br i1 %490, label %491, label %640

491:                                              ; preds = %485
  %492 = load ptr, ptr %11, align 8, !tbaa !5
  %493 = getelementptr inbounds %struct.ImGuiContext, ptr %492, i32 0, i32 60
  %494 = load i32, ptr %493, align 8, !tbaa !110
  %495 = icmp eq i32 %494, 1
  br i1 %495, label %496, label %619

496:                                              ; preds = %491
  %497 = load ptr, ptr %11, align 8, !tbaa !5
  %498 = getelementptr inbounds %struct.ImGuiContext, ptr %497, i32 0, i32 47
  %499 = load i8, ptr %498, align 8, !tbaa !111, !range !87, !noundef !88
  %500 = trunc i8 %499 to i1
  br i1 %500, label %501, label %510

501:                                              ; preds = %496
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #8
  %502 = load ptr, ptr %11, align 8, !tbaa !5
  %503 = getelementptr inbounds %struct.ImGuiContext, ptr %502, i32 0, i32 3
  %504 = getelementptr inbounds %struct.ImGuiIO, ptr %503, i32 0, i32 36
  %505 = load ptr, ptr %6, align 8, !tbaa !5
  %506 = getelementptr inbounds %struct.ImRect, ptr %505, i32 0, i32 0
  %507 = call <2 x float> @_ZmiRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %504, ptr noundef nonnull align 4 dereferenceable(8) %506)
  store <2 x float> %507, ptr %23, align 4
  %508 = load ptr, ptr %11, align 8, !tbaa !5
  %509 = getelementptr inbounds %struct.ImGuiContext, ptr %508, i32 0, i32 58
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %509, ptr align 4 %23, i64 8, i1 false), !tbaa.struct !112
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #8
  br label %510

510:                                              ; preds = %501, %496
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #8
  %511 = load ptr, ptr %11, align 8, !tbaa !5
  %512 = getelementptr inbounds %struct.ImGuiContext, ptr %511, i32 0, i32 61
  %513 = load i32, ptr %512, align 4, !tbaa !100
  store i32 %513, ptr %24, align 4, !tbaa !9
  %514 = load i32, ptr %24, align 4, !tbaa !9
  %515 = icmp sge i32 %514, 0
  br i1 %515, label %516, label %519

516:                                              ; preds = %510
  %517 = load i32, ptr %24, align 4, !tbaa !9
  %518 = icmp slt i32 %517, 5
  br label %519

519:                                              ; preds = %516, %510
  %520 = phi i1 [ false, %510 ], [ %518, %516 ]
  br i1 %520, label %521, label %522

521:                                              ; preds = %519
  br label %524

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

523:                                              ; No predecessors!
  br label %524

524:                                              ; preds = %523, %521
  %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 37
  %528 = load i32, ptr %24, align 4, !tbaa !9
  %529 = sext i32 %528 to i64
  %530 = getelementptr inbounds [5 x i8], ptr %527, i64 0, i64 %529
  %531 = load i8, ptr %530, align 1, !tbaa !86, !range !87, !noundef !88
  %532 = trunc i8 %531 to i1
  br i1 %532, label %533, label %534

533:                                              ; preds = %524
  store i8 1, ptr %22, align 1, !tbaa !86
  br label %611

534:                                              ; preds = %524
  call void @llvm.lifetime.start.p0(i64 1, ptr %25) #8
  %535 = load i8, ptr %16, align 1, !tbaa !86, !range !87, !noundef !88
  %536 = trunc i8 %535 to i1
  br i1 %536, label %537, label %541

537:                                              ; preds = %534
  %538 = load i32, ptr %10, align 4, !tbaa !9
  %539 = and i32 %538, 32
  %540 = icmp ne i32 %539, 0
  br label %541

541:                                              ; preds = %537, %534
  %542 = phi i1 [ false, %534 ], [ %540, %537 ]
  %543 = zext i1 %542 to i8
  store i8 %543, ptr %25, align 1, !tbaa !86
  call void @llvm.lifetime.start.p0(i64 1, ptr %26) #8
  %544 = load i32, ptr %10, align 4, !tbaa !9
  %545 = and i32 %544, 64
  %546 = icmp ne i32 %545, 0
  %547 = zext i1 %546 to i8
  store i8 %547, ptr %26, align 1, !tbaa !86
  %548 = load i8, ptr %25, align 1, !tbaa !86, !range !87, !noundef !88
  %549 = trunc i8 %548 to i1
  br i1 %549, label %553, label %550

550:                                              ; preds = %541
  %551 = load i8, ptr %26, align 1, !tbaa !86, !range !87, !noundef !88
  %552 = trunc i8 %551 to i1
  br i1 %552, label %553, label %610

553:                                              ; preds = %550, %541
  %554 = load ptr, ptr %11, align 8, !tbaa !5
  %555 = getelementptr inbounds %struct.ImGuiContext, ptr %554, i32 0, i32 139
  %556 = load i8, ptr %555, align 4, !tbaa !89, !range !87, !noundef !88
  %557 = trunc i8 %556 to i1
  br i1 %557, label %610, label %558

558:                                              ; preds = %553
  call void @llvm.lifetime.start.p0(i64 1, ptr %27) #8
  %559 = load i32, ptr %10, align 4, !tbaa !9
  %560 = and i32 %559, 256
  %561 = icmp ne i32 %560, 0
  br i1 %561, label %562, label %581

562:                                              ; preds = %558
  %563 = load ptr, ptr %11, align 8, !tbaa !5
  %564 = getelementptr inbounds %struct.ImGuiContext, ptr %563, i32 0, i32 3
  %565 = getelementptr inbounds %struct.ImGuiIO, ptr %564, i32 0, i32 70
  %566 = load i32, ptr %24, align 4, !tbaa !9
  %567 = sext i32 %566 to i64
  %568 = getelementptr inbounds [5 x i8], ptr %565, i64 0, i64 %567
  %569 = load i8, ptr %568, align 1, !tbaa !86, !range !87, !noundef !88
  %570 = trunc i8 %569 to i1
  br i1 %570, label %571, label %581

571:                                              ; preds = %562
  %572 = load ptr, ptr %11, align 8, !tbaa !5
  %573 = getelementptr inbounds %struct.ImGuiContext, ptr %572, i32 0, i32 3
  %574 = getelementptr inbounds %struct.ImGuiIO, ptr %573, i32 0, i32 69
  %575 = load i32, ptr %24, align 4, !tbaa !9
  %576 = sext i32 %575 to i64
  %577 = getelementptr inbounds [5 x i16], ptr %574, i64 0, i64 %576
  %578 = load i16, ptr %577, align 2, !tbaa !101
  %579 = zext i16 %578 to i32
  %580 = icmp eq i32 %579, 2
  br label %581

581:                                              ; preds = %571, %562, %558
  %582 = phi i1 [ false, %562 ], [ false, %558 ], [ %580, %571 ]
  %583 = zext i1 %582 to i8
  store i8 %583, ptr %27, align 1, !tbaa !86
  call void @llvm.lifetime.start.p0(i64 1, ptr %28) #8
  %584 = load i32, ptr %10, align 4, !tbaa !9
  %585 = and i32 %584, 1024
  %586 = icmp ne i32 %585, 0
  br i1 %586, label %587, label %600

587:                                              ; preds = %581
  %588 = load ptr, ptr %11, align 8, !tbaa !5
  %589 = getelementptr inbounds %struct.ImGuiContext, ptr %588, i32 0, i32 3
  %590 = getelementptr inbounds %struct.ImGuiIO, ptr %589, i32 0, i32 74
  %591 = load i32, ptr %24, align 4, !tbaa !9
  %592 = sext i32 %591 to i64
  %593 = getelementptr inbounds [5 x float], ptr %590, i64 0, i64 %592
  %594 = load float, ptr %593, align 4, !tbaa !102
  %595 = load ptr, ptr %11, align 8, !tbaa !5
  %596 = getelementptr inbounds %struct.ImGuiContext, ptr %595, i32 0, i32 3
  %597 = getelementptr inbounds %struct.ImGuiIO, ptr %596, i32 0, i32 11
  %598 = load float, ptr %597, align 4, !tbaa !103
  %599 = fcmp oge float %594, %598
  br label %600

600:                                              ; preds = %587, %581
  %601 = phi i1 [ false, %581 ], [ %599, %587 ]
  %602 = zext i1 %601 to i8
  store i8 %602, ptr %28, align 1, !tbaa !86
  %603 = load i8, ptr %27, align 1, !tbaa !86, !range !87, !noundef !88
  %604 = trunc i8 %603 to i1
  br i1 %604, label %609, label %605

605:                                              ; preds = %600
  %606 = load i8, ptr %28, align 1, !tbaa !86, !range !87, !noundef !88
  %607 = trunc i8 %606 to i1
  br i1 %607, label %609, label %608

608:                                              ; preds = %605
  store i8 1, ptr %15, align 1, !tbaa !86
  br label %609

609:                                              ; preds = %608, %605, %600
  call void @llvm.lifetime.end.p0(i64 1, ptr %28) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %27) #8
  br label %610

610:                                              ; preds = %609, %553, %550
  call void @_ZN5ImGui13ClearActiveIDEv()
  call void @llvm.lifetime.end.p0(i64 1, ptr %26) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %25) #8
  br label %611

611:                                              ; preds = %610, %533
  %612 = load i32, ptr %10, align 4, !tbaa !9
  %613 = and i32 %612, 262144
  %614 = icmp ne i32 %613, 0
  br i1 %614, label %618, label %615

615:                                              ; preds = %611
  %616 = load ptr, ptr %11, align 8, !tbaa !5
  %617 = getelementptr inbounds %struct.ImGuiContext, ptr %616, i32 0, i32 102
  store i8 1, ptr %617, align 2, !tbaa !104
  br label %618

618:                                              ; preds = %615, %611
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #8
  br label %633

619:                                              ; preds = %491
  %620 = load ptr, ptr %11, align 8, !tbaa !5
  %621 = getelementptr inbounds %struct.ImGuiContext, ptr %620, i32 0, i32 60
  %622 = load i32, ptr %621, align 8, !tbaa !110
  %623 = icmp eq i32 %622, 4
  br i1 %623, label %624, label %632

624:                                              ; preds = %619
  %625 = load ptr, ptr %11, align 8, !tbaa !5
  %626 = getelementptr inbounds %struct.ImGuiContext, ptr %625, i32 0, i32 89
  %627 = load i32, ptr %626, align 4, !tbaa !108
  %628 = load i32, ptr %7, align 4, !tbaa !9
  %629 = icmp ne i32 %627, %628
  br i1 %629, label %630, label %631

630:                                              ; preds = %624
  call void @_ZN5ImGui13ClearActiveIDEv()
  br label %631

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

632:                                              ; preds = %631, %619
  br label %633

633:                                              ; preds = %632, %618
  %634 = load i8, ptr %15, align 1, !tbaa !86, !range !87, !noundef !88
  %635 = trunc i8 %634 to i1
  br i1 %635, label %636, label %639

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

639:                                              ; preds = %636, %633
  br label %640

640:                                              ; preds = %639, %485
  %641 = load ptr, ptr %8, align 8, !tbaa !5
  %642 = icmp ne ptr %641, null
  br i1 %642, label %643, label %648

643:                                              ; preds = %640
  %644 = load i8, ptr %16, align 1, !tbaa !86, !range !87, !noundef !88
  %645 = trunc i8 %644 to i1
  %646 = load ptr, ptr %8, align 8, !tbaa !5
  %647 = zext i1 %645 to i8
  store i8 %647, ptr %646, align 1, !tbaa !86
  br label %648

648:                                              ; preds = %643, %640
  %649 = load ptr, ptr %9, align 8, !tbaa !5
  %650 = icmp ne ptr %649, null
  br i1 %650, label %651, label %656

651:                                              ; preds = %648
  %652 = load i8, ptr %22, align 1, !tbaa !86, !range !87, !noundef !88
  %653 = trunc i8 %652 to i1
  %654 = load ptr, ptr %9, align 8, !tbaa !5
  %655 = zext i1 %653 to i8
  store i8 %655, ptr %654, align 1, !tbaa !86
  br label %656

656:                                              ; preds = %651, %648
  %657 = load i8, ptr %15, align 1, !tbaa !86, !range !87, !noundef !88
  %658 = trunc i8 %657 to i1
  call void @llvm.lifetime.end.p0(i64 1, ptr %22) #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 1, ptr %14) #8
  call void @llvm.lifetime.end.p0(i64 8, 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 %658
}

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

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

declare void @_ZN5ImGui12SetHoveredIDEj(i32 noundef) #5

declare void @_ZN5ImGui11FocusWindowEP11ImGuiWindow(ptr noundef) #5

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

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

declare void @_ZN5ImGui13ClearActiveIDEv() #5

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN5ImGui14IsNavInputTestEi18ImGuiInputReadMode(i32 noundef, i32 noundef) #6

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

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 = { 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 #7 = { 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 #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, !6, i64 7208}
!12 = !{!"_ZTS12ImGuiContext", !13, i64 0, !13, i64 1, !14, i64 8, !19, i64 5488, !6, i64 6536, !16, i64 6544, !16, i64 6548, !20, i64 6552, !22, i64 7064, !10, i64 7072, !10, i64 7076, !10, i64 7080, !13, i64 7084, !13, i64 7085, !13, i64 7086, !13, i64 7087, !13, i64 7088, !6, i64 7096, !23, i64 7104, !23, i64 7120, !23, i64 7136, !24, i64 7152, !25, i64 7168, !10, i64 7184, !15, i64 7188, !6, i64 7200, !6, i64 7208, !6, i64 7216, !6, i64 7224, !6, i64 7232, !15, i64 7240, !16, i64 7248, !10, i64 7252, !10, i64 7256, !10, i64 7260, !13, i64 7264, !13, i64 7265, !13, i64 7266, !13, i64 7267, !16, i64 7268, !16, i64 7272, !10, i64 7276, !10, i64 7280, !16, i64 7284, !13, i64 7288, !13, i64 7289, !13, i64 7290, !13, i64 7291, !13, i64 7292, !13, i64 7293, !13, i64 7294, !10, i64 7296, !10, i64 7300, !27, i64 7304, !15, i64 7312, !6, i64 7320, !28, i64 7328, !10, i64 7332, !10, i64 7336, !13, i64 7340, !13, i64 7341, !6, i64 7344, !10, i64 7352, !16, i64 7356, !10, i64 7360, !29, i64 7364, !30, i64 7384, !32, i64 7448, !33, i64 7560, !34, i64 7576, !35, i64 7592, !36, i64 7608, !37, i64 7624, !38, i64 7640, !39, i64 7656, !39, i64 7672, !10, i64 7688, !40, i64 7696, !6, i64 7712, !10, i64 7720, !10, i64 7724, !10, i64 7728, !10, i64 7732, !10, i64 7736, !10, i64 7740, !10, i64 7744, !10, i64 7748, !10, i64 7752, !10, i64 7756, !10, i64 7760, !10, i64 7764, !28, i64 7768, !41, i64 7772, !13, i64 7776, !13, i64 7777, !13, i64 7778, !13, i64 7779, !13, i64 7780, !13, i64 7781, !13, i64 7782, !10, i64 7784, !31, i64 7788, !13, i64 7804, !13, i64 7805, !13, i64 7806, !10, i64 7808, !10, i64 7812, !10, i64 7816, !10, i64 7820, !10, i64 7824, !10, i64 7828, !31, i64 7832, !31, i64 7848, !10, i64 7864, !10, i64 7868, !10, i64 7872, !42, i64 7880, !42, i64 7928, !42, i64 7976, !42, i64 8024, !6, i64 8072, !6, i64 8080, !6, i64 8088, !16, i64 8096, !16, i64 8100, !13, i64 8104, !16, i64 8108, !10, i64 8112, !13, i64 8116, !13, i64 8117, !13, i64 8118, !10, i64 8120, !10, i64 8124, !10, i64 8128, !43, i64 8136, !31, i64 8200, !10, i64 8216, !10, i64 8220, !16, i64 8224, !10, i64 8228, !10, i64 8232, !10, i64 8236, !10, i64 8240, !44, i64 8248, !7, i64 8264, !10, i64 8280, !45, i64 8288, !6, i64 8304, !10, i64 8312, !46, i64 8320, !47, i64 8336, !49, i64 8376, !50, i64 8392, !6, i64 8408, !51, i64 8416, !53, i64 8456, !54, i64 8472, !15, i64 8488, !55, i64 8496, !59, i64 12216, !10, i64 12328, !10, i64 12332, !16, i64 12336, !16, i64 12340, !10, i64 12344, !21, i64 12348, !61, i64 12364, !16, i64 12412, !13, i64 12416, !13, i64 12417, !16, i64 12420, !16, i64 12424, !16, i64 12428, !16, i64 12432, !17, i64 12436, !17, i64 12438, !16, i64 12440, !56, i64 12448, !36, i64 12464, !15, i64 12480, !15, i64 12488, !7, i64 12496, !13, i64 12497, !16, i64 12500, !62, i64 12504, !63, i64 12520, !64, i64 12536, !65, i64 12552, !66, i64 12568, !10, i64 12584, !13, i64 12588, !67, i64 12592, !6, i64 12600, !62, i64 12608, !6, i64 12624, !6, i64 12632, !16, i64 12640, !13, i64 12644, !10, i64 12648, !10, i64 12652, !10, i64 12656, !13, i64 12660, !10, i64 12664, !68, i64 12668, !69, i64 12688, !7, i64 12720, !10, i64 13200, !10, i64 13204, !16, i64 13208, !10, i64 13212, !10, i64 13216, !10, i64 13220, !7, i64 13224}
!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, !16, i64 40, !16, i64 44, !16, i64 48, !7, i64 52, !16, i64 140, !16, i64 144, !6, i64 152, !6, i64 160, !16, i64 168, !13, i64 172, !6, i64 176, !15, i64 184, !13, i64 192, !13, i64 193, !13, i64 194, !13, i64 195, !13, i64 196, !13, i64 197, !16, i64 200, !6, i64 208, !6, i64 216, !6, i64 224, !6, i64 232, !6, i64 240, !6, i64 248, !6, i64 256, !6, i64 264, !6, i64 272, !6, i64 280, !15, i64 288, !7, i64 296, !16, i64 304, !16, i64 308, !13, i64 312, !13, i64 313, !13, i64 314, !13, i64 315, !7, i64 316, !7, i64 828, !13, i64 908, !13, i64 909, !13, i64 910, !13, i64 911, !13, i64 912, !13, i64 913, !13, i64 914, !16, i64 916, !10, i64 920, !10, i64 924, !10, i64 928, !10, i64 932, !10, i64 936, !15, i64 940, !13, i64 948, !10, i64 952, !10, i64 956, !15, i64 960, !7, i64 968, !7, i64 1008, !7, i64 1048, !7, i64 1053, !7, i64 1058, !7, i64 1068, !7, i64 1078, !7, i64 1083, !7, i64 1088, !7, i64 1096, !7, i64 1116, !7, i64 1136, !7, i64 1176, !7, i64 1196, !7, i64 3244, !7, i64 5292, !7, i64 5372, !16, i64 5452, !13, i64 5456, !17, i64 5458, !18, i64 5464}
!15 = !{!"_ZTS6ImVec2", !16, i64 0, !16, i64 4}
!16 = !{!"float", !7, i64 0}
!17 = !{!"short", !7, i64 0}
!18 = !{!"_ZTS8ImVectorItE", !10, i64 0, !10, i64 4, !6, i64 8}
!19 = !{!"_ZTS10ImGuiStyle", !16, i64 0, !16, i64 4, !15, i64 8, !16, i64 16, !16, i64 20, !15, i64 24, !15, i64 32, !10, 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, !10, i64 148, !15, i64 152, !15, i64 160, !15, i64 168, !15, i64 176, !16, i64 184, !13, i64 188, !13, i64 189, !13, i64 190, !16, i64 192, !16, i64 196, !7, i64 200}
!20 = !{!"_ZTS20ImDrawListSharedData", !15, i64 0, !6, i64 8, !16, i64 16, !16, i64 20, !16, i64 24, !21, i64 28, !10, i64 44, !7, i64 48, !16, i64 432, !7, i64 436, !6, i64 504}
!21 = !{!"_ZTS6ImVec4", !16, i64 0, !16, i64 4, !16, i64 8, !16, i64 12}
!22 = !{!"double", !7, i64 0}
!23 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !10, i64 0, !10, i64 4, !6, i64 8}
!24 = !{!"_ZTS8ImVectorI20ImGuiWindowStackDataE", !10, i64 0, !10, i64 4, !6, i64 8}
!25 = !{!"_ZTS12ImGuiStorage", !26, i64 0}
!26 = !{!"_ZTS8ImVectorIN12ImGuiStorage16ImGuiStoragePairEE", !10, i64 0, !10, i64 4, !6, i64 8}
!27 = !{!"long long", !7, i64 0}
!28 = !{!"_ZTS16ImGuiInputSource", !7, i64 0}
!29 = !{!"_ZTS17ImGuiNextItemData", !10, i64 0, !16, i64 4, !10, i64 8, !10, i64 12, !13, i64 16}
!30 = !{!"_ZTS17ImGuiLastItemData", !10, i64 0, !10, i64 4, !10, i64 8, !31, i64 12, !31, i64 28, !31, i64 44}
!31 = !{!"_ZTS6ImRect", !15, i64 0, !15, i64 8}
!32 = !{!"_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, !13, i64 56, !31, i64 60, !6, i64 80, !6, i64 88, !16, i64 96, !15, i64 100}
!33 = !{!"_ZTS8ImVectorI13ImGuiColorModE", !10, i64 0, !10, i64 4, !6, i64 8}
!34 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !10, i64 0, !10, i64 4, !6, i64 8}
!35 = !{!"_ZTS8ImVectorIP6ImFontE", !10, i64 0, !10, i64 4, !6, i64 8}
!36 = !{!"_ZTS8ImVectorIjE", !10, i64 0, !10, i64 4, !6, i64 8}
!37 = !{!"_ZTS8ImVectorIiE", !10, i64 0, !10, i64 4, !6, i64 8}
!38 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !10, i64 0, !10, i64 4, !6, i64 8}
!39 = !{!"_ZTS8ImVectorI14ImGuiPopupDataE", !10, i64 0, !10, i64 4, !6, i64 8}
!40 = !{!"_ZTS8ImVectorIP14ImGuiViewportPE", !10, i64 0, !10, i64 4, !6, i64 8}
!41 = !{!"_ZTS13ImGuiNavLayer", !7, i64 0}
!42 = !{!"_ZTS16ImGuiNavItemData", !6, i64 0, !10, i64 8, !10, i64 12, !31, i64 16, !10, i64 32, !16, i64 36, !16, i64 40, !16, i64 44}
!43 = !{!"_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}
!44 = !{!"_ZTS8ImVectorIhE", !10, i64 0, !10, i64 4, !6, i64 8}
!45 = !{!"_ZTS8ImVectorI20ImGuiListClipperDataE", !10, i64 0, !10, i64 4, !6, i64 8}
!46 = !{!"_ZTS8ImVectorI18ImGuiTableTempDataE", !10, i64 0, !10, i64 4, !6, i64 8}
!47 = !{!"_ZTS6ImPoolI10ImGuiTableE", !48, i64 0, !25, i64 16, !10, i64 32, !10, i64 36}
!48 = !{!"_ZTS8ImVectorI10ImGuiTableE", !10, i64 0, !10, i64 4, !6, i64 8}
!49 = !{!"_ZTS8ImVectorIfE", !10, i64 0, !10, i64 4, !6, i64 8}
!50 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !10, i64 0, !10, i64 4, !6, i64 8}
!51 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !52, i64 0, !25, i64 16, !10, i64 32, !10, i64 36}
!52 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !10, i64 0, !10, i64 4, !6, i64 8}
!53 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !10, i64 0, !10, i64 4, !6, i64 8}
!54 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !10, i64 0, !10, i64 4, !6, i64 8}
!55 = !{!"_ZTS19ImGuiInputTextState", !10, i64 0, !10, i64 4, !10, i64 8, !18, i64 16, !56, i64 32, !56, i64 48, !13, i64 64, !10, i64 68, !16, i64 72, !57, i64 76, !16, i64 3704, !13, i64 3708, !13, i64 3709, !13, i64 3710, !10, i64 3712}
!56 = !{!"_ZTS8ImVectorIcE", !10, i64 0, !10, i64 4, !6, i64 8}
!57 = !{!"_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, !58, i64 32}
!58 = !{!"_ZTSN5ImStb12StbUndoStateE", !7, i64 0, !7, i64 1584, !17, i64 3582, !17, i64 3584, !10, i64 3588, !10, i64 3592}
!59 = !{!"_ZTS6ImFont", !49, i64 0, !16, i64 16, !16, i64 20, !18, i64 24, !60, i64 40, !6, i64 56, !6, i64 64, !6, i64 72, !17, i64 80, !17, i64 82, !17, i64 84, !17, i64 86, !13, i64 88, !16, i64 92, !16, i64 96, !16, i64 100, !10, i64 104, !7, i64 108}
!60 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !10, i64 0, !10, i64 4, !6, i64 8}
!61 = !{!"_ZTS21ImGuiComboPreviewData", !31, i64 0, !15, i64 16, !15, i64 24, !15, i64 32, !16, i64 40, !10, i64 44}
!62 = !{!"_ZTS15ImGuiTextBuffer", !56, i64 0}
!63 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !10, i64 0, !10, i64 4, !6, i64 8}
!64 = !{!"_ZTS13ImChunkStreamI19ImGuiWindowSettingsE", !56, i64 0}
!65 = !{!"_ZTS13ImChunkStreamI18ImGuiTableSettingsE", !56, i64 0}
!66 = !{!"_ZTS8ImVectorI16ImGuiContextHookE", !10, i64 0, !10, i64 4, !6, i64 8}
!67 = !{!"_ZTS12ImGuiLogType", !7, i64 0}
!68 = !{!"_ZTS18ImGuiMetricsConfig", !13, i64 0, !13, i64 1, !13, i64 2, !13, i64 3, !13, i64 4, !13, i64 5, !10, i64 8, !10, i64 12}
!69 = !{!"_ZTS14ImGuiStackTool", !10, i64 0, !10, i64 4, !10, i64 8, !70, i64 16}
!70 = !{!"_ZTS8ImVectorI19ImGuiStackLevelInfoE", !10, i64 0, !10, i64 4, !6, i64 8}
!71 = !{!72, !6, i64 848}
!72 = !{!"_ZTS11ImGuiWindow", !6, i64 0, !10, i64 8, !10, i64 12, !15, i64 16, !15, i64 24, !15, i64 32, !15, i64 40, !15, i64 48, !15, i64 56, !15, i64 64, !16, i64 72, !16, i64 76, !10, i64 80, !10, i64 84, !10, i64 88, !15, i64 92, !15, i64 100, !15, i64 108, !15, i64 116, !15, i64 124, !15, i64 132, !13, i64 140, !13, i64 141, !13, i64 142, !13, i64 143, !13, i64 144, !13, i64 145, !13, i64 146, !13, i64 147, !13, i64 148, !13, i64 149, !13, i64 150, !13, i64 151, !13, i64 152, !7, i64 153, !17, i64 154, !17, i64 156, !17, i64 158, !17, i64 160, !10, i64 164, !7, i64 168, !7, i64 169, !7, i64 170, !13, i64 171, !10, i64 172, !7, i64 176, !7, i64 177, !7, i64 178, !7, i64 179, !10, i64 180, !10, i64 181, !10, i64 182, !15, i64 184, !15, i64 192, !36, i64 200, !73, i64 216, !31, i64 448, !31, i64 464, !31, i64 480, !31, i64 496, !31, i64 512, !31, i64 528, !31, i64 544, !76, i64 560, !76, i64 564, !10, i64 568, !16, i64 572, !16, i64 576, !25, i64 584, !77, i64 600, !16, i64 616, !10, i64 620, !6, i64 624, !78, i64 632, !6, i64 832, !6, i64 840, !6, i64 848, !6, i64 856, !6, i64 864, !6, i64 872, !6, i64 880, !7, i64 888, !7, i64 896, !10, i64 928, !10, i64 932, !13, i64 936}
!73 = !{!"_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, !74, i64 64, !74, i64 68, !74, i64 72, !15, i64 76, !41, i64 84, !17, i64 88, !17, i64 90, !10, i64 92, !13, i64 96, !13, i64 97, !13, i64 98, !15, i64 100, !75, i64 108, !10, i64 136, !10, i64 140, !23, i64 144, !6, i64 160, !6, i64 168, !10, i64 176, !10, i64 180, !10, i64 184, !16, i64 188, !16, i64 192, !49, i64 200, !49, i64 216}
!74 = !{!"_ZTS6ImVec1", !16, i64 0}
!75 = !{!"_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}
!76 = !{!"_ZTS8ImVec2ih", !17, i64 0, !17, i64 2}
!77 = !{!"_ZTS8ImVectorI15ImGuiOldColumnsE", !10, i64 0, !10, i64 4, !6, i64 8}
!78 = !{!"_ZTS10ImDrawList", !79, i64 0, !18, i64 16, !80, i64 32, !10, i64 48, !10, i64 52, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !81, i64 88, !82, i64 104, !83, i64 120, !84, i64 136, !85, i64 168, !16, i64 192}
!79 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !10, i64 0, !10, i64 4, !6, i64 8}
!80 = !{!"_ZTS8ImVectorI10ImDrawVertE", !10, i64 0, !10, i64 4, !6, i64 8}
!81 = !{!"_ZTS8ImVectorI6ImVec4E", !10, i64 0, !10, i64 4, !6, i64 8}
!82 = !{!"_ZTS8ImVectorIPvE", !10, i64 0, !10, i64 4, !6, i64 8}
!83 = !{!"_ZTS8ImVectorI6ImVec2E", !10, i64 0, !10, i64 4, !6, i64 8}
!84 = !{!"_ZTS15ImDrawCmdHeader", !21, i64 0, !6, i64 16, !10, i64 24}
!85 = !{!"_ZTS18ImDrawListSplitter", !10, i64 0, !10, i64 4, !50, i64 8}
!86 = !{!13, !13, i64 0}
!87 = !{i8 0, i8 2}
!88 = !{}
!89 = !{!12, !13, i64 8116}
!90 = !{!12, !10, i64 8148}
!91 = !{!12, !10, i64 8120}
!92 = !{!12, !16, i64 7268}
!93 = !{!12, !16, i64 24}
!94 = !{!12, !10, i64 8240}
!95 = !{!12, !10, i64 7260}
!96 = !{!12, !13, i64 320}
!97 = !{!12, !13, i64 321}
!98 = !{!12, !13, i64 322}
!99 = !{!12, !10, i64 7276}
!100 = !{!12, !10, i64 7332}
!101 = !{!17, !17, i64 0}
!102 = !{!16, !16, i64 0}
!103 = !{!12, !16, i64 148}
!104 = !{!12, !13, i64 7778}
!105 = !{!12, !10, i64 7720}
!106 = !{!12, !13, i64 7779}
!107 = !{!72, !10, i64 84}
!108 = !{!12, !10, i64 7732}
!109 = !{!12, !10, i64 7728}
!110 = !{!12, !28, i64 7328}
!111 = !{!12, !13, i64 7288}
!112 = !{i64 0, i64 4, !102, i64 4, i64 4, !102}
!113 = !{!12, !13, i64 7291}


; 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 [59 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [98 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 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 7208
  %15 = load ptr, ptr %14, align 8, !tbaa !9
  %16 = and i32 %.1, 2048
  %.not = icmp eq i32 %16, 0
  %.not185 = icmp eq ptr %15, null
  %or.cond219 = select i1 %.not, i1 true, i1 %.not185
  br i1 %or.cond219, label %.thread, label %17

17:                                               ; preds = %5
  %18 = getelementptr inbounds i8, ptr %15, i64 848
  %19 = load ptr, ptr %18, align 8, !tbaa !70
  %20 = icmp eq ptr %19, %7
  br i1 %20, label %21, label %.thread

21:                                               ; preds = %17
  store ptr %7, ptr %14, align 8, !tbaa !9
  br label %.thread

.thread:                                          ; preds = %5, %21, %17
  %22 = phi i1 [ true, %21 ], [ false, %17 ], [ false, %5 ]
  %23 = tail call noundef zeroext i1 @_ZN5ImGui13ItemHoverableERK6ImRectj(ptr noundef nonnull align 4 dereferenceable(16) %0, i32 noundef %1)
  %24 = getelementptr inbounds i8, ptr %6, i64 8116
  %25 = load i8, ptr %24, align 4, !tbaa !85, !range !86
  br i1 %23, label %26, label %.thread._crit_edge

26:                                               ; preds = %.thread
  %27 = trunc nuw i8 %25 to i1
  br i1 %27, label %28, label %.thread._crit_edge

28:                                               ; preds = %26
  %29 = getelementptr inbounds i8, ptr %6, i64 8148
  %30 = load i32, ptr %29, align 4, !tbaa !87
  %31 = icmp eq i32 %30, %1
  br i1 %31, label %32, label %.thread._crit_edge

32:                                               ; preds = %28
  %33 = getelementptr inbounds i8, ptr %6, i64 8120
  %34 = load i32, ptr %33, align 8, !tbaa !88
  %35 = and i32 %34, 2
  %.not186 = icmp ne i32 %35, 0
  br label %.thread._crit_edge

.thread._crit_edge:                               ; preds = %.thread, %32, %28, %26
  %.0165.shrunk = phi i1 [ true, %28 ], [ true, %26 ], [ %.not186, %32 ], [ false, %.thread ]
  %36 = getelementptr inbounds i8, ptr %6, i64 8116
  %37 = trunc nuw i8 %25 to i1
  %38 = and i32 %.1, 512
  %.not187 = icmp ne i32 %38, 0
  %or.cond222.not = and i1 %.not187, %37
  br i1 %or.cond222.not, label %39, label %55

39:                                               ; preds = %.thread._crit_edge
  %40 = getelementptr inbounds i8, ptr %6, i64 8120
  %41 = load i32, ptr %40, align 8, !tbaa !88
  %42 = and i32 %41, 4
  %.not188 = icmp eq i32 %42, 0
  br i1 %.not188, label %43, label %55

43:                                               ; preds = %39
  %44 = tail call noundef zeroext i1 @_ZN5ImGui13IsItemHoveredEi(i32 noundef 128)
  br i1 %44, label %45, label %55

45:                                               ; preds = %43
  tail call void @_ZN5ImGui12SetHoveredIDEj(i32 noundef %1)
  %46 = getelementptr inbounds i8, ptr %6, i64 7268
  %47 = load float, ptr %46, align 4, !tbaa !89
  %48 = getelementptr inbounds i8, ptr %6, i64 24
  %49 = load float, ptr %48, align 8, !tbaa !90
  %50 = fsub float %47, %49
  %51 = fcmp ugt float %50, 0x3FE6666660000000
  %52 = fcmp ult float %47, 0x3FE6666660000000
  %or.cond223 = or i1 %52, %51
  br i1 %or.cond223, label %55, label %53

53:                                               ; preds = %45
  %54 = getelementptr inbounds i8, ptr %6, i64 8240
  store i32 %1, ptr %54, align 8, !tbaa !91
  tail call void @_ZN5ImGui11FocusWindowEP11ImGuiWindow(ptr noundef %7)
  br label %55

55:                                               ; preds = %43, %53, %45, %39, %.thread._crit_edge
  %.1166.shrunk = phi i1 [ %.0165.shrunk, %39 ], [ true, %53 ], [ true, %45 ], [ %.0165.shrunk, %43 ], [ %.0165.shrunk, %.thread._crit_edge ]
  %.0163 = phi i8 [ 0, %39 ], [ 1, %53 ], [ 0, %45 ], [ 0, %43 ], [ 0, %.thread._crit_edge ]
  br i1 %22, label %56, label %57

56:                                               ; preds = %55
  store ptr %15, ptr %14, align 8, !tbaa !9
  br label %57

57:                                               ; preds = %56, %55
  %58 = and i32 %.1, 4096
  %.not189 = icmp ne i32 %58, 0
  %or.cond224.not = and i1 %.not189, %.1166.shrunk
  br i1 %or.cond224.not, label %59, label %62

59:                                               ; preds = %57
  %60 = getelementptr inbounds i8, ptr %6, i64 7260
  %61 = load i32, ptr %60, align 4, !tbaa !92
  %.not190 = icmp eq i32 %61, %1
  %.not191 = icmp eq i32 %61, 0
  %or.cond225 = or i1 %.not190, %.not191
  br i1 %or.cond225, label %63, label %176

62:                                               ; preds = %57
  br i1 %.1166.shrunk, label %63, label %176

63:                                               ; preds = %59, %62
  %64 = and i32 %.1, 65536
  %.not192 = icmp eq i32 %64, 0
  br i1 %.not192, label %77, label %65

65:                                               ; preds = %63
  %66 = getelementptr inbounds i8, ptr %6, i64 320
  %67 = load i8, ptr %66, align 8, !tbaa !93, !range !86, !noundef !94
  %68 = trunc nuw i8 %67 to i1
  br i1 %68, label %172, label %69

69:                                               ; preds = %65
  %70 = getelementptr inbounds i8, ptr %6, i64 321
  %71 = load i8, ptr %70, align 1, !tbaa !95, !range !86, !noundef !94
  %72 = trunc nuw i8 %71 to i1
  br i1 %72, label %172, label %73

73:                                               ; preds = %69
  %74 = getelementptr inbounds i8, ptr %6, i64 322
  %75 = load i8, ptr %74, align 2, !tbaa !96, !range !86, !noundef !94
  %76 = trunc nuw i8 %75 to i1
  br i1 %76, label %172, label %77

77:                                               ; preds = %73, %63
  %78 = and i32 %.1, 1
  %.not193 = icmp eq i32 %78, 0
  br i1 %.not193, label %83, label %79

79:                                               ; preds = %77
  %80 = getelementptr inbounds i8, ptr %6, i64 1056
  %81 = load i8, ptr %80, align 8, !tbaa !97, !range !86, !noundef !94
  %82 = trunc nuw i8 %81 to i1
  br i1 %82, label %.thread242, label %83

83:                                               ; preds = %79, %77
  %84 = and i32 %.1, 2
  %.not194 = icmp eq i32 %84, 0
  br i1 %.not194, label %89, label %85

85:                                               ; preds = %83
  %86 = getelementptr inbounds i8, ptr %6, i64 1057
  %87 = load i8, ptr %86, align 1, !tbaa !97, !range !86, !noundef !94
  %88 = trunc nuw i8 %87 to i1
  br i1 %88, label %95, label %89

89:                                               ; preds = %85, %83
  %90 = and i32 %.1, 4
  %.not195 = icmp eq i32 %90, 0
  br i1 %.not195, label %95, label %91

91:                                               ; preds = %89
  %92 = getelementptr inbounds i8, ptr %6, i64 1058
  %93 = load i8, ptr %92, align 2, !tbaa !97, !range !86, !noundef !94
  %94 = trunc nuw i8 %93 to i1
  %not. = xor i1 %94, true
  %spec.select227 = select i1 %94, i32 2, i32 -1
  br label %95

95:                                               ; preds = %91, %85, %89
  %.not198 = phi i1 [ true, %89 ], [ false, %85 ], [ %not., %91 ]
  %.0169 = phi i32 [ -1, %89 ], [ 1, %85 ], [ %spec.select227, %91 ]
  br i1 %.not193, label %99, label %.thread242

.thread242:                                       ; preds = %79, %95
  %.0169249 = phi i32 [ %.0169, %95 ], [ 0, %79 ]
  %.not198246 = phi i1 [ %.not198, %95 ], [ false, %79 ]
  %96 = getelementptr inbounds i8, ptr %6, i64 1086
  %97 = load i8, ptr %96, align 2, !tbaa !97, !range !86, !noundef !94
  %98 = trunc nuw i8 %97 to i1
  br i1 %98, label %110, label %.thread242._crit_edge

.thread242._crit_edge:                            ; preds = %.thread242
  %.pre257 = and i32 %.1, 2
  br label %99

99:                                               ; preds = %.thread242._crit_edge, %95
  %.pre-phi = phi i32 [ %.pre257, %.thread242._crit_edge ], [ %84, %95 ]
  %.0169250 = phi i32 [ %.0169249, %.thread242._crit_edge ], [ %.0169, %95 ]
  %.not198247 = phi i1 [ %.not198246, %.thread242._crit_edge ], [ %.not198, %95 ]
  %.not196 = icmp eq i32 %.pre-phi, 0
  br i1 %.not196, label %104, label %100

100:                                              ; preds = %99
  %101 = getelementptr inbounds i8, ptr %6, i64 1087
  %102 = load i8, ptr %101, align 1, !tbaa !97, !range !86, !noundef !94
  %103 = trunc nuw i8 %102 to i1
  br i1 %103, label %110, label %104

104:                                              ; preds = %100, %99
  %105 = and i32 %.1, 4
  %.not197 = icmp eq i32 %105, 0
  br i1 %.not197, label %110, label %106

106:                                              ; preds = %104
  %107 = getelementptr inbounds i8, ptr %6, i64 1088
  %108 = load i8, ptr %107, align 2, !tbaa !97, !range !86, !noundef !94
  %109 = trunc nuw i8 %108 to i1
  %spec.select229 = select i1 %109, i64 2, i64 4294967295
  br i1 %.not198247, label %142, label %112

110:                                              ; preds = %100, %.thread242, %104
  %.0169248 = phi i32 [ %.0169250, %104 ], [ %.0169249, %.thread242 ], [ %.0169250, %100 ]
  %.not198245 = phi i1 [ %.not198247, %104 ], [ %.not198246, %.thread242 ], [ %.not198247, %100 ]
  %111 = phi i1 [ false, %104 ], [ true, %.thread242 ], [ true, %100 ]
  %.0170 = phi i64 [ 4294967295, %104 ], [ 0, %.thread242 ], [ 1, %100 ]
  br i1 %.not198245, label %142, label %112

112:                                              ; preds = %106, %110
  %.0170252 = phi i64 [ %spec.select229, %106 ], [ %.0170, %110 ]
  %113 = phi i1 [ %109, %106 ], [ %111, %110 ]
  %.0169248251 = phi i32 [ %.0169250, %106 ], [ %.0169248, %110 ]
  %114 = getelementptr inbounds i8, ptr %6, i64 7276
  %115 = load i32, ptr %114, align 4, !tbaa !98
  %.not199 = icmp eq i32 %115, %1
  br i1 %.not199, label %142, label %116

116:                                              ; preds = %112
  %117 = and i32 %.1, 96
  %.not200 = icmp eq i32 %117, 0
  br i1 %.not200, label %123, label %118

118:                                              ; preds = %116
  tail call void @_ZN5ImGui11SetActiveIDEjP11ImGuiWindow(i32 noundef %1, ptr noundef %7)
  %119 = getelementptr inbounds i8, ptr %6, i64 7332
  store i32 %.0169248251, ptr %119, align 4, !tbaa !99
  %120 = and i32 %.1, 262144
  %.not201 = icmp eq i32 %120, 0
  br i1 %.not201, label %121, label %122

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

122:                                              ; preds = %121, %118
  tail call void @_ZN5ImGui11FocusWindowEP11ImGuiWindow(ptr noundef %7)
  br label %123

123:                                              ; preds = %122, %116
  %124 = and i32 %.1, 16
  %.not202 = icmp eq i32 %124, 0
  br i1 %.not202, label %125, label %133

125:                                              ; preds = %123
  %126 = and i32 %.1, 256
  %.not203 = icmp eq i32 %126, 0
  br i1 %.not203, label %142, label %127

127:                                              ; preds = %125
  %128 = getelementptr inbounds i8, ptr %6, i64 1066
  %129 = zext nneg i32 %.0169248251 to i64
  %130 = getelementptr inbounds [5 x i16], ptr %128, i64 0, i64 %129
  %131 = load i16, ptr %130, align 2, !tbaa !100
  %132 = icmp eq i16 %131, 2
  br i1 %132, label %133, label %142

133:                                              ; preds = %127, %123
  %134 = and i32 %.1, 131072
  %.not204 = icmp eq i32 %134, 0
  br i1 %.not204, label %136, label %135

135:                                              ; preds = %133
  tail call void @_ZN5ImGui13ClearActiveIDEv()
  br label %137

136:                                              ; preds = %133
  tail call void @_ZN5ImGui11SetActiveIDEjP11ImGuiWindow(i32 noundef %1, ptr noundef %7)
  br label %137

137:                                              ; preds = %136, %135
  %138 = and i32 %.1, 262144
  %.not205 = icmp eq i32 %138, 0
  br i1 %.not205, label %139, label %140

139:                                              ; preds = %137
  tail call void @_ZN5ImGui10SetFocusIDEjP11ImGuiWindow(i32 noundef %1, ptr noundef %7)
  br label %140

140:                                              ; preds = %139, %137
  %141 = getelementptr inbounds i8, ptr %6, i64 7332
  store i32 %.0169248251, ptr %141, align 4, !tbaa !99
  tail call void @_ZN5ImGui11FocusWindowEP11ImGuiWindow(ptr noundef %7)
  br label %142

142:                                              ; preds = %106, %125, %127, %140, %112, %110
  %.0170253 = phi i64 [ %.0170252, %140 ], [ %.0170252, %127 ], [ %.0170252, %125 ], [ %.0170252, %112 ], [ %.0170, %110 ], [ %spec.select229, %106 ]
  %143 = phi i1 [ %113, %140 ], [ %113, %127 ], [ %113, %125 ], [ %113, %112 ], [ %111, %110 ], [ %109, %106 ]
  %.1164 = phi i8 [ 1, %140 ], [ %.0163, %127 ], [ %.0163, %125 ], [ %.0163, %112 ], [ %.0163, %110 ], [ %.0163, %106 ]
  %144 = and i32 %.1, 128
  %145 = icmp ne i32 %144, 0
  %or.cond = and i1 %145, %143
  %146 = and i32 %.1, 1024
  br i1 %or.cond, label %147, label %._crit_edge

147:                                              ; preds = %142
  %.not206 = icmp eq i32 %146, 0
  br i1 %.not206, label %.thread254, label %148

148:                                              ; preds = %147
  %149 = getelementptr inbounds i8, ptr %6, i64 1124
  %150 = getelementptr inbounds [5 x float], ptr %149, i64 0, i64 %.0170253
  %151 = load float, ptr %150, align 4, !tbaa !101
  %152 = getelementptr inbounds i8, ptr %6, i64 148
  %153 = load float, ptr %152, align 4, !tbaa !102
  %154 = fcmp oge float %151, %153
  %cond.fr = freeze i1 %154
  %spec.select256 = select i1 %cond.fr, i8 %.1164, i8 1
  br label %.thread254

.thread254:                                       ; preds = %148, %147
  %155 = phi i8 [ 1, %147 ], [ %spec.select256, %148 ]
  %156 = and i32 %.1, 262144
  %.not207 = icmp eq i32 %156, 0
  br i1 %.not207, label %157, label %158

157:                                              ; preds = %.thread254
  tail call void @_ZN5ImGui10SetFocusIDEjP11ImGuiWindow(i32 noundef %1, ptr noundef %7)
  br label %158

158:                                              ; preds = %157, %.thread254
  tail call void @_ZN5ImGui13ClearActiveIDEv()
  br label %._crit_edge

._crit_edge:                                      ; preds = %142, %158
  %.3 = phi i8 [ %155, %158 ], [ %.1164, %142 ]
  %159 = getelementptr inbounds i8, ptr %6, i64 7276
  %160 = load i32, ptr %159, align 4, !tbaa !98
  %161 = icmp ne i32 %160, %1
  %.not208 = icmp eq i32 %146, 0
  %or.cond231 = or i1 %.not208, %161
  br i1 %or.cond231, label %172, label %162

162:                                              ; preds = %._crit_edge
  %163 = getelementptr inbounds i8, ptr %6, i64 1104
  %164 = getelementptr inbounds i8, ptr %6, i64 7332
  %165 = load i32, ptr %164, align 4, !tbaa !99
  %166 = sext i32 %165 to i64
  %167 = getelementptr inbounds [5 x float], ptr %163, i64 0, i64 %166
  %168 = load float, ptr %167, align 4, !tbaa !101
  %169 = fcmp ogt float %168, 0.000000e+00
  br i1 %169, label %170, label %172

170:                                              ; preds = %162
  %171 = tail call noundef zeroext i1 @_ZN5ImGui14IsMouseClickedEib(i32 noundef %165, i1 noundef zeroext true)
  %spec.select232 = select i1 %171, i8 1, i8 %.3
  br label %172

172:                                              ; preds = %170, %._crit_edge, %162, %73, %69, %65
  %.5 = phi i8 [ %.0163, %65 ], [ %.0163, %69 ], [ %.0163, %73 ], [ %.3, %162 ], [ %.3, %._crit_edge ], [ %spec.select232, %170 ]
  %173 = trunc nuw i8 %.5 to i1
  br i1 %173, label %174, label %176

174:                                              ; preds = %172
  %175 = getelementptr inbounds i8, ptr %6, i64 7778
  store i8 1, ptr %175, align 2, !tbaa !103
  br label %176

176:                                              ; preds = %59, %172, %174, %62
  %.2167.shrunk240 = phi i1 [ true, %174 ], [ true, %172 ], [ false, %62 ], [ false, %59 ]
  %.6 = phi i8 [ %.5, %174 ], [ %.5, %172 ], [ %.0163, %62 ], [ %.0163, %59 ]
  %177 = getelementptr inbounds i8, ptr %6, i64 7720
  %178 = load i32, ptr %177, align 8, !tbaa !104
  %179 = icmp eq i32 %178, %1
  br i1 %179, label %180, label %200

180:                                              ; preds = %176
  %181 = getelementptr inbounds i8, ptr %6, i64 7778
  %182 = load i8, ptr %181, align 2, !tbaa !103, !range !86, !noundef !94
  %183 = trunc nuw i8 %182 to i1
  br i1 %183, label %200, label %184

184:                                              ; preds = %180
  %185 = getelementptr inbounds i8, ptr %6, i64 7779
  %186 = load i8, ptr %185, align 1, !tbaa !105, !range !86, !noundef !94
  %187 = trunc nuw i8 %186 to i1
  br i1 %187, label %188, label %200

188:                                              ; preds = %184
  %189 = getelementptr inbounds i8, ptr %6, i64 7276
  %190 = load i32, ptr %189, align 4, !tbaa !98
  %191 = icmp eq i32 %190, 0
  %192 = icmp eq i32 %190, %1
  %or.cond233 = or i1 %191, %192
  br i1 %or.cond233, label %198, label %193

193:                                              ; preds = %188
  %194 = getelementptr inbounds i8, ptr %7, i64 84
  %195 = load i32, ptr %194, align 4, !tbaa !106
  %196 = icmp eq i32 %190, %195
  %197 = and i32 %.1, 524288
  %.not209 = icmp eq i32 %197, 0
  %or.cond234 = and i1 %.not209, %196
  br i1 %or.cond234, label %199, label %200

198:                                              ; preds = %188
  %.old = and i32 %.1, 524288
  %.not209.old = icmp eq i32 %.old, 0
  br i1 %.not209.old, label %199, label %200

199:                                              ; preds = %193, %198
  br label %200

200:                                              ; preds = %198, %199, %193, %184, %180, %176
  %.3168.shrunk = phi i1 [ %.2167.shrunk240, %180 ], [ %.2167.shrunk240, %198 ], [ true, %199 ], [ %.2167.shrunk240, %193 ], [ %.2167.shrunk240, %184 ], [ %.2167.shrunk240, %176 ]
  %201 = getelementptr inbounds i8, ptr %6, i64 7732
  %202 = load i32, ptr %201, align 4, !tbaa !107
  %203 = icmp eq i32 %202, %1
  br i1 %203, label %204, label %215

204:                                              ; preds = %200
  %205 = getelementptr inbounds i8, ptr %6, i64 7728
  %206 = load i32, ptr %205, align 8, !tbaa !108
  %207 = icmp eq i32 %206, %1
  %208 = and i32 %.1, 1024
  %.not210 = icmp eq i32 %208, 0
  %209 = select i1 %.not210, i32 1, i32 3
  %210 = tail call noundef zeroext i1 @_ZN5ImGui14IsNavInputTestEi18ImGuiInputReadMode(i32 noundef 0, i32 noundef %209)
  %brmerge = or i1 %207, %210
  br i1 %brmerge, label %211, label %215

211:                                              ; preds = %204
  tail call void @_ZN5ImGui11SetActiveIDEjP11ImGuiWindow(i32 noundef %1, ptr noundef %7)
  %212 = getelementptr inbounds i8, ptr %6, i64 7328
  store i32 4, ptr %212, align 8, !tbaa !109
  %213 = and i32 %.1, 262144
  %.not211 = icmp eq i32 %213, 0
  br i1 %.not211, label %214, label %215

214:                                              ; preds = %211
  tail call void @_ZN5ImGui10SetFocusIDEjP11ImGuiWindow(i32 noundef %1, ptr noundef %7)
  br label %215

215:                                              ; preds = %214, %211, %204, %200
  %.8 = phi i8 [ %.6, %200 ], [ 1, %211 ], [ 1, %214 ], [ %.6, %204 ]
  %216 = getelementptr inbounds i8, ptr %6, i64 7276
  %217 = load i32, ptr %216, align 4, !tbaa !98
  %218 = icmp eq i32 %217, %1
  br i1 %218, label %219, label %286

219:                                              ; preds = %215
  %220 = getelementptr inbounds i8, ptr %6, i64 7328
  %221 = load i32, ptr %220, align 8, !tbaa !109
  switch i32 %221, label %282 [
    i32 1, label %222
    i32 4, label %279
  ]

222:                                              ; preds = %219
  %223 = getelementptr inbounds i8, ptr %6, i64 7288
  %224 = load i8, ptr %223, align 8, !tbaa !110, !range !86, !noundef !94
  %225 = trunc nuw i8 %224 to i1
  br i1 %225, label %226, label %230

226:                                              ; preds = %222
  %227 = getelementptr inbounds i8, ptr %6, i64 296
  %228 = tail call <2 x float> @_ZmiRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %227, ptr noundef nonnull align 4 dereferenceable(8) %0)
  %229 = getelementptr inbounds i8, ptr %6, i64 7312
  store <2 x float> %228, ptr %229, align 8
  br label %230

230:                                              ; preds = %226, %222
  %231 = getelementptr inbounds i8, ptr %6, i64 7332
  %232 = load i32, ptr %231, align 4, !tbaa !99
  %233 = icmp ult i32 %232, 5
  br i1 %233, label %235, label %234

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

235:                                              ; preds = %230
  %236 = getelementptr inbounds i8, ptr %6, i64 304
  %237 = zext nneg i32 %232 to i64
  %238 = getelementptr inbounds [5 x i8], ptr %236, i64 0, i64 %237
  %239 = load i8, ptr %238, align 1, !tbaa !97, !range !86, !noundef !94
  %240 = trunc nuw i8 %239 to i1
  br i1 %240, label %275, label %241

241:                                              ; preds = %235
  %242 = and i32 %.1, 32
  %243 = icmp ne i32 %242, 0
  %244 = and i1 %243, %.3168.shrunk
  %245 = and i32 %.1, 64
  %.not213 = icmp ne i32 %245, 0
  %or.cond237.not = or i1 %.not213, %244
  br i1 %or.cond237.not, label %246, label %274

246:                                              ; preds = %241
  %247 = load i8, ptr %36, align 4, !tbaa !85, !range !86, !noundef !94
  %248 = trunc nuw i8 %247 to i1
  br i1 %248, label %274, label %249

249:                                              ; preds = %246
  %250 = and i32 %.1, 256
  %.not214 = icmp eq i32 %250, 0
  br i1 %.not214, label %261, label %251

251:                                              ; preds = %249
  %252 = getelementptr inbounds i8, ptr %6, i64 1086
  %253 = getelementptr inbounds [5 x i8], ptr %252, i64 0, i64 %237
  %254 = load i8, ptr %253, align 1, !tbaa !97, !range !86, !noundef !94
  %255 = trunc nuw i8 %254 to i1
  br i1 %255, label %256, label %261

256:                                              ; preds = %251
  %257 = getelementptr inbounds i8, ptr %6, i64 1076
  %258 = getelementptr inbounds [5 x i16], ptr %257, i64 0, i64 %237
  %259 = load i16, ptr %258, align 2, !tbaa !100
  %260 = icmp eq i16 %259, 2
  br label %261

261:                                              ; preds = %256, %251, %249
  %262 = phi i1 [ false, %251 ], [ false, %249 ], [ %260, %256 ]
  %263 = and i32 %.1, 1024
  %.not215 = icmp eq i32 %263, 0
  br i1 %.not215, label %271, label %264

264:                                              ; preds = %261
  %265 = getelementptr inbounds i8, ptr %6, i64 1124
  %266 = getelementptr inbounds [5 x float], ptr %265, i64 0, i64 %237
  %267 = load float, ptr %266, align 4, !tbaa !101
  %268 = getelementptr inbounds i8, ptr %6, i64 148
  %269 = load float, ptr %268, align 4, !tbaa !102
  %270 = fcmp oge float %267, %269
  br label %271

271:                                              ; preds = %264, %261
  %272 = phi i1 [ false, %261 ], [ %270, %264 ]
  br i1 %262, label %274, label %273

273:                                              ; preds = %271
  %spec.select238 = select i1 %272, i8 %.8, i8 1
  br label %274

274:                                              ; preds = %273, %271, %241, %246
  %.10 = phi i8 [ %.8, %246 ], [ %.8, %241 ], [ %.8, %271 ], [ %spec.select238, %273 ]
  tail call void @_ZN5ImGui13ClearActiveIDEv()
  br label %275

275:                                              ; preds = %235, %274
  %.0171 = phi i8 [ 0, %274 ], [ 1, %235 ]
  %.11 = phi i8 [ %.10, %274 ], [ %.8, %235 ]
  %276 = and i32 %.1, 262144
  %.not216 = icmp eq i32 %276, 0
  br i1 %.not216, label %277, label %282

277:                                              ; preds = %275
  %278 = getelementptr inbounds i8, ptr %6, i64 7778
  store i8 1, ptr %278, align 2, !tbaa !103
  br label %282

279:                                              ; preds = %219
  %280 = load i32, ptr %201, align 4, !tbaa !107
  %.not212 = icmp eq i32 %280, %1
  br i1 %.not212, label %282, label %281

281:                                              ; preds = %279
  tail call void @_ZN5ImGui13ClearActiveIDEv()
  br label %282

282:                                              ; preds = %219, %275, %277, %281, %279
  %.1172 = phi i8 [ 0, %281 ], [ 0, %279 ], [ %.0171, %277 ], [ %.0171, %275 ], [ 0, %219 ]
  %.12 = phi i8 [ %.8, %281 ], [ %.8, %279 ], [ %.11, %277 ], [ %.11, %275 ], [ %.8, %219 ]
  %283 = trunc nuw i8 %.12 to i1
  br i1 %283, label %284, label %286

284:                                              ; preds = %282
  %285 = getelementptr inbounds i8, ptr %6, i64 7291
  store i8 1, ptr %285, align 1, !tbaa !111
  br label %286

286:                                              ; preds = %282, %284, %215
  %.2173 = phi i8 [ %.1172, %284 ], [ %.1172, %282 ], [ 0, %215 ]
  %.13 = phi i8 [ %.12, %284 ], [ %.12, %282 ], [ %.8, %215 ]
  %.not217 = icmp eq ptr %2, null
  br i1 %.not217, label %289, label %287

287:                                              ; preds = %286
  %288 = zext i1 %.3168.shrunk to i8
  store i8 %288, ptr %2, align 1, !tbaa !97
  br label %289

289:                                              ; preds = %287, %286
  %.not218 = icmp eq ptr %3, null
  br i1 %.not218, label %291, label %290

290:                                              ; preds = %289
  store i8 %.2173, ptr %3, align 1, !tbaa !97
  br label %291

291:                                              ; preds = %290, %289
  %292 = trunc nuw i8 %.13 to i1
  ret i1 %292
}

declare noundef zeroext i1 @_ZN5ImGui13ItemHoverableERK6ImRectj(ptr noundef nonnull align 4 dereferenceable(16), 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 @_ZN5ImGui11FocusWindowEP11ImGuiWindow(ptr noundef) local_unnamed_addr #3

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN5ImGui14IsNavInputTestEi18ImGuiInputReadMode(i32 noundef, i32 noundef) local_unnamed_addr #4

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

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 = { 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 #5 = { 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 #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, !6, i64 7208}
!10 = !{!"_ZTS12ImGuiContext", !11, i64 0, !11, i64 1, !12, i64 8, !18, i64 5488, !6, i64 6536, !15, i64 6544, !15, i64 6548, !19, i64 6552, !21, i64 7064, !13, i64 7072, !13, i64 7076, !13, i64 7080, !11, i64 7084, !11, i64 7085, !11, i64 7086, !11, i64 7087, !11, i64 7088, !6, i64 7096, !22, i64 7104, !22, i64 7120, !22, i64 7136, !23, i64 7152, !24, i64 7168, !13, i64 7184, !14, i64 7188, !6, i64 7200, !6, i64 7208, !6, i64 7216, !6, i64 7224, !6, i64 7232, !14, i64 7240, !15, i64 7248, !13, i64 7252, !13, i64 7256, !13, i64 7260, !11, i64 7264, !11, i64 7265, !11, i64 7266, !11, i64 7267, !15, i64 7268, !15, i64 7272, !13, i64 7276, !13, i64 7280, !15, i64 7284, !11, i64 7288, !11, i64 7289, !11, i64 7290, !11, i64 7291, !11, i64 7292, !11, i64 7293, !11, i64 7294, !13, i64 7296, !13, i64 7300, !26, i64 7304, !14, i64 7312, !6, i64 7320, !27, i64 7328, !13, i64 7332, !13, i64 7336, !11, i64 7340, !11, i64 7341, !6, i64 7344, !13, i64 7352, !15, i64 7356, !13, i64 7360, !28, i64 7364, !29, i64 7384, !31, i64 7448, !32, i64 7560, !33, i64 7576, !34, i64 7592, !35, i64 7608, !36, i64 7624, !37, i64 7640, !38, i64 7656, !38, i64 7672, !13, i64 7688, !39, i64 7696, !6, i64 7712, !13, i64 7720, !13, i64 7724, !13, i64 7728, !13, i64 7732, !13, i64 7736, !13, i64 7740, !13, i64 7744, !13, i64 7748, !13, i64 7752, !13, i64 7756, !13, i64 7760, !13, i64 7764, !27, i64 7768, !40, i64 7772, !11, i64 7776, !11, i64 7777, !11, i64 7778, !11, i64 7779, !11, i64 7780, !11, i64 7781, !11, i64 7782, !13, i64 7784, !30, i64 7788, !11, i64 7804, !11, i64 7805, !11, i64 7806, !13, i64 7808, !13, i64 7812, !13, i64 7816, !13, i64 7820, !13, i64 7824, !13, i64 7828, !30, i64 7832, !30, i64 7848, !13, i64 7864, !13, i64 7868, !13, i64 7872, !41, i64 7880, !41, i64 7928, !41, i64 7976, !41, i64 8024, !6, i64 8072, !6, i64 8080, !6, i64 8088, !15, i64 8096, !15, i64 8100, !11, i64 8104, !15, i64 8108, !13, i64 8112, !11, i64 8116, !11, i64 8117, !11, i64 8118, !13, i64 8120, !13, i64 8124, !13, i64 8128, !42, i64 8136, !30, i64 8200, !13, i64 8216, !13, i64 8220, !15, i64 8224, !13, i64 8228, !13, i64 8232, !13, i64 8236, !13, i64 8240, !43, i64 8248, !7, i64 8264, !13, i64 8280, !44, i64 8288, !6, i64 8304, !13, i64 8312, !45, i64 8320, !46, i64 8336, !48, i64 8376, !49, i64 8392, !6, i64 8408, !50, i64 8416, !52, i64 8456, !53, i64 8472, !14, i64 8488, !54, i64 8496, !58, i64 12216, !13, i64 12328, !13, i64 12332, !15, i64 12336, !15, i64 12340, !13, i64 12344, !20, i64 12348, !60, i64 12364, !15, i64 12412, !11, i64 12416, !11, i64 12417, !15, i64 12420, !15, i64 12424, !15, i64 12428, !15, i64 12432, !16, i64 12436, !16, i64 12438, !15, i64 12440, !55, i64 12448, !35, i64 12464, !14, i64 12480, !14, i64 12488, !7, i64 12496, !11, i64 12497, !15, i64 12500, !61, i64 12504, !62, i64 12520, !63, i64 12536, !64, i64 12552, !65, i64 12568, !13, i64 12584, !11, i64 12588, !66, i64 12592, !6, i64 12600, !61, i64 12608, !6, i64 12624, !6, i64 12632, !15, i64 12640, !11, i64 12644, !13, i64 12648, !13, i64 12652, !13, i64 12656, !11, i64 12660, !13, i64 12664, !67, i64 12668, !68, i64 12688, !7, i64 12720, !13, i64 13200, !13, i64 13204, !15, i64 13208, !13, i64 13212, !13, i64 13216, !13, i64 13220, !7, i64 13224}
!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, !15, i64 40, !15, i64 44, !15, i64 48, !7, i64 52, !15, i64 140, !15, i64 144, !6, i64 152, !6, i64 160, !15, i64 168, !11, i64 172, !6, i64 176, !14, i64 184, !11, i64 192, !11, i64 193, !11, i64 194, !11, i64 195, !11, i64 196, !11, i64 197, !15, i64 200, !6, i64 208, !6, i64 216, !6, i64 224, !6, i64 232, !6, i64 240, !6, i64 248, !6, i64 256, !6, i64 264, !6, i64 272, !6, i64 280, !14, i64 288, !7, i64 296, !15, i64 304, !15, i64 308, !11, i64 312, !11, i64 313, !11, i64 314, !11, i64 315, !7, i64 316, !7, i64 828, !11, i64 908, !11, i64 909, !11, i64 910, !11, i64 911, !11, i64 912, !11, i64 913, !11, i64 914, !15, i64 916, !13, i64 920, !13, i64 924, !13, i64 928, !13, i64 932, !13, i64 936, !14, i64 940, !11, i64 948, !13, i64 952, !13, i64 956, !14, i64 960, !7, i64 968, !7, i64 1008, !7, i64 1048, !7, i64 1053, !7, i64 1058, !7, i64 1068, !7, i64 1078, !7, i64 1083, !7, i64 1088, !7, i64 1096, !7, i64 1116, !7, i64 1136, !7, i64 1176, !7, i64 1196, !7, i64 3244, !7, i64 5292, !7, i64 5372, !15, i64 5452, !11, i64 5456, !16, i64 5458, !17, i64 5464}
!13 = !{!"int", !7, i64 0}
!14 = !{!"_ZTS6ImVec2", !15, i64 0, !15, i64 4}
!15 = !{!"float", !7, i64 0}
!16 = !{!"short", !7, i64 0}
!17 = !{!"_ZTS8ImVectorItE", !13, i64 0, !13, i64 4, !6, i64 8}
!18 = !{!"_ZTS10ImGuiStyle", !15, i64 0, !15, i64 4, !14, i64 8, !15, i64 16, !15, i64 20, !14, i64 24, !14, i64 32, !13, 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, !13, i64 148, !14, i64 152, !14, i64 160, !14, i64 168, !14, i64 176, !15, i64 184, !11, i64 188, !11, i64 189, !11, i64 190, !15, i64 192, !15, i64 196, !7, i64 200}
!19 = !{!"_ZTS20ImDrawListSharedData", !14, i64 0, !6, i64 8, !15, i64 16, !15, i64 20, !15, i64 24, !20, i64 28, !13, i64 44, !7, i64 48, !15, i64 432, !7, i64 436, !6, i64 504}
!20 = !{!"_ZTS6ImVec4", !15, i64 0, !15, i64 4, !15, i64 8, !15, i64 12}
!21 = !{!"double", !7, i64 0}
!22 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !13, i64 0, !13, i64 4, !6, i64 8}
!23 = !{!"_ZTS8ImVectorI20ImGuiWindowStackDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!24 = !{!"_ZTS12ImGuiStorage", !25, i64 0}
!25 = !{!"_ZTS8ImVectorIN12ImGuiStorage16ImGuiStoragePairEE", !13, i64 0, !13, i64 4, !6, i64 8}
!26 = !{!"long long", !7, i64 0}
!27 = !{!"_ZTS16ImGuiInputSource", !7, i64 0}
!28 = !{!"_ZTS17ImGuiNextItemData", !13, i64 0, !15, i64 4, !13, i64 8, !13, i64 12, !11, i64 16}
!29 = !{!"_ZTS17ImGuiLastItemData", !13, i64 0, !13, i64 4, !13, i64 8, !30, i64 12, !30, i64 28, !30, i64 44}
!30 = !{!"_ZTS6ImRect", !14, i64 0, !14, i64 8}
!31 = !{!"_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, !11, i64 56, !30, i64 60, !6, i64 80, !6, i64 88, !15, i64 96, !14, i64 100}
!32 = !{!"_ZTS8ImVectorI13ImGuiColorModE", !13, i64 0, !13, i64 4, !6, i64 8}
!33 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !13, i64 0, !13, i64 4, !6, i64 8}
!34 = !{!"_ZTS8ImVectorIP6ImFontE", !13, i64 0, !13, i64 4, !6, i64 8}
!35 = !{!"_ZTS8ImVectorIjE", !13, i64 0, !13, i64 4, !6, i64 8}
!36 = !{!"_ZTS8ImVectorIiE", !13, i64 0, !13, i64 4, !6, i64 8}
!37 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!38 = !{!"_ZTS8ImVectorI14ImGuiPopupDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!39 = !{!"_ZTS8ImVectorIP14ImGuiViewportPE", !13, i64 0, !13, i64 4, !6, i64 8}
!40 = !{!"_ZTS13ImGuiNavLayer", !7, i64 0}
!41 = !{!"_ZTS16ImGuiNavItemData", !6, i64 0, !13, i64 8, !13, i64 12, !30, i64 16, !13, i64 32, !15, i64 36, !15, i64 40, !15, i64 44}
!42 = !{!"_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}
!43 = !{!"_ZTS8ImVectorIhE", !13, i64 0, !13, i64 4, !6, i64 8}
!44 = !{!"_ZTS8ImVectorI20ImGuiListClipperDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!45 = !{!"_ZTS8ImVectorI18ImGuiTableTempDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!46 = !{!"_ZTS6ImPoolI10ImGuiTableE", !47, i64 0, !24, i64 16, !13, i64 32, !13, i64 36}
!47 = !{!"_ZTS8ImVectorI10ImGuiTableE", !13, i64 0, !13, i64 4, !6, i64 8}
!48 = !{!"_ZTS8ImVectorIfE", !13, i64 0, !13, i64 4, !6, i64 8}
!49 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !13, i64 0, !13, i64 4, !6, i64 8}
!50 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !51, i64 0, !24, i64 16, !13, i64 32, !13, i64 36}
!51 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !13, i64 0, !13, i64 4, !6, i64 8}
!52 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !13, i64 0, !13, i64 4, !6, i64 8}
!53 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !13, i64 0, !13, i64 4, !6, i64 8}
!54 = !{!"_ZTS19ImGuiInputTextState", !13, i64 0, !13, i64 4, !13, i64 8, !17, i64 16, !55, i64 32, !55, i64 48, !11, i64 64, !13, i64 68, !15, i64 72, !56, i64 76, !15, i64 3704, !11, i64 3708, !11, i64 3709, !11, i64 3710, !13, i64 3712}
!55 = !{!"_ZTS8ImVectorIcE", !13, i64 0, !13, i64 4, !6, i64 8}
!56 = !{!"_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, !57, i64 32}
!57 = !{!"_ZTSN5ImStb12StbUndoStateE", !7, i64 0, !7, i64 1584, !16, i64 3582, !16, i64 3584, !13, i64 3588, !13, i64 3592}
!58 = !{!"_ZTS6ImFont", !48, i64 0, !15, i64 16, !15, i64 20, !17, i64 24, !59, i64 40, !6, i64 56, !6, i64 64, !6, i64 72, !16, i64 80, !16, i64 82, !16, i64 84, !16, i64 86, !11, i64 88, !15, i64 92, !15, i64 96, !15, i64 100, !13, i64 104, !7, i64 108}
!59 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !13, i64 0, !13, i64 4, !6, i64 8}
!60 = !{!"_ZTS21ImGuiComboPreviewData", !30, i64 0, !14, i64 16, !14, i64 24, !14, i64 32, !15, i64 40, !13, i64 44}
!61 = !{!"_ZTS15ImGuiTextBuffer", !55, i64 0}
!62 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !13, i64 0, !13, i64 4, !6, i64 8}
!63 = !{!"_ZTS13ImChunkStreamI19ImGuiWindowSettingsE", !55, i64 0}
!64 = !{!"_ZTS13ImChunkStreamI18ImGuiTableSettingsE", !55, i64 0}
!65 = !{!"_ZTS8ImVectorI16ImGuiContextHookE", !13, i64 0, !13, i64 4, !6, i64 8}
!66 = !{!"_ZTS12ImGuiLogType", !7, i64 0}
!67 = !{!"_ZTS18ImGuiMetricsConfig", !11, i64 0, !11, i64 1, !11, i64 2, !11, i64 3, !11, i64 4, !11, i64 5, !13, i64 8, !13, i64 12}
!68 = !{!"_ZTS14ImGuiStackTool", !13, i64 0, !13, i64 4, !13, i64 8, !69, i64 16}
!69 = !{!"_ZTS8ImVectorI19ImGuiStackLevelInfoE", !13, i64 0, !13, i64 4, !6, i64 8}
!70 = !{!71, !6, i64 848}
!71 = !{!"_ZTS11ImGuiWindow", !6, i64 0, !13, i64 8, !13, i64 12, !14, i64 16, !14, i64 24, !14, i64 32, !14, i64 40, !14, i64 48, !14, i64 56, !14, i64 64, !15, i64 72, !15, i64 76, !13, i64 80, !13, i64 84, !13, i64 88, !14, i64 92, !14, i64 100, !14, i64 108, !14, i64 116, !14, i64 124, !14, i64 132, !11, i64 140, !11, i64 141, !11, i64 142, !11, i64 143, !11, i64 144, !11, i64 145, !11, i64 146, !11, i64 147, !11, i64 148, !11, i64 149, !11, i64 150, !11, i64 151, !11, i64 152, !7, i64 153, !16, i64 154, !16, i64 156, !16, i64 158, !16, i64 160, !13, i64 164, !7, i64 168, !7, i64 169, !7, i64 170, !11, i64 171, !13, i64 172, !7, i64 176, !7, i64 177, !7, i64 178, !7, i64 179, !13, i64 180, !13, i64 181, !13, i64 182, !14, i64 184, !14, i64 192, !35, i64 200, !72, i64 216, !30, i64 448, !30, i64 464, !30, i64 480, !30, i64 496, !30, i64 512, !30, i64 528, !30, i64 544, !75, i64 560, !75, i64 564, !13, i64 568, !15, i64 572, !15, i64 576, !24, i64 584, !76, i64 600, !15, i64 616, !13, i64 620, !6, i64 624, !77, i64 632, !6, i64 832, !6, i64 840, !6, i64 848, !6, i64 856, !6, i64 864, !6, i64 872, !6, i64 880, !7, i64 888, !7, i64 896, !13, i64 928, !13, i64 932, !11, i64 936}
!72 = !{!"_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, !73, i64 64, !73, i64 68, !73, i64 72, !14, i64 76, !40, i64 84, !16, i64 88, !16, i64 90, !13, i64 92, !11, i64 96, !11, i64 97, !11, i64 98, !14, i64 100, !74, i64 108, !13, i64 136, !13, i64 140, !22, i64 144, !6, i64 160, !6, i64 168, !13, i64 176, !13, i64 180, !13, i64 184, !15, i64 188, !15, i64 192, !48, i64 200, !48, i64 216}
!73 = !{!"_ZTS6ImVec1", !15, i64 0}
!74 = !{!"_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}
!75 = !{!"_ZTS8ImVec2ih", !16, i64 0, !16, i64 2}
!76 = !{!"_ZTS8ImVectorI15ImGuiOldColumnsE", !13, i64 0, !13, i64 4, !6, i64 8}
!77 = !{!"_ZTS10ImDrawList", !78, i64 0, !17, i64 16, !79, i64 32, !13, i64 48, !13, i64 52, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !80, i64 88, !81, i64 104, !82, i64 120, !83, i64 136, !84, i64 168, !15, i64 192}
!78 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !13, i64 0, !13, i64 4, !6, i64 8}
!79 = !{!"_ZTS8ImVectorI10ImDrawVertE", !13, i64 0, !13, i64 4, !6, i64 8}
!80 = !{!"_ZTS8ImVectorI6ImVec4E", !13, i64 0, !13, i64 4, !6, i64 8}
!81 = !{!"_ZTS8ImVectorIPvE", !13, i64 0, !13, i64 4, !6, i64 8}
!82 = !{!"_ZTS8ImVectorI6ImVec2E", !13, i64 0, !13, i64 4, !6, i64 8}
!83 = !{!"_ZTS15ImDrawCmdHeader", !20, i64 0, !6, i64 16, !13, i64 24}
!84 = !{!"_ZTS18ImDrawListSplitter", !13, i64 0, !13, i64 4, !49, i64 8}
!85 = !{!10, !11, i64 8116}
!86 = !{i8 0, i8 2}
!87 = !{!10, !13, i64 8148}
!88 = !{!10, !13, i64 8120}
!89 = !{!10, !15, i64 7268}
!90 = !{!10, !15, i64 24}
!91 = !{!10, !13, i64 8240}
!92 = !{!10, !13, i64 7260}
!93 = !{!10, !11, i64 320}
!94 = !{}
!95 = !{!10, !11, i64 321}
!96 = !{!10, !11, i64 322}
!97 = !{!11, !11, i64 0}
!98 = !{!10, !13, i64 7276}
!99 = !{!10, !13, i64 7332}
!100 = !{!16, !16, i64 0}
!101 = !{!15, !15, i64 0}
!102 = !{!10, !15, i64 148}
!103 = !{!10, !11, i64 7778}
!104 = !{!10, !13, i64 7720}
!105 = !{!10, !11, i64 7779}
!106 = !{!71, !13, i64 84}
!107 = !{!10, !13, i64 7732}
!108 = !{!10, !13, i64 7728}
!109 = !{!10, !27, i64 7328}
!110 = !{!10, !11, i64 7288}
!111 = !{!10, !11, i64 7291}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass