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

; 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 }
%struct.ImGuiDockNode = type <{ i32, i32, i32, [4 x i8], ptr, [2 x ptr], %struct.ImVector.5, ptr, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, i32, %struct.ImGuiWindowClass, i32, [4 x i8], ptr, ptr, ptr, ptr, i32, i32, i32, i32, i32, i32, i16, i8, [5 x i8] }>
%struct.ImGuiTabBar = type { %struct.ImVector.35, i32, i32, i32, i32, i32, i32, %struct.ImRect, float, float, float, float, float, float, float, float, i32, i32, i8, i8, i8, i16, %struct.ImVec2, %struct.ImGuiTextBuffer }
%struct.ImVector.35 = 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.115 = external hidden unnamed_addr constant [49 x i8], align 1
@__PRETTY_FUNCTION__._ZN5ImGui11FocusWindowEP11ImGuiWindow = external hidden unnamed_addr constant [39 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: mustprogress nounwind uwtable
declare dso_local void @_ZN5ImGui13ClearActiveIDEv() #2

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

15:                                               ; preds = %1
  %16 = load ptr, ptr %2, align 8, !tbaa !5
  %17 = load ptr, ptr %3, align 8, !tbaa !5
  %18 = getelementptr inbounds %struct.ImGuiContext, ptr %17, i32 0, i32 88
  store ptr %16, ptr %18, align 8, !tbaa !9
  %19 = load ptr, ptr %2, align 8, !tbaa !5
  %20 = icmp ne ptr %19, null
  br i1 %20, label %21, label %29

21:                                               ; preds = %15
  %22 = load ptr, ptr %3, align 8, !tbaa !5
  %23 = getelementptr inbounds %struct.ImGuiContext, ptr %22, i32 0, i32 108
  %24 = load i8, ptr %23, align 1, !tbaa !63, !range !64, !noundef !65
  %25 = trunc i8 %24 to i1
  br i1 %25, label %26, label %29

26:                                               ; preds = %21
  %27 = load ptr, ptr %3, align 8, !tbaa !5
  %28 = getelementptr inbounds %struct.ImGuiContext, ptr %27, i32 0, i32 106
  store i8 1, ptr %28, align 1, !tbaa !66
  br label %29

29:                                               ; preds = %26, %21, %15
  %30 = load ptr, ptr %3, align 8, !tbaa !5
  %31 = getelementptr inbounds %struct.ImGuiContext, ptr %30, i32 0, i32 110
  store i8 0, ptr %31, align 1, !tbaa !67
  %32 = load ptr, ptr %2, align 8, !tbaa !5
  %33 = icmp ne ptr %32, null
  br i1 %33, label %34, label %39

34:                                               ; preds = %29
  %35 = load ptr, ptr %2, align 8, !tbaa !5
  %36 = getelementptr inbounds %struct.ImGuiWindow, ptr %35, i32 0, i32 86
  %37 = getelementptr inbounds [2 x i32], ptr %36, i64 0, i64 0
  %38 = load i32, ptr %37, align 8, !tbaa !68
  br label %40

39:                                               ; preds = %29
  br label %40

40:                                               ; preds = %39, %34
  %41 = phi i32 [ %38, %34 ], [ 0, %39 ]
  %42 = load ptr, ptr %3, align 8, !tbaa !5
  %43 = getelementptr inbounds %struct.ImGuiContext, ptr %42, i32 0, i32 89
  store i32 %41, ptr %43, align 8, !tbaa !69
  %44 = load ptr, ptr %3, align 8, !tbaa !5
  %45 = getelementptr inbounds %struct.ImGuiContext, ptr %44, i32 0, i32 90
  store i32 0, ptr %45, align 4, !tbaa !70
  %46 = load ptr, ptr %3, align 8, !tbaa !5
  %47 = getelementptr inbounds %struct.ImGuiContext, ptr %46, i32 0, i32 105
  store i8 0, ptr %47, align 4, !tbaa !71
  %48 = load ptr, ptr %3, align 8, !tbaa !5
  %49 = getelementptr inbounds %struct.ImGuiContext, ptr %48, i32 0, i32 103
  store i32 0, ptr %49, align 4, !tbaa !72
  br label %50

50:                                               ; preds = %40, %1
  %51 = load ptr, ptr %2, align 8, !tbaa !5
  call void @_ZN5ImGui21ClosePopupsOverWindowEP11ImGuiWindowb(ptr noundef %51, i1 noundef zeroext false)
  %52 = load ptr, ptr %2, align 8, !tbaa !5
  %53 = icmp eq ptr %52, null
  br i1 %53, label %59, label %54

54:                                               ; preds = %50
  %55 = load ptr, ptr %2, align 8, !tbaa !5
  %56 = getelementptr inbounds %struct.ImGuiWindow, ptr %55, i32 0, i32 81
  %57 = load ptr, ptr %56, align 8, !tbaa !73
  %58 = icmp ne ptr %57, null
  br label %59

59:                                               ; preds = %54, %50
  %60 = phi i1 [ true, %50 ], [ %58, %54 ]
  br i1 %60, label %61, label %62

61:                                               ; preds = %59
  br label %64

62:                                               ; preds = %59
  call void @__assert_fail(ptr noundef @.str.115, ptr noundef @.str.3, i32 noundef 6780, ptr noundef @__PRETTY_FUNCTION__._ZN5ImGui11FocusWindowEP11ImGuiWindow) #5
  unreachable

63:                                               ; No predecessors!
  br label %64

64:                                               ; preds = %63, %61
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #4
  %65 = load ptr, ptr %2, align 8, !tbaa !5
  %66 = icmp ne ptr %65, null
  br i1 %66, label %67, label %71

67:                                               ; preds = %64
  %68 = load ptr, ptr %2, align 8, !tbaa !5
  %69 = getelementptr inbounds %struct.ImGuiWindow, ptr %68, i32 0, i32 82
  %70 = load ptr, ptr %69, align 8, !tbaa !91
  br label %72

71:                                               ; preds = %64
  br label %72

72:                                               ; preds = %71, %67
  %73 = phi ptr [ %70, %67 ], [ null, %71 ]
  store ptr %73, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #4
  %74 = load ptr, ptr %2, align 8, !tbaa !5
  %75 = icmp ne ptr %74, null
  br i1 %75, label %76, label %80

76:                                               ; preds = %72
  %77 = load ptr, ptr %2, align 8, !tbaa !5
  %78 = getelementptr inbounds %struct.ImGuiWindow, ptr %77, i32 0, i32 81
  %79 = load ptr, ptr %78, align 8, !tbaa !73
  br label %81

80:                                               ; preds = %72
  br label %81

81:                                               ; preds = %80, %76
  %82 = phi ptr [ %79, %76 ], [ null, %80 ]
  store ptr %82, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #4
  %83 = load ptr, ptr %2, align 8, !tbaa !5
  %84 = icmp ne ptr %83, null
  br i1 %84, label %85, label %89

85:                                               ; preds = %81
  %86 = load ptr, ptr %2, align 8, !tbaa !5
  %87 = getelementptr inbounds %struct.ImGuiWindow, ptr %86, i32 0, i32 93
  %88 = load ptr, ptr %87, align 8, !tbaa !92
  br label %90

89:                                               ; preds = %81
  br label %90

90:                                               ; preds = %89, %85
  %91 = phi ptr [ %88, %85 ], [ null, %89 ]
  store ptr %91, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %7) #4
  %92 = load ptr, ptr %3, align 8, !tbaa !5
  %93 = getelementptr inbounds %struct.ImGuiContext, ptr %92, i32 0, i32 62
  %94 = load ptr, ptr %93, align 8, !tbaa !93
  %95 = icmp ne ptr %94, null
  br i1 %95, label %96, label %107

96:                                               ; preds = %90
  %97 = load ptr, ptr %6, align 8, !tbaa !5
  %98 = icmp ne ptr %97, null
  br i1 %98, label %99, label %107

99:                                               ; preds = %96
  %100 = load ptr, ptr %6, align 8, !tbaa !5
  %101 = getelementptr inbounds %struct.ImGuiDockNode, ptr %100, i32 0, i32 15
  %102 = load ptr, ptr %101, align 8, !tbaa !94
  %103 = load ptr, ptr %3, align 8, !tbaa !5
  %104 = getelementptr inbounds %struct.ImGuiContext, ptr %103, i32 0, i32 62
  %105 = load ptr, ptr %104, align 8, !tbaa !93
  %106 = icmp eq ptr %102, %105
  br label %107

107:                                              ; preds = %99, %96, %90
  %108 = phi i1 [ false, %96 ], [ false, %90 ], [ %106, %99 ]
  %109 = zext i1 %108 to i8
  store i8 %109, ptr %7, align 1, !tbaa !98
  %110 = load ptr, ptr %3, align 8, !tbaa !5
  %111 = getelementptr inbounds %struct.ImGuiContext, ptr %110, i32 0, i32 47
  %112 = load i32, ptr %111, align 8, !tbaa !99
  %113 = icmp ne i32 %112, 0
  br i1 %113, label %114, label %137

114:                                              ; preds = %107
  %115 = load ptr, ptr %3, align 8, !tbaa !5
  %116 = getelementptr inbounds %struct.ImGuiContext, ptr %115, i32 0, i32 62
  %117 = load ptr, ptr %116, align 8, !tbaa !93
  %118 = icmp ne ptr %117, null
  br i1 %118, label %119, label %137

119:                                              ; preds = %114
  %120 = load ptr, ptr %3, align 8, !tbaa !5
  %121 = getelementptr inbounds %struct.ImGuiContext, ptr %120, i32 0, i32 62
  %122 = load ptr, ptr %121, align 8, !tbaa !93
  %123 = getelementptr inbounds %struct.ImGuiWindow, ptr %122, i32 0, i32 82
  %124 = load ptr, ptr %123, align 8, !tbaa !91
  %125 = load ptr, ptr %4, align 8, !tbaa !5
  %126 = icmp ne ptr %124, %125
  br i1 %126, label %127, label %137

127:                                              ; preds = %119
  %128 = load ptr, ptr %3, align 8, !tbaa !5
  %129 = getelementptr inbounds %struct.ImGuiContext, ptr %128, i32 0, i32 52
  %130 = load i8, ptr %129, align 2, !tbaa !100, !range !64, !noundef !65
  %131 = trunc i8 %130 to i1
  br i1 %131, label %136, label %132

132:                                              ; preds = %127
  %133 = load i8, ptr %7, align 1, !tbaa !98, !range !64, !noundef !65
  %134 = trunc i8 %133 to i1
  br i1 %134, label %136, label %135

135:                                              ; preds = %132
  call void @_ZN5ImGui13ClearActiveIDEv()
  br label %136

136:                                              ; preds = %135, %132, %127
  br label %137

137:                                              ; preds = %136, %119, %114, %107
  %138 = load ptr, ptr %2, align 8, !tbaa !5
  %139 = icmp ne ptr %138, null
  br i1 %139, label %141, label %140

140:                                              ; preds = %137
  store i32 1, ptr %8, align 4
  br label %184

141:                                              ; preds = %137
  %142 = load ptr, ptr %3, align 8, !tbaa !5
  %143 = getelementptr inbounds %struct.ImGuiContext, ptr %142, i32 0, i32 14
  %144 = load i32, ptr %143, align 8, !tbaa !101
  %145 = load ptr, ptr %2, align 8, !tbaa !5
  %146 = getelementptr inbounds %struct.ImGuiWindow, ptr %145, i32 0, i32 69
  store i32 %144, ptr %146, align 4, !tbaa !102
  %147 = load ptr, ptr %6, align 8, !tbaa !5
  %148 = icmp ne ptr %147, null
  br i1 %148, label %149, label %166

149:                                              ; preds = %141
  %150 = load ptr, ptr %6, align 8, !tbaa !5
  %151 = getelementptr inbounds %struct.ImGuiDockNode, ptr %150, i32 0, i32 7
  %152 = load ptr, ptr %151, align 8, !tbaa !103
  %153 = icmp ne ptr %152, null
  br i1 %153, label %154, label %166

154:                                              ; preds = %149
  %155 = load ptr, ptr %2, align 8, !tbaa !5
  %156 = getelementptr inbounds %struct.ImGuiWindow, ptr %155, i32 0, i32 1
  %157 = load i32, ptr %156, align 8, !tbaa !104
  %158 = load ptr, ptr %6, align 8, !tbaa !5
  %159 = getelementptr inbounds %struct.ImGuiDockNode, ptr %158, i32 0, i32 7
  %160 = load ptr, ptr %159, align 8, !tbaa !103
  %161 = getelementptr inbounds %struct.ImGuiTabBar, ptr %160, i32 0, i32 3
  store i32 %157, ptr %161, align 8, !tbaa !105
  %162 = load ptr, ptr %6, align 8, !tbaa !5
  %163 = getelementptr inbounds %struct.ImGuiDockNode, ptr %162, i32 0, i32 7
  %164 = load ptr, ptr %163, align 8, !tbaa !103
  %165 = getelementptr inbounds %struct.ImGuiTabBar, ptr %164, i32 0, i32 2
  store i32 %157, ptr %165, align 4, !tbaa !108
  br label %166

166:                                              ; preds = %154, %149, %141
  %167 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN5ImGui23BringWindowToFocusFrontEP11ImGuiWindow(ptr noundef %167)
  %168 = load ptr, ptr %2, align 8, !tbaa !5
  %169 = getelementptr inbounds %struct.ImGuiWindow, ptr %168, i32 0, i32 2
  %170 = load i32, ptr %169, align 4, !tbaa !109
  %171 = load ptr, ptr %4, align 8, !tbaa !5
  %172 = getelementptr inbounds %struct.ImGuiWindow, ptr %171, i32 0, i32 2
  %173 = load i32, ptr %172, align 4, !tbaa !109
  %174 = or i32 %170, %173
  %175 = load ptr, ptr %5, align 8, !tbaa !5
  %176 = getelementptr inbounds %struct.ImGuiWindow, ptr %175, i32 0, i32 2
  %177 = load i32, ptr %176, align 4, !tbaa !109
  %178 = or i32 %174, %177
  %179 = and i32 %178, 8192
  %180 = icmp eq i32 %179, 0
  br i1 %180, label %181, label %183

181:                                              ; preds = %166
  %182 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZN5ImGui25BringWindowToDisplayFrontEP11ImGuiWindow(ptr noundef %182)
  br label %183

183:                                              ; preds = %181, %166
  store i32 0, ptr %8, align 4
  br label %184

184:                                              ; preds = %183, %140
  call void @llvm.lifetime.end.p0(i64 1, ptr %7) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #4
  %185 = load i32, ptr %8, align 4
  switch i32 %185, label %187 [
    i32 0, label %186
    i32 1, label %186
  ]

186:                                              ; preds = %184, %184
  ret void

187:                                              ; preds = %184
  unreachable
}

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui23BringWindowToFocusFrontEP11ImGuiWindow(ptr noundef) #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui25BringWindowToDisplayFrontEP11ImGuiWindow(ptr noundef) #3

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 = { 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 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 }
attributes #5 = { 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 7544}
!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 = !{!10, !11, i64 7631}
!64 = !{i8 0, i8 2}
!65 = !{}
!66 = !{!10, !11, i64 7629}
!67 = !{!10, !11, i64 7633}
!68 = !{!13, !13, i64 0}
!69 = !{!10, !13, i64 7552}
!70 = !{!10, !13, i64 7556}
!71 = !{!10, !11, i64 7628}
!72 = !{!10, !39, i64 7620}
!73 = !{!74, !6, i64 1024}
!74 = !{!"_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, !75, i64 272, !31, i64 600, !31, i64 616, !31, i64 632, !31, i64 648, !31, i64 664, !31, i64 680, !31, i64 696, !80, i64 712, !80, i64 716, !13, i64 720, !13, i64 724, !15, i64 728, !15, i64 732, !26, i64 736, !81, i64 752, !15, i64 768, !15, i64 772, !13, i64 776, !6, i64 784, !82, 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}
!75 = !{!"_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, !76, i64 56, !76, i64 60, !76, 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, !77, 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, !78, i64 248, !53, i64 264, !53, i64 280, !79, i64 296, !7, i64 312}
!76 = !{!"_ZTS6ImVec1", !15, i64 0}
!77 = !{!"_ZTS16ImGuiMenuColumns", !15, i64 0, !15, i64 4, !15, i64 8, !7, i64 12, !7, i64 24}
!78 = !{!"_ZTS8ImVectorIiE", !13, i64 0, !13, i64 4, !6, i64 8}
!79 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!80 = !{!"_ZTS8ImVec2ih", !16, i64 0, !16, i64 2}
!81 = !{!"_ZTS8ImVectorI12ImGuiColumnsE", !13, i64 0, !13, i64 4, !6, i64 8}
!82 = !{!"_ZTS10ImDrawList", !83, i64 0, !17, i64 16, !84, i64 32, !13, i64 48, !6, i64 56, !6, i64 64, !13, i64 72, !6, i64 80, !6, i64 88, !85, i64 96, !86, i64 112, !87, i64 128, !88, i64 144, !89, i64 200}
!83 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !13, i64 0, !13, i64 4, !6, i64 8}
!84 = !{!"_ZTS8ImVectorI10ImDrawVertE", !13, i64 0, !13, i64 4, !6, i64 8}
!85 = !{!"_ZTS8ImVectorI6ImVec4E", !13, i64 0, !13, i64 4, !6, i64 8}
!86 = !{!"_ZTS8ImVectorIPvE", !13, i64 0, !13, i64 4, !6, i64 8}
!87 = !{!"_ZTS8ImVectorI6ImVec2E", !13, i64 0, !13, i64 4, !6, i64 8}
!88 = !{!"_ZTS9ImDrawCmd", !23, i64 0, !6, i64 16, !13, i64 24, !13, i64 28, !13, i64 32, !6, i64 40, !6, i64 48}
!89 = !{!"_ZTS18ImDrawListSplitter", !13, i64 0, !13, i64 4, !90, i64 8}
!90 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !13, i64 0, !13, i64 4, !6, i64 8}
!91 = !{!74, !6, i64 1032}
!92 = !{!74, !6, i64 1120}
!93 = !{!10, !6, i64 7200}
!94 = !{!95, !6, i64 128}
!95 = !{!"_ZTS13ImGuiDockNode", !13, i64 0, !13, i64 4, !13, i64 8, !6, i64 16, !7, i64 24, !25, i64 40, !6, i64 56, !14, i64 64, !14, i64 72, !14, i64 80, !96, i64 88, !32, i64 92, !97, i64 120, !6, i64 128, !6, i64 136, !6, i64 144, !6, i64 152, !13, i64 160, !13, i64 164, !13, i64 168, !13, i64 172, !13, i64 176, !13, i64 180, !13, i64 184, !13, i64 184, !13, i64 184, !11, i64 185, !11, i64 185, !11, i64 185, !11, i64 185, !11, i64 185, !11, i64 185, !11, i64 185, !11, i64 186, !11, i64 186, !11, i64 186, !11, i64 186}
!96 = !{!"_ZTS9ImGuiAxis", !7, i64 0}
!97 = !{!"_ZTS18ImGuiDockNodeState", !7, i64 0}
!98 = !{!11, !11, i64 0}
!99 = !{!10, !13, i64 7152}
!100 = !{!10, !11, i64 7166}
!101 = !{!10, !13, i64 6944}
!102 = !{!74, !13, i64 724}
!103 = !{!95, !6, i64 56}
!104 = !{!74, !13, i64 8}
!105 = !{!106, !13, i64 24}
!106 = !{!"_ZTS11ImGuiTabBar", !107, i64 0, !13, i64 16, !13, i64 20, !13, i64 24, !13, i64 28, !13, i64 32, !13, i64 36, !31, i64 40, !15, i64 56, !15, i64 60, !15, i64 64, !15, i64 68, !15, i64 72, !15, i64 76, !15, i64 80, !15, i64 84, !13, i64 88, !13, i64 92, !7, i64 96, !11, i64 97, !11, i64 98, !16, i64 100, !14, i64 104, !59, i64 112}
!107 = !{!"_ZTS8ImVectorI12ImGuiTabItemE", !13, i64 0, !13, i64 4, !6, i64 8}
!108 = !{!106, !13, i64 20}
!109 = !{!74, !13, i64 12}


; 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.115 = external hidden unnamed_addr constant [49 x i8], align 1
@__PRETTY_FUNCTION__._ZN5ImGui11FocusWindowEP11ImGuiWindow = external hidden unnamed_addr constant [39 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: mustprogress nounwind uwtable
declare dso_local void @_ZN5ImGui13ClearActiveIDEv() local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN5ImGui11FocusWindowEP11ImGuiWindow(ptr noundef %0) local_unnamed_addr #2 {
  %2 = load ptr, ptr @GImGui, align 8, !tbaa !5
  %3 = getelementptr inbounds i8, ptr %2, i64 7544
  %4 = load ptr, ptr %3, align 8, !tbaa !9
  %.not = icmp eq ptr %4, %0
  br i1 %.not, label %23, label %5

5:                                                ; preds = %1
  store ptr %0, ptr %3, align 8, !tbaa !9
  %.not50 = icmp eq ptr %0, null
  br i1 %.not50, label %.critedge58, label %6

6:                                                ; preds = %5
  %7 = getelementptr inbounds i8, ptr %2, i64 7631
  %8 = load i8, ptr %7, align 1, !tbaa !63, !range !64, !noundef !65
  %9 = trunc nuw i8 %8 to i1
  br i1 %9, label %10, label %12

10:                                               ; preds = %6
  %11 = getelementptr inbounds i8, ptr %2, i64 7629
  store i8 1, ptr %11, align 1, !tbaa !66
  br label %12

12:                                               ; preds = %6, %10
  %13 = getelementptr inbounds i8, ptr %2, i64 7633
  store i8 0, ptr %13, align 1, !tbaa !67
  %14 = getelementptr inbounds i8, ptr %0, i64 1064
  %15 = load i32, ptr %14, align 8, !tbaa !68
  br label %17

.critedge58:                                      ; preds = %5
  %16 = getelementptr inbounds i8, ptr %2, i64 7633
  store i8 0, ptr %16, align 1, !tbaa !67
  br label %17

17:                                               ; preds = %.critedge58, %12
  %18 = phi i32 [ %15, %12 ], [ 0, %.critedge58 ]
  %19 = getelementptr inbounds i8, ptr %2, i64 7552
  store i32 %18, ptr %19, align 8, !tbaa !69
  %20 = getelementptr inbounds i8, ptr %2, i64 7556
  store i32 0, ptr %20, align 4, !tbaa !70
  %21 = getelementptr inbounds i8, ptr %2, i64 7628
  store i8 0, ptr %21, align 4, !tbaa !71
  %22 = getelementptr inbounds i8, ptr %2, i64 7620
  store i32 0, ptr %22, align 4, !tbaa !72
  br label %23

23:                                               ; preds = %17, %1
  tail call void @_ZN5ImGui21ClosePopupsOverWindowEP11ImGuiWindowb(ptr noundef %0, i1 noundef zeroext false)
  %24 = icmp eq ptr %0, null
  br i1 %24, label %.thread60, label %27

.thread60:                                        ; preds = %23
  %25 = getelementptr inbounds i8, ptr %2, i64 7200
  %26 = load ptr, ptr %25, align 8, !tbaa !73
  br label %44

27:                                               ; preds = %23
  %28 = getelementptr inbounds i8, ptr %0, i64 1024
  %29 = load ptr, ptr %28, align 8, !tbaa !74
  %.not51 = icmp eq ptr %29, null
  br i1 %.not51, label %30, label %31

30:                                               ; preds = %27
  tail call void @__assert_fail(ptr noundef nonnull @.str.115, ptr noundef nonnull @.str.3, i32 noundef 6780, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5ImGui11FocusWindowEP11ImGuiWindow) #3
  unreachable

31:                                               ; preds = %27
  %32 = getelementptr inbounds i8, ptr %0, i64 1032
  %33 = load ptr, ptr %32, align 8, !tbaa !92
  %34 = getelementptr inbounds i8, ptr %0, i64 1120
  %35 = load ptr, ptr %34, align 8, !tbaa !93
  %36 = getelementptr inbounds i8, ptr %2, i64 7200
  %37 = load ptr, ptr %36, align 8, !tbaa !73
  %38 = icmp ne ptr %37, null
  %39 = icmp ne ptr %35, null
  %or.cond = select i1 %38, i1 %39, i1 false
  br i1 %or.cond, label %40, label %44

40:                                               ; preds = %31
  %41 = getelementptr inbounds i8, ptr %35, i64 128
  %42 = load ptr, ptr %41, align 8, !tbaa !94
  %43 = icmp eq ptr %42, %37
  br label %44

44:                                               ; preds = %.thread60, %40, %31
  %45 = phi i1 [ %39, %31 ], [ true, %40 ], [ false, %.thread60 ]
  %46 = phi ptr [ %37, %31 ], [ %37, %40 ], [ %26, %.thread60 ]
  %47 = phi ptr [ %35, %31 ], [ %35, %40 ], [ null, %.thread60 ]
  %48 = phi ptr [ %33, %31 ], [ %33, %40 ], [ null, %.thread60 ]
  %49 = phi ptr [ %29, %31 ], [ %29, %40 ], [ null, %.thread60 ]
  %50 = phi i1 [ false, %31 ], [ %43, %40 ], [ false, %.thread60 ]
  %51 = getelementptr inbounds i8, ptr %2, i64 7152
  %52 = load i32, ptr %51, align 8, !tbaa !98
  %.not53 = icmp eq i32 %52, 0
  %.not54 = icmp eq ptr %46, null
  %or.cond62 = select i1 %.not53, i1 true, i1 %.not54
  br i1 %or.cond62, label %61, label %53

53:                                               ; preds = %44
  %54 = getelementptr inbounds i8, ptr %46, i64 1032
  %55 = load ptr, ptr %54, align 8, !tbaa !92
  %.not55 = icmp eq ptr %55, %48
  br i1 %.not55, label %61, label %56

56:                                               ; preds = %53
  %57 = getelementptr inbounds i8, ptr %2, i64 7166
  %58 = load i8, ptr %57, align 2, !tbaa !99, !range !64, !noundef !65
  %59 = trunc nuw i8 %58 to i1
  %brmerge = select i1 %59, i1 true, i1 %50
  br i1 %brmerge, label %61, label %60

60:                                               ; preds = %56
  tail call void @_ZN5ImGui13ClearActiveIDEv()
  br label %61

61:                                               ; preds = %56, %60, %53, %44
  br i1 %24, label %86, label %62

62:                                               ; preds = %61
  %63 = getelementptr inbounds i8, ptr %2, i64 6944
  %64 = load i32, ptr %63, align 8, !tbaa !100
  %65 = getelementptr inbounds i8, ptr %0, i64 724
  store i32 %64, ptr %65, align 4, !tbaa !101
  br i1 %45, label %66, label %74

66:                                               ; preds = %62
  %67 = getelementptr inbounds i8, ptr %47, i64 56
  %68 = load ptr, ptr %67, align 8, !tbaa !102
  %.not56 = icmp eq ptr %68, null
  br i1 %.not56, label %74, label %69

69:                                               ; preds = %66
  %70 = getelementptr inbounds i8, ptr %0, i64 8
  %71 = load i32, ptr %70, align 8, !tbaa !103
  %72 = getelementptr inbounds i8, ptr %68, i64 24
  store i32 %71, ptr %72, align 8, !tbaa !104
  %73 = getelementptr inbounds i8, ptr %68, i64 20
  store i32 %71, ptr %73, align 4, !tbaa !107
  br label %74

74:                                               ; preds = %69, %66, %62
  tail call void @_ZN5ImGui23BringWindowToFocusFrontEP11ImGuiWindow(ptr noundef %48)
  %75 = getelementptr inbounds i8, ptr %0, i64 12
  %76 = load i32, ptr %75, align 4, !tbaa !108
  %77 = getelementptr inbounds i8, ptr %48, i64 12
  %78 = load i32, ptr %77, align 4, !tbaa !108
  %79 = or i32 %78, %76
  %80 = getelementptr inbounds i8, ptr %49, i64 12
  %81 = load i32, ptr %80, align 4, !tbaa !108
  %82 = or i32 %79, %81
  %83 = and i32 %82, 8192
  %84 = icmp eq i32 %83, 0
  br i1 %84, label %85, label %86

85:                                               ; preds = %74
  tail call void @_ZN5ImGui25BringWindowToDisplayFrontEP11ImGuiWindow(ptr noundef nonnull %49)
  br label %86

86:                                               ; preds = %74, %85, %61
  ret void
}

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui23BringWindowToFocusFrontEP11ImGuiWindow(ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui25BringWindowToDisplayFrontEP11ImGuiWindow(ptr noundef) local_unnamed_addr #2

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 = { 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 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 7544}
!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 = !{!10, !11, i64 7631}
!64 = !{i8 0, i8 2}
!65 = !{}
!66 = !{!10, !11, i64 7629}
!67 = !{!10, !11, i64 7633}
!68 = !{!13, !13, i64 0}
!69 = !{!10, !13, i64 7552}
!70 = !{!10, !13, i64 7556}
!71 = !{!10, !11, i64 7628}
!72 = !{!10, !39, i64 7620}
!73 = !{!10, !6, i64 7200}
!74 = !{!75, !6, i64 1024}
!75 = !{!"_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, !76, i64 272, !31, i64 600, !31, i64 616, !31, i64 632, !31, i64 648, !31, i64 664, !31, i64 680, !31, i64 696, !81, i64 712, !81, i64 716, !13, i64 720, !13, i64 724, !15, i64 728, !15, i64 732, !26, i64 736, !82, i64 752, !15, i64 768, !15, i64 772, !13, i64 776, !6, i64 784, !83, 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}
!76 = !{!"_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, !77, i64 56, !77, i64 60, !77, 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, !78, 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, !79, i64 248, !53, i64 264, !53, i64 280, !80, i64 296, !7, i64 312}
!77 = !{!"_ZTS6ImVec1", !15, i64 0}
!78 = !{!"_ZTS16ImGuiMenuColumns", !15, i64 0, !15, i64 4, !15, i64 8, !7, i64 12, !7, i64 24}
!79 = !{!"_ZTS8ImVectorIiE", !13, i64 0, !13, i64 4, !6, i64 8}
!80 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!81 = !{!"_ZTS8ImVec2ih", !16, i64 0, !16, i64 2}
!82 = !{!"_ZTS8ImVectorI12ImGuiColumnsE", !13, i64 0, !13, i64 4, !6, i64 8}
!83 = !{!"_ZTS10ImDrawList", !84, i64 0, !17, i64 16, !85, i64 32, !13, i64 48, !6, i64 56, !6, i64 64, !13, i64 72, !6, i64 80, !6, i64 88, !86, i64 96, !87, i64 112, !88, i64 128, !89, i64 144, !90, i64 200}
!84 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !13, i64 0, !13, i64 4, !6, i64 8}
!85 = !{!"_ZTS8ImVectorI10ImDrawVertE", !13, i64 0, !13, i64 4, !6, i64 8}
!86 = !{!"_ZTS8ImVectorI6ImVec4E", !13, i64 0, !13, i64 4, !6, i64 8}
!87 = !{!"_ZTS8ImVectorIPvE", !13, i64 0, !13, i64 4, !6, i64 8}
!88 = !{!"_ZTS8ImVectorI6ImVec2E", !13, i64 0, !13, i64 4, !6, i64 8}
!89 = !{!"_ZTS9ImDrawCmd", !23, i64 0, !6, i64 16, !13, i64 24, !13, i64 28, !13, i64 32, !6, i64 40, !6, i64 48}
!90 = !{!"_ZTS18ImDrawListSplitter", !13, i64 0, !13, i64 4, !91, i64 8}
!91 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !13, i64 0, !13, i64 4, !6, i64 8}
!92 = !{!75, !6, i64 1032}
!93 = !{!75, !6, i64 1120}
!94 = !{!95, !6, i64 128}
!95 = !{!"_ZTS13ImGuiDockNode", !13, i64 0, !13, i64 4, !13, i64 8, !6, i64 16, !7, i64 24, !25, i64 40, !6, i64 56, !14, i64 64, !14, i64 72, !14, i64 80, !96, i64 88, !32, i64 92, !97, i64 120, !6, i64 128, !6, i64 136, !6, i64 144, !6, i64 152, !13, i64 160, !13, i64 164, !13, i64 168, !13, i64 172, !13, i64 176, !13, i64 180, !13, i64 184, !13, i64 184, !13, i64 184, !11, i64 185, !11, i64 185, !11, i64 185, !11, i64 185, !11, i64 185, !11, i64 185, !11, i64 185, !11, i64 186, !11, i64 186, !11, i64 186, !11, i64 186}
!96 = !{!"_ZTS9ImGuiAxis", !7, i64 0}
!97 = !{!"_ZTS18ImGuiDockNodeState", !7, i64 0}
!98 = !{!10, !13, i64 7152}
!99 = !{!10, !11, i64 7166}
!100 = !{!10, !13, i64 6944}
!101 = !{!75, !13, i64 724}
!102 = !{!95, !6, i64 56}
!103 = !{!75, !13, i64 8}
!104 = !{!105, !13, i64 24}
!105 = !{!"_ZTS11ImGuiTabBar", !106, i64 0, !13, i64 16, !13, i64 20, !13, i64 24, !13, i64 28, !13, i64 32, !13, i64 36, !31, i64 40, !15, i64 56, !15, i64 60, !15, i64 64, !15, i64 68, !15, i64 72, !15, i64 76, !15, i64 80, !15, i64 84, !13, i64 88, !13, i64 92, !7, i64 96, !11, i64 97, !11, i64 98, !16, i64 100, !14, i64 104, !59, i64 112}
!106 = !{!"_ZTS8ImVectorI12ImGuiTabItemE", !13, i64 0, !13, i64 4, !6, i64 8}
!107 = !{!105, !13, i64 20}
!108 = !{!75, !13, i64 12}


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