; LLVM IR from l1mey112/yr11-physics-applied :: cimgui/imgui/imgui_widgets.ll (ZN5ImGui15BeginComboPopupEjRK6ImRecti)

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

@GImGui = external global ptr, align 8
@.str.4 = external hidden unnamed_addr constant [94 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [52 x i8], align 1
@__PRETTY_FUNCTION__._ZN5ImGui15BeginComboPopupEjRK6ImRecti = external hidden unnamed_addr constant [70 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [2 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 nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef, float noundef) #2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef float @_ZNK6ImRect8GetWidthEv(ptr noundef nonnull align 4 dereferenceable(16)) #1 align 2

declare void @_ZN5ImGui12PushStyleVarEiRK6ImVec2(i32 noundef, ptr noundef nonnull align 4 dereferenceable(8)) #4

declare void @_ZN5ImGui11PopStyleVarEi(i32 noundef) #4

declare noundef i32 @_Z14ImFormatStringPcmPKcz(ptr noundef, i64 noundef, ptr noundef, ...) #4

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef zeroext i1 @_ZL14ImIsPowerOfTwoi(i32 noundef) #2

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

declare noundef zeroext i1 @_ZN5ImGui11IsPopupOpenEji(i32 noundef, i32 noundef) #4

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN5ImGui15BeginComboPopupEjRK6ImRecti(i32 noundef %0, ptr noundef nonnull align 4 dereferenceable(16) %1, i32 noundef %2) #5 {
  %4 = alloca i1, align 1
  %5 = alloca i32, align 4
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca float, align 4
  %11 = alloca i32, align 4
  %12 = alloca %struct.ImVec2, align 4
  %13 = alloca %struct.ImVec2, align 4
  %14 = alloca [16 x i8], align 16
  %15 = alloca ptr, align 8
  %16 = alloca %struct.ImVec2, align 4
  %17 = alloca %struct.ImRect, align 4
  %18 = alloca %struct.ImVec2, align 4
  %19 = alloca %struct.ImVec2, align 4
  %20 = alloca %struct.ImVec2, align 4
  %21 = alloca i32, align 4
  %22 = alloca %struct.ImVec2, align 4
  %23 = alloca i8, align 1
  store i32 %0, ptr %5, align 4, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !9
  store i32 %2, ptr %7, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #6
  %24 = load ptr, ptr @GImGui, align 8, !tbaa !9
  store ptr %24, ptr %8, align 8, !tbaa !9
  %25 = load i32, ptr %5, align 4, !tbaa !5
  %26 = call noundef zeroext i1 @_ZN5ImGui11IsPopupOpenEji(i32 noundef %25, i32 noundef 0)
  br i1 %26, label %30, label %27

27:                                               ; preds = %3
  %28 = load ptr, ptr %8, align 8, !tbaa !9
  %29 = getelementptr inbounds %struct.ImGuiContext, ptr %28, i32 0, i32 73
  call void @_ZN19ImGuiNextWindowData10ClearFlagsEv(ptr noundef nonnull align 8 dereferenceable(108) %29)
  store i1 false, ptr %4, align 1
  store i32 1, ptr %9, align 4
  br label %146

30:                                               ; preds = %3
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #6
  %31 = load ptr, ptr %6, align 8, !tbaa !9
  %32 = call noundef float @_ZNK6ImRect8GetWidthEv(ptr noundef nonnull align 4 dereferenceable(16) %31)
  store float %32, ptr %10, align 4, !tbaa !11
  %33 = load ptr, ptr %8, align 8, !tbaa !9
  %34 = getelementptr inbounds %struct.ImGuiContext, ptr %33, i32 0, i32 73
  %35 = getelementptr inbounds %struct.ImGuiNextWindowData, ptr %34, i32 0, i32 0
  %36 = load i32, ptr %35, align 8, !tbaa !13
  %37 = and i32 %36, 16
  %38 = icmp ne i32 %37, 0
  br i1 %38, label %39, label %53

39:                                               ; preds = %30
  %40 = load ptr, ptr %8, align 8, !tbaa !9
  %41 = getelementptr inbounds %struct.ImGuiContext, ptr %40, i32 0, i32 73
  %42 = getelementptr inbounds %struct.ImGuiNextWindowData, ptr %41, i32 0, i32 11
  %43 = getelementptr inbounds %struct.ImRect, ptr %42, i32 0, i32 0
  %44 = getelementptr inbounds %struct.ImVec2, ptr %43, i32 0, i32 0
  %45 = load float, ptr %44, align 4, !tbaa !77
  %46 = load float, ptr %10, align 4, !tbaa !11
  %47 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %45, float noundef %46)
  %48 = load ptr, ptr %8, align 8, !tbaa !9
  %49 = getelementptr inbounds %struct.ImGuiContext, ptr %48, i32 0, i32 73
  %50 = getelementptr inbounds %struct.ImGuiNextWindowData, ptr %49, i32 0, i32 11
  %51 = getelementptr inbounds %struct.ImRect, ptr %50, i32 0, i32 0
  %52 = getelementptr inbounds %struct.ImVec2, ptr %51, i32 0, i32 0
  store float %47, ptr %52, align 4, !tbaa !77
  br label %88

53:                                               ; preds = %30
  %54 = load i32, ptr %7, align 4, !tbaa !5
  %55 = and i32 %54, 30
  %56 = icmp eq i32 %55, 0
  br i1 %56, label %57, label %60

57:                                               ; preds = %53
  %58 = load i32, ptr %7, align 4, !tbaa !5
  %59 = or i32 %58, 4
  store i32 %59, ptr %7, align 4, !tbaa !5
  br label %60

60:                                               ; preds = %57, %53
  %61 = load i32, ptr %7, align 4, !tbaa !5
  %62 = and i32 %61, 30
  %63 = call noundef zeroext i1 @_ZL14ImIsPowerOfTwoi(i32 noundef %62)
  br i1 %63, label %64, label %65

64:                                               ; preds = %60
  br label %67

65:                                               ; preds = %60
  call void @__assert_fail(ptr noundef @.str.26, ptr noundef @.str.4, i32 noundef 1703, ptr noundef @__PRETTY_FUNCTION__._ZN5ImGui15BeginComboPopupEjRK6ImRecti) #7
  unreachable

66:                                               ; No predecessors!
  br label %67

67:                                               ; preds = %66, %64
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #6
  store i32 -1, ptr %11, align 4, !tbaa !5
  %68 = load i32, ptr %7, align 4, !tbaa !5
  %69 = and i32 %68, 4
  %70 = icmp ne i32 %69, 0
  br i1 %70, label %71, label %72

71:                                               ; preds = %67
  store i32 8, ptr %11, align 4, !tbaa !5
  br label %84

72:                                               ; preds = %67
  %73 = load i32, ptr %7, align 4, !tbaa !5
  %74 = and i32 %73, 2
  %75 = icmp ne i32 %74, 0
  br i1 %75, label %76, label %77

76:                                               ; preds = %72
  store i32 4, ptr %11, align 4, !tbaa !5
  br label %83

77:                                               ; preds = %72
  %78 = load i32, ptr %7, align 4, !tbaa !5
  %79 = and i32 %78, 8
  %80 = icmp ne i32 %79, 0
  br i1 %80, label %81, label %82

81:                                               ; preds = %77
  store i32 20, ptr %11, align 4, !tbaa !5
  br label %82

82:                                               ; preds = %81, %77
  br label %83

83:                                               ; preds = %82, %76
  br label %84

84:                                               ; preds = %83, %71
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #6
  %85 = load float, ptr %10, align 4, !tbaa !11
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %12, float noundef %85, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #6
  %86 = load i32, ptr %11, align 4, !tbaa !5
  %87 = call noundef float @_ZL31CalcMaxPopupHeightFromItemCounti(i32 noundef %86)
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %13, float noundef 0x47EFFFFFE0000000, float noundef %87)
  call void @_ZN5ImGui28SetNextWindowSizeConstraintsERK6ImVec2S2_PFvP21ImGuiSizeCallbackDataEPv(ptr noundef nonnull align 4 dereferenceable(8) %12, ptr noundef nonnull align 4 dereferenceable(8) %13, ptr noundef null, ptr noundef null)
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #6
  br label %88

88:                                               ; preds = %84, %39
  call void @llvm.lifetime.start.p0(i64 16, ptr %14) #6
  %89 = getelementptr inbounds [16 x i8], ptr %14, i64 0, i64 0
  %90 = load ptr, ptr %8, align 8, !tbaa !9
  %91 = getelementptr inbounds %struct.ImGuiContext, ptr %90, i32 0, i32 81
  %92 = getelementptr inbounds %struct.ImVector.19, ptr %91, i32 0, i32 0
  %93 = load i32, ptr %92, align 8, !tbaa !78
  %94 = call noundef i32 (ptr, i64, ptr, ...) @_Z14ImFormatStringPcmPKcz(ptr noundef %89, i64 noundef 16, ptr noundef @.str.27, i32 noundef %93)
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #6
  %95 = getelementptr inbounds [16 x i8], ptr %14, i64 0, i64 0
  %96 = call noundef ptr @_ZN5ImGui16FindWindowByNameEPKc(ptr noundef %95)
  store ptr %96, ptr %15, align 8, !tbaa !9
  %97 = load ptr, ptr %15, align 8, !tbaa !9
  %98 = icmp ne ptr %97, null
  br i1 %98, label %99, label %127

99:                                               ; preds = %88
  %100 = load ptr, ptr %15, align 8, !tbaa !9
  %101 = getelementptr inbounds %struct.ImGuiWindow, ptr %100, i32 0, i32 31
  %102 = load i8, ptr %101, align 1, !tbaa !79, !range !93, !noundef !94
  %103 = trunc i8 %102 to i1
  br i1 %103, label %104, label %126

104:                                              ; preds = %99
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #6
  %105 = load ptr, ptr %15, align 8, !tbaa !9
  %106 = call <2 x float> @_ZN5ImGui25CalcWindowNextAutoFitSizeEP11ImGuiWindow(ptr noundef %105)
  store <2 x float> %106, ptr %16, align 4
  %107 = load i32, ptr %7, align 4, !tbaa !5
  %108 = and i32 %107, 1
  %109 = icmp ne i32 %108, 0
  %110 = zext i1 %109 to i64
  %111 = select i1 %109, i32 0, i32 3
  %112 = load ptr, ptr %15, align 8, !tbaa !9
  %113 = getelementptr inbounds %struct.ImGuiWindow, ptr %112, i32 0, i32 52
  store i32 %111, ptr %113, align 4, !tbaa !95
  call void @llvm.lifetime.start.p0(i64 16, ptr %17) #6
  %114 = load ptr, ptr %15, align 8, !tbaa !9
  %115 = call { <2 x float>, <2 x float> } @_ZN5ImGui25GetPopupAllowedExtentRectEP11ImGuiWindow(ptr noundef %114)
  %116 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %17, i32 0, i32 0
  %117 = extractvalue { <2 x float>, <2 x float> } %115, 0
  store <2 x float> %117, ptr %116, align 4
  %118 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %17, i32 0, i32 1
  %119 = extractvalue { <2 x float>, <2 x float> } %115, 1
  store <2 x float> %119, ptr %118, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #6
  %120 = load ptr, ptr %6, align 8, !tbaa !9
  %121 = call <2 x float> @_ZNK6ImRect5GetBLEv(ptr noundef nonnull align 4 dereferenceable(16) %120)
  store <2 x float> %121, ptr %19, align 4
  %122 = load ptr, ptr %15, align 8, !tbaa !9
  %123 = getelementptr inbounds %struct.ImGuiWindow, ptr %122, i32 0, i32 52
  %124 = load ptr, ptr %6, align 8, !tbaa !9
  %125 = call <2 x float> @_ZN5ImGui27FindBestWindowPosForPopupExERK6ImVec2S2_PiRK6ImRectS6_24ImGuiPopupPositionPolicy(ptr noundef nonnull align 4 dereferenceable(8) %19, ptr noundef nonnull align 4 dereferenceable(8) %16, ptr noundef %123, ptr noundef nonnull align 4 dereferenceable(16) %17, ptr noundef nonnull align 4 dereferenceable(16) %124, i32 noundef 1)
  store <2 x float> %125, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #6
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %20, float noundef 0.000000e+00, float noundef 0.000000e+00)
  call void @_ZN5ImGui16SetNextWindowPosERK6ImVec2iS2_(ptr noundef nonnull align 4 dereferenceable(8) %18, i32 noundef 0, ptr noundef nonnull align 4 dereferenceable(8) %20)
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #6
  br label %126

126:                                              ; preds = %104, %99
  br label %127

127:                                              ; preds = %126, %88
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #6
  store i32 67109191, ptr %21, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #6
  %128 = load ptr, ptr %8, align 8, !tbaa !9
  %129 = getelementptr inbounds %struct.ImGuiContext, ptr %128, i32 0, i32 5
  %130 = getelementptr inbounds %struct.ImGuiStyle, ptr %129, i32 0, i32 12
  %131 = getelementptr inbounds %struct.ImVec2, ptr %130, i32 0, i32 0
  %132 = load float, ptr %131, align 4, !tbaa !96
  %133 = load ptr, ptr %8, align 8, !tbaa !9
  %134 = getelementptr inbounds %struct.ImGuiContext, ptr %133, i32 0, i32 5
  %135 = getelementptr inbounds %struct.ImGuiStyle, ptr %134, i32 0, i32 2
  %136 = getelementptr inbounds %struct.ImVec2, ptr %135, i32 0, i32 1
  %137 = load float, ptr %136, align 4, !tbaa !97
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %22, float noundef %132, float noundef %137)
  call void @_ZN5ImGui12PushStyleVarEiRK6ImVec2(i32 noundef 2, ptr noundef nonnull align 4 dereferenceable(8) %22)
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr %23) #6
  %138 = getelementptr inbounds [16 x i8], ptr %14, i64 0, i64 0
  %139 = load i32, ptr %21, align 4, !tbaa !5
  %140 = call noundef zeroext i1 @_ZN5ImGui5BeginEPKcPbi(ptr noundef %138, ptr noundef null, i32 noundef %139)
  %141 = zext i1 %140 to i8
  store i8 %141, ptr %23, align 1, !tbaa !98
  call void @_ZN5ImGui11PopStyleVarEi(i32 noundef 1)
  %142 = load i8, ptr %23, align 1, !tbaa !98, !range !93, !noundef !94
  %143 = trunc i8 %142 to i1
  br i1 %143, label %145, label %144

144:                                              ; preds = %127
  call void @_ZN5ImGui8EndPopupEv()
  call void @__assert_fail(ptr noundef @.str.28, ptr noundef @.str.4, i32 noundef 1737, ptr noundef @__PRETTY_FUNCTION__._ZN5ImGui15BeginComboPopupEjRK6ImRecti) #7
  unreachable

145:                                              ; preds = %127
  store i1 true, ptr %4, align 1
  store i32 1, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %23) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #6
  br label %146

146:                                              ; preds = %145, %27
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #6
  %147 = load i1, ptr %4, align 1
  ret i1 %147
}

declare void @_ZN5ImGui28SetNextWindowSizeConstraintsERK6ImVec2S2_PFvP21ImGuiSizeCallbackDataEPv(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8), ptr noundef, ptr noundef) #4

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef float @_ZL31CalcMaxPopupHeightFromItemCounti(i32 noundef) #1

declare noundef ptr @_ZN5ImGui16FindWindowByNameEPKc(ptr noundef) #4

declare <2 x float> @_ZN5ImGui25CalcWindowNextAutoFitSizeEP11ImGuiWindow(ptr noundef) #4

declare { <2 x float>, <2 x float> } @_ZN5ImGui25GetPopupAllowedExtentRectEP11ImGuiWindow(ptr noundef) #4

declare <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) #4

; Function Attrs: mustprogress uwtable
declare dso_local <2 x float> @_ZNK6ImRect5GetBLEv(ptr noundef nonnull align 4 dereferenceable(16)) #5 align 2

declare void @_ZN5ImGui16SetNextWindowPosERK6ImVec2iS2_(ptr noundef nonnull align 4 dereferenceable(8), i32 noundef, ptr noundef nonnull align 4 dereferenceable(8)) #4

declare noundef zeroext i1 @_ZN5ImGui5BeginEPKcPbi(ptr noundef, ptr noundef, i32 noundef) #4

declare void @_ZN5ImGui8EndPopupEv() #4

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"float", !7, i64 0}
!13 = !{!14, !6, i64 18296}
!14 = !{!"_ZTS12ImGuiContext", !15, i64 0, !15, i64 1, !16, i64 8, !20, i64 14272, !20, i64 14288, !21, i64 14304, !10, i64 15352, !12, i64 15360, !12, i64 15364, !22, i64 15368, !25, i64 15896, !6, i64 15904, !6, i64 15908, !6, i64 15912, !15, i64 15916, !15, i64 15917, !15, i64 15918, !15, i64 15919, !15, i64 15920, !10, i64 15928, !26, i64 15936, !26, i64 15952, !26, i64 15968, !27, i64 15984, !28, i64 16000, !6, i64 16016, !17, i64 16020, !10, i64 16032, !10, i64 16040, !10, i64 16048, !10, i64 16056, !10, i64 16064, !17, i64 16072, !6, i64 16080, !12, i64 16084, !17, i64 16088, !17, i64 16096, !6, i64 16104, !6, i64 16108, !6, i64 16112, !15, i64 16116, !15, i64 16117, !12, i64 16120, !12, i64 16124, !6, i64 16128, !6, i64 16132, !12, i64 16136, !15, i64 16140, !15, i64 16141, !15, i64 16142, !15, i64 16143, !15, i64 16144, !15, i64 16145, !17, i64 16148, !10, i64 16160, !30, i64 16168, !6, i64 16172, !6, i64 16176, !15, i64 16180, !15, i64 16181, !10, i64 16184, !6, i64 16192, !12, i64 16196, !7, i64 16200, !31, i64 17880, !6, i64 18192, !15, i64 18196, !6, i64 18200, !6, i64 18204, !6, i64 18208, !6, i64 18212, !33, i64 18216, !34, i64 18236, !36, i64 18296, !37, i64 18408, !38, i64 18424, !39, i64 18440, !40, i64 18456, !41, i64 18472, !42, i64 18488, !43, i64 18504, !43, i64 18520, !6, i64 18536, !44, i64 18544, !10, i64 18560, !6, i64 18568, !6, i64 18572, !6, i64 18576, !6, i64 18580, !6, i64 18584, !6, i64 18588, !6, i64 18592, !6, i64 18596, !6, i64 18600, !6, i64 18604, !6, i64 18608, !6, i64 18612, !30, i64 18616, !45, i64 18620, !15, i64 18624, !15, i64 18625, !15, i64 18626, !15, i64 18627, !15, i64 18628, !15, i64 18629, !15, i64 18630, !6, i64 18632, !35, i64 18636, !15, i64 18652, !15, i64 18653, !15, i64 18654, !6, i64 18656, !6, i64 18660, !6, i64 18664, !6, i64 18668, !6, i64 18672, !6, i64 18676, !35, i64 18680, !35, i64 18696, !6, i64 18712, !6, i64 18716, !6, i64 18720, !46, i64 18728, !46, i64 18776, !46, i64 18824, !46, i64 18872, !6, i64 18920, !6, i64 18924, !10, i64 18928, !10, i64 18936, !10, i64 18944, !12, i64 18952, !12, i64 18956, !15, i64 18960, !17, i64 18964, !17, i64 18972, !12, i64 18980, !6, i64 18984, !15, i64 18988, !15, i64 18989, !15, i64 18990, !6, i64 18992, !6, i64 18996, !6, i64 19000, !47, i64 19008, !35, i64 19072, !6, i64 19088, !6, i64 19092, !12, i64 19096, !6, i64 19100, !6, i64 19104, !6, i64 19108, !6, i64 19112, !48, i64 19120, !7, i64 19136, !6, i64 19152, !49, i64 19160, !10, i64 19176, !6, i64 19184, !50, i64 19192, !51, i64 19208, !53, i64 19248, !54, i64 19264, !10, i64 19280, !55, i64 19288, !57, i64 19328, !58, i64 19344, !6, i64 19360, !6, i64 19364, !12, i64 19368, !12, i64 19372, !17, i64 19376, !59, i64 19384, !63, i64 23112, !6, i64 23224, !6, i64 23228, !12, i64 23232, !12, i64 23236, !6, i64 23240, !23, i64 23244, !65, i64 23260, !12, i64 23308, !12, i64 23312, !15, i64 23316, !15, i64 23317, !12, i64 23320, !12, i64 23324, !12, i64 23328, !12, i64 23332, !18, i64 23336, !18, i64 23338, !60, i64 23344, !40, i64 23360, !66, i64 23376, !66, i64 23392, !7, i64 23408, !15, i64 23409, !12, i64 23412, !67, i64 23416, !68, i64 23432, !69, i64 23448, !70, i64 23464, !71, i64 23480, !6, i64 23496, !7, i64 23504, !15, i64 23560, !72, i64 23564, !10, i64 23568, !67, i64 23576, !10, i64 23592, !10, i64 23600, !12, i64 23608, !15, i64 23612, !6, i64 23616, !6, i64 23620, !6, i64 23624, !6, i64 23628, !67, i64 23632, !73, i64 23648, !7, i64 23672, !15, i64 23673, !7, i64 23674, !6, i64 23676, !74, i64 23680, !75, i64 23696, !7, i64 23736, !6, i64 23976, !6, i64 23980, !12, i64 23984, !6, i64 23988, !6, i64 23992, !6, i64 23996, !60, i64 24000}
!15 = !{!"bool", !7, i64 0}
!16 = !{!"_ZTS7ImGuiIO", !6, i64 0, !6, i64 4, !17, i64 8, !12, i64 16, !12, i64 20, !10, i64 24, !10, i64 32, !12, i64 40, !12, i64 44, !12, i64 48, !12, i64 52, !12, i64 56, !12, i64 60, !12, i64 64, !10, i64 72, !10, i64 80, !12, i64 88, !15, i64 92, !10, i64 96, !17, i64 104, !15, i64 112, !15, i64 113, !15, i64 114, !15, i64 115, !15, i64 116, !15, i64 117, !15, i64 118, !15, i64 119, !12, i64 120, !10, i64 128, !10, i64 136, !10, i64 144, !10, i64 152, !10, i64 160, !10, i64 168, !10, i64 176, !10, i64 184, !10, i64 192, !10, i64 200, !15, i64 208, !15, i64 209, !15, i64 210, !15, i64 211, !15, i64 212, !15, i64 213, !15, i64 214, !12, i64 216, !6, i64 220, !6, i64 224, !6, i64 228, !6, i64 232, !6, i64 236, !17, i64 240, !7, i64 248, !7, i64 2856, !7, i64 3508, !17, i64 3572, !7, i64 3580, !12, i64 3588, !12, i64 3592, !15, i64 3596, !15, i64 3597, !15, i64 3598, !15, i64 3599, !6, i64 3600, !7, i64 3604, !15, i64 14036, !17, i64 14040, !7, i64 14048, !7, i64 14088, !7, i64 14128, !7, i64 14133, !7, i64 14138, !7, i64 14148, !7, i64 14158, !7, i64 14163, !7, i64 14168, !7, i64 14176, !7, i64 14196, !7, i64 14216, !12, i64 14236, !15, i64 14240, !15, i64 14241, !7, i64 14242, !15, i64 14243, !18, i64 14244, !19, i64 14248}
!17 = !{!"_ZTS6ImVec2", !12, i64 0, !12, i64 4}
!18 = !{!"short", !7, i64 0}
!19 = !{!"_ZTS8ImVectorItE", !6, i64 0, !6, i64 4, !10, i64 8}
!20 = !{!"_ZTS8ImVectorI15ImGuiInputEventE", !6, i64 0, !6, i64 4, !10, i64 8}
!21 = !{!"_ZTS10ImGuiStyle", !12, i64 0, !12, i64 4, !17, i64 8, !12, i64 16, !12, i64 20, !17, i64 24, !17, i64 32, !6, i64 40, !12, i64 44, !12, i64 48, !12, i64 52, !12, i64 56, !17, i64 60, !12, i64 68, !12, i64 72, !17, i64 76, !17, i64 84, !17, i64 92, !17, i64 100, !12, i64 108, !12, i64 112, !12, i64 116, !12, i64 120, !12, i64 124, !12, i64 128, !12, i64 132, !12, i64 136, !12, i64 140, !12, i64 144, !6, i64 148, !17, i64 152, !17, i64 160, !17, i64 168, !17, i64 176, !12, i64 184, !15, i64 188, !15, i64 189, !15, i64 190, !12, i64 192, !12, i64 196, !7, i64 200}
!22 = !{!"_ZTS20ImDrawListSharedData", !17, i64 0, !10, i64 8, !12, i64 16, !12, i64 20, !12, i64 24, !23, i64 28, !6, i64 44, !24, i64 48, !7, i64 64, !12, i64 448, !7, i64 452, !10, i64 520}
!23 = !{!"_ZTS6ImVec4", !12, i64 0, !12, i64 4, !12, i64 8, !12, i64 12}
!24 = !{!"_ZTS8ImVectorI6ImVec2E", !6, i64 0, !6, i64 4, !10, i64 8}
!25 = !{!"double", !7, i64 0}
!26 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !6, i64 0, !6, i64 4, !10, i64 8}
!27 = !{!"_ZTS8ImVectorI20ImGuiWindowStackDataE", !6, i64 0, !6, i64 4, !10, i64 8}
!28 = !{!"_ZTS12ImGuiStorage", !29, i64 0}
!29 = !{!"_ZTS8ImVectorIN12ImGuiStorage16ImGuiStoragePairEE", !6, i64 0, !6, i64 4, !10, i64 8}
!30 = !{!"_ZTS16ImGuiInputSource", !7, i64 0}
!31 = !{!"_ZTS20ImGuiKeyRoutingTable", !7, i64 0, !32, i64 280, !32, i64 296}
!32 = !{!"_ZTS8ImVectorI19ImGuiKeyRoutingDataE", !6, i64 0, !6, i64 4, !10, i64 8}
!33 = !{!"_ZTS17ImGuiNextItemData", !6, i64 0, !12, i64 4, !6, i64 8, !6, i64 12, !15, i64 16}
!34 = !{!"_ZTS17ImGuiLastItemData", !6, i64 0, !6, i64 4, !6, i64 8, !35, i64 12, !35, i64 28, !35, i64 44}
!35 = !{!"_ZTS6ImRect", !17, i64 0, !17, i64 8}
!36 = !{!"_ZTS19ImGuiNextWindowData", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12, !17, i64 16, !17, i64 24, !17, i64 32, !17, i64 40, !17, i64 48, !15, i64 56, !35, i64 60, !10, i64 80, !10, i64 88, !12, i64 96, !17, i64 100}
!37 = !{!"_ZTS8ImVectorI13ImGuiColorModE", !6, i64 0, !6, i64 4, !10, i64 8}
!38 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !6, i64 0, !6, i64 4, !10, i64 8}
!39 = !{!"_ZTS8ImVectorIP6ImFontE", !6, i64 0, !6, i64 4, !10, i64 8}
!40 = !{!"_ZTS8ImVectorIjE", !6, i64 0, !6, i64 4, !10, i64 8}
!41 = !{!"_ZTS8ImVectorIiE", !6, i64 0, !6, i64 4, !10, i64 8}
!42 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !6, i64 0, !6, i64 4, !10, i64 8}
!43 = !{!"_ZTS8ImVectorI14ImGuiPopupDataE", !6, i64 0, !6, i64 4, !10, i64 8}
!44 = !{!"_ZTS8ImVectorIP14ImGuiViewportPE", !6, i64 0, !6, i64 4, !10, i64 8}
!45 = !{!"_ZTS13ImGuiNavLayer", !7, i64 0}
!46 = !{!"_ZTS16ImGuiNavItemData", !10, i64 0, !6, i64 8, !6, i64 12, !35, i64 16, !6, i64 32, !12, i64 36, !12, i64 40, !12, i64 44}
!47 = !{!"_ZTS12ImGuiPayload", !10, i64 0, !6, i64 8, !6, i64 12, !6, i64 16, !6, i64 20, !7, i64 24, !15, i64 57, !15, i64 58}
!48 = !{!"_ZTS8ImVectorIhE", !6, i64 0, !6, i64 4, !10, i64 8}
!49 = !{!"_ZTS8ImVectorI20ImGuiListClipperDataE", !6, i64 0, !6, i64 4, !10, i64 8}
!50 = !{!"_ZTS8ImVectorI18ImGuiTableTempDataE", !6, i64 0, !6, i64 4, !10, i64 8}
!51 = !{!"_ZTS6ImPoolI10ImGuiTableE", !52, i64 0, !28, i64 16, !6, i64 32, !6, i64 36}
!52 = !{!"_ZTS8ImVectorI10ImGuiTableE", !6, i64 0, !6, i64 4, !10, i64 8}
!53 = !{!"_ZTS8ImVectorIfE", !6, i64 0, !6, i64 4, !10, i64 8}
!54 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !6, i64 0, !6, i64 4, !10, i64 8}
!55 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !56, i64 0, !28, i64 16, !6, i64 32, !6, i64 36}
!56 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !6, i64 0, !6, i64 4, !10, i64 8}
!57 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !6, i64 0, !6, i64 4, !10, i64 8}
!58 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !6, i64 0, !6, i64 4, !10, i64 8}
!59 = !{!"_ZTS19ImGuiInputTextState", !10, i64 0, !6, i64 8, !6, i64 12, !6, i64 16, !19, i64 24, !60, i64 40, !60, i64 56, !15, i64 72, !6, i64 76, !12, i64 80, !61, i64 84, !12, i64 3712, !15, i64 3716, !15, i64 3717, !15, i64 3718, !6, i64 3720}
!60 = !{!"_ZTS8ImVectorIcE", !6, i64 0, !6, i64 4, !10, i64 8}
!61 = !{!"_ZTSN5ImStb17STB_TexteditStateE", !6, i64 0, !6, i64 4, !6, i64 8, !7, i64 12, !6, i64 16, !7, i64 20, !7, i64 21, !7, i64 22, !7, i64 23, !7, i64 24, !7, i64 25, !7, i64 26, !12, i64 28, !62, i64 32}
!62 = !{!"_ZTSN5ImStb12StbUndoStateE", !7, i64 0, !7, i64 1584, !18, i64 3582, !18, i64 3584, !6, i64 3588, !6, i64 3592}
!63 = !{!"_ZTS6ImFont", !53, i64 0, !12, i64 16, !12, i64 20, !19, i64 24, !64, i64 40, !10, i64 56, !10, i64 64, !10, i64 72, !18, i64 80, !18, i64 82, !18, i64 84, !18, i64 86, !15, i64 88, !12, i64 92, !12, i64 96, !12, i64 100, !6, i64 104, !7, i64 108}
!64 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !6, i64 0, !6, i64 4, !10, i64 8}
!65 = !{!"_ZTS21ImGuiComboPreviewData", !35, i64 0, !17, i64 16, !17, i64 24, !17, i64 32, !12, i64 40, !6, i64 44}
!66 = !{!"_ZTS20ImGuiPlatformImeData", !15, i64 0, !17, i64 4, !12, i64 12}
!67 = !{!"_ZTS15ImGuiTextBuffer", !60, i64 0}
!68 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !6, i64 0, !6, i64 4, !10, i64 8}
!69 = !{!"_ZTS13ImChunkStreamI19ImGuiWindowSettingsE", !60, i64 0}
!70 = !{!"_ZTS13ImChunkStreamI18ImGuiTableSettingsE", !60, i64 0}
!71 = !{!"_ZTS8ImVectorI16ImGuiContextHookE", !6, i64 0, !6, i64 4, !10, i64 8}
!72 = !{!"_ZTS12ImGuiLogType", !7, i64 0}
!73 = !{!"_ZTS14ImGuiTextIndex", !41, i64 0, !6, i64 16}
!74 = !{!"_ZTS18ImGuiMetricsConfig", !15, i64 0, !15, i64 1, !15, i64 2, !15, i64 3, !15, i64 4, !15, i64 5, !15, i64 6, !6, i64 8, !6, i64 12}
!75 = !{!"_ZTS14ImGuiStackTool", !6, i64 0, !6, i64 4, !6, i64 8, !76, i64 16, !15, i64 32, !12, i64 36}
!76 = !{!"_ZTS8ImVectorI19ImGuiStackLevelInfoE", !6, i64 0, !6, i64 4, !10, i64 8}
!77 = !{!14, !12, i64 18356}
!78 = !{!14, !6, i64 18520}
!79 = !{!80, !15, i64 175}
!80 = !{!"_ZTS11ImGuiWindow", !10, i64 0, !6, i64 8, !6, i64 12, !10, i64 16, !17, i64 24, !17, i64 32, !17, i64 40, !17, i64 48, !17, i64 56, !17, i64 64, !17, i64 72, !12, i64 80, !12, i64 84, !12, i64 88, !12, i64 92, !12, i64 96, !12, i64 100, !12, i64 104, !12, i64 108, !6, i64 112, !6, i64 116, !6, i64 120, !17, i64 124, !17, i64 132, !17, i64 140, !17, i64 148, !17, i64 156, !17, i64 164, !15, i64 172, !15, i64 173, !15, i64 174, !15, i64 175, !15, i64 176, !15, i64 177, !15, i64 178, !15, i64 179, !15, i64 180, !15, i64 181, !15, i64 182, !15, i64 183, !15, i64 184, !7, i64 185, !18, i64 186, !18, i64 188, !18, i64 190, !18, i64 192, !18, i64 194, !6, i64 196, !7, i64 200, !7, i64 201, !7, i64 202, !15, i64 203, !6, i64 204, !7, i64 208, !7, i64 209, !7, i64 210, !7, i64 211, !6, i64 212, !6, i64 213, !6, i64 214, !17, i64 216, !17, i64 224, !40, i64 232, !81, i64 248, !35, i64 480, !35, i64 496, !35, i64 512, !35, i64 528, !35, i64 544, !35, i64 560, !35, i64 576, !84, i64 592, !84, i64 596, !6, i64 600, !12, i64 604, !12, i64 608, !28, i64 616, !85, i64 632, !12, i64 648, !6, i64 652, !10, i64 656, !86, i64 664, !10, i64 864, !10, i64 872, !10, i64 880, !10, i64 888, !10, i64 896, !10, i64 904, !10, i64 912, !7, i64 920, !7, i64 928, !6, i64 960, !6, i64 964, !6, i64 968, !15, i64 972}
!81 = !{!"_ZTS19ImGuiWindowTempData", !17, i64 0, !17, i64 8, !17, i64 16, !17, i64 24, !17, i64 32, !17, i64 40, !17, i64 48, !12, i64 56, !12, i64 60, !15, i64 64, !15, i64 65, !82, i64 68, !82, i64 72, !82, i64 76, !17, i64 80, !45, i64 88, !18, i64 92, !18, i64 94, !15, i64 96, !15, i64 97, !15, i64 98, !17, i64 100, !83, i64 108, !6, i64 136, !6, i64 140, !26, i64 144, !10, i64 160, !10, i64 168, !6, i64 176, !6, i64 180, !6, i64 184, !12, i64 188, !12, i64 192, !53, i64 200, !53, i64 216}
!82 = !{!"_ZTS6ImVec1", !12, i64 0}
!83 = !{!"_ZTS16ImGuiMenuColumns", !6, i64 0, !6, i64 4, !18, i64 8, !18, i64 10, !18, i64 12, !18, i64 14, !18, i64 16, !7, i64 18}
!84 = !{!"_ZTS8ImVec2ih", !18, i64 0, !18, i64 2}
!85 = !{!"_ZTS8ImVectorI15ImGuiOldColumnsE", !6, i64 0, !6, i64 4, !10, i64 8}
!86 = !{!"_ZTS10ImDrawList", !87, i64 0, !19, i64 16, !88, i64 32, !6, i64 48, !6, i64 52, !10, i64 56, !10, i64 64, !10, i64 72, !10, i64 80, !89, i64 88, !90, i64 104, !24, i64 120, !91, i64 136, !92, i64 168, !12, i64 192}
!87 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !6, i64 0, !6, i64 4, !10, i64 8}
!88 = !{!"_ZTS8ImVectorI10ImDrawVertE", !6, i64 0, !6, i64 4, !10, i64 8}
!89 = !{!"_ZTS8ImVectorI6ImVec4E", !6, i64 0, !6, i64 4, !10, i64 8}
!90 = !{!"_ZTS8ImVectorIPvE", !6, i64 0, !6, i64 4, !10, i64 8}
!91 = !{!"_ZTS15ImDrawCmdHeader", !23, i64 0, !10, i64 16, !6, i64 24}
!92 = !{!"_ZTS18ImDrawListSplitter", !6, i64 0, !6, i64 4, !54, i64 8}
!93 = !{i8 0, i8 2}
!94 = !{}
!95 = !{!80, !6, i64 204}
!96 = !{!14, !12, i64 14364}
!97 = !{!14, !12, i64 14316}
!98 = !{!15, !15, i64 0}


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

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

@GImGui = external local_unnamed_addr global ptr, align 8
@.str.4 = external hidden unnamed_addr constant [94 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [52 x i8], align 1
@__PRETTY_FUNCTION__._ZN5ImGui15BeginComboPopupEjRK6ImRecti = external hidden unnamed_addr constant [70 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [2 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 nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef, float noundef) local_unnamed_addr #2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef float @_ZNK6ImRect8GetWidthEv(ptr noundef nonnull align 4 dereferenceable(16)) local_unnamed_addr #1 align 2

declare void @_ZN5ImGui12PushStyleVarEiRK6ImVec2(i32 noundef, ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #4

declare void @_ZN5ImGui11PopStyleVarEi(i32 noundef) local_unnamed_addr #4

declare noundef i32 @_Z14ImFormatStringPcmPKcz(ptr noundef, i64 noundef, ptr noundef, ...) local_unnamed_addr #4

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef zeroext i1 @_ZL14ImIsPowerOfTwoi(i32 noundef) local_unnamed_addr #2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN19ImGuiNextWindowData10ClearFlagsEv(ptr noundef nonnull align 8 dereferenceable(108)) local_unnamed_addr #2 align 2

declare noundef zeroext i1 @_ZN5ImGui11IsPopupOpenEji(i32 noundef, i32 noundef) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN5ImGui15BeginComboPopupEjRK6ImRecti(i32 noundef %0, ptr noundef nonnull align 4 dereferenceable(16) %1, i32 noundef %2) local_unnamed_addr #5 {
  %4 = alloca %struct.ImVec2, align 4
  %5 = alloca %struct.ImVec2, align 4
  %6 = alloca [16 x i8], align 16
  %7 = alloca %struct.ImVec2, align 8
  %8 = alloca %struct.ImRect, align 8
  %9 = alloca %struct.ImVec2, align 8
  %10 = alloca %struct.ImVec2, align 8
  %11 = alloca %struct.ImVec2, align 4
  %12 = alloca %struct.ImVec2, align 4
  %13 = load ptr, ptr @GImGui, align 8, !tbaa !5
  %14 = tail call noundef zeroext i1 @_ZN5ImGui11IsPopupOpenEji(i32 noundef %0, i32 noundef 0)
  br i1 %14, label %17, label %15

15:                                               ; preds = %3
  %16 = getelementptr inbounds i8, ptr %13, i64 18296
  tail call void @_ZN19ImGuiNextWindowData10ClearFlagsEv(ptr noundef nonnull align 8 dereferenceable(108) %16)
  br label %69

17:                                               ; preds = %3
  %18 = tail call noundef float @_ZNK6ImRect8GetWidthEv(ptr noundef nonnull align 4 dereferenceable(16) %1)
  %19 = getelementptr inbounds i8, ptr %13, i64 18296
  %20 = load i32, ptr %19, align 8, !tbaa !9
  %21 = and i32 %20, 16
  %.not = icmp eq i32 %21, 0
  br i1 %.not, label %26, label %22

22:                                               ; preds = %17
  %23 = getelementptr inbounds i8, ptr %13, i64 18356
  %24 = load float, ptr %23, align 4, !tbaa !75
  %25 = tail call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %24, float noundef %18)
  store float %25, ptr %23, align 4, !tbaa !75
  br label %41

26:                                               ; preds = %17
  %27 = and i32 %2, 30
  %28 = icmp eq i32 %27, 0
  %29 = or disjoint i32 %2, 4
  %spec.select = select i1 %28, i32 %29, i32 %2
  %30 = and i32 %spec.select, 30
  %31 = tail call noundef zeroext i1 @_ZL14ImIsPowerOfTwoi(i32 noundef %30)
  br i1 %31, label %33, label %32

32:                                               ; preds = %26
  tail call void @__assert_fail(ptr noundef nonnull @.str.26, ptr noundef nonnull @.str.4, i32 noundef 1703, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5ImGui15BeginComboPopupEjRK6ImRecti) #6
  unreachable

33:                                               ; preds = %26
  %34 = and i32 %spec.select, 4
  %.not32 = icmp eq i32 %34, 0
  br i1 %.not32, label %35, label %39

35:                                               ; preds = %33
  %36 = and i32 %spec.select, 2
  %.not33 = icmp eq i32 %36, 0
  br i1 %.not33, label %37, label %39

37:                                               ; preds = %35
  %38 = and i32 %spec.select, 8
  %.not34 = icmp eq i32 %38, 0
  %spec.select37 = select i1 %.not34, i32 -1, i32 20
  br label %39

39:                                               ; preds = %37, %35, %33
  %.030 = phi i32 [ 8, %33 ], [ 4, %35 ], [ %spec.select37, %37 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #7
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %4, float noundef %18, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #7
  %40 = call noundef float @_ZL31CalcMaxPopupHeightFromItemCounti(i32 noundef %.030)
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %5, float noundef 0x47EFFFFFE0000000, float noundef %40)
  call void @_ZN5ImGui28SetNextWindowSizeConstraintsERK6ImVec2S2_PFvP21ImGuiSizeCallbackDataEPv(ptr noundef nonnull align 4 dereferenceable(8) %4, ptr noundef nonnull align 4 dereferenceable(8) %5, ptr noundef null, ptr noundef null)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #7
  br label %41

41:                                               ; preds = %39, %22
  %.1 = phi i32 [ %2, %22 ], [ %spec.select, %39 ]
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #7
  %42 = getelementptr inbounds i8, ptr %13, i64 18520
  %43 = load i32, ptr %42, align 8, !tbaa !76
  %44 = call noundef i32 (ptr, i64, ptr, ...) @_Z14ImFormatStringPcmPKcz(ptr noundef nonnull %6, i64 noundef 16, ptr noundef nonnull @.str.27, i32 noundef %43)
  %45 = call noundef ptr @_ZN5ImGui16FindWindowByNameEPKc(ptr noundef nonnull %6)
  %.not35 = icmp eq ptr %45, null
  br i1 %.not35, label %61, label %46

46:                                               ; preds = %41
  %47 = getelementptr inbounds i8, ptr %45, i64 175
  %48 = load i8, ptr %47, align 1, !tbaa !77, !range !91, !noundef !92
  %49 = trunc nuw i8 %48 to i1
  br i1 %49, label %50, label %61

50:                                               ; preds = %46
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #7
  %51 = call <2 x float> @_ZN5ImGui25CalcWindowNextAutoFitSizeEP11ImGuiWindow(ptr noundef nonnull %45)
  store <2 x float> %51, ptr %7, align 8
  %52 = and i32 %.1, 1
  %.not36 = icmp eq i32 %52, 0
  %53 = select i1 %.not36, i32 3, i32 0
  %54 = getelementptr inbounds i8, ptr %45, i64 204
  store i32 %53, ptr %54, align 4, !tbaa !93
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8) #7
  %55 = call { <2 x float>, <2 x float> } @_ZN5ImGui25GetPopupAllowedExtentRectEP11ImGuiWindow(ptr noundef nonnull %45)
  %56 = extractvalue { <2 x float>, <2 x float> } %55, 0
  store <2 x float> %56, ptr %8, align 8
  %57 = getelementptr inbounds i8, ptr %8, i64 8
  %58 = extractvalue { <2 x float>, <2 x float> } %55, 1
  store <2 x float> %58, ptr %57, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #7
  %59 = call <2 x float> @_ZNK6ImRect5GetBLEv(ptr noundef nonnull align 4 dereferenceable(16) %1)
  store <2 x float> %59, ptr %10, align 8
  %60 = call <2 x float> @_ZN5ImGui27FindBestWindowPosForPopupExERK6ImVec2S2_PiRK6ImRectS6_24ImGuiPopupPositionPolicy(ptr noundef nonnull align 4 dereferenceable(8) %10, ptr noundef nonnull align 4 dereferenceable(8) %7, ptr noundef nonnull %54, ptr noundef nonnull align 4 dereferenceable(16) %8, ptr noundef nonnull align 4 dereferenceable(16) %1, i32 noundef 1)
  store <2 x float> %60, ptr %9, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #7
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %11, float noundef 0.000000e+00, float noundef 0.000000e+00)
  call void @_ZN5ImGui16SetNextWindowPosERK6ImVec2iS2_(ptr noundef nonnull align 4 dereferenceable(8) %9, i32 noundef 0, ptr noundef nonnull align 4 dereferenceable(8) %11)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #7
  br label %61

61:                                               ; preds = %46, %50, %41
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #7
  %62 = getelementptr inbounds i8, ptr %13, i64 14364
  %63 = load float, ptr %62, align 4, !tbaa !94
  %64 = getelementptr inbounds i8, ptr %13, i64 14316
  %65 = load float, ptr %64, align 4, !tbaa !95
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %12, float noundef %63, float noundef %65)
  call void @_ZN5ImGui12PushStyleVarEiRK6ImVec2(i32 noundef 2, ptr noundef nonnull align 4 dereferenceable(8) %12)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #7
  %66 = call noundef zeroext i1 @_ZN5ImGui5BeginEPKcPbi(ptr noundef nonnull %6, ptr noundef null, i32 noundef 67109191)
  call void @_ZN5ImGui11PopStyleVarEi(i32 noundef 1)
  br i1 %66, label %68, label %67

67:                                               ; preds = %61
  call void @_ZN5ImGui8EndPopupEv()
  call void @__assert_fail(ptr noundef nonnull @.str.28, ptr noundef nonnull @.str.4, i32 noundef 1737, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5ImGui15BeginComboPopupEjRK6ImRecti) #6
  unreachable

68:                                               ; preds = %61
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #7
  br label %69

69:                                               ; preds = %68, %15
  ret i1 %14
}

declare void @_ZN5ImGui28SetNextWindowSizeConstraintsERK6ImVec2S2_PFvP21ImGuiSizeCallbackDataEPv(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8), ptr noundef, ptr noundef) local_unnamed_addr #4

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef float @_ZL31CalcMaxPopupHeightFromItemCounti(i32 noundef) local_unnamed_addr #1

declare noundef ptr @_ZN5ImGui16FindWindowByNameEPKc(ptr noundef) local_unnamed_addr #4

declare <2 x float> @_ZN5ImGui25CalcWindowNextAutoFitSizeEP11ImGuiWindow(ptr noundef) local_unnamed_addr #4

declare { <2 x float>, <2 x float> } @_ZN5ImGui25GetPopupAllowedExtentRectEP11ImGuiWindow(ptr noundef) local_unnamed_addr #4

declare <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 #4

; Function Attrs: mustprogress uwtable
declare dso_local <2 x float> @_ZNK6ImRect5GetBLEv(ptr noundef nonnull align 4 dereferenceable(16)) local_unnamed_addr #5 align 2

declare void @_ZN5ImGui16SetNextWindowPosERK6ImVec2iS2_(ptr noundef nonnull align 4 dereferenceable(8), i32 noundef, ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #4

declare noundef zeroext i1 @_ZN5ImGui5BeginEPKcPbi(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #4

declare void @_ZN5ImGui8EndPopupEv() local_unnamed_addr #4

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { 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 = { noreturn nounwind }
attributes #7 = { 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, !13, i64 18296}
!10 = !{!"_ZTS12ImGuiContext", !11, i64 0, !11, i64 1, !12, i64 8, !18, i64 14272, !18, i64 14288, !19, i64 14304, !6, i64 15352, !15, i64 15360, !15, i64 15364, !20, i64 15368, !23, i64 15896, !13, i64 15904, !13, i64 15908, !13, i64 15912, !11, i64 15916, !11, i64 15917, !11, i64 15918, !11, i64 15919, !11, i64 15920, !6, i64 15928, !24, i64 15936, !24, i64 15952, !24, i64 15968, !25, i64 15984, !26, i64 16000, !13, i64 16016, !14, i64 16020, !6, i64 16032, !6, i64 16040, !6, i64 16048, !6, i64 16056, !6, i64 16064, !14, i64 16072, !13, i64 16080, !15, i64 16084, !14, i64 16088, !14, i64 16096, !13, i64 16104, !13, i64 16108, !13, i64 16112, !11, i64 16116, !11, i64 16117, !15, i64 16120, !15, i64 16124, !13, i64 16128, !13, i64 16132, !15, i64 16136, !11, i64 16140, !11, i64 16141, !11, i64 16142, !11, i64 16143, !11, i64 16144, !11, i64 16145, !14, i64 16148, !6, i64 16160, !28, i64 16168, !13, i64 16172, !13, i64 16176, !11, i64 16180, !11, i64 16181, !6, i64 16184, !13, i64 16192, !15, i64 16196, !7, i64 16200, !29, i64 17880, !13, i64 18192, !11, i64 18196, !13, i64 18200, !13, i64 18204, !13, i64 18208, !13, i64 18212, !31, i64 18216, !32, i64 18236, !34, i64 18296, !35, i64 18408, !36, i64 18424, !37, i64 18440, !38, i64 18456, !39, i64 18472, !40, i64 18488, !41, i64 18504, !41, i64 18520, !13, i64 18536, !42, i64 18544, !6, i64 18560, !13, i64 18568, !13, i64 18572, !13, i64 18576, !13, i64 18580, !13, i64 18584, !13, i64 18588, !13, i64 18592, !13, i64 18596, !13, i64 18600, !13, i64 18604, !13, i64 18608, !13, i64 18612, !28, i64 18616, !43, i64 18620, !11, i64 18624, !11, i64 18625, !11, i64 18626, !11, i64 18627, !11, i64 18628, !11, i64 18629, !11, i64 18630, !13, i64 18632, !33, i64 18636, !11, i64 18652, !11, i64 18653, !11, i64 18654, !13, i64 18656, !13, i64 18660, !13, i64 18664, !13, i64 18668, !13, i64 18672, !13, i64 18676, !33, i64 18680, !33, i64 18696, !13, i64 18712, !13, i64 18716, !13, i64 18720, !44, i64 18728, !44, i64 18776, !44, i64 18824, !44, i64 18872, !13, i64 18920, !13, i64 18924, !6, i64 18928, !6, i64 18936, !6, i64 18944, !15, i64 18952, !15, i64 18956, !11, i64 18960, !14, i64 18964, !14, i64 18972, !15, i64 18980, !13, i64 18984, !11, i64 18988, !11, i64 18989, !11, i64 18990, !13, i64 18992, !13, i64 18996, !13, i64 19000, !45, i64 19008, !33, i64 19072, !13, i64 19088, !13, i64 19092, !15, i64 19096, !13, i64 19100, !13, i64 19104, !13, i64 19108, !13, i64 19112, !46, i64 19120, !7, i64 19136, !13, i64 19152, !47, i64 19160, !6, i64 19176, !13, i64 19184, !48, i64 19192, !49, i64 19208, !51, i64 19248, !52, i64 19264, !6, i64 19280, !53, i64 19288, !55, i64 19328, !56, i64 19344, !13, i64 19360, !13, i64 19364, !15, i64 19368, !15, i64 19372, !14, i64 19376, !57, i64 19384, !61, i64 23112, !13, i64 23224, !13, i64 23228, !15, i64 23232, !15, i64 23236, !13, i64 23240, !21, i64 23244, !63, i64 23260, !15, i64 23308, !15, i64 23312, !11, i64 23316, !11, i64 23317, !15, i64 23320, !15, i64 23324, !15, i64 23328, !15, i64 23332, !16, i64 23336, !16, i64 23338, !58, i64 23344, !38, i64 23360, !64, i64 23376, !64, i64 23392, !7, i64 23408, !11, i64 23409, !15, i64 23412, !65, i64 23416, !66, i64 23432, !67, i64 23448, !68, i64 23464, !69, i64 23480, !13, i64 23496, !7, i64 23504, !11, i64 23560, !70, i64 23564, !6, i64 23568, !65, i64 23576, !6, i64 23592, !6, i64 23600, !15, i64 23608, !11, i64 23612, !13, i64 23616, !13, i64 23620, !13, i64 23624, !13, i64 23628, !65, i64 23632, !71, i64 23648, !7, i64 23672, !11, i64 23673, !7, i64 23674, !13, i64 23676, !72, i64 23680, !73, i64 23696, !7, i64 23736, !13, i64 23976, !13, i64 23980, !15, i64 23984, !13, i64 23988, !13, i64 23992, !13, i64 23996, !58, i64 24000}
!11 = !{!"bool", !7, i64 0}
!12 = !{!"_ZTS7ImGuiIO", !13, i64 0, !13, i64 4, !14, i64 8, !15, i64 16, !15, i64 20, !6, i64 24, !6, i64 32, !15, i64 40, !15, i64 44, !15, i64 48, !15, i64 52, !15, i64 56, !15, i64 60, !15, i64 64, !6, i64 72, !6, i64 80, !15, i64 88, !11, i64 92, !6, i64 96, !14, i64 104, !11, i64 112, !11, i64 113, !11, i64 114, !11, i64 115, !11, i64 116, !11, i64 117, !11, i64 118, !11, i64 119, !15, 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, !6, i64 192, !6, i64 200, !11, i64 208, !11, i64 209, !11, i64 210, !11, i64 211, !11, i64 212, !11, i64 213, !11, i64 214, !15, i64 216, !13, i64 220, !13, i64 224, !13, i64 228, !13, i64 232, !13, i64 236, !14, i64 240, !7, i64 248, !7, i64 2856, !7, i64 3508, !14, i64 3572, !7, i64 3580, !15, i64 3588, !15, i64 3592, !11, i64 3596, !11, i64 3597, !11, i64 3598, !11, i64 3599, !13, i64 3600, !7, i64 3604, !11, i64 14036, !14, i64 14040, !7, i64 14048, !7, i64 14088, !7, i64 14128, !7, i64 14133, !7, i64 14138, !7, i64 14148, !7, i64 14158, !7, i64 14163, !7, i64 14168, !7, i64 14176, !7, i64 14196, !7, i64 14216, !15, i64 14236, !11, i64 14240, !11, i64 14241, !7, i64 14242, !11, i64 14243, !16, i64 14244, !17, i64 14248}
!13 = !{!"int", !7, i64 0}
!14 = !{!"_ZTS6ImVec2", !15, i64 0, !15, i64 4}
!15 = !{!"float", !7, i64 0}
!16 = !{!"short", !7, i64 0}
!17 = !{!"_ZTS8ImVectorItE", !13, i64 0, !13, i64 4, !6, i64 8}
!18 = !{!"_ZTS8ImVectorI15ImGuiInputEventE", !13, i64 0, !13, i64 4, !6, i64 8}
!19 = !{!"_ZTS10ImGuiStyle", !15, i64 0, !15, i64 4, !14, i64 8, !15, i64 16, !15, i64 20, !14, i64 24, !14, i64 32, !13, i64 40, !15, i64 44, !15, i64 48, !15, i64 52, !15, i64 56, !14, i64 60, !15, i64 68, !15, i64 72, !14, i64 76, !14, i64 84, !14, i64 92, !14, i64 100, !15, i64 108, !15, i64 112, !15, i64 116, !15, i64 120, !15, i64 124, !15, i64 128, !15, i64 132, !15, i64 136, !15, i64 140, !15, i64 144, !13, i64 148, !14, i64 152, !14, i64 160, !14, i64 168, !14, i64 176, !15, i64 184, !11, i64 188, !11, i64 189, !11, i64 190, !15, i64 192, !15, i64 196, !7, i64 200}
!20 = !{!"_ZTS20ImDrawListSharedData", !14, i64 0, !6, i64 8, !15, i64 16, !15, i64 20, !15, i64 24, !21, i64 28, !13, i64 44, !22, i64 48, !7, i64 64, !15, i64 448, !7, i64 452, !6, i64 520}
!21 = !{!"_ZTS6ImVec4", !15, i64 0, !15, i64 4, !15, i64 8, !15, i64 12}
!22 = !{!"_ZTS8ImVectorI6ImVec2E", !13, i64 0, !13, i64 4, !6, i64 8}
!23 = !{!"double", !7, i64 0}
!24 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !13, i64 0, !13, i64 4, !6, i64 8}
!25 = !{!"_ZTS8ImVectorI20ImGuiWindowStackDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!26 = !{!"_ZTS12ImGuiStorage", !27, i64 0}
!27 = !{!"_ZTS8ImVectorIN12ImGuiStorage16ImGuiStoragePairEE", !13, i64 0, !13, i64 4, !6, i64 8}
!28 = !{!"_ZTS16ImGuiInputSource", !7, i64 0}
!29 = !{!"_ZTS20ImGuiKeyRoutingTable", !7, i64 0, !30, i64 280, !30, i64 296}
!30 = !{!"_ZTS8ImVectorI19ImGuiKeyRoutingDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!31 = !{!"_ZTS17ImGuiNextItemData", !13, i64 0, !15, i64 4, !13, i64 8, !13, i64 12, !11, i64 16}
!32 = !{!"_ZTS17ImGuiLastItemData", !13, i64 0, !13, i64 4, !13, i64 8, !33, i64 12, !33, i64 28, !33, i64 44}
!33 = !{!"_ZTS6ImRect", !14, i64 0, !14, i64 8}
!34 = !{!"_ZTS19ImGuiNextWindowData", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12, !14, i64 16, !14, i64 24, !14, i64 32, !14, i64 40, !14, i64 48, !11, i64 56, !33, i64 60, !6, i64 80, !6, i64 88, !15, i64 96, !14, i64 100}
!35 = !{!"_ZTS8ImVectorI13ImGuiColorModE", !13, i64 0, !13, i64 4, !6, i64 8}
!36 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !13, i64 0, !13, i64 4, !6, i64 8}
!37 = !{!"_ZTS8ImVectorIP6ImFontE", !13, i64 0, !13, i64 4, !6, i64 8}
!38 = !{!"_ZTS8ImVectorIjE", !13, i64 0, !13, i64 4, !6, i64 8}
!39 = !{!"_ZTS8ImVectorIiE", !13, i64 0, !13, i64 4, !6, i64 8}
!40 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!41 = !{!"_ZTS8ImVectorI14ImGuiPopupDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!42 = !{!"_ZTS8ImVectorIP14ImGuiViewportPE", !13, i64 0, !13, i64 4, !6, i64 8}
!43 = !{!"_ZTS13ImGuiNavLayer", !7, i64 0}
!44 = !{!"_ZTS16ImGuiNavItemData", !6, i64 0, !13, i64 8, !13, i64 12, !33, i64 16, !13, i64 32, !15, i64 36, !15, i64 40, !15, i64 44}
!45 = !{!"_ZTS12ImGuiPayload", !6, i64 0, !13, i64 8, !13, i64 12, !13, i64 16, !13, i64 20, !7, i64 24, !11, i64 57, !11, i64 58}
!46 = !{!"_ZTS8ImVectorIhE", !13, i64 0, !13, i64 4, !6, i64 8}
!47 = !{!"_ZTS8ImVectorI20ImGuiListClipperDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!48 = !{!"_ZTS8ImVectorI18ImGuiTableTempDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!49 = !{!"_ZTS6ImPoolI10ImGuiTableE", !50, i64 0, !26, i64 16, !13, i64 32, !13, i64 36}
!50 = !{!"_ZTS8ImVectorI10ImGuiTableE", !13, i64 0, !13, i64 4, !6, i64 8}
!51 = !{!"_ZTS8ImVectorIfE", !13, i64 0, !13, i64 4, !6, i64 8}
!52 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !13, i64 0, !13, i64 4, !6, i64 8}
!53 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !54, i64 0, !26, i64 16, !13, i64 32, !13, i64 36}
!54 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !13, i64 0, !13, i64 4, !6, i64 8}
!55 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !13, i64 0, !13, i64 4, !6, i64 8}
!56 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !13, i64 0, !13, i64 4, !6, i64 8}
!57 = !{!"_ZTS19ImGuiInputTextState", !6, i64 0, !13, i64 8, !13, i64 12, !13, i64 16, !17, i64 24, !58, i64 40, !58, i64 56, !11, i64 72, !13, i64 76, !15, i64 80, !59, i64 84, !15, i64 3712, !11, i64 3716, !11, i64 3717, !11, i64 3718, !13, i64 3720}
!58 = !{!"_ZTS8ImVectorIcE", !13, i64 0, !13, i64 4, !6, i64 8}
!59 = !{!"_ZTSN5ImStb17STB_TexteditStateE", !13, i64 0, !13, i64 4, !13, i64 8, !7, i64 12, !13, i64 16, !7, i64 20, !7, i64 21, !7, i64 22, !7, i64 23, !7, i64 24, !7, i64 25, !7, i64 26, !15, i64 28, !60, i64 32}
!60 = !{!"_ZTSN5ImStb12StbUndoStateE", !7, i64 0, !7, i64 1584, !16, i64 3582, !16, i64 3584, !13, i64 3588, !13, i64 3592}
!61 = !{!"_ZTS6ImFont", !51, i64 0, !15, i64 16, !15, i64 20, !17, i64 24, !62, i64 40, !6, i64 56, !6, i64 64, !6, i64 72, !16, i64 80, !16, i64 82, !16, i64 84, !16, i64 86, !11, i64 88, !15, i64 92, !15, i64 96, !15, i64 100, !13, i64 104, !7, i64 108}
!62 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !13, i64 0, !13, i64 4, !6, i64 8}
!63 = !{!"_ZTS21ImGuiComboPreviewData", !33, i64 0, !14, i64 16, !14, i64 24, !14, i64 32, !15, i64 40, !13, i64 44}
!64 = !{!"_ZTS20ImGuiPlatformImeData", !11, i64 0, !14, i64 4, !15, i64 12}
!65 = !{!"_ZTS15ImGuiTextBuffer", !58, i64 0}
!66 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !13, i64 0, !13, i64 4, !6, i64 8}
!67 = !{!"_ZTS13ImChunkStreamI19ImGuiWindowSettingsE", !58, i64 0}
!68 = !{!"_ZTS13ImChunkStreamI18ImGuiTableSettingsE", !58, i64 0}
!69 = !{!"_ZTS8ImVectorI16ImGuiContextHookE", !13, i64 0, !13, i64 4, !6, i64 8}
!70 = !{!"_ZTS12ImGuiLogType", !7, i64 0}
!71 = !{!"_ZTS14ImGuiTextIndex", !39, i64 0, !13, i64 16}
!72 = !{!"_ZTS18ImGuiMetricsConfig", !11, i64 0, !11, i64 1, !11, i64 2, !11, i64 3, !11, i64 4, !11, i64 5, !11, i64 6, !13, i64 8, !13, i64 12}
!73 = !{!"_ZTS14ImGuiStackTool", !13, i64 0, !13, i64 4, !13, i64 8, !74, i64 16, !11, i64 32, !15, i64 36}
!74 = !{!"_ZTS8ImVectorI19ImGuiStackLevelInfoE", !13, i64 0, !13, i64 4, !6, i64 8}
!75 = !{!10, !15, i64 18356}
!76 = !{!10, !13, i64 18520}
!77 = !{!78, !11, i64 175}
!78 = !{!"_ZTS11ImGuiWindow", !6, i64 0, !13, i64 8, !13, i64 12, !6, i64 16, !14, i64 24, !14, i64 32, !14, i64 40, !14, i64 48, !14, i64 56, !14, i64 64, !14, i64 72, !15, i64 80, !15, i64 84, !15, i64 88, !15, i64 92, !15, i64 96, !15, i64 100, !15, i64 104, !15, i64 108, !13, i64 112, !13, i64 116, !13, i64 120, !14, i64 124, !14, i64 132, !14, i64 140, !14, i64 148, !14, i64 156, !14, i64 164, !11, i64 172, !11, i64 173, !11, i64 174, !11, i64 175, !11, i64 176, !11, i64 177, !11, i64 178, !11, i64 179, !11, i64 180, !11, i64 181, !11, i64 182, !11, i64 183, !11, i64 184, !7, i64 185, !16, i64 186, !16, i64 188, !16, i64 190, !16, i64 192, !16, i64 194, !13, i64 196, !7, i64 200, !7, i64 201, !7, i64 202, !11, i64 203, !13, i64 204, !7, i64 208, !7, i64 209, !7, i64 210, !7, i64 211, !13, i64 212, !13, i64 213, !13, i64 214, !14, i64 216, !14, i64 224, !38, i64 232, !79, i64 248, !33, i64 480, !33, i64 496, !33, i64 512, !33, i64 528, !33, i64 544, !33, i64 560, !33, i64 576, !82, i64 592, !82, i64 596, !13, i64 600, !15, i64 604, !15, i64 608, !26, i64 616, !83, i64 632, !15, i64 648, !13, i64 652, !6, i64 656, !84, i64 664, !6, i64 864, !6, i64 872, !6, i64 880, !6, i64 888, !6, i64 896, !6, i64 904, !6, i64 912, !7, i64 920, !7, i64 928, !13, i64 960, !13, i64 964, !13, i64 968, !11, i64 972}
!79 = !{!"_ZTS19ImGuiWindowTempData", !14, i64 0, !14, i64 8, !14, i64 16, !14, i64 24, !14, i64 32, !14, i64 40, !14, i64 48, !15, i64 56, !15, i64 60, !11, i64 64, !11, i64 65, !80, i64 68, !80, i64 72, !80, i64 76, !14, i64 80, !43, i64 88, !16, i64 92, !16, i64 94, !11, i64 96, !11, i64 97, !11, i64 98, !14, i64 100, !81, i64 108, !13, i64 136, !13, i64 140, !24, i64 144, !6, i64 160, !6, i64 168, !13, i64 176, !13, i64 180, !13, i64 184, !15, i64 188, !15, i64 192, !51, i64 200, !51, i64 216}
!80 = !{!"_ZTS6ImVec1", !15, i64 0}
!81 = !{!"_ZTS16ImGuiMenuColumns", !13, i64 0, !13, i64 4, !16, i64 8, !16, i64 10, !16, i64 12, !16, i64 14, !16, i64 16, !7, i64 18}
!82 = !{!"_ZTS8ImVec2ih", !16, i64 0, !16, i64 2}
!83 = !{!"_ZTS8ImVectorI15ImGuiOldColumnsE", !13, i64 0, !13, i64 4, !6, i64 8}
!84 = !{!"_ZTS10ImDrawList", !85, i64 0, !17, i64 16, !86, i64 32, !13, i64 48, !13, i64 52, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !87, i64 88, !88, i64 104, !22, i64 120, !89, i64 136, !90, i64 168, !15, i64 192}
!85 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !13, i64 0, !13, i64 4, !6, i64 8}
!86 = !{!"_ZTS8ImVectorI10ImDrawVertE", !13, i64 0, !13, i64 4, !6, i64 8}
!87 = !{!"_ZTS8ImVectorI6ImVec4E", !13, i64 0, !13, i64 4, !6, i64 8}
!88 = !{!"_ZTS8ImVectorIPvE", !13, i64 0, !13, i64 4, !6, i64 8}
!89 = !{!"_ZTS15ImDrawCmdHeader", !21, i64 0, !6, i64 16, !13, i64 24}
!90 = !{!"_ZTS18ImDrawListSplitter", !13, i64 0, !13, i64 4, !52, i64 8}
!91 = !{i8 0, i8 2}
!92 = !{}
!93 = !{!78, !13, i64 204}
!94 = !{!10, !15, i64 14364}
!95 = !{!10, !15, i64 14316}


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