; LLVM IR from syby119/CG-projects :: external/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, %struct.ImVector.18, ptr, i32, i32, 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, i32, i32, %struct.ImGuiNavItemData, %struct.ImGuiNavItemData, %struct.ImGuiNavItemData, ptr, ptr, ptr, float, float, i8, [7 x i8], ptr, ptr, i32, i32, 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], ptr, i32, [4 x i8], %struct.ImPool, %struct.ImVector.21, %struct.ImVector.1, %struct.ImVector.10, ptr, %struct.ImPool.22, %struct.ImVector.24, %struct.ImVector.25, %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.26, %struct.ImVector, %struct.ImVec2, %struct.ImVec2, i8, i8, [2 x i8], float, %struct.ImGuiTextBuffer, %struct.ImVector.28, %struct.ImChunkStream, %struct.ImChunkStream.29, %struct.ImVector.30, 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 i8], [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.ImPool = type { %struct.ImVector.20, %struct.ImGuiStorage, i32, i32 }
%struct.ImVector.20 = type { i32, i32, ptr }
%struct.ImVector.21 = type { i32, i32, ptr }
%struct.ImVector.1 = type { i32, i32, ptr }
%struct.ImVector.10 = type { i32, i32, ptr }
%struct.ImPool.22 = type { %struct.ImVector.23, %struct.ImGuiStorage, i32, i32 }
%struct.ImVector.23 = type { i32, i32, ptr }
%struct.ImVector.24 = type { i32, i32, ptr }
%struct.ImVector.25 = type { i32, i32, ptr }
%struct.ImGuiInputTextState = type { i32, i32, i32, %struct.ImVector.5, %struct.ImVector.26, %struct.ImVector.26, i8, i32, float, %"struct.ImStb::STB_TexteditState", float, i8, i8, i8, i32, ptr, ptr }
%"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.27, ptr, ptr, ptr, i16, i16, i16, i16, i8, [3 x i8], float, float, float, i32, [2 x i8], [2 x i8] }>
%struct.ImVector.27 = 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.26 = type { i32, i32, ptr }
%struct.ImVector = type { i32, i32, ptr }
%struct.ImVector.28 = type { i32, i32, ptr }
%struct.ImChunkStream = type { %struct.ImVector.26 }
%struct.ImChunkStream.29 = type { %struct.ImVector.26 }
%struct.ImVector.30 = type { i32, i32, ptr }
%struct.ImGuiTextBuffer = type { %struct.ImVector.26 }
%struct.ImGuiMetricsConfig = type { i8, i8, i8, i8, i8, i8, i32, i32 }
%struct.ImGuiStackTool = type { i32, i32, i32, %struct.ImVector.31 }
%struct.ImVector.31 = 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, [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, i32, i16, i16, i32, i8, i8, i8, %struct.ImVec2, %struct.ImGuiMenuColumns, i32, i32, %struct.ImVector.0, ptr, ptr, i32, i32, i32, i32, float, float, %struct.ImVector.1, %struct.ImVector.1 }
%struct.ImVec1 = type { float }
%struct.ImGuiMenuColumns = type <{ i32, i32, i16, i16, i16, i16, i16, [4 x i16], [2 x i8] }>
%struct.ImVec2ih = type { i16, i16 }
%struct.ImVector.3 = type { i32, i32, ptr }
%struct.ImDrawList = type <{ %struct.ImVector.4, %struct.ImVector.5, %struct.ImVector.6, i32, i32, ptr, ptr, ptr, 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 [86 x i8], align 1
@__PRETTY_FUNCTION__._ZN5ImGui14ButtonBehaviorERK6ImRectjPbS3_i = external hidden unnamed_addr constant [86 x i8], align 1

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

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

; Function Attrs: nocallback nofree 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 75
  %61 = load ptr, ptr %60, align 8, !tbaa !70
  %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 !85
  %67 = load i8, ptr %14, align 1, !tbaa !85, !range !86, !noundef !87
  %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 !85
  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 !85
  %78 = load i8, ptr %16, align 1, !tbaa !85, !range !86, !noundef !87
  %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 141
  %83 = load i8, ptr %82, align 4, !tbaa !88, !range !86, !noundef !87
  %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 149
  %88 = getelementptr inbounds %struct.ImGuiPayload, ptr %87, i32 0, i32 2
  %89 = load i32, ptr %88, align 4, !tbaa !89
  %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 145
  %95 = load i32, ptr %94, align 8, !tbaa !90
  %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 !85
  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 141
  %102 = load i8, ptr %101, align 4, !tbaa !88, !range !86, !noundef !87
  %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 145
  %111 = load i32, ptr %110, align 8, !tbaa !90
  %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 !85
  %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 !91
  %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 !92
  %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 !91
  %131 = fcmp oge float %130, 0x3FE6666660000000
  br i1 %131, label %132, label %137

132:                                              ; preds = %127
  store i8 1, ptr %15, align 1, !tbaa !85
  %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 157
  store i32 %133, ptr %135, align 8, !tbaa !93
  %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 !85, !range !86, !noundef !87
  %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 !85, !range !86, !noundef !87
  %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 !94
  %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 !94
  %163 = icmp ne i32 %162, 0
  br i1 %163, label %164, label %165

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

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

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 !95, !range !86, !noundef !87
  %177 = trunc i8 %176 to i1
  br i1 %177, label %398, 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 !96, !range !86, !noundef !87
  %183 = trunc i8 %182 to i1
  br i1 %183, label %398, 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 !97, !range !86, !noundef !87
  %189 = trunc i8 %188 to i1
  br i1 %189, label %398, 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 !85, !range !86, !noundef !87
  %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 !85, !range !86, !noundef !87
  %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 !85, !range !86, !noundef !87
  %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 68
  %236 = getelementptr inbounds [5 x i8], ptr %235, i64 0, i64 0
  %237 = load i8, ptr %236, align 2, !tbaa !85, !range !86, !noundef !87
  %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 68
  %248 = getelementptr inbounds [5 x i8], ptr %247, i64 0, i64 1
  %249 = load i8, ptr %248, align 1, !tbaa !85, !range !86, !noundef !87
  %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 68
  %260 = getelementptr inbounds [5 x i8], ptr %259, i64 0, i64 2
  %261 = load i8, ptr %260, align 2, !tbaa !85, !range !86, !noundef !87
  %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 %331

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 !98
  %273 = load i32, ptr %7, align 4, !tbaa !9
  %274 = icmp ne i32 %272, %273
  br i1 %274, label %275, label %331

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 !99
  %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 %310, 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 %330

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 67
  %305 = load i32, ptr %17, align 4, !tbaa !9
  %306 = sext i32 %305 to i64
  %307 = getelementptr inbounds [5 x i8], ptr %304, i64 0, i64 %306
  %308 = load i8, ptr %307, align 1, !tbaa !85, !range !86, !noundef !87
  %309 = trunc i8 %308 to i1
  br i1 %309, label %310, label %330

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

314:                                              ; preds = %310
  call void @_ZN5ImGui13ClearActiveIDEv()
  br label %318

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

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

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

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

330:                                              ; preds = %325, %301, %297
  br label %331

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

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

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

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

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

360:                                              ; preds = %355
  store i8 1, ptr %15, align 1, !tbaa !85
  br label %361

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

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

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

369:                                              ; preds = %368, %335, %331
  %370 = load ptr, ptr %11, align 8, !tbaa !5
  %371 = getelementptr inbounds %struct.ImGuiContext, ptr %370, i32 0, i32 44
  %372 = load i32, ptr %371, align 4, !tbaa !98
  %373 = load i32, ptr %7, align 4, !tbaa !9
  %374 = icmp eq i32 %372, %373
  br i1 %374, label %375, label %397

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

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

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

395:                                              ; preds = %390
  store i8 1, ptr %15, align 1, !tbaa !85
  br label %396

396:                                              ; preds = %395, %390, %379
  br label %397

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

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

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

404:                                              ; preds = %401, %398
  br label %405

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

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

416:                                              ; preds = %411
  %417 = load ptr, ptr %11, align 8, !tbaa !5
  %418 = getelementptr inbounds %struct.ImGuiContext, ptr %417, i32 0, i32 103
  %419 = load i8, ptr %418, align 1, !tbaa !104, !range !86, !noundef !87
  %420 = trunc i8 %419 to i1
  br i1 %420, label %421, label %446

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

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

432:                                              ; preds = %426
  %433 = load ptr, ptr %11, align 8, !tbaa !5
  %434 = getelementptr inbounds %struct.ImGuiContext, ptr %433, i32 0, i32 44
  %435 = load i32, ptr %434, align 4, !tbaa !98
  %436 = load ptr, ptr %12, align 8, !tbaa !5
  %437 = getelementptr inbounds %struct.ImGuiWindow, ptr %436, i32 0, i32 13
  %438 = load i32, ptr %437, align 4, !tbaa !105
  %439 = icmp eq i32 %435, %438
  br i1 %439, label %440, label %446

440:                                              ; preds = %432, %426, %421
  %441 = load i32, ptr %10, align 4, !tbaa !9
  %442 = and i32 %441, 524288
  %443 = icmp ne i32 %442, 0
  br i1 %443, label %445, label %444

444:                                              ; preds = %440
  store i8 1, ptr %16, align 1, !tbaa !85
  br label %445

445:                                              ; preds = %444, %440
  br label %446

446:                                              ; preds = %445, %432, %416, %411, %405
  %447 = load ptr, ptr %11, align 8, !tbaa !5
  %448 = getelementptr inbounds %struct.ImGuiContext, ptr %447, i32 0, i32 87
  %449 = load i32, ptr %448, align 4, !tbaa !106
  %450 = load i32, ptr %7, align 4, !tbaa !9
  %451 = icmp eq i32 %449, %450
  br i1 %451, label %452, label %484

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

468:                                              ; preds = %452
  %469 = load i8, ptr %21, align 1, !tbaa !85, !range !86, !noundef !87
  %470 = trunc i8 %469 to i1
  br i1 %470, label %471, label %483

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

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

482:                                              ; preds = %479, %471
  br label %483

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

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

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

495:                                              ; preds = %490
  %496 = load ptr, ptr %11, align 8, !tbaa !5
  %497 = getelementptr inbounds %struct.ImGuiContext, ptr %496, i32 0, i32 47
  %498 = load i8, ptr %497, align 8, !tbaa !109, !range !86, !noundef !87
  %499 = trunc i8 %498 to i1
  br i1 %499, label %500, label %509

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

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

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

518:                                              ; preds = %515, %509
  %519 = phi i1 [ false, %509 ], [ %517, %515 ]
  br i1 %519, label %520, label %521

520:                                              ; preds = %518
  br label %523

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

522:                                              ; No predecessors!
  br label %523

523:                                              ; preds = %522, %520
  %524 = load ptr, ptr %11, align 8, !tbaa !5
  %525 = getelementptr inbounds %struct.ImGuiContext, ptr %524, i32 0, i32 3
  %526 = getelementptr inbounds %struct.ImGuiIO, ptr %525, i32 0, i32 37
  %527 = load i32, ptr %24, align 4, !tbaa !9
  %528 = sext i32 %527 to i64
  %529 = getelementptr inbounds [5 x i8], ptr %526, i64 0, i64 %528
  %530 = load i8, ptr %529, align 1, !tbaa !85, !range !86, !noundef !87
  %531 = trunc i8 %530 to i1
  br i1 %531, label %532, label %533

532:                                              ; preds = %523
  store i8 1, ptr %22, align 1, !tbaa !85
  br label %600

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

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

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

549:                                              ; preds = %540
  %550 = load i8, ptr %26, align 1, !tbaa !85, !range !86, !noundef !87
  %551 = trunc i8 %550 to i1
  br i1 %551, label %552, label %599

552:                                              ; preds = %549, %540
  %553 = load ptr, ptr %11, align 8, !tbaa !5
  %554 = getelementptr inbounds %struct.ImGuiContext, ptr %553, i32 0, i32 141
  %555 = load i8, ptr %554, align 4, !tbaa !88, !range !86, !noundef !87
  %556 = trunc i8 %555 to i1
  br i1 %556, label %599, label %557

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

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

570:                                              ; preds = %561, %557
  %571 = phi i1 [ false, %557 ], [ %569, %561 ]
  %572 = zext i1 %571 to i8
  store i8 %572, ptr %27, align 1, !tbaa !85
  call void @llvm.lifetime.start.p0(i64 1, ptr %28) #8
  %573 = load i32, ptr %10, align 4, !tbaa !9
  %574 = and i32 %573, 1024
  %575 = icmp ne i32 %574, 0
  br i1 %575, label %576, label %589

576:                                              ; preds = %570
  %577 = load ptr, ptr %11, align 8, !tbaa !5
  %578 = getelementptr inbounds %struct.ImGuiContext, ptr %577, i32 0, i32 3
  %579 = getelementptr inbounds %struct.ImGuiIO, ptr %578, i32 0, i32 73
  %580 = load i32, ptr %24, align 4, !tbaa !9
  %581 = sext i32 %580 to i64
  %582 = getelementptr inbounds [5 x float], ptr %579, i64 0, i64 %581
  %583 = load float, ptr %582, align 4, !tbaa !100
  %584 = load ptr, ptr %11, align 8, !tbaa !5
  %585 = getelementptr inbounds %struct.ImGuiContext, ptr %584, i32 0, i32 3
  %586 = getelementptr inbounds %struct.ImGuiIO, ptr %585, i32 0, i32 11
  %587 = load float, ptr %586, align 4, !tbaa !101
  %588 = fcmp oge float %583, %587
  br label %589

589:                                              ; preds = %576, %570
  %590 = phi i1 [ false, %570 ], [ %588, %576 ]
  %591 = zext i1 %590 to i8
  store i8 %591, ptr %28, align 1, !tbaa !85
  %592 = load i8, ptr %27, align 1, !tbaa !85, !range !86, !noundef !87
  %593 = trunc i8 %592 to i1
  br i1 %593, label %598, label %594

594:                                              ; preds = %589
  %595 = load i8, ptr %28, align 1, !tbaa !85, !range !86, !noundef !87
  %596 = trunc i8 %595 to i1
  br i1 %596, label %598, label %597

597:                                              ; preds = %594
  store i8 1, ptr %15, align 1, !tbaa !85
  br label %598

598:                                              ; preds = %597, %594, %589
  call void @llvm.lifetime.end.p0(i64 1, ptr %28) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %27) #8
  br label %599

599:                                              ; preds = %598, %552, %549
  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 %600

600:                                              ; preds = %599, %532
  %601 = load i32, ptr %10, align 4, !tbaa !9
  %602 = and i32 %601, 262144
  %603 = icmp ne i32 %602, 0
  br i1 %603, label %607, label %604

604:                                              ; preds = %600
  %605 = load ptr, ptr %11, align 8, !tbaa !5
  %606 = getelementptr inbounds %struct.ImGuiContext, ptr %605, i32 0, i32 102
  store i8 1, ptr %606, align 2, !tbaa !102
  br label %607

607:                                              ; preds = %604, %600
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #8
  br label %622

608:                                              ; preds = %490
  %609 = load ptr, ptr %11, align 8, !tbaa !5
  %610 = getelementptr inbounds %struct.ImGuiContext, ptr %609, i32 0, i32 60
  %611 = load i32, ptr %610, align 8, !tbaa !108
  %612 = icmp eq i32 %611, 4
  br i1 %612, label %613, label %621

613:                                              ; preds = %608
  %614 = load ptr, ptr %11, align 8, !tbaa !5
  %615 = getelementptr inbounds %struct.ImGuiContext, ptr %614, i32 0, i32 87
  %616 = load i32, ptr %615, align 4, !tbaa !106
  %617 = load i32, ptr %7, align 4, !tbaa !9
  %618 = icmp ne i32 %616, %617
  br i1 %618, label %619, label %620

619:                                              ; preds = %613
  call void @_ZN5ImGui13ClearActiveIDEv()
  br label %620

620:                                              ; preds = %619, %613
  br label %621

621:                                              ; preds = %620, %608
  br label %622

622:                                              ; preds = %621, %607
  %623 = load i8, ptr %15, align 1, !tbaa !85, !range !86, !noundef !87
  %624 = trunc i8 %623 to i1
  br i1 %624, label %625, label %628

625:                                              ; preds = %622
  %626 = load ptr, ptr %11, align 8, !tbaa !5
  %627 = getelementptr inbounds %struct.ImGuiContext, ptr %626, i32 0, i32 50
  store i8 1, ptr %627, align 1, !tbaa !111
  br label %628

628:                                              ; preds = %625, %622
  br label %629

629:                                              ; preds = %628, %484
  %630 = load ptr, ptr %8, align 8, !tbaa !5
  %631 = icmp ne ptr %630, null
  br i1 %631, label %632, label %637

632:                                              ; preds = %629
  %633 = load i8, ptr %16, align 1, !tbaa !85, !range !86, !noundef !87
  %634 = trunc i8 %633 to i1
  %635 = load ptr, ptr %8, align 8, !tbaa !5
  %636 = zext i1 %634 to i8
  store i8 %636, ptr %635, align 1, !tbaa !85
  br label %637

637:                                              ; preds = %632, %629
  %638 = load ptr, ptr %9, align 8, !tbaa !5
  %639 = icmp ne ptr %638, null
  br i1 %639, label %640, label %645

640:                                              ; preds = %637
  %641 = load i8, ptr %22, align 1, !tbaa !85, !range !86, !noundef !87
  %642 = trunc i8 %641 to i1
  %643 = load ptr, ptr %9, align 8, !tbaa !5
  %644 = zext i1 %642 to i8
  store i8 %644, ptr %643, align 1, !tbaa !85
  br label %645

645:                                              ; preds = %640, %637
  %646 = load i8, ptr %15, align 1, !tbaa !85, !range !86, !noundef !87
  %647 = trunc i8 %646 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 %647
}

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 7192}
!12 = !{!"_ZTS12ImGuiContext", !13, i64 0, !13, i64 1, !14, i64 8, !19, i64 5472, !6, i64 6520, !16, i64 6528, !16, i64 6532, !20, i64 6536, !22, i64 7048, !10, i64 7056, !10, i64 7060, !10, i64 7064, !13, i64 7068, !13, i64 7069, !13, i64 7070, !13, i64 7071, !13, i64 7072, !6, i64 7080, !23, i64 7088, !23, i64 7104, !23, i64 7120, !24, i64 7136, !25, i64 7152, !10, i64 7168, !15, i64 7172, !6, i64 7184, !6, i64 7192, !6, i64 7200, !6, i64 7208, !6, i64 7216, !15, i64 7224, !16, i64 7232, !10, i64 7236, !10, i64 7240, !10, i64 7244, !13, i64 7248, !13, i64 7249, !13, i64 7250, !13, i64 7251, !16, i64 7252, !16, i64 7256, !10, i64 7260, !10, i64 7264, !16, i64 7268, !13, i64 7272, !13, i64 7273, !13, i64 7274, !13, i64 7275, !13, i64 7276, !13, i64 7277, !13, i64 7278, !10, i64 7280, !10, i64 7284, !27, i64 7288, !15, i64 7296, !6, i64 7304, !28, i64 7312, !10, i64 7316, !10, i64 7320, !13, i64 7324, !13, i64 7325, !6, i64 7328, !10, i64 7336, !16, i64 7340, !10, i64 7344, !29, i64 7348, !30, i64 7368, !32, i64 7432, !33, i64 7544, !34, i64 7560, !35, i64 7576, !36, i64 7592, !37, i64 7608, !38, i64 7624, !39, i64 7640, !39, i64 7656, !40, i64 7672, !6, i64 7688, !10, i64 7696, !10, i64 7700, !10, i64 7704, !10, i64 7708, !10, i64 7712, !10, i64 7716, !10, i64 7720, !10, i64 7724, !10, i64 7728, !10, i64 7732, !10, i64 7736, !10, i64 7740, !10, i64 7744, !28, i64 7748, !41, i64 7752, !10, i64 7756, !13, i64 7760, !13, i64 7761, !13, i64 7762, !13, i64 7763, !13, i64 7764, !13, i64 7765, !13, i64 7766, !10, i64 7768, !31, i64 7772, !13, i64 7788, !13, i64 7789, !13, i64 7790, !10, i64 7792, !10, i64 7796, !10, i64 7800, !10, i64 7804, !10, i64 7808, !10, i64 7812, !31, i64 7816, !10, i64 7832, !10, i64 7836, !42, i64 7840, !42, i64 7888, !42, i64 7936, !6, i64 7984, !6, i64 7992, !6, i64 8000, !16, i64 8008, !16, i64 8012, !13, i64 8016, !6, i64 8024, !6, i64 8032, !10, i64 8040, !10, i64 8044, !13, i64 8048, !16, i64 8052, !10, i64 8056, !13, i64 8060, !13, i64 8061, !13, i64 8062, !10, i64 8064, !10, i64 8068, !10, i64 8072, !43, i64 8080, !31, i64 8144, !10, i64 8160, !10, i64 8164, !16, i64 8168, !10, i64 8172, !10, i64 8176, !10, i64 8180, !10, i64 8184, !44, i64 8192, !7, i64 8208, !6, i64 8224, !10, i64 8232, !45, i64 8240, !47, i64 8280, !48, i64 8296, !49, i64 8312, !6, i64 8328, !50, i64 8336, !52, i64 8376, !53, i64 8392, !15, i64 8408, !54, i64 8416, !58, i64 12152, !10, i64 12264, !10, i64 12268, !16, i64 12272, !16, i64 12276, !10, i64 12280, !21, i64 12284, !60, i64 12300, !16, i64 12348, !13, i64 12352, !13, i64 12353, !16, i64 12356, !16, i64 12360, !16, i64 12364, !16, i64 12368, !17, i64 12372, !17, i64 12374, !16, i64 12376, !55, i64 12384, !36, i64 12400, !15, i64 12416, !15, i64 12424, !7, i64 12432, !13, i64 12433, !16, i64 12436, !61, i64 12440, !62, i64 12456, !63, i64 12472, !64, i64 12488, !65, i64 12504, !10, i64 12520, !13, i64 12524, !66, i64 12528, !6, i64 12536, !61, i64 12544, !6, i64 12560, !6, i64 12568, !16, i64 12576, !13, i64 12580, !10, i64 12584, !10, i64 12588, !10, i64 12592, !13, i64 12596, !10, i64 12600, !67, i64 12604, !68, i64 12624, !7, i64 12656, !10, i64 13136, !10, i64 13140, !16, i64 13144, !10, i64 13148, !10, i64 13152, !10, i64 13156, !7, i64 13160}
!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 1063, !7, i64 1068, !7, i64 1073, !7, i64 1080, !7, i64 1100, !7, i64 1120, !7, i64 1160, !7, i64 1180, !7, i64 3228, !7, i64 5276, !7, i64 5356, !16, i64 5436, !13, i64 5440, !17, i64 5442, !18, i64 5448}
!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 = !{!"_ZTS6ImPoolI10ImGuiTableE", !46, i64 0, !25, i64 16, !10, i64 32, !10, i64 36}
!46 = !{!"_ZTS8ImVectorI10ImGuiTableE", !10, i64 0, !10, i64 4, !6, i64 8}
!47 = !{!"_ZTS8ImVectorI18ImGuiTableTempDataE", !10, i64 0, !10, i64 4, !6, i64 8}
!48 = !{!"_ZTS8ImVectorIfE", !10, i64 0, !10, i64 4, !6, i64 8}
!49 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !10, i64 0, !10, i64 4, !6, i64 8}
!50 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !51, i64 0, !25, i64 16, !10, i64 32, !10, i64 36}
!51 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !10, i64 0, !10, i64 4, !6, i64 8}
!52 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !10, i64 0, !10, i64 4, !6, i64 8}
!53 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !10, i64 0, !10, i64 4, !6, i64 8}
!54 = !{!"_ZTS19ImGuiInputTextState", !10, i64 0, !10, i64 4, !10, i64 8, !18, i64 16, !55, i64 32, !55, i64 48, !13, i64 64, !10, i64 68, !16, i64 72, !56, i64 76, !16, i64 3704, !13, i64 3708, !13, i64 3709, !13, i64 3710, !10, i64 3712, !6, i64 3720, !6, i64 3728}
!55 = !{!"_ZTS8ImVectorIcE", !10, i64 0, !10, i64 4, !6, i64 8}
!56 = !{!"_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, !57, i64 32}
!57 = !{!"_ZTSN5ImStb12StbUndoStateE", !7, i64 0, !7, i64 1584, !17, i64 3582, !17, i64 3584, !10, i64 3588, !10, i64 3592}
!58 = !{!"_ZTS6ImFont", !48, i64 0, !16, i64 16, !16, i64 20, !18, i64 24, !59, 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}
!59 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !10, i64 0, !10, i64 4, !6, i64 8}
!60 = !{!"_ZTS21ImGuiComboPreviewData", !31, i64 0, !15, i64 16, !15, i64 24, !15, i64 32, !16, i64 40, !10, i64 44}
!61 = !{!"_ZTS15ImGuiTextBuffer", !55, i64 0}
!62 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !10, i64 0, !10, i64 4, !6, i64 8}
!63 = !{!"_ZTS13ImChunkStreamI19ImGuiWindowSettingsE", !55, i64 0}
!64 = !{!"_ZTS13ImChunkStreamI18ImGuiTableSettingsE", !55, i64 0}
!65 = !{!"_ZTS8ImVectorI16ImGuiContextHookE", !10, i64 0, !10, i64 4, !6, i64 8}
!66 = !{!"_ZTS12ImGuiLogType", !7, i64 0}
!67 = !{!"_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}
!68 = !{!"_ZTS14ImGuiStackTool", !10, i64 0, !10, i64 4, !10, i64 8, !69, i64 16}
!69 = !{!"_ZTS8ImVectorI19ImGuiStackLevelInfoE", !10, i64 0, !10, i64 4, !6, i64 8}
!70 = !{!71, !6, i64 832}
!71 = !{!"_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, !7, i64 152, !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, !72, i64 216, !31, i64 440, !31, i64 456, !31, i64 472, !31, i64 488, !31, i64 504, !31, i64 520, !31, i64 536, !75, i64 552, !75, i64 556, !10, i64 560, !16, i64 564, !16, i64 568, !25, i64 576, !76, i64 592, !16, i64 608, !10, i64 612, !6, i64 616, !77, i64 624, !6, i64 824, !6, i64 832, !6, i64 840, !6, i64 848, !6, i64 856, !6, i64 864, !7, i64 872, !7, i64 880, !10, i64 912, !10, i64 916, !13, i64 920}
!72 = !{!"_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, !73, i64 64, !73, i64 68, !73, i64 72, !41, i64 76, !17, i64 80, !17, i64 82, !10, i64 84, !13, i64 88, !13, i64 89, !13, i64 90, !15, i64 92, !74, i64 100, !10, i64 128, !10, i64 132, !23, i64 136, !6, i64 152, !6, i64 160, !10, i64 168, !10, i64 172, !10, i64 176, !10, i64 180, !16, i64 184, !16, i64 188, !48, i64 192, !48, i64 208}
!73 = !{!"_ZTS6ImVec1", !16, i64 0}
!74 = !{!"_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}
!75 = !{!"_ZTS8ImVec2ih", !17, i64 0, !17, i64 2}
!76 = !{!"_ZTS8ImVectorI15ImGuiOldColumnsE", !10, i64 0, !10, i64 4, !6, i64 8}
!77 = !{!"_ZTS10ImDrawList", !78, i64 0, !18, i64 16, !79, i64 32, !10, i64 48, !10, 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, !16, i64 192}
!78 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !10, i64 0, !10, i64 4, !6, i64 8}
!79 = !{!"_ZTS8ImVectorI10ImDrawVertE", !10, i64 0, !10, i64 4, !6, i64 8}
!80 = !{!"_ZTS8ImVectorI6ImVec4E", !10, i64 0, !10, i64 4, !6, i64 8}
!81 = !{!"_ZTS8ImVectorIPvE", !10, i64 0, !10, i64 4, !6, i64 8}
!82 = !{!"_ZTS8ImVectorI6ImVec2E", !10, i64 0, !10, i64 4, !6, i64 8}
!83 = !{!"_ZTS15ImDrawCmdHeader", !21, i64 0, !6, i64 16, !10, i64 24}
!84 = !{!"_ZTS18ImDrawListSplitter", !10, i64 0, !10, i64 4, !49, i64 8}
!85 = !{!13, !13, i64 0}
!86 = !{i8 0, i8 2}
!87 = !{}
!88 = !{!12, !13, i64 8060}
!89 = !{!12, !10, i64 8092}
!90 = !{!12, !10, i64 8064}
!91 = !{!12, !16, i64 7252}
!92 = !{!12, !16, i64 24}
!93 = !{!12, !10, i64 8184}
!94 = !{!12, !10, i64 7244}
!95 = !{!12, !13, i64 320}
!96 = !{!12, !13, i64 321}
!97 = !{!12, !13, i64 322}
!98 = !{!12, !10, i64 7260}
!99 = !{!12, !10, i64 7316}
!100 = !{!16, !16, i64 0}
!101 = !{!12, !16, i64 148}
!102 = !{!12, !13, i64 7762}
!103 = !{!12, !10, i64 7696}
!104 = !{!12, !13, i64 7763}
!105 = !{!71, !10, i64 84}
!106 = !{!12, !10, i64 7708}
!107 = !{!12, !10, i64 7704}
!108 = !{!12, !28, i64 7312}
!109 = !{!12, !13, i64 7272}
!110 = !{i64 0, i64 4, !100, i64 4, i64 4, !100}
!111 = !{!12, !13, i64 7275}


; 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 [86 x i8], align 1
@__PRETTY_FUNCTION__._ZN5ImGui14ButtonBehaviorERK6ImRectjPbS3_i = external hidden unnamed_addr constant [86 x i8], align 1

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

; Function Attrs: inlinehint mustprogress 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 7192
  %15 = load ptr, ptr %14, align 8, !tbaa !9
  %16 = and i32 %.1, 2048
  %.not = icmp eq i32 %16, 0
  %.not183 = icmp eq ptr %15, null
  %or.cond217 = select i1 %.not, i1 true, i1 %.not183
  br i1 %or.cond217, label %.thread, label %17

17:                                               ; preds = %5
  %18 = getelementptr inbounds i8, ptr %15, i64 832
  %19 = load ptr, ptr %18, align 8, !tbaa !69
  %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 8060
  %25 = load i8, ptr %24, align 4, !tbaa !84, !range !85
  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 8092
  %30 = load i32, ptr %29, align 4, !tbaa !86
  %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 8064
  %34 = load i32, ptr %33, align 8, !tbaa !87
  %35 = and i32 %34, 2
  %.not184 = icmp ne i32 %35, 0
  br label %.thread._crit_edge

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

39:                                               ; preds = %.thread._crit_edge
  %40 = getelementptr inbounds i8, ptr %6, i64 8064
  %41 = load i32, ptr %40, align 8, !tbaa !87
  %42 = and i32 %41, 4
  %.not186 = icmp eq i32 %42, 0
  br i1 %.not186, 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 7252
  %47 = load float, ptr %46, align 4, !tbaa !88
  %48 = getelementptr inbounds i8, ptr %6, i64 24
  %49 = load float, ptr %48, align 8, !tbaa !89
  %50 = fsub float %47, %49
  %51 = fcmp ugt float %50, 0x3FE6666660000000
  %52 = fcmp ult float %47, 0x3FE6666660000000
  %or.cond221 = or i1 %52, %51
  br i1 %or.cond221, label %55, label %53

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

55:                                               ; preds = %43, %53, %45, %39, %.thread._crit_edge
  %.1164.shrunk = phi i1 [ %.0163.shrunk, %39 ], [ true, %53 ], [ true, %45 ], [ %.0163.shrunk, %43 ], [ %.0163.shrunk, %.thread._crit_edge ]
  %.0161 = 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
  %.not187 = icmp ne i32 %58, 0
  %or.cond222.not = and i1 %.not187, %.1164.shrunk
  br i1 %or.cond222.not, label %59, label %62

59:                                               ; preds = %57
  %60 = getelementptr inbounds i8, ptr %6, i64 7244
  %61 = load i32, ptr %60, align 4, !tbaa !91
  %.not188 = icmp eq i32 %61, %1
  %.not189 = icmp eq i32 %61, 0
  %or.cond223 = or i1 %.not188, %.not189
  br i1 %or.cond223, label %63, label %176

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

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

65:                                               ; preds = %63
  %66 = getelementptr inbounds i8, ptr %6, i64 320
  %67 = load i8, ptr %66, align 8, !tbaa !92, !range !85, !noundef !93
  %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 !94, !range !85, !noundef !93
  %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 !95, !range !85, !noundef !93
  %76 = trunc nuw i8 %75 to i1
  br i1 %76, label %172, label %77

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

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

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

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

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

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

95:                                               ; preds = %91, %85, %89
  %.not196 = phi i1 [ true, %89 ], [ false, %85 ], [ %not., %91 ]
  %.0167 = phi i32 [ -1, %89 ], [ 1, %85 ], [ %spec.select225, %91 ]
  br i1 %.not191, label %99, label %.thread240

.thread240:                                       ; preds = %79, %95
  %.0167247 = phi i32 [ %.0167, %95 ], [ 0, %79 ]
  %.not196244 = phi i1 [ %.not196, %95 ], [ false, %79 ]
  %96 = getelementptr inbounds i8, ptr %6, i64 1066
  %97 = load i8, ptr %96, align 2, !tbaa !96, !range !85, !noundef !93
  %98 = trunc nuw i8 %97 to i1
  br i1 %98, label %110, label %.thread240._crit_edge

.thread240._crit_edge:                            ; preds = %.thread240
  %.pre255 = and i32 %.1, 2
  br label %99

99:                                               ; preds = %.thread240._crit_edge, %95
  %.pre-phi = phi i32 [ %.pre255, %.thread240._crit_edge ], [ %84, %95 ]
  %.0167248 = phi i32 [ %.0167247, %.thread240._crit_edge ], [ %.0167, %95 ]
  %.not196245 = phi i1 [ %.not196244, %.thread240._crit_edge ], [ %.not196, %95 ]
  %.not194 = icmp eq i32 %.pre-phi, 0
  br i1 %.not194, label %104, label %100

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

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

106:                                              ; preds = %104
  %107 = getelementptr inbounds i8, ptr %6, i64 1068
  %108 = load i8, ptr %107, align 2, !tbaa !96, !range !85, !noundef !93
  %109 = trunc nuw i8 %108 to i1
  %spec.select227 = select i1 %109, i64 2, i64 4294967295
  br i1 %.not196245, label %142, label %112

110:                                              ; preds = %100, %.thread240, %104
  %.0167246 = phi i32 [ %.0167248, %104 ], [ %.0167247, %.thread240 ], [ %.0167248, %100 ]
  %.not196243 = phi i1 [ %.not196245, %104 ], [ %.not196244, %.thread240 ], [ %.not196245, %100 ]
  %111 = phi i1 [ false, %104 ], [ true, %.thread240 ], [ true, %100 ]
  %.0168 = phi i64 [ 4294967295, %104 ], [ 0, %.thread240 ], [ 1, %100 ]
  br i1 %.not196243, label %142, label %112

112:                                              ; preds = %106, %110
  %.0168250 = phi i64 [ %spec.select227, %106 ], [ %.0168, %110 ]
  %113 = phi i1 [ %109, %106 ], [ %111, %110 ]
  %.0167246249 = phi i32 [ %.0167248, %106 ], [ %.0167246, %110 ]
  %114 = getelementptr inbounds i8, ptr %6, i64 7260
  %115 = load i32, ptr %114, align 4, !tbaa !97
  %.not197 = icmp eq i32 %115, %1
  br i1 %.not197, label %142, label %116

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

118:                                              ; preds = %116
  tail call void @_ZN5ImGui11SetActiveIDEjP11ImGuiWindow(i32 noundef %1, ptr noundef %7)
  %119 = getelementptr inbounds i8, ptr %6, i64 7316
  store i32 %.0167246249, ptr %119, align 4, !tbaa !98
  %120 = and i32 %.1, 262144
  %.not199 = icmp eq i32 %120, 0
  br i1 %.not199, 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
  %.not200 = icmp eq i32 %124, 0
  br i1 %.not200, label %125, label %133

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

127:                                              ; preds = %125
  %128 = getelementptr inbounds i8, ptr %6, i64 1061
  %129 = zext nneg i32 %.0167246249 to i64
  %130 = getelementptr inbounds [5 x i8], ptr %128, i64 0, i64 %129
  %131 = load i8, ptr %130, align 1, !tbaa !96, !range !85, !noundef !93
  %132 = trunc nuw i8 %131 to i1
  br i1 %132, label %133, label %142

133:                                              ; preds = %127, %123
  %134 = and i32 %.1, 131072
  %.not202 = icmp eq i32 %134, 0
  br i1 %.not202, 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
  %.not203 = icmp eq i32 %138, 0
  br i1 %.not203, 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 7316
  store i32 %.0167246249, ptr %141, align 4, !tbaa !98
  tail call void @_ZN5ImGui11FocusWindowEP11ImGuiWindow(ptr noundef %7)
  br label %142

142:                                              ; preds = %106, %125, %127, %140, %112, %110
  %.0168251 = phi i64 [ %.0168250, %140 ], [ %.0168250, %127 ], [ %.0168250, %125 ], [ %.0168250, %112 ], [ %.0168, %110 ], [ %spec.select227, %106 ]
  %143 = phi i1 [ %113, %140 ], [ %113, %127 ], [ %113, %125 ], [ %113, %112 ], [ %111, %110 ], [ %109, %106 ]
  %.1162 = phi i8 [ 1, %140 ], [ %.0161, %127 ], [ %.0161, %125 ], [ %.0161, %112 ], [ %.0161, %110 ], [ %.0161, %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
  %.not204 = icmp eq i32 %146, 0
  br i1 %.not204, label %.thread252, label %148

148:                                              ; preds = %147
  %149 = getelementptr inbounds i8, ptr %6, i64 1108
  %150 = getelementptr inbounds [5 x float], ptr %149, i64 0, i64 %.0168251
  %151 = load float, ptr %150, align 4, !tbaa !99
  %152 = getelementptr inbounds i8, ptr %6, i64 148
  %153 = load float, ptr %152, align 4, !tbaa !100
  %154 = fcmp oge float %151, %153
  %cond.fr = freeze i1 %154
  %spec.select254 = select i1 %cond.fr, i8 %.1162, i8 1
  br label %.thread252

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

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

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

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

162:                                              ; preds = %._crit_edge
  %163 = getelementptr inbounds i8, ptr %6, i64 1088
  %164 = getelementptr inbounds i8, ptr %6, i64 7316
  %165 = load i32, ptr %164, align 4, !tbaa !98
  %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 !99
  %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.select230 = select i1 %171, i8 1, i8 %.3
  br label %172

172:                                              ; preds = %170, %._crit_edge, %162, %73, %69, %65
  %.5 = phi i8 [ %.0161, %65 ], [ %.0161, %69 ], [ %.0161, %73 ], [ %.3, %162 ], [ %.3, %._crit_edge ], [ %spec.select230, %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 7762
  store i8 1, ptr %175, align 2, !tbaa !101
  br label %176

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

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

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

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

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

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

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

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

204:                                              ; preds = %200
  %205 = getelementptr inbounds i8, ptr %6, i64 7704
  %206 = load i32, ptr %205, align 8, !tbaa !106
  %207 = icmp eq i32 %206, %1
  %208 = and i32 %.1, 1024
  %.not208 = icmp eq i32 %208, 0
  %209 = select i1 %.not208, 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 7312
  store i32 4, ptr %212, align 8, !tbaa !107
  %213 = and i32 %.1, 262144
  %.not209 = icmp eq i32 %213, 0
  br i1 %.not209, 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 7260
  %217 = load i32, ptr %216, align 4, !tbaa !97
  %218 = icmp eq i32 %217, %1
  br i1 %218, label %219, label %281

219:                                              ; preds = %215
  %220 = getelementptr inbounds i8, ptr %6, i64 7312
  %221 = load i32, ptr %220, align 8, !tbaa !107
  switch i32 %221, label %277 [
    i32 1, label %222
    i32 4, label %274
  ]

222:                                              ; preds = %219
  %223 = getelementptr inbounds i8, ptr %6, i64 7272
  %224 = load i8, ptr %223, align 8, !tbaa !108, !range !85, !noundef !93
  %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 7296
  store <2 x float> %228, ptr %229, align 8
  br label %230

230:                                              ; preds = %226, %222
  %231 = getelementptr inbounds i8, ptr %6, i64 7316
  %232 = load i32, ptr %231, align 4, !tbaa !98
  %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 !96, !range !85, !noundef !93
  %240 = trunc nuw i8 %239 to i1
  br i1 %240, label %270, label %241

241:                                              ; preds = %235
  %242 = and i32 %.1, 32
  %243 = icmp ne i32 %242, 0
  %244 = and i1 %243, %.3166.shrunk
  %245 = and i32 %.1, 64
  %.not211 = icmp ne i32 %245, 0
  %or.cond235.not = or i1 %.not211, %244
  br i1 %or.cond235.not, label %246, label %269

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

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

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

256:                                              ; preds = %251, %249
  %257 = phi i1 [ false, %249 ], [ %255, %251 ]
  %258 = and i32 %.1, 1024
  %.not213 = icmp eq i32 %258, 0
  br i1 %.not213, label %266, label %259

259:                                              ; preds = %256
  %260 = getelementptr inbounds i8, ptr %6, i64 1108
  %261 = getelementptr inbounds [5 x float], ptr %260, i64 0, i64 %237
  %262 = load float, ptr %261, align 4, !tbaa !99
  %263 = getelementptr inbounds i8, ptr %6, i64 148
  %264 = load float, ptr %263, align 4, !tbaa !100
  %265 = fcmp oge float %262, %264
  br label %266

266:                                              ; preds = %259, %256
  %267 = phi i1 [ false, %256 ], [ %265, %259 ]
  br i1 %257, label %269, label %268

268:                                              ; preds = %266
  %spec.select236 = select i1 %267, i8 %.8, i8 1
  br label %269

269:                                              ; preds = %268, %266, %241, %246
  %.10 = phi i8 [ %.8, %246 ], [ %.8, %241 ], [ %.8, %266 ], [ %spec.select236, %268 ]
  tail call void @_ZN5ImGui13ClearActiveIDEv()
  br label %270

270:                                              ; preds = %235, %269
  %.0169 = phi i8 [ 0, %269 ], [ 1, %235 ]
  %.11 = phi i8 [ %.10, %269 ], [ %.8, %235 ]
  %271 = and i32 %.1, 262144
  %.not214 = icmp eq i32 %271, 0
  br i1 %.not214, label %272, label %277

272:                                              ; preds = %270
  %273 = getelementptr inbounds i8, ptr %6, i64 7762
  store i8 1, ptr %273, align 2, !tbaa !101
  br label %277

274:                                              ; preds = %219
  %275 = load i32, ptr %201, align 4, !tbaa !105
  %.not210 = icmp eq i32 %275, %1
  br i1 %.not210, label %277, label %276

276:                                              ; preds = %274
  tail call void @_ZN5ImGui13ClearActiveIDEv()
  br label %277

277:                                              ; preds = %219, %270, %272, %276, %274
  %.1170 = phi i8 [ 0, %276 ], [ 0, %274 ], [ %.0169, %272 ], [ %.0169, %270 ], [ 0, %219 ]
  %.12 = phi i8 [ %.8, %276 ], [ %.8, %274 ], [ %.11, %272 ], [ %.11, %270 ], [ %.8, %219 ]
  %278 = trunc nuw i8 %.12 to i1
  br i1 %278, label %279, label %281

279:                                              ; preds = %277
  %280 = getelementptr inbounds i8, ptr %6, i64 7275
  store i8 1, ptr %280, align 1, !tbaa !109
  br label %281

281:                                              ; preds = %277, %279, %215
  %.2171 = phi i8 [ %.1170, %279 ], [ %.1170, %277 ], [ 0, %215 ]
  %.13 = phi i8 [ %.12, %279 ], [ %.12, %277 ], [ %.8, %215 ]
  %.not215 = icmp eq ptr %2, null
  br i1 %.not215, label %284, label %282

282:                                              ; preds = %281
  %283 = zext i1 %.3166.shrunk to i8
  store i8 %283, ptr %2, align 1, !tbaa !96
  br label %284

284:                                              ; preds = %282, %281
  %.not216 = icmp eq ptr %3, null
  br i1 %.not216, label %286, label %285

285:                                              ; preds = %284
  store i8 %.2171, ptr %3, align 1, !tbaa !96
  br label %286

286:                                              ; preds = %285, %284
  %287 = trunc nuw i8 %.13 to i1
  ret i1 %287
}

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 7192}
!10 = !{!"_ZTS12ImGuiContext", !11, i64 0, !11, i64 1, !12, i64 8, !18, i64 5472, !6, i64 6520, !15, i64 6528, !15, i64 6532, !19, i64 6536, !21, i64 7048, !13, i64 7056, !13, i64 7060, !13, i64 7064, !11, i64 7068, !11, i64 7069, !11, i64 7070, !11, i64 7071, !11, i64 7072, !6, i64 7080, !22, i64 7088, !22, i64 7104, !22, i64 7120, !23, i64 7136, !24, i64 7152, !13, i64 7168, !14, i64 7172, !6, i64 7184, !6, i64 7192, !6, i64 7200, !6, i64 7208, !6, i64 7216, !14, i64 7224, !15, i64 7232, !13, i64 7236, !13, i64 7240, !13, i64 7244, !11, i64 7248, !11, i64 7249, !11, i64 7250, !11, i64 7251, !15, i64 7252, !15, i64 7256, !13, i64 7260, !13, i64 7264, !15, i64 7268, !11, i64 7272, !11, i64 7273, !11, i64 7274, !11, i64 7275, !11, i64 7276, !11, i64 7277, !11, i64 7278, !13, i64 7280, !13, i64 7284, !26, i64 7288, !14, i64 7296, !6, i64 7304, !27, i64 7312, !13, i64 7316, !13, i64 7320, !11, i64 7324, !11, i64 7325, !6, i64 7328, !13, i64 7336, !15, i64 7340, !13, i64 7344, !28, i64 7348, !29, i64 7368, !31, i64 7432, !32, i64 7544, !33, i64 7560, !34, i64 7576, !35, i64 7592, !36, i64 7608, !37, i64 7624, !38, i64 7640, !38, i64 7656, !39, i64 7672, !6, i64 7688, !13, i64 7696, !13, i64 7700, !13, i64 7704, !13, i64 7708, !13, i64 7712, !13, i64 7716, !13, i64 7720, !13, i64 7724, !13, i64 7728, !13, i64 7732, !13, i64 7736, !13, i64 7740, !13, i64 7744, !27, i64 7748, !40, i64 7752, !13, i64 7756, !11, i64 7760, !11, i64 7761, !11, i64 7762, !11, i64 7763, !11, i64 7764, !11, i64 7765, !11, i64 7766, !13, i64 7768, !30, i64 7772, !11, i64 7788, !11, i64 7789, !11, i64 7790, !13, i64 7792, !13, i64 7796, !13, i64 7800, !13, i64 7804, !13, i64 7808, !13, i64 7812, !30, i64 7816, !13, i64 7832, !13, i64 7836, !41, i64 7840, !41, i64 7888, !41, i64 7936, !6, i64 7984, !6, i64 7992, !6, i64 8000, !15, i64 8008, !15, i64 8012, !11, i64 8016, !6, i64 8024, !6, i64 8032, !13, i64 8040, !13, i64 8044, !11, i64 8048, !15, i64 8052, !13, i64 8056, !11, i64 8060, !11, i64 8061, !11, i64 8062, !13, i64 8064, !13, i64 8068, !13, i64 8072, !42, i64 8080, !30, i64 8144, !13, i64 8160, !13, i64 8164, !15, i64 8168, !13, i64 8172, !13, i64 8176, !13, i64 8180, !13, i64 8184, !43, i64 8192, !7, i64 8208, !6, i64 8224, !13, i64 8232, !44, i64 8240, !46, i64 8280, !47, i64 8296, !48, i64 8312, !6, i64 8328, !49, i64 8336, !51, i64 8376, !52, i64 8392, !14, i64 8408, !53, i64 8416, !57, i64 12152, !13, i64 12264, !13, i64 12268, !15, i64 12272, !15, i64 12276, !13, i64 12280, !20, i64 12284, !59, i64 12300, !15, i64 12348, !11, i64 12352, !11, i64 12353, !15, i64 12356, !15, i64 12360, !15, i64 12364, !15, i64 12368, !16, i64 12372, !16, i64 12374, !15, i64 12376, !54, i64 12384, !35, i64 12400, !14, i64 12416, !14, i64 12424, !7, i64 12432, !11, i64 12433, !15, i64 12436, !60, i64 12440, !61, i64 12456, !62, i64 12472, !63, i64 12488, !64, i64 12504, !13, i64 12520, !11, i64 12524, !65, i64 12528, !6, i64 12536, !60, i64 12544, !6, i64 12560, !6, i64 12568, !15, i64 12576, !11, i64 12580, !13, i64 12584, !13, i64 12588, !13, i64 12592, !11, i64 12596, !13, i64 12600, !66, i64 12604, !67, i64 12624, !7, i64 12656, !13, i64 13136, !13, i64 13140, !15, i64 13144, !13, i64 13148, !13, i64 13152, !13, i64 13156, !7, i64 13160}
!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 1063, !7, i64 1068, !7, i64 1073, !7, i64 1080, !7, i64 1100, !7, i64 1120, !7, i64 1160, !7, i64 1180, !7, i64 3228, !7, i64 5276, !7, i64 5356, !15, i64 5436, !11, i64 5440, !16, i64 5442, !17, i64 5448}
!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 = !{!"_ZTS6ImPoolI10ImGuiTableE", !45, i64 0, !24, i64 16, !13, i64 32, !13, i64 36}
!45 = !{!"_ZTS8ImVectorI10ImGuiTableE", !13, i64 0, !13, i64 4, !6, i64 8}
!46 = !{!"_ZTS8ImVectorI18ImGuiTableTempDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!47 = !{!"_ZTS8ImVectorIfE", !13, i64 0, !13, i64 4, !6, i64 8}
!48 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !13, i64 0, !13, i64 4, !6, i64 8}
!49 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !50, i64 0, !24, i64 16, !13, i64 32, !13, i64 36}
!50 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !13, i64 0, !13, i64 4, !6, i64 8}
!51 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !13, i64 0, !13, i64 4, !6, i64 8}
!52 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !13, i64 0, !13, i64 4, !6, i64 8}
!53 = !{!"_ZTS19ImGuiInputTextState", !13, i64 0, !13, i64 4, !13, i64 8, !17, i64 16, !54, i64 32, !54, i64 48, !11, i64 64, !13, i64 68, !15, i64 72, !55, i64 76, !15, i64 3704, !11, i64 3708, !11, i64 3709, !11, i64 3710, !13, i64 3712, !6, i64 3720, !6, i64 3728}
!54 = !{!"_ZTS8ImVectorIcE", !13, i64 0, !13, i64 4, !6, i64 8}
!55 = !{!"_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, !56, i64 32}
!56 = !{!"_ZTSN5ImStb12StbUndoStateE", !7, i64 0, !7, i64 1584, !16, i64 3582, !16, i64 3584, !13, i64 3588, !13, i64 3592}
!57 = !{!"_ZTS6ImFont", !47, i64 0, !15, i64 16, !15, i64 20, !17, i64 24, !58, 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}
!58 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !13, i64 0, !13, i64 4, !6, i64 8}
!59 = !{!"_ZTS21ImGuiComboPreviewData", !30, i64 0, !14, i64 16, !14, i64 24, !14, i64 32, !15, i64 40, !13, i64 44}
!60 = !{!"_ZTS15ImGuiTextBuffer", !54, i64 0}
!61 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !13, i64 0, !13, i64 4, !6, i64 8}
!62 = !{!"_ZTS13ImChunkStreamI19ImGuiWindowSettingsE", !54, i64 0}
!63 = !{!"_ZTS13ImChunkStreamI18ImGuiTableSettingsE", !54, i64 0}
!64 = !{!"_ZTS8ImVectorI16ImGuiContextHookE", !13, i64 0, !13, i64 4, !6, i64 8}
!65 = !{!"_ZTS12ImGuiLogType", !7, i64 0}
!66 = !{!"_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}
!67 = !{!"_ZTS14ImGuiStackTool", !13, i64 0, !13, i64 4, !13, i64 8, !68, i64 16}
!68 = !{!"_ZTS8ImVectorI19ImGuiStackLevelInfoE", !13, i64 0, !13, i64 4, !6, i64 8}
!69 = !{!70, !6, i64 832}
!70 = !{!"_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, !7, i64 152, !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, !71, i64 216, !30, i64 440, !30, i64 456, !30, i64 472, !30, i64 488, !30, i64 504, !30, i64 520, !30, i64 536, !74, i64 552, !74, i64 556, !13, i64 560, !15, i64 564, !15, i64 568, !24, i64 576, !75, i64 592, !15, i64 608, !13, i64 612, !6, i64 616, !76, i64 624, !6, i64 824, !6, i64 832, !6, i64 840, !6, i64 848, !6, i64 856, !6, i64 864, !7, i64 872, !7, i64 880, !13, i64 912, !13, i64 916, !11, i64 920}
!71 = !{!"_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, !72, i64 64, !72, i64 68, !72, i64 72, !40, i64 76, !16, i64 80, !16, i64 82, !13, i64 84, !11, i64 88, !11, i64 89, !11, i64 90, !14, i64 92, !73, i64 100, !13, i64 128, !13, i64 132, !22, i64 136, !6, i64 152, !6, i64 160, !13, i64 168, !13, i64 172, !13, i64 176, !13, i64 180, !15, i64 184, !15, i64 188, !47, i64 192, !47, i64 208}
!72 = !{!"_ZTS6ImVec1", !15, i64 0}
!73 = !{!"_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}
!74 = !{!"_ZTS8ImVec2ih", !16, i64 0, !16, i64 2}
!75 = !{!"_ZTS8ImVectorI15ImGuiOldColumnsE", !13, i64 0, !13, i64 4, !6, i64 8}
!76 = !{!"_ZTS10ImDrawList", !77, i64 0, !17, i64 16, !78, i64 32, !13, i64 48, !13, i64 52, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !79, i64 88, !80, i64 104, !81, i64 120, !82, i64 136, !83, i64 168, !15, i64 192}
!77 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !13, i64 0, !13, i64 4, !6, i64 8}
!78 = !{!"_ZTS8ImVectorI10ImDrawVertE", !13, i64 0, !13, i64 4, !6, i64 8}
!79 = !{!"_ZTS8ImVectorI6ImVec4E", !13, i64 0, !13, i64 4, !6, i64 8}
!80 = !{!"_ZTS8ImVectorIPvE", !13, i64 0, !13, i64 4, !6, i64 8}
!81 = !{!"_ZTS8ImVectorI6ImVec2E", !13, i64 0, !13, i64 4, !6, i64 8}
!82 = !{!"_ZTS15ImDrawCmdHeader", !20, i64 0, !6, i64 16, !13, i64 24}
!83 = !{!"_ZTS18ImDrawListSplitter", !13, i64 0, !13, i64 4, !48, i64 8}
!84 = !{!10, !11, i64 8060}
!85 = !{i8 0, i8 2}
!86 = !{!10, !13, i64 8092}
!87 = !{!10, !13, i64 8064}
!88 = !{!10, !15, i64 7252}
!89 = !{!10, !15, i64 24}
!90 = !{!10, !13, i64 8184}
!91 = !{!10, !13, i64 7244}
!92 = !{!10, !11, i64 320}
!93 = !{}
!94 = !{!10, !11, i64 321}
!95 = !{!10, !11, i64 322}
!96 = !{!11, !11, i64 0}
!97 = !{!10, !13, i64 7260}
!98 = !{!10, !13, i64 7316}
!99 = !{!15, !15, i64 0}
!100 = !{!10, !15, i64 148}
!101 = !{!10, !11, i64 7762}
!102 = !{!10, !13, i64 7696}
!103 = !{!10, !11, i64 7763}
!104 = !{!70, !13, i64 84}
!105 = !{!10, !13, i64 7708}
!106 = !{!10, !13, i64 7704}
!107 = !{!10, !27, i64 7312}
!108 = !{!10, !11, i64 7272}
!109 = !{!10, !11, i64 7275}


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