; LLVM IR from Dragons-Lake/REI :: sources/REI_Integration/3rdParty/imgui/imgui_widgets.ll (ZN5ImGui9BeginMenuEPKcb)

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

%struct.ImVec2 = type { float, float }
%struct.ImRect = type { %struct.ImVec2, %struct.ImVec2 }
%struct.ImGuiWindow = type <{ ptr, i32, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, float, i32, i32, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i16, i16, i16, [2 x i8], i32, i8, i8, i8, i8, i32, i32, i32, i32, i32, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVector, %struct.ImGuiWindowTempData, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImRect, i32, float, float, %struct.ImGuiMenuColumns, %struct.ImGuiStorage, %struct.ImVector.5, float, i32, ptr, %struct.ImDrawList, ptr, ptr, ptr, ptr, ptr, [2 x i32], [2 x %struct.ImRect], i8, [3 x i8], i32, i32, [4 x i8] }>
%struct.ImVector = type { i32, i32, ptr }
%struct.ImGuiWindowTempData = type { %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, float, i32, i32, i32, i32, %struct.ImRect, %struct.ImRect, i32, i32, i32, i32, i8, i8, i8, %struct.ImVec2, %struct.ImVector.0, ptr, i32, i32, i32, i32, i32, float, float, %struct.ImVector.1, %struct.ImVector.2, %struct.ImVector.2, %struct.ImVector.3, [6 x i16], %struct.ImVec1, %struct.ImVec1, %struct.ImVec1, ptr }
%struct.ImVector.0 = type { i32, i32, ptr }
%struct.ImVector.1 = type { i32, i32, ptr }
%struct.ImVector.2 = type { i32, i32, ptr }
%struct.ImVector.3 = type { i32, i32, ptr }
%struct.ImVec1 = type { float }
%struct.ImGuiMenuColumns = type { float, float, float, [3 x float], [3 x float] }
%struct.ImGuiStorage = type { %struct.ImVector.4 }
%struct.ImVector.4 = type { i32, i32, ptr }
%struct.ImVector.5 = type { i32, i32, ptr }
%struct.ImDrawList = type { %struct.ImVector.6, %struct.ImVector.7, %struct.ImVector.8, i32, ptr, ptr, i32, i32, ptr, ptr, %struct.ImVector.9, %struct.ImVector.10, %struct.ImVector.11, %struct.ImDrawListSplitter }
%struct.ImVector.6 = type { i32, i32, ptr }
%struct.ImVector.7 = type { i32, i32, ptr }
%struct.ImVector.8 = type { i32, i32, ptr }
%struct.ImVector.9 = type { i32, i32, ptr }
%struct.ImVector.10 = type { i32, i32, ptr }
%struct.ImVector.11 = type { i32, i32, ptr }
%struct.ImDrawListSplitter = type { i32, i32, %struct.ImVector.12 }
%struct.ImVector.12 = type { i32, i32, ptr }
%struct.ImGuiContext = type <{ i8, i8, i8, i8, [4 x i8], %struct.ImGuiIO, %struct.ImGuiStyle, ptr, float, float, %struct.ImDrawListSharedData, double, i32, i32, i32, [4 x i8], %struct.ImVector.0, %struct.ImVector.0, %struct.ImVector.0, %struct.ImVector.0, %struct.ImGuiStorage, i32, [4 x i8], ptr, ptr, ptr, ptr, ptr, %struct.ImVec2, float, i32, i8, [3 x i8], i32, float, float, i32, i32, float, i8, i8, i8, i8, i8, [3 x i8], i32, i32, [4 x i8], i64, %struct.ImVec2, ptr, i32, i32, i8, i8, [6 x i8], ptr, i32, float, %struct.ImGuiNextWindowData, %struct.ImGuiNextItemData, %struct.ImVector.13, %struct.ImVector.14, %struct.ImVector.15, %struct.ImVector.16, %struct.ImVector.16, ptr, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, %struct.ImRect, i32, [4 x i8], ptr, ptr, ptr, float, float, i8, [3 x i8], i32, i32, i8, i8, i8, i8, i8, i8, i8, i8, i32, %struct.ImRect, i8, i8, [2 x i8], i32, i32, i32, i32, i32, %struct.ImGuiNavMoveResult, %struct.ImGuiNavMoveResult, %struct.ImGuiNavMoveResult, ptr, ptr, i32, i32, i32, i32, i8, [7 x i8], %struct.ImDrawData, %struct.ImDrawDataBuilder, float, [4 x i8], %struct.ImDrawList, %struct.ImDrawList, i32, i8, i8, [2 x i8], i32, i32, i32, [4 x i8], %struct.ImGuiPayload, %struct.ImRect, i32, i32, float, i32, i32, i32, %struct.ImVector.18, [8 x i8], ptr, %struct.ImPool, %struct.ImVector.20, %struct.ImVector.21, %struct.ImVec2, %struct.ImGuiInputTextState, %struct.ImFont, i32, i32, float, [3 x float], %struct.ImVec4, i8, [3 x i8], float, float, float, i32, [4 x i8], %struct.ImVector.22, i32, %struct.ImVec2, %struct.ImVec2, i8, [3 x i8], float, [4 x i8], %struct.ImGuiTextBuffer, %struct.ImVector.24, %struct.ImVector.25, i8, [3 x i8], i32, ptr, %struct.ImGuiTextBuffer, float, i8, [3 x i8], i32, i32, i32, i8, [3 x i8], i32, [120 x float], i32, float, i32, i32, i32, [3073 x i8], [7 x i8] }>
%struct.ImGuiIO = type { i32, i32, %struct.ImVec2, float, float, ptr, ptr, float, float, float, [22 x i32], float, float, ptr, ptr, float, i8, ptr, %struct.ImVec2, i8, i8, i8, i8, i8, float, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, %struct.ImVec2, [5 x i8], float, float, i8, i8, i8, i8, [512 x i8], [21 x float], i8, i8, i8, i8, i8, i8, i8, float, i32, i32, i32, i32, i32, %struct.ImVec2, %struct.ImVec2, [5 x %struct.ImVec2], [5 x double], [5 x i8], [5 x i8], [5 x i8], [5 x i8], [5 x i8], [5 x float], [5 x float], [5 x %struct.ImVec2], [5 x float], [512 x float], [512 x float], [21 x float], [21 x float], %struct.ImVector.7 }
%struct.ImGuiStyle = type { float, %struct.ImVec2, float, float, %struct.ImVec2, %struct.ImVec2, i32, float, float, float, float, %struct.ImVec2, float, float, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, float, float, float, float, float, float, float, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, i8, i8, float, [48 x %struct.ImVec4] }
%struct.ImDrawListSharedData = type <{ %struct.ImVec2, ptr, float, float, %struct.ImVec4, i32, [12 x %struct.ImVec2], [4 x i8] }>
%struct.ImGuiNextWindowData = type <{ i32, i32, i32, i32, %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.ImGuiNextItemData = type { i32, float, i8, i32 }
%struct.ImVector.13 = type { i32, i32, ptr }
%struct.ImVector.14 = type { i32, i32, ptr }
%struct.ImVector.15 = type { i32, i32, ptr }
%struct.ImVector.16 = type { i32, i32, ptr }
%struct.ImGuiNavMoveResult = type <{ i32, i32, ptr, float, float, float, %struct.ImRect, [4 x i8] }>
%struct.ImDrawData = type <{ i8, [7 x i8], ptr, i32, i32, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, [4 x i8] }>
%struct.ImDrawDataBuilder = type { [2 x %struct.ImVector.17] }
%struct.ImVector.17 = type { i32, i32, ptr }
%struct.ImGuiPayload = type <{ ptr, i32, i32, i32, i32, [33 x i8], i8, i8, [5 x i8] }>
%struct.ImVector.18 = type { i32, i32, ptr }
%struct.ImPool = type <{ %struct.ImVector.19, %struct.ImGuiStorage, i32, [4 x i8] }>
%struct.ImVector.19 = type { i32, i32, ptr }
%struct.ImVector.20 = type { i32, i32, ptr }
%struct.ImVector.21 = type { i32, i32, ptr }
%struct.ImGuiInputTextState = type { i32, i32, i32, %struct.ImVector.7, %struct.ImVector.22, %struct.ImVector.22, i8, i32, float, %"struct.ImStb::STB_TexteditState", float, i8, i8, i32, ptr, ptr }
%"struct.ImStb::STB_TexteditState" = type { i32, i32, i32, i8, i8, i8, i8, i8, i8, i8, i8, float, %"struct.ImStb::StbUndoState" }
%"struct.ImStb::StbUndoState" = type { [99 x %"struct.ImStb::StbUndoRecord"], [999 x i16], i16, i16, i32, i32 }
%"struct.ImStb::StbUndoRecord" = type { i32, i32, i32, i32 }
%struct.ImFont = type <{ %struct.ImVector.2, float, float, %struct.ImVector.7, %struct.ImVector.23, ptr, %struct.ImVec2, ptr, ptr, i16, i16, i16, [2 x i8], float, float, float, i32, i8, [7 x i8] }>
%struct.ImVector.23 = type { i32, i32, ptr }
%struct.ImVec4 = type { float, float, float, float }
%struct.ImVector.22 = type { i32, i32, ptr }
%struct.ImVector.24 = type { i32, i32, ptr }
%struct.ImVector.25 = type { i32, i32, ptr }
%struct.ImGuiTextBuffer = type { %struct.ImVector.22 }
%struct.ImGuiPopupData = type { i32, ptr, ptr, i32, i32, %struct.ImVec2, %struct.ImVec2 }

@GImGui = external global ptr, align 8

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

; Function Attrs: 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

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

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

declare <2 x float> @_ZN5ImGui12CalcTextSizeEPKcS1_bf(ptr noundef, ptr noundef, i1 noundef zeroext, float noundef) #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 nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #5

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

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

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

declare noundef zeroext i1 @_ZN5ImGui13ItemHoverableERK6ImRectj(ptr noundef nonnull align 4 dereferenceable(16), i32 noundef) #4

declare noundef i32 @_ZN11ImGuiWindow5GetIDEPKcS1_(ptr noundef nonnull align 8 dereferenceable(948), ptr noundef, ptr noundef) #4

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

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

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

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

declare noundef zeroext i1 @_ZN5ImGui11IsPopupOpenEj(i32 noundef) #4

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

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

declare void @_ZN5ImGui11PopStyleVarEi(i32 noundef) #4

; 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

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

declare void @_ZN5ImGui9OpenPopupEPKc(ptr noundef) #4

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

declare void @_ZN5ImGui20NavMoveRequestCancelEv() #4

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

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

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

48:                                               ; preds = %2
  store i1 false, ptr %3, align 1
  store i32 1, ptr %7, align 4
  br label %606

49:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #10
  %50 = load ptr, ptr @GImGui, align 8, !tbaa !5
  store ptr %50, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #10
  %51 = load ptr, ptr %8, align 8, !tbaa !5
  %52 = getelementptr inbounds %struct.ImGuiContext, ptr %51, i32 0, i32 6
  store ptr %52, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #10
  %53 = load ptr, ptr %6, align 8, !tbaa !5
  %54 = load ptr, ptr %4, align 8, !tbaa !5
  %55 = call noundef i32 @_ZN11ImGuiWindow5GetIDEPKcS1_(ptr noundef nonnull align 8 dereferenceable(948) %53, ptr noundef %54, ptr noundef null)
  store i32 %55, ptr %10, align 4, !tbaa !41
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #10
  %56 = load ptr, ptr %4, align 8, !tbaa !5
  %57 = call <2 x float> @_ZN5ImGui12CalcTextSizeEPKcS1_bf(ptr noundef %56, ptr noundef null, i1 noundef zeroext true, float noundef -1.000000e+00)
  store <2 x float> %57, ptr %11, align 4
  call void @llvm.lifetime.start.p0(i64 1, ptr %12) #10
  call void @llvm.lifetime.start.p0(i64 1, ptr %13) #10
  %58 = load i32, ptr %10, align 4, !tbaa !41
  %59 = call noundef zeroext i1 @_ZN5ImGui11IsPopupOpenEj(i32 noundef %58)
  %60 = zext i1 %59 to i8
  store i8 %60, ptr %13, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %14) #10
  %61 = load ptr, ptr %6, align 8, !tbaa !5
  %62 = getelementptr inbounds %struct.ImGuiWindow, ptr %61, i32 0, i32 2
  %63 = load i32, ptr %62, align 4, !tbaa !42
  %64 = and i32 %63, 67108864
  %65 = icmp ne i32 %64, 0
  br i1 %65, label %93, label %66

66:                                               ; preds = %49
  %67 = load ptr, ptr %8, align 8, !tbaa !5
  %68 = getelementptr inbounds %struct.ImGuiContext, ptr %67, i32 0, i32 64
  %69 = getelementptr inbounds %struct.ImVector.16, ptr %68, i32 0, i32 0
  %70 = load i32, ptr %69, align 8, !tbaa !43
  %71 = load ptr, ptr %8, align 8, !tbaa !5
  %72 = getelementptr inbounds %struct.ImGuiContext, ptr %71, i32 0, i32 65
  %73 = getelementptr inbounds %struct.ImVector.16, ptr %72, i32 0, i32 0
  %74 = load i32, ptr %73, align 8, !tbaa !78
  %75 = icmp sgt i32 %70, %74
  br i1 %75, label %76, label %91

76:                                               ; preds = %66
  %77 = load ptr, ptr %8, align 8, !tbaa !5
  %78 = getelementptr inbounds %struct.ImGuiContext, ptr %77, i32 0, i32 64
  %79 = load ptr, ptr %8, align 8, !tbaa !5
  %80 = getelementptr inbounds %struct.ImGuiContext, ptr %79, i32 0, i32 65
  %81 = getelementptr inbounds %struct.ImVector.16, ptr %80, i32 0, i32 0
  %82 = load i32, ptr %81, align 8, !tbaa !78
  %83 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZN8ImVectorI14ImGuiPopupDataEixEi(ptr noundef nonnull align 8 dereferenceable(16) %78, i32 noundef %82)
  %84 = getelementptr inbounds %struct.ImGuiPopupData, ptr %83, i32 0, i32 4
  %85 = load i32, ptr %84, align 4, !tbaa !79
  %86 = load ptr, ptr %6, align 8, !tbaa !5
  %87 = getelementptr inbounds %struct.ImGuiWindow, ptr %86, i32 0, i32 48
  %88 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN8ImVectorIjE4backEv(ptr noundef nonnull align 8 dereferenceable(16) %87)
  %89 = load i32, ptr %88, align 4, !tbaa !41
  %90 = icmp eq i32 %85, %89
  br label %91

91:                                               ; preds = %76, %66
  %92 = phi i1 [ false, %66 ], [ %90, %76 ]
  br label %93

93:                                               ; preds = %91, %49
  %94 = phi i1 [ false, %49 ], [ %92, %91 ]
  %95 = zext i1 %94 to i8
  store i8 %95, ptr %14, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #10
  %96 = load ptr, ptr %8, align 8, !tbaa !5
  %97 = getelementptr inbounds %struct.ImGuiContext, ptr %96, i32 0, i32 66
  %98 = load ptr, ptr %97, align 8, !tbaa !81
  store ptr %98, ptr %15, align 8, !tbaa !5
  %99 = load i8, ptr %14, align 1, !tbaa !9, !range !39, !noundef !40
  %100 = trunc i8 %99 to i1
  br i1 %100, label %101, label %105

101:                                              ; preds = %93
  %102 = load ptr, ptr %6, align 8, !tbaa !5
  %103 = load ptr, ptr %8, align 8, !tbaa !5
  %104 = getelementptr inbounds %struct.ImGuiContext, ptr %103, i32 0, i32 66
  store ptr %102, ptr %104, align 8, !tbaa !81
  br label %105

105:                                              ; preds = %101, %93
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #10
  call void @_ZN6ImVec2C2Ev(ptr noundef nonnull align 4 dereferenceable(8) %16)
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #10
  %106 = load ptr, ptr %6, align 8, !tbaa !5
  %107 = getelementptr inbounds %struct.ImGuiWindow, ptr %106, i32 0, i32 49
  %108 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %107, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %17, ptr align 8 %108, i64 8, i1 false), !tbaa.struct !82
  %109 = load ptr, ptr %6, align 8, !tbaa !5
  %110 = getelementptr inbounds %struct.ImGuiWindow, ptr %109, i32 0, i32 49
  %111 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %110, i32 0, i32 24
  %112 = load i32, ptr %111, align 8, !tbaa !84
  %113 = icmp eq i32 %112, 0
  br i1 %113, label %114, label %185

114:                                              ; preds = %105
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #10
  %115 = getelementptr inbounds %struct.ImVec2, ptr %17, i32 0, i32 0
  %116 = load float, ptr %115, align 4, !tbaa !85
  %117 = fsub float %116, 1.000000e+00
  %118 = load ptr, ptr %9, align 8, !tbaa !5
  %119 = getelementptr inbounds %struct.ImGuiStyle, ptr %118, i32 0, i32 14
  %120 = getelementptr inbounds %struct.ImVec2, ptr %119, i32 0, i32 0
  %121 = load float, ptr %120, align 4, !tbaa !86
  %122 = fmul float %121, 5.000000e-01
  %123 = fptosi float %122 to i32
  %124 = sitofp i32 %123 to float
  %125 = fsub float %117, %124
  %126 = getelementptr inbounds %struct.ImVec2, ptr %17, i32 0, i32 1
  %127 = load float, ptr %126, align 4, !tbaa !87
  %128 = load ptr, ptr %9, align 8, !tbaa !5
  %129 = getelementptr inbounds %struct.ImGuiStyle, ptr %128, i32 0, i32 11
  %130 = getelementptr inbounds %struct.ImVec2, ptr %129, i32 0, i32 1
  %131 = load float, ptr %130, align 4, !tbaa !88
  %132 = fsub float %127, %131
  %133 = load ptr, ptr %6, align 8, !tbaa !5
  %134 = call noundef float @_ZNK11ImGuiWindow13MenuBarHeightEv(ptr noundef nonnull align 8 dereferenceable(948) %133)
  %135 = fadd float %132, %134
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %18, float noundef %125, float noundef %135)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %16, ptr align 4 %18, i64 8, i1 false), !tbaa.struct !82
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #10
  %136 = load ptr, ptr %9, align 8, !tbaa !5
  %137 = getelementptr inbounds %struct.ImGuiStyle, ptr %136, i32 0, i32 14
  %138 = getelementptr inbounds %struct.ImVec2, ptr %137, i32 0, i32 0
  %139 = load float, ptr %138, align 4, !tbaa !86
  %140 = fmul float %139, 5.000000e-01
  %141 = fptosi float %140 to i32
  %142 = sitofp i32 %141 to float
  %143 = load ptr, ptr %6, align 8, !tbaa !5
  %144 = getelementptr inbounds %struct.ImGuiWindow, ptr %143, i32 0, i32 49
  %145 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %144, i32 0, i32 0
  %146 = getelementptr inbounds %struct.ImVec2, ptr %145, i32 0, i32 0
  %147 = load float, ptr %146, align 8, !tbaa !89
  %148 = fadd float %147, %142
  store float %148, ptr %146, align 8, !tbaa !89
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #10
  %149 = load ptr, ptr %9, align 8, !tbaa !5
  %150 = getelementptr inbounds %struct.ImGuiStyle, ptr %149, i32 0, i32 14
  %151 = getelementptr inbounds %struct.ImVec2, ptr %150, i32 0, i32 0
  %152 = load float, ptr %151, align 4, !tbaa !86
  %153 = fmul float %152, 2.000000e+00
  %154 = load ptr, ptr %9, align 8, !tbaa !5
  %155 = getelementptr inbounds %struct.ImGuiStyle, ptr %154, i32 0, i32 14
  %156 = getelementptr inbounds %struct.ImVec2, ptr %155, i32 0, i32 1
  %157 = load float, ptr %156, align 4, !tbaa !90
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %19, float noundef %153, float noundef %157)
  call void @_ZN5ImGui12PushStyleVarEiRK6ImVec2(i32 noundef 13, ptr noundef nonnull align 4 dereferenceable(8) %19)
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #10
  %158 = getelementptr inbounds %struct.ImVec2, ptr %11, i32 0, i32 0
  %159 = load float, ptr %158, align 4, !tbaa !85
  store float %159, ptr %20, align 4, !tbaa !83
  %160 = load ptr, ptr %4, align 8, !tbaa !5
  %161 = load i8, ptr %13, align 1, !tbaa !9, !range !39, !noundef !40
  %162 = trunc i8 %161 to i1
  %163 = load i8, ptr %5, align 1, !tbaa !9, !range !39, !noundef !40
  %164 = trunc i8 %163 to i1
  %165 = xor i1 %164, true
  %166 = zext i1 %165 to i64
  %167 = select i1 %165, i32 8, i32 0
  %168 = or i32 3145729, %167
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #10
  %169 = load float, ptr %20, align 4, !tbaa !83
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %21, float noundef %169, float noundef 0.000000e+00)
  %170 = call noundef zeroext i1 @_ZN5ImGui10SelectableEPKcbiRK6ImVec2(ptr noundef %160, i1 noundef zeroext %162, i32 noundef %168, ptr noundef nonnull align 4 dereferenceable(8) %21)
  %171 = zext i1 %170 to i8
  store i8 %171, ptr %12, align 1, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #10
  call void @_ZN5ImGui11PopStyleVarEi(i32 noundef 1)
  %172 = load ptr, ptr %9, align 8, !tbaa !5
  %173 = getelementptr inbounds %struct.ImGuiStyle, ptr %172, i32 0, i32 14
  %174 = getelementptr inbounds %struct.ImVec2, ptr %173, i32 0, i32 0
  %175 = load float, ptr %174, align 4, !tbaa !86
  %176 = fmul float %175, -5.000000e-01
  %177 = fptosi float %176 to i32
  %178 = sitofp i32 %177 to float
  %179 = load ptr, ptr %6, align 8, !tbaa !5
  %180 = getelementptr inbounds %struct.ImGuiWindow, ptr %179, i32 0, i32 49
  %181 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %180, i32 0, i32 0
  %182 = getelementptr inbounds %struct.ImVec2, ptr %181, i32 0, i32 0
  %183 = load float, ptr %182, align 8, !tbaa !89
  %184 = fadd float %183, %178
  store float %184, ptr %182, align 8, !tbaa !89
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #10
  br label %246

185:                                              ; preds = %105
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #10
  %186 = getelementptr inbounds %struct.ImVec2, ptr %17, i32 0, i32 0
  %187 = load float, ptr %186, align 4, !tbaa !85
  %188 = getelementptr inbounds %struct.ImVec2, ptr %17, i32 0, i32 1
  %189 = load float, ptr %188, align 4, !tbaa !87
  %190 = load ptr, ptr %9, align 8, !tbaa !5
  %191 = getelementptr inbounds %struct.ImGuiStyle, ptr %190, i32 0, i32 1
  %192 = getelementptr inbounds %struct.ImVec2, ptr %191, i32 0, i32 1
  %193 = load float, ptr %192, align 4, !tbaa !91
  %194 = fsub float %189, %193
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %22, float noundef %187, float noundef %194)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %16, ptr align 4 %22, i64 8, i1 false), !tbaa.struct !82
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #10
  %195 = load ptr, ptr %6, align 8, !tbaa !5
  %196 = getelementptr inbounds %struct.ImGuiWindow, ptr %195, i32 0, i32 59
  %197 = getelementptr inbounds %struct.ImVec2, ptr %11, i32 0, i32 0
  %198 = load float, ptr %197, align 4, !tbaa !85
  %199 = load ptr, ptr %8, align 8, !tbaa !5
  %200 = getelementptr inbounds %struct.ImGuiContext, ptr %199, i32 0, i32 8
  %201 = load float, ptr %200, align 8, !tbaa !92
  %202 = fmul float %201, 0x3FF3333340000000
  %203 = fptosi float %202 to i32
  %204 = sitofp i32 %203 to float
  %205 = call noundef float @_ZN16ImGuiMenuColumns11DeclColumnsEfff(ptr noundef nonnull align 4 dereferenceable(36) %196, float noundef %198, float noundef 0.000000e+00, float noundef %204)
  store float %205, ptr %23, align 4, !tbaa !83
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #10
  %206 = call <2 x float> @_ZN5ImGui21GetContentRegionAvailEv()
  store <2 x float> %206, ptr %25, align 4
  %207 = getelementptr inbounds %struct.ImVec2, ptr %25, i32 0, i32 0
  %208 = load float, ptr %207, align 4, !tbaa !85
  %209 = load float, ptr %23, align 4, !tbaa !83
  %210 = fsub float %208, %209
  %211 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef 0.000000e+00, float noundef %210)
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #10
  store float %211, ptr %24, align 4, !tbaa !83
  %212 = load ptr, ptr %4, align 8, !tbaa !5
  %213 = load i8, ptr %13, align 1, !tbaa !9, !range !39, !noundef !40
  %214 = trunc i8 %213 to i1
  %215 = load i8, ptr %5, align 1, !tbaa !9, !range !39, !noundef !40
  %216 = trunc i8 %215 to i1
  %217 = xor i1 %216, true
  %218 = zext i1 %217 to i64
  %219 = select i1 %217, i32 8, i32 0
  %220 = or i32 11534337, %219
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #10
  %221 = load float, ptr %23, align 4, !tbaa !83
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %26, float noundef %221, float noundef 0.000000e+00)
  %222 = call noundef zeroext i1 @_ZN5ImGui10SelectableEPKcbiRK6ImVec2(ptr noundef %212, i1 noundef zeroext %214, i32 noundef %220, ptr noundef nonnull align 4 dereferenceable(8) %26)
  %223 = zext i1 %222 to i8
  store i8 %223, ptr %12, align 1, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #10
  %224 = load i8, ptr %5, align 1, !tbaa !9, !range !39, !noundef !40
  %225 = trunc i8 %224 to i1
  %226 = zext i1 %225 to i64
  %227 = select i1 %225, i32 0, i32 1
  %228 = call noundef i32 @_ZN5ImGui11GetColorU32Eif(i32 noundef %227, float noundef 1.000000e+00)
  store i32 %228, ptr %27, align 4, !tbaa !41
  %229 = load ptr, ptr %6, align 8, !tbaa !5
  %230 = getelementptr inbounds %struct.ImGuiWindow, ptr %229, i32 0, i32 64
  %231 = load ptr, ptr %230, align 8, !tbaa !93
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #10
  %232 = load ptr, ptr %6, align 8, !tbaa !5
  %233 = getelementptr inbounds %struct.ImGuiWindow, ptr %232, i32 0, i32 59
  %234 = getelementptr inbounds %struct.ImGuiMenuColumns, ptr %233, i32 0, i32 3
  %235 = getelementptr inbounds [3 x float], ptr %234, i64 0, i64 2
  %236 = load float, ptr %235, align 4, !tbaa !83
  %237 = load float, ptr %24, align 4, !tbaa !83
  %238 = fadd float %236, %237
  %239 = load ptr, ptr %8, align 8, !tbaa !5
  %240 = getelementptr inbounds %struct.ImGuiContext, ptr %239, i32 0, i32 8
  %241 = load float, ptr %240, align 8, !tbaa !92
  %242 = call float @llvm.fmuladd.f32(float %241, float 0x3FD3333340000000, float %238)
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %29, float noundef %242, float noundef 0.000000e+00)
  %243 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %17, ptr noundef nonnull align 4 dereferenceable(8) %29)
  store <2 x float> %243, ptr %28, align 4
  %244 = load i32, ptr %27, align 4, !tbaa !41
  %245 = load <2 x float>, ptr %28, align 4
  call void @_ZN5ImGui11RenderArrowEP10ImDrawList6ImVec2jif(ptr noundef %231, <2 x float> %245, i32 noundef %244, i32 noundef 1, float noundef 1.000000e+00)
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #10
  br label %246

246:                                              ; preds = %185, %114
  call void @llvm.lifetime.start.p0(i64 1, ptr %30) #10
  %247 = load i8, ptr %5, align 1, !tbaa !9, !range !39, !noundef !40
  %248 = trunc i8 %247 to i1
  br i1 %248, label %249, label %255

249:                                              ; preds = %246
  %250 = load ptr, ptr %6, align 8, !tbaa !5
  %251 = getelementptr inbounds %struct.ImGuiWindow, ptr %250, i32 0, i32 49
  %252 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %251, i32 0, i32 12
  %253 = load i32, ptr %10, align 4, !tbaa !41
  %254 = call noundef zeroext i1 @_ZN5ImGui13ItemHoverableERK6ImRectj(ptr noundef nonnull align 4 dereferenceable(16) %252, i32 noundef %253)
  br label %255

255:                                              ; preds = %249, %246
  %256 = phi i1 [ false, %246 ], [ %254, %249 ]
  %257 = zext i1 %256 to i8
  store i8 %257, ptr %30, align 1, !tbaa !9
  %258 = load i8, ptr %14, align 1, !tbaa !9, !range !39, !noundef !40
  %259 = trunc i8 %258 to i1
  br i1 %259, label %260, label %264

260:                                              ; preds = %255
  %261 = load ptr, ptr %15, align 8, !tbaa !5
  %262 = load ptr, ptr %8, align 8, !tbaa !5
  %263 = getelementptr inbounds %struct.ImGuiContext, ptr %262, i32 0, i32 66
  store ptr %261, ptr %263, align 8, !tbaa !81
  br label %264

264:                                              ; preds = %260, %255
  call void @llvm.lifetime.start.p0(i64 1, ptr %31) #10
  store i8 0, ptr %31, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %32) #10
  store i8 0, ptr %32, align 1, !tbaa !9
  %265 = load ptr, ptr %6, align 8, !tbaa !5
  %266 = getelementptr inbounds %struct.ImGuiWindow, ptr %265, i32 0, i32 49
  %267 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %266, i32 0, i32 24
  %268 = load i32, ptr %267, align 8, !tbaa !84
  %269 = icmp eq i32 %268, 1
  br i1 %269, label %270, label %492

270:                                              ; preds = %264
  call void @llvm.lifetime.start.p0(i64 1, ptr %33) #10
  store i8 0, ptr %33, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #10
  %271 = load ptr, ptr %8, align 8, !tbaa !5
  %272 = getelementptr inbounds %struct.ImGuiContext, ptr %271, i32 0, i32 65
  %273 = getelementptr inbounds %struct.ImVector.16, ptr %272, i32 0, i32 0
  %274 = load i32, ptr %273, align 8, !tbaa !78
  %275 = load ptr, ptr %8, align 8, !tbaa !5
  %276 = getelementptr inbounds %struct.ImGuiContext, ptr %275, i32 0, i32 64
  %277 = getelementptr inbounds %struct.ImVector.16, ptr %276, i32 0, i32 0
  %278 = load i32, ptr %277, align 8, !tbaa !43
  %279 = icmp slt i32 %274, %278
  br i1 %279, label %280, label %302

280:                                              ; preds = %270
  %281 = load ptr, ptr %8, align 8, !tbaa !5
  %282 = getelementptr inbounds %struct.ImGuiContext, ptr %281, i32 0, i32 64
  %283 = load ptr, ptr %8, align 8, !tbaa !5
  %284 = getelementptr inbounds %struct.ImGuiContext, ptr %283, i32 0, i32 65
  %285 = getelementptr inbounds %struct.ImVector.16, ptr %284, i32 0, i32 0
  %286 = load i32, ptr %285, align 8, !tbaa !78
  %287 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZN8ImVectorI14ImGuiPopupDataEixEi(ptr noundef nonnull align 8 dereferenceable(16) %282, i32 noundef %286)
  %288 = getelementptr inbounds %struct.ImGuiPopupData, ptr %287, i32 0, i32 2
  %289 = load ptr, ptr %288, align 8, !tbaa !94
  %290 = load ptr, ptr %6, align 8, !tbaa !5
  %291 = icmp eq ptr %289, %290
  br i1 %291, label %292, label %302

292:                                              ; preds = %280
  %293 = load ptr, ptr %8, align 8, !tbaa !5
  %294 = getelementptr inbounds %struct.ImGuiContext, ptr %293, i32 0, i32 64
  %295 = load ptr, ptr %8, align 8, !tbaa !5
  %296 = getelementptr inbounds %struct.ImGuiContext, ptr %295, i32 0, i32 65
  %297 = getelementptr inbounds %struct.ImVector.16, ptr %296, i32 0, i32 0
  %298 = load i32, ptr %297, align 8, !tbaa !78
  %299 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZN8ImVectorI14ImGuiPopupDataEixEi(ptr noundef nonnull align 8 dereferenceable(16) %294, i32 noundef %298)
  %300 = getelementptr inbounds %struct.ImGuiPopupData, ptr %299, i32 0, i32 1
  %301 = load ptr, ptr %300, align 8, !tbaa !95
  br label %303

302:                                              ; preds = %280, %270
  br label %303

303:                                              ; preds = %302, %292
  %304 = phi ptr [ %301, %292 ], [ null, %302 ]
  store ptr %304, ptr %34, align 8, !tbaa !5
  %305 = load ptr, ptr %8, align 8, !tbaa !5
  %306 = getelementptr inbounds %struct.ImGuiContext, ptr %305, i32 0, i32 24
  %307 = load ptr, ptr %306, align 8, !tbaa !96
  %308 = load ptr, ptr %6, align 8, !tbaa !5
  %309 = icmp eq ptr %307, %308
  br i1 %309, label %310, label %412

310:                                              ; preds = %303
  %311 = load ptr, ptr %34, align 8, !tbaa !5
  %312 = icmp ne ptr %311, null
  br i1 %312, label %313, label %412

313:                                              ; preds = %310
  %314 = load ptr, ptr %6, align 8, !tbaa !5
  %315 = getelementptr inbounds %struct.ImGuiWindow, ptr %314, i32 0, i32 2
  %316 = load i32, ptr %315, align 4, !tbaa !42
  %317 = and i32 %316, 1024
  %318 = icmp ne i32 %317, 0
  br i1 %318, label %412, label %319

319:                                              ; preds = %313
  call void @llvm.lifetime.start.p0(i64 16, ptr %35) #10
  %320 = load ptr, ptr %34, align 8, !tbaa !5
  %321 = call { <2 x float>, <2 x float> } @_ZNK11ImGuiWindow4RectEv(ptr noundef nonnull align 8 dereferenceable(948) %320)
  %322 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %35, i32 0, i32 0
  %323 = extractvalue { <2 x float>, <2 x float> } %321, 0
  store <2 x float> %323, ptr %322, align 4
  %324 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %35, i32 0, i32 1
  %325 = extractvalue { <2 x float>, <2 x float> } %321, 1
  store <2 x float> %325, ptr %324, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #10
  %326 = load ptr, ptr %8, align 8, !tbaa !5
  %327 = getelementptr inbounds %struct.ImGuiContext, ptr %326, i32 0, i32 5
  %328 = getelementptr inbounds %struct.ImGuiIO, ptr %327, i32 0, i32 36
  %329 = load ptr, ptr %8, align 8, !tbaa !5
  %330 = getelementptr inbounds %struct.ImGuiContext, ptr %329, i32 0, i32 5
  %331 = getelementptr inbounds %struct.ImGuiIO, ptr %330, i32 0, i32 59
  %332 = call <2 x float> @_ZmiRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %328, ptr noundef nonnull align 4 dereferenceable(8) %331)
  store <2 x float> %332, ptr %36, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #10
  %333 = load ptr, ptr %6, align 8, !tbaa !5
  %334 = getelementptr inbounds %struct.ImGuiWindow, ptr %333, i32 0, i32 3
  %335 = getelementptr inbounds %struct.ImVec2, ptr %334, i32 0, i32 0
  %336 = load float, ptr %335, align 8, !tbaa !97
  %337 = load ptr, ptr %34, align 8, !tbaa !5
  %338 = getelementptr inbounds %struct.ImGuiWindow, ptr %337, i32 0, i32 3
  %339 = getelementptr inbounds %struct.ImVec2, ptr %338, i32 0, i32 0
  %340 = load float, ptr %339, align 8, !tbaa !97
  %341 = fcmp olt float %336, %340
  br i1 %341, label %342, label %344

342:                                              ; preds = %319
  %343 = call <2 x float> @_ZNK6ImRect5GetTLEv(ptr noundef nonnull align 4 dereferenceable(16) %35)
  store <2 x float> %343, ptr %37, align 4
  br label %346

344:                                              ; preds = %319
  %345 = call <2 x float> @_ZNK6ImRect5GetTREv(ptr noundef nonnull align 4 dereferenceable(16) %35)
  store <2 x float> %345, ptr %37, align 4
  br label %346

346:                                              ; preds = %344, %342
  call void @llvm.lifetime.start.p0(i64 8, ptr %38) #10
  %347 = load ptr, ptr %6, align 8, !tbaa !5
  %348 = getelementptr inbounds %struct.ImGuiWindow, ptr %347, i32 0, i32 3
  %349 = getelementptr inbounds %struct.ImVec2, ptr %348, i32 0, i32 0
  %350 = load float, ptr %349, align 8, !tbaa !97
  %351 = load ptr, ptr %34, align 8, !tbaa !5
  %352 = getelementptr inbounds %struct.ImGuiWindow, ptr %351, i32 0, i32 3
  %353 = getelementptr inbounds %struct.ImVec2, ptr %352, i32 0, i32 0
  %354 = load float, ptr %353, align 8, !tbaa !97
  %355 = fcmp olt float %350, %354
  br i1 %355, label %356, label %358

356:                                              ; preds = %346
  %357 = call <2 x float> @_ZNK6ImRect5GetBLEv(ptr noundef nonnull align 4 dereferenceable(16) %35)
  store <2 x float> %357, ptr %38, align 4
  br label %360

358:                                              ; preds = %346
  %359 = call <2 x float> @_ZNK6ImRect5GetBREv(ptr noundef nonnull align 4 dereferenceable(16) %35)
  store <2 x float> %359, ptr %38, align 4
  br label %360

360:                                              ; preds = %358, %356
  call void @llvm.lifetime.start.p0(i64 4, ptr %39) #10
  %361 = getelementptr inbounds %struct.ImVec2, ptr %36, i32 0, i32 0
  %362 = load float, ptr %361, align 4, !tbaa !85
  %363 = getelementptr inbounds %struct.ImVec2, ptr %37, i32 0, i32 0
  %364 = load float, ptr %363, align 4, !tbaa !85
  %365 = fsub float %362, %364
  %366 = call noundef float @_ZL6ImFabsf(float noundef %365)
  %367 = fmul float %366, 0x3FD3333340000000
  %368 = call noundef float @_ZL7ImClampIfET_S0_S0_S0_(float noundef %367, float noundef 5.000000e+00, float noundef 3.000000e+01)
  store float %368, ptr %39, align 4, !tbaa !83
  %369 = load ptr, ptr %6, align 8, !tbaa !5
  %370 = getelementptr inbounds %struct.ImGuiWindow, ptr %369, i32 0, i32 3
  %371 = getelementptr inbounds %struct.ImVec2, ptr %370, i32 0, i32 0
  %372 = load float, ptr %371, align 8, !tbaa !97
  %373 = load ptr, ptr %34, align 8, !tbaa !5
  %374 = getelementptr inbounds %struct.ImGuiWindow, ptr %373, i32 0, i32 3
  %375 = getelementptr inbounds %struct.ImVec2, ptr %374, i32 0, i32 0
  %376 = load float, ptr %375, align 8, !tbaa !97
  %377 = fcmp olt float %372, %376
  %378 = zext i1 %377 to i64
  %379 = select i1 %377, float -5.000000e-01, float 5.000000e-01
  %380 = getelementptr inbounds %struct.ImVec2, ptr %36, i32 0, i32 0
  %381 = load float, ptr %380, align 4, !tbaa !85
  %382 = fadd float %381, %379
  store float %382, ptr %380, align 4, !tbaa !85
  %383 = getelementptr inbounds %struct.ImVec2, ptr %36, i32 0, i32 1
  %384 = load float, ptr %383, align 4, !tbaa !87
  %385 = getelementptr inbounds %struct.ImVec2, ptr %37, i32 0, i32 1
  %386 = load float, ptr %385, align 4, !tbaa !87
  %387 = load float, ptr %39, align 4, !tbaa !83
  %388 = fsub float %386, %387
  %389 = getelementptr inbounds %struct.ImVec2, ptr %36, i32 0, i32 1
  %390 = load float, ptr %389, align 4, !tbaa !87
  %391 = fsub float %388, %390
  %392 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %391, float noundef -1.000000e+02)
  %393 = fadd float %384, %392
  %394 = getelementptr inbounds %struct.ImVec2, ptr %37, i32 0, i32 1
  store float %393, ptr %394, align 4, !tbaa !87
  %395 = getelementptr inbounds %struct.ImVec2, ptr %36, i32 0, i32 1
  %396 = load float, ptr %395, align 4, !tbaa !87
  %397 = getelementptr inbounds %struct.ImVec2, ptr %38, i32 0, i32 1
  %398 = load float, ptr %397, align 4, !tbaa !87
  %399 = load float, ptr %39, align 4, !tbaa !83
  %400 = fadd float %398, %399
  %401 = getelementptr inbounds %struct.ImVec2, ptr %36, i32 0, i32 1
  %402 = load float, ptr %401, align 4, !tbaa !87
  %403 = fsub float %400, %402
  %404 = call noundef float @_ZL5ImMinIfET_S0_S0_(float noundef %403, float noundef 1.000000e+02)
  %405 = fadd float %396, %404
  %406 = getelementptr inbounds %struct.ImVec2, ptr %38, i32 0, i32 1
  store float %405, ptr %406, align 4, !tbaa !87
  %407 = load ptr, ptr %8, align 8, !tbaa !5
  %408 = getelementptr inbounds %struct.ImGuiContext, ptr %407, i32 0, i32 5
  %409 = getelementptr inbounds %struct.ImGuiIO, ptr %408, i32 0, i32 36
  %410 = call noundef zeroext i1 @_Z23ImTriangleContainsPointRK6ImVec2S1_S1_S1_(ptr noundef nonnull align 4 dereferenceable(8) %36, ptr noundef nonnull align 4 dereferenceable(8) %37, ptr noundef nonnull align 4 dereferenceable(8) %38, ptr noundef nonnull align 4 dereferenceable(8) %409)
  %411 = zext i1 %410 to i8
  store i8 %411, ptr %33, align 1, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr %35) #10
  br label %412

412:                                              ; preds = %360, %313, %310, %303
  %413 = load i8, ptr %13, align 1, !tbaa !9, !range !39, !noundef !40
  %414 = trunc i8 %413 to i1
  br i1 %414, label %415, label %439

415:                                              ; preds = %412
  %416 = load i8, ptr %30, align 1, !tbaa !9, !range !39, !noundef !40
  %417 = trunc i8 %416 to i1
  br i1 %417, label %439, label %418

418:                                              ; preds = %415
  %419 = load ptr, ptr %8, align 8, !tbaa !5
  %420 = getelementptr inbounds %struct.ImGuiContext, ptr %419, i32 0, i32 24
  %421 = load ptr, ptr %420, align 8, !tbaa !96
  %422 = load ptr, ptr %6, align 8, !tbaa !5
  %423 = icmp eq ptr %421, %422
  br i1 %423, label %424, label %439

424:                                              ; preds = %418
  %425 = load ptr, ptr %8, align 8, !tbaa !5
  %426 = getelementptr inbounds %struct.ImGuiContext, ptr %425, i32 0, i32 33
  %427 = load i32, ptr %426, align 4, !tbaa !98
  %428 = icmp ne i32 %427, 0
  br i1 %428, label %429, label %439

429:                                              ; preds = %424
  %430 = load ptr, ptr %8, align 8, !tbaa !5
  %431 = getelementptr inbounds %struct.ImGuiContext, ptr %430, i32 0, i32 33
  %432 = load i32, ptr %431, align 4, !tbaa !98
  %433 = load i32, ptr %10, align 4, !tbaa !41
  %434 = icmp ne i32 %432, %433
  br i1 %434, label %435, label %439

435:                                              ; preds = %429
  %436 = load i8, ptr %33, align 1, !tbaa !9, !range !39, !noundef !40
  %437 = trunc i8 %436 to i1
  br i1 %437, label %439, label %438

438:                                              ; preds = %435
  store i8 1, ptr %32, align 1, !tbaa !9
  br label %439

439:                                              ; preds = %438, %435, %429, %424, %418, %415, %412
  %440 = load i8, ptr %13, align 1, !tbaa !9, !range !39, !noundef !40
  %441 = trunc i8 %440 to i1
  br i1 %441, label %449, label %442

442:                                              ; preds = %439
  %443 = load i8, ptr %30, align 1, !tbaa !9, !range !39, !noundef !40
  %444 = trunc i8 %443 to i1
  br i1 %444, label %445, label %449

445:                                              ; preds = %442
  %446 = load i8, ptr %12, align 1, !tbaa !9, !range !39, !noundef !40
  %447 = trunc i8 %446 to i1
  br i1 %447, label %448, label %449

448:                                              ; preds = %445
  store i8 1, ptr %31, align 1, !tbaa !9
  br label %460

449:                                              ; preds = %445, %442, %439
  %450 = load i8, ptr %13, align 1, !tbaa !9, !range !39, !noundef !40
  %451 = trunc i8 %450 to i1
  br i1 %451, label %459, label %452

452:                                              ; preds = %449
  %453 = load i8, ptr %30, align 1, !tbaa !9, !range !39, !noundef !40
  %454 = trunc i8 %453 to i1
  br i1 %454, label %455, label %459

455:                                              ; preds = %452
  %456 = load i8, ptr %33, align 1, !tbaa !9, !range !39, !noundef !40
  %457 = trunc i8 %456 to i1
  br i1 %457, label %459, label %458

458:                                              ; preds = %455
  store i8 1, ptr %31, align 1, !tbaa !9
  br label %459

459:                                              ; preds = %458, %455, %452, %449
  br label %460

460:                                              ; preds = %459, %448
  %461 = load ptr, ptr %8, align 8, !tbaa !5
  %462 = getelementptr inbounds %struct.ImGuiContext, ptr %461, i32 0, i32 68
  %463 = load i32, ptr %462, align 4, !tbaa !99
  %464 = load i32, ptr %10, align 4, !tbaa !41
  %465 = icmp eq i32 %463, %464
  br i1 %465, label %466, label %474

466:                                              ; preds = %460
  %467 = load i8, ptr %13, align 1, !tbaa !9, !range !39, !noundef !40
  %468 = trunc i8 %467 to i1
  %469 = zext i1 %468 to i8
  store i8 %469, ptr %32, align 1, !tbaa !9
  %470 = load i8, ptr %13, align 1, !tbaa !9, !range !39, !noundef !40
  %471 = trunc i8 %470 to i1
  %472 = xor i1 %471, true
  %473 = zext i1 %472 to i8
  store i8 %473, ptr %31, align 1, !tbaa !9
  br label %474

474:                                              ; preds = %466, %460
  %475 = load ptr, ptr %8, align 8, !tbaa !5
  %476 = getelementptr inbounds %struct.ImGuiContext, ptr %475, i32 0, i32 67
  %477 = load i32, ptr %476, align 8, !tbaa !100
  %478 = load i32, ptr %10, align 4, !tbaa !41
  %479 = icmp eq i32 %477, %478
  br i1 %479, label %480, label %491

480:                                              ; preds = %474
  %481 = load ptr, ptr %8, align 8, !tbaa !5
  %482 = getelementptr inbounds %struct.ImGuiContext, ptr %481, i32 0, i32 100
  %483 = load i8, ptr %482, align 1, !tbaa !101, !range !39, !noundef !40
  %484 = trunc i8 %483 to i1
  br i1 %484, label %485, label %491

485:                                              ; preds = %480
  %486 = load ptr, ptr %8, align 8, !tbaa !5
  %487 = getelementptr inbounds %struct.ImGuiContext, ptr %486, i32 0, i32 104
  %488 = load i32, ptr %487, align 4, !tbaa !102
  %489 = icmp eq i32 %488, 1
  br i1 %489, label %490, label %491

490:                                              ; preds = %485
  store i8 1, ptr %31, align 1, !tbaa !9
  call void @_ZN5ImGui20NavMoveRequestCancelEv()
  br label %491

491:                                              ; preds = %490, %485, %480, %474
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr %33) #10
  br label %535

492:                                              ; preds = %264
  %493 = load i8, ptr %13, align 1, !tbaa !9, !range !39, !noundef !40
  %494 = trunc i8 %493 to i1
  br i1 %494, label %495, label %502

495:                                              ; preds = %492
  %496 = load i8, ptr %12, align 1, !tbaa !9, !range !39, !noundef !40
  %497 = trunc i8 %496 to i1
  br i1 %497, label %498, label %502

498:                                              ; preds = %495
  %499 = load i8, ptr %14, align 1, !tbaa !9, !range !39, !noundef !40
  %500 = trunc i8 %499 to i1
  br i1 %500, label %501, label %502

501:                                              ; preds = %498
  store i8 1, ptr %32, align 1, !tbaa !9
  store i8 0, ptr %13, align 1, !tbaa !9
  store i8 0, ptr %31, align 1, !tbaa !9
  br label %534

502:                                              ; preds = %498, %495, %492
  %503 = load i8, ptr %12, align 1, !tbaa !9, !range !39, !noundef !40
  %504 = trunc i8 %503 to i1
  br i1 %504, label %514, label %505

505:                                              ; preds = %502
  %506 = load i8, ptr %30, align 1, !tbaa !9, !range !39, !noundef !40
  %507 = trunc i8 %506 to i1
  br i1 %507, label %508, label %515

508:                                              ; preds = %505
  %509 = load i8, ptr %14, align 1, !tbaa !9, !range !39, !noundef !40
  %510 = trunc i8 %509 to i1
  br i1 %510, label %511, label %515

511:                                              ; preds = %508
  %512 = load i8, ptr %13, align 1, !tbaa !9, !range !39, !noundef !40
  %513 = trunc i8 %512 to i1
  br i1 %513, label %515, label %514

514:                                              ; preds = %511, %502
  store i8 1, ptr %31, align 1, !tbaa !9
  br label %533

515:                                              ; preds = %511, %508, %505
  %516 = load ptr, ptr %8, align 8, !tbaa !5
  %517 = getelementptr inbounds %struct.ImGuiContext, ptr %516, i32 0, i32 67
  %518 = load i32, ptr %517, align 8, !tbaa !100
  %519 = load i32, ptr %10, align 4, !tbaa !41
  %520 = icmp eq i32 %518, %519
  br i1 %520, label %521, label %532

521:                                              ; preds = %515
  %522 = load ptr, ptr %8, align 8, !tbaa !5
  %523 = getelementptr inbounds %struct.ImGuiContext, ptr %522, i32 0, i32 100
  %524 = load i8, ptr %523, align 1, !tbaa !101, !range !39, !noundef !40
  %525 = trunc i8 %524 to i1
  br i1 %525, label %526, label %532

526:                                              ; preds = %521
  %527 = load ptr, ptr %8, align 8, !tbaa !5
  %528 = getelementptr inbounds %struct.ImGuiContext, ptr %527, i32 0, i32 104
  %529 = load i32, ptr %528, align 4, !tbaa !102
  %530 = icmp eq i32 %529, 3
  br i1 %530, label %531, label %532

531:                                              ; preds = %526
  store i8 1, ptr %31, align 1, !tbaa !9
  call void @_ZN5ImGui20NavMoveRequestCancelEv()
  br label %532

532:                                              ; preds = %531, %526, %521, %515
  br label %533

533:                                              ; preds = %532, %514
  br label %534

534:                                              ; preds = %533, %501
  br label %535

535:                                              ; preds = %534, %491
  %536 = load i8, ptr %5, align 1, !tbaa !9, !range !39, !noundef !40
  %537 = trunc i8 %536 to i1
  br i1 %537, label %539, label %538

538:                                              ; preds = %535
  store i8 1, ptr %32, align 1, !tbaa !9
  br label %539

539:                                              ; preds = %538, %535
  %540 = load i8, ptr %32, align 1, !tbaa !9, !range !39, !noundef !40
  %541 = trunc i8 %540 to i1
  br i1 %541, label %542, label %550

542:                                              ; preds = %539
  %543 = load i32, ptr %10, align 4, !tbaa !41
  %544 = call noundef zeroext i1 @_ZN5ImGui11IsPopupOpenEj(i32 noundef %543)
  br i1 %544, label %545, label %550

545:                                              ; preds = %542
  %546 = load ptr, ptr %8, align 8, !tbaa !5
  %547 = getelementptr inbounds %struct.ImGuiContext, ptr %546, i32 0, i32 65
  %548 = getelementptr inbounds %struct.ImVector.16, ptr %547, i32 0, i32 0
  %549 = load i32, ptr %548, align 8, !tbaa !78
  call void @_ZN5ImGui17ClosePopupToLevelEib(i32 noundef %549, i1 noundef zeroext true)
  br label %550

550:                                              ; preds = %545, %542, %539
  br label %551

551:                                              ; preds = %550
  br label %552

552:                                              ; preds = %551
  br label %553

553:                                              ; preds = %552
  %554 = load i8, ptr %13, align 1, !tbaa !9, !range !39, !noundef !40
  %555 = trunc i8 %554 to i1
  br i1 %555, label %571, label %556

556:                                              ; preds = %553
  %557 = load i8, ptr %31, align 1, !tbaa !9, !range !39, !noundef !40
  %558 = trunc i8 %557 to i1
  br i1 %558, label %559, label %571

559:                                              ; preds = %556
  %560 = load ptr, ptr %8, align 8, !tbaa !5
  %561 = getelementptr inbounds %struct.ImGuiContext, ptr %560, i32 0, i32 64
  %562 = getelementptr inbounds %struct.ImVector.16, ptr %561, i32 0, i32 0
  %563 = load i32, ptr %562, align 8, !tbaa !43
  %564 = load ptr, ptr %8, align 8, !tbaa !5
  %565 = getelementptr inbounds %struct.ImGuiContext, ptr %564, i32 0, i32 65
  %566 = getelementptr inbounds %struct.ImVector.16, ptr %565, i32 0, i32 0
  %567 = load i32, ptr %566, align 8, !tbaa !78
  %568 = icmp sgt i32 %563, %567
  br i1 %568, label %569, label %571

569:                                              ; preds = %559
  %570 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN5ImGui9OpenPopupEPKc(ptr noundef %570)
  store i1 false, ptr %3, align 1
  store i32 1, ptr %7, align 4
  br label %605

571:                                              ; preds = %559, %556, %553
  %572 = load i8, ptr %31, align 1, !tbaa !9, !range !39, !noundef !40
  %573 = trunc i8 %572 to i1
  %574 = zext i1 %573 to i32
  %575 = load i8, ptr %13, align 1, !tbaa !9, !range !39, !noundef !40
  %576 = trunc i8 %575 to i1
  %577 = zext i1 %576 to i32
  %578 = or i32 %577, %574
  %579 = icmp ne i32 %578, 0
  %580 = zext i1 %579 to i8
  store i8 %580, ptr %13, align 1, !tbaa !9
  %581 = load i8, ptr %31, align 1, !tbaa !9, !range !39, !noundef !40
  %582 = trunc i8 %581 to i1
  br i1 %582, label %583, label %585

583:                                              ; preds = %571
  %584 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN5ImGui9OpenPopupEPKc(ptr noundef %584)
  br label %585

585:                                              ; preds = %583, %571
  %586 = load i8, ptr %13, align 1, !tbaa !9, !range !39, !noundef !40
  %587 = trunc i8 %586 to i1
  br i1 %587, label %588, label %602

588:                                              ; preds = %585
  call void @llvm.lifetime.start.p0(i64 8, ptr %40) #10
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %40, float noundef 0.000000e+00, float noundef 0.000000e+00)
  call void @_ZN5ImGui16SetNextWindowPosERK6ImVec2iS2_(ptr noundef nonnull align 4 dereferenceable(8) %16, i32 noundef 1, ptr noundef nonnull align 4 dereferenceable(8) %40)
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr %41) #10
  store i32 268960069, ptr %41, align 4, !tbaa !41
  %589 = load ptr, ptr %6, align 8, !tbaa !5
  %590 = getelementptr inbounds %struct.ImGuiWindow, ptr %589, i32 0, i32 2
  %591 = load i32, ptr %590, align 4, !tbaa !42
  %592 = and i32 %591, 335544320
  %593 = icmp ne i32 %592, 0
  br i1 %593, label %594, label %597

594:                                              ; preds = %588
  %595 = load i32, ptr %41, align 4, !tbaa !41
  %596 = or i32 %595, 16777216
  store i32 %596, ptr %41, align 4, !tbaa !41
  br label %597

597:                                              ; preds = %594, %588
  %598 = load i32, ptr %10, align 4, !tbaa !41
  %599 = load i32, ptr %41, align 4, !tbaa !41
  %600 = call noundef zeroext i1 @_ZN5ImGui12BeginPopupExEji(i32 noundef %598, i32 noundef %599)
  %601 = zext i1 %600 to i8
  store i8 %601, ptr %13, align 1, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 4, ptr %41) #10
  br label %602

602:                                              ; preds = %597, %585
  %603 = load i8, ptr %13, align 1, !tbaa !9, !range !39, !noundef !40
  %604 = trunc i8 %603 to i1
  store i1 %604, ptr %3, align 1
  store i32 1, ptr %7, align 4
  br label %605

605:                                              ; preds = %602, %569
  call void @llvm.lifetime.end.p0(i64 1, ptr %32) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr %31) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr %30) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr %14) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr %13) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr %12) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #10
  br label %606

606:                                              ; preds = %605, %48
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #10
  %607 = load i1, ptr %3, align 1
  ret i1 %607
}

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local <2 x float> @_ZNK6ImRect5GetTLEv(ptr noundef nonnull align 4 dereferenceable(16)) #9 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)) #9 align 2

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

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

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

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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #6 = { 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 #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 = { 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 #10 = { 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 131}
!12 = !{!"_ZTS11ImGuiWindow", !6, i64 0, !13, i64 8, !13, i64 12, !14, i64 16, !14, i64 24, !14, i64 32, !14, i64 40, !14, i64 48, !14, i64 56, !15, i64 64, !15, i64 68, !13, i64 72, !13, i64 76, !13, i64 80, !14, i64 84, !14, i64 92, !14, i64 100, !14, i64 108, !14, i64 116, !10, i64 124, !10, i64 125, !10, i64 126, !10, i64 127, !10, i64 128, !10, i64 129, !10, i64 130, !10, i64 131, !10, i64 132, !10, i64 133, !10, i64 134, !7, i64 135, !16, i64 136, !16, i64 138, !16, i64 140, !13, i64 144, !7, i64 148, !7, i64 149, !7, i64 150, !10, i64 151, !13, i64 152, !13, i64 156, !13, i64 160, !13, i64 164, !13, i64 168, !13, i64 172, !14, i64 176, !14, i64 184, !17, i64 192, !18, i64 208, !19, i64 496, !19, i64 512, !19, i64 528, !19, i64 544, !19, i64 560, !19, i64 576, !13, i64 592, !15, i64 596, !15, i64 600, !26, i64 604, !27, i64 640, !29, i64 656, !15, i64 672, !13, i64 676, !6, i64 680, !30, i64 688, !6, i64 856, !6, i64 864, !6, i64 872, !6, i64 880, !6, i64 888, !7, i64 896, !7, i64 904, !10, i64 936, !13, i64 940, !13, i64 944}
!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, !15, i64 48, !15, i64 52, !13, i64 56, !13, i64 60, !13, i64 64, !13, i64 68, !19, i64 72, !19, i64 88, !20, i64 104, !13, i64 108, !13, i64 112, !13, i64 116, !10, i64 120, !10, i64 121, !10, i64 122, !14, i64 124, !21, i64 136, !6, i64 152, !13, i64 160, !13, i64 164, !13, i64 168, !13, i64 172, !13, i64 176, !15, i64 180, !15, i64 184, !22, i64 192, !23, i64 208, !23, i64 224, !24, i64 240, !7, i64 256, !25, i64 268, !25, i64 272, !25, i64 276, !6, i64 280}
!19 = !{!"_ZTS6ImRect", !14, i64 0, !14, i64 8}
!20 = !{!"_ZTS13ImGuiNavLayer", !7, i64 0}
!21 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !13, i64 0, !13, i64 4, !6, i64 8}
!22 = !{!"_ZTS8ImVectorIiE", !13, i64 0, !13, i64 4, !6, i64 8}
!23 = !{!"_ZTS8ImVectorIfE", !13, i64 0, !13, i64 4, !6, i64 8}
!24 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!25 = !{!"_ZTS6ImVec1", !15, i64 0}
!26 = !{!"_ZTS16ImGuiMenuColumns", !15, i64 0, !15, i64 4, !15, i64 8, !7, i64 12, !7, i64 24}
!27 = !{!"_ZTS12ImGuiStorage", !28, i64 0}
!28 = !{!"_ZTS8ImVectorIN12ImGuiStorage16ImGuiStoragePairEE", !13, i64 0, !13, i64 4, !6, i64 8}
!29 = !{!"_ZTS8ImVectorI12ImGuiColumnsE", !13, i64 0, !13, i64 4, !6, i64 8}
!30 = !{!"_ZTS10ImDrawList", !31, i64 0, !32, i64 16, !33, i64 32, !13, i64 48, !6, i64 56, !6, i64 64, !13, i64 72, !13, i64 76, !6, i64 80, !6, i64 88, !34, i64 96, !35, i64 112, !36, i64 128, !37, i64 144}
!31 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !13, i64 0, !13, i64 4, !6, i64 8}
!32 = !{!"_ZTS8ImVectorItE", !13, i64 0, !13, i64 4, !6, i64 8}
!33 = !{!"_ZTS8ImVectorI10ImDrawVertE", !13, i64 0, !13, i64 4, !6, i64 8}
!34 = !{!"_ZTS8ImVectorI6ImVec4E", !13, i64 0, !13, i64 4, !6, i64 8}
!35 = !{!"_ZTS8ImVectorIPvE", !13, i64 0, !13, i64 4, !6, i64 8}
!36 = !{!"_ZTS8ImVectorI6ImVec2E", !13, i64 0, !13, i64 4, !6, i64 8}
!37 = !{!"_ZTS18ImDrawListSplitter", !13, i64 0, !13, i64 4, !38, i64 8}
!38 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !13, i64 0, !13, i64 4, !6, i64 8}
!39 = !{i8 0, i8 2}
!40 = !{}
!41 = !{!13, !13, i64 0}
!42 = !{!12, !13, i64 12}
!43 = !{!44, !13, i64 7008}
!44 = !{!"_ZTS12ImGuiContext", !10, i64 0, !10, i64 1, !10, i64 2, !10, i64 3, !45, i64 8, !46, i64 5464, !6, i64 6408, !15, i64 6416, !15, i64 6420, !47, i64 6424, !49, i64 6568, !13, i64 6576, !13, i64 6580, !13, i64 6584, !21, i64 6592, !21, i64 6608, !21, i64 6624, !21, i64 6640, !27, i64 6656, !13, i64 6672, !6, i64 6680, !6, i64 6688, !6, i64 6696, !6, i64 6704, !6, i64 6712, !14, i64 6720, !15, i64 6728, !13, i64 6732, !10, i64 6736, !13, i64 6740, !15, i64 6744, !15, i64 6748, !13, i64 6752, !13, i64 6756, !15, i64 6760, !10, i64 6764, !10, i64 6765, !10, i64 6766, !10, i64 6767, !10, i64 6768, !13, i64 6772, !13, i64 6776, !50, i64 6784, !14, i64 6792, !6, i64 6800, !51, i64 6808, !13, i64 6812, !10, i64 6816, !10, i64 6817, !6, i64 6824, !13, i64 6832, !15, i64 6836, !52, i64 6840, !53, i64 6944, !54, i64 6960, !55, i64 6976, !56, i64 6992, !57, i64 7008, !57, i64 7024, !6, i64 7040, !13, i64 7048, !13, i64 7052, !13, i64 7056, !13, i64 7060, !13, i64 7064, !13, i64 7068, !13, i64 7072, !13, i64 7076, !13, i64 7080, !51, i64 7084, !19, i64 7088, !13, i64 7104, !6, i64 7112, !6, i64 7120, !6, i64 7128, !15, i64 7136, !15, i64 7140, !10, i64 7144, !20, i64 7148, !13, i64 7152, !10, i64 7156, !10, i64 7157, !10, i64 7158, !10, i64 7159, !10, i64 7160, !10, i64 7161, !10, i64 7162, !13, i64 7164, !19, i64 7168, !10, i64 7184, !10, i64 7185, !13, i64 7188, !58, i64 7192, !13, i64 7196, !13, i64 7200, !13, i64 7204, !59, i64 7208, !59, i64 7256, !59, i64 7304, !6, i64 7352, !6, i64 7360, !13, i64 7368, !13, i64 7372, !13, i64 7376, !13, i64 7380, !10, i64 7384, !60, i64 7392, !61, i64 7448, !15, i64 7480, !30, i64 7488, !30, i64 7656, !13, i64 7824, !10, i64 7828, !10, i64 7829, !13, i64 7832, !13, i64 7836, !13, i64 7840, !62, i64 7848, !19, i64 7912, !13, i64 7928, !13, i64 7932, !15, i64 7936, !13, i64 7940, !13, i64 7944, !13, i64 7948, !63, i64 7952, !7, i64 7968, !6, i64 7976, !64, i64 7984, !66, i64 8024, !67, i64 8040, !14, i64 8056, !68, i64 8064, !72, i64 11792, !13, i64 11912, !13, i64 11916, !15, i64 11920, !7, i64 11924, !48, i64 11936, !10, i64 11952, !15, i64 11956, !15, i64 11960, !15, i64 11964, !13, i64 11968, !69, i64 11976, !13, i64 11992, !14, i64 11996, !14, i64 12004, !10, i64 12012, !15, i64 12016, !74, i64 12024, !75, i64 12040, !76, i64 12056, !10, i64 12072, !77, i64 12076, !6, i64 12080, !74, i64 12088, !15, i64 12104, !10, i64 12108, !13, i64 12112, !13, i64 12116, !13, i64 12120, !10, i64 12124, !13, i64 12128, !7, i64 12132, !13, i64 12612, !15, i64 12616, !13, i64 12620, !13, i64 12624, !13, i64 12628, !7, i64 12632}
!45 = !{!"_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, !7, i64 52, !15, i64 140, !15, i64 144, !6, i64 152, !6, i64 160, !15, i64 168, !10, i64 172, !6, i64 176, !14, i64 184, !10, i64 192, !10, i64 193, !10, i64 194, !10, i64 195, !10, i64 196, !15, i64 200, !6, i64 208, !6, i64 216, !6, i64 224, !6, i64 232, !6, i64 240, !6, i64 248, !6, i64 256, !6, i64 264, !6, i64 272, !6, i64 280, !6, i64 288, !14, i64 296, !7, i64 304, !15, i64 312, !15, i64 316, !10, i64 320, !10, i64 321, !10, i64 322, !10, i64 323, !7, i64 324, !7, i64 836, !10, i64 920, !10, i64 921, !10, i64 922, !10, i64 923, !10, i64 924, !10, i64 925, !10, i64 926, !15, i64 928, !13, i64 932, !13, i64 936, !13, i64 940, !13, i64 944, !13, i64 948, !14, i64 952, !14, i64 960, !7, i64 968, !7, i64 1008, !7, i64 1048, !7, i64 1053, !7, i64 1058, !7, i64 1063, !7, i64 1068, !7, i64 1076, !7, i64 1096, !7, i64 1116, !7, i64 1156, !7, i64 1176, !7, i64 3224, !7, i64 5272, !7, i64 5356, !32, i64 5440}
!46 = !{!"_ZTS10ImGuiStyle", !15, i64 0, !14, i64 4, !15, i64 12, !15, i64 16, !14, i64 20, !14, i64 28, !13, i64 36, !15, i64 40, !15, i64 44, !15, i64 48, !15, i64 52, !14, i64 56, !15, i64 64, !15, i64 68, !14, i64 72, !14, i64 80, !14, i64 88, !15, i64 96, !15, i64 100, !15, i64 104, !15, i64 108, !15, i64 112, !15, i64 116, !15, i64 120, !15, i64 124, !13, i64 128, !14, i64 132, !14, i64 140, !14, i64 148, !14, i64 156, !15, i64 164, !10, i64 168, !10, i64 169, !15, i64 172, !7, i64 176}
!47 = !{!"_ZTS20ImDrawListSharedData", !14, i64 0, !6, i64 8, !15, i64 16, !15, i64 20, !48, i64 24, !13, i64 40, !7, i64 44}
!48 = !{!"_ZTS6ImVec4", !15, i64 0, !15, i64 4, !15, i64 8, !15, i64 12}
!49 = !{!"double", !7, i64 0}
!50 = !{!"long long", !7, i64 0}
!51 = !{!"_ZTS16ImGuiInputSource", !7, i64 0}
!52 = !{!"_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, !10, i64 48, !19, i64 52, !6, i64 72, !6, i64 80, !15, i64 88, !14, i64 92}
!53 = !{!"_ZTS17ImGuiNextItemData", !13, i64 0, !15, i64 4, !10, i64 8, !13, i64 12}
!54 = !{!"_ZTS8ImVectorI13ImGuiColorModE", !13, i64 0, !13, i64 4, !6, i64 8}
!55 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !13, i64 0, !13, i64 4, !6, i64 8}
!56 = !{!"_ZTS8ImVectorIP6ImFontE", !13, i64 0, !13, i64 4, !6, i64 8}
!57 = !{!"_ZTS8ImVectorI14ImGuiPopupDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!58 = !{!"_ZTS15ImGuiNavForward", !7, i64 0}
!59 = !{!"_ZTS18ImGuiNavMoveResult", !13, i64 0, !13, i64 4, !6, i64 8, !15, i64 16, !15, i64 20, !15, i64 24, !19, i64 28}
!60 = !{!"_ZTS10ImDrawData", !10, i64 0, !6, i64 8, !13, i64 16, !13, i64 20, !13, i64 24, !14, i64 28, !14, i64 36, !14, i64 44}
!61 = !{!"_ZTS17ImDrawDataBuilder", !7, i64 0}
!62 = !{!"_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}
!63 = !{!"_ZTS8ImVectorIhE", !13, i64 0, !13, i64 4, !6, i64 8}
!64 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !65, i64 0, !27, i64 16, !13, i64 32}
!65 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !13, i64 0, !13, i64 4, !6, i64 8}
!66 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !13, i64 0, !13, i64 4, !6, i64 8}
!67 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !13, i64 0, !13, i64 4, !6, i64 8}
!68 = !{!"_ZTS19ImGuiInputTextState", !13, i64 0, !13, i64 4, !13, i64 8, !32, i64 16, !69, i64 32, !69, i64 48, !10, i64 64, !13, i64 68, !15, i64 72, !70, i64 76, !15, i64 3696, !10, i64 3700, !10, i64 3701, !13, i64 3704, !6, i64 3712, !6, i64 3720}
!69 = !{!"_ZTS8ImVectorIcE", !13, i64 0, !13, i64 4, !6, i64 8}
!70 = !{!"_ZTSN5ImStb17STB_TexteditStateE", !13, i64 0, !13, i64 4, !13, i64 8, !7, i64 12, !7, i64 13, !7, i64 14, !7, i64 15, !7, i64 16, !7, i64 17, !7, i64 18, !7, i64 19, !15, i64 20, !71, i64 24}
!71 = !{!"_ZTSN5ImStb12StbUndoStateE", !7, i64 0, !7, i64 1584, !16, i64 3582, !16, i64 3584, !13, i64 3588, !13, i64 3592}
!72 = !{!"_ZTS6ImFont", !23, i64 0, !15, i64 16, !15, i64 20, !32, i64 24, !73, i64 40, !6, i64 56, !14, i64 64, !6, i64 72, !6, i64 80, !16, i64 88, !16, i64 90, !16, i64 92, !15, i64 96, !15, i64 100, !15, i64 104, !13, i64 108, !10, i64 112}
!73 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !13, i64 0, !13, i64 4, !6, i64 8}
!74 = !{!"_ZTS15ImGuiTextBuffer", !69, i64 0}
!75 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !13, i64 0, !13, i64 4, !6, i64 8}
!76 = !{!"_ZTS8ImVectorI19ImGuiWindowSettingsE", !13, i64 0, !13, i64 4, !6, i64 8}
!77 = !{!"_ZTS12ImGuiLogType", !7, i64 0}
!78 = !{!44, !13, i64 7024}
!79 = !{!80, !13, i64 28}
!80 = !{!"_ZTS14ImGuiPopupData", !13, i64 0, !6, i64 8, !6, i64 16, !13, i64 24, !13, i64 28, !14, i64 32, !14, i64 40}
!81 = !{!44, !6, i64 7040}
!82 = !{i64 0, i64 4, !83, i64 4, i64 4, !83}
!83 = !{!15, !15, i64 0}
!84 = !{!12, !13, i64 368}
!85 = !{!14, !15, i64 0}
!86 = !{!46, !15, i64 72}
!87 = !{!14, !15, i64 4}
!88 = !{!46, !15, i64 60}
!89 = !{!12, !15, i64 208}
!90 = !{!46, !15, i64 76}
!91 = !{!46, !15, i64 8}
!92 = !{!44, !15, i64 6416}
!93 = !{!12, !6, i64 680}
!94 = !{!80, !6, i64 16}
!95 = !{!80, !6, i64 8}
!96 = !{!44, !6, i64 6688}
!97 = !{!12, !15, i64 16}
!98 = !{!44, !13, i64 6740}
!99 = !{!44, !13, i64 7052}
!100 = !{!44, !13, i64 7048}
!101 = !{!44, !10, i64 7185}
!102 = !{!44, !13, i64 7196}


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

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

@GImGui = external local_unnamed_addr global ptr, align 8

; 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

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

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

; 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 nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #4

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

; Function Attrs: 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 #5

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

declare noundef zeroext i1 @_ZN5ImGui13ItemHoverableERK6ImRectj(ptr noundef nonnull align 4 dereferenceable(16), i32 noundef) local_unnamed_addr #3

declare noundef i32 @_ZN11ImGuiWindow5GetIDEPKcS1_(ptr noundef nonnull align 8 dereferenceable(948), 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: inlinehint mustprogress nounwind uwtable
declare hidden noundef float @_ZL7ImClampIfET_S0_S0_S0_(float noundef, float noundef, float noundef) local_unnamed_addr #1

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

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

declare noundef zeroext i1 @_ZN5ImGui11IsPopupOpenEj(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 #7 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

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: 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 #7

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

declare void @_ZN5ImGui9OpenPopupEPKc(ptr noundef) 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 @_ZN5ImGui20NavMoveRequestCancelEv() local_unnamed_addr #3

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef float @_ZN16ImGuiMenuColumns11DeclColumnsEfff(ptr noundef nonnull align 4 dereferenceable(36), float noundef, float noundef, float noundef) local_unnamed_addr #6 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN5ImGui9BeginMenuEPKcb(ptr noundef %0, i1 noundef zeroext %1) local_unnamed_addr #7 {
  %3 = alloca %struct.ImVec2, align 8
  %4 = alloca %struct.ImVec2, align 8
  %5 = alloca %struct.ImVec2, align 8
  %6 = alloca %struct.ImVec2, align 4
  %7 = alloca %struct.ImVec2, align 4
  %8 = alloca %struct.ImVec2, align 8
  %9 = alloca %struct.ImVec2, align 4
  %10 = alloca %struct.ImVec2, align 4
  %11 = alloca %struct.ImRect, align 8
  %12 = alloca %struct.ImVec2, align 8
  %13 = alloca %struct.ImVec2, align 8
  %14 = alloca %struct.ImVec2, align 8
  %15 = alloca %struct.ImVec2, align 4
  %16 = tail call noundef ptr @_ZN5ImGui16GetCurrentWindowEv()
  %17 = getelementptr inbounds i8, ptr %16, i64 131
  %18 = load i8, ptr %17, align 1, !tbaa !5, !range !37, !noundef !38
  %19 = trunc nuw i8 %18 to i1
  br i1 %19, label %265, label %20

20:                                               ; preds = %2
  %21 = load ptr, ptr @GImGui, align 8, !tbaa !39
  %22 = tail call noundef i32 @_ZN11ImGuiWindow5GetIDEPKcS1_(ptr noundef nonnull align 8 dereferenceable(948) %16, ptr noundef %0, ptr noundef null)
  %23 = tail call <2 x float> @_ZN5ImGui12CalcTextSizeEPKcS1_bf(ptr noundef %0, ptr noundef null, i1 noundef zeroext true, float noundef -1.000000e+00)
  %24 = tail call noundef zeroext i1 @_ZN5ImGui11IsPopupOpenEj(i32 noundef %22)
  %25 = getelementptr inbounds i8, ptr %16, i64 12
  %26 = load i32, ptr %25, align 4, !tbaa !40
  %27 = and i32 %26, 67108864
  %.not = icmp eq i32 %27, 0
  br i1 %.not, label %28, label %.thread

28:                                               ; preds = %20
  %29 = getelementptr inbounds i8, ptr %21, i64 7008
  %30 = load i32, ptr %29, align 8, !tbaa !41
  %31 = getelementptr inbounds i8, ptr %21, i64 7024
  %32 = load i32, ptr %31, align 8, !tbaa !76
  %33 = icmp sgt i32 %30, %32
  br i1 %33, label %36, label %.thread

.thread:                                          ; preds = %20, %28
  %34 = getelementptr inbounds i8, ptr %21, i64 7040
  %35 = load ptr, ptr %34, align 8, !tbaa !77
  br label %47

36:                                               ; preds = %28
  %37 = tail call noundef nonnull align 8 dereferenceable(48) ptr @_ZN8ImVectorI14ImGuiPopupDataEixEi(ptr noundef nonnull align 8 dereferenceable(16) %29, i32 noundef %32)
  %38 = getelementptr inbounds i8, ptr %37, i64 28
  %39 = load i32, ptr %38, align 4, !tbaa !78
  %40 = getelementptr inbounds i8, ptr %16, i64 192
  %41 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZN8ImVectorIjE4backEv(ptr noundef nonnull align 8 dereferenceable(16) %40)
  %42 = load i32, ptr %41, align 4, !tbaa !80
  %43 = icmp eq i32 %39, %42
  %44 = getelementptr inbounds i8, ptr %21, i64 7040
  %45 = load ptr, ptr %44, align 8, !tbaa !77
  br i1 %43, label %46, label %47

46:                                               ; preds = %36
  store ptr %16, ptr %44, align 8, !tbaa !77
  br label %47

47:                                               ; preds = %.thread, %46, %36
  %48 = phi ptr [ %35, %.thread ], [ %45, %46 ], [ %45, %36 ]
  %49 = phi ptr [ %34, %.thread ], [ %44, %46 ], [ %44, %36 ]
  %50 = phi i1 [ false, %.thread ], [ true, %46 ], [ false, %36 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #9
  call void @_ZN6ImVec2C2Ev(ptr noundef nonnull align 4 dereferenceable(8) %3)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #9
  %51 = getelementptr inbounds i8, ptr %16, i64 208
  %52 = load i64, ptr %51, align 8
  store i64 %52, ptr %4, align 8
  %53 = getelementptr inbounds i8, ptr %16, i64 368
  %54 = load i32, ptr %53, align 8, !tbaa !81
  %55 = icmp eq i32 %54, 0
  %56 = trunc i64 %52 to i32
  %57 = bitcast i32 %56 to float
  %58 = lshr i64 %52, 32
  %59 = trunc nuw i64 %58 to i32
  %60 = bitcast i32 %59 to float
  br i1 %55, label %61, label %92

61:                                               ; preds = %47
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #9
  %62 = fadd float %57, -1.000000e+00
  %63 = getelementptr inbounds i8, ptr %21, i64 5536
  %64 = load float, ptr %63, align 4, !tbaa !82
  %65 = fmul float %64, 5.000000e-01
  %66 = fptosi float %65 to i32
  %67 = sitofp i32 %66 to float
  %68 = fsub float %62, %67
  %69 = getelementptr inbounds i8, ptr %21, i64 5524
  %70 = load float, ptr %69, align 4, !tbaa !83
  %71 = fsub float %60, %70
  %72 = call noundef float @_ZNK11ImGuiWindow13MenuBarHeightEv(ptr noundef nonnull align 8 dereferenceable(948) %16)
  %73 = fadd float %71, %72
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %5, float noundef %68, float noundef %73)
  %74 = load i64, ptr %5, align 8
  store i64 %74, ptr %3, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #9
  %75 = load float, ptr %63, align 4, !tbaa !82
  %76 = fmul float %75, 5.000000e-01
  %77 = fptosi float %76 to i32
  %78 = sitofp i32 %77 to float
  %79 = load float, ptr %51, align 8, !tbaa !84
  %80 = fadd float %79, %78
  store float %80, ptr %51, align 8, !tbaa !84
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #9
  %81 = fmul float %75, 2.000000e+00
  %82 = getelementptr inbounds i8, ptr %21, i64 5540
  %83 = load float, ptr %82, align 4, !tbaa !85
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %6, float noundef %81, float noundef %83)
  call void @_ZN5ImGui12PushStyleVarEiRK6ImVec2(i32 noundef 13, ptr noundef nonnull align 4 dereferenceable(8) %6)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #9
  %.sroa.046.0.vec.extract = extractelement <2 x float> %23, i64 0
  %84 = select i1 %1, i32 3145729, i32 3145737
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #9
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %7, float noundef %.sroa.046.0.vec.extract, float noundef 0.000000e+00)
  %85 = call noundef zeroext i1 @_ZN5ImGui10SelectableEPKcbiRK6ImVec2(ptr noundef %0, i1 noundef zeroext %24, i32 noundef %84, ptr noundef nonnull align 4 dereferenceable(8) %7)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #9
  call void @_ZN5ImGui11PopStyleVarEi(i32 noundef 1)
  %86 = load float, ptr %63, align 4, !tbaa !82
  %87 = fmul float %86, -5.000000e-01
  %88 = fptosi float %87 to i32
  %89 = sitofp i32 %88 to float
  %90 = load float, ptr %51, align 8, !tbaa !84
  %91 = fadd float %90, %89
  store float %91, ptr %51, align 8, !tbaa !84
  br label %119

92:                                               ; preds = %47
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #9
  %93 = getelementptr inbounds i8, ptr %21, i64 5472
  %94 = load float, ptr %93, align 4, !tbaa !86
  %95 = fsub float %60, %94
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %8, float noundef %57, float noundef %95)
  %96 = load i64, ptr %8, align 8
  store i64 %96, ptr %3, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #9
  %97 = getelementptr inbounds i8, ptr %16, i64 604
  %.sroa.046.0.vec.extract48 = extractelement <2 x float> %23, i64 0
  %98 = getelementptr inbounds i8, ptr %21, i64 6416
  %99 = load float, ptr %98, align 8, !tbaa !87
  %100 = fmul float %99, 0x3FF3333340000000
  %101 = fptosi float %100 to i32
  %102 = sitofp i32 %101 to float
  %103 = call noundef float @_ZN16ImGuiMenuColumns11DeclColumnsEfff(ptr noundef nonnull align 4 dereferenceable(36) %97, float noundef %.sroa.046.0.vec.extract48, float noundef 0.000000e+00, float noundef %102)
  %104 = call <2 x float> @_ZN5ImGui21GetContentRegionAvailEv()
  %.sroa.020.0.vec.extract = extractelement <2 x float> %104, i64 0
  %105 = fsub float %.sroa.020.0.vec.extract, %103
  %106 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef 0.000000e+00, float noundef %105)
  %107 = select i1 %1, i32 11534337, i32 11534345
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #9
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %9, float noundef %103, float noundef 0.000000e+00)
  %108 = call noundef zeroext i1 @_ZN5ImGui10SelectableEPKcbiRK6ImVec2(ptr noundef %0, i1 noundef zeroext %24, i32 noundef %107, ptr noundef nonnull align 4 dereferenceable(8) %9)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #9
  %not. = xor i1 %1, true
  %109 = zext i1 %not. to i32
  %110 = call noundef i32 @_ZN5ImGui11GetColorU32Eif(i32 noundef %109, float noundef 1.000000e+00)
  %111 = getelementptr inbounds i8, ptr %16, i64 680
  %112 = load ptr, ptr %111, align 8, !tbaa !88
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #9
  %113 = getelementptr inbounds i8, ptr %16, i64 624
  %114 = load float, ptr %113, align 4, !tbaa !89
  %115 = fadd float %106, %114
  %116 = load float, ptr %98, align 8, !tbaa !87
  %117 = call float @llvm.fmuladd.f32(float %116, float 0x3FD3333340000000, float %115)
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %10, float noundef %117, float noundef 0.000000e+00)
  %118 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %4, ptr noundef nonnull align 4 dereferenceable(8) %10)
  call void @_ZN5ImGui11RenderArrowEP10ImDrawList6ImVec2jif(ptr noundef %112, <2 x float> %118, i32 noundef %110, i32 noundef 1, float noundef 1.000000e+00)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #9
  br label %119

119:                                              ; preds = %92, %61
  %.0140.in = phi i1 [ %85, %61 ], [ %108, %92 ]
  br i1 %1, label %120, label %123

120:                                              ; preds = %119
  %121 = getelementptr inbounds i8, ptr %16, i64 280
  %122 = call noundef zeroext i1 @_ZN5ImGui13ItemHoverableERK6ImRectj(ptr noundef nonnull align 4 dereferenceable(16) %121, i32 noundef %22)
  br label %123

123:                                              ; preds = %120, %119
  %124 = phi i1 [ false, %119 ], [ %122, %120 ]
  br i1 %50, label %125, label %126

125:                                              ; preds = %123
  store ptr %48, ptr %49, align 8, !tbaa !77
  br label %126

126:                                              ; preds = %125, %123
  %127 = load i32, ptr %53, align 8, !tbaa !81
  %128 = icmp eq i32 %127, 1
  br i1 %128, label %129, label %230

129:                                              ; preds = %126
  %130 = getelementptr inbounds i8, ptr %21, i64 7024
  %131 = load i32, ptr %130, align 8, !tbaa !76
  %132 = getelementptr inbounds i8, ptr %21, i64 7008
  %133 = load i32, ptr %132, align 8, !tbaa !41
  %134 = icmp slt i32 %131, %133
  br i1 %134, label %135, label %.thread180

135:                                              ; preds = %129
  %136 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZN8ImVectorI14ImGuiPopupDataEixEi(ptr noundef nonnull align 8 dereferenceable(16) %132, i32 noundef %131)
  %137 = getelementptr inbounds i8, ptr %136, i64 16
  %138 = load ptr, ptr %137, align 8, !tbaa !90
  %139 = icmp eq ptr %138, %16
  br i1 %139, label %141, label %.thread180

.thread180:                                       ; preds = %135, %129
  %140 = getelementptr inbounds i8, ptr %21, i64 6688
  br label %205

141:                                              ; preds = %135
  %142 = load i32, ptr %130, align 8, !tbaa !76
  %143 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZN8ImVectorI14ImGuiPopupDataEixEi(ptr noundef nonnull align 8 dereferenceable(16) %132, i32 noundef %142)
  %144 = getelementptr inbounds i8, ptr %143, i64 8
  %145 = load ptr, ptr %144, align 8, !tbaa !91
  %146 = getelementptr inbounds i8, ptr %21, i64 6688
  %147 = load ptr, ptr %146, align 8, !tbaa !92
  %148 = icmp eq ptr %147, %16
  %149 = icmp ne ptr %145, null
  %or.cond = select i1 %148, i1 %149, i1 false
  br i1 %or.cond, label %150, label %205

150:                                              ; preds = %141
  %151 = load i32, ptr %25, align 4, !tbaa !40
  %152 = and i32 %151, 1024
  %.not148 = icmp eq i32 %152, 0
  br i1 %.not148, label %153, label %205

153:                                              ; preds = %150
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %11) #9
  %154 = call { <2 x float>, <2 x float> } @_ZNK11ImGuiWindow4RectEv(ptr noundef nonnull align 8 dereferenceable(948) %145)
  %155 = extractvalue { <2 x float>, <2 x float> } %154, 0
  store <2 x float> %155, ptr %11, align 8
  %156 = getelementptr inbounds i8, ptr %11, i64 8
  %157 = extractvalue { <2 x float>, <2 x float> } %154, 1
  store <2 x float> %157, ptr %156, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #9
  %158 = getelementptr inbounds i8, ptr %21, i64 304
  %159 = getelementptr inbounds i8, ptr %21, i64 960
  %160 = call <2 x float> @_ZmiRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %158, ptr noundef nonnull align 4 dereferenceable(8) %159)
  store <2 x float> %160, ptr %12, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #9
  %161 = getelementptr inbounds i8, ptr %16, i64 16
  %162 = load float, ptr %161, align 8, !tbaa !93
  %163 = getelementptr inbounds i8, ptr %145, i64 16
  %164 = load float, ptr %163, align 8, !tbaa !93
  %165 = fcmp olt float %162, %164
  %166 = extractelement <2 x float> %160, i64 0
  %167 = extractelement <2 x float> %160, i64 1
  br i1 %165, label %168, label %170

168:                                              ; preds = %153
  %169 = call <2 x float> @_ZNK6ImRect5GetTLEv(ptr noundef nonnull align 4 dereferenceable(16) %11)
  br label %172

170:                                              ; preds = %153
  %171 = call <2 x float> @_ZNK6ImRect5GetTREv(ptr noundef nonnull align 4 dereferenceable(16) %11)
  br label %172

172:                                              ; preds = %170, %168
  %storemerge = phi <2 x float> [ %171, %170 ], [ %169, %168 ]
  store <2 x float> %storemerge, ptr %13, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #9
  %173 = load float, ptr %161, align 8, !tbaa !93
  %174 = load float, ptr %163, align 8, !tbaa !93
  %175 = fcmp olt float %173, %174
  %176 = extractelement <2 x float> %storemerge, i64 1
  br i1 %175, label %177, label %179

177:                                              ; preds = %172
  %178 = call <2 x float> @_ZNK6ImRect5GetBLEv(ptr noundef nonnull align 4 dereferenceable(16) %11)
  br label %181

179:                                              ; preds = %172
  %180 = call <2 x float> @_ZNK6ImRect5GetBREv(ptr noundef nonnull align 4 dereferenceable(16) %11)
  br label %181

181:                                              ; preds = %179, %177
  %storemerge149 = phi <2 x float> [ %180, %179 ], [ %178, %177 ]
  store <2 x float> %storemerge149, ptr %14, align 8
  %182 = fsub <2 x float> %160, %storemerge
  %183 = extractelement <2 x float> %182, i64 0
  %184 = call noundef float @_ZL6ImFabsf(float noundef %183)
  %185 = fmul float %184, 0x3FD3333340000000
  %186 = call noundef float @_ZL7ImClampIfET_S0_S0_S0_(float noundef %185, float noundef 5.000000e+00, float noundef 3.000000e+01)
  %187 = load float, ptr %161, align 8, !tbaa !93
  %188 = load float, ptr %163, align 8, !tbaa !93
  %189 = fcmp olt float %187, %188
  %190 = select i1 %189, float -5.000000e-01, float 5.000000e-01
  %191 = fadd float %166, %190
  store float %191, ptr %12, align 8, !tbaa !94
  %192 = getelementptr inbounds i8, ptr %13, i64 4
  %193 = fsub float %176, %186
  %194 = fsub float %193, %167
  %195 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %194, float noundef -1.000000e+02)
  %196 = fadd float %167, %195
  store float %196, ptr %192, align 4, !tbaa !95
  %197 = getelementptr inbounds i8, ptr %14, i64 4
  %198 = extractelement <2 x float> %storemerge149, i64 1
  %199 = fadd float %186, %198
  %200 = fsub float %199, %167
  %201 = call noundef float @_ZL5ImMinIfET_S0_S0_(float noundef %200, float noundef 1.000000e+02)
  %202 = fadd float %167, %201
  store float %202, ptr %197, align 4, !tbaa !95
  %203 = call noundef zeroext i1 @_Z23ImTriangleContainsPointRK6ImVec2S1_S1_S1_(ptr noundef nonnull align 4 dereferenceable(8) %12, ptr noundef nonnull align 4 dereferenceable(8) %13, ptr noundef nonnull align 4 dereferenceable(8) %14, ptr noundef nonnull align 4 dereferenceable(8) %158)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) #9
  %204 = xor i1 %203, true
  br label %205

205:                                              ; preds = %.thread180, %181, %150, %141
  %206 = phi ptr [ %146, %150 ], [ %146, %181 ], [ %146, %141 ], [ %140, %.thread180 ]
  %.0133 = phi i1 [ true, %150 ], [ %204, %181 ], [ true, %141 ], [ true, %.thread180 ]
  %.not153 = xor i1 %24, true
  %brmerge = or i1 %124, %.not153
  br i1 %brmerge, label %213, label %207

207:                                              ; preds = %205
  %208 = load ptr, ptr %206, align 8, !tbaa !92
  %209 = icmp eq ptr %208, %16
  br i1 %209, label %210, label %213

210:                                              ; preds = %207
  %211 = getelementptr inbounds i8, ptr %21, i64 6740
  %212 = load i32, ptr %211, align 4, !tbaa !96
  %.not150 = icmp ne i32 %212, 0
  %.not151 = icmp ne i32 %212, %22
  %or.cond154.not = and i1 %.not150, %.not151
  %spec.select178 = and i1 %.0133, %or.cond154.not
  br label %213

213:                                              ; preds = %210, %205, %207
  %.0134 = phi i1 [ false, %207 ], [ false, %205 ], [ %spec.select178, %210 ]
  %.not155 = xor i1 %124, true
  %214 = and i1 %.0140.in, %.not153
  %brmerge157.not = and i1 %214, %124
  %215 = or i1 %24, %.not155
  %brmerge160 = or i1 %.0140.in, %215
  %.0136.v = select i1 %brmerge160, i1 %brmerge157.not, i1 %.0133
  %216 = getelementptr inbounds i8, ptr %21, i64 7052
  %217 = load i32, ptr %216, align 4, !tbaa !97
  %218 = icmp eq i32 %217, %22
  %.1137.v = select i1 %218, i1 %.not153, i1 %.0136.v
  %.1135 = select i1 %218, i1 %24, i1 %.0134
  %219 = getelementptr inbounds i8, ptr %21, i64 7048
  %220 = load i32, ptr %219, align 8, !tbaa !98
  %221 = icmp eq i32 %220, %22
  br i1 %221, label %222, label %244

222:                                              ; preds = %213
  %223 = getelementptr inbounds i8, ptr %21, i64 7185
  %224 = load i8, ptr %223, align 1, !tbaa !99, !range !37, !noundef !38
  %225 = trunc nuw i8 %224 to i1
  br i1 %225, label %226, label %244

226:                                              ; preds = %222
  %227 = getelementptr inbounds i8, ptr %21, i64 7196
  %228 = load i32, ptr %227, align 4, !tbaa !100
  %229 = icmp eq i32 %228, 1
  br i1 %229, label %.sink.split, label %244

230:                                              ; preds = %126
  %brmerge164.demorgan = and i1 %24, %.0140.in
  %brmerge166.not183 = and i1 %50, %brmerge164.demorgan
  %.mux175 = xor i1 %24, %brmerge166.not183
  %not.brmerge166.not183 = xor i1 %brmerge166.not183, true
  br i1 %.0140.in, label %244, label %231

231:                                              ; preds = %230
  %brmerge169.demorgan = and i1 %50, %124
  %brmerge169 = xor i1 %brmerge169.demorgan, true
  %brmerge170 = or i1 %24, %brmerge169
  br i1 %brmerge170, label %232, label %244

232:                                              ; preds = %231
  %233 = getelementptr inbounds i8, ptr %21, i64 7048
  %234 = load i32, ptr %233, align 8, !tbaa !98
  %235 = icmp eq i32 %234, %22
  br i1 %235, label %236, label %244

236:                                              ; preds = %232
  %237 = getelementptr inbounds i8, ptr %21, i64 7185
  %238 = load i8, ptr %237, align 1, !tbaa !99, !range !37, !noundef !38
  %239 = trunc nuw i8 %238 to i1
  br i1 %239, label %240, label %244

240:                                              ; preds = %236
  %241 = getelementptr inbounds i8, ptr %21, i64 7196
  %242 = load i32, ptr %241, align 4, !tbaa !100
  %243 = icmp eq i32 %242, 3
  br i1 %243, label %.sink.split, label %244

.sink.split:                                      ; preds = %240, %226
  %.2.ph = phi i1 [ %.1135, %226 ], [ false, %240 ]
  call void @_ZN5ImGui20NavMoveRequestCancelEv()
  br label %244

244:                                              ; preds = %.sink.split, %213, %222, %226, %230, %231, %232, %236, %240
  %.0141 = phi i1 [ %24, %240 ], [ %24, %236 ], [ %24, %232 ], [ %.mux175, %230 ], [ false, %231 ], [ %24, %226 ], [ %24, %222 ], [ %24, %213 ], [ %24, %.sink.split ]
  %.3139 = phi i1 [ false, %240 ], [ false, %236 ], [ false, %232 ], [ %not.brmerge166.not183, %230 ], [ true, %231 ], [ %.1137.v, %226 ], [ %.1137.v, %222 ], [ %.1137.v, %213 ], [ true, %.sink.split ]
  %.2 = phi i1 [ false, %240 ], [ false, %236 ], [ false, %232 ], [ %brmerge166.not183, %230 ], [ false, %231 ], [ %.1135, %226 ], [ %.1135, %222 ], [ %.1135, %213 ], [ %.2.ph, %.sink.split ]
  %not.186 = xor i1 %1, true
  %spec.select171 = select i1 %not.186, i1 true, i1 %.2
  br i1 %spec.select171, label %245, label %250

245:                                              ; preds = %244
  %246 = call noundef zeroext i1 @_ZN5ImGui11IsPopupOpenEj(i32 noundef %22)
  br i1 %246, label %247, label %250

247:                                              ; preds = %245
  %248 = getelementptr inbounds i8, ptr %21, i64 7024
  %249 = load i32, ptr %248, align 8, !tbaa !76
  call void @_ZN5ImGui17ClosePopupToLevelEib(i32 noundef %249, i1 noundef zeroext true)
  br label %250

250:                                              ; preds = %244, %245, %247
  %.3139.not = xor i1 %.3139, true
  %brmerge172 = select i1 %.0141, i1 true, i1 %.3139.not
  br i1 %brmerge172, label %258, label %251

251:                                              ; preds = %250
  %252 = getelementptr inbounds i8, ptr %21, i64 7008
  %253 = load i32, ptr %252, align 8, !tbaa !41
  %254 = getelementptr inbounds i8, ptr %21, i64 7024
  %255 = load i32, ptr %254, align 8, !tbaa !76
  %256 = icmp sgt i32 %253, %255
  br i1 %256, label %257, label %258

257:                                              ; preds = %251
  call void @_ZN5ImGui9OpenPopupEPKc(ptr noundef %0)
  br label %264

258:                                              ; preds = %250, %251
  br i1 %.3139, label %.thread182, label %259

.thread182:                                       ; preds = %258
  call void @_ZN5ImGui9OpenPopupEPKc(ptr noundef %0)
  br label %260

259:                                              ; preds = %258
  br i1 %.0141, label %260, label %264

260:                                              ; preds = %.thread182, %259
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #9
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %15, float noundef 0.000000e+00, float noundef 0.000000e+00)
  call void @_ZN5ImGui16SetNextWindowPosERK6ImVec2iS2_(ptr noundef nonnull align 4 dereferenceable(8) %3, i32 noundef 1, ptr noundef nonnull align 4 dereferenceable(8) %15)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #9
  %261 = load i32, ptr %25, align 4, !tbaa !40
  %262 = and i32 %261, 335544320
  %.not152 = icmp eq i32 %262, 0
  %spec.select173 = select i1 %.not152, i32 268960069, i32 285737285
  %263 = call noundef zeroext i1 @_ZN5ImGui12BeginPopupExEji(i32 noundef %22, i32 noundef %spec.select173)
  br label %264

264:                                              ; preds = %259, %260, %257
  %.0132 = phi i1 [ false, %257 ], [ %263, %260 ], [ false, %259 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #9
  br label %265

265:                                              ; preds = %2, %264
  %.1 = phi i1 [ %.0132, %264 ], [ false, %2 ]
  ret i1 %.1
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(48) 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 noundef float @_ZNK11ImGuiWindow13MenuBarHeightEv(ptr noundef nonnull align 8 dereferenceable(948)) local_unnamed_addr #2 align 2

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

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

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

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

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

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

declare noundef zeroext i1 @_ZN5ImGui12BeginPopupExEji(i32 noundef, i32 noundef) 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 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { inlinehint mustprogress uwtable "min-legal-vector-width"="64" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { mustprogress uwtable "min-legal-vector-width"="64" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #8 = { 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 #9 = { 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 131}
!6 = !{!"_ZTS11ImGuiWindow", !7, i64 0, !10, i64 8, !10, i64 12, !11, i64 16, !11, i64 24, !11, i64 32, !11, i64 40, !11, i64 48, !11, i64 56, !12, i64 64, !12, i64 68, !10, i64 72, !10, i64 76, !10, i64 80, !11, i64 84, !11, i64 92, !11, i64 100, !11, i64 108, !11, i64 116, !13, i64 124, !13, i64 125, !13, i64 126, !13, i64 127, !13, i64 128, !13, i64 129, !13, i64 130, !13, i64 131, !13, i64 132, !13, i64 133, !13, i64 134, !8, i64 135, !14, i64 136, !14, i64 138, !14, i64 140, !10, i64 144, !8, i64 148, !8, i64 149, !8, i64 150, !13, i64 151, !10, i64 152, !10, i64 156, !10, i64 160, !10, i64 164, !10, i64 168, !10, i64 172, !11, i64 176, !11, i64 184, !15, i64 192, !16, i64 208, !17, i64 496, !17, i64 512, !17, i64 528, !17, i64 544, !17, i64 560, !17, i64 576, !10, i64 592, !12, i64 596, !12, i64 600, !24, i64 604, !25, i64 640, !27, i64 656, !12, i64 672, !10, i64 676, !7, i64 680, !28, i64 688, !7, i64 856, !7, i64 864, !7, i64 872, !7, i64 880, !7, i64 888, !8, i64 896, !8, i64 904, !13, i64 936, !10, i64 940, !10, i64 944}
!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, !12, i64 48, !12, i64 52, !10, i64 56, !10, i64 60, !10, i64 64, !10, i64 68, !17, i64 72, !17, i64 88, !18, i64 104, !10, i64 108, !10, i64 112, !10, i64 116, !13, i64 120, !13, i64 121, !13, i64 122, !11, i64 124, !19, i64 136, !7, i64 152, !10, i64 160, !10, i64 164, !10, i64 168, !10, i64 172, !10, i64 176, !12, i64 180, !12, i64 184, !20, i64 192, !21, i64 208, !21, i64 224, !22, i64 240, !8, i64 256, !23, i64 268, !23, i64 272, !23, i64 276, !7, i64 280}
!17 = !{!"_ZTS6ImRect", !11, i64 0, !11, i64 8}
!18 = !{!"_ZTS13ImGuiNavLayer", !8, i64 0}
!19 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !10, i64 0, !10, i64 4, !7, i64 8}
!20 = !{!"_ZTS8ImVectorIiE", !10, i64 0, !10, i64 4, !7, i64 8}
!21 = !{!"_ZTS8ImVectorIfE", !10, i64 0, !10, i64 4, !7, i64 8}
!22 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !10, i64 0, !10, i64 4, !7, i64 8}
!23 = !{!"_ZTS6ImVec1", !12, i64 0}
!24 = !{!"_ZTS16ImGuiMenuColumns", !12, i64 0, !12, i64 4, !12, i64 8, !8, i64 12, !8, i64 24}
!25 = !{!"_ZTS12ImGuiStorage", !26, i64 0}
!26 = !{!"_ZTS8ImVectorIN12ImGuiStorage16ImGuiStoragePairEE", !10, i64 0, !10, i64 4, !7, i64 8}
!27 = !{!"_ZTS8ImVectorI12ImGuiColumnsE", !10, i64 0, !10, i64 4, !7, i64 8}
!28 = !{!"_ZTS10ImDrawList", !29, i64 0, !30, i64 16, !31, i64 32, !10, i64 48, !7, i64 56, !7, i64 64, !10, i64 72, !10, i64 76, !7, i64 80, !7, i64 88, !32, i64 96, !33, i64 112, !34, i64 128, !35, i64 144}
!29 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !10, i64 0, !10, i64 4, !7, i64 8}
!30 = !{!"_ZTS8ImVectorItE", !10, i64 0, !10, i64 4, !7, i64 8}
!31 = !{!"_ZTS8ImVectorI10ImDrawVertE", !10, i64 0, !10, i64 4, !7, i64 8}
!32 = !{!"_ZTS8ImVectorI6ImVec4E", !10, i64 0, !10, i64 4, !7, i64 8}
!33 = !{!"_ZTS8ImVectorIPvE", !10, i64 0, !10, i64 4, !7, i64 8}
!34 = !{!"_ZTS8ImVectorI6ImVec2E", !10, i64 0, !10, i64 4, !7, i64 8}
!35 = !{!"_ZTS18ImDrawListSplitter", !10, i64 0, !10, i64 4, !36, i64 8}
!36 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !10, i64 0, !10, i64 4, !7, i64 8}
!37 = !{i8 0, i8 2}
!38 = !{}
!39 = !{!7, !7, i64 0}
!40 = !{!6, !10, i64 12}
!41 = !{!42, !10, i64 7008}
!42 = !{!"_ZTS12ImGuiContext", !13, i64 0, !13, i64 1, !13, i64 2, !13, i64 3, !43, i64 8, !44, i64 5464, !7, i64 6408, !12, i64 6416, !12, i64 6420, !45, i64 6424, !47, i64 6568, !10, i64 6576, !10, i64 6580, !10, i64 6584, !19, i64 6592, !19, i64 6608, !19, i64 6624, !19, i64 6640, !25, i64 6656, !10, i64 6672, !7, i64 6680, !7, i64 6688, !7, i64 6696, !7, i64 6704, !7, i64 6712, !11, i64 6720, !12, i64 6728, !10, i64 6732, !13, i64 6736, !10, i64 6740, !12, i64 6744, !12, i64 6748, !10, i64 6752, !10, i64 6756, !12, i64 6760, !13, i64 6764, !13, i64 6765, !13, i64 6766, !13, i64 6767, !13, i64 6768, !10, i64 6772, !10, i64 6776, !48, i64 6784, !11, i64 6792, !7, i64 6800, !49, i64 6808, !10, i64 6812, !13, i64 6816, !13, i64 6817, !7, i64 6824, !10, i64 6832, !12, i64 6836, !50, i64 6840, !51, i64 6944, !52, i64 6960, !53, i64 6976, !54, i64 6992, !55, i64 7008, !55, i64 7024, !7, i64 7040, !10, i64 7048, !10, i64 7052, !10, i64 7056, !10, i64 7060, !10, i64 7064, !10, i64 7068, !10, i64 7072, !10, i64 7076, !10, i64 7080, !49, i64 7084, !17, i64 7088, !10, i64 7104, !7, i64 7112, !7, i64 7120, !7, i64 7128, !12, i64 7136, !12, i64 7140, !13, i64 7144, !18, i64 7148, !10, i64 7152, !13, i64 7156, !13, i64 7157, !13, i64 7158, !13, i64 7159, !13, i64 7160, !13, i64 7161, !13, i64 7162, !10, i64 7164, !17, i64 7168, !13, i64 7184, !13, i64 7185, !10, i64 7188, !56, i64 7192, !10, i64 7196, !10, i64 7200, !10, i64 7204, !57, i64 7208, !57, i64 7256, !57, i64 7304, !7, i64 7352, !7, i64 7360, !10, i64 7368, !10, i64 7372, !10, i64 7376, !10, i64 7380, !13, i64 7384, !58, i64 7392, !59, i64 7448, !12, i64 7480, !28, i64 7488, !28, i64 7656, !10, i64 7824, !13, i64 7828, !13, i64 7829, !10, i64 7832, !10, i64 7836, !10, i64 7840, !60, i64 7848, !17, i64 7912, !10, i64 7928, !10, i64 7932, !12, i64 7936, !10, i64 7940, !10, i64 7944, !10, i64 7948, !61, i64 7952, !8, i64 7968, !7, i64 7976, !62, i64 7984, !64, i64 8024, !65, i64 8040, !11, i64 8056, !66, i64 8064, !70, i64 11792, !10, i64 11912, !10, i64 11916, !12, i64 11920, !8, i64 11924, !46, i64 11936, !13, i64 11952, !12, i64 11956, !12, i64 11960, !12, i64 11964, !10, i64 11968, !67, i64 11976, !10, i64 11992, !11, i64 11996, !11, i64 12004, !13, i64 12012, !12, i64 12016, !72, i64 12024, !73, i64 12040, !74, i64 12056, !13, i64 12072, !75, i64 12076, !7, i64 12080, !72, i64 12088, !12, i64 12104, !13, i64 12108, !10, i64 12112, !10, i64 12116, !10, i64 12120, !13, i64 12124, !10, i64 12128, !8, i64 12132, !10, i64 12612, !12, i64 12616, !10, i64 12620, !10, i64 12624, !10, i64 12628, !8, i64 12632}
!43 = !{!"_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, !8, i64 52, !12, i64 140, !12, i64 144, !7, i64 152, !7, i64 160, !12, i64 168, !13, i64 172, !7, i64 176, !11, i64 184, !13, i64 192, !13, i64 193, !13, i64 194, !13, i64 195, !13, i64 196, !12, i64 200, !7, i64 208, !7, i64 216, !7, i64 224, !7, i64 232, !7, i64 240, !7, i64 248, !7, i64 256, !7, i64 264, !7, i64 272, !7, i64 280, !7, i64 288, !11, i64 296, !8, i64 304, !12, i64 312, !12, i64 316, !13, i64 320, !13, i64 321, !13, i64 322, !13, i64 323, !8, i64 324, !8, i64 836, !13, i64 920, !13, i64 921, !13, i64 922, !13, i64 923, !13, i64 924, !13, i64 925, !13, i64 926, !12, i64 928, !10, i64 932, !10, i64 936, !10, i64 940, !10, i64 944, !10, i64 948, !11, i64 952, !11, i64 960, !8, i64 968, !8, i64 1008, !8, i64 1048, !8, i64 1053, !8, i64 1058, !8, i64 1063, !8, i64 1068, !8, i64 1076, !8, i64 1096, !8, i64 1116, !8, i64 1156, !8, i64 1176, !8, i64 3224, !8, i64 5272, !8, i64 5356, !30, i64 5440}
!44 = !{!"_ZTS10ImGuiStyle", !12, i64 0, !11, i64 4, !12, i64 12, !12, i64 16, !11, i64 20, !11, i64 28, !10, i64 36, !12, i64 40, !12, i64 44, !12, i64 48, !12, i64 52, !11, i64 56, !12, i64 64, !12, i64 68, !11, i64 72, !11, i64 80, !11, i64 88, !12, i64 96, !12, i64 100, !12, i64 104, !12, i64 108, !12, i64 112, !12, i64 116, !12, i64 120, !12, i64 124, !10, i64 128, !11, i64 132, !11, i64 140, !11, i64 148, !11, i64 156, !12, i64 164, !13, i64 168, !13, i64 169, !12, i64 172, !8, i64 176}
!45 = !{!"_ZTS20ImDrawListSharedData", !11, i64 0, !7, i64 8, !12, i64 16, !12, i64 20, !46, i64 24, !10, i64 40, !8, i64 44}
!46 = !{!"_ZTS6ImVec4", !12, i64 0, !12, i64 4, !12, i64 8, !12, i64 12}
!47 = !{!"double", !8, i64 0}
!48 = !{!"long long", !8, i64 0}
!49 = !{!"_ZTS16ImGuiInputSource", !8, i64 0}
!50 = !{!"_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, !13, i64 48, !17, i64 52, !7, i64 72, !7, i64 80, !12, i64 88, !11, i64 92}
!51 = !{!"_ZTS17ImGuiNextItemData", !10, i64 0, !12, i64 4, !13, i64 8, !10, i64 12}
!52 = !{!"_ZTS8ImVectorI13ImGuiColorModE", !10, i64 0, !10, i64 4, !7, i64 8}
!53 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !10, i64 0, !10, i64 4, !7, i64 8}
!54 = !{!"_ZTS8ImVectorIP6ImFontE", !10, i64 0, !10, i64 4, !7, i64 8}
!55 = !{!"_ZTS8ImVectorI14ImGuiPopupDataE", !10, i64 0, !10, i64 4, !7, i64 8}
!56 = !{!"_ZTS15ImGuiNavForward", !8, i64 0}
!57 = !{!"_ZTS18ImGuiNavMoveResult", !10, i64 0, !10, i64 4, !7, i64 8, !12, i64 16, !12, i64 20, !12, i64 24, !17, i64 28}
!58 = !{!"_ZTS10ImDrawData", !13, i64 0, !7, i64 8, !10, i64 16, !10, i64 20, !10, i64 24, !11, i64 28, !11, i64 36, !11, i64 44}
!59 = !{!"_ZTS17ImDrawDataBuilder", !8, i64 0}
!60 = !{!"_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}
!61 = !{!"_ZTS8ImVectorIhE", !10, i64 0, !10, i64 4, !7, i64 8}
!62 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !63, i64 0, !25, i64 16, !10, i64 32}
!63 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !10, i64 0, !10, i64 4, !7, i64 8}
!64 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !10, i64 0, !10, i64 4, !7, i64 8}
!65 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !10, i64 0, !10, i64 4, !7, i64 8}
!66 = !{!"_ZTS19ImGuiInputTextState", !10, i64 0, !10, i64 4, !10, i64 8, !30, i64 16, !67, i64 32, !67, i64 48, !13, i64 64, !10, i64 68, !12, i64 72, !68, i64 76, !12, i64 3696, !13, i64 3700, !13, i64 3701, !10, i64 3704, !7, i64 3712, !7, i64 3720}
!67 = !{!"_ZTS8ImVectorIcE", !10, i64 0, !10, i64 4, !7, i64 8}
!68 = !{!"_ZTSN5ImStb17STB_TexteditStateE", !10, i64 0, !10, i64 4, !10, i64 8, !8, i64 12, !8, i64 13, !8, i64 14, !8, i64 15, !8, i64 16, !8, i64 17, !8, i64 18, !8, i64 19, !12, i64 20, !69, i64 24}
!69 = !{!"_ZTSN5ImStb12StbUndoStateE", !8, i64 0, !8, i64 1584, !14, i64 3582, !14, i64 3584, !10, i64 3588, !10, i64 3592}
!70 = !{!"_ZTS6ImFont", !21, i64 0, !12, i64 16, !12, i64 20, !30, i64 24, !71, i64 40, !7, i64 56, !11, i64 64, !7, i64 72, !7, i64 80, !14, i64 88, !14, i64 90, !14, i64 92, !12, i64 96, !12, i64 100, !12, i64 104, !10, i64 108, !13, i64 112}
!71 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !10, i64 0, !10, i64 4, !7, i64 8}
!72 = !{!"_ZTS15ImGuiTextBuffer", !67, i64 0}
!73 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !10, i64 0, !10, i64 4, !7, i64 8}
!74 = !{!"_ZTS8ImVectorI19ImGuiWindowSettingsE", !10, i64 0, !10, i64 4, !7, i64 8}
!75 = !{!"_ZTS12ImGuiLogType", !8, i64 0}
!76 = !{!42, !10, i64 7024}
!77 = !{!42, !7, i64 7040}
!78 = !{!79, !10, i64 28}
!79 = !{!"_ZTS14ImGuiPopupData", !10, i64 0, !7, i64 8, !7, i64 16, !10, i64 24, !10, i64 28, !11, i64 32, !11, i64 40}
!80 = !{!10, !10, i64 0}
!81 = !{!6, !10, i64 368}
!82 = !{!44, !12, i64 72}
!83 = !{!44, !12, i64 60}
!84 = !{!6, !12, i64 208}
!85 = !{!44, !12, i64 76}
!86 = !{!44, !12, i64 8}
!87 = !{!42, !12, i64 6416}
!88 = !{!6, !7, i64 680}
!89 = !{!12, !12, i64 0}
!90 = !{!79, !7, i64 16}
!91 = !{!79, !7, i64 8}
!92 = !{!42, !7, i64 6688}
!93 = !{!6, !12, i64 16}
!94 = !{!11, !12, i64 0}
!95 = !{!11, !12, i64 4}
!96 = !{!42, !10, i64 6740}
!97 = !{!42, !10, i64 7052}
!98 = !{!42, !10, i64 7048}
!99 = !{!42, !13, i64 7185}
!100 = !{!42, !10, i64 7196}


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