; LLVM IR from Samson-Mano/EM_Propogation_simulation :: EM_Propogation_simulation/src/ImGui (imgui)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

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

@GImGui = external dso_local global ptr, align 8

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

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

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

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

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

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

15:                                               ; preds = %1
  %16 = load ptr, ptr %4, align 8, !tbaa !5
  %17 = getelementptr inbounds %struct.ImGuiWindow, ptr %16, i32 0, i32 84
  %18 = load ptr, ptr %17, align 8, !tbaa !9
  %19 = load ptr, ptr %2, align 8, !tbaa !5
  %20 = icmp eq ptr %18, %19
  br i1 %20, label %21, label %22

21:                                               ; preds = %15, %1
  store i32 1, ptr %5, align 4
  br label %74

22:                                               ; preds = %15
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #4
  %23 = load ptr, ptr %3, align 8, !tbaa !5
  %24 = getelementptr inbounds %struct.ImGuiContext, ptr %23, i32 0, i32 22
  %25 = getelementptr inbounds %struct.ImVector.2, ptr %24, i32 0, i32 0
  %26 = load i32, ptr %25, align 8, !tbaa !39
  %27 = sub nsw i32 %26, 2
  store i32 %27, ptr %6, align 4, !tbaa !91
  br label %28

28:                                               ; preds = %69, %22
  %29 = load i32, ptr %6, align 4, !tbaa !91
  %30 = icmp sge i32 %29, 0
  br i1 %30, label %32, label %31

31:                                               ; preds = %28
  store i32 2, ptr %5, align 4
  br label %72

32:                                               ; preds = %28
  %33 = load ptr, ptr %3, align 8, !tbaa !5
  %34 = getelementptr inbounds %struct.ImGuiContext, ptr %33, i32 0, i32 22
  %35 = load i32, ptr %6, align 4, !tbaa !91
  %36 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8ImVectorIP11ImGuiWindowEixEi(ptr noundef nonnull align 8 dereferenceable(16) %34, i32 noundef %35)
  %37 = load ptr, ptr %36, align 8, !tbaa !5
  %38 = load ptr, ptr %2, align 8, !tbaa !5
  %39 = icmp eq ptr %37, %38
  br i1 %39, label %40, label %68

40:                                               ; preds = %32
  %41 = load ptr, ptr %3, align 8, !tbaa !5
  %42 = getelementptr inbounds %struct.ImGuiContext, ptr %41, i32 0, i32 22
  %43 = load i32, ptr %6, align 4, !tbaa !91
  %44 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8ImVectorIP11ImGuiWindowEixEi(ptr noundef nonnull align 8 dereferenceable(16) %42, i32 noundef %43)
  %45 = load ptr, ptr %3, align 8, !tbaa !5
  %46 = getelementptr inbounds %struct.ImGuiContext, ptr %45, i32 0, i32 22
  %47 = load i32, ptr %6, align 4, !tbaa !91
  %48 = add nsw i32 %47, 1
  %49 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8ImVectorIP11ImGuiWindowEixEi(ptr noundef nonnull align 8 dereferenceable(16) %46, i32 noundef %48)
  %50 = load ptr, ptr %3, align 8, !tbaa !5
  %51 = getelementptr inbounds %struct.ImGuiContext, ptr %50, i32 0, i32 22
  %52 = getelementptr inbounds %struct.ImVector.2, ptr %51, i32 0, i32 0
  %53 = load i32, ptr %52, align 8, !tbaa !39
  %54 = load i32, ptr %6, align 4, !tbaa !91
  %55 = sub nsw i32 %53, %54
  %56 = sub nsw i32 %55, 1
  %57 = sext i32 %56 to i64
  %58 = mul i64 %57, 8
  call void @llvm.memmove.p0.p0.i64(ptr align 8 %44, ptr align 8 %49, i64 %58, i1 false)
  %59 = load ptr, ptr %2, align 8, !tbaa !5
  %60 = load ptr, ptr %3, align 8, !tbaa !5
  %61 = getelementptr inbounds %struct.ImGuiContext, ptr %60, i32 0, i32 22
  %62 = load ptr, ptr %3, align 8, !tbaa !5
  %63 = getelementptr inbounds %struct.ImGuiContext, ptr %62, i32 0, i32 22
  %64 = getelementptr inbounds %struct.ImVector.2, ptr %63, i32 0, i32 0
  %65 = load i32, ptr %64, align 8, !tbaa !39
  %66 = sub nsw i32 %65, 1
  %67 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8ImVectorIP11ImGuiWindowEixEi(ptr noundef nonnull align 8 dereferenceable(16) %61, i32 noundef %66)
  store ptr %59, ptr %67, align 8, !tbaa !5
  store i32 2, ptr %5, align 4
  br label %72

68:                                               ; preds = %32
  br label %69

69:                                               ; preds = %68
  %70 = load i32, ptr %6, align 4, !tbaa !91
  %71 = add nsw i32 %70, -1
  store i32 %71, ptr %6, align 4, !tbaa !91
  br label %28, !llvm.loop !92

72:                                               ; preds = %40, %31
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #4
  br label %73

73:                                               ; preds = %72
  store i32 0, ptr %5, align 4
  br label %74

74:                                               ; preds = %73, %21
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #4
  %75 = load i32, ptr %5, align 4
  switch i32 %75, label %77 [
    i32 0, label %76
    i32 1, label %76
  ]

76:                                               ; preds = %74, %74
  ret void

77:                                               ; preds = %74
  unreachable
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #3 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }

!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 888}
!10 = !{!"_ZTS11ImGuiWindow", !6, i64 0, !6, i64 8, !11, i64 16, !11, i64 20, !6, i64 24, !12, i64 32, !12, i64 40, !12, i64 48, !12, i64 56, !12, i64 64, !12, i64 72, !12, i64 80, !13, i64 88, !13, i64 92, !13, i64 96, !13, i64 100, !13, i64 104, !13, i64 108, !13, i64 112, !13, i64 116, !11, i64 120, !11, i64 124, !11, i64 128, !12, i64 132, !12, i64 140, !12, i64 148, !12, i64 156, !12, i64 164, !12, i64 172, !14, i64 180, !14, i64 181, !14, i64 182, !14, i64 183, !14, i64 184, !14, i64 185, !14, i64 186, !14, i64 187, !14, i64 188, !14, i64 189, !14, i64 190, !14, i64 191, !14, i64 192, !7, i64 193, !15, i64 194, !15, i64 196, !15, i64 198, !15, i64 200, !15, i64 202, !11, i64 204, !7, i64 208, !7, i64 209, !7, i64 210, !14, i64 211, !11, i64 212, !7, i64 216, !7, i64 217, !7, i64 218, !7, i64 219, !11, i64 220, !11, i64 221, !11, i64 222, !12, i64 224, !12, i64 232, !16, i64 240, !17, i64 256, !23, i64 488, !23, i64 504, !23, i64 520, !23, i64 536, !23, i64 552, !23, i64 568, !23, i64 584, !24, i64 600, !24, i64 604, !11, i64 608, !13, i64 612, !13, i64 616, !25, i64 624, !27, i64 640, !13, i64 656, !11, i64 660, !6, i64 664, !28, i64 672, !6, i64 872, !6, i64 880, !6, i64 888, !6, i64 896, !6, i64 904, !6, i64 912, !6, i64 920, !7, i64 928, !7, i64 936, !11, i64 968, !11, i64 972, !11, i64 976, !14, i64 980}
!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, !14, i64 64, !14, i64 65, !18, i64 68, !18, i64 72, !18, i64 76, !12, i64 80, !19, i64 88, !15, i64 92, !15, i64 94, !14, i64 96, !14, i64 97, !14, i64 98, !14, i64 99, !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, !11, i64 15984}
!40 = !{!"_ZTS12ImGuiContext", !14, i64 0, !14, i64 1, !41, i64 8, !43, i64 14288, !6, i64 15360, !13, i64 15368, !13, i64 15372, !44, i64 15376, !45, i64 15904, !11, i64 15912, !11, i64 15916, !11, i64 15920, !14, i64 15924, !14, i64 15925, !14, i64 15926, !14, i64 15927, !14, i64 15928, !6, i64 15936, !46, i64 15944, !46, i64 15960, !42, i64 15976, !11, i64 15980, !21, i64 15984, !21, i64 16000, !21, i64 16016, !47, i64 16032, !25, i64 16048, !11, i64 16064, !12, i64 16068, !6, i64 16080, !6, i64 16088, !6, i64 16096, !6, i64 16104, !6, i64 16112, !12, i64 16120, !11, i64 16128, !13, i64 16132, !12, i64 16136, !12, i64 16144, !11, i64 16152, !11, i64 16156, !11, i64 16160, !14, i64 16164, !14, i64 16165, !13, i64 16168, !13, i64 16172, !11, i64 16176, !11, i64 16180, !13, i64 16184, !14, i64 16188, !14, i64 16189, !14, i64 16190, !14, i64 16191, !14, i64 16192, !14, i64 16193, !12, i64 16196, !6, i64 16208, !48, i64 16216, !11, i64 16220, !11, i64 16224, !14, i64 16228, !14, i64 16229, !6, i64 16232, !11, i64 16240, !13, i64 16244, !7, i64 16248, !49, i64 17928, !11, i64 18240, !14, i64 18244, !11, i64 18248, !11, i64 18252, !11, i64 18256, !11, i64 18260, !51, i64 18264, !52, i64 18284, !53, i64 18344, !54, i64 18456, !55, i64 18472, !56, i64 18488, !16, i64 18504, !57, i64 18520, !58, i64 18536, !59, i64 18552, !59, i64 18568, !11, i64 18584, !60, i64 18592, !6, i64 18608, !11, i64 18616, !11, i64 18620, !11, i64 18624, !11, i64 18628, !11, i64 18632, !11, i64 18636, !11, i64 18640, !11, i64 18644, !11, i64 18648, !11, i64 18652, !11, i64 18656, !48, i64 18660, !19, i64 18664, !14, i64 18668, !14, i64 18669, !14, i64 18670, !14, i64 18671, !14, i64 18672, !14, i64 18673, !14, i64 18674, !11, i64 18676, !23, i64 18680, !14, i64 18696, !14, i64 18697, !14, i64 18698, !11, i64 18700, !11, i64 18704, !11, i64 18708, !11, i64 18712, !11, i64 18716, !11, i64 18720, !23, i64 18724, !23, i64 18740, !11, i64 18756, !11, i64 18760, !11, i64 18764, !61, i64 18768, !61, i64 18816, !61, i64 18864, !61, i64 18912, !11, i64 18960, !11, i64 18964, !6, i64 18968, !6, i64 18976, !6, i64 18984, !13, i64 18992, !13, i64 18996, !14, i64 19000, !12, i64 19004, !12, i64 19012, !13, i64 19020, !11, i64 19024, !14, i64 19028, !14, i64 19029, !14, i64 19030, !11, i64 19032, !11, i64 19036, !11, i64 19040, !62, i64 19048, !23, i64 19112, !11, i64 19128, !11, i64 19132, !13, i64 19136, !11, i64 19140, !11, i64 19144, !11, i64 19148, !11, i64 19152, !63, i64 19160, !7, i64 19176, !11, i64 19192, !64, i64 19200, !6, i64 19216, !11, i64 19224, !65, i64 19232, !66, i64 19248, !22, i64 19288, !38, i64 19304, !6, i64 19320, !68, i64 19328, !70, i64 19368, !71, i64 19384, !11, i64 19400, !11, i64 19404, !13, i64 19408, !13, i64 19412, !12, i64 19416, !72, i64 19424, !76, i64 23152, !77, i64 23176, !11, i64 23296, !11, i64 23300, !11, i64 23304, !11, i64 23308, !13, i64 23312, !13, i64 23316, !11, i64 23320, !36, i64 23324, !79, i64 23340, !13, i64 23388, !13, i64 23392, !14, i64 23396, !14, i64 23397, !13, i64 23400, !13, i64 23404, !13, i64 23408, !13, i64 23412, !15, i64 23416, !15, i64 23418, !73, i64 23424, !16, i64 23440, !80, i64 23456, !80, i64 23472, !7, i64 23488, !14, i64 23489, !13, i64 23492, !81, i64 23496, !82, i64 23512, !83, i64 23528, !84, i64 23544, !85, i64 23560, !11, i64 23576, !7, i64 23584, !14, i64 23640, !86, i64 23644, !6, i64 23648, !81, i64 23656, !6, i64 23672, !6, i64 23680, !13, i64 23688, !14, i64 23692, !11, i64 23696, !11, i64 23700, !11, i64 23704, !11, i64 23708, !81, i64 23712, !87, i64 23728, !7, i64 23752, !7, i64 23753, !7, i64 23754, !14, i64 23755, !7, i64 23756, !11, i64 23760, !88, i64 23764, !89, i64 23784, !7, i64 23824, !11, i64 24064, !11, i64 24068, !13, i64 24072, !11, i64 24076, !11, i64 24080, !11, i64 24084, !73, i64 24088}
!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, !13, i64 52, !13, i64 56, !13, i64 60, !13, i64 64, !6, i64 72, !6, i64 80, !13, i64 88, !14, i64 92, !6, i64 96, !12, i64 104, !14, i64 112, !14, i64 113, !14, i64 114, !14, i64 115, !14, i64 116, !14, i64 117, !14, i64 118, !14, i64 119, !13, i64 120, !14, i64 124, !14, i64 125, !6, i64 128, !6, i64 136, !6, i64 144, !6, i64 152, !6, i64 160, !6, i64 168, !6, i64 176, !6, i64 184, !6, i64 192, !6, i64 200, !14, i64 208, !14, i64 209, !14, i64 210, !14, i64 211, !14, i64 212, !14, i64 213, !14, i64 214, !13, i64 216, !11, i64 220, !11, i64 224, !11, i64 228, !11, i64 232, !11, i64 236, !12, i64 240, !7, i64 248, !7, i64 2856, !7, i64 3508, !6, i64 3576, !12, i64 3584, !7, i64 3592, !13, i64 3600, !13, i64 3604, !42, i64 3608, !14, i64 3612, !14, i64 3613, !14, i64 3614, !14, i64 3615, !11, i64 3616, !7, i64 3620, !14, i64 14052, !12, i64 14056, !7, i64 14064, !7, i64 14104, !7, i64 14144, !7, i64 14149, !7, i64 14154, !7, i64 14164, !7, i64 14174, !7, i64 14179, !7, i64 14184, !14, i64 14189, !7, i64 14192, !7, i64 14212, !7, i64 14232, !13, i64 14252, !14, i64 14256, !14, i64 14257, !7, i64 14258, !14, i64 14259, !15, i64 14260, !30, i64 14264}
!42 = !{!"_ZTS16ImGuiMouseSource", !7, i64 0}
!43 = !{!"_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, !13, i64 168, !12, i64 172, !12, i64 180, !12, i64 188, !12, i64 196, !13, i64 204, !14, i64 208, !14, i64 209, !14, i64 210, !13, i64 212, !13, i64 216, !7, i64 220}
!44 = !{!"_ZTS20ImDrawListSharedData", !12, i64 0, !6, i64 8, !13, i64 16, !13, i64 20, !13, i64 24, !36, i64 28, !11, i64 44, !34, i64 48, !7, i64 64, !13, i64 448, !7, i64 452, !6, i64 520}
!45 = !{!"double", !7, i64 0}
!46 = !{!"_ZTS8ImVectorI15ImGuiInputEventE", !11, i64 0, !11, i64 4, !6, i64 8}
!47 = !{!"_ZTS8ImVectorI20ImGuiWindowStackDataE", !11, i64 0, !11, i64 4, !6, i64 8}
!48 = !{!"_ZTS16ImGuiInputSource", !7, i64 0}
!49 = !{!"_ZTS20ImGuiKeyRoutingTable", !7, i64 0, !50, i64 280, !50, i64 296}
!50 = !{!"_ZTS8ImVectorI19ImGuiKeyRoutingDataE", !11, i64 0, !11, i64 4, !6, i64 8}
!51 = !{!"_ZTS17ImGuiNextItemData", !11, i64 0, !13, i64 4, !11, i64 8, !11, i64 12, !14, i64 16}
!52 = !{!"_ZTS17ImGuiLastItemData", !11, i64 0, !11, i64 4, !11, i64 8, !23, i64 12, !23, i64 28, !23, i64 44}
!53 = !{!"_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}
!54 = !{!"_ZTS8ImVectorI13ImGuiColorModE", !11, i64 0, !11, i64 4, !6, i64 8}
!55 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !11, i64 0, !11, i64 4, !6, i64 8}
!56 = !{!"_ZTS8ImVectorIP6ImFontE", !11, i64 0, !11, i64 4, !6, i64 8}
!57 = !{!"_ZTS8ImVectorIiE", !11, i64 0, !11, i64 4, !6, i64 8}
!58 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !11, i64 0, !11, i64 4, !6, i64 8}
!59 = !{!"_ZTS8ImVectorI14ImGuiPopupDataE", !11, i64 0, !11, i64 4, !6, i64 8}
!60 = !{!"_ZTS8ImVectorIP14ImGuiViewportPE", !11, i64 0, !11, i64 4, !6, i64 8}
!61 = !{!"_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}
!62 = !{!"_ZTS12ImGuiPayload", !6, i64 0, !11, i64 8, !11, i64 12, !11, i64 16, !11, i64 20, !7, i64 24, !14, i64 57, !14, i64 58}
!63 = !{!"_ZTS8ImVectorIhE", !11, i64 0, !11, i64 4, !6, i64 8}
!64 = !{!"_ZTS8ImVectorI20ImGuiListClipperDataE", !11, i64 0, !11, i64 4, !6, i64 8}
!65 = !{!"_ZTS8ImVectorI18ImGuiTableTempDataE", !11, i64 0, !11, i64 4, !6, i64 8}
!66 = !{!"_ZTS6ImPoolI10ImGuiTableE", !67, i64 0, !25, i64 16, !11, i64 32, !11, i64 36}
!67 = !{!"_ZTS8ImVectorI10ImGuiTableE", !11, i64 0, !11, i64 4, !6, i64 8}
!68 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !69, i64 0, !25, i64 16, !11, i64 32, !11, i64 36}
!69 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !11, i64 0, !11, i64 4, !6, i64 8}
!70 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !11, i64 0, !11, i64 4, !6, i64 8}
!71 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !11, i64 0, !11, i64 4, !6, i64 8}
!72 = !{!"_ZTS19ImGuiInputTextState", !6, i64 0, !11, i64 8, !11, i64 12, !11, i64 16, !30, i64 24, !73, i64 40, !73, i64 56, !14, i64 72, !11, i64 76, !13, i64 80, !74, i64 84, !13, i64 3712, !14, i64 3716, !14, i64 3717, !14, i64 3718, !11, i64 3720}
!73 = !{!"_ZTS8ImVectorIcE", !11, i64 0, !11, i64 4, !6, i64 8}
!74 = !{!"_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, !75, i64 32}
!75 = !{!"_ZTSN5ImStb12StbUndoStateE", !7, i64 0, !7, i64 1584, !15, i64 3582, !15, i64 3584, !11, i64 3588, !11, i64 3592}
!76 = !{!"_ZTS30ImGuiInputTextDeactivatedState", !11, i64 0, !73, i64 8}
!77 = !{!"_ZTS6ImFont", !22, i64 0, !13, i64 16, !13, i64 20, !30, i64 24, !78, i64 40, !6, i64 56, !6, i64 64, !6, i64 72, !15, i64 80, !15, i64 82, !15, i64 84, !15, i64 86, !13, i64 88, !13, i64 92, !14, i64 96, !13, i64 100, !13, i64 104, !13, i64 108, !11, i64 112, !7, i64 116}
!78 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !11, i64 0, !11, i64 4, !6, i64 8}
!79 = !{!"_ZTS21ImGuiComboPreviewData", !23, i64 0, !12, i64 16, !12, i64 24, !12, i64 32, !13, i64 40, !11, i64 44}
!80 = !{!"_ZTS20ImGuiPlatformImeData", !14, i64 0, !12, i64 4, !13, i64 12}
!81 = !{!"_ZTS15ImGuiTextBuffer", !73, i64 0}
!82 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !11, i64 0, !11, i64 4, !6, i64 8}
!83 = !{!"_ZTS13ImChunkStreamI19ImGuiWindowSettingsE", !73, i64 0}
!84 = !{!"_ZTS13ImChunkStreamI18ImGuiTableSettingsE", !73, i64 0}
!85 = !{!"_ZTS8ImVectorI16ImGuiContextHookE", !11, i64 0, !11, i64 4, !6, i64 8}
!86 = !{!"_ZTS12ImGuiLogType", !7, i64 0}
!87 = !{!"_ZTS14ImGuiTextIndex", !57, i64 0, !11, i64 16}
!88 = !{!"_ZTS18ImGuiMetricsConfig", !14, i64 0, !14, i64 1, !14, i64 2, !14, i64 3, !14, i64 4, !14, i64 5, !14, i64 6, !14, i64 7, !11, i64 8, !11, i64 12}
!89 = !{!"_ZTS14ImGuiStackTool", !11, i64 0, !11, i64 4, !11, i64 8, !90, i64 16, !14, i64 32, !13, i64 36}
!90 = !{!"_ZTS8ImVectorI19ImGuiStackLevelInfoE", !11, i64 0, !11, i64 4, !6, i64 8}
!91 = !{!11, !11, i64 0}
!92 = distinct !{!92, !93}
!93 = !{!"llvm.loop.mustprogress"}


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

@GImGui = external dso_local local_unnamed_addr global ptr, align 8

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

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

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

; Function Attrs: mustprogress nounwind uwtable
define dso_local void @_ZN5ImGui25BringWindowToDisplayFrontEP11ImGuiWindow(ptr noundef %0) local_unnamed_addr #2 {
  %2 = load ptr, ptr @GImGui, align 8, !tbaa !5
  %3 = getelementptr inbounds i8, ptr %2, i64 15984
  %4 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8ImVectorIP11ImGuiWindowE4backEv(ptr noundef nonnull align 8 dereferenceable(16) %3)
  %5 = load ptr, ptr %4, align 8, !tbaa !5
  %6 = icmp eq ptr %5, %0
  br i1 %6, label %.loopexit, label %7

7:                                                ; preds = %1
  %8 = getelementptr inbounds i8, ptr %5, i64 888
  %9 = load ptr, ptr %8, align 8, !tbaa !9
  %10 = icmp eq ptr %9, %0
  br i1 %10, label %.loopexit, label %11

11:                                               ; preds = %7
  %12 = load i32, ptr %3, align 8, !tbaa !39
  %13 = icmp sgt i32 %12, 1
  br i1 %13, label %.lr.ph.preheader, label %.loopexit

.lr.ph.preheader:                                 ; preds = %11
  %14 = add nsw i32 %12, -2
  br label %.lr.ph

.lr.ph:                                           ; preds = %.lr.ph.preheader, %30
  %.022 = phi i32 [ %31, %30 ], [ %14, %.lr.ph.preheader ]
  %15 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8ImVectorIP11ImGuiWindowEixEi(ptr noundef nonnull align 8 dereferenceable(16) %3, i32 noundef %.022)
  %16 = load ptr, ptr %15, align 8, !tbaa !5
  %17 = icmp eq ptr %16, %0
  br i1 %17, label %18, label %30

18:                                               ; preds = %.lr.ph
  %19 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8ImVectorIP11ImGuiWindowEixEi(ptr noundef nonnull align 8 dereferenceable(16) %3, i32 noundef %.022)
  %20 = add nuw nsw i32 %.022, 1
  %21 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8ImVectorIP11ImGuiWindowEixEi(ptr noundef nonnull align 8 dereferenceable(16) %3, i32 noundef %20)
  %22 = load i32, ptr %3, align 8, !tbaa !39
  %23 = xor i32 %.022, -1
  %24 = add i32 %22, %23
  %25 = sext i32 %24 to i64
  %26 = shl nsw i64 %25, 3
  tail call void @llvm.memmove.p0.p0.i64(ptr nonnull align 8 %19, ptr nonnull align 8 %21, i64 %26, i1 false)
  %27 = load i32, ptr %3, align 8, !tbaa !39
  %28 = add nsw i32 %27, -1
  %29 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8ImVectorIP11ImGuiWindowEixEi(ptr noundef nonnull align 8 dereferenceable(16) %3, i32 noundef %28)
  store ptr %0, ptr %29, align 8, !tbaa !5
  br label %.loopexit

30:                                               ; preds = %.lr.ph
  %31 = add nsw i32 %.022, -1
  %32 = icmp sgt i32 %.022, 0
  br i1 %32, label %.lr.ph, label %.loopexit, !llvm.loop !91

.loopexit:                                        ; preds = %30, %11, %18, %1, %7
  ret void
}

attributes #0 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !6, i64 888}
!10 = !{!"_ZTS11ImGuiWindow", !6, i64 0, !6, i64 8, !11, i64 16, !11, i64 20, !6, i64 24, !12, i64 32, !12, i64 40, !12, i64 48, !12, i64 56, !12, i64 64, !12, i64 72, !12, i64 80, !13, i64 88, !13, i64 92, !13, i64 96, !13, i64 100, !13, i64 104, !13, i64 108, !13, i64 112, !13, i64 116, !11, i64 120, !11, i64 124, !11, i64 128, !12, i64 132, !12, i64 140, !12, i64 148, !12, i64 156, !12, i64 164, !12, i64 172, !14, i64 180, !14, i64 181, !14, i64 182, !14, i64 183, !14, i64 184, !14, i64 185, !14, i64 186, !14, i64 187, !14, i64 188, !14, i64 189, !14, i64 190, !14, i64 191, !14, i64 192, !7, i64 193, !15, i64 194, !15, i64 196, !15, i64 198, !15, i64 200, !15, i64 202, !11, i64 204, !7, i64 208, !7, i64 209, !7, i64 210, !14, i64 211, !11, i64 212, !7, i64 216, !7, i64 217, !7, i64 218, !7, i64 219, !11, i64 220, !11, i64 221, !11, i64 222, !12, i64 224, !12, i64 232, !16, i64 240, !17, i64 256, !23, i64 488, !23, i64 504, !23, i64 520, !23, i64 536, !23, i64 552, !23, i64 568, !23, i64 584, !24, i64 600, !24, i64 604, !11, i64 608, !13, i64 612, !13, i64 616, !25, i64 624, !27, i64 640, !13, i64 656, !11, i64 660, !6, i64 664, !28, i64 672, !6, i64 872, !6, i64 880, !6, i64 888, !6, i64 896, !6, i64 904, !6, i64 912, !6, i64 920, !7, i64 928, !7, i64 936, !11, i64 968, !11, i64 972, !11, i64 976, !14, i64 980}
!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, !14, i64 64, !14, i64 65, !18, i64 68, !18, i64 72, !18, i64 76, !12, i64 80, !19, i64 88, !15, i64 92, !15, i64 94, !14, i64 96, !14, i64 97, !14, i64 98, !14, i64 99, !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, !11, i64 15984}
!40 = !{!"_ZTS12ImGuiContext", !14, i64 0, !14, i64 1, !41, i64 8, !43, i64 14288, !6, i64 15360, !13, i64 15368, !13, i64 15372, !44, i64 15376, !45, i64 15904, !11, i64 15912, !11, i64 15916, !11, i64 15920, !14, i64 15924, !14, i64 15925, !14, i64 15926, !14, i64 15927, !14, i64 15928, !6, i64 15936, !46, i64 15944, !46, i64 15960, !42, i64 15976, !11, i64 15980, !21, i64 15984, !21, i64 16000, !21, i64 16016, !47, i64 16032, !25, i64 16048, !11, i64 16064, !12, i64 16068, !6, i64 16080, !6, i64 16088, !6, i64 16096, !6, i64 16104, !6, i64 16112, !12, i64 16120, !11, i64 16128, !13, i64 16132, !12, i64 16136, !12, i64 16144, !11, i64 16152, !11, i64 16156, !11, i64 16160, !14, i64 16164, !14, i64 16165, !13, i64 16168, !13, i64 16172, !11, i64 16176, !11, i64 16180, !13, i64 16184, !14, i64 16188, !14, i64 16189, !14, i64 16190, !14, i64 16191, !14, i64 16192, !14, i64 16193, !12, i64 16196, !6, i64 16208, !48, i64 16216, !11, i64 16220, !11, i64 16224, !14, i64 16228, !14, i64 16229, !6, i64 16232, !11, i64 16240, !13, i64 16244, !7, i64 16248, !49, i64 17928, !11, i64 18240, !14, i64 18244, !11, i64 18248, !11, i64 18252, !11, i64 18256, !11, i64 18260, !51, i64 18264, !52, i64 18284, !53, i64 18344, !54, i64 18456, !55, i64 18472, !56, i64 18488, !16, i64 18504, !57, i64 18520, !58, i64 18536, !59, i64 18552, !59, i64 18568, !11, i64 18584, !60, i64 18592, !6, i64 18608, !11, i64 18616, !11, i64 18620, !11, i64 18624, !11, i64 18628, !11, i64 18632, !11, i64 18636, !11, i64 18640, !11, i64 18644, !11, i64 18648, !11, i64 18652, !11, i64 18656, !48, i64 18660, !19, i64 18664, !14, i64 18668, !14, i64 18669, !14, i64 18670, !14, i64 18671, !14, i64 18672, !14, i64 18673, !14, i64 18674, !11, i64 18676, !23, i64 18680, !14, i64 18696, !14, i64 18697, !14, i64 18698, !11, i64 18700, !11, i64 18704, !11, i64 18708, !11, i64 18712, !11, i64 18716, !11, i64 18720, !23, i64 18724, !23, i64 18740, !11, i64 18756, !11, i64 18760, !11, i64 18764, !61, i64 18768, !61, i64 18816, !61, i64 18864, !61, i64 18912, !11, i64 18960, !11, i64 18964, !6, i64 18968, !6, i64 18976, !6, i64 18984, !13, i64 18992, !13, i64 18996, !14, i64 19000, !12, i64 19004, !12, i64 19012, !13, i64 19020, !11, i64 19024, !14, i64 19028, !14, i64 19029, !14, i64 19030, !11, i64 19032, !11, i64 19036, !11, i64 19040, !62, i64 19048, !23, i64 19112, !11, i64 19128, !11, i64 19132, !13, i64 19136, !11, i64 19140, !11, i64 19144, !11, i64 19148, !11, i64 19152, !63, i64 19160, !7, i64 19176, !11, i64 19192, !64, i64 19200, !6, i64 19216, !11, i64 19224, !65, i64 19232, !66, i64 19248, !22, i64 19288, !38, i64 19304, !6, i64 19320, !68, i64 19328, !70, i64 19368, !71, i64 19384, !11, i64 19400, !11, i64 19404, !13, i64 19408, !13, i64 19412, !12, i64 19416, !72, i64 19424, !76, i64 23152, !77, i64 23176, !11, i64 23296, !11, i64 23300, !11, i64 23304, !11, i64 23308, !13, i64 23312, !13, i64 23316, !11, i64 23320, !36, i64 23324, !79, i64 23340, !13, i64 23388, !13, i64 23392, !14, i64 23396, !14, i64 23397, !13, i64 23400, !13, i64 23404, !13, i64 23408, !13, i64 23412, !15, i64 23416, !15, i64 23418, !73, i64 23424, !16, i64 23440, !80, i64 23456, !80, i64 23472, !7, i64 23488, !14, i64 23489, !13, i64 23492, !81, i64 23496, !82, i64 23512, !83, i64 23528, !84, i64 23544, !85, i64 23560, !11, i64 23576, !7, i64 23584, !14, i64 23640, !86, i64 23644, !6, i64 23648, !81, i64 23656, !6, i64 23672, !6, i64 23680, !13, i64 23688, !14, i64 23692, !11, i64 23696, !11, i64 23700, !11, i64 23704, !11, i64 23708, !81, i64 23712, !87, i64 23728, !7, i64 23752, !7, i64 23753, !7, i64 23754, !14, i64 23755, !7, i64 23756, !11, i64 23760, !88, i64 23764, !89, i64 23784, !7, i64 23824, !11, i64 24064, !11, i64 24068, !13, i64 24072, !11, i64 24076, !11, i64 24080, !11, i64 24084, !73, i64 24088}
!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, !13, i64 52, !13, i64 56, !13, i64 60, !13, i64 64, !6, i64 72, !6, i64 80, !13, i64 88, !14, i64 92, !6, i64 96, !12, i64 104, !14, i64 112, !14, i64 113, !14, i64 114, !14, i64 115, !14, i64 116, !14, i64 117, !14, i64 118, !14, i64 119, !13, i64 120, !14, i64 124, !14, i64 125, !6, i64 128, !6, i64 136, !6, i64 144, !6, i64 152, !6, i64 160, !6, i64 168, !6, i64 176, !6, i64 184, !6, i64 192, !6, i64 200, !14, i64 208, !14, i64 209, !14, i64 210, !14, i64 211, !14, i64 212, !14, i64 213, !14, i64 214, !13, i64 216, !11, i64 220, !11, i64 224, !11, i64 228, !11, i64 232, !11, i64 236, !12, i64 240, !7, i64 248, !7, i64 2856, !7, i64 3508, !6, i64 3576, !12, i64 3584, !7, i64 3592, !13, i64 3600, !13, i64 3604, !42, i64 3608, !14, i64 3612, !14, i64 3613, !14, i64 3614, !14, i64 3615, !11, i64 3616, !7, i64 3620, !14, i64 14052, !12, i64 14056, !7, i64 14064, !7, i64 14104, !7, i64 14144, !7, i64 14149, !7, i64 14154, !7, i64 14164, !7, i64 14174, !7, i64 14179, !7, i64 14184, !14, i64 14189, !7, i64 14192, !7, i64 14212, !7, i64 14232, !13, i64 14252, !14, i64 14256, !14, i64 14257, !7, i64 14258, !14, i64 14259, !15, i64 14260, !30, i64 14264}
!42 = !{!"_ZTS16ImGuiMouseSource", !7, i64 0}
!43 = !{!"_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, !13, i64 168, !12, i64 172, !12, i64 180, !12, i64 188, !12, i64 196, !13, i64 204, !14, i64 208, !14, i64 209, !14, i64 210, !13, i64 212, !13, i64 216, !7, i64 220}
!44 = !{!"_ZTS20ImDrawListSharedData", !12, i64 0, !6, i64 8, !13, i64 16, !13, i64 20, !13, i64 24, !36, i64 28, !11, i64 44, !34, i64 48, !7, i64 64, !13, i64 448, !7, i64 452, !6, i64 520}
!45 = !{!"double", !7, i64 0}
!46 = !{!"_ZTS8ImVectorI15ImGuiInputEventE", !11, i64 0, !11, i64 4, !6, i64 8}
!47 = !{!"_ZTS8ImVectorI20ImGuiWindowStackDataE", !11, i64 0, !11, i64 4, !6, i64 8}
!48 = !{!"_ZTS16ImGuiInputSource", !7, i64 0}
!49 = !{!"_ZTS20ImGuiKeyRoutingTable", !7, i64 0, !50, i64 280, !50, i64 296}
!50 = !{!"_ZTS8ImVectorI19ImGuiKeyRoutingDataE", !11, i64 0, !11, i64 4, !6, i64 8}
!51 = !{!"_ZTS17ImGuiNextItemData", !11, i64 0, !13, i64 4, !11, i64 8, !11, i64 12, !14, i64 16}
!52 = !{!"_ZTS17ImGuiLastItemData", !11, i64 0, !11, i64 4, !11, i64 8, !23, i64 12, !23, i64 28, !23, i64 44}
!53 = !{!"_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}
!54 = !{!"_ZTS8ImVectorI13ImGuiColorModE", !11, i64 0, !11, i64 4, !6, i64 8}
!55 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !11, i64 0, !11, i64 4, !6, i64 8}
!56 = !{!"_ZTS8ImVectorIP6ImFontE", !11, i64 0, !11, i64 4, !6, i64 8}
!57 = !{!"_ZTS8ImVectorIiE", !11, i64 0, !11, i64 4, !6, i64 8}
!58 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !11, i64 0, !11, i64 4, !6, i64 8}
!59 = !{!"_ZTS8ImVectorI14ImGuiPopupDataE", !11, i64 0, !11, i64 4, !6, i64 8}
!60 = !{!"_ZTS8ImVectorIP14ImGuiViewportPE", !11, i64 0, !11, i64 4, !6, i64 8}
!61 = !{!"_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}
!62 = !{!"_ZTS12ImGuiPayload", !6, i64 0, !11, i64 8, !11, i64 12, !11, i64 16, !11, i64 20, !7, i64 24, !14, i64 57, !14, i64 58}
!63 = !{!"_ZTS8ImVectorIhE", !11, i64 0, !11, i64 4, !6, i64 8}
!64 = !{!"_ZTS8ImVectorI20ImGuiListClipperDataE", !11, i64 0, !11, i64 4, !6, i64 8}
!65 = !{!"_ZTS8ImVectorI18ImGuiTableTempDataE", !11, i64 0, !11, i64 4, !6, i64 8}
!66 = !{!"_ZTS6ImPoolI10ImGuiTableE", !67, i64 0, !25, i64 16, !11, i64 32, !11, i64 36}
!67 = !{!"_ZTS8ImVectorI10ImGuiTableE", !11, i64 0, !11, i64 4, !6, i64 8}
!68 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !69, i64 0, !25, i64 16, !11, i64 32, !11, i64 36}
!69 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !11, i64 0, !11, i64 4, !6, i64 8}
!70 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !11, i64 0, !11, i64 4, !6, i64 8}
!71 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !11, i64 0, !11, i64 4, !6, i64 8}
!72 = !{!"_ZTS19ImGuiInputTextState", !6, i64 0, !11, i64 8, !11, i64 12, !11, i64 16, !30, i64 24, !73, i64 40, !73, i64 56, !14, i64 72, !11, i64 76, !13, i64 80, !74, i64 84, !13, i64 3712, !14, i64 3716, !14, i64 3717, !14, i64 3718, !11, i64 3720}
!73 = !{!"_ZTS8ImVectorIcE", !11, i64 0, !11, i64 4, !6, i64 8}
!74 = !{!"_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, !75, i64 32}
!75 = !{!"_ZTSN5ImStb12StbUndoStateE", !7, i64 0, !7, i64 1584, !15, i64 3582, !15, i64 3584, !11, i64 3588, !11, i64 3592}
!76 = !{!"_ZTS30ImGuiInputTextDeactivatedState", !11, i64 0, !73, i64 8}
!77 = !{!"_ZTS6ImFont", !22, i64 0, !13, i64 16, !13, i64 20, !30, i64 24, !78, i64 40, !6, i64 56, !6, i64 64, !6, i64 72, !15, i64 80, !15, i64 82, !15, i64 84, !15, i64 86, !13, i64 88, !13, i64 92, !14, i64 96, !13, i64 100, !13, i64 104, !13, i64 108, !11, i64 112, !7, i64 116}
!78 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !11, i64 0, !11, i64 4, !6, i64 8}
!79 = !{!"_ZTS21ImGuiComboPreviewData", !23, i64 0, !12, i64 16, !12, i64 24, !12, i64 32, !13, i64 40, !11, i64 44}
!80 = !{!"_ZTS20ImGuiPlatformImeData", !14, i64 0, !12, i64 4, !13, i64 12}
!81 = !{!"_ZTS15ImGuiTextBuffer", !73, i64 0}
!82 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !11, i64 0, !11, i64 4, !6, i64 8}
!83 = !{!"_ZTS13ImChunkStreamI19ImGuiWindowSettingsE", !73, i64 0}
!84 = !{!"_ZTS13ImChunkStreamI18ImGuiTableSettingsE", !73, i64 0}
!85 = !{!"_ZTS8ImVectorI16ImGuiContextHookE", !11, i64 0, !11, i64 4, !6, i64 8}
!86 = !{!"_ZTS12ImGuiLogType", !7, i64 0}
!87 = !{!"_ZTS14ImGuiTextIndex", !57, i64 0, !11, i64 16}
!88 = !{!"_ZTS18ImGuiMetricsConfig", !14, i64 0, !14, i64 1, !14, i64 2, !14, i64 3, !14, i64 4, !14, i64 5, !14, i64 6, !14, i64 7, !11, i64 8, !11, i64 12}
!89 = !{!"_ZTS14ImGuiStackTool", !11, i64 0, !11, i64 4, !11, i64 8, !90, i64 16, !14, i64 32, !13, i64 36}
!90 = !{!"_ZTS8ImVectorI19ImGuiStackLevelInfoE", !11, i64 0, !11, i64 4, !6, i64 8}
!91 = distinct !{!91, !92}
!92 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass