; LLVM IR from erwincoumans/tiny-differentiable-simulator :: third_party/dear_imgui/imgui.ll (ZN5ImGui15IsWindowHoveredEi)

; 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.ImGuiPlatformIO, %struct.ImGuiStyle, i32, i32, [4 x i8], ptr, float, float, %struct.ImDrawListSharedData, double, i32, i32, i32, i32, i8, i8, i8, i8, i32, ptr, %struct.ImVector.5, %struct.ImVector.5, %struct.ImVector.5, %struct.ImVector.5, %struct.ImGuiStorage, i32, [4 x i8], ptr, ptr, ptr, ptr, ptr, ptr, ptr, %struct.ImVec2, float, i32, i32, i8, i8, [2 x i8], float, float, i32, i32, float, i8, i8, i8, i8, i8, i8, [2 x 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.6, %struct.ImVector.7, %struct.ImVector.8, %struct.ImVector.9, %struct.ImVector.9, %struct.ImVector.10, float, [4 x i8], ptr, ptr, ptr, i32, i32, 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, i8, [2 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, [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.11, [16 x i8], ptr, %struct.ImPool, %struct.ImVector.13, %struct.ImVector.14, %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, [4 x i8], %struct.ImVector.2, %struct.ImVector.17, %struct.ImVec2, %struct.ImVec2, ptr, %struct.ImGuiDockContext, i8, [3 x i8], float, %struct.ImGuiTextBuffer, %struct.ImVector.20, %struct.ImChunkStream, i8, [3 x i8], i32, ptr, %struct.ImGuiTextBuffer, float, i8, [3 x i8], i32, i32, i32, i8, [3 x i8], i32, [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, i8, i8, i8, i8, i8, i8, i8, float, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, %struct.ImVec2, [5 x i8], float, float, i32, 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.ImGuiPlatformIO = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, %struct.ImVector.3, ptr, %struct.ImVector.4 }
%struct.ImVector.3 = type { i32, i32, ptr }
%struct.ImVector.4 = 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, 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, [50 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.5 = type { i32, i32, ptr }
%struct.ImGuiStorage = type { %struct.ImVector.0 }
%struct.ImVector.0 = type { i32, i32, ptr }
%struct.ImGuiNextWindowData = type { i32, i32, i32, i32, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, i8, i8, %struct.ImRect, ptr, ptr, float, i32, i32, %struct.ImGuiWindowClass, %struct.ImVec2 }
%struct.ImGuiWindowClass = type <{ i32, i32, i32, i32, i32, i32, i8, i8, [2 x i8] }>
%struct.ImGuiNextItemData = type <{ i32, float, i32, i32, i8, [3 x i8] }>
%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.ImVector.10 = type { i32, i32, ptr }
%struct.ImGuiNavMoveResult = type <{ ptr, i32, i32, float, float, float, %struct.ImRect, [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.11 = type { i32, i32, ptr }
%struct.ImPool = type <{ %struct.ImVector.12, %struct.ImGuiStorage, i32, [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.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, 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.15, float, float, %struct.ImVector, %struct.ImVector.16, ptr, %struct.ImVec2, ptr, ptr, i16, i16, i16, i8, i8, float, float, float, i32, [2 x i8], [6 x i8] }>
%struct.ImVector.15 = type { i32, i32, ptr }
%struct.ImVector.16 = type { i32, i32, ptr }
%struct.ImVec4 = type { float, float, float, float }
%struct.ImVector.2 = type { i32, i32, ptr }
%struct.ImVector.17 = type { i32, i32, ptr }
%struct.ImVec2 = type { float, float }
%struct.ImGuiDockContext = type <{ %struct.ImGuiStorage, %struct.ImVector.18, %struct.ImVector.19, i8, [7 x i8] }>
%struct.ImVector.18 = type { i32, i32, ptr }
%struct.ImVector.19 = type { i32, i32, ptr }
%struct.ImVector.20 = type { i32, i32, ptr }
%struct.ImChunkStream = type { %struct.ImVector.2 }
%struct.ImGuiTextBuffer = type { %struct.ImVector.2 }
%struct.ImGuiWindow = type <{ ptr, i32, i32, i32, %struct.ImGuiWindowClass, ptr, i32, %struct.ImVec2, i32, %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, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i16, i16, i16, i32, i8, i8, i8, i8, i32, i32, i32, i32, i32, i32, i32, %struct.ImVec2, %struct.ImVec2, [4 x i8], %struct.ImVector.17, %struct.ImGuiWindowTempData, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImVec2ih, %struct.ImVec2ih, i32, i32, float, float, %struct.ImGuiStorage, %struct.ImVector.23, float, float, i32, [4 x i8], ptr, %struct.ImDrawList, ptr, ptr, ptr, ptr, ptr, ptr, [2 x i32], [2 x %struct.ImRect], i8, [3 x i8], i32, i32, [4 x i8], ptr, ptr, i32, i32, %struct.ImRect, i16, i8, [5 x i8] }>
%struct.ImGuiWindowTempData = type <{ %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, i32, i8, i8, i8, i8, %struct.ImVec2, %struct.ImGuiMenuColumns, i32, i32, %struct.ImVector.5, ptr, ptr, i32, i32, i32, i32, i32, float, float, [4 x i8], %struct.ImVector.21, %struct.ImVector.15, %struct.ImVector.15, %struct.ImVector.22, [6 x i16], [4 x i8] }>
%struct.ImVec1 = type { float }
%struct.ImGuiMenuColumns = type { float, float, float, [3 x float], [3 x float] }
%struct.ImVector.21 = type { i32, i32, ptr }
%struct.ImVector.22 = type { i32, i32, ptr }
%struct.ImVec2ih = type { i16, i16 }
%struct.ImVector.23 = type { i32, i32, ptr }
%struct.ImDrawList = type { %struct.ImVector.24, %struct.ImVector, %struct.ImVector.25, i32, ptr, ptr, i32, ptr, ptr, %struct.ImVector.26, %struct.ImVector.27, %struct.ImVector.28, %struct.ImDrawCmd, %struct.ImDrawListSplitter }
%struct.ImVector.24 = type { i32, i32, ptr }
%struct.ImVector.25 = type { i32, i32, ptr }
%struct.ImVector.26 = type { i32, i32, ptr }
%struct.ImVector.27 = type { i32, i32, ptr }
%struct.ImVector.28 = type { i32, i32, ptr }
%struct.ImDrawCmd = type { %struct.ImVec4, ptr, i32, i32, i32, ptr, ptr }
%struct.ImDrawListSplitter = type { i32, i32, %struct.ImVector.29 }
%struct.ImVector.29 = type { i32, i32, ptr }

@GImGui = external dso_local global ptr, align 8
@.str.3 = external hidden unnamed_addr constant [109 x i8], align 1
@.str.118 = external hidden unnamed_addr constant [53 x i8], align 1
@__PRETTY_FUNCTION__._ZN5ImGui15IsWindowHoveredEi = external hidden unnamed_addr constant [47 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: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef zeroext i1 @_ZL24IsWindowContentHoverableP11ImGuiWindowi(ptr noundef, i32 noundef) #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN5ImGui15IsWindowChildOfEP11ImGuiWindowS1_(ptr noundef, ptr noundef) #3

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN5ImGui15IsWindowHoveredEi(i32 noundef %0) #4 {
  %2 = alloca i1, align 1
  %3 = alloca i32, align 4
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  store i32 %0, ptr %3, align 4, !tbaa !5
  %6 = load i32, ptr %3, align 4, !tbaa !5
  %7 = and i32 %6, 64
  %8 = icmp eq i32 %7, 0
  br i1 %8, label %9, label %10

9:                                                ; preds = %1
  br label %12

10:                                               ; preds = %1
  call void @__assert_fail(ptr noundef @.str.118, ptr noundef @.str.3, i32 noundef 6940, ptr noundef @__PRETTY_FUNCTION__._ZN5ImGui15IsWindowHoveredEi) #5
  unreachable

11:                                               ; No predecessors!
  br label %12

12:                                               ; preds = %11, %9
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #6
  %13 = load ptr, ptr @GImGui, align 8, !tbaa !9
  store ptr %13, ptr %4, align 8, !tbaa !9
  %14 = load i32, ptr %3, align 4, !tbaa !5
  %15 = and i32 %14, 4
  %16 = icmp ne i32 %15, 0
  br i1 %16, label %17, label %24

17:                                               ; preds = %12
  %18 = load ptr, ptr %4, align 8, !tbaa !9
  %19 = getelementptr inbounds %struct.ImGuiContext, ptr %18, i32 0, i32 32
  %20 = load ptr, ptr %19, align 8, !tbaa !11
  %21 = icmp eq ptr %20, null
  br i1 %21, label %22, label %23

22:                                               ; preds = %17
  store i1 false, ptr %2, align 1
  store i32 1, ptr %5, align 4
  br label %118

23:                                               ; preds = %17
  br label %84

24:                                               ; preds = %12
  %25 = load i32, ptr %3, align 4, !tbaa !5
  %26 = and i32 %25, 3
  switch i32 %26, label %73 [
    i32 3, label %27
    i32 2, label %46
    i32 1, label %58
  ]

27:                                               ; preds = %24
  %28 = load ptr, ptr %4, align 8, !tbaa !9
  %29 = getelementptr inbounds %struct.ImGuiContext, ptr %28, i32 0, i32 32
  %30 = load ptr, ptr %29, align 8, !tbaa !11
  %31 = icmp eq ptr %30, null
  br i1 %31, label %44, label %32

32:                                               ; preds = %27
  %33 = load ptr, ptr %4, align 8, !tbaa !9
  %34 = getelementptr inbounds %struct.ImGuiContext, ptr %33, i32 0, i32 32
  %35 = load ptr, ptr %34, align 8, !tbaa !11
  %36 = getelementptr inbounds %struct.ImGuiWindow, ptr %35, i32 0, i32 82
  %37 = load ptr, ptr %36, align 8, !tbaa !64
  %38 = load ptr, ptr %4, align 8, !tbaa !9
  %39 = getelementptr inbounds %struct.ImGuiContext, ptr %38, i32 0, i32 31
  %40 = load ptr, ptr %39, align 8, !tbaa !82
  %41 = getelementptr inbounds %struct.ImGuiWindow, ptr %40, i32 0, i32 82
  %42 = load ptr, ptr %41, align 8, !tbaa !64
  %43 = icmp ne ptr %37, %42
  br i1 %43, label %44, label %45

44:                                               ; preds = %32, %27
  store i1 false, ptr %2, align 1
  store i32 1, ptr %5, align 4
  br label %118

45:                                               ; preds = %32
  br label %83

46:                                               ; preds = %24
  %47 = load ptr, ptr %4, align 8, !tbaa !9
  %48 = getelementptr inbounds %struct.ImGuiContext, ptr %47, i32 0, i32 32
  %49 = load ptr, ptr %48, align 8, !tbaa !11
  %50 = load ptr, ptr %4, align 8, !tbaa !9
  %51 = getelementptr inbounds %struct.ImGuiContext, ptr %50, i32 0, i32 31
  %52 = load ptr, ptr %51, align 8, !tbaa !82
  %53 = getelementptr inbounds %struct.ImGuiWindow, ptr %52, i32 0, i32 82
  %54 = load ptr, ptr %53, align 8, !tbaa !64
  %55 = icmp ne ptr %49, %54
  br i1 %55, label %56, label %57

56:                                               ; preds = %46
  store i1 false, ptr %2, align 1
  store i32 1, ptr %5, align 4
  br label %118

57:                                               ; preds = %46
  br label %83

58:                                               ; preds = %24
  %59 = load ptr, ptr %4, align 8, !tbaa !9
  %60 = getelementptr inbounds %struct.ImGuiContext, ptr %59, i32 0, i32 32
  %61 = load ptr, ptr %60, align 8, !tbaa !11
  %62 = icmp eq ptr %61, null
  br i1 %62, label %71, label %63

63:                                               ; preds = %58
  %64 = load ptr, ptr %4, align 8, !tbaa !9
  %65 = getelementptr inbounds %struct.ImGuiContext, ptr %64, i32 0, i32 32
  %66 = load ptr, ptr %65, align 8, !tbaa !11
  %67 = load ptr, ptr %4, align 8, !tbaa !9
  %68 = getelementptr inbounds %struct.ImGuiContext, ptr %67, i32 0, i32 31
  %69 = load ptr, ptr %68, align 8, !tbaa !82
  %70 = call noundef zeroext i1 @_ZN5ImGui15IsWindowChildOfEP11ImGuiWindowS1_(ptr noundef %66, ptr noundef %69)
  br i1 %70, label %72, label %71

71:                                               ; preds = %63, %58
  store i1 false, ptr %2, align 1
  store i32 1, ptr %5, align 4
  br label %118

72:                                               ; preds = %63
  br label %83

73:                                               ; preds = %24
  %74 = load ptr, ptr %4, align 8, !tbaa !9
  %75 = getelementptr inbounds %struct.ImGuiContext, ptr %74, i32 0, i32 32
  %76 = load ptr, ptr %75, align 8, !tbaa !11
  %77 = load ptr, ptr %4, align 8, !tbaa !9
  %78 = getelementptr inbounds %struct.ImGuiContext, ptr %77, i32 0, i32 31
  %79 = load ptr, ptr %78, align 8, !tbaa !82
  %80 = icmp ne ptr %76, %79
  br i1 %80, label %81, label %82

81:                                               ; preds = %73
  store i1 false, ptr %2, align 1
  store i32 1, ptr %5, align 4
  br label %118

82:                                               ; preds = %73
  br label %83

83:                                               ; preds = %82, %72, %57, %45
  br label %84

84:                                               ; preds = %83, %23
  %85 = load ptr, ptr %4, align 8, !tbaa !9
  %86 = getelementptr inbounds %struct.ImGuiContext, ptr %85, i32 0, i32 32
  %87 = load ptr, ptr %86, align 8, !tbaa !11
  %88 = load i32, ptr %3, align 4, !tbaa !5
  %89 = call noundef zeroext i1 @_ZL24IsWindowContentHoverableP11ImGuiWindowi(ptr noundef %87, i32 noundef %88)
  br i1 %89, label %91, label %90

90:                                               ; preds = %84
  store i1 false, ptr %2, align 1
  store i32 1, ptr %5, align 4
  br label %118

91:                                               ; preds = %84
  %92 = load i32, ptr %3, align 4, !tbaa !5
  %93 = and i32 %92, 32
  %94 = icmp ne i32 %93, 0
  br i1 %94, label %117, label %95

95:                                               ; preds = %91
  %96 = load ptr, ptr %4, align 8, !tbaa !9
  %97 = getelementptr inbounds %struct.ImGuiContext, ptr %96, i32 0, i32 47
  %98 = load i32, ptr %97, align 8, !tbaa !83
  %99 = icmp ne i32 %98, 0
  br i1 %99, label %100, label %116

100:                                              ; preds = %95
  %101 = load ptr, ptr %4, align 8, !tbaa !9
  %102 = getelementptr inbounds %struct.ImGuiContext, ptr %101, i32 0, i32 51
  %103 = load i8, ptr %102, align 1, !tbaa !84, !range !85, !noundef !86
  %104 = trunc i8 %103 to i1
  br i1 %104, label %116, label %105

105:                                              ; preds = %100
  %106 = load ptr, ptr %4, align 8, !tbaa !9
  %107 = getelementptr inbounds %struct.ImGuiContext, ptr %106, i32 0, i32 47
  %108 = load i32, ptr %107, align 8, !tbaa !83
  %109 = load ptr, ptr %4, align 8, !tbaa !9
  %110 = getelementptr inbounds %struct.ImGuiContext, ptr %109, i32 0, i32 32
  %111 = load ptr, ptr %110, align 8, !tbaa !11
  %112 = getelementptr inbounds %struct.ImGuiWindow, ptr %111, i32 0, i32 18
  %113 = load i32, ptr %112, align 4, !tbaa !87
  %114 = icmp ne i32 %108, %113
  br i1 %114, label %115, label %116

115:                                              ; preds = %105
  store i1 false, ptr %2, align 1
  store i32 1, ptr %5, align 4
  br label %118

116:                                              ; preds = %105, %100, %95
  br label %117

117:                                              ; preds = %116, %91
  store i1 true, ptr %2, align 1
  store i32 1, ptr %5, align 4
  br label %118

118:                                              ; preds = %117, %115, %90, %81, %71, %56, %44, %22
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #6
  %119 = load i1, ptr %2, align 1
  ret i1 %119
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 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 #3 = { 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 #4 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { noreturn nounwind }
attributes #6 = { 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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !10, i64 7072}
!12 = !{!"_ZTS12ImGuiContext", !13, i64 0, !13, i64 1, !14, i64 8, !19, i64 5472, !22, i64 5704, !6, i64 6692, !6, i64 6696, !10, i64 6704, !16, i64 6712, !16, i64 6716, !23, i64 6720, !25, i64 6936, !6, i64 6944, !6, i64 6948, !6, i64 6952, !6, i64 6956, !13, i64 6960, !13, i64 6961, !13, i64 6962, !13, i64 6963, !6, i64 6964, !10, i64 6968, !26, i64 6976, !26, i64 6992, !26, i64 7008, !26, i64 7024, !27, i64 7040, !6, i64 7056, !10, i64 7064, !10, i64 7072, !10, i64 7080, !10, i64 7088, !10, i64 7096, !10, i64 7104, !10, i64 7112, !15, i64 7120, !16, i64 7128, !6, i64 7132, !6, i64 7136, !13, i64 7140, !13, i64 7141, !16, i64 7144, !16, i64 7148, !6, i64 7152, !6, i64 7156, !16, i64 7160, !13, i64 7164, !13, i64 7165, !13, i64 7166, !13, i64 7167, !13, i64 7168, !13, i64 7169, !6, i64 7172, !6, i64 7176, !29, i64 7184, !15, i64 7192, !10, i64 7200, !30, i64 7208, !6, i64 7212, !6, i64 7216, !13, i64 7220, !13, i64 7221, !10, i64 7224, !6, i64 7232, !16, i64 7236, !31, i64 7240, !34, i64 7384, !35, i64 7408, !36, i64 7424, !37, i64 7440, !38, i64 7456, !38, i64 7472, !39, i64 7488, !16, i64 7504, !10, i64 7512, !10, i64 7520, !10, i64 7528, !6, i64 7536, !6, i64 7540, !10, i64 7544, !6, i64 7552, !6, i64 7556, !6, i64 7560, !6, i64 7564, !6, i64 7568, !6, i64 7572, !6, i64 7576, !6, i64 7580, !6, i64 7584, !6, i64 7588, !6, i64 7592, !30, i64 7596, !32, i64 7600, !6, i64 7616, !40, i64 7620, !6, i64 7624, !13, i64 7628, !13, i64 7629, !13, i64 7630, !13, i64 7631, !13, i64 7632, !13, i64 7633, !13, i64 7634, !6, i64 7636, !32, i64 7640, !13, i64 7656, !13, i64 7657, !6, i64 7660, !41, i64 7664, !6, i64 7668, !6, i64 7672, !6, i64 7676, !6, i64 7680, !42, i64 7688, !42, i64 7736, !42, i64 7784, !10, i64 7832, !6, i64 7840, !10, i64 7848, !10, i64 7856, !10, i64 7864, !16, i64 7872, !16, i64 7876, !13, i64 7880, !10, i64 7888, !10, i64 7896, !6, i64 7904, !6, i64 7908, !6, i64 7912, !6, i64 7916, !13, i64 7920, !16, i64 7924, !6, i64 7928, !13, i64 7932, !13, i64 7933, !13, i64 7934, !6, i64 7936, !6, i64 7940, !6, i64 7944, !43, i64 7952, !32, i64 8016, !6, i64 8032, !6, i64 8036, !16, i64 8040, !6, i64 8044, !6, i64 8048, !6, i64 8052, !6, i64 8056, !44, i64 8064, !7, i64 8080, !10, i64 8096, !45, i64 8104, !47, i64 8144, !48, i64 8160, !15, i64 8176, !49, i64 8184, !53, i64 11912, !6, i64 12032, !6, i64 12036, !16, i64 12040, !16, i64 12044, !7, i64 12048, !24, i64 12060, !16, i64 12076, !13, i64 12080, !13, i64 12081, !16, i64 12084, !16, i64 12088, !16, i64 12092, !6, i64 12096, !50, i64 12104, !56, i64 12120, !15, i64 12136, !15, i64 12144, !10, i64 12152, !57, i64 12160, !13, i64 12216, !16, i64 12220, !60, i64 12224, !61, i64 12240, !62, i64 12256, !13, i64 12272, !63, i64 12276, !10, i64 12280, !60, i64 12288, !16, i64 12304, !13, i64 12308, !6, i64 12312, !6, i64 12316, !6, i64 12320, !13, i64 12324, !6, i64 12328, !7, i64 12332, !6, i64 12812, !16, i64 12816, !6, i64 12820, !6, i64 12824, !6, i64 12828, !7, i64 12832}
!13 = !{!"bool", !7, i64 0}
!14 = !{!"_ZTS7ImGuiIO", !6, i64 0, !6, i64 4, !15, i64 8, !16, i64 16, !16, i64 20, !10, i64 24, !10, i64 32, !16, i64 40, !16, i64 44, !16, i64 48, !7, i64 52, !16, i64 140, !16, i64 144, !10, i64 152, !10, i64 160, !16, i64 168, !13, i64 172, !10, i64 176, !15, i64 184, !13, i64 192, !13, i64 193, !13, i64 194, !13, i64 195, !13, i64 196, !13, i64 197, !13, i64 198, !13, i64 199, !13, i64 200, !13, i64 201, !13, i64 202, !13, i64 203, !13, i64 204, !16, i64 208, !10, i64 216, !10, i64 224, !10, i64 232, !10, i64 240, !10, i64 248, !10, i64 256, !10, i64 264, !10, i64 272, !10, i64 280, !15, i64 288, !7, i64 296, !16, i64 304, !16, i64 308, !6, i64 312, !13, i64 316, !13, i64 317, !13, i64 318, !13, i64 319, !7, i64 320, !7, i64 832, !13, i64 916, !13, i64 917, !13, i64 918, !13, i64 919, !13, i64 920, !13, i64 921, !13, i64 922, !16, i64 924, !6, i64 928, !6, i64 932, !6, i64 936, !6, i64 940, !6, i64 944, !15, i64 948, !6, i64 956, !15, i64 960, !7, i64 968, !7, i64 1008, !7, i64 1048, !7, i64 1053, !7, i64 1058, !7, i64 1063, !7, i64 1068, !7, i64 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", !6, i64 0, !6, i64 4, !10, i64 8}
!19 = !{!"_ZTS15ImGuiPlatformIO", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !10, i64 40, !10, i64 48, !10, i64 56, !10, i64 64, !10, i64 72, !10, i64 80, !10, i64 88, !10, i64 96, !10, i64 104, !10, i64 112, !10, i64 120, !10, i64 128, !10, i64 136, !10, i64 144, !10, i64 152, !10, i64 160, !10, i64 168, !10, i64 176, !10, i64 184, !20, i64 192, !10, i64 208, !21, i64 216}
!20 = !{!"_ZTS8ImVectorI20ImGuiPlatformMonitorE", !6, i64 0, !6, i64 4, !10, i64 8}
!21 = !{!"_ZTS8ImVectorIP13ImGuiViewportE", !6, i64 0, !6, i64 4, !10, i64 8}
!22 = !{!"_ZTS10ImGuiStyle", !16, i64 0, !15, i64 4, !16, i64 12, !16, i64 16, !15, i64 20, !15, i64 28, !6, 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, !16, i64 96, !16, i64 100, !16, i64 104, !16, i64 108, !16, i64 112, !16, i64 116, !16, i64 120, !16, i64 124, !16, i64 128, !16, i64 132, !6, i64 136, !15, i64 140, !15, i64 148, !15, i64 156, !15, i64 164, !16, i64 172, !13, i64 176, !13, i64 177, !13, i64 178, !16, i64 180, !16, i64 184, !7, i64 188}
!23 = !{!"_ZTS20ImDrawListSharedData", !15, i64 0, !10, i64 8, !16, i64 16, !16, i64 20, !16, i64 24, !24, i64 28, !6, i64 44, !7, i64 48, !7, i64 144, !10, i64 208}
!24 = !{!"_ZTS6ImVec4", !16, i64 0, !16, i64 4, !16, i64 8, !16, i64 12}
!25 = !{!"double", !7, i64 0}
!26 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !6, i64 0, !6, i64 4, !10, i64 8}
!27 = !{!"_ZTS12ImGuiStorage", !28, i64 0}
!28 = !{!"_ZTS8ImVectorIN12ImGuiStorage16ImGuiStoragePairEE", !6, i64 0, !6, i64 4, !10, i64 8}
!29 = !{!"long long", !7, i64 0}
!30 = !{!"_ZTS16ImGuiInputSource", !7, i64 0}
!31 = !{!"_ZTS19ImGuiNextWindowData", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12, !6, i64 16, !15, i64 20, !15, i64 28, !15, i64 36, !15, i64 44, !15, i64 52, !13, i64 60, !13, i64 61, !32, i64 64, !10, i64 80, !10, i64 88, !16, i64 96, !6, i64 100, !6, i64 104, !33, i64 108, !15, i64 136}
!32 = !{!"_ZTS6ImRect", !15, i64 0, !15, i64 8}
!33 = !{!"_ZTS16ImGuiWindowClass", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12, !6, i64 16, !6, i64 20, !13, i64 24, !13, i64 25}
!34 = !{!"_ZTS17ImGuiNextItemData", !6, i64 0, !16, i64 4, !6, i64 8, !6, i64 12, !13, i64 16}
!35 = !{!"_ZTS8ImVectorI13ImGuiColorModE", !6, i64 0, !6, i64 4, !10, i64 8}
!36 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !6, i64 0, !6, i64 4, !10, i64 8}
!37 = !{!"_ZTS8ImVectorIP6ImFontE", !6, i64 0, !6, i64 4, !10, i64 8}
!38 = !{!"_ZTS8ImVectorI14ImGuiPopupDataE", !6, i64 0, !6, i64 4, !10, i64 8}
!39 = !{!"_ZTS8ImVectorIP14ImGuiViewportPE", !6, i64 0, !6, i64 4, !10, i64 8}
!40 = !{!"_ZTS13ImGuiNavLayer", !7, i64 0}
!41 = !{!"_ZTS15ImGuiNavForward", !7, i64 0}
!42 = !{!"_ZTS18ImGuiNavMoveResult", !10, i64 0, !6, i64 8, !6, i64 12, !16, i64 16, !16, i64 20, !16, i64 24, !32, i64 28}
!43 = !{!"_ZTS12ImGuiPayload", !10, i64 0, !6, i64 8, !6, i64 12, !6, i64 16, !6, i64 20, !7, i64 24, !13, i64 57, !13, i64 58}
!44 = !{!"_ZTS8ImVectorIhE", !6, i64 0, !6, i64 4, !10, i64 8}
!45 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !46, i64 0, !27, i64 16, !6, i64 32}
!46 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !6, i64 0, !6, i64 4, !10, i64 8}
!47 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !6, i64 0, !6, i64 4, !10, i64 8}
!48 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !6, i64 0, !6, i64 4, !10, i64 8}
!49 = !{!"_ZTS19ImGuiInputTextState", !6, i64 0, !6, i64 4, !6, i64 8, !18, i64 16, !50, i64 32, !50, i64 48, !13, i64 64, !6, i64 68, !16, i64 72, !51, i64 76, !16, i64 3696, !13, i64 3700, !13, i64 3701, !13, i64 3702, !6, i64 3704, !10, i64 3712, !10, i64 3720}
!50 = !{!"_ZTS8ImVectorIcE", !6, i64 0, !6, i64 4, !10, i64 8}
!51 = !{!"_ZTSN5ImStb17STB_TexteditStateE", !6, i64 0, !6, i64 4, !6, i64 8, !7, i64 12, !7, i64 13, !7, i64 14, !7, i64 15, !7, i64 16, !7, i64 17, !7, i64 18, !7, i64 19, !16, i64 20, !52, i64 24}
!52 = !{!"_ZTSN5ImStb12StbUndoStateE", !7, i64 0, !7, i64 1584, !17, i64 3582, !17, i64 3584, !6, i64 3588, !6, i64 3592}
!53 = !{!"_ZTS6ImFont", !54, i64 0, !16, i64 16, !16, i64 20, !18, i64 24, !55, i64 40, !10, i64 56, !15, i64 64, !10, i64 72, !10, i64 80, !17, i64 88, !17, i64 90, !17, i64 92, !13, i64 94, !16, i64 96, !16, i64 100, !16, i64 104, !6, i64 108, !7, i64 112}
!54 = !{!"_ZTS8ImVectorIfE", !6, i64 0, !6, i64 4, !10, i64 8}
!55 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !6, i64 0, !6, i64 4, !10, i64 8}
!56 = !{!"_ZTS8ImVectorIjE", !6, i64 0, !6, i64 4, !10, i64 8}
!57 = !{!"_ZTS16ImGuiDockContext", !27, i64 0, !58, i64 16, !59, i64 32, !13, i64 48}
!58 = !{!"_ZTS8ImVectorI16ImGuiDockRequestE", !6, i64 0, !6, i64 4, !10, i64 8}
!59 = !{!"_ZTS8ImVectorI21ImGuiDockNodeSettingsE", !6, i64 0, !6, i64 4, !10, i64 8}
!60 = !{!"_ZTS15ImGuiTextBuffer", !50, i64 0}
!61 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !6, i64 0, !6, i64 4, !10, i64 8}
!62 = !{!"_ZTS13ImChunkStreamI19ImGuiWindowSettingsE", !50, i64 0}
!63 = !{!"_ZTS12ImGuiLogType", !7, i64 0}
!64 = !{!65, !10, i64 1032}
!65 = !{!"_ZTS11ImGuiWindow", !10, i64 0, !6, i64 8, !6, i64 12, !6, i64 16, !33, i64 20, !10, i64 48, !6, i64 56, !15, i64 60, !6, i64 68, !15, i64 72, !15, i64 80, !15, i64 88, !15, i64 96, !15, i64 104, !15, i64 112, !16, i64 120, !16, i64 124, !6, i64 128, !6, i64 132, !6, i64 136, !15, i64 140, !15, i64 148, !15, i64 156, !15, i64 164, !15, i64 172, !13, i64 180, !13, i64 181, !13, i64 182, !13, i64 183, !13, i64 184, !13, i64 185, !13, i64 186, !13, i64 187, !13, i64 188, !13, i64 189, !13, i64 190, !13, i64 191, !13, i64 192, !7, i64 193, !17, i64 194, !17, i64 196, !17, i64 198, !6, i64 200, !7, i64 204, !7, i64 205, !7, i64 206, !13, i64 207, !6, i64 208, !6, i64 212, !6, i64 216, !6, i64 220, !6, i64 224, !6, i64 228, !6, i64 232, !15, i64 236, !15, i64 244, !56, i64 256, !66, i64 272, !32, i64 600, !32, i64 616, !32, i64 632, !32, i64 648, !32, i64 664, !32, i64 680, !32, i64 696, !71, i64 712, !71, i64 716, !6, i64 720, !6, i64 724, !16, i64 728, !16, i64 732, !27, i64 736, !72, i64 752, !16, i64 768, !16, i64 772, !6, i64 776, !10, i64 784, !73, i64 792, !10, i64 1016, !10, i64 1024, !10, i64 1032, !10, i64 1040, !10, i64 1048, !10, i64 1056, !7, i64 1064, !7, i64 1072, !13, i64 1104, !6, i64 1108, !6, i64 1112, !10, i64 1120, !10, i64 1128, !6, i64 1136, !6, i64 1140, !32, i64 1144, !17, i64 1160, !13, i64 1162, !13, i64 1162, !13, i64 1162}
!66 = !{!"_ZTS19ImGuiWindowTempData", !15, i64 0, !15, i64 8, !15, i64 16, !15, i64 24, !15, i64 32, !15, i64 40, !16, i64 48, !16, i64 52, !67, i64 56, !67, i64 60, !67, i64 64, !6, i64 68, !6, i64 72, !32, i64 76, !32, i64 92, !40, i64 108, !6, i64 112, !6, i64 116, !6, i64 120, !6, i64 124, !13, i64 128, !13, i64 129, !13, i64 130, !15, i64 132, !68, i64 140, !6, i64 176, !6, i64 180, !26, i64 184, !10, i64 200, !10, i64 208, !6, i64 216, !6, i64 220, !6, i64 224, !6, i64 228, !6, i64 232, !16, i64 236, !16, i64 240, !69, i64 248, !54, i64 264, !54, i64 280, !70, i64 296, !7, i64 312}
!67 = !{!"_ZTS6ImVec1", !16, i64 0}
!68 = !{!"_ZTS16ImGuiMenuColumns", !16, i64 0, !16, i64 4, !16, i64 8, !7, i64 12, !7, i64 24}
!69 = !{!"_ZTS8ImVectorIiE", !6, i64 0, !6, i64 4, !10, i64 8}
!70 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !6, i64 0, !6, i64 4, !10, i64 8}
!71 = !{!"_ZTS8ImVec2ih", !17, i64 0, !17, i64 2}
!72 = !{!"_ZTS8ImVectorI12ImGuiColumnsE", !6, i64 0, !6, i64 4, !10, i64 8}
!73 = !{!"_ZTS10ImDrawList", !74, i64 0, !18, i64 16, !75, i64 32, !6, i64 48, !10, i64 56, !10, i64 64, !6, i64 72, !10, i64 80, !10, i64 88, !76, i64 96, !77, i64 112, !78, i64 128, !79, i64 144, !80, i64 200}
!74 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !6, i64 0, !6, i64 4, !10, i64 8}
!75 = !{!"_ZTS8ImVectorI10ImDrawVertE", !6, i64 0, !6, i64 4, !10, i64 8}
!76 = !{!"_ZTS8ImVectorI6ImVec4E", !6, i64 0, !6, i64 4, !10, i64 8}
!77 = !{!"_ZTS8ImVectorIPvE", !6, i64 0, !6, i64 4, !10, i64 8}
!78 = !{!"_ZTS8ImVectorI6ImVec2E", !6, i64 0, !6, i64 4, !10, i64 8}
!79 = !{!"_ZTS9ImDrawCmd", !24, i64 0, !10, i64 16, !6, i64 24, !6, i64 28, !6, i64 32, !10, i64 40, !10, i64 48}
!80 = !{!"_ZTS18ImDrawListSplitter", !6, i64 0, !6, i64 4, !81, i64 8}
!81 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !6, i64 0, !6, i64 4, !10, i64 8}
!82 = !{!12, !10, i64 7064}
!83 = !{!12, !6, i64 7152}
!84 = !{!12, !13, i64 7165}
!85 = !{i8 0, i8 2}
!86 = !{}
!87 = !{!65, !6, i64 132}


; 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
@.str.3 = external hidden unnamed_addr constant [109 x i8], align 1
@.str.118 = external hidden unnamed_addr constant [53 x i8], align 1
@__PRETTY_FUNCTION__._ZN5ImGui15IsWindowHoveredEi = external hidden unnamed_addr constant [47 x i8], align 1

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef zeroext i1 @_ZL24IsWindowContentHoverableP11ImGuiWindowi(ptr noundef, i32 noundef) local_unnamed_addr #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN5ImGui15IsWindowChildOfEP11ImGuiWindowS1_(ptr noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress nounwind uwtable
define dso_local noundef zeroext i1 @_ZN5ImGui15IsWindowHoveredEi(i32 noundef %0) local_unnamed_addr #2 {
  %2 = and i32 %0, 64
  %3 = icmp eq i32 %2, 0
  br i1 %3, label %5, label %4

4:                                                ; preds = %1
  tail call void @__assert_fail(ptr noundef nonnull @.str.118, ptr noundef nonnull @.str.3, i32 noundef 6940, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5ImGui15IsWindowHoveredEi) #3
  unreachable

5:                                                ; preds = %1
  %6 = load ptr, ptr @GImGui, align 8, !tbaa !5
  %7 = and i32 %0, 4
  %.not = icmp eq i32 %7, 0
  br i1 %.not, label %12, label %8

8:                                                ; preds = %5
  %9 = getelementptr inbounds i8, ptr %6, i64 7072
  %10 = load ptr, ptr %9, align 8, !tbaa !9
  %11 = icmp eq ptr %10, null
  br i1 %11, label %57, label %39

12:                                               ; preds = %5
  %13 = and i32 %0, 3
  %14 = getelementptr inbounds i8, ptr %6, i64 7072
  %15 = load ptr, ptr %14, align 8, !tbaa !9
  switch i32 %13, label %default.unreachable30 [
    i32 3, label %16
    i32 2, label %25
    i32 1, label %30
    i32 0, label %36
  ]

16:                                               ; preds = %12
  %17 = icmp eq ptr %15, null
  br i1 %17, label %57, label %18

18:                                               ; preds = %16
  %19 = getelementptr inbounds i8, ptr %15, i64 1032
  %20 = load ptr, ptr %19, align 8, !tbaa !63
  %21 = getelementptr inbounds i8, ptr %6, i64 7064
  %22 = load ptr, ptr %21, align 8, !tbaa !81
  %23 = getelementptr inbounds i8, ptr %22, i64 1032
  %24 = load ptr, ptr %23, align 8, !tbaa !63
  %.not26 = icmp eq ptr %20, %24
  br i1 %.not26, label %39, label %57

25:                                               ; preds = %12
  %26 = getelementptr inbounds i8, ptr %6, i64 7064
  %27 = load ptr, ptr %26, align 8, !tbaa !81
  %28 = getelementptr inbounds i8, ptr %27, i64 1032
  %29 = load ptr, ptr %28, align 8, !tbaa !63
  %.not25 = icmp eq ptr %15, %29
  br i1 %.not25, label %39, label %57

30:                                               ; preds = %12
  %31 = icmp eq ptr %15, null
  br i1 %31, label %57, label %32

32:                                               ; preds = %30
  %33 = getelementptr inbounds i8, ptr %6, i64 7064
  %34 = load ptr, ptr %33, align 8, !tbaa !81
  %35 = tail call noundef zeroext i1 @_ZN5ImGui15IsWindowChildOfEP11ImGuiWindowS1_(ptr noundef nonnull %15, ptr noundef %34)
  br i1 %35, label %._crit_edge, label %57

._crit_edge:                                      ; preds = %32
  %.pre = load ptr, ptr %14, align 8, !tbaa !9
  br label %39

default.unreachable30:                            ; preds = %12
  unreachable

36:                                               ; preds = %12
  %37 = getelementptr inbounds i8, ptr %6, i64 7064
  %38 = load ptr, ptr %37, align 8, !tbaa !81
  %.not24 = icmp eq ptr %15, %38
  br i1 %.not24, label %39, label %57

39:                                               ; preds = %._crit_edge, %18, %25, %36, %8
  %40 = phi ptr [ %.pre, %._crit_edge ], [ %15, %18 ], [ %15, %25 ], [ %15, %36 ], [ %10, %8 ]
  %41 = getelementptr inbounds i8, ptr %6, i64 7072
  %42 = tail call noundef zeroext i1 @_ZL24IsWindowContentHoverableP11ImGuiWindowi(ptr noundef %40, i32 noundef %0)
  br i1 %42, label %43, label %57

43:                                               ; preds = %39
  %44 = and i32 %0, 32
  %.not27 = icmp eq i32 %44, 0
  br i1 %.not27, label %45, label %56

45:                                               ; preds = %43
  %46 = getelementptr inbounds i8, ptr %6, i64 7152
  %47 = load i32, ptr %46, align 8, !tbaa !82
  %.not28 = icmp eq i32 %47, 0
  br i1 %.not28, label %56, label %48

48:                                               ; preds = %45
  %49 = getelementptr inbounds i8, ptr %6, i64 7165
  %50 = load i8, ptr %49, align 1, !tbaa !83, !range !84, !noundef !85
  %51 = trunc nuw i8 %50 to i1
  br i1 %51, label %56, label %52

52:                                               ; preds = %48
  %53 = load ptr, ptr %41, align 8, !tbaa !9
  %54 = getelementptr inbounds i8, ptr %53, i64 132
  %55 = load i32, ptr %54, align 4, !tbaa !86
  %.not29 = icmp eq i32 %47, %55
  br i1 %.not29, label %56, label %57

56:                                               ; preds = %45, %48, %52, %43
  br label %57

57:                                               ; preds = %52, %39, %36, %30, %32, %25, %16, %18, %8, %56
  %.0 = phi i1 [ true, %56 ], [ false, %8 ], [ false, %18 ], [ false, %16 ], [ false, %25 ], [ false, %32 ], [ false, %30 ], [ false, %36 ], [ false, %39 ], [ false, %52 ]
  ret i1 %.0
}

attributes #0 = { 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 #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 = { 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 #3 = { 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 7072}
!10 = !{!"_ZTS12ImGuiContext", !11, i64 0, !11, i64 1, !12, i64 8, !18, i64 5472, !21, i64 5704, !13, i64 6692, !13, i64 6696, !6, i64 6704, !15, i64 6712, !15, i64 6716, !22, i64 6720, !24, i64 6936, !13, i64 6944, !13, i64 6948, !13, i64 6952, !13, i64 6956, !11, i64 6960, !11, i64 6961, !11, i64 6962, !11, i64 6963, !13, i64 6964, !6, i64 6968, !25, i64 6976, !25, i64 6992, !25, i64 7008, !25, i64 7024, !26, i64 7040, !13, i64 7056, !6, i64 7064, !6, i64 7072, !6, i64 7080, !6, i64 7088, !6, i64 7096, !6, i64 7104, !6, i64 7112, !14, i64 7120, !15, i64 7128, !13, i64 7132, !13, i64 7136, !11, i64 7140, !11, i64 7141, !15, i64 7144, !15, i64 7148, !13, i64 7152, !13, i64 7156, !15, i64 7160, !11, i64 7164, !11, i64 7165, !11, i64 7166, !11, i64 7167, !11, i64 7168, !11, i64 7169, !13, i64 7172, !13, i64 7176, !28, i64 7184, !14, i64 7192, !6, i64 7200, !29, i64 7208, !13, i64 7212, !13, i64 7216, !11, i64 7220, !11, i64 7221, !6, i64 7224, !13, i64 7232, !15, i64 7236, !30, i64 7240, !33, i64 7384, !34, i64 7408, !35, i64 7424, !36, i64 7440, !37, i64 7456, !37, i64 7472, !38, i64 7488, !15, i64 7504, !6, i64 7512, !6, i64 7520, !6, i64 7528, !13, i64 7536, !13, i64 7540, !6, i64 7544, !13, i64 7552, !13, i64 7556, !13, i64 7560, !13, i64 7564, !13, i64 7568, !13, i64 7572, !13, i64 7576, !13, i64 7580, !13, i64 7584, !13, i64 7588, !13, i64 7592, !29, i64 7596, !31, i64 7600, !13, i64 7616, !39, i64 7620, !13, i64 7624, !11, i64 7628, !11, i64 7629, !11, i64 7630, !11, i64 7631, !11, i64 7632, !11, i64 7633, !11, i64 7634, !13, i64 7636, !31, i64 7640, !11, i64 7656, !11, i64 7657, !13, i64 7660, !40, i64 7664, !13, i64 7668, !13, i64 7672, !13, i64 7676, !13, i64 7680, !41, i64 7688, !41, i64 7736, !41, i64 7784, !6, i64 7832, !13, i64 7840, !6, i64 7848, !6, i64 7856, !6, i64 7864, !15, i64 7872, !15, i64 7876, !11, i64 7880, !6, i64 7888, !6, i64 7896, !13, i64 7904, !13, i64 7908, !13, i64 7912, !13, i64 7916, !11, i64 7920, !15, i64 7924, !13, i64 7928, !11, i64 7932, !11, i64 7933, !11, i64 7934, !13, i64 7936, !13, i64 7940, !13, i64 7944, !42, i64 7952, !31, i64 8016, !13, i64 8032, !13, i64 8036, !15, i64 8040, !13, i64 8044, !13, i64 8048, !13, i64 8052, !13, i64 8056, !43, i64 8064, !7, i64 8080, !6, i64 8096, !44, i64 8104, !46, i64 8144, !47, i64 8160, !14, i64 8176, !48, i64 8184, !52, i64 11912, !13, i64 12032, !13, i64 12036, !15, i64 12040, !15, i64 12044, !7, i64 12048, !23, i64 12060, !15, i64 12076, !11, i64 12080, !11, i64 12081, !15, i64 12084, !15, i64 12088, !15, i64 12092, !13, i64 12096, !49, i64 12104, !55, i64 12120, !14, i64 12136, !14, i64 12144, !6, i64 12152, !56, i64 12160, !11, i64 12216, !15, i64 12220, !59, i64 12224, !60, i64 12240, !61, i64 12256, !11, i64 12272, !62, i64 12276, !6, i64 12280, !59, i64 12288, !15, i64 12304, !11, i64 12308, !13, i64 12312, !13, i64 12316, !13, i64 12320, !11, i64 12324, !13, i64 12328, !7, i64 12332, !13, i64 12812, !15, i64 12816, !13, i64 12820, !13, i64 12824, !13, i64 12828, !7, i64 12832}
!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, !11, i64 198, !11, i64 199, !11, i64 200, !11, i64 201, !11, i64 202, !11, i64 203, !11, i64 204, !15, 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, !13, i64 312, !11, i64 316, !11, i64 317, !11, i64 318, !11, i64 319, !7, i64 320, !7, i64 832, !11, i64 916, !11, i64 917, !11, i64 918, !11, i64 919, !11, i64 920, !11, i64 921, !11, i64 922, !15, i64 924, !13, i64 928, !13, i64 932, !13, i64 936, !13, i64 940, !13, i64 944, !14, i64 948, !13, i64 956, !14, i64 960, !7, i64 968, !7, i64 1008, !7, i64 1048, !7, i64 1053, !7, i64 1058, !7, i64 1063, !7, i64 1068, !7, i64 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 = !{!"_ZTS15ImGuiPlatformIO", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !6, i64 88, !6, i64 96, !6, i64 104, !6, i64 112, !6, i64 120, !6, i64 128, !6, i64 136, !6, i64 144, !6, i64 152, !6, i64 160, !6, i64 168, !6, i64 176, !6, i64 184, !19, i64 192, !6, i64 208, !20, i64 216}
!19 = !{!"_ZTS8ImVectorI20ImGuiPlatformMonitorE", !13, i64 0, !13, i64 4, !6, i64 8}
!20 = !{!"_ZTS8ImVectorIP13ImGuiViewportE", !13, i64 0, !13, i64 4, !6, i64 8}
!21 = !{!"_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, !15, i64 96, !15, i64 100, !15, i64 104, !15, i64 108, !15, i64 112, !15, i64 116, !15, i64 120, !15, i64 124, !15, i64 128, !15, i64 132, !13, i64 136, !14, i64 140, !14, i64 148, !14, i64 156, !14, i64 164, !15, i64 172, !11, i64 176, !11, i64 177, !11, i64 178, !15, i64 180, !15, i64 184, !7, i64 188}
!22 = !{!"_ZTS20ImDrawListSharedData", !14, i64 0, !6, i64 8, !15, i64 16, !15, i64 20, !15, i64 24, !23, i64 28, !13, i64 44, !7, i64 48, !7, i64 144, !6, i64 208}
!23 = !{!"_ZTS6ImVec4", !15, i64 0, !15, i64 4, !15, i64 8, !15, i64 12}
!24 = !{!"double", !7, i64 0}
!25 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !13, i64 0, !13, i64 4, !6, i64 8}
!26 = !{!"_ZTS12ImGuiStorage", !27, i64 0}
!27 = !{!"_ZTS8ImVectorIN12ImGuiStorage16ImGuiStoragePairEE", !13, i64 0, !13, i64 4, !6, i64 8}
!28 = !{!"long long", !7, i64 0}
!29 = !{!"_ZTS16ImGuiInputSource", !7, i64 0}
!30 = !{!"_ZTS19ImGuiNextWindowData", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12, !13, i64 16, !14, i64 20, !14, i64 28, !14, i64 36, !14, i64 44, !14, i64 52, !11, i64 60, !11, i64 61, !31, i64 64, !6, i64 80, !6, i64 88, !15, i64 96, !13, i64 100, !13, i64 104, !32, i64 108, !14, i64 136}
!31 = !{!"_ZTS6ImRect", !14, i64 0, !14, i64 8}
!32 = !{!"_ZTS16ImGuiWindowClass", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12, !13, i64 16, !13, i64 20, !11, i64 24, !11, i64 25}
!33 = !{!"_ZTS17ImGuiNextItemData", !13, i64 0, !15, i64 4, !13, i64 8, !13, i64 12, !11, i64 16}
!34 = !{!"_ZTS8ImVectorI13ImGuiColorModE", !13, i64 0, !13, i64 4, !6, i64 8}
!35 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !13, i64 0, !13, i64 4, !6, i64 8}
!36 = !{!"_ZTS8ImVectorIP6ImFontE", !13, i64 0, !13, i64 4, !6, i64 8}
!37 = !{!"_ZTS8ImVectorI14ImGuiPopupDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!38 = !{!"_ZTS8ImVectorIP14ImGuiViewportPE", !13, i64 0, !13, i64 4, !6, i64 8}
!39 = !{!"_ZTS13ImGuiNavLayer", !7, i64 0}
!40 = !{!"_ZTS15ImGuiNavForward", !7, i64 0}
!41 = !{!"_ZTS18ImGuiNavMoveResult", !6, i64 0, !13, i64 8, !13, i64 12, !15, i64 16, !15, i64 20, !15, i64 24, !31, i64 28}
!42 = !{!"_ZTS12ImGuiPayload", !6, i64 0, !13, i64 8, !13, i64 12, !13, i64 16, !13, i64 20, !7, i64 24, !11, i64 57, !11, i64 58}
!43 = !{!"_ZTS8ImVectorIhE", !13, i64 0, !13, i64 4, !6, i64 8}
!44 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !45, i64 0, !26, i64 16, !13, i64 32}
!45 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !13, i64 0, !13, i64 4, !6, i64 8}
!46 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !13, i64 0, !13, i64 4, !6, i64 8}
!47 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !13, i64 0, !13, i64 4, !6, i64 8}
!48 = !{!"_ZTS19ImGuiInputTextState", !13, i64 0, !13, i64 4, !13, i64 8, !17, i64 16, !49, i64 32, !49, i64 48, !11, i64 64, !13, i64 68, !15, i64 72, !50, i64 76, !15, i64 3696, !11, i64 3700, !11, i64 3701, !11, i64 3702, !13, i64 3704, !6, i64 3712, !6, i64 3720}
!49 = !{!"_ZTS8ImVectorIcE", !13, i64 0, !13, i64 4, !6, i64 8}
!50 = !{!"_ZTSN5ImStb17STB_TexteditStateE", !13, i64 0, !13, i64 4, !13, i64 8, !7, i64 12, !7, i64 13, !7, i64 14, !7, i64 15, !7, i64 16, !7, i64 17, !7, i64 18, !7, i64 19, !15, i64 20, !51, i64 24}
!51 = !{!"_ZTSN5ImStb12StbUndoStateE", !7, i64 0, !7, i64 1584, !16, i64 3582, !16, i64 3584, !13, i64 3588, !13, i64 3592}
!52 = !{!"_ZTS6ImFont", !53, i64 0, !15, i64 16, !15, i64 20, !17, i64 24, !54, i64 40, !6, i64 56, !14, i64 64, !6, i64 72, !6, i64 80, !16, i64 88, !16, i64 90, !16, i64 92, !11, i64 94, !15, i64 96, !15, i64 100, !15, i64 104, !13, i64 108, !7, i64 112}
!53 = !{!"_ZTS8ImVectorIfE", !13, i64 0, !13, i64 4, !6, i64 8}
!54 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !13, i64 0, !13, i64 4, !6, i64 8}
!55 = !{!"_ZTS8ImVectorIjE", !13, i64 0, !13, i64 4, !6, i64 8}
!56 = !{!"_ZTS16ImGuiDockContext", !26, i64 0, !57, i64 16, !58, i64 32, !11, i64 48}
!57 = !{!"_ZTS8ImVectorI16ImGuiDockRequestE", !13, i64 0, !13, i64 4, !6, i64 8}
!58 = !{!"_ZTS8ImVectorI21ImGuiDockNodeSettingsE", !13, i64 0, !13, i64 4, !6, i64 8}
!59 = !{!"_ZTS15ImGuiTextBuffer", !49, i64 0}
!60 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !13, i64 0, !13, i64 4, !6, i64 8}
!61 = !{!"_ZTS13ImChunkStreamI19ImGuiWindowSettingsE", !49, i64 0}
!62 = !{!"_ZTS12ImGuiLogType", !7, i64 0}
!63 = !{!64, !6, i64 1032}
!64 = !{!"_ZTS11ImGuiWindow", !6, i64 0, !13, i64 8, !13, i64 12, !13, i64 16, !32, i64 20, !6, i64 48, !13, i64 56, !14, i64 60, !13, i64 68, !14, i64 72, !14, i64 80, !14, i64 88, !14, i64 96, !14, i64 104, !14, i64 112, !15, i64 120, !15, i64 124, !13, i64 128, !13, i64 132, !13, i64 136, !14, i64 140, !14, i64 148, !14, i64 156, !14, i64 164, !14, i64 172, !11, i64 180, !11, i64 181, !11, i64 182, !11, i64 183, !11, i64 184, !11, i64 185, !11, i64 186, !11, i64 187, !11, i64 188, !11, i64 189, !11, i64 190, !11, i64 191, !11, i64 192, !7, i64 193, !16, i64 194, !16, i64 196, !16, i64 198, !13, i64 200, !7, i64 204, !7, i64 205, !7, i64 206, !11, i64 207, !13, i64 208, !13, i64 212, !13, i64 216, !13, i64 220, !13, i64 224, !13, i64 228, !13, i64 232, !14, i64 236, !14, i64 244, !55, i64 256, !65, i64 272, !31, i64 600, !31, i64 616, !31, i64 632, !31, i64 648, !31, i64 664, !31, i64 680, !31, i64 696, !70, i64 712, !70, i64 716, !13, i64 720, !13, i64 724, !15, i64 728, !15, i64 732, !26, i64 736, !71, i64 752, !15, i64 768, !15, i64 772, !13, i64 776, !6, i64 784, !72, i64 792, !6, i64 1016, !6, i64 1024, !6, i64 1032, !6, i64 1040, !6, i64 1048, !6, i64 1056, !7, i64 1064, !7, i64 1072, !11, i64 1104, !13, i64 1108, !13, i64 1112, !6, i64 1120, !6, i64 1128, !13, i64 1136, !13, i64 1140, !31, i64 1144, !16, i64 1160, !11, i64 1162, !11, i64 1162, !11, i64 1162}
!65 = !{!"_ZTS19ImGuiWindowTempData", !14, i64 0, !14, i64 8, !14, i64 16, !14, i64 24, !14, i64 32, !14, i64 40, !15, i64 48, !15, i64 52, !66, i64 56, !66, i64 60, !66, i64 64, !13, i64 68, !13, i64 72, !31, i64 76, !31, i64 92, !39, i64 108, !13, i64 112, !13, i64 116, !13, i64 120, !13, i64 124, !11, i64 128, !11, i64 129, !11, i64 130, !14, i64 132, !67, i64 140, !13, i64 176, !13, i64 180, !25, i64 184, !6, i64 200, !6, i64 208, !13, i64 216, !13, i64 220, !13, i64 224, !13, i64 228, !13, i64 232, !15, i64 236, !15, i64 240, !68, i64 248, !53, i64 264, !53, i64 280, !69, i64 296, !7, i64 312}
!66 = !{!"_ZTS6ImVec1", !15, i64 0}
!67 = !{!"_ZTS16ImGuiMenuColumns", !15, i64 0, !15, i64 4, !15, i64 8, !7, i64 12, !7, i64 24}
!68 = !{!"_ZTS8ImVectorIiE", !13, i64 0, !13, i64 4, !6, i64 8}
!69 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!70 = !{!"_ZTS8ImVec2ih", !16, i64 0, !16, i64 2}
!71 = !{!"_ZTS8ImVectorI12ImGuiColumnsE", !13, i64 0, !13, i64 4, !6, i64 8}
!72 = !{!"_ZTS10ImDrawList", !73, i64 0, !17, i64 16, !74, i64 32, !13, i64 48, !6, i64 56, !6, i64 64, !13, i64 72, !6, i64 80, !6, i64 88, !75, i64 96, !76, i64 112, !77, i64 128, !78, i64 144, !79, i64 200}
!73 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !13, i64 0, !13, i64 4, !6, i64 8}
!74 = !{!"_ZTS8ImVectorI10ImDrawVertE", !13, i64 0, !13, i64 4, !6, i64 8}
!75 = !{!"_ZTS8ImVectorI6ImVec4E", !13, i64 0, !13, i64 4, !6, i64 8}
!76 = !{!"_ZTS8ImVectorIPvE", !13, i64 0, !13, i64 4, !6, i64 8}
!77 = !{!"_ZTS8ImVectorI6ImVec2E", !13, i64 0, !13, i64 4, !6, i64 8}
!78 = !{!"_ZTS9ImDrawCmd", !23, i64 0, !6, i64 16, !13, i64 24, !13, i64 28, !13, i64 32, !6, i64 40, !6, i64 48}
!79 = !{!"_ZTS18ImDrawListSplitter", !13, i64 0, !13, i64 4, !80, i64 8}
!80 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !13, i64 0, !13, i64 4, !6, i64 8}
!81 = !{!10, !6, i64 7064}
!82 = !{!10, !13, i64 7152}
!83 = !{!10, !11, i64 7165}
!84 = !{i8 0, i8 2}
!85 = !{}
!86 = !{!64, !13, i64 132}


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