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

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

@GImGui = external dso_local global ptr, align 8

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN5ImGui13ClearActiveIDEv() #1

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN5ImGui21FocusableItemRegisterEP11ImGuiWindowj(ptr noundef %0, i32 noundef %1) #2 {
  %3 = alloca i1, align 1
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca ptr, align 8
  %7 = alloca i8, align 1
  %8 = alloca i32, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store i32 %1, ptr %5, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #4
  %9 = load ptr, ptr @GImGui, align 8, !tbaa !5
  store ptr %9, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %7) #4
  %10 = load ptr, ptr %4, align 8, !tbaa !5
  %11 = getelementptr inbounds %struct.ImGuiWindow, ptr %10, i32 0, i32 53
  %12 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %11, i32 0, i32 37
  %13 = load i32, ptr %12, align 4, !tbaa !11
  %14 = and i32 %13, 5
  %15 = icmp eq i32 %14, 0
  %16 = zext i1 %15 to i8
  store i8 %16, ptr %7, align 1, !tbaa !41
  %17 = load ptr, ptr %4, align 8, !tbaa !5
  %18 = getelementptr inbounds %struct.ImGuiWindow, ptr %17, i32 0, i32 53
  %19 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %18, i32 0, i32 35
  %20 = load i32, ptr %19, align 4, !tbaa !42
  %21 = add nsw i32 %20, 1
  store i32 %21, ptr %19, align 4, !tbaa !42
  %22 = load i8, ptr %7, align 1, !tbaa !41, !range !43, !noundef !44
  %23 = trunc i8 %22 to i1
  br i1 %23, label %24, label %30

24:                                               ; preds = %2
  %25 = load ptr, ptr %4, align 8, !tbaa !5
  %26 = getelementptr inbounds %struct.ImGuiWindow, ptr %25, i32 0, i32 53
  %27 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %26, i32 0, i32 36
  %28 = load i32, ptr %27, align 8, !tbaa !45
  %29 = add nsw i32 %28, 1
  store i32 %29, ptr %27, align 8, !tbaa !45
  br label %30

30:                                               ; preds = %24, %2
  %31 = load ptr, ptr %6, align 8, !tbaa !5
  %32 = getelementptr inbounds %struct.ImGuiContext, ptr %31, i32 0, i32 45
  %33 = load i32, ptr %32, align 8, !tbaa !46
  %34 = load i32, ptr %5, align 4, !tbaa !9
  %35 = icmp eq i32 %33, %34
  br i1 %35, label %36, label %72

36:                                               ; preds = %30
  %37 = load ptr, ptr %6, align 8, !tbaa !5
  %38 = getelementptr inbounds %struct.ImGuiContext, ptr %37, i32 0, i32 137
  %39 = load i8, ptr %38, align 8, !tbaa !87, !range !43, !noundef !44
  %40 = trunc i8 %39 to i1
  br i1 %40, label %41, label %72

41:                                               ; preds = %36
  %42 = call noundef zeroext i1 @_ZN5ImGui18IsActiveIdUsingKeyEi(i32 noundef 0)
  br i1 %42, label %72, label %43

43:                                               ; preds = %41
  %44 = load ptr, ptr %6, align 8, !tbaa !5
  %45 = getelementptr inbounds %struct.ImGuiContext, ptr %44, i32 0, i32 132
  %46 = load ptr, ptr %45, align 8, !tbaa !88
  %47 = icmp eq ptr %46, null
  br i1 %47, label %48, label %72

48:                                               ; preds = %43
  %49 = load ptr, ptr %4, align 8, !tbaa !5
  %50 = load ptr, ptr %6, align 8, !tbaa !5
  %51 = getelementptr inbounds %struct.ImGuiContext, ptr %50, i32 0, i32 132
  store ptr %49, ptr %51, align 8, !tbaa !88
  %52 = load ptr, ptr %4, align 8, !tbaa !5
  %53 = getelementptr inbounds %struct.ImGuiWindow, ptr %52, i32 0, i32 53
  %54 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %53, i32 0, i32 36
  %55 = load i32, ptr %54, align 8, !tbaa !45
  %56 = load ptr, ptr %6, align 8, !tbaa !5
  %57 = getelementptr inbounds %struct.ImGuiContext, ptr %56, i32 0, i32 3
  %58 = getelementptr inbounds %struct.ImGuiIO, ptr %57, i32 0, i32 41
  %59 = load i8, ptr %58, align 1, !tbaa !89, !range !43, !noundef !44
  %60 = trunc i8 %59 to i1
  br i1 %60, label %61, label %66

61:                                               ; preds = %48
  %62 = load i8, ptr %7, align 1, !tbaa !41, !range !43, !noundef !44
  %63 = trunc i8 %62 to i1
  %64 = zext i1 %63 to i64
  %65 = select i1 %63, i32 -1, i32 0
  br label %67

66:                                               ; preds = %48
  br label %67

67:                                               ; preds = %66, %61
  %68 = phi i32 [ %65, %61 ], [ 1, %66 ]
  %69 = add nsw i32 %55, %68
  %70 = load ptr, ptr %6, align 8, !tbaa !5
  %71 = getelementptr inbounds %struct.ImGuiContext, ptr %70, i32 0, i32 136
  store i32 %69, ptr %71, align 4, !tbaa !90
  br label %72

72:                                               ; preds = %67, %43, %41, %36, %30
  %73 = load ptr, ptr %6, align 8, !tbaa !5
  %74 = getelementptr inbounds %struct.ImGuiContext, ptr %73, i32 0, i32 131
  %75 = load ptr, ptr %74, align 8, !tbaa !91
  %76 = load ptr, ptr %4, align 8, !tbaa !5
  %77 = icmp eq ptr %75, %76
  br i1 %77, label %78, label %112

78:                                               ; preds = %72
  %79 = load ptr, ptr %4, align 8, !tbaa !5
  %80 = getelementptr inbounds %struct.ImGuiWindow, ptr %79, i32 0, i32 53
  %81 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %80, i32 0, i32 35
  %82 = load i32, ptr %81, align 4, !tbaa !42
  %83 = load ptr, ptr %6, align 8, !tbaa !5
  %84 = getelementptr inbounds %struct.ImGuiContext, ptr %83, i32 0, i32 133
  %85 = load i32, ptr %84, align 8, !tbaa !92
  %86 = icmp eq i32 %82, %85
  br i1 %86, label %87, label %88

87:                                               ; preds = %78
  store i1 true, ptr %3, align 1
  store i32 1, ptr %8, align 4
  br label %113

88:                                               ; preds = %78
  %89 = load i8, ptr %7, align 1, !tbaa !41, !range !43, !noundef !44
  %90 = trunc i8 %89 to i1
  br i1 %90, label %91, label %104

91:                                               ; preds = %88
  %92 = load ptr, ptr %4, align 8, !tbaa !5
  %93 = getelementptr inbounds %struct.ImGuiWindow, ptr %92, i32 0, i32 53
  %94 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %93, i32 0, i32 36
  %95 = load i32, ptr %94, align 8, !tbaa !45
  %96 = load ptr, ptr %6, align 8, !tbaa !5
  %97 = getelementptr inbounds %struct.ImGuiContext, ptr %96, i32 0, i32 134
  %98 = load i32, ptr %97, align 4, !tbaa !93
  %99 = icmp eq i32 %95, %98
  br i1 %99, label %100, label %104

100:                                              ; preds = %91
  %101 = load i32, ptr %5, align 4, !tbaa !9
  %102 = load ptr, ptr %6, align 8, !tbaa !5
  %103 = getelementptr inbounds %struct.ImGuiContext, ptr %102, i32 0, i32 89
  store i32 %101, ptr %103, align 8, !tbaa !94
  store i1 true, ptr %3, align 1
  store i32 1, ptr %8, align 4
  br label %113

104:                                              ; preds = %91, %88
  %105 = load ptr, ptr %6, align 8, !tbaa !5
  %106 = getelementptr inbounds %struct.ImGuiContext, ptr %105, i32 0, i32 45
  %107 = load i32, ptr %106, align 8, !tbaa !46
  %108 = load i32, ptr %5, align 4, !tbaa !9
  %109 = icmp eq i32 %107, %108
  br i1 %109, label %110, label %111

110:                                              ; preds = %104
  call void @_ZN5ImGui13ClearActiveIDEv()
  br label %111

111:                                              ; preds = %110, %104
  br label %112

112:                                              ; preds = %111, %72
  store i1 false, ptr %3, align 1
  store i32 1, ptr %8, align 4
  br label %113

113:                                              ; preds = %112, %100, %87
  call void @llvm.lifetime.end.p0(i64 1, ptr %7) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #4
  %114 = load i1, ptr %3, align 1
  ret i1 %114
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN5ImGui18IsActiveIdUsingKeyEi(i32 noundef) #3

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { 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 #4 = { nounwind }

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

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


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

@GImGui = external dso_local local_unnamed_addr global ptr, align 8

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN5ImGui13ClearActiveIDEv() local_unnamed_addr #0

; Function Attrs: mustprogress nounwind uwtable
define dso_local noundef zeroext i1 @_ZN5ImGui21FocusableItemRegisterEP11ImGuiWindowj(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
  %3 = load ptr, ptr @GImGui, align 8, !tbaa !5
  %4 = getelementptr inbounds i8, ptr %0, i64 460
  %5 = load i32, ptr %4, align 4, !tbaa !9
  %6 = and i32 %5, 5
  %7 = icmp eq i32 %6, 0
  %8 = getelementptr inbounds i8, ptr %0, i64 452
  %9 = load i32, ptr %8, align 4, !tbaa !40
  %10 = add nsw i32 %9, 1
  store i32 %10, ptr %8, align 4, !tbaa !40
  br i1 %7, label %11, label %15

11:                                               ; preds = %2
  %12 = getelementptr inbounds i8, ptr %0, i64 456
  %13 = load i32, ptr %12, align 8, !tbaa !41
  %14 = add nsw i32 %13, 1
  store i32 %14, ptr %12, align 8, !tbaa !41
  br label %15

15:                                               ; preds = %11, %2
  %16 = getelementptr inbounds i8, ptr %3, i64 6960
  %17 = load i32, ptr %16, align 8, !tbaa !42
  %18 = icmp eq i32 %17, %1
  br i1 %18, label %19, label %38

19:                                               ; preds = %15
  %20 = getelementptr inbounds i8, ptr %3, i64 7688
  %21 = load i8, ptr %20, align 8, !tbaa !83, !range !84, !noundef !85
  %22 = trunc nuw i8 %21 to i1
  br i1 %22, label %23, label %38

23:                                               ; preds = %19
  %24 = tail call noundef zeroext i1 @_ZN5ImGui18IsActiveIdUsingKeyEi(i32 noundef 0)
  br i1 %24, label %38, label %25

25:                                               ; preds = %23
  %26 = getelementptr inbounds i8, ptr %3, i64 7664
  %27 = load ptr, ptr %26, align 8, !tbaa !86
  %28 = icmp eq ptr %27, null
  br i1 %28, label %29, label %38

29:                                               ; preds = %25
  store ptr %0, ptr %26, align 8, !tbaa !86
  %30 = getelementptr inbounds i8, ptr %0, i64 456
  %31 = load i32, ptr %30, align 8, !tbaa !41
  %32 = getelementptr inbounds i8, ptr %3, i64 321
  %33 = load i8, ptr %32, align 1, !tbaa !87, !range !84, !noundef !85
  %34 = trunc nuw i8 %33 to i1
  %35 = sext i1 %7 to i32
  %spec.select = select i1 %34, i32 %35, i32 1
  %36 = add nsw i32 %spec.select, %31
  %37 = getelementptr inbounds i8, ptr %3, i64 7684
  store i32 %36, ptr %37, align 4, !tbaa !88
  br label %38

38:                                               ; preds = %29, %25, %23, %19, %15
  %39 = getelementptr inbounds i8, ptr %3, i64 7656
  %40 = load ptr, ptr %39, align 8, !tbaa !89
  %41 = icmp eq ptr %40, %0
  br i1 %41, label %42, label %60

42:                                               ; preds = %38
  %43 = load i32, ptr %8, align 4, !tbaa !40
  %44 = getelementptr inbounds i8, ptr %3, i64 7672
  %45 = load i32, ptr %44, align 8, !tbaa !90
  %46 = icmp eq i32 %43, %45
  br i1 %46, label %60, label %47

47:                                               ; preds = %42
  br i1 %7, label %48, label %56

48:                                               ; preds = %47
  %49 = getelementptr inbounds i8, ptr %0, i64 456
  %50 = load i32, ptr %49, align 8, !tbaa !41
  %51 = getelementptr inbounds i8, ptr %3, i64 7676
  %52 = load i32, ptr %51, align 4, !tbaa !91
  %53 = icmp eq i32 %50, %52
  br i1 %53, label %54, label %56

54:                                               ; preds = %48
  %55 = getelementptr inbounds i8, ptr %3, i64 7344
  store i32 %1, ptr %55, align 8, !tbaa !92
  br label %60

56:                                               ; preds = %48, %47
  %57 = load i32, ptr %16, align 8, !tbaa !42
  %58 = icmp eq i32 %57, %1
  br i1 %58, label %59, label %60

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

60:                                               ; preds = %38, %59, %56, %42, %54
  %.0 = phi i1 [ true, %54 ], [ true, %42 ], [ false, %56 ], [ false, %59 ], [ false, %38 ]
  ret i1 %.0
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN5ImGui18IsActiveIdUsingKeyEi(i32 noundef) local_unnamed_addr #1

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

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


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