; LLVM IR from BrunoLevy/learn-fpga :: LiteX/software/Libs/imgui/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.ImGuiWindow = type <{ ptr, i32, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, float, i32, i32, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i16, i16, i16, i16, [2 x i8], i32, i8, i8, i8, i8, i32, i8, i8, i8, i8, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVector.8, %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.28, 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.ImVector.8 = type { i32, i32, ptr }
%struct.ImGuiWindowTempData = type { %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, float, %struct.ImVec1, %struct.ImVec1, %struct.ImVec1, %struct.ImVec2, i32, i16, i16, i32, i8, i8, i8, %struct.ImVec2, %struct.ImGuiMenuColumns, i32, i32, %struct.ImVector.3, ptr, ptr, i32, i32, i32, float, float, %struct.ImVector.17, %struct.ImVector.17 }
%struct.ImVec1 = type { float }
%struct.ImGuiMenuColumns = type <{ i32, i32, i16, i16, i16, i16, i16, [4 x i16], [2 x i8] }>
%struct.ImVector.3 = type { i32, i32, ptr }
%struct.ImVector.17 = type { i32, i32, ptr }
%struct.ImVec2ih = type { i16, i16 }
%struct.ImGuiStorage = type { %struct.ImVector.0 }
%struct.ImVector.0 = type { i32, i32, ptr }
%struct.ImVector.28 = type { i32, i32, ptr }
%struct.ImDrawList = type <{ %struct.ImVector.29, %struct.ImVector, %struct.ImVector.30, i32, i32, ptr, ptr, ptr, ptr, %struct.ImVector.31, %struct.ImVector.32, %struct.ImVector.33, %struct.ImDrawCmdHeader, %struct.ImDrawListSplitter, float, [4 x i8] }>
%struct.ImVector.29 = type { i32, i32, ptr }
%struct.ImVector = type { i32, i32, ptr }
%struct.ImVector.30 = type { i32, i32, ptr }
%struct.ImVector.31 = type { i32, i32, ptr }
%struct.ImVector.32 = type { i32, i32, ptr }
%struct.ImVector.33 = type { i32, i32, ptr }
%struct.ImDrawCmdHeader = type <{ %struct.ImVec4, ptr, i32, [4 x i8] }>
%struct.ImVec4 = type { float, float, float, float }
%struct.ImDrawListSplitter = type { i32, i32, %struct.ImVector.18 }
%struct.ImVector.18 = type { i32, i32, ptr }
%struct.ImGuiContext = type <{ i8, i8, [6 x i8], %struct.ImGuiIO, %struct.ImGuiStyle, ptr, float, float, %struct.ImDrawListSharedData, double, i32, i32, i32, i8, i8, i8, i8, i8, [7 x i8], ptr, %struct.ImVector.3, %struct.ImVector.3, %struct.ImVector.3, %struct.ImVector.4, %struct.ImGuiStorage, i32, %struct.ImVec2, [4 x i8], 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, i8, i8, i32, i32, i64, %struct.ImVec2, ptr, i32, i32, i32, i8, i8, [2 x i8], ptr, i32, float, i32, %struct.ImGuiNextItemData, %struct.ImGuiLastItemData, [4 x i8], %struct.ImGuiNextWindowData, %struct.ImVector.5, %struct.ImVector.6, %struct.ImVector.7, %struct.ImVector.8, %struct.ImVector.9, %struct.ImVector.10, %struct.ImVector.11, %struct.ImVector.11, i32, [4 x i8], %struct.ImVector.12, ptr, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i8, i8, i8, i8, i8, i8, i8, i8, i32, %struct.ImRect, i8, i8, i8, i8, i32, i32, i32, i32, i32, i32, %struct.ImRect, %struct.ImRect, i32, i32, i32, [4 x i8], %struct.ImGuiNavItemData, %struct.ImGuiNavItemData, %struct.ImGuiNavItemData, %struct.ImGuiNavItemData, ptr, ptr, ptr, float, float, i8, [3 x i8], float, i32, i8, i8, i8, i8, i32, i32, i32, [4 x i8], %struct.ImGuiPayload, %struct.ImRect, i32, i32, float, i32, i32, i32, i32, [4 x i8], %struct.ImVector.13, [16 x i8], i32, [4 x i8], %struct.ImVector.14, ptr, i32, [4 x i8], %struct.ImVector.15, %struct.ImPool, %struct.ImVector.17, %struct.ImVector.18, ptr, %struct.ImPool.19, %struct.ImVector.21, %struct.ImVector.22, %struct.ImVec2, %struct.ImGuiInputTextState, %struct.ImFont, i32, i32, float, float, i32, %struct.ImVec4, %struct.ImGuiComboPreviewData, float, i8, i8, [2 x i8], float, float, float, float, i16, i16, float, [4 x i8], %struct.ImVector.2, %struct.ImVector.8, %struct.ImVec2, %struct.ImVec2, i8, i8, [2 x i8], float, %struct.ImGuiTextBuffer, %struct.ImVector.24, %struct.ImChunkStream, %struct.ImChunkStream.25, %struct.ImVector.26, i32, i8, [3 x i8], i32, [4 x i8], ptr, %struct.ImGuiTextBuffer, ptr, ptr, float, i8, [3 x i8], i32, i32, i32, i8, [3 x i8], i32, %struct.ImGuiMetricsConfig, [4 x i8], %struct.ImGuiStackTool, [120 x float], i32, i32, float, i32, i32, i32, [3073 x i8], [7 x i8] }>
%struct.ImGuiIO = type { i32, i32, %struct.ImVec2, float, float, ptr, ptr, float, float, float, [22 x i32], float, float, ptr, ptr, float, i8, ptr, %struct.ImVec2, i8, i8, i8, i8, i8, i8, float, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, %struct.ImVec2, [5 x i8], float, float, i8, i8, i8, i8, [512 x i8], [20 x float], i8, i8, i8, i8, i8, i8, i8, float, i32, i32, i32, i32, i32, %struct.ImVec2, i8, i32, i32, %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 %struct.ImVec2], [5 x float], [512 x float], [512 x float], [20 x float], [20 x float], float, i8, i16, %struct.ImVector }
%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.4 = type { i32, i32, ptr }
%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.5 = type { i32, i32, ptr }
%struct.ImVector.6 = type { i32, i32, ptr }
%struct.ImVector.7 = 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.ImVector.12 = 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.13 = type { i32, i32, ptr }
%struct.ImVector.14 = type { i32, i32, ptr }
%struct.ImVector.15 = type { i32, i32, ptr }
%struct.ImPool = type { %struct.ImVector.16, %struct.ImGuiStorage, i32, i32 }
%struct.ImVector.16 = type { i32, i32, ptr }
%struct.ImPool.19 = 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.ImGuiInputTextState = type <{ i32, i32, i32, [4 x i8], %struct.ImVector, %struct.ImVector.2, %struct.ImVector.2, 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.17, 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.ImGuiComboPreviewData = type { %struct.ImRect, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, i32 }
%struct.ImVector.2 = type { i32, i32, ptr }
%struct.ImVector.24 = type { i32, i32, ptr }
%struct.ImChunkStream = type { %struct.ImVector.2 }
%struct.ImChunkStream.25 = type { %struct.ImVector.2 }
%struct.ImVector.26 = type { i32, i32, ptr }
%struct.ImGuiTextBuffer = type { %struct.ImVector.2 }
%struct.ImGuiMetricsConfig = type { i8, i8, i8, i8, i8, i8, i32, i32 }
%struct.ImGuiStackTool = type { i32, i32, i32, %struct.ImVector.27 }
%struct.ImVector.27 = type { i32, i32, ptr }

@GImGui = external dso_local global ptr, align 8
@.str.3 = external hidden unnamed_addr constant [90 x i8], align 1
@.str.101 = 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
define dso_local void @_ZN5ImGui10SetFocusIDEjP11ImGuiWindow(i32 noundef %0, ptr noundef %1) #4 {
  %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) #5
  %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.101, ptr noundef @.str.3, i32 noundef 9041, ptr noundef @__PRETTY_FUNCTION__._ZN5ImGui10SetFocusIDEjP11ImGuiWindow) #6
  unreachable

13:                                               ; No predecessors!
  br label %14

14:                                               ; preds = %13, %11
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #5
  %15 = load ptr, ptr %4, align 8, !tbaa !9
  %16 = getelementptr inbounds %struct.ImGuiWindow, ptr %15, i32 0, i32 54
  %17 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %16, i32 0, i32 13
  %18 = load i32, ptr %17, align 4, !tbaa !11
  store i32 %18, ptr %6, align 4, !tbaa !40
  %19 = load ptr, ptr %5, align 8, !tbaa !9
  %20 = getelementptr inbounds %struct.ImGuiContext, ptr %19, i32 0, i32 85
  %21 = load ptr, ptr %20, align 8, !tbaa !41
  %22 = load ptr, ptr %4, align 8, !tbaa !9
  %23 = icmp ne ptr %21, %22
  br i1 %23, label %24, label %27

24:                                               ; preds = %14
  %25 = load ptr, ptr %5, align 8, !tbaa !9
  %26 = getelementptr inbounds %struct.ImGuiContext, ptr %25, i32 0, i32 105
  store i8 0, ptr %26, align 1, !tbaa !87
  br label %27

27:                                               ; preds = %24, %14
  %28 = load ptr, ptr %4, align 8, !tbaa !9
  %29 = load ptr, ptr %5, align 8, !tbaa !9
  %30 = getelementptr inbounds %struct.ImGuiContext, ptr %29, i32 0, i32 85
  store ptr %28, ptr %30, align 8, !tbaa !41
  %31 = load i32, ptr %3, align 4, !tbaa !5
  %32 = load ptr, ptr %5, align 8, !tbaa !9
  %33 = getelementptr inbounds %struct.ImGuiContext, ptr %32, i32 0, i32 86
  store i32 %31, ptr %33, align 8, !tbaa !88
  %34 = load i32, ptr %6, align 4, !tbaa !40
  %35 = load ptr, ptr %5, align 8, !tbaa !9
  %36 = getelementptr inbounds %struct.ImGuiContext, ptr %35, i32 0, i32 99
  store i32 %34, ptr %36, align 4, !tbaa !89
  %37 = load ptr, ptr %4, align 8, !tbaa !9
  %38 = getelementptr inbounds %struct.ImGuiWindow, ptr %37, i32 0, i32 54
  %39 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %38, i32 0, i32 16
  %40 = load i32, ptr %39, align 4, !tbaa !90
  %41 = load ptr, ptr %5, align 8, !tbaa !9
  %42 = getelementptr inbounds %struct.ImGuiContext, ptr %41, i32 0, i32 87
  store i32 %40, ptr %42, align 4, !tbaa !91
  %43 = load i32, ptr %3, align 4, !tbaa !5
  %44 = load ptr, ptr %4, align 8, !tbaa !9
  %45 = getelementptr inbounds %struct.ImGuiWindow, ptr %44, i32 0, i32 81
  %46 = load i32, ptr %6, align 4, !tbaa !40
  %47 = zext i32 %46 to i64
  %48 = getelementptr inbounds [2 x i32], ptr %45, i64 0, i64 %47
  store i32 %43, ptr %48, align 4, !tbaa !5
  %49 = load ptr, ptr %5, align 8, !tbaa !9
  %50 = getelementptr inbounds %struct.ImGuiContext, ptr %49, i32 0, i32 71
  %51 = getelementptr inbounds %struct.ImGuiLastItemData, ptr %50, i32 0, i32 0
  %52 = load i32, ptr %51, align 8, !tbaa !92
  %53 = load i32, ptr %3, align 4, !tbaa !5
  %54 = icmp eq i32 %52, %53
  br i1 %54, label %55, label %70

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

70:                                               ; preds = %55, %27
  %71 = load ptr, ptr %5, align 8, !tbaa !9
  %72 = getelementptr inbounds %struct.ImGuiContext, ptr %71, i32 0, i32 60
  %73 = load i32, ptr %72, align 8, !tbaa !95
  %74 = icmp eq i32 %73, 4
  br i1 %74, label %75, label %78

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

78:                                               ; preds = %70
  %79 = load ptr, ptr %5, align 8, !tbaa !9
  %80 = getelementptr inbounds %struct.ImGuiContext, ptr %79, i32 0, i32 102
  store i8 1, ptr %80, align 2, !tbaa !97
  br label %81

81:                                               ; preds = %78, %75
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #5
  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"="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 #5 = { nounwind }
attributes #6 = { 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, !20, i64 300}
!12 = !{!"_ZTS11ImGuiWindow", !10, i64 0, !6, i64 8, !6, i64 12, !13, i64 16, !13, i64 24, !13, i64 32, !13, i64 40, !13, i64 48, !13, i64 56, !13, i64 64, !14, i64 72, !14, i64 76, !6, i64 80, !6, i64 84, !6, i64 88, !13, i64 92, !13, i64 100, !13, i64 108, !13, i64 116, !13, i64 124, !13, i64 132, !15, i64 140, !15, i64 141, !15, i64 142, !15, i64 143, !15, i64 144, !15, i64 145, !15, i64 146, !15, i64 147, !15, i64 148, !15, i64 149, !15, i64 150, !15, i64 151, !15, i64 152, !7, i64 153, !16, i64 154, !16, i64 156, !16, i64 158, !16, i64 160, !6, i64 164, !7, i64 168, !7, i64 169, !7, i64 170, !15, i64 171, !6, i64 172, !7, i64 176, !7, i64 177, !7, i64 178, !7, i64 179, !6, i64 180, !6, i64 181, !6, i64 182, !13, i64 184, !13, i64 192, !17, i64 200, !18, i64 216, !24, i64 448, !24, i64 464, !24, i64 480, !24, i64 496, !24, i64 512, !24, i64 528, !24, i64 544, !25, i64 560, !25, i64 564, !6, i64 568, !14, i64 572, !14, i64 576, !26, i64 584, !28, i64 600, !14, i64 616, !6, i64 620, !10, i64 624, !29, i64 632, !10, i64 832, !10, i64 840, !10, i64 848, !10, i64 856, !10, i64 864, !10, i64 872, !10, i64 880, !7, i64 888, !7, i64 896, !6, i64 928, !6, i64 932, !15, i64 936}
!13 = !{!"_ZTS6ImVec2", !14, i64 0, !14, i64 4}
!14 = !{!"float", !7, i64 0}
!15 = !{!"bool", !7, i64 0}
!16 = !{!"short", !7, i64 0}
!17 = !{!"_ZTS8ImVectorIjE", !6, i64 0, !6, i64 4, !10, i64 8}
!18 = !{!"_ZTS19ImGuiWindowTempData", !13, i64 0, !13, i64 8, !13, i64 16, !13, i64 24, !13, i64 32, !13, i64 40, !13, i64 48, !14, i64 56, !14, i64 60, !19, i64 64, !19, i64 68, !19, i64 72, !13, i64 76, !20, i64 84, !16, i64 88, !16, i64 90, !6, i64 92, !15, i64 96, !15, i64 97, !15, i64 98, !13, i64 100, !21, i64 108, !6, i64 136, !6, i64 140, !22, i64 144, !10, i64 160, !10, i64 168, !6, i64 176, !6, i64 180, !6, i64 184, !14, i64 188, !14, i64 192, !23, i64 200, !23, i64 216}
!19 = !{!"_ZTS6ImVec1", !14, i64 0}
!20 = !{!"_ZTS13ImGuiNavLayer", !7, i64 0}
!21 = !{!"_ZTS16ImGuiMenuColumns", !6, i64 0, !6, i64 4, !16, i64 8, !16, i64 10, !16, i64 12, !16, i64 14, !16, i64 16, !7, i64 18}
!22 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !6, i64 0, !6, i64 4, !10, i64 8}
!23 = !{!"_ZTS8ImVectorIfE", !6, i64 0, !6, i64 4, !10, i64 8}
!24 = !{!"_ZTS6ImRect", !13, i64 0, !13, i64 8}
!25 = !{!"_ZTS8ImVec2ih", !16, i64 0, !16, i64 2}
!26 = !{!"_ZTS12ImGuiStorage", !27, i64 0}
!27 = !{!"_ZTS8ImVectorIN12ImGuiStorage16ImGuiStoragePairEE", !6, i64 0, !6, i64 4, !10, i64 8}
!28 = !{!"_ZTS8ImVectorI15ImGuiOldColumnsE", !6, i64 0, !6, i64 4, !10, i64 8}
!29 = !{!"_ZTS10ImDrawList", !30, i64 0, !31, i64 16, !32, i64 32, !6, i64 48, !6, i64 52, !10, i64 56, !10, i64 64, !10, i64 72, !10, i64 80, !33, i64 88, !34, i64 104, !35, i64 120, !36, i64 136, !38, i64 168, !14, i64 192}
!30 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !6, i64 0, !6, i64 4, !10, i64 8}
!31 = !{!"_ZTS8ImVectorItE", !6, i64 0, !6, i64 4, !10, i64 8}
!32 = !{!"_ZTS8ImVectorI10ImDrawVertE", !6, i64 0, !6, i64 4, !10, i64 8}
!33 = !{!"_ZTS8ImVectorI6ImVec4E", !6, i64 0, !6, i64 4, !10, i64 8}
!34 = !{!"_ZTS8ImVectorIPvE", !6, i64 0, !6, i64 4, !10, i64 8}
!35 = !{!"_ZTS8ImVectorI6ImVec2E", !6, i64 0, !6, i64 4, !10, i64 8}
!36 = !{!"_ZTS15ImDrawCmdHeader", !37, i64 0, !10, i64 16, !6, i64 24}
!37 = !{!"_ZTS6ImVec4", !14, i64 0, !14, i64 4, !14, i64 8, !14, i64 12}
!38 = !{!"_ZTS18ImDrawListSplitter", !6, i64 0, !6, i64 4, !39, i64 8}
!39 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !6, i64 0, !6, i64 4, !10, i64 8}
!40 = !{!20, !20, i64 0}
!41 = !{!42, !10, i64 7712}
!42 = !{!"_ZTS12ImGuiContext", !15, i64 0, !15, i64 1, !43, i64 8, !44, i64 5488, !10, i64 6536, !14, i64 6544, !14, i64 6548, !45, i64 6552, !46, i64 7064, !6, i64 7072, !6, i64 7076, !6, i64 7080, !15, i64 7084, !15, i64 7085, !15, i64 7086, !15, i64 7087, !15, i64 7088, !10, i64 7096, !22, i64 7104, !22, i64 7120, !22, i64 7136, !47, i64 7152, !26, i64 7168, !6, i64 7184, !13, i64 7188, !10, i64 7200, !10, i64 7208, !10, i64 7216, !10, i64 7224, !10, i64 7232, !13, i64 7240, !14, i64 7248, !6, i64 7252, !6, i64 7256, !6, i64 7260, !15, i64 7264, !15, i64 7265, !15, i64 7266, !15, i64 7267, !14, i64 7268, !14, i64 7272, !6, i64 7276, !6, i64 7280, !14, i64 7284, !15, i64 7288, !15, i64 7289, !15, i64 7290, !15, i64 7291, !15, i64 7292, !15, i64 7293, !15, i64 7294, !6, i64 7296, !6, i64 7300, !48, i64 7304, !13, i64 7312, !10, i64 7320, !49, i64 7328, !6, i64 7332, !6, i64 7336, !15, i64 7340, !15, i64 7341, !10, i64 7344, !6, i64 7352, !14, i64 7356, !6, i64 7360, !50, i64 7364, !51, i64 7384, !52, i64 7448, !53, i64 7560, !54, i64 7576, !55, i64 7592, !17, i64 7608, !56, i64 7624, !57, i64 7640, !58, i64 7656, !58, i64 7672, !6, i64 7688, !59, i64 7696, !10, i64 7712, !6, i64 7720, !6, i64 7724, !6, i64 7728, !6, i64 7732, !6, i64 7736, !6, i64 7740, !6, i64 7744, !6, i64 7748, !6, i64 7752, !6, i64 7756, !6, i64 7760, !6, i64 7764, !49, i64 7768, !20, i64 7772, !15, i64 7776, !15, i64 7777, !15, i64 7778, !15, i64 7779, !15, i64 7780, !15, i64 7781, !15, i64 7782, !6, i64 7784, !24, i64 7788, !15, i64 7804, !15, i64 7805, !15, i64 7806, !6, i64 7808, !6, i64 7812, !6, i64 7816, !6, i64 7820, !6, i64 7824, !6, i64 7828, !24, i64 7832, !24, i64 7848, !6, i64 7864, !6, i64 7868, !6, i64 7872, !60, i64 7880, !60, i64 7928, !60, i64 7976, !60, i64 8024, !10, i64 8072, !10, i64 8080, !10, i64 8088, !14, i64 8096, !14, i64 8100, !15, i64 8104, !14, i64 8108, !6, i64 8112, !15, i64 8116, !15, i64 8117, !15, i64 8118, !6, i64 8120, !6, i64 8124, !6, i64 8128, !61, i64 8136, !24, i64 8200, !6, i64 8216, !6, i64 8220, !14, i64 8224, !6, i64 8228, !6, i64 8232, !6, i64 8236, !6, i64 8240, !62, i64 8248, !7, i64 8264, !6, i64 8280, !63, i64 8288, !10, i64 8304, !6, i64 8312, !64, i64 8320, !65, i64 8336, !23, i64 8376, !39, i64 8392, !10, i64 8408, !67, i64 8416, !69, i64 8456, !70, i64 8472, !13, i64 8488, !71, i64 8496, !75, i64 12216, !6, i64 12328, !6, i64 12332, !14, i64 12336, !14, i64 12340, !6, i64 12344, !37, i64 12348, !77, i64 12364, !14, i64 12412, !15, i64 12416, !15, i64 12417, !14, i64 12420, !14, i64 12424, !14, i64 12428, !14, i64 12432, !16, i64 12436, !16, i64 12438, !14, i64 12440, !72, i64 12448, !17, i64 12464, !13, i64 12480, !13, i64 12488, !7, i64 12496, !15, i64 12497, !14, i64 12500, !78, i64 12504, !79, i64 12520, !80, i64 12536, !81, i64 12552, !82, i64 12568, !6, i64 12584, !15, i64 12588, !83, i64 12592, !10, i64 12600, !78, i64 12608, !10, i64 12624, !10, i64 12632, !14, i64 12640, !15, i64 12644, !6, i64 12648, !6, i64 12652, !6, i64 12656, !15, i64 12660, !6, i64 12664, !84, i64 12668, !85, i64 12688, !7, i64 12720, !6, i64 13200, !6, i64 13204, !14, i64 13208, !6, i64 13212, !6, i64 13216, !6, i64 13220, !7, i64 13224}
!43 = !{!"_ZTS7ImGuiIO", !6, i64 0, !6, i64 4, !13, i64 8, !14, i64 16, !14, i64 20, !10, i64 24, !10, i64 32, !14, i64 40, !14, i64 44, !14, i64 48, !7, i64 52, !14, i64 140, !14, i64 144, !10, i64 152, !10, i64 160, !14, i64 168, !15, i64 172, !10, i64 176, !13, i64 184, !15, i64 192, !15, i64 193, !15, i64 194, !15, i64 195, !15, i64 196, !15, i64 197, !14, i64 200, !10, i64 208, !10, i64 216, !10, i64 224, !10, i64 232, !10, i64 240, !10, i64 248, !10, i64 256, !10, i64 264, !10, i64 272, !10, i64 280, !13, i64 288, !7, i64 296, !14, i64 304, !14, i64 308, !15, i64 312, !15, i64 313, !15, i64 314, !15, i64 315, !7, i64 316, !7, i64 828, !15, i64 908, !15, i64 909, !15, i64 910, !15, i64 911, !15, i64 912, !15, i64 913, !15, i64 914, !14, i64 916, !6, i64 920, !6, i64 924, !6, i64 928, !6, i64 932, !6, i64 936, !13, i64 940, !15, i64 948, !6, i64 952, !6, i64 956, !13, i64 960, !7, i64 968, !7, i64 1008, !7, i64 1048, !7, i64 1053, !7, i64 1058, !7, i64 1068, !7, i64 1078, !7, i64 1083, !7, i64 1088, !7, i64 1096, !7, i64 1116, !7, i64 1136, !7, i64 1176, !7, i64 1196, !7, i64 3244, !7, i64 5292, !7, i64 5372, !14, i64 5452, !15, i64 5456, !16, i64 5458, !31, i64 5464}
!44 = !{!"_ZTS10ImGuiStyle", !14, i64 0, !14, i64 4, !13, i64 8, !14, i64 16, !14, i64 20, !13, i64 24, !13, i64 32, !6, i64 40, !14, i64 44, !14, i64 48, !14, i64 52, !14, i64 56, !13, i64 60, !14, i64 68, !14, i64 72, !13, i64 76, !13, i64 84, !13, i64 92, !13, i64 100, !14, i64 108, !14, i64 112, !14, i64 116, !14, i64 120, !14, i64 124, !14, i64 128, !14, i64 132, !14, i64 136, !14, i64 140, !14, i64 144, !6, i64 148, !13, i64 152, !13, i64 160, !13, i64 168, !13, i64 176, !14, i64 184, !15, i64 188, !15, i64 189, !15, i64 190, !14, i64 192, !14, i64 196, !7, i64 200}
!45 = !{!"_ZTS20ImDrawListSharedData", !13, i64 0, !10, i64 8, !14, i64 16, !14, i64 20, !14, i64 24, !37, i64 28, !6, i64 44, !7, i64 48, !14, i64 432, !7, i64 436, !10, i64 504}
!46 = !{!"double", !7, i64 0}
!47 = !{!"_ZTS8ImVectorI20ImGuiWindowStackDataE", !6, i64 0, !6, i64 4, !10, i64 8}
!48 = !{!"long long", !7, i64 0}
!49 = !{!"_ZTS16ImGuiInputSource", !7, i64 0}
!50 = !{!"_ZTS17ImGuiNextItemData", !6, i64 0, !14, i64 4, !6, i64 8, !6, i64 12, !15, i64 16}
!51 = !{!"_ZTS17ImGuiLastItemData", !6, i64 0, !6, i64 4, !6, i64 8, !24, i64 12, !24, i64 28, !24, i64 44}
!52 = !{!"_ZTS19ImGuiNextWindowData", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12, !13, i64 16, !13, i64 24, !13, i64 32, !13, i64 40, !13, i64 48, !15, i64 56, !24, i64 60, !10, i64 80, !10, i64 88, !14, i64 96, !13, i64 100}
!53 = !{!"_ZTS8ImVectorI13ImGuiColorModE", !6, i64 0, !6, i64 4, !10, i64 8}
!54 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !6, i64 0, !6, i64 4, !10, i64 8}
!55 = !{!"_ZTS8ImVectorIP6ImFontE", !6, i64 0, !6, i64 4, !10, i64 8}
!56 = !{!"_ZTS8ImVectorIiE", !6, i64 0, !6, i64 4, !10, i64 8}
!57 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !6, i64 0, !6, i64 4, !10, i64 8}
!58 = !{!"_ZTS8ImVectorI14ImGuiPopupDataE", !6, i64 0, !6, i64 4, !10, i64 8}
!59 = !{!"_ZTS8ImVectorIP14ImGuiViewportPE", !6, i64 0, !6, i64 4, !10, i64 8}
!60 = !{!"_ZTS16ImGuiNavItemData", !10, i64 0, !6, i64 8, !6, i64 12, !24, i64 16, !6, i64 32, !14, i64 36, !14, i64 40, !14, i64 44}
!61 = !{!"_ZTS12ImGuiPayload", !10, i64 0, !6, i64 8, !6, i64 12, !6, i64 16, !6, i64 20, !7, i64 24, !15, i64 57, !15, i64 58}
!62 = !{!"_ZTS8ImVectorIhE", !6, i64 0, !6, i64 4, !10, i64 8}
!63 = !{!"_ZTS8ImVectorI20ImGuiListClipperDataE", !6, i64 0, !6, i64 4, !10, i64 8}
!64 = !{!"_ZTS8ImVectorI18ImGuiTableTempDataE", !6, i64 0, !6, i64 4, !10, i64 8}
!65 = !{!"_ZTS6ImPoolI10ImGuiTableE", !66, i64 0, !26, i64 16, !6, i64 32, !6, i64 36}
!66 = !{!"_ZTS8ImVectorI10ImGuiTableE", !6, i64 0, !6, i64 4, !10, i64 8}
!67 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !68, i64 0, !26, i64 16, !6, i64 32, !6, i64 36}
!68 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !6, i64 0, !6, i64 4, !10, i64 8}
!69 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !6, i64 0, !6, i64 4, !10, i64 8}
!70 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !6, i64 0, !6, i64 4, !10, i64 8}
!71 = !{!"_ZTS19ImGuiInputTextState", !6, i64 0, !6, i64 4, !6, i64 8, !31, i64 16, !72, i64 32, !72, i64 48, !15, i64 64, !6, i64 68, !14, i64 72, !73, i64 76, !14, i64 3704, !15, i64 3708, !15, i64 3709, !15, i64 3710, !6, i64 3712}
!72 = !{!"_ZTS8ImVectorIcE", !6, i64 0, !6, i64 4, !10, i64 8}
!73 = !{!"_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, !14, i64 28, !74, i64 32}
!74 = !{!"_ZTSN5ImStb12StbUndoStateE", !7, i64 0, !7, i64 1584, !16, i64 3582, !16, i64 3584, !6, i64 3588, !6, i64 3592}
!75 = !{!"_ZTS6ImFont", !23, i64 0, !14, i64 16, !14, i64 20, !31, i64 24, !76, i64 40, !10, i64 56, !10, i64 64, !10, i64 72, !16, i64 80, !16, i64 82, !16, i64 84, !16, i64 86, !15, i64 88, !14, i64 92, !14, i64 96, !14, i64 100, !6, i64 104, !7, i64 108}
!76 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !6, i64 0, !6, i64 4, !10, i64 8}
!77 = !{!"_ZTS21ImGuiComboPreviewData", !24, i64 0, !13, i64 16, !13, i64 24, !13, i64 32, !14, i64 40, !6, i64 44}
!78 = !{!"_ZTS15ImGuiTextBuffer", !72, i64 0}
!79 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !6, i64 0, !6, i64 4, !10, i64 8}
!80 = !{!"_ZTS13ImChunkStreamI19ImGuiWindowSettingsE", !72, i64 0}
!81 = !{!"_ZTS13ImChunkStreamI18ImGuiTableSettingsE", !72, i64 0}
!82 = !{!"_ZTS8ImVectorI16ImGuiContextHookE", !6, i64 0, !6, i64 4, !10, i64 8}
!83 = !{!"_ZTS12ImGuiLogType", !7, i64 0}
!84 = !{!"_ZTS18ImGuiMetricsConfig", !15, i64 0, !15, i64 1, !15, i64 2, !15, i64 3, !15, i64 4, !15, i64 5, !6, i64 8, !6, i64 12}
!85 = !{!"_ZTS14ImGuiStackTool", !6, i64 0, !6, i64 4, !6, i64 8, !86, i64 16}
!86 = !{!"_ZTS8ImVectorI19ImGuiStackLevelInfoE", !6, i64 0, !6, i64 4, !10, i64 8}
!87 = !{!42, !15, i64 7781}
!88 = !{!42, !6, i64 7720}
!89 = !{!42, !20, i64 7772}
!90 = !{!12, !6, i64 308}
!91 = !{!42, !6, i64 7724}
!92 = !{!42, !6, i64 7384}
!93 = !{i64 0, i64 4, !94, i64 4, i64 4, !94, i64 8, i64 4, !94, i64 12, i64 4, !94}
!94 = !{!14, !14, i64 0}
!95 = !{!42, !49, i64 7328}
!96 = !{!42, !15, i64 7779}
!97 = !{!42, !15, i64 7778}


; 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 [90 x i8], align 1
@.str.101 = 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
define dso_local void @_ZN5ImGui10SetFocusIDEjP11ImGuiWindow(i32 noundef %0, ptr noundef %1) local_unnamed_addr #2 {
  %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.101, ptr noundef nonnull @.str.3, i32 noundef 9041, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5ImGui10SetFocusIDEjP11ImGuiWindow) #3
  unreachable

5:                                                ; preds = %2
  %6 = getelementptr inbounds i8, ptr %1, i64 300
  %7 = load i32, ptr %6, align 4, !tbaa !9
  %8 = getelementptr inbounds i8, ptr %3, i64 7712
  %9 = load ptr, ptr %8, align 8, !tbaa !39
  %.not24 = icmp eq ptr %9, %1
  br i1 %.not24, label %12, label %10

10:                                               ; preds = %5
  %11 = getelementptr inbounds i8, ptr %3, i64 7781
  store i8 0, ptr %11, align 1, !tbaa !85
  br label %12

12:                                               ; preds = %10, %5
  store ptr %1, ptr %8, align 8, !tbaa !39
  %13 = getelementptr inbounds i8, ptr %3, i64 7720
  store i32 %0, ptr %13, align 8, !tbaa !86
  %14 = getelementptr inbounds i8, ptr %3, i64 7772
  store i32 %7, ptr %14, align 4, !tbaa !87
  %15 = getelementptr inbounds i8, ptr %1, i64 308
  %16 = load i32, ptr %15, align 4, !tbaa !88
  %17 = getelementptr inbounds i8, ptr %3, i64 7724
  store i32 %16, ptr %17, align 4, !tbaa !89
  %18 = getelementptr inbounds i8, ptr %1, i64 888
  %19 = zext i32 %7 to i64
  %20 = getelementptr inbounds [2 x i32], ptr %18, i64 0, i64 %19
  store i32 %0, ptr %20, align 4, !tbaa !90
  %21 = getelementptr inbounds i8, ptr %3, i64 7384
  %22 = load i32, ptr %21, align 8, !tbaa !91
  %23 = icmp eq i32 %22, %0
  br i1 %23, label %24, label %31

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

31:                                               ; preds = %24, %12
  %32 = getelementptr inbounds i8, ptr %3, i64 7328
  %33 = load i32, ptr %32, align 8, !tbaa !92
  %34 = icmp eq i32 %33, 4
  br i1 %34, label %35, label %37

35:                                               ; preds = %31
  %36 = getelementptr inbounds i8, ptr %3, i64 7779
  store i8 1, ptr %36, align 1, !tbaa !93
  br label %39

37:                                               ; preds = %31
  %38 = getelementptr inbounds i8, ptr %3, i64 7778
  store i8 1, ptr %38, align 2, !tbaa !94
  br label %39

39:                                               ; preds = %37, %35
  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"="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 #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, !19, i64 300}
!10 = !{!"_ZTS11ImGuiWindow", !6, i64 0, !11, i64 8, !11, i64 12, !12, i64 16, !12, i64 24, !12, i64 32, !12, i64 40, !12, i64 48, !12, i64 56, !12, i64 64, !13, i64 72, !13, i64 76, !11, i64 80, !11, i64 84, !11, i64 88, !12, i64 92, !12, i64 100, !12, i64 108, !12, i64 116, !12, i64 124, !12, i64 132, !14, i64 140, !14, i64 141, !14, i64 142, !14, i64 143, !14, i64 144, !14, i64 145, !14, i64 146, !14, i64 147, !14, i64 148, !14, i64 149, !14, i64 150, !14, i64 151, !14, i64 152, !7, i64 153, !15, i64 154, !15, i64 156, !15, i64 158, !15, i64 160, !11, i64 164, !7, i64 168, !7, i64 169, !7, i64 170, !14, i64 171, !11, i64 172, !7, i64 176, !7, i64 177, !7, i64 178, !7, i64 179, !11, i64 180, !11, i64 181, !11, i64 182, !12, i64 184, !12, i64 192, !16, i64 200, !17, i64 216, !23, i64 448, !23, i64 464, !23, i64 480, !23, i64 496, !23, i64 512, !23, i64 528, !23, i64 544, !24, i64 560, !24, i64 564, !11, i64 568, !13, i64 572, !13, i64 576, !25, i64 584, !27, i64 600, !13, i64 616, !11, i64 620, !6, i64 624, !28, i64 632, !6, i64 832, !6, i64 840, !6, i64 848, !6, i64 856, !6, i64 864, !6, i64 872, !6, i64 880, !7, i64 888, !7, i64 896, !11, i64 928, !11, i64 932, !14, i64 936}
!11 = !{!"int", !7, i64 0}
!12 = !{!"_ZTS6ImVec2", !13, i64 0, !13, i64 4}
!13 = !{!"float", !7, i64 0}
!14 = !{!"bool", !7, i64 0}
!15 = !{!"short", !7, i64 0}
!16 = !{!"_ZTS8ImVectorIjE", !11, i64 0, !11, i64 4, !6, i64 8}
!17 = !{!"_ZTS19ImGuiWindowTempData", !12, i64 0, !12, i64 8, !12, i64 16, !12, i64 24, !12, i64 32, !12, i64 40, !12, i64 48, !13, i64 56, !13, i64 60, !18, i64 64, !18, i64 68, !18, i64 72, !12, i64 76, !19, i64 84, !15, i64 88, !15, i64 90, !11, i64 92, !14, i64 96, !14, i64 97, !14, i64 98, !12, i64 100, !20, i64 108, !11, i64 136, !11, i64 140, !21, i64 144, !6, i64 160, !6, i64 168, !11, i64 176, !11, i64 180, !11, i64 184, !13, i64 188, !13, i64 192, !22, i64 200, !22, i64 216}
!18 = !{!"_ZTS6ImVec1", !13, i64 0}
!19 = !{!"_ZTS13ImGuiNavLayer", !7, i64 0}
!20 = !{!"_ZTS16ImGuiMenuColumns", !11, i64 0, !11, i64 4, !15, i64 8, !15, i64 10, !15, i64 12, !15, i64 14, !15, i64 16, !7, i64 18}
!21 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !11, i64 0, !11, i64 4, !6, i64 8}
!22 = !{!"_ZTS8ImVectorIfE", !11, i64 0, !11, i64 4, !6, i64 8}
!23 = !{!"_ZTS6ImRect", !12, i64 0, !12, i64 8}
!24 = !{!"_ZTS8ImVec2ih", !15, i64 0, !15, i64 2}
!25 = !{!"_ZTS12ImGuiStorage", !26, i64 0}
!26 = !{!"_ZTS8ImVectorIN12ImGuiStorage16ImGuiStoragePairEE", !11, i64 0, !11, i64 4, !6, i64 8}
!27 = !{!"_ZTS8ImVectorI15ImGuiOldColumnsE", !11, i64 0, !11, i64 4, !6, i64 8}
!28 = !{!"_ZTS10ImDrawList", !29, i64 0, !30, i64 16, !31, i64 32, !11, i64 48, !11, i64 52, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !32, i64 88, !33, i64 104, !34, i64 120, !35, i64 136, !37, i64 168, !13, i64 192}
!29 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !11, i64 0, !11, i64 4, !6, i64 8}
!30 = !{!"_ZTS8ImVectorItE", !11, i64 0, !11, i64 4, !6, i64 8}
!31 = !{!"_ZTS8ImVectorI10ImDrawVertE", !11, i64 0, !11, i64 4, !6, i64 8}
!32 = !{!"_ZTS8ImVectorI6ImVec4E", !11, i64 0, !11, i64 4, !6, i64 8}
!33 = !{!"_ZTS8ImVectorIPvE", !11, i64 0, !11, i64 4, !6, i64 8}
!34 = !{!"_ZTS8ImVectorI6ImVec2E", !11, i64 0, !11, i64 4, !6, i64 8}
!35 = !{!"_ZTS15ImDrawCmdHeader", !36, i64 0, !6, i64 16, !11, i64 24}
!36 = !{!"_ZTS6ImVec4", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12}
!37 = !{!"_ZTS18ImDrawListSplitter", !11, i64 0, !11, i64 4, !38, i64 8}
!38 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !11, i64 0, !11, i64 4, !6, i64 8}
!39 = !{!40, !6, i64 7712}
!40 = !{!"_ZTS12ImGuiContext", !14, i64 0, !14, i64 1, !41, i64 8, !42, i64 5488, !6, i64 6536, !13, i64 6544, !13, i64 6548, !43, i64 6552, !44, i64 7064, !11, i64 7072, !11, i64 7076, !11, i64 7080, !14, i64 7084, !14, i64 7085, !14, i64 7086, !14, i64 7087, !14, i64 7088, !6, i64 7096, !21, i64 7104, !21, i64 7120, !21, i64 7136, !45, i64 7152, !25, i64 7168, !11, i64 7184, !12, i64 7188, !6, i64 7200, !6, i64 7208, !6, i64 7216, !6, i64 7224, !6, i64 7232, !12, i64 7240, !13, i64 7248, !11, i64 7252, !11, i64 7256, !11, i64 7260, !14, i64 7264, !14, i64 7265, !14, i64 7266, !14, i64 7267, !13, i64 7268, !13, i64 7272, !11, i64 7276, !11, i64 7280, !13, i64 7284, !14, i64 7288, !14, i64 7289, !14, i64 7290, !14, i64 7291, !14, i64 7292, !14, i64 7293, !14, i64 7294, !11, i64 7296, !11, i64 7300, !46, i64 7304, !12, i64 7312, !6, i64 7320, !47, i64 7328, !11, i64 7332, !11, i64 7336, !14, i64 7340, !14, i64 7341, !6, i64 7344, !11, i64 7352, !13, i64 7356, !11, i64 7360, !48, i64 7364, !49, i64 7384, !50, i64 7448, !51, i64 7560, !52, i64 7576, !53, i64 7592, !16, i64 7608, !54, i64 7624, !55, i64 7640, !56, i64 7656, !56, i64 7672, !11, i64 7688, !57, i64 7696, !6, i64 7712, !11, i64 7720, !11, i64 7724, !11, i64 7728, !11, i64 7732, !11, i64 7736, !11, i64 7740, !11, i64 7744, !11, i64 7748, !11, i64 7752, !11, i64 7756, !11, i64 7760, !11, i64 7764, !47, i64 7768, !19, i64 7772, !14, i64 7776, !14, i64 7777, !14, i64 7778, !14, i64 7779, !14, i64 7780, !14, i64 7781, !14, i64 7782, !11, i64 7784, !23, i64 7788, !14, i64 7804, !14, i64 7805, !14, i64 7806, !11, i64 7808, !11, i64 7812, !11, i64 7816, !11, i64 7820, !11, i64 7824, !11, i64 7828, !23, i64 7832, !23, i64 7848, !11, i64 7864, !11, i64 7868, !11, i64 7872, !58, i64 7880, !58, i64 7928, !58, i64 7976, !58, i64 8024, !6, i64 8072, !6, i64 8080, !6, i64 8088, !13, i64 8096, !13, i64 8100, !14, i64 8104, !13, i64 8108, !11, i64 8112, !14, i64 8116, !14, i64 8117, !14, i64 8118, !11, i64 8120, !11, i64 8124, !11, i64 8128, !59, i64 8136, !23, i64 8200, !11, i64 8216, !11, i64 8220, !13, i64 8224, !11, i64 8228, !11, i64 8232, !11, i64 8236, !11, i64 8240, !60, i64 8248, !7, i64 8264, !11, i64 8280, !61, i64 8288, !6, i64 8304, !11, i64 8312, !62, i64 8320, !63, i64 8336, !22, i64 8376, !38, i64 8392, !6, i64 8408, !65, i64 8416, !67, i64 8456, !68, i64 8472, !12, i64 8488, !69, i64 8496, !73, i64 12216, !11, i64 12328, !11, i64 12332, !13, i64 12336, !13, i64 12340, !11, i64 12344, !36, i64 12348, !75, i64 12364, !13, i64 12412, !14, i64 12416, !14, i64 12417, !13, i64 12420, !13, i64 12424, !13, i64 12428, !13, i64 12432, !15, i64 12436, !15, i64 12438, !13, i64 12440, !70, i64 12448, !16, i64 12464, !12, i64 12480, !12, i64 12488, !7, i64 12496, !14, i64 12497, !13, i64 12500, !76, i64 12504, !77, i64 12520, !78, i64 12536, !79, i64 12552, !80, i64 12568, !11, i64 12584, !14, i64 12588, !81, i64 12592, !6, i64 12600, !76, i64 12608, !6, i64 12624, !6, i64 12632, !13, i64 12640, !14, i64 12644, !11, i64 12648, !11, i64 12652, !11, i64 12656, !14, i64 12660, !11, i64 12664, !82, i64 12668, !83, i64 12688, !7, i64 12720, !11, i64 13200, !11, i64 13204, !13, i64 13208, !11, i64 13212, !11, i64 13216, !11, i64 13220, !7, i64 13224}
!41 = !{!"_ZTS7ImGuiIO", !11, i64 0, !11, i64 4, !12, i64 8, !13, i64 16, !13, i64 20, !6, i64 24, !6, i64 32, !13, i64 40, !13, i64 44, !13, i64 48, !7, i64 52, !13, i64 140, !13, i64 144, !6, i64 152, !6, i64 160, !13, i64 168, !14, i64 172, !6, i64 176, !12, i64 184, !14, i64 192, !14, i64 193, !14, i64 194, !14, i64 195, !14, i64 196, !14, i64 197, !13, i64 200, !6, i64 208, !6, i64 216, !6, i64 224, !6, i64 232, !6, i64 240, !6, i64 248, !6, i64 256, !6, i64 264, !6, i64 272, !6, i64 280, !12, i64 288, !7, i64 296, !13, i64 304, !13, i64 308, !14, i64 312, !14, i64 313, !14, i64 314, !14, i64 315, !7, i64 316, !7, i64 828, !14, i64 908, !14, i64 909, !14, i64 910, !14, i64 911, !14, i64 912, !14, i64 913, !14, i64 914, !13, i64 916, !11, i64 920, !11, i64 924, !11, i64 928, !11, i64 932, !11, i64 936, !12, i64 940, !14, i64 948, !11, i64 952, !11, i64 956, !12, i64 960, !7, i64 968, !7, i64 1008, !7, i64 1048, !7, i64 1053, !7, i64 1058, !7, i64 1068, !7, i64 1078, !7, i64 1083, !7, i64 1088, !7, i64 1096, !7, i64 1116, !7, i64 1136, !7, i64 1176, !7, i64 1196, !7, i64 3244, !7, i64 5292, !7, i64 5372, !13, i64 5452, !14, i64 5456, !15, i64 5458, !30, i64 5464}
!42 = !{!"_ZTS10ImGuiStyle", !13, i64 0, !13, i64 4, !12, i64 8, !13, i64 16, !13, i64 20, !12, i64 24, !12, i64 32, !11, i64 40, !13, i64 44, !13, i64 48, !13, i64 52, !13, i64 56, !12, i64 60, !13, i64 68, !13, i64 72, !12, i64 76, !12, i64 84, !12, i64 92, !12, i64 100, !13, i64 108, !13, i64 112, !13, i64 116, !13, i64 120, !13, i64 124, !13, i64 128, !13, i64 132, !13, i64 136, !13, i64 140, !13, i64 144, !11, i64 148, !12, i64 152, !12, i64 160, !12, i64 168, !12, i64 176, !13, i64 184, !14, i64 188, !14, i64 189, !14, i64 190, !13, i64 192, !13, i64 196, !7, i64 200}
!43 = !{!"_ZTS20ImDrawListSharedData", !12, i64 0, !6, i64 8, !13, i64 16, !13, i64 20, !13, i64 24, !36, i64 28, !11, i64 44, !7, i64 48, !13, i64 432, !7, i64 436, !6, i64 504}
!44 = !{!"double", !7, i64 0}
!45 = !{!"_ZTS8ImVectorI20ImGuiWindowStackDataE", !11, i64 0, !11, i64 4, !6, i64 8}
!46 = !{!"long long", !7, i64 0}
!47 = !{!"_ZTS16ImGuiInputSource", !7, i64 0}
!48 = !{!"_ZTS17ImGuiNextItemData", !11, i64 0, !13, i64 4, !11, i64 8, !11, i64 12, !14, i64 16}
!49 = !{!"_ZTS17ImGuiLastItemData", !11, i64 0, !11, i64 4, !11, i64 8, !23, i64 12, !23, i64 28, !23, i64 44}
!50 = !{!"_ZTS19ImGuiNextWindowData", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12, !12, i64 16, !12, i64 24, !12, i64 32, !12, i64 40, !12, i64 48, !14, i64 56, !23, i64 60, !6, i64 80, !6, i64 88, !13, i64 96, !12, i64 100}
!51 = !{!"_ZTS8ImVectorI13ImGuiColorModE", !11, i64 0, !11, i64 4, !6, i64 8}
!52 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !11, i64 0, !11, i64 4, !6, i64 8}
!53 = !{!"_ZTS8ImVectorIP6ImFontE", !11, i64 0, !11, i64 4, !6, i64 8}
!54 = !{!"_ZTS8ImVectorIiE", !11, i64 0, !11, i64 4, !6, i64 8}
!55 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !11, i64 0, !11, i64 4, !6, i64 8}
!56 = !{!"_ZTS8ImVectorI14ImGuiPopupDataE", !11, i64 0, !11, i64 4, !6, i64 8}
!57 = !{!"_ZTS8ImVectorIP14ImGuiViewportPE", !11, i64 0, !11, i64 4, !6, i64 8}
!58 = !{!"_ZTS16ImGuiNavItemData", !6, i64 0, !11, i64 8, !11, i64 12, !23, i64 16, !11, i64 32, !13, i64 36, !13, i64 40, !13, i64 44}
!59 = !{!"_ZTS12ImGuiPayload", !6, i64 0, !11, i64 8, !11, i64 12, !11, i64 16, !11, i64 20, !7, i64 24, !14, i64 57, !14, i64 58}
!60 = !{!"_ZTS8ImVectorIhE", !11, i64 0, !11, i64 4, !6, i64 8}
!61 = !{!"_ZTS8ImVectorI20ImGuiListClipperDataE", !11, i64 0, !11, i64 4, !6, i64 8}
!62 = !{!"_ZTS8ImVectorI18ImGuiTableTempDataE", !11, i64 0, !11, i64 4, !6, i64 8}
!63 = !{!"_ZTS6ImPoolI10ImGuiTableE", !64, i64 0, !25, i64 16, !11, i64 32, !11, i64 36}
!64 = !{!"_ZTS8ImVectorI10ImGuiTableE", !11, i64 0, !11, i64 4, !6, i64 8}
!65 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !66, i64 0, !25, i64 16, !11, i64 32, !11, i64 36}
!66 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !11, i64 0, !11, i64 4, !6, i64 8}
!67 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !11, i64 0, !11, i64 4, !6, i64 8}
!68 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !11, i64 0, !11, i64 4, !6, i64 8}
!69 = !{!"_ZTS19ImGuiInputTextState", !11, i64 0, !11, i64 4, !11, i64 8, !30, i64 16, !70, i64 32, !70, i64 48, !14, i64 64, !11, i64 68, !13, i64 72, !71, i64 76, !13, i64 3704, !14, i64 3708, !14, i64 3709, !14, i64 3710, !11, i64 3712}
!70 = !{!"_ZTS8ImVectorIcE", !11, i64 0, !11, i64 4, !6, i64 8}
!71 = !{!"_ZTSN5ImStb17STB_TexteditStateE", !11, i64 0, !11, i64 4, !11, i64 8, !7, i64 12, !11, i64 16, !7, i64 20, !7, i64 21, !7, i64 22, !7, i64 23, !7, i64 24, !7, i64 25, !7, i64 26, !13, i64 28, !72, i64 32}
!72 = !{!"_ZTSN5ImStb12StbUndoStateE", !7, i64 0, !7, i64 1584, !15, i64 3582, !15, i64 3584, !11, i64 3588, !11, i64 3592}
!73 = !{!"_ZTS6ImFont", !22, i64 0, !13, i64 16, !13, i64 20, !30, i64 24, !74, i64 40, !6, i64 56, !6, i64 64, !6, i64 72, !15, i64 80, !15, i64 82, !15, i64 84, !15, i64 86, !14, i64 88, !13, i64 92, !13, i64 96, !13, i64 100, !11, i64 104, !7, i64 108}
!74 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !11, i64 0, !11, i64 4, !6, i64 8}
!75 = !{!"_ZTS21ImGuiComboPreviewData", !23, i64 0, !12, i64 16, !12, i64 24, !12, i64 32, !13, i64 40, !11, i64 44}
!76 = !{!"_ZTS15ImGuiTextBuffer", !70, i64 0}
!77 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !11, i64 0, !11, i64 4, !6, i64 8}
!78 = !{!"_ZTS13ImChunkStreamI19ImGuiWindowSettingsE", !70, i64 0}
!79 = !{!"_ZTS13ImChunkStreamI18ImGuiTableSettingsE", !70, i64 0}
!80 = !{!"_ZTS8ImVectorI16ImGuiContextHookE", !11, i64 0, !11, i64 4, !6, i64 8}
!81 = !{!"_ZTS12ImGuiLogType", !7, i64 0}
!82 = !{!"_ZTS18ImGuiMetricsConfig", !14, i64 0, !14, i64 1, !14, i64 2, !14, i64 3, !14, i64 4, !14, i64 5, !11, i64 8, !11, i64 12}
!83 = !{!"_ZTS14ImGuiStackTool", !11, i64 0, !11, i64 4, !11, i64 8, !84, i64 16}
!84 = !{!"_ZTS8ImVectorI19ImGuiStackLevelInfoE", !11, i64 0, !11, i64 4, !6, i64 8}
!85 = !{!40, !14, i64 7781}
!86 = !{!40, !11, i64 7720}
!87 = !{!40, !19, i64 7772}
!88 = !{!10, !11, i64 308}
!89 = !{!40, !11, i64 7724}
!90 = !{!11, !11, i64 0}
!91 = !{!40, !11, i64 7384}
!92 = !{!40, !47, i64 7328}
!93 = !{!40, !14, i64 7779}
!94 = !{!40, !14, i64 7778}


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