; LLVM IR from PepcyCh/bisemutum-engine :: bisemutum/thirdparty/ImGuizmo/example/imgui.ll (ZN5ImGui10SetFocusIDEjP11ImGuiWindow)

; 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.ImRect = type { %struct.ImVec2, %struct.ImVec2 }
%struct.ImVec2 = type { float, float }
%struct.ImGuiContext = type { i8, i8, %struct.ImGuiIO, %struct.ImVector.0, %struct.ImVector.0, %struct.ImGuiStyle, ptr, float, float, %struct.ImDrawListSharedData, double, i32, i32, i32, i8, i8, i8, i8, i8, ptr, %struct.ImVector.1, %struct.ImVector.1, %struct.ImVector.1, %struct.ImVector.2, %struct.ImGuiStorage, i32, %struct.ImVec2, ptr, ptr, ptr, ptr, ptr, %struct.ImVec2, float, i32, i32, i32, i8, i8, i8, i8, float, float, i32, i32, float, i8, i8, i8, i8, i8, i8, %struct.ImVec2, ptr, i32, i32, i32, i8, i8, ptr, i32, float, i32, %struct.ImBitArray, i32, i32, %struct.ImGuiNextItemData, %struct.ImGuiLastItemData, %struct.ImGuiNextWindowData, %struct.ImVector.4, %struct.ImVector.5, %struct.ImVector.6, %struct.ImVector.7, %struct.ImVector.8, %struct.ImVector.9, %struct.ImVector.10, %struct.ImVector.10, i32, %struct.ImVector.11, ptr, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i8, i8, i8, i8, i8, i8, i8, i32, %struct.ImRect, i8, i8, i8, i32, i32, i32, i32, i32, i32, %struct.ImRect, %struct.ImRect, i32, i32, i32, %struct.ImGuiNavItemData, %struct.ImGuiNavItemData, %struct.ImGuiNavItemData, %struct.ImGuiNavItemData, ptr, ptr, ptr, float, float, i8, %struct.ImVec2, %struct.ImVec2, float, i32, i8, i8, i8, i32, i32, i32, [4 x i8], %struct.ImGuiPayload, %struct.ImRect, i32, i32, float, i32, i32, i32, i32, %struct.ImVector.12, [16 x i8], i32, %struct.ImVector.13, ptr, i32, %struct.ImVector.14, %struct.ImPool, %struct.ImVector.16, %struct.ImVector.17, ptr, %struct.ImPool.18, %struct.ImVector.20, %struct.ImVector.21, i32, i32, float, float, %struct.ImVec2, %struct.ImGuiInputTextState, %struct.ImFont, i32, i32, float, float, i32, %struct.ImVec4, %struct.ImGuiComboPreviewData, float, float, i8, i8, float, float, float, float, i16, i16, %struct.ImVector.22, %struct.ImVector.7, %struct.ImGuiPlatformImeData, %struct.ImGuiPlatformImeData, i8, i8, float, %struct.ImGuiTextBuffer, %struct.ImVector.24, %struct.ImChunkStream, %struct.ImChunkStream.25, %struct.ImVector.26, i32, i8, i32, ptr, %struct.ImGuiTextBuffer, ptr, ptr, float, i8, i32, i32, i32, i32, %struct.ImGuiTextBuffer, i8, i8, i32, %struct.ImGuiMetricsConfig, %struct.ImGuiStackTool, [60 x float], i32, i32, float, i32, i32, i32, %struct.ImVector.22 }
%struct.ImGuiIO = type { i32, i32, %struct.ImVec2, float, float, ptr, ptr, float, float, float, float, float, float, float, ptr, ptr, float, i8, ptr, %struct.ImVec2, i8, i8, i8, i8, i8, i8, i8, i8, float, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i8, i8, i8, i8, i8, i8, i8, float, i32, i32, i32, i32, i32, %struct.ImVec2, [652 x i32], [652 x i8], [16 x float], %struct.ImVec2, [5 x i8], float, float, i8, i8, i8, i8, i32, [652 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], [5 x float], [5 x float], [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.ImVector.0 = 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, 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, [48 x %struct.ImVec2], float, [64 x i8], ptr }
%struct.ImVector.1 = type { i32, i32, ptr }
%struct.ImVector.2 = type { i32, i32, ptr }
%struct.ImGuiStorage = type { %struct.ImVector.3 }
%struct.ImVector.3 = type { i32, i32, ptr }
%struct.ImBitArray = type { [5 x i32] }
%struct.ImGuiNextItemData = type <{ i32, float, i32, i32, i8, [3 x i8] }>
%struct.ImGuiLastItemData = type { i32, i32, i32, %struct.ImRect, %struct.ImRect, %struct.ImRect }
%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.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.ImVector.11 = type { i32, i32, ptr }
%struct.ImGuiNavItemData = type { ptr, i32, i32, %struct.ImRect, i32, float, float, float }
%struct.ImGuiPayload = type <{ ptr, i32, i32, i32, i32, [33 x i8], i8, i8, [5 x i8] }>
%struct.ImVector.12 = type { i32, i32, ptr }
%struct.ImVector.13 = type { i32, i32, ptr }
%struct.ImVector.14 = type { i32, i32, ptr }
%struct.ImPool = type { %struct.ImVector.15, %struct.ImGuiStorage, i32, i32 }
%struct.ImVector.15 = type { i32, i32, ptr }
%struct.ImVector.16 = type { i32, i32, ptr }
%struct.ImVector.17 = type { i32, i32, ptr }
%struct.ImPool.18 = type { %struct.ImVector.19, %struct.ImGuiStorage, i32, i32 }
%struct.ImVector.19 = type { i32, i32, ptr }
%struct.ImVector.20 = type { i32, i32, ptr }
%struct.ImVector.21 = type { i32, i32, ptr }
%struct.ImGuiInputTextState = type <{ i32, i32, i32, [4 x i8], %struct.ImVector, %struct.ImVector.22, %struct.ImVector.22, 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.ImFont = type <{ %struct.ImVector.16, float, float, %struct.ImVector, %struct.ImVector.23, ptr, ptr, ptr, i16, i16, i16, i16, i8, [3 x i8], float, float, float, i32, [2 x i8], [2 x i8] }>
%struct.ImVector.23 = 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.ImVector.7 = type { i32, i32, ptr }
%struct.ImGuiPlatformImeData = type { i8, %struct.ImVec2, float }
%struct.ImVector.24 = type { i32, i32, ptr }
%struct.ImChunkStream = type { %struct.ImVector.22 }
%struct.ImChunkStream.25 = type { %struct.ImVector.22 }
%struct.ImVector.26 = type { i32, i32, ptr }
%struct.ImGuiTextBuffer = type { %struct.ImVector.22 }
%struct.ImGuiMetricsConfig = type { i8, i8, i8, i8, i8, i8, i8, i32, i32 }
%struct.ImGuiStackTool = type { i32, i32, i32, %struct.ImVector.27, i8, float }
%struct.ImVector.27 = type { i32, i32, ptr }
%struct.ImVector.22 = type { i32, i32, ptr }
%struct.ImGuiWindow = type <{ ptr, i32, i32, ptr, %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, i16, [2 x i8], i32, i8, i8, i8, i8, i32, i8, i8, i8, i8, i32, %struct.ImVec2, %struct.ImVec2, %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, ptr, ptr, [2 x i32], [2 x %struct.ImRect], i32, i32, i8, [7 x i8] }>
%struct.ImGuiWindowTempData = type { %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, float, i8, i8, %struct.ImVec1, %struct.ImVec1, %struct.ImVec1, %struct.ImVec2, i32, i16, i16, i32, i8, i8, i8, %struct.ImVec2, %struct.ImGuiMenuColumns, i32, i32, %struct.ImVector.1, ptr, ptr, i32, i32, i32, float, float, %struct.ImVector.16, %struct.ImVector.16 }
%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.30 = type { i32, i32, ptr }
%struct.ImDrawList = type <{ %struct.ImVector.31, %struct.ImVector, %struct.ImVector.32, i32, i32, ptr, ptr, ptr, ptr, %struct.ImVector.33, %struct.ImVector.34, %struct.ImVector.35, %struct.ImDrawCmdHeader, %struct.ImDrawListSplitter, float, [4 x i8] }>
%struct.ImVector.31 = type { i32, i32, ptr }
%struct.ImVector.32 = type { i32, i32, ptr }
%struct.ImVector.33 = type { i32, i32, ptr }
%struct.ImVector.34 = type { i32, i32, ptr }
%struct.ImVector.35 = type { i32, i32, ptr }
%struct.ImDrawCmdHeader = type <{ %struct.ImVec4, ptr, i32, [4 x i8] }>
%struct.ImDrawListSplitter = type { i32, i32, %struct.ImVector.17 }

@GImGui = external dso_local global ptr, align 8
@.str.4 = external hidden unnamed_addr constant [106 x i8], align 1
@.str.115 = external hidden unnamed_addr constant [8 x i8], align 1
@__PRETTY_FUNCTION__._ZN5ImGui10SetFocusIDEjP11ImGuiWindow = external hidden unnamed_addr constant [47 x i8], align 1

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

; Function Attrs: nocallback nofree 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: inlinehint mustprogress uwtable
declare dso_local { <2 x float>, <2 x float> } @_ZN5ImGui18WindowRectAbsToRelEP11ImGuiWindowRK6ImRect(ptr noundef, ptr noundef nonnull align 4 dereferenceable(16)) #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui12SetNavWindowEP11ImGuiWindow(ptr noundef) #4

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

11:                                               ; preds = %2
  br label %14

12:                                               ; preds = %2
  call void @__assert_fail(ptr noundef @.str.115, ptr noundef @.str.4, i32 noundef 9882, ptr noundef @__PRETTY_FUNCTION__._ZN5ImGui10SetFocusIDEjP11ImGuiWindow) #7
  unreachable

13:                                               ; No predecessors!
  br label %14

14:                                               ; preds = %13, %11
  %15 = load ptr, ptr %5, align 8, !tbaa !9
  %16 = getelementptr inbounds %struct.ImGuiContext, ptr %15, i32 0, i32 79
  %17 = load ptr, ptr %16, align 8, !tbaa !11
  %18 = load ptr, ptr %4, align 8, !tbaa !9
  %19 = icmp ne ptr %17, %18
  br i1 %19, label %20, label %22

20:                                               ; preds = %14
  %21 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN5ImGui12SetNavWindowEP11ImGuiWindow(ptr noundef %21)
  br label %22

22:                                               ; preds = %20, %14
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #6
  %23 = load ptr, ptr %4, align 8, !tbaa !9
  %24 = getelementptr inbounds %struct.ImGuiWindow, ptr %23, i32 0, i32 55
  %25 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %24, i32 0, i32 15
  %26 = load i32, ptr %25, align 8, !tbaa !73
  store i32 %26, ptr %6, align 4, !tbaa !88
  %27 = load i32, ptr %3, align 4, !tbaa !5
  %28 = load ptr, ptr %5, align 8, !tbaa !9
  %29 = getelementptr inbounds %struct.ImGuiContext, ptr %28, i32 0, i32 80
  store i32 %27, ptr %29, align 8, !tbaa !89
  %30 = load i32, ptr %6, align 4, !tbaa !88
  %31 = load ptr, ptr %5, align 8, !tbaa !9
  %32 = getelementptr inbounds %struct.ImGuiContext, ptr %31, i32 0, i32 93
  store i32 %30, ptr %32, align 4, !tbaa !90
  %33 = load ptr, ptr %4, align 8, !tbaa !9
  %34 = getelementptr inbounds %struct.ImGuiWindow, ptr %33, i32 0, i32 55
  %35 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %34, i32 0, i32 18
  %36 = load i32, ptr %35, align 8, !tbaa !91
  %37 = load ptr, ptr %5, align 8, !tbaa !9
  %38 = getelementptr inbounds %struct.ImGuiContext, ptr %37, i32 0, i32 81
  store i32 %36, ptr %38, align 4, !tbaa !92
  %39 = load i32, ptr %3, align 4, !tbaa !5
  %40 = load ptr, ptr %4, align 8, !tbaa !9
  %41 = getelementptr inbounds %struct.ImGuiWindow, ptr %40, i32 0, i32 82
  %42 = load i32, ptr %6, align 4, !tbaa !88
  %43 = zext i32 %42 to i64
  %44 = getelementptr inbounds [2 x i32], ptr %41, i64 0, i64 %43
  store i32 %39, ptr %44, align 4, !tbaa !5
  %45 = load ptr, ptr %5, align 8, !tbaa !9
  %46 = getelementptr inbounds %struct.ImGuiContext, ptr %45, i32 0, i32 67
  %47 = getelementptr inbounds %struct.ImGuiLastItemData, ptr %46, i32 0, i32 0
  %48 = load i32, ptr %47, align 4, !tbaa !93
  %49 = load i32, ptr %3, align 4, !tbaa !5
  %50 = icmp eq i32 %48, %49
  br i1 %50, label %51, label %66

51:                                               ; preds = %22
  call void @llvm.lifetime.start.p0(i64 16, ptr %7) #6
  %52 = load ptr, ptr %4, align 8, !tbaa !9
  %53 = load ptr, ptr %5, align 8, !tbaa !9
  %54 = getelementptr inbounds %struct.ImGuiContext, ptr %53, i32 0, i32 67
  %55 = getelementptr inbounds %struct.ImGuiLastItemData, ptr %54, i32 0, i32 4
  %56 = call { <2 x float>, <2 x float> } @_ZN5ImGui18WindowRectAbsToRelEP11ImGuiWindowRK6ImRect(ptr noundef %52, ptr noundef nonnull align 4 dereferenceable(16) %55)
  %57 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %7, i32 0, i32 0
  %58 = extractvalue { <2 x float>, <2 x float> } %56, 0
  store <2 x float> %58, ptr %57, align 4
  %59 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %7, i32 0, i32 1
  %60 = extractvalue { <2 x float>, <2 x float> } %56, 1
  store <2 x float> %60, ptr %59, align 4
  %61 = load ptr, ptr %4, align 8, !tbaa !9
  %62 = getelementptr inbounds %struct.ImGuiWindow, ptr %61, i32 0, i32 83
  %63 = load i32, ptr %6, align 4, !tbaa !88
  %64 = zext i32 %63 to i64
  %65 = getelementptr inbounds [2 x %struct.ImRect], ptr %62, i64 0, i64 %64
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %65, ptr align 4 %7, i64 16, i1 false), !tbaa.struct !94
  call void @llvm.lifetime.end.p0(i64 16, ptr %7) #6
  br label %66

66:                                               ; preds = %51, %22
  %67 = load ptr, ptr %5, align 8, !tbaa !9
  %68 = getelementptr inbounds %struct.ImGuiContext, ptr %67, i32 0, i32 54
  %69 = load i32, ptr %68, align 8, !tbaa !96
  %70 = icmp eq i32 %69, 5
  br i1 %70, label %71, label %74

71:                                               ; preds = %66
  %72 = load ptr, ptr %5, align 8, !tbaa !9
  %73 = getelementptr inbounds %struct.ImGuiContext, ptr %72, i32 0, i32 97
  store i8 1, ptr %73, align 1, !tbaa !97
  br label %77

74:                                               ; preds = %66
  %75 = load ptr, ptr %5, align 8, !tbaa !9
  %76 = getelementptr inbounds %struct.ImGuiContext, ptr %75, i32 0, i32 96
  store i8 1, ptr %76, align 2, !tbaa !98
  br label %77

77:                                               ; preds = %74, %71
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #6
  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 = { inlinehint 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 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { mustprogress uwtable "min-legal-vector-width"="64" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { nounwind }
attributes #7 = { 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 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !10, i64 16536}
!12 = !{!"_ZTS12ImGuiContext", !13, i64 0, !13, i64 1, !14, i64 8, !19, i64 14272, !19, i64 14288, !20, i64 14304, !10, i64 15352, !16, i64 15360, !16, i64 15364, !21, i64 15368, !23, i64 15880, !6, i64 15888, !6, i64 15892, !6, i64 15896, !13, i64 15900, !13, i64 15901, !13, i64 15902, !13, i64 15903, !13, i64 15904, !10, i64 15912, !24, i64 15920, !24, i64 15936, !24, i64 15952, !25, i64 15968, !26, i64 15984, !6, i64 16000, !15, i64 16004, !10, i64 16016, !10, i64 16024, !10, i64 16032, !10, i64 16040, !10, i64 16048, !15, i64 16056, !16, i64 16064, !6, i64 16068, !6, i64 16072, !6, i64 16076, !13, i64 16080, !13, i64 16081, !13, i64 16082, !13, i64 16083, !16, i64 16084, !16, i64 16088, !6, i64 16092, !6, i64 16096, !16, i64 16100, !13, i64 16104, !13, i64 16105, !13, i64 16106, !13, i64 16107, !13, i64 16108, !13, i64 16109, !15, i64 16112, !10, i64 16120, !28, i64 16128, !6, i64 16132, !6, i64 16136, !13, i64 16140, !13, i64 16141, !10, i64 16144, !6, i64 16152, !16, i64 16156, !6, i64 16160, !29, i64 16164, !6, i64 16184, !6, i64 16188, !30, i64 16192, !31, i64 16212, !33, i64 16272, !34, i64 16384, !35, i64 16400, !36, i64 16416, !37, i64 16432, !38, i64 16448, !39, i64 16464, !40, i64 16480, !40, i64 16496, !6, i64 16512, !41, i64 16520, !10, i64 16536, !6, i64 16544, !6, i64 16548, !6, i64 16552, !6, i64 16556, !6, i64 16560, !6, i64 16564, !6, i64 16568, !6, i64 16572, !6, i64 16576, !6, i64 16580, !6, i64 16584, !6, i64 16588, !28, i64 16592, !42, i64 16596, !13, i64 16600, !13, i64 16601, !13, i64 16602, !13, i64 16603, !13, i64 16604, !13, i64 16605, !13, i64 16606, !6, i64 16608, !32, i64 16612, !13, i64 16628, !13, i64 16629, !13, i64 16630, !6, i64 16632, !6, i64 16636, !6, i64 16640, !6, i64 16644, !6, i64 16648, !6, i64 16652, !32, i64 16656, !32, i64 16672, !6, i64 16688, !6, i64 16692, !6, i64 16696, !43, i64 16704, !43, i64 16752, !43, i64 16800, !43, i64 16848, !10, i64 16896, !10, i64 16904, !10, i64 16912, !16, i64 16920, !16, i64 16924, !13, i64 16928, !15, i64 16932, !15, i64 16940, !16, i64 16948, !6, i64 16952, !13, i64 16956, !13, i64 16957, !13, i64 16958, !6, i64 16960, !6, i64 16964, !6, i64 16968, !44, i64 16976, !32, i64 17040, !6, i64 17056, !6, i64 17060, !16, i64 17064, !6, i64 17068, !6, i64 17072, !6, i64 17076, !6, i64 17080, !45, i64 17088, !7, i64 17104, !6, i64 17120, !46, i64 17128, !10, i64 17144, !6, i64 17152, !47, i64 17160, !48, i64 17176, !50, i64 17216, !51, i64 17232, !10, i64 17248, !52, i64 17256, !54, i64 17296, !55, i64 17312, !6, i64 17328, !6, i64 17332, !16, i64 17336, !16, i64 17340, !15, i64 17344, !56, i64 17352, !60, i64 21072, !6, i64 21184, !6, i64 21188, !16, i64 21192, !16, i64 21196, !6, i64 21200, !22, i64 21204, !62, i64 21220, !16, i64 21268, !16, i64 21272, !13, i64 21276, !13, i64 21277, !16, i64 21280, !16, i64 21284, !16, i64 21288, !16, i64 21292, !17, i64 21296, !17, i64 21298, !57, i64 21304, !37, i64 21320, !63, i64 21336, !63, i64 21352, !7, i64 21368, !13, i64 21369, !16, i64 21372, !64, i64 21376, !65, i64 21392, !66, i64 21408, !67, i64 21424, !68, i64 21440, !6, i64 21456, !13, i64 21460, !69, i64 21464, !10, i64 21472, !64, i64 21480, !10, i64 21496, !10, i64 21504, !16, i64 21512, !13, i64 21516, !6, i64 21520, !6, i64 21524, !6, i64 21528, !6, i64 21532, !64, i64 21536, !13, i64 21552, !7, i64 21553, !6, i64 21556, !70, i64 21560, !71, i64 21576, !7, i64 21616, !6, i64 21856, !6, i64 21860, !16, i64 21864, !6, i64 21868, !6, i64 21872, !6, i64 21876, !57, i64 21880}
!13 = !{!"bool", !7, i64 0}
!14 = !{!"_ZTS7ImGuiIO", !6, i64 0, !6, i64 4, !15, i64 8, !16, i64 16, !16, i64 20, !10, i64 24, !10, i64 32, !16, i64 40, !16, i64 44, !16, i64 48, !16, i64 52, !16, i64 56, !16, i64 60, !16, i64 64, !10, i64 72, !10, i64 80, !16, i64 88, !13, i64 92, !10, i64 96, !15, i64 104, !13, i64 112, !13, i64 113, !13, i64 114, !13, i64 115, !13, i64 116, !13, i64 117, !13, i64 118, !13, i64 119, !16, i64 120, !10, i64 128, !10, i64 136, !10, i64 144, !10, i64 152, !10, i64 160, !10, i64 168, !10, i64 176, !10, i64 184, !10, i64 192, !10, i64 200, !13, i64 208, !13, i64 209, !13, i64 210, !13, i64 211, !13, i64 212, !13, i64 213, !13, i64 214, !16, i64 216, !6, i64 220, !6, i64 224, !6, i64 228, !6, i64 232, !6, i64 236, !15, i64 240, !7, i64 248, !7, i64 2856, !7, i64 3508, !15, i64 3572, !7, i64 3580, !16, i64 3588, !16, i64 3592, !13, i64 3596, !13, i64 3597, !13, i64 3598, !13, i64 3599, !6, i64 3600, !7, i64 3604, !13, i64 14036, !15, i64 14040, !7, i64 14048, !7, i64 14088, !7, i64 14128, !7, i64 14133, !7, i64 14138, !7, i64 14148, !7, i64 14158, !7, i64 14163, !7, i64 14168, !7, i64 14176, !7, i64 14196, !7, i64 14216, !16, i64 14236, !13, i64 14240, !13, i64 14241, !7, i64 14242, !13, i64 14243, !17, i64 14244, !18, i64 14248}
!15 = !{!"_ZTS6ImVec2", !16, i64 0, !16, i64 4}
!16 = !{!"float", !7, i64 0}
!17 = !{!"short", !7, i64 0}
!18 = !{!"_ZTS8ImVectorItE", !6, i64 0, !6, i64 4, !10, i64 8}
!19 = !{!"_ZTS8ImVectorI15ImGuiInputEventE", !6, i64 0, !6, i64 4, !10, i64 8}
!20 = !{!"_ZTS10ImGuiStyle", !16, i64 0, !16, i64 4, !15, i64 8, !16, i64 16, !16, i64 20, !15, i64 24, !15, i64 32, !6, i64 40, !16, i64 44, !16, i64 48, !16, i64 52, !16, i64 56, !15, i64 60, !16, i64 68, !16, i64 72, !15, i64 76, !15, i64 84, !15, i64 92, !15, i64 100, !16, i64 108, !16, i64 112, !16, i64 116, !16, i64 120, !16, i64 124, !16, i64 128, !16, i64 132, !16, i64 136, !16, i64 140, !16, i64 144, !6, i64 148, !15, i64 152, !15, i64 160, !15, i64 168, !15, i64 176, !16, i64 184, !13, i64 188, !13, i64 189, !13, i64 190, !16, i64 192, !16, i64 196, !7, i64 200}
!21 = !{!"_ZTS20ImDrawListSharedData", !15, i64 0, !10, i64 8, !16, i64 16, !16, i64 20, !16, i64 24, !22, i64 28, !6, i64 44, !7, i64 48, !16, i64 432, !7, i64 436, !10, i64 504}
!22 = !{!"_ZTS6ImVec4", !16, i64 0, !16, i64 4, !16, i64 8, !16, i64 12}
!23 = !{!"double", !7, i64 0}
!24 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !6, i64 0, !6, i64 4, !10, i64 8}
!25 = !{!"_ZTS8ImVectorI20ImGuiWindowStackDataE", !6, i64 0, !6, i64 4, !10, i64 8}
!26 = !{!"_ZTS12ImGuiStorage", !27, i64 0}
!27 = !{!"_ZTS8ImVectorIN12ImGuiStorage16ImGuiStoragePairEE", !6, i64 0, !6, i64 4, !10, i64 8}
!28 = !{!"_ZTS16ImGuiInputSource", !7, i64 0}
!29 = !{!"_ZTS10ImBitArrayILi140ELin512EE", !7, i64 0}
!30 = !{!"_ZTS17ImGuiNextItemData", !6, i64 0, !16, i64 4, !6, i64 8, !6, i64 12, !13, i64 16}
!31 = !{!"_ZTS17ImGuiLastItemData", !6, i64 0, !6, i64 4, !6, i64 8, !32, i64 12, !32, i64 28, !32, i64 44}
!32 = !{!"_ZTS6ImRect", !15, i64 0, !15, i64 8}
!33 = !{!"_ZTS19ImGuiNextWindowData", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12, !15, i64 16, !15, i64 24, !15, i64 32, !15, i64 40, !15, i64 48, !13, i64 56, !32, i64 60, !10, i64 80, !10, i64 88, !16, i64 96, !15, i64 100}
!34 = !{!"_ZTS8ImVectorI13ImGuiColorModE", !6, i64 0, !6, i64 4, !10, i64 8}
!35 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !6, i64 0, !6, i64 4, !10, i64 8}
!36 = !{!"_ZTS8ImVectorIP6ImFontE", !6, i64 0, !6, i64 4, !10, i64 8}
!37 = !{!"_ZTS8ImVectorIjE", !6, i64 0, !6, i64 4, !10, i64 8}
!38 = !{!"_ZTS8ImVectorIiE", !6, i64 0, !6, i64 4, !10, i64 8}
!39 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !6, i64 0, !6, i64 4, !10, i64 8}
!40 = !{!"_ZTS8ImVectorI14ImGuiPopupDataE", !6, i64 0, !6, i64 4, !10, i64 8}
!41 = !{!"_ZTS8ImVectorIP14ImGuiViewportPE", !6, i64 0, !6, i64 4, !10, i64 8}
!42 = !{!"_ZTS13ImGuiNavLayer", !7, i64 0}
!43 = !{!"_ZTS16ImGuiNavItemData", !10, i64 0, !6, i64 8, !6, i64 12, !32, i64 16, !6, i64 32, !16, i64 36, !16, i64 40, !16, i64 44}
!44 = !{!"_ZTS12ImGuiPayload", !10, i64 0, !6, i64 8, !6, i64 12, !6, i64 16, !6, i64 20, !7, i64 24, !13, i64 57, !13, i64 58}
!45 = !{!"_ZTS8ImVectorIhE", !6, i64 0, !6, i64 4, !10, i64 8}
!46 = !{!"_ZTS8ImVectorI20ImGuiListClipperDataE", !6, i64 0, !6, i64 4, !10, i64 8}
!47 = !{!"_ZTS8ImVectorI18ImGuiTableTempDataE", !6, i64 0, !6, i64 4, !10, i64 8}
!48 = !{!"_ZTS6ImPoolI10ImGuiTableE", !49, i64 0, !26, i64 16, !6, i64 32, !6, i64 36}
!49 = !{!"_ZTS8ImVectorI10ImGuiTableE", !6, i64 0, !6, i64 4, !10, i64 8}
!50 = !{!"_ZTS8ImVectorIfE", !6, i64 0, !6, i64 4, !10, i64 8}
!51 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !6, i64 0, !6, i64 4, !10, i64 8}
!52 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !53, i64 0, !26, i64 16, !6, i64 32, !6, i64 36}
!53 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !6, i64 0, !6, i64 4, !10, i64 8}
!54 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !6, i64 0, !6, i64 4, !10, i64 8}
!55 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !6, i64 0, !6, i64 4, !10, i64 8}
!56 = !{!"_ZTS19ImGuiInputTextState", !6, i64 0, !6, i64 4, !6, i64 8, !18, i64 16, !57, i64 32, !57, i64 48, !13, i64 64, !6, i64 68, !16, i64 72, !58, i64 76, !16, i64 3704, !13, i64 3708, !13, i64 3709, !13, i64 3710, !6, i64 3712}
!57 = !{!"_ZTS8ImVectorIcE", !6, i64 0, !6, i64 4, !10, i64 8}
!58 = !{!"_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, !16, i64 28, !59, i64 32}
!59 = !{!"_ZTSN5ImStb12StbUndoStateE", !7, i64 0, !7, i64 1584, !17, i64 3582, !17, i64 3584, !6, i64 3588, !6, i64 3592}
!60 = !{!"_ZTS6ImFont", !50, i64 0, !16, i64 16, !16, i64 20, !18, i64 24, !61, i64 40, !10, i64 56, !10, i64 64, !10, i64 72, !17, i64 80, !17, i64 82, !17, i64 84, !17, i64 86, !13, i64 88, !16, i64 92, !16, i64 96, !16, i64 100, !6, i64 104, !7, i64 108}
!61 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !6, i64 0, !6, i64 4, !10, i64 8}
!62 = !{!"_ZTS21ImGuiComboPreviewData", !32, i64 0, !15, i64 16, !15, i64 24, !15, i64 32, !16, i64 40, !6, i64 44}
!63 = !{!"_ZTS20ImGuiPlatformImeData", !13, i64 0, !15, i64 4, !16, i64 12}
!64 = !{!"_ZTS15ImGuiTextBuffer", !57, i64 0}
!65 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !6, i64 0, !6, i64 4, !10, i64 8}
!66 = !{!"_ZTS13ImChunkStreamI19ImGuiWindowSettingsE", !57, i64 0}
!67 = !{!"_ZTS13ImChunkStreamI18ImGuiTableSettingsE", !57, i64 0}
!68 = !{!"_ZTS8ImVectorI16ImGuiContextHookE", !6, i64 0, !6, i64 4, !10, i64 8}
!69 = !{!"_ZTS12ImGuiLogType", !7, i64 0}
!70 = !{!"_ZTS18ImGuiMetricsConfig", !13, i64 0, !13, i64 1, !13, i64 2, !13, i64 3, !13, i64 4, !13, i64 5, !13, i64 6, !6, i64 8, !6, i64 12}
!71 = !{!"_ZTS14ImGuiStackTool", !6, i64 0, !6, i64 4, !6, i64 8, !72, i64 16, !13, i64 32, !16, i64 36}
!72 = !{!"_ZTS8ImVectorI19ImGuiStackLevelInfoE", !6, i64 0, !6, i64 4, !10, i64 8}
!73 = !{!74, !42, i64 312}
!74 = !{!"_ZTS11ImGuiWindow", !10, i64 0, !6, i64 8, !6, i64 12, !10, i64 16, !15, i64 24, !15, i64 32, !15, i64 40, !15, i64 48, !15, i64 56, !15, i64 64, !15, i64 72, !16, i64 80, !16, i64 84, !6, i64 88, !6, i64 92, !6, i64 96, !15, i64 100, !15, i64 108, !15, i64 116, !15, i64 124, !15, i64 132, !15, i64 140, !13, i64 148, !13, i64 149, !13, i64 150, !13, i64 151, !13, i64 152, !13, i64 153, !13, i64 154, !13, i64 155, !13, i64 156, !13, i64 157, !13, i64 158, !13, i64 159, !13, i64 160, !7, i64 161, !17, i64 162, !17, i64 164, !17, i64 166, !17, i64 168, !6, i64 172, !7, i64 176, !7, i64 177, !7, i64 178, !13, i64 179, !6, i64 180, !7, i64 184, !7, i64 185, !7, i64 186, !7, i64 187, !6, i64 188, !6, i64 189, !6, i64 190, !15, i64 192, !15, i64 200, !37, i64 208, !75, i64 224, !32, i64 464, !32, i64 480, !32, i64 496, !32, i64 512, !32, i64 528, !32, i64 544, !32, i64 560, !78, i64 576, !78, i64 580, !6, i64 584, !16, i64 588, !16, i64 592, !26, i64 600, !79, i64 616, !16, i64 632, !6, i64 636, !10, i64 640, !80, i64 648, !10, i64 848, !10, i64 856, !10, i64 864, !10, i64 872, !10, i64 880, !10, i64 888, !10, i64 896, !7, i64 904, !7, i64 912, !6, i64 944, !6, i64 948, !13, i64 952}
!75 = !{!"_ZTS19ImGuiWindowTempData", !15, i64 0, !15, i64 8, !15, i64 16, !15, i64 24, !15, i64 32, !15, i64 40, !15, i64 48, !16, i64 56, !16, i64 60, !13, i64 64, !13, i64 65, !76, i64 68, !76, i64 72, !76, i64 76, !15, i64 80, !42, i64 88, !17, i64 92, !17, i64 94, !6, i64 96, !13, i64 100, !13, i64 101, !13, i64 102, !15, i64 104, !77, i64 112, !6, i64 140, !6, i64 144, !24, i64 152, !10, i64 168, !10, i64 176, !6, i64 184, !6, i64 188, !6, i64 192, !16, i64 196, !16, i64 200, !50, i64 208, !50, i64 224}
!76 = !{!"_ZTS6ImVec1", !16, i64 0}
!77 = !{!"_ZTS16ImGuiMenuColumns", !6, i64 0, !6, i64 4, !17, i64 8, !17, i64 10, !17, i64 12, !17, i64 14, !17, i64 16, !7, i64 18}
!78 = !{!"_ZTS8ImVec2ih", !17, i64 0, !17, i64 2}
!79 = !{!"_ZTS8ImVectorI15ImGuiOldColumnsE", !6, i64 0, !6, i64 4, !10, i64 8}
!80 = !{!"_ZTS10ImDrawList", !81, i64 0, !18, i64 16, !82, i64 32, !6, i64 48, !6, i64 52, !10, i64 56, !10, i64 64, !10, i64 72, !10, i64 80, !83, i64 88, !84, i64 104, !85, i64 120, !86, i64 136, !87, i64 168, !16, i64 192}
!81 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !6, i64 0, !6, i64 4, !10, i64 8}
!82 = !{!"_ZTS8ImVectorI10ImDrawVertE", !6, i64 0, !6, i64 4, !10, i64 8}
!83 = !{!"_ZTS8ImVectorI6ImVec4E", !6, i64 0, !6, i64 4, !10, i64 8}
!84 = !{!"_ZTS8ImVectorIPvE", !6, i64 0, !6, i64 4, !10, i64 8}
!85 = !{!"_ZTS8ImVectorI6ImVec2E", !6, i64 0, !6, i64 4, !10, i64 8}
!86 = !{!"_ZTS15ImDrawCmdHeader", !22, i64 0, !10, i64 16, !6, i64 24}
!87 = !{!"_ZTS18ImDrawListSplitter", !6, i64 0, !6, i64 4, !51, i64 8}
!88 = !{!42, !42, i64 0}
!89 = !{!12, !6, i64 16544}
!90 = !{!12, !42, i64 16596}
!91 = !{!74, !6, i64 320}
!92 = !{!12, !6, i64 16548}
!93 = !{!12, !6, i64 16212}
!94 = !{i64 0, i64 4, !95, i64 4, i64 4, !95, i64 8, i64 4, !95, i64 12, i64 4, !95}
!95 = !{!16, !16, i64 0}
!96 = !{!12, !28, i64 16128}
!97 = !{!12, !13, i64 16603}
!98 = !{!12, !13, i64 16602}


; 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.4 = external hidden unnamed_addr constant [106 x i8], align 1
@.str.115 = external hidden unnamed_addr constant [8 x i8], align 1
@__PRETTY_FUNCTION__._ZN5ImGui10SetFocusIDEjP11ImGuiWindow = external hidden unnamed_addr constant [47 x i8], align 1

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { <2 x float>, <2 x float> } @_ZN5ImGui18WindowRectAbsToRelEP11ImGuiWindowRK6ImRect(ptr noundef, ptr noundef nonnull align 4 dereferenceable(16)) local_unnamed_addr #1

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN5ImGui10SetFocusIDEjP11ImGuiWindow(i32 noundef %0, ptr noundef %1) local_unnamed_addr #3 {
  %3 = load ptr, ptr @GImGui, align 8, !tbaa !5
  %.not = icmp eq i32 %0, 0
  br i1 %.not, label %4, label %5

4:                                                ; preds = %2
  tail call void @__assert_fail(ptr noundef nonnull @.str.115, ptr noundef nonnull @.str.4, i32 noundef 9882, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5ImGui10SetFocusIDEjP11ImGuiWindow) #4
  unreachable

5:                                                ; preds = %2
  %6 = getelementptr inbounds i8, ptr %3, i64 16536
  %7 = load ptr, ptr %6, align 8, !tbaa !9
  %.not23 = icmp eq ptr %7, %1
  br i1 %.not23, label %9, label %8

8:                                                ; preds = %5
  tail call void @_ZN5ImGui12SetNavWindowEP11ImGuiWindow(ptr noundef %1)
  br label %9

9:                                                ; preds = %8, %5
  %10 = getelementptr inbounds i8, ptr %1, i64 312
  %11 = load i32, ptr %10, align 8, !tbaa !72
  %12 = getelementptr inbounds i8, ptr %3, i64 16544
  store i32 %0, ptr %12, align 8, !tbaa !87
  %13 = getelementptr inbounds i8, ptr %3, i64 16596
  store i32 %11, ptr %13, align 4, !tbaa !88
  %14 = getelementptr inbounds i8, ptr %1, i64 320
  %15 = load i32, ptr %14, align 8, !tbaa !89
  %16 = getelementptr inbounds i8, ptr %3, i64 16548
  store i32 %15, ptr %16, align 4, !tbaa !90
  %17 = getelementptr inbounds i8, ptr %1, i64 904
  %18 = zext i32 %11 to i64
  %19 = getelementptr inbounds [2 x i32], ptr %17, i64 0, i64 %18
  store i32 %0, ptr %19, align 4, !tbaa !91
  %20 = getelementptr inbounds i8, ptr %3, i64 16212
  %21 = load i32, ptr %20, align 4, !tbaa !92
  %22 = icmp eq i32 %21, %0
  br i1 %22, label %23, label %30

23:                                               ; preds = %9
  %24 = getelementptr inbounds i8, ptr %3, i64 16240
  %25 = tail call { <2 x float>, <2 x float> } @_ZN5ImGui18WindowRectAbsToRelEP11ImGuiWindowRK6ImRect(ptr noundef nonnull %1, ptr noundef nonnull align 4 dereferenceable(16) %24)
  %26 = extractvalue { <2 x float>, <2 x float> } %25, 0
  %27 = extractvalue { <2 x float>, <2 x float> } %25, 1
  %28 = getelementptr inbounds i8, ptr %1, i64 912
  %29 = getelementptr inbounds [2 x %struct.ImRect], ptr %28, i64 0, i64 %18
  store <2 x float> %26, ptr %29, align 8
  %.sroa.4.0..sroa_idx = getelementptr inbounds i8, ptr %29, i64 8
  store <2 x float> %27, ptr %.sroa.4.0..sroa_idx, align 8
  br label %30

30:                                               ; preds = %23, %9
  %31 = getelementptr inbounds i8, ptr %3, i64 16128
  %32 = load i32, ptr %31, align 8, !tbaa !93
  %33 = icmp eq i32 %32, 5
  br i1 %33, label %34, label %36

34:                                               ; preds = %30
  %35 = getelementptr inbounds i8, ptr %3, i64 16603
  store i8 1, ptr %35, align 1, !tbaa !94
  br label %38

36:                                               ; preds = %30
  %37 = getelementptr inbounds i8, ptr %3, i64 16602
  store i8 1, ptr %37, align 2, !tbaa !95
  br label %38

38:                                               ; preds = %36, %34
  ret void
}

attributes #0 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { inlinehint mustprogress 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 = { mustprogress uwtable "min-legal-vector-width"="64" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 16536}
!10 = !{!"_ZTS12ImGuiContext", !11, i64 0, !11, i64 1, !12, i64 8, !18, i64 14272, !18, i64 14288, !19, i64 14304, !6, i64 15352, !15, i64 15360, !15, i64 15364, !20, i64 15368, !22, i64 15880, !13, i64 15888, !13, i64 15892, !13, i64 15896, !11, i64 15900, !11, i64 15901, !11, i64 15902, !11, i64 15903, !11, i64 15904, !6, i64 15912, !23, i64 15920, !23, i64 15936, !23, i64 15952, !24, i64 15968, !25, i64 15984, !13, i64 16000, !14, i64 16004, !6, i64 16016, !6, i64 16024, !6, i64 16032, !6, i64 16040, !6, i64 16048, !14, i64 16056, !15, i64 16064, !13, i64 16068, !13, i64 16072, !13, i64 16076, !11, i64 16080, !11, i64 16081, !11, i64 16082, !11, i64 16083, !15, i64 16084, !15, i64 16088, !13, i64 16092, !13, i64 16096, !15, i64 16100, !11, i64 16104, !11, i64 16105, !11, i64 16106, !11, i64 16107, !11, i64 16108, !11, i64 16109, !14, i64 16112, !6, i64 16120, !27, i64 16128, !13, i64 16132, !13, i64 16136, !11, i64 16140, !11, i64 16141, !6, i64 16144, !13, i64 16152, !15, i64 16156, !13, i64 16160, !28, i64 16164, !13, i64 16184, !13, i64 16188, !29, i64 16192, !30, i64 16212, !32, i64 16272, !33, i64 16384, !34, i64 16400, !35, i64 16416, !36, i64 16432, !37, i64 16448, !38, i64 16464, !39, i64 16480, !39, i64 16496, !13, i64 16512, !40, i64 16520, !6, i64 16536, !13, i64 16544, !13, i64 16548, !13, i64 16552, !13, i64 16556, !13, i64 16560, !13, i64 16564, !13, i64 16568, !13, i64 16572, !13, i64 16576, !13, i64 16580, !13, i64 16584, !13, i64 16588, !27, i64 16592, !41, i64 16596, !11, i64 16600, !11, i64 16601, !11, i64 16602, !11, i64 16603, !11, i64 16604, !11, i64 16605, !11, i64 16606, !13, i64 16608, !31, i64 16612, !11, i64 16628, !11, i64 16629, !11, i64 16630, !13, i64 16632, !13, i64 16636, !13, i64 16640, !13, i64 16644, !13, i64 16648, !13, i64 16652, !31, i64 16656, !31, i64 16672, !13, i64 16688, !13, i64 16692, !13, i64 16696, !42, i64 16704, !42, i64 16752, !42, i64 16800, !42, i64 16848, !6, i64 16896, !6, i64 16904, !6, i64 16912, !15, i64 16920, !15, i64 16924, !11, i64 16928, !14, i64 16932, !14, i64 16940, !15, i64 16948, !13, i64 16952, !11, i64 16956, !11, i64 16957, !11, i64 16958, !13, i64 16960, !13, i64 16964, !13, i64 16968, !43, i64 16976, !31, i64 17040, !13, i64 17056, !13, i64 17060, !15, i64 17064, !13, i64 17068, !13, i64 17072, !13, i64 17076, !13, i64 17080, !44, i64 17088, !7, i64 17104, !13, i64 17120, !45, i64 17128, !6, i64 17144, !13, i64 17152, !46, i64 17160, !47, i64 17176, !49, i64 17216, !50, i64 17232, !6, i64 17248, !51, i64 17256, !53, i64 17296, !54, i64 17312, !13, i64 17328, !13, i64 17332, !15, i64 17336, !15, i64 17340, !14, i64 17344, !55, i64 17352, !59, i64 21072, !13, i64 21184, !13, i64 21188, !15, i64 21192, !15, i64 21196, !13, i64 21200, !21, i64 21204, !61, i64 21220, !15, i64 21268, !15, i64 21272, !11, i64 21276, !11, i64 21277, !15, i64 21280, !15, i64 21284, !15, i64 21288, !15, i64 21292, !16, i64 21296, !16, i64 21298, !56, i64 21304, !36, i64 21320, !62, i64 21336, !62, i64 21352, !7, i64 21368, !11, i64 21369, !15, i64 21372, !63, i64 21376, !64, i64 21392, !65, i64 21408, !66, i64 21424, !67, i64 21440, !13, i64 21456, !11, i64 21460, !68, i64 21464, !6, i64 21472, !63, i64 21480, !6, i64 21496, !6, i64 21504, !15, i64 21512, !11, i64 21516, !13, i64 21520, !13, i64 21524, !13, i64 21528, !13, i64 21532, !63, i64 21536, !11, i64 21552, !7, i64 21553, !13, i64 21556, !69, i64 21560, !70, i64 21576, !7, i64 21616, !13, i64 21856, !13, i64 21860, !15, i64 21864, !13, i64 21868, !13, i64 21872, !13, i64 21876, !56, i64 21880}
!11 = !{!"bool", !7, i64 0}
!12 = !{!"_ZTS7ImGuiIO", !13, i64 0, !13, i64 4, !14, i64 8, !15, i64 16, !15, i64 20, !6, i64 24, !6, i64 32, !15, i64 40, !15, i64 44, !15, i64 48, !15, i64 52, !15, i64 56, !15, i64 60, !15, i64 64, !6, i64 72, !6, i64 80, !15, i64 88, !11, i64 92, !6, i64 96, !14, i64 104, !11, i64 112, !11, i64 113, !11, i64 114, !11, i64 115, !11, i64 116, !11, i64 117, !11, i64 118, !11, i64 119, !15, i64 120, !6, i64 128, !6, i64 136, !6, i64 144, !6, i64 152, !6, i64 160, !6, i64 168, !6, i64 176, !6, i64 184, !6, i64 192, !6, i64 200, !11, i64 208, !11, i64 209, !11, i64 210, !11, i64 211, !11, i64 212, !11, i64 213, !11, i64 214, !15, i64 216, !13, i64 220, !13, i64 224, !13, i64 228, !13, i64 232, !13, i64 236, !14, i64 240, !7, i64 248, !7, i64 2856, !7, i64 3508, !14, i64 3572, !7, i64 3580, !15, i64 3588, !15, i64 3592, !11, i64 3596, !11, i64 3597, !11, i64 3598, !11, i64 3599, !13, i64 3600, !7, i64 3604, !11, i64 14036, !14, i64 14040, !7, i64 14048, !7, i64 14088, !7, i64 14128, !7, i64 14133, !7, i64 14138, !7, i64 14148, !7, i64 14158, !7, i64 14163, !7, i64 14168, !7, i64 14176, !7, i64 14196, !7, i64 14216, !15, i64 14236, !11, i64 14240, !11, i64 14241, !7, i64 14242, !11, i64 14243, !16, i64 14244, !17, i64 14248}
!13 = !{!"int", !7, i64 0}
!14 = !{!"_ZTS6ImVec2", !15, i64 0, !15, i64 4}
!15 = !{!"float", !7, i64 0}
!16 = !{!"short", !7, i64 0}
!17 = !{!"_ZTS8ImVectorItE", !13, i64 0, !13, i64 4, !6, i64 8}
!18 = !{!"_ZTS8ImVectorI15ImGuiInputEventE", !13, i64 0, !13, i64 4, !6, i64 8}
!19 = !{!"_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, !13, i64 148, !14, i64 152, !14, i64 160, !14, i64 168, !14, i64 176, !15, i64 184, !11, i64 188, !11, i64 189, !11, i64 190, !15, i64 192, !15, i64 196, !7, i64 200}
!20 = !{!"_ZTS20ImDrawListSharedData", !14, i64 0, !6, i64 8, !15, i64 16, !15, i64 20, !15, i64 24, !21, i64 28, !13, i64 44, !7, i64 48, !15, i64 432, !7, i64 436, !6, i64 504}
!21 = !{!"_ZTS6ImVec4", !15, i64 0, !15, i64 4, !15, i64 8, !15, i64 12}
!22 = !{!"double", !7, i64 0}
!23 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !13, i64 0, !13, i64 4, !6, i64 8}
!24 = !{!"_ZTS8ImVectorI20ImGuiWindowStackDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!25 = !{!"_ZTS12ImGuiStorage", !26, i64 0}
!26 = !{!"_ZTS8ImVectorIN12ImGuiStorage16ImGuiStoragePairEE", !13, i64 0, !13, i64 4, !6, i64 8}
!27 = !{!"_ZTS16ImGuiInputSource", !7, i64 0}
!28 = !{!"_ZTS10ImBitArrayILi140ELin512EE", !7, i64 0}
!29 = !{!"_ZTS17ImGuiNextItemData", !13, i64 0, !15, i64 4, !13, i64 8, !13, i64 12, !11, i64 16}
!30 = !{!"_ZTS17ImGuiLastItemData", !13, i64 0, !13, i64 4, !13, i64 8, !31, i64 12, !31, i64 28, !31, i64 44}
!31 = !{!"_ZTS6ImRect", !14, i64 0, !14, i64 8}
!32 = !{!"_ZTS19ImGuiNextWindowData", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12, !14, i64 16, !14, i64 24, !14, i64 32, !14, i64 40, !14, i64 48, !11, i64 56, !31, i64 60, !6, i64 80, !6, i64 88, !15, i64 96, !14, i64 100}
!33 = !{!"_ZTS8ImVectorI13ImGuiColorModE", !13, i64 0, !13, i64 4, !6, i64 8}
!34 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !13, i64 0, !13, i64 4, !6, i64 8}
!35 = !{!"_ZTS8ImVectorIP6ImFontE", !13, i64 0, !13, i64 4, !6, i64 8}
!36 = !{!"_ZTS8ImVectorIjE", !13, i64 0, !13, i64 4, !6, i64 8}
!37 = !{!"_ZTS8ImVectorIiE", !13, i64 0, !13, i64 4, !6, i64 8}
!38 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!39 = !{!"_ZTS8ImVectorI14ImGuiPopupDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!40 = !{!"_ZTS8ImVectorIP14ImGuiViewportPE", !13, i64 0, !13, i64 4, !6, i64 8}
!41 = !{!"_ZTS13ImGuiNavLayer", !7, i64 0}
!42 = !{!"_ZTS16ImGuiNavItemData", !6, i64 0, !13, i64 8, !13, i64 12, !31, i64 16, !13, i64 32, !15, i64 36, !15, i64 40, !15, i64 44}
!43 = !{!"_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}
!44 = !{!"_ZTS8ImVectorIhE", !13, i64 0, !13, i64 4, !6, i64 8}
!45 = !{!"_ZTS8ImVectorI20ImGuiListClipperDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!46 = !{!"_ZTS8ImVectorI18ImGuiTableTempDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!47 = !{!"_ZTS6ImPoolI10ImGuiTableE", !48, i64 0, !25, i64 16, !13, i64 32, !13, i64 36}
!48 = !{!"_ZTS8ImVectorI10ImGuiTableE", !13, i64 0, !13, i64 4, !6, i64 8}
!49 = !{!"_ZTS8ImVectorIfE", !13, i64 0, !13, i64 4, !6, i64 8}
!50 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !13, i64 0, !13, i64 4, !6, i64 8}
!51 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !52, i64 0, !25, i64 16, !13, i64 32, !13, i64 36}
!52 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !13, i64 0, !13, i64 4, !6, i64 8}
!53 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !13, i64 0, !13, i64 4, !6, i64 8}
!54 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !13, i64 0, !13, i64 4, !6, i64 8}
!55 = !{!"_ZTS19ImGuiInputTextState", !13, i64 0, !13, i64 4, !13, i64 8, !17, i64 16, !56, i64 32, !56, i64 48, !11, i64 64, !13, i64 68, !15, i64 72, !57, i64 76, !15, i64 3704, !11, i64 3708, !11, i64 3709, !11, i64 3710, !13, i64 3712}
!56 = !{!"_ZTS8ImVectorIcE", !13, i64 0, !13, i64 4, !6, i64 8}
!57 = !{!"_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, !58, i64 32}
!58 = !{!"_ZTSN5ImStb12StbUndoStateE", !7, i64 0, !7, i64 1584, !16, i64 3582, !16, i64 3584, !13, i64 3588, !13, i64 3592}
!59 = !{!"_ZTS6ImFont", !49, i64 0, !15, i64 16, !15, i64 20, !17, i64 24, !60, i64 40, !6, i64 56, !6, i64 64, !6, i64 72, !16, i64 80, !16, i64 82, !16, i64 84, !16, i64 86, !11, i64 88, !15, i64 92, !15, i64 96, !15, i64 100, !13, i64 104, !7, i64 108}
!60 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !13, i64 0, !13, i64 4, !6, i64 8}
!61 = !{!"_ZTS21ImGuiComboPreviewData", !31, i64 0, !14, i64 16, !14, i64 24, !14, i64 32, !15, i64 40, !13, i64 44}
!62 = !{!"_ZTS20ImGuiPlatformImeData", !11, i64 0, !14, i64 4, !15, i64 12}
!63 = !{!"_ZTS15ImGuiTextBuffer", !56, i64 0}
!64 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !13, i64 0, !13, i64 4, !6, i64 8}
!65 = !{!"_ZTS13ImChunkStreamI19ImGuiWindowSettingsE", !56, i64 0}
!66 = !{!"_ZTS13ImChunkStreamI18ImGuiTableSettingsE", !56, i64 0}
!67 = !{!"_ZTS8ImVectorI16ImGuiContextHookE", !13, i64 0, !13, i64 4, !6, i64 8}
!68 = !{!"_ZTS12ImGuiLogType", !7, i64 0}
!69 = !{!"_ZTS18ImGuiMetricsConfig", !11, i64 0, !11, i64 1, !11, i64 2, !11, i64 3, !11, i64 4, !11, i64 5, !11, i64 6, !13, i64 8, !13, i64 12}
!70 = !{!"_ZTS14ImGuiStackTool", !13, i64 0, !13, i64 4, !13, i64 8, !71, i64 16, !11, i64 32, !15, i64 36}
!71 = !{!"_ZTS8ImVectorI19ImGuiStackLevelInfoE", !13, i64 0, !13, i64 4, !6, i64 8}
!72 = !{!73, !41, i64 312}
!73 = !{!"_ZTS11ImGuiWindow", !6, i64 0, !13, i64 8, !13, i64 12, !6, i64 16, !14, i64 24, !14, i64 32, !14, i64 40, !14, i64 48, !14, i64 56, !14, i64 64, !14, i64 72, !15, i64 80, !15, i64 84, !13, i64 88, !13, i64 92, !13, i64 96, !14, i64 100, !14, i64 108, !14, i64 116, !14, i64 124, !14, i64 132, !14, i64 140, !11, i64 148, !11, i64 149, !11, i64 150, !11, i64 151, !11, i64 152, !11, i64 153, !11, i64 154, !11, i64 155, !11, i64 156, !11, i64 157, !11, i64 158, !11, i64 159, !11, i64 160, !7, i64 161, !16, i64 162, !16, i64 164, !16, i64 166, !16, i64 168, !13, i64 172, !7, i64 176, !7, i64 177, !7, i64 178, !11, i64 179, !13, i64 180, !7, i64 184, !7, i64 185, !7, i64 186, !7, i64 187, !13, i64 188, !13, i64 189, !13, i64 190, !14, i64 192, !14, i64 200, !36, i64 208, !74, i64 224, !31, i64 464, !31, i64 480, !31, i64 496, !31, i64 512, !31, i64 528, !31, i64 544, !31, i64 560, !77, i64 576, !77, i64 580, !13, i64 584, !15, i64 588, !15, i64 592, !25, i64 600, !78, i64 616, !15, i64 632, !13, i64 636, !6, i64 640, !79, i64 648, !6, i64 848, !6, i64 856, !6, i64 864, !6, i64 872, !6, i64 880, !6, i64 888, !6, i64 896, !7, i64 904, !7, i64 912, !13, i64 944, !13, i64 948, !11, i64 952}
!74 = !{!"_ZTS19ImGuiWindowTempData", !14, i64 0, !14, i64 8, !14, i64 16, !14, i64 24, !14, i64 32, !14, i64 40, !14, i64 48, !15, i64 56, !15, i64 60, !11, i64 64, !11, i64 65, !75, i64 68, !75, i64 72, !75, i64 76, !14, i64 80, !41, i64 88, !16, i64 92, !16, i64 94, !13, i64 96, !11, i64 100, !11, i64 101, !11, i64 102, !14, i64 104, !76, i64 112, !13, i64 140, !13, i64 144, !23, i64 152, !6, i64 168, !6, i64 176, !13, i64 184, !13, i64 188, !13, i64 192, !15, i64 196, !15, i64 200, !49, i64 208, !49, i64 224}
!75 = !{!"_ZTS6ImVec1", !15, i64 0}
!76 = !{!"_ZTS16ImGuiMenuColumns", !13, i64 0, !13, i64 4, !16, i64 8, !16, i64 10, !16, i64 12, !16, i64 14, !16, i64 16, !7, i64 18}
!77 = !{!"_ZTS8ImVec2ih", !16, i64 0, !16, i64 2}
!78 = !{!"_ZTS8ImVectorI15ImGuiOldColumnsE", !13, i64 0, !13, i64 4, !6, i64 8}
!79 = !{!"_ZTS10ImDrawList", !80, i64 0, !17, i64 16, !81, i64 32, !13, i64 48, !13, i64 52, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !82, i64 88, !83, i64 104, !84, i64 120, !85, i64 136, !86, i64 168, !15, i64 192}
!80 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !13, i64 0, !13, i64 4, !6, i64 8}
!81 = !{!"_ZTS8ImVectorI10ImDrawVertE", !13, i64 0, !13, i64 4, !6, i64 8}
!82 = !{!"_ZTS8ImVectorI6ImVec4E", !13, i64 0, !13, i64 4, !6, i64 8}
!83 = !{!"_ZTS8ImVectorIPvE", !13, i64 0, !13, i64 4, !6, i64 8}
!84 = !{!"_ZTS8ImVectorI6ImVec2E", !13, i64 0, !13, i64 4, !6, i64 8}
!85 = !{!"_ZTS15ImDrawCmdHeader", !21, i64 0, !6, i64 16, !13, i64 24}
!86 = !{!"_ZTS18ImDrawListSplitter", !13, i64 0, !13, i64 4, !50, i64 8}
!87 = !{!10, !13, i64 16544}
!88 = !{!10, !41, i64 16596}
!89 = !{!73, !13, i64 320}
!90 = !{!10, !13, i64 16548}
!91 = !{!13, !13, i64 0}
!92 = !{!10, !13, i64 16212}
!93 = !{!10, !27, i64 16128}
!94 = !{!10, !11, i64 16603}
!95 = !{!10, !11, i64 16602}


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