; LLVM IR from TheNachoBIT/GeoFenix-Engine :: GeoFenix/ImGUI/imgui.ll (ZN5ImGui10BeginGroupEv)

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

@GImGui = external dso_local global ptr, align 8

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8), float noundef, float noundef) unnamed_addr #1 align 2

; 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) #2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN8ImVectorI14ImGuiGroupDataE6resizeEi(ptr noundef nonnull align 8 dereferenceable(16), i32 noundef) #3 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN5ImGui10BeginGroupEv() #4 {
  %1 = alloca ptr, align 8
  %2 = alloca ptr, align 8
  %3 = alloca ptr, align 8
  %4 = alloca %struct.ImVec2, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %1) #6
  %5 = load ptr, ptr @GImGui, align 8, !tbaa !5
  store ptr %5, ptr %1, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %2) #6
  %6 = load ptr, ptr %1, align 8, !tbaa !5
  %7 = getelementptr inbounds %struct.ImGuiContext, ptr %6, i32 0, i32 28
  %8 = load ptr, ptr %7, align 8, !tbaa !9
  store ptr %8, ptr %2, align 8, !tbaa !5
  %9 = load ptr, ptr %2, align 8, !tbaa !5
  %10 = getelementptr inbounds %struct.ImGuiWindow, ptr %9, i32 0, i32 51
  %11 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %10, i32 0, i32 42
  %12 = load ptr, ptr %2, align 8, !tbaa !5
  %13 = getelementptr inbounds %struct.ImGuiWindow, ptr %12, i32 0, i32 51
  %14 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %13, i32 0, i32 42
  %15 = getelementptr inbounds %struct.ImVector.24, ptr %14, i32 0, i32 0
  %16 = load i32, ptr %15, align 8, !tbaa !66
  %17 = add nsw i32 %16, 1
  call void @_ZN8ImVectorI14ImGuiGroupDataE6resizeEi(ptr noundef nonnull align 8 dereferenceable(16) %11, i32 noundef %17)
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #6
  %18 = load ptr, ptr %2, align 8, !tbaa !5
  %19 = getelementptr inbounds %struct.ImGuiWindow, ptr %18, i32 0, i32 51
  %20 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %19, i32 0, i32 42
  %21 = call noundef nonnull align 4 dereferenceable(42) ptr @_ZN8ImVectorI14ImGuiGroupDataE4backEv(ptr noundef nonnull align 8 dereferenceable(16) %20)
  store ptr %21, ptr %3, align 8, !tbaa !5
  %22 = load ptr, ptr %2, align 8, !tbaa !5
  %23 = getelementptr inbounds %struct.ImGuiWindow, ptr %22, i32 0, i32 51
  %24 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %23, i32 0, i32 0
  %25 = load ptr, ptr %3, align 8, !tbaa !5
  %26 = getelementptr inbounds %struct.ImGuiGroupData, ptr %25, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %26, ptr align 8 %24, i64 8, i1 false), !tbaa.struct !75
  %27 = load ptr, ptr %2, align 8, !tbaa !5
  %28 = getelementptr inbounds %struct.ImGuiWindow, ptr %27, i32 0, i32 51
  %29 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %28, i32 0, i32 3
  %30 = load ptr, ptr %3, align 8, !tbaa !5
  %31 = getelementptr inbounds %struct.ImGuiGroupData, ptr %30, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %31, ptr align 8 %29, i64 8, i1 false), !tbaa.struct !75
  %32 = load ptr, ptr %2, align 8, !tbaa !5
  %33 = getelementptr inbounds %struct.ImGuiWindow, ptr %32, i32 0, i32 51
  %34 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %33, i32 0, i32 8
  %35 = load ptr, ptr %3, align 8, !tbaa !5
  %36 = getelementptr inbounds %struct.ImGuiGroupData, ptr %35, i32 0, i32 2
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %36, ptr align 8 %34, i64 4, i1 false), !tbaa.struct !77
  %37 = load ptr, ptr %2, align 8, !tbaa !5
  %38 = getelementptr inbounds %struct.ImGuiWindow, ptr %37, i32 0, i32 51
  %39 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %38, i32 0, i32 10
  %40 = load ptr, ptr %3, align 8, !tbaa !5
  %41 = getelementptr inbounds %struct.ImGuiGroupData, ptr %40, i32 0, i32 3
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %41, ptr align 8 %39, i64 4, i1 false), !tbaa.struct !77
  %42 = load ptr, ptr %2, align 8, !tbaa !5
  %43 = getelementptr inbounds %struct.ImGuiWindow, ptr %42, i32 0, i32 51
  %44 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %43, i32 0, i32 4
  %45 = load ptr, ptr %3, align 8, !tbaa !5
  %46 = getelementptr inbounds %struct.ImGuiGroupData, ptr %45, i32 0, i32 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %46, ptr align 8 %44, i64 8, i1 false), !tbaa.struct !75
  %47 = load ptr, ptr %2, align 8, !tbaa !5
  %48 = getelementptr inbounds %struct.ImGuiWindow, ptr %47, i32 0, i32 51
  %49 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %48, i32 0, i32 6
  %50 = load float, ptr %49, align 8, !tbaa !78
  %51 = load ptr, ptr %3, align 8, !tbaa !5
  %52 = getelementptr inbounds %struct.ImGuiGroupData, ptr %51, i32 0, i32 5
  store float %50, ptr %52, align 4, !tbaa !79
  %53 = load ptr, ptr %1, align 8, !tbaa !5
  %54 = getelementptr inbounds %struct.ImGuiContext, ptr %53, i32 0, i32 44
  %55 = load i32, ptr %54, align 4, !tbaa !81
  %56 = load ptr, ptr %3, align 8, !tbaa !5
  %57 = getelementptr inbounds %struct.ImGuiGroupData, ptr %56, i32 0, i32 6
  store i32 %55, ptr %57, align 4, !tbaa !82
  %58 = load ptr, ptr %1, align 8, !tbaa !5
  %59 = getelementptr inbounds %struct.ImGuiContext, ptr %58, i32 0, i32 62
  %60 = load i8, ptr %59, align 4, !tbaa !83, !range !84, !noundef !85
  %61 = trunc i8 %60 to i1
  %62 = load ptr, ptr %3, align 8, !tbaa !5
  %63 = getelementptr inbounds %struct.ImGuiGroupData, ptr %62, i32 0, i32 7
  %64 = zext i1 %61 to i8
  store i8 %64, ptr %63, align 4, !tbaa !86
  %65 = load ptr, ptr %3, align 8, !tbaa !5
  %66 = getelementptr inbounds %struct.ImGuiGroupData, ptr %65, i32 0, i32 8
  store i8 1, ptr %66, align 1, !tbaa !87
  %67 = load ptr, ptr %2, align 8, !tbaa !5
  %68 = getelementptr inbounds %struct.ImGuiWindow, ptr %67, i32 0, i32 51
  %69 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %68, i32 0, i32 0
  %70 = getelementptr inbounds %struct.ImVec2, ptr %69, i32 0, i32 0
  %71 = load float, ptr %70, align 8, !tbaa !88
  %72 = load ptr, ptr %2, align 8, !tbaa !5
  %73 = getelementptr inbounds %struct.ImGuiWindow, ptr %72, i32 0, i32 3
  %74 = getelementptr inbounds %struct.ImVec2, ptr %73, i32 0, i32 0
  %75 = load float, ptr %74, align 8, !tbaa !89
  %76 = fsub float %71, %75
  %77 = load ptr, ptr %2, align 8, !tbaa !5
  %78 = getelementptr inbounds %struct.ImGuiWindow, ptr %77, i32 0, i32 51
  %79 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %78, i32 0, i32 9
  %80 = getelementptr inbounds %struct.ImVec1, ptr %79, i32 0, i32 0
  %81 = load float, ptr %80, align 4, !tbaa !90
  %82 = fsub float %76, %81
  %83 = load ptr, ptr %2, align 8, !tbaa !5
  %84 = getelementptr inbounds %struct.ImGuiWindow, ptr %83, i32 0, i32 51
  %85 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %84, i32 0, i32 10
  %86 = getelementptr inbounds %struct.ImVec1, ptr %85, i32 0, i32 0
  store float %82, ptr %86, align 8, !tbaa !91
  %87 = load ptr, ptr %2, align 8, !tbaa !5
  %88 = getelementptr inbounds %struct.ImGuiWindow, ptr %87, i32 0, i32 51
  %89 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %88, i32 0, i32 10
  %90 = load ptr, ptr %2, align 8, !tbaa !5
  %91 = getelementptr inbounds %struct.ImGuiWindow, ptr %90, i32 0, i32 51
  %92 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %91, i32 0, i32 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %92, ptr align 8 %89, i64 4, i1 false), !tbaa.struct !77
  %93 = load ptr, ptr %2, align 8, !tbaa !5
  %94 = getelementptr inbounds %struct.ImGuiWindow, ptr %93, i32 0, i32 51
  %95 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %94, i32 0, i32 0
  %96 = load ptr, ptr %2, align 8, !tbaa !5
  %97 = getelementptr inbounds %struct.ImGuiWindow, ptr %96, i32 0, i32 51
  %98 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %97, i32 0, i32 3
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %98, ptr align 8 %95, i64 8, i1 false), !tbaa.struct !75
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #6
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %4, float noundef 0.000000e+00, float noundef 0.000000e+00)
  %99 = load ptr, ptr %2, align 8, !tbaa !5
  %100 = getelementptr inbounds %struct.ImGuiWindow, ptr %99, i32 0, i32 51
  %101 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %100, i32 0, i32 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %101, ptr align 4 %4, i64 8, i1 false), !tbaa.struct !75
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #6
  %102 = load ptr, ptr %1, align 8, !tbaa !5
  %103 = getelementptr inbounds %struct.ImGuiContext, ptr %102, i32 0, i32 193
  %104 = load i8, ptr %103, align 8, !tbaa !92, !range !84, !noundef !85
  %105 = trunc i8 %104 to i1
  br i1 %105, label %106, label %109

106:                                              ; preds = %0
  %107 = load ptr, ptr %1, align 8, !tbaa !5
  %108 = getelementptr inbounds %struct.ImGuiContext, ptr %107, i32 0, i32 198
  store float 0xC7EFFFFFE0000000, ptr %108, align 8, !tbaa !93
  br label %109

109:                                              ; preds = %106, %0
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %2) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %1) #6
  ret void
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(42) ptr @_ZN8ImVectorI14ImGuiGroupDataE4backEv(ptr noundef nonnull align 8 dereferenceable(16)) #5 align 2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
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 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { 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 6800}
!10 = !{!"_ZTS12ImGuiContext", !11, i64 0, !11, i64 1, !12, i64 8, !18, i64 5480, !6, i64 6440, !15, i64 6448, !15, i64 6452, !19, i64 6456, !21, i64 6672, !13, i64 6680, !13, i64 6684, !13, i64 6688, !11, i64 6692, !11, i64 6693, !11, i64 6694, !11, i64 6695, !13, i64 6696, !6, i64 6704, !22, i64 6712, !22, i64 6728, !22, i64 6744, !22, i64 6760, !23, i64 6776, !13, i64 6792, !6, i64 6800, !6, i64 6808, !6, i64 6816, !6, i64 6824, !6, i64 6832, !6, i64 6840, !14, i64 6848, !15, i64 6856, !13, i64 6860, !13, i64 6864, !11, i64 6868, !11, i64 6869, !15, i64 6872, !15, i64 6876, !13, i64 6880, !13, i64 6884, !15, i64 6888, !11, i64 6892, !11, i64 6893, !11, i64 6894, !11, i64 6895, !11, i64 6896, !11, i64 6897, !13, i64 6900, !13, i64 6904, !25, i64 6912, !14, i64 6920, !6, i64 6928, !26, i64 6936, !13, i64 6940, !13, i64 6944, !11, i64 6948, !11, i64 6949, !6, i64 6952, !13, i64 6960, !15, i64 6964, !27, i64 6968, !29, i64 7080, !30, i64 7104, !31, i64 7120, !32, i64 7136, !33, i64 7152, !33, i64 7168, !6, i64 7184, !13, i64 7192, !13, i64 7196, !13, i64 7200, !13, i64 7204, !13, i64 7208, !13, i64 7212, !13, i64 7216, !13, i64 7220, !13, i64 7224, !13, i64 7228, !13, i64 7232, !26, i64 7236, !28, i64 7240, !13, i64 7256, !34, i64 7260, !13, i64 7264, !11, i64 7268, !11, i64 7269, !11, i64 7270, !11, i64 7271, !11, i64 7272, !11, i64 7273, !11, i64 7274, !13, i64 7276, !28, i64 7280, !11, i64 7296, !13, i64 7300, !35, i64 7304, !13, i64 7308, !13, i64 7312, !13, i64 7316, !13, i64 7320, !36, i64 7328, !36, i64 7376, !36, i64 7424, !6, i64 7472, !13, i64 7480, !6, i64 7488, !6, i64 7496, !6, i64 7504, !15, i64 7512, !15, i64 7516, !11, i64 7520, !6, i64 7528, !6, i64 7536, !13, i64 7544, !13, i64 7548, !13, i64 7552, !13, i64 7556, !11, i64 7560, !37, i64 7568, !38, i64 7624, !15, i64 7656, !39, i64 7664, !39, i64 7888, !13, i64 8112, !11, i64 8116, !11, i64 8117, !11, i64 8118, !13, i64 8120, !13, i64 8124, !13, i64 8128, !48, i64 8136, !28, i64 8200, !13, i64 8216, !13, i64 8220, !15, i64 8224, !13, i64 8228, !13, i64 8232, !13, i64 8236, !13, i64 8240, !49, i64 8248, !7, i64 8264, !6, i64 8280, !50, i64 8288, !52, i64 8328, !53, i64 8344, !14, i64 8360, !54, i64 8368, !58, i64 12096, !13, i64 12216, !13, i64 12220, !15, i64 12224, !15, i64 12228, !7, i64 12232, !20, i64 12244, !15, i64 12260, !11, i64 12264, !11, i64 12265, !15, i64 12268, !15, i64 12272, !15, i64 12276, !13, i64 12280, !55, i64 12288, !61, i64 12304, !14, i64 12320, !14, i64 12328, !7, i64 12336, !11, i64 12337, !15, i64 12340, !62, i64 12344, !63, i64 12360, !64, i64 12376, !11, i64 12392, !65, i64 12396, !6, i64 12400, !62, i64 12408, !15, i64 12424, !11, i64 12428, !13, i64 12432, !13, i64 12436, !13, i64 12440, !11, i64 12444, !13, i64 12448, !7, i64 12452, !13, i64 12932, !15, i64 12936, !13, i64 12940, !13, i64 12944, !13, i64 12948, !7, i64 12952}
!11 = !{!"bool", !7, i64 0}
!12 = !{!"_ZTS7ImGuiIO", !13, i64 0, !13, i64 4, !14, i64 8, !15, i64 16, !15, i64 20, !6, i64 24, !6, i64 32, !15, i64 40, !15, i64 44, !15, i64 48, !7, i64 52, !15, i64 140, !15, i64 144, !6, i64 152, !6, i64 160, !15, i64 168, !11, i64 172, !6, i64 176, !14, i64 184, !11, i64 192, !11, i64 193, !11, i64 194, !11, i64 195, !11, i64 196, !15, 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, !6, i64 288, !14, i64 296, !7, i64 304, !15, i64 312, !15, i64 316, !11, i64 320, !11, i64 321, !11, i64 322, !11, i64 323, !7, i64 324, !7, i64 836, !11, i64 920, !11, i64 921, !11, i64 922, !11, i64 923, !11, i64 924, !11, i64 925, !11, i64 926, !15, i64 928, !13, i64 932, !13, i64 936, !13, i64 940, !13, i64 944, !13, i64 948, !14, i64 952, !13, i64 960, !14, i64 964, !7, i64 972, !7, i64 1016, !7, i64 1056, !7, i64 1061, !7, i64 1066, !7, i64 1071, !7, i64 1076, !7, i64 1084, !7, i64 1104, !7, i64 1124, !7, i64 1164, !7, i64 1184, !7, i64 3232, !7, i64 5280, !7, i64 5364, !15, i64 5448, !16, i64 5452, !17, i64 5456}
!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 = !{!"_ZTS10ImGuiStyle", !15, i64 0, !14, i64 4, !15, i64 12, !15, i64 16, !14, i64 20, !14, i64 28, !13, i64 36, !15, i64 40, !15, i64 44, !15, i64 48, !15, i64 52, !14, i64 56, !15, i64 64, !15, i64 68, !14, i64 72, !14, i64 80, !14, i64 88, !15, i64 96, !15, i64 100, !15, i64 104, !15, i64 108, !15, i64 112, !15, i64 116, !15, i64 120, !15, i64 124, !15, i64 128, !15, i64 132, !13, i64 136, !14, i64 140, !14, i64 148, !14, i64 156, !14, i64 164, !15, i64 172, !11, i64 176, !11, i64 177, !11, i64 178, !15, i64 180, !15, i64 184, !7, i64 188}
!19 = !{!"_ZTS20ImDrawListSharedData", !14, i64 0, !6, i64 8, !15, i64 16, !15, i64 20, !15, i64 24, !20, i64 28, !13, i64 44, !7, i64 48, !7, i64 144, !6, i64 208}
!20 = !{!"_ZTS6ImVec4", !15, i64 0, !15, i64 4, !15, i64 8, !15, i64 12}
!21 = !{!"double", !7, i64 0}
!22 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !13, i64 0, !13, i64 4, !6, i64 8}
!23 = !{!"_ZTS12ImGuiStorage", !24, i64 0}
!24 = !{!"_ZTS8ImVectorIN12ImGuiStorage16ImGuiStoragePairEE", !13, i64 0, !13, i64 4, !6, i64 8}
!25 = !{!"long long", !7, i64 0}
!26 = !{!"_ZTS16ImGuiInputSource", !7, i64 0}
!27 = !{!"_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, !28, i64 60, !6, i64 80, !6, i64 88, !15, i64 96, !14, i64 100}
!28 = !{!"_ZTS6ImRect", !14, i64 0, !14, i64 8}
!29 = !{!"_ZTS17ImGuiNextItemData", !13, i64 0, !15, i64 4, !13, i64 8, !13, i64 12, !11, i64 16}
!30 = !{!"_ZTS8ImVectorI13ImGuiColorModE", !13, i64 0, !13, i64 4, !6, i64 8}
!31 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !13, i64 0, !13, i64 4, !6, i64 8}
!32 = !{!"_ZTS8ImVectorIP6ImFontE", !13, i64 0, !13, i64 4, !6, i64 8}
!33 = !{!"_ZTS8ImVectorI14ImGuiPopupDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!34 = !{!"_ZTS13ImGuiNavLayer", !7, i64 0}
!35 = !{!"_ZTS15ImGuiNavForward", !7, i64 0}
!36 = !{!"_ZTS18ImGuiNavMoveResult", !6, i64 0, !13, i64 8, !13, i64 12, !15, i64 16, !15, i64 20, !15, i64 24, !28, i64 28}
!37 = !{!"_ZTS10ImDrawData", !11, i64 0, !6, i64 8, !13, i64 16, !13, i64 20, !13, i64 24, !14, i64 28, !14, i64 36, !14, i64 44}
!38 = !{!"_ZTS17ImDrawDataBuilder", !7, i64 0}
!39 = !{!"_ZTS10ImDrawList", !40, i64 0, !17, i64 16, !41, i64 32, !13, i64 48, !6, i64 56, !6, i64 64, !13, i64 72, !6, i64 80, !6, i64 88, !42, i64 96, !43, i64 112, !44, i64 128, !45, i64 144, !46, i64 200}
!40 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !13, i64 0, !13, i64 4, !6, i64 8}
!41 = !{!"_ZTS8ImVectorI10ImDrawVertE", !13, i64 0, !13, i64 4, !6, i64 8}
!42 = !{!"_ZTS8ImVectorI6ImVec4E", !13, i64 0, !13, i64 4, !6, i64 8}
!43 = !{!"_ZTS8ImVectorIPvE", !13, i64 0, !13, i64 4, !6, i64 8}
!44 = !{!"_ZTS8ImVectorI6ImVec2E", !13, i64 0, !13, i64 4, !6, i64 8}
!45 = !{!"_ZTS9ImDrawCmd", !20, i64 0, !6, i64 16, !13, i64 24, !13, i64 28, !13, i64 32, !6, i64 40, !6, i64 48}
!46 = !{!"_ZTS18ImDrawListSplitter", !13, i64 0, !13, i64 4, !47, i64 8}
!47 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !13, i64 0, !13, i64 4, !6, i64 8}
!48 = !{!"_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}
!49 = !{!"_ZTS8ImVectorIhE", !13, i64 0, !13, i64 4, !6, i64 8}
!50 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !51, i64 0, !23, i64 16, !13, i64 32}
!51 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !13, i64 0, !13, i64 4, !6, i64 8}
!52 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !13, i64 0, !13, i64 4, !6, i64 8}
!53 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !13, i64 0, !13, i64 4, !6, i64 8}
!54 = !{!"_ZTS19ImGuiInputTextState", !13, i64 0, !13, i64 4, !13, i64 8, !17, i64 16, !55, i64 32, !55, i64 48, !11, i64 64, !13, i64 68, !15, i64 72, !56, i64 76, !15, i64 3696, !11, i64 3700, !11, i64 3701, !11, i64 3702, !13, i64 3704, !6, i64 3712, !6, i64 3720}
!55 = !{!"_ZTS8ImVectorIcE", !13, i64 0, !13, i64 4, !6, i64 8}
!56 = !{!"_ZTSN5ImStb17STB_TexteditStateE", !13, i64 0, !13, i64 4, !13, i64 8, !7, i64 12, !7, i64 13, !7, i64 14, !7, i64 15, !7, i64 16, !7, i64 17, !7, i64 18, !7, i64 19, !15, i64 20, !57, i64 24}
!57 = !{!"_ZTSN5ImStb12StbUndoStateE", !7, i64 0, !7, i64 1584, !16, i64 3582, !16, i64 3584, !13, i64 3588, !13, i64 3592}
!58 = !{!"_ZTS6ImFont", !59, i64 0, !15, i64 16, !15, i64 20, !17, i64 24, !60, i64 40, !6, i64 56, !14, i64 64, !6, i64 72, !6, i64 80, !16, i64 88, !16, i64 90, !16, i64 92, !11, i64 94, !15, i64 96, !15, i64 100, !15, i64 104, !13, i64 108, !7, i64 112}
!59 = !{!"_ZTS8ImVectorIfE", !13, i64 0, !13, i64 4, !6, i64 8}
!60 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !13, i64 0, !13, i64 4, !6, i64 8}
!61 = !{!"_ZTS8ImVectorIjE", !13, i64 0, !13, i64 4, !6, i64 8}
!62 = !{!"_ZTS15ImGuiTextBuffer", !55, i64 0}
!63 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !13, i64 0, !13, i64 4, !6, i64 8}
!64 = !{!"_ZTS13ImChunkStreamI19ImGuiWindowSettingsE", !55, i64 0}
!65 = !{!"_ZTS12ImGuiLogType", !7, i64 0}
!66 = !{!67, !13, i64 512}
!67 = !{!"_ZTS11ImGuiWindow", !6, i64 0, !13, i64 8, !13, i64 12, !14, i64 16, !14, i64 24, !14, i64 32, !14, i64 40, !14, i64 48, !14, i64 56, !15, i64 64, !15, i64 68, !13, i64 72, !13, i64 76, !13, i64 80, !14, i64 84, !14, i64 92, !14, i64 100, !14, i64 108, !14, i64 116, !14, i64 124, !11, i64 132, !11, i64 133, !11, i64 134, !11, i64 135, !11, i64 136, !11, i64 137, !11, i64 138, !11, i64 139, !11, i64 140, !11, i64 141, !11, i64 142, !11, i64 143, !7, i64 144, !16, i64 146, !16, i64 148, !16, i64 150, !13, i64 152, !7, i64 156, !7, i64 157, !7, i64 158, !11, i64 159, !13, i64 160, !13, i64 164, !13, i64 168, !13, i64 172, !13, i64 176, !13, i64 180, !14, i64 184, !14, i64 192, !61, i64 200, !68, i64 216, !28, i64 544, !28, i64 560, !28, i64 576, !28, i64 592, !28, i64 608, !28, i64 624, !28, i64 640, !73, i64 656, !73, i64 660, !13, i64 664, !15, i64 668, !15, i64 672, !23, i64 680, !74, i64 696, !15, i64 712, !13, i64 716, !6, i64 720, !39, i64 728, !6, i64 952, !6, i64 960, !6, i64 968, !6, i64 976, !6, i64 984, !7, i64 992, !7, i64 1000, !11, i64 1032, !13, i64 1036, !13, i64 1040}
!68 = !{!"_ZTS19ImGuiWindowTempData", !14, i64 0, !14, i64 8, !14, i64 16, !14, i64 24, !14, i64 32, !14, i64 40, !15, i64 48, !15, i64 52, !69, i64 56, !69, i64 60, !69, i64 64, !13, i64 68, !13, i64 72, !28, i64 76, !28, i64 92, !34, i64 108, !13, i64 112, !13, i64 116, !13, i64 120, !13, i64 124, !11, i64 128, !11, i64 129, !11, i64 130, !14, i64 132, !70, i64 140, !13, i64 176, !13, i64 180, !22, i64 184, !6, i64 200, !6, i64 208, !13, i64 216, !13, i64 220, !13, i64 224, !13, i64 228, !13, i64 232, !15, i64 236, !15, i64 240, !71, i64 248, !59, i64 264, !59, i64 280, !72, i64 296, !7, i64 312}
!69 = !{!"_ZTS6ImVec1", !15, i64 0}
!70 = !{!"_ZTS16ImGuiMenuColumns", !15, i64 0, !15, i64 4, !15, i64 8, !7, i64 12, !7, i64 24}
!71 = !{!"_ZTS8ImVectorIiE", !13, i64 0, !13, i64 4, !6, i64 8}
!72 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!73 = !{!"_ZTS8ImVec2ih", !16, i64 0, !16, i64 2}
!74 = !{!"_ZTS8ImVectorI12ImGuiColumnsE", !13, i64 0, !13, i64 4, !6, i64 8}
!75 = !{i64 0, i64 4, !76, i64 4, i64 4, !76}
!76 = !{!15, !15, i64 0}
!77 = !{i64 0, i64 4, !76}
!78 = !{!67, !15, i64 264}
!79 = !{!80, !15, i64 32}
!80 = !{!"_ZTS14ImGuiGroupData", !14, i64 0, !14, i64 8, !69, i64 16, !69, i64 20, !14, i64 24, !15, i64 32, !13, i64 36, !11, i64 40, !11, i64 41}
!81 = !{!10, !13, i64 6884}
!82 = !{!80, !13, i64 36}
!83 = !{!10, !11, i64 6948}
!84 = !{i8 0, i8 2}
!85 = !{}
!86 = !{!80, !11, i64 40}
!87 = !{!80, !11, i64 41}
!88 = !{!67, !15, i64 216}
!89 = !{!67, !15, i64 16}
!90 = !{!67, !15, i64 276}
!91 = !{!67, !15, i64 280}
!92 = !{!10, !11, i64 12392}
!93 = !{!10, !15, i64 12424}


; 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.ImVec2 = type { float, float }

@GImGui = external dso_local local_unnamed_addr global ptr, align 8

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8), float noundef, float noundef) unnamed_addr #1 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN8ImVectorI14ImGuiGroupDataE6resizeEi(ptr noundef nonnull align 8 dereferenceable(16), i32 noundef) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN5ImGui10BeginGroupEv() local_unnamed_addr #3 {
  %1 = alloca %struct.ImVec2, align 8
  %2 = load ptr, ptr @GImGui, align 8, !tbaa !5
  %3 = getelementptr inbounds i8, ptr %2, i64 6800
  %4 = load ptr, ptr %3, align 8, !tbaa !9
  %5 = getelementptr inbounds i8, ptr %4, i64 216
  %6 = getelementptr inbounds i8, ptr %4, i64 512
  %7 = load i32, ptr %6, align 8, !tbaa !66
  %8 = add nsw i32 %7, 1
  tail call void @_ZN8ImVectorI14ImGuiGroupDataE6resizeEi(ptr noundef nonnull align 8 dereferenceable(16) %6, i32 noundef %8)
  %9 = tail call noundef nonnull align 4 dereferenceable(42) ptr @_ZN8ImVectorI14ImGuiGroupDataE4backEv(ptr noundef nonnull align 8 dereferenceable(16) %6)
  %10 = load i64, ptr %5, align 8
  store i64 %10, ptr %9, align 4
  %11 = getelementptr inbounds i8, ptr %4, i64 240
  %12 = getelementptr inbounds i8, ptr %9, i64 8
  %13 = load i64, ptr %11, align 8
  store i64 %13, ptr %12, align 4
  %14 = getelementptr inbounds i8, ptr %4, i64 272
  %15 = getelementptr inbounds i8, ptr %9, i64 16
  %16 = load i32, ptr %14, align 8, !tbaa !75
  store i32 %16, ptr %15, align 4, !tbaa !75
  %17 = getelementptr inbounds i8, ptr %4, i64 280
  %18 = getelementptr inbounds i8, ptr %9, i64 20
  %19 = load i32, ptr %17, align 8, !tbaa !75
  store i32 %19, ptr %18, align 4, !tbaa !75
  %20 = getelementptr inbounds i8, ptr %4, i64 248
  %21 = getelementptr inbounds i8, ptr %9, i64 24
  %22 = load i64, ptr %20, align 8
  store i64 %22, ptr %21, align 4
  %23 = getelementptr inbounds i8, ptr %4, i64 264
  %24 = load float, ptr %23, align 8, !tbaa !76
  %25 = getelementptr inbounds i8, ptr %9, i64 32
  store float %24, ptr %25, align 4, !tbaa !77
  %26 = getelementptr inbounds i8, ptr %2, i64 6884
  %27 = load i32, ptr %26, align 4, !tbaa !79
  %28 = getelementptr inbounds i8, ptr %9, i64 36
  store i32 %27, ptr %28, align 4, !tbaa !80
  %29 = getelementptr inbounds i8, ptr %2, i64 6948
  %30 = load i8, ptr %29, align 4, !tbaa !81, !range !82, !noundef !83
  %31 = getelementptr inbounds i8, ptr %9, i64 40
  store i8 %30, ptr %31, align 4, !tbaa !84
  %32 = getelementptr inbounds i8, ptr %9, i64 41
  store i8 1, ptr %32, align 1, !tbaa !85
  %33 = load float, ptr %5, align 8, !tbaa !86
  %34 = getelementptr inbounds i8, ptr %4, i64 16
  %35 = load float, ptr %34, align 8, !tbaa !87
  %36 = fsub float %33, %35
  %37 = getelementptr inbounds i8, ptr %4, i64 276
  %38 = load float, ptr %37, align 4, !tbaa !88
  %39 = fsub float %36, %38
  store float %39, ptr %17, align 8, !tbaa !89
  store float %39, ptr %14, align 8, !tbaa !75
  %40 = load i64, ptr %5, align 8
  store i64 %40, ptr %11, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %1) #5
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %1, float noundef 0.000000e+00, float noundef 0.000000e+00)
  %41 = load i64, ptr %1, align 8
  store i64 %41, ptr %20, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #5
  %42 = getelementptr inbounds i8, ptr %2, i64 12392
  %43 = load i8, ptr %42, align 8, !tbaa !90, !range !82, !noundef !83
  %44 = trunc nuw i8 %43 to i1
  br i1 %44, label %45, label %47

45:                                               ; preds = %0
  %46 = getelementptr inbounds i8, ptr %2, i64 12424
  store float 0xC7EFFFFFE0000000, ptr %46, align 8, !tbaa !91
  br label %47

47:                                               ; preds = %45, %0
  ret void
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(42) ptr @_ZN8ImVectorI14ImGuiGroupDataE4backEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #4 align 2

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 #3 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { 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 6800}
!10 = !{!"_ZTS12ImGuiContext", !11, i64 0, !11, i64 1, !12, i64 8, !18, i64 5480, !6, i64 6440, !15, i64 6448, !15, i64 6452, !19, i64 6456, !21, i64 6672, !13, i64 6680, !13, i64 6684, !13, i64 6688, !11, i64 6692, !11, i64 6693, !11, i64 6694, !11, i64 6695, !13, i64 6696, !6, i64 6704, !22, i64 6712, !22, i64 6728, !22, i64 6744, !22, i64 6760, !23, i64 6776, !13, i64 6792, !6, i64 6800, !6, i64 6808, !6, i64 6816, !6, i64 6824, !6, i64 6832, !6, i64 6840, !14, i64 6848, !15, i64 6856, !13, i64 6860, !13, i64 6864, !11, i64 6868, !11, i64 6869, !15, i64 6872, !15, i64 6876, !13, i64 6880, !13, i64 6884, !15, i64 6888, !11, i64 6892, !11, i64 6893, !11, i64 6894, !11, i64 6895, !11, i64 6896, !11, i64 6897, !13, i64 6900, !13, i64 6904, !25, i64 6912, !14, i64 6920, !6, i64 6928, !26, i64 6936, !13, i64 6940, !13, i64 6944, !11, i64 6948, !11, i64 6949, !6, i64 6952, !13, i64 6960, !15, i64 6964, !27, i64 6968, !29, i64 7080, !30, i64 7104, !31, i64 7120, !32, i64 7136, !33, i64 7152, !33, i64 7168, !6, i64 7184, !13, i64 7192, !13, i64 7196, !13, i64 7200, !13, i64 7204, !13, i64 7208, !13, i64 7212, !13, i64 7216, !13, i64 7220, !13, i64 7224, !13, i64 7228, !13, i64 7232, !26, i64 7236, !28, i64 7240, !13, i64 7256, !34, i64 7260, !13, i64 7264, !11, i64 7268, !11, i64 7269, !11, i64 7270, !11, i64 7271, !11, i64 7272, !11, i64 7273, !11, i64 7274, !13, i64 7276, !28, i64 7280, !11, i64 7296, !13, i64 7300, !35, i64 7304, !13, i64 7308, !13, i64 7312, !13, i64 7316, !13, i64 7320, !36, i64 7328, !36, i64 7376, !36, i64 7424, !6, i64 7472, !13, i64 7480, !6, i64 7488, !6, i64 7496, !6, i64 7504, !15, i64 7512, !15, i64 7516, !11, i64 7520, !6, i64 7528, !6, i64 7536, !13, i64 7544, !13, i64 7548, !13, i64 7552, !13, i64 7556, !11, i64 7560, !37, i64 7568, !38, i64 7624, !15, i64 7656, !39, i64 7664, !39, i64 7888, !13, i64 8112, !11, i64 8116, !11, i64 8117, !11, i64 8118, !13, i64 8120, !13, i64 8124, !13, i64 8128, !48, i64 8136, !28, i64 8200, !13, i64 8216, !13, i64 8220, !15, i64 8224, !13, i64 8228, !13, i64 8232, !13, i64 8236, !13, i64 8240, !49, i64 8248, !7, i64 8264, !6, i64 8280, !50, i64 8288, !52, i64 8328, !53, i64 8344, !14, i64 8360, !54, i64 8368, !58, i64 12096, !13, i64 12216, !13, i64 12220, !15, i64 12224, !15, i64 12228, !7, i64 12232, !20, i64 12244, !15, i64 12260, !11, i64 12264, !11, i64 12265, !15, i64 12268, !15, i64 12272, !15, i64 12276, !13, i64 12280, !55, i64 12288, !61, i64 12304, !14, i64 12320, !14, i64 12328, !7, i64 12336, !11, i64 12337, !15, i64 12340, !62, i64 12344, !63, i64 12360, !64, i64 12376, !11, i64 12392, !65, i64 12396, !6, i64 12400, !62, i64 12408, !15, i64 12424, !11, i64 12428, !13, i64 12432, !13, i64 12436, !13, i64 12440, !11, i64 12444, !13, i64 12448, !7, i64 12452, !13, i64 12932, !15, i64 12936, !13, i64 12940, !13, i64 12944, !13, i64 12948, !7, i64 12952}
!11 = !{!"bool", !7, i64 0}
!12 = !{!"_ZTS7ImGuiIO", !13, i64 0, !13, i64 4, !14, i64 8, !15, i64 16, !15, i64 20, !6, i64 24, !6, i64 32, !15, i64 40, !15, i64 44, !15, i64 48, !7, i64 52, !15, i64 140, !15, i64 144, !6, i64 152, !6, i64 160, !15, i64 168, !11, i64 172, !6, i64 176, !14, i64 184, !11, i64 192, !11, i64 193, !11, i64 194, !11, i64 195, !11, i64 196, !15, 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, !6, i64 288, !14, i64 296, !7, i64 304, !15, i64 312, !15, i64 316, !11, i64 320, !11, i64 321, !11, i64 322, !11, i64 323, !7, i64 324, !7, i64 836, !11, i64 920, !11, i64 921, !11, i64 922, !11, i64 923, !11, i64 924, !11, i64 925, !11, i64 926, !15, i64 928, !13, i64 932, !13, i64 936, !13, i64 940, !13, i64 944, !13, i64 948, !14, i64 952, !13, i64 960, !14, i64 964, !7, i64 972, !7, i64 1016, !7, i64 1056, !7, i64 1061, !7, i64 1066, !7, i64 1071, !7, i64 1076, !7, i64 1084, !7, i64 1104, !7, i64 1124, !7, i64 1164, !7, i64 1184, !7, i64 3232, !7, i64 5280, !7, i64 5364, !15, i64 5448, !16, i64 5452, !17, i64 5456}
!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 = !{!"_ZTS10ImGuiStyle", !15, i64 0, !14, i64 4, !15, i64 12, !15, i64 16, !14, i64 20, !14, i64 28, !13, i64 36, !15, i64 40, !15, i64 44, !15, i64 48, !15, i64 52, !14, i64 56, !15, i64 64, !15, i64 68, !14, i64 72, !14, i64 80, !14, i64 88, !15, i64 96, !15, i64 100, !15, i64 104, !15, i64 108, !15, i64 112, !15, i64 116, !15, i64 120, !15, i64 124, !15, i64 128, !15, i64 132, !13, i64 136, !14, i64 140, !14, i64 148, !14, i64 156, !14, i64 164, !15, i64 172, !11, i64 176, !11, i64 177, !11, i64 178, !15, i64 180, !15, i64 184, !7, i64 188}
!19 = !{!"_ZTS20ImDrawListSharedData", !14, i64 0, !6, i64 8, !15, i64 16, !15, i64 20, !15, i64 24, !20, i64 28, !13, i64 44, !7, i64 48, !7, i64 144, !6, i64 208}
!20 = !{!"_ZTS6ImVec4", !15, i64 0, !15, i64 4, !15, i64 8, !15, i64 12}
!21 = !{!"double", !7, i64 0}
!22 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !13, i64 0, !13, i64 4, !6, i64 8}
!23 = !{!"_ZTS12ImGuiStorage", !24, i64 0}
!24 = !{!"_ZTS8ImVectorIN12ImGuiStorage16ImGuiStoragePairEE", !13, i64 0, !13, i64 4, !6, i64 8}
!25 = !{!"long long", !7, i64 0}
!26 = !{!"_ZTS16ImGuiInputSource", !7, i64 0}
!27 = !{!"_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, !28, i64 60, !6, i64 80, !6, i64 88, !15, i64 96, !14, i64 100}
!28 = !{!"_ZTS6ImRect", !14, i64 0, !14, i64 8}
!29 = !{!"_ZTS17ImGuiNextItemData", !13, i64 0, !15, i64 4, !13, i64 8, !13, i64 12, !11, i64 16}
!30 = !{!"_ZTS8ImVectorI13ImGuiColorModE", !13, i64 0, !13, i64 4, !6, i64 8}
!31 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !13, i64 0, !13, i64 4, !6, i64 8}
!32 = !{!"_ZTS8ImVectorIP6ImFontE", !13, i64 0, !13, i64 4, !6, i64 8}
!33 = !{!"_ZTS8ImVectorI14ImGuiPopupDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!34 = !{!"_ZTS13ImGuiNavLayer", !7, i64 0}
!35 = !{!"_ZTS15ImGuiNavForward", !7, i64 0}
!36 = !{!"_ZTS18ImGuiNavMoveResult", !6, i64 0, !13, i64 8, !13, i64 12, !15, i64 16, !15, i64 20, !15, i64 24, !28, i64 28}
!37 = !{!"_ZTS10ImDrawData", !11, i64 0, !6, i64 8, !13, i64 16, !13, i64 20, !13, i64 24, !14, i64 28, !14, i64 36, !14, i64 44}
!38 = !{!"_ZTS17ImDrawDataBuilder", !7, i64 0}
!39 = !{!"_ZTS10ImDrawList", !40, i64 0, !17, i64 16, !41, i64 32, !13, i64 48, !6, i64 56, !6, i64 64, !13, i64 72, !6, i64 80, !6, i64 88, !42, i64 96, !43, i64 112, !44, i64 128, !45, i64 144, !46, i64 200}
!40 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !13, i64 0, !13, i64 4, !6, i64 8}
!41 = !{!"_ZTS8ImVectorI10ImDrawVertE", !13, i64 0, !13, i64 4, !6, i64 8}
!42 = !{!"_ZTS8ImVectorI6ImVec4E", !13, i64 0, !13, i64 4, !6, i64 8}
!43 = !{!"_ZTS8ImVectorIPvE", !13, i64 0, !13, i64 4, !6, i64 8}
!44 = !{!"_ZTS8ImVectorI6ImVec2E", !13, i64 0, !13, i64 4, !6, i64 8}
!45 = !{!"_ZTS9ImDrawCmd", !20, i64 0, !6, i64 16, !13, i64 24, !13, i64 28, !13, i64 32, !6, i64 40, !6, i64 48}
!46 = !{!"_ZTS18ImDrawListSplitter", !13, i64 0, !13, i64 4, !47, i64 8}
!47 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !13, i64 0, !13, i64 4, !6, i64 8}
!48 = !{!"_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}
!49 = !{!"_ZTS8ImVectorIhE", !13, i64 0, !13, i64 4, !6, i64 8}
!50 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !51, i64 0, !23, i64 16, !13, i64 32}
!51 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !13, i64 0, !13, i64 4, !6, i64 8}
!52 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !13, i64 0, !13, i64 4, !6, i64 8}
!53 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !13, i64 0, !13, i64 4, !6, i64 8}
!54 = !{!"_ZTS19ImGuiInputTextState", !13, i64 0, !13, i64 4, !13, i64 8, !17, i64 16, !55, i64 32, !55, i64 48, !11, i64 64, !13, i64 68, !15, i64 72, !56, i64 76, !15, i64 3696, !11, i64 3700, !11, i64 3701, !11, i64 3702, !13, i64 3704, !6, i64 3712, !6, i64 3720}
!55 = !{!"_ZTS8ImVectorIcE", !13, i64 0, !13, i64 4, !6, i64 8}
!56 = !{!"_ZTSN5ImStb17STB_TexteditStateE", !13, i64 0, !13, i64 4, !13, i64 8, !7, i64 12, !7, i64 13, !7, i64 14, !7, i64 15, !7, i64 16, !7, i64 17, !7, i64 18, !7, i64 19, !15, i64 20, !57, i64 24}
!57 = !{!"_ZTSN5ImStb12StbUndoStateE", !7, i64 0, !7, i64 1584, !16, i64 3582, !16, i64 3584, !13, i64 3588, !13, i64 3592}
!58 = !{!"_ZTS6ImFont", !59, i64 0, !15, i64 16, !15, i64 20, !17, i64 24, !60, i64 40, !6, i64 56, !14, i64 64, !6, i64 72, !6, i64 80, !16, i64 88, !16, i64 90, !16, i64 92, !11, i64 94, !15, i64 96, !15, i64 100, !15, i64 104, !13, i64 108, !7, i64 112}
!59 = !{!"_ZTS8ImVectorIfE", !13, i64 0, !13, i64 4, !6, i64 8}
!60 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !13, i64 0, !13, i64 4, !6, i64 8}
!61 = !{!"_ZTS8ImVectorIjE", !13, i64 0, !13, i64 4, !6, i64 8}
!62 = !{!"_ZTS15ImGuiTextBuffer", !55, i64 0}
!63 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !13, i64 0, !13, i64 4, !6, i64 8}
!64 = !{!"_ZTS13ImChunkStreamI19ImGuiWindowSettingsE", !55, i64 0}
!65 = !{!"_ZTS12ImGuiLogType", !7, i64 0}
!66 = !{!67, !13, i64 512}
!67 = !{!"_ZTS11ImGuiWindow", !6, i64 0, !13, i64 8, !13, i64 12, !14, i64 16, !14, i64 24, !14, i64 32, !14, i64 40, !14, i64 48, !14, i64 56, !15, i64 64, !15, i64 68, !13, i64 72, !13, i64 76, !13, i64 80, !14, i64 84, !14, i64 92, !14, i64 100, !14, i64 108, !14, i64 116, !14, i64 124, !11, i64 132, !11, i64 133, !11, i64 134, !11, i64 135, !11, i64 136, !11, i64 137, !11, i64 138, !11, i64 139, !11, i64 140, !11, i64 141, !11, i64 142, !11, i64 143, !7, i64 144, !16, i64 146, !16, i64 148, !16, i64 150, !13, i64 152, !7, i64 156, !7, i64 157, !7, i64 158, !11, i64 159, !13, i64 160, !13, i64 164, !13, i64 168, !13, i64 172, !13, i64 176, !13, i64 180, !14, i64 184, !14, i64 192, !61, i64 200, !68, i64 216, !28, i64 544, !28, i64 560, !28, i64 576, !28, i64 592, !28, i64 608, !28, i64 624, !28, i64 640, !73, i64 656, !73, i64 660, !13, i64 664, !15, i64 668, !15, i64 672, !23, i64 680, !74, i64 696, !15, i64 712, !13, i64 716, !6, i64 720, !39, i64 728, !6, i64 952, !6, i64 960, !6, i64 968, !6, i64 976, !6, i64 984, !7, i64 992, !7, i64 1000, !11, i64 1032, !13, i64 1036, !13, i64 1040}
!68 = !{!"_ZTS19ImGuiWindowTempData", !14, i64 0, !14, i64 8, !14, i64 16, !14, i64 24, !14, i64 32, !14, i64 40, !15, i64 48, !15, i64 52, !69, i64 56, !69, i64 60, !69, i64 64, !13, i64 68, !13, i64 72, !28, i64 76, !28, i64 92, !34, i64 108, !13, i64 112, !13, i64 116, !13, i64 120, !13, i64 124, !11, i64 128, !11, i64 129, !11, i64 130, !14, i64 132, !70, i64 140, !13, i64 176, !13, i64 180, !22, i64 184, !6, i64 200, !6, i64 208, !13, i64 216, !13, i64 220, !13, i64 224, !13, i64 228, !13, i64 232, !15, i64 236, !15, i64 240, !71, i64 248, !59, i64 264, !59, i64 280, !72, i64 296, !7, i64 312}
!69 = !{!"_ZTS6ImVec1", !15, i64 0}
!70 = !{!"_ZTS16ImGuiMenuColumns", !15, i64 0, !15, i64 4, !15, i64 8, !7, i64 12, !7, i64 24}
!71 = !{!"_ZTS8ImVectorIiE", !13, i64 0, !13, i64 4, !6, i64 8}
!72 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!73 = !{!"_ZTS8ImVec2ih", !16, i64 0, !16, i64 2}
!74 = !{!"_ZTS8ImVectorI12ImGuiColumnsE", !13, i64 0, !13, i64 4, !6, i64 8}
!75 = !{!15, !15, i64 0}
!76 = !{!67, !15, i64 264}
!77 = !{!78, !15, i64 32}
!78 = !{!"_ZTS14ImGuiGroupData", !14, i64 0, !14, i64 8, !69, i64 16, !69, i64 20, !14, i64 24, !15, i64 32, !13, i64 36, !11, i64 40, !11, i64 41}
!79 = !{!10, !13, i64 6884}
!80 = !{!78, !13, i64 36}
!81 = !{!10, !11, i64 6948}
!82 = !{i8 0, i8 2}
!83 = !{}
!84 = !{!78, !11, i64 40}
!85 = !{!78, !11, i64 41}
!86 = !{!67, !15, i64 216}
!87 = !{!67, !15, i64 16}
!88 = !{!67, !15, i64 276}
!89 = !{!67, !15, i64 280}
!90 = !{!10, !11, i64 12392}
!91 = !{!10, !15, i64 12424}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,SROAPass,TailCallElimPass