; LLVM IR from erwincoumans/tiny-differentiable-simulator :: third_party/dear_imgui/imgui.ll (ZN5ImGui22ScaleWindowsInViewportEP14ImGuiViewportPf)

; 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.ImGuiViewportP = type { %struct.ImGuiViewport.base, i32, i32, [2 x i32], i32, i32, %struct.ImVec2, float, float, i16, i8, ptr, [2 x ptr], %struct.ImDrawData, %struct.ImDrawDataBuilder, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2 }
%struct.ImGuiViewport.base = type <{ i32, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, [4 x i8], ptr, i32, [4 x i8], ptr, ptr, ptr, ptr, i8, i8, i8 }>
%struct.ImDrawData = type { i8, ptr, i32, i32, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, ptr }
%struct.ImDrawDataBuilder = type { [2 x %struct.ImVector.32] }
%struct.ImVector.32 = type { i32, i32, ptr }
%struct.ImVec2 = type { float, float }
%struct.ImGuiContext = type <{ i8, i8, [6 x i8], %struct.ImGuiIO, %struct.ImGuiPlatformIO, %struct.ImGuiStyle, i32, i32, [4 x i8], ptr, float, float, %struct.ImDrawListSharedData, double, i32, i32, i32, i32, i8, i8, i8, i8, i32, ptr, %struct.ImVector.5, %struct.ImVector.5, %struct.ImVector.5, %struct.ImVector.5, %struct.ImGuiStorage, i32, [4 x i8], ptr, 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.6, %struct.ImVector.7, %struct.ImVector.8, %struct.ImVector.9, %struct.ImVector.9, %struct.ImVector.10, float, [4 x i8], ptr, ptr, ptr, i32, i32, 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, i8, [2 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, [3 x i8], float, i32, i8, i8, i8, i8, i32, i32, i32, [4 x i8], %struct.ImGuiPayload, %struct.ImRect, i32, i32, float, i32, i32, i32, i32, [4 x i8], %struct.ImVector.11, [16 x i8], ptr, %struct.ImPool, %struct.ImVector.13, %struct.ImVector.14, %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.17, %struct.ImVec2, %struct.ImVec2, ptr, %struct.ImGuiDockContext, i8, [3 x i8], float, %struct.ImGuiTextBuffer, %struct.ImVector.20, %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, i8, i8, i8, i8, i8, i8, i8, i8, float, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, %struct.ImVec2, [5 x i8], float, float, i32, 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.ImGuiPlatformIO = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, %struct.ImVector.3, ptr, %struct.ImVector.4 }
%struct.ImVector.3 = type { i32, i32, ptr }
%struct.ImVector.4 = 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, [50 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.5 = type { i32, i32, ptr }
%struct.ImGuiStorage = type { %struct.ImVector.0 }
%struct.ImVector.0 = type { i32, i32, ptr }
%struct.ImGuiNextWindowData = type { i32, i32, i32, i32, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, i8, i8, %struct.ImRect, ptr, ptr, float, i32, i32, %struct.ImGuiWindowClass, %struct.ImVec2 }
%struct.ImGuiWindowClass = type <{ i32, i32, i32, i32, i32, i32, i8, i8, [2 x i8] }>
%struct.ImGuiNextItemData = type <{ i32, float, i32, i32, i8, [3 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.9 = type { i32, i32, ptr }
%struct.ImVector.10 = type { i32, i32, ptr }
%struct.ImGuiNavMoveResult = type <{ ptr, i32, i32, float, float, float, %struct.ImRect, [4 x i8] }>
%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.11 = type { i32, i32, ptr }
%struct.ImPool = type <{ %struct.ImVector.12, %struct.ImGuiStorage, i32, [4 x i8] }>
%struct.ImVector.12 = type { i32, i32, ptr }
%struct.ImVector.13 = type { i32, i32, ptr }
%struct.ImVector.14 = 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.15, float, float, %struct.ImVector, %struct.ImVector.16, ptr, %struct.ImVec2, ptr, ptr, i16, i16, i16, i8, i8, float, float, float, i32, [2 x i8], [6 x i8] }>
%struct.ImVector.15 = type { i32, i32, ptr }
%struct.ImVector.16 = type { i32, i32, ptr }
%struct.ImVec4 = type { float, float, float, float }
%struct.ImVector.2 = type { i32, i32, ptr }
%struct.ImVector.17 = type { i32, i32, ptr }
%struct.ImGuiDockContext = type <{ %struct.ImGuiStorage, %struct.ImVector.18, %struct.ImVector.19, i8, [7 x i8] }>
%struct.ImVector.18 = type { i32, i32, ptr }
%struct.ImVector.19 = type { i32, i32, ptr }
%struct.ImVector.20 = type { i32, i32, ptr }
%struct.ImChunkStream = type { %struct.ImVector.2 }
%struct.ImGuiTextBuffer = type { %struct.ImVector.2 }
%struct.ImGuiWindow = type <{ ptr, i32, i32, i32, %struct.ImGuiWindowClass, ptr, i32, %struct.ImVec2, 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, 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, i32, %struct.ImVec2, %struct.ImVec2, [4 x i8], %struct.ImVector.17, %struct.ImGuiWindowTempData, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImVec2ih, %struct.ImVec2ih, i32, i32, float, float, %struct.ImGuiStorage, %struct.ImVector.23, float, float, i32, [4 x i8], ptr, %struct.ImDrawList, ptr, ptr, ptr, ptr, ptr, ptr, [2 x i32], [2 x %struct.ImRect], i8, [3 x i8], i32, i32, [4 x i8], ptr, ptr, i32, i32, %struct.ImRect, i16, i8, [5 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.5, ptr, ptr, i32, i32, i32, i32, i32, float, float, [4 x i8], %struct.ImVector.21, %struct.ImVector.15, %struct.ImVector.15, %struct.ImVector.22, [6 x i16], [4 x i8] }>
%struct.ImVec1 = type { float }
%struct.ImGuiMenuColumns = type { float, float, float, [3 x float], [3 x float] }
%struct.ImVector.21 = type { i32, i32, ptr }
%struct.ImVector.22 = type { i32, i32, ptr }
%struct.ImVec2ih = type { i16, i16 }
%struct.ImVector.23 = type { i32, i32, ptr }
%struct.ImDrawList = type { %struct.ImVector.24, %struct.ImVector, %struct.ImVector.25, i32, ptr, ptr, i32, ptr, ptr, %struct.ImVector.26, %struct.ImVector.27, %struct.ImVector.28, %struct.ImDrawCmd, %struct.ImDrawListSplitter }
%struct.ImVector.24 = type { i32, i32, ptr }
%struct.ImVector.25 = type { i32, i32, ptr }
%struct.ImVector.26 = type { i32, i32, ptr }
%struct.ImVector.27 = type { i32, i32, ptr }
%struct.ImVector.28 = type { i32, i32, ptr }
%struct.ImDrawCmd = type { %struct.ImVec4, ptr, i32, i32, i32, ptr, ptr }
%struct.ImDrawListSplitter = type { i32, i32, %struct.ImVector.29 }
%struct.ImVector.29 = type { i32, i32, ptr }

@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: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN8ImVectorIP11ImGuiWindowEixEi(ptr noundef nonnull align 8 dereferenceable(16), i32 noundef) #1 align 2

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

12:                                               ; preds = %2
  %13 = load ptr, ptr %3, align 8, !tbaa !5
  %14 = getelementptr inbounds %struct.ImGuiViewportP, ptr %13, i32 0, i32 11
  %15 = load ptr, ptr %14, align 8, !tbaa !11
  %16 = load float, ptr %4, align 4, !tbaa !9
  call void @_ZL11ScaleWindowP11ImGuiWindowf(ptr noundef %15, float noundef %16)
  br label %48

17:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #4
  store i32 0, ptr %6, align 4, !tbaa !20
  br label %18

18:                                               ; preds = %44, %17
  %19 = load i32, ptr %6, align 4, !tbaa !20
  %20 = load ptr, ptr %5, align 8, !tbaa !5
  %21 = getelementptr inbounds %struct.ImGuiContext, ptr %20, i32 0, i32 24
  %22 = getelementptr inbounds %struct.ImVector.5, ptr %21, i32 0, i32 0
  %23 = load i32, ptr %22, align 8, !tbaa !21
  %24 = icmp ne i32 %19, %23
  br i1 %24, label %26, label %25

25:                                               ; preds = %18
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #4
  br label %47

26:                                               ; preds = %18
  %27 = load ptr, ptr %5, align 8, !tbaa !5
  %28 = getelementptr inbounds %struct.ImGuiContext, ptr %27, i32 0, i32 24
  %29 = load i32, ptr %6, align 4, !tbaa !20
  %30 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8ImVectorIP11ImGuiWindowEixEi(ptr noundef nonnull align 8 dereferenceable(16) %28, i32 noundef %29)
  %31 = load ptr, ptr %30, align 8, !tbaa !5
  %32 = getelementptr inbounds %struct.ImGuiWindow, ptr %31, i32 0, i32 5
  %33 = load ptr, ptr %32, align 8, !tbaa !70
  %34 = load ptr, ptr %3, align 8, !tbaa !5
  %35 = icmp eq ptr %33, %34
  br i1 %35, label %36, label %43

36:                                               ; preds = %26
  %37 = load ptr, ptr %5, align 8, !tbaa !5
  %38 = getelementptr inbounds %struct.ImGuiContext, ptr %37, i32 0, i32 24
  %39 = load i32, ptr %6, align 4, !tbaa !20
  %40 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8ImVectorIP11ImGuiWindowEixEi(ptr noundef nonnull align 8 dereferenceable(16) %38, i32 noundef %39)
  %41 = load ptr, ptr %40, align 8, !tbaa !5
  %42 = load float, ptr %4, align 4, !tbaa !9
  call void @_ZL11ScaleWindowP11ImGuiWindowf(ptr noundef %41, float noundef %42)
  br label %43

43:                                               ; preds = %36, %26
  br label %44

44:                                               ; preds = %43
  %45 = load i32, ptr %6, align 4, !tbaa !20
  %46 = add nsw i32 %45, 1
  store i32 %46, ptr %6, align 4, !tbaa !20
  br label %18, !llvm.loop !88

47:                                               ; preds = %25
  br label %48

48:                                               ; preds = %47, %12
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #4
  ret void
}

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL11ScaleWindowP11ImGuiWindowf(ptr noundef, float noundef) #3

attributes #0 = { nocallback nofree nosync 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 uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress uwtable "min-legal-vector-width"="64" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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, !10, i64 0}
!10 = !{!"float", !7, i64 0}
!11 = !{!12, !6, i64 144}
!12 = !{!"_ZTS14ImGuiViewportP", !13, i64 0, !14, i64 100, !14, i64 104, !7, i64 108, !14, i64 116, !14, i64 120, !15, i64 124, !10, i64 132, !10, i64 136, !17, i64 140, !16, i64 142, !6, i64 144, !7, i64 152, !18, i64 168, !19, i64 232, !15, i64 264, !15, i64 272, !15, i64 280, !15, i64 288, !15, i64 296}
!13 = !{!"_ZTS13ImGuiViewport", !14, i64 0, !14, i64 4, !15, i64 8, !15, i64 16, !15, i64 24, !15, i64 32, !10, i64 40, !6, i64 48, !14, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !6, i64 88, !16, i64 96, !16, i64 97, !16, i64 98}
!14 = !{!"int", !7, i64 0}
!15 = !{!"_ZTS6ImVec2", !10, i64 0, !10, i64 4}
!16 = !{!"bool", !7, i64 0}
!17 = !{!"short", !7, i64 0}
!18 = !{!"_ZTS10ImDrawData", !16, i64 0, !6, i64 8, !14, i64 16, !14, i64 20, !14, i64 24, !15, i64 28, !15, i64 36, !15, i64 44, !6, i64 56}
!19 = !{!"_ZTS17ImDrawDataBuilder", !7, i64 0}
!20 = !{!14, !14, i64 0}
!21 = !{!22, !14, i64 6976}
!22 = !{!"_ZTS12ImGuiContext", !16, i64 0, !16, i64 1, !23, i64 8, !25, i64 5472, !28, i64 5704, !14, i64 6692, !14, i64 6696, !6, i64 6704, !10, i64 6712, !10, i64 6716, !29, i64 6720, !31, i64 6936, !14, i64 6944, !14, i64 6948, !14, i64 6952, !14, i64 6956, !16, i64 6960, !16, i64 6961, !16, i64 6962, !16, i64 6963, !14, i64 6964, !6, i64 6968, !32, i64 6976, !32, i64 6992, !32, i64 7008, !32, i64 7024, !33, i64 7040, !14, i64 7056, !6, i64 7064, !6, i64 7072, !6, i64 7080, !6, i64 7088, !6, i64 7096, !6, i64 7104, !6, i64 7112, !15, i64 7120, !10, i64 7128, !14, i64 7132, !14, i64 7136, !16, i64 7140, !16, i64 7141, !10, i64 7144, !10, i64 7148, !14, i64 7152, !14, i64 7156, !10, i64 7160, !16, i64 7164, !16, i64 7165, !16, i64 7166, !16, i64 7167, !16, i64 7168, !16, i64 7169, !14, i64 7172, !14, i64 7176, !35, i64 7184, !15, i64 7192, !6, i64 7200, !36, i64 7208, !14, i64 7212, !14, i64 7216, !16, i64 7220, !16, i64 7221, !6, i64 7224, !14, i64 7232, !10, i64 7236, !37, i64 7240, !40, i64 7384, !41, i64 7408, !42, i64 7424, !43, i64 7440, !44, i64 7456, !44, i64 7472, !45, i64 7488, !10, i64 7504, !6, i64 7512, !6, i64 7520, !6, i64 7528, !14, i64 7536, !14, i64 7540, !6, i64 7544, !14, i64 7552, !14, i64 7556, !14, i64 7560, !14, i64 7564, !14, i64 7568, !14, i64 7572, !14, i64 7576, !14, i64 7580, !14, i64 7584, !14, i64 7588, !14, i64 7592, !36, i64 7596, !38, i64 7600, !14, i64 7616, !46, i64 7620, !14, i64 7624, !16, i64 7628, !16, i64 7629, !16, i64 7630, !16, i64 7631, !16, i64 7632, !16, i64 7633, !16, i64 7634, !14, i64 7636, !38, i64 7640, !16, i64 7656, !16, i64 7657, !14, i64 7660, !47, i64 7664, !14, i64 7668, !14, i64 7672, !14, i64 7676, !14, i64 7680, !48, i64 7688, !48, i64 7736, !48, i64 7784, !6, i64 7832, !14, i64 7840, !6, i64 7848, !6, i64 7856, !6, i64 7864, !10, i64 7872, !10, i64 7876, !16, i64 7880, !6, i64 7888, !6, i64 7896, !14, i64 7904, !14, i64 7908, !14, i64 7912, !14, i64 7916, !16, i64 7920, !10, i64 7924, !14, i64 7928, !16, i64 7932, !16, i64 7933, !16, i64 7934, !14, i64 7936, !14, i64 7940, !14, i64 7944, !49, i64 7952, !38, i64 8016, !14, i64 8032, !14, i64 8036, !10, i64 8040, !14, i64 8044, !14, i64 8048, !14, i64 8052, !14, i64 8056, !50, i64 8064, !7, i64 8080, !6, i64 8096, !51, i64 8104, !53, i64 8144, !54, i64 8160, !15, i64 8176, !55, i64 8184, !59, i64 11912, !14, i64 12032, !14, i64 12036, !10, i64 12040, !10, i64 12044, !7, i64 12048, !30, i64 12060, !10, i64 12076, !16, i64 12080, !16, i64 12081, !10, i64 12084, !10, i64 12088, !10, i64 12092, !14, i64 12096, !56, i64 12104, !62, i64 12120, !15, i64 12136, !15, i64 12144, !6, i64 12152, !63, i64 12160, !16, i64 12216, !10, i64 12220, !66, i64 12224, !67, i64 12240, !68, i64 12256, !16, i64 12272, !69, i64 12276, !6, i64 12280, !66, i64 12288, !10, i64 12304, !16, i64 12308, !14, i64 12312, !14, i64 12316, !14, i64 12320, !16, i64 12324, !14, i64 12328, !7, i64 12332, !14, i64 12812, !10, i64 12816, !14, i64 12820, !14, i64 12824, !14, i64 12828, !7, i64 12832}
!23 = !{!"_ZTS7ImGuiIO", !14, i64 0, !14, i64 4, !15, i64 8, !10, i64 16, !10, i64 20, !6, i64 24, !6, i64 32, !10, i64 40, !10, i64 44, !10, i64 48, !7, i64 52, !10, i64 140, !10, i64 144, !6, i64 152, !6, i64 160, !10, i64 168, !16, i64 172, !6, i64 176, !15, i64 184, !16, i64 192, !16, i64 193, !16, i64 194, !16, i64 195, !16, i64 196, !16, i64 197, !16, i64 198, !16, i64 199, !16, i64 200, !16, i64 201, !16, i64 202, !16, i64 203, !16, i64 204, !10, 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, !15, i64 288, !7, i64 296, !10, i64 304, !10, i64 308, !14, i64 312, !16, i64 316, !16, i64 317, !16, i64 318, !16, i64 319, !7, i64 320, !7, i64 832, !16, i64 916, !16, i64 917, !16, i64 918, !16, i64 919, !16, i64 920, !16, i64 921, !16, i64 922, !10, i64 924, !14, i64 928, !14, i64 932, !14, i64 936, !14, i64 940, !14, i64 944, !15, i64 948, !14, i64 956, !15, i64 960, !7, i64 968, !7, i64 1008, !7, i64 1048, !7, i64 1053, !7, i64 1058, !7, i64 1063, !7, i64 1068, !7, i64 1076, !7, i64 1096, !7, i64 1116, !7, i64 1156, !7, i64 1176, !7, i64 3224, !7, i64 5272, !7, i64 5356, !10, i64 5440, !17, i64 5444, !24, i64 5448}
!24 = !{!"_ZTS8ImVectorItE", !14, i64 0, !14, i64 4, !6, i64 8}
!25 = !{!"_ZTS15ImGuiPlatformIO", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !6, i64 88, !6, i64 96, !6, i64 104, !6, i64 112, !6, i64 120, !6, i64 128, !6, i64 136, !6, i64 144, !6, i64 152, !6, i64 160, !6, i64 168, !6, i64 176, !6, i64 184, !26, i64 192, !6, i64 208, !27, i64 216}
!26 = !{!"_ZTS8ImVectorI20ImGuiPlatformMonitorE", !14, i64 0, !14, i64 4, !6, i64 8}
!27 = !{!"_ZTS8ImVectorIP13ImGuiViewportE", !14, i64 0, !14, i64 4, !6, i64 8}
!28 = !{!"_ZTS10ImGuiStyle", !10, i64 0, !15, i64 4, !10, i64 12, !10, i64 16, !15, i64 20, !15, i64 28, !14, i64 36, !10, i64 40, !10, i64 44, !10, i64 48, !10, i64 52, !15, i64 56, !10, i64 64, !10, i64 68, !15, i64 72, !15, i64 80, !15, i64 88, !10, i64 96, !10, i64 100, !10, i64 104, !10, i64 108, !10, i64 112, !10, i64 116, !10, i64 120, !10, i64 124, !10, i64 128, !10, i64 132, !14, i64 136, !15, i64 140, !15, i64 148, !15, i64 156, !15, i64 164, !10, i64 172, !16, i64 176, !16, i64 177, !16, i64 178, !10, i64 180, !10, i64 184, !7, i64 188}
!29 = !{!"_ZTS20ImDrawListSharedData", !15, i64 0, !6, i64 8, !10, i64 16, !10, i64 20, !10, i64 24, !30, i64 28, !14, i64 44, !7, i64 48, !7, i64 144, !6, i64 208}
!30 = !{!"_ZTS6ImVec4", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12}
!31 = !{!"double", !7, i64 0}
!32 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !14, i64 0, !14, i64 4, !6, i64 8}
!33 = !{!"_ZTS12ImGuiStorage", !34, i64 0}
!34 = !{!"_ZTS8ImVectorIN12ImGuiStorage16ImGuiStoragePairEE", !14, i64 0, !14, i64 4, !6, i64 8}
!35 = !{!"long long", !7, i64 0}
!36 = !{!"_ZTS16ImGuiInputSource", !7, i64 0}
!37 = !{!"_ZTS19ImGuiNextWindowData", !14, i64 0, !14, i64 4, !14, i64 8, !14, i64 12, !14, i64 16, !15, i64 20, !15, i64 28, !15, i64 36, !15, i64 44, !15, i64 52, !16, i64 60, !16, i64 61, !38, i64 64, !6, i64 80, !6, i64 88, !10, i64 96, !14, i64 100, !14, i64 104, !39, i64 108, !15, i64 136}
!38 = !{!"_ZTS6ImRect", !15, i64 0, !15, i64 8}
!39 = !{!"_ZTS16ImGuiWindowClass", !14, i64 0, !14, i64 4, !14, i64 8, !14, i64 12, !14, i64 16, !14, i64 20, !16, i64 24, !16, i64 25}
!40 = !{!"_ZTS17ImGuiNextItemData", !14, i64 0, !10, i64 4, !14, i64 8, !14, i64 12, !16, i64 16}
!41 = !{!"_ZTS8ImVectorI13ImGuiColorModE", !14, i64 0, !14, i64 4, !6, i64 8}
!42 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !14, i64 0, !14, i64 4, !6, i64 8}
!43 = !{!"_ZTS8ImVectorIP6ImFontE", !14, i64 0, !14, i64 4, !6, i64 8}
!44 = !{!"_ZTS8ImVectorI14ImGuiPopupDataE", !14, i64 0, !14, i64 4, !6, i64 8}
!45 = !{!"_ZTS8ImVectorIP14ImGuiViewportPE", !14, i64 0, !14, i64 4, !6, i64 8}
!46 = !{!"_ZTS13ImGuiNavLayer", !7, i64 0}
!47 = !{!"_ZTS15ImGuiNavForward", !7, i64 0}
!48 = !{!"_ZTS18ImGuiNavMoveResult", !6, i64 0, !14, i64 8, !14, i64 12, !10, i64 16, !10, i64 20, !10, i64 24, !38, i64 28}
!49 = !{!"_ZTS12ImGuiPayload", !6, i64 0, !14, i64 8, !14, i64 12, !14, i64 16, !14, i64 20, !7, i64 24, !16, i64 57, !16, i64 58}
!50 = !{!"_ZTS8ImVectorIhE", !14, i64 0, !14, i64 4, !6, i64 8}
!51 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !52, i64 0, !33, i64 16, !14, i64 32}
!52 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !14, i64 0, !14, i64 4, !6, i64 8}
!53 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !14, i64 0, !14, i64 4, !6, i64 8}
!54 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !14, i64 0, !14, i64 4, !6, i64 8}
!55 = !{!"_ZTS19ImGuiInputTextState", !14, i64 0, !14, i64 4, !14, i64 8, !24, i64 16, !56, i64 32, !56, i64 48, !16, i64 64, !14, i64 68, !10, i64 72, !57, i64 76, !10, i64 3696, !16, i64 3700, !16, i64 3701, !16, i64 3702, !14, i64 3704, !6, i64 3712, !6, i64 3720}
!56 = !{!"_ZTS8ImVectorIcE", !14, i64 0, !14, i64 4, !6, i64 8}
!57 = !{!"_ZTSN5ImStb17STB_TexteditStateE", !14, i64 0, !14, i64 4, !14, 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, !10, i64 20, !58, i64 24}
!58 = !{!"_ZTSN5ImStb12StbUndoStateE", !7, i64 0, !7, i64 1584, !17, i64 3582, !17, i64 3584, !14, i64 3588, !14, i64 3592}
!59 = !{!"_ZTS6ImFont", !60, i64 0, !10, i64 16, !10, i64 20, !24, i64 24, !61, i64 40, !6, i64 56, !15, i64 64, !6, i64 72, !6, i64 80, !17, i64 88, !17, i64 90, !17, i64 92, !16, i64 94, !10, i64 96, !10, i64 100, !10, i64 104, !14, i64 108, !7, i64 112}
!60 = !{!"_ZTS8ImVectorIfE", !14, i64 0, !14, i64 4, !6, i64 8}
!61 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !14, i64 0, !14, i64 4, !6, i64 8}
!62 = !{!"_ZTS8ImVectorIjE", !14, i64 0, !14, i64 4, !6, i64 8}
!63 = !{!"_ZTS16ImGuiDockContext", !33, i64 0, !64, i64 16, !65, i64 32, !16, i64 48}
!64 = !{!"_ZTS8ImVectorI16ImGuiDockRequestE", !14, i64 0, !14, i64 4, !6, i64 8}
!65 = !{!"_ZTS8ImVectorI21ImGuiDockNodeSettingsE", !14, i64 0, !14, i64 4, !6, i64 8}
!66 = !{!"_ZTS15ImGuiTextBuffer", !56, i64 0}
!67 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !14, i64 0, !14, i64 4, !6, i64 8}
!68 = !{!"_ZTS13ImChunkStreamI19ImGuiWindowSettingsE", !56, i64 0}
!69 = !{!"_ZTS12ImGuiLogType", !7, i64 0}
!70 = !{!71, !6, i64 48}
!71 = !{!"_ZTS11ImGuiWindow", !6, i64 0, !14, i64 8, !14, i64 12, !14, i64 16, !39, i64 20, !6, i64 48, !14, i64 56, !15, i64 60, !14, i64 68, !15, i64 72, !15, i64 80, !15, i64 88, !15, i64 96, !15, i64 104, !15, i64 112, !10, i64 120, !10, i64 124, !14, i64 128, !14, i64 132, !14, i64 136, !15, i64 140, !15, i64 148, !15, i64 156, !15, i64 164, !15, i64 172, !16, i64 180, !16, i64 181, !16, i64 182, !16, i64 183, !16, i64 184, !16, i64 185, !16, i64 186, !16, i64 187, !16, i64 188, !16, i64 189, !16, i64 190, !16, i64 191, !16, i64 192, !7, i64 193, !17, i64 194, !17, i64 196, !17, i64 198, !14, i64 200, !7, i64 204, !7, i64 205, !7, i64 206, !16, i64 207, !14, i64 208, !14, i64 212, !14, i64 216, !14, i64 220, !14, i64 224, !14, i64 228, !14, i64 232, !15, i64 236, !15, i64 244, !62, i64 256, !72, i64 272, !38, i64 600, !38, i64 616, !38, i64 632, !38, i64 648, !38, i64 664, !38, i64 680, !38, i64 696, !77, i64 712, !77, i64 716, !14, i64 720, !14, i64 724, !10, i64 728, !10, i64 732, !33, i64 736, !78, i64 752, !10, i64 768, !10, i64 772, !14, i64 776, !6, i64 784, !79, i64 792, !6, i64 1016, !6, i64 1024, !6, i64 1032, !6, i64 1040, !6, i64 1048, !6, i64 1056, !7, i64 1064, !7, i64 1072, !16, i64 1104, !14, i64 1108, !14, i64 1112, !6, i64 1120, !6, i64 1128, !14, i64 1136, !14, i64 1140, !38, i64 1144, !17, i64 1160, !16, i64 1162, !16, i64 1162, !16, i64 1162}
!72 = !{!"_ZTS19ImGuiWindowTempData", !15, i64 0, !15, i64 8, !15, i64 16, !15, i64 24, !15, i64 32, !15, i64 40, !10, i64 48, !10, i64 52, !73, i64 56, !73, i64 60, !73, i64 64, !14, i64 68, !14, i64 72, !38, i64 76, !38, i64 92, !46, i64 108, !14, i64 112, !14, i64 116, !14, i64 120, !14, i64 124, !16, i64 128, !16, i64 129, !16, i64 130, !15, i64 132, !74, i64 140, !14, i64 176, !14, i64 180, !32, i64 184, !6, i64 200, !6, i64 208, !14, i64 216, !14, i64 220, !14, i64 224, !14, i64 228, !14, i64 232, !10, i64 236, !10, i64 240, !75, i64 248, !60, i64 264, !60, i64 280, !76, i64 296, !7, i64 312}
!73 = !{!"_ZTS6ImVec1", !10, i64 0}
!74 = !{!"_ZTS16ImGuiMenuColumns", !10, i64 0, !10, i64 4, !10, i64 8, !7, i64 12, !7, i64 24}
!75 = !{!"_ZTS8ImVectorIiE", !14, i64 0, !14, i64 4, !6, i64 8}
!76 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !14, i64 0, !14, i64 4, !6, i64 8}
!77 = !{!"_ZTS8ImVec2ih", !17, i64 0, !17, i64 2}
!78 = !{!"_ZTS8ImVectorI12ImGuiColumnsE", !14, i64 0, !14, i64 4, !6, i64 8}
!79 = !{!"_ZTS10ImDrawList", !80, i64 0, !24, i64 16, !81, i64 32, !14, i64 48, !6, i64 56, !6, i64 64, !14, i64 72, !6, i64 80, !6, i64 88, !82, i64 96, !83, i64 112, !84, i64 128, !85, i64 144, !86, i64 200}
!80 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !14, i64 0, !14, i64 4, !6, i64 8}
!81 = !{!"_ZTS8ImVectorI10ImDrawVertE", !14, i64 0, !14, i64 4, !6, i64 8}
!82 = !{!"_ZTS8ImVectorI6ImVec4E", !14, i64 0, !14, i64 4, !6, i64 8}
!83 = !{!"_ZTS8ImVectorIPvE", !14, i64 0, !14, i64 4, !6, i64 8}
!84 = !{!"_ZTS8ImVectorI6ImVec2E", !14, i64 0, !14, i64 4, !6, i64 8}
!85 = !{!"_ZTS9ImDrawCmd", !30, i64 0, !6, i64 16, !14, i64 24, !14, i64 28, !14, i64 32, !6, i64 40, !6, i64 48}
!86 = !{!"_ZTS18ImDrawListSplitter", !14, i64 0, !14, i64 4, !87, i64 8}
!87 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !14, i64 0, !14, i64 4, !6, i64 8}
!88 = distinct !{!88, !89}
!89 = !{!"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: 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 #0 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN5ImGui22ScaleWindowsInViewportEP14ImGuiViewportPf(ptr noundef readonly %0, float noundef %1) local_unnamed_addr #1 {
  %3 = getelementptr inbounds i8, ptr %0, i64 144
  %4 = load ptr, ptr %3, align 8, !tbaa !5
  %.not = icmp eq ptr %4, null
  br i1 %.not, label %.preheader, label %8

.preheader:                                       ; preds = %2
  %5 = load ptr, ptr @GImGui, align 8, !tbaa !18
  %6 = getelementptr inbounds i8, ptr %5, i64 6976
  %7 = load i32, ptr %6, align 8, !tbaa !19
  %.not1213 = icmp eq i32 %7, 0
  br i1 %.not1213, label %.loopexit, label %.lr.ph

8:                                                ; preds = %2
  tail call void @_ZL11ScaleWindowP11ImGuiWindowf(ptr noundef nonnull %4, float noundef %1)
  br label %.loopexit

.lr.ph:                                           ; preds = %.preheader, %17
  %.014 = phi i32 [ %18, %17 ], [ 0, %.preheader ]
  %9 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8ImVectorIP11ImGuiWindowEixEi(ptr noundef nonnull align 8 dereferenceable(16) %6, i32 noundef %.014)
  %10 = load ptr, ptr %9, align 8, !tbaa !18
  %11 = getelementptr inbounds i8, ptr %10, i64 48
  %12 = load ptr, ptr %11, align 8, !tbaa !68
  %13 = icmp eq ptr %12, %0
  br i1 %13, label %14, label %17

14:                                               ; preds = %.lr.ph
  %15 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8ImVectorIP11ImGuiWindowEixEi(ptr noundef nonnull align 8 dereferenceable(16) %6, i32 noundef %.014)
  %16 = load ptr, ptr %15, align 8, !tbaa !18
  tail call void @_ZL11ScaleWindowP11ImGuiWindowf(ptr noundef %16, float noundef %1)
  br label %17

17:                                               ; preds = %.lr.ph, %14
  %18 = add nuw nsw i32 %.014, 1
  %19 = load i32, ptr %6, align 8, !tbaa !19
  %.not12 = icmp eq i32 %18, %19
  br i1 %.not12, label %.loopexit, label %.lr.ph, !llvm.loop !86

.loopexit:                                        ; preds = %17, %.preheader, %8
  ret void
}

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL11ScaleWindowP11ImGuiWindowf(ptr noundef, float noundef) local_unnamed_addr #2

attributes #0 = { 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 #1 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress uwtable "min-legal-vector-width"="64" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }

!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, !13, i64 144}
!6 = !{!"_ZTS14ImGuiViewportP", !7, i64 0, !8, i64 100, !8, i64 104, !9, i64 108, !8, i64 116, !8, i64 120, !11, i64 124, !12, i64 132, !12, i64 136, !15, i64 140, !14, i64 142, !13, i64 144, !9, i64 152, !16, i64 168, !17, i64 232, !11, i64 264, !11, i64 272, !11, i64 280, !11, i64 288, !11, i64 296}
!7 = !{!"_ZTS13ImGuiViewport", !8, i64 0, !8, i64 4, !11, i64 8, !11, i64 16, !11, i64 24, !11, i64 32, !12, i64 40, !13, i64 48, !8, i64 56, !13, i64 64, !13, i64 72, !13, i64 80, !13, i64 88, !14, i64 96, !14, i64 97, !14, i64 98}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C++ TBAA"}
!11 = !{!"_ZTS6ImVec2", !12, i64 0, !12, i64 4}
!12 = !{!"float", !9, i64 0}
!13 = !{!"any pointer", !9, i64 0}
!14 = !{!"bool", !9, i64 0}
!15 = !{!"short", !9, i64 0}
!16 = !{!"_ZTS10ImDrawData", !14, i64 0, !13, i64 8, !8, i64 16, !8, i64 20, !8, i64 24, !11, i64 28, !11, i64 36, !11, i64 44, !13, i64 56}
!17 = !{!"_ZTS17ImDrawDataBuilder", !9, i64 0}
!18 = !{!13, !13, i64 0}
!19 = !{!20, !8, i64 6976}
!20 = !{!"_ZTS12ImGuiContext", !14, i64 0, !14, i64 1, !21, i64 8, !23, i64 5472, !26, i64 5704, !8, i64 6692, !8, i64 6696, !13, i64 6704, !12, i64 6712, !12, i64 6716, !27, i64 6720, !29, i64 6936, !8, i64 6944, !8, i64 6948, !8, i64 6952, !8, i64 6956, !14, i64 6960, !14, i64 6961, !14, i64 6962, !14, i64 6963, !8, i64 6964, !13, i64 6968, !30, i64 6976, !30, i64 6992, !30, i64 7008, !30, i64 7024, !31, i64 7040, !8, i64 7056, !13, i64 7064, !13, i64 7072, !13, i64 7080, !13, i64 7088, !13, i64 7096, !13, i64 7104, !13, i64 7112, !11, i64 7120, !12, i64 7128, !8, i64 7132, !8, i64 7136, !14, i64 7140, !14, i64 7141, !12, i64 7144, !12, i64 7148, !8, i64 7152, !8, i64 7156, !12, i64 7160, !14, i64 7164, !14, i64 7165, !14, i64 7166, !14, i64 7167, !14, i64 7168, !14, i64 7169, !8, i64 7172, !8, i64 7176, !33, i64 7184, !11, i64 7192, !13, i64 7200, !34, i64 7208, !8, i64 7212, !8, i64 7216, !14, i64 7220, !14, i64 7221, !13, i64 7224, !8, i64 7232, !12, i64 7236, !35, i64 7240, !38, i64 7384, !39, i64 7408, !40, i64 7424, !41, i64 7440, !42, i64 7456, !42, i64 7472, !43, i64 7488, !12, i64 7504, !13, i64 7512, !13, i64 7520, !13, i64 7528, !8, i64 7536, !8, i64 7540, !13, i64 7544, !8, i64 7552, !8, i64 7556, !8, i64 7560, !8, i64 7564, !8, i64 7568, !8, i64 7572, !8, i64 7576, !8, i64 7580, !8, i64 7584, !8, i64 7588, !8, i64 7592, !34, i64 7596, !36, i64 7600, !8, i64 7616, !44, i64 7620, !8, i64 7624, !14, i64 7628, !14, i64 7629, !14, i64 7630, !14, i64 7631, !14, i64 7632, !14, i64 7633, !14, i64 7634, !8, i64 7636, !36, i64 7640, !14, i64 7656, !14, i64 7657, !8, i64 7660, !45, i64 7664, !8, i64 7668, !8, i64 7672, !8, i64 7676, !8, i64 7680, !46, i64 7688, !46, i64 7736, !46, i64 7784, !13, i64 7832, !8, i64 7840, !13, i64 7848, !13, i64 7856, !13, i64 7864, !12, i64 7872, !12, i64 7876, !14, i64 7880, !13, i64 7888, !13, i64 7896, !8, i64 7904, !8, i64 7908, !8, i64 7912, !8, i64 7916, !14, i64 7920, !12, i64 7924, !8, i64 7928, !14, i64 7932, !14, i64 7933, !14, i64 7934, !8, i64 7936, !8, i64 7940, !8, i64 7944, !47, i64 7952, !36, i64 8016, !8, i64 8032, !8, i64 8036, !12, i64 8040, !8, i64 8044, !8, i64 8048, !8, i64 8052, !8, i64 8056, !48, i64 8064, !9, i64 8080, !13, i64 8096, !49, i64 8104, !51, i64 8144, !52, i64 8160, !11, i64 8176, !53, i64 8184, !57, i64 11912, !8, i64 12032, !8, i64 12036, !12, i64 12040, !12, i64 12044, !9, i64 12048, !28, i64 12060, !12, i64 12076, !14, i64 12080, !14, i64 12081, !12, i64 12084, !12, i64 12088, !12, i64 12092, !8, i64 12096, !54, i64 12104, !60, i64 12120, !11, i64 12136, !11, i64 12144, !13, i64 12152, !61, i64 12160, !14, i64 12216, !12, i64 12220, !64, i64 12224, !65, i64 12240, !66, i64 12256, !14, i64 12272, !67, i64 12276, !13, i64 12280, !64, i64 12288, !12, i64 12304, !14, i64 12308, !8, i64 12312, !8, i64 12316, !8, i64 12320, !14, i64 12324, !8, i64 12328, !9, i64 12332, !8, i64 12812, !12, i64 12816, !8, i64 12820, !8, i64 12824, !8, i64 12828, !9, i64 12832}
!21 = !{!"_ZTS7ImGuiIO", !8, i64 0, !8, i64 4, !11, i64 8, !12, i64 16, !12, i64 20, !13, i64 24, !13, i64 32, !12, i64 40, !12, i64 44, !12, i64 48, !9, i64 52, !12, i64 140, !12, i64 144, !13, i64 152, !13, i64 160, !12, i64 168, !14, i64 172, !13, i64 176, !11, i64 184, !14, i64 192, !14, i64 193, !14, i64 194, !14, i64 195, !14, i64 196, !14, i64 197, !14, i64 198, !14, i64 199, !14, i64 200, !14, i64 201, !14, i64 202, !14, i64 203, !14, i64 204, !12, i64 208, !13, i64 216, !13, i64 224, !13, i64 232, !13, i64 240, !13, i64 248, !13, i64 256, !13, i64 264, !13, i64 272, !13, i64 280, !11, i64 288, !9, i64 296, !12, i64 304, !12, i64 308, !8, i64 312, !14, i64 316, !14, i64 317, !14, i64 318, !14, i64 319, !9, i64 320, !9, i64 832, !14, i64 916, !14, i64 917, !14, i64 918, !14, i64 919, !14, i64 920, !14, i64 921, !14, i64 922, !12, i64 924, !8, i64 928, !8, i64 932, !8, i64 936, !8, i64 940, !8, i64 944, !11, i64 948, !8, i64 956, !11, i64 960, !9, i64 968, !9, i64 1008, !9, i64 1048, !9, i64 1053, !9, i64 1058, !9, i64 1063, !9, i64 1068, !9, i64 1076, !9, i64 1096, !9, i64 1116, !9, i64 1156, !9, i64 1176, !9, i64 3224, !9, i64 5272, !9, i64 5356, !12, i64 5440, !15, i64 5444, !22, i64 5448}
!22 = !{!"_ZTS8ImVectorItE", !8, i64 0, !8, i64 4, !13, i64 8}
!23 = !{!"_ZTS15ImGuiPlatformIO", !13, i64 0, !13, i64 8, !13, i64 16, !13, i64 24, !13, i64 32, !13, i64 40, !13, i64 48, !13, i64 56, !13, i64 64, !13, i64 72, !13, i64 80, !13, i64 88, !13, i64 96, !13, i64 104, !13, i64 112, !13, i64 120, !13, i64 128, !13, i64 136, !13, i64 144, !13, i64 152, !13, i64 160, !13, i64 168, !13, i64 176, !13, i64 184, !24, i64 192, !13, i64 208, !25, i64 216}
!24 = !{!"_ZTS8ImVectorI20ImGuiPlatformMonitorE", !8, i64 0, !8, i64 4, !13, i64 8}
!25 = !{!"_ZTS8ImVectorIP13ImGuiViewportE", !8, i64 0, !8, i64 4, !13, i64 8}
!26 = !{!"_ZTS10ImGuiStyle", !12, i64 0, !11, i64 4, !12, i64 12, !12, i64 16, !11, i64 20, !11, i64 28, !8, i64 36, !12, i64 40, !12, i64 44, !12, i64 48, !12, i64 52, !11, i64 56, !12, i64 64, !12, i64 68, !11, i64 72, !11, i64 80, !11, i64 88, !12, i64 96, !12, i64 100, !12, i64 104, !12, i64 108, !12, i64 112, !12, i64 116, !12, i64 120, !12, i64 124, !12, i64 128, !12, i64 132, !8, i64 136, !11, i64 140, !11, i64 148, !11, i64 156, !11, i64 164, !12, i64 172, !14, i64 176, !14, i64 177, !14, i64 178, !12, i64 180, !12, i64 184, !9, i64 188}
!27 = !{!"_ZTS20ImDrawListSharedData", !11, i64 0, !13, i64 8, !12, i64 16, !12, i64 20, !12, i64 24, !28, i64 28, !8, i64 44, !9, i64 48, !9, i64 144, !13, i64 208}
!28 = !{!"_ZTS6ImVec4", !12, i64 0, !12, i64 4, !12, i64 8, !12, i64 12}
!29 = !{!"double", !9, i64 0}
!30 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !8, i64 0, !8, i64 4, !13, i64 8}
!31 = !{!"_ZTS12ImGuiStorage", !32, i64 0}
!32 = !{!"_ZTS8ImVectorIN12ImGuiStorage16ImGuiStoragePairEE", !8, i64 0, !8, i64 4, !13, i64 8}
!33 = !{!"long long", !9, i64 0}
!34 = !{!"_ZTS16ImGuiInputSource", !9, i64 0}
!35 = !{!"_ZTS19ImGuiNextWindowData", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !8, i64 16, !11, i64 20, !11, i64 28, !11, i64 36, !11, i64 44, !11, i64 52, !14, i64 60, !14, i64 61, !36, i64 64, !13, i64 80, !13, i64 88, !12, i64 96, !8, i64 100, !8, i64 104, !37, i64 108, !11, i64 136}
!36 = !{!"_ZTS6ImRect", !11, i64 0, !11, i64 8}
!37 = !{!"_ZTS16ImGuiWindowClass", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !8, i64 16, !8, i64 20, !14, i64 24, !14, i64 25}
!38 = !{!"_ZTS17ImGuiNextItemData", !8, i64 0, !12, i64 4, !8, i64 8, !8, i64 12, !14, i64 16}
!39 = !{!"_ZTS8ImVectorI13ImGuiColorModE", !8, i64 0, !8, i64 4, !13, i64 8}
!40 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !8, i64 0, !8, i64 4, !13, i64 8}
!41 = !{!"_ZTS8ImVectorIP6ImFontE", !8, i64 0, !8, i64 4, !13, i64 8}
!42 = !{!"_ZTS8ImVectorI14ImGuiPopupDataE", !8, i64 0, !8, i64 4, !13, i64 8}
!43 = !{!"_ZTS8ImVectorIP14ImGuiViewportPE", !8, i64 0, !8, i64 4, !13, i64 8}
!44 = !{!"_ZTS13ImGuiNavLayer", !9, i64 0}
!45 = !{!"_ZTS15ImGuiNavForward", !9, i64 0}
!46 = !{!"_ZTS18ImGuiNavMoveResult", !13, i64 0, !8, i64 8, !8, i64 12, !12, i64 16, !12, i64 20, !12, i64 24, !36, i64 28}
!47 = !{!"_ZTS12ImGuiPayload", !13, i64 0, !8, i64 8, !8, i64 12, !8, i64 16, !8, i64 20, !9, i64 24, !14, i64 57, !14, i64 58}
!48 = !{!"_ZTS8ImVectorIhE", !8, i64 0, !8, i64 4, !13, i64 8}
!49 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !50, i64 0, !31, i64 16, !8, i64 32}
!50 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !8, i64 0, !8, i64 4, !13, i64 8}
!51 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !8, i64 0, !8, i64 4, !13, i64 8}
!52 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !8, i64 0, !8, i64 4, !13, i64 8}
!53 = !{!"_ZTS19ImGuiInputTextState", !8, i64 0, !8, i64 4, !8, i64 8, !22, i64 16, !54, i64 32, !54, i64 48, !14, i64 64, !8, i64 68, !12, i64 72, !55, i64 76, !12, i64 3696, !14, i64 3700, !14, i64 3701, !14, i64 3702, !8, i64 3704, !13, i64 3712, !13, i64 3720}
!54 = !{!"_ZTS8ImVectorIcE", !8, i64 0, !8, i64 4, !13, i64 8}
!55 = !{!"_ZTSN5ImStb17STB_TexteditStateE", !8, i64 0, !8, i64 4, !8, i64 8, !9, i64 12, !9, i64 13, !9, i64 14, !9, i64 15, !9, i64 16, !9, i64 17, !9, i64 18, !9, i64 19, !12, i64 20, !56, i64 24}
!56 = !{!"_ZTSN5ImStb12StbUndoStateE", !9, i64 0, !9, i64 1584, !15, i64 3582, !15, i64 3584, !8, i64 3588, !8, i64 3592}
!57 = !{!"_ZTS6ImFont", !58, i64 0, !12, i64 16, !12, i64 20, !22, i64 24, !59, i64 40, !13, i64 56, !11, i64 64, !13, i64 72, !13, i64 80, !15, i64 88, !15, i64 90, !15, i64 92, !14, i64 94, !12, i64 96, !12, i64 100, !12, i64 104, !8, i64 108, !9, i64 112}
!58 = !{!"_ZTS8ImVectorIfE", !8, i64 0, !8, i64 4, !13, i64 8}
!59 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !8, i64 0, !8, i64 4, !13, i64 8}
!60 = !{!"_ZTS8ImVectorIjE", !8, i64 0, !8, i64 4, !13, i64 8}
!61 = !{!"_ZTS16ImGuiDockContext", !31, i64 0, !62, i64 16, !63, i64 32, !14, i64 48}
!62 = !{!"_ZTS8ImVectorI16ImGuiDockRequestE", !8, i64 0, !8, i64 4, !13, i64 8}
!63 = !{!"_ZTS8ImVectorI21ImGuiDockNodeSettingsE", !8, i64 0, !8, i64 4, !13, i64 8}
!64 = !{!"_ZTS15ImGuiTextBuffer", !54, i64 0}
!65 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !8, i64 0, !8, i64 4, !13, i64 8}
!66 = !{!"_ZTS13ImChunkStreamI19ImGuiWindowSettingsE", !54, i64 0}
!67 = !{!"_ZTS12ImGuiLogType", !9, i64 0}
!68 = !{!69, !13, i64 48}
!69 = !{!"_ZTS11ImGuiWindow", !13, i64 0, !8, i64 8, !8, i64 12, !8, i64 16, !37, i64 20, !13, i64 48, !8, i64 56, !11, i64 60, !8, i64 68, !11, i64 72, !11, i64 80, !11, i64 88, !11, i64 96, !11, i64 104, !11, i64 112, !12, i64 120, !12, i64 124, !8, i64 128, !8, i64 132, !8, i64 136, !11, i64 140, !11, i64 148, !11, i64 156, !11, i64 164, !11, 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, !9, i64 193, !15, i64 194, !15, i64 196, !15, i64 198, !8, i64 200, !9, i64 204, !9, i64 205, !9, i64 206, !14, i64 207, !8, i64 208, !8, i64 212, !8, i64 216, !8, i64 220, !8, i64 224, !8, i64 228, !8, i64 232, !11, i64 236, !11, i64 244, !60, i64 256, !70, i64 272, !36, i64 600, !36, i64 616, !36, i64 632, !36, i64 648, !36, i64 664, !36, i64 680, !36, i64 696, !75, i64 712, !75, i64 716, !8, i64 720, !8, i64 724, !12, i64 728, !12, i64 732, !31, i64 736, !76, i64 752, !12, i64 768, !12, i64 772, !8, i64 776, !13, i64 784, !77, i64 792, !13, i64 1016, !13, i64 1024, !13, i64 1032, !13, i64 1040, !13, i64 1048, !13, i64 1056, !9, i64 1064, !9, i64 1072, !14, i64 1104, !8, i64 1108, !8, i64 1112, !13, i64 1120, !13, i64 1128, !8, i64 1136, !8, i64 1140, !36, i64 1144, !15, i64 1160, !14, i64 1162, !14, i64 1162, !14, i64 1162}
!70 = !{!"_ZTS19ImGuiWindowTempData", !11, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !11, i64 32, !11, i64 40, !12, i64 48, !12, i64 52, !71, i64 56, !71, i64 60, !71, i64 64, !8, i64 68, !8, i64 72, !36, i64 76, !36, i64 92, !44, i64 108, !8, i64 112, !8, i64 116, !8, i64 120, !8, i64 124, !14, i64 128, !14, i64 129, !14, i64 130, !11, i64 132, !72, i64 140, !8, i64 176, !8, i64 180, !30, i64 184, !13, i64 200, !13, i64 208, !8, i64 216, !8, i64 220, !8, i64 224, !8, i64 228, !8, i64 232, !12, i64 236, !12, i64 240, !73, i64 248, !58, i64 264, !58, i64 280, !74, i64 296, !9, i64 312}
!71 = !{!"_ZTS6ImVec1", !12, i64 0}
!72 = !{!"_ZTS16ImGuiMenuColumns", !12, i64 0, !12, i64 4, !12, i64 8, !9, i64 12, !9, i64 24}
!73 = !{!"_ZTS8ImVectorIiE", !8, i64 0, !8, i64 4, !13, i64 8}
!74 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !8, i64 0, !8, i64 4, !13, i64 8}
!75 = !{!"_ZTS8ImVec2ih", !15, i64 0, !15, i64 2}
!76 = !{!"_ZTS8ImVectorI12ImGuiColumnsE", !8, i64 0, !8, i64 4, !13, i64 8}
!77 = !{!"_ZTS10ImDrawList", !78, i64 0, !22, i64 16, !79, i64 32, !8, i64 48, !13, i64 56, !13, i64 64, !8, i64 72, !13, i64 80, !13, i64 88, !80, i64 96, !81, i64 112, !82, i64 128, !83, i64 144, !84, i64 200}
!78 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !8, i64 0, !8, i64 4, !13, i64 8}
!79 = !{!"_ZTS8ImVectorI10ImDrawVertE", !8, i64 0, !8, i64 4, !13, i64 8}
!80 = !{!"_ZTS8ImVectorI6ImVec4E", !8, i64 0, !8, i64 4, !13, i64 8}
!81 = !{!"_ZTS8ImVectorIPvE", !8, i64 0, !8, i64 4, !13, i64 8}
!82 = !{!"_ZTS8ImVectorI6ImVec2E", !8, i64 0, !8, i64 4, !13, i64 8}
!83 = !{!"_ZTS9ImDrawCmd", !28, i64 0, !13, i64 16, !8, i64 24, !8, i64 28, !8, i64 32, !13, i64 40, !13, i64 48}
!84 = !{!"_ZTS18ImDrawListSplitter", !8, i64 0, !8, i64 4, !85, i64 8}
!85 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !8, i64 0, !8, i64 4, !13, i64 8}
!86 = distinct !{!86, !87}
!87 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass