; LLVM IR from theolundqvist/parallax-voxel-ray-marcher :: src/external/Dear 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, [3 x i8], i32, 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, i8, i8, i8, i8, float, float, i32, i32, float, i8, i8, i8, i8, i8, i8, i8, i8, i32, i32, [4 x i8], 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, %struct.ImRect, i32, i32, i32, i8, i8, i8, i8, i8, i8, i8, i8, i32, %struct.ImRect, i8, [3 x i8], i32, i32, i32, i32, i32, i32, [4 x i8], %struct.ImGuiNavItemData, %struct.ImGuiNavItemData, %struct.ImGuiNavItemData, ptr, i32, [4 x i8], ptr, ptr, ptr, float, float, i8, [7 x i8], ptr, ptr, i32, i32, 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, [3 x float], %struct.ImVec4, %struct.ImGuiComboPreviewData, float, i8, i8, [2 x i8], float, float, float, float, i32, 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, [120 x float], i32, i32, float, i32, i32, i32, [3073 x i8], [3 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, 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 float], [5 x float], [5 x %struct.ImVec2], [5 x float], [512 x float], [512 x float], [20 x float], [20 x float], float, 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.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, float, float, float, [4 x i8] }>
%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, i32, i32 }
%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, [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, i8, %struct.ImVec2, %struct.ImGuiMenuColumns, i32, i32, %struct.ImVector.0, ptr, ptr, i32, i32, i32, i32, i32, float, float, [4 x i8], %struct.ImVector.1, %struct.ImVector.1, %struct.ImGuiStackSizes, [2 x i8] }>
%struct.ImVec1 = type { float }
%struct.ImGuiMenuColumns = type <{ i32, i32, i16, i16, i16, i16, i16, [4 x i16], [2 x i8] }>
%struct.ImGuiStackSizes = type { i16, i16, i16, i16, i16, i16, i16 }
%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 [116 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [59 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: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #2

; 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) #3

; 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)) #4

; 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) #5 {
  %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 30
  %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 30
  %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 30
  %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 !69
  %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 30
  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 143
  %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 151
  %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 147
  %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 143
  %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 147
  %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 32)
  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 8, !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 8, !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 159
  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 30
  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 8, !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 8, !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 %391

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 %384, 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 %384, 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 %384, 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 65
  %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 65
  %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 65
  %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 67
  %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 67
  %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 67
  %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 %324

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

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 62
  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 %323

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 66
  %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 %323

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 %17, align 4, !tbaa !9
  %320 = load ptr, ptr %11, align 8, !tbaa !5
  %321 = getelementptr inbounds %struct.ImGuiContext, ptr %320, i32 0, i32 62
  store i32 %319, ptr %321, align 4, !tbaa !99
  %322 = load ptr, ptr %12, align 8, !tbaa !5
  call void @_ZN5ImGui11FocusWindowEP11ImGuiWindow(ptr noundef %322)
  br label %323

323:                                              ; preds = %318, %301, %297
  br label %324

324:                                              ; preds = %323, %269, %266
  %325 = load i32, ptr %10, align 4, !tbaa !9
  %326 = and i32 %325, 128
  %327 = icmp ne i32 %326, 0
  br i1 %327, label %328, label %355

328:                                              ; preds = %324
  %329 = load i32, ptr %18, align 4, !tbaa !9
  %330 = icmp ne i32 %329, -1
  br i1 %330, label %331, label %355

331:                                              ; preds = %328
  call void @llvm.lifetime.start.p0(i64 1, ptr %19) #8
  %332 = load i32, ptr %10, align 4, !tbaa !9
  %333 = and i32 %332, 1024
  %334 = icmp ne i32 %333, 0
  br i1 %334, label %335, label %348

335:                                              ; preds = %331
  %336 = load ptr, ptr %11, align 8, !tbaa !5
  %337 = getelementptr inbounds %struct.ImGuiContext, ptr %336, i32 0, i32 3
  %338 = getelementptr inbounds %struct.ImGuiIO, ptr %337, i32 0, i32 71
  %339 = load i32, ptr %18, align 4, !tbaa !9
  %340 = sext i32 %339 to i64
  %341 = getelementptr inbounds [5 x float], ptr %338, i64 0, i64 %340
  %342 = load float, ptr %341, align 4, !tbaa !100
  %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 11
  %346 = load float, ptr %345, align 4, !tbaa !101
  %347 = fcmp oge float %342, %346
  br label %348

348:                                              ; preds = %335, %331
  %349 = phi i1 [ false, %331 ], [ %347, %335 ]
  %350 = zext i1 %349 to i8
  store i8 %350, ptr %19, align 1, !tbaa !85
  %351 = load i8, ptr %19, align 1, !tbaa !85, !range !86, !noundef !87
  %352 = trunc i8 %351 to i1
  br i1 %352, label %354, label %353

353:                                              ; preds = %348
  store i8 1, ptr %15, align 1, !tbaa !85
  br label %354

354:                                              ; preds = %353, %348
  call void @_ZN5ImGui13ClearActiveIDEv()
  call void @llvm.lifetime.end.p0(i64 1, ptr %19) #8
  br label %355

355:                                              ; preds = %354, %328, %324
  %356 = load ptr, ptr %11, align 8, !tbaa !5
  %357 = getelementptr inbounds %struct.ImGuiContext, ptr %356, i32 0, i32 44
  %358 = load i32, ptr %357, align 8, !tbaa !98
  %359 = load i32, ptr %7, align 4, !tbaa !9
  %360 = icmp eq i32 %358, %359
  br i1 %360, label %361, label %383

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

365:                                              ; preds = %361
  %366 = load ptr, ptr %11, align 8, !tbaa !5
  %367 = getelementptr inbounds %struct.ImGuiContext, ptr %366, i32 0, i32 3
  %368 = getelementptr inbounds %struct.ImGuiIO, ptr %367, i32 0, i32 70
  %369 = load ptr, ptr %11, align 8, !tbaa !5
  %370 = getelementptr inbounds %struct.ImGuiContext, ptr %369, i32 0, i32 62
  %371 = load i32, ptr %370, align 4, !tbaa !99
  %372 = sext i32 %371 to i64
  %373 = getelementptr inbounds [5 x float], ptr %368, i64 0, i64 %372
  %374 = load float, ptr %373, align 4, !tbaa !100
  %375 = fcmp ogt float %374, 0.000000e+00
  br i1 %375, label %376, label %382

376:                                              ; preds = %365
  %377 = load ptr, ptr %11, align 8, !tbaa !5
  %378 = getelementptr inbounds %struct.ImGuiContext, ptr %377, i32 0, i32 62
  %379 = load i32, ptr %378, align 4, !tbaa !99
  %380 = call noundef zeroext i1 @_ZN5ImGui14IsMouseClickedEib(i32 noundef %379, i1 noundef zeroext true)
  br i1 %380, label %381, label %382

381:                                              ; preds = %376
  store i8 1, ptr %15, align 1, !tbaa !85
  br label %382

382:                                              ; preds = %381, %376, %365
  br label %383

383:                                              ; preds = %382, %361, %355
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #8
  br label %384

384:                                              ; preds = %383, %184, %178, %172
  %385 = load i8, ptr %15, align 1, !tbaa !85, !range !86, !noundef !87
  %386 = trunc i8 %385 to i1
  br i1 %386, label %387, label %390

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

390:                                              ; preds = %387, %384
  br label %391

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

397:                                              ; preds = %391
  %398 = load ptr, ptr %11, align 8, !tbaa !5
  %399 = getelementptr inbounds %struct.ImGuiContext, ptr %398, i32 0, i32 103
  %400 = load i8, ptr %399, align 2, !tbaa !102, !range !86, !noundef !87
  %401 = trunc i8 %400 to i1
  br i1 %401, label %432, label %402

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

407:                                              ; preds = %402
  %408 = load ptr, ptr %11, align 8, !tbaa !5
  %409 = getelementptr inbounds %struct.ImGuiContext, ptr %408, i32 0, i32 44
  %410 = load i32, ptr %409, align 8, !tbaa !98
  %411 = icmp eq i32 %410, 0
  br i1 %411, label %426, label %412

412:                                              ; preds = %407
  %413 = load ptr, ptr %11, align 8, !tbaa !5
  %414 = getelementptr inbounds %struct.ImGuiContext, ptr %413, i32 0, i32 44
  %415 = load i32, ptr %414, align 8, !tbaa !98
  %416 = load i32, ptr %7, align 4, !tbaa !9
  %417 = icmp eq i32 %415, %416
  br i1 %417, label %426, label %418

418:                                              ; preds = %412
  %419 = load ptr, ptr %11, align 8, !tbaa !5
  %420 = getelementptr inbounds %struct.ImGuiContext, ptr %419, i32 0, i32 44
  %421 = load i32, ptr %420, align 8, !tbaa !98
  %422 = load ptr, ptr %12, align 8, !tbaa !5
  %423 = getelementptr inbounds %struct.ImGuiWindow, ptr %422, i32 0, i32 13
  %424 = load i32, ptr %423, align 4, !tbaa !105
  %425 = icmp eq i32 %421, %424
  br i1 %425, label %426, label %432

426:                                              ; preds = %418, %412, %407
  %427 = load i32, ptr %10, align 4, !tbaa !9
  %428 = and i32 %427, 524288
  %429 = icmp ne i32 %428, 0
  br i1 %429, label %431, label %430

430:                                              ; preds = %426
  store i8 1, ptr %16, align 1, !tbaa !85
  br label %431

431:                                              ; preds = %430, %426
  br label %432

432:                                              ; preds = %431, %418, %402, %397, %391
  %433 = load ptr, ptr %11, align 8, !tbaa !5
  %434 = getelementptr inbounds %struct.ImGuiContext, ptr %433, i32 0, i32 88
  %435 = load i32, ptr %434, align 4, !tbaa !106
  %436 = load i32, ptr %7, align 4, !tbaa !9
  %437 = icmp eq i32 %435, %436
  br i1 %437, label %438, label %490

438:                                              ; preds = %432
  call void @llvm.lifetime.start.p0(i64 1, ptr %20) #8
  %439 = load ptr, ptr %11, align 8, !tbaa !5
  %440 = getelementptr inbounds %struct.ImGuiContext, ptr %439, i32 0, i32 87
  %441 = load i32, ptr %440, align 8, !tbaa !107
  %442 = load i32, ptr %7, align 4, !tbaa !9
  %443 = icmp eq i32 %441, %442
  %444 = zext i1 %443 to i8
  store i8 %444, ptr %20, align 1, !tbaa !85
  call void @llvm.lifetime.start.p0(i64 1, ptr %21) #8
  %445 = load i32, ptr %10, align 4, !tbaa !9
  %446 = and i32 %445, 1024
  %447 = icmp ne i32 %446, 0
  %448 = zext i1 %447 to i64
  %449 = select i1 %447, i32 3, i32 1
  %450 = call noundef zeroext i1 @_ZN5ImGui14IsNavInputTestEi18ImGuiInputReadMode(i32 noundef 0, i32 noundef %449)
  %451 = zext i1 %450 to i8
  store i8 %451, ptr %21, align 1, !tbaa !85
  %452 = load i8, ptr %20, align 1, !tbaa !85, !range !86, !noundef !87
  %453 = trunc i8 %452 to i1
  br i1 %453, label %457, label %454

454:                                              ; preds = %438
  %455 = load i8, ptr %21, align 1, !tbaa !85, !range !86, !noundef !87
  %456 = trunc i8 %455 to i1
  br i1 %456, label %457, label %458

457:                                              ; preds = %454, %438
  store i8 1, ptr %15, align 1, !tbaa !85
  br label %458

458:                                              ; preds = %457, %454
  %459 = load i8, ptr %20, align 1, !tbaa !85, !range !86, !noundef !87
  %460 = trunc i8 %459 to i1
  br i1 %460, label %470, label %461

461:                                              ; preds = %458
  %462 = load i8, ptr %21, align 1, !tbaa !85, !range !86, !noundef !87
  %463 = trunc i8 %462 to i1
  br i1 %463, label %470, label %464

464:                                              ; preds = %461
  %465 = load ptr, ptr %11, align 8, !tbaa !5
  %466 = getelementptr inbounds %struct.ImGuiContext, ptr %465, i32 0, i32 44
  %467 = load i32, ptr %466, align 8, !tbaa !98
  %468 = load i32, ptr %7, align 4, !tbaa !9
  %469 = icmp eq i32 %467, %468
  br i1 %469, label %470, label %489

470:                                              ; preds = %464, %461, %458
  %471 = load i32, ptr %7, align 4, !tbaa !9
  %472 = load ptr, ptr %11, align 8, !tbaa !5
  %473 = getelementptr inbounds %struct.ImGuiContext, ptr %472, i32 0, i32 87
  store i32 %471, ptr %473, align 8, !tbaa !107
  %474 = load i32, ptr %7, align 4, !tbaa !9
  %475 = load ptr, ptr %12, align 8, !tbaa !5
  call void @_ZN5ImGui11SetActiveIDEjP11ImGuiWindow(i32 noundef %474, ptr noundef %475)
  %476 = load i8, ptr %20, align 1, !tbaa !85, !range !86, !noundef !87
  %477 = trunc i8 %476 to i1
  br i1 %477, label %481, label %478

478:                                              ; preds = %470
  %479 = load i8, ptr %21, align 1, !tbaa !85, !range !86, !noundef !87
  %480 = trunc i8 %479 to i1
  br i1 %480, label %481, label %488

481:                                              ; preds = %478, %470
  %482 = load i32, ptr %10, align 4, !tbaa !9
  %483 = and i32 %482, 262144
  %484 = icmp ne i32 %483, 0
  br i1 %484, label %488, label %485

485:                                              ; preds = %481
  %486 = load i32, ptr %7, align 4, !tbaa !9
  %487 = load ptr, ptr %12, align 8, !tbaa !5
  call void @_ZN5ImGui10SetFocusIDEjP11ImGuiWindow(i32 noundef %486, ptr noundef %487)
  br label %488

488:                                              ; preds = %485, %481, %478
  br label %489

489:                                              ; preds = %488, %464
  call void @llvm.lifetime.end.p0(i64 1, ptr %21) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %20) #8
  br label %490

490:                                              ; preds = %489, %432
  call void @llvm.lifetime.start.p0(i64 1, ptr %22) #8
  store i8 0, ptr %22, align 1, !tbaa !85
  %491 = load ptr, ptr %11, align 8, !tbaa !5
  %492 = getelementptr inbounds %struct.ImGuiContext, ptr %491, i32 0, i32 44
  %493 = load i32, ptr %492, align 8, !tbaa !98
  %494 = load i32, ptr %7, align 4, !tbaa !9
  %495 = icmp eq i32 %493, %494
  br i1 %495, label %496, label %635

496:                                              ; preds = %490
  %497 = load ptr, ptr %11, align 8, !tbaa !5
  %498 = getelementptr inbounds %struct.ImGuiContext, ptr %497, i32 0, i32 61
  %499 = load i32, ptr %498, align 8, !tbaa !108
  %500 = icmp eq i32 %499, 1
  br i1 %500, label %501, label %614

501:                                              ; preds = %496
  %502 = load ptr, ptr %11, align 8, !tbaa !5
  %503 = getelementptr inbounds %struct.ImGuiContext, ptr %502, i32 0, i32 47
  %504 = load i8, ptr %503, align 4, !tbaa !109, !range !86, !noundef !87
  %505 = trunc i8 %504 to i1
  br i1 %505, label %506, label %515

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

515:                                              ; preds = %506, %501
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #8
  %516 = load ptr, ptr %11, align 8, !tbaa !5
  %517 = getelementptr inbounds %struct.ImGuiContext, ptr %516, i32 0, i32 62
  %518 = load i32, ptr %517, align 4, !tbaa !99
  store i32 %518, ptr %24, align 4, !tbaa !9
  %519 = load i32, ptr %24, align 4, !tbaa !9
  %520 = icmp sge i32 %519, 0
  br i1 %520, label %521, label %524

521:                                              ; preds = %515
  %522 = load i32, ptr %24, align 4, !tbaa !9
  %523 = icmp slt i32 %522, 5
  br label %524

524:                                              ; preds = %521, %515
  %525 = phi i1 [ false, %515 ], [ %523, %521 ]
  br i1 %525, label %526, label %527

526:                                              ; preds = %524
  br label %529

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

528:                                              ; No predecessors!
  br label %529

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

538:                                              ; preds = %529
  store i8 1, ptr %22, align 1, !tbaa !85
  br label %606

539:                                              ; preds = %529
  call void @llvm.lifetime.start.p0(i64 1, ptr %25) #8
  %540 = load i8, ptr %16, align 1, !tbaa !85, !range !86, !noundef !87
  %541 = trunc i8 %540 to i1
  br i1 %541, label %542, label %546

542:                                              ; preds = %539
  %543 = load i32, ptr %10, align 4, !tbaa !9
  %544 = and i32 %543, 32
  %545 = icmp ne i32 %544, 0
  br label %546

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

555:                                              ; preds = %546
  %556 = load i8, ptr %26, align 1, !tbaa !85, !range !86, !noundef !87
  %557 = trunc i8 %556 to i1
  br i1 %557, label %558, label %605

558:                                              ; preds = %555, %546
  %559 = load ptr, ptr %11, align 8, !tbaa !5
  %560 = getelementptr inbounds %struct.ImGuiContext, ptr %559, i32 0, i32 143
  %561 = load i8, ptr %560, align 4, !tbaa !88, !range !86, !noundef !87
  %562 = trunc i8 %561 to i1
  br i1 %562, label %605, label %563

563:                                              ; preds = %558
  call void @llvm.lifetime.start.p0(i64 1, ptr %27) #8
  %564 = load i32, ptr %10, align 4, !tbaa !9
  %565 = and i32 %564, 256
  %566 = icmp ne i32 %565, 0
  br i1 %566, label %567, label %576

567:                                              ; preds = %563
  %568 = load ptr, ptr %11, align 8, !tbaa !5
  %569 = getelementptr inbounds %struct.ImGuiContext, ptr %568, i32 0, i32 3
  %570 = getelementptr inbounds %struct.ImGuiIO, ptr %569, i32 0, i32 69
  %571 = load i32, ptr %24, align 4, !tbaa !9
  %572 = sext i32 %571 to i64
  %573 = getelementptr inbounds [5 x i8], ptr %570, i64 0, i64 %572
  %574 = load i8, ptr %573, align 1, !tbaa !85, !range !86, !noundef !87
  %575 = trunc i8 %574 to i1
  br label %576

576:                                              ; preds = %567, %563
  %577 = phi i1 [ false, %563 ], [ %575, %567 ]
  %578 = zext i1 %577 to i8
  store i8 %578, ptr %27, align 1, !tbaa !85
  call void @llvm.lifetime.start.p0(i64 1, ptr %28) #8
  %579 = load i32, ptr %10, align 4, !tbaa !9
  %580 = and i32 %579, 1024
  %581 = icmp ne i32 %580, 0
  br i1 %581, label %582, label %595

582:                                              ; preds = %576
  %583 = load ptr, ptr %11, align 8, !tbaa !5
  %584 = getelementptr inbounds %struct.ImGuiContext, ptr %583, i32 0, i32 3
  %585 = getelementptr inbounds %struct.ImGuiIO, ptr %584, i32 0, i32 71
  %586 = load i32, ptr %24, align 4, !tbaa !9
  %587 = sext i32 %586 to i64
  %588 = getelementptr inbounds [5 x float], ptr %585, i64 0, i64 %587
  %589 = load float, ptr %588, align 4, !tbaa !100
  %590 = load ptr, ptr %11, align 8, !tbaa !5
  %591 = getelementptr inbounds %struct.ImGuiContext, ptr %590, i32 0, i32 3
  %592 = getelementptr inbounds %struct.ImGuiIO, ptr %591, i32 0, i32 11
  %593 = load float, ptr %592, align 4, !tbaa !101
  %594 = fcmp oge float %589, %593
  br label %595

595:                                              ; preds = %582, %576
  %596 = phi i1 [ false, %576 ], [ %594, %582 ]
  %597 = zext i1 %596 to i8
  store i8 %597, ptr %28, align 1, !tbaa !85
  %598 = load i8, ptr %27, align 1, !tbaa !85, !range !86, !noundef !87
  %599 = trunc i8 %598 to i1
  br i1 %599, label %604, label %600

600:                                              ; preds = %595
  %601 = load i8, ptr %28, align 1, !tbaa !85, !range !86, !noundef !87
  %602 = trunc i8 %601 to i1
  br i1 %602, label %604, label %603

603:                                              ; preds = %600
  store i8 1, ptr %15, align 1, !tbaa !85
  br label %604

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

605:                                              ; preds = %604, %558, %555
  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 %606

606:                                              ; preds = %605, %538
  %607 = load i32, ptr %10, align 4, !tbaa !9
  %608 = and i32 %607, 262144
  %609 = icmp ne i32 %608, 0
  br i1 %609, label %613, label %610

610:                                              ; preds = %606
  %611 = load ptr, ptr %11, align 8, !tbaa !5
  %612 = getelementptr inbounds %struct.ImGuiContext, ptr %611, i32 0, i32 103
  store i8 1, ptr %612, align 2, !tbaa !102
  br label %613

613:                                              ; preds = %610, %606
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #8
  br label %628

614:                                              ; preds = %496
  %615 = load ptr, ptr %11, align 8, !tbaa !5
  %616 = getelementptr inbounds %struct.ImGuiContext, ptr %615, i32 0, i32 61
  %617 = load i32, ptr %616, align 8, !tbaa !108
  %618 = icmp eq i32 %617, 4
  br i1 %618, label %619, label %627

619:                                              ; preds = %614
  %620 = load ptr, ptr %11, align 8, !tbaa !5
  %621 = getelementptr inbounds %struct.ImGuiContext, ptr %620, i32 0, i32 88
  %622 = load i32, ptr %621, align 4, !tbaa !106
  %623 = load i32, ptr %7, align 4, !tbaa !9
  %624 = icmp ne i32 %622, %623
  br i1 %624, label %625, label %626

625:                                              ; preds = %619
  call void @_ZN5ImGui13ClearActiveIDEv()
  br label %626

626:                                              ; preds = %625, %619
  br label %627

627:                                              ; preds = %626, %614
  br label %628

628:                                              ; preds = %627, %613
  %629 = load i8, ptr %15, align 1, !tbaa !85, !range !86, !noundef !87
  %630 = trunc i8 %629 to i1
  br i1 %630, label %631, label %634

631:                                              ; preds = %628
  %632 = load ptr, ptr %11, align 8, !tbaa !5
  %633 = getelementptr inbounds %struct.ImGuiContext, ptr %632, i32 0, i32 50
  store i8 1, ptr %633, align 1, !tbaa !111
  br label %634

634:                                              ; preds = %631, %628
  br label %635

635:                                              ; preds = %634, %490
  %636 = load ptr, ptr %8, align 8, !tbaa !5
  %637 = icmp ne ptr %636, null
  br i1 %637, label %638, label %643

638:                                              ; preds = %635
  %639 = load i8, ptr %16, align 1, !tbaa !85, !range !86, !noundef !87
  %640 = trunc i8 %639 to i1
  %641 = load ptr, ptr %8, align 8, !tbaa !5
  %642 = zext i1 %640 to i8
  store i8 %642, ptr %641, align 1, !tbaa !85
  br label %643

643:                                              ; preds = %638, %635
  %644 = load ptr, ptr %9, align 8, !tbaa !5
  %645 = icmp ne ptr %644, null
  br i1 %645, label %646, label %651

646:                                              ; preds = %643
  %647 = load i8, ptr %22, align 1, !tbaa !85, !range !86, !noundef !87
  %648 = trunc i8 %647 to i1
  %649 = load ptr, ptr %9, align 8, !tbaa !5
  %650 = zext i1 %648 to i8
  store i8 %650, ptr %649, align 1, !tbaa !85
  br label %651

651:                                              ; preds = %646, %643
  %652 = load i8, ptr %15, align 1, !tbaa !85, !range !86, !noundef !87
  %653 = trunc i8 %652 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 %653
}

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

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

declare void @_ZN5ImGui12SetHoveredIDEj(i32 noundef) #6

declare void @_ZN5ImGui11FocusWindowEP11ImGuiWindow(ptr noundef) #6

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

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

declare void @_ZN5ImGui13ClearActiveIDEv() #6

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN5ImGui14IsNavInputTestEi18ImGuiInputReadMode(i32 noundef, i32 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 = { 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 #3 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { 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 #5 = { 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 #6 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #8 = { nounwind }
attributes #9 = { noreturn nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !6, i64 7184}
!12 = !{!"_ZTS12ImGuiContext", !13, i64 0, !13, i64 1, !14, i64 8, !19, i64 5464, !6, i64 6512, !16, i64 6520, !16, i64 6524, !20, i64 6528, !22, i64 7040, !10, i64 7048, !10, i64 7052, !10, i64 7056, !13, i64 7060, !13, i64 7061, !13, i64 7062, !13, i64 7063, !13, i64 7064, !10, i64 7068, !6, i64 7072, !23, i64 7080, !23, i64 7096, !23, i64 7112, !24, i64 7128, !25, i64 7144, !10, i64 7160, !15, i64 7164, !6, i64 7176, !6, i64 7184, !6, i64 7192, !6, i64 7200, !6, i64 7208, !15, i64 7216, !16, i64 7224, !10, i64 7228, !10, i64 7232, !13, i64 7236, !13, i64 7237, !13, i64 7238, !13, i64 7239, !16, i64 7240, !16, i64 7244, !10, i64 7248, !10, i64 7252, !16, i64 7256, !13, i64 7260, !13, i64 7261, !13, i64 7262, !13, i64 7263, !13, i64 7264, !13, i64 7265, !13, i64 7266, !10, i64 7268, !10, i64 7272, !27, i64 7280, !15, i64 7288, !6, i64 7296, !28, i64 7304, !10, i64 7308, !10, i64 7312, !13, i64 7316, !13, i64 7317, !6, i64 7320, !10, i64 7328, !16, i64 7332, !10, i64 7336, !29, i64 7340, !30, i64 7360, !32, i64 7408, !33, i64 7520, !34, i64 7536, !35, i64 7552, !36, i64 7568, !37, i64 7584, !38, i64 7600, !39, i64 7616, !39, i64 7632, !40, i64 7648, !6, i64 7664, !10, i64 7672, !10, i64 7676, !10, i64 7680, !10, i64 7684, !10, i64 7688, !10, i64 7692, !10, i64 7696, !10, i64 7700, !10, i64 7704, !10, i64 7708, !10, i64 7712, !28, i64 7716, !31, i64 7720, !10, i64 7736, !41, i64 7740, !10, i64 7744, !13, i64 7748, !13, i64 7749, !13, i64 7750, !13, i64 7751, !13, i64 7752, !13, i64 7753, !13, i64 7754, !10, i64 7756, !31, i64 7760, !13, i64 7776, !10, i64 7780, !42, i64 7784, !10, i64 7788, !10, i64 7792, !10, i64 7796, !10, i64 7800, !43, i64 7808, !43, i64 7856, !43, i64 7904, !6, i64 7952, !10, i64 7960, !6, i64 7968, !6, i64 7976, !6, i64 7984, !16, i64 7992, !16, i64 7996, !13, i64 8000, !6, i64 8008, !6, i64 8016, !10, i64 8024, !10, i64 8028, !10, i64 8032, !10, i64 8036, !13, i64 8040, !16, i64 8044, !10, i64 8048, !13, i64 8052, !13, i64 8053, !13, i64 8054, !10, i64 8056, !10, i64 8060, !10, i64 8064, !44, i64 8072, !31, i64 8136, !10, i64 8152, !10, i64 8156, !16, i64 8160, !10, i64 8164, !10, i64 8168, !10, i64 8172, !10, i64 8176, !45, i64 8184, !7, i64 8200, !6, i64 8216, !10, i64 8224, !46, i64 8232, !48, i64 8272, !49, i64 8288, !50, i64 8304, !6, i64 8320, !51, i64 8328, !53, i64 8368, !54, i64 8384, !15, i64 8400, !55, i64 8408, !59, i64 12144, !10, i64 12256, !10, i64 12260, !16, i64 12264, !16, i64 12268, !7, i64 12272, !21, i64 12284, !61, i64 12300, !16, i64 12348, !13, i64 12352, !13, i64 12353, !16, i64 12356, !16, i64 12360, !16, i64 12364, !16, i64 12368, !10, i64 12372, !16, i64 12376, !56, i64 12384, !36, i64 12400, !15, i64 12416, !15, i64 12424, !7, i64 12432, !13, i64 12433, !16, i64 12436, !62, i64 12440, !63, i64 12456, !64, i64 12472, !65, i64 12488, !66, i64 12504, !10, i64 12520, !13, i64 12524, !67, i64 12528, !6, i64 12536, !62, 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, !68, i64 12604, !7, i64 12620, !10, i64 13100, !10, i64 13104, !16, i64 13108, !10, i64 13112, !10, i64 13116, !10, i64 13120, !7, i64 13124}
!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, !10, i64 948, !10, i64 952, !15, i64 956, !7, i64 964, !7, i64 1008, !7, i64 1048, !7, i64 1053, !7, i64 1058, !7, i64 1063, !7, i64 1068, !7, i64 1076, !7, i64 1096, !7, i64 1116, !7, i64 1156, !7, i64 1176, !7, i64 3224, !7, i64 5272, !7, i64 5352, !16, i64 5432, !17, i64 5436, !18, i64 5440}
!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 = !{!"_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 = !{!"_ZTS15ImGuiNavForward", !7, i64 0}
!43 = !{!"_ZTS16ImGuiNavItemData", !6, i64 0, !10, i64 8, !10, i64 12, !31, i64 16, !16, i64 32, !16, i64 36, !16, i64 40}
!44 = !{!"_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}
!45 = !{!"_ZTS8ImVectorIhE", !10, i64 0, !10, i64 4, !6, i64 8}
!46 = !{!"_ZTS6ImPoolI10ImGuiTableE", !47, i64 0, !25, i64 16, !10, i64 32, !10, i64 36}
!47 = !{!"_ZTS8ImVectorI10ImGuiTableE", !10, i64 0, !10, i64 4, !6, i64 8}
!48 = !{!"_ZTS8ImVectorI18ImGuiTableTempDataE", !10, i64 0, !10, i64 4, !6, i64 8}
!49 = !{!"_ZTS8ImVectorIfE", !10, i64 0, !10, i64 4, !6, i64 8}
!50 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !10, i64 0, !10, i64 4, !6, i64 8}
!51 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !52, i64 0, !25, i64 16, !10, i64 32, !10, i64 36}
!52 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !10, i64 0, !10, i64 4, !6, i64 8}
!53 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !10, i64 0, !10, i64 4, !6, i64 8}
!54 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !10, i64 0, !10, i64 4, !6, i64 8}
!55 = !{!"_ZTS19ImGuiInputTextState", !10, i64 0, !10, i64 4, !10, i64 8, !18, i64 16, !56, i64 32, !56, i64 48, !13, i64 64, !10, i64 68, !16, i64 72, !57, i64 76, !16, i64 3704, !13, i64 3708, !13, i64 3709, !13, i64 3710, !10, i64 3712, !6, i64 3720, !6, i64 3728}
!56 = !{!"_ZTS8ImVectorIcE", !10, i64 0, !10, i64 4, !6, i64 8}
!57 = !{!"_ZTSN5ImStb17STB_TexteditStateE", !10, i64 0, !10, i64 4, !10, i64 8, !7, i64 12, !10, i64 16, !7, i64 20, !7, i64 21, !7, i64 22, !7, i64 23, !7, i64 24, !7, i64 25, !7, i64 26, !16, i64 28, !58, i64 32}
!58 = !{!"_ZTSN5ImStb12StbUndoStateE", !7, i64 0, !7, i64 1584, !17, i64 3582, !17, i64 3584, !10, i64 3588, !10, i64 3592}
!59 = !{!"_ZTS6ImFont", !49, i64 0, !16, i64 16, !16, i64 20, !18, i64 24, !60, i64 40, !6, i64 56, !6, i64 64, !6, i64 72, !17, i64 80, !17, i64 82, !17, i64 84, !17, i64 86, !13, i64 88, !16, i64 92, !16, i64 96, !16, i64 100, !10, i64 104, !7, i64 108}
!60 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !10, i64 0, !10, i64 4, !6, i64 8}
!61 = !{!"_ZTS21ImGuiComboPreviewData", !31, i64 0, !15, i64 16, !15, i64 24, !15, i64 32, !16, i64 40, !10, i64 44}
!62 = !{!"_ZTS15ImGuiTextBuffer", !56, i64 0}
!63 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !10, i64 0, !10, i64 4, !6, i64 8}
!64 = !{!"_ZTS13ImChunkStreamI19ImGuiWindowSettingsE", !56, i64 0}
!65 = !{!"_ZTS13ImChunkStreamI18ImGuiTableSettingsE", !56, i64 0}
!66 = !{!"_ZTS8ImVectorI16ImGuiContextHookE", !10, i64 0, !10, i64 4, !6, i64 8}
!67 = !{!"_ZTS12ImGuiLogType", !7, i64 0}
!68 = !{!"_ZTS18ImGuiMetricsConfig", !13, i64 0, !13, i64 1, !13, i64 2, !13, i64 3, !13, i64 4, !10, i64 8, !10, i64 12}
!69 = !{!70, !6, i64 856}
!70 = !{!"_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, !71, i64 216, !31, i64 464, !31, i64 480, !31, i64 496, !31, i64 512, !31, i64 528, !31, i64 544, !31, i64 560, !75, i64 576, !75, i64 580, !10, i64 584, !16, i64 588, !16, i64 592, !25, i64 600, !76, i64 616, !16, i64 632, !10, i64 636, !6, i64 640, !77, i64 648, !6, i64 848, !6, i64 856, !6, i64 864, !6, i64 872, !6, i64 880, !7, i64 888, !7, i64 896, !10, i64 928, !10, i64 932, !13, i64 936}
!71 = !{!"_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, !72, i64 64, !72, i64 68, !72, 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, !73, 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, !10, i64 184, !16, i64 188, !16, i64 192, !49, i64 200, !49, i64 216, !74, i64 232}
!72 = !{!"_ZTS6ImVec1", !16, i64 0}
!73 = !{!"_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}
!74 = !{!"_ZTS15ImGuiStackSizes", !17, i64 0, !17, i64 2, !17, i64 4, !17, i64 6, !17, i64 8, !17, i64 10, !17, i64 12}
!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, !50, i64 8}
!85 = !{!13, !13, i64 0}
!86 = !{i8 0, i8 2}
!87 = !{}
!88 = !{!12, !13, i64 8052}
!89 = !{!12, !10, i64 8084}
!90 = !{!12, !10, i64 8056}
!91 = !{!12, !16, i64 7240}
!92 = !{!12, !16, i64 24}
!93 = !{!12, !10, i64 8176}
!94 = !{!12, !10, i64 7232}
!95 = !{!12, !13, i64 320}
!96 = !{!12, !13, i64 321}
!97 = !{!12, !13, i64 322}
!98 = !{!12, !10, i64 7248}
!99 = !{!12, !10, i64 7308}
!100 = !{!16, !16, i64 0}
!101 = !{!12, !16, i64 148}
!102 = !{!12, !13, i64 7750}
!103 = !{!12, !10, i64 7672}
!104 = !{!12, !13, i64 7751}
!105 = !{!70, !10, i64 84}
!106 = !{!12, !10, i64 7684}
!107 = !{!12, !10, i64 7680}
!108 = !{!12, !28, i64 7304}
!109 = !{!12, !13, i64 7260}
!110 = !{i64 0, i64 4, !100, i64 4, i64 4, !100}
!111 = !{!12, !13, i64 7263}


; 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 [116 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [59 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: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1

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

; 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 #3 {
  %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 7184
  %15 = load ptr, ptr %14, align 8, !tbaa !9
  %16 = and i32 %.1, 2048
  %.not = icmp eq i32 %16, 0
  %.not184 = icmp eq ptr %15, null
  %or.cond216 = select i1 %.not, i1 true, i1 %.not184
  br i1 %or.cond216, label %.thread, label %17

17:                                               ; preds = %5
  %18 = getelementptr inbounds i8, ptr %15, i64 856
  %19 = load ptr, ptr %18, align 8, !tbaa !68
  %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 8052
  %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 8084
  %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 8056
  %34 = load i32, ptr %33, align 8, !tbaa !87
  %35 = and i32 %34, 2
  %.not185 = icmp ne i32 %35, 0
  br label %.thread._crit_edge

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

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

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

45:                                               ; preds = %43
  tail call void @_ZN5ImGui12SetHoveredIDEj(i32 noundef %1)
  %46 = getelementptr inbounds i8, ptr %6, i64 7240
  %47 = load float, ptr %46, align 8, !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.cond220 = or i1 %52, %51
  br i1 %or.cond220, label %55, label %53

53:                                               ; preds = %45
  %54 = getelementptr inbounds i8, ptr %6, i64 8176
  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
  %.1165.shrunk = phi i1 [ %.0164.shrunk, %39 ], [ true, %53 ], [ true, %45 ], [ %.0164.shrunk, %43 ], [ %.0164.shrunk, %.thread._crit_edge ]
  %.0162 = 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
  %.not188 = icmp ne i32 %58, 0
  %or.cond221.not = and i1 %.not188, %.1165.shrunk
  br i1 %or.cond221.not, label %59, label %62

59:                                               ; preds = %57
  %60 = getelementptr inbounds i8, ptr %6, i64 7232
  %61 = load i32, ptr %60, align 8, !tbaa !91
  %.not189 = icmp eq i32 %61, %1
  %.not190 = icmp eq i32 %61, 0
  %or.cond222 = or i1 %.not189, %.not190
  br i1 %or.cond222, label %63, label %170

62:                                               ; preds = %57
  br i1 %.1165.shrunk, label %63, label %170

63:                                               ; preds = %59, %62
  %64 = and i32 %.1, 65536
  %.not191 = icmp eq i32 %64, 0
  br i1 %.not191, 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 %166, 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 %166, 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 %166, label %77

77:                                               ; preds = %73, %63
  %78 = and i32 %.1, 1
  %.not192 = icmp eq i32 %78, 0
  br i1 %.not192, 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 %.thread243, label %83

83:                                               ; preds = %79, %77
  %84 = and i32 %.1, 2
  %.not193 = icmp eq i32 %84, 0
  br i1 %.not193, 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
  %.not194 = icmp eq i32 %90, 0
  br i1 %.not194, 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.select224 = select i1 %94, i32 2, i32 -1
  br label %95

95:                                               ; preds = %91, %85, %89
  %.not197 = phi i1 [ true, %89 ], [ false, %85 ], [ %not., %91 ]
  %.0168 = phi i32 [ -1, %89 ], [ 1, %85 ], [ %spec.select224, %91 ]
  br i1 %.not192, label %99, label %.thread243

.thread243:                                       ; preds = %79, %95
  %.0168250 = phi i32 [ %.0168, %95 ], [ 0, %79 ]
  %.not197247 = phi i1 [ %.not197, %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 %.thread243._crit_edge

.thread243._crit_edge:                            ; preds = %.thread243
  %.pre258 = and i32 %.1, 2
  br label %99

99:                                               ; preds = %.thread243._crit_edge, %95
  %.pre-phi = phi i32 [ %.pre258, %.thread243._crit_edge ], [ %84, %95 ]
  %.0168251 = phi i32 [ %.0168250, %.thread243._crit_edge ], [ %.0168, %95 ]
  %.not197248 = phi i1 [ %.not197247, %.thread243._crit_edge ], [ %.not197, %95 ]
  %.not195 = icmp eq i32 %.pre-phi, 0
  br i1 %.not195, 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
  %.not196 = icmp eq i32 %105, 0
  br i1 %.not196, 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.select226 = select i1 %109, i64 2, i64 4294967295
  br i1 %.not197248, label %139, label %112

110:                                              ; preds = %100, %.thread243, %104
  %.0168249 = phi i32 [ %.0168251, %104 ], [ %.0168250, %.thread243 ], [ %.0168251, %100 ]
  %.not197246 = phi i1 [ %.not197248, %104 ], [ %.not197247, %.thread243 ], [ %.not197248, %100 ]
  %111 = phi i1 [ false, %104 ], [ true, %.thread243 ], [ true, %100 ]
  %.0169 = phi i64 [ 4294967295, %104 ], [ 0, %.thread243 ], [ 1, %100 ]
  br i1 %.not197246, label %139, label %112

112:                                              ; preds = %106, %110
  %.0169253 = phi i64 [ %spec.select226, %106 ], [ %.0169, %110 ]
  %113 = phi i1 [ %109, %106 ], [ %111, %110 ]
  %.0168249252 = phi i32 [ %.0168251, %106 ], [ %.0168249, %110 ]
  %114 = getelementptr inbounds i8, ptr %6, i64 7248
  %115 = load i32, ptr %114, align 8, !tbaa !97
  %.not198 = icmp eq i32 %115, %1
  br i1 %.not198, label %139, label %116

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

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

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

127:                                              ; preds = %125
  %128 = getelementptr inbounds i8, ptr %6, i64 1061
  %129 = zext nneg i32 %.0168249252 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 %139

133:                                              ; preds = %127, %123
  %134 = and i32 %.1, 131072
  %.not203 = icmp eq i32 %134, 0
  br i1 %.not203, 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 = getelementptr inbounds i8, ptr %6, i64 7308
  store i32 %.0168249252, ptr %138, align 4, !tbaa !98
  tail call void @_ZN5ImGui11FocusWindowEP11ImGuiWindow(ptr noundef %7)
  br label %139

139:                                              ; preds = %106, %125, %127, %137, %112, %110
  %.0169254 = phi i64 [ %.0169253, %137 ], [ %.0169253, %127 ], [ %.0169253, %125 ], [ %.0169253, %112 ], [ %.0169, %110 ], [ %spec.select226, %106 ]
  %140 = phi i1 [ %113, %137 ], [ %113, %127 ], [ %113, %125 ], [ %113, %112 ], [ %111, %110 ], [ %109, %106 ]
  %.1163 = phi i8 [ 1, %137 ], [ %.0162, %127 ], [ %.0162, %125 ], [ %.0162, %112 ], [ %.0162, %110 ], [ %.0162, %106 ]
  %141 = and i32 %.1, 128
  %142 = icmp ne i32 %141, 0
  %or.cond = and i1 %142, %140
  %143 = and i32 %.1, 1024
  br i1 %or.cond, label %144, label %._crit_edge

144:                                              ; preds = %139
  %.not204 = icmp eq i32 %143, 0
  br i1 %.not204, label %.thread255, label %145

145:                                              ; preds = %144
  %146 = getelementptr inbounds i8, ptr %6, i64 1104
  %147 = getelementptr inbounds [5 x float], ptr %146, i64 0, i64 %.0169254
  %148 = load float, ptr %147, align 4, !tbaa !99
  %149 = getelementptr inbounds i8, ptr %6, i64 148
  %150 = load float, ptr %149, align 4, !tbaa !100
  %151 = fcmp oge float %148, %150
  %cond.fr = freeze i1 %151
  %spec.select257 = select i1 %cond.fr, i8 %.1163, i8 1
  br label %.thread255

.thread255:                                       ; preds = %145, %144
  %152 = phi i8 [ 1, %144 ], [ %spec.select257, %145 ]
  tail call void @_ZN5ImGui13ClearActiveIDEv()
  br label %._crit_edge

._crit_edge:                                      ; preds = %139, %.thread255
  %.3 = phi i8 [ %152, %.thread255 ], [ %.1163, %139 ]
  %153 = getelementptr inbounds i8, ptr %6, i64 7248
  %154 = load i32, ptr %153, align 8, !tbaa !97
  %155 = icmp ne i32 %154, %1
  %.not205 = icmp eq i32 %143, 0
  %or.cond228 = or i1 %.not205, %155
  br i1 %or.cond228, label %166, label %156

156:                                              ; preds = %._crit_edge
  %157 = getelementptr inbounds i8, ptr %6, i64 1084
  %158 = getelementptr inbounds i8, ptr %6, i64 7308
  %159 = load i32, ptr %158, align 4, !tbaa !98
  %160 = sext i32 %159 to i64
  %161 = getelementptr inbounds [5 x float], ptr %157, i64 0, i64 %160
  %162 = load float, ptr %161, align 4, !tbaa !99
  %163 = fcmp ogt float %162, 0.000000e+00
  br i1 %163, label %164, label %166

164:                                              ; preds = %156
  %165 = tail call noundef zeroext i1 @_ZN5ImGui14IsMouseClickedEib(i32 noundef %159, i1 noundef zeroext true)
  %spec.select229 = select i1 %165, i8 1, i8 %.3
  br label %166

166:                                              ; preds = %164, %._crit_edge, %156, %73, %69, %65
  %.5 = phi i8 [ %.0162, %65 ], [ %.0162, %69 ], [ %.0162, %73 ], [ %.3, %156 ], [ %.3, %._crit_edge ], [ %spec.select229, %164 ]
  %167 = trunc nuw i8 %.5 to i1
  br i1 %167, label %168, label %170

168:                                              ; preds = %166
  %169 = getelementptr inbounds i8, ptr %6, i64 7750
  store i8 1, ptr %169, align 2, !tbaa !101
  br label %170

170:                                              ; preds = %59, %166, %168, %62
  %.2166.shrunk241 = phi i1 [ true, %168 ], [ true, %166 ], [ false, %62 ], [ false, %59 ]
  %.6 = phi i8 [ %.5, %168 ], [ %.5, %166 ], [ %.0162, %62 ], [ %.0162, %59 ]
  %171 = getelementptr inbounds i8, ptr %6, i64 7672
  %172 = load i32, ptr %171, align 8, !tbaa !102
  %173 = icmp eq i32 %172, %1
  br i1 %173, label %174, label %194

174:                                              ; preds = %170
  %175 = getelementptr inbounds i8, ptr %6, i64 7750
  %176 = load i8, ptr %175, align 2, !tbaa !101, !range !85, !noundef !93
  %177 = trunc nuw i8 %176 to i1
  br i1 %177, label %194, label %178

178:                                              ; preds = %174
  %179 = getelementptr inbounds i8, ptr %6, i64 7751
  %180 = load i8, ptr %179, align 1, !tbaa !103, !range !85, !noundef !93
  %181 = trunc nuw i8 %180 to i1
  br i1 %181, label %182, label %194

182:                                              ; preds = %178
  %183 = getelementptr inbounds i8, ptr %6, i64 7248
  %184 = load i32, ptr %183, align 8, !tbaa !97
  %185 = icmp eq i32 %184, 0
  %186 = icmp eq i32 %184, %1
  %or.cond230 = or i1 %185, %186
  br i1 %or.cond230, label %192, label %187

187:                                              ; preds = %182
  %188 = getelementptr inbounds i8, ptr %7, i64 84
  %189 = load i32, ptr %188, align 4, !tbaa !104
  %190 = icmp eq i32 %184, %189
  %191 = and i32 %.1, 524288
  %.not206 = icmp eq i32 %191, 0
  %or.cond231 = and i1 %.not206, %190
  br i1 %or.cond231, label %193, label %194

192:                                              ; preds = %182
  %.old = and i32 %.1, 524288
  %.not206.old = icmp eq i32 %.old, 0
  br i1 %.not206.old, label %193, label %194

193:                                              ; preds = %187, %192
  br label %194

194:                                              ; preds = %192, %193, %187, %178, %174, %170
  %.3167.shrunk = phi i1 [ %.2166.shrunk241, %174 ], [ %.2166.shrunk241, %192 ], [ true, %193 ], [ %.2166.shrunk241, %187 ], [ %.2166.shrunk241, %178 ], [ %.2166.shrunk241, %170 ]
  %195 = getelementptr inbounds i8, ptr %6, i64 7684
  %196 = load i32, ptr %195, align 4, !tbaa !105
  %197 = icmp eq i32 %196, %1
  br i1 %197, label %198, label %212

198:                                              ; preds = %194
  %199 = getelementptr inbounds i8, ptr %6, i64 7680
  %200 = load i32, ptr %199, align 8, !tbaa !106
  %201 = icmp eq i32 %200, %1
  %202 = and i32 %.1, 1024
  %.not207 = icmp eq i32 %202, 0
  %203 = select i1 %.not207, i32 1, i32 3
  %204 = tail call noundef zeroext i1 @_ZN5ImGui14IsNavInputTestEi18ImGuiInputReadMode(i32 noundef 0, i32 noundef %203)
  %brmerge = or i1 %201, %204
  %.7 = select i1 %brmerge, i8 1, i8 %.6
  br i1 %brmerge, label %209, label %205

205:                                              ; preds = %198
  %206 = getelementptr inbounds i8, ptr %6, i64 7248
  %207 = load i32, ptr %206, align 8, !tbaa !97
  %208 = icmp eq i32 %207, %1
  br i1 %208, label %209, label %212

209:                                              ; preds = %198, %205
  store i32 %1, ptr %199, align 8, !tbaa !106
  tail call void @_ZN5ImGui11SetActiveIDEjP11ImGuiWindow(i32 noundef %1, ptr noundef %7)
  %210 = and i32 %.1, 262144
  %.not208 = icmp eq i32 %210, 0
  %or.cond235 = and i1 %.not208, %brmerge
  br i1 %or.cond235, label %211, label %212

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

212:                                              ; preds = %205, %211, %209, %194
  %.8 = phi i8 [ %.6, %194 ], [ %.7, %209 ], [ %.7, %211 ], [ %.6, %205 ]
  %213 = getelementptr inbounds i8, ptr %6, i64 7248
  %214 = load i32, ptr %213, align 8, !tbaa !97
  %215 = icmp eq i32 %214, %1
  br i1 %215, label %216, label %278

216:                                              ; preds = %212
  %217 = getelementptr inbounds i8, ptr %6, i64 7304
  %218 = load i32, ptr %217, align 8, !tbaa !107
  switch i32 %218, label %274 [
    i32 1, label %219
    i32 4, label %271
  ]

219:                                              ; preds = %216
  %220 = getelementptr inbounds i8, ptr %6, i64 7260
  %221 = load i8, ptr %220, align 4, !tbaa !108, !range !85, !noundef !93
  %222 = trunc nuw i8 %221 to i1
  br i1 %222, label %223, label %227

223:                                              ; preds = %219
  %224 = getelementptr inbounds i8, ptr %6, i64 296
  %225 = tail call <2 x float> @_ZmiRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %224, ptr noundef nonnull align 4 dereferenceable(8) %0)
  %226 = getelementptr inbounds i8, ptr %6, i64 7288
  store <2 x float> %225, ptr %226, align 8
  br label %227

227:                                              ; preds = %223, %219
  %228 = getelementptr inbounds i8, ptr %6, i64 7308
  %229 = load i32, ptr %228, align 4, !tbaa !98
  %230 = icmp ult i32 %229, 5
  br i1 %230, label %232, label %231

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

232:                                              ; preds = %227
  %233 = getelementptr inbounds i8, ptr %6, i64 304
  %234 = zext nneg i32 %229 to i64
  %235 = getelementptr inbounds [5 x i8], ptr %233, i64 0, i64 %234
  %236 = load i8, ptr %235, align 1, !tbaa !96, !range !85, !noundef !93
  %237 = trunc nuw i8 %236 to i1
  br i1 %237, label %267, label %238

238:                                              ; preds = %232
  %239 = and i32 %.1, 32
  %240 = icmp ne i32 %239, 0
  %241 = and i1 %240, %.3167.shrunk
  %242 = and i32 %.1, 64
  %.not210 = icmp ne i32 %242, 0
  %or.cond238.not = or i1 %.not210, %241
  br i1 %or.cond238.not, label %243, label %266

243:                                              ; preds = %238
  %244 = load i8, ptr %36, align 4, !tbaa !84, !range !85, !noundef !93
  %245 = trunc nuw i8 %244 to i1
  br i1 %245, label %266, label %246

246:                                              ; preds = %243
  %247 = and i32 %.1, 256
  %.not211 = icmp eq i32 %247, 0
  br i1 %.not211, label %253, label %248

248:                                              ; preds = %246
  %249 = getelementptr inbounds i8, ptr %6, i64 1076
  %250 = getelementptr inbounds [5 x i8], ptr %249, i64 0, i64 %234
  %251 = load i8, ptr %250, align 1, !tbaa !96, !range !85, !noundef !93
  %252 = trunc nuw i8 %251 to i1
  br label %253

253:                                              ; preds = %248, %246
  %254 = phi i1 [ false, %246 ], [ %252, %248 ]
  %255 = and i32 %.1, 1024
  %.not212 = icmp eq i32 %255, 0
  br i1 %.not212, label %263, label %256

256:                                              ; preds = %253
  %257 = getelementptr inbounds i8, ptr %6, i64 1104
  %258 = getelementptr inbounds [5 x float], ptr %257, i64 0, i64 %234
  %259 = load float, ptr %258, align 4, !tbaa !99
  %260 = getelementptr inbounds i8, ptr %6, i64 148
  %261 = load float, ptr %260, align 4, !tbaa !100
  %262 = fcmp oge float %259, %261
  br label %263

263:                                              ; preds = %256, %253
  %264 = phi i1 [ false, %253 ], [ %262, %256 ]
  br i1 %254, label %266, label %265

265:                                              ; preds = %263
  %spec.select239 = select i1 %264, i8 %.8, i8 1
  br label %266

266:                                              ; preds = %265, %263, %238, %243
  %.10 = phi i8 [ %.8, %243 ], [ %.8, %238 ], [ %.8, %263 ], [ %spec.select239, %265 ]
  tail call void @_ZN5ImGui13ClearActiveIDEv()
  br label %267

267:                                              ; preds = %232, %266
  %.0170 = phi i8 [ 0, %266 ], [ 1, %232 ]
  %.11 = phi i8 [ %.10, %266 ], [ %.8, %232 ]
  %268 = and i32 %.1, 262144
  %.not213 = icmp eq i32 %268, 0
  br i1 %.not213, label %269, label %274

269:                                              ; preds = %267
  %270 = getelementptr inbounds i8, ptr %6, i64 7750
  store i8 1, ptr %270, align 2, !tbaa !101
  br label %274

271:                                              ; preds = %216
  %272 = load i32, ptr %195, align 4, !tbaa !105
  %.not209 = icmp eq i32 %272, %1
  br i1 %.not209, label %274, label %273

273:                                              ; preds = %271
  tail call void @_ZN5ImGui13ClearActiveIDEv()
  br label %274

274:                                              ; preds = %216, %267, %269, %273, %271
  %.1171 = phi i8 [ 0, %273 ], [ 0, %271 ], [ %.0170, %269 ], [ %.0170, %267 ], [ 0, %216 ]
  %.12 = phi i8 [ %.8, %273 ], [ %.8, %271 ], [ %.11, %269 ], [ %.11, %267 ], [ %.8, %216 ]
  %275 = trunc nuw i8 %.12 to i1
  br i1 %275, label %276, label %278

276:                                              ; preds = %274
  %277 = getelementptr inbounds i8, ptr %6, i64 7263
  store i8 1, ptr %277, align 1, !tbaa !109
  br label %278

278:                                              ; preds = %274, %276, %212
  %.2172 = phi i8 [ %.1171, %276 ], [ %.1171, %274 ], [ 0, %212 ]
  %.13 = phi i8 [ %.12, %276 ], [ %.12, %274 ], [ %.8, %212 ]
  %.not214 = icmp eq ptr %2, null
  br i1 %.not214, label %281, label %279

279:                                              ; preds = %278
  %280 = zext i1 %.3167.shrunk to i8
  store i8 %280, ptr %2, align 1, !tbaa !96
  br label %281

281:                                              ; preds = %279, %278
  %.not215 = icmp eq ptr %3, null
  br i1 %.not215, label %283, label %282

282:                                              ; preds = %281
  store i8 %.2172, ptr %3, align 1, !tbaa !96
  br label %283

283:                                              ; preds = %282, %281
  %284 = trunc nuw i8 %.13 to i1
  ret i1 %284
}

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

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

declare void @_ZN5ImGui12SetHoveredIDEj(i32 noundef) local_unnamed_addr #4

declare void @_ZN5ImGui11FocusWindowEP11ImGuiWindow(ptr noundef) local_unnamed_addr #4

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

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

declare void @_ZN5ImGui13ClearActiveIDEv() local_unnamed_addr #4

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN5ImGui14IsNavInputTestEi18ImGuiInputReadMode(i32 noundef, i32 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 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 #3 = { 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 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { noreturn nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !6, i64 7184}
!10 = !{!"_ZTS12ImGuiContext", !11, i64 0, !11, i64 1, !12, i64 8, !18, i64 5464, !6, i64 6512, !15, i64 6520, !15, i64 6524, !19, i64 6528, !21, i64 7040, !13, i64 7048, !13, i64 7052, !13, i64 7056, !11, i64 7060, !11, i64 7061, !11, i64 7062, !11, i64 7063, !11, i64 7064, !13, i64 7068, !6, i64 7072, !22, i64 7080, !22, i64 7096, !22, i64 7112, !23, i64 7128, !24, i64 7144, !13, i64 7160, !14, i64 7164, !6, i64 7176, !6, i64 7184, !6, i64 7192, !6, i64 7200, !6, i64 7208, !14, i64 7216, !15, i64 7224, !13, i64 7228, !13, i64 7232, !11, i64 7236, !11, i64 7237, !11, i64 7238, !11, i64 7239, !15, i64 7240, !15, i64 7244, !13, i64 7248, !13, i64 7252, !15, i64 7256, !11, i64 7260, !11, i64 7261, !11, i64 7262, !11, i64 7263, !11, i64 7264, !11, i64 7265, !11, i64 7266, !13, i64 7268, !13, i64 7272, !26, i64 7280, !14, i64 7288, !6, i64 7296, !27, i64 7304, !13, i64 7308, !13, i64 7312, !11, i64 7316, !11, i64 7317, !6, i64 7320, !13, i64 7328, !15, i64 7332, !13, i64 7336, !28, i64 7340, !29, i64 7360, !31, i64 7408, !32, i64 7520, !33, i64 7536, !34, i64 7552, !35, i64 7568, !36, i64 7584, !37, i64 7600, !38, i64 7616, !38, i64 7632, !39, i64 7648, !6, i64 7664, !13, i64 7672, !13, i64 7676, !13, i64 7680, !13, i64 7684, !13, i64 7688, !13, i64 7692, !13, i64 7696, !13, i64 7700, !13, i64 7704, !13, i64 7708, !13, i64 7712, !27, i64 7716, !30, i64 7720, !13, i64 7736, !40, i64 7740, !13, i64 7744, !11, i64 7748, !11, i64 7749, !11, i64 7750, !11, i64 7751, !11, i64 7752, !11, i64 7753, !11, i64 7754, !13, i64 7756, !30, i64 7760, !11, i64 7776, !13, i64 7780, !41, i64 7784, !13, i64 7788, !13, i64 7792, !13, i64 7796, !13, i64 7800, !42, i64 7808, !42, i64 7856, !42, i64 7904, !6, i64 7952, !13, i64 7960, !6, i64 7968, !6, i64 7976, !6, i64 7984, !15, i64 7992, !15, i64 7996, !11, i64 8000, !6, i64 8008, !6, i64 8016, !13, i64 8024, !13, i64 8028, !13, i64 8032, !13, i64 8036, !11, i64 8040, !15, i64 8044, !13, i64 8048, !11, i64 8052, !11, i64 8053, !11, i64 8054, !13, i64 8056, !13, i64 8060, !13, i64 8064, !43, i64 8072, !30, i64 8136, !13, i64 8152, !13, i64 8156, !15, i64 8160, !13, i64 8164, !13, i64 8168, !13, i64 8172, !13, i64 8176, !44, i64 8184, !7, i64 8200, !6, i64 8216, !13, i64 8224, !45, i64 8232, !47, i64 8272, !48, i64 8288, !49, i64 8304, !6, i64 8320, !50, i64 8328, !52, i64 8368, !53, i64 8384, !14, i64 8400, !54, i64 8408, !58, i64 12144, !13, i64 12256, !13, i64 12260, !15, i64 12264, !15, i64 12268, !7, i64 12272, !20, i64 12284, !60, i64 12300, !15, i64 12348, !11, i64 12352, !11, i64 12353, !15, i64 12356, !15, i64 12360, !15, i64 12364, !15, i64 12368, !13, i64 12372, !15, i64 12376, !55, i64 12384, !35, i64 12400, !14, i64 12416, !14, i64 12424, !7, i64 12432, !11, i64 12433, !15, i64 12436, !61, i64 12440, !62, i64 12456, !63, i64 12472, !64, i64 12488, !65, i64 12504, !13, i64 12520, !11, i64 12524, !66, i64 12528, !6, i64 12536, !61, 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, !67, i64 12604, !7, i64 12620, !13, i64 13100, !13, i64 13104, !15, i64 13108, !13, i64 13112, !13, i64 13116, !13, i64 13120, !7, i64 13124}
!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, !13, i64 948, !13, i64 952, !14, i64 956, !7, i64 964, !7, i64 1008, !7, i64 1048, !7, i64 1053, !7, i64 1058, !7, i64 1063, !7, i64 1068, !7, i64 1076, !7, i64 1096, !7, i64 1116, !7, i64 1156, !7, i64 1176, !7, i64 3224, !7, i64 5272, !7, i64 5352, !15, i64 5432, !16, i64 5436, !17, i64 5440}
!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 = !{!"_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 = !{!"_ZTS15ImGuiNavForward", !7, i64 0}
!42 = !{!"_ZTS16ImGuiNavItemData", !6, i64 0, !13, i64 8, !13, i64 12, !30, i64 16, !15, i64 32, !15, i64 36, !15, i64 40}
!43 = !{!"_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}
!44 = !{!"_ZTS8ImVectorIhE", !13, i64 0, !13, i64 4, !6, i64 8}
!45 = !{!"_ZTS6ImPoolI10ImGuiTableE", !46, i64 0, !24, i64 16, !13, i64 32, !13, i64 36}
!46 = !{!"_ZTS8ImVectorI10ImGuiTableE", !13, i64 0, !13, i64 4, !6, i64 8}
!47 = !{!"_ZTS8ImVectorI18ImGuiTableTempDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!48 = !{!"_ZTS8ImVectorIfE", !13, i64 0, !13, i64 4, !6, i64 8}
!49 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !13, i64 0, !13, i64 4, !6, i64 8}
!50 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !51, i64 0, !24, i64 16, !13, i64 32, !13, i64 36}
!51 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !13, i64 0, !13, i64 4, !6, i64 8}
!52 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !13, i64 0, !13, i64 4, !6, i64 8}
!53 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !13, i64 0, !13, i64 4, !6, i64 8}
!54 = !{!"_ZTS19ImGuiInputTextState", !13, i64 0, !13, i64 4, !13, i64 8, !17, i64 16, !55, i64 32, !55, i64 48, !11, i64 64, !13, i64 68, !15, i64 72, !56, i64 76, !15, i64 3704, !11, i64 3708, !11, i64 3709, !11, i64 3710, !13, i64 3712, !6, i64 3720, !6, i64 3728}
!55 = !{!"_ZTS8ImVectorIcE", !13, i64 0, !13, i64 4, !6, i64 8}
!56 = !{!"_ZTSN5ImStb17STB_TexteditStateE", !13, i64 0, !13, i64 4, !13, i64 8, !7, i64 12, !13, i64 16, !7, i64 20, !7, i64 21, !7, i64 22, !7, i64 23, !7, i64 24, !7, i64 25, !7, i64 26, !15, i64 28, !57, i64 32}
!57 = !{!"_ZTSN5ImStb12StbUndoStateE", !7, i64 0, !7, i64 1584, !16, i64 3582, !16, i64 3584, !13, i64 3588, !13, i64 3592}
!58 = !{!"_ZTS6ImFont", !48, i64 0, !15, i64 16, !15, i64 20, !17, i64 24, !59, i64 40, !6, i64 56, !6, i64 64, !6, i64 72, !16, i64 80, !16, i64 82, !16, i64 84, !16, i64 86, !11, i64 88, !15, i64 92, !15, i64 96, !15, i64 100, !13, i64 104, !7, i64 108}
!59 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !13, i64 0, !13, i64 4, !6, i64 8}
!60 = !{!"_ZTS21ImGuiComboPreviewData", !30, i64 0, !14, i64 16, !14, i64 24, !14, i64 32, !15, i64 40, !13, i64 44}
!61 = !{!"_ZTS15ImGuiTextBuffer", !55, i64 0}
!62 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !13, i64 0, !13, i64 4, !6, i64 8}
!63 = !{!"_ZTS13ImChunkStreamI19ImGuiWindowSettingsE", !55, i64 0}
!64 = !{!"_ZTS13ImChunkStreamI18ImGuiTableSettingsE", !55, i64 0}
!65 = !{!"_ZTS8ImVectorI16ImGuiContextHookE", !13, i64 0, !13, i64 4, !6, i64 8}
!66 = !{!"_ZTS12ImGuiLogType", !7, i64 0}
!67 = !{!"_ZTS18ImGuiMetricsConfig", !11, i64 0, !11, i64 1, !11, i64 2, !11, i64 3, !11, i64 4, !13, i64 8, !13, i64 12}
!68 = !{!69, !6, i64 856}
!69 = !{!"_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, !70, i64 216, !30, i64 464, !30, i64 480, !30, i64 496, !30, i64 512, !30, i64 528, !30, i64 544, !30, i64 560, !74, i64 576, !74, i64 580, !13, i64 584, !15, i64 588, !15, i64 592, !24, i64 600, !75, i64 616, !15, i64 632, !13, i64 636, !6, i64 640, !76, i64 648, !6, i64 848, !6, i64 856, !6, i64 864, !6, i64 872, !6, i64 880, !7, i64 888, !7, i64 896, !13, i64 928, !13, i64 932, !11, i64 936}
!70 = !{!"_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, !71, i64 64, !71, i64 68, !71, 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, !72, 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, !13, i64 184, !15, i64 188, !15, i64 192, !48, i64 200, !48, i64 216, !73, i64 232}
!71 = !{!"_ZTS6ImVec1", !15, i64 0}
!72 = !{!"_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}
!73 = !{!"_ZTS15ImGuiStackSizes", !16, i64 0, !16, i64 2, !16, i64 4, !16, i64 6, !16, i64 8, !16, i64 10, !16, i64 12}
!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, !49, i64 8}
!84 = !{!10, !11, i64 8052}
!85 = !{i8 0, i8 2}
!86 = !{!10, !13, i64 8084}
!87 = !{!10, !13, i64 8056}
!88 = !{!10, !15, i64 7240}
!89 = !{!10, !15, i64 24}
!90 = !{!10, !13, i64 8176}
!91 = !{!10, !13, i64 7232}
!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 7248}
!98 = !{!10, !13, i64 7308}
!99 = !{!15, !15, i64 0}
!100 = !{!10, !15, i64 148}
!101 = !{!10, !11, i64 7750}
!102 = !{!10, !13, i64 7672}
!103 = !{!10, !11, i64 7751}
!104 = !{!69, !13, i64 84}
!105 = !{!10, !13, i64 7684}
!106 = !{!10, !13, i64 7680}
!107 = !{!10, !27, i64 7304}
!108 = !{!10, !11, i64 7260}
!109 = !{!10, !11, i64 7263}


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