; LLVM IR from Samson-Mano/EM_Propogation_simulation :: EM_Propogation_simulation/src/ImGui/imgui_widgets.ll (ZN5ImGui11BeginMenuExEPKcS1_b)

; 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.ImGuiLastItemData = type { i32, i32, i32, %struct.ImRect, %struct.ImRect, %struct.ImRect }
%struct.ImGuiWindow = type <{ ptr, ptr, i32, i32, ptr, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, float, float, float, float, float, float, float, i32, i32, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i16, i16, i16, i16, i16, i32, i8, i8, i8, i8, i32, i8, i8, i8, i8, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVector, %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.ImVector = type { i32, i32, ptr }
%struct.ImGuiWindowTempData = type { %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, float, i8, i8, %struct.ImVec1, %struct.ImVec1, %struct.ImVec1, %struct.ImVec2, i32, i16, i16, i8, i8, i8, i8, %struct.ImVec2, %struct.ImGuiMenuColumns, i32, i32, %struct.ImVector.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.ImVector.0 = type { i32, i32, ptr }
%struct.ImVector.1 = type { i32, i32, ptr }
%struct.ImVec2ih = type { i16, i16 }
%struct.ImGuiStorage = type { %struct.ImVector.2 }
%struct.ImVector.2 = type { i32, i32, ptr }
%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.5 = 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.ImVector.9 = type { i32, i32, ptr }
%struct.ImDrawCmdHeader = type <{ %struct.ImVec4, ptr, i32, [4 x i8] }>
%struct.ImVec4 = type { float, float, float, float }
%struct.ImDrawListSplitter = type { i32, i32, %struct.ImVector.10 }
%struct.ImVector.10 = type { i32, i32, ptr }
%struct.ImGuiContext = type { i8, i8, %struct.ImGuiIO, %struct.ImGuiStyle, ptr, float, float, %struct.ImDrawListSharedData, double, i32, i32, i32, i8, i8, i8, i8, i8, ptr, %struct.ImVector.11, %struct.ImVector.11, i32, i32, %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, 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.ImGuiInputTextDeactivatedState, %struct.ImFont, i32, i32, i32, i32, float, float, i32, %struct.ImVec4, %struct.ImGuiComboPreviewData, float, float, i8, i8, float, float, float, float, i16, i16, %struct.ImVector.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, 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, i8, i8, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i8, i8, i8, i8, i8, i8, i8, float, i32, i32, i32, i32, i32, %struct.ImVec2, [652 x i32], [652 x i8], [16 x float], ptr, %struct.ImVec2, [5 x i8], float, float, i32, i8, i8, i8, i8, i32, [652 x %struct.ImGuiKeyData], i8, %struct.ImVec2, [5 x %struct.ImVec2], [5 x double], [5 x i8], [5 x i8], [5 x i16], [5 x i16], [5 x i8], [5 x i8], [5 x i8], i8, [5 x float], [5 x float], [5 x float], float, i8, i8, i8, i8, i16, %struct.ImVector.5 }
%struct.ImGuiKeyData = type { i8, float, float, float }
%struct.ImGuiStyle = type { float, float, %struct.ImVec2, float, float, %struct.ImVec2, %struct.ImVec2, i32, float, float, float, float, %struct.ImVec2, float, float, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, float, float, float, float, float, float, float, float, float, i32, %struct.ImVec2, %struct.ImVec2, float, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, i8, i8, i8, float, float, [53 x %struct.ImVec4] }
%struct.ImDrawListSharedData = type { %struct.ImVec2, ptr, float, float, float, %struct.ImVec4, i32, %struct.ImVector.9, [48 x %struct.ImVec2], float, [64 x i8], ptr }
%struct.ImVector.11 = type { i32, i32, ptr }
%struct.ImVector.12 = 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.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.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.ImGuiInputTextDeactivatedState = type { i32, %struct.ImVector.29 }
%struct.ImFont = type <{ %struct.ImVector.1, float, float, %struct.ImVector.5, %struct.ImVector.30, ptr, ptr, ptr, i16, i16, i16, i16, float, float, i8, [3 x i8], float, float, float, i32, [2 x i8], [2 x i8] }>
%struct.ImVector.30 = type { i32, i32, ptr }
%struct.ImGuiComboPreviewData = type { %struct.ImRect, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, i32 }
%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, 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.ImGuiPopupData = type <{ i32, [4 x i8], ptr, ptr, i32, i32, i32, %struct.ImVec2, %struct.ImVec2, [4 x i8] }>

@GImGui = external global ptr, align 8
@.str = external hidden unnamed_addr constant [1 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: inlinehint mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN5ImGui16GetCurrentWindowEv() #1

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

declare <2 x float> @_ZN5ImGui12CalcTextSizeEPKcS1_bf(ptr noundef, ptr noundef, i1 noundef zeroext, float noundef) #3

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

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

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

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

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

declare void @_ZN5ImGui10RenderTextE6ImVec2PKcS2_b(<2 x float>, ptr noundef, ptr noundef, i1 noundef zeroext) #3

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

declare noundef i32 @_ZN5ImGui11GetColorU32Eif(i32 noundef, float noundef) #3

declare noundef i32 @_ZN11ImGuiWindow5GetIDEPKcS1_(ptr noundef nonnull align 8 dereferenceable(981), ptr noundef, ptr noundef) #3

declare void @_ZN5ImGui11RenderArrowEP10ImDrawList6ImVec2jif(ptr noundef, <2 x float>, i32 noundef, i32 noundef, float noundef) #3

; Function Attrs: mustprogress uwtable
declare dso_local { <2 x float>, <2 x float> } @_ZNK11ImGuiWindow4RectEv(ptr noundef nonnull align 8 dereferenceable(981)) #7 align 2

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

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

declare void @_ZN5ImGui5PopIDEv() #3

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

declare void @_ZN5ImGui11PopStyleVarEi(i32 noundef) #3

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN5ImGui10SelectableEPKcbiRK6ImVec2(ptr noundef, i1 noundef zeroext, i32 noundef, ptr noundef nonnull align 4 dereferenceable(8)) #8

declare void @_ZN5ImGui6PushIDEPKc(ptr noundef) #3

declare void @_ZN5ImGui13BeginDisabledEb(i1 noundef zeroext) #3

declare void @_ZN5ImGui11EndDisabledEv() #3

declare void @_ZN5ImGui12PushStyleVarEif(i32 noundef, float noundef) #3

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

declare void @_ZN5ImGui9OpenPopupEPKci(ptr noundef, i32 noundef) #3

declare void @_ZN5ImGui12PushItemFlagEib(i32 noundef, i1 noundef zeroext) #3

declare noundef zeroext i1 @_Z23ImTriangleContainsPointRK6ImVec2S1_S1_S1_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8)) #3

declare void @_ZN5ImGui11PopItemFlagEv() #3

declare void @_ZN5ImGui20NavMoveRequestCancelEv() #3

; Function Attrs: mustprogress uwtable
declare dso_local noundef float @_ZN16ImGuiMenuColumns11DeclColumnsEffff(ptr noundef nonnull align 4 dereferenceable(26), float noundef, float noundef, float noundef, float noundef) #7 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN5ImGui11BeginMenuExEPKcS1_b(ptr noundef %0, ptr noundef %1, i1 noundef zeroext %2) #8 {
  %4 = alloca i1, align 1
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i8, align 1
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  %13 = alloca i8, align 1
  %14 = alloca i32, align 4
  %15 = alloca %struct.ImVec2, align 4
  %16 = alloca i8, align 1
  %17 = alloca %struct.ImVec2, align 4
  %18 = alloca %struct.ImVec2, align 4
  %19 = alloca ptr, align 8
  %20 = alloca i8, align 1
  %21 = alloca i32, align 4
  %22 = alloca %struct.ImVec2, align 4
  %23 = alloca %struct.ImVec2, align 4
  %24 = alloca float, align 4
  %25 = alloca %struct.ImVec2, align 4
  %26 = alloca %struct.ImVec2, align 4
  %27 = alloca %struct.ImVec2, align 4
  %28 = alloca %struct.ImVec2, align 4
  %29 = alloca float, align 4
  %30 = alloca %struct.ImVec2, align 4
  %31 = alloca float, align 4
  %32 = alloca float, align 4
  %33 = alloca float, align 4
  %34 = alloca %struct.ImVec2, align 4
  %35 = alloca %struct.ImVec2, align 4
  %36 = alloca %struct.ImVec2, align 4
  %37 = alloca %struct.ImVec2, align 4
  %38 = alloca %struct.ImVec2, align 4
  %39 = alloca %struct.ImVec2, align 4
  %40 = alloca %struct.ImVec2, align 4
  %41 = alloca %struct.ImVec2, align 4
  %42 = alloca i8, align 1
  %43 = alloca i8, align 1
  %44 = alloca i8, align 1
  %45 = alloca i8, align 1
  %46 = alloca ptr, align 8
  %47 = alloca ptr, align 8
  %48 = alloca float, align 4
  %49 = alloca float, align 4
  %50 = alloca %struct.ImRect, align 4
  %51 = alloca %struct.ImVec2, align 4
  %52 = alloca %struct.ImVec2, align 4
  %53 = alloca %struct.ImVec2, align 4
  %54 = alloca float, align 4
  %55 = alloca %struct.ImGuiLastItemData, align 4
  %56 = alloca %struct.ImVec2, align 4
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  %57 = zext i1 %2 to i8
  store i8 %57, ptr %7, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #11
  %58 = call noundef ptr @_ZN5ImGui16GetCurrentWindowEv()
  store ptr %58, ptr %8, align 8, !tbaa !5
  %59 = load ptr, ptr %8, align 8, !tbaa !5
  %60 = getelementptr inbounds %struct.ImGuiWindow, ptr %59, i32 0, i32 36
  %61 = load i8, ptr %60, align 1, !tbaa !11, !range !40, !noundef !41
  %62 = trunc i8 %61 to i1
  br i1 %62, label %63, label %64

63:                                               ; preds = %3
  store i1 false, ptr %4, align 1
  store i32 1, ptr %9, align 4
  br label %671

64:                                               ; preds = %3
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #11
  %65 = load ptr, ptr @GImGui, align 8, !tbaa !5
  store ptr %65, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #11
  %66 = load ptr, ptr %10, align 8, !tbaa !5
  %67 = getelementptr inbounds %struct.ImGuiContext, ptr %66, i32 0, i32 3
  store ptr %67, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #11
  %68 = load ptr, ptr %8, align 8, !tbaa !5
  %69 = load ptr, ptr %5, align 8, !tbaa !5
  %70 = call noundef i32 @_ZN11ImGuiWindow5GetIDEPKcS1_(ptr noundef nonnull align 8 dereferenceable(981) %68, ptr noundef %69, ptr noundef null)
  store i32 %70, ptr %12, align 4, !tbaa !42
  call void @llvm.lifetime.start.p0(i64 1, ptr %13) #11
  %71 = load i32, ptr %12, align 4, !tbaa !42
  %72 = call noundef zeroext i1 @_ZN5ImGui11IsPopupOpenEji(i32 noundef %71, i32 noundef 0)
  %73 = zext i1 %72 to i8
  store i8 %73, ptr %13, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #11
  store i32 268960069, ptr %14, align 4, !tbaa !42
  %74 = load ptr, ptr %8, align 8, !tbaa !5
  %75 = getelementptr inbounds %struct.ImGuiWindow, ptr %74, i32 0, i32 3
  %76 = load i32, ptr %75, align 4, !tbaa !43
  %77 = and i32 %76, 268435456
  %78 = icmp ne i32 %77, 0
  br i1 %78, label %79, label %82

79:                                               ; preds = %64
  %80 = load i32, ptr %14, align 4, !tbaa !42
  %81 = or i32 %80, 16777216
  store i32 %81, ptr %14, align 4, !tbaa !42
  br label %82

82:                                               ; preds = %79, %64
  %83 = load ptr, ptr %10, align 8, !tbaa !5
  %84 = getelementptr inbounds %struct.ImGuiContext, ptr %83, i32 0, i32 197
  %85 = call noundef zeroext i1 @_ZNK8ImVectorIjE8containsERKj(ptr noundef nonnull align 8 dereferenceable(16) %84, ptr noundef nonnull align 4 dereferenceable(4) %12)
  br i1 %85, label %86, label %100

86:                                               ; preds = %82
  %87 = load i8, ptr %13, align 1, !tbaa !9, !range !40, !noundef !41
  %88 = trunc i8 %87 to i1
  br i1 %88, label %89, label %94

89:                                               ; preds = %86
  %90 = load i32, ptr %12, align 4, !tbaa !42
  %91 = load i32, ptr %14, align 4, !tbaa !42
  %92 = call noundef zeroext i1 @_ZN5ImGui12BeginPopupExEji(i32 noundef %90, i32 noundef %91)
  %93 = zext i1 %92 to i8
  store i8 %93, ptr %13, align 1, !tbaa !9
  br label %97

94:                                               ; preds = %86
  %95 = load ptr, ptr %10, align 8, !tbaa !5
  %96 = getelementptr inbounds %struct.ImGuiContext, ptr %95, i32 0, i32 75
  call void @_ZN19ImGuiNextWindowData10ClearFlagsEv(ptr noundef nonnull align 8 dereferenceable(108) %96)
  br label %97

97:                                               ; preds = %94, %89
  %98 = load i8, ptr %13, align 1, !tbaa !9, !range !40, !noundef !41
  %99 = trunc i8 %98 to i1
  store i1 %99, ptr %4, align 1
  store i32 1, ptr %9, align 4
  br label %670

100:                                              ; preds = %82
  %101 = load ptr, ptr %10, align 8, !tbaa !5
  %102 = getelementptr inbounds %struct.ImGuiContext, ptr %101, i32 0, i32 197
  call void @_ZN8ImVectorIjE9push_backERKj(ptr noundef nonnull align 8 dereferenceable(16) %102, ptr noundef nonnull align 4 dereferenceable(4) %12)
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #11
  %103 = load ptr, ptr %5, align 8, !tbaa !5
  %104 = call <2 x float> @_ZN5ImGui12CalcTextSizeEPKcS1_bf(ptr noundef %103, ptr noundef null, i1 noundef zeroext true, float noundef -1.000000e+00)
  store <2 x float> %104, ptr %15, align 4
  call void @llvm.lifetime.start.p0(i64 1, ptr %16) #11
  %105 = call noundef zeroext i1 @_ZL19IsRootOfOpenMenuSetv()
  %106 = zext i1 %105 to i8
  store i8 %106, ptr %16, align 1, !tbaa !9
  %107 = load i8, ptr %16, align 1, !tbaa !9, !range !40, !noundef !41
  %108 = trunc i8 %107 to i1
  br i1 %108, label %109, label %110

109:                                              ; preds = %100
  call void @_ZN5ImGui12PushItemFlagEib(i32 noundef 256, i1 noundef zeroext true)
  br label %110

110:                                              ; preds = %109, %100
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #11
  call void @_ZN6ImVec2C2Ev(ptr noundef nonnull align 4 dereferenceable(8) %17)
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #11
  %111 = load ptr, ptr %8, align 8, !tbaa !5
  %112 = getelementptr inbounds %struct.ImGuiWindow, ptr %111, i32 0, i32 62
  %113 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %112, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %18, ptr align 8 %113, i64 8, i1 false), !tbaa.struct !44
  %114 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZN5ImGui6PushIDEPKc(ptr noundef %114)
  %115 = load i8, ptr %7, align 1, !tbaa !9, !range !40, !noundef !41
  %116 = trunc i8 %115 to i1
  br i1 %116, label %118, label %117

117:                                              ; preds = %110
  call void @_ZN5ImGui13BeginDisabledEb(i1 noundef zeroext true)
  br label %118

118:                                              ; preds = %117, %110
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #11
  %119 = load ptr, ptr %8, align 8, !tbaa !5
  %120 = getelementptr inbounds %struct.ImGuiWindow, ptr %119, i32 0, i32 62
  %121 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %120, i32 0, i32 23
  store ptr %121, ptr %19, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %20) #11
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #11
  store i32 139460609, ptr %21, align 4, !tbaa !42
  %122 = load ptr, ptr %8, align 8, !tbaa !5
  %123 = getelementptr inbounds %struct.ImGuiWindow, ptr %122, i32 0, i32 62
  %124 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %123, i32 0, i32 30
  %125 = load i32, ptr %124, align 4, !tbaa !46
  %126 = icmp eq i32 %125, 0
  br i1 %126, label %127, label %216

127:                                              ; preds = %118
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #11
  %128 = getelementptr inbounds %struct.ImVec2, ptr %18, i32 0, i32 0
  %129 = load float, ptr %128, align 4, !tbaa !47
  %130 = fsub float %129, 1.000000e+00
  %131 = load ptr, ptr %11, align 8, !tbaa !5
  %132 = getelementptr inbounds %struct.ImGuiStyle, ptr %131, i32 0, i32 15
  %133 = getelementptr inbounds %struct.ImVec2, ptr %132, i32 0, i32 0
  %134 = load float, ptr %133, align 4, !tbaa !48
  %135 = fmul float %134, 5.000000e-01
  %136 = fptosi float %135 to i32
  %137 = sitofp i32 %136 to float
  %138 = fsub float %130, %137
  %139 = getelementptr inbounds %struct.ImVec2, ptr %18, i32 0, i32 1
  %140 = load float, ptr %139, align 4, !tbaa !50
  %141 = load ptr, ptr %11, align 8, !tbaa !5
  %142 = getelementptr inbounds %struct.ImGuiStyle, ptr %141, i32 0, i32 12
  %143 = getelementptr inbounds %struct.ImVec2, ptr %142, i32 0, i32 1
  %144 = load float, ptr %143, align 4, !tbaa !51
  %145 = fsub float %140, %144
  %146 = load ptr, ptr %8, align 8, !tbaa !5
  %147 = call noundef float @_ZNK11ImGuiWindow13MenuBarHeightEv(ptr noundef nonnull align 8 dereferenceable(981) %146)
  %148 = fadd float %145, %147
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %22, float noundef %138, float noundef %148)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %17, ptr align 4 %22, i64 8, i1 false), !tbaa.struct !44
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #11
  %149 = load ptr, ptr %11, align 8, !tbaa !5
  %150 = getelementptr inbounds %struct.ImGuiStyle, ptr %149, i32 0, i32 15
  %151 = getelementptr inbounds %struct.ImVec2, ptr %150, i32 0, i32 0
  %152 = load float, ptr %151, align 4, !tbaa !48
  %153 = fmul float %152, 5.000000e-01
  %154 = fptosi float %153 to i32
  %155 = sitofp i32 %154 to float
  %156 = load ptr, ptr %8, align 8, !tbaa !5
  %157 = getelementptr inbounds %struct.ImGuiWindow, ptr %156, i32 0, i32 62
  %158 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %157, i32 0, i32 0
  %159 = getelementptr inbounds %struct.ImVec2, ptr %158, i32 0, i32 0
  %160 = load float, ptr %159, align 8, !tbaa !52
  %161 = fadd float %160, %155
  store float %161, ptr %159, align 8, !tbaa !52
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #11
  %162 = load ptr, ptr %11, align 8, !tbaa !5
  %163 = getelementptr inbounds %struct.ImGuiStyle, ptr %162, i32 0, i32 15
  %164 = getelementptr inbounds %struct.ImVec2, ptr %163, i32 0, i32 0
  %165 = load float, ptr %164, align 4, !tbaa !48
  %166 = fmul float %165, 2.000000e+00
  %167 = load ptr, ptr %11, align 8, !tbaa !5
  %168 = getelementptr inbounds %struct.ImGuiStyle, ptr %167, i32 0, i32 15
  %169 = getelementptr inbounds %struct.ImVec2, ptr %168, i32 0, i32 1
  %170 = load float, ptr %169, align 4, !tbaa !53
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %23, float noundef %166, float noundef %170)
  call void @_ZN5ImGui12PushStyleVarEiRK6ImVec2(i32 noundef 14, ptr noundef nonnull align 4 dereferenceable(8) %23)
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #11
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #11
  %171 = getelementptr inbounds %struct.ImVec2, ptr %15, i32 0, i32 0
  %172 = load float, ptr %171, align 4, !tbaa !47
  store float %172, ptr %24, align 4, !tbaa !45
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #11
  %173 = load ptr, ptr %8, align 8, !tbaa !5
  %174 = getelementptr inbounds %struct.ImGuiWindow, ptr %173, i32 0, i32 62
  %175 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %174, i32 0, i32 0
  %176 = getelementptr inbounds %struct.ImVec2, ptr %175, i32 0, i32 0
  %177 = load float, ptr %176, align 8, !tbaa !52
  %178 = load ptr, ptr %19, align 8, !tbaa !5
  %179 = getelementptr inbounds %struct.ImGuiMenuColumns, ptr %178, i32 0, i32 4
  %180 = load i16, ptr %179, align 4, !tbaa !54
  %181 = zext i16 %180 to i32
  %182 = sitofp i32 %181 to float
  %183 = fadd float %177, %182
  %184 = load ptr, ptr %8, align 8, !tbaa !5
  %185 = getelementptr inbounds %struct.ImGuiWindow, ptr %184, i32 0, i32 62
  %186 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %185, i32 0, i32 0
  %187 = getelementptr inbounds %struct.ImVec2, ptr %186, i32 0, i32 1
  %188 = load float, ptr %187, align 4, !tbaa !55
  %189 = load ptr, ptr %8, align 8, !tbaa !5
  %190 = getelementptr inbounds %struct.ImGuiWindow, ptr %189, i32 0, i32 62
  %191 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %190, i32 0, i32 7
  %192 = load float, ptr %191, align 8, !tbaa !56
  %193 = fadd float %188, %192
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %25, float noundef %183, float noundef %193)
  %194 = load i8, ptr %13, align 1, !tbaa !9, !range !40, !noundef !41
  %195 = trunc i8 %194 to i1
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #11
  %196 = load float, ptr %24, align 4, !tbaa !45
  %197 = getelementptr inbounds %struct.ImVec2, ptr %15, i32 0, i32 1
  %198 = load float, ptr %197, align 4, !tbaa !50
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %26, float noundef %196, float noundef %198)
  %199 = call noundef zeroext i1 @_ZN5ImGui10SelectableEPKcbiRK6ImVec2(ptr noundef @.str, i1 noundef zeroext %195, i32 noundef 139460609, ptr noundef nonnull align 4 dereferenceable(8) %26)
  %200 = zext i1 %199 to i8
  store i8 %200, ptr %20, align 1, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #11
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %27, ptr align 4 %25, i64 8, i1 false), !tbaa.struct !44
  %201 = load ptr, ptr %5, align 8, !tbaa !5
  %202 = load <2 x float>, ptr %27, align 4
  call void @_ZN5ImGui10RenderTextE6ImVec2PKcS2_b(<2 x float> %202, ptr noundef %201, ptr noundef null, i1 noundef zeroext true)
  call void @_ZN5ImGui11PopStyleVarEi(i32 noundef 1)
  %203 = load ptr, ptr %11, align 8, !tbaa !5
  %204 = getelementptr inbounds %struct.ImGuiStyle, ptr %203, i32 0, i32 15
  %205 = getelementptr inbounds %struct.ImVec2, ptr %204, i32 0, i32 0
  %206 = load float, ptr %205, align 4, !tbaa !48
  %207 = fmul float %206, -5.000000e-01
  %208 = fptosi float %207 to i32
  %209 = sitofp i32 %208 to float
  %210 = load ptr, ptr %8, align 8, !tbaa !5
  %211 = getelementptr inbounds %struct.ImGuiWindow, ptr %210, i32 0, i32 62
  %212 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %211, i32 0, i32 0
  %213 = getelementptr inbounds %struct.ImVec2, ptr %212, i32 0, i32 0
  %214 = load float, ptr %213, align 8, !tbaa !52
  %215 = fadd float %214, %209
  store float %215, ptr %213, align 8, !tbaa !52
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #11
  br label %319

216:                                              ; preds = %118
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #11
  %217 = getelementptr inbounds %struct.ImVec2, ptr %18, i32 0, i32 0
  %218 = load float, ptr %217, align 4, !tbaa !47
  %219 = getelementptr inbounds %struct.ImVec2, ptr %18, i32 0, i32 1
  %220 = load float, ptr %219, align 4, !tbaa !50
  %221 = load ptr, ptr %11, align 8, !tbaa !5
  %222 = getelementptr inbounds %struct.ImGuiStyle, ptr %221, i32 0, i32 2
  %223 = getelementptr inbounds %struct.ImVec2, ptr %222, i32 0, i32 1
  %224 = load float, ptr %223, align 4, !tbaa !57
  %225 = fsub float %220, %224
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %28, float noundef %218, float noundef %225)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %17, ptr align 4 %28, i64 8, i1 false), !tbaa.struct !44
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #11
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #11
  %226 = load ptr, ptr %6, align 8, !tbaa !5
  %227 = icmp ne ptr %226, null
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #11
  br i1 %227, label %228, label %238

228:                                              ; preds = %216
  %229 = load ptr, ptr %6, align 8, !tbaa !5
  %230 = getelementptr inbounds i8, ptr %229, i64 0
  %231 = load i8, ptr %230, align 1, !tbaa !58
  %232 = icmp ne i8 %231, 0
  br i1 %232, label %233, label %238

233:                                              ; preds = %228
  %234 = load ptr, ptr %6, align 8, !tbaa !5
  %235 = call <2 x float> @_ZN5ImGui12CalcTextSizeEPKcS1_bf(ptr noundef %234, ptr noundef null, i1 noundef zeroext false, float noundef -1.000000e+00)
  store <2 x float> %235, ptr %30, align 4
  %236 = getelementptr inbounds %struct.ImVec2, ptr %30, i32 0, i32 0
  %237 = load float, ptr %236, align 4, !tbaa !47
  br label %239

238:                                              ; preds = %228, %216
  br label %239

239:                                              ; preds = %238, %233
  %240 = phi float [ %237, %233 ], [ 0.000000e+00, %238 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #11
  store float %240, ptr %29, align 4, !tbaa !45
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #11
  %241 = load ptr, ptr %10, align 8, !tbaa !5
  %242 = getelementptr inbounds %struct.ImGuiContext, ptr %241, i32 0, i32 5
  %243 = load float, ptr %242, align 8, !tbaa !59
  %244 = fmul float %243, 0x3FF3333340000000
  %245 = fptosi float %244 to i32
  %246 = sitofp i32 %245 to float
  store float %246, ptr %31, align 4, !tbaa !45
  call void @llvm.lifetime.start.p0(i64 4, ptr %32) #11
  %247 = load ptr, ptr %8, align 8, !tbaa !5
  %248 = getelementptr inbounds %struct.ImGuiWindow, ptr %247, i32 0, i32 62
  %249 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %248, i32 0, i32 23
  %250 = load float, ptr %29, align 4, !tbaa !45
  %251 = getelementptr inbounds %struct.ImVec2, ptr %15, i32 0, i32 0
  %252 = load float, ptr %251, align 4, !tbaa !47
  %253 = load float, ptr %31, align 4, !tbaa !45
  %254 = call noundef float @_ZN16ImGuiMenuColumns11DeclColumnsEffff(ptr noundef nonnull align 4 dereferenceable(26) %249, float noundef %250, float noundef %252, float noundef 0.000000e+00, float noundef %253)
  store float %254, ptr %32, align 4, !tbaa !45
  call void @llvm.lifetime.start.p0(i64 4, ptr %33) #11
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #11
  %255 = call <2 x float> @_ZN5ImGui21GetContentRegionAvailEv()
  store <2 x float> %255, ptr %34, align 4
  %256 = getelementptr inbounds %struct.ImVec2, ptr %34, i32 0, i32 0
  %257 = load float, ptr %256, align 4, !tbaa !47
  %258 = load float, ptr %32, align 4, !tbaa !45
  %259 = fsub float %257, %258
  %260 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef 0.000000e+00, float noundef %259)
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #11
  store float %260, ptr %33, align 4, !tbaa !45
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #11
  %261 = load ptr, ptr %8, align 8, !tbaa !5
  %262 = getelementptr inbounds %struct.ImGuiWindow, ptr %261, i32 0, i32 62
  %263 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %262, i32 0, i32 0
  %264 = getelementptr inbounds %struct.ImVec2, ptr %263, i32 0, i32 0
  %265 = load float, ptr %264, align 8, !tbaa !52
  %266 = load ptr, ptr %19, align 8, !tbaa !5
  %267 = getelementptr inbounds %struct.ImGuiMenuColumns, ptr %266, i32 0, i32 4
  %268 = load i16, ptr %267, align 4, !tbaa !54
  %269 = zext i16 %268 to i32
  %270 = sitofp i32 %269 to float
  %271 = fadd float %265, %270
  %272 = load ptr, ptr %8, align 8, !tbaa !5
  %273 = getelementptr inbounds %struct.ImGuiWindow, ptr %272, i32 0, i32 62
  %274 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %273, i32 0, i32 0
  %275 = getelementptr inbounds %struct.ImVec2, ptr %274, i32 0, i32 1
  %276 = load float, ptr %275, align 4, !tbaa !55
  %277 = load ptr, ptr %8, align 8, !tbaa !5
  %278 = getelementptr inbounds %struct.ImGuiWindow, ptr %277, i32 0, i32 62
  %279 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %278, i32 0, i32 7
  %280 = load float, ptr %279, align 8, !tbaa !56
  %281 = fadd float %276, %280
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %35, float noundef %271, float noundef %281)
  %282 = load i8, ptr %13, align 1, !tbaa !9, !range !40, !noundef !41
  %283 = trunc i8 %282 to i1
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #11
  %284 = load float, ptr %32, align 4, !tbaa !45
  %285 = getelementptr inbounds %struct.ImVec2, ptr %15, i32 0, i32 1
  %286 = load float, ptr %285, align 4, !tbaa !50
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %36, float noundef %284, float noundef %286)
  %287 = call noundef zeroext i1 @_ZN5ImGui10SelectableEPKcbiRK6ImVec2(ptr noundef @.str, i1 noundef zeroext %283, i32 noundef 156237825, ptr noundef nonnull align 4 dereferenceable(8) %36)
  %288 = zext i1 %287 to i8
  store i8 %288, ptr %20, align 1, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #11
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %37, ptr align 4 %35, i64 8, i1 false), !tbaa.struct !44
  %289 = load ptr, ptr %5, align 8, !tbaa !5
  %290 = load <2 x float>, ptr %37, align 4
  call void @_ZN5ImGui10RenderTextE6ImVec2PKcS2_b(<2 x float> %290, ptr noundef %289, ptr noundef null, i1 noundef zeroext true)
  %291 = load float, ptr %29, align 4, !tbaa !45
  %292 = fcmp ogt float %291, 0.000000e+00
  br i1 %292, label %293, label %301

293:                                              ; preds = %239
  call void @llvm.lifetime.start.p0(i64 8, ptr %39) #11
  %294 = load ptr, ptr %19, align 8, !tbaa !5
  %295 = getelementptr inbounds %struct.ImGuiMenuColumns, ptr %294, i32 0, i32 3
  %296 = load i16, ptr %295, align 2, !tbaa !110
  %297 = uitofp i16 %296 to float
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %39, float noundef %297, float noundef 0.000000e+00)
  %298 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %18, ptr noundef nonnull align 4 dereferenceable(8) %39)
  store <2 x float> %298, ptr %38, align 4
  %299 = load ptr, ptr %6, align 8, !tbaa !5
  %300 = load <2 x float>, ptr %38, align 4
  call void @_ZN5ImGui10RenderTextE6ImVec2PKcS2_b(<2 x float> %300, ptr noundef %299, ptr noundef null, i1 noundef zeroext true)
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #11
  br label %301

301:                                              ; preds = %293, %239
  %302 = load ptr, ptr %8, align 8, !tbaa !5
  %303 = getelementptr inbounds %struct.ImGuiWindow, ptr %302, i32 0, i32 80
  %304 = load ptr, ptr %303, align 8, !tbaa !111
  call void @llvm.lifetime.start.p0(i64 8, ptr %41) #11
  %305 = load ptr, ptr %19, align 8, !tbaa !5
  %306 = getelementptr inbounds %struct.ImGuiMenuColumns, ptr %305, i32 0, i32 6
  %307 = load i16, ptr %306, align 4, !tbaa !112
  %308 = zext i16 %307 to i32
  %309 = sitofp i32 %308 to float
  %310 = load float, ptr %33, align 4, !tbaa !45
  %311 = fadd float %309, %310
  %312 = load ptr, ptr %10, align 8, !tbaa !5
  %313 = getelementptr inbounds %struct.ImGuiContext, ptr %312, i32 0, i32 5
  %314 = load float, ptr %313, align 8, !tbaa !59
  %315 = call float @llvm.fmuladd.f32(float %314, float 0x3FD3333340000000, float %311)
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %41, float noundef %315, float noundef 0.000000e+00)
  %316 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %18, ptr noundef nonnull align 4 dereferenceable(8) %41)
  store <2 x float> %316, ptr %40, align 4
  %317 = call noundef i32 @_ZN5ImGui11GetColorU32Eif(i32 noundef 0, float noundef 1.000000e+00)
  %318 = load <2 x float>, ptr %40, align 4
  call void @_ZN5ImGui11RenderArrowEP10ImDrawList6ImVec2jif(ptr noundef %304, <2 x float> %318, i32 noundef %317, i32 noundef 1, float noundef 1.000000e+00)
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #11
  br label %319

319:                                              ; preds = %301, %127
  %320 = load i8, ptr %7, align 1, !tbaa !9, !range !40, !noundef !41
  %321 = trunc i8 %320 to i1
  br i1 %321, label %323, label %322

322:                                              ; preds = %319
  call void @_ZN5ImGui11EndDisabledEv()
  br label %323

323:                                              ; preds = %322, %319
  call void @llvm.lifetime.start.p0(i64 1, ptr %42) #11
  %324 = load ptr, ptr %10, align 8, !tbaa !5
  %325 = getelementptr inbounds %struct.ImGuiContext, ptr %324, i32 0, i32 40
  %326 = load i32, ptr %325, align 4, !tbaa !113
  %327 = load i32, ptr %12, align 4, !tbaa !42
  %328 = icmp eq i32 %326, %327
  br i1 %328, label %329, label %338

329:                                              ; preds = %323
  %330 = load i8, ptr %7, align 1, !tbaa !9, !range !40, !noundef !41
  %331 = trunc i8 %330 to i1
  br i1 %331, label %332, label %338

332:                                              ; preds = %329
  %333 = load ptr, ptr %10, align 8, !tbaa !5
  %334 = getelementptr inbounds %struct.ImGuiContext, ptr %333, i32 0, i32 103
  %335 = load i8, ptr %334, align 1, !tbaa !114, !range !40, !noundef !41
  %336 = trunc i8 %335 to i1
  %337 = xor i1 %336, true
  br label %338

338:                                              ; preds = %332, %329, %323
  %339 = phi i1 [ false, %329 ], [ false, %323 ], [ %337, %332 ]
  %340 = zext i1 %339 to i8
  store i8 %340, ptr %42, align 1, !tbaa !9
  %341 = load i8, ptr %16, align 1, !tbaa !9, !range !40, !noundef !41
  %342 = trunc i8 %341 to i1
  br i1 %342, label %343, label %344

343:                                              ; preds = %338
  call void @_ZN5ImGui11PopItemFlagEv()
  br label %344

344:                                              ; preds = %343, %338
  call void @llvm.lifetime.start.p0(i64 1, ptr %43) #11
  store i8 0, ptr %43, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %44) #11
  store i8 0, ptr %44, align 1, !tbaa !9
  %345 = load ptr, ptr %8, align 8, !tbaa !5
  %346 = getelementptr inbounds %struct.ImGuiWindow, ptr %345, i32 0, i32 62
  %347 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %346, i32 0, i32 30
  %348 = load i32, ptr %347, align 4, !tbaa !46
  %349 = icmp eq i32 %348, 1
  br i1 %349, label %350, label %555

350:                                              ; preds = %344
  call void @llvm.lifetime.start.p0(i64 1, ptr %45) #11
  store i8 0, ptr %45, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %46) #11
  %351 = load ptr, ptr %10, align 8, !tbaa !5
  %352 = getelementptr inbounds %struct.ImGuiContext, ptr %351, i32 0, i32 83
  %353 = getelementptr inbounds %struct.ImVector.19, ptr %352, i32 0, i32 0
  %354 = load i32, ptr %353, align 8, !tbaa !115
  %355 = load ptr, ptr %10, align 8, !tbaa !5
  %356 = getelementptr inbounds %struct.ImGuiContext, ptr %355, i32 0, i32 82
  %357 = getelementptr inbounds %struct.ImVector.19, ptr %356, i32 0, i32 0
  %358 = load i32, ptr %357, align 8, !tbaa !116
  %359 = icmp slt i32 %354, %358
  br i1 %359, label %360, label %368

360:                                              ; preds = %350
  %361 = load ptr, ptr %10, align 8, !tbaa !5
  %362 = getelementptr inbounds %struct.ImGuiContext, ptr %361, i32 0, i32 82
  %363 = load ptr, ptr %10, align 8, !tbaa !5
  %364 = getelementptr inbounds %struct.ImGuiContext, ptr %363, i32 0, i32 83
  %365 = getelementptr inbounds %struct.ImVector.19, ptr %364, i32 0, i32 0
  %366 = load i32, ptr %365, align 8, !tbaa !115
  %367 = call noundef nonnull align 8 dereferenceable(52) ptr @_ZN8ImVectorI14ImGuiPopupDataEixEi(ptr noundef nonnull align 8 dereferenceable(16) %362, i32 noundef %366)
  br label %369

368:                                              ; preds = %350
  br label %369

369:                                              ; preds = %368, %360
  %370 = phi ptr [ %367, %360 ], [ null, %368 ]
  store ptr %370, ptr %46, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %47) #11
  %371 = load ptr, ptr %46, align 8, !tbaa !5
  %372 = icmp ne ptr %371, null
  br i1 %372, label %373, label %390

373:                                              ; preds = %369
  %374 = load ptr, ptr %46, align 8, !tbaa !5
  %375 = getelementptr inbounds %struct.ImGuiPopupData, ptr %374, i32 0, i32 2
  %376 = load ptr, ptr %375, align 8, !tbaa !117
  %377 = icmp ne ptr %376, null
  br i1 %377, label %378, label %390

378:                                              ; preds = %373
  %379 = load ptr, ptr %46, align 8, !tbaa !5
  %380 = getelementptr inbounds %struct.ImGuiPopupData, ptr %379, i32 0, i32 2
  %381 = load ptr, ptr %380, align 8, !tbaa !117
  %382 = getelementptr inbounds %struct.ImGuiWindow, ptr %381, i32 0, i32 82
  %383 = load ptr, ptr %382, align 8, !tbaa !119
  %384 = load ptr, ptr %8, align 8, !tbaa !5
  %385 = icmp eq ptr %383, %384
  br i1 %385, label %386, label %390

386:                                              ; preds = %378
  %387 = load ptr, ptr %46, align 8, !tbaa !5
  %388 = getelementptr inbounds %struct.ImGuiPopupData, ptr %387, i32 0, i32 2
  %389 = load ptr, ptr %388, align 8, !tbaa !117
  br label %391

390:                                              ; preds = %378, %373, %369
  br label %391

391:                                              ; preds = %390, %386
  %392 = phi ptr [ %389, %386 ], [ null, %390 ]
  store ptr %392, ptr %47, align 8, !tbaa !5
  %393 = load ptr, ptr %10, align 8, !tbaa !5
  %394 = getelementptr inbounds %struct.ImGuiContext, ptr %393, i32 0, i32 30
  %395 = load ptr, ptr %394, align 8, !tbaa !120
  %396 = load ptr, ptr %8, align 8, !tbaa !5
  %397 = icmp eq ptr %395, %396
  br i1 %397, label %398, label %503

398:                                              ; preds = %391
  %399 = load ptr, ptr %47, align 8, !tbaa !5
  %400 = icmp ne ptr %399, null
  br i1 %400, label %401, label %503

401:                                              ; preds = %398
  call void @llvm.lifetime.start.p0(i64 4, ptr %48) #11
  %402 = load ptr, ptr %10, align 8, !tbaa !5
  %403 = getelementptr inbounds %struct.ImGuiContext, ptr %402, i32 0, i32 5
  %404 = load float, ptr %403, align 8, !tbaa !59
  store float %404, ptr %48, align 4, !tbaa !45
  call void @llvm.lifetime.start.p0(i64 4, ptr %49) #11
  %405 = load ptr, ptr %8, align 8, !tbaa !5
  %406 = getelementptr inbounds %struct.ImGuiWindow, ptr %405, i32 0, i32 5
  %407 = getelementptr inbounds %struct.ImVec2, ptr %406, i32 0, i32 0
  %408 = load float, ptr %407, align 8, !tbaa !121
  %409 = load ptr, ptr %47, align 8, !tbaa !5
  %410 = getelementptr inbounds %struct.ImGuiWindow, ptr %409, i32 0, i32 5
  %411 = getelementptr inbounds %struct.ImVec2, ptr %410, i32 0, i32 0
  %412 = load float, ptr %411, align 8, !tbaa !121
  %413 = fcmp olt float %408, %412
  %414 = zext i1 %413 to i64
  %415 = select i1 %413, float 1.000000e+00, float -1.000000e+00
  store float %415, ptr %49, align 4, !tbaa !45
  call void @llvm.lifetime.start.p0(i64 16, ptr %50) #11
  %416 = load ptr, ptr %47, align 8, !tbaa !5
  %417 = call { <2 x float>, <2 x float> } @_ZNK11ImGuiWindow4RectEv(ptr noundef nonnull align 8 dereferenceable(981) %416)
  %418 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %50, i32 0, i32 0
  %419 = extractvalue { <2 x float>, <2 x float> } %417, 0
  store <2 x float> %419, ptr %418, align 4
  %420 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %50, i32 0, i32 1
  %421 = extractvalue { <2 x float>, <2 x float> } %417, 1
  store <2 x float> %421, ptr %420, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %51) #11
  %422 = load ptr, ptr %10, align 8, !tbaa !5
  %423 = getelementptr inbounds %struct.ImGuiContext, ptr %422, i32 0, i32 2
  %424 = getelementptr inbounds %struct.ImGuiIO, ptr %423, i32 0, i32 59
  %425 = load ptr, ptr %10, align 8, !tbaa !5
  %426 = getelementptr inbounds %struct.ImGuiContext, ptr %425, i32 0, i32 2
  %427 = getelementptr inbounds %struct.ImGuiIO, ptr %426, i32 0, i32 54
  %428 = call <2 x float> @_ZmiRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %424, ptr noundef nonnull align 4 dereferenceable(8) %427)
  store <2 x float> %428, ptr %51, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %52) #11
  %429 = load float, ptr %49, align 4, !tbaa !45
  %430 = fcmp ogt float %429, 0.000000e+00
  br i1 %430, label %431, label %433

431:                                              ; preds = %401
  %432 = call <2 x float> @_ZNK6ImRect5GetTLEv(ptr noundef nonnull align 4 dereferenceable(16) %50)
  store <2 x float> %432, ptr %52, align 4
  br label %435

433:                                              ; preds = %401
  %434 = call <2 x float> @_ZNK6ImRect5GetTREv(ptr noundef nonnull align 4 dereferenceable(16) %50)
  store <2 x float> %434, ptr %52, align 4
  br label %435

435:                                              ; preds = %433, %431
  call void @llvm.lifetime.start.p0(i64 8, ptr %53) #11
  %436 = load float, ptr %49, align 4, !tbaa !45
  %437 = fcmp ogt float %436, 0.000000e+00
  br i1 %437, label %438, label %440

438:                                              ; preds = %435
  %439 = call <2 x float> @_ZNK6ImRect5GetBLEv(ptr noundef nonnull align 4 dereferenceable(16) %50)
  store <2 x float> %439, ptr %53, align 4
  br label %442

440:                                              ; preds = %435
  %441 = call <2 x float> @_ZNK6ImRect5GetBREv(ptr noundef nonnull align 4 dereferenceable(16) %50)
  store <2 x float> %441, ptr %53, align 4
  br label %442

442:                                              ; preds = %440, %438
  call void @llvm.lifetime.start.p0(i64 4, ptr %54) #11
  %443 = getelementptr inbounds %struct.ImVec2, ptr %51, i32 0, i32 0
  %444 = load float, ptr %443, align 4, !tbaa !47
  %445 = getelementptr inbounds %struct.ImVec2, ptr %52, i32 0, i32 0
  %446 = load float, ptr %445, align 4, !tbaa !47
  %447 = fsub float %444, %446
  %448 = call float @llvm.fabs.f32(float %447)
  %449 = fmul float %448, 0x3FD3333340000000
  %450 = load float, ptr %48, align 4, !tbaa !45
  %451 = fmul float %450, 5.000000e-01
  %452 = load float, ptr %48, align 4, !tbaa !45
  %453 = fmul float %452, 2.500000e+00
  %454 = call noundef float @_ZL7ImClampIfET_S0_S0_S0_(float noundef %449, float noundef %451, float noundef %453)
  store float %454, ptr %54, align 4, !tbaa !45
  %455 = load float, ptr %49, align 4, !tbaa !45
  %456 = getelementptr inbounds %struct.ImVec2, ptr %51, i32 0, i32 0
  %457 = load float, ptr %456, align 4, !tbaa !47
  %458 = call float @llvm.fmuladd.f32(float %455, float -5.000000e-01, float %457)
  store float %458, ptr %456, align 4, !tbaa !47
  %459 = load float, ptr %49, align 4, !tbaa !45
  %460 = load float, ptr %48, align 4, !tbaa !45
  %461 = getelementptr inbounds %struct.ImVec2, ptr %52, i32 0, i32 0
  %462 = load float, ptr %461, align 4, !tbaa !47
  %463 = call float @llvm.fmuladd.f32(float %459, float %460, float %462)
  store float %463, ptr %461, align 4, !tbaa !47
  %464 = load float, ptr %49, align 4, !tbaa !45
  %465 = load float, ptr %48, align 4, !tbaa !45
  %466 = getelementptr inbounds %struct.ImVec2, ptr %53, i32 0, i32 0
  %467 = load float, ptr %466, align 4, !tbaa !47
  %468 = call float @llvm.fmuladd.f32(float %464, float %465, float %467)
  store float %468, ptr %466, align 4, !tbaa !47
  %469 = getelementptr inbounds %struct.ImVec2, ptr %51, i32 0, i32 1
  %470 = load float, ptr %469, align 4, !tbaa !50
  %471 = getelementptr inbounds %struct.ImVec2, ptr %52, i32 0, i32 1
  %472 = load float, ptr %471, align 4, !tbaa !50
  %473 = load float, ptr %54, align 4, !tbaa !45
  %474 = fsub float %472, %473
  %475 = getelementptr inbounds %struct.ImVec2, ptr %51, i32 0, i32 1
  %476 = load float, ptr %475, align 4, !tbaa !50
  %477 = fsub float %474, %476
  %478 = load float, ptr %48, align 4, !tbaa !45
  %479 = fneg float %478
  %480 = fmul float %479, 8.000000e+00
  %481 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %477, float noundef %480)
  %482 = fadd float %470, %481
  %483 = getelementptr inbounds %struct.ImVec2, ptr %52, i32 0, i32 1
  store float %482, ptr %483, align 4, !tbaa !50
  %484 = getelementptr inbounds %struct.ImVec2, ptr %51, i32 0, i32 1
  %485 = load float, ptr %484, align 4, !tbaa !50
  %486 = getelementptr inbounds %struct.ImVec2, ptr %53, i32 0, i32 1
  %487 = load float, ptr %486, align 4, !tbaa !50
  %488 = load float, ptr %54, align 4, !tbaa !45
  %489 = fadd float %487, %488
  %490 = getelementptr inbounds %struct.ImVec2, ptr %51, i32 0, i32 1
  %491 = load float, ptr %490, align 4, !tbaa !50
  %492 = fsub float %489, %491
  %493 = load float, ptr %48, align 4, !tbaa !45
  %494 = fmul float %493, 8.000000e+00
  %495 = call noundef float @_ZL5ImMinIfET_S0_S0_(float noundef %492, float noundef %494)
  %496 = fadd float %485, %495
  %497 = getelementptr inbounds %struct.ImVec2, ptr %53, i32 0, i32 1
  store float %496, ptr %497, align 4, !tbaa !50
  %498 = load ptr, ptr %10, align 8, !tbaa !5
  %499 = getelementptr inbounds %struct.ImGuiContext, ptr %498, i32 0, i32 2
  %500 = getelementptr inbounds %struct.ImGuiIO, ptr %499, i32 0, i32 59
  %501 = call noundef zeroext i1 @_Z23ImTriangleContainsPointRK6ImVec2S1_S1_S1_(ptr noundef nonnull align 4 dereferenceable(8) %51, ptr noundef nonnull align 4 dereferenceable(8) %52, ptr noundef nonnull align 4 dereferenceable(8) %53, ptr noundef nonnull align 4 dereferenceable(8) %500)
  %502 = zext i1 %501 to i8
  store i8 %502, ptr %45, align 1, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 4, ptr %54) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %53) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %52) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %51) #11
  call void @llvm.lifetime.end.p0(i64 16, ptr %50) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %49) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %48) #11
  br label %503

503:                                              ; preds = %442, %398, %391
  %504 = load i8, ptr %13, align 1, !tbaa !9, !range !40, !noundef !41
  %505 = trunc i8 %504 to i1
  br i1 %505, label %506, label %524

506:                                              ; preds = %503
  %507 = load i8, ptr %42, align 1, !tbaa !9, !range !40, !noundef !41
  %508 = trunc i8 %507 to i1
  br i1 %508, label %524, label %509

509:                                              ; preds = %506
  %510 = load ptr, ptr %10, align 8, !tbaa !5
  %511 = getelementptr inbounds %struct.ImGuiContext, ptr %510, i32 0, i32 30
  %512 = load ptr, ptr %511, align 8, !tbaa !120
  %513 = load ptr, ptr %8, align 8, !tbaa !5
  %514 = icmp eq ptr %512, %513
  br i1 %514, label %515, label %524

515:                                              ; preds = %509
  %516 = load i8, ptr %45, align 1, !tbaa !9, !range !40, !noundef !41
  %517 = trunc i8 %516 to i1
  br i1 %517, label %524, label %518

518:                                              ; preds = %515
  %519 = load ptr, ptr %10, align 8, !tbaa !5
  %520 = getelementptr inbounds %struct.ImGuiContext, ptr %519, i32 0, i32 103
  %521 = load i8, ptr %520, align 1, !tbaa !114, !range !40, !noundef !41
  %522 = trunc i8 %521 to i1
  br i1 %522, label %524, label %523

523:                                              ; preds = %518
  store i8 1, ptr %44, align 1, !tbaa !9
  br label %524

524:                                              ; preds = %523, %518, %515, %509, %506, %503
  %525 = load i8, ptr %13, align 1, !tbaa !9, !range !40, !noundef !41
  %526 = trunc i8 %525 to i1
  br i1 %526, label %531, label %527

527:                                              ; preds = %524
  %528 = load i8, ptr %20, align 1, !tbaa !9, !range !40, !noundef !41
  %529 = trunc i8 %528 to i1
  br i1 %529, label %530, label %531

530:                                              ; preds = %527
  store i8 1, ptr %43, align 1, !tbaa !9
  br label %542

531:                                              ; preds = %527, %524
  %532 = load i8, ptr %13, align 1, !tbaa !9, !range !40, !noundef !41
  %533 = trunc i8 %532 to i1
  br i1 %533, label %541, label %534

534:                                              ; preds = %531
  %535 = load i8, ptr %42, align 1, !tbaa !9, !range !40, !noundef !41
  %536 = trunc i8 %535 to i1
  br i1 %536, label %537, label %541

537:                                              ; preds = %534
  %538 = load i8, ptr %45, align 1, !tbaa !9, !range !40, !noundef !41
  %539 = trunc i8 %538 to i1
  br i1 %539, label %541, label %540

540:                                              ; preds = %537
  store i8 1, ptr %43, align 1, !tbaa !9
  br label %541

541:                                              ; preds = %540, %537, %534, %531
  br label %542

542:                                              ; preds = %541, %530
  %543 = load ptr, ptr %10, align 8, !tbaa !5
  %544 = getelementptr inbounds %struct.ImGuiContext, ptr %543, i32 0, i32 87
  %545 = load i32, ptr %544, align 8, !tbaa !122
  %546 = load i32, ptr %12, align 4, !tbaa !42
  %547 = icmp eq i32 %545, %546
  br i1 %547, label %548, label %554

548:                                              ; preds = %542
  %549 = load ptr, ptr %10, align 8, !tbaa !5
  %550 = getelementptr inbounds %struct.ImGuiContext, ptr %549, i32 0, i32 115
  %551 = load i32, ptr %550, align 8, !tbaa !123
  %552 = icmp eq i32 %551, 1
  br i1 %552, label %553, label %554

553:                                              ; preds = %548
  store i8 1, ptr %43, align 1, !tbaa !9
  call void @_ZN5ImGui20NavMoveRequestCancelEv()
  br label %554

554:                                              ; preds = %553, %548, %542
  call void @llvm.lifetime.end.p0(i64 8, ptr %47) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %46) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %45) #11
  br label %593

555:                                              ; preds = %344
  %556 = load i8, ptr %13, align 1, !tbaa !9, !range !40, !noundef !41
  %557 = trunc i8 %556 to i1
  br i1 %557, label %558, label %565

558:                                              ; preds = %555
  %559 = load i8, ptr %20, align 1, !tbaa !9, !range !40, !noundef !41
  %560 = trunc i8 %559 to i1
  br i1 %560, label %561, label %565

561:                                              ; preds = %558
  %562 = load i8, ptr %16, align 1, !tbaa !9, !range !40, !noundef !41
  %563 = trunc i8 %562 to i1
  br i1 %563, label %564, label %565

564:                                              ; preds = %561
  store i8 1, ptr %44, align 1, !tbaa !9
  store i8 0, ptr %13, align 1, !tbaa !9
  store i8 0, ptr %43, align 1, !tbaa !9
  br label %592

565:                                              ; preds = %561, %558, %555
  %566 = load i8, ptr %20, align 1, !tbaa !9, !range !40, !noundef !41
  %567 = trunc i8 %566 to i1
  br i1 %567, label %577, label %568

568:                                              ; preds = %565
  %569 = load i8, ptr %42, align 1, !tbaa !9, !range !40, !noundef !41
  %570 = trunc i8 %569 to i1
  br i1 %570, label %571, label %578

571:                                              ; preds = %568
  %572 = load i8, ptr %16, align 1, !tbaa !9, !range !40, !noundef !41
  %573 = trunc i8 %572 to i1
  br i1 %573, label %574, label %578

574:                                              ; preds = %571
  %575 = load i8, ptr %13, align 1, !tbaa !9, !range !40, !noundef !41
  %576 = trunc i8 %575 to i1
  br i1 %576, label %578, label %577

577:                                              ; preds = %574, %565
  store i8 1, ptr %43, align 1, !tbaa !9
  br label %591

578:                                              ; preds = %574, %571, %568
  %579 = load ptr, ptr %10, align 8, !tbaa !5
  %580 = getelementptr inbounds %struct.ImGuiContext, ptr %579, i32 0, i32 87
  %581 = load i32, ptr %580, align 8, !tbaa !122
  %582 = load i32, ptr %12, align 4, !tbaa !42
  %583 = icmp eq i32 %581, %582
  br i1 %583, label %584, label %590

584:                                              ; preds = %578
  %585 = load ptr, ptr %10, align 8, !tbaa !5
  %586 = getelementptr inbounds %struct.ImGuiContext, ptr %585, i32 0, i32 115
  %587 = load i32, ptr %586, align 8, !tbaa !123
  %588 = icmp eq i32 %587, 3
  br i1 %588, label %589, label %590

589:                                              ; preds = %584
  store i8 1, ptr %43, align 1, !tbaa !9
  call void @_ZN5ImGui20NavMoveRequestCancelEv()
  br label %590

590:                                              ; preds = %589, %584, %578
  br label %591

591:                                              ; preds = %590, %577
  br label %592

592:                                              ; preds = %591, %564
  br label %593

593:                                              ; preds = %592, %554
  %594 = load i8, ptr %7, align 1, !tbaa !9, !range !40, !noundef !41
  %595 = trunc i8 %594 to i1
  br i1 %595, label %597, label %596

596:                                              ; preds = %593
  store i8 1, ptr %44, align 1, !tbaa !9
  br label %597

597:                                              ; preds = %596, %593
  %598 = load i8, ptr %44, align 1, !tbaa !9, !range !40, !noundef !41
  %599 = trunc i8 %598 to i1
  br i1 %599, label %600, label %608

600:                                              ; preds = %597
  %601 = load i32, ptr %12, align 4, !tbaa !42
  %602 = call noundef zeroext i1 @_ZN5ImGui11IsPopupOpenEji(i32 noundef %601, i32 noundef 0)
  br i1 %602, label %603, label %608

603:                                              ; preds = %600
  %604 = load ptr, ptr %10, align 8, !tbaa !5
  %605 = getelementptr inbounds %struct.ImGuiContext, ptr %604, i32 0, i32 83
  %606 = getelementptr inbounds %struct.ImVector.19, ptr %605, i32 0, i32 0
  %607 = load i32, ptr %606, align 8, !tbaa !115
  call void @_ZN5ImGui17ClosePopupToLevelEib(i32 noundef %607, i1 noundef zeroext true)
  br label %608

608:                                              ; preds = %603, %600, %597
  %609 = load ptr, ptr %10, align 8, !tbaa !5
  call void @_ZN5ImGui5PopIDEv()
  %610 = load i8, ptr %43, align 1, !tbaa !9, !range !40, !noundef !41
  %611 = trunc i8 %610 to i1
  br i1 %611, label %612, label %627

612:                                              ; preds = %608
  %613 = load i8, ptr %13, align 1, !tbaa !9, !range !40, !noundef !41
  %614 = trunc i8 %613 to i1
  br i1 %614, label %627, label %615

615:                                              ; preds = %612
  %616 = load ptr, ptr %10, align 8, !tbaa !5
  %617 = getelementptr inbounds %struct.ImGuiContext, ptr %616, i32 0, i32 82
  %618 = getelementptr inbounds %struct.ImVector.19, ptr %617, i32 0, i32 0
  %619 = load i32, ptr %618, align 8, !tbaa !116
  %620 = load ptr, ptr %10, align 8, !tbaa !5
  %621 = getelementptr inbounds %struct.ImGuiContext, ptr %620, i32 0, i32 83
  %622 = getelementptr inbounds %struct.ImVector.19, ptr %621, i32 0, i32 0
  %623 = load i32, ptr %622, align 8, !tbaa !115
  %624 = icmp sgt i32 %619, %623
  br i1 %624, label %625, label %627

625:                                              ; preds = %615
  %626 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZN5ImGui9OpenPopupEPKci(ptr noundef %626, i32 noundef 0)
  br label %633

627:                                              ; preds = %615, %612, %608
  %628 = load i8, ptr %43, align 1, !tbaa !9, !range !40, !noundef !41
  %629 = trunc i8 %628 to i1
  br i1 %629, label %630, label %632

630:                                              ; preds = %627
  store i8 1, ptr %13, align 1, !tbaa !9
  %631 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZN5ImGui9OpenPopupEPKci(ptr noundef %631, i32 noundef 0)
  br label %632

632:                                              ; preds = %630, %627
  br label %633

633:                                              ; preds = %632, %625
  %634 = load i8, ptr %13, align 1, !tbaa !9, !range !40, !noundef !41
  %635 = trunc i8 %634 to i1
  br i1 %635, label %636, label %664

636:                                              ; preds = %633
  call void @llvm.lifetime.start.p0(i64 60, ptr %55) #11
  %637 = load ptr, ptr %10, align 8, !tbaa !5
  %638 = getelementptr inbounds %struct.ImGuiContext, ptr %637, i32 0, i32 74
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %55, ptr align 4 %638, i64 60, i1 false), !tbaa.struct !124
  call void @llvm.lifetime.start.p0(i64 8, ptr %56) #11
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %56, float noundef 0.000000e+00, float noundef 0.000000e+00)
  call void @_ZN5ImGui16SetNextWindowPosERK6ImVec2iS2_(ptr noundef nonnull align 4 dereferenceable(8) %17, i32 noundef 1, ptr noundef nonnull align 4 dereferenceable(8) %56)
  call void @llvm.lifetime.end.p0(i64 8, ptr %56) #11
  %639 = load ptr, ptr %11, align 8, !tbaa !5
  %640 = getelementptr inbounds %struct.ImGuiStyle, ptr %639, i32 0, i32 10
  %641 = load float, ptr %640, align 4, !tbaa !125
  call void @_ZN5ImGui12PushStyleVarEif(i32 noundef 7, float noundef %641)
  %642 = load i32, ptr %12, align 4, !tbaa !42
  %643 = load i32, ptr %14, align 4, !tbaa !42
  %644 = call noundef zeroext i1 @_ZN5ImGui12BeginPopupExEji(i32 noundef %642, i32 noundef %643)
  %645 = zext i1 %644 to i8
  store i8 %645, ptr %13, align 1, !tbaa !9
  call void @_ZN5ImGui11PopStyleVarEi(i32 noundef 1)
  %646 = load i8, ptr %13, align 1, !tbaa !9, !range !40, !noundef !41
  %647 = trunc i8 %646 to i1
  br i1 %647, label %648, label %663

648:                                              ; preds = %636
  %649 = load ptr, ptr %10, align 8, !tbaa !5
  %650 = getelementptr inbounds %struct.ImGuiContext, ptr %649, i32 0, i32 74
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %650, ptr align 4 %55, i64 60, i1 false), !tbaa.struct !124
  %651 = load ptr, ptr %10, align 8, !tbaa !5
  %652 = getelementptr inbounds %struct.ImGuiContext, ptr %651, i32 0, i32 30
  %653 = load ptr, ptr %652, align 8, !tbaa !120
  %654 = load ptr, ptr %8, align 8, !tbaa !5
  %655 = icmp eq ptr %653, %654
  br i1 %655, label %656, label %662

656:                                              ; preds = %648
  %657 = load ptr, ptr %10, align 8, !tbaa !5
  %658 = getelementptr inbounds %struct.ImGuiContext, ptr %657, i32 0, i32 74
  %659 = getelementptr inbounds %struct.ImGuiLastItemData, ptr %658, i32 0, i32 2
  %660 = load i32, ptr %659, align 4, !tbaa !126
  %661 = or i32 %660, 128
  store i32 %661, ptr %659, align 4, !tbaa !126
  br label %662

662:                                              ; preds = %656, %648
  br label %663

663:                                              ; preds = %662, %636
  call void @llvm.lifetime.end.p0(i64 60, ptr %55) #11
  br label %667

664:                                              ; preds = %633
  %665 = load ptr, ptr %10, align 8, !tbaa !5
  %666 = getelementptr inbounds %struct.ImGuiContext, ptr %665, i32 0, i32 75
  call void @_ZN19ImGuiNextWindowData10ClearFlagsEv(ptr noundef nonnull align 8 dereferenceable(108) %666)
  br label %667

667:                                              ; preds = %664, %663
  %668 = load i8, ptr %13, align 1, !tbaa !9, !range !40, !noundef !41
  %669 = trunc i8 %668 to i1
  store i1 %669, ptr %4, align 1
  store i32 1, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %44) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %43) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %42) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %20) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %16) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #11
  br label %670

670:                                              ; preds = %667, %97
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %13) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #11
  br label %671

671:                                              ; preds = %670, %63
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #11
  %672 = load i1, ptr %4, align 1
  ret i1 %672
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK8ImVectorIjE8containsERKj(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(4)) #1 align 2

declare noundef zeroext i1 @_ZN5ImGui12BeginPopupExEji(i32 noundef, i32 noundef) #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN8ImVectorIjE9push_backERKj(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(4)) #9 align 2

; Function Attrs: mustprogress uwtable
declare hidden noundef zeroext i1 @_ZL19IsRootOfOpenMenuSetv() #7

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef float @_ZNK11ImGuiWindow13MenuBarHeightEv(ptr noundef nonnull align 8 dereferenceable(981)) #2 align 2

declare <2 x float> @_ZN5ImGui21GetContentRegionAvailEv() #3

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

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

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

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

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

declare void @_ZN5ImGui17ClosePopupToLevelEib(i32 noundef, i1 noundef zeroext) #3

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

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

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


; 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 }
%struct.ImGuiLastItemData = type { i32, i32, i32, %struct.ImRect, %struct.ImRect, %struct.ImRect }

@GImGui = external local_unnamed_addr global ptr, align 8
@.str = external hidden unnamed_addr constant [1 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: inlinehint mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN5ImGui16GetCurrentWindowEv() local_unnamed_addr #1

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

declare <2 x float> @_ZN5ImGui12CalcTextSizeEPKcS1_bf(ptr noundef, ptr noundef, i1 noundef zeroext, float noundef) local_unnamed_addr #3

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

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

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

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

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

declare void @_ZN5ImGui10RenderTextE6ImVec2PKcS2_b(<2 x float>, ptr noundef, ptr noundef, i1 noundef zeroext) local_unnamed_addr #3

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

declare noundef i32 @_ZN5ImGui11GetColorU32Eif(i32 noundef, float noundef) local_unnamed_addr #3

declare noundef i32 @_ZN11ImGuiWindow5GetIDEPKcS1_(ptr noundef nonnull align 8 dereferenceable(981), ptr noundef, ptr noundef) local_unnamed_addr #3

declare void @_ZN5ImGui11RenderArrowEP10ImDrawList6ImVec2jif(ptr noundef, <2 x float>, i32 noundef, i32 noundef, float noundef) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local { <2 x float>, <2 x float> } @_ZNK11ImGuiWindow4RectEv(ptr noundef nonnull align 8 dereferenceable(981)) local_unnamed_addr #7 align 2

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

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

declare void @_ZN5ImGui5PopIDEv() local_unnamed_addr #3

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

declare void @_ZN5ImGui11PopStyleVarEi(i32 noundef) local_unnamed_addr #3

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN5ImGui10SelectableEPKcbiRK6ImVec2(ptr noundef, i1 noundef zeroext, i32 noundef, ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #8

declare void @_ZN5ImGui6PushIDEPKc(ptr noundef) local_unnamed_addr #3

declare void @_ZN5ImGui13BeginDisabledEb(i1 noundef zeroext) local_unnamed_addr #3

declare void @_ZN5ImGui11EndDisabledEv() local_unnamed_addr #3

declare void @_ZN5ImGui12PushStyleVarEif(i32 noundef, float noundef) local_unnamed_addr #3

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

declare void @_ZN5ImGui9OpenPopupEPKci(ptr noundef, i32 noundef) local_unnamed_addr #3

declare void @_ZN5ImGui12PushItemFlagEib(i32 noundef, i1 noundef zeroext) local_unnamed_addr #3

declare noundef zeroext i1 @_Z23ImTriangleContainsPointRK6ImVec2S1_S1_S1_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #3

declare void @_ZN5ImGui11PopItemFlagEv() local_unnamed_addr #3

declare void @_ZN5ImGui20NavMoveRequestCancelEv() local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local noundef float @_ZN16ImGuiMenuColumns11DeclColumnsEffff(ptr noundef nonnull align 4 dereferenceable(26), float noundef, float noundef, float noundef, float noundef) local_unnamed_addr #7 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN5ImGui11BeginMenuExEPKcS1_b(ptr noundef %0, ptr noundef %1, i1 noundef zeroext %2) local_unnamed_addr #8 {
  %4 = alloca i32, align 4
  %5 = alloca %struct.ImVec2, align 8
  %6 = alloca %struct.ImVec2, align 8
  %7 = alloca %struct.ImVec2, align 8
  %8 = alloca %struct.ImVec2, align 4
  %9 = alloca %struct.ImVec2, align 8
  %10 = alloca %struct.ImVec2, align 4
  %11 = alloca %struct.ImVec2, align 8
  %12 = alloca %struct.ImVec2, align 8
  %13 = alloca %struct.ImVec2, align 4
  %14 = alloca %struct.ImVec2, align 4
  %15 = alloca %struct.ImVec2, align 4
  %16 = alloca %struct.ImRect, align 8
  %17 = alloca %struct.ImVec2, align 8
  %18 = alloca %struct.ImVec2, align 4
  %19 = alloca %struct.ImVec2, align 4
  %20 = alloca %struct.ImGuiLastItemData, align 4
  %21 = alloca %struct.ImVec2, align 4
  %22 = tail call noundef ptr @_ZN5ImGui16GetCurrentWindowEv()
  %23 = getelementptr inbounds i8, ptr %22, i64 187
  %24 = load i8, ptr %23, align 1, !tbaa !5, !range !38, !noundef !39
  %25 = trunc nuw i8 %24 to i1
  br i1 %25, label %298, label %26

26:                                               ; preds = %3
  %27 = load ptr, ptr @GImGui, align 8, !tbaa !40
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #11
  %28 = tail call noundef i32 @_ZN11ImGuiWindow5GetIDEPKcS1_(ptr noundef nonnull align 8 dereferenceable(981) %22, ptr noundef %0, ptr noundef null)
  store i32 %28, ptr %4, align 4, !tbaa !41
  %29 = tail call noundef zeroext i1 @_ZN5ImGui11IsPopupOpenEji(i32 noundef %28, i32 noundef 0)
  %30 = getelementptr inbounds i8, ptr %22, i64 20
  %31 = load i32, ptr %30, align 4, !tbaa !42
  %32 = and i32 %31, 268435456
  %.not = icmp eq i32 %32, 0
  %spec.select = select i1 %.not, i32 268960069, i32 285737285
  %33 = getelementptr inbounds i8, ptr %27, i64 23440
  %34 = call noundef zeroext i1 @_ZNK8ImVectorIjE8containsERKj(ptr noundef nonnull align 8 dereferenceable(16) %33, ptr noundef nonnull align 4 dereferenceable(4) %4)
  br i1 %34, label %35, label %41

35:                                               ; preds = %26
  br i1 %29, label %36, label %39

36:                                               ; preds = %35
  %37 = load i32, ptr %4, align 4, !tbaa !41
  %38 = call noundef zeroext i1 @_ZN5ImGui12BeginPopupExEji(i32 noundef %37, i32 noundef %spec.select)
  br label %297

39:                                               ; preds = %35
  %40 = getelementptr inbounds i8, ptr %27, i64 18344
  call void @_ZN19ImGuiNextWindowData10ClearFlagsEv(ptr noundef nonnull align 8 dereferenceable(108) %40)
  br label %297

41:                                               ; preds = %26
  call void @_ZN8ImVectorIjE9push_backERKj(ptr noundef nonnull align 8 dereferenceable(16) %33, ptr noundef nonnull align 4 dereferenceable(4) %4)
  %42 = call <2 x float> @_ZN5ImGui12CalcTextSizeEPKcS1_bf(ptr noundef %0, ptr noundef null, i1 noundef zeroext true, float noundef -1.000000e+00)
  %43 = call noundef zeroext i1 @_ZL19IsRootOfOpenMenuSetv()
  br i1 %43, label %44, label %45

44:                                               ; preds = %41
  call void @_ZN5ImGui12PushItemFlagEib(i32 noundef 256, i1 noundef zeroext true)
  br label %45

45:                                               ; preds = %44, %41
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #11
  call void @_ZN6ImVec2C2Ev(ptr noundef nonnull align 4 dereferenceable(8) %5)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #11
  %46 = getelementptr inbounds i8, ptr %22, i64 256
  %47 = load i64, ptr %46, align 8
  store i64 %47, ptr %6, align 8
  call void @_ZN5ImGui6PushIDEPKc(ptr noundef %0)
  br i1 %2, label %49, label %48

48:                                               ; preds = %45
  call void @_ZN5ImGui13BeginDisabledEb(i1 noundef zeroext true)
  br label %49

49:                                               ; preds = %48, %45
  %50 = getelementptr inbounds i8, ptr %22, i64 364
  %51 = getelementptr inbounds i8, ptr %22, i64 436
  %52 = load i32, ptr %51, align 4, !tbaa !43
  %53 = icmp eq i32 %52, 0
  br i1 %53, label %54, label %97

54:                                               ; preds = %49
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #11
  %55 = load float, ptr %6, align 8, !tbaa !44
  %56 = fadd float %55, -1.000000e+00
  %57 = getelementptr inbounds i8, ptr %27, i64 14364
  %58 = load float, ptr %57, align 4, !tbaa !45
  %59 = fmul float %58, 5.000000e-01
  %60 = fptosi float %59 to i32
  %61 = sitofp i32 %60 to float
  %62 = fsub float %56, %61
  %63 = getelementptr inbounds i8, ptr %6, i64 4
  %64 = load float, ptr %63, align 4, !tbaa !47
  %65 = getelementptr inbounds i8, ptr %27, i64 14352
  %66 = load float, ptr %65, align 4, !tbaa !48
  %67 = fsub float %64, %66
  %68 = call noundef float @_ZNK11ImGuiWindow13MenuBarHeightEv(ptr noundef nonnull align 8 dereferenceable(981) %22)
  %69 = fadd float %67, %68
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %7, float noundef %62, float noundef %69)
  %70 = load i64, ptr %7, align 8
  store i64 %70, ptr %5, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #11
  %71 = load float, ptr %57, align 4, !tbaa !45
  %72 = fmul float %71, 5.000000e-01
  %73 = fptosi float %72 to i32
  %74 = sitofp i32 %73 to float
  %75 = load float, ptr %46, align 8, !tbaa !49
  %76 = fadd float %75, %74
  store float %76, ptr %46, align 8, !tbaa !49
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #11
  %77 = fmul float %71, 2.000000e+00
  %78 = getelementptr inbounds i8, ptr %27, i64 14368
  %79 = load float, ptr %78, align 4, !tbaa !50
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %8, float noundef %77, float noundef %79)
  call void @_ZN5ImGui12PushStyleVarEiRK6ImVec2(i32 noundef 14, ptr noundef nonnull align 4 dereferenceable(8) %8)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #11
  %.sroa.051.0.vec.extract = extractelement <2 x float> %42, i64 0
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #11
  %80 = load float, ptr %46, align 8, !tbaa !49
  %81 = getelementptr inbounds i8, ptr %22, i64 376
  %82 = load i16, ptr %81, align 4, !tbaa !51
  %83 = uitofp i16 %82 to float
  %84 = fadd float %80, %83
  %85 = getelementptr inbounds i8, ptr %22, i64 260
  %86 = load float, ptr %85, align 4, !tbaa !52
  %87 = getelementptr inbounds i8, ptr %22, i64 312
  %88 = load float, ptr %87, align 8, !tbaa !53
  %89 = fadd float %86, %88
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %9, float noundef %84, float noundef %89)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #11
  %.sroa.051.4.vec.extract = extractelement <2 x float> %42, i64 1
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %10, float noundef %.sroa.051.0.vec.extract, float noundef %.sroa.051.4.vec.extract)
  %90 = call noundef zeroext i1 @_ZN5ImGui10SelectableEPKcbiRK6ImVec2(ptr noundef nonnull @.str, i1 noundef zeroext %29, i32 noundef 139460609, ptr noundef nonnull align 4 dereferenceable(8) %10)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #11
  %.sroa.038.0.copyload = load <2 x float>, ptr %9, align 8
  call void @_ZN5ImGui10RenderTextE6ImVec2PKcS2_b(<2 x float> %.sroa.038.0.copyload, ptr noundef %0, ptr noundef null, i1 noundef zeroext true)
  call void @_ZN5ImGui11PopStyleVarEi(i32 noundef 1)
  %91 = load float, ptr %57, align 4, !tbaa !45
  %92 = fmul float %91, -5.000000e-01
  %93 = fptosi float %92 to i32
  %94 = sitofp i32 %93 to float
  %95 = load float, ptr %46, align 8, !tbaa !49
  %96 = fadd float %95, %94
  store float %96, ptr %46, align 8, !tbaa !49
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #11
  br label %148

97:                                               ; preds = %49
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #11
  %98 = load float, ptr %6, align 8, !tbaa !44
  %99 = getelementptr inbounds i8, ptr %6, i64 4
  %100 = load float, ptr %99, align 4, !tbaa !47
  %101 = getelementptr inbounds i8, ptr %27, i64 14300
  %102 = load float, ptr %101, align 4, !tbaa !54
  %103 = fsub float %100, %102
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %11, float noundef %98, float noundef %103)
  %104 = load i64, ptr %11, align 8
  store i64 %104, ptr %5, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #11
  %.not168 = icmp eq ptr %1, null
  br i1 %.not168, label %109, label %105

105:                                              ; preds = %97
  %106 = load i8, ptr %1, align 1, !tbaa !55
  %.not169 = icmp eq i8 %106, 0
  br i1 %.not169, label %109, label %107

107:                                              ; preds = %105
  %108 = call <2 x float> @_ZN5ImGui12CalcTextSizeEPKcS1_bf(ptr noundef nonnull %1, ptr noundef null, i1 noundef zeroext false, float noundef -1.000000e+00)
  %.sroa.035.0.vec.extract = extractelement <2 x float> %108, i64 0
  br label %109

109:                                              ; preds = %97, %105, %107
  %110 = phi float [ %.sroa.035.0.vec.extract, %107 ], [ 0.000000e+00, %105 ], [ 0.000000e+00, %97 ]
  %111 = getelementptr inbounds i8, ptr %27, i64 15368
  %112 = load float, ptr %111, align 8, !tbaa !56
  %113 = fmul float %112, 0x3FF3333340000000
  %114 = fptosi float %113 to i32
  %115 = sitofp i32 %114 to float
  %.sroa.051.0.vec.extract53 = extractelement <2 x float> %42, i64 0
  %116 = call noundef float @_ZN16ImGuiMenuColumns11DeclColumnsEffff(ptr noundef nonnull align 4 dereferenceable(26) %50, float noundef %110, float noundef %.sroa.051.0.vec.extract53, float noundef 0.000000e+00, float noundef %115)
  %117 = call <2 x float> @_ZN5ImGui21GetContentRegionAvailEv()
  %.sroa.030.0.vec.extract = extractelement <2 x float> %117, i64 0
  %118 = fsub float %.sroa.030.0.vec.extract, %116
  %119 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef 0.000000e+00, float noundef %118)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #11
  %120 = load float, ptr %46, align 8, !tbaa !49
  %121 = getelementptr inbounds i8, ptr %22, i64 376
  %122 = load i16, ptr %121, align 4, !tbaa !51
  %123 = uitofp i16 %122 to float
  %124 = fadd float %120, %123
  %125 = getelementptr inbounds i8, ptr %22, i64 260
  %126 = load float, ptr %125, align 4, !tbaa !52
  %127 = getelementptr inbounds i8, ptr %22, i64 312
  %128 = load float, ptr %127, align 8, !tbaa !53
  %129 = fadd float %126, %128
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %12, float noundef %124, float noundef %129)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #11
  %.sroa.051.4.vec.extract55 = extractelement <2 x float> %42, i64 1
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %13, float noundef %116, float noundef %.sroa.051.4.vec.extract55)
  %130 = call noundef zeroext i1 @_ZN5ImGui10SelectableEPKcbiRK6ImVec2(ptr noundef nonnull @.str, i1 noundef zeroext %29, i32 noundef 156237825, ptr noundef nonnull align 4 dereferenceable(8) %13)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #11
  %.sroa.029.0.copyload = load <2 x float>, ptr %12, align 8
  call void @_ZN5ImGui10RenderTextE6ImVec2PKcS2_b(<2 x float> %.sroa.029.0.copyload, ptr noundef %0, ptr noundef null, i1 noundef zeroext true)
  %131 = fcmp ogt float %110, 0.000000e+00
  br i1 %131, label %132, label %137

132:                                              ; preds = %109
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #11
  %133 = getelementptr inbounds i8, ptr %22, i64 374
  %134 = load i16, ptr %133, align 2, !tbaa !107
  %135 = uitofp i16 %134 to float
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %14, float noundef %135, float noundef 0.000000e+00)
  %136 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %6, ptr noundef nonnull align 4 dereferenceable(8) %14)
  call void @_ZN5ImGui10RenderTextE6ImVec2PKcS2_b(<2 x float> %136, ptr noundef %1, ptr noundef null, i1 noundef zeroext true)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #11
  br label %137

137:                                              ; preds = %132, %109
  %138 = getelementptr inbounds i8, ptr %22, i64 664
  %139 = load ptr, ptr %138, align 8, !tbaa !108
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #11
  %140 = getelementptr inbounds i8, ptr %22, i64 380
  %141 = load i16, ptr %140, align 4, !tbaa !109
  %142 = uitofp i16 %141 to float
  %143 = fadd float %119, %142
  %144 = load float, ptr %111, align 8, !tbaa !56
  %145 = call float @llvm.fmuladd.f32(float %144, float 0x3FD3333340000000, float %143)
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %15, float noundef %145, float noundef 0.000000e+00)
  %146 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %6, ptr noundef nonnull align 4 dereferenceable(8) %15)
  %147 = call noundef i32 @_ZN5ImGui11GetColorU32Eif(i32 noundef 0, float noundef 1.000000e+00)
  call void @_ZN5ImGui11RenderArrowEP10ImDrawList6ImVec2jif(ptr noundef %139, <2 x float> %146, i32 noundef %147, i32 noundef 1, float noundef 1.000000e+00)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #11
  br label %148

148:                                              ; preds = %137, %54
  %.0154.in = phi i1 [ %90, %54 ], [ %130, %137 ]
  br i1 %2, label %149, label %.thread

.thread:                                          ; preds = %148
  call void @_ZN5ImGui11EndDisabledEv()
  br label %159

149:                                              ; preds = %148
  %150 = getelementptr inbounds i8, ptr %27, i64 16156
  %151 = load i32, ptr %150, align 4, !tbaa !110
  %152 = load i32, ptr %4, align 4, !tbaa !41
  %153 = icmp eq i32 %151, %152
  br i1 %153, label %154, label %159

154:                                              ; preds = %149
  %155 = getelementptr inbounds i8, ptr %27, i64 18671
  %156 = load i8, ptr %155, align 1, !tbaa !111, !range !38, !noundef !39
  %157 = trunc nuw i8 %156 to i1
  %158 = xor i1 %157, true
  br label %159

159:                                              ; preds = %.thread, %149, %154
  %160 = phi i1 [ false, %149 ], [ %158, %154 ], [ false, %.thread ]
  br i1 %43, label %161, label %162

161:                                              ; preds = %159
  call void @_ZN5ImGui11PopItemFlagEv()
  br label %162

162:                                              ; preds = %161, %159
  %163 = load i32, ptr %51, align 4, !tbaa !43
  %164 = icmp eq i32 %163, 1
  br i1 %164, label %165, label %253

165:                                              ; preds = %162
  %166 = getelementptr inbounds i8, ptr %27, i64 18568
  %167 = load i32, ptr %166, align 8, !tbaa !112
  %168 = getelementptr inbounds i8, ptr %27, i64 18552
  %169 = load i32, ptr %168, align 8, !tbaa !113
  %170 = icmp slt i32 %167, %169
  br i1 %170, label %171, label %.thread205

171:                                              ; preds = %165
  %172 = call noundef nonnull align 8 dereferenceable(52) ptr @_ZN8ImVectorI14ImGuiPopupDataEixEi(ptr noundef nonnull align 8 dereferenceable(16) %168, i32 noundef %167)
  %173 = getelementptr inbounds i8, ptr %172, i64 8
  %174 = load ptr, ptr %173, align 8, !tbaa !114
  %.not171 = icmp eq ptr %174, null
  br i1 %.not171, label %.thread205, label %176

.thread205:                                       ; preds = %171, %165
  %175 = getelementptr inbounds i8, ptr %27, i64 16088
  br label %235

176:                                              ; preds = %171
  %177 = getelementptr inbounds i8, ptr %174, i64 872
  %178 = load ptr, ptr %177, align 8, !tbaa !116
  %179 = icmp eq ptr %178, %22
  %180 = getelementptr inbounds i8, ptr %27, i64 16088
  %181 = load ptr, ptr %180, align 8, !tbaa !117
  %182 = icmp eq ptr %181, %22
  %or.cond = and i1 %179, %182
  br i1 %or.cond, label %183, label %235

183:                                              ; preds = %176
  %184 = getelementptr inbounds i8, ptr %27, i64 15368
  %185 = load float, ptr %184, align 8, !tbaa !56
  %186 = getelementptr inbounds i8, ptr %22, i64 32
  %187 = load float, ptr %186, align 8, !tbaa !118
  %188 = getelementptr inbounds i8, ptr %174, i64 32
  %189 = load float, ptr %188, align 8, !tbaa !118
  %190 = fcmp olt float %187, %189
  %191 = select i1 %190, float 1.000000e+00, float -1.000000e+00
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %16) #11
  %192 = call { <2 x float>, <2 x float> } @_ZNK11ImGuiWindow4RectEv(ptr noundef nonnull align 8 dereferenceable(981) %174)
  %193 = extractvalue { <2 x float>, <2 x float> } %192, 0
  store <2 x float> %193, ptr %16, align 8
  %194 = getelementptr inbounds i8, ptr %16, i64 8
  %195 = extractvalue { <2 x float>, <2 x float> } %192, 1
  store <2 x float> %195, ptr %194, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #11
  %196 = getelementptr inbounds i8, ptr %27, i64 3592
  %197 = getelementptr inbounds i8, ptr %27, i64 248
  %198 = call <2 x float> @_ZmiRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %196, ptr noundef nonnull align 4 dereferenceable(8) %197)
  store <2 x float> %198, ptr %17, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #11
  %199 = extractelement <2 x float> %198, i64 0
  %200 = extractelement <2 x float> %198, i64 1
  br i1 %190, label %201, label %204

201:                                              ; preds = %183
  %202 = call <2 x float> @_ZNK6ImRect5GetTLEv(ptr noundef nonnull align 4 dereferenceable(16) %16)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #11
  %203 = call <2 x float> @_ZNK6ImRect5GetBLEv(ptr noundef nonnull align 4 dereferenceable(16) %16)
  br label %207

204:                                              ; preds = %183
  %205 = call <2 x float> @_ZNK6ImRect5GetTREv(ptr noundef nonnull align 4 dereferenceable(16) %16)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #11
  %206 = call <2 x float> @_ZNK6ImRect5GetBREv(ptr noundef nonnull align 4 dereferenceable(16) %16)
  br label %207

207:                                              ; preds = %204, %201
  %.sink228 = phi <2 x float> [ %205, %204 ], [ %202, %201 ]
  %storemerge172 = phi <2 x float> [ %206, %204 ], [ %203, %201 ]
  %208 = extractelement <2 x float> %.sink228, i64 0
  %209 = extractelement <2 x float> %.sink228, i64 1
  %210 = fsub <2 x float> %198, %.sink228
  %211 = extractelement <2 x float> %210, i64 0
  %212 = call float @llvm.fabs.f32(float %211)
  %213 = fmul float %212, 0x3FD3333340000000
  %214 = fmul float %185, 5.000000e-01
  %215 = fmul float %185, 2.500000e+00
  %216 = call noundef float @_ZL7ImClampIfET_S0_S0_S0_(float noundef %213, float noundef %214, float noundef %215)
  %217 = call float @llvm.fmuladd.f32(float %191, float -5.000000e-01, float %199)
  store float %217, ptr %17, align 8, !tbaa !44
  %218 = call float @llvm.fmuladd.f32(float %191, float %185, float %208)
  store float %218, ptr %18, align 4, !tbaa !44
  %219 = extractelement <2 x float> %storemerge172, i64 0
  %220 = call float @llvm.fmuladd.f32(float %191, float %185, float %219)
  store float %220, ptr %19, align 4, !tbaa !44
  %221 = getelementptr inbounds i8, ptr %18, i64 4
  %222 = fsub float %209, %216
  %223 = fsub float %222, %200
  %224 = fmul float %185, -8.000000e+00
  %225 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %223, float noundef %224)
  %226 = fadd float %200, %225
  store float %226, ptr %221, align 4, !tbaa !47
  %227 = getelementptr inbounds i8, ptr %19, i64 4
  %228 = extractelement <2 x float> %storemerge172, i64 1
  %229 = fadd float %216, %228
  %230 = fsub float %229, %200
  %231 = fmul float %185, 8.000000e+00
  %232 = call noundef float @_ZL5ImMinIfET_S0_S0_(float noundef %230, float noundef %231)
  %233 = fadd float %200, %232
  store float %233, ptr %227, align 4, !tbaa !47
  %234 = call noundef zeroext i1 @_Z23ImTriangleContainsPointRK6ImVec2S1_S1_S1_(ptr noundef nonnull align 4 dereferenceable(8) %17, ptr noundef nonnull align 4 dereferenceable(8) %18, ptr noundef nonnull align 4 dereferenceable(8) %19, ptr noundef nonnull align 4 dereferenceable(8) %196)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #11
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %16) #11
  br label %235

235:                                              ; preds = %.thread205, %207, %176
  %236 = phi ptr [ %180, %207 ], [ %180, %176 ], [ %175, %.thread205 ]
  %.0155 = phi i1 [ %234, %207 ], [ false, %176 ], [ false, %.thread205 ]
  %.not176 = xor i1 %29, true
  %brmerge177 = select i1 %.not176, i1 true, i1 %160
  br i1 %brmerge177, label %244, label %237

237:                                              ; preds = %235
  %238 = load ptr, ptr %236, align 8, !tbaa !117
  %239 = icmp ne ptr %238, %22
  %brmerge179 = or i1 %.0155, %239
  br i1 %brmerge179, label %244, label %240

240:                                              ; preds = %237
  %241 = getelementptr inbounds i8, ptr %27, i64 18671
  %242 = load i8, ptr %241, align 1, !tbaa !111, !range !38, !noundef !39
  %243 = trunc nuw i8 %242 to i1
  %not. = xor i1 %243, true
  br label %244

244:                                              ; preds = %240, %237, %235
  %.0156 = phi i1 [ false, %237 ], [ false, %235 ], [ %not., %240 ]
  %brmerge181.not = and i1 %.0154.in, %.not176
  %brmerge182 = or i1 %29, %.0154.in
  %.not183 = xor i1 %160, true
  %brmerge184 = select i1 %brmerge182, i1 true, i1 %.not183
  %not..0155 = xor i1 %.0155, true
  %.0159.v = select i1 %brmerge184, i1 %brmerge181.not, i1 %not..0155
  %245 = getelementptr inbounds i8, ptr %27, i64 18616
  %246 = load i32, ptr %245, align 8, !tbaa !119
  %247 = load i32, ptr %4, align 4, !tbaa !41
  %248 = icmp eq i32 %246, %247
  br i1 %248, label %249, label %264

249:                                              ; preds = %244
  %250 = getelementptr inbounds i8, ptr %27, i64 18712
  %251 = load i32, ptr %250, align 8, !tbaa !120
  %252 = icmp eq i32 %251, 1
  br i1 %252, label %.sink.split, label %264

253:                                              ; preds = %162
  %brmerge188.demorgan = and i1 %29, %.0154.in
  %brmerge190.not211 = and i1 %43, %brmerge188.demorgan
  %not.brmerge190.not211 = xor i1 %brmerge190.not211, true
  %.mux199 = xor i1 %brmerge190.not211, %29
  br i1 %.0154.in, label %264, label %254

254:                                              ; preds = %253
  %brmerge193.demorgan = and i1 %43, %160
  %brmerge193 = xor i1 %brmerge193.demorgan, true
  %brmerge194 = or i1 %29, %brmerge193
  br i1 %brmerge194, label %255, label %264

255:                                              ; preds = %254
  %256 = getelementptr inbounds i8, ptr %27, i64 18616
  %257 = load i32, ptr %256, align 8, !tbaa !119
  %258 = load i32, ptr %4, align 4, !tbaa !41
  %259 = icmp eq i32 %257, %258
  br i1 %259, label %260, label %264

260:                                              ; preds = %255
  %261 = getelementptr inbounds i8, ptr %27, i64 18712
  %262 = load i32, ptr %261, align 8, !tbaa !120
  %263 = icmp eq i32 %262, 3
  br i1 %263, label %.sink.split, label %264

.sink.split:                                      ; preds = %260, %249
  %.1157.ph = phi i1 [ %.0156, %249 ], [ false, %260 ]
  call void @_ZN5ImGui20NavMoveRequestCancelEv()
  br label %264

264:                                              ; preds = %.sink.split, %244, %249, %253, %254, %255, %260
  %.2161 = phi i1 [ false, %260 ], [ false, %255 ], [ %not.brmerge190.not211, %253 ], [ true, %254 ], [ %.0159.v, %249 ], [ %.0159.v, %244 ], [ true, %.sink.split ]
  %.1157 = phi i1 [ false, %260 ], [ false, %255 ], [ %brmerge190.not211, %253 ], [ false, %254 ], [ %.0156, %249 ], [ %.0156, %244 ], [ %.1157.ph, %.sink.split ]
  %.1152 = phi i1 [ %29, %260 ], [ %29, %255 ], [ %.mux199, %253 ], [ %29, %254 ], [ %29, %249 ], [ %29, %244 ], [ %29, %.sink.split ]
  %not.213 = xor i1 %2, true
  %spec.select195 = select i1 %not.213, i1 true, i1 %.1157
  br i1 %spec.select195, label %265, label %271

265:                                              ; preds = %264
  %266 = load i32, ptr %4, align 4, !tbaa !41
  %267 = call noundef zeroext i1 @_ZN5ImGui11IsPopupOpenEji(i32 noundef %266, i32 noundef 0)
  br i1 %267, label %268, label %271

268:                                              ; preds = %265
  %269 = getelementptr inbounds i8, ptr %27, i64 18568
  %270 = load i32, ptr %269, align 8, !tbaa !112
  call void @_ZN5ImGui17ClosePopupToLevelEib(i32 noundef %270, i1 noundef zeroext true)
  br label %271

271:                                              ; preds = %268, %265, %264
  call void @_ZN5ImGui5PopIDEv()
  br i1 %.2161, label %272, label %.critedge

272:                                              ; preds = %271
  br i1 %.1152, label %.critedge.thread, label %273

273:                                              ; preds = %272
  %274 = getelementptr inbounds i8, ptr %27, i64 18552
  %275 = load i32, ptr %274, align 8, !tbaa !113
  %276 = getelementptr inbounds i8, ptr %27, i64 18568
  %277 = load i32, ptr %276, align 8, !tbaa !112
  %278 = icmp sgt i32 %275, %277
  br i1 %278, label %.critedge.thread226, label %.critedge.thread

.critedge.thread226:                              ; preds = %273
  call void @_ZN5ImGui9OpenPopupEPKci(ptr noundef %0, i32 noundef 0)
  br label %294

.critedge.thread:                                 ; preds = %273, %272
  call void @_ZN5ImGui9OpenPopupEPKci(ptr noundef %0, i32 noundef 0)
  br label %279

.critedge:                                        ; preds = %271
  br i1 %.1152, label %279, label %294

279:                                              ; preds = %.critedge.thread, %.critedge
  call void @llvm.lifetime.start.p0(i64 60, ptr nonnull %20)
  %280 = getelementptr inbounds i8, ptr %27, i64 18284
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(60) %20, ptr noundef nonnull align 4 dereferenceable(60) %280, i64 60, i1 false), !tbaa.struct !121
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %21) #11
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %21, float noundef 0.000000e+00, float noundef 0.000000e+00)
  call void @_ZN5ImGui16SetNextWindowPosERK6ImVec2iS2_(ptr noundef nonnull align 4 dereferenceable(8) %5, i32 noundef 1, ptr noundef nonnull align 4 dereferenceable(8) %21)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #11
  %281 = getelementptr inbounds i8, ptr %27, i64 14340
  %282 = load float, ptr %281, align 4, !tbaa !123
  call void @_ZN5ImGui12PushStyleVarEif(i32 noundef 7, float noundef %282)
  %283 = load i32, ptr %4, align 4, !tbaa !41
  %284 = call noundef zeroext i1 @_ZN5ImGui12BeginPopupExEji(i32 noundef %283, i32 noundef %spec.select)
  call void @_ZN5ImGui11PopStyleVarEi(i32 noundef 1)
  br i1 %284, label %285, label %293

285:                                              ; preds = %279
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(60) %280, ptr noundef nonnull align 4 dereferenceable(60) %20, i64 60, i1 false), !tbaa.struct !121
  %286 = getelementptr inbounds i8, ptr %27, i64 16088
  %287 = load ptr, ptr %286, align 8, !tbaa !117
  %288 = icmp eq ptr %287, %22
  br i1 %288, label %289, label %293

289:                                              ; preds = %285
  %290 = getelementptr inbounds i8, ptr %27, i64 18292
  %291 = load i32, ptr %290, align 4, !tbaa !124
  %292 = or i32 %291, 128
  store i32 %292, ptr %290, align 4, !tbaa !124
  br label %293

293:                                              ; preds = %285, %289, %279
  call void @llvm.lifetime.end.p0(i64 60, ptr nonnull %20)
  br label %296

294:                                              ; preds = %.critedge.thread226, %.critedge
  %295 = getelementptr inbounds i8, ptr %27, i64 18344
  call void @_ZN19ImGuiNextWindowData10ClearFlagsEv(ptr noundef nonnull align 8 dereferenceable(108) %295)
  br label %296

296:                                              ; preds = %294, %293
  %.3 = phi i1 [ %284, %293 ], [ false, %294 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #11
  br label %297

297:                                              ; preds = %36, %39, %296
  %.0 = phi i1 [ %.3, %296 ], [ %38, %36 ], [ false, %39 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #11
  br label %298

298:                                              ; preds = %3, %297
  %.1 = phi i1 [ %.0, %297 ], [ false, %3 ]
  ret i1 %.1
}

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

declare noundef zeroext i1 @_ZN5ImGui12BeginPopupExEji(i32 noundef, i32 noundef) local_unnamed_addr #3

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

; Function Attrs: mustprogress uwtable
declare hidden noundef zeroext i1 @_ZL19IsRootOfOpenMenuSetv() local_unnamed_addr #7

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef float @_ZNK11ImGuiWindow13MenuBarHeightEv(ptr noundef nonnull align 8 dereferenceable(981)) local_unnamed_addr #2 align 2

declare <2 x float> @_ZN5ImGui21GetContentRegionAvailEv() local_unnamed_addr #3

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

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

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

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

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

declare void @_ZN5ImGui17ClosePopupToLevelEib(i32 noundef, i1 noundef zeroext) local_unnamed_addr #3

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


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