; LLVM IR from Devaniti/BoolkaEngine :: ThirdParty/imgui/imgui.ll (ZN5ImGui7ItemAddERK6ImRectjPS1_)

; 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.ImGuiContext = type <{ i8, i8, [6 x i8], %struct.ImGuiIO, %struct.ImGuiStyle, [4 x i8], ptr, float, float, %struct.ImDrawListSharedData, double, i32, i32, i32, i8, i8, i8, i8, i8, [3 x i8], i32, ptr, %struct.ImVector.3, %struct.ImVector.3, %struct.ImVector.3, %struct.ImVector.3, %struct.ImGuiStorage, i32, [4 x i8], ptr, 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, %struct.ImGuiNextWindowData, %struct.ImGuiNextItemData, [4 x i8], %struct.ImVector.4, %struct.ImVector.5, %struct.ImVector.6, %struct.ImVector.7, %struct.ImVector.8, %struct.ImVector.9, %struct.ImVector.10, %struct.ImVector.10, 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.ImGuiNavMoveResult, %struct.ImGuiNavMoveResult, %struct.ImGuiNavMoveResult, ptr, i32, [4 x i8], ptr, ptr, ptr, float, float, i8, [7 x i8], ptr, ptr, i32, i32, i32, i32, i8, [7 x i8], %struct.ImDrawData, %struct.ImDrawDataBuilder, float, [4 x i8], %struct.ImDrawList, %struct.ImDrawList, 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.18, [16 x i8], ptr, %struct.ImPool, %struct.ImVector.20, %struct.ImVector.21, %struct.ImVector.17, ptr, %struct.ImPool.22, %struct.ImVector.20, %struct.ImVector.25, %struct.ImVec2, %struct.ImGuiInputTextState, %struct.ImFont, i32, i32, float, float, [3 x float], %struct.ImVec4, float, i8, i8, [2 x i8], float, float, float, i32, float, %struct.ImVector.2, %struct.ImVector.7, %struct.ImVec2, %struct.ImVec2, i8, i8, [2 x i8], float, %struct.ImGuiTextBuffer, %struct.ImVector.27, %struct.ImChunkStream, %struct.ImChunkStream.28, %struct.ImVector.29, i8, [3 x i8], i32, ptr, %struct.ImGuiTextBuffer, float, i8, [3 x i8], i32, i32, i32, i8, [3 x i8], i32, %struct.ImGuiMetricsConfig, [120 x float], i32, float, i32, i32, i32, [3073 x i8], [7 x i8] }>
%struct.ImGuiIO = type { i32, i32, %struct.ImVec2, float, float, ptr, ptr, float, float, float, [22 x i32], float, float, ptr, ptr, float, i8, ptr, %struct.ImVec2, i8, i8, i8, i8, i8, i8, float, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, %struct.ImVec2, [5 x i8], float, float, i8, i8, i8, i8, [512 x i8], [21 x float], i8, i8, i8, i8, i8, i8, i8, float, i32, i32, i32, i32, i32, %struct.ImVec2, 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], [21 x float], [21 x float], float, i16, %struct.ImVector }
%struct.ImVector = type { i32, i32, ptr }
%struct.ImGuiStyle = type { 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, [12 x %struct.ImVec2], [64 x i8], ptr }
%struct.ImVector.3 = type { i32, i32, ptr }
%struct.ImGuiStorage = type { %struct.ImVector.0 }
%struct.ImVector.0 = type { i32, i32, ptr }
%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.ImGuiNextItemData = type <{ i32, float, i32, i32, i8, [3 x i8] }>
%struct.ImVector.4 = type { i32, i32, ptr }
%struct.ImVector.5 = type { i32, i32, ptr }
%struct.ImVector.6 = type { i32, i32, ptr }
%struct.ImVector.8 = type { i32, i32, ptr }
%struct.ImVector.9 = type { i32, i32, ptr }
%struct.ImVector.10 = type { i32, i32, ptr }
%struct.ImGuiNavMoveResult = type <{ ptr, i32, i32, float, float, float, %struct.ImRect, [4 x i8] }>
%struct.ImDrawData = type <{ i8, [7 x i8], ptr, i32, i32, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, [4 x i8] }>
%struct.ImDrawDataBuilder = type { [2 x %struct.ImVector.11] }
%struct.ImVector.11 = type { i32, i32, ptr }
%struct.ImDrawList = type <{ %struct.ImVector.12, %struct.ImVector, %struct.ImVector.13, i32, i32, ptr, ptr, ptr, ptr, %struct.ImVector.14, %struct.ImVector.15, %struct.ImVector.16, %struct.ImDrawCmdHeader, %struct.ImDrawListSplitter, float, [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.ImDrawCmdHeader = type <{ %struct.ImVec4, ptr, i32, [4 x i8] }>
%struct.ImDrawListSplitter = type { i32, i32, %struct.ImVector.17 }
%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.18 = type { i32, i32, ptr }
%struct.ImPool = type <{ %struct.ImVector.19, %struct.ImGuiStorage, i32, [4 x i8] }>
%struct.ImVector.19 = type { i32, i32, ptr }
%struct.ImVector.21 = type { i32, i32, ptr }
%struct.ImVector.17 = type { i32, i32, ptr }
%struct.ImPool.22 = type <{ %struct.ImVector.23, %struct.ImGuiStorage, i32, [4 x i8] }>
%struct.ImVector.23 = type { i32, i32, ptr }
%struct.ImVector.20 = type { i32, i32, ptr }
%struct.ImVector.25 = type { i32, i32, ptr }
%struct.ImGuiInputTextState = type { i32, i32, i32, %struct.ImVector, %struct.ImVector.2, %struct.ImVector.2, 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.21, float, float, %struct.ImVector, %struct.ImVector.26, ptr, ptr, ptr, i16, i16, i16, i8, i8, float, float, float, i32, [2 x i8], [6 x i8] }>
%struct.ImVector.26 = type { i32, i32, ptr }
%struct.ImVec4 = type { float, float, float, float }
%struct.ImVector.2 = type { i32, i32, ptr }
%struct.ImVector.7 = type { i32, i32, ptr }
%struct.ImVec2 = type { float, float }
%struct.ImVector.27 = type { i32, i32, ptr }
%struct.ImChunkStream = type { %struct.ImVector.2 }
%struct.ImChunkStream.28 = type { %struct.ImVector.2 }
%struct.ImVector.29 = type { i32, i32, ptr }
%struct.ImGuiTextBuffer = type { %struct.ImVector.2 }
%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, i32, i8, i8, i8, i8, i32, i8, i8, i8, i32, i8, %struct.ImVec2, %struct.ImVec2, [4 x i8], %struct.ImVector.7, %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.30, 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, i32, %struct.ImRect, %struct.ImRect, i32, i32, i32, i32, i8, i8, i8, i8, %struct.ImVec2, %struct.ImGuiMenuColumns, i32, i32, [4 x i8], %struct.ImVector.3, ptr, ptr, i32, i32, i32, i32, i32, i32, float, float, %struct.ImVector.21, %struct.ImVector.21, %struct.ImGuiStackSizes, [2 x i8] }>
%struct.ImVec1 = type { float }
%struct.ImGuiMenuColumns = type { float, float, float, [3 x float], [3 x float] }
%struct.ImGuiStackSizes = type { i16, i16, i16, i16, i16, i16, i16 }
%struct.ImVec2ih = type { i16, i16 }
%struct.ImVector.30 = type { i32, i32, ptr }

@GImGui = external dso_local global ptr, align 8

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN5ImGui19IsMouseHoveringRectERK6ImVec2S2_b(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8), i1 noundef zeroext) #2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN5ImGui11IsClippedExERK6ImRectjb(ptr noundef nonnull align 4 dereferenceable(16), i32 noundef, i1 noundef zeroext) #3

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN5ImGui7ItemAddERK6ImRectjPS1_(ptr noundef nonnull align 4 dereferenceable(16) %0, i32 noundef %1, ptr noundef %2) #3 {
  %4 = alloca i1, align 1
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca i8, align 1
  %11 = alloca i32, align 4
  store ptr %0, ptr %5, align 8, !tbaa !5
  store i32 %1, ptr %6, align 4, !tbaa !9
  store ptr %2, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #4
  %12 = load ptr, ptr @GImGui, align 8, !tbaa !5
  store ptr %12, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #4
  %13 = load ptr, ptr %8, align 8, !tbaa !5
  %14 = getelementptr inbounds %struct.ImGuiContext, ptr %13, i32 0, i32 29
  %15 = load ptr, ptr %14, align 8, !tbaa !11
  store ptr %15, ptr %9, align 8, !tbaa !5
  %16 = load i32, ptr %6, align 4, !tbaa !9
  %17 = icmp ne i32 %16, 0
  br i1 %17, label %18, label %81

18:                                               ; preds = %3
  %19 = load ptr, ptr %9, align 8, !tbaa !5
  %20 = getelementptr inbounds %struct.ImGuiWindow, ptr %19, i32 0, i32 53
  %21 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %20, i32 0, i32 16
  %22 = load i32, ptr %21, align 4, !tbaa !74
  %23 = shl i32 1, %22
  %24 = load ptr, ptr %9, align 8, !tbaa !5
  %25 = getelementptr inbounds %struct.ImGuiWindow, ptr %24, i32 0, i32 53
  %26 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %25, i32 0, i32 18
  %27 = load i32, ptr %26, align 4, !tbaa !82
  %28 = or i32 %27, %23
  store i32 %28, ptr %26, align 4, !tbaa !82
  %29 = load ptr, ptr %8, align 8, !tbaa !5
  %30 = getelementptr inbounds %struct.ImGuiContext, ptr %29, i32 0, i32 83
  %31 = load i32, ptr %30, align 8, !tbaa !83
  %32 = load i32, ptr %6, align 4, !tbaa !9
  %33 = icmp eq i32 %31, %32
  br i1 %33, label %39, label %34

34:                                               ; preds = %18
  %35 = load ptr, ptr %8, align 8, !tbaa !5
  %36 = getelementptr inbounds %struct.ImGuiContext, ptr %35, i32 0, i32 103
  %37 = load i8, ptr %36, align 8, !tbaa !84, !range !85, !noundef !86
  %38 = trunc i8 %37 to i1
  br i1 %38, label %39, label %80

39:                                               ; preds = %34, %18
  %40 = load ptr, ptr %8, align 8, !tbaa !5
  %41 = getelementptr inbounds %struct.ImGuiContext, ptr %40, i32 0, i32 82
  %42 = load ptr, ptr %41, align 8, !tbaa !87
  %43 = getelementptr inbounds %struct.ImGuiWindow, ptr %42, i32 0, i32 76
  %44 = load ptr, ptr %43, align 8, !tbaa !88
  %45 = load ptr, ptr %9, align 8, !tbaa !5
  %46 = getelementptr inbounds %struct.ImGuiWindow, ptr %45, i32 0, i32 76
  %47 = load ptr, ptr %46, align 8, !tbaa !88
  %48 = icmp eq ptr %44, %47
  br i1 %48, label %49, label %79

49:                                               ; preds = %39
  %50 = load ptr, ptr %9, align 8, !tbaa !5
  %51 = load ptr, ptr %8, align 8, !tbaa !5
  %52 = getelementptr inbounds %struct.ImGuiContext, ptr %51, i32 0, i32 82
  %53 = load ptr, ptr %52, align 8, !tbaa !87
  %54 = icmp eq ptr %50, %53
  br i1 %54, label %67, label %55

55:                                               ; preds = %49
  %56 = load ptr, ptr %9, align 8, !tbaa !5
  %57 = getelementptr inbounds %struct.ImGuiWindow, ptr %56, i32 0, i32 2
  %58 = load i32, ptr %57, align 4, !tbaa !89
  %59 = load ptr, ptr %8, align 8, !tbaa !5
  %60 = getelementptr inbounds %struct.ImGuiContext, ptr %59, i32 0, i32 82
  %61 = load ptr, ptr %60, align 8, !tbaa !87
  %62 = getelementptr inbounds %struct.ImGuiWindow, ptr %61, i32 0, i32 2
  %63 = load i32, ptr %62, align 4, !tbaa !89
  %64 = or i32 %58, %63
  %65 = and i32 %64, 8388608
  %66 = icmp ne i32 %65, 0
  br i1 %66, label %67, label %78

67:                                               ; preds = %55, %49
  %68 = load ptr, ptr %9, align 8, !tbaa !5
  %69 = load ptr, ptr %7, align 8, !tbaa !5
  %70 = icmp ne ptr %69, null
  br i1 %70, label %71, label %73

71:                                               ; preds = %67
  %72 = load ptr, ptr %7, align 8, !tbaa !5
  br label %75

73:                                               ; preds = %67
  %74 = load ptr, ptr %5, align 8, !tbaa !5
  br label %75

75:                                               ; preds = %73, %71
  %76 = phi ptr [ %72, %71 ], [ %74, %73 ]
  %77 = load i32, ptr %6, align 4, !tbaa !9
  call void @_ZN5ImGuiL14NavProcessItemEP11ImGuiWindowRK6ImRectj(ptr noundef %68, ptr noundef nonnull align 4 dereferenceable(16) %76, i32 noundef %77)
  br label %78

78:                                               ; preds = %75, %55
  br label %79

79:                                               ; preds = %78, %39
  br label %80

80:                                               ; preds = %79, %34
  br label %81

81:                                               ; preds = %80, %3
  %82 = load i32, ptr %6, align 4, !tbaa !9
  %83 = load ptr, ptr %9, align 8, !tbaa !5
  %84 = getelementptr inbounds %struct.ImGuiWindow, ptr %83, i32 0, i32 53
  %85 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %84, i32 0, i32 12
  store i32 %82, ptr %85, align 4, !tbaa !90
  %86 = load ptr, ptr %5, align 8, !tbaa !5
  %87 = load ptr, ptr %9, align 8, !tbaa !5
  %88 = getelementptr inbounds %struct.ImGuiWindow, ptr %87, i32 0, i32 53
  %89 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %88, i32 0, i32 14
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %89, ptr align 4 %86, i64 16, i1 false), !tbaa.struct !91
  %90 = load ptr, ptr %9, align 8, !tbaa !5
  %91 = getelementptr inbounds %struct.ImGuiWindow, ptr %90, i32 0, i32 53
  %92 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %91, i32 0, i32 13
  store i32 0, ptr %92, align 8, !tbaa !93
  %93 = load ptr, ptr %8, align 8, !tbaa !5
  %94 = getelementptr inbounds %struct.ImGuiContext, ptr %93, i32 0, i32 72
  %95 = getelementptr inbounds %struct.ImGuiNextItemData, ptr %94, i32 0, i32 0
  store i32 0, ptr %95, align 8, !tbaa !94
  call void @llvm.lifetime.start.p0(i64 1, ptr %10) #4
  %96 = load ptr, ptr %5, align 8, !tbaa !5
  %97 = load i32, ptr %6, align 4, !tbaa !9
  %98 = call noundef zeroext i1 @_ZN5ImGui11IsClippedExERK6ImRectjb(ptr noundef nonnull align 4 dereferenceable(16) %96, i32 noundef %97, i1 noundef zeroext false)
  %99 = zext i1 %98 to i8
  store i8 %99, ptr %10, align 1, !tbaa !95
  %100 = load i8, ptr %10, align 1, !tbaa !95, !range !85, !noundef !86
  %101 = trunc i8 %100 to i1
  br i1 %101, label %102, label %103

102:                                              ; preds = %81
  store i1 false, ptr %4, align 1
  store i32 1, ptr %11, align 4
  br label %116

103:                                              ; preds = %81
  %104 = load ptr, ptr %5, align 8, !tbaa !5
  %105 = getelementptr inbounds %struct.ImRect, ptr %104, i32 0, i32 0
  %106 = load ptr, ptr %5, align 8, !tbaa !5
  %107 = getelementptr inbounds %struct.ImRect, ptr %106, i32 0, i32 1
  %108 = call noundef zeroext i1 @_ZN5ImGui19IsMouseHoveringRectERK6ImVec2S2_b(ptr noundef nonnull align 4 dereferenceable(8) %105, ptr noundef nonnull align 4 dereferenceable(8) %107, i1 noundef zeroext true)
  br i1 %108, label %109, label %115

109:                                              ; preds = %103
  %110 = load ptr, ptr %9, align 8, !tbaa !5
  %111 = getelementptr inbounds %struct.ImGuiWindow, ptr %110, i32 0, i32 53
  %112 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %111, i32 0, i32 13
  %113 = load i32, ptr %112, align 8, !tbaa !93
  %114 = or i32 %113, 1
  store i32 %114, ptr %112, align 8, !tbaa !93
  br label %115

115:                                              ; preds = %109, %103
  store i1 true, ptr %4, align 1
  store i32 1, ptr %11, align 4
  br label %116

116:                                              ; preds = %115, %102
  call void @llvm.lifetime.end.p0(i64 1, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #4
  %117 = load i1, ptr %4, align 1
  ret i1 %117
}

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN5ImGuiL14NavProcessItemEP11ImGuiWindowRK6ImRectj(ptr noundef, ptr noundef nonnull align 4 dereferenceable(16), i32 noundef) #2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress uwtable "min-legal-vector-width"="64" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 6880}
!12 = !{!"_ZTS12ImGuiContext", !13, i64 0, !13, i64 1, !14, i64 8, !19, i64 5472, !6, i64 6520, !16, i64 6528, !16, i64 6532, !20, i64 6536, !22, i64 6752, !10, i64 6760, !10, i64 6764, !10, i64 6768, !13, i64 6772, !13, i64 6773, !13, i64 6774, !13, i64 6775, !13, i64 6776, !10, i64 6780, !6, i64 6784, !23, i64 6792, !23, i64 6808, !23, i64 6824, !23, i64 6840, !24, i64 6856, !10, i64 6872, !6, i64 6880, !6, i64 6888, !6, i64 6896, !6, i64 6904, !6, i64 6912, !6, i64 6920, !15, i64 6928, !16, i64 6936, !10, i64 6940, !10, i64 6944, !13, i64 6948, !13, i64 6949, !13, i64 6950, !13, i64 6951, !16, i64 6952, !16, i64 6956, !10, i64 6960, !10, i64 6964, !16, i64 6968, !13, i64 6972, !13, i64 6973, !13, i64 6974, !13, i64 6975, !13, i64 6976, !13, i64 6977, !13, i64 6978, !10, i64 6980, !10, i64 6984, !26, i64 6992, !15, i64 7000, !6, i64 7008, !27, i64 7016, !10, i64 7020, !10, i64 7024, !13, i64 7028, !13, i64 7029, !6, i64 7032, !10, i64 7040, !16, i64 7044, !28, i64 7048, !30, i64 7160, !31, i64 7184, !32, i64 7200, !33, i64 7216, !34, i64 7232, !35, i64 7248, !36, i64 7264, !37, i64 7280, !37, i64 7296, !6, i64 7312, !10, i64 7320, !10, i64 7324, !10, i64 7328, !10, i64 7332, !10, i64 7336, !10, i64 7340, !10, i64 7344, !10, i64 7348, !10, i64 7352, !10, i64 7356, !10, i64 7360, !27, i64 7364, !29, i64 7368, !10, i64 7384, !38, i64 7388, !10, i64 7392, !13, i64 7396, !13, i64 7397, !13, i64 7398, !13, i64 7399, !13, i64 7400, !13, i64 7401, !13, i64 7402, !10, i64 7404, !29, i64 7408, !13, i64 7424, !10, i64 7428, !39, i64 7432, !10, i64 7436, !10, i64 7440, !10, i64 7444, !10, i64 7448, !40, i64 7456, !40, i64 7504, !40, i64 7552, !6, i64 7600, !10, i64 7608, !6, i64 7616, !6, i64 7624, !6, i64 7632, !16, i64 7640, !16, i64 7644, !13, i64 7648, !6, i64 7656, !6, i64 7664, !10, i64 7672, !10, i64 7676, !10, i64 7680, !10, i64 7684, !13, i64 7688, !41, i64 7696, !42, i64 7752, !16, i64 7784, !43, i64 7792, !43, i64 7992, !10, i64 8192, !13, i64 8196, !13, i64 8197, !13, i64 8198, !10, i64 8200, !10, i64 8204, !10, i64 8208, !52, i64 8216, !29, i64 8280, !10, i64 8296, !10, i64 8300, !16, i64 8304, !10, i64 8308, !10, i64 8312, !10, i64 8316, !10, i64 8320, !53, i64 8328, !7, i64 8344, !6, i64 8360, !54, i64 8368, !56, i64 8408, !57, i64 8424, !51, i64 8440, !6, i64 8456, !58, i64 8464, !56, i64 8504, !60, i64 8520, !15, i64 8536, !61, i64 8544, !65, i64 12280, !10, i64 12392, !10, i64 12396, !16, i64 12400, !16, i64 12404, !7, i64 12408, !21, i64 12420, !16, i64 12436, !13, i64 12440, !13, i64 12441, !16, i64 12444, !16, i64 12448, !16, i64 12452, !10, i64 12456, !16, i64 12460, !62, i64 12464, !34, i64 12480, !15, i64 12496, !15, i64 12504, !7, i64 12512, !13, i64 12513, !16, i64 12516, !67, i64 12520, !68, i64 12536, !69, i64 12552, !70, i64 12568, !71, i64 12584, !13, i64 12600, !72, i64 12604, !6, i64 12608, !67, i64 12616, !16, i64 12632, !13, i64 12636, !10, i64 12640, !10, i64 12644, !10, i64 12648, !13, i64 12652, !10, i64 12656, !73, i64 12660, !7, i64 12676, !10, i64 13156, !16, i64 13160, !10, i64 13164, !10, i64 13168, !10, i64 13172, !7, i64 13176}
!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 912, !13, i64 913, !13, i64 914, !13, i64 915, !13, i64 916, !13, i64 917, !13, i64 918, !16, i64 920, !10, i64 924, !10, i64 928, !10, i64 932, !10, i64 936, !10, i64 940, !15, i64 944, !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 5356, !16, i64 5440, !17, i64 5444, !18, i64 5448}
!15 = !{!"_ZTS6ImVec2", !16, i64 0, !16, i64 4}
!16 = !{!"float", !7, i64 0}
!17 = !{!"short", !7, i64 0}
!18 = !{!"_ZTS8ImVectorItE", !10, i64 0, !10, i64 4, !6, i64 8}
!19 = !{!"_ZTS10ImGuiStyle", !16, i64 0, !15, i64 4, !16, i64 12, !16, i64 16, !15, i64 20, !15, i64 28, !10, i64 36, !16, i64 40, !16, i64 44, !16, i64 48, !16, i64 52, !15, i64 56, !16, i64 64, !16, i64 68, !15, i64 72, !15, i64 80, !15, i64 88, !15, i64 96, !16, i64 104, !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, !10, i64 144, !15, i64 148, !15, i64 156, !15, i64 164, !15, i64 172, !16, i64 180, !13, i64 184, !13, i64 185, !13, i64 186, !16, i64 188, !16, i64 192, !7, i64 196}
!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, !7, i64 144, !6, i64 208}
!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 = !{!"_ZTS12ImGuiStorage", !25, i64 0}
!25 = !{!"_ZTS8ImVectorIN12ImGuiStorage16ImGuiStoragePairEE", !10, i64 0, !10, i64 4, !6, i64 8}
!26 = !{!"long long", !7, i64 0}
!27 = !{!"_ZTS16ImGuiInputSource", !7, i64 0}
!28 = !{!"_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, !29, i64 60, !6, i64 80, !6, i64 88, !16, i64 96, !15, i64 100}
!29 = !{!"_ZTS6ImRect", !15, i64 0, !15, i64 8}
!30 = !{!"_ZTS17ImGuiNextItemData", !10, i64 0, !16, i64 4, !10, i64 8, !10, i64 12, !13, i64 16}
!31 = !{!"_ZTS8ImVectorI13ImGuiColorModE", !10, i64 0, !10, i64 4, !6, i64 8}
!32 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !10, i64 0, !10, i64 4, !6, i64 8}
!33 = !{!"_ZTS8ImVectorIP6ImFontE", !10, i64 0, !10, i64 4, !6, i64 8}
!34 = !{!"_ZTS8ImVectorIjE", !10, i64 0, !10, i64 4, !6, i64 8}
!35 = !{!"_ZTS8ImVectorIiE", !10, i64 0, !10, i64 4, !6, i64 8}
!36 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !10, i64 0, !10, i64 4, !6, i64 8}
!37 = !{!"_ZTS8ImVectorI14ImGuiPopupDataE", !10, i64 0, !10, i64 4, !6, i64 8}
!38 = !{!"_ZTS13ImGuiNavLayer", !7, i64 0}
!39 = !{!"_ZTS15ImGuiNavForward", !7, i64 0}
!40 = !{!"_ZTS18ImGuiNavMoveResult", !6, i64 0, !10, i64 8, !10, i64 12, !16, i64 16, !16, i64 20, !16, i64 24, !29, i64 28}
!41 = !{!"_ZTS10ImDrawData", !13, i64 0, !6, i64 8, !10, i64 16, !10, i64 20, !10, i64 24, !15, i64 28, !15, i64 36, !15, i64 44}
!42 = !{!"_ZTS17ImDrawDataBuilder", !7, i64 0}
!43 = !{!"_ZTS10ImDrawList", !44, i64 0, !18, i64 16, !45, i64 32, !10, i64 48, !10, i64 52, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !46, i64 88, !47, i64 104, !48, i64 120, !49, i64 136, !50, i64 168, !16, i64 192}
!44 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !10, i64 0, !10, i64 4, !6, i64 8}
!45 = !{!"_ZTS8ImVectorI10ImDrawVertE", !10, i64 0, !10, i64 4, !6, i64 8}
!46 = !{!"_ZTS8ImVectorI6ImVec4E", !10, i64 0, !10, i64 4, !6, i64 8}
!47 = !{!"_ZTS8ImVectorIPvE", !10, i64 0, !10, i64 4, !6, i64 8}
!48 = !{!"_ZTS8ImVectorI6ImVec2E", !10, i64 0, !10, i64 4, !6, i64 8}
!49 = !{!"_ZTS15ImDrawCmdHeader", !21, i64 0, !6, i64 16, !10, i64 24}
!50 = !{!"_ZTS18ImDrawListSplitter", !10, i64 0, !10, i64 4, !51, i64 8}
!51 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !10, i64 0, !10, i64 4, !6, i64 8}
!52 = !{!"_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}
!53 = !{!"_ZTS8ImVectorIhE", !10, i64 0, !10, i64 4, !6, i64 8}
!54 = !{!"_ZTS6ImPoolI10ImGuiTableE", !55, i64 0, !24, i64 16, !10, i64 32}
!55 = !{!"_ZTS8ImVectorI10ImGuiTableE", !10, i64 0, !10, i64 4, !6, i64 8}
!56 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !10, i64 0, !10, i64 4, !6, i64 8}
!57 = !{!"_ZTS8ImVectorIfE", !10, i64 0, !10, i64 4, !6, i64 8}
!58 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !59, i64 0, !24, i64 16, !10, i64 32}
!59 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !10, i64 0, !10, i64 4, !6, i64 8}
!60 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !10, i64 0, !10, i64 4, !6, i64 8}
!61 = !{!"_ZTS19ImGuiInputTextState", !10, i64 0, !10, i64 4, !10, i64 8, !18, i64 16, !62, i64 32, !62, i64 48, !13, i64 64, !10, i64 68, !16, i64 72, !63, i64 76, !16, i64 3704, !13, i64 3708, !13, i64 3709, !13, i64 3710, !10, i64 3712, !6, i64 3720, !6, i64 3728}
!62 = !{!"_ZTS8ImVectorIcE", !10, i64 0, !10, i64 4, !6, i64 8}
!63 = !{!"_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, !64, i64 32}
!64 = !{!"_ZTSN5ImStb12StbUndoStateE", !7, i64 0, !7, i64 1584, !17, i64 3582, !17, i64 3584, !10, i64 3588, !10, i64 3592}
!65 = !{!"_ZTS6ImFont", !57, i64 0, !16, i64 16, !16, i64 20, !18, i64 24, !66, i64 40, !6, i64 56, !6, i64 64, !6, i64 72, !17, i64 80, !17, i64 82, !17, i64 84, !13, i64 86, !16, i64 88, !16, i64 92, !16, i64 96, !10, i64 100, !7, i64 104}
!66 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !10, i64 0, !10, i64 4, !6, i64 8}
!67 = !{!"_ZTS15ImGuiTextBuffer", !62, i64 0}
!68 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !10, i64 0, !10, i64 4, !6, i64 8}
!69 = !{!"_ZTS13ImChunkStreamI19ImGuiWindowSettingsE", !62, i64 0}
!70 = !{!"_ZTS13ImChunkStreamI18ImGuiTableSettingsE", !62, i64 0}
!71 = !{!"_ZTS8ImVectorI16ImGuiContextHookE", !10, i64 0, !10, i64 4, !6, i64 8}
!72 = !{!"_ZTS12ImGuiLogType", !7, i64 0}
!73 = !{!"_ZTS18ImGuiMetricsConfig", !13, i64 0, !13, i64 1, !13, i64 2, !13, i64 3, !13, i64 4, !10, i64 8, !10, i64 12}
!74 = !{!75, !38, i64 332}
!75 = !{!"_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, !10, i64 160, !7, i64 164, !7, i64 165, !7, i64 166, !13, i64 167, !10, i64 168, !7, i64 172, !7, i64 173, !7, i64 174, !10, i64 175, !10, i64 176, !10, i64 177, !15, i64 180, !15, i64 188, !34, i64 200, !76, i64 216, !29, i64 520, !29, i64 536, !29, i64 552, !29, i64 568, !29, i64 584, !29, i64 600, !29, i64 616, !80, i64 632, !80, i64 636, !10, i64 640, !16, i64 644, !16, i64 648, !24, i64 656, !81, i64 672, !16, i64 688, !10, i64 692, !6, i64 696, !43, i64 704, !6, i64 904, !6, i64 912, !6, i64 920, !6, i64 928, !6, i64 936, !7, i64 944, !7, i64 952, !10, i64 984, !10, i64 988, !13, i64 992}
!76 = !{!"_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, !77, i64 64, !77, i64 68, !77, i64 72, !10, i64 76, !10, i64 80, !29, i64 84, !29, i64 100, !38, i64 116, !10, i64 120, !10, i64 124, !10, i64 128, !13, i64 132, !13, i64 133, !13, i64 134, !15, i64 136, !78, i64 144, !10, i64 180, !10, i64 184, !23, i64 192, !6, i64 208, !6, i64 216, !10, i64 224, !10, i64 228, !10, i64 232, !10, i64 236, !10, i64 240, !10, i64 244, !16, i64 248, !16, i64 252, !57, i64 256, !57, i64 272, !79, i64 288}
!77 = !{!"_ZTS6ImVec1", !16, i64 0}
!78 = !{!"_ZTS16ImGuiMenuColumns", !16, i64 0, !16, i64 4, !16, i64 8, !7, i64 12, !7, i64 24}
!79 = !{!"_ZTS15ImGuiStackSizes", !17, i64 0, !17, i64 2, !17, i64 4, !17, i64 6, !17, i64 8, !17, i64 10, !17, i64 12}
!80 = !{!"_ZTS8ImVec2ih", !17, i64 0, !17, i64 2}
!81 = !{!"_ZTS8ImVectorI15ImGuiOldColumnsE", !10, i64 0, !10, i64 4, !6, i64 8}
!82 = !{!75, !10, i64 340}
!83 = !{!12, !10, i64 7320}
!84 = !{!12, !13, i64 7400}
!85 = !{i8 0, i8 2}
!86 = !{}
!87 = !{!12, !6, i64 7312}
!88 = !{!75, !6, i64 928}
!89 = !{!75, !10, i64 12}
!90 = !{!75, !10, i64 292}
!91 = !{i64 0, i64 4, !92, i64 4, i64 4, !92, i64 8, i64 4, !92, i64 12, i64 4, !92}
!92 = !{!16, !16, i64 0}
!93 = !{!75, !10, i64 296}
!94 = !{!12, !10, i64 7160}
!95 = !{!13, !13, i64 0}


; 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 dso_local local_unnamed_addr global ptr, align 8

; Function Attrs: mustprogress 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) #0

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN5ImGui19IsMouseHoveringRectERK6ImVec2S2_b(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8), i1 noundef zeroext) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN5ImGui11IsClippedExERK6ImRectjb(ptr noundef nonnull align 4 dereferenceable(16), i32 noundef, i1 noundef zeroext) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN5ImGui7ItemAddERK6ImRectjPS1_(ptr noundef nonnull align 4 dereferenceable(16) %0, i32 noundef %1, ptr noundef %2) local_unnamed_addr #2 {
  %4 = load ptr, ptr @GImGui, align 8, !tbaa !5
  %5 = getelementptr inbounds i8, ptr %4, i64 6880
  %6 = load ptr, ptr %5, align 8, !tbaa !9
  %.not = icmp eq i32 %1, 0
  br i1 %.not, label %40, label %7

7:                                                ; preds = %3
  %8 = getelementptr inbounds i8, ptr %6, i64 332
  %9 = load i32, ptr %8, align 4, !tbaa !73
  %10 = shl nuw i32 1, %9
  %11 = getelementptr inbounds i8, ptr %6, i64 340
  %12 = load i32, ptr %11, align 4, !tbaa !81
  %13 = or i32 %12, %10
  store i32 %13, ptr %11, align 4, !tbaa !81
  %14 = getelementptr inbounds i8, ptr %4, i64 7320
  %15 = load i32, ptr %14, align 8, !tbaa !82
  %16 = icmp eq i32 %15, %1
  br i1 %16, label %21, label %17

17:                                               ; preds = %7
  %18 = getelementptr inbounds i8, ptr %4, i64 7400
  %19 = load i8, ptr %18, align 8, !tbaa !83, !range !84, !noundef !85
  %20 = trunc nuw i8 %19 to i1
  br i1 %20, label %21, label %40

21:                                               ; preds = %17, %7
  %22 = getelementptr inbounds i8, ptr %4, i64 7312
  %23 = load ptr, ptr %22, align 8, !tbaa !86
  %24 = getelementptr inbounds i8, ptr %23, i64 928
  %25 = load ptr, ptr %24, align 8, !tbaa !87
  %26 = getelementptr inbounds i8, ptr %6, i64 928
  %27 = load ptr, ptr %26, align 8, !tbaa !87
  %28 = icmp eq ptr %25, %27
  br i1 %28, label %29, label %40

29:                                               ; preds = %21
  %30 = icmp eq ptr %6, %23
  br i1 %30, label %38, label %31

31:                                               ; preds = %29
  %32 = getelementptr inbounds i8, ptr %6, i64 12
  %33 = load i32, ptr %32, align 4, !tbaa !88
  %34 = getelementptr inbounds i8, ptr %23, i64 12
  %35 = load i32, ptr %34, align 4, !tbaa !88
  %36 = or i32 %35, %33
  %37 = and i32 %36, 8388608
  %.not33 = icmp eq i32 %37, 0
  br i1 %.not33, label %40, label %38

38:                                               ; preds = %31, %29
  %.not34 = icmp eq ptr %2, null
  %39 = select i1 %.not34, ptr %0, ptr %2
  tail call void @_ZN5ImGuiL14NavProcessItemEP11ImGuiWindowRK6ImRectj(ptr noundef nonnull %6, ptr noundef nonnull align 4 dereferenceable(16) %39, i32 noundef %1)
  br label %40

40:                                               ; preds = %17, %31, %38, %21, %3
  %41 = getelementptr inbounds i8, ptr %6, i64 292
  store i32 %1, ptr %41, align 4, !tbaa !89
  %42 = getelementptr inbounds i8, ptr %6, i64 300
  tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(16) %42, ptr noundef nonnull align 4 dereferenceable(16) %0, i64 16, i1 false), !tbaa.struct !90
  %43 = getelementptr inbounds i8, ptr %6, i64 296
  store i32 0, ptr %43, align 8, !tbaa !92
  %44 = getelementptr inbounds i8, ptr %4, i64 7160
  store i32 0, ptr %44, align 8, !tbaa !93
  %45 = tail call noundef zeroext i1 @_ZN5ImGui11IsClippedExERK6ImRectjb(ptr noundef nonnull align 4 dereferenceable(16) %0, i32 noundef %1, i1 noundef zeroext false)
  br i1 %45, label %52, label %46

46:                                               ; preds = %40
  %47 = getelementptr inbounds i8, ptr %0, i64 8
  %48 = tail call noundef zeroext i1 @_ZN5ImGui19IsMouseHoveringRectERK6ImVec2S2_b(ptr noundef nonnull align 4 dereferenceable(8) %0, ptr noundef nonnull align 4 dereferenceable(8) %47, i1 noundef zeroext true)
  br i1 %48, label %49, label %52

49:                                               ; preds = %46
  %50 = load i32, ptr %43, align 8, !tbaa !92
  %51 = or i32 %50, 1
  store i32 %51, ptr %43, align 8, !tbaa !92
  br label %52

52:                                               ; preds = %46, %49, %40
  %.0 = xor i1 %45, true
  ret i1 %.0
}

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN5ImGuiL14NavProcessItemEP11ImGuiWindowRK6ImRectj(ptr noundef, ptr noundef nonnull align 4 dereferenceable(16), i32 noundef) local_unnamed_addr #1

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

!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 6880}
!10 = !{!"_ZTS12ImGuiContext", !11, i64 0, !11, i64 1, !12, i64 8, !18, i64 5472, !6, i64 6520, !15, i64 6528, !15, i64 6532, !19, i64 6536, !21, i64 6752, !13, i64 6760, !13, i64 6764, !13, i64 6768, !11, i64 6772, !11, i64 6773, !11, i64 6774, !11, i64 6775, !11, i64 6776, !13, i64 6780, !6, i64 6784, !22, i64 6792, !22, i64 6808, !22, i64 6824, !22, i64 6840, !23, i64 6856, !13, i64 6872, !6, i64 6880, !6, i64 6888, !6, i64 6896, !6, i64 6904, !6, i64 6912, !6, i64 6920, !14, i64 6928, !15, i64 6936, !13, i64 6940, !13, i64 6944, !11, i64 6948, !11, i64 6949, !11, i64 6950, !11, i64 6951, !15, i64 6952, !15, i64 6956, !13, i64 6960, !13, i64 6964, !15, i64 6968, !11, i64 6972, !11, i64 6973, !11, i64 6974, !11, i64 6975, !11, i64 6976, !11, i64 6977, !11, i64 6978, !13, i64 6980, !13, i64 6984, !25, i64 6992, !14, i64 7000, !6, i64 7008, !26, i64 7016, !13, i64 7020, !13, i64 7024, !11, i64 7028, !11, i64 7029, !6, i64 7032, !13, i64 7040, !15, i64 7044, !27, i64 7048, !29, i64 7160, !30, i64 7184, !31, i64 7200, !32, i64 7216, !33, i64 7232, !34, i64 7248, !35, i64 7264, !36, i64 7280, !36, i64 7296, !6, i64 7312, !13, i64 7320, !13, i64 7324, !13, i64 7328, !13, i64 7332, !13, i64 7336, !13, i64 7340, !13, i64 7344, !13, i64 7348, !13, i64 7352, !13, i64 7356, !13, i64 7360, !26, i64 7364, !28, i64 7368, !13, i64 7384, !37, i64 7388, !13, i64 7392, !11, i64 7396, !11, i64 7397, !11, i64 7398, !11, i64 7399, !11, i64 7400, !11, i64 7401, !11, i64 7402, !13, i64 7404, !28, i64 7408, !11, i64 7424, !13, i64 7428, !38, i64 7432, !13, i64 7436, !13, i64 7440, !13, i64 7444, !13, i64 7448, !39, i64 7456, !39, i64 7504, !39, i64 7552, !6, i64 7600, !13, i64 7608, !6, i64 7616, !6, i64 7624, !6, i64 7632, !15, i64 7640, !15, i64 7644, !11, i64 7648, !6, i64 7656, !6, i64 7664, !13, i64 7672, !13, i64 7676, !13, i64 7680, !13, i64 7684, !11, i64 7688, !40, i64 7696, !41, i64 7752, !15, i64 7784, !42, i64 7792, !42, i64 7992, !13, i64 8192, !11, i64 8196, !11, i64 8197, !11, i64 8198, !13, i64 8200, !13, i64 8204, !13, i64 8208, !51, i64 8216, !28, i64 8280, !13, i64 8296, !13, i64 8300, !15, i64 8304, !13, i64 8308, !13, i64 8312, !13, i64 8316, !13, i64 8320, !52, i64 8328, !7, i64 8344, !6, i64 8360, !53, i64 8368, !55, i64 8408, !56, i64 8424, !50, i64 8440, !6, i64 8456, !57, i64 8464, !55, i64 8504, !59, i64 8520, !14, i64 8536, !60, i64 8544, !64, i64 12280, !13, i64 12392, !13, i64 12396, !15, i64 12400, !15, i64 12404, !7, i64 12408, !20, i64 12420, !15, i64 12436, !11, i64 12440, !11, i64 12441, !15, i64 12444, !15, i64 12448, !15, i64 12452, !13, i64 12456, !15, i64 12460, !61, i64 12464, !33, i64 12480, !14, i64 12496, !14, i64 12504, !7, i64 12512, !11, i64 12513, !15, i64 12516, !66, i64 12520, !67, i64 12536, !68, i64 12552, !69, i64 12568, !70, i64 12584, !11, i64 12600, !71, i64 12604, !6, i64 12608, !66, i64 12616, !15, i64 12632, !11, i64 12636, !13, i64 12640, !13, i64 12644, !13, i64 12648, !11, i64 12652, !13, i64 12656, !72, i64 12660, !7, i64 12676, !13, i64 13156, !15, i64 13160, !13, i64 13164, !13, i64 13168, !13, i64 13172, !7, i64 13176}
!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 912, !11, i64 913, !11, i64 914, !11, i64 915, !11, i64 916, !11, i64 917, !11, i64 918, !15, i64 920, !13, i64 924, !13, i64 928, !13, i64 932, !13, i64 936, !13, i64 940, !14, i64 944, !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 5356, !15, i64 5440, !16, i64 5444, !17, i64 5448}
!13 = !{!"int", !7, i64 0}
!14 = !{!"_ZTS6ImVec2", !15, i64 0, !15, i64 4}
!15 = !{!"float", !7, i64 0}
!16 = !{!"short", !7, i64 0}
!17 = !{!"_ZTS8ImVectorItE", !13, i64 0, !13, i64 4, !6, i64 8}
!18 = !{!"_ZTS10ImGuiStyle", !15, i64 0, !14, i64 4, !15, i64 12, !15, i64 16, !14, i64 20, !14, i64 28, !13, i64 36, !15, i64 40, !15, i64 44, !15, i64 48, !15, i64 52, !14, i64 56, !15, i64 64, !15, i64 68, !14, i64 72, !14, i64 80, !14, i64 88, !14, i64 96, !15, i64 104, !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, !13, i64 144, !14, i64 148, !14, i64 156, !14, i64 164, !14, i64 172, !15, i64 180, !11, i64 184, !11, i64 185, !11, i64 186, !15, i64 188, !15, i64 192, !7, i64 196}
!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, !7, i64 144, !6, i64 208}
!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 = !{!"_ZTS12ImGuiStorage", !24, i64 0}
!24 = !{!"_ZTS8ImVectorIN12ImGuiStorage16ImGuiStoragePairEE", !13, i64 0, !13, i64 4, !6, i64 8}
!25 = !{!"long long", !7, i64 0}
!26 = !{!"_ZTS16ImGuiInputSource", !7, i64 0}
!27 = !{!"_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, !28, i64 60, !6, i64 80, !6, i64 88, !15, i64 96, !14, i64 100}
!28 = !{!"_ZTS6ImRect", !14, i64 0, !14, i64 8}
!29 = !{!"_ZTS17ImGuiNextItemData", !13, i64 0, !15, i64 4, !13, i64 8, !13, i64 12, !11, i64 16}
!30 = !{!"_ZTS8ImVectorI13ImGuiColorModE", !13, i64 0, !13, i64 4, !6, i64 8}
!31 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !13, i64 0, !13, i64 4, !6, i64 8}
!32 = !{!"_ZTS8ImVectorIP6ImFontE", !13, i64 0, !13, i64 4, !6, i64 8}
!33 = !{!"_ZTS8ImVectorIjE", !13, i64 0, !13, i64 4, !6, i64 8}
!34 = !{!"_ZTS8ImVectorIiE", !13, i64 0, !13, i64 4, !6, i64 8}
!35 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!36 = !{!"_ZTS8ImVectorI14ImGuiPopupDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!37 = !{!"_ZTS13ImGuiNavLayer", !7, i64 0}
!38 = !{!"_ZTS15ImGuiNavForward", !7, i64 0}
!39 = !{!"_ZTS18ImGuiNavMoveResult", !6, i64 0, !13, i64 8, !13, i64 12, !15, i64 16, !15, i64 20, !15, i64 24, !28, i64 28}
!40 = !{!"_ZTS10ImDrawData", !11, i64 0, !6, i64 8, !13, i64 16, !13, i64 20, !13, i64 24, !14, i64 28, !14, i64 36, !14, i64 44}
!41 = !{!"_ZTS17ImDrawDataBuilder", !7, i64 0}
!42 = !{!"_ZTS10ImDrawList", !43, i64 0, !17, i64 16, !44, i64 32, !13, i64 48, !13, i64 52, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !45, i64 88, !46, i64 104, !47, i64 120, !48, i64 136, !49, i64 168, !15, i64 192}
!43 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !13, i64 0, !13, i64 4, !6, i64 8}
!44 = !{!"_ZTS8ImVectorI10ImDrawVertE", !13, i64 0, !13, i64 4, !6, i64 8}
!45 = !{!"_ZTS8ImVectorI6ImVec4E", !13, i64 0, !13, i64 4, !6, i64 8}
!46 = !{!"_ZTS8ImVectorIPvE", !13, i64 0, !13, i64 4, !6, i64 8}
!47 = !{!"_ZTS8ImVectorI6ImVec2E", !13, i64 0, !13, i64 4, !6, i64 8}
!48 = !{!"_ZTS15ImDrawCmdHeader", !20, i64 0, !6, i64 16, !13, i64 24}
!49 = !{!"_ZTS18ImDrawListSplitter", !13, i64 0, !13, i64 4, !50, i64 8}
!50 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !13, i64 0, !13, i64 4, !6, i64 8}
!51 = !{!"_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}
!52 = !{!"_ZTS8ImVectorIhE", !13, i64 0, !13, i64 4, !6, i64 8}
!53 = !{!"_ZTS6ImPoolI10ImGuiTableE", !54, i64 0, !23, i64 16, !13, i64 32}
!54 = !{!"_ZTS8ImVectorI10ImGuiTableE", !13, i64 0, !13, i64 4, !6, i64 8}
!55 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !13, i64 0, !13, i64 4, !6, i64 8}
!56 = !{!"_ZTS8ImVectorIfE", !13, i64 0, !13, i64 4, !6, i64 8}
!57 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !58, i64 0, !23, i64 16, !13, i64 32}
!58 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !13, i64 0, !13, i64 4, !6, i64 8}
!59 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !13, i64 0, !13, i64 4, !6, i64 8}
!60 = !{!"_ZTS19ImGuiInputTextState", !13, i64 0, !13, i64 4, !13, i64 8, !17, i64 16, !61, i64 32, !61, i64 48, !11, i64 64, !13, i64 68, !15, i64 72, !62, i64 76, !15, i64 3704, !11, i64 3708, !11, i64 3709, !11, i64 3710, !13, i64 3712, !6, i64 3720, !6, i64 3728}
!61 = !{!"_ZTS8ImVectorIcE", !13, i64 0, !13, i64 4, !6, i64 8}
!62 = !{!"_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, !63, i64 32}
!63 = !{!"_ZTSN5ImStb12StbUndoStateE", !7, i64 0, !7, i64 1584, !16, i64 3582, !16, i64 3584, !13, i64 3588, !13, i64 3592}
!64 = !{!"_ZTS6ImFont", !56, i64 0, !15, i64 16, !15, i64 20, !17, i64 24, !65, i64 40, !6, i64 56, !6, i64 64, !6, i64 72, !16, i64 80, !16, i64 82, !16, i64 84, !11, i64 86, !15, i64 88, !15, i64 92, !15, i64 96, !13, i64 100, !7, i64 104}
!65 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !13, i64 0, !13, i64 4, !6, i64 8}
!66 = !{!"_ZTS15ImGuiTextBuffer", !61, i64 0}
!67 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !13, i64 0, !13, i64 4, !6, i64 8}
!68 = !{!"_ZTS13ImChunkStreamI19ImGuiWindowSettingsE", !61, i64 0}
!69 = !{!"_ZTS13ImChunkStreamI18ImGuiTableSettingsE", !61, i64 0}
!70 = !{!"_ZTS8ImVectorI16ImGuiContextHookE", !13, i64 0, !13, i64 4, !6, i64 8}
!71 = !{!"_ZTS12ImGuiLogType", !7, i64 0}
!72 = !{!"_ZTS18ImGuiMetricsConfig", !11, i64 0, !11, i64 1, !11, i64 2, !11, i64 3, !11, i64 4, !13, i64 8, !13, i64 12}
!73 = !{!74, !37, i64 332}
!74 = !{!"_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, !13, i64 160, !7, i64 164, !7, i64 165, !7, i64 166, !11, i64 167, !13, i64 168, !7, i64 172, !7, i64 173, !7, i64 174, !13, i64 175, !13, i64 176, !13, i64 177, !14, i64 180, !14, i64 188, !33, i64 200, !75, i64 216, !28, i64 520, !28, i64 536, !28, i64 552, !28, i64 568, !28, i64 584, !28, i64 600, !28, i64 616, !79, i64 632, !79, i64 636, !13, i64 640, !15, i64 644, !15, i64 648, !23, i64 656, !80, i64 672, !15, i64 688, !13, i64 692, !6, i64 696, !42, i64 704, !6, i64 904, !6, i64 912, !6, i64 920, !6, i64 928, !6, i64 936, !7, i64 944, !7, i64 952, !13, i64 984, !13, i64 988, !11, i64 992}
!75 = !{!"_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, !76, i64 64, !76, i64 68, !76, i64 72, !13, i64 76, !13, i64 80, !28, i64 84, !28, i64 100, !37, i64 116, !13, i64 120, !13, i64 124, !13, i64 128, !11, i64 132, !11, i64 133, !11, i64 134, !14, i64 136, !77, i64 144, !13, i64 180, !13, i64 184, !22, i64 192, !6, i64 208, !6, i64 216, !13, i64 224, !13, i64 228, !13, i64 232, !13, i64 236, !13, i64 240, !13, i64 244, !15, i64 248, !15, i64 252, !56, i64 256, !56, i64 272, !78, i64 288}
!76 = !{!"_ZTS6ImVec1", !15, i64 0}
!77 = !{!"_ZTS16ImGuiMenuColumns", !15, i64 0, !15, i64 4, !15, i64 8, !7, i64 12, !7, i64 24}
!78 = !{!"_ZTS15ImGuiStackSizes", !16, i64 0, !16, i64 2, !16, i64 4, !16, i64 6, !16, i64 8, !16, i64 10, !16, i64 12}
!79 = !{!"_ZTS8ImVec2ih", !16, i64 0, !16, i64 2}
!80 = !{!"_ZTS8ImVectorI15ImGuiOldColumnsE", !13, i64 0, !13, i64 4, !6, i64 8}
!81 = !{!74, !13, i64 340}
!82 = !{!10, !13, i64 7320}
!83 = !{!10, !11, i64 7400}
!84 = !{i8 0, i8 2}
!85 = !{}
!86 = !{!10, !6, i64 7312}
!87 = !{!74, !6, i64 928}
!88 = !{!74, !13, i64 12}
!89 = !{!74, !13, i64 292}
!90 = !{i64 0, i64 4, !91, i64 4, i64 4, !91, i64 8, i64 4, !91, i64 12, i64 4, !91}
!91 = !{!15, !15, i64 0}
!92 = !{!74, !13, i64 296}
!93 = !{!10, !13, i64 7160}


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