; LLVM IR from khushmmehta/Scorch-V :: src/vendor/imgui/imgui.ll (ZN5ImGui8SetNavIDEj13ImGuiNavLayerjRK6ImRect)

; 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, %struct.ImGuiIO, %struct.ImGuiPlatformIO, %struct.ImGuiStyle, i32, i32, ptr, float, float, %struct.ImDrawListSharedData, double, i32, i32, i32, i32, i8, i8, i8, i8, i8, ptr, %struct.ImVector.3, %struct.ImVector.3, i32, i32, %struct.ImVector.4, %struct.ImVector.4, %struct.ImVector.4, %struct.ImVector.5, %struct.ImGuiStorage, i32, %struct.ImVec2, ptr, ptr, ptr, ptr, ptr, %struct.ImVec2, i32, i32, float, %struct.ImVec2, %struct.ImVec2, i32, i32, i32, i8, i8, float, float, i32, i32, float, i8, i8, i8, i8, i8, i8, %struct.ImVec2, ptr, i32, i32, i32, i8, i8, ptr, i32, float, [154 x %struct.ImGuiKeyOwnerData], %struct.ImGuiKeyRoutingTable, i32, i8, i32, i32, i32, i32, %struct.ImGuiNextItemData, %struct.ImGuiLastItemData, %struct.ImGuiNextWindowData, i8, %struct.ImVector.8, %struct.ImVector.9, %struct.ImVector.10, %struct.ImVector.11, %struct.ImVector.12, %struct.ImVector.13, %struct.ImVector.14, %struct.ImVector.14, %struct.ImVector.15, i32, %struct.ImVector.16, float, ptr, ptr, ptr, i32, %struct.ImGuiPlatformMonitor, i32, i32, i32, ptr, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i64, i8, i8, i8, i8, i8, i8, i8, i8, %struct.ImGuiNavItemData, i8, i8, i8, i32, i32, i32, i32, i32, i32, %struct.ImRect, %struct.ImRect, i32, i32, i32, %struct.ImGuiNavItemData, %struct.ImGuiNavItemData, %struct.ImGuiNavItemData, %struct.ImGuiNavItemData, i32, i32, ptr, ptr, ptr, float, float, i8, %struct.ImVec2, %struct.ImVec2, float, i8, i8, i8, i32, i32, i32, %struct.ImGuiPayload, %struct.ImRect, i32, i32, float, i32, i32, i32, i32, %struct.ImVector.17, [16 x i8], i32, %struct.ImVector.18, ptr, i32, %struct.ImVector.19, %struct.ImPool, %struct.ImVector.21, %struct.ImVector.22, ptr, %struct.ImPool.23, %struct.ImVector.25, %struct.ImVector.26, i32, i32, float, float, i32, i32, i32, float, %struct.ImVec2, %struct.ImGuiInputTextState, %struct.ImGuiInputTextDeactivatedState, %struct.ImFont, i32, i32, i32, i32, float, float, i32, %struct.ImVec4, %struct.ImGuiComboPreviewData, %struct.ImRect, i8, float, float, i8, i8, float, float, float, float, i16, i16, i16, %struct.ImVector.27, %struct.ImVector.11, %struct.ImGuiTypingSelectState, %struct.ImGuiPlatformImeData, %struct.ImGuiPlatformImeData, i32, [4 x i8], %struct.ImGuiDockContext, ptr, i8, float, %struct.ImGuiTextBuffer, %struct.ImVector.31, %struct.ImChunkStream, %struct.ImChunkStream.32, %struct.ImVector.33, i32, [11 x ptr], i8, i32, ptr, %struct.ImGuiTextBuffer, ptr, ptr, float, i8, i32, i32, i32, i32, %struct.ImGuiTextBuffer, %struct.ImGuiTextIndex, i8, i8, i8, i8, i8, i32, %struct.ImGuiMetricsConfig, %struct.ImGuiIDStackTool, %struct.ImGuiDebugAllocInfo, ptr, [60 x float], i32, i32, float, i32, i32, i32, %struct.ImVector.27 }
%struct.ImGuiIO = type { i32, i32, %struct.ImVec2, float, float, ptr, ptr, ptr, ptr, float, i8, ptr, %struct.ImVec2, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, float, float, float, float, float, float, i8, i8, i8, i8, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i16, i8, i8, i8, i8, i8, i8, i8, float, i32, i32, i32, i32, %struct.ImVec2, [666 x i32], [666 x i8], [16 x float], ptr, ptr, %struct.ImVec2, [5 x i8], float, float, i32, i32, i8, i8, i8, i8, i32, [666 x %struct.ImGuiKeyData], i8, %struct.ImVec2, [5 x %struct.ImVec2], [5 x double], [5 x i8], [5 x i8], [5 x i16], [5 x i16], [5 x i8], [5 x i8], [5 x i8], i8, [5 x float], [5 x float], [5 x %struct.ImVec2], [5 x float], float, i8, i8, i8, i8, i16, %struct.ImVector }
%struct.ImGuiKeyData = type { i8, float, float, float }
%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, %struct.ImVector.0, %struct.ImVector.1 }
%struct.ImVector.0 = type { i32, i32, ptr }
%struct.ImVector.1 = type { i32, i32, ptr }
%struct.ImGuiStyle = type { float, float, %struct.ImVec2, float, float, %struct.ImVec2, %struct.ImVec2, i32, float, float, float, float, %struct.ImVec2, float, float, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, float, float, float, float, float, float, float, float, float, float, float, i32, %struct.ImVec2, %struct.ImVec2, float, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, float, i8, i8, i8, float, float, [55 x %struct.ImVec4], float, float, float, i32, i32 }
%struct.ImDrawListSharedData = type { %struct.ImVec2, ptr, float, float, float, %struct.ImVec4, i32, %struct.ImVector.2, [48 x %struct.ImVec2], float, [64 x i8], ptr }
%struct.ImVector.2 = type { i32, i32, ptr }
%struct.ImVector.3 = type { i32, i32, ptr }
%struct.ImVector.4 = type { i32, i32, ptr }
%struct.ImVector.5 = type { i32, i32, ptr }
%struct.ImGuiStorage = type { %struct.ImVector.6 }
%struct.ImVector.6 = type { i32, i32, ptr }
%struct.ImGuiKeyOwnerData = type <{ i32, i32, i8, i8, [2 x i8] }>
%struct.ImGuiKeyRoutingTable = type { [154 x i16], %struct.ImVector.7, %struct.ImVector.7 }
%struct.ImVector.7 = type { i32, i32, ptr }
%struct.ImGuiNextItemData = type <{ i32, i32, float, [4 x i8], i64, i32, i8, [3 x i8] }>
%struct.ImGuiLastItemData = type { i32, i32, i32, %struct.ImRect, %struct.ImRect, %struct.ImRect }
%struct.ImGuiNextWindowData = type { i32, i32, i32, i32, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, i32, 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.ImVector.8 = type { i32, i32, ptr }
%struct.ImVector.9 = type { i32, i32, ptr }
%struct.ImVector.10 = type { i32, i32, ptr }
%struct.ImVector.12 = type { i32, i32, ptr }
%struct.ImVector.13 = type { i32, i32, ptr }
%struct.ImVector.14 = type { i32, i32, ptr }
%struct.ImVector.15 = type { i32, i32, ptr }
%struct.ImVector.16 = type { i32, i32, ptr }
%struct.ImGuiPlatformMonitor = type { %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, ptr }
%struct.ImGuiNavItemData = type <{ ptr, i32, i32, %struct.ImRect, i32, [4 x i8], i64, float, float, float, [4 x i8] }>
%struct.ImGuiPayload = type <{ ptr, i32, i32, i32, i32, [33 x i8], i8, i8, [5 x i8] }>
%struct.ImVector.17 = type { i32, i32, ptr }
%struct.ImVector.18 = type { i32, i32, ptr }
%struct.ImVector.19 = type { i32, i32, ptr }
%struct.ImPool = type { %struct.ImVector.20, %struct.ImGuiStorage, i32, i32 }
%struct.ImVector.20 = type { i32, i32, ptr }
%struct.ImVector.21 = type { i32, i32, ptr }
%struct.ImVector.22 = type { i32, i32, ptr }
%struct.ImPool.23 = type { %struct.ImVector.24, %struct.ImGuiStorage, i32, i32 }
%struct.ImVector.24 = type { i32, i32, ptr }
%struct.ImVector.25 = type { i32, i32, ptr }
%struct.ImVector.26 = type { i32, i32, ptr }
%struct.ImVec2 = type { float, float }
%struct.ImGuiInputTextState = type <{ ptr, i32, i32, i32, [4 x i8], %struct.ImVector, %struct.ImVector.27, %struct.ImVector.27, i8, [3 x i8], i32, float, %"struct.ImStb::STB_TexteditState", float, i8, i8, i8, i8, i32, [4 x i8] }>
%"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.ImGuiInputTextDeactivatedState = type { i32, %struct.ImVector.27 }
%struct.ImFont = type <{ %struct.ImVector.21, float, float, %struct.ImVector, %struct.ImVector.28, ptr, ptr, ptr, i16, i16, i16, i16, float, float, i8, [3 x i8], float, float, float, i32, [2 x i8], [2 x i8] }>
%struct.ImVector.28 = type { i32, i32, ptr }
%struct.ImVec4 = type { float, float, float, float }
%struct.ImGuiComboPreviewData = type { %struct.ImRect, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, i32 }
%struct.ImRect = type { %struct.ImVec2, %struct.ImVec2 }
%struct.ImVector.11 = type { i32, i32, ptr }
%struct.ImGuiTypingSelectState = type <{ %struct.ImGuiTypingSelectRequest, [64 x i8], i32, i32, float, i8, [3 x i8] }>
%struct.ImGuiTypingSelectRequest = type { i32, i32, ptr, i8, i8, i8 }
%struct.ImGuiPlatformImeData = type { i8, %struct.ImVec2, float }
%struct.ImGuiDockContext = type <{ %struct.ImGuiStorage, %struct.ImVector.29, %struct.ImVector.30, i8, [7 x i8] }>
%struct.ImVector.29 = type { i32, i32, ptr }
%struct.ImVector.30 = type { i32, i32, ptr }
%struct.ImVector.31 = type { i32, i32, ptr }
%struct.ImChunkStream = type { %struct.ImVector.27 }
%struct.ImChunkStream.32 = type { %struct.ImVector.27 }
%struct.ImVector.33 = type { i32, i32, ptr }
%struct.ImGuiTextBuffer = type { %struct.ImVector.27 }
%struct.ImGuiTextIndex = type <{ %struct.ImVector.12, i32, [4 x i8] }>
%struct.ImGuiMetricsConfig = type { i8, i8, i8, i8, i8, i8, i8, i8, i8, i32, i32 }
%struct.ImGuiIDStackTool = type { i32, i32, i32, %struct.ImVector.34, i8, float }
%struct.ImVector.34 = type { i32, i32, ptr }
%struct.ImGuiDebugAllocInfo = type { i32, i32, i16, [6 x %struct.ImGuiDebugAllocEntry] }
%struct.ImGuiDebugAllocEntry = type { i32, i16, i16 }
%struct.ImVector.27 = type { i32, i32, ptr }
%struct.ImGuiWindow = type { ptr, ptr, i32, i32, i32, i32, %struct.ImGuiWindowClass, ptr, i32, %struct.ImVec2, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, float, float, float, float, float, float, float, i32, 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, i8, i8, i16, i16, i16, i16, i16, i32, i8, i8, i8, i32, i8, i8, i8, i8, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVector.11, %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.37, float, float, i32, ptr, %struct.ImDrawList, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, [2 x i32], [2 x %struct.ImRect], [2 x %struct.ImVec2], i32, i32, i32, i8, i8, i16, %struct.ImGuiWindowDockStyle, ptr, ptr, i32, i32, %struct.ImRect }
%struct.ImGuiWindowTempData = type { %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, float, i8, i8, %struct.ImVec1, %struct.ImVec1, %struct.ImVec1, %struct.ImVec2, i32, i16, i16, i8, i8, i8, i8, %struct.ImVec2, %struct.ImGuiMenuColumns, i32, i32, %struct.ImVector.4, ptr, ptr, i32, i32, i32, float, float, %struct.ImVector.21, %struct.ImVector.21 }
%struct.ImVec1 = type { float }
%struct.ImGuiMenuColumns = type <{ i32, i32, i16, i16, i16, i16, i16, [4 x i16], [2 x i8] }>
%struct.ImVec2ih = type { i16, i16 }
%struct.ImVector.37 = type { i32, i32, ptr }
%struct.ImDrawList = type <{ %struct.ImVector.38, %struct.ImVector, %struct.ImVector.39, i32, i32, ptr, ptr, ptr, ptr, %struct.ImVector.40, %struct.ImVector.41, %struct.ImVector.2, %struct.ImDrawCmdHeader, %struct.ImDrawListSplitter, float, [4 x i8] }>
%struct.ImVector.38 = type { i32, i32, ptr }
%struct.ImVector.39 = type { i32, i32, ptr }
%struct.ImVector.40 = type { i32, i32, ptr }
%struct.ImVector.41 = type { i32, i32, ptr }
%struct.ImDrawCmdHeader = type <{ %struct.ImVec4, ptr, i32, [4 x i8] }>
%struct.ImDrawListSplitter = type { i32, i32, %struct.ImVector.22 }
%struct.ImGuiWindowDockStyle = type { [6 x i32] }

@GImGui = external dso_local global ptr, align 8
@.str.3 = external hidden unnamed_addr constant [81 x i8], align 1
@.str.285 = external hidden unnamed_addr constant [22 x i8], align 1
@__PRETTY_FUNCTION__._ZN5ImGui8SetNavIDEj13ImGuiNavLayerjRK6ImRect = external hidden unnamed_addr constant [70 x i8], align 1
@.str.286 = external hidden unnamed_addr constant [67 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 nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui27NavClearPreferredPosForAxisE9ImGuiAxis(i32 noundef) #3

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

15:                                               ; preds = %4
  br label %18

16:                                               ; preds = %4
  call void @__assert_fail(ptr noundef @.str.285, ptr noundef @.str.3, i32 noundef 11695, ptr noundef @__PRETTY_FUNCTION__._ZN5ImGui8SetNavIDEj13ImGuiNavLayerjRK6ImRect) #5
  unreachable

17:                                               ; No predecessors!
  br label %18

18:                                               ; preds = %17, %15
  %19 = load i32, ptr %6, align 4, !tbaa !9
  %20 = icmp eq i32 %19, 0
  br i1 %20, label %24, label %21

21:                                               ; preds = %18
  %22 = load i32, ptr %6, align 4, !tbaa !9
  %23 = icmp eq i32 %22, 1
  br label %24

24:                                               ; preds = %21, %18
  %25 = phi i1 [ true, %18 ], [ %23, %21 ]
  br i1 %25, label %26, label %27

26:                                               ; preds = %24
  br label %29

27:                                               ; preds = %24
  call void @__assert_fail(ptr noundef @.str.286, ptr noundef @.str.3, i32 noundef 11696, ptr noundef @__PRETTY_FUNCTION__._ZN5ImGui8SetNavIDEj13ImGuiNavLayerjRK6ImRect) #5
  unreachable

28:                                               ; No predecessors!
  br label %29

29:                                               ; preds = %28, %26
  %30 = load i32, ptr %5, align 4, !tbaa !5
  %31 = load ptr, ptr %9, align 8, !tbaa !11
  %32 = getelementptr inbounds %struct.ImGuiContext, ptr %31, i32 0, i32 103
  store i32 %30, ptr %32, align 8, !tbaa !92
  %33 = load i32, ptr %6, align 4, !tbaa !9
  %34 = load ptr, ptr %9, align 8, !tbaa !11
  %35 = getelementptr inbounds %struct.ImGuiContext, ptr %34, i32 0, i32 115
  store i32 %33, ptr %35, align 8, !tbaa !93
  %36 = load i32, ptr %7, align 4, !tbaa !5
  %37 = load ptr, ptr %9, align 8, !tbaa !11
  %38 = getelementptr inbounds %struct.ImGuiContext, ptr %37, i32 0, i32 104
  store i32 %36, ptr %38, align 4, !tbaa !94
  %39 = load i32, ptr %5, align 4, !tbaa !5
  %40 = load ptr, ptr %9, align 8, !tbaa !11
  %41 = getelementptr inbounds %struct.ImGuiContext, ptr %40, i32 0, i32 102
  %42 = load ptr, ptr %41, align 8, !tbaa !13
  %43 = getelementptr inbounds %struct.ImGuiWindow, ptr %42, i32 0, i32 99
  %44 = load i32, ptr %6, align 4, !tbaa !9
  %45 = zext i32 %44 to i64
  %46 = getelementptr inbounds [2 x i32], ptr %43, i64 0, i64 %45
  store i32 %39, ptr %46, align 4, !tbaa !5
  %47 = load ptr, ptr %8, align 8, !tbaa !11
  %48 = load ptr, ptr %9, align 8, !tbaa !11
  %49 = getelementptr inbounds %struct.ImGuiContext, ptr %48, i32 0, i32 102
  %50 = load ptr, ptr %49, align 8, !tbaa !13
  %51 = getelementptr inbounds %struct.ImGuiWindow, ptr %50, i32 0, i32 100
  %52 = load i32, ptr %6, align 4, !tbaa !9
  %53 = zext i32 %52 to i64
  %54 = getelementptr inbounds [2 x %struct.ImRect], ptr %51, i64 0, i64 %53
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %54, ptr align 4 %47, i64 16, i1 false), !tbaa.struct !95
  call void @_ZN5ImGui27NavClearPreferredPosForAxisE9ImGuiAxis(i32 noundef 0)
  call void @_ZN5ImGui27NavClearPreferredPosForAxisE9ImGuiAxis(i32 noundef 1)
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #4
  ret void
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"_ZTS13ImGuiNavLayer", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"any pointer", !7, i64 0}
!13 = !{!14, !12, i64 19624}
!14 = !{!"_ZTS12ImGuiContext", !15, i64 0, !15, i64 1, !16, i64 8, !22, i64 14632, !25, i64 14848, !6, i64 15980, !6, i64 15984, !12, i64 15992, !18, i64 16000, !18, i64 16004, !26, i64 16008, !29, i64 16536, !6, i64 16544, !6, i64 16548, !6, i64 16552, !6, i64 16556, !15, i64 16560, !15, i64 16561, !15, i64 16562, !15, i64 16563, !15, i64 16564, !12, i64 16568, !30, i64 16576, !30, i64 16592, !20, i64 16608, !6, i64 16612, !31, i64 16616, !31, i64 16632, !31, i64 16648, !32, i64 16664, !33, i64 16680, !6, i64 16696, !17, i64 16700, !12, i64 16712, !12, i64 16720, !12, i64 16728, !12, i64 16736, !12, i64 16744, !17, i64 16752, !6, i64 16760, !6, i64 16764, !18, i64 16768, !17, i64 16772, !17, i64 16780, !6, i64 16788, !6, i64 16792, !6, i64 16796, !15, i64 16800, !15, i64 16801, !18, i64 16804, !18, i64 16808, !6, i64 16812, !6, i64 16816, !18, i64 16820, !15, i64 16824, !15, i64 16825, !15, i64 16826, !15, i64 16827, !15, i64 16828, !15, i64 16829, !17, i64 16832, !12, i64 16840, !35, i64 16848, !6, i64 16852, !6, i64 16856, !15, i64 16860, !15, i64 16861, !12, i64 16864, !6, i64 16872, !18, i64 16876, !7, i64 16880, !36, i64 18728, !6, i64 19072, !15, i64 19076, !6, i64 19080, !6, i64 19084, !6, i64 19088, !6, i64 19092, !38, i64 19096, !40, i64 19128, !42, i64 19192, !15, i64 19344, !44, i64 19352, !45, i64 19368, !46, i64 19384, !47, i64 19400, !48, i64 19416, !49, i64 19432, !50, i64 19448, !50, i64 19464, !51, i64 19480, !6, i64 19496, !52, i64 19504, !18, i64 19520, !12, i64 19528, !12, i64 19536, !12, i64 19544, !6, i64 19552, !53, i64 19560, !6, i64 19608, !6, i64 19612, !6, i64 19616, !12, i64 19624, !6, i64 19632, !6, i64 19636, !6, i64 19640, !6, i64 19644, !6, i64 19648, !6, i64 19652, !6, i64 19656, !6, i64 19660, !6, i64 19664, !6, i64 19668, !6, i64 19672, !35, i64 19676, !10, i64 19680, !39, i64 19688, !15, i64 19696, !15, i64 19697, !15, i64 19698, !15, i64 19699, !15, i64 19700, !15, i64 19701, !15, i64 19702, !54, i64 19704, !15, i64 19768, !15, i64 19769, !15, i64 19770, !6, i64 19772, !6, i64 19776, !6, i64 19780, !6, i64 19784, !6, i64 19788, !6, i64 19792, !41, i64 19796, !41, i64 19812, !6, i64 19828, !6, i64 19832, !6, i64 19836, !54, i64 19840, !54, i64 19904, !54, i64 19968, !54, i64 20032, !6, i64 20096, !6, i64 20100, !12, i64 20104, !12, i64 20112, !12, i64 20120, !18, i64 20128, !18, i64 20132, !15, i64 20136, !17, i64 20140, !17, i64 20148, !18, i64 20156, !15, i64 20160, !15, i64 20161, !15, i64 20162, !6, i64 20164, !6, i64 20168, !6, i64 20172, !55, i64 20176, !41, i64 20240, !6, i64 20256, !6, i64 20260, !18, i64 20264, !6, i64 20268, !6, i64 20272, !6, i64 20276, !6, i64 20280, !56, i64 20288, !7, i64 20304, !6, i64 20320, !57, i64 20328, !12, i64 20344, !6, i64 20352, !58, i64 20360, !59, i64 20376, !61, i64 20416, !62, i64 20432, !12, i64 20448, !63, i64 20456, !65, i64 20496, !66, i64 20512, !6, i64 20528, !6, i64 20532, !18, i64 20536, !18, i64 20540, !6, i64 20544, !6, i64 20548, !6, i64 20552, !18, i64 20556, !17, i64 20560, !67, i64 20568, !71, i64 24296, !72, i64 24320, !6, i64 24440, !6, i64 24444, !6, i64 24448, !6, i64 24452, !18, i64 24456, !18, i64 24460, !6, i64 24464, !27, i64 24468, !74, i64 24484, !41, i64 24532, !15, i64 24548, !18, i64 24552, !18, i64 24556, !15, i64 24560, !15, i64 24561, !18, i64 24564, !18, i64 24568, !18, i64 24572, !18, i64 24576, !19, i64 24580, !19, i64 24582, !19, i64 24584, !68, i64 24592, !47, i64 24608, !75, i64 24624, !77, i64 24728, !77, i64 24744, !6, i64 24760, !78, i64 24768, !12, i64 24824, !15, i64 24832, !18, i64 24836, !81, i64 24840, !82, i64 24856, !83, i64 24872, !84, i64 24888, !85, i64 24904, !6, i64 24920, !7, i64 24928, !15, i64 25016, !86, i64 25020, !12, i64 25024, !81, i64 25032, !12, i64 25048, !12, i64 25056, !18, i64 25064, !15, i64 25068, !6, i64 25072, !6, i64 25076, !6, i64 25080, !6, i64 25084, !81, i64 25088, !87, i64 25104, !7, i64 25128, !7, i64 25129, !7, i64 25130, !15, i64 25131, !7, i64 25132, !6, i64 25136, !88, i64 25140, !89, i64 25160, !91, i64 25200, !12, i64 25264, !7, i64 25272, !6, i64 25512, !6, i64 25516, !18, i64 25520, !6, i64 25524, !6, i64 25528, !6, i64 25532, !68, i64 25536}
!15 = !{!"bool", !7, i64 0}
!16 = !{!"_ZTS7ImGuiIO", !6, i64 0, !6, i64 4, !17, i64 8, !18, i64 16, !18, i64 20, !12, i64 24, !12, i64 32, !12, i64 40, !12, i64 48, !18, i64 56, !15, i64 60, !12, i64 64, !17, i64 72, !15, i64 80, !15, i64 81, !15, i64 82, !15, i64 83, !15, i64 84, !15, i64 85, !15, i64 86, !15, i64 87, !15, i64 88, !15, i64 89, !15, i64 90, !15, i64 91, !15, i64 92, !15, i64 93, !15, i64 94, !15, i64 95, !18, i64 96, !18, i64 100, !18, i64 104, !18, i64 108, !18, i64 112, !18, i64 116, !15, i64 120, !15, i64 121, !15, i64 122, !15, i64 123, !12, i64 128, !12, i64 136, !12, i64 144, !12, i64 152, !12, i64 160, !12, i64 168, !12, i64 176, !12, i64 184, !12, i64 192, !19, i64 200, !15, i64 202, !15, i64 203, !15, i64 204, !15, i64 205, !15, i64 206, !15, i64 207, !15, i64 208, !18, i64 212, !6, i64 216, !6, i64 220, !6, i64 224, !6, i64 228, !17, i64 232, !7, i64 240, !7, i64 2904, !7, i64 3572, !12, i64 3640, !12, i64 3648, !17, i64 3656, !7, i64 3664, !18, i64 3672, !18, i64 3676, !20, i64 3680, !6, i64 3684, !15, i64 3688, !15, i64 3689, !15, i64 3690, !15, i64 3691, !6, i64 3692, !7, i64 3696, !15, i64 14352, !17, i64 14356, !7, i64 14364, !7, i64 14408, !7, i64 14448, !7, i64 14453, !7, i64 14458, !7, i64 14468, !7, i64 14478, !7, i64 14483, !7, i64 14488, !15, i64 14493, !7, i64 14496, !7, i64 14516, !7, i64 14536, !7, i64 14576, !18, i64 14596, !15, i64 14600, !15, i64 14601, !7, i64 14602, !15, i64 14603, !19, i64 14604, !21, i64 14608}
!17 = !{!"_ZTS6ImVec2", !18, i64 0, !18, i64 4}
!18 = !{!"float", !7, i64 0}
!19 = !{!"short", !7, i64 0}
!20 = !{!"_ZTS16ImGuiMouseSource", !7, i64 0}
!21 = !{!"_ZTS8ImVectorItE", !6, i64 0, !6, i64 4, !12, i64 8}
!22 = !{!"_ZTS15ImGuiPlatformIO", !12, i64 0, !12, i64 8, !12, i64 16, !12, i64 24, !12, i64 32, !12, i64 40, !12, i64 48, !12, i64 56, !12, i64 64, !12, i64 72, !12, i64 80, !12, i64 88, !12, i64 96, !12, i64 104, !12, i64 112, !12, i64 120, !12, i64 128, !12, i64 136, !12, i64 144, !12, i64 152, !12, i64 160, !12, i64 168, !12, i64 176, !23, i64 184, !24, i64 200}
!23 = !{!"_ZTS8ImVectorI20ImGuiPlatformMonitorE", !6, i64 0, !6, i64 4, !12, i64 8}
!24 = !{!"_ZTS8ImVectorIP13ImGuiViewportE", !6, i64 0, !6, i64 4, !12, i64 8}
!25 = !{!"_ZTS10ImGuiStyle", !18, i64 0, !18, i64 4, !17, i64 8, !18, i64 16, !18, i64 20, !17, i64 24, !17, i64 32, !6, i64 40, !18, i64 44, !18, i64 48, !18, i64 52, !18, i64 56, !17, i64 60, !18, i64 68, !18, i64 72, !17, i64 76, !17, i64 84, !17, i64 92, !17, i64 100, !18, i64 108, !18, i64 112, !18, i64 116, !18, i64 120, !18, i64 124, !18, i64 128, !18, i64 132, !18, i64 136, !18, i64 140, !18, i64 144, !18, i64 148, !18, i64 152, !6, i64 156, !17, i64 160, !17, i64 168, !18, i64 176, !17, i64 180, !17, i64 188, !17, i64 196, !17, i64 204, !18, i64 212, !18, i64 216, !15, i64 220, !15, i64 221, !15, i64 222, !18, i64 224, !18, i64 228, !7, i64 232, !18, i64 1112, !18, i64 1116, !18, i64 1120, !6, i64 1124, !6, i64 1128}
!26 = !{!"_ZTS20ImDrawListSharedData", !17, i64 0, !12, i64 8, !18, i64 16, !18, i64 20, !18, i64 24, !27, i64 28, !6, i64 44, !28, i64 48, !7, i64 64, !18, i64 448, !7, i64 452, !12, i64 520}
!27 = !{!"_ZTS6ImVec4", !18, i64 0, !18, i64 4, !18, i64 8, !18, i64 12}
!28 = !{!"_ZTS8ImVectorI6ImVec2E", !6, i64 0, !6, i64 4, !12, i64 8}
!29 = !{!"double", !7, i64 0}
!30 = !{!"_ZTS8ImVectorI15ImGuiInputEventE", !6, i64 0, !6, i64 4, !12, i64 8}
!31 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !6, i64 0, !6, i64 4, !12, i64 8}
!32 = !{!"_ZTS8ImVectorI20ImGuiWindowStackDataE", !6, i64 0, !6, i64 4, !12, i64 8}
!33 = !{!"_ZTS12ImGuiStorage", !34, i64 0}
!34 = !{!"_ZTS8ImVectorIN12ImGuiStorage16ImGuiStoragePairEE", !6, i64 0, !6, i64 4, !12, i64 8}
!35 = !{!"_ZTS16ImGuiInputSource", !7, i64 0}
!36 = !{!"_ZTS20ImGuiKeyRoutingTable", !7, i64 0, !37, i64 312, !37, i64 328}
!37 = !{!"_ZTS8ImVectorI19ImGuiKeyRoutingDataE", !6, i64 0, !6, i64 4, !12, i64 8}
!38 = !{!"_ZTS17ImGuiNextItemData", !6, i64 0, !6, i64 4, !18, i64 8, !39, i64 16, !6, i64 24, !15, i64 28}
!39 = !{!"long long", !7, i64 0}
!40 = !{!"_ZTS17ImGuiLastItemData", !6, i64 0, !6, i64 4, !6, i64 8, !41, i64 12, !41, i64 28, !41, i64 44}
!41 = !{!"_ZTS6ImRect", !17, i64 0, !17, i64 8}
!42 = !{!"_ZTS19ImGuiNextWindowData", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12, !6, i64 16, !17, i64 20, !17, i64 28, !17, i64 36, !17, i64 44, !17, i64 52, !6, i64 60, !15, i64 64, !15, i64 65, !41, i64 68, !12, i64 88, !12, i64 96, !18, i64 104, !6, i64 108, !6, i64 112, !43, i64 116, !17, i64 144}
!43 = !{!"_ZTS16ImGuiWindowClass", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12, !6, i64 16, !6, i64 20, !15, i64 24, !15, i64 25}
!44 = !{!"_ZTS8ImVectorI13ImGuiColorModE", !6, i64 0, !6, i64 4, !12, i64 8}
!45 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !6, i64 0, !6, i64 4, !12, i64 8}
!46 = !{!"_ZTS8ImVectorIP6ImFontE", !6, i64 0, !6, i64 4, !12, i64 8}
!47 = !{!"_ZTS8ImVectorIjE", !6, i64 0, !6, i64 4, !12, i64 8}
!48 = !{!"_ZTS8ImVectorIiE", !6, i64 0, !6, i64 4, !12, i64 8}
!49 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !6, i64 0, !6, i64 4, !12, i64 8}
!50 = !{!"_ZTS8ImVectorI14ImGuiPopupDataE", !6, i64 0, !6, i64 4, !12, i64 8}
!51 = !{!"_ZTS8ImVectorI20ImGuiNavTreeNodeDataE", !6, i64 0, !6, i64 4, !12, i64 8}
!52 = !{!"_ZTS8ImVectorIP14ImGuiViewportPE", !6, i64 0, !6, i64 4, !12, i64 8}
!53 = !{!"_ZTS20ImGuiPlatformMonitor", !17, i64 0, !17, i64 8, !17, i64 16, !17, i64 24, !18, i64 32, !12, i64 40}
!54 = !{!"_ZTS16ImGuiNavItemData", !12, i64 0, !6, i64 8, !6, i64 12, !41, i64 16, !6, i64 32, !39, i64 40, !18, i64 48, !18, i64 52, !18, i64 56}
!55 = !{!"_ZTS12ImGuiPayload", !12, i64 0, !6, i64 8, !6, i64 12, !6, i64 16, !6, i64 20, !7, i64 24, !15, i64 57, !15, i64 58}
!56 = !{!"_ZTS8ImVectorIhE", !6, i64 0, !6, i64 4, !12, i64 8}
!57 = !{!"_ZTS8ImVectorI20ImGuiListClipperDataE", !6, i64 0, !6, i64 4, !12, i64 8}
!58 = !{!"_ZTS8ImVectorI18ImGuiTableTempDataE", !6, i64 0, !6, i64 4, !12, i64 8}
!59 = !{!"_ZTS6ImPoolI10ImGuiTableE", !60, i64 0, !33, i64 16, !6, i64 32, !6, i64 36}
!60 = !{!"_ZTS8ImVectorI10ImGuiTableE", !6, i64 0, !6, i64 4, !12, i64 8}
!61 = !{!"_ZTS8ImVectorIfE", !6, i64 0, !6, i64 4, !12, i64 8}
!62 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !6, i64 0, !6, i64 4, !12, i64 8}
!63 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !64, i64 0, !33, i64 16, !6, i64 32, !6, i64 36}
!64 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !6, i64 0, !6, i64 4, !12, i64 8}
!65 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !6, i64 0, !6, i64 4, !12, i64 8}
!66 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !6, i64 0, !6, i64 4, !12, i64 8}
!67 = !{!"_ZTS19ImGuiInputTextState", !12, i64 0, !6, i64 8, !6, i64 12, !6, i64 16, !21, i64 24, !68, i64 40, !68, i64 56, !15, i64 72, !6, i64 76, !18, i64 80, !69, i64 84, !18, i64 3712, !15, i64 3716, !15, i64 3717, !15, i64 3718, !6, i64 3720}
!68 = !{!"_ZTS8ImVectorIcE", !6, i64 0, !6, i64 4, !12, i64 8}
!69 = !{!"_ZTSN5ImStb17STB_TexteditStateE", !6, i64 0, !6, i64 4, !6, i64 8, !7, i64 12, !6, i64 16, !7, i64 20, !7, i64 21, !7, i64 22, !7, i64 23, !7, i64 24, !7, i64 25, !7, i64 26, !18, i64 28, !70, i64 32}
!70 = !{!"_ZTSN5ImStb12StbUndoStateE", !7, i64 0, !7, i64 1584, !19, i64 3582, !19, i64 3584, !6, i64 3588, !6, i64 3592}
!71 = !{!"_ZTS30ImGuiInputTextDeactivatedState", !6, i64 0, !68, i64 8}
!72 = !{!"_ZTS6ImFont", !61, i64 0, !18, i64 16, !18, i64 20, !21, i64 24, !73, i64 40, !12, i64 56, !12, i64 64, !12, i64 72, !19, i64 80, !19, i64 82, !19, i64 84, !19, i64 86, !18, i64 88, !18, i64 92, !15, i64 96, !18, i64 100, !18, i64 104, !18, i64 108, !6, i64 112, !7, i64 116}
!73 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !6, i64 0, !6, i64 4, !12, i64 8}
!74 = !{!"_ZTS21ImGuiComboPreviewData", !41, i64 0, !17, i64 16, !17, i64 24, !17, i64 32, !18, i64 40, !6, i64 44}
!75 = !{!"_ZTS22ImGuiTypingSelectState", !76, i64 0, !7, i64 24, !6, i64 88, !6, i64 92, !18, i64 96, !15, i64 100}
!76 = !{!"_ZTS24ImGuiTypingSelectRequest", !6, i64 0, !6, i64 4, !12, i64 8, !15, i64 16, !15, i64 17, !7, i64 18}
!77 = !{!"_ZTS20ImGuiPlatformImeData", !15, i64 0, !17, i64 4, !18, i64 12}
!78 = !{!"_ZTS16ImGuiDockContext", !33, i64 0, !79, i64 16, !80, i64 32, !15, i64 48}
!79 = !{!"_ZTS8ImVectorI16ImGuiDockRequestE", !6, i64 0, !6, i64 4, !12, i64 8}
!80 = !{!"_ZTS8ImVectorI21ImGuiDockNodeSettingsE", !6, i64 0, !6, i64 4, !12, i64 8}
!81 = !{!"_ZTS15ImGuiTextBuffer", !68, i64 0}
!82 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !6, i64 0, !6, i64 4, !12, i64 8}
!83 = !{!"_ZTS13ImChunkStreamI19ImGuiWindowSettingsE", !68, i64 0}
!84 = !{!"_ZTS13ImChunkStreamI18ImGuiTableSettingsE", !68, i64 0}
!85 = !{!"_ZTS8ImVectorI16ImGuiContextHookE", !6, i64 0, !6, i64 4, !12, i64 8}
!86 = !{!"_ZTS12ImGuiLogType", !7, i64 0}
!87 = !{!"_ZTS14ImGuiTextIndex", !48, i64 0, !6, i64 16}
!88 = !{!"_ZTS18ImGuiMetricsConfig", !15, i64 0, !15, i64 1, !15, i64 2, !15, i64 3, !15, i64 4, !15, i64 5, !15, i64 6, !15, i64 7, !15, i64 8, !6, i64 12, !6, i64 16}
!89 = !{!"_ZTS16ImGuiIDStackTool", !6, i64 0, !6, i64 4, !6, i64 8, !90, i64 16, !15, i64 32, !18, i64 36}
!90 = !{!"_ZTS8ImVectorI19ImGuiStackLevelInfoE", !6, i64 0, !6, i64 4, !12, i64 8}
!91 = !{!"_ZTS19ImGuiDebugAllocInfo", !6, i64 0, !6, i64 4, !19, i64 8, !7, i64 12}
!92 = !{!14, !6, i64 19632}
!93 = !{!14, !10, i64 19680}
!94 = !{!14, !6, i64 19636}
!95 = !{i64 0, i64 4, !96, i64 4, i64 4, !96, i64 8, i64 4, !96, i64 12, i64 4, !96}
!96 = !{!18, !18, i64 0}


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

%struct.ImRect = type { %struct.ImVec2, %struct.ImVec2 }
%struct.ImVec2 = type { float, float }

@GImGui = external dso_local local_unnamed_addr global ptr, align 8
@.str.3 = external hidden unnamed_addr constant [81 x i8], align 1
@.str.285 = external hidden unnamed_addr constant [22 x i8], align 1
@__PRETTY_FUNCTION__._ZN5ImGui8SetNavIDEj13ImGuiNavLayerjRK6ImRect = external hidden unnamed_addr constant [70 x i8], align 1
@.str.286 = external hidden unnamed_addr constant [67 x i8], align 1

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

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

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

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

8:                                                ; preds = %4
  tail call void @__assert_fail(ptr noundef nonnull @.str.285, ptr noundef nonnull @.str.3, i32 noundef 11695, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5ImGui8SetNavIDEj13ImGuiNavLayerjRK6ImRect) #3
  unreachable

9:                                                ; preds = %4
  %10 = icmp ult i32 %1, 2
  br i1 %10, label %12, label %11

11:                                               ; preds = %9
  tail call void @__assert_fail(ptr noundef nonnull @.str.286, ptr noundef nonnull @.str.3, i32 noundef 11696, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5ImGui8SetNavIDEj13ImGuiNavLayerjRK6ImRect) #3
  unreachable

12:                                               ; preds = %9
  %13 = getelementptr inbounds i8, ptr %5, i64 19632
  store i32 %0, ptr %13, align 8, !tbaa !90
  %14 = getelementptr inbounds i8, ptr %5, i64 19680
  store i32 %1, ptr %14, align 8, !tbaa !91
  %15 = getelementptr inbounds i8, ptr %5, i64 19636
  store i32 %2, ptr %15, align 4, !tbaa !92
  %16 = getelementptr inbounds i8, ptr %7, i64 1008
  %17 = zext nneg i32 %1 to i64
  %18 = getelementptr inbounds [2 x i32], ptr %16, i64 0, i64 %17
  store i32 %0, ptr %18, align 4, !tbaa !93
  %19 = getelementptr inbounds i8, ptr %7, i64 1016
  %20 = getelementptr inbounds [2 x %struct.ImRect], ptr %19, i64 0, i64 %17
  tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %20, ptr noundef nonnull align 4 dereferenceable(16) %3, i64 16, i1 false), !tbaa.struct !94
  tail call void @_ZN5ImGui27NavClearPreferredPosForAxisE9ImGuiAxis(i32 noundef 0)
  tail call void @_ZN5ImGui27NavClearPreferredPosForAxisE9ImGuiAxis(i32 noundef 1)
  ret void
}

attributes #0 = { mustprogress nocallback nofree 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 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 19624}
!10 = !{!"_ZTS12ImGuiContext", !11, i64 0, !11, i64 1, !12, i64 8, !19, i64 14632, !22, i64 14848, !13, i64 15980, !13, i64 15984, !6, i64 15992, !15, i64 16000, !15, i64 16004, !23, i64 16008, !26, i64 16536, !13, i64 16544, !13, i64 16548, !13, i64 16552, !13, i64 16556, !11, i64 16560, !11, i64 16561, !11, i64 16562, !11, i64 16563, !11, i64 16564, !6, i64 16568, !27, i64 16576, !27, i64 16592, !17, i64 16608, !13, i64 16612, !28, i64 16616, !28, i64 16632, !28, i64 16648, !29, i64 16664, !30, i64 16680, !13, i64 16696, !14, i64 16700, !6, i64 16712, !6, i64 16720, !6, i64 16728, !6, i64 16736, !6, i64 16744, !14, i64 16752, !13, i64 16760, !13, i64 16764, !15, i64 16768, !14, i64 16772, !14, i64 16780, !13, i64 16788, !13, i64 16792, !13, i64 16796, !11, i64 16800, !11, i64 16801, !15, i64 16804, !15, i64 16808, !13, i64 16812, !13, i64 16816, !15, i64 16820, !11, i64 16824, !11, i64 16825, !11, i64 16826, !11, i64 16827, !11, i64 16828, !11, i64 16829, !14, i64 16832, !6, i64 16840, !32, i64 16848, !13, i64 16852, !13, i64 16856, !11, i64 16860, !11, i64 16861, !6, i64 16864, !13, i64 16872, !15, i64 16876, !7, i64 16880, !33, i64 18728, !13, i64 19072, !11, i64 19076, !13, i64 19080, !13, i64 19084, !13, i64 19088, !13, i64 19092, !35, i64 19096, !37, i64 19128, !39, i64 19192, !11, i64 19344, !41, i64 19352, !42, i64 19368, !43, i64 19384, !44, i64 19400, !45, i64 19416, !46, i64 19432, !47, i64 19448, !47, i64 19464, !48, i64 19480, !13, i64 19496, !49, i64 19504, !15, i64 19520, !6, i64 19528, !6, i64 19536, !6, i64 19544, !13, i64 19552, !50, i64 19560, !13, i64 19608, !13, i64 19612, !13, i64 19616, !6, i64 19624, !13, i64 19632, !13, i64 19636, !13, i64 19640, !13, i64 19644, !13, i64 19648, !13, i64 19652, !13, i64 19656, !13, i64 19660, !13, i64 19664, !13, i64 19668, !13, i64 19672, !32, i64 19676, !51, i64 19680, !36, i64 19688, !11, i64 19696, !11, i64 19697, !11, i64 19698, !11, i64 19699, !11, i64 19700, !11, i64 19701, !11, i64 19702, !52, i64 19704, !11, i64 19768, !11, i64 19769, !11, i64 19770, !13, i64 19772, !13, i64 19776, !13, i64 19780, !13, i64 19784, !13, i64 19788, !13, i64 19792, !38, i64 19796, !38, i64 19812, !13, i64 19828, !13, i64 19832, !13, i64 19836, !52, i64 19840, !52, i64 19904, !52, i64 19968, !52, i64 20032, !13, i64 20096, !13, i64 20100, !6, i64 20104, !6, i64 20112, !6, i64 20120, !15, i64 20128, !15, i64 20132, !11, i64 20136, !14, i64 20140, !14, i64 20148, !15, i64 20156, !11, i64 20160, !11, i64 20161, !11, i64 20162, !13, i64 20164, !13, i64 20168, !13, i64 20172, !53, i64 20176, !38, i64 20240, !13, i64 20256, !13, i64 20260, !15, i64 20264, !13, i64 20268, !13, i64 20272, !13, i64 20276, !13, i64 20280, !54, i64 20288, !7, i64 20304, !13, i64 20320, !55, i64 20328, !6, i64 20344, !13, i64 20352, !56, i64 20360, !57, i64 20376, !59, i64 20416, !60, i64 20432, !6, i64 20448, !61, i64 20456, !63, i64 20496, !64, i64 20512, !13, i64 20528, !13, i64 20532, !15, i64 20536, !15, i64 20540, !13, i64 20544, !13, i64 20548, !13, i64 20552, !15, i64 20556, !14, i64 20560, !65, i64 20568, !69, i64 24296, !70, i64 24320, !13, i64 24440, !13, i64 24444, !13, i64 24448, !13, i64 24452, !15, i64 24456, !15, i64 24460, !13, i64 24464, !24, i64 24468, !72, i64 24484, !38, i64 24532, !11, i64 24548, !15, i64 24552, !15, i64 24556, !11, i64 24560, !11, i64 24561, !15, i64 24564, !15, i64 24568, !15, i64 24572, !15, i64 24576, !16, i64 24580, !16, i64 24582, !16, i64 24584, !66, i64 24592, !44, i64 24608, !73, i64 24624, !75, i64 24728, !75, i64 24744, !13, i64 24760, !76, i64 24768, !6, i64 24824, !11, i64 24832, !15, i64 24836, !79, i64 24840, !80, i64 24856, !81, i64 24872, !82, i64 24888, !83, i64 24904, !13, i64 24920, !7, i64 24928, !11, i64 25016, !84, i64 25020, !6, i64 25024, !79, i64 25032, !6, i64 25048, !6, i64 25056, !15, i64 25064, !11, i64 25068, !13, i64 25072, !13, i64 25076, !13, i64 25080, !13, i64 25084, !79, i64 25088, !85, i64 25104, !7, i64 25128, !7, i64 25129, !7, i64 25130, !11, i64 25131, !7, i64 25132, !13, i64 25136, !86, i64 25140, !87, i64 25160, !89, i64 25200, !6, i64 25264, !7, i64 25272, !13, i64 25512, !13, i64 25516, !15, i64 25520, !13, i64 25524, !13, i64 25528, !13, i64 25532, !66, i64 25536}
!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, !6, i64 40, !6, i64 48, !15, i64 56, !11, i64 60, !6, i64 64, !14, i64 72, !11, i64 80, !11, i64 81, !11, i64 82, !11, i64 83, !11, i64 84, !11, i64 85, !11, i64 86, !11, i64 87, !11, i64 88, !11, i64 89, !11, i64 90, !11, i64 91, !11, i64 92, !11, i64 93, !11, i64 94, !11, i64 95, !15, i64 96, !15, i64 100, !15, i64 104, !15, i64 108, !15, i64 112, !15, i64 116, !11, i64 120, !11, i64 121, !11, i64 122, !11, i64 123, !6, i64 128, !6, i64 136, !6, i64 144, !6, i64 152, !6, i64 160, !6, i64 168, !6, i64 176, !6, i64 184, !6, i64 192, !16, i64 200, !11, i64 202, !11, i64 203, !11, i64 204, !11, i64 205, !11, i64 206, !11, i64 207, !11, i64 208, !15, i64 212, !13, i64 216, !13, i64 220, !13, i64 224, !13, i64 228, !14, i64 232, !7, i64 240, !7, i64 2904, !7, i64 3572, !6, i64 3640, !6, i64 3648, !14, i64 3656, !7, i64 3664, !15, i64 3672, !15, i64 3676, !17, i64 3680, !13, i64 3684, !11, i64 3688, !11, i64 3689, !11, i64 3690, !11, i64 3691, !13, i64 3692, !7, i64 3696, !11, i64 14352, !14, i64 14356, !7, i64 14364, !7, i64 14408, !7, i64 14448, !7, i64 14453, !7, i64 14458, !7, i64 14468, !7, i64 14478, !7, i64 14483, !7, i64 14488, !11, i64 14493, !7, i64 14496, !7, i64 14516, !7, i64 14536, !7, i64 14576, !15, i64 14596, !11, i64 14600, !11, i64 14601, !7, i64 14602, !11, i64 14603, !16, i64 14604, !18, i64 14608}
!13 = !{!"int", !7, i64 0}
!14 = !{!"_ZTS6ImVec2", !15, i64 0, !15, i64 4}
!15 = !{!"float", !7, i64 0}
!16 = !{!"short", !7, i64 0}
!17 = !{!"_ZTS16ImGuiMouseSource", !7, i64 0}
!18 = !{!"_ZTS8ImVectorItE", !13, i64 0, !13, i64 4, !6, i64 8}
!19 = !{!"_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, !20, i64 184, !21, i64 200}
!20 = !{!"_ZTS8ImVectorI20ImGuiPlatformMonitorE", !13, i64 0, !13, i64 4, !6, i64 8}
!21 = !{!"_ZTS8ImVectorIP13ImGuiViewportE", !13, i64 0, !13, i64 4, !6, i64 8}
!22 = !{!"_ZTS10ImGuiStyle", !15, i64 0, !15, i64 4, !14, i64 8, !15, i64 16, !15, i64 20, !14, i64 24, !14, i64 32, !13, i64 40, !15, i64 44, !15, i64 48, !15, i64 52, !15, i64 56, !14, i64 60, !15, i64 68, !15, i64 72, !14, i64 76, !14, i64 84, !14, i64 92, !14, i64 100, !15, i64 108, !15, i64 112, !15, i64 116, !15, i64 120, !15, i64 124, !15, i64 128, !15, i64 132, !15, i64 136, !15, i64 140, !15, i64 144, !15, i64 148, !15, i64 152, !13, i64 156, !14, i64 160, !14, i64 168, !15, i64 176, !14, i64 180, !14, i64 188, !14, i64 196, !14, i64 204, !15, i64 212, !15, i64 216, !11, i64 220, !11, i64 221, !11, i64 222, !15, i64 224, !15, i64 228, !7, i64 232, !15, i64 1112, !15, i64 1116, !15, i64 1120, !13, i64 1124, !13, i64 1128}
!23 = !{!"_ZTS20ImDrawListSharedData", !14, i64 0, !6, i64 8, !15, i64 16, !15, i64 20, !15, i64 24, !24, i64 28, !13, i64 44, !25, i64 48, !7, i64 64, !15, i64 448, !7, i64 452, !6, i64 520}
!24 = !{!"_ZTS6ImVec4", !15, i64 0, !15, i64 4, !15, i64 8, !15, i64 12}
!25 = !{!"_ZTS8ImVectorI6ImVec2E", !13, i64 0, !13, i64 4, !6, i64 8}
!26 = !{!"double", !7, i64 0}
!27 = !{!"_ZTS8ImVectorI15ImGuiInputEventE", !13, i64 0, !13, i64 4, !6, i64 8}
!28 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !13, i64 0, !13, i64 4, !6, i64 8}
!29 = !{!"_ZTS8ImVectorI20ImGuiWindowStackDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!30 = !{!"_ZTS12ImGuiStorage", !31, i64 0}
!31 = !{!"_ZTS8ImVectorIN12ImGuiStorage16ImGuiStoragePairEE", !13, i64 0, !13, i64 4, !6, i64 8}
!32 = !{!"_ZTS16ImGuiInputSource", !7, i64 0}
!33 = !{!"_ZTS20ImGuiKeyRoutingTable", !7, i64 0, !34, i64 312, !34, i64 328}
!34 = !{!"_ZTS8ImVectorI19ImGuiKeyRoutingDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!35 = !{!"_ZTS17ImGuiNextItemData", !13, i64 0, !13, i64 4, !15, i64 8, !36, i64 16, !13, i64 24, !11, i64 28}
!36 = !{!"long long", !7, i64 0}
!37 = !{!"_ZTS17ImGuiLastItemData", !13, i64 0, !13, i64 4, !13, i64 8, !38, i64 12, !38, i64 28, !38, i64 44}
!38 = !{!"_ZTS6ImRect", !14, i64 0, !14, i64 8}
!39 = !{!"_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, !13, i64 60, !11, i64 64, !11, i64 65, !38, i64 68, !6, i64 88, !6, i64 96, !15, i64 104, !13, i64 108, !13, i64 112, !40, i64 116, !14, i64 144}
!40 = !{!"_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}
!41 = !{!"_ZTS8ImVectorI13ImGuiColorModE", !13, i64 0, !13, i64 4, !6, i64 8}
!42 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !13, i64 0, !13, i64 4, !6, i64 8}
!43 = !{!"_ZTS8ImVectorIP6ImFontE", !13, i64 0, !13, i64 4, !6, i64 8}
!44 = !{!"_ZTS8ImVectorIjE", !13, i64 0, !13, i64 4, !6, i64 8}
!45 = !{!"_ZTS8ImVectorIiE", !13, i64 0, !13, i64 4, !6, i64 8}
!46 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!47 = !{!"_ZTS8ImVectorI14ImGuiPopupDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!48 = !{!"_ZTS8ImVectorI20ImGuiNavTreeNodeDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!49 = !{!"_ZTS8ImVectorIP14ImGuiViewportPE", !13, i64 0, !13, i64 4, !6, i64 8}
!50 = !{!"_ZTS20ImGuiPlatformMonitor", !14, i64 0, !14, i64 8, !14, i64 16, !14, i64 24, !15, i64 32, !6, i64 40}
!51 = !{!"_ZTS13ImGuiNavLayer", !7, i64 0}
!52 = !{!"_ZTS16ImGuiNavItemData", !6, i64 0, !13, i64 8, !13, i64 12, !38, i64 16, !13, i64 32, !36, i64 40, !15, i64 48, !15, i64 52, !15, i64 56}
!53 = !{!"_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}
!54 = !{!"_ZTS8ImVectorIhE", !13, i64 0, !13, i64 4, !6, i64 8}
!55 = !{!"_ZTS8ImVectorI20ImGuiListClipperDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!56 = !{!"_ZTS8ImVectorI18ImGuiTableTempDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!57 = !{!"_ZTS6ImPoolI10ImGuiTableE", !58, i64 0, !30, i64 16, !13, i64 32, !13, i64 36}
!58 = !{!"_ZTS8ImVectorI10ImGuiTableE", !13, i64 0, !13, i64 4, !6, i64 8}
!59 = !{!"_ZTS8ImVectorIfE", !13, i64 0, !13, i64 4, !6, i64 8}
!60 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !13, i64 0, !13, i64 4, !6, i64 8}
!61 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !62, i64 0, !30, i64 16, !13, i64 32, !13, i64 36}
!62 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !13, i64 0, !13, i64 4, !6, i64 8}
!63 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !13, i64 0, !13, i64 4, !6, i64 8}
!64 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !13, i64 0, !13, i64 4, !6, i64 8}
!65 = !{!"_ZTS19ImGuiInputTextState", !6, i64 0, !13, i64 8, !13, i64 12, !13, i64 16, !18, i64 24, !66, i64 40, !66, i64 56, !11, i64 72, !13, i64 76, !15, i64 80, !67, i64 84, !15, i64 3712, !11, i64 3716, !11, i64 3717, !11, i64 3718, !13, i64 3720}
!66 = !{!"_ZTS8ImVectorIcE", !13, i64 0, !13, i64 4, !6, i64 8}
!67 = !{!"_ZTSN5ImStb17STB_TexteditStateE", !13, i64 0, !13, i64 4, !13, i64 8, !7, i64 12, !13, i64 16, !7, i64 20, !7, i64 21, !7, i64 22, !7, i64 23, !7, i64 24, !7, i64 25, !7, i64 26, !15, i64 28, !68, i64 32}
!68 = !{!"_ZTSN5ImStb12StbUndoStateE", !7, i64 0, !7, i64 1584, !16, i64 3582, !16, i64 3584, !13, i64 3588, !13, i64 3592}
!69 = !{!"_ZTS30ImGuiInputTextDeactivatedState", !13, i64 0, !66, i64 8}
!70 = !{!"_ZTS6ImFont", !59, i64 0, !15, i64 16, !15, i64 20, !18, i64 24, !71, i64 40, !6, i64 56, !6, i64 64, !6, i64 72, !16, i64 80, !16, i64 82, !16, i64 84, !16, i64 86, !15, i64 88, !15, i64 92, !11, i64 96, !15, i64 100, !15, i64 104, !15, i64 108, !13, i64 112, !7, i64 116}
!71 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !13, i64 0, !13, i64 4, !6, i64 8}
!72 = !{!"_ZTS21ImGuiComboPreviewData", !38, i64 0, !14, i64 16, !14, i64 24, !14, i64 32, !15, i64 40, !13, i64 44}
!73 = !{!"_ZTS22ImGuiTypingSelectState", !74, i64 0, !7, i64 24, !13, i64 88, !13, i64 92, !15, i64 96, !11, i64 100}
!74 = !{!"_ZTS24ImGuiTypingSelectRequest", !13, i64 0, !13, i64 4, !6, i64 8, !11, i64 16, !11, i64 17, !7, i64 18}
!75 = !{!"_ZTS20ImGuiPlatformImeData", !11, i64 0, !14, i64 4, !15, i64 12}
!76 = !{!"_ZTS16ImGuiDockContext", !30, i64 0, !77, i64 16, !78, i64 32, !11, i64 48}
!77 = !{!"_ZTS8ImVectorI16ImGuiDockRequestE", !13, i64 0, !13, i64 4, !6, i64 8}
!78 = !{!"_ZTS8ImVectorI21ImGuiDockNodeSettingsE", !13, i64 0, !13, i64 4, !6, i64 8}
!79 = !{!"_ZTS15ImGuiTextBuffer", !66, i64 0}
!80 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !13, i64 0, !13, i64 4, !6, i64 8}
!81 = !{!"_ZTS13ImChunkStreamI19ImGuiWindowSettingsE", !66, i64 0}
!82 = !{!"_ZTS13ImChunkStreamI18ImGuiTableSettingsE", !66, i64 0}
!83 = !{!"_ZTS8ImVectorI16ImGuiContextHookE", !13, i64 0, !13, i64 4, !6, i64 8}
!84 = !{!"_ZTS12ImGuiLogType", !7, i64 0}
!85 = !{!"_ZTS14ImGuiTextIndex", !45, i64 0, !13, i64 16}
!86 = !{!"_ZTS18ImGuiMetricsConfig", !11, i64 0, !11, i64 1, !11, i64 2, !11, i64 3, !11, i64 4, !11, i64 5, !11, i64 6, !11, i64 7, !11, i64 8, !13, i64 12, !13, i64 16}
!87 = !{!"_ZTS16ImGuiIDStackTool", !13, i64 0, !13, i64 4, !13, i64 8, !88, i64 16, !11, i64 32, !15, i64 36}
!88 = !{!"_ZTS8ImVectorI19ImGuiStackLevelInfoE", !13, i64 0, !13, i64 4, !6, i64 8}
!89 = !{!"_ZTS19ImGuiDebugAllocInfo", !13, i64 0, !13, i64 4, !16, i64 8, !7, i64 12}
!90 = !{!10, !13, i64 19632}
!91 = !{!10, !51, i64 19680}
!92 = !{!10, !13, i64 19636}
!93 = !{!13, !13, i64 0}
!94 = !{i64 0, i64 4, !95, i64 4, i64 4, !95, i64 8, i64 4, !95, i64 12, i64 4, !95}
!95 = !{!15, !15, i64 0}


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