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

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

%struct.ImVec2 = type { float, float }
%struct.ImRect = type { %struct.ImVec2, %struct.ImVec2 }
%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.ImGuiWindowClass = type <{ i32, i32, i32, i32, i32, i32, i8, i8, [2 x i8] }>
%struct.ImVector.17 = type { i32, i32, ptr }
%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.5 = type { i32, i32, ptr }
%struct.ImVector.21 = type { i32, i32, ptr }
%struct.ImVector.15 = type { i32, i32, ptr }
%struct.ImVector.22 = type { i32, i32, ptr }
%struct.ImVec2ih = type { i16, i16 }
%struct.ImGuiStorage = type { %struct.ImVector.0 }
%struct.ImVector.0 = type { i32, i32, ptr }
%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 = 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.ImVec4 = type { float, float, float, float }
%struct.ImDrawListSplitter = type { i32, i32, %struct.ImVector.29 }
%struct.ImVector.29 = type { i32, i32, ptr }
%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.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.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.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.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.16 = type { i32, i32, ptr }
%struct.ImVector.2 = 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 }

@GImGui = external dso_local global ptr, align 8
@.str.3 = external hidden unnamed_addr constant [109 x i8], align 1
@.str.63 = external hidden unnamed_addr constant [2 x i8], align 1
@__PRETTY_FUNCTION__._ZN5ImGui25FindBestWindowPosForPopupEP11ImGuiWindow = external hidden unnamed_addr constant [55 x i8], align 1

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

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

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

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

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #4

; Function Attrs: inlinehint mustprogress uwtable
declare hidden <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8)) #5

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6ImRectC2Ev(ptr noundef nonnull align 4 dereferenceable(16)) unnamed_addr #6 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6ImRectC2Effff(ptr noundef nonnull align 4 dereferenceable(16), float noundef, float noundef, float noundef, float noundef) unnamed_addr #6 align 2

; Function Attrs: mustprogress uwtable
define dso_local <2 x float> @_ZN5ImGui25FindBestWindowPosForPopupEP11ImGuiWindow(ptr noundef %0) #7 {
  %2 = alloca %struct.ImVec2, align 4
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca float, align 4
  %7 = alloca %struct.ImRect, align 4
  %8 = alloca %struct.ImRect, align 4
  %9 = alloca %struct.ImRect, align 4
  %10 = alloca %struct.ImRect, align 4
  %11 = alloca i32, align 4
  %12 = alloca %struct.ImRect, align 4
  %13 = alloca %struct.ImRect, align 4
  %14 = alloca float, align 4
  %15 = alloca %struct.ImVec2, align 4
  %16 = alloca %struct.ImRect, align 4
  %17 = alloca %struct.ImRect, align 4
  %18 = alloca %struct.ImRect, align 4
  %19 = alloca %struct.ImRect, align 4
  %20 = alloca %struct.ImVec2, align 4
  %21 = alloca %struct.ImVec2, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #8
  %22 = load ptr, ptr @GImGui, align 8, !tbaa !5
  store ptr %22, ptr %4, align 8, !tbaa !5
  %23 = load ptr, ptr %3, align 8, !tbaa !5
  %24 = getelementptr inbounds %struct.ImGuiWindow, ptr %23, i32 0, i32 2
  %25 = load i32, ptr %24, align 4, !tbaa !9
  %26 = and i32 %25, 268435456
  %27 = icmp ne i32 %26, 0
  br i1 %27, label %28, label %90

28:                                               ; preds = %1
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #8
  %29 = load ptr, ptr %3, align 8, !tbaa !5
  %30 = getelementptr inbounds %struct.ImGuiWindow, ptr %29, i32 0, i32 80
  %31 = load ptr, ptr %30, align 8, !tbaa !42
  store ptr %31, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #8
  %32 = load ptr, ptr %4, align 8, !tbaa !5
  %33 = getelementptr inbounds %struct.ImGuiContext, ptr %32, i32 0, i32 5
  %34 = getelementptr inbounds %struct.ImGuiStyle, ptr %33, i32 0, i32 15
  %35 = getelementptr inbounds %struct.ImVec2, ptr %34, i32 0, i32 0
  %36 = load float, ptr %35, align 8, !tbaa !43
  store float %36, ptr %6, align 4, !tbaa !82
  call void @llvm.lifetime.start.p0(i64 16, ptr %7) #8
  %37 = load ptr, ptr %3, align 8, !tbaa !5
  %38 = call { <2 x float>, <2 x float> } @_ZN5ImGui26GetWindowAllowedExtentRectEP11ImGuiWindow(ptr noundef %37)
  %39 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %7, i32 0, i32 0
  %40 = extractvalue { <2 x float>, <2 x float> } %38, 0
  store <2 x float> %40, ptr %39, align 4
  %41 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %7, i32 0, i32 1
  %42 = extractvalue { <2 x float>, <2 x float> } %38, 1
  store <2 x float> %42, ptr %41, align 4
  call void @llvm.lifetime.start.p0(i64 16, ptr %8) #8
  call void @_ZN6ImRectC2Ev(ptr noundef nonnull align 4 dereferenceable(16) %8)
  %43 = load ptr, ptr %5, align 8, !tbaa !5
  %44 = getelementptr inbounds %struct.ImGuiWindow, ptr %43, i32 0, i32 58
  %45 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %44, i32 0, i32 22
  %46 = load i8, ptr %45, align 2, !tbaa !83, !range !84, !noundef !85
  %47 = trunc i8 %46 to i1
  br i1 %47, label %48, label %59

48:                                               ; preds = %28
  call void @llvm.lifetime.start.p0(i64 16, ptr %9) #8
  %49 = load ptr, ptr %5, align 8, !tbaa !5
  %50 = getelementptr inbounds %struct.ImGuiWindow, ptr %49, i32 0, i32 64
  %51 = getelementptr inbounds %struct.ImRect, ptr %50, i32 0, i32 0
  %52 = getelementptr inbounds %struct.ImVec2, ptr %51, i32 0, i32 1
  %53 = load float, ptr %52, align 4, !tbaa !86
  %54 = load ptr, ptr %5, align 8, !tbaa !5
  %55 = getelementptr inbounds %struct.ImGuiWindow, ptr %54, i32 0, i32 64
  %56 = getelementptr inbounds %struct.ImRect, ptr %55, i32 0, i32 1
  %57 = getelementptr inbounds %struct.ImVec2, ptr %56, i32 0, i32 1
  %58 = load float, ptr %57, align 4, !tbaa !87
  call void @_ZN6ImRectC2Effff(ptr noundef nonnull align 4 dereferenceable(16) %9, float noundef 0xC7EFFFFFE0000000, float noundef %53, float noundef 0x47EFFFFFE0000000, float noundef %58)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %8, ptr align 4 %9, i64 16, i1 false), !tbaa.struct !88
  call void @llvm.lifetime.end.p0(i64 16, ptr %9) #8
  br label %82

59:                                               ; preds = %28
  call void @llvm.lifetime.start.p0(i64 16, ptr %10) #8
  %60 = load ptr, ptr %5, align 8, !tbaa !5
  %61 = getelementptr inbounds %struct.ImGuiWindow, ptr %60, i32 0, i32 9
  %62 = getelementptr inbounds %struct.ImVec2, ptr %61, i32 0, i32 0
  %63 = load float, ptr %62, align 8, !tbaa !89
  %64 = load float, ptr %6, align 4, !tbaa !82
  %65 = fadd float %63, %64
  %66 = load ptr, ptr %5, align 8, !tbaa !5
  %67 = getelementptr inbounds %struct.ImGuiWindow, ptr %66, i32 0, i32 9
  %68 = getelementptr inbounds %struct.ImVec2, ptr %67, i32 0, i32 0
  %69 = load float, ptr %68, align 8, !tbaa !89
  %70 = load ptr, ptr %5, align 8, !tbaa !5
  %71 = getelementptr inbounds %struct.ImGuiWindow, ptr %70, i32 0, i32 10
  %72 = getelementptr inbounds %struct.ImVec2, ptr %71, i32 0, i32 0
  %73 = load float, ptr %72, align 8, !tbaa !90
  %74 = fadd float %69, %73
  %75 = load float, ptr %6, align 4, !tbaa !82
  %76 = fsub float %74, %75
  %77 = load ptr, ptr %5, align 8, !tbaa !5
  %78 = getelementptr inbounds %struct.ImGuiWindow, ptr %77, i32 0, i32 24
  %79 = getelementptr inbounds %struct.ImVec2, ptr %78, i32 0, i32 0
  %80 = load float, ptr %79, align 4, !tbaa !91
  %81 = fsub float %76, %80
  call void @_ZN6ImRectC2Effff(ptr noundef nonnull align 4 dereferenceable(16) %10, float noundef %65, float noundef 0xC7EFFFFFE0000000, float noundef %81, float noundef 0x47EFFFFFE0000000)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %8, ptr align 4 %10, i64 16, i1 false), !tbaa.struct !88
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #8
  br label %82

82:                                               ; preds = %59, %48
  %83 = load ptr, ptr %3, align 8, !tbaa !5
  %84 = getelementptr inbounds %struct.ImGuiWindow, ptr %83, i32 0, i32 9
  %85 = load ptr, ptr %3, align 8, !tbaa !5
  %86 = getelementptr inbounds %struct.ImGuiWindow, ptr %85, i32 0, i32 10
  %87 = load ptr, ptr %3, align 8, !tbaa !5
  %88 = getelementptr inbounds %struct.ImGuiWindow, ptr %87, i32 0, i32 47
  %89 = call <2 x float> @_ZN5ImGui27FindBestWindowPosForPopupExERK6ImVec2S2_PiRK6ImRectS6_24ImGuiPopupPositionPolicy(ptr noundef nonnull align 4 dereferenceable(8) %84, ptr noundef nonnull align 4 dereferenceable(8) %86, ptr noundef %88, ptr noundef nonnull align 4 dereferenceable(16) %7, ptr noundef nonnull align 4 dereferenceable(16) %8, i32 noundef 0)
  store <2 x float> %89, ptr %2, align 4
  store i32 1, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %8) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %7) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #8
  br label %206

90:                                               ; preds = %1
  %91 = load ptr, ptr %3, align 8, !tbaa !5
  %92 = getelementptr inbounds %struct.ImGuiWindow, ptr %91, i32 0, i32 2
  %93 = load i32, ptr %92, align 4, !tbaa !9
  %94 = and i32 %93, 67108864
  %95 = icmp ne i32 %94, 0
  br i1 %95, label %96, label %130

96:                                               ; preds = %90
  call void @llvm.lifetime.start.p0(i64 16, ptr %12) #8
  %97 = load ptr, ptr %3, align 8, !tbaa !5
  %98 = call { <2 x float>, <2 x float> } @_ZN5ImGui26GetWindowAllowedExtentRectEP11ImGuiWindow(ptr noundef %97)
  %99 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %12, i32 0, i32 0
  %100 = extractvalue { <2 x float>, <2 x float> } %98, 0
  store <2 x float> %100, ptr %99, align 4
  %101 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %12, i32 0, i32 1
  %102 = extractvalue { <2 x float>, <2 x float> } %98, 1
  store <2 x float> %102, ptr %101, align 4
  call void @llvm.lifetime.start.p0(i64 16, ptr %13) #8
  %103 = load ptr, ptr %3, align 8, !tbaa !5
  %104 = getelementptr inbounds %struct.ImGuiWindow, ptr %103, i32 0, i32 9
  %105 = getelementptr inbounds %struct.ImVec2, ptr %104, i32 0, i32 0
  %106 = load float, ptr %105, align 8, !tbaa !89
  %107 = fsub float %106, 1.000000e+00
  %108 = load ptr, ptr %3, align 8, !tbaa !5
  %109 = getelementptr inbounds %struct.ImGuiWindow, ptr %108, i32 0, i32 9
  %110 = getelementptr inbounds %struct.ImVec2, ptr %109, i32 0, i32 1
  %111 = load float, ptr %110, align 4, !tbaa !92
  %112 = fsub float %111, 1.000000e+00
  %113 = load ptr, ptr %3, align 8, !tbaa !5
  %114 = getelementptr inbounds %struct.ImGuiWindow, ptr %113, i32 0, i32 9
  %115 = getelementptr inbounds %struct.ImVec2, ptr %114, i32 0, i32 0
  %116 = load float, ptr %115, align 8, !tbaa !89
  %117 = fadd float %116, 1.000000e+00
  %118 = load ptr, ptr %3, align 8, !tbaa !5
  %119 = getelementptr inbounds %struct.ImGuiWindow, ptr %118, i32 0, i32 9
  %120 = getelementptr inbounds %struct.ImVec2, ptr %119, i32 0, i32 1
  %121 = load float, ptr %120, align 4, !tbaa !92
  %122 = fadd float %121, 1.000000e+00
  call void @_ZN6ImRectC2Effff(ptr noundef nonnull align 4 dereferenceable(16) %13, float noundef %107, float noundef %112, float noundef %117, float noundef %122)
  %123 = load ptr, ptr %3, align 8, !tbaa !5
  %124 = getelementptr inbounds %struct.ImGuiWindow, ptr %123, i32 0, i32 9
  %125 = load ptr, ptr %3, align 8, !tbaa !5
  %126 = getelementptr inbounds %struct.ImGuiWindow, ptr %125, i32 0, i32 10
  %127 = load ptr, ptr %3, align 8, !tbaa !5
  %128 = getelementptr inbounds %struct.ImGuiWindow, ptr %127, i32 0, i32 47
  %129 = call <2 x float> @_ZN5ImGui27FindBestWindowPosForPopupExERK6ImVec2S2_PiRK6ImRectS6_24ImGuiPopupPositionPolicy(ptr noundef nonnull align 4 dereferenceable(8) %124, ptr noundef nonnull align 4 dereferenceable(8) %126, ptr noundef %128, ptr noundef nonnull align 4 dereferenceable(16) %12, ptr noundef nonnull align 4 dereferenceable(16) %13, i32 noundef 0)
  store <2 x float> %129, ptr %2, align 4
  store i32 1, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #8
  br label %206

130:                                              ; preds = %90
  %131 = load ptr, ptr %3, align 8, !tbaa !5
  %132 = getelementptr inbounds %struct.ImGuiWindow, ptr %131, i32 0, i32 2
  %133 = load i32, ptr %132, align 4, !tbaa !9
  %134 = and i32 %133, 33554432
  %135 = icmp ne i32 %134, 0
  br i1 %135, label %136, label %205

136:                                              ; preds = %130
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #8
  %137 = load ptr, ptr %4, align 8, !tbaa !5
  %138 = getelementptr inbounds %struct.ImGuiContext, ptr %137, i32 0, i32 5
  %139 = getelementptr inbounds %struct.ImGuiStyle, ptr %138, i32 0, i32 32
  %140 = load float, ptr %139, align 4, !tbaa !93
  store float %140, ptr %14, align 4, !tbaa !82
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #8
  %141 = call <2 x float> @_ZN5ImGuiL22NavCalcPreferredRefPosEv()
  store <2 x float> %141, ptr %15, align 4
  call void @llvm.lifetime.start.p0(i64 16, ptr %16) #8
  %142 = load ptr, ptr %3, align 8, !tbaa !5
  %143 = call { <2 x float>, <2 x float> } @_ZN5ImGui26GetWindowAllowedExtentRectEP11ImGuiWindow(ptr noundef %142)
  %144 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %16, i32 0, i32 0
  %145 = extractvalue { <2 x float>, <2 x float> } %143, 0
  store <2 x float> %145, ptr %144, align 4
  %146 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %16, i32 0, i32 1
  %147 = extractvalue { <2 x float>, <2 x float> } %143, 1
  store <2 x float> %147, ptr %146, align 4
  call void @llvm.lifetime.start.p0(i64 16, ptr %17) #8
  call void @_ZN6ImRectC2Ev(ptr noundef nonnull align 4 dereferenceable(16) %17)
  %148 = load ptr, ptr %4, align 8, !tbaa !5
  %149 = getelementptr inbounds %struct.ImGuiContext, ptr %148, i32 0, i32 107
  %150 = load i8, ptr %149, align 2, !tbaa !94, !range !84, !noundef !85
  %151 = trunc i8 %150 to i1
  br i1 %151, label %177, label %152

152:                                              ; preds = %136
  %153 = load ptr, ptr %4, align 8, !tbaa !5
  %154 = getelementptr inbounds %struct.ImGuiContext, ptr %153, i32 0, i32 108
  %155 = load i8, ptr %154, align 1, !tbaa !95, !range !84, !noundef !85
  %156 = trunc i8 %155 to i1
  br i1 %156, label %157, label %177

157:                                              ; preds = %152
  %158 = load ptr, ptr %4, align 8, !tbaa !5
  %159 = getelementptr inbounds %struct.ImGuiContext, ptr %158, i32 0, i32 3
  %160 = getelementptr inbounds %struct.ImGuiIO, ptr %159, i32 0, i32 0
  %161 = load i32, ptr %160, align 8, !tbaa !96
  %162 = and i32 %161, 4
  %163 = icmp ne i32 %162, 0
  br i1 %163, label %177, label %164

164:                                              ; preds = %157
  call void @llvm.lifetime.start.p0(i64 16, ptr %18) #8
  %165 = getelementptr inbounds %struct.ImVec2, ptr %15, i32 0, i32 0
  %166 = load float, ptr %165, align 4, !tbaa !97
  %167 = fsub float %166, 1.600000e+01
  %168 = getelementptr inbounds %struct.ImVec2, ptr %15, i32 0, i32 1
  %169 = load float, ptr %168, align 4, !tbaa !98
  %170 = fsub float %169, 8.000000e+00
  %171 = getelementptr inbounds %struct.ImVec2, ptr %15, i32 0, i32 0
  %172 = load float, ptr %171, align 4, !tbaa !97
  %173 = fadd float %172, 1.600000e+01
  %174 = getelementptr inbounds %struct.ImVec2, ptr %15, i32 0, i32 1
  %175 = load float, ptr %174, align 4, !tbaa !98
  %176 = fadd float %175, 8.000000e+00
  call void @_ZN6ImRectC2Effff(ptr noundef nonnull align 4 dereferenceable(16) %18, float noundef %167, float noundef %170, float noundef %173, float noundef %176)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %17, ptr align 4 %18, i64 16, i1 false), !tbaa.struct !88
  call void @llvm.lifetime.end.p0(i64 16, ptr %18) #8
  br label %192

177:                                              ; preds = %157, %152, %136
  call void @llvm.lifetime.start.p0(i64 16, ptr %19) #8
  %178 = getelementptr inbounds %struct.ImVec2, ptr %15, i32 0, i32 0
  %179 = load float, ptr %178, align 4, !tbaa !97
  %180 = fsub float %179, 1.600000e+01
  %181 = getelementptr inbounds %struct.ImVec2, ptr %15, i32 0, i32 1
  %182 = load float, ptr %181, align 4, !tbaa !98
  %183 = fsub float %182, 8.000000e+00
  %184 = getelementptr inbounds %struct.ImVec2, ptr %15, i32 0, i32 0
  %185 = load float, ptr %184, align 4, !tbaa !97
  %186 = load float, ptr %14, align 4, !tbaa !82
  %187 = call float @llvm.fmuladd.f32(float 2.400000e+01, float %186, float %185)
  %188 = getelementptr inbounds %struct.ImVec2, ptr %15, i32 0, i32 1
  %189 = load float, ptr %188, align 4, !tbaa !98
  %190 = load float, ptr %14, align 4, !tbaa !82
  %191 = call float @llvm.fmuladd.f32(float 2.400000e+01, float %190, float %189)
  call void @_ZN6ImRectC2Effff(ptr noundef nonnull align 4 dereferenceable(16) %19, float noundef %180, float noundef %183, float noundef %187, float noundef %191)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %17, ptr align 4 %19, i64 16, i1 false), !tbaa.struct !88
  call void @llvm.lifetime.end.p0(i64 16, ptr %19) #8
  br label %192

192:                                              ; preds = %177, %164
  %193 = load ptr, ptr %3, align 8, !tbaa !5
  %194 = getelementptr inbounds %struct.ImGuiWindow, ptr %193, i32 0, i32 10
  %195 = load ptr, ptr %3, align 8, !tbaa !5
  %196 = getelementptr inbounds %struct.ImGuiWindow, ptr %195, i32 0, i32 47
  %197 = call <2 x float> @_ZN5ImGui27FindBestWindowPosForPopupExERK6ImVec2S2_PiRK6ImRectS6_24ImGuiPopupPositionPolicy(ptr noundef nonnull align 4 dereferenceable(8) %15, ptr noundef nonnull align 4 dereferenceable(8) %194, ptr noundef %196, ptr noundef nonnull align 4 dereferenceable(16) %16, ptr noundef nonnull align 4 dereferenceable(16) %17, i32 noundef 0)
  store <2 x float> %197, ptr %2, align 4
  %198 = load ptr, ptr %3, align 8, !tbaa !5
  %199 = getelementptr inbounds %struct.ImGuiWindow, ptr %198, i32 0, i32 47
  %200 = load i32, ptr %199, align 8, !tbaa !99
  %201 = icmp eq i32 %200, -1
  br i1 %201, label %202, label %204

202:                                              ; preds = %192
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #8
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %21, float noundef 2.000000e+00, float noundef 2.000000e+00)
  %203 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %15, ptr noundef nonnull align 4 dereferenceable(8) %21)
  store <2 x float> %203, ptr %20, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %2, ptr align 4 %20, i64 8, i1 false), !tbaa.struct !100
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #8
  br label %204

204:                                              ; preds = %202, %192
  store i32 1, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %16) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #8
  br label %206

205:                                              ; preds = %130
  call void @__assert_fail(ptr noundef @.str.63, ptr noundef @.str.3, i32 noundef 8806, ptr noundef @__PRETTY_FUNCTION__._ZN5ImGui25FindBestWindowPosForPopupEP11ImGuiWindow) #9
  unreachable

206:                                              ; preds = %204, %96, %82
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #8
  %207 = load <2 x float>, ptr %2, align 4
  ret <2 x float> %207
}

; Function Attrs: mustprogress uwtable
declare hidden <2 x float> @_ZN5ImGuiL22NavCalcPreferredRefPosEv() #7

; Function Attrs: mustprogress uwtable
declare dso_local <2 x float> @_ZN5ImGui27FindBestWindowPosForPopupExERK6ImVec2S2_PiRK6ImRectS6_24ImGuiPopupPositionPolicy(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8), ptr noundef, ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(16), i32 noundef) #7

; Function Attrs: mustprogress uwtable
declare dso_local { <2 x float>, <2 x float> } @_ZN5ImGui26GetWindowAllowedExtentRectEP11ImGuiWindow(ptr noundef) #7

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

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

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


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

%struct.ImRect = type { %struct.ImVec2, %struct.ImVec2 }
%struct.ImVec2 = type { float, float }

@GImGui = external dso_local local_unnamed_addr global ptr, align 8
@.str.3 = external hidden unnamed_addr constant [109 x i8], align 1
@.str.63 = external hidden unnamed_addr constant [2 x i8], align 1
@__PRETTY_FUNCTION__._ZN5ImGui25FindBestWindowPosForPopupEP11ImGuiWindow = external hidden unnamed_addr constant [55 x i8], align 1

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

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

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

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

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

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #4

; Function Attrs: inlinehint mustprogress uwtable
declare hidden <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #5

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6ImRectC2Ev(ptr noundef nonnull align 4 dereferenceable(16)) unnamed_addr #6 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6ImRectC2Effff(ptr noundef nonnull align 4 dereferenceable(16), float noundef, float noundef, float noundef, float noundef) unnamed_addr #6 align 2

; Function Attrs: mustprogress uwtable
define dso_local <2 x float> @_ZN5ImGui25FindBestWindowPosForPopupEP11ImGuiWindow(ptr noundef %0) local_unnamed_addr #7 {
  %2 = alloca %struct.ImRect, align 8
  %3 = alloca %struct.ImRect, align 4
  %4 = alloca %struct.ImRect, align 4
  %5 = alloca %struct.ImRect, align 4
  %6 = alloca %struct.ImRect, align 8
  %7 = alloca %struct.ImRect, align 4
  %8 = alloca %struct.ImVec2, align 8
  %9 = alloca %struct.ImRect, align 8
  %10 = alloca %struct.ImRect, align 4
  %11 = alloca %struct.ImRect, align 4
  %12 = alloca %struct.ImRect, align 4
  %13 = alloca %struct.ImVec2, align 4
  %14 = load ptr, ptr @GImGui, align 8, !tbaa !5
  %15 = getelementptr inbounds i8, ptr %0, i64 12
  %16 = load i32, ptr %15, align 4, !tbaa !9
  %17 = and i32 %16, 268435456
  %.not = icmp eq i32 %17, 0
  br i1 %.not, label %51, label %18

18:                                               ; preds = %1
  %19 = getelementptr inbounds i8, ptr %0, i64 1016
  %20 = load ptr, ptr %19, align 8, !tbaa !42
  %21 = getelementptr inbounds i8, ptr %14, i64 5784
  %22 = load float, ptr %21, align 8, !tbaa !43
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %2) #8
  %23 = tail call { <2 x float>, <2 x float> } @_ZN5ImGui26GetWindowAllowedExtentRectEP11ImGuiWindow(ptr noundef nonnull %0)
  %24 = extractvalue { <2 x float>, <2 x float> } %23, 0
  store <2 x float> %24, ptr %2, align 8
  %25 = getelementptr inbounds i8, ptr %2, i64 8
  %26 = extractvalue { <2 x float>, <2 x float> } %23, 1
  store <2 x float> %26, ptr %25, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #8
  call void @_ZN6ImRectC2Ev(ptr noundef nonnull align 4 dereferenceable(16) %3)
  %27 = getelementptr inbounds i8, ptr %20, i64 402
  %28 = load i8, ptr %27, align 2, !tbaa !82, !range !83, !noundef !84
  %29 = trunc nuw i8 %28 to i1
  br i1 %29, label %30, label %35

30:                                               ; preds = %18
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #8
  %31 = getelementptr inbounds i8, ptr %20, i64 684
  %32 = load float, ptr %31, align 4, !tbaa !85
  %33 = getelementptr inbounds i8, ptr %20, i64 692
  %34 = load float, ptr %33, align 4, !tbaa !86
  call void @_ZN6ImRectC2Effff(ptr noundef nonnull align 4 dereferenceable(16) %4, float noundef 0xC7EFFFFFE0000000, float noundef %32, float noundef 0x47EFFFFFE0000000, float noundef %34)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(16) %3, ptr noundef nonnull align 4 dereferenceable(16) %4, i64 16, i1 false), !tbaa.struct !87
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #8
  br label %46

35:                                               ; preds = %18
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #8
  %36 = getelementptr inbounds i8, ptr %20, i64 72
  %37 = load float, ptr %36, align 8, !tbaa !89
  %38 = fadd float %22, %37
  %39 = getelementptr inbounds i8, ptr %20, i64 80
  %40 = load float, ptr %39, align 8, !tbaa !90
  %41 = fadd float %37, %40
  %42 = fsub float %41, %22
  %43 = getelementptr inbounds i8, ptr %20, i64 172
  %44 = load float, ptr %43, align 4, !tbaa !91
  %45 = fsub float %42, %44
  call void @_ZN6ImRectC2Effff(ptr noundef nonnull align 4 dereferenceable(16) %5, float noundef %38, float noundef 0xC7EFFFFFE0000000, float noundef %45, float noundef 0x47EFFFFFE0000000)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(16) %3, ptr noundef nonnull align 4 dereferenceable(16) %5, i64 16, i1 false), !tbaa.struct !87
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #8
  br label %46

46:                                               ; preds = %35, %30
  %47 = getelementptr inbounds i8, ptr %0, i64 72
  %48 = getelementptr inbounds i8, ptr %0, i64 80
  %49 = getelementptr inbounds i8, ptr %0, i64 208
  %50 = call <2 x float> @_ZN5ImGui27FindBestWindowPosForPopupExERK6ImVec2S2_PiRK6ImRectS6_24ImGuiPopupPositionPolicy(ptr noundef nonnull align 4 dereferenceable(8) %47, ptr noundef nonnull align 4 dereferenceable(8) %48, ptr noundef nonnull %49, ptr noundef nonnull align 4 dereferenceable(16) %2, ptr noundef nonnull align 4 dereferenceable(16) %3, i32 noundef 0)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #8
  br label %112

51:                                               ; preds = %1
  %52 = and i32 %16, 67108864
  %.not37 = icmp eq i32 %52, 0
  br i1 %.not37, label %69, label %53

53:                                               ; preds = %51
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #8
  %54 = tail call { <2 x float>, <2 x float> } @_ZN5ImGui26GetWindowAllowedExtentRectEP11ImGuiWindow(ptr noundef nonnull %0)
  %55 = extractvalue { <2 x float>, <2 x float> } %54, 0
  store <2 x float> %55, ptr %6, align 8
  %56 = getelementptr inbounds i8, ptr %6, i64 8
  %57 = extractvalue { <2 x float>, <2 x float> } %54, 1
  store <2 x float> %57, ptr %56, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7) #8
  %58 = getelementptr inbounds i8, ptr %0, i64 72
  %59 = load float, ptr %58, align 8, !tbaa !89
  %60 = fadd float %59, -1.000000e+00
  %61 = getelementptr inbounds i8, ptr %0, i64 76
  %62 = load float, ptr %61, align 4, !tbaa !92
  %63 = fadd float %62, -1.000000e+00
  %64 = fadd float %59, 1.000000e+00
  %65 = fadd float %62, 1.000000e+00
  call void @_ZN6ImRectC2Effff(ptr noundef nonnull align 4 dereferenceable(16) %7, float noundef %60, float noundef %63, float noundef %64, float noundef %65)
  %66 = getelementptr inbounds i8, ptr %0, i64 80
  %67 = getelementptr inbounds i8, ptr %0, i64 208
  %68 = call <2 x float> @_ZN5ImGui27FindBestWindowPosForPopupExERK6ImVec2S2_PiRK6ImRectS6_24ImGuiPopupPositionPolicy(ptr noundef nonnull align 4 dereferenceable(8) %58, ptr noundef nonnull align 4 dereferenceable(8) %66, ptr noundef nonnull %67, ptr noundef nonnull align 4 dereferenceable(16) %6, ptr noundef nonnull align 4 dereferenceable(16) %7, i32 noundef 0)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #8
  br label %112

69:                                               ; preds = %51
  %70 = and i32 %16, 33554432
  %.not38 = icmp eq i32 %70, 0
  br i1 %.not38, label %111, label %71

71:                                               ; preds = %69
  %72 = getelementptr inbounds i8, ptr %14, i64 5876
  %73 = load float, ptr %72, align 4, !tbaa !93
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #8
  %74 = tail call <2 x float> @_ZN5ImGuiL22NavCalcPreferredRefPosEv()
  store <2 x float> %74, ptr %8, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %9) #8
  %75 = tail call { <2 x float>, <2 x float> } @_ZN5ImGui26GetWindowAllowedExtentRectEP11ImGuiWindow(ptr noundef nonnull %0)
  %76 = extractvalue { <2 x float>, <2 x float> } %75, 0
  store <2 x float> %76, ptr %9, align 8
  %77 = getelementptr inbounds i8, ptr %9, i64 8
  %78 = extractvalue { <2 x float>, <2 x float> } %75, 1
  store <2 x float> %78, ptr %77, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %10) #8
  call void @_ZN6ImRectC2Ev(ptr noundef nonnull align 4 dereferenceable(16) %10)
  %79 = getelementptr inbounds i8, ptr %14, i64 7630
  %80 = load i8, ptr %79, align 2, !tbaa !94, !range !83, !noundef !84
  %81 = trunc nuw i8 %80 to i1
  %82 = extractelement <2 x float> %74, i64 0
  %83 = extractelement <2 x float> %74, i64 1
  br i1 %81, label %97, label %84

84:                                               ; preds = %71
  %85 = getelementptr inbounds i8, ptr %14, i64 7631
  %86 = load i8, ptr %85, align 1, !tbaa !95, !range !83, !noundef !84
  %87 = trunc nuw i8 %86 to i1
  br i1 %87, label %88, label %97

88:                                               ; preds = %84
  %89 = getelementptr inbounds i8, ptr %14, i64 8
  %90 = load i32, ptr %89, align 8, !tbaa !96
  %91 = and i32 %90, 4
  %.not39 = icmp eq i32 %91, 0
  br i1 %.not39, label %92, label %97

92:                                               ; preds = %88
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %11) #8
  %93 = fadd float %82, -1.600000e+01
  %94 = fadd float %83, -8.000000e+00
  %95 = fadd float %82, 1.600000e+01
  %96 = fadd float %83, 8.000000e+00
  call void @_ZN6ImRectC2Effff(ptr noundef nonnull align 4 dereferenceable(16) %11, float noundef %93, float noundef %94, float noundef %95, float noundef %96)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(16) %10, ptr noundef nonnull align 4 dereferenceable(16) %11, i64 16, i1 false), !tbaa.struct !87
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) #8
  br label %102

97:                                               ; preds = %88, %84, %71
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %12) #8
  %98 = fadd float %82, -1.600000e+01
  %99 = fadd float %83, -8.000000e+00
  %100 = call float @llvm.fmuladd.f32(float %73, float 2.400000e+01, float %82)
  %101 = call float @llvm.fmuladd.f32(float %73, float 2.400000e+01, float %83)
  call void @_ZN6ImRectC2Effff(ptr noundef nonnull align 4 dereferenceable(16) %12, float noundef %98, float noundef %99, float noundef %100, float noundef %101)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(16) %10, ptr noundef nonnull align 4 dereferenceable(16) %12, i64 16, i1 false), !tbaa.struct !87
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #8
  br label %102

102:                                              ; preds = %97, %92
  %103 = getelementptr inbounds i8, ptr %0, i64 80
  %104 = getelementptr inbounds i8, ptr %0, i64 208
  %105 = call <2 x float> @_ZN5ImGui27FindBestWindowPosForPopupExERK6ImVec2S2_PiRK6ImRectS6_24ImGuiPopupPositionPolicy(ptr noundef nonnull align 4 dereferenceable(8) %8, ptr noundef nonnull align 4 dereferenceable(8) %103, ptr noundef nonnull %104, ptr noundef nonnull align 4 dereferenceable(16) %9, ptr noundef nonnull align 4 dereferenceable(16) %10, i32 noundef 0)
  %106 = load i32, ptr %104, align 8, !tbaa !97
  %107 = icmp eq i32 %106, -1
  br i1 %107, label %108, label %110

108:                                              ; preds = %102
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #8
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %13, float noundef 2.000000e+00, float noundef 2.000000e+00)
  %109 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %8, ptr noundef nonnull align 4 dereferenceable(8) %13)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #8
  br label %110

110:                                              ; preds = %108, %102
  %.sroa.036.0 = phi <2 x float> [ %109, %108 ], [ %105, %102 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #8
  br label %112

111:                                              ; preds = %69
  tail call void @__assert_fail(ptr noundef nonnull @.str.63, ptr noundef nonnull @.str.3, i32 noundef 8806, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5ImGui25FindBestWindowPosForPopupEP11ImGuiWindow) #9
  unreachable

112:                                              ; preds = %110, %53, %46
  %.sroa.036.1 = phi <2 x float> [ %50, %46 ], [ %68, %53 ], [ %.sroa.036.0, %110 ]
  ret <2 x float> %.sroa.036.1
}

; Function Attrs: mustprogress uwtable
declare hidden <2 x float> @_ZN5ImGuiL22NavCalcPreferredRefPosEv() local_unnamed_addr #7

; Function Attrs: mustprogress uwtable
declare dso_local <2 x float> @_ZN5ImGui27FindBestWindowPosForPopupExERK6ImVec2S2_PiRK6ImRectS6_24ImGuiPopupPositionPolicy(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8), ptr noundef, ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(16), i32 noundef) local_unnamed_addr #7

; Function Attrs: mustprogress uwtable
declare dso_local { <2 x float>, <2 x float> } @_ZN5ImGui26GetWindowAllowedExtentRectEP11ImGuiWindow(ptr noundef) local_unnamed_addr #7

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

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

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


; Effective O3 passes: BDCEPass,CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,ReassociatePass,SCCPPass,SROAPass,TailCallElimPass